/* =========================================================
   SAGVIRA EXPERIENCE LAYER
   Patterns from leading Indian jewellery stores, drawn in the Sagvira palette (ink, champagne gold,
   warm stone). Loaded after the theme and component sheets.

   Breakpoints match the rest of the site:
     phone   <= 768px    (bottom dock visible)
     tablet  769–991px   (drawer nav, no dock)
     laptop  992–1279px
     desktop >= 1280px
========================================================= */

:root {
    --sag-ink-soft: #2A2A2A;
    --sag-gold-deep: #A9853F;
    --sag-gold-wash: #FBF6EC;
    --sag-offer: #1B7232;
    --sag-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* An author display rule beats the UA's [hidden] style, so a component
   that sets display:flex would ignore hidden. Make hidden always win. */
[hidden] { display: none !important; }

html.sag-modal-open,
html.sag-modal-open body {
    overflow: hidden;
}

/* =========================================================
   1. PRODUCT CARD ADDITIONS
========================================================= */
.sag-card-finish {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--sag-gray-text);
    text-transform: uppercase;
}

.sag-finish-dot {
    flex: 0 0 auto;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.sag-finish-dot.is-gold { background: linear-gradient(135deg, #F3DFA2, #C7A15A 55%, #A9853F); }
.sag-finish-dot.is-silver { background: linear-gradient(135deg, #FFFFFF, #D5D7DA 55%, #A8ACB1); }

/* The price row sat on margin-top:auto; with the offer line below it,
   the offer and the button now share the bottom of the card. */
.sag-card .sag-price-row { margin-bottom: 6px; }

.sag-card-offer {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--sag-gray-text);
}

.sag-card-offer strong {
    color: var(--sag-offer);
    font-weight: 800;
}

.sag-card-offer span {
    display: inline-block;
    padding: 0 5px;
    border: 1px dashed var(--sag-gold);
    border-radius: 3px;
    color: var(--sag-black);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.04em;
    background: var(--sag-gold-wash);
}

/* Quick view rides up from the bottom of the photo on hover-capable
   screens. Touch screens open the product page instead. */
.sag-quickview-btn {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--sag-black);
    font: 700 12px/1 var(--sag-font-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s var(--sag-ease), transform 0.22s var(--sag-ease), background 0.2s ease;
}

.sag-quickview-btn:hover { background: var(--sag-black); color: #FFFFFF; }

.sag-card:hover .sag-quickview-btn,
.sag-quickview-btn:focus-visible {
    opacity: 1;
    transform: none;
}

@media (hover: none) {
    .sag-quickview-btn { display: none; }
}

@media (max-width: 768px) {
    .sag-card-finish { font-size: 10px; margin-bottom: 4px; }
    .sag-card-offer { font-size: 11px; margin-bottom: 10px; }
    .sag-card-offer span { font-size: 10px; }
}

/* =========================================================
   2. QUICK VIEW MODAL
========================================================= */
.sag-qv-overlay {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 17, 17, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sag-qv-overlay.is-open { opacity: 1; }

.sag-qv {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.28s var(--sag-ease);
}

.sag-qv-overlay.is-open .sag-qv { transform: none; }

.sag-qv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--sag-black);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.sag-qv-gallery {
    background: var(--sag-card-bg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sag-qv-main {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
}

.sag-qv-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sag-qv-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.sag-qv-thumb {
    flex: 0 0 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    cursor: pointer;
}

.sag-qv-thumb.is-active { border-color: var(--sag-gold); }

.sag-qv-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sag-qv-info {
    padding: 32px 30px 28px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sag-qv-info h2 {
    font-size: clamp(20px, 2.2vw, 26px);
    margin: 0 0 12px;
    padding-right: 36px;
}

.sag-qv-price { margin: 0 0 2px; }
.sag-qv-price strong { font-size: 24px; }

.sag-qv-tax {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--sag-muted);
}

.sag-qv-desc {
    margin: 4px 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sag-gray-text);
}

.sag-qv-promise {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.sag-qv-promise li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 100px;
    background: var(--sag-stone-bg);
    border: 1px solid var(--sag-border-gold);
    font-size: 12px;
    font-weight: 700;
    color: var(--sag-black);
}

.sag-qv-promise i { color: var(--sag-gold); }

.sag-qv-buy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.sag-qv-qty {
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid var(--sag-border);
    border-radius: 8px;
    overflow: hidden;
}

.sag-qv-qty button {
    width: 36px;
    height: 100%;
    border: 0;
    background: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
}

.sag-qv-qty input {
    width: 40px;
    height: 100%;
    border: 0;
    text-align: center;
    font: 700 15px var(--sag-font-sans);
    -moz-appearance: textfield;
}

.sag-qv-qty input::-webkit-outer-spin-button,
.sag-qv-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sag-qv-wish {
    width: 44px;
    height: 44px;
    border: 1px solid var(--sag-border);
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 17px;
    cursor: pointer;
}

.sag-qv-wish.is-active { color: #D32F2F; border-color: #F2C4C4; }

.sag-qv-more {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--sag-black);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--sag-gold);
}

@media (max-width: 768px) {
    .sag-qv-overlay { padding: 0; align-items: flex-end; }
    .sag-qv {
        grid-template-columns: minmax(0, 1fr);
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        transform: translateY(40px);
    }
    .sag-qv-gallery { padding: 12px; }
    .sag-qv-main { aspect-ratio: 4 / 3; }
    .sag-qv-info { padding: 18px 16px calc(18px + var(--sag-safe-bottom, 0px)); }
}

/* =========================================================
   3. SHELVES — horizontal rows of cards
========================================================= */
.sag-shelf {
    position: relative;
    max-width: var(--sag-container, 1320px);
    margin: 0 auto;
    padding-inline: var(--sag-gutter, 24px);
    box-sizing: border-box;
}

/* The track keeps .sag-products-grid for card styling, but lays out as a row. */
.sag-shelf .sag-shelf-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    grid-template-columns: none;
    gap: 20px;
    max-width: none;
    margin: 0;
    padding: 6px 2px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sag-shelf .sag-shelf-track::-webkit-scrollbar { display: none; }

.sag-shelf .sag-shelf-track > * { scroll-snap-align: start; min-width: 0; }

.sag-shelf-arrow {
    position: absolute;
    top: 38%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid var(--sag-border);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--sag-black);
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.sag-shelf-arrow:hover { background: var(--sag-black); color: #FFFFFF; }
.sag-shelf-arrow:disabled { opacity: 0; pointer-events: none; }
.sag-shelf-arrow.is-prev { left: calc(var(--sag-gutter, 24px) - 20px); }
.sag-shelf-arrow.is-next { right: calc(var(--sag-gutter, 24px) - 20px); }

.sag-shelf.is-scrollable .sag-shelf-arrow { display: flex; }

.sag-shelf-progress {
    position: relative;
    height: 3px;
    width: min(220px, 50%);
    margin: 6px auto 0;
    border-radius: 3px;
    background: var(--sag-border);
    overflow: hidden;
    visibility: hidden;
}

.sag-shelf.is-scrollable .sag-shelf-progress { visibility: visible; }

.sag-shelf-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30%;
    border-radius: 3px;
    background: var(--sag-gold);
    transition: left 0.12s linear;
}

.sag-shelf-cta {
    display: flex;
    justify-content: center;
    margin: 22px auto 0;
    padding-inline: 16px;
}

.sag-shelf-cta .sag-btn-secondary { width: auto; min-width: 220px; }

@media (max-width: 1199px) {
    .sag-shelf .sag-shelf-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; }
}

@media (max-width: 768px) {
    .sag-shelf { padding-inline: 0; }
    /* Peek the next card so a phone shopper can see the row scrolls. */
    .sag-shelf .sag-shelf-track {
        grid-auto-columns: 44%;
        gap: 12px;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
    }
    .sag-shelf-arrow { display: none !important; }
}

@media (max-width: 340px) {
    .sag-shelf .sag-shelf-track { grid-auto-columns: 58%; }
}

/* =========================================================
   4. HOMEPAGE — ruled headings, price tiles, shop by look
========================================================= */
/* title between two hairlines. */
.sag-section-header--ruled .sag-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.sag-section-header--ruled .sag-section-title::before,
.sag-section-header--ruled .sag-section-title::after {
    content: "";
    flex: 0 1 90px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sag-gold));
}

.sag-section-header--ruled .sag-section-title::after {
    background: linear-gradient(90deg, var(--sag-gold), transparent);
}

.sag-price-tiles {
    max-width: var(--sag-container, 1320px);
    margin: 0 auto;
    padding-inline: var(--sag-gutter, 24px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 20px);
}

.sag-price-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: clamp(110px, 12vw, 150px);
    padding: 18px 12px;
    border-radius: 14px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(199, 161, 90, 0.35), transparent 55%),
        linear-gradient(160deg, #1D1D1D, #0E0E0E);
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    transition: transform 0.25s var(--sag-ease), box-shadow 0.25s ease;
}

.sag-price-tile::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(199, 161, 90, 0.35);
    border-radius: 10px;
    pointer-events: none;
}

