/* ==========================================================================
   Gentora product detail page — mobile-first, conversion-focused, honest.
   Uses the --brand-* tokens from gentora-brand.css only.
   ========================================================================== */
.pdp {
    background: var(--brand-bg, #fff);
    color: var(--brand-ink, #1F1A17);
    font-family: var(--brand-font-sans, 'Inter', sans-serif);
    padding: 16px 0 56px;
}

/* Breadcrumb */
.pdp-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    font-size: 13px; color: var(--brand-muted, #6F655C); margin-bottom: 20px;
}
.pdp-breadcrumb a { color: var(--brand-muted, #6F655C); text-decoration: none; }
.pdp-breadcrumb a:hover { color: var(--brand-ink, #1F1A17); }
.pdp-breadcrumb i { font-size: 11px; opacity: .6; }
.pdp-breadcrumb span[aria-current] { color: var(--brand-ink, #1F1A17); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* Two-column grid */
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pdp-gallery-col, .pdp-info-col { min-width: 0; }

/* ---------- Info column ---------- */
.pdp-info { display: flex; flex-direction: column; }
.pdp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pdp-title {
    font-family: var(--brand-font-serif, 'Playfair Display', serif);
    font-size: 24px; line-height: 1.18; font-weight: 700; color: var(--brand-ink, #1F1A17);
    margin: 0; letter-spacing: -0.01em;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 992px) { .pdp-title { font-size: 32px; } }
.pdp-icon-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pdp-icon-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--brand-border, #E9E2D8);
    background: #fff; color: var(--brand-ink, #1F1A17); font-size: 19px;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.pdp-icon-btn:hover { border-color: var(--brand-primary, #6E2433); color: var(--brand-primary, #6E2433); }

.pdp-rating {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 10px; align-self: flex-start;
    font-size: 14px; color: var(--brand-muted, #6F655C) !important; text-decoration: none !important; min-height: 32px;
}
.pdp-rating:focus-visible { outline: 2px solid var(--brand-gold, #B08A4E); outline-offset: 3px; border-radius: 6px; }
.pdp-rating-faces { display: inline-flex; align-items: center; margin-right: 2px; }
.pdp-face {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: .02em;
    box-shadow: 0 1px 2px rgba(31, 26, 23, .12);
}
.pdp-face { position: relative; }
.pdp-face + .pdp-face { margin-left: -8px; }
.pdp-rating-faces > :nth-child(1) { z-index: 4; }
.pdp-rating-faces > :nth-child(2) { z-index: 3; }
.pdp-rating-faces > :nth-child(3) { z-index: 2; }
.pdp-rating-faces > :nth-child(4) { z-index: 1; }
.pdp-face-0 { background: #F3E3E6; color: #6E2433; }
.pdp-face-1 { background: #F3EBDD; color: #84632F; }
.pdp-face-2 { background: #E6EEF0; color: #2F5560; }
.pdp-face-3 { background: #ECE7F3; color: #4E3F6E; }
.pdp-stars { display: inline-flex; gap: 1px; }
.pdp-star { position: relative; display: inline-block; width: 18px; height: 18px; }
.pdp-star svg { display: block; width: 18px; height: 18px; }
.pdp-star-bg { fill: #E6DCCB; }
.pdp-star-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.pdp-star-fill svg { fill: #F2A900; }
.pdp-rating-value { font-weight: 700; color: var(--brand-ink, #1F1A17); font-size: 15px; }
.pdp-rating-count { color: var(--brand-muted, #6F655C); }
.pdp-verified {
    display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600;
    color: var(--brand-gold-text, #84632F);
}
.pdp-verified svg { color: var(--brand-gold, #B08A4E); }
@media (min-width: 992px) {
    .pdp-face { width: 32px; height: 32px; }
    .pdp-star, .pdp-star svg { width: 20px; height: 20px; }
    .pdp-rating { font-size: 15px; }
    .pdp-rating-value { font-size: 17px; }
}

/* Highlight chips (real product facts only) */
.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdp-chip {
    display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
    border: 1px solid var(--brand-border, #E9E2D8); background: var(--brand-ivory, #FAF6F0);
    font-size: 12px; font-weight: 500; color: var(--brand-ink, #1F1A17) !important; text-decoration: none !important; white-space: nowrap;
}
a.pdp-chip:hover { border-color: var(--brand-gold, #B08A4E); }

/* Price */
/* Legacy price holder the layout's variant script un-hides; the visible price is #pdpPrice */
.pdp #chosen_price_div { display: none !important; }
.pdp-price-block { margin: 16px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--brand-border, #E9E2D8); }
.pdp-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.pdp-price { font-size: 26px; font-weight: 800; color: var(--brand-ink, #1F1A17); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pdp-mrp { font-size: 17px; color: #7A8088; text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.pdp-off {
    display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px;
    background: #FCE8E8; color: #C62828; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    align-self: center;
}
@media (min-width: 992px) {
    .pdp-price { font-size: 34px; }
    .pdp-mrp { font-size: 20px; }
    .pdp-off { height: 30px; font-size: 14px; }
}
.pdp-tax-note { font-size: 13px; color: var(--brand-muted, #6F655C); margin-top: 4px; }

/* Options */
.pdp-option { margin-bottom: 20px; scroll-margin-top: 140px; }
.pdp-option-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pdp-option-label { font-size: 14px; font-weight: 600; color: var(--brand-ink, #1F1A17); }
.pdp-option-label strong { font-weight: 600; color: var(--brand-muted, #6F655C); }
.pdp-option-label strong.pdp-option-value { color: var(--brand-primary, #6E2433); }
.pdp-link-btn {
    border: 0; background: none; padding: 6px 0; font-size: 13px; font-weight: 600;
    color: var(--brand-primary, #6E2433); text-decoration: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
}
.pdp-link-btn span { text-decoration: underline; text-underline-offset: 3px; }
.pdp-link-btn i { font-size: 16px; }
.pdp-pills, .pdp-swatches { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 10px; transition: box-shadow .15s ease; }
.pdp-pill { margin: 0; cursor: pointer; position: relative; }
.pdp-pill span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 14px;
    border: 1px solid var(--brand-border, #E9E2D8); border-radius: 10px; background: #fff;
    font-size: 15px; font-weight: 500; color: var(--brand-ink, #1F1A17);
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.pdp-pill:hover span { border-color: var(--brand-ink, #1F1A17); }
.pdp-pill input:checked + span {
    border-color: var(--brand-primary, #6E2433); background: var(--brand-primary, #6E2433); color: var(--brand-on-primary, #fff); font-weight: 600;
}
.pdp-pill input:focus-visible + span { outline: 2px solid var(--brand-gold, #B08A4E); outline-offset: 2px; }
/* Out-of-stock value: muted with a diagonal strike; selectable only to request a back-in-stock alert */
.pdp-pill.is-oos { cursor: pointer; }
.pdp-pill.is-oos input:checked + span {
    color: var(--brand-ink, #1F1A17); background-color: #fff; border: 1.5px dashed var(--brand-primary, #6E2433);
    background-image: linear-gradient(to top right, transparent calc(50% - 0.6px), #CFC6BC calc(50% - 0.6px), #CFC6BC calc(50% + 0.6px), transparent calc(50% + 0.6px));
}
.pdp-pill.is-oos span {
    color: #B5ABA2; background: #FAF8F6; border-style: dashed;
    background-image: linear-gradient(to top right, transparent calc(50% - 0.6px), #CFC6BC calc(50% - 0.6px), #CFC6BC calc(50% + 0.6px), transparent calc(50% + 0.6px));
}
.pdp-pill.is-oos:hover span { border-color: var(--brand-border, #E9E2D8); }
.pdp-pills-size .pdp-pill span { min-width: 52px; }

.pdp-swatch { margin: 0; cursor: pointer; }
.pdp-swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 0 0 3px #fff; transition: box-shadow .15s ease; }
.pdp-swatch input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-primary, #6E2433); }

.size-selector-invalid { box-shadow: 0 0 0 2px rgba(180, 35, 24, .35); padding: 4px; margin: -4px; }
.pdp-field-error { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--brand-danger, #B42318); margin-top: 10px; }
.pdp-field-error i { font-size: 16px; }
@keyframes pdpShake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
.pdp-shake { animation: pdpShake .45s cubic-bezier(.36, .07, .19, .97) both; }
@media (prefers-reduced-motion: reduce) { .pdp-shake { animation: none; } }

/* Quantity */
.pdp-qty-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.pdp-qty { display: inline-flex; align-items: center; border: 1px solid var(--brand-border, #E9E2D8); border-radius: 10px; height: 44px; overflow: hidden; }
.pdp-qty button { width: 42px; height: 100%; border: 0; background: #fff; color: var(--brand-ink, #1F1A17); font-size: 14px; cursor: pointer; }
.pdp-qty button:hover { background: var(--brand-ivory, #FAF6F0); }
.pdp-qty input {
    width: 44px; height: 100%; border: 0; text-align: center; font-size: 15px; font-weight: 600;
    color: var(--brand-ink, #1F1A17); background: #fff; -moz-appearance: textfield; padding: 0;
}
.pdp-qty input::-webkit-outer-spin-button, .pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-qty input:focus { box-shadow: none !important; }
.pdp-low-stock { font-size: 13px; font-weight: 600; color: var(--brand-danger, #B42318); }

/* Actions: Add to cart is primary, Buy now secondary */
.pdp-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-bottom: 16px; }
.pdp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 600; letter-spacing: .01em;
    cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap;
}
.pdp-btn i { font-size: 19px; }
.pdp-btn-primary { background: var(--brand-primary, #6E2433); border: 1px solid var(--brand-primary, #6E2433); color: var(--brand-on-primary, #fff); }
.pdp-btn-primary:hover { background: var(--brand-primary-hover, #5A1C29); border-color: var(--brand-primary-hover, #5A1C29); color: #fff; }
.pdp-btn-outline { background: #fff; border: 1px solid var(--brand-ink, #1F1A17); color: var(--brand-ink, #1F1A17); }
.pdp-btn-outline:hover { background: var(--brand-ink, #1F1A17); color: #fff; }
.pdp-btn.added-success { background: var(--brand-success, #1F7A4D) !important; border-color: var(--brand-success, #1F7A4D) !important; color: #fff !important; }
.pdp-btn-disabled { grid-column: 1 / -1; background: #F1EEEA; border: 1px solid #F1EEEA; color: var(--brand-muted, #6F655C); cursor: not-allowed; }
.pdp-btn:disabled { opacity: .85; }

/* Delivery */
.pdp-delivery {
    display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--brand-ink, #1F1A17);
    padding: 12px 14px; background: var(--brand-ivory, #FAF6F0); border-radius: 10px; margin-bottom: 16px;
}
.pdp-delivery i { font-size: 20px; color: var(--brand-gold-text, #84632F); }

/* Trust row */
.pdp-trust {
    list-style: none; margin: 0 0 20px; padding: 14px 4px; display: grid;
    grid-template-columns: repeat(var(--pdp-trust-cols, 3), minmax(0, 1fr)); gap: 8px;
    border-top: 1px solid var(--brand-border, #E9E2D8); border-bottom: 1px solid var(--brand-border, #E9E2D8);
}
.pdp-trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; }
.pdp-trust-icon {
    width: 40px; height: 40px; border-radius: 50%; background: var(--brand-gold-soft, #F3EBDD);
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.pdp-trust-icon i { font-size: 20px; color: var(--brand-gold-text, #84632F); }
.pdp-trust-title { font-size: 12.5px; font-weight: 600; color: var(--brand-ink, #1F1A17); line-height: 1.3; }
.pdp-trust-text { font-size: 11.5px; color: var(--brand-muted, #6F655C); line-height: 1.3; }

/* Offers for you (real coupons) */
.pdp-offers { margin-bottom: 8px; }
.pdp-offers-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.pdp-offers-title { font-size: 15px; font-weight: 700; margin: 0; color: var(--brand-ink, #1F1A17); display: inline-flex; align-items: center; gap: 6px; }
.pdp-offers-title i { color: var(--brand-primary, #6E2433); font-size: 18px; }
.pdp-offers-count { font-size: 12px; color: var(--brand-muted, #6F655C); }
.pdp-offers-track {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pdp-offers-track::-webkit-scrollbar { display: none; }
.pdp-offer-card {
    flex: 0 0 auto; width: min(260px, 78%); scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 6px; padding: 14px;
    border: 1px solid var(--brand-border, #E9E2D8); border-radius: 12px; background: #fff;
    position: relative; overflow: hidden;
}
.pdp-offer-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand-primary, #6E2433); }
.pdp-offer-title { font-size: 16px; font-weight: 700; color: var(--brand-primary, #6E2433); }
.pdp-offer-desc { font-size: 12.5px; line-height: 1.45; color: var(--brand-muted, #6F655C); flex: 1; }
.pdp-offer-code {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
    border: 1.5px dashed var(--brand-gold, #B08A4E); background: var(--brand-gold-soft, #F3EBDD);
    border-radius: 8px; padding: 6px 10px; cursor: pointer; transition: background-color .15s ease;
}
.pdp-offer-code:hover { background: #EEE2CD; }
.pdp-offer-code-text { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--brand-ink, #1F1A17); }
.pdp-offer-copy { font-size: 12px; font-weight: 600; color: var(--brand-primary, #6E2433); text-transform: uppercase; letter-spacing: .04em; }
.pdp-offer-code.is-copied { border-color: var(--brand-success, #1F7A4D); background: #E7F3EC; }
.pdp-offer-code.is-copied .pdp-offer-copy { color: var(--brand-success, #1F7A4D); }
.pdp-offer-line {
    display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px;
    border-radius: 10px; background: var(--brand-ivory, #FAF6F0); font-size: 13px; color: var(--brand-ink, #1F1A17);
}
.pdp-offer-line i { font-size: 18px; color: var(--brand-gold-text, #84632F); }

/* ---------- Section tabs + sections ---------- */
.pdp-tabs {
    position: sticky; top: 0; z-index: 1020; margin: 40px 0 0; background: #fff;
    border-bottom: 1px solid var(--brand-border, #E9E2D8);
}
.pdp-tabs.is-stuck { box-shadow: 0 6px 12px -10px rgba(31, 26, 23, .25); }
.pdp-tabs-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pdp-tabs-inner::-webkit-scrollbar { display: none; }
.pdp-tab {
    position: relative; flex: 0 0 auto; padding: 14px 16px; font-size: 14px; font-weight: 600;
    color: var(--brand-muted, #6F655C) !important; text-decoration: none !important; white-space: nowrap;
}
.pdp-tab::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: transparent; border-radius: 2px; }
.pdp-tab.is-active { color: var(--brand-ink, #1F1A17) !important; }
.pdp-tab.is-active::after { background: var(--brand-primary, #6E2433); }
.pdp-tab-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px;
    border-radius: 999px; background: var(--brand-ivory, #FAF6F0); font-size: 11px; color: var(--brand-ink, #1F1A17);
}
.pdp-sections { max-width: 880px; }
.pdp-section { padding-top: 32px; scroll-margin-top: 140px; }
.pdp-section + .pdp-section { margin-top: 8px; }
.pdp-section-title { font-family: var(--brand-font-serif, 'Playfair Display', serif); font-size: 24px; font-weight: 600; margin: 0 0 12px; color: var(--brand-ink, #1F1A17); }

/* Accordions */
.pdp-accordions { border-top: 1px solid var(--brand-border, #E9E2D8); }
.pdp-acc { border-bottom: 1px solid var(--brand-border, #E9E2D8); }
.pdp-acc summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 0; font-size: 15px; font-weight: 600; color: var(--brand-ink, #1F1A17);
}
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: '+'; font-size: 22px; font-weight: 300; line-height: 1; color: var(--brand-muted, #6F655C); flex-shrink: 0; }
.pdp-acc[open] summary::after { content: '−'; }
.pdp-acc-body { padding: 0 0 18px; font-size: 14px; line-height: 1.7; color: #3D3530; }
.pdp-acc-body p:last-child { margin-bottom: 0; }
.pdp-richtext ul { padding-left: 18px; margin-bottom: 8px; }
.pdp-richtext img { max-width: 100%; height: auto; }
.pdp-specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.pdp-specs dt { font-weight: 500; color: var(--brand-muted, #6F655C); }
.pdp-specs dd { margin: 0; color: var(--brand-ink, #1F1A17); }
.pdp-list { padding-left: 18px; margin: 0; }
.pdp-list li { margin-bottom: 4px; }

/* Reviews section (markup in ratings_and_reviews.blade.php) */
.pdp .gentora-pdp-reviews-full-section { margin: 0 !important; padding-top: 32px !important; scroll-margin-top: 140px; }
.pdp .gentora-pdp-reviews-full-section h3 { font-size: 24px !important; font-weight: 600 !important; }
.pdp .gentora-pdp-reviews-full-section .btn { border-radius: 8px !important; background: var(--brand-primary, #6E2433) !important; border-color: var(--brand-primary, #6E2433) !important; }
.pdp .gentora-pdp-reviews-full-section .btn:hover { background: var(--brand-primary-hover, #5A1C29) !important; }
.pdp .gentora-no-reviews-card { background: var(--brand-ivory, #FAF6F0) !important; border: 0 !important; border-radius: 12px !important; }
.pdp .gentora-no-reviews-card > div:first-child { background: #fff !important; border-color: var(--brand-border, #E9E2D8) !important; }

/* Related products */
.pdp-related { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--brand-border, #E9E2D8); }
.pdp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pdp-section-head .pdp-section-title { margin: 0; }
.pdp-section-link { font-size: 14px; font-weight: 600; color: var(--brand-primary, #6E2433) !important; text-decoration: none; white-space: nowrap; }
.pdp-section-link:hover { text-decoration: underline; }
.pdp-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* ---------- Mobile sticky bar (≤991px, after main buttons scroll away) ---------- */
.pdp-sticky { display: none; }
@media (max-width: 991.98px) {
    .pdp-sticky {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff;
        border-top: 1px solid var(--brand-border, #E9E2D8); box-shadow: 0 -6px 18px rgba(31, 26, 23, .08);
        transform: translateY(110%); transition: transform .22s ease;
    }
    .pdp-sticky.is-visible { transform: translateY(0); }
    .pdp-sticky-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
    .pdp-sticky-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-width: 0; }
    .pdp-sticky-amount { font-size: 18px; font-weight: 700; color: var(--brand-ink, #1F1A17); }
    .pdp-sticky-mrp { font-size: 13px; color: var(--brand-muted, #6F655C); }
    .pdp-sticky-off { font-size: 13px; font-weight: 700; color: var(--brand-success, #1F7A4D); }
    .pdp-sticky-variant {
        flex-shrink: 0; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        border: 1px solid var(--brand-border, #E9E2D8); background: var(--brand-ivory, #FAF6F0); border-radius: 999px;
        padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--brand-ink, #1F1A17); cursor: pointer;
    }
    .pdp-sticky-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
    .pdp-sticky .pdp-btn { height: 48px; padding: 0 12px; }
    /* No global bottom nav on product pages: only reserve space while the sticky bar is showing */
    body:has(.pdp) { padding-bottom: 0 !important; }
    body.pdp-sticky-on { padding-bottom: 124px !important; }
    .giva-mobile-nav-bar { display: none !important; }
}

/* ---------- Size guide: bottom sheet on mobile, dialog on desktop ---------- */
.pdp-sheet .modal-content { border: 0; border-radius: 16px; overflow: hidden; }
.pdp-sheet .modal-dialog { max-width: 560px; }
.pdp-sheet-grip { display: none; }
.pdp-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 8px; }
.pdp-sheet-title { font-family: var(--brand-font-serif, 'Playfair Display', serif); font-size: 22px; font-weight: 600; margin: 0; color: var(--brand-ink, #1F1A17); }
.pdp-sheet-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand-ivory, #FAF6F0); font-size: 20px; color: var(--brand-ink, #1F1A17); cursor: pointer; }
.pdp-sheet-body { padding: 8px 20px 24px; max-height: 75vh; overflow-y: auto; }
.pdp-measure-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 18px; }
.pdp-measure-steps li { counter-increment: step; position: relative; padding: 0 0 12px 40px; font-size: 13.5px; line-height: 1.5; color: #3D3530; }
.pdp-measure-steps li::before {
    content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand-primary-soft, #F6ECEE); color: var(--brand-primary, #6E2433); font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.pdp-measure-steps strong { display: block; color: var(--brand-ink, #1F1A17); font-size: 14px; margin-bottom: 2px; }
.pdp-size-table-wrap { border: 1px solid var(--brand-border, #E9E2D8); border-radius: 12px; overflow: hidden; }
.pdp-size-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pdp-size-table th, .pdp-size-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #F1ECE5; }
.pdp-size-table thead th { background: var(--brand-ivory, #FAF6F0); font-size: 12px; font-weight: 600; color: var(--brand-muted, #6F655C); line-height: 1.3; }
.pdp-size-table thead small { display: block; font-weight: 500; }
.pdp-size-table tbody th { font-weight: 700; color: var(--brand-ink, #1F1A17); }
.pdp-size-table tbody tr:last-child th, .pdp-size-table tbody tr:last-child td { border-bottom: 0; }
.pdp-sheet-note { font-size: 12.5px; color: var(--brand-muted, #6F655C); margin: 12px 0 0; }
@media (max-width: 767.98px) {
    .pdp-sheet .modal-dialog {
        position: fixed; left: 0; right: 0; bottom: 0; margin: 0; max-width: none; width: 100%; min-height: 0;
        transform: translateY(100%) !important; transition: transform .25s ease-out !important;
    }
    .pdp-sheet.show .modal-dialog { transform: translateY(0) !important; }
    .pdp-sheet .modal-content { border-radius: 18px 18px 0 0; }
    .pdp-sheet-grip { display: block; width: 40px; height: 4px; border-radius: 2px; background: #DDD5CB; margin: 10px auto 0; }
    .pdp-sheet-body { max-height: 70vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .pdp-grid { gap: 32px; }
    .pdp-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pdp-related-item:nth-child(4) { display: none; }
}
@media (max-width: 991.98px) {
    .pdp { padding-top: 8px; }
    .pdp-breadcrumb { margin-bottom: 12px; font-size: 12px; }
    .pdp-grid { grid-template-columns: 1fr; gap: 18px; }
    .pdp-title { font-size: 23px; }
    .pdp-price { font-size: 26px; }
    .pdp-tabs { margin: 28px -15px 0; padding: 0 7px; }
    .pdp-section-title { font-size: 21px; }
    .pdp-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .pdp-related-item:nth-child(4) { display: block; }
    .pdp-offers-track { margin: 0 -15px; padding: 0 15px 6px; scroll-padding-left: 15px; }
}
@media (max-width: 575.98px) {
    .pdp-actions { grid-template-columns: 1fr; }
    .pdp-trust { padding: 12px 0; }
    .pdp-trust-title { font-size: 12px; }
    .pdp-trust-text { font-size: 11px; }
    .pdp-pill span { min-width: 48px; height: 48px; padding: 0 12px; }
    .pdp-pills { gap: 8px; }
    /* Sizes: an even grid so a full ring range fits one row on phones */
    .pdp-pills-size { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
    .pdp-pills-size .pdp-pill span { width: 100%; min-width: 0; padding: 0 4px; }
}

/* Gallery overrides: legacy gentora-luxury.css applies !important sizing to these classes */
.pdp .gentora-pdp-gallery { gap: 12px !important; max-height: none !important; }
.pdp .gentora-pdp-main-card {
    display: block !important; flex: none !important; width: 100% !important; max-width: none !important;
    height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: 1 / 1;
    background: var(--brand-ivory, #FAF6F0) !important; border: 0 !important; box-shadow: none !important;
    border-radius: var(--brand-radius, 8px) !important;
}
.pdp .gentora-pdp-main-card img,
.pdp .gentora-pdp-main-img {
    width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
    object-fit: cover !important;
}
.pdp .gentora-pdp-thumb-item,
.pdp .gentora-pdp-thumb-item.swiper-slide { width: 72px !important; height: 72px !important; border-radius: 6px !important; border: 1px solid var(--brand-border, #E9E2D8) !important; box-shadow: none !important; outline: 0 !important; }
.pdp .gentora-pdp-thumb-item.active,
.pdp .gentora-pdp-thumb-item.swiper-slide-thumb-active { border-color: var(--brand-ink, #1F1A17) !important; box-shadow: inset 0 0 0 1px var(--brand-ink, #1F1A17) !important; }
@media (max-width: 991.98px) {
    .pdp .gentora-pdp-main-card { margin: 0 -15px !important; width: calc(100% + 30px) !important; border-radius: 0 !important; }
    .pdp .gentora-pdp-thumb-item,
    .pdp .gentora-pdp-thumb-item.swiper-slide { width: 60px !important; height: 60px !important; }
}

/* ---------- Offers engine: sold pill, best price, offer tags, gift lines ---------- */
.pdp-sold { display: inline-flex; align-self: flex-start; width: auto; max-width: 100%; align-items: center; gap: 8px; margin: 12px 0 2px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--brand-ivory, #FAF6F0); border: 1px solid var(--brand-border, #E9E2D8); }
.pdp-sold-faces { display: inline-flex; }
.pdp-sold-faces svg { border-radius: 50%; border: 2px solid #fff; }
.pdp-sold-faces svg + svg { margin-left: -8px; }
.pdp-sold-text { font-size: 13px; color: var(--brand-muted, #6F655C); }
.pdp-sold-text strong { color: var(--brand-ink, #1F1A17); font-weight: 700; }
.pdp-best { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: #EEF7F1; color: #1F7A4D; font-size: 13px; }
.pdp-best strong { font-weight: 800; }
.pdp-best b { font-weight: 800; letter-spacing: .03em; border-bottom: 1px dashed currentColor; }
.pdp-offer-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.pdp-offer-tag { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 99px; background: #F1ECE5; color: var(--brand-muted, #6F655C); }
.pdp-offer-tag.is-season { background: var(--brand-gold-soft, #F3EBDD); color: var(--brand-gold-text, #84632F); }
.pdp-offer-ends { font-size: 11.5px; color: var(--brand-muted, #6F655C); margin-top: 2px; }
.pdp-gift-line i { color: var(--brand-primary, #6E2433); }
.pdp-gift-line.is-triggered { background: #EEF7F1; }
.pdp-gift-line.is-triggered i { color: #1F7A4D; }
.pdp-gift-worth { color: var(--brand-muted, #6F655C); margin-left: 2px; }


/* ---------- Material chip, size exchange, material & care ---------- */
.pdp-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.pdp-meta-row .pdp-sold { margin: 0; }
.pdp-chip-material { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-gold-soft, #F3EBDD); border-color: transparent; color: var(--brand-gold-text, #84632F); font-weight: 600; }
.pdp-chip-material i { font-size: 14px; }
.pdp-size-exchange { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--brand-success, #1F7A4D); font-weight: 500; }
.pdp-size-exchange i { font-size: 16px; }
.pdp-care { display: flex; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--brand-ink, #1F1A17); line-height: 1.55; }
.pdp-care i { color: var(--brand-gold, #B08A4E); font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ---------- Back in stock ("Notify me") ---------- */
.pdp-notify { margin-top: 16px; padding: 16px; border: 1px solid var(--brand-border, #E9E2D8); border-radius: 12px; background: var(--brand-ivory, #FAF6F0); }
.pdp-notify-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pdp-notify-head strong { font-size: 15px; }
.pdp-notify-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--brand-ink, #1F1A17); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pdp-notify-sub { margin: 6px 0 12px; font-size: 13px; color: var(--brand-muted, #6F655C); }
.pdp-notify-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp-notify-phone { display: flex; border: 1px solid #DCD3C7; border-radius: 10px; overflow: hidden; background: #fff; }
.pdp-notify-phone span { display: flex; align-items: center; padding: 0 10px; background: var(--brand-ivory, #FAF6F0); border-right: 1px solid #DCD3C7; font-weight: 600; font-size: 14px; }
.pdp-notify-phone input, .pdp-notify-email { width: 100%; min-height: 46px; border: 0; padding: 0 12px; font-size: 16px; background: #fff; }
.pdp-notify-email { border: 1px solid #DCD3C7; border-radius: 10px; }
.pdp-notify-consent { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 12px; font-size: 12.5px; color: var(--brand-muted, #6F655C); cursor: pointer; }
.pdp-notify-consent input { margin-top: 2px; accent-color: var(--brand-primary, #6E2433); }
.pdp-notify-btn { width: 100%; }
.pdp-notify-msg { margin-top: 8px; font-size: 13px; }
.pdp-notify-msg.is-ok { color: var(--brand-success, #1F7A4D); font-weight: 600; }
.pdp-notify-msg.is-error { color: var(--brand-danger, #B42318); }
@media (max-width: 575.98px) { .pdp-notify-fields { grid-template-columns: 1fr; } }

/* ---------- Real offer end times ---------- */
.pdp-offer-ends.is-urgent { color: var(--brand-primary, #6E2433); font-weight: 600; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pdp-offer-countdown { font-variant-numeric: tabular-nums; }
.pdp-offer-card.is-ended { opacity: .55; }

/* ---------- Complete the set ---------- */
.pdp-set { margin-top: 40px; }
.pdp-set-from { font-size: 13px; color: var(--brand-muted, #6F655C); }
.pdp-set-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991.98px) {
    .pdp-set-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; scrollbar-width: none; }
    .pdp-set-track::-webkit-scrollbar { display: none; }
    .pdp-set-item { flex: 0 0 46%; scroll-snap-align: start; }
}
/* While the sold-out panel shows, collapse the (hidden) buy buttons' empty row */
#option-choice-form:has(+ .pdp-notify:not(.d-none)) .pdp-actions { display: none; }

/* ==========================================================================
   Rating row empty state (same place on every product) + review dialog
   ========================================================================== */
.pdp-rating-empty { cursor: default; }
.pdp-star-outline { fill: none; stroke: #C9BFB2; stroke-width: 1.4; stroke-linejoin: round; }
.pdp-rating-first {
    border: 0; background: none; padding: 6px 2px; min-height: 32px;
    color: var(--brand-primary, #6E2433); font-weight: 600; font-size: 14px;
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.pdp-rating-first:focus-visible { outline: 2px solid var(--brand-gold, #B08A4E); outline-offset: 2px; border-radius: 4px; }

html.gjrv-open, html.gjrv-open body { overflow: hidden; }
.gjrv { position: fixed; inset: 0; z-index: 1080; display: flex; align-items: flex-end; justify-content: center; }
.gjrv[hidden] { display: none; }
.gjrv-backdrop { position: absolute; inset: 0; background: rgba(23, 18, 16, .48); opacity: 0; transition: opacity .2s ease; }
.gjrv.is-open .gjrv-backdrop { opacity: 1; }
.gjrv-panel {
    position: relative; width: 100%; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-radius: 18px 18px 0 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(100%); transition: transform .22s ease; outline: none;
}
.gjrv.is-open .gjrv-panel { transform: none; }
.gjrv-handle { display: block; width: 40px; height: 4px; border-radius: 4px; background: #DDD4C8; margin: 0 auto 8px; }
.gjrv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gjrv-title { font-family: var(--brand-font-serif, 'Playfair Display', Georgia, serif); font-size: 20px; margin: 0; color: var(--brand-ink, #1F1A17); }
.gjrv-x { width: 44px; height: 44px; border: 0; background: none; color: var(--brand-ink, #1F1A17); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.gjrv-x:hover { background: var(--brand-ivory, #FAF6F0); }
.gjrv-product { margin: 2px 0 14px; color: var(--brand-muted, #6F655C); font-size: 13.5px; }
.gjrv-field { margin-bottom: 16px; }
.gjrv-field label, .gjrv-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--brand-ink, #1F1A17); }
.gjrv-muted { font-weight: 400; color: var(--brand-muted, #6F655C); }
.gjrv-field input[type=text], .gjrv-field textarea {
    width: 100%; border: 1px solid #DCD3C7; border-radius: 10px; padding: 11px 13px; font-size: 16px; color: inherit; background: #fff;
}
.gjrv-field textarea { min-height: 104px; resize: vertical; }
.gjrv-field input:focus, .gjrv-field textarea:focus { border-color: var(--brand-gold, #B08A4E); box-shadow: 0 0 0 3px rgba(176, 138, 78, .18); outline: none; }
.gjrv-field textarea[aria-invalid=true] { border-color: #B42318; }
.gjrv-stars { display: flex; gap: 4px; }
.gjrv-star { width: 48px; height: 48px; border: 0; background: none; padding: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gjrv-star svg { fill: none; stroke: #C9BFB2; stroke-width: 1.4; stroke-linejoin: round; transition: transform .12s ease; }
.gjrv-star.is-on svg { fill: #F2A900; stroke: #F2A900; }
.gjrv-star:hover svg { transform: scale(1.08); }
.gjrv-star:focus-visible { outline: 2px solid var(--brand-gold, #B08A4E); outline-offset: 1px; }
.gjrv-err { display: block; min-height: 0; font-size: 12.5px; color: #B42318; margin-top: 4px; }
.gjrv-err:empty { margin: 0; }
.gjrv-photos { display: flex; gap: 10px; flex-wrap: wrap; }
.gjrv-add, .gjrv-thumb { width: 72px; height: 72px; border-radius: 10px; }
.gjrv-add { display: inline-flex; align-items: center; justify-content: center; border: 1.5px dashed #CFC4B6; color: var(--brand-muted, #6F655C); cursor: pointer; margin: 0; }
.gjrv-add:hover, .gjrv-add:focus-visible { border-color: var(--brand-primary, #6E2433); color: var(--brand-primary, #6E2433); outline: none; }
.gjrv-add[hidden] { display: none; }
.gjrv-thumb { position: relative; overflow: hidden; border: 1px solid var(--brand-border, #E9E2D8); }
.gjrv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gjrv-thumb-x { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(31, 26, 23, .75); color: #fff; font-size: 16px; line-height: 1; }
.gjrv-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gjrv-status { font-size: 13px; color: var(--brand-success, #1F7A4D); min-height: 0; }
.gjrv-status.is-error { color: #B42318; }
.gjrv-foot { position: sticky; bottom: 0; background: #fff; padding: 12px 0 2px; }
.gjrv-submit {
    width: 100%; min-height: 50px; border: 0; border-radius: 10px; background: var(--brand-primary, #6E2433);
    color: #fff; font-weight: 700; font-size: 15px;
}
.gjrv-submit:hover { background: var(--brand-primary-hover, #5A1C29); }
.gjrv-submit:disabled { opacity: .6; }
.gjrv-done { text-align: center; padding: 18px 0 6px; }
.gjrv-done p { margin: 12px 0 16px; font-size: 15px; color: var(--brand-ink, #1F1A17); }
@keyframes gjrv-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.gjrv-shake { animation: gjrv-shake .3s ease 2; }
@media (min-width: 768px) {
    .gjrv { align-items: center; padding: 24px; }
    .gjrv-panel { max-width: 520px; border-radius: 16px; padding: 22px 26px 22px; transform: translateY(12px) scale(.98); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
    .gjrv.is-open .gjrv-panel { transform: none; opacity: 1; }
    .gjrv-handle { display: none; }
    .gjrv-foot { position: static; }
}
@media (prefers-reduced-motion: reduce) {
    .gjrv-panel, .gjrv-backdrop, .gjrv-star svg { transition: none !important; }
    .gjrv-shake { animation: none; }
}

/* ==========================================================================
   Rating row above the gallery + product packs (App\Support\Packs)
   ========================================================================== */
.pdp-rating-top { display: flex; align-items: center; min-height: 32px; margin: -6px 0 8px; }
.pdp-rating-top .pdp-rating { margin-bottom: 0; }
@media (min-width: 992px) { .pdp-rating-top { margin: -8px 0 14px; } }

.pdp-pack-saving { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--brand-success, #1F7A4D); }

.pdp-packs { margin-bottom: 18px; }
.pdp-packs .pdp-option-head { margin-bottom: 10px; }
.pdp-pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 10px; }
.pdp-pack-box { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; display: block; width: 100%; position: relative; text-align: center; }
.pdp-pack-inner {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px;
    height: 100%; min-height: 128px; padding: 16px 8px 12px; border: 1.5px solid var(--brand-border, #E9E2D8); border-radius: 14px; background: #fff;
    text-align: center; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.pdp-pack-box:hover .pdp-pack-inner { border-color: var(--brand-gold, #B08A4E); }
.pdp-pack-box[aria-checked="true"] .pdp-pack-inner {
    border-color: var(--brand-primary, #6E2433); background: var(--brand-primary-soft, #F6ECEE);
    box-shadow: 0 0 0 1px var(--brand-primary, #6E2433);
}
.pdp-pack-box:focus-visible { outline: none; }
.pdp-pack-box:focus-visible .pdp-pack-inner { outline: 2px solid var(--brand-gold, #B08A4E); outline-offset: 2px; }
.pdp-pack-flag {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    padding: 2px 8px; border-radius: 999px; background: var(--brand-primary, #6E2433); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.pdp-pack-qty { font-size: 30px; line-height: 1; font-weight: 800; color: var(--brand-ink, #1F1A17); font-variant-numeric: tabular-nums; }
.pdp-pack-unit { font-size: 12px; color: var(--brand-muted, #6F655C); margin-bottom: 6px; }
.pdp-pack-price { font-size: 16px; font-weight: 800; color: var(--brand-ink, #1F1A17); font-variant-numeric: tabular-nums; }
.pdp-pack-per { font-size: 12px; color: var(--brand-muted, #6F655C); font-variant-numeric: tabular-nums; }
.pdp-pack-save { margin-top: 4px; padding: 2px 7px; border-radius: 999px; background: #E8F5EC; color: var(--brand-success, #1F7A4D); font-size: 11.5px; font-weight: 700; white-space: nowrap; }

.pdp-pack-picker { margin-top: 14px; padding: 14px; border: 1px solid var(--brand-border, #E9E2D8); border-radius: 14px; background: var(--brand-ivory, #FAF6F0); }
.pdp-pack-picker-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 10px; font-size: 15px; }
.pdp-pack-picker-head strong { color: var(--brand-ink, #1F1A17); }
.pdp-pack-picker-sub { font-size: 13px; color: var(--brand-muted, #6F655C); }
.pdp-pack-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 12px; }
.pdp-pack-slot {
    position: relative; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px 8px; border-radius: 10px;
    border: 1.5px dashed #CFC4B4; background: #fff;
}
.pdp-pack-slot.is-filled { border-style: solid; border-color: var(--brand-border, #E9E2D8); }
.pdp-pack-slot.is-primary { border-color: var(--brand-primary, #6E2433); }
.pdp-pack-slot img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--brand-ivory, #FAF6F0); flex-shrink: 0; }
.pdp-pack-slot-info { display: flex; flex-direction: column; min-width: 0; padding-right: 18px; }
.pdp-pack-slot-name { font-size: 12.5px; font-weight: 600; color: var(--brand-ink, #1F1A17); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-pack-slot-size { font-size: 12px; color: var(--brand-muted, #6F655C); }
.pdp-pack-slot-size.is-missing { color: var(--brand-danger, #B42318); font-weight: 600; }
.pdp-pack-slot-plus { width: 100%; text-align: center; font-size: 22px; color: #B5A893; }
.pdp-pack-slot-remove {
    position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%;
    background: transparent; color: var(--brand-muted, #6F655C); font-size: 18px; line-height: 1; cursor: pointer;
}
.pdp-pack-slot-remove:hover { background: #FDF1F0; color: var(--brand-danger, #B42318); }
.pdp-pack-same { margin: 0; font-size: 13.5px; color: var(--brand-ink, #1F1A17); }

.pdp-pack-list {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; margin: 0 -2px;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.pdp-pack-list.is-done { opacity: .55; }
.pdp-pack-card {
    flex: 0 0 112px; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 3px; padding: 6px; text-align: left;
    border: 1.5px solid var(--brand-border, #E9E2D8); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s ease;
}
.pdp-pack-card:hover, .pdp-pack-card.is-active { border-color: var(--brand-primary, #6E2433); }
.pdp-pack-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: var(--brand-ivory, #FAF6F0); }
.pdp-pack-card-tag { position: absolute; top: 10px; left: 10px; padding: 1px 6px; border-radius: 999px; background: rgba(31, 26, 23, .78); color: #fff; font-size: 10px; font-weight: 600; }
.pdp-pack-card-name { font-size: 12px; line-height: 1.25; color: var(--brand-ink, #1F1A17); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 30px; }
.pdp-pack-card-price { font-size: 13px; font-weight: 700; color: var(--brand-ink, #1F1A17); }

.pdp-pack-sizes { margin-top: 8px; }
.pdp-pack-sizes-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--brand-ink, #1F1A17); }
.pdp-pack-size-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; }
.pdp-pack-chip {
    height: 44px; min-width: 44px; padding: 0 8px; border: 1px solid var(--brand-border, #E9E2D8); border-radius: 10px; background: #fff;
    font-size: 14px; font-weight: 600; color: var(--brand-ink, #1F1A17); cursor: pointer;
}
.pdp-pack-chip:hover { border-color: var(--brand-primary, #6E2433); }
.pdp-pack-chip:disabled { color: #B9B0A6; text-decoration: line-through; cursor: not-allowed; background: #F7F4F0; }
.pdp-pack-warn { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--brand-danger, #B42318); }
.pdp-qty-row-stock { margin: -6px 0 14px; }
.pdp-btn:disabled.pdp-btn-primary { cursor: not-allowed; opacity: .6; }
@media (min-width: 992px) {
    .pdp-pack-inner { min-height: 136px; }
    .pdp-pack-qty { font-size: 34px; }
    .pdp-pack-card { flex-basis: 124px; }
}
