/* ==========================================================================
   Rongin (classic) storefront — header, megamenu, product card, cart drawer
   ========================================================================== */

html[data-theme="classic"] {
    --rg-plum: #2e1f53;
    --rg-plum-2: #4c3782;
    --rg-plum-rgb: 46, 31, 83;
    --rg-saffron: #e56a33;
    --rg-saffron-2: #f08a4b;
    --rg-saffron-rgb: 229, 106, 51;
    --rg-gold: #c9a45c;
    --rg-ivory: #fbf7f1;
    --rg-blush: #f6eef4;
    --rg-ink: #221a33;
    --rg-muted: #756e86;
    --rg-line: #ece5ef;
    --rg-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --rg-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --rg-card-font: "Lora", Georgia, "Times New Roman", serif;
    --rg-sans: "Lato", "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
    --rg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.rg-drawer-open,
html.rg-cart-locked {
    overflow: hidden;
}

/* Body must stay overflow:visible while <html> is locked, otherwise it becomes the scroll container and breaks the sticky navbar. */
html.rg-drawer-open body,
html.rg-cart-locked body {
    overflow: visible !important;
}

/* --------------------------------------------------------------------------
   Topbar strip
   -------------------------------------------------------------------------- */
html[data-theme="classic"] #sf-navbar-root .sf-topbar {
    background: var(--rg-plum);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 6px 0;
    max-height: 2.5rem;
    overflow: hidden;
    transition:
        max-height 0.35s var(--rg-ease),
        padding 0.35s var(--rg-ease),
        opacity 0.3s ease,
        background-color 0.35s ease,
        color 0.35s ease;
}

html[data-theme="classic"] #sf-navbar-root .sf-topbar a {
    color: rgba(255, 255, 255, 0.82);
}

html[data-theme="classic"] #sf-navbar-root .sf-topbar a:hover {
    color: #fff;
}

html[data-theme="classic"] #sf-navbar-root .top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

html[data-theme="classic"] #sf-navbar-root .top-bar-content .contact-info,
html[data-theme="classic"] #sf-navbar-root .top-bar-content .account-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

html[data-theme="classic"] #sf-navbar-root .top-bar-content a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Live search dropdown */
html[data-theme="classic"] .rg-header .main-form {
    position: relative;
}

html[data-theme="classic"] .rg-header .nn-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1300;
    max-height: min(62vh, 440px);
    overflow-y: auto;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--rg-line);
    border-radius: 20px;
    box-shadow: 0 30px 60px -28px rgba(var(--rg-plum-rgb), 0.45);
    font-family: var(--rg-sans);
    scrollbar-width: thin;
    animation: rgPaneIn 0.25s var(--rg-ease);
}

html[data-theme="classic"] .rg-header .nn-search-results__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

html[data-theme="classic"] .rg-header .nn-search-results__item {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 7px 8px !important;
    margin: 0 !important;
    border-radius: 14px;
    background: transparent;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

html[data-theme="classic"] .rg-header .nn-search-results__item:hover {
    background: var(--rg-blush);
}

html[data-theme="classic"] .rg-header .nn-search-results__thumb {
    width: 52px !important;
    height: 64px !important;
    max-width: 52px !important;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 10px !important;
    background: #f7f1ee;
    display: block;
}

html[data-theme="classic"] .rg-header .nn-search-results__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

html[data-theme="classic"] .rg-header .nn-search-results__name {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    font-family: var(--rg-serif);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3 !important;
    color: var(--rg-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[data-theme="classic"] .rg-header .nn-search-results__price {
    height: auto !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-size: 14px;
    font-weight: 800;
    color: var(--rg-saffron);
}

html[data-theme="classic"] .rg-header .nn-search-results__all {
    display: block;
    margin-top: 8px;
    padding: 11px 14px;
    border-radius: 999px;
    background: rgba(var(--rg-plum-rgb), 0.08);
    color: var(--rg-plum) !important;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="classic"] .rg-header .nn-search-results__all:hover {
    background: var(--rg-plum);
    color: #fff !important;
}

html[data-theme="classic"] .rg-header .nn-search-results__empty {
    margin: 0;
    padding: 14px;
    font-size: 14px;
    color: var(--rg-muted);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Categories megamenu
   -------------------------------------------------------------------------- */

html[data-theme="classic"] .rg-mega__tabs {
    margin: 0;
    padding: 14px;
    max-height: min(440px, 70vh);
    overflow-y: auto;
    border-radius: 22px 0 0 22px;
    background: linear-gradient(180deg, var(--rg-ivory), var(--rg-blush));
    scrollbar-width: thin;
}

html[data-theme="classic"] .rg-mega__tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 14px;
    color: var(--rg-ink);
    font-size: 14.5px;
    font-weight: 700;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

html[data-theme="classic"] .rg-mega__tab + .rg-mega__tab,
html[data-theme="classic"] .rg-mega__tabs li + li {
    margin-top: 2px;
}

html[data-theme="classic"] .rg-mega__tab-thumb {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(var(--rg-saffron-rgb), 0.25), rgba(var(--rg-plum-rgb), 0.2));
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(var(--rg-plum-rgb), 0.08);
}

html[data-theme="classic"] .rg-mega__tab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

html[data-theme="classic"] .rg-mega__tab-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-theme="classic"] .rg-mega__tab-arrow {
    color: var(--rg-saffron);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.25s var(--rg-ease);
}

html[data-theme="classic"] .rg-mega__tab.is-active {
    background: #fff;
    color: var(--rg-plum);
    box-shadow: 0 10px 22px -16px rgba(var(--rg-plum-rgb), 0.55);
}

html[data-theme="classic"] .rg-mega__tab.is-active .rg-mega__tab-thumb {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--rg-saffron);
}

html[data-theme="classic"] .rg-mega__tab.is-active .rg-mega__tab-arrow {
    opacity: 1;
    transform: none;
}

html[data-theme="classic"] .rg-mega__stage {
    padding: 26px 28px;
    min-width: 0;
}

html[data-theme="classic"] .rg-mega__pane {
    display: flex;
    gap: 26px;
    min-height: 100%;
}

html[data-theme="classic"] .rg-mega__pane[hidden] {
    display: none;
}

html[data-theme="classic"] .rg-mega__pane.is-active {
    animation: rgPaneIn 0.32s var(--rg-ease);
}

html[data-theme="classic"] .rg-mega__pane-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

html[data-theme="classic"] .rg-mega__eyebrow {
    display: block;
    color: var(--rg-saffron);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

html[data-theme="classic"] .rg-mega__pane-title {
    margin: 4px 0 0;
    color: var(--rg-plum);
    font-family: var(--rg-serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
}

html[data-theme="classic"] .rg-mega__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 22px;
}

html[data-theme="classic"] .rg-mega__chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--rg-line);
    background: #fff;
    color: var(--rg-ink);
    font-size: 13.5px;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

html[data-theme="classic"] .rg-mega__chip:hover {
    background: var(--rg-plum);
    border-color: var(--rg-plum);
    color: #fff;
    transform: translateY(-1px);
}

html[data-theme="classic"] .rg-mega__empty {
    margin: 14px 0 22px;
    color: var(--rg-muted);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 34ch;
}

html[data-theme="classic"] .rg-mega__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 3px;
    border-bottom: 2px solid rgba(var(--rg-saffron-rgb), 0.35);
    color: var(--rg-plum);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, gap 0.25s var(--rg-ease);
}

html[data-theme="classic"] .rg-mega__all:hover {
    gap: 12px;
    border-color: var(--rg-saffron);
    color: var(--rg-plum);
}

html[data-theme="classic"] .rg-mega__feature {
    position: relative;
    flex: 0 0 210px;
    align-self: flex-start;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 105px 105px 18px 18px;
    background: var(--rg-blush);
}

html[data-theme="classic"] .rg-mega__feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s var(--rg-ease);
}

html[data-theme="classic"] .rg-mega__feature:hover img {
    transform: scale(1.05);
}

html[data-theme="classic"] .rg-mega__feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(34, 26, 51, 0.78));
}

html[data-theme="classic"] .rg-mega__feature-copy {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
}

html[data-theme="classic"] .rg-mega__feature-copy small {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffd9c2;
}

html[data-theme="classic"] .rg-mega__feature-copy strong {
    display: block;
    margin-top: 2px;
    font-family: var(--rg-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

@keyframes rgPaneIn {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Mobile header
   -------------------------------------------------------------------------- */
html[data-theme="classic"] .rg-header__mobile {
    display: none;
}

html[data-theme="classic"] .rg-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--rg-ink);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

html[data-theme="classic"] .rg-icon-btn:hover,
html[data-theme="classic"] .rg-icon-btn[aria-expanded="true"] {
    background: var(--rg-blush);
    color: var(--rg-plum);
}

html[data-theme="classic"] .rg-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

html[data-theme="classic"] .rg-burger i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

html[data-theme="classic"] .rg-burger i:nth-child(2) { width: 14px; }

@media (max-width: 991px) {
    html[data-theme="classic"] .rg-header__main,
    html[data-theme="classic"] .rg-header__nav {
        display: none;
    }

    html[data-theme="classic"] .rg-header__mobile {
        display: block;
    }

    html[data-theme="classic"] #sf-navbar-root .sf-topbar {
        display: none;
    }
}

html[data-theme="classic"] .rg-header__mobile-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 60px;
    padding: 0 10px;
}