.sag-price-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16); }

.sag-price-tile-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8DCC8;
}

.sag-price-tile strong {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.sag-price-tile-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.sag-price-tile.is-gold {
    background: linear-gradient(150deg, #E2C383, #C7A15A 50%, #A9853F);
    color: var(--sag-black);
}

.sag-price-tile.is-gold .sag-price-tile-kicker,
.sag-price-tile.is-gold .sag-price-tile-count { color: rgba(17, 17, 17, 0.72); }
.sag-price-tile.is-gold::after { border-color: rgba(255, 255, 255, 0.5); }

.sag-price-tile.is-light {
    background: var(--sag-stone-bg);
    color: var(--sag-black);
    border: 1px solid var(--sag-border-gold);
}

.sag-price-tile.is-light .sag-price-tile-kicker { color: var(--sag-gold-deep); }
.sag-price-tile.is-light .sag-price-tile-count { color: var(--sag-gray-text); }
.sag-price-tile.is-light::after { display: none; }

@media (max-width: 768px) {
    .sag-price-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 16px; }
}

.sag-look-grid {
    max-width: var(--sag-container, 1320px);
    margin: 0 auto;
    padding-inline: var(--sag-gutter, 24px);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(14px, 2.4vw, 36px);
}

.sag-look-tile {
    flex: 0 0 auto;
    width: clamp(120px, 14vw, 170px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.sag-look-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #E8DCC8, #C7A15A);
    margin-bottom: 8px;
    transition: transform 0.25s var(--sag-ease);
}

.sag-look-img picture,
.sag-look-img img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #FFFFFF;
}

.sag-look-img img { border: 3px solid #FFFFFF; }

.sag-look-swatch {
    position: absolute;
    right: 6%;
    bottom: 6%;
    width: 26%;
    height: 26%;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.sag-look-tile:hover .sag-look-img { transform: translateY(-3px); }

.sag-look-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--sag-black);
    line-height: 1.3;
}

.sag-look-count {
    font-size: 12px;
    color: var(--sag-muted);
}

@media (max-width: 768px) {
    .sag-look-grid {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }
    .sag-look-grid::-webkit-scrollbar { display: none; }
    .sag-look-tile { width: 112px; scroll-snap-align: start; }
    .sag-look-label { font-size: 12.5px; }
}

/* =========================================================
   5. HEADER — labelled icons and the Shop mega-menu
========================================================= */
.sag-header-secondary { position: relative; }

.sag-nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.sag-nav-item > .sag-nav-link i {
    font-size: 9px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.sag-nav-item.is-open > .sag-nav-link i { transform: rotate(180deg); }

.sag-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1002;
    background: #FFFFFF;
    border-top: 1px solid var(--sag-border);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.sag-nav-item.is-open .sag-mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.sag-mega-inner {
    max-width: var(--sag-container, 1320px);
    margin: 0 auto;
    padding: 28px var(--sag-gutter, 24px) 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
    gap: 32px;
}

.sag-mega-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sag-mega-title {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sag-gold-deep);
}

.sag-mega-col .sag-mega-title:not(:first-child) { margin-top: 16px; }

.sag-mega-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--sag-charcoal);
    transition: color 0.15s ease, transform 0.15s ease;
}

.sag-mega-col a:hover { color: var(--sag-gold-deep); transform: translateX(3px); }

.sag-mega-col a.sag-mega-all { margin-top: 6px; font-weight: 800; color: var(--sag-black); }

.sag-mega-feature {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    min-height: 180px;
}

.sag-mega-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--sag-ease);
}

.sag-mega-feature:hover img { transform: scale(1.04); }

.sag-mega-feature-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 16px;
}

.sag-mega-feature-text small {
    display: block;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E8DCC8;
    margin-bottom: 4px;
}

/* Rotating search hint fades between terms. */
.sag-header .sag-search-wrap input::placeholder { transition: opacity 0.18s ease; }
.sag-header .sag-search-wrap input.is-hint-out::placeholder { opacity: 0; }

/* =========================================================
   6. FOOTER — accordion columns on phones, payment label
========================================================= */
.footer-column h4 .footer-column-toggle {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: default;
}

.footer-column-toggle i { display: none; }

.footer-column-links {
    display: flex;
    flex-direction: column;
    gap: inherit;
}

/* Five columns now that Connect sits beside Shop / Help / About / Policy. */
@media (min-width: 901px) {
    .footer-middle { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

.footer-connect a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-connect a i {
    width: 16px;
    text-align: center;
    color: var(--sag-gold);
}

/* Stacked on phones, flex:1 turned the input's 46px height into a
   zero flex-basis and the field collapsed to a sliver. */
@media (max-width: 520px) {
    .newsletter-form input { flex: 0 0 auto; height: 48px; }
}

.payment-methods .payment-label {
    border: 0 !important;
    background: none !important;
    padding-left: 0 !important;
    font-weight: 800;
    color: var(--sag-black);
}

@media (max-width: 768px) {
    .footer-middle {
        display: block !important;
    }
    .footer-middle .footer-column {
        border-bottom: 1px solid var(--sag-border);
        padding: 0 !important;
        margin: 0 !important;
    }
    .footer-column h4 { margin: 0 !important; }
    .footer-column h4 .footer-column-toggle {
        cursor: pointer;
        padding: 16px 2px;
        min-height: 24px;
    }
    .footer-column-toggle i {
        display: inline-block;
        font-size: 12px;
        color: var(--sag-gold);
        transition: transform 0.2s ease;
    }
    .footer-column.is-open .footer-column-toggle i { transform: rotate(45deg); }
    .footer-column-links {
        display: none;
        padding: 0 2px 14px;
        gap: 0;
    }
    .footer-column-links a {
        display: block;
        padding: 9px 0;
        margin: 0 !important;
        line-height: 1.3;
    }
    .footer-column.is-open .footer-column-links { display: flex; }
}

/* =========================================================
   7. BACK TO TOP
========================================================= */
.sag-back-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1200;
    width: 46px;
    height: 46px;
    border: 1px solid var(--sag-border-gold);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--sag-black);
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s, background 0.2s ease;
}

.sag-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s, background 0.2s ease;
}

.sag-back-top:hover { background: var(--sag-black); color: #FFFFFF; }

@media (max-width: 768px) {
    .sag-back-top {
        right: 14px;
        width: 42px;
        height: 42px;
        bottom: calc(var(--sag-dock-height, 62px) + var(--sag-safe-bottom, 0px) + 14px);
    }
    /* The product page buy bar and the shop sort/filter bar sit in that spot. */
    body.sag-has-buy-bar .sag-back-top,
    body.sag-has-plp-bar .sag-back-top {
        bottom: calc(var(--sag-dock-height, 62px) + var(--sag-safe-bottom, 0px) + 74px);
    }
}

/* =========================================================
   8. WELCOME OFFER + SIGN-IN — one minimal card language:
   a gold seal, a short headline, one field, quiet fine print.
========================================================= */
.sag-welcome {
    position: fixed;
    inset: 0;
    z-index: 100040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 17, 17, 0.42);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sag-welcome.is-open { opacity: 1; }

.sag-welcome-card,
.sag-signin {
    position: relative;
    width: min(400px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 38px 32px 26px;
    text-align: center;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    transform: translateY(12px);
    transition: transform 0.28s var(--sag-ease);
}

/* A hairline gold frame inset from the edge. */
.sag-welcome-card::before,
.sag-signin::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid var(--sag-border-gold);
    border-radius: 12px;
    pointer-events: none;
}

.sag-welcome.is-open .sag-welcome-card,
.sag-qv-overlay.is-open .sag-signin { transform: none; }

.sag-welcome-close,
.sag-signin-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--sag-stone-bg);
    color: var(--sag-black);
    font-size: 15px;
    cursor: pointer;
}

.sag-signin-seal {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sag-black);
    color: var(--sag-gold);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 5px var(--sag-gold);
}

.sag-welcome-kicker {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sag-gold-deep);
}

.sag-welcome-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.15;
}

.sag-welcome-card h2 span { color: var(--sag-gold-deep); }

.sag-welcome-copy {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--sag-gray-text);
}

/* Field and arrow button read as one control. */
.sag-welcome-form {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 4px 4px 4px 16px;
    border: 1px solid var(--sag-border);
    border-radius: 100px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sag-welcome-form:focus-within { border-color: var(--sag-gold); box-shadow: 0 0 0 3px var(--sag-gold-light); }

.sag-welcome-form input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: none;
    font: 15px var(--sag-font-sans);
}

.sag-welcome-form button {
    flex: 0 0 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--sag-black);
    color: var(--sag-gold);
    font-size: 15px;
    cursor: pointer;
}

.sag-welcome-copybtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px dashed var(--sag-gold);
    border-radius: 12px;
    background: var(--sag-gold-wash);
    cursor: pointer;
    font: inherit;
}

