/* Specs & Sizing — bloco HTML da descrição do produto (fragmento PDP) */
.pdp-html-block .specs-sizing,
.specs-sizing {
    width: 100%;
    max-width: 720px;
    margin: auto;
    font-family: 'Poppins', sans-serif;
}

.pdp-html-block .specs-title,
.specs-sizing .specs-title {
    color: #000F80;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.pdp-html-block .specs-divider,
.specs-sizing .specs-divider {
    width: 100%;
    height: 1px;
    background: #000F80;
    margin-bottom: 18px;
}

.pdp-html-block .specs-subtitle,
.specs-sizing .specs-subtitle {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    margin-bottom: 18px;
}

.pdp-html-block .specs-grid,
.specs-sizing .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.pdp-html-block .specs-card,
.specs-sizing .specs-card {
    background: #f5f6fb;
    border-left: 4px solid #000F80;
    border-radius: 6px;
    padding: 14px;
}

.pdp-html-block .specs-card-title,
.specs-sizing .specs-card-title {
    color: #000F80;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pdp-html-block .specs-card-text,
.specs-sizing .specs-card-text {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.pdp-html-block .specs-table,
.specs-sizing .specs-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.pdp-html-block .specs-table thead,
.specs-sizing .specs-table thead {
    background: #000F80;
}

.pdp-html-block .specs-table thead th,
.specs-sizing .specs-table thead th {
    color: #fff;
    padding: 10px 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.pdp-html-block .specs-table thead th:first-child,
.specs-sizing .specs-table thead th:first-child {
    text-align: left;
    width: 170px;
}

.pdp-html-block .specs-table tbody td,
.specs-sizing .specs-table tbody td {
    padding: 12px 6px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.pdp-html-block .specs-table tbody td:first-child,
.specs-sizing .specs-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
}

/* Modais — Especificações / Dimensões (camiseta); botões usam .btn do tema na PDP */
body.pdp-specs-modal-open {
    overflow: hidden;
}

.pdp-specs-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pdp-specs-modal.is-open {
    display: flex;
}

.pdp-specs-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.pdp-specs-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    max-height: min(90vh, 880px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 15, 128, 0.18);
}

.pdp-specs-modal-panel--wide {
    max-width: 920px;
}

.pdp-specs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #e5e7eb;
}

.pdp-specs-modal-title {
    margin: 0;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--purple, #7B2FBE);
}

.pdp-specs-modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 18px;
    cursor: pointer;
    color: #374151;
    line-height: 1;
}

.pdp-specs-modal-close:hover {
    background: #e5e7eb;
}

.pdp-specs-modal-body {
    padding: 20px 22px 24px;
    overflow-y: auto;
}

.pdp-specs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pdp-specs-tab {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    border: 2px solid var(--purple, #7B2FBE);
    border-radius: 999px;
    background: #fff;
    color: var(--purple, #7B2FBE);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.pdp-specs-tab.is-active {
    background: var(--purple, #7B2FBE);
    color: #fff;
    border-color: var(--purple, #7B2FBE);
}

.pdp-specs-table-wrap {
    display: none;
}

.pdp-specs-table-wrap.is-active {
    display: block;
}

@media (max-width: 768px) {
    .pdp-html-block .specs-grid,
    .specs-sizing .specs-grid {
        grid-template-columns: 1fr;
    }

    .pdp-specs-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .pdp-specs-modal-panel {
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }

    .pdp-html-block .specs-title,
    .specs-sizing .specs-title {
        font-size: 18px;
    }

    .pdp-html-block .specs-subtitle,
    .specs-sizing .specs-subtitle {
        font-size: 14px;
    }

    .pdp-html-block .specs-card-title,
    .specs-sizing .specs-card-title {
        font-size: 16px;
    }

    .pdp-html-block .specs-card-text,
    .specs-sizing .specs-card-text {
        font-size: 12px;
    }

    .pdp-html-block .specs-table thead th,
    .pdp-html-block .specs-table tbody td,
    .specs-sizing .specs-table thead th,
    .specs-sizing .specs-table tbody td {
        font-size: 11px;
        padding: 8px 4px;
    }
}