html[data-theme="classic"] .rg-header__mobile-logo {
    display: inline-flex;
    justify-self: center;
}

html[data-theme="classic"] .rg-header__mobile-logo img {
    max-height: 34px;
    width: auto;
}

html[data-theme="classic"] .rg-header__mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

html[data-theme="classic"] .rg-header__mobile-actions .mobile-account-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--rg-ink);
    font-size: 19px;
}

html[data-theme="classic"] .rg-header__mobile-actions .ah-list > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rg-ink);
}

html[data-theme="classic"] .rg-header__mobile-search {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s var(--rg-ease);
}

html[data-theme="classic"] .rg-header__mobile-search.is-open {
    grid-template-rows: 1fr;
}

html[data-theme="classic"] .rg-header__mobile-search-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 14px;
    transition: padding 0.32s var(--rg-ease);
}

html[data-theme="classic"] .rg-header__mobile-search.is-open .rg-header__mobile-search-inner {
    overflow: visible;
    padding: 4px 14px 14px;
}

/* --------------------------------------------------------------------------
   Mobile off-canvas menu
   -------------------------------------------------------------------------- */
html[data-theme="classic"] .rg-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(24, 16, 40, 0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

html[data-theme="classic"].rg-drawer-open .rg-drawer-overlay {
    opacity: 1;
    visibility: visible;
}

html[data-theme="classic"] .rg-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1501;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0 24px 24px 0;
    box-shadow: 30px 0 60px -30px rgba(var(--rg-plum-rgb), 0.5);
    font-family: var(--rg-sans);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.45s var(--rg-ease), visibility 0s linear 0.45s;
}

html[data-theme="classic"].rg-drawer-open .rg-drawer {
    transform: none;
    visibility: visible;
    transition: transform 0.45s var(--rg-ease), visibility 0s;
}

html[data-theme="classic"] .rg-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 14px 20px;
    border-bottom: 1px solid var(--rg-line);
}

html[data-theme="classic"] .rg-drawer__logo img {
    max-height: 34px;
    width: auto;
}

html[data-theme="classic"] .rg-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 20px 28px;
    overscroll-behavior: contain;
}

html[data-theme="classic"] .rg-drawer__account {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--rg-ivory), var(--rg-blush));
}

html[data-theme="classic"] .rg-drawer__greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

html[data-theme="classic"] .rg-drawer__greeting small {
    display: block;
    color: var(--rg-muted);
    font-size: 12px;
}

html[data-theme="classic"] .rg-drawer__greeting strong {
    color: var(--rg-ink);
    font-size: 15px;
}

html[data-theme="classic"] .rg-drawer__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--rg-plum);
    color: #fff;
    font-weight: 800;
}

html[data-theme="classic"] .rg-drawer__auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

html[data-theme="classic"] .rg-drawer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border-radius: 999px;
    background: var(--rg-plum);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[data-theme="classic"] .rg-drawer__btn--ghost {
    background: #fff;
    color: var(--rg-plum) !important;
    box-shadow: inset 0 0 0 1.5px rgba(var(--rg-plum-rgb), 0.25);
}

html[data-theme="classic"] .rg-drawer__label {
    margin: 22px 0 8px;
    color: var(--rg-saffron);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

html[data-theme="classic"] .rg-drawer__menu {
    margin: 14px 0 0;
}

html[data-theme="classic"] .rg-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 6px;
    border-bottom: 1px solid #f3eef5;
    color: var(--rg-ink);
    font-size: 15px;
    font-weight: 700;
}

html[data-theme="classic"] .rg-drawer__link i {
    width: 18px;
    color: var(--rg-plum-2);
    text-align: center;
}

html[data-theme="classic"] .rg-drawer__link.is-active,
html[data-theme="classic"] .rg-drawer__link:hover {
    color: var(--rg-saffron);
}

html[data-theme="classic"] .rg-drawer__menu--compact .rg-drawer__link {
    padding: 10px 6px;
    font-size: 14px;
    font-weight: 600;
}

html[data-theme="classic"] .rg-drawer__cats {
    margin: 0;
}

html[data-theme="classic"] .rg-drawer__cat {
    border-bottom: 1px solid #f3eef5;
}

html[data-theme="classic"] .rg-drawer__cat-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

html[data-theme="classic"] .rg-drawer__cat-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 4px;
    color: var(--rg-ink);
    font-size: 15px;
    font-weight: 700;
}

html[data-theme="classic"] .rg-drawer__cat-thumb {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rg-blush);
}

html[data-theme="classic"] .rg-drawer__cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

html[data-theme="classic"] .rg-drawer__cat-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--rg-blush);
    color: var(--rg-plum);
    transition: transform 0.3s var(--rg-ease), background-color 0.2s ease;
}

html[data-theme="classic"] .rg-drawer__cat.is-open .rg-drawer__cat-toggle {
    transform: rotate(180deg);
    background: var(--rg-plum);
    color: #fff;
}

html[data-theme="classic"] .rg-drawer__subs {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--rg-ease);
}

html[data-theme="classic"] .rg-drawer__cat.is-open .rg-drawer__subs {
    grid-template-rows: 1fr;
}

html[data-theme="classic"] .rg-drawer__subs-inner {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 4px;
}

html[data-theme="classic"] .rg-drawer__cat.is-open .rg-drawer__subs-inner {
    padding: 4px 4px 14px;
}

html[data-theme="classic"] .rg-drawer__contact {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 16px;
    background: var(--rg-ivory);
    font-size: 14px;
}

html[data-theme="classic"] .rg-drawer__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--rg-ink);
    word-break: break-all;
}

html[data-theme="classic"] .rg-drawer__contact i {
    color: var(--rg-saffron);
}

/* --------------------------------------------------------------------------
   Product card
   -------------------------------------------------------------------------- */
html[data-theme="classic"] .modern-product-card.rg-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px 8px 14px;
    overflow: visible;
    background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
    border: 1px solid #f3ece9;
    border-radius: 20px;
    box-shadow: 0 10px 28px -22px rgba(var(--rg-plum-rgb), 0.28);
    content-visibility: visible;
    contain-intrinsic-size: none;
    transition: transform 0.45s var(--rg-ease), box-shadow 0.45s var(--rg-ease), border-color 0.3s ease;
}

html[data-theme="classic"] .modern-product-card.rg-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--rg-saffron-rgb), 0.22);
    box-shadow: 0 22px 40px -26px rgba(var(--rg-plum-rgb), 0.38);
}

html[data-theme="classic"] .rg-card__media {
    position: relative;
}

html[data-theme="classic"] .rg-card__frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 15px;
    background: #f7f1ee;
    isolation: isolate;
}

html[data-theme="classic"] .rg-card__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background: linear-gradient(to top, rgba(var(--rg-plum-rgb), 0.12), rgba(var(--rg-plum-rgb), 0) 38%);
    box-shadow: inset 0 0 0 1px rgba(var(--rg-plum-rgb), 0.04);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

html[data-theme="classic"] .rg-card:hover .rg-card__frame::after {
    opacity: 0.6;
}

html[data-theme="classic"] .rg-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 0 !important;
    transition: transform 0.9s var(--rg-ease);
}

html[data-theme="classic"] .rg-card:hover .rg-card__img {
    transform: scale(1.04);
}

html[data-theme="classic"] .rg-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--rg-saffron);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow: 0 6px 14px -8px rgba(var(--rg-plum-rgb), 0.5);
    backdrop-filter: blur(4px);
}

html[data-theme="classic"] .rg-card__actions {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transform: translate(10px, -50%);
    transition: opacity 0.25s ease, transform 0.35s var(--rg-ease);
}

html[data-theme="classic"] .rg-card:hover .rg-card__actions,
html[data-theme="classic"] .rg-card:focus-within .rg-card__actions {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
}

html[data-theme="classic"] .rg-card__actions .product-o__action-wrap {
    position: relative !important;
    top: auto !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
}

html[data-theme="classic"] .rg-card__actions .product-o__action-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    list-style: none !important;
}

html[data-theme="classic"] .rg-card__actions .product-o__action-list > li {
    display: block !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

html[data-theme="classic"] .rg-card__actions .product-o__action-list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--rg-plum) !important;
    font-size: 14px !important;
    border: 0 !important;
    box-shadow: 0 8px 18px -8px rgba(var(--rg-plum-rgb), 0.55) !important;
    backdrop-filter: blur(4px);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

html[data-theme="classic"] .rg-card__actions .product-o__action-list li a:hover {
    background: var(--rg-plum) !important;
    color: #fff !important;
    transform: scale(1.08);
}

html[data-theme="classic"] .rg-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px 0;
    text-align: center;
    font-family: var(--rg-sans);
}

html[data-theme="classic"] .rg-card__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    color: var(--rg-saffron);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

html[data-theme="classic"] .rg-card__category::before,
html[data-theme="classic"] .rg-card__category::after {
    content: "";
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    background: var(--rg-gold);
    transform: rotate(45deg);
}