.sag-welcome-copybtn strong { font-size: 20px; letter-spacing: 0.14em; color: var(--sag-black); }
.sag-welcome-copybtn span { font-size: 12.5px; font-weight: 700; color: var(--sag-gold-deep); }

.sag-welcome-code small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--sag-gray-text);
}

.sag-welcome-skip {
    margin-top: 14px;
    border: 0;
    background: none;
    font: 600 12.5px var(--sag-font-sans);
    color: var(--sag-muted);
    cursor: pointer;
}

.sag-welcome-skip:hover { color: var(--sag-black); }

/* ---- sign-in specifics ---- */
.sag-signin h2 { margin: 0 0 6px; font-size: 22px; }

.sag-signin-sub { margin: 0 0 18px; font-size: 13.5px; color: var(--sag-gray-text); }

.sag-signin .sag-phone-input {
    display: flex;
    align-items: center;
    height: 50px;
    border: 1px solid var(--sag-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.sag-signin .sag-phone-input:focus-within { border-color: var(--sag-gold); box-shadow: 0 0 0 3px var(--sag-gold-light); }

.sag-signin .sag-phone-cc {
    padding: 0 12px 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--sag-border);
    font-weight: 700;
    color: var(--sag-black);
}

.sag-signin .sag-phone-input input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: 0;
    font: 16px var(--sag-font-sans);
    letter-spacing: 0.04em;
}

.sag-signin .sag-field-error { text-align: left; }

.sag-signin-cta { width: 100%; height: 50px; margin-top: 12px; border-radius: 12px; justify-content: center; }

.sag-signin-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sag-muted);
}

.sag-signin-or::before,
.sag-signin-or::after { content: ""; flex: 1; height: 1px; background: var(--sag-border); }

.sag-signin-wa {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--sag-border);
    border-radius: 12px;
    background: #FFFFFF;
    font: 700 14px var(--sag-font-sans);
    color: var(--sag-black);
    cursor: pointer;
}

.sag-signin-wa i { color: #25D366; font-size: 19px; }
.sag-signin-wa:hover { border-color: var(--sag-gold); }

.sag-signin-perks {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 18px 0 10px;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--sag-charcoal);
}

.sag-signin-perks i { color: var(--sag-gold); margin-right: 4px; }

.sag-signin-legal { margin: 0; font-size: 11.5px; color: var(--sag-muted); }
.sag-signin-legal a { text-decoration: underline; }

.sag-signin .sag-auth-back { margin: 0 auto 10px; }

.sag-signin-code {
    margin: -6px 0 14px;
    font-size: 12.5px;
    color: var(--sag-gray-text);
}

.sag-signin-code button {
    border: 0;
    background: none;
    font: 700 12.5px var(--sag-font-sans);
    color: var(--sag-gold-deep);
    text-decoration: underline;
    cursor: pointer;
}

.sag-signin .sag-otp-row { justify-content: center; }

.sag-signin-done {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sag-green-bg);
    color: var(--sag-green);
    font-size: 22px;
}

.sag-signin-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 6px;
}

.sag-signin-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border: 1px solid var(--sag-border);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--sag-black);
}

.sag-signin-links a:hover { border-color: var(--sag-gold); }
.sag-signin-links i { color: var(--sag-gold); font-size: 16px; }

/* The signed-in seal: a gold dot on the person icon. */
.sag-header .sag-account-btn.is-signed-in::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sag-gold);
    box-shadow: 0 0 0 2px #FFFFFF;
}

@media (max-width: 768px) {
    .sag-welcome { padding: 0; align-items: flex-end; }
    .sag-welcome-card,
    .sag-signin {
        width: 100%;
        max-height: 92vh;
        border-radius: 22px 22px 0 0;
        padding: 32px 22px calc(22px + var(--sag-safe-bottom, 0px));
        transform: translateY(40px);
    }
    .sag-signin-overlay { padding: 0; align-items: flex-end; }
}

/* =========================================================
   9. SHOP LISTING (PLP) — facets, Sagvira's look
========================================================= */
.sag-plp { align-items: start; }

.sag-filter-panel {
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    border: 1px solid var(--sag-border);
    border-radius: 14px;
    background: #FFFFFF;
    scrollbar-width: thin;
}

.sag-filter-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--sag-border);
}

.sag-filter-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sag-filter-clear {
    margin-left: auto;
    border: 0;
    background: none;
    font: 800 12px var(--sag-font-sans);
    letter-spacing: 0.04em;
    color: var(--sag-gold-deep);
    text-transform: uppercase;
    cursor: pointer;
}

.sag-filter-x { display: none; }

.sag-facet { border-bottom: 1px solid var(--sag-border); }

.sag-facet summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sag-black);
}

.sag-facet summary::-webkit-details-marker { display: none; }
.sag-facet summary i { font-size: 11px; color: var(--sag-muted); transition: transform 0.2s ease; }
.sag-facet[open] summary i { transform: rotate(180deg); }

.sag-facet-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 12px 14px;
}

.sag-facet-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--sag-charcoal);
    cursor: pointer;
}

.sag-facet-opt:hover { background: var(--sag-stone-bg); }

.sag-facet-opt input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--sag-black);
    cursor: pointer;
}

.sag-facet-label { flex: 1 1 auto; min-width: 0; }

.sag-facet-count { font-size: 12px; color: var(--sag-muted); }

.sag-facet-opt.is-disabled { opacity: 0.45; cursor: not-allowed; }
.sag-facet-opt.is-disabled:hover { background: none; }

.sag-filter-promise {
    margin: 14px;
    padding: 14px;
    border-radius: 10px;
    background: var(--sag-stone-bg);
}

.sag-filter-promise strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--sag-black);
}

.sag-filter-promise i { color: var(--sag-gold); }

.sag-filter-promise p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--sag-gray-text);
}

.sag-filter-foot { display: none; }

/* Legacy sidebar markup (shown only until shop.js builds the facets). */
.sag-filter-body .sidebar-box { padding: 16px 18px; }
.sag-filter-body .sidebar-title { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.sag-filter-body .filter-options { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }

.sag-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0;
    font-size: 12.5px;
    color: var(--sag-muted);
}

.sag-breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--sag-border-gold);
}

.sag-breadcrumb a:hover { color: var(--sag-gold-deep); }
.sag-breadcrumb [aria-current] { color: var(--sag-black); font-weight: 700; }

.sag-plp .shop-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: 0;
}

.sag-plp .shop-toolbar h1 {
    margin: 0 0 2px;
    font-size: clamp(24px, 2.6vw, 32px);
}

.sag-plp .shop-count-kicker { font-size: 13px; color: var(--sag-muted); font-weight: 600; }

.sag-sort-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 10px 0;
    border-top: 1px solid var(--sag-border);
    border-bottom: 1px solid var(--sag-border);
}

.sag-sort-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--sag-black);
}

.sag-sort-tabs button {
    position: relative;
    padding: 6px 0;
    border: 0;
    background: none;
    font: 600 13.5px var(--sag-font-sans);
    color: var(--sag-gray-text);
    cursor: pointer;
}

.sag-sort-tabs button:hover { color: var(--sag-black); }

.sag-sort-tabs button.is-active { color: var(--sag-black); font-weight: 800; }

.sag-sort-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 2px;
    background: var(--sag-gold);
}

.sag-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.sag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--sag-border-gold);
    border-radius: 100px;
    background: var(--sag-gold-wash);
    font: 700 12.5px var(--sag-font-sans);
    color: var(--sag-black);
    cursor: pointer;
}

.sag-chip i { font-size: 11px; color: var(--sag-gold-deep); }
.sag-chip:hover { border-color: var(--sag-gold); }

