/* Product page — homepage teal, Trade Center style buy box */

body.qh-pdp {
    background: #f5f7fb;
    color: #12312c;
}

body.qh-pdp main.pdp {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.25rem clamp(0.75rem, 2.5vw, 2rem) 3rem;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    body.qh-pdp main.pdp {
        width: 80%;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

.pdp-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin: 0 0 1rem;
    color: #5d726c;
    font-size: 0.78rem;
    font-weight: 700;
}
.pdp-crumb a { color: var(--qb-navy); }
.pdp-crumb span:last-child { color: #12312c; }

.pdp-grid {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}
@media (min-width: 960px) {
    .pdp-grid { grid-template-columns: 1.05fr 0.95fr; gap: 1.75rem; }
}

.pdp-gallery,
.pdp-gallery-pin,
.pdp-gallery-main { width: 100%; }
.pdp-gallery-pin {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .pdp-gallery-pin { position: sticky; top: 8.5rem; }
}
.pdp-gallery-main {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #d9e2f5;
    border-radius: 1.25rem;
    background: #fff;
}
.pdp-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}
.pdp-badge,
.pdp-zoom {
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: var(--qb-navy);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pdp-badge { top: 0.85rem; left: 0.85rem; padding: 0.35rem 0.7rem; }
.pdp-zoom {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.45rem 0.8rem;
    background: #fff;
    color: var(--qb-navy);
    box-shadow: 0 8px 18px rgba(8, 70, 61, 0.12);
    cursor: pointer;
}
.pdp-thumbs { display: flex; gap: 0.55rem; overflow-x: auto; }
.thumb-btn,
.pdp-video {
    width: 4.4rem;
    height: 4.4rem;
    flex: 0 0 auto;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 0.85rem;
    background: #fff;
    padding: 0;
    cursor: pointer;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn.is-on { border-color: var(--qb-navy); }
.pdp-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: var(--qb-navy);
    font-size: 0.62rem;
    font-weight: 800;
}

.pdp-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1.15rem;
    border: 1px solid #d9e2f5;
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 16px 36px rgba(8, 70, 61, 0.08);
}
.pdp-kicker {
    margin: 0;
    color: var(--qb-navy);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.pdp-flags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pdp-flags span {
    border-radius: 999px;
    background: #eef2fb;
    color: var(--qb-navy);
    padding: 0.28rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
}
body.qh-pdp .pdp-panel h1 {
    margin: 0;
    color: #12312c;
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.pdp-lead { margin: 0; color: #5d726c; line-height: 1.5; }
.pdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; }
.pdp-rating a { color: var(--qb-navy); font-size: 0.82rem; font-weight: 800; }

.pdp-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid #d9e2f5;
    border-radius: 1rem;
    background: #f7fbfa;
}
.pdp-price span {
    display: block;
    color: #5d726c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pdp-price strong {
    display: block;
    margin-top: 0.15rem;
    color: #12312c;
    font-size: 1.85rem;
    line-height: 1;
    white-space: nowrap;
}
.pdp-price s { color: #8aa39c; font-weight: 700; }
.pdp-price em {
    border-radius: 999px;
    background: var(--qb-navy);
    color: #fff;
    padding: 0.4rem 0.7rem;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}
.pdp-offer { margin: 0; color: #5d726c; font-size: 0.86rem; font-weight: 700; }
.pdp-offer strong { color: var(--qb-navy); font-variant-numeric: tabular-nums; }

.pdp-actions { display: grid; gap: 0.65rem; }
.pdp-qty {
    display: inline-flex;
    width: fit-content;
    overflow: hidden;
    border: 1px solid #d9e2f5;
    border-radius: 999px;
    background: #fff;
}
.pdp-qty button,
.pdp-qty span {
    min-width: 2.6rem;
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: #12312c;
    font-weight: 800;
}
.pdp-qty button { cursor: pointer; }
.pdp-add,
.pdp-buy-now,
.pdp-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}
.pdp-add { background: var(--qb-orange); color: #fff; }
.pdp-add:hover,
.pdp-buy-now:hover { background: var(--qb-orange-hover); }
.pdp-buy-now { background: var(--qb-red, #F02424); color: #fff; }
.pdp-wa { background: #128a3e; color: #fff; width: auto; padding: 0 1rem; }

.pdp-points {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #12312c;
    font-size: 0.88rem;
    font-weight: 700;
}
.pdp-points li::before { content: "✓ "; color: var(--qb-navy); }

.pdp-delivery label,
.pdp-eta span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--qb-navy);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pdp-delivery div,
.pdp-eta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}
.pdp-eta {
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #eef2fb;
}
.pdp-eta strong { display: block; color: #12312c; }
.pdp-eta small { display: block; color: #5d726c; font-weight: 650; }
.pdp-delivery input {
    min-width: 0;
    flex: 1;
    border: 1px solid #d9e2f5;
    border-radius: 999px;
    padding: 0.75rem 0.95rem;
}
.pdp-delivery button {
    border: 0;
    border-radius: 999px;
    background: var(--qb-navy);
    color: #fff;
    min-height: 2.75rem;
    padding: 0 1rem;
    font-weight: 800;
    cursor: pointer;
}
#delivery-result { margin: 0.4rem 0 0; color: var(--qb-navy); font-weight: 700; }

.pdp-know { display: grid; gap: 0.65rem; margin-top: 1.5rem; }
.pdp-know details {
    border: 1px solid #d9e2f5;
    border-radius: 1rem;
    background: #fff;
    padding: 0.9rem 1rem;
}
.pdp-know summary { cursor: pointer; color: #12312c; font-weight: 800; }
.pdp-know p { margin: 0.55rem 0 0; color: #5d726c; line-height: 1.5; }
.pdp-know a { color: var(--qb-navy); font-weight: 800; }

.pdp-tabs { margin-top: 1.5rem; }
.pdp-tabs-card {
    overflow: hidden;
    border: 1px solid #d9e2f5;
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 16px 40px rgba(8, 70, 61, 0.06);
}
.pdp-tabs-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: linear-gradient(180deg, #f3f6fd, #eef2fb);
    border-bottom: 1px solid #d9e2f5;
}
.pdp-tabs-bar button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #5d726c;
    min-height: 3.35rem;
    padding: 0.8rem 0.4rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.pdp-tabs-bar button.is-on {
    background: #fff;
    color: var(--qb-navy);
    box-shadow: inset 0 -3px 0 var(--qb-navy);
}
.pdp-tabs h3,
.pdp-tabs h4,
.pdp-tabs .text-beautage-purple { color: #12312c !important; }
.pdp-tabs .text-beautage-pink,
.pdp-tabs .text-purple-600 { color: var(--qb-navy) !important; }
.pdp-tabs .bg-beautage-purple,
.pdp-tabs .bg-beautage-pink,
.pdp-tabs .hover\:bg-beautage-purpleDark:hover,
.pdp-tabs .hover\:bg-beautage-pinkHover:hover {
    background: var(--qb-navy) !important;
    color: #fff !important;
}
.pdp-tabs .border-purple-100,
.pdp-tabs .border-purple-200,
.pdp-tabs .divide-purple-100 > :not([hidden]) ~ :not([hidden]) { border-color: #d9e2f5 !important; }
.pdp-tabs .bg-purple-50\/30,
.pdp-tabs .bg-purple-50\/40,
.pdp-tabs .bg-purple-50\/50,
.pdp-tabs .bg-purple-50\/80,
.pdp-tabs .from-purple-50\/80 { background-color: #f3f6fd !important; }
.pdp-tabs input,
.pdp-tabs textarea { border-color: #d9e2f5 !important; }
.pdp-tabs input:focus,
.pdp-tabs textarea:focus {
    border-color: var(--qb-navy) !important;
    outline: 2px solid rgba(14, 124, 107, 0.22);
    outline-offset: 1px;
}
@media (min-width: 720px) {
    .pdp-tabs-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pdp-related { margin-top: 2.5rem; }
.pdp-related-head { margin-bottom: 1rem; }
body.qh-pdp .pdp-related h2 { margin: 0.2rem 0 0; color: #12312c; }
.pdp-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
    .pdp-related-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.7rem; }
    .pdp-related-grid .lv2-product { padding: 0.55rem; }
    .pdp-related-grid .lv2-card-actions { grid-template-columns: 1fr; }
    .pdp-related-grid .lv2-card-quick,
    .pdp-related-grid .lv2-card-actions .lv2-btn-navy {
        min-height: 2.15rem;
        font-size: 0.68rem;
        white-space: nowrap;
    }
    .pdp-related-grid h3 { font-size: 0.82rem; line-height: 1.3; }
    .pdp-related-grid .lv2-price,
    .pdp-related-grid .lv2-old { white-space: nowrap; font-size: 0.78rem; }
    .pdp-related-grid .lv2-price-row { flex-wrap: wrap; gap: 0.1rem 0.35rem; }
}

#pdp-sticky-checkout .bg-beautage-pink,
#pdp-sticky-checkout .bg-gradient-to-r {
    background: var(--qb-navy);
    color: #fff;
}