html[data-theme="classic"] .rg-card__title {
    width: 100%;
    margin: 0;
    font-family: var(--rg-card-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html[data-theme="classic"] .rg-card__title a,
html[data-theme="classic"] .rg-card .product-name-link {
    color: var(--rg-ink) !important;
    transition: color 0.2s ease;
}

html[data-theme="classic"] .rg-card:hover .rg-card__title a,
html[data-theme="classic"] .rg-card:hover .product-name-link {
    color: var(--rg-plum) !important;
}

html[data-theme="classic"] .rg-card__rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    line-height: 1;
    min-height: 0;
}

html[data-theme="classic"] .rg-card__rating .u-s-m-b-15,
html[data-theme="classic"] .rg-card__rating > div {
    margin: 0 !important;
    padding: 0;
    line-height: 1;
}

html[data-theme="classic"] .rg-card__rating i {
    font-size: 11px;
    color: var(--rg-gold);
    margin: 0 1px;
    line-height: 1;
}

html[data-theme="classic"] .rg-card__price {
    width: 100%;
}

html[data-theme="classic"] .rg-card__price .modern-price-stack {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 2px 10px;
}

html[data-theme="classic"] .rg-card .rg-card__price .modern-price-final {
    color: var(--rg-saffron) !important;
    font-family: var(--rg-sans);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

html[data-theme="classic"] .rg-card .rg-card__price .modern-price-original {
    margin: 0;
    color: #a39cb0;
    font-size: 14px;
    font-weight: 600;
}

html[data-theme="classic"] .rg-card__cta {
    width: 100%;
    margin-top: auto;
    padding-top: 6px;
}

html[data-theme="classic"] .rg-atc-wrap {
    width: 100%;
}

html[data-theme="classic"] .rg-atc,
html[data-theme="classic"] .rg-card__cta .addToCart {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 42px;
    padding: 0 16px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #5f4c93, #7c69ad) !important;
    color: #fff !important;
    font-family: var(--rg-sans);
    font-size: 12.5px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
}

html[data-theme="classic"] .rg-atc:hover,
html[data-theme="classic"] .rg-atc:focus-visible {
    background: linear-gradient(135deg, var(--rg-plum), var(--rg-plum-2)) !important;
    color: #fff !important;
    box-shadow: 0 12px 22px -16px rgba(var(--rg-plum-rgb), 0.8);
}

html[data-theme="classic"] .rg-atc:active {
    transform: scale(0.98);
}

html[data-theme="classic"] .rg-atc > * {
    position: relative;
    z-index: 1;
}

html[data-theme="classic"] .rg-atc__face {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

html[data-theme="classic"] .rg-atc .dots-loader {
    color: currentColor;
}

html[data-theme="classic"] .rg-atc.is-busy {
    pointer-events: none;
    opacity: 0.85;
}

@media (max-width: 767px) {
    html[data-theme="classic"] .modern-product-card.rg-card {
        padding: 6px 6px 10px;
        border-radius: 16px;
    }

    html[data-theme="classic"] .rg-card__frame {
        border-radius: 12px;
    }

    html[data-theme="classic"] .rg-card__body {
        gap: 4px;
        padding: 10px 2px 0;
    }

    html[data-theme="classic"] .rg-card__category {
        gap: 6px;
        font-size: 9.5px;
        letter-spacing: 0.14em;
    }

    html[data-theme="classic"] .rg-card__title {
        font-size: 15.5px;
    }

    html[data-theme="classic"] .rg-card .rg-card__price .modern-price-final {
        font-size: 17px;
    }

    html[data-theme="classic"] .rg-card .rg-card__price .modern-price-original {
        font-size: 12px;
    }

    html[data-theme="classic"] .rg-atc,
    html[data-theme="classic"] .rg-card__cta .addToCart {
        min-height: 40px;
        gap: 6px;
        padding: 0 10px !important;
        font-size: 11.5px !important;
        letter-spacing: 0.06em;
    }

    html[data-theme="classic"] .rg-atc__icon {
        width: 16px;
        height: 16px;
    }

    html[data-theme="classic"] .rg-card__badge {
        height: 21px;
        padding: 0 9px;
        font-size: 10px;
    }
}

/* custom.css pins the new-arrivals stage to a fixed height, which clips these taller cards. */
html[data-theme="classic"] .new-arrivals-slider.owl-carousel .owl-stage-outer {
    height: auto !important;
    padding: 8px 0 26px;
    margin-bottom: -14px;
}

html[data-theme="classic"] .new-arrivals-slider.owl-carousel .owl-item {
    padding: 0 6px;
}

html[data-theme="classic"] .new-arrivals-slider__item .modern-product-card.rg-card {
    margin: 0;
}

/* Owl floats slides at their own height; a flex stage stretches every slide in the row to the tallest card. */
html[data-theme="classic"] .owl-carousel .owl-stage:has(> .owl-item .rg-card) {
    display: flex;
}

html[data-theme="classic"] .owl-carousel .owl-item:has(.rg-card) {
    display: flex;
    float: none;
}

html[data-theme="classic"] .owl-item > :has(> .rg-card) {
    display: flex;
    width: 100%;
}

html[data-theme="classic"] .owl-item > .modern-product-card.rg-card,
html[data-theme="classic"] .owl-item > * > .modern-product-card.rg-card {
    flex: 1 1 auto;
    height: auto;
}

/* --------------------------------------------------------------------------
   Slide-out shopping bag
   -------------------------------------------------------------------------- */
html[data-theme="classic"] .rg-cart {
    font-family: var(--rg-sans);
}

html[data-theme="classic"] .rg-cart__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(24, 16, 40, 0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

html[data-theme="classic"] .rg-cart.is-open .rg-cart__backdrop {
    opacity: 1;
    visibility: visible;
}

html[data-theme="classic"] .rg-cart__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: min(440px, 100vw);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 26px 0 0 26px;
    box-shadow: -30px 0 70px -30px rgba(var(--rg-plum-rgb), 0.55);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.5s var(--rg-ease), visibility 0s linear 0.5s;
}

html[data-theme="classic"] .rg-cart.is-open .rg-cart__panel {
    transform: none;
    visibility: visible;
    transition: transform 0.5s var(--rg-ease), visibility 0s;
}

html[data-theme="classic"] .rg-cart__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 22px 18px 26px;
    border-bottom: 1px solid var(--rg-line);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(var(--rg-saffron-rgb), 0.12), transparent 55%),
        linear-gradient(180deg, var(--rg-ivory), #fff);
    border-radius: 26px 0 0 0;
}

html[data-theme="classic"] .rg-cart__eyebrow {
    display: block;
    color: var(--rg-saffron);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

html[data-theme="classic"] .rg-cart__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    color: var(--rg-plum);
    font-family: var(--rg-serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
}

html[data-theme="classic"] .rg-cart__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--rg-saffron);
    color: #fff;
    font-family: var(--rg-sans);
    font-size: 12.5px;
    font-weight: 800;
}

html[data-theme="classic"] .rg-cart__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--rg-ink);
    box-shadow: 0 0 0 1px var(--rg-line);
    cursor: pointer;
    transition: transform 0.3s var(--rg-ease), background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="classic"] .rg-cart__close:hover {
    background: var(--rg-plum);
    color: #fff;
    transform: rotate(90deg);
}

html[data-theme="classic"] .rg-cart__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 4px 26px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

html[data-theme="classic"] .rg-cart__items {
    margin: 0;
}

html[data-theme="classic"] .rg-cart__item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--rg-line);
}

html[data-theme="classic"] .rg-cart.is-open .rg-cart__item {
    animation: rgItemIn 0.5s var(--rg-ease) both;
}

html[data-theme="classic"] .rg-cart.is-open .rg-cart__item:nth-child(2) { animation-delay: 0.05s; }
html[data-theme="classic"] .rg-cart.is-open .rg-cart__item:nth-child(3) { animation-delay: 0.1s; }
html[data-theme="classic"] .rg-cart.is-open .rg-cart__item:nth-child(4) { animation-delay: 0.15s; }
html[data-theme="classic"] .rg-cart.is-open .rg-cart__item:nth-child(n+5) { animation-delay: 0.2s; }

@keyframes rgItemIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: none; }
}

html[data-theme="classic"] .rg-cart__thumb {
    display: block;
    width: 88px;
    height: 118px;
    overflow: hidden;
    border-radius: 44px 44px 12px 12px;
    background: var(--rg-blush);
}

html[data-theme="classic"] .rg-cart__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

html[data-theme="classic"] .rg-cart__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

html[data-theme="classic"] .rg-cart__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

html[data-theme="classic"] .rg-cart__row--foot {
    align-items: center;
    margin-top: auto;
    padding-top: 6px;
}