.sag-chip-clear {
    height: 32px;
    padding: 0 6px;
    border: 0;
    background: none;
    font: 800 12.5px var(--sag-font-sans);
    color: var(--sag-gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.sag-plp .shop-main-grid .sag-products-grid {
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 1440px) {
    .sag-plp .shop-main-grid .sag-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- sort / filter bar and sheets: hidden until tablet width ---- */
.sag-plp-bar,
.sag-filter-scrim { display: none; }

.sag-sheet { display: none; }

@media (max-width: 991px) {
    body.sag-has-plp-bar { padding-bottom: 58px; }

    .sag-plp .shop-main-grid .sag-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .sag-sort-tabs { display: none; }

    .sag-plp-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1250;
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 56px;
        background: #FFFFFF;
        border-top: 1px solid var(--sag-border);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    }

    .sag-plp-bar button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 0;
        background: none;
        font: 800 13px var(--sag-font-sans);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--sag-black);
        cursor: pointer;
    }

    .sag-plp-bar button + button { border-left: 1px solid var(--sag-border); }
    .sag-plp-bar i { color: var(--sag-gold); font-size: 16px; }
    .sag-plp-bar span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }

    .sag-plp-bar small {
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
        color: var(--sag-muted);
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* The filter panel becomes a full-height sheet. */
    .sag-plp .sag-filter-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 100020;
        width: 100%;
        max-height: 88vh;
        height: 88vh;
        display: flex;
        flex-direction: column;
        border: 0;
        border-radius: 18px 18px 0 0;
        transform: translateY(105%);
        visibility: hidden;
        transition: transform 0.3s var(--sag-ease), visibility 0s linear 0.3s;
        overflow: hidden;
        order: 0;
    }

    .sag-plp .sag-filter-panel.is-open {
        transform: none;
        visibility: visible;
        transition: transform 0.3s var(--sag-ease), visibility 0s;
    }

    .sag-filter-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
    .sag-filter-promise { display: none; }
    .sag-filter-head .sag-filter-clear { display: none; }

    .sag-filter-x {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: var(--sag-stone-bg);
        font-size: 17px;
        cursor: pointer;
    }

    .sag-filter-foot {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 10px;
        padding: 12px 16px calc(12px + var(--sag-safe-bottom, 0px));
        border-top: 1px solid var(--sag-border);
        background: #FFFFFF;
    }

    .sag-filter-foot button { width: 100%; justify-content: center; height: 48px; }

    .sag-facet-opt { min-height: 44px; font-size: 15px; }

    .sag-filter-scrim:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 100010;
        background: rgba(17, 17, 17, 0.45);
    }

    .sag-sheet:not([hidden]) {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 100020;
        align-items: flex-end;
        background: rgba(17, 17, 17, 0);
        transition: background 0.25s ease;
    }

    .sag-sheet.is-open { background: rgba(17, 17, 17, 0.45); }

    .sag-sheet-panel {
        width: 100%;
        background: #FFFFFF;
        border-radius: 18px 18px 0 0;
        padding-bottom: var(--sag-safe-bottom, 0px);
        transform: translateY(100%);
        transition: transform 0.28s var(--sag-ease);
    }

    .sag-sheet.is-open .sag-sheet-panel { transform: none; }

    .sag-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid var(--sag-border);
    }

    .sag-sheet-head h2 { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }

    .sag-sheet-head button {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: var(--sag-stone-bg);
        font-size: 17px;
        cursor: pointer;
    }

    .sag-sheet-options { display: flex; flex-direction: column; padding: 6px 0 10px; }

    .sag-sheet-options button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        padding: 0 18px;
        border: 0;
        background: none;
        font: 600 15px var(--sag-font-sans);
        color: var(--sag-charcoal);
        text-align: left;
        cursor: pointer;
    }

    .sag-sheet-options button i { color: var(--sag-gold); visibility: hidden; }
    .sag-sheet-options button.is-active { font-weight: 800; color: var(--sag-black); background: var(--sag-gold-wash); }
    .sag-sheet-options button.is-active i { visibility: visible; }
}

@media (max-width: 768px) {
    /* Above the five-button dock. */
    .sag-plp-bar { bottom: calc(var(--sag-dock-height, 62px) + var(--sag-safe-bottom, 0px)); height: 52px; }
    body.sag-has-plp-bar { padding-bottom: calc(var(--sag-dock-height, 62px) + var(--sag-safe-bottom, 0px) + 52px); }
    .sag-plp .shop-main-grid .sag-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sag-breadcrumb ol { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .sag-qv, .sag-qv-overlay, .sag-welcome, .sag-welcome-card, .sag-mega,
    .sag-quickview-btn, .sag-back-top, .sag-plp .sag-filter-panel, .sag-sheet-panel,
    .sag-price-tile, .sag-look-img, .sag-shelf-progress span {
        transition: none !important;
    }
}

/* =========================================================
   10. PRODUCT PAGE — photo grid and live offers
========================================================= */
/* ---- the stage: one large photo, arrows either side, a counter,
       and a loupe that follows the cursor on mouse-driven screens ---- */
.sag-stage { position: relative; overflow: hidden; outline: none; }

.sag-stage:focus-visible { box-shadow: 0 0 0 3px var(--sag-gold-light); }

.sag-stage img {
    transition: transform 0.25s ease, opacity 0.2s ease;
    will-change: transform;
}

.sag-stage.is-zoomed img { transform: scale(1.9); cursor: zoom-in; }

.sag-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: var(--sag-black);
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sag-gallery-arrow:hover { background: var(--sag-black); color: var(--sag-gold); }
.sag-gallery-arrow:active { transform: scale(0.94); }
.sag-gallery-arrow.is-prev { left: 14px; }
.sag-gallery-arrow.is-next { right: 14px; }

.sag-gallery-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    padding: 5px 11px;
    border-radius: 100px;
    background: rgba(17, 17, 17, 0.72);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Phone rail: smaller arrows, the dots stay. */
.sag-pdp-swipe { position: relative; }
.sag-pdp-swipe .sag-gallery-arrow { width: 38px; height: 38px; margin-top: -19px; font-size: 13px; }
.sag-pdp-swipe .sag-gallery-arrow.is-prev { left: 10px; }
.sag-pdp-swipe .sag-gallery-arrow.is-next { right: 10px; }

.sag-pdp-offers {
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid var(--sag-border-gold);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--sag-gold-wash), #FFFFFF 70%);
}

.sag-pdp-offers-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.sag-pdp-offers-title i { color: var(--sag-gold); }

.sag-pdp-offers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sag-offer-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--sag-border);
    border-radius: 10px;
    background: #FFFFFF;
}

.sag-offer-card.is-applied { border-color: var(--sag-green); }

.sag-offer-icon {
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sag-black);
    color: var(--sag-gold);
    font-size: 13px;
}

.sag-offer-body { flex: 1; min-width: 0; }

.sag-offer-price { margin: 0 0 2px; font-size: 14px; color: var(--sag-charcoal); }
.sag-offer-price strong { color: var(--sag-offer); font-size: 16px; }
.sag-offer-price span { font-size: 12px; color: var(--sag-muted); }

.sag-offer-detail {
    margin: 0 0 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--sag-gray-text);
}

.sag-offer-detail em { font-style: normal; font-weight: 700; color: var(--sag-black); }

.sag-offer-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--sag-border-gold);
}

.sag-offer-code {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--sag-black);
}

.sag-offer-copy {
    border: 0;
    background: none;
    font: 800 12px var(--sag-font-sans);
    letter-spacing: 0.04em;
    color: var(--sag-gold-deep);
    cursor: pointer;
    text-transform: uppercase;
}

.sag-offer-card.is-applied .sag-offer-copy { color: var(--sag-green); }

.sag-pdp-offers-note {
    margin: 10px 0 0;
    font-size: 11.5px;
    color: var(--sag-muted);
}

@media (min-width: 600px) and (max-width: 991px), (min-width: 1280px) {
    .sag-pdp-offers-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   11. JEWELLERY-STORE PATTERNS: OFFERS, PILLS, FINISHES, STORY
========================================================= */
.sag-section-sub {
    margin: 6px 0 0;
    font-size: 13.5px;
    color: var(--sag-gray-text);
}

/* ---- editorial tabs: plain words on a hairline, a gold bar under
       the active one (Sagvira's own, not pills) ---- */
.sag-bestsellers .sag-tab-pills {
    justify-content: center;
    gap: 4px 26px;
    border-bottom: 1px solid var(--sag-border);
    max-width: 760px;
    margin-inline: auto;
}

.sag-bestsellers .sag-tab-btn {
    position: relative;
    padding: 12px 2px;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--sag-gray-text);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sag-bestsellers .sag-tab-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--sag-gold);
    transform: scaleX(0);
    transition: transform 0.25s var(--sag-ease);
}

.sag-bestsellers .sag-tab-btn:hover { background: none; color: var(--sag-black); border: 0; }
.sag-bestsellers .sag-tab-btn.active { background: none; color: var(--sag-black); border: 0; }
.sag-bestsellers .sag-tab-btn.active::after { transform: scaleX(1); }

@media (max-width: 768px) {
    .sag-bestsellers .sag-tab-pills {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        padding: 0 16px;
        margin-inline: 0;
        scrollbar-width: none;
        scroll-padding-inline: 16px;
    }
    .sag-bestsellers .sag-tab-pills::-webkit-scrollbar { display: none; }
    .sag-bestsellers .sag-tab-btn { flex: 0 0 auto; font-size: 11.5px; }
}

/* ---- card: round "+" with a gold glyph, and the deal line ---- */
.sag-price-row { flex-wrap: wrap; }

