/* PDP — layout estilo e-commerce de armamento (galeria + buybox sticky + abas) */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pdp-breadcrumb {
    background: #f0f0f0;
    border-bottom: 1px solid #e4e4e4;
}

.pdp-breadcrumb__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 0;
    font-size: 0.8rem;
    color: #666;
}

.pdp-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.pdp-breadcrumb a:hover {
    color: var(--color-brand-red, #b91c1c);
}

.pdp-breadcrumb__sep {
    opacity: 0.5;
}

.pdp.section--compact {
    padding-top: 1.35rem;
    padding-bottom: 3rem;
}

.pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.75rem 2rem;
    align-items: start;
}

.pdp-main {
    min-width: 0;
}

.pdp-gallery {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.pdp-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: #fafafa;
}

.pdp-main-image img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

.pdp-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
}

.pdp-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 1px solid #d8d8d8;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.pdp-thumb.is-active,
.pdp-thumb:hover {
    border-color: var(--color-brand-red, #b91c1c);
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fafafa;
}

.pdp-intro {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 1.15rem 1.25rem 1.25rem;
    margin-bottom: 1.25rem;
}

.pdp-title {
    margin: 0 0 0.45rem;
    font-family: var(--font-display, Montserrat, sans-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
}

.pdp-code {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    color: #777;
    letter-spacing: 0.02em;
}

.pdp-lead {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #444;
}

.pdp-lead__more {
    font-weight: 700;
    color: var(--color-brand-red, #b91c1c);
    margin-left: 0.25rem;
}

.pdp-trust-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    margin: 0.85rem 0 1rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid #eee;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
}

.pdp-trust-inline li {
    position: relative;
    padding-left: 1rem;
}

.pdp-trust-inline li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--color-brand-red, #b91c1c);
}

.pdp-taxonomies {
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: #555;
}

.pdp-taxonomies p {
    margin: 0;
}

.pdp-taxonomies span {
    color: #888;
    margin-right: 0.25rem;
}

.pdp-taxonomies a {
    color: var(--color-brand-red, #b91c1c);
    font-weight: 600;
}

.pdp-tabs {
    background: #fff;
    border: 1px solid #e6e6e6;
}

.pdp-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #e6e6e6;
    background: #f5f5f5;
}

.pdp-tabs__btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0.9rem 1.1rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.pdp-tabs__btn.is-active {
    color: #111;
    background: #fff;
    border-bottom-color: var(--color-brand-red, #b91c1c);
}

.pdp-tabs__panel {
    padding: 1.25rem 1.35rem 1.5rem;
}

.pdp-tabs__panel h2 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display, Montserrat, sans-serif);
    font-size: 1.15rem;
}

.pdp-prose {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

.pdp-disclaimer-inline,
.pdp-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #777;
    line-height: 1.5;
}

.pdp-list {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
    color: #444;
    line-height: 1.6;
}

.pdp-specs {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.pdp-specs th,
.pdp-specs td {
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.pdp-specs th {
    width: 40%;
    color: #666;
    font-weight: 600;
    background: #fafafa;
}

.pdp-specs-link {
    font-weight: 600;
    color: var(--color-brand-red, #b91c1c);
}

.pdp-aside {
    position: sticky;
    top: 1rem;
}

.pdp-buybox {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.pdp-buybox__prices {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
}

.pdp-buybox__old {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
}

.pdp-buybox__price {
    font-size: clamp(1.6rem, 3vw, 1.95rem);
    font-weight: 800;
    color: var(--color-brand-red, #b91c1c);
    letter-spacing: -0.02em;
}

.pdp-buybox__installment,
.pdp-buybox__pix,
.pdp-buybox__cash {
    font-size: 0.9rem;
    color: #555;
}

.pdp-buybox__cash {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.pdp-buybox__installment small {
    display: block;
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
}

.pdp-buybox__pix strong {
    color: #222;
}

.pdp-buybox__select {
    display: block;
    margin-bottom: 0.85rem;
}

.pdp-buybox__select select {
    width: 100%;
    padding: 0.65rem 2rem 0.65rem 0.75rem;
    border: 1px solid #ccc;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    appearance: none;
    font: inherit;
    font-size: 0.9rem;
}

.pdp-buybox__qty-row {
    display: flex;
    gap: 0.55rem;
    align-items: flex-end;
    margin-bottom: 0.55rem;
}

.pdp-qty {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #666;
}

.pdp-qty input {
    width: 4.25rem;
    padding: 0.7rem 0.4rem;
    border: 1px solid #ccc;
    text-align: center;
    font: inherit;
}

.btn-buy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 1.2rem;
    border: 0;
    border-radius: 4px;
    background: #2f9e44;
    color: #fff !important;
    font-family: var(--font-display, Montserrat, sans-serif);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-buy:hover {
    background: #278a3a;
    color: #fff !important;
}

.btn-buy:disabled {
    opacity: 0.65;
    cursor: wait;
}

.pdp-whatsapp-link {
    display: inline-block;
    margin: 0.35rem 0 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f6b2f;
}

.pdp-age {
    margin: 0.35rem 0 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #b91c1c;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pdp-shipping {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    padding: 0.85rem;
    margin-bottom: 1rem;
}

.pdp-shipping__title {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.pdp-shipping__title small {
    font-weight: 500;
    color: #777;
}

.pdp-shipping__form {
    display: flex;
    gap: 0.45rem;
}

.pdp-shipping__form input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.7rem;
    border: 1px solid #ccc;
    font: inherit;
}

.btn-shipping {
    border: 0;
    background: #1f1f1f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
}

.btn-shipping:hover {
    background: #333;
}

.pdp-shipping__hint {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: #777;
}

.pdp-buybox__badges {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.pdp-buybox__badges li {
    padding: 0.55rem 0.65rem;
    border: 1px solid #eee;
    background: #fcfcfc;
}

.pdp-buybox__badges strong {
    display: block;
    font-size: 0.82rem;
    color: #222;
}

.pdp-buybox__badges span {
    font-size: 0.75rem;
    color: #777;
}

.pdp-aside .product-share {
    margin-top: 0.25rem;
    padding: 0.75rem;
}

.pdp-aside .product-share__btn {
    min-height: 68px;
}

.pdp .related-products {
    margin-top: 2.75rem;
}

@media (max-width: 980px) {
    .pdp-layout {
        grid-template-columns: 1fr;
    }

    .pdp-aside {
        position: static;
        order: -1;
    }

    .pdp-main-image {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .pdp-tabs__btn {
        flex: 1 1 45%;
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.82rem;
    }

    .pdp-buybox__qty-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-buy {
        width: 100%;
    }
}