html[data-theme="classic"] .rg-cart__name {
    margin: 0;
    font-family: var(--rg-serif);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html[data-theme="classic"] .rg-cart__name a {
    color: var(--rg-ink);
}

html[data-theme="classic"] .rg-cart__name a:hover {
    color: var(--rg-plum);
}

html[data-theme="classic"] .rg-cart__remove {
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #a39cb0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="classic"] .rg-cart__remove:hover {
    background: #fdecec;
    color: #d64545;
}

html[data-theme="classic"] .rg-cart__options {
    margin: 0;
    color: var(--rg-muted);
    font-size: 12.5px;
}

html[data-theme="classic"] .rg-cart__unit {
    margin: 0;
    color: var(--rg-ink);
    font-size: 14px;
    font-weight: 700;
}

html[data-theme="classic"] .rg-cart__unit span {
    color: var(--rg-muted);
    font-size: 12px;
    font-weight: 500;
}

html[data-theme="classic"] .rg-cart__line {
    color: var(--rg-plum);
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
}

html[data-theme="classic"] .rg-cart .cart-quantity-selector {
    grid-template-columns: 34px 42px 34px;
    min-height: 36px;
    border: 1px solid var(--rg-line);
    border-radius: 999px;
}

html[data-theme="classic"] .rg-cart .cart-quantity-btn {
    width: 34px;
    min-width: 34px;
    height: 36px;
    background: transparent;
    color: var(--rg-plum);
    font-size: 18px;
    transition: background-color 0.2s ease;
}

html[data-theme="classic"] .rg-cart .cart-quantity-btn:hover {
    background: var(--rg-blush);
}

html[data-theme="classic"] .rg-cart .cart-quantity-input {
    width: 42px;
    min-width: 42px;
    height: 36px;
    line-height: 36px;
    border-left: 0;
    border-right: 0;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--rg-ink);
}

html[data-theme="classic"] .rg-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 64px 16px;
    text-align: center;
}

html[data-theme="classic"] .rg-cart__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rg-ivory), var(--rg-blush));
    color: var(--rg-plum);
}

html[data-theme="classic"] .rg-cart__empty strong {
    color: var(--rg-plum);
    font-family: var(--rg-serif);
    font-size: 22px;
    font-weight: 600;
}

html[data-theme="classic"] .rg-cart__empty p {
    margin: 0 0 12px;
    color: var(--rg-muted);
    font-size: 14px;
}

html[data-theme="classic"] .rg-cart__foot {
    padding: 18px 26px 22px;
    border-top: 1px solid var(--rg-line);
    background: var(--rg-ivory);
    border-radius: 0 0 0 26px;
}

html[data-theme="classic"] .rg-cart__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

html[data-theme="classic"] .rg-cart__total span {
    color: var(--rg-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

html[data-theme="classic"] .rg-cart__total strong {
    color: var(--rg-plum);
    font-size: 24px;
    font-weight: 900;
}

html[data-theme="classic"] .rg-cart__note {
    margin: 2px 0 14px;
    color: var(--rg-muted);
    font-size: 12.5px;
}

html[data-theme="classic"] .rg-cart__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    font-family: var(--rg-sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, gap 0.3s var(--rg-ease);
}

html[data-theme="classic"] .rg-cart__btn--primary {
    background: var(--rg-plum);
    color: #fff;
    box-shadow: 0 16px 28px -16px rgba(var(--rg-plum-rgb), 0.9);
}

html[data-theme="classic"] .rg-cart__btn--primary:hover {
    gap: 14px;
    background: var(--rg-saffron);
    box-shadow: 0 16px 28px -16px rgba(var(--rg-saffron-rgb), 0.9);
}

html[data-theme="classic"] .rg-cart__btn--ghost {
    width: auto;
    min-height: 46px;
    background: var(--rg-plum);
    color: #fff !important;
}

html[data-theme="classic"] .rg-cart__btn--ghost:hover {
    background: var(--rg-saffron);
}

html[data-theme="classic"] .rg-cart__foot-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

html[data-theme="classic"] .rg-cart__link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--rg-plum);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(var(--rg-plum-rgb), 0.3);
    text-underline-offset: 4px;
    cursor: pointer;
}

html[data-theme="classic"] .rg-cart__link:hover {
    color: var(--rg-saffron);
    text-decoration-color: currentColor;
}

html[data-theme="classic"] .rg-cart__fab {
    background: var(--rg-plum);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 16px 30px -14px rgba(var(--rg-plum-rgb), 0.9);
}

html[data-theme="classic"] .sf-float-btn--chat {
    background: linear-gradient(145deg, var(--rg-saffron-2), var(--rg-saffron));
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 14px 28px -12px rgba(var(--rg-saffron-rgb), 0.75);
}

html[data-theme="classic"] .sf-float-btn--chat:hover,
html[data-theme="classic"] .sf-floating-contact.is-open .sf-float-btn--chat {
    background: linear-gradient(145deg, var(--rg-plum-2), var(--rg-plum));
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 14px 28px -12px rgba(var(--rg-plum-rgb), 0.75);
}

html[data-theme="classic"] .sf-floating-contact__chip {
    background: #fff;
    color: var(--rg-plum);
}

html[data-theme="classic"] .sf-float-btn__label {
    display: none !important;
}

html[data-theme="classic"] .rg-cart__fab:hover {
    background: var(--rg-saffron);
}

html[data-theme="classic"] .rg-cart__fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--rg-saffron);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

html[data-theme="classic"] .rg-cart__fab:hover .rg-cart__fab-badge {
    background: var(--rg-plum);
}

/* The bag panel replaces the floating stack while open */
html[data-theme="classic"].rg-cart-locked .sf-floating-actions {
    z-index: 1600;
}

html[data-theme="classic"].rg-cart-locked .sf-floating-actions > :not(.rg-cart),
html[data-theme="classic"].rg-cart-locked .rg-cart__fab {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 575px) {
    html[data-theme="classic"] .rg-cart__panel {
        border-radius: 0;
    }

    html[data-theme="classic"] .rg-cart__head,
    html[data-theme="classic"] .rg-cart__foot {
        border-radius: 0;
    }

    html[data-theme="classic"] .rg-cart__head {
        padding: 18px 16px 14px 20px;
    }

    html[data-theme="classic"] .rg-cart__body {
        padding: 0 18px;
    }

    html[data-theme="classic"] .rg-cart__foot {
        padding: 14px 18px 18px;
    }

    html[data-theme="classic"] .rg-cart__item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    html[data-theme="classic"] .rg-cart__thumb {
        width: 76px;
        height: 102px;
    }
}

/* --------------------------------------------------------------------------
   Modals above the sticky navbar (z-index 1100)
   -------------------------------------------------------------------------- */
html[data-theme="classic"] .modal-backdrop {
    z-index: 1190 !important;
}

html[data-theme="classic"] .modal {
    z-index: 1200 !important;
}

html[data-theme="classic"] .home-promo-banner .grid-full-width-banner {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 44px -30px rgba(var(--rg-plum-rgb), 0.55);
}

html[data-theme="classic"] .home-promo-banner .grid-full-width-banner img {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 4 / 1;
    object-fit: cover;
}

html[data-theme="classic"] .rg-promo {
    position: relative;
    isolation: isolate;
}

html[data-theme="classic"] .rg-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

html[data-theme="classic"] .rg-promo--left::before {
    background: linear-gradient(90deg, rgba(var(--rg-plum-rgb), 0.55) 0%, rgba(var(--rg-plum-rgb), 0.18) 42%, transparent 62%);
}

html[data-theme="classic"] .rg-promo--right::before {
    background: linear-gradient(270deg, rgba(var(--rg-plum-rgb), 0.62) 0%, rgba(var(--rg-plum-rgb), 0.25) 42%, transparent 64%);
}

html[data-theme="classic"] .rg-promo__copy {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(46%, 560px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(6px, 0.9vw, 14px);
    color: #fff;
    font-family: var(--rg-sans);
}

html[data-theme="classic"] .rg-promo--left .rg-promo__copy {
    left: clamp(18px, 6%, 96px);
}

html[data-theme="classic"] .rg-promo--right .rg-promo__copy {
    right: clamp(18px, 6%, 96px);
}

html[data-theme="classic"] .rg-promo__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rg-saffron), var(--rg-saffron-2));
    color: #fff;
    font-size: clamp(10px, 0.85vw, 13px);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px -12px rgba(var(--rg-saffron-rgb), 0.9);
}

html[data-theme="classic"] .rg-promo__title {
    margin: 0;
    font-family: var(--rg-display);
    font-size: clamp(22px, 3.3vw, 58px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0.005em;
    color: #fff;
    text-transform: capitalize;
    text-shadow: 0 2px 18px rgba(var(--rg-plum-rgb), 0.45);
}

html[data-theme="classic"] .rg-promo__text {
    margin: 0;
    max-width: 30ch;
    font-size: clamp(12px, 1.05vw, 17px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="classic"] .rg-promo__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: clamp(2px, 0.4vw, 6px);
    padding: clamp(8px, 0.75vw, 12px) clamp(16px, 1.5vw, 24px);
    border-radius: 999px;
    background: #fff;
    color: var(--rg-plum) !important;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 14px 26px -16px rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--rg-ease);
}

html[data-theme="classic"] .rg-promo__btn:hover {
    background: var(--rg-saffron);
    color: #fff !important;
    transform: translateY(-2px);
}

html[data-theme="classic"] .rg-promo__btn svg {
    transition: transform 0.3s var(--rg-ease);
}

html[data-theme="classic"] .rg-promo__btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    html[data-theme="classic"] .home-promo-banner .grid-full-width-banner {
        border-radius: 14px;
    }

    html[data-theme="classic"] .rg-promo__copy {
        width: 52%;
        gap: 4px;
    }

    html[data-theme="classic"] .rg-promo__text {
        display: none;
    }

    html[data-theme="classic"] .rg-promo__eyebrow {
        padding: 2px 8px;
        font-size: 8.5px;
        letter-spacing: 0.1em;
    }

    html[data-theme="classic"] .rg-promo__title {
        font-size: clamp(15px, 4.4vw, 26px);
    }

    html[data-theme="classic"] .rg-promo__btn {
        padding: 4px 10px;
        font-size: 9px;
        gap: 4px;
    }

    html[data-theme="classic"] .rg-promo__btn svg {
        width: 10px;
        height: 10px;
    }
}