.sag-quick-add {
    display: none;
    margin-left: auto;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--sag-black);
    color: var(--sag-gold);
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.sag-quick-add.is-added { background: var(--sag-green); color: #FFFFFF; }

.sag-card-deal {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 12px;
    color: var(--sag-gray-text);
}

.sag-card-deal::before {
    content: "\f02b";
    font: var(--fa-font-solid, 900 1em 'Font Awesome 6 Free');
    font-weight: 900;
    color: var(--sag-gold);
    font-size: 10px;
}

.sag-card-deal strong { color: var(--sag-black); font-weight: 800; }

@media (max-width: 768px) {
    .sag-card .sag-quick-add { display: inline-flex; align-items: center; justify-content: center; }
    .sag-card .sag-add-bag-btn { display: none; }
    .sag-card .sag-card-offer { display: none; }
    .sag-card .sag-price-row { position: relative; margin-bottom: 4px; gap: 2px 6px; padding-right: 38px; min-height: 32px; }
    .sag-card .sag-price-row .discount-percent { flex-basis: 100%; }
    .sag-card .sag-price-row .sag-quick-add { position: absolute; top: 0; right: 0; margin: 0; }
    .sag-card-deal { font-size: 11px; margin-bottom: 2px; }
}

/* ---- offer tickets: a black coupon with a perforated edge ---- */
.sag-tickets {
    max-width: var(--sag-container, 1320px);
    margin: 0 auto;
    padding-inline: var(--sag-gutter, 24px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.4vw, 28px);
}

.sag-ticket {
    --notch: 14px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--sag-black);
    color: #FFFFFF;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    /* Two notches where the stub meets the body. */
    -webkit-mask: radial-gradient(circle var(--notch) at 42.5% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at 42.5% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle var(--notch) at 42.5% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at 42.5% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}

.sag-ticket-media { position: relative; display: block; overflow: hidden; }

.sag-ticket-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--sag-ease);
}

.sag-ticket:hover .sag-ticket-media img { transform: scale(1.05); }

.sag-ticket-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 24px 26px;
    border-left: 2px dashed rgba(199, 161, 90, 0.55);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(199, 161, 90, 0.18), transparent 60%),
        var(--sag-black);
}

.sag-ticket-kicker {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sag-gold);
}

.sag-ticket h3 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.15;
    color: #FFFFFF;
}

.sag-ticket p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.sag-ticket-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 6px;
}

.sag-ticket-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 14px;
    border: 1px dashed var(--sag-gold);
    border-radius: 10px;
    background: rgba(199, 161, 90, 0.1);
    color: #FFFFFF;
    font: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sag-ticket-code strong { font-size: 14px; letter-spacing: 0.14em; }

.sag-ticket-code span {
    padding: 4px 9px;
    border-radius: 6px;
    background: var(--sag-gold);
    color: var(--sag-black);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sag-ticket-code:hover { background: rgba(199, 161, 90, 0.2); }
.sag-ticket-code.is-copied span { background: #FFFFFF; }

.sag-ticket-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    border-bottom: 1px solid var(--sag-gold);
    padding-bottom: 2px;
}

.sag-ticket-link:hover { color: var(--sag-gold); }

@media (max-width: 991px) {
    .sag-tickets { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
    .sag-tickets { padding-inline: 16px; }
    .sag-ticket { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); min-height: 190px; }
    .sag-ticket {
        -webkit-mask: radial-gradient(circle var(--notch) at 35% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                      radial-gradient(circle var(--notch) at 35% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
                mask: radial-gradient(circle var(--notch) at 35% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                      radial-gradient(circle var(--notch) at 35% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
    }
    .sag-ticket-body { padding: 18px 16px; gap: 6px; }
    .sag-ticket p { font-size: 12px; }
}

/* ---- arch cards: Sagvira's finishes in arched, gold-framed windows ---- */
.sag-crafted-section {
    background: linear-gradient(180deg, var(--sag-stone-bg), #FFFFFF);
    padding-block: 8px 20px;
}

.sag-arch-grid {
    max-width: var(--sag-container, 1320px);
    margin: 0 auto;
    padding-inline: var(--sag-gutter, 24px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 40px);
}

.sag-arch-card { display: flex; flex-direction: column; align-items: center; text-align: center; }

.sag-arch-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 8px;
    border-radius: 999px 999px 18px 18px;
    background: linear-gradient(180deg, #E8DCC8, #C7A15A);
}

.sag-arch-media picture,
.sag-arch-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px 999px 12px 12px;
}

.sag-arch-media picture { overflow: hidden; }
.sag-arch-media img { transition: transform 0.6s var(--sag-ease); }
.sag-arch-card:hover .sag-arch-media img { transform: scale(1.05); }

.sag-arch-body { padding: 18px 8px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }

.sag-arch-body h3 { margin: 0; font-size: clamp(18px, 1.8vw, 22px); }

.sag-arch-body p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--sag-gray-text); max-width: 30ch; }

.sag-arch-strip {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 4px 0 2px;
    padding: 0;
}

.sag-arch-strip li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--sag-border-gold);
    border-radius: 100px;
    background: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sag-charcoal);
}

.sag-arch-strip i { color: var(--sag-gold); font-size: 11px; }

.sag-arch-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sag-black);
    border-bottom: 1px solid var(--sag-gold);
    padding-bottom: 3px;
}

.sag-arch-link i { transition: transform 0.2s ease; }
.sag-arch-card:hover .sag-arch-link i { transform: translateX(4px); }

@media (max-width: 768px) {
    .sag-arch-grid {
        display: flex;
        overflow-x: auto;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 16px;
    }
    .sag-arch-grid::-webkit-scrollbar { display: none; }
    .sag-arch-card { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---- about sagvira ---- */
.sag-brand-story {
    max-width: 920px;
    margin-inline: auto;
    padding-inline: var(--sag-gutter, 24px);
    text-align: center;
}

.sag-brand-story-inner {
    position: relative;
    max-height: 190px;
    overflow: hidden;
    transition: max-height 0.4s var(--sag-ease);
}

.sag-brand-story-inner::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 80px;
    background: linear-gradient(to top, #FFFFFF, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.sag-brand-story-inner.is-open { max-height: 1400px; }
.sag-brand-story-inner.is-open::after { display: none; }

.sag-brand-story h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 14px; }
.sag-brand-story h3 { font-size: 16px; margin: 18px 0 6px; }

.sag-brand-story p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--sag-gray-text);
}

.sag-brand-story-toggle {
    margin-top: 10px;
    border: 1px solid var(--sag-border);
    border-radius: 100px;
    background: #FFFFFF;
    padding: 9px 22px;
    font: 800 12.5px var(--sag-font-sans);
    letter-spacing: 0.04em;
    cursor: pointer;
}

.sag-brand-story-toggle:hover { border-color: var(--sag-gold); }

/* ---- header pincode chip (phones and tablets) ---- */
.sag-pin-chip { display: none; }

@media (max-width: 991px) {
    .sag-header .sag-pin-chip {
        order: 11;
        flex: 1 0 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: -4px 0 10px;
        padding: 2px 2px;
        border: 0;
        background: none;
        font: 600 12.5px var(--sag-font-sans);
        color: var(--sag-charcoal);
        text-align: left;
        cursor: pointer;
    }
    .sag-pin-chip > i:first-child { color: var(--sag-gold); }
    .sag-pin-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sag-pin-caret { font-size: 10px; color: var(--sag-muted); }
}

.sag-pin-dialog {
    position: relative;
    width: min(420px, 100%);
    padding: 28px 24px 24px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.sag-pin-dialog h2 { margin: 0 0 6px; font-size: 20px; }
.sag-pin-dialog > p { margin: 0 0 14px; font-size: 13.5px; color: var(--sag-gray-text); }

.sag-pin-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }

.sag-pin-form input {
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--sag-border);
    border-radius: 8px;
    font: 16px var(--sag-font-sans);
    letter-spacing: 0.1em;
}

.sag-pin-result { margin: 12px 0 0; font-size: 13px; font-weight: 600; min-height: 18px; }
.sag-pin-result.is-ok { color: var(--sag-green); }
.sag-pin-result.is-error { color: #D32F2F; }

@media (max-width: 768px) {
    .sag-pin-dialog { border-radius: 18px 18px 0 0; padding-bottom: calc(24px + var(--sag-safe-bottom, 0px)); }
}


/* =========================================================
   12. FOOTER — follow row and payment badges
========================================================= */
.sag-follow { margin-top: 18px; }

.sag-follow-label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sag-black);
}

.sag-follow-icons { display: flex; flex-wrap: wrap; gap: 10px; }

.sag-follow-icons a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sag-border-gold);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--sag-black);
    font-size: 17px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sag-follow-icons a:hover {
    background: var(--sag-black);
    border-color: var(--sag-black);
    color: var(--sag-gold);
    transform: translateY(-2px);
}

.sag-pay {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.sag-pay-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sag-black);
}

.sag-pay-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.sag-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--sag-border);
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    color: var(--sag-charcoal);
    white-space: nowrap;
}

.sag-pay-badge > i { color: var(--sag-gold-deep); font-size: 14px; }

/* Mastercard's two interlocking circles, drawn rather than imported. */
.sag-mc { position: relative; display: inline-block; width: 26px; height: 16px; }
.sag-mc i {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}
.sag-mc i:first-child { left: 0; background: #EB001B; }
.sag-mc i:last-child { right: 0; background: #F79E1B; mix-blend-mode: multiply; }

.sag-pay-mark { font-size: 14px; font-weight: 900; font-style: italic; letter-spacing: -0.01em; }
.is-rupay .sag-pay-mark { color: #1B3F94; }
.is-rupay .sag-pay-mark b { color: #F37021; font-weight: 900; }
.is-upi .sag-pay-mark { color: #5F6368; }
.is-upi .sag-pay-mark b { color: #F37021; font-size: 10px; margin-left: 2px; vertical-align: 1px; font-style: normal; }

@media (max-width: 768px) {
    .sag-pay { justify-content: flex-start; }
    .sag-pay-badge { height: 32px; padding: 0 10px; font-size: 11.5px; }
}

/* The done step has its own tick; the seal would double up. */
.sag-signin:has(#auth-step-done:not([hidden])) .sag-signin-seal { display: none; }

/* =========================================================
   13. DESIGN SYSTEM — one scale for corners, shadows, arrows
   and section headings, so every surface reads as Sagvira.
     control  8px   buttons, inputs, codes, small chips
     card    14px   product cards, tiles, offer and review cards
     panel   18px   big banners, tickets, modals and sheets
     pill           tags and filter chips only
========================================================= */
:root {
    --sag-r-control: 8px;
    --sag-r-card: 14px;
    --sag-r-panel: 18px;
    --sag-shadow-card: 0 2px 12px rgba(17, 17, 17, 0.05);
    --sag-shadow-float: 0 18px 44px rgba(17, 17, 17, 0.14);
    --sag-radius: var(--sag-r-control);
}

.sag-btn-primary,
.sag-btn-secondary,
.sag-add-bag-btn,
.sag-signin-cta,
.sag-signin-wa,
.sag-welcome-form,
.sag-welcome-form input,
.sag-pin-form input,
.sag-pin-form button,
.sag-signin .sag-phone-input,
.sag-ticket-code,
.sag-welcome-copybtn,
.sag-qv-qty,
.sag-qv-wish,
.sag-sort-select { border-radius: var(--sag-r-control) !important; }

.sag-welcome-form button { border-radius: 6px !important; }

.sag-card,
.sag-price-tile,
.sag-offer-card,
.sag-pdp-offers,
.sag-filter-panel,
.sag-voice,
.sag-review,
.sag-reviews-empty,
.sag-reviews-summary,
.sag-marketplaces,
.sag-pdp-promise,
.sag-edit { border-radius: var(--sag-r-card); }

.sag-qv,
.sag-signin,
.sag-welcome-card,
.sag-pin-dialog,
.sag-sheet-card,
.sag-ticket,
.sag-campaign,
.sag-voices { border-radius: var(--sag-r-panel); }

.sag-price-tile::after { border-radius: calc(var(--sag-r-card) - 4px); }

/* ---- one section heading: kicker, title, optional sub ---- */
.sag-section-header { margin-bottom: clamp(22px, 3vw, 34px); }
.sag-section-header .sag-section-kicker { display: inline-block; margin-bottom: 8px; }
.sag-section-sub { margin-top: 8px; font-size: 14px; color: var(--sag-gray-text); }

/* ---- one arrow: every slider, gallery and carousel ---- */
.sag-arrow {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: var(--sag-black);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.12);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.sag-arrow:hover { background: var(--sag-black); border-color: var(--sag-black); color: var(--sag-gold); }
.sag-arrow:active { box-shadow: 0 2px 8px rgba(17, 17, 17, 0.12); }
.sag-arrow:focus-visible { outline: 2px solid var(--sag-gold); outline-offset: 2px; }
.sag-arrow:disabled { opacity: 0.35; cursor: default; background: #FFFFFF; color: var(--sag-black); border-color: rgba(17, 17, 17, 0.1); }

.sag-arrow-sm { width: 34px; height: 34px; font-size: 12.5px; box-shadow: none; }

.sag-slider-arrows { display: inline-flex; gap: 8px; }

/* Gallery arrows keep their place; the stage zooms on click only. */
.sag-gallery-arrow { margin-top: -22px; }
.sag-pdp-swipe .sag-gallery-arrow { width: 36px; height: 36px; margin-top: -18px; font-size: 12.5px; }
.sag-stage { cursor: zoom-in; }
.sag-stage.is-zoomed { cursor: zoom-out; }
.sag-stage.is-zoomed .sag-gallery-arrow,
.sag-stage.is-zoomed .sag-gallery-count { opacity: 0; pointer-events: none; }

/* ---- generic sliding track ---- */
.sag-slider-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.sag-slider-track::-webkit-scrollbar { display: none; }
.sag-slider-track > * { scroll-snap-align: start; flex: 0 0 auto; }

/* =========================================================
   14. PRODUCT PAGE — no blank column: details run beside both
       the gallery and the reviews underneath it
========================================================= */
@media (min-width: 992px) {
    .sag-pdp-layout { grid-template-rows: auto 1fr; row-gap: 40px; }
    .sag-pdp-layout > .sag-gallery-sticky { grid-column: 1; grid-row: 1; position: static; top: auto; }
    .sag-pdp-layout > div:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
    .sag-pdp-layout > .sag-pdp-extras { grid-column: 1; grid-row: 2; align-self: start; }
}

.sag-pdp-extras { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* ---- offers: three in a slider, the rest in a sheet ---- */
.sag-pdp-offers-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -4px 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sag-gray-text);
}

.sag-pdp-offers .sag-pdp-offers-list.sag-slider-track { display: flex; flex-direction: row; flex-wrap: nowrap; grid-template-columns: none; }
.sag-pdp-offers .sag-offer-card {
    flex: 0 0 calc(50% - 6px);
    flex-direction: column;
    gap: 0;
    padding: 14px;
}

.sag-pdp-offers-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    font: 800 12.5px var(--sag-font-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sag-black);
    border-bottom: 1px solid var(--sag-gold);
    cursor: pointer;
}

.sag-pdp-offers-all i { transition: transform 0.2s ease; }
.sag-pdp-offers-all:hover i { transform: translateX(3px); }

.sag-sheet-card {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 30px 26px 24px;
    background: #FFFFFF;
    box-shadow: var(--sag-shadow-float);
}

.sag-sheet-card h2 { margin: 0 0 4px; font-size: 21px; }
.sag-offers-all-list { display: grid; gap: 10px; margin-top: 14px; }
.sag-offers-all-list .sag-offer-card { flex-direction: column; }

@media (max-width: 768px) {
    .sag-pdp-offers .sag-offer-card { flex-basis: 82%; }
    .sag-sheet-card { width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(24px + var(--sag-safe-bottom, 0px)); }
    .sag-review-overlay,
    .sag-qv-overlay:has(.sag-sheet-card) { padding: 0; align-items: flex-end; }
}

/* ---- reviews ---- */
.sag-reviews-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.sag-reviews-head h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); }
.sag-reviews-head .sag-section-kicker { display: block; margin-bottom: 4px; }
.sag-reviews-write { flex: 0 0 auto; padding: 11px 18px; }

.sag-stars { color: var(--sag-gold); font-size: 13px; letter-spacing: 2px; }
.sag-stars.is-empty { color: var(--sag-border-gold); font-size: 20px; letter-spacing: 4px; }

.sag-reviews-empty {
    padding: 30px 24px;
    text-align: center;
    background: var(--sag-stone-bg);
    border: 1px solid var(--sag-border-gold);
}

.sag-reviews-empty h3 { margin: 10px 0 6px; font-size: 18px; }
.sag-reviews-empty p { margin: 0 auto 18px; max-width: 44ch; font-size: 13.5px; line-height: 1.6; color: var(--sag-gray-text); }

.sag-reviews-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 20px;
    margin-bottom: 14px;
    background: var(--sag-stone-bg);
}

.sag-reviews-score { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-right: 24px; border-right: 1px solid var(--sag-border-gold); }
.sag-reviews-score strong { font-size: 36px; line-height: 1; }
.sag-reviews-score span:last-child { font-size: 12px; color: var(--sag-muted); }

.sag-reviews-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sag-reviews-bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; align-items: center; gap: 10px; font-size: 12px; color: var(--sag-gray-text); }
.sag-reviews-bars i { color: var(--sag-gold); font-size: 10px; }
.sag-bar { height: 6px; border-radius: 6px; background: #EFE9DE; overflow: hidden; }
.sag-bar span { display: block; height: 100%; background: var(--sag-gold); }

.sag-reviews-list { display: grid; gap: 12px; }
.sag-review { padding: 16px 18px; border: 1px solid var(--sag-border); background: #FFFFFF; }
.sag-review.is-extra { display: none; }
#pdp-reviews-container.is-expanded .sag-review.is-extra { display: block; }
.sag-review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sag-review h3 { margin: 0 0 4px; font-size: 15px; }
.sag-review p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--sag-charcoal); }
.sag-review footer { font-size: 12px; color: var(--sag-muted); }
.sag-review-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--sag-green); }