html[data-theme="classic"] .sf-hero-viewport.s-skeleton {
    height: auto !important;
}

html[data-theme="classic"] .sf-hero-viewport .primary-style-3 .hero-slide-mobile {
    height: clamp(280px, 78vw, 360px) !important;
}

html[data-theme="classic"] .sf-hero-viewport .hero-slide-mobile .slider-img-full {
    height: 100% !important;
    object-fit: cover;
}

html[data-theme="classic"] body.modal-open .sf-floating-actions {
    z-index: 1150;
}

/* Quick view */
html[data-theme="classic"] .quickModal .modal-dialog {
    max-width: min(860px, calc(100vw - 32px));
}

html[data-theme="classic"] .quickModal .modal-content {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 90px -30px rgba(var(--rg-plum-rgb), 0.45);
}

html[data-theme="classic"] .quickModal .modal-body {
    padding: 22px;
}

html[data-theme="classic"] .quickModal .modal-body > div {
    align-items: flex-start;
    gap: 28px !important;
}

html[data-theme="classic"] .quickModal .quick-look__media {
    flex: 0 0 44%;
    width: 44% !important;
    margin: 0 !important;
}

html[data-theme="classic"] .quickModal .quick-look__media .pd,
html[data-theme="classic"] .quickModal .quick-look__media .pd-wrap {
    margin: 0 !important;
    padding: 0 !important;
}

html[data-theme="classic"] .quickModal .modal-body > div > div:last-child {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 44px 6px 0;
}

html[data-theme="classic"] .quickModal .quick-look__image-wrap {
    overflow: hidden;
    border-radius: 18px;
    background: #f7f1ee;
}

html[data-theme="classic"] .quickModal .quick-look__image {
    width: 100% !important;
    aspect-ratio: 4 / 5;
    height: auto !important;
    max-height: 70vh;
    object-fit: cover !important;
    object-position: center 18%;
    border-radius: 0 !important;
    transition: transform 0.6s var(--rg-ease);
}

html[data-theme="classic"] .quickModal .quick-look__image-wrap:hover .quick-look__image {
    transform: scale(1.03);
}

html[data-theme="classic"] .quickModal .zoom-hint {
    left: 50%;
    bottom: 14px !important;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--rg-plum);
    font-family: var(--rg-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 8px 18px -10px rgba(var(--rg-plum-rgb), 0.6);
    transition: opacity 0.25s ease;
}

html[data-theme="classic"] .quickModal .dismiss-button {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    background: var(--rg-ivory) !important;
    color: var(--rg-plum) !important;
    border: 1px solid var(--rg-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.35s var(--rg-ease);
}

html[data-theme="classic"] .quickModal .dismiss-button:hover {
    background: var(--rg-plum) !important;
    color: #fff !important;
    transform: rotate(90deg);
}

@media (max-width: 767px) {
    html[data-theme="classic"] .quickModal .modal-body {
        padding: 14px;
    }

    html[data-theme="classic"] .quickModal .modal-body > div {
        flex-direction: column;
        gap: 16px !important;
    }

    html[data-theme="classic"] .quickModal .quick-look__media,
    html[data-theme="classic"] .quickModal .modal-body > div > div:last-child {
        flex: 0 0 auto;
        width: 100% !important;
        padding: 0;
    }

    html[data-theme="classic"] .quickModal .quick-look__image {
        max-height: 48vh;
    }

    html[data-theme="classic"] .quickModal .dismiss-button {
        top: 22px;
        right: 22px;
        background: rgba(255, 255, 255, 0.92) !important;
    }
}

html[data-theme="classic"] .quickModal .pd-detail,
html[data-theme="classic"] .quickModal .pd-detail * {
    font-family: var(--rg-sans);
}

html[data-theme="classic"] .quickModal .pd-detail i[class*="fa-"] {
    font-family: "Font Awesome 5 Free";
}

html[data-theme="classic"] .quickModal .pd-detail__name {
    display: block;
    font-family: var(--rg-serif) !important;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--rg-ink);
}

html[data-theme="classic"] .quickModal .pd-detail__price {
    font-size: 24px;
    font-weight: 900;
    color: var(--rg-saffron) !important;
}

html[data-theme="classic"] .quickModal .pd-detail__stock {
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

html[data-theme="classic"] .quickModal .pd-detail__click-wrap {
    color: var(--rg-muted);
    font-size: 13px;
}

html[data-theme="classic"] .quickModal .pd-detail__click-wrap:hover {
    color: var(--rg-saffron);
}

html[data-theme="classic"] .quickModal .quantity-btn,
html[data-theme="classic"] .quickModal .quantity-input {
    border-color: var(--rg-line);
}

html[data-theme="classic"] .quickModal .btn-cart,
html[data-theme="classic"] .quickModal .btn-buy {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.3s var(--rg-ease), box-shadow 0.3s ease, background 0.3s ease;
}

html[data-theme="classic"] .quickModal .btn-cart {
    background: linear-gradient(135deg, #5f4c93, #7c69ad) !important;
    border-color: transparent !important;
    color: #fff !important;
}

html[data-theme="classic"] .quickModal .btn-buy {
    background: linear-gradient(135deg, var(--rg-saffron), #f08a4b);
    border-color: transparent;
}

html[data-theme="classic"] .quickModal .btn-cart:hover,
html[data-theme="classic"] .quickModal .btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -12px rgba(var(--rg-plum-rgb), 0.55);
}

/* --------------------------------------------------------------------------
   Checkout / page offset under sticky navbar
   --------------------------------------------------------------------------
   Global .containerCustom { margin-top: 60px } was an old fixed-header offset.
   Classic uses an in-flow position:sticky #sf-navbar-root, so that margin
   becomes a large empty gap below the nav (esp. on /checkout).
   -------------------------------------------------------------------------- */
html[data-theme="classic"] .modern-checkout.containerCustom {
    margin-top: 0 !important;
}

html[data-theme="classic"] .modern-checkout {
    padding-top: 12px;
}

/* --------------------------------------------------------------------------
   Product details page
   --------------------------------------------------------------------------
   Scoped to the page's own Livewire root so the related-product quick-view
   modals (also .pd-detail, inside div.containerCustom) keep their styling.
   -------------------------------------------------------------------------- */
html[data-theme="classic"] .product-details-page.containerCustom {
    margin-top: 0 !important;
}

html[data-theme="classic"] .product-details-page > .u-s-p-t-30 {
    padding-top: 26px !important;
}

html[data-theme="classic"] .product-details-page > .u-s-p-t-30 > div:not(.containerCustom) {
    font-family: var(--rg-sans);
    color: var(--rg-ink);
}

html[data-theme="classic"] .product-details-page > .u-s-p-t-30 > div:not(.containerCustom) > .container > .row {
    align-items: flex-start;
    row-gap: 24px;
}

html[data-theme="classic"] .product-details-page .marginY {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Gallery */
html[data-theme="classic"] .product-details-page .desktop-only-image-section {
    gap: 14px;
}

html[data-theme="classic"] .product-details-page .desktop-thumbnail-wrapper {
    flex: 0 0 76px;
    margin-right: 0;
}

html[data-theme="classic"] .product-details-page #pd-o-thumbnail .productDetailImageList {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--rg-line);
    border-radius: 12px;
    background: var(--rg-ivory);
    opacity: 0.72;
    transition: opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

html[data-theme="classic"] .product-details-page #pd-o-thumbnail .productDetailImageList:hover,
html[data-theme="classic"] .product-details-page #pd-o-thumbnail .slick-current .productDetailImageList,
html[data-theme="classic"] .product-details-page #pd-o-thumbnail .slick-current.productDetailImageList {
    opacity: 1;
    border-color: var(--rg-plum-2);
    box-shadow: 0 0 0 2px rgba(var(--rg-plum-rgb), 0.12);
}

html[data-theme="classic"] .product-details-page .desktop-main-image-wrapper .pd-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rg-line);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, var(--rg-ivory) 100%);
    box-shadow: 0 18px 40px -30px rgba(var(--rg-plum-rgb), 0.35);
}

html[data-theme="classic"] .product-details-page .productDetailImage {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 0 !important;
    cursor: zoom-in;
}

html[data-theme="classic"] .product-details-page .pd-text {
    position: absolute;
    right: 14px;
    bottom: 14px;
    top: auto;
    left: auto;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 16px -8px rgba(var(--rg-plum-rgb), 0.4);
    color: var(--rg-plum);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
}

/* Summary column */
html[data-theme="classic"] .product-details-page .col-lg-6 > .pd-detail {
    padding: 4px 0 0 18px !important;
}