.sag-reviews-more {
    margin-top: 12px;
    border: 0;
    background: none;
    font: 800 12.5px var(--sag-font-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--sag-gold);
    cursor: pointer;
}

/* ---- marketplaces ---- */
.sag-marketplaces { padding: 18px 20px; border: 1px solid var(--sag-border); background: #FFFFFF; }
.sag-marketplaces h2 { margin: 0 0 12px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.sag-marketplaces-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }

.sag-market {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--sag-border);
    border-radius: var(--sag-r-control);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sag-black);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sag-market:hover { border-color: var(--sag-gold); box-shadow: var(--sag-shadow-card); }
.sag-market > i:first-child { font-size: 20px; }
.sag-market > i:last-child { margin-left: auto; font-size: 11px; color: var(--sag-muted); }
.sag-market-mark { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--sag-black); color: var(--sag-gold); font-weight: 900; font-size: 13px; }
.sag-market.is-amazon > i:first-child { color: #FF9900; }
.sag-market.is-flipkart .sag-market-mark { background: #2874F0; color: #FFE11B; }

/* ---- promise ---- */
.sag-pdp-promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--sag-border-gold); background: var(--sag-stone-bg); overflow: hidden; }
.sag-pdp-promise a { display: flex; align-items: flex-start; gap: 10px; padding: 16px; font-size: 12px; line-height: 1.45; color: var(--sag-gray-text); }
.sag-pdp-promise a + a { border-left: 1px solid var(--sag-border-gold); }
.sag-pdp-promise i { margin-top: 2px; color: var(--sag-gold); font-size: 16px; }
.sag-pdp-promise strong { display: block; margin-bottom: 2px; font-size: 13px; color: var(--sag-black); }
.sag-pdp-promise a:hover strong { color: var(--sag-gold-deep); }

@media (max-width: 991px) {
    .sag-pdp-extras { margin-top: 8px; }
}

@media (max-width: 600px) {
    .sag-reviews-head { flex-direction: column; align-items: flex-start; }
    .sag-reviews-summary { grid-template-columns: minmax(0, 1fr); }
    .sag-reviews-score { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--sag-border-gold); }
    .sag-pdp-promise { grid-template-columns: minmax(0, 1fr); }
    .sag-pdp-promise a + a { border-left: 0; border-top: 1px solid var(--sag-border-gold); }
}

/* ---- write a review ---- */
.sag-review-form { text-align: left; }
.sag-review-form h2 { text-align: left; }
.sag-review-form .sag-signin-sub { text-align: left; }
.sag-review-form form { display: grid; gap: 4px; }

.sag-rf-label { display: block; margin: 10px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sag-black); }
.sag-rf-label span { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--sag-muted); }

.sag-review-form input:not([type="radio"]):not([type="checkbox"]),
.sag-review-form select,
.sag-review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--sag-border);
    border-radius: var(--sag-r-control);
    background: #FFFFFF;
    font: 15px var(--sag-font-sans);
    color: var(--sag-charcoal);
}

.sag-review-form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.sag-review-form input:focus,
.sag-review-form select:focus,
.sag-review-form textarea:focus { outline: none; border-color: var(--sag-gold); box-shadow: 0 0 0 3px var(--sag-gold-light); }

.sag-rf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* Stars: reversed so hovering a star lights every star before it. */
.sag-rf-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; border: 0; }
.sag-rf-stars legend { width: 100%; }
.sag-rf-stars input { position: absolute; opacity: 0; pointer-events: none; }
.sag-rf-stars label { font-size: 26px; color: #E6DED0; cursor: pointer; transition: color 0.15s ease, transform 0.15s ease; }
.sag-rf-stars label:hover,
.sag-rf-stars label:hover ~ label,
.sag-rf-stars input:checked ~ label { color: var(--sag-gold); }
.sag-rf-stars input:focus-visible + label { outline: 2px solid var(--sag-gold); outline-offset: 2px; border-radius: 4px; }

.sag-rf-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 12.5px; line-height: 1.5; color: var(--sag-gray-text); }
.sag-rf-consent input { margin-top: 3px; accent-color: var(--sag-black); }

/* =========================================================
   15. SAGVIRA STORIES — campaign, customer stories, edits
========================================================= */
.sag-stories-grid {
    max-width: var(--sag-container, 1320px);
    margin: 0 auto;
    padding-inline: var(--sag-gutter, 24px);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(14px, 2.4vw, 28px);
}

.sag-campaign {
    position: relative;
    display: block;
    min-height: 420px;
    overflow: hidden;
    background: var(--sag-black);
    color: #FFFFFF;
}

.sag-campaign img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 20%;
    transition: transform 0.8s var(--sag-ease);
}

.sag-campaign:hover img { transform: scale(1.04); }

.sag-campaign-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: clamp(22px, 3vw, 38px);
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.78) 0%, rgba(17, 17, 17, 0.25) 55%, transparent 80%);
}

.sag-campaign-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sag-gold); }
.sag-campaign-copy strong { font-size: clamp(24px, 3vw, 38px); line-height: 1.12; max-width: 16ch; }
.sag-campaign-sub { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }

.sag-campaign-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 12px 22px;
    border-radius: var(--sag-r-control);
    background: var(--sag-gold);
    color: var(--sag-black);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sag-campaign:hover .sag-campaign-cta { background: #FFFFFF; }

.sag-voices {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
    background: var(--sag-stone-bg);
    border: 1px solid var(--sag-border-gold);
}

.sag-voices-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sag-voices-head h3 { margin: 0; font-size: 18px; }

.sag-voices-track { flex: 1; }

.sag-voice {
    position: relative;
    flex: 0 0 100% !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    background: #FFFFFF;
    border: 1px solid var(--sag-border);
}

.sag-voice-quote { font-size: 26px; color: var(--sag-border-gold); }
.sag-voice h4 { margin: 0; font-size: 16px; }
.sag-voice-text { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--sag-charcoal); }
.sag-voice footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--sag-border); font-size: 12px; color: var(--sag-muted); }
.sag-voice footer img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sag-voice footer strong { display: block; font-size: 13px; color: var(--sag-black); }
.sag-voice footer a { text-decoration: underline; }
.sag-voice footer .sag-review-verified { margin-left: auto; }

.sag-voice.is-invite { justify-content: center; text-align: center; align-items: center; }
.sag-voice.is-invite .sag-voice-text { max-width: 34ch; }
.sag-voice-note { margin: 0; font-size: 11.5px; color: var(--sag-muted); }

.sag-edits {
    max-width: var(--sag-container, 1320px);
    margin: clamp(14px, 2.4vw, 28px) auto 0;
    padding-inline: var(--sag-gutter, 24px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 20px);
}

.sag-edit {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sag-card-bg);
}

.sag-edit img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--sag-ease); }
.sag-edit:hover img { transform: scale(1.05); }

.sag-edit > span {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--sag-r-control);
    background: rgba(255, 255, 255, 0.94);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--sag-black);
}

.sag-edit > span i { color: var(--sag-gold); transition: transform 0.2s ease; }
.sag-edit:hover > span i { transform: translateX(3px); }

@media (max-width: 991px) {
    .sag-stories-grid { grid-template-columns: minmax(0, 1fr); }
    .sag-campaign { min-height: 340px; }
    .sag-edits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .sag-stories-grid, .sag-edits { padding-inline: 16px; }
    .sag-campaign { min-height: 300px; }
    .sag-campaign-copy { background: linear-gradient(0deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.2) 70%, transparent); }
    .sag-voices { padding: 16px; }
    .sag-edit > span { font-size: 11.5px; padding: 8px 10px; }
}

/* =========================================================
   16. PRODUCT CARD — every card in a row lines up
========================================================= */
.sag-card-finish {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 16px;
}

.sag-card .sag-card-title { min-height: calc(2 * 1.35em); }

.sag-card-deal {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.sag-card-deal::before { margin-right: 6px; }

.sag-card-offer { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The body is a column; the price block and button always sit at the foot. */
.sag-card .sag-card-body { display: flex; flex-direction: column; }
.sag-card .sag-price-row { margin-top: auto; }

@media (max-width: 768px) {
    /* Phone card: finish, two-line name, price + "+", saving. Nothing else. */
    .sag-card .sag-card-deal { display: none; }
    .sag-card .sag-card-title { font-size: 13px; min-height: calc(2 * 1.35em); margin-bottom: 8px; }
    .sag-card .sag-price-row { gap: 0 6px; }
    .sag-card .sag-price-row strong { font-size: 15px; }
    .sag-card .sag-price-row del { font-size: 11.5px; }
    .sag-card .sag-price-row .discount-percent { font-size: 11px; margin-top: 2px; }
}

/* =========================================================
   17. FLOATING CONTROLS — WhatsApp and back-to-top share one
       column; the bag pill keeps clear of it
========================================================= */
.sag-fab-stack {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.sag-fab-stack > * { pointer-events: auto; }

.sag-fab-stack .sag-back-top {
    position: static;
    right: auto;
    bottom: auto;
}

.sag-fab-stack .sag-back-top:not(.is-visible) { display: none; }

.sag-wa-fab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 18px 0 14px;
    border-radius: 100px;
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
    font-size: 13.5px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sag-wa-fab i { font-size: 26px; }
.sag-wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42); color: #FFFFFF; }

@media (max-width: 768px) {
    .sag-fab-stack {
        right: 14px;
        bottom: calc(var(--sag-dock-height, 62px) + var(--sag-safe-bottom, 0px) + 14px);
    }
    body.sag-has-buy-bar .sag-fab-stack,
    body.sag-has-plp-bar .sag-fab-stack {
        bottom: calc(var(--sag-dock-height, 62px) + var(--sag-safe-bottom, 0px) + 74px);
    }
    .sag-wa-fab { width: 52px; height: 52px; padding: 0; justify-content: center; }
    .sag-wa-fab-label { display: none; }
    .sag-fab-stack .sag-back-top { width: 42px; height: 42px; margin-right: 5px; }

    /* The bag reminder pill stops short of the floating column. */
    .sag-resume-pill { right: 80px !important; }
}

/* =========================================================
   18. PRODUCT PAGE — apply offers, share, customer photos
========================================================= */
.sag-offer-apply {
    min-width: 72px;
    height: 30px;
    padding: 0 14px;
    border: 1px solid var(--sag-black);
    border-radius: var(--sag-r-control);
    background: var(--sag-black);
    color: #FFFFFF;
    font: 800 11.5px var(--sag-font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.sag-offer-apply:hover { background: var(--sag-gold); border-color: var(--sag-gold); color: var(--sag-black); }
.sag-offer-apply.is-applied { background: var(--sag-green-bg); border-color: var(--sag-green); color: var(--sag-green); }

.sag-share {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px;
}

.sag-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.sag-share-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sag-black);
}

.sag-share-icons { display: flex; flex-wrap: wrap; gap: 8px; }

.sag-share-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sag-border);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--sag-black);
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sag-share-btn:hover { transform: translateY(-2px); border-color: var(--sag-gold); }
.sag-share-btn.is-wa:hover { color: #25D366; }
.sag-share-btn.is-fb:hover { color: #1877F2; }
.sag-share-btn.is-pin:hover { color: #E60023; }
.sag-share-btn.is-tg:hover { color: #229ED9; }

.sag-earn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px dashed var(--sag-gold);
    border-radius: var(--sag-r-control);
    background: var(--sag-gold-wash);
    font-size: 13px;
    color: var(--sag-charcoal);
}

.sag-earn i { font-size: 20px; color: var(--sag-gold-deep); }
.sag-earn p { margin: 0; line-height: 1.5; }
.sag-earn a { font-weight: 800; color: var(--sag-black); text-decoration: underline; text-decoration-color: var(--sag-gold); text-underline-offset: 3px; }

.sag-review-gallery { margin-bottom: 14px; }
.sag-review-gallery .sag-rf-label { margin-top: 0; }
.sag-review-gallery-track { gap: 8px; }

.sag-review-photo {
    width: 110px;
    height: 110px;
    padding: 0;
    border: 1px solid var(--sag-border);
    border-radius: var(--sag-r-control);
    overflow: hidden;
    background: var(--sag-card-bg);
    cursor: zoom-in;
}

.sag-review-photo img { width: 100%; height: 100%; object-fit: cover; }
.sag-review-photos { display: flex; gap: 8px; margin: 0 0 10px; }
.sag-review-photos .sag-review-photo { width: 72px; height: 72px; }

.sag-lightbox-figure {
    position: relative;
    margin: 0;
    max-width: min(900px, 100%);
    max-height: calc(100vh - 48px);
}

.sag-lightbox-figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    border-radius: var(--sag-r-card);
}

/* ---- review form photos ---- */
.sag-rf-photos { display: flex; flex-wrap: wrap; gap: 8px; }

.sag-rf-add {
    width: 78px;
    height: 78px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1.5px dashed var(--sag-border-gold);
    border-radius: var(--sag-r-control);
    background: var(--sag-stone-bg);
    font-size: 11px;
    font-weight: 700;
    color: var(--sag-charcoal);
    cursor: pointer;
}

.sag-rf-add i { font-size: 18px; color: var(--sag-gold); }
.sag-rf-add:hover { border-color: var(--sag-gold); }
.sag-rf-add[hidden] { display: none !important; }

.sag-rf-thumb { position: relative; width: 78px; height: 78px; margin: 0; }
.sag-rf-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--sag-r-control); }
.sag-rf-thumb button {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: var(--sag-black);
    color: #FFFFFF;
    font-size: 11px;
    cursor: pointer;
}

.sag-rf-photo-note {
    margin: 4px 0 10px;
    padding: 10px 12px;
    border-radius: var(--sag-r-control);
    background: var(--sag-stone-bg);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--sag-charcoal);
    text-align: left;
}

.sag-rf-photo-note i { color: var(--sag-gold); margin-right: 4px; }
.sag-review-form .sag-signin-cta + .sag-signin-cta { margin-top: 8px; }

/* ---- the review form on phones: one column, full-height sheet ---- */
@media (max-width: 520px) {
    .sag-rf-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .sag-review-form { padding: 26px 18px calc(18px + var(--sag-safe-bottom, 0px)); }
}

/* =========================================================
   19. CONTACT — customer care is WhatsApp and email
========================================================= */
.sag-care-card {
    display: flex;
    gap: 14px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sag-care-card:hover { border-color: var(--sag-gold) !important; box-shadow: var(--sag-shadow-card); transform: translateY(-2px); }
.sag-care-card.is-whatsapp .contact-channel-icon { background: #25D366 !important; color: #FFFFFF !important; }
.sag-care-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--sag-black); }
.sag-care-link i { font-size: 11px; color: var(--sag-gold); }

.sag-care-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sag-care-actions button { width: 100%; height: 50px; gap: 8px; }
.sag-care-wa i { color: #25D366; font-size: 17px; }

@media (max-width: 480px) {
    .sag-care-actions { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   20. AFFILIATE PAGE
========================================================= */
.sag-aff {
    max-width: var(--sag-container, 1320px);
    margin: 0 auto var(--sag-section-space, 56px);
    padding-inline: var(--sag-gutter, 24px);
}

.sag-aff-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 24px;
    padding: 0;
}

.sag-aff-steps li {
    padding: 22px;
    border: 1px solid var(--sag-border);
    border-radius: var(--sag-r-card);
    background: #FFFFFF;
}

.sag-aff-step-n {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sag-black);
    color: var(--sag-gold);
    font-weight: 800;
}

.sag-aff-steps h2 { margin: 12px 0 6px; font-size: 18px; }
.sag-aff-steps p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--sag-gray-text); }

.sag-aff-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }

.sag-aff-card { padding: 24px; border: 1px solid var(--sag-border-gold); border-radius: var(--sag-r-card); background: var(--sag-stone-bg); }
.sag-aff-card h2 { margin: 0 0 14px; font-size: 19px; }
.sag-aff-card.is-dark { background: var(--sag-black); color: #FFFFFF; border-color: var(--sag-black); }
.sag-aff-card.is-dark h2 { color: #FFFFFF; }
.sag-aff-card.is-dark p { color: rgba(255, 255, 255, 0.78); }
.sag-aff-card.is-dark .sag-rf-label { color: var(--sag-gold); }
.sag-aff-card.is-dark .sag-btn-primary { background: var(--sag-gold); border-color: var(--sag-gold); color: var(--sag-black); }

.sag-aff-rates { width: 100%; border-collapse: collapse; font-size: 14px; }
.sag-aff-rates th, .sag-aff-rates td { padding: 12px 4px; border-bottom: 1px solid var(--sag-border-gold); text-align: left; }
.sag-aff-rates th { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sag-gold-deep); }
.sag-aff-rates td:last-child, .sag-aff-rates th:last-child { text-align: right; }
.sag-aff-rates strong { font-size: 18px; color: var(--sag-black); }

.sag-aff-small { margin: 12px 0 0; font-size: 12px; color: var(--sag-muted); }
.sag-aff-code strong { margin-left: 8px; padding: 4px 10px; border: 1px dashed var(--sag-gold); border-radius: var(--sag-r-control); color: var(--sag-gold); letter-spacing: 0.12em; }

.sag-aff-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.sag-aff-link input { height: 46px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--sag-r-control); background: rgba(255, 255, 255, 0.06); color: #FFFFFF; font: 13px var(--sag-font-sans); min-width: 0; }

.sag-aff-terms { margin: 0; max-width: none; padding: 0; }

@media (max-width: 860px) {
    .sag-aff-steps, .sag-aff-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- payment marks ---- */
.sag-pay-svg { display: block; }
.sag-pay-badge.is-rupay, .sag-pay-badge.is-upi { padding: 0 10px; }