html[data-theme="classic"] .product-details-page .desktop-product-name-section .pd-detail__name,
html[data-theme="classic"] .product-details-page .mobile-product-name-section .pd-detail__name {
    display: block;
    margin: 0 0 10px;
    font-family: var(--rg-serif);
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--rg-ink);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__price {
    font-family: var(--rg-sans);
    font-size: 28px;
    font-weight: 900;
    color: var(--rg-saffron) !important;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__stock,
html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__stock::before,
html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__left::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

html[data-theme="classic"] .product-details-page .col-lg-6 section > div > .u-s-m-b-15 {
    margin-bottom: 10px !important;
}

/* Rating slot above the price; empty for products without reviews. */
html[data-theme="classic"] .product-details-page .col-lg-6 section > div.u-s-m-b-15:first-of-type {
    margin-bottom: 4px !important;
}

html[data-theme="classic"] .pd-detail__rating {
    margin: 0;
    line-height: 1;
}

html[data-theme="classic"] .pd-detail .u-s-m-b-15:has(.pd-detail__rating),
html[data-theme="classic"] .pd-detail__rating.gl-rating-style,
html[data-theme="classic"] .pd-detail .starsContainer {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

html[data-theme="classic"] .pd-detail__rating i {
    font-size: 13px;
    line-height: 1;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__click-wrap,
html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__click-wrap a {
    color: var(--rg-muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__click-wrap a:hover {
    color: var(--rg-saffron);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-detail__click-wrap .underline {
    text-decoration: none;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-social-list li {
    margin: 0 !important;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-social-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--rg-line);
    border-radius: 50%;
    background: #fff;
    font-size: 15px;
    transition: transform 0.25s var(--rg-ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

/* The bundled Font Awesome predates the fa-x glyph, so the X share link would render empty. */
html[data-theme="classic"] .product-details-page .col-lg-6 .pd-social-list li a.fa-x::before {
    content: "𝕏";
    font-family: var(--rg-sans);
    font-weight: 700;
    color: var(--rg-ink);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pd-social-list li a:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--rg-saffron-rgb), 0.4);
    box-shadow: 0 8px 18px -10px rgba(var(--rg-plum-rgb), 0.45);
}

html[data-theme="classic"] .product-details-page .col-lg-6 section hr {
    margin: 18px 0 0;
    border: 0;
    border-top: 1px solid var(--rg-line);
    opacity: 1;
}

/* Quantity + actions */
html[data-theme="classic"] .product-details-page .col-lg-6 .product-actions {
    gap: 14px;
    margin: 18px 0 20px;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .quantity-selector {
    margin: 0;
    border: 1px solid var(--rg-line);
    border-radius: 999px;
    background: #fff;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .quantity-btn {
    width: 44px;
    height: 44px;
    border: 0 !important;
    background: transparent;
    color: var(--rg-plum);
    font-size: 18px;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .quantity-btn:hover {
    background: var(--rg-blush);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .quantity-input {
    width: 52px;
    height: 44px;
    background: transparent;
    color: var(--rg-ink);
    font-weight: 800;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .action-buttons {
    gap: 12px;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .btn-cart,
html[data-theme="classic"] .product-details-page .col-lg-6 .btn-buy,
html[data-theme="classic"] .product-details-page .col-lg-6 .request-stock-btn {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    height: auto !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.3s var(--rg-ease), box-shadow 0.3s ease, filter 0.3s ease;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .btn-cart {
    background: linear-gradient(135deg, var(--rg-plum), var(--rg-plum-2)) !important;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .btn-buy {
    background: linear-gradient(135deg, var(--rg-saffron), var(--rg-saffron-2)) !important;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .request-stock-btn {
    background: linear-gradient(135deg, #5f4c93, #7c69ad) !important;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .btn-cart:hover,
html[data-theme="classic"] .product-details-page .col-lg-6 .btn-buy:hover,
html[data-theme="classic"] .product-details-page .col-lg-6 .request-stock-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 16px 28px -14px rgba(var(--rg-plum-rgb), 0.6);
}

/* Policy link, shipping card, contact strip */
html[data-theme="classic"] .product-details-page .col-lg-6 .pdp-policy-link {
    margin-bottom: 14px !important;
    font-size: 13px;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pdp-policy-link a {
    color: var(--rg-plum-2);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--rg-plum-rgb), 0.25);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .pdp-policy-link a:hover {
    color: var(--rg-saffron);
    border-color: currentColor;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .psc {
    padding: 16px 18px;
    border: 1px solid var(--rg-line);
    border-radius: 16px;
    background: var(--rg-ivory);
    box-shadow: none;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .psc-title {
    font-family: var(--rg-sans);
    color: var(--rg-ink);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .psc-policy {
    background: rgba(var(--rg-plum-rgb), 0.08);
    color: var(--rg-plum-2);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .psc-zones li {
    border-color: var(--rg-line) !important;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .psc-zc {
    color: var(--rg-plum);
}

html[data-theme="classic"] .product-details-page .col-lg-6 .floating-contact-box {
    position: static !important;
    float: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin: 14px 0 0;
    padding: 12px 14px 12px 18px;
    border: 1px solid var(--rg-line);
    border-radius: 16px;
    background: #fff;
    backdrop-filter: none;
    box-shadow: none;
    animation: none;
    transform: none !important;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .floating-contact-box p {
    margin: 0;
    color: var(--rg-ink);
    font-size: 14px;
    font-weight: 700;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .floating-contact-box .contact-links {
    gap: 10px;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .floating-contact-box .contact-links a {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

html[data-theme="classic"] .product-details-page .col-lg-6 .floating-contact-box .contact-links i {
    font-size: 18px;
}

/* Spec / description / review tabs */
html[data-theme="classic"] .product-details-page .pd-tab {
    margin-top: 28px;
    border: 1px solid var(--rg-line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

html[data-theme="classic"] .product-details-page .pd-tab > .u-s-m-b-30 {
    margin-bottom: 0 !important;
    background: var(--rg-ivory);
    border-bottom: 1px solid var(--rg-line);
}

html[data-theme="classic"] .product-details-page .pd-tab__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0 12px;
    border: 0;
}

html[data-theme="classic"] .product-details-page .pd-tab__list .nav-link {
    position: relative;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: var(--rg-muted);
    font-family: var(--rg-sans);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

html[data-theme="classic"] .product-details-page .pd-tab__list .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--rg-saffron);
    transform: scaleX(0);
    transition: transform 0.3s var(--rg-ease);
}

html[data-theme="classic"] .product-details-page .pd-tab__list .nav-link:hover,
html[data-theme="classic"] .product-details-page .pd-tab__list .nav-link.active {
    color: var(--rg-plum);
}

html[data-theme="classic"] .product-details-page .pd-tab__list .nav-link.active::after {
    transform: scaleX(1);
}

html[data-theme="classic"] .product-details-page .pd-tab .tab-content {
    padding: 24px 28px !important;
    color: var(--rg-ink);
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 991px) {
    html[data-theme="classic"] .product-details-page .col-lg-6 > .pd-detail {
        padding: 0 4px !important;
    }
}

@media (max-width: 767px) {
    html[data-theme="classic"] .product-details-page > .u-s-p-t-30 {
        padding-top: 8px !important;
    }

    html[data-theme="classic"] .product-details-page .mobile-only-image-carousel {
        overflow: hidden;
        border-radius: 16px;
    }

    html[data-theme="classic"] .product-details-page .mobile-product-name-section .pd-detail__name {
        margin: 14px 4px 0;
        padding: 0;
        border: 0;
        font-size: 24px;
    }

    html[data-theme="classic"] .product-details-page .col-lg-6 > .pd-detail {
        margin-top: 0;
        padding: 0 4px !important;
    }

    html[data-theme="classic"] .product-details-page > .u-s-p-t-30 > div:not(.containerCustom) > .container > .row {
        row-gap: 0;
    }

    html[data-theme="classic"] .product-details-page .pd-tab .tab-content {
        padding: 18px 16px !important;
    }

    html[data-theme="classic"] .product-details-page .pd-tab__list .nav-link {
        padding: 14px 10px;
        font-size: 12px;
    }
}

/* Image zoom: elevateZoom toggles display on hover, which restarts this animation and delays the reveal by 0.3s */
html[data-theme="classic"] .zoomContainer .zoomLens {
    animation: rg-zoom-delay-lens 0.3s step-end both;
}

html[data-theme="classic"] .zoomContainer .zoomWindow {
    animation: rg-zoom-delay 0.45s ease both;
}

@keyframes rg-zoom-delay-lens {
    from {
        visibility: hidden;
    }

    to {
        visibility: visible;
    }
}

@keyframes rg-zoom-delay {
    0%,
    66% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Delivery & support card: sticky right column on wide screens, after the tabs below that */
html[data-theme="classic"] .product-details-page .pd-aside--desktop {
    display: none;
}

html[data-theme="classic"] .product-details-page .pd-aside--mobile {
    margin-top: 18px;
}

@media (min-width: 1200px) {
    html[data-theme="classic"] .product-details-page .pd-main-row > .col-lg-5 {
        flex: 0 0 39%;
        max-width: 39%;
    }

    html[data-theme="classic"] .product-details-page .pd-main-row > .col-lg-6 {
        flex: 0 0 36%;
        max-width: 36%;
    }

    html[data-theme="classic"] .product-details-page .pd-aside--desktop {
        display: block;
        flex: 0 0 25%;
        max-width: 25%;
        align-self: flex-start;
        position: sticky;
        top: calc(var(--sf-navbar-height, 110px) + 18px);
        padding-left: 6px;
    }

    html[data-theme="classic"] .product-details-page .pd-aside--mobile {
        display: none;
    }
}

html[data-theme="classic"] .product-details-page .pd-aside-card {
    overflow: hidden;
    border: 1px solid rgba(var(--rg-plum-rgb), 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
    font-family: var(--rg-sans);
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc {
    margin: 0;
    padding: 18px 18px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-head {
    gap: 10px;
    margin-bottom: 8px;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-ico {
    box-sizing: content-box;
    width: 18px;
    height: 18px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(var(--rg-plum-rgb), 0.08);
    color: var(--rg-plum);
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-title {
    color: var(--rg-ink);
    font-size: 15px;
    font-weight: 800;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-policy {
    background: rgba(var(--rg-saffron-rgb), 0.12);
    color: var(--rg-saffron);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-zones li {
    padding: 10px 0;
    border-top: 1px dashed var(--rg-line);
    font-size: 13.5px;
    color: var(--rg-ink);
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-zones li:first-child {
    border-top: 0;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-zc {
    color: var(--rg-plum);
    font-weight: 800;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-pc input {
    border-color: var(--rg-line);
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .psc-pc button {
    border-radius: 999px;
    background: var(--rg-plum);
}

html[data-theme="classic"] .product-details-page .pd-aside-card .pdp-policy-link {
    margin: 0 !important;
    padding: 12px 18px;
    border-top: 1px solid rgba(var(--rg-plum-rgb), 0.08);
    font-size: 13px !important;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .pdp-policy-link a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--rg-plum-2) !important;
    font-weight: 700;
    text-decoration: none !important;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .pdp-policy-link a::after {
    content: "→";
    font-weight: 800;
    transition: transform 0.25s var(--rg-ease);
}

html[data-theme="classic"] .product-details-page .pd-aside-card .pdp-policy-link a:hover {
    color: var(--rg-saffron) !important;
}

html[data-theme="classic"] .product-details-page .pd-aside-card .pdp-policy-link a:hover::after {
    transform: translateX(3px);
}

html[data-theme="classic"] .product-details-page .pd-aside-card__contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px 12px 18px;
    border-top: 1px solid rgba(var(--rg-plum-rgb), 0.08);
    background: transparent;
    color: var(--rg-ink);
}

html[data-theme="classic"] .product-details-page .pd-aside-card__contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

html[data-theme="classic"] .product-details-page .pd-aside-card__contact-text small {
    color: var(--rg-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

html[data-theme="classic"] .product-details-page .pd-aside-card__contact-links {
    display: inline-flex;
    flex: none;
    gap: 6px;
}

html[data-theme="classic"] .product-details-page .pd-aside-card__chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(var(--rg-plum-rgb), 0.1);
    border-radius: 50%;
    background: #fff;
    font-size: 16px;
    transition: transform 0.25s var(--rg-ease), border-color 0.25s var(--rg-ease);
}

html[data-theme="classic"] .product-details-page .pd-aside-card__chat:hover {
    transform: translateY(-2px);
    border-color: currentColor;
}

html[data-theme="classic"] .product-details-page .pd-aside-card__chat--wa {
    color: #25d366 !important;
}

html[data-theme="classic"] .product-details-page .pd-aside-card__chat--fb {
    color: #0084ff !important;
}

@media (min-width: 576px) and (max-width: 1199px) {
    html[data-theme="classic"] .product-details-page .pd-aside--mobile .pd-aside-card {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    html[data-theme="classic"] .product-details-page .pd-aside--mobile .psc {
        grid-row: span 2;
        padding-bottom: 14px;
    }

    html[data-theme="classic"] .product-details-page .pd-aside--mobile .pdp-policy-link {
        display: flex;
        align-items: center;
        border-top: 0;
        border-left: 1px solid rgba(var(--rg-plum-rgb), 0.08);
    }

    html[data-theme="classic"] .product-details-page .pd-aside--mobile .pdp-policy-link a {
        width: 100%;
    }

    html[data-theme="classic"] .product-details-page .pd-aside--mobile .pd-aside-card__contact {
        border-left: 1px solid rgba(var(--rg-plum-rgb), 0.08);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

/* Home "Categories" heading */
html[data-theme="classic"] .luxury-categories-section .home-gradient-section-header {
    text-align: center;
}

html[data-theme="classic"] .luxury-categories-section .home-gradient-section-header__row {
    justify-content: center;
}

html[data-theme="classic"] .luxury-categories-section .home-gradient-section-header__underline {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Header — single compact row
   --------------------------------------------------------------------------
   The navbar is switched to position:fixed by the header script, with a
   .rg-nav-spacer holding its expanded height, so the shrink on scroll
   animates without moving the page.
   -------------------------------------------------------------------------- */
html[data-theme="classic"] #sf-navbar-root {
    --rg-nav-dur: 0.35s;
    --rg-bar-h: 66px;
    --rg-bar-h-scrolled: 56px;
    --rg-gutter: clamp(16px, 2vw, 24px);
}

html[data-theme="classic"] #sf-navbar-root.rg-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

html[data-theme="classic"] #sf-navbar-root.rg-measuring,
html[data-theme="classic"] #sf-navbar-root.rg-measuring * {
    transition: none !important;
}

html[data-theme="classic"] .rg-nav-spacer {
    pointer-events: none;
}

/* Utility strip */
html[data-theme="classic"] #sf-navbar-root .sf-topbar {
    padding: 5px 0;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.01em;
    transition:
        max-height var(--rg-nav-dur) var(--rg-ease),
        padding var(--rg-nav-dur) var(--rg-ease),
        opacity 0.25s ease;
}

html[data-theme="classic"] #sf-navbar-root .top-bar-content .contact-info,
html[data-theme="classic"] #sf-navbar-root .top-bar-content .account-links {
    gap: 16px;
}

html[data-theme="classic"] #sf-navbar-root .top-bar-content a i {
    font-size: 11px;
    opacity: 0.7;
}

/* Shell */
html[data-theme="classic"] .rg-header {
    position: relative;
    z-index: 5;
    background: #fff;
    font-family: var(--rg-sans);
    border-bottom: 1px solid var(--rg-line);
    transition: box-shadow var(--rg-nav-dur) ease, border-color var(--rg-nav-dur) ease;
}

html[data-theme="classic"] #sf-navbar-root.is-scrolled .rg-header {
    border-bottom-color: transparent;
    box-shadow: 0 14px 30px -24px rgba(var(--rg-plum-rgb), 0.55);
}

html[data-theme="classic"] .rg-header__bar {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 20px;
    height: var(--rg-bar-h);
    transition: height var(--rg-nav-dur) var(--rg-ease);
}

html[data-theme="classic"] #sf-navbar-root.is-scrolled .rg-header__bar {
    height: var(--rg-bar-h-scrolled);
}

html[data-theme="classic"] .rg-header__logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

html[data-theme="classic"] #sf-navbar-root .rg-header__logo img {
    max-height: 42px;
    width: auto;
    border-radius: 0 !important;
    transition: max-height var(--rg-nav-dur) var(--rg-ease);
}

html[data-theme="classic"] #sf-navbar-root.is-scrolled .rg-header__logo img {
    max-height: 34px;
}

/* Primary menu */
html[data-theme="classic"] .rg-header__nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

html[data-theme="classic"] .rg-menu {
    display: flex;
    align-items: stretch;
    min-width: 0;
    margin: 0;
    padding: 0;
}

html[data-theme="classic"] .rg-menu__item {
    position: relative;
    display: flex;
    align-items: stretch;
}

html[data-theme="classic"] .rg-menu__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    color: var(--rg-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

html[data-theme="classic"] .rg-menu__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--rg-saffron);
    transform: scaleX(0);
    transition: transform 0.3s var(--rg-ease);
}

html[data-theme="classic"] .rg-menu__item:hover > .rg-menu__link,
html[data-theme="classic"] .rg-menu__item.is-active > .rg-menu__link {
    color: var(--rg-plum);
}

html[data-theme="classic"] .rg-menu__item:hover > .rg-menu__link::after,
html[data-theme="classic"] .rg-menu__item.is-active > .rg-menu__link::after {
    transform: scaleX(1);
}

html[data-theme="classic"] .rg-menu__label {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[data-theme="classic"] .rg-menu__badge {
    display: inline-flex;
    align-items: center;
    height: 17px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--rg-saffron);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* In the bar the badge rides above the label as a tag, so it costs no row width. */
html[data-theme="classic"] .rg-header .rg-menu__badge {
    position: absolute;
    top: calc(50% - 25px);
    right: 2px;
    height: 15px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: 8.5px;
    letter-spacing: 0.06em;
    line-height: 15px;
    white-space: nowrap;
    pointer-events: none;
}

html[data-theme="classic"] .rg-menu__chev {
    transition: transform 0.25s ease;
}

html[data-theme="classic"] .rg-menu__item:hover .rg-menu__chev {
    transform: rotate(180deg);
}

html[data-theme="classic"] .rg-menu__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 48px -20px rgba(var(--rg-plum-rgb), 0.35), 0 0 0 1px rgba(var(--rg-plum-rgb), 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity 0.2s ease, transform 0.25s var(--rg-ease), visibility 0.2s;
    z-index: 30;
}

html[data-theme="classic"] .rg-menu__item:hover .rg-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

html[data-theme="classic"] .rg-menu__dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rg-ink);
}

html[data-theme="classic"] .rg-menu__dropdown a:hover {
    background: var(--rg-blush);
    color: var(--rg-plum);
}

/* Categories trigger — the panel anchors to the bar, not the button */
html[data-theme="classic"] .rg-mega {
    position: static;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* Page-level button styles (shop, blog, product pages) must not reshape this button. */
html[data-theme="classic"] .rg-header .rg-mega__toggle {
    box-sizing: border-box;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    height: 38px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--rg-blush);
    color: var(--rg-plum) !important;
    font-family: var(--rg-sans) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, height var(--rg-nav-dur) var(--rg-ease);
}

html[data-theme="classic"] .rg-mega.is-open .rg-mega__toggle,
html[data-theme="classic"] .rg-header .rg-mega__toggle:hover {
    background: var(--rg-plum);
    color: #fff !important;
}

html[data-theme="classic"] #sf-navbar-root.is-scrolled .rg-header .rg-mega__toggle {
    height: 36px !important;
}

html[data-theme="classic"] .rg-header .rg-mega__toggle > span,
html[data-theme="classic"] .rg-header .rg-mega__toggle > svg {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    position: static;
}

html[data-theme="classic"] .rg-header .rg-mega__toggle-icon {
    flex-direction: column !important;
    gap: 3px;
    width: 14px;
}

html[data-theme="classic"] .rg-mega__toggle-icon i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: width 0.3s var(--rg-ease);
}

html[data-theme="classic"] .rg-mega__toggle-icon i:nth-child(1) { width: 14px; }
html[data-theme="classic"] .rg-mega__toggle-icon i:nth-child(2) { width: 9px; }
html[data-theme="classic"] .rg-mega__toggle-icon i:nth-child(3) { width: 12px; }
html[data-theme="classic"] .rg-mega.is-open .rg-mega__toggle-icon i { width: 14px; }

html[data-theme="classic"] .rg-mega__chev {
    transition: transform 0.3s var(--rg-ease);
}

html[data-theme="classic"] .rg-mega.is-open .rg-mega__chev {
    transform: rotate(180deg);
}

html[data-theme="classic"] .rg-mega__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--rg-gutter);
    width: min(900px, calc(100% - 2 * var(--rg-gutter)));
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 34px 70px -28px rgba(var(--rg-plum-rgb), 0.45), 0 0 0 1px rgba(var(--rg-plum-rgb), 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.28s var(--rg-ease), visibility 0.2s;
    z-index: 60;
}

/* Hover bridge from the trigger down to the panel */
html[data-theme="classic"] .rg-mega__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -32px;
    height: 32px;
}

html[data-theme="classic"] .rg-mega.is-open .rg-mega__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

html[data-theme="classic"] .rg-mega__tabs {
    border-radius: 18px 0 0 18px;
}

/* Search */
html[data-theme="classic"] .rg-header__search {
    flex: 0 1 300px;
    min-width: 200px;
    display: flex;
    align-items: center;
}

html[data-theme="classic"] .rg-header .main-form {
    width: 100%;
    margin: 0;
}

html[data-theme="classic"] .rg-header .inputSearch {
    height: 40px;
    border-radius: 999px !important;
    border: 1px solid var(--rg-line) !important;
    background: #f6f3f8 !important;
    padding-left: 18px !important;
    padding-right: 46px !important;
    font-size: 14px;
    color: var(--rg-ink);
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="classic"] .rg-header .inputSearch::placeholder {
    color: #8f889c;
}

html[data-theme="classic"] .rg-header .inputSearch:hover {
    border-color: rgba(var(--rg-plum-rgb), 0.18) !important;
}

html[data-theme="classic"] .rg-header .inputSearch:focus {
    background: #fff !important;
    border-color: rgba(var(--rg-plum-rgb), 0.35) !important;
    box-shadow: 0 0 0 3px rgba(var(--rg-plum-rgb), 0.08) !important;
    outline: none;
}

html[data-theme="classic"] .rg-header .search-buttons {
    right: 4px !important;
}

html[data-theme="classic"] .rg-header .main-search-button,
html[data-theme="classic"] .rg-header .mic-button {
    background: transparent;
    color: var(--rg-plum);
}

html[data-theme="classic"] .rg-header .main-search-button {
    width: 32px;
    height: 32px;
    margin-right: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    color: var(--rg-plum) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="classic"] .rg-header .main-search-button:hover {
    background: var(--rg-plum) !important;
    color: #fff !important;
}

/* Account / compare / bag */
html[data-theme="classic"] .rg-header__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

html[data-theme="classic"] .rg-header__actions .ah-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}

html[data-theme="classic"] .rg-header__actions .ah-list > li {
    margin: 0 !important;
}

html[data-theme="classic"] .rg-header__actions .ah-list > li:empty {
    display: none;
}

html[data-theme="classic"] .rg-header__actions .ah-list > li > a,
html[data-theme="classic"] .rg-header__actions .compare-link,
html[data-theme="classic"] .rg-header__search-toggle {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 9px !important;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--rg-ink) !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="classic"] .rg-header__actions .ah-list > li > a:hover,
html[data-theme="classic"] .rg-header__actions .compare-link:hover,
html[data-theme="classic"] .rg-header__search-toggle:hover,
html[data-theme="classic"] .rg-header__search-toggle[aria-expanded="true"] {
    background: var(--rg-blush);
    color: var(--rg-plum) !important;
}

html[data-theme="classic"] .rg-header__actions .ah-list > li > a i {
    font-size: 18px !important;
}

html[data-theme="classic"] .rg-header__actions .header-user-chip__name {
    max-width: 96px;
    font-size: 13px;
}

html[data-theme="classic"] .rg-header__actions .sf-cart-icon--header {
    width: 21px;
    height: 21px;
}

html[data-theme="classic"] .rg-header__actions .sf-navbar-cart-link__badge,
html[data-theme="classic"] .rg-header__actions .compare-count {
    position: absolute;
    top: 2px;
    right: 2px;
    left: auto;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--rg-saffron) !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

/* The slide-out bag replaces the hover mini cart */
html[data-theme="classic"] .rg-header .mini-cart {
    display: none !important;
}

/* Narrower desktops: search folds into an icon that drops a search row under the bar */
@media (min-width: 1280px) {
    html[data-theme="classic"] .rg-header__search-toggle {
        display: none !important;
    }
}

@media (max-width: 1279.98px) {
    html[data-theme="classic"] .rg-header__search {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 50;
        min-width: 0;
        justify-content: center;
        padding: 10px var(--rg-gutter) 14px;
        background: #fff;
        border-top: 1px solid var(--rg-line);
        box-shadow: 0 20px 30px -24px rgba(var(--rg-plum-rgb), 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
        transition: opacity 0.2s ease, transform 0.25s var(--rg-ease), visibility 0.2s;
    }

    html[data-theme="classic"] .rg-header__search.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    html[data-theme="classic"] .rg-header__search .main-form {
        max-width: 720px;
    }

    html[data-theme="classic"] .rg-header__search .inputSearch {
        height: 44px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    html[data-theme="classic"] .rg-header__bar {
        gap: 14px;
    }

    html[data-theme="classic"] .rg-menu__link {
        padding: 0 9px;
        font-size: 12.5px;
        letter-spacing: 0.04em;
    }

    html[data-theme="classic"] .rg-menu__link::after {
        left: 9px;
        right: 9px;
    }

    html[data-theme="classic"] .rg-header__actions .header-user-chip__name {
        display: none;
    }
}

/* The vendor sheet turns .ah-lg-mode into an off-canvas panel up to 1024px; keep the icons inline in the bar. */
@media (min-width: 992px) and (max-width: 1024px) {
    html[data-theme="classic"] .rg-header__actions .ah-lg-mode {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        overflow: visible;
        z-index: auto;
    }

    html[data-theme="classic"] .rg-header__actions .ah-close,
    html[data-theme="classic"] .rg-header__actions .js-menu-toggle {
        display: none !important;
    }

    html[data-theme="classic"] .rg-header__actions .ah-list > li {
        display: block;
        border: 0;
    }

    html[data-theme="classic"] .rg-header__actions .has-dropdown > ul {
        position: absolute;
        top: 120%;
        display: block;
        width: auto !important;
        padding: 20px 0;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.13);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    html[data-theme="classic"] .rg-header__actions .has-dropdown:hover > ul {
        top: 100%;
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile bar */
html[data-theme="classic"] .rg-header__mobile-bar {
    min-height: 56px;
    transition: min-height var(--rg-nav-dur) var(--rg-ease);
}

html[data-theme="classic"] #sf-navbar-root.is-scrolled .rg-header__mobile-bar {
    min-height: 52px;
}

html[data-theme="classic"] .rg-header__mobile-logo img {
    max-height: 32px;
    transition: max-height var(--rg-nav-dur) var(--rg-ease);
}

html[data-theme="classic"] #sf-navbar-root.is-scrolled .rg-header__mobile-logo img {
    max-height: 28px;
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="classic"] #sf-navbar-root,
    html[data-theme="classic"] #sf-navbar-root * {
        transition-duration: 0.01s !important;
    }
}

