/*
 * GLEAM UI — Layout overrides
 * Loads after mollee.css; only overrides where Mollee conflicts.
 * Brand tokens defined in gleam.css (:root).
 */

/* ── Page preloader ──────────────────────────────────────────────── */
#g-preloader {
    position: fixed;
    inset: 0;
    background: #F8F4EE;
    z-index: 99999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 1;
    transition: opacity 0.28s ease;
}

#g-preloader.g-preloader--done {
    opacity: 0;
}

#g-preloader-wordmark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 6px;
    color: #6B091C;
    opacity: 0;
    animation: g-pl-fade 0.5s ease 0.08s forwards;
}

#g-preloader-track {
    width: 80px;
    height: 1px;
    background: rgba(107, 9, 28, 0.15);
    position: relative;
    overflow: hidden;
}

#g-preloader-bar {
    position: absolute;
    inset: 0;
    background: #6B091C;
    transform: scaleX(0);
    transform-origin: left;
    animation: g-bar-fill 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@keyframes g-pl-fade {
    to {
        opacity: 1;
    }
}

@keyframes g-bar-fill {
    to {
        transform: scaleX(1);
    }
}

/* ================================================================
   GLOBAL — replace Mollee's Raleway with Gleam's Cerebri / Formula
================================================================ */
body {
    font-family: var(--g-font-ui) !important;
    color: var(--g-ink) !important;
    background: var(--g-cream) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--g-font-serif) !important;
    color: var(--g-ink) !important;
}

/* ================================================================
   SUBSCRIPTION FORM — remove Mollee's bottom padding
================================================================ */
.subscription {
    padding: 0 !important;
}

/* ================================================================
   LOGO
   Mollee hardcodes: .logo { height:22px; display:block }
                     .logo__image { width:82px; height:17px }
================================================================ */
.logo {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    padding: 0 !important;
}

.logo__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain;
}

.header .logo__image {
    height: 70px !important;
    transition: height .3s;
}

.header.scrolled .logo__image {
    height: 60px !important;
}

.footer-logo.logo {
    margin-bottom: 16px !important;
}

.footer-logo .logo__image {
    height: 58px !important;
}

/* ================================================================
   HEADER — push behind sidebar overlay when it opens
   Mollee adds html.hidden while the mobile sidebar is open.
================================================================ */
html.hidden .header {
    z-index: 1 !important;
}

/* ================================================================
   HEADER — vertical alignment
   Override Mollee's asymmetric 47px/2px padding; centre content.
================================================================ */
header.header,
.header {
    background: var(--g-cream) !important;
}

header.header.scrolled,
.header.scrolled {
    background: #fff !important;
}

.header__main {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Main content offset — match actual header height (~82px) */
.main {
    padding-top: 84px !important;
}

.header .header__cols {
    align-items: center !important;
}

.header .header__left {
    display: flex !important;
    align-items: center !important;
}

.header .header__left .header__cols {
    align-items: center !important;
}

.header .header__right {
    display: flex !important;
    align-items: center !important;
}

.header .user-nav {
    display: flex !important;
    align-items: center !important;
    padding-bottom: 0 !important;
}

.header .header-nav__list {
    align-items: center !important;
    padding-bottom: 0 !important;
}

.header-nav__link {
    top: 0 !important;
    line-height: 1 !important;
    color: var(--g-ink) !important;
    font-family: var(--g-font-ui) !important;
    font-size: 11px !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    transition: color .2s !important;
}

.header-nav__link:hover,
.header-nav__link.active {
    color: var(--g-wine) !important;
}

.user-nav__link {
    top: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    color: var(--g-ink) !important;
}

.user-nav__icon_1,
.user-nav__icon_2,
.user-nav__icon_3,
.user-nav__icon_4 {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.user-nav__link:hover {
    color: var(--g-wine) !important;
}

button.user-nav__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Mobile: tighter padding + icon spacing */
@media screen and (max-width: 767px) {
    .header__main {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .header .logo__image {
        height: 62px !important;
    }

    .header.scrolled .logo__image {
        height: 54px !important;
    }

    .header.scrolled .header__main {
        min-height: 75px !important;
    }

    .header .header__cols {
        margin: 0 -8px !important;
    }

    .header .header__right {
        flex-shrink: 0 !important;
    }

    .header .user-nav {
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }

    .user-nav__link {
        padding: 6px 5px !important;
    }
}

/* ================================================================
   ACCOUNT DROPDOWN
================================================================ */
.g-account-drop {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid var(--g-warm-gray);
    min-width: 180px;
    z-index: 200;
    padding: 8px 0;
    box-shadow: 0 6px 24px rgba(11, 8, 9, .08);
}

.g-account-drop__name {
    padding: 10px 18px 8px;
    border-bottom: 1px solid var(--g-cream);
    font-family: var(--g-font-serif);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
}

.g-account-drop__btn {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 18px;
    font-family: var(--g-font-ui);
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: color .2s;
}

.g-account-drop__btn:hover {
    color: var(--g-wine);
}

a.g-account-drop__btn {
    text-decoration: none;
}

/* ================================================================
   MOBILE SIDEBAR — creamy theme
   Mollee default: background:#fff (white).
   We switch to Gleam cream and adapt all text/icon colours.
================================================================ */
.hide-mob__bg {
    background: var(--g-cream) !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: 0 !important;
    padding-bottom: 28px !important;
}

/* Nav links on cream bg */
.mob-nav__link {
    color: var(--g-ink) !important;
    text-align: left !important;
    font-family: var(--g-font-ui) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    padding: 10px 0 !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    line-height: 1 !important;
    display: block !important;
    transition: color .2s !important;
}

.mob-nav__link:hover,
.mob-nav__link.active {
    color: var(--g-wine) !important;
}

/* Sidebar top row — logo + close button side by side */
.hide-mob__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(11, 8, 9, .08);
}

.hide-mob__logo-link {
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity .12s;
}

.hide-mob.active .hide-mob__logo-link {
    opacity: 1;
    transition: opacity .18s .12s;
}

.hide-mob__logo-img {
    display: block !important;
    height: 55px !important;
    width: auto !important;
    max-width: 160px !important;
    margin: 0 !important;
    object-fit: contain;
}

/* Pull close button into flex flow — keep position:relative so ::before/::after X lines render correctly */
.hide-mob__close.close-button {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    flex-shrink: 0;
    background: var(--g-wine) !important;
}

.hide-mob__close.close-button:hover {
    background: var(--g-ink) !important;
}

/* mob-nav flex-grow so socials sit at the bottom */
.hide-mob__bg .mob-nav {
    flex: 1 0 auto;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ================================================================
   SIDEBAR SOCIAL ICONS (cream bg — use dark ink colours)
================================================================ */
.hide-mob__socials {
    position: static !important;
    /* beat Mollee's position:absolute */
    margin-top: auto;
    padding-top: 16px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-top: 1px solid rgba(11, 8, 9, .1);
}

.g-mob-social-label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--g-font-serif);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(11, 8, 9, .38);
}

.g-mob-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.g-mob-socials li:before {
    display: none !important;
    content: "" !important;
}

.g-mob-socials__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(107, 9, 28, .2);
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

/* Override inline fill styles — use !important to beat SVG inline style attr */
.g-mob-socials__link svg {
    display: block;
    fill: rgba(11, 8, 9, .55) !important;
    transition: fill .2s, stroke .2s;
}

.g-mob-socials__link svg.g-mn-stroke {
    fill: none !important;
    stroke: rgba(11, 8, 9, .55) !important;
}

.g-mob-socials__link:hover {
    border-color: var(--g-wine);
    background: var(--g-wine-10);
}

.g-mob-socials__link:hover svg {
    fill: var(--g-wine) !important;
}

.g-mob-socials__link:hover svg.g-mn-stroke {
    fill: none !important;
    stroke: var(--g-wine) !important;
}

/* ================================================================
   SUPPRESS MOLLEE BULLETS on custom lists
================================================================ */
.g-fpolicy-inline li:before,
.footer-nav__list li:before,
.g-footer-pay-list li:before {
    display: none !important;
    content: "" !important;
}

/* Mollee sets footer__main padding-top: 127px — reduce it */
.footer__main {
    padding-top: 60px !important;
}

/* Footer — creamy background with a subtle top border */
footer.footer {
    background: #f7f4ef !important;
    border-top: 1px solid #e8e2d9 !important;
}

/* Remove Mollee's grey stripe pseudo-element above footer */
footer.footer::before {
    display: none !important;
}

/* ================================================================
   IMAGE COVER — cart, wishlist, profile orders
================================================================ */
/* Cart & wishlist shared image container */
.wishlist__left {
    flex-shrink: 0;
    overflow: hidden;
}

.wishlist__right {
    padding-left: 20px;
}

.wishlist__image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.wishlist__remove,
.remove-button {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    background: #f5f5f5;
    border-radius: 50%;
    transition: background .2s;
}

.wishlist__remove:hover,
.remove-button:hover {
    background: #ffe5e5;
}

.wishlist__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block;
}

/* Profile orders image */
.order-table__image-link {
    display: block;
    overflow: hidden;
}

.order-table__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block;
}

/* ================================================================
   FOOTER TITLE
================================================================ */
.footer-title {
    display: block !important;
    font-family: var(--g-font-serif) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 3.5px !important;
    text-transform: uppercase !important;
    color: var(--g-ink) !important;
    padding: 0 0 18px !important;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 22px;
    height: 1px;
    background: var(--g-wine);
    margin-top: 10px;
}

/* ================================================================
   FOOTER GRID
================================================================ */
.g-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.7fr;
    gap: 36px;
    align-items: start;
    padding: 0 0 28px;
}

@media (max-width:1024px) {
    .g-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .g-fcol--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width:540px) {
    .g-footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .g-fcol--brand {
        text-align: center;
    }

    .footer-logo.logo {
        display: inline-block !important;
    }
}

.g-footer-desc {
    font-size: 13px;
    line-height: 1.75;
    color: #888;
    margin: 0 0 4px;
}

/* ================================================================
   FOOTER SOCIAL ICONS
================================================================ */
.g-fsocials {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 8px 0 0;
}

.g-fsocials__label {
    display: block;
    margin: 12px 0 6px;
    font-family: var(--g-font-serif);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bbb;
}

.g-fsocials__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(107, 9, 28, .18);
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.g-fsocials__link svg {
    display: block;
    transition: fill .2s, stroke .2s;
}

.g-fsocials__link:hover {
    border-color: var(--g-wine);
    background: var(--g-wine-10);
}

.g-fsocials__link:hover svg {
    fill: var(--g-wine) !important;
}

.g-fsocials__link:hover svg.g-svg-stroke {
    fill: none !important;
    stroke: var(--g-wine) !important;
}

/* ================================================================
   POLICY TAG LINKS
================================================================ */
.g-fpolicy-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.g-fpolicy-inline a {
    display: inline-block;
    font-family: var(--g-font-serif);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid rgba(107, 9, 28, .18);
    color: #999;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.g-fpolicy-inline a:hover {
    border-color: var(--g-wine);
    color: var(--g-wine);
}

/* ================================================================
   FOOTER BOTTOM BAR
================================================================ */
.footer__bottom {
    padding: 0 !important;
}

.g-footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.g-footer-bottom-row .g-footer-pay-list {
    justify-self: center;
}

.g-footer-bottom-row .g-footer-credit {
    justify-self: end;
}

@media (max-width:640px) {
    .g-footer-bottom-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .g-footer-bottom-row .g-footer-pay-list,
    .g-footer-bottom-row .g-footer-credit {
        justify-self: center;
    }
}

.g-footer-pay-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.g-footer-pay-list li {
    display: flex;
    align-items: center;
}

.g-footer-pay-list img {
    display: block;
    height: 22px;
    width: auto;
    margin: 0 !important;
    opacity: .65;
    transition: opacity .2s;
}

.g-footer-pay-list img:hover {
    opacity: 1;
}

.footer__top {
    padding-bottom: 0 !important;
}

.copyrights {
    font-size: 11px !important;
    color: #bbb !important;
    letter-spacing: .3px !important;
    font-family: inherit !important;
}

.g-footer-credit {
    display: flex;
    align-items: center;
    gap: 6px;
}

.g-footer-credit__text {
    font-size: 11px;
    color: #bbb;
    letter-spacing: .3px;
}

.g-footer-credit__logo {
    height: 13px;
    margin: 0 !important;
    opacity: .38;
    transition: opacity .2s;
}

.g-footer-credit__link:hover .g-footer-credit__logo {
    opacity: .7;
}

/* ================================================================
   STORE PAGE  (/rent/store  &  /purchases/store)
   Clean editorial layout — no hero, just the grid.
================================================================ */
.g-store {
    background: #fafaf8;
    min-height: 70vh;
}
.shop.wrapper { padding-top: 0; }

.g-store--purchase {
    background: #fff;
}

.g-store__head {
    background: var(--g-cream);
    border-bottom: 1px solid var(--g-warm-gray);
    padding: 36px 6vw 0;
}

.g-store--purchase .g-store__head {
    background: #f7f4f1;
}

.g-store__head-inner {
    max-width: 1400px;
    margin: auto;
}

.g-store__crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--g-font-ui);
    font-size: 0.48rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--g-ink);
    opacity: .45;
    margin-bottom: 18px;
}

.g-store__crumb a {
    color: inherit;
    text-decoration: none;
}

.g-store__crumb a:hover {
    opacity: 1;
    color: var(--g-wine);
}

.g-store__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--g-warm-gray);
}

.g-store__title {
    font-family: var(--g-font-serif);
    font-style: italic;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--g-ink);
    margin: 0;
}

.g-store__count {
    font-family: var(--g-font-ui);
    font-size: 0.52rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--g-wine);
}

.g-store--purchase .g-store__count {
    color: var(--g-ink);
    opacity: .45;
}

.g-store__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
}

.g-store__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.g-store__cat {
    font-family: var(--g-font-ui);
    font-size: 0.50rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid var(--g-warm-gray);
    color: var(--g-ink);
    opacity: .55;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}

.g-store__cat:hover {
    opacity: 1;
    border-color: var(--g-wine-60);
    color: var(--g-wine);
}

.g-store__cat.active {
    background: var(--g-ink);
    color: var(--g-cream);
    border-color: var(--g-ink);
    opacity: 1;
}

.g-store--purchase .g-store__cat.active {
    background: var(--g-ink);
}

.g-store__sort {
    font-family: var(--g-font-ui);
    font-size: 0.50rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 28px 6px 12px;
    border: 1px solid var(--g-warm-gray);
    background: transparent;
    color: var(--g-ink);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B091C'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color .2s;
}

.g-store__sort:focus {
    outline: none;
    border-color: var(--g-wine);
}

.g-store__body {
    padding: 40px 6vw 80px;
    max-width: 1400px;
    margin: auto;
}

.g-store__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 20px;
}

@media (max-width:1100px) {
    .g-store__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {
    .g-store__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }
}

@media (max-width:420px) {
    .g-store__grid {
        grid-template-columns: 1fr;
    }
}

.g-store__empty {
    text-align: center;
    padding: 80px 0;
    font-family: var(--g-font-ui);
    font-size: 0.60rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--g-wine);
    opacity: .60;
}

.g-store__pagination {
    margin-top: 48px;
}

/* ================================================================
   SECTION SWITCH — slim vertical tab, right edge, context-aware
================================================================ */
.g-section-switch {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 4px;
    background: var(--g-wine);
    color: rgba(255, 255, 255, .9) !important;
    text-decoration: none !important;
    border-radius: 3px 0 0 3px;
    box-shadow: -2px 0 12px rgba(107, 9, 28, .18);
    transition: transform .22s, box-shadow .22s, background .22s;
}

.g-section-switch:hover {
    background: var(--g-wine) !important;
    color: #fff !important;
    transform: translateY(-50%) translateX(-3px);
    box-shadow: -4px 0 20px rgba(107, 9, 28, .32);
}

.g-section-switch__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    font-family: var(--g-font-ui) !important;
    font-size: 11px !important;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: inherit !important;
}

.g-section-switch__arrow {
    transform: rotate(90deg);
    flex-shrink: 0;
    color: inherit !important;
    opacity: .7;
}

/* ================================================================
   WHATSAPP FLOAT
================================================================ */
.g-wa-float {
    position: fixed;
    bottom: 28px;
    left: 16px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
    z-index: 900;
    transition: transform .25s, box-shadow .25s;
}

.g-wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, .65);
    color: #fff;
}

.g-wa-float:hover .g-wa-tooltip {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
    pointer-events: auto;
}

.g-wa-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37, 211, 102, .22);
    animation: g-wa-pulse 2s ease-out infinite;
}

@keyframes g-wa-pulse {
    0% {
        transform: scale(1);
        opacity: .5;
    }

    70%,
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.g-wa-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateX(-8px) translateY(-50%);
    background: #fff;
    color: #333;
    font-family: var(--g-font-ui);
    font-size: 13px;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
    opacity: 0;
    transition: opacity .22s, transform .22s;
    pointer-events: none;
}

.g-wa-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #fff;
}

/* ================================================================
   BACK TO TOP — circle
================================================================ */
.g-back-top {
    position: fixed;
    bottom: 28px;
    right: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--g-wine);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(107, 9, 28, .4);
    z-index: 9997;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s, background .2s, box-shadow .25s;
    transform: translateY(14px);
}

.g-back-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.g-back-top:hover {
    background: #8b0a24;
    box-shadow: 0 8px 32px rgba(107, 9, 28, .55);
}

.g-back-top.visible:hover {
    transform: translateY(-2px);
}

/* ================================================================
   SIDEBAR CURRENCY SWITCHER
================================================================ */
.hide-mob__currency {
    padding: 12px 20px;
    border-top: 1px solid rgba(11, 8, 9, .1);
    flex-shrink: 0;
}

.g-mn-currency {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.g-mn-currency__btn {
    font-family: var(--g-font-ui);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid rgba(11, 8, 9, .2);
    background: transparent;
    color: var(--g-ink);
    cursor: pointer;
    border-radius: 2px;
    transition: all .2s;
}

.g-mn-currency__btn:hover {
    border-color: var(--g-wine);
    color: var(--g-wine);
}

.g-mn-currency__btn.is-active {
    background: var(--g-wine);
    border-color: var(--g-wine);
    color: #fff;
}

/* ================================================================
   INNER TOP — breadcrumb image blended into background
================================================================ */
.inner-top__right {
    position: relative;
}

/* left fade — image dissolves into cream bg */
.inner-top__right::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
            #F1ECE6 0%,
            rgba(241, 236, 230, .65) 10%,
            rgba(241, 236, 230, .15) 22%,
            transparent 32%);
    pointer-events: none;
}

/* ================================================================
   AUTH — alerts & loading state
================================================================ */
.auth-alert--success {
    background: rgba(107, 9, 28, .06) !important;
    border-left-color: var(--g-wine) !important;
    color: var(--g-wine) !important;
}

.login-form__button.is-loading {
    opacity: .65;
    pointer-events: none;
}

.login-form__button.is-loading .button__text::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1.5px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    animation: g-spin .6s linear infinite;
}

@keyframes g-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================================================================
   AUTH — Google / socials button
================================================================ */
@media (min-width: 768px) {
    .socials-nav {
        margin: 0 !important;
    }

    .socials-nav__item {
        width: auto !important;
        padding: 0 0 12px !important;
    }

    .socials-nav__link {
        width: 100% !important;
        height: 44px !important;
        padding: 0 32px !important;
        font-size: 13px !important;
        letter-spacing: .18em !important;
        justify-content: center !important;
        border: 1px solid rgba(11, 8, 9, .12) !important;
    }
}

/* ================================================================
   TOAST NOTIFICATION
================================================================ */
.g-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 3px;
    font-family: var(--g-font-ui);
    font-size: 13px;
    letter-spacing: .02em;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    box-shadow: 0 8px 32px rgba(11, 8, 9, .18);
}

.g-toast--success {
    background: var(--g-ink);
    color: #fff;
}

.g-toast--success svg {
    color: #6fcf97;
    flex-shrink: 0;
}

.g-toast--error {
    background: #5c1010;
    color: #fff;
}

.g-toast--error svg {
    color: #f28b82;
    flex-shrink: 0;
}

.g-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ================================================================
   OTP / VERIFY EMAIL
================================================================ */
.otp-inputs {
    gap: 10px !important;
    margin-bottom: 24px !important;
    justify-content: center !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.otp-digit {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 46px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(107, 9, 28, .22) !important;
}

.otp-digit:focus {
    border-bottom-color: var(--g-wine) !important;
}

/* ================================================================
   GLOBAL — bullet encoding fix (Mollee style.css Windows-1252 artifact)
================================================================ */
ul li:before {
    content: "• ";
}

/* ================================================================
   PROFILE PAGE
================================================================ */
.profile-page.wrapper {
    padding-top: 28px;
}

.profile-tab {
    padding-top: 28px;
}

/* ── Address modal ────────────────────────────────────────────── */
.g-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 8, 9, .45);
    z-index: 9990;
    align-items: center;
    justify-content: center;
}

.g-modal-backdrop.open {
    display: flex;
}

.g-modal {
    background: #fff;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px 36px;
    position: relative;
    margin: 16px;
}

.g-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.g-modal__title {
    font-family: var(--g-font-serif);
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--g-ink);
    margin: 0 0 24px;
}

.g-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.g-modal__row.full {
    grid-template-columns: 1fr;
}

.g-modal__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.g-modal__label {
    font-family: var(--g-font-ui);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.g-modal__input {
    font-family: var(--g-font-ui);
    font-size: 13px;
    color: var(--g-ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(11, 8, 9, .18);
    padding: 8px 0;
    outline: none;
    transition: border-color .2s;
    width: 100%;
}

.g-modal__input:focus {
    border-bottom-color: var(--g-wine);
}

.g-modal__input.is-invalid {
    border-bottom-color: #c62828;
}

.g-modal__select {
    appearance: none;
    -webkit-appearance: none;
}

.g-modal__check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-family: var(--g-font-ui);
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.g-modal__check input {
    accent-color: var(--g-wine);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.g-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
}

.g-modal__err {
    font-family: var(--g-font-ui);
    font-size: 12px;
    color: #c62828;
    margin-top: 4px;
    display: none;
}

.g-modal__err.show {
    display: block;
}

@media (max-width:540px) {
    .g-modal__row {
        grid-template-columns: 1fr;
    }
}

/* ── Address cards ────────────────────────────────────────────── */
.g-addr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.g-addr-card {
    border: 1px solid var(--g-warm-gray);
    padding: 16px 20px;
    position: relative;
    transition: border-color .2s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 24px;
}

.g-addr-card--default {
    border-color: var(--g-wine);
    border-left: 3px solid var(--g-wine);
}

.g-addr-card>* {
    flex-shrink: 0;
}

.g-addr-card .g-addr-actions {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
}

.g-addr-badge {
    display: inline-block;
    font-family: var(--g-font-ui);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--g-wine);
    padding: 2px 8px;
    margin-bottom: 10px;
}

.g-addr-label {
    font-family: var(--g-font-ui);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 6px;
}

.g-addr-name {
    font-family: var(--g-font-ui);
    font-size: 14px;
    color: var(--g-ink);
    margin-bottom: 4px;
    font-weight: 500;
}

.g-addr-text {
    font-family: var(--g-font-ui);
    font-size: 13px;
    color: #777;
    line-height: 1.65;
    margin: 0 0 4px;
}

.g-addr-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0ece8;
}

.g-addr-btn {
    font-family: var(--g-font-ui);
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #888;
    transition: color .2s;
}

.g-addr-btn:hover {
    color: var(--g-wine);
}

.g-addr-btn.js-addr-default {
    color: var(--g-wine);
}

.g-addr-add {
    border: 1px dashed var(--g-warm-gray);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    background: none;
    width: 100%;
    font-family: var(--g-font-ui);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    transition: border-color .2s, color .2s;
}

.g-addr-add:hover {
    border-color: var(--g-wine);
    color: var(--g-wine);
}

/* ── Profile form ─────────────────────────────────────────────── */
.g-profile-section {
    margin-bottom: 36px;
}

.g-profile-section__title {
    font-family: var(--g-font-serif);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--g-ink);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--g-warm-gray);
}

.g-profile-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.g-profile-row.full {
    grid-template-columns: 1fr;
}

.g-profile-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.g-profile-label {
    font-family: var(--g-font-ui);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.g-profile-input {
    font-family: var(--g-font-ui);
    font-size: 13px;
    color: var(--g-ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(11, 8, 9, .18);
    padding: 10px 0;
    outline: none;
    transition: border-color .2s;
    width: 100%;
}

.g-profile-input:focus {
    border-bottom-color: var(--g-wine);
}

.g-profile-input:disabled,
.g-profile-input[readonly] {
    color: #bbb;
    border-bottom-style: dashed;
    cursor: not-allowed;
}

.g-profile-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.g-profile-msg {
    font-family: var(--g-font-ui);
    font-size: 12px;
    margin-top: 10px;
    text-align: right;
    min-height: 16px;
}

.g-profile-msg--ok {
    color: var(--g-wine);
}

.g-profile-msg--err {
    color: #c62828;
}

@media (max-width:540px) {
    .g-profile-row {
        grid-template-columns: 1fr;
    }
}

/* ── Order status colours (overridden by badge block below) ───── */

/* ── Misc ─────────────────────────────────────────────────────── */
.profile-tab__empty {
    font-family: var(--g-font-ui);
    font-size: 13px;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
}

/* ================================================================
   CONFIRM MODAL
================================================================ */
.g-confirm-box__msg {
    font-family: var(--g-font-ui);
    font-size: 14px;
    color: var(--g-ink);
    line-height: 1.65;
    margin: 0 0 24px;
}

/* ================================================================
   PROFILE — sidebar nav: no bullets
================================================================ */
.profile-page__right li::before,
.tabs-nav li::before,
.profile-nav li::before {
    content: none !important;
}

/* ================================================================
   PROFILE — address card improved layout
================================================================ */
.g-addr-card {
    border: 1px solid var(--g-warm-gray);
    padding: 18px 22px;
    position: relative;
    transition: border-color .2s;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.g-addr-card--default {
    border-color: var(--g-wine);
    border-left: 3px solid var(--g-wine);
}

.g-addr-card .g-addr-actions {
    width: 100%;
    margin-top: 16px;
    padding-top: 12px;
}

/* ================================================================
   PROFILE — force native checkbox in modal
================================================================ */
.g-modal__check input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
}

/* ================================================================
   CONTACT PAGE
================================================================ */
.g-contacts-page {
    padding: 80px 0;
}

.g-contacts-cols {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .g-contacts-cols {
        grid-template-columns: 1fr;
    }
}

.g-cf-field {
    margin-bottom: 22px;
}

.g-cf-label {
    display: block;
    font-family: var(--g-font-serif);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.g-cf-input,
.g-cf-textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 13px 16px;
    font-family: var(--g-font-ui);
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border .2s;
    box-sizing: border-box;
    border-radius: 0;
    -webkit-appearance: none;
}

.g-cf-input:focus,
.g-cf-textarea:focus {
    border-color: #222;
}

.g-cf-textarea {
    resize: vertical;
    min-height: 130px;
}

.g-cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .g-cf-row {
        grid-template-columns: 1fr;
    }
}

.g-cf-error {
    font-size: 12px;
    color: #c62828;
    margin-top: 5px;
    display: block;
}

.g-cf-msg {
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    display: none;
}

.g-cf-msg--ok {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 3px solid #4caf50;
}

.g-cf-msg--err {
    background: #fce4ec;
    color: #c62828;
    border-left: 3px solid #c62828;
}

.g-cinfo-block {
    margin-bottom: 28px;
}

.g-cinfo-label {
    font-family: var(--g-font-serif);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 8px;
}

.g-cinfo-value {
    font-size: 14px;
    color: #333;
    line-height: 1.65;
    margin: 0;
}

.g-cinfo-value a {
    color: #333;
    text-decoration: none;
    transition: color .2s;
}

.g-cinfo-value a:hover {
    color: var(--g-wine);
}

.g-cinfo-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 24px 0;
}

.g-cinfo-socials {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.g-cinfo-soc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    transition: border-color .2s, background .2s;
}

.g-cinfo-soc:hover {
    border-color: #222;
    background: #222;
}

.g-cinfo-soc:hover svg * {
    fill: #fff !important;
    stroke: #fff !important;
}

.g-cinfo-soc svg {
    display: block;
    pointer-events: none;
}

.g-cinfo-map {
    width: 100%;
    height: 220px;
    margin-top: 28px;
    overflow: hidden;
    background: #f0eded;
}

.g-cinfo-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    margin: 0;
}

/* ================================================================
   FAQ PAGE — 2-column grid
================================================================ */
.faq-page {
    padding-top: 0;
    padding-bottom: 80px;
}

.faq-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .faq-page__grid {
        grid-template-columns: 1fr;
    }
}

.faq-page__grid .js-faq-hide {
    display: none;
    padding: 0 32px 20px 0;
}

.faq-page__grid .js-faq-content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.faq-page__grid .js-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.faq-page__grid .js-faq-button {
    padding: 22px 36px 22px 0;
    display: block;
    position: relative;
    font-family: var(--g-font-ui);
    font-size: 14px;
    color: #222;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
}

.faq-page__grid .js-faq-button::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    color: #aaa;
    transition: transform .3s, color .2s;
}

.faq-page__grid .js-faq-item.active .js-faq-button {
    color: var(--g-wine);
}

.faq-page__grid .js-faq-item.active .js-faq-button::after {
    transform: translateY(-50%) rotate(45deg);
    color: var(--g-wine);
}

.faq-page__cat {
    margin-bottom: 48px;
}

.faq-page__cat-title {
    font-family: var(--g-font-serif);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--g-wine);
    margin-bottom: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-page__cta {
    padding: 60px 0;
    text-align: center;
    background: #f8f6f4;
    margin-top: 60px;
}

.faq-page__cta-text {
    font-size: 14px;
    color: #888;
    margin: 12px 0 28px;
}

.faq-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-filter__btn {
    font-family: var(--g-font-serif);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: none;
    border: 1px solid #e0e0e0;
    color: #aaa;
    padding: 8px 20px;
    cursor: pointer;
    transition: all .2s;
}

.faq-filter__btn.active,
.faq-filter__btn:hover {
    border-color: #222;
    color: #222;
}

.faq-page__cat.is-hidden {
    display: none;
}

/* ================================================================
   POLICY PAGE
================================================================ */
.policy-section {
    padding: 0 0 80px;
}

.policy-wrap {
    padding: 0 20px;
}

.policy-wrap h2 {
    font-family: var(--g-font-serif);
    font-size: 20px;
    letter-spacing: 1px;
    color: #222;
    margin: 36px 0 12px;
    font-weight: 400;
}

.policy-wrap h3 {
    font-family: var(--g-font-serif);
    font-size: 14px;
    letter-spacing: 1px;
    color: #444;
    margin: 24px 0 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.policy-wrap p {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
    margin: 0 0 16px;
}

.policy-wrap ul {
    padding-left: 20px;
    margin: 0 0 16px;
}

.policy-wrap ul li {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 6px;
}

.policy-wrap a {
    color: #222;
    text-decoration: underline;
}

.policy-meta {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--g-font-serif);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.policy-footer-links {
    display: flex;
    gap: 16px;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.policy-footer-links a {
    font-family: var(--g-font-serif);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    transition: color .2s;
}

.policy-footer-links a:hover,
.policy-footer-links a.current {
    color: #222;
}

@media (max-width: 768px) {
    .policy-section {
        padding-bottom: 48px;
    }

    .policy-wrap {
        padding: 0 16px;
    }

    .policy-wrap h2 {
        font-size: 16px;
        margin: 28px 0 10px;
    }

    .policy-footer-links {
        gap: 12px;
        margin-top: 40px;
    }

    .policy-footer-links a {
        font-size: 10px;
    }
}

/* ================================================================
   ABOUT PAGE
================================================================ */
.about-company {
    padding: 40px 10px;
}

.about-company__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-company__col {
    width: auto;
}

@media (max-width: 768px) {
    .about-company__cols {
        grid-template-columns: 1fr;
    }
}

.about-company__label {
    font-family: var(--g-font-serif);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--g-wine);
    margin-bottom: 16px;
    display: block;
}

.about-company__title {
    font-family: var(--g-font-serif);
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #222;
    line-height: 1.2;
    margin: 0 0 24px;
}

.about-company__text {
    font-size: 15px;
    color: #666;
    line-height: 1.85;
    margin: 0 0 14px;
}

.about-company__image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.about-company__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid #eee;
}

.about-company__stat-num {
    display: block;
    font-family: var(--g-font-serif);
    font-size: 40px;
    font-weight: 300;
    color: var(--g-wine);
    line-height: 1;
    margin-bottom: 8px;
}

.about-company__stat-label {
    font-family: var(--g-font-serif);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.g-inner-deal {
    padding: 80px 0;
    background: #f8f6f4;
}

.g-inner-deal__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .g-inner-deal__cols {
        grid-template-columns: 1fr;
    }
}

.g-inner-deal__image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.g-inner-deal__label {
    font-family: var(--g-font-serif);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--g-wine);
    margin-bottom: 16px;
    display: block;
}

.g-inner-deal__title {
    font-family: var(--g-font-serif);
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #222;
    line-height: 1.2;
    margin: 0 0 20px;
}

.g-inner-deal__text {
    font-size: 15px;
    color: #666;
    line-height: 1.85;
    margin: 0 0 32px;
}

.inner-deal::before {
    display: none;
}

.inner-deal__right {
    background: rgba(255, 255, 255, 0.35);
    padding: 24px;
}


/* ================================================================
   HOME SECTIONS
================================================================ */
.g-home-section {
    padding: 80px 0;
}

.g-home-section--alt {
    background: #f8f6f4;
}

.g-home-section .wrapper {
    max-width: 1200px;
}

.g-home-section__head {
    margin-bottom: 48px;
}

.g-home-view-all {
    text-align: center;
    margin-top: 48px;
}

/* ================================================================
   STORE PAGE — SIDEBAR & PRODUCT CARDS
================================================================ */
/* Price range slider */
.range { padding: 8px 0 0; }
.range__slider { position: relative; height: 4px; margin-bottom: 14px; }
.range__track-bg { position: absolute; inset: 0; background: var(--g-warm-gray, #D7CEC5); border-radius: 2px; }
.range__track-fill { position: absolute; top: 0; height: 4px; background: var(--g-wine, #6B091C); border-radius: 2px; pointer-events: none; }
.range__input { position: absolute; width: 100%; height: 4px; top: 0; margin: 0; background: transparent; outline: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.range__input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: all; width: 16px; height: 16px; border-radius: 50%; background: var(--g-wine, #6B091C); cursor: pointer; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(107,9,28,.35); }
.range__input::-moz-range-thumb { pointer-events: all; width: 14px; height: 14px; border-radius: 50%; background: var(--g-wine, #6B091C); cursor: pointer; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(107,9,28,.35); }
.range__values { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--g-ink, #0b0809); letter-spacing: 0.03em; }

/* Color filter in sidebar */
.g-color-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g-color-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.g-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, .12);
    flex-shrink: 0;
}

/* Color swatches on product cards */
.g-swatches {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px 4px;
    flex-wrap: wrap;
}

.g-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .12);
    flex-shrink: 0;
    cursor: default;
}

.g-swatch--sm {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .12);
    vertical-align: middle;
    margin-right: 4px;
}

.g-swatch-more {
    font-size: 10px;
    color: #888;
    letter-spacing: 0.5px;
}

/* Product card — base image fixes (store/catalog inline cards) */
.short-item__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
    display: block;
    transition: opacity .2s;
}

.g-img-fallback {
    object-fit: cover !important;
}

/* Product card — availability badge */
.g-card-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(11, 8, 9, .62);
    color: #fff;
    font-family: var(--g-font-ui, sans-serif);
    font-size: .58rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .32rem .5rem;
    pointer-events: none;
}

/* Product card — icon action buttons (wishlist + cart) */
.g-card-btns {
    display: flex;
    gap: 5px;
}

.g-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(241, 236, 230, .92);
    border: 1px solid rgba(107, 9, 28, .22);
    cursor: pointer;
    color: var(--g-ink, #0b0809);
    transition: background .18s, border-color .18s, color .18s;
    flex-shrink: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.g-icon-btn svg {
    pointer-events: none;
}

.g-icon-btn:hover:not(:disabled) {
    background: var(--g-wine, #6B091C);
    border-color: var(--g-wine, #6B091C);
    color: #fff;
}

.g-icon-btn.active {
    color: var(--g-wine, #6B091C);
    border-color: rgba(107, 9, 28, .42);
    background: rgba(107, 9, 28, .07);
}

.g-icon-btn.active svg path {
    fill: var(--g-wine, #6B091C);
    stroke: var(--g-wine, #6B091C);
}

.g-icon-btn:disabled {
    opacity: .38;
    cursor: not-allowed;
}

.short-item__add {
    display: none !important;
}

/* Store banner with hotspots */
.g-store-banner {
    position: relative;
    margin-bottom: 24px;
    overflow: hidden;
    max-height: 320px;
}

.g-store-banner__img-wrap {
    position: relative;
}

.g-store-banner__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.g-store-banner__content {
    position: absolute;
    bottom: 28px;
    left: 32px;
    z-index: 4;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.g-store-banner__title {
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 14px;
}

/* ================================================================
   PRODUCT PAGE
================================================================ */
.product__category {
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--g-wine, #5c1a2e);
    display: block;
    margin-bottom: 8px;
}

.product__price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 16px 0 24px;
}

.product__price small {
    font-size: 13px;
    color: #888;
}

.product__wishlist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid #ddd;
    cursor: pointer;
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    transition: border-color .2s, color .2s;
    margin-top: 10px;
}

.product__wishlist-btn:hover {
    border-color: #888;
    color: #333;
}

.product__wishlist-btn.active {
    border-color: var(--g-wine);
    color: var(--g-wine);
}

.g-wish-icon {
    font-size: 16px;
}

.product__meta {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #888;
}

.product__meta-label {
    font-weight: 600;
    margin-right: 6px;
}

.g-out-label {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c62828;
    background: #fce4ec;
    padding: 1px 5px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Product gallery thumbnails */
.g-prod-thumbs {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.g-prod-thumb {
    width: 64px;
    height: 72px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: border-color .15s;
    background: #f5f5f5;
}

.g-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.g-prod-thumb.active {
    border-color: var(--g-wine);
}

.g-prod-thumb:hover:not(.active) {
    border-color: rgba(107, 9, 28, .28);
}

/* Product variant picker */
.pv-section {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    margin: 1.2rem 0 1.6rem;
}

.pv-row {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.pv-label-row {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.pv-label {
    font-family: var(--g-font-ui, sans-serif);
    font-size: .6rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #999;
}

.pv-sel-name {
    font-family: var(--g-font-ui, sans-serif);
    font-size: .7rem;
    color: var(--g-ink);
    font-weight: 500;
    letter-spacing: .01em;
}

/* Color swatches */
.pv-swatches {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    padding: .1rem 0;
}

.pv-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, .9);
    outline: 2px solid transparent;
    outline-offset: 2px;
    cursor: pointer;
    transition: outline-color .15s, transform .12s;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    padding: 0;
    flex-shrink: 0;
}

.pv-swatch:hover {
    outline-color: rgba(107, 9, 28, .35);
    transform: scale(1.08);
}

.pv-swatch.active {
    outline-color: var(--g-wine);
    transform: scale(1.1);
}

/* Size pills (for color+size products) */
.pv-sizes {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.pv-size-pill {
    min-width: 42px;
    height: 36px;
    padding: 0 .85rem;
    border: 1px solid rgba(215, 206, 197, .75);
    background: #fff;
    font-family: var(--g-font-ui, sans-serif);
    font-size: .65rem;
    letter-spacing: .06em;
    color: var(--g-ink);
    cursor: pointer;
    transition: background .14s, border-color .14s, color .14s;
}

.pv-size-pill:hover:not(.pv-size-pill--oos) {
    border-color: var(--g-ink);
}

.pv-size-pill.active {
    background: var(--g-ink);
    border-color: var(--g-ink);
    color: #fff;
}

.pv-size-pill--oos {
    opacity: .3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Size select (size-only products) */
.pv-select {
    height: 40px;
    padding: 0 2.2rem 0 .9rem;
    border: 1px solid rgba(215, 206, 197, .85);
    background: #fff;
    font-family: var(--g-font-ui, sans-serif);
    font-size: .68rem;
    letter-spacing: .04em;
    color: var(--g-ink);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    min-width: 180px;
}

.pv-select:focus {
    outline: none;
    border-color: var(--g-ink);
}

.pv-oos-note {
    font-family: var(--g-font-ui, sans-serif);
    font-size: .6rem;
    color: #c62828;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: .15rem;
}

/* Tabs */
.product-tabs {
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
}

.products-nav.tabs-nav {
    justify-content: center;
}

.products-nav .tabs-nav__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.tabs-nav__item {
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #aaa;
    transition: color .2s;
}

.tabs-nav__item.active {
    color: #222;
}

.tabs-nav__line {
    background: var(--g-wine) !important;
}

.tabs-nav__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #eee;
    border-radius: 50%;
    font-size: 10px;
    color: #666;
    margin-left: 6px;
}

.tabs-content__item {
    display: none;
}

.tabs-content__item.active {
    display: block;
}

.product__description {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
}

/* Reviews */
.reviews__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.review {
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}

.review:last-child {
    border-bottom: none;
}

.review__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.review__author {
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 15px;
    color: #222;
}

.review__date {
    font-size: 12px;
    color: #aaa;
}

.review__stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 14px;
}

.star--on {
    color: #c4a882;
}

.review__text {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

.g-no-reviews {
    font-size: 14px;
    color: #aaa;
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-style: italic;
}
.g-review-success { background: #f0faf0; border: 1px solid #b6ddb6; color: #2d6a2d; padding: 12px 16px; margin-bottom: 18px; font-size: 0.85rem; border-radius: 2px; }
.g-field-error { display: block; color: var(--g-wine, #6B091C); font-size: 0.75rem; margin-top: 4px; }

/* Related products */
.g-related {
    padding: 64px 0;
}

.g-related .main-block__head {
    margin-bottom: 40px;
}

/* Categories */
.g-home-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .g-home-cats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.g-home-cat {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #1a0508;
}

.g-home-cat__img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    margin: 0;
    transition: transform .55s ease;
}

.g-home-cat:hover .g-home-cat__img {
    transform: scale(1.05);
}

.g-home-cat__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 16px;
    background: linear-gradient(to top, rgba(10, 4, 6, .72), transparent);
}

.g-home-cat__name {
    font-family: var(--g-font-serif);
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    display: block;
}

.g-home-cat__count {
    font-family: var(--g-font-serif);
    font-size: 11px;
    color: rgba(255, 255, 255, .65);
    display: block;
    margin-top: 4px;
}

/* Product card extra — legacy (kept for other usages) */
.g-card-actions {
    padding: 8px 0 2px;
}

.short-item__price small {
    font-size: 11px;
    color: #aaa;
    font-family: var(--g-font-serif);
}

/* ── Product grid — responsive columns ───────────────────────────────────── */
@media (max-width: 900px) {
    .main-catalog__list .short-item {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .main-catalog__list .short-item {
        width: 50%;
    }

    .short-item__all {
        margin: 0 8px 32px;
    }
}

/* ── Product card — SQUARE image via padding-bottom trick ─────────────── */
/* The wrapper creates a 1:1 square with no dependency on style.css height */
.g-card-img-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 0 !important;
    padding-bottom: 100%;
    /* 1:1 square */
    overflow: hidden;
    margin-bottom: 20px;
    /* spacing to title, replaces short-item__image-bg margin */
}

/* The link + img fill the square absolutely */
.g-card-img-wrap .short-item__image-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    display: block;
}

.g-card-img-wrap .short-item__image {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
}

/* Overlay elements still position inside the square */
.g-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.g-card-icon-btns {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.g-icon-btn svg path {
    fill: none;
}

.g-icon-btn.active svg path {
    fill: currentColor;
    stroke: currentColor;
}

/* ── Variant modal — revised layout ──────────────────────────────────────── */
.g-rm-box {
    max-width: 420px;
    padding: 16px 20px 20px;
}

/* Header */
.g-rm-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.g-rm-thumb {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border: 1px solid #eee;
    overflow: hidden;
    background: #f9f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-rm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    margin: 0;
}

.g-rm-thumb-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-rm-header-info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.g-rm-subtitle {
    font-size: 10px;
    color: #aaa;
    font-family: var(--g-font-serif);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.g-rm-title {
    font-family: var(--g-font-serif);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .5px;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

/* Sections */
.g-rm-section {
    margin-bottom: 8px;
}

.g-rm-box p {
    padding: 0;
}

.g-rm-label {
    font-family: var(--g-font-ui, sans-serif);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 6px;
}

.g-rm-label-val {
    color: #222;
    font-weight: 600;
}

/* Color swatches */
.g-rm-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.g-rm-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
    cursor: pointer;
    transition: box-shadow .15s;
    flex-shrink: 0;
    padding: 0;
    appearance: none;
}

.g-rm-color-swatch:hover {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}

.g-rm-color-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--g-wine, #6B091C);
}

.g-rm-color-swatch--oos {
    opacity: .35;
    cursor: not-allowed;
}

/* Size dropdown */
.g-rm-size-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    font-family: var(--g-font-serif);
    font-size: 13px;
    color: #222;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    transition: border-color .15s;
}

.g-rm-size-select:focus {
    outline: none;
    border-color: var(--g-wine, #6B091C);
}

/* Price + stock */
.g-rm-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.g-rm-price-display {
    font-family: var(--g-font-serif);
    font-size: 18px;
    color: #111;
    margin: 0;
}

.g-rm-price-display small {
    font-size: 11px;
    color: #aaa;
}

.g-rm-stock-label {
    font-family: var(--g-font-ui, sans-serif);
    font-size: 11px;
    color: #777;
    letter-spacing: .5px;
}

.g-rm-stock-label--oos {
    color: #c62828;
}

/* Quantity row */
.g-rm-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.g-rm-qty-label {
    font-family: var(--g-font-ui, sans-serif);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.g-rm-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.g-rm-qty-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #444;
    transition: background .15s;
}

.g-rm-qty-btn:hover {
    background: #f5f5f5;
}

.g-rm-qty-input {
    width: 38px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 13px;
    color: #222;
    background: #fff;
}

/* Total row */
.g-rm-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 0 0;
    border-top: 1px solid #f0ece8;
    margin-bottom: 12px;
}

.g-rm-total-label {
    font-family: var(--g-font-ui, sans-serif);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.g-rm-total-price {
    font-family: var(--g-font-serif);
    font-size: 16px;
    color: var(--g-wine, #6B091C);
}

/* Shake validation feedback */
@keyframes g-rm-shake {

    0%,
    100% {
        transform: translateX(0)
    }

    20% {
        transform: translateX(-5px)
    }

    40% {
        transform: translateX(5px)
    }

    60% {
        transform: translateX(-4px)
    }

    80% {
        transform: translateX(4px)
    }
}

.g-rm-shake {
    animation: g-rm-shake .5s ease;
    border-color: #c62828 !important;
}

/* Fix checkbox double-check: style.css has two conflicting ::after blocks (SVG bg + CSS borders).
   Clear the SVG background so only the CSS border checkmark shows. */
.checkbox__input {
    display: none !important;
}

.checkbox__icon:after {
    background: none !important;
}

/* ================================================================
   WISHLIST PAGE
================================================================ */
.wishlist__price small {
    font-size: 11px;
    color: #aaa;
    font-family: var(--g-font-serif);
    margin-left: 2px;
}

.wishlist__add.g-btn-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.red {
    color: #e53935;
}

.green {
    color: #4caf50;
}

/* ================================================================
   CART PAGE
================================================================ */
.g-cart-variant {
    display: inline-block;
    font-family: var(--g-font-ui, sans-serif);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    background: #f5f0eb;
    padding: 2px 7px;
    margin-top: 4px;
}

.g-cart-warn {
    font-family: var(--g-font-serif);
    font-size: 11px;
    color: #e53935;
    letter-spacing: 1px;
    margin: 4px 0 0;
}

.g-cart-stock {
    font-family: var(--g-font-ui, sans-serif);
    font-size: 11px;
    color: #888;
    letter-spacing: .5px;
    margin: 3px 0 0;
    padding: 0;
}

.g-cart-item--warn {
    background: rgba(229, 57, 53, .03);
}

.g-cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.g-cart-clear-btn {
    font-family: var(--g-font-serif);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: none;
    border: 1px solid #ddd;
    color: #aaa;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .2s;
}

.g-cart-clear-btn:hover {
    border-color: #222;
    color: #222;
}

/* Promo */
.g-promo-msg {
    font-family: var(--g-font-serif);
    font-size: 12px;
    letter-spacing: 1px;
    margin: 8px 0 0;
    min-height: 18px;
}

.g-promo-remove {
    font-family: var(--g-font-serif);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-top: 6px;
}

.g-promo-remove:hover {
    color: #e53935;
}

/* Empty state */
.g-empty-state {
    text-align: center;
    padding: 80px 0 100px;
}

.g-empty-state__icon {
    font-size: 60px;
    margin-bottom: 24px;
    color: #ddd;
}

.g-empty-state__text {
    font-family: var(--g-font-serif);
    font-size: 18px;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 32px;
    text-transform: uppercase;
}

/* ── Checkout ─────────────────────────────────────────────────── */
.checkout-page {
    padding: 40px 16px 80px;
}

@media (min-width: 576px) {
    .checkout-page {
        padding: 40px 24px 80px;
    }
}

/* Progress nav */
.checkout-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 0 auto 10px;
    text-align: center;
}

.checkout-nav__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ccc;
    position: relative;
}

.checkout-nav__item+.checkout-nav__item::before {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: #e0e0e0;
    margin: 0 16px;
}

/* Tablet */
@media (max-width: 768px) {
    .checkout-nav__item {
        font-size: 10px;
        letter-spacing: 1px;
        gap: 7px;
    }
    .checkout-nav__item+.checkout-nav__item::before {
        width: 32px;
        margin: 0 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .checkout-nav {
        flex-wrap: wrap;
        gap: 6px;
        padding: 0 8px;
    }
    .checkout-nav__item {
        font-size: 9px;
        letter-spacing: 0.5px;
        gap: 5px;
    }
    .checkout-nav__label {
        display: none;
    }
    .checkout-nav__item+.checkout-nav__item::before {
        width: 16px;
        margin: 0 4px;
    }
}

/* Very small */
@media (max-width: 340px) {
    .checkout-nav__num {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .checkout-nav__item+.checkout-nav__item::before {
        width: 10px;
        margin: 0 2px;
    }
}

.checkout-nav__item.active {
    color: #222;
}

.checkout-nav__item.current .checkout-nav__num {
    background: #222;
    color: #fff;
}

.checkout-nav__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 12px;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.checkout-nav__label {
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
}

/* Two-column layout */
.checkout-page__cols {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 10px;
    align-items: start;
}

@media (max-width: 900px) {
    .checkout-page__cols {
        grid-template-columns: 1fr;
    }
}

/* Sections */
.checkout-section {
    margin-bottom: 0;
    padding-bottom: 36px;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-section:last-child {
    border-bottom: none;
}

.checkout-section__title {
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 20px;
    font-weight: 400;
}

.checkout-optional {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 1px;
    text-transform: none;
}

/* Form rows */
.checkout-row {
    margin-bottom: 16px;
}

.checkout-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .checkout-row--2 {
        grid-template-columns: 1fr;
    }
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.req {
    color: #c62828;
}

.checkout-input {
    width: 100%;
}

.checkout-textarea {
    resize: vertical;
    min-height: 90px;
}

.checkout-hint {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    min-height: 18px;
}

.checkout-saved-wrap {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Billing toggle */
.checkout-toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}

.checkout-toggle-input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #222;
    cursor: pointer;
}

.checkout-billing-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed #eee;
}

/* Form errors */
.g-form-errors {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

.g-form-errors ul {
    margin: 0;
    padding: 0 0 0 18px;
}

.g-form-errors li {
    font-size: 13px;
    color: #c62828;
    line-height: 1.8;
}

/* Actions bar */
.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.checkout-back {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
}

.checkout-back:hover {
    color: #222;
}

.checkout-submit {
    min-width: 200px;
}

.checkout-edit-link {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    text-decoration: underline;
    cursor: pointer;
}

.checkout-edit-link:hover {
    color: #222;
}

/* Summary block (step 2 left) */
.checkout-summary-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.checkout-summary-row {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.checkout-summary-label {
    width: 130px;
    flex-shrink: 0;
    color: #888;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-top: 2px;
}

.checkout-summary-val {
    color: #333;
    line-height: 1.5;
}

.checkout-days {
    font-style: normal;
    color: #c4a882;
    margin-left: 6px;
}

/* Payment option */
.checkout-payment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .2s;
}

.checkout-payment-option.active {
    border-color: #c4a882;
    background: #fdfaf6;
}

.checkout-payment-option__icon {
    color: #c4a882;
    flex-shrink: 0;
}

.checkout-payment-option__body {
    flex: 1;
}

.checkout-payment-option__title {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 2px;
}

.checkout-payment-option__desc {
    font-size: 12px;
    color: #888;
}

.checkout-payment-option__check {
    color: #c4a882;
    font-size: 16px;
    flex-shrink: 0;
}

/* Pricing table */
.checkout-section--pricing {}

.checkout-pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.checkout-pricing-table__item td {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: top;
    color: #333;
}

.checkout-pricing-table__item td:last-child {
    text-align: right;
    white-space: nowrap;
    padding-left: 12px;
}

.checkout-pricing-table__calc {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
}

.checkout-pricing-table tfoot th,
.checkout-pricing-table tfoot td {
    padding: 8px 0;
    font-size: 12px;
    color: #666;
    text-align: left;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-top: 1px solid #f0f0f0;
}

.checkout-pricing-table tfoot td {
    text-align: right;
}

.checkout-pricing-table__promo th,
.checkout-pricing-table__promo td {
    color: #2e7d32;
}

.checkout-pricing-table__total th,
.checkout-pricing-table__total td {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    border-top: 2px solid #222;
    padding-top: 12px;
}

.checkout-order-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 12px;
    font-style: italic;
}

/* Side-cart in sidebar */
.side-cart {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.side-cart__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

.side-cart__item:last-child {
    border-bottom: none;
}

.side-cart__image-wrap {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2px;
    background: #f7f5f2;
}

.side-cart__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-cart__image-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
}

.side-cart__info {
    flex: 1;
    min-width: 0;
}

.side-cart__name {
    display: block;
    font-size: 13px;
    color: #222;
    line-height: 1.4;
    margin-bottom: 2px;
}

.side-cart__variant {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.side-cart__qty {
    display: block;
    font-size: 11px;
    color: #aaa;
}

.side-cart__price {
    font-size: 13px;
    color: #222;
    white-space: nowrap;
    flex-shrink: 0;
}

.side-cart__price small {
    font-size: 10px;
    color: #aaa;
}

/* Thank you page */
.thanks {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px 80px;
}

.thanks__icon {
    margin-bottom: 28px;
}

.thanks__title {
    font-family: var(--g-font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 42px;
    font-weight: 400;
    color: #222;
    margin-bottom: 16px;
}

.thanks__text {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 36px;
}

.thanks__details {
    background: #faf8f5;
    border: 1px solid #ede8df;
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 28px;
    text-align: left;
}

.thanks__detail-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f0ebe4;
    font-size: 13px;
}

.thanks__detail-row:last-child {
    border-bottom: none;
}

.thanks__detail-label {
    color: #888;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-top: 2px;
}

.thanks__detail-val {
    color: #222;
    font-weight: 500;
    text-align: right;
}

.thanks__detail-row--total .thanks__detail-label,
.thanks__detail-row--total .thanks__detail-val {
    font-size: 15px;
    color: #222;
    font-weight: 600;
}

.thanks__items {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    text-align: left;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.thanks__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}

.thanks__item:last-child {
    border-bottom: none;
}

.thanks__item-name {
    flex: 1;
    color: #333;
}

.thanks__item-qty {
    color: #aaa;
    white-space: nowrap;
}

.thanks__item-price {
    color: #222;
    font-weight: 500;
    white-space: nowrap;
    margin-left: auto;
}

.thanks__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Fulfillment method selection */
.checkout-fulfillment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-fulfillment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.checkout-fulfillment-option.active {
    border-color: #c4a882;
    background: #fdfaf6;
}

.checkout-fulfillment-option__icon {
    color: #c4a882;
    flex-shrink: 0;
}

.checkout-fulfillment-option__body {
    flex: 1;
}

.checkout-fulfillment-option__title {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 3px;
}

.checkout-fulfillment-option__desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.checkout-fulfillment-option__check {
    color: #c4a882;
    font-size: 16px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .2s;
}

.checkout-fulfillment-option.active .checkout-fulfillment-option__check {
    opacity: 1;
}

.checkout-pickup-badge {
    color: #2e7d32;
    font-weight: 500;
}

/* =============================================================
   FULL-SCREEN SEARCH MODAL
============================================================= */
.g-search {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--g-cream);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.g-search.is-open {
    opacity: 1;
    pointer-events: auto;
}

.g-search__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--g-ink);
    opacity: .4;
    transition: opacity .15s;
    z-index: 2;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.g-search__close:hover {
    opacity: 1;
}

/* ── Input bar ── */
.g-search__bar {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 2rem 5vw 1.4rem;
    border-bottom: 1px solid rgba(215, 206, 197, .5);
    flex-shrink: 0;
}

.g-search__icon {
    color: rgba(11, 8, 9, .28);
    flex-shrink: 0;
}

.g-search__input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--g-font-serif, serif);
    font-size: clamp(1.5rem, 3.5vw, 2.6rem);
    font-weight: 300;
    color: var(--g-ink);
    letter-spacing: .02em;
}

.g-search__input::placeholder {
    color: rgba(11, 8, 9, .18);
}

.g-search__input::-webkit-search-cancel-button {
    display: none;
}

/* ── Category filters ── */
.g-search__cats {
    display: flex;
    gap: .4rem;
    padding: .75rem 5vw;
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(215, 206, 197, .3);
}

.g-search__cats::-webkit-scrollbar {
    display: none;
}

.g-search__cat {
    flex-shrink: 0;
    padding: .3rem .9rem;
    border: 1px solid rgba(215, 206, 197, .7);
    border-radius: 20px;
    background: transparent;
    font-family: var(--g-font-ui, sans-serif);
    font-size: .68rem;
    letter-spacing: .06em;
    color: #888;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

.g-search__cat:hover {
    border-color: var(--g-wine);
    color: var(--g-ink);
}

.g-search__cat.is-on {
    background: var(--g-wine);
    border-color: var(--g-wine);
    color: #fff;
}

/* ── Results ── */
.g-search__results {
    flex: 1;
    overflow-y: auto;
    padding: 1.4rem 5vw 3rem;
}

.g-search__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.4rem 1.2rem;
}

/* Card */
.g-search__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--g-ink);
}

.g-search__card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(215, 206, 197, .25);
    margin-bottom: .55rem;
}

.g-search__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}

.g-search__card:hover .g-search__card-img img {
    transform: scale(1.05);
}

.g-search__card-cat {
    font-family: var(--g-font-ui, sans-serif);
    font-size: .55rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--g-wine);
    margin-bottom: .12rem;
}

.g-search__card-name {
    font-family: var(--g-font-serif, serif);
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: .18rem;
    color: var(--g-ink);
}

.g-search__card-price {
    font-family: var(--g-font-ui, sans-serif);
    font-size: .65rem;
    color: var(--g-warm-gray);
    letter-spacing: .02em;
}

/* Empty / loading */
.g-search__empty {
    text-align: center;
    padding: 5rem 0;
    font-family: var(--g-font-serif, serif);
    font-size: 1rem;
    color: rgba(11, 8, 9, .28);
    letter-spacing: .04em;
    margin: 0;
}

@media (max-width: 640px) {
    .g-search__bar {
        padding: 1.4rem 5vw 1rem;
        gap: .75rem;
    }

    .g-search__cats {
        padding: .6rem 5vw;
    }

    .g-search__results {
        padding: 1rem 5vw 2rem;
    }

    .g-search__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem .8rem;
    }

    .g-search__close {
        top: 14px;
        right: 16px;
    }
}

/* =============================================================
   Mix & Match — 3D coverflow + instant live preview
============================================================= */

/* ── Page intro ── */
.mm-intro {
    text-align: center;
    padding: 1.6rem 1.5rem 1.2rem;
    background: var(--g-cream);
    border-bottom: 1px solid rgba(215, 206, 197, .4);
}

.mm-intro__orn {
    display: block;
    font-size: .38rem;
    color: var(--g-wine);
    letter-spacing: .5em;
    margin-bottom: .5rem;
}

.mm-intro__title {
    font-family: var(--g-font-serif, serif);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--g-warm-gray);
    margin: 0 0 .55rem;
    line-height: 1.12;
    padding-bottom: 10px;
}

.mm-intro__sub {
    font-size: .76rem;
    color: var(--g-warm-gray);
    letter-spacing: .05em;
    font-family: var(--g-font-ui, sans-serif);
    margin: 0 0 .7rem;
    padding: 0;
}

.mm-intro__steps {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.4rem;
    border: 1px solid rgba(215, 206, 197, .5);
    border-radius: 30px;
    background: rgba(255, 255, 255, .6);
}

.mm-intro__step {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .67rem;
    font-family: var(--g-font-ui, sans-serif);
    color: #888;
    letter-spacing: .03em;
    white-space: nowrap;
}

.mm-intro__step-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--g-blush-15);
    color: var(--g-wine);
    font-size: .6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mm-intro__step-sep {
    width: 24px;
    height: 1px;
    background: rgba(215, 206, 197, .5);
}

/* ── Outer layout ── */
.mm-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: .25rem 0 1rem;
    background: var(--g-cream);
}

.mm-left {
    flex: 1 1 0;
    min-width: 0;
}

.mm-panel {
    flex: 0 0 310px;
    width: 310px;
    position: sticky;
    top: 20px;
}

/* ── Waistline divider between sliders ── */
.mm-waistline {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0 0 .15rem;
    color: rgba(107, 9, 28, .25);
}

.mm-waistline::before,
.mm-waistline::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(215, 206, 197, .6), transparent);
}

.mm-waistline__orn {
    font-size: .42rem;
    flex-shrink: 0;
}

/* ── Sections (sliders) ── */
.mm-section {
    margin-bottom: .25rem;
}

.mm-section:last-child {
    margin-bottom: 0;
}

.mm-section__bar {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .12rem 0 .15rem;
    margin-bottom: .25rem;
    border-bottom: 1px solid rgba(215, 206, 197, .5);
}

.mm-section__label {
    font-family: var(--g-font-serif, serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--g-warm-gray);
    margin: 0;
    line-height: 1;
    align-self: center;
    display: flex;
    align-items: center;
    padding: 10px;
}

/* ── Category chips (kept for compatibility) ── */
.mm-chips {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
}

.mm-chip {
    padding: .26rem .75rem;
    border: 1px solid rgba(215, 206, 197, .5);
    border-radius: 20px;
    background: transparent;
    font-size: .68rem;
    font-family: var(--g-font-ui, sans-serif);
    color: #aaa;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    line-height: 1.5;
}

.mm-chip:hover {
    border-color: var(--g-wine);
    color: var(--g-ink);
    background: var(--g-blush-08);
}

.mm-chip.is-on {
    background: var(--g-wine);
    border-color: var(--g-wine);
    color: #fff;
}

/* ── Category select ── */
.mm-cat-sel {
    padding: 0 .75rem;
    height: 2rem;
    border: 1px solid rgba(215, 206, 197, .5);
    border-radius: 20px;
    background: transparent;
    font-size: .68rem;
    font-family: var(--g-font-ui, sans-serif);
    color: #999;
    cursor: pointer;
    outline: none;
    transition: border-color .18s, color .18s;
    vertical-align: middle;
    align-self: center;
}

.mm-cat-sel:focus,
.mm-cat-sel:hover {
    border-color: var(--g-wine);
    color: var(--g-ink);
}

.mm-cat-sel option {
    color: var(--g-ink);
    background: #fff;
}

/* ── 3-D slider ── */
.mm-3d {
    outline: none;
}

.mm-3d__row {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.mm-3d__vp {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    isolation: isolate;
}

.mm-3d__vp::before,
.mm-3d__vp::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    pointer-events: none;
    z-index: 20;
}

.mm-3d__vp::before {
    left: 0;
    background: linear-gradient(90deg, var(--g-cream) 0%, transparent 100%);
}

.mm-3d__vp::after {
    right: 0;
    background: linear-gradient(270deg, var(--g-cream) 0%, transparent 100%);
}

.mm-3d__stage {
    perspective: 650px;
    height: 258px;
    position: relative;
    overflow: hidden;
}

.mm-3d__track {
    position: relative;
    height: 100%;
}

/* Slide cards — always square */
.mm-3d__slide {
    position: absolute;
    width: 222px;
    height: 222px;
    left: calc(50% - 111px);
    top: 14px;
    border-radius: 10px;
    overflow: hidden;
    background: repeating-linear-gradient(-45deg, #ede9e3, #ede9e3 4px, #e5e0d9 4px, #e5e0d9 8px);
    cursor: pointer;
    transition: transform .46s cubic-bezier(.22, .68, 0, 1.12), opacity .36s ease;
    will-change: transform, opacity;
}

.mm-3d__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
    transition: transform .46s ease;
}

.mm-3d__slide.is-active img {
    transform: scale(1.04);
}

.mm-3d__sel-ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    pointer-events: none;
    transition: border-color .25s;
    z-index: 2;
}

.mm-3d__slide.is-active .mm-3d__sel-ring {
    border-color: var(--g-wine);
    border-width: 2.5px;
}

.mm-3d__nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(215, 206, 197, .6);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #bbb;
    transition: all .2s;
    box-shadow: 0 2px 12px rgba(11, 8, 9, .07);
}

.mm-3d__nav:hover {
    border-color: var(--g-wine);
    color: var(--g-wine);
    background: var(--g-blush-08);
    box-shadow: 0 4px 18px rgba(107, 9, 28, .15);
}

.mm-3d__info {
    text-align: center;
    padding: .12rem .5rem .08rem;
    min-height: 30px;
}

.mm-3d__info-name {
    font-family: var(--g-font-serif, serif);
    font-size: 1rem;
    color: var(--g-warm-gray);
    margin: 0 0 .05rem;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.3;
    padding: 0;
}

.mm-3d__info-price {
    font-size: .8rem;
    color: var(--g-wine);
    font-family: var(--g-font-ui, sans-serif);
    margin: 0 0 .3rem;
    font-weight: 500;
    padding: 0;
}

.mm-3d__dots {
    display: flex;
    justify-content: center;
    gap: .32rem;
}

.mm-3d__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: none;
    background: rgba(215, 206, 197, .6);
    padding: 0;
    cursor: pointer;
    transition: background .18s, transform .18s;
}

.mm-3d__dot.is-on {
    background: var(--g-wine);
    transform: scale(1.5);
}

/* ══════════════════════════════════════════════════
   PANEL — live composite preview + inline pickers
══════════════════════════════════════════════════ */
.mm-panel__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(215, 206, 197, .4),
        0 16px 48px rgba(11, 8, 9, .13),
        0 3px 8px rgba(11, 8, 9, .05);
}

.mm-panel__head {
    padding: .28rem 1.1rem .22rem;
    border-bottom: 1px solid rgba(215, 206, 197, .3);
    text-align: center;
    background: linear-gradient(160deg, var(--g-cream) 0%, #fff 80%);
}

.mm-panel__eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem;
    justify-content: center;
    font-family: var(--g-font-serif, serif);
    font-size: .68rem;
    font-weight: 400;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--g-ink);
    margin: 0 0 .18rem;
    padding: 0;
}

.mm-panel__eyebrow::before,
.mm-panel__eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    max-width: 30px;
    background: rgba(215, 206, 197, .6);
}

.mm-panel__hint {
    font-size: .6rem;
    color: var(--g-warm-gray);
    font-family: var(--g-font-ui, sans-serif);
    margin: 0;
    padding: 0;
    transition: color .3s;
    line-height: 1.35;
}

/* ── Composite live preview ── */
.mm-composite {
    display: flex;
    flex-direction: column;
}

.mm-composite__half {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g-cream);
    flex-shrink: 0;
}

.mm-composite__half--top,
.mm-composite__half--bot {
    aspect-ratio: 1 / 1;
    height: auto;
}

.mm-composite__half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
    transition: opacity .25s ease;
}

.mm-composite__half--bot img {
    object-position: center center;
}

.mm-composite__half img.mm-img-loading {
    opacity: 0 !important;
}

.mm-composite__half:hover img {
    opacity: .88;
}

.mm-composite__ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    color: rgba(107, 9, 28, .2);
    font-size: .58rem;
    letter-spacing: .06em;
    font-family: var(--g-font-ui, sans-serif);
    pointer-events: none;
    user-select: none;
}

.mm-composite__over {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .8rem .22rem;
    background: linear-gradient(transparent, rgba(11, 8, 9, .6));
}

.mm-composite__lbl {
    font-size: .58rem;
    font-family: var(--g-font-ui, sans-serif);
    color: rgba(255, 255, 255, .88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55%;
}

.mm-composite__price {
    font-size: .58rem;
    font-family: var(--g-font-ui, sans-serif);
    color: var(--g-blush);
    white-space: nowrap;
    flex-shrink: 0;
}


/* ── Inline variant pickers ── */
.mm-pv {
    background: var(--g-cream);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mm-pv__div {
    display: none;
}

/* Each slot — its own padded section */
.mm-pv__row {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .85rem 1.2rem .8rem;
    border-bottom: 1px solid rgba(215, 206, 197, .22);
}

.mm-pv__row:last-child {
    border-bottom: none;
}

/* ── Row 1: TAG pill + product name ── */
.mm-pv__meta {
    display: flex;
    align-items: center;
    gap: .42rem;
    min-width: 0;
}

.mm-pv__tag {
    font-size: .47rem;
    font-family: var(--g-font-ui, sans-serif);
    text-transform: uppercase;
    letter-spacing: .14em;
    border-radius: 2px;
    padding: .12rem .38rem;
    line-height: 1.5;
    flex-shrink: 0;
}

.mm-pv__tag--top {
    background: var(--g-blush-15);
    color: var(--g-wine);
}

.mm-pv__tag--bot {
    background: rgba(11, 8, 9, .07);
    color: #888;
}

.mm-pv__pname {
    font-family: var(--g-font-serif, serif);
    font-size: .92rem;
    font-weight: 400;
    color: var(--g-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    line-height: 1.15;
    letter-spacing: .02em;
}

/* ── Controls: grid puts swatches+colorname on line 1, sizes on line 2 ── */
.mm-pv__ctrls {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: .65rem;
    row-gap: .38rem;
    align-items: center;
}

/* Line 1 col 1: color swatches */
.mm-pv__swatches {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    gap: .35rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Line 1 col 2: selected color name */
.mm-pv__selcolor {
    grid-column: 2;
    grid-row: 1;
    font-size: .6rem;
    font-family: var(--g-font-ui, sans-serif);
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: .02em;
}

/* Line 2 full width: size buttons */
.mm-pv__sizes {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    gap: .32rem;
    flex-wrap: wrap;
    align-items: center;
}

.mm-pv__sw {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .9);
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color .15s, transform .15s;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .18);
    flex-shrink: 0;
}

.mm-pv__sw:hover {
    transform: scale(1.18);
}

.mm-pv__sw.is-on {
    outline-color: var(--g-wine);
    transform: scale(1.08);
}

.mm-pv__sz {
    min-width: 32px;
    height: 28px;
    padding: 0 .6rem;
    border-radius: 3px;
    border: 1px solid rgba(215, 206, 197, .6);
    background: transparent;
    font-size: .63rem;
    font-family: var(--g-font-ui, sans-serif);
    color: #888;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    letter-spacing: .02em;
}

.mm-pv__sz:hover {
    border-color: var(--g-wine);
    color: var(--g-ink);
    background: var(--g-blush-08);
}

.mm-pv__sz.is-on {
    background: var(--g-ink);
    border-color: var(--g-ink);
    color: #fff;
}

/* ── Footer ── */
.mm-panel__footer {
    padding: .55rem 1.1rem .65rem;
    display: flex;
    flex-direction: column;
    gap: .38rem;
    background: var(--g-cream);
    border-top: 1px solid rgba(215, 206, 197, .3);
}

.mm-panel__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mm-panel__total-lbl {
    font-size: .58rem;
    color: var(--g-warm-gray);
    font-family: var(--g-font-ui, sans-serif);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.mm-panel__total-val {
    font-family: var(--g-font-serif, serif);
    font-size: 1.1rem;
    color: var(--g-ink);
    letter-spacing: .02em;
}

.mm-panel__cta {
    width: 100%;
    justify-content: center;
    transition: transform .15s, box-shadow .15s;
}

.mm-panel__cta:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 8, 9, .14);
}

.mm-panel__cta:disabled {
    opacity: .32;
    cursor: default;
    pointer-events: none;
}

.mm-panel__flash {
    text-align: center;
    font-size: .62rem;
    color: #2e7d32;
    margin: 0;
    padding: 0;
}

.mm-panel__flash:empty {
    display: none;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

@media (max-width: 1150px) {
    .mm-panel {
        flex: 0 0 290px;
        width: 290px;
    }
}

@media (max-width: 960px) {
    .mm-layout {
        gap: 1.5rem;
    }

    .mm-panel {
        flex: 0 0 260px;
        width: 260px;
    }

    .mm-3d__slide {
        width: 196px;
        height: 196px;
        left: calc(50% - 98px);
    }

    .mm-3d__stage {
        height: 230px;
    }
}

@media (max-width: 820px) {
    .mm-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-bottom: 3rem;
    }

    .mm-left {
        width: 100%;
    }

    .mm-panel {
        flex: none;
        width: 100%;
        position: static;
        max-height: none;
        overflow: visible;
        margin-top: 1.5rem;
    }

    .mm-panel__card {
        display: grid;
        overflow: hidden;
        grid-template-columns: 1fr 150px;
        grid-template-rows: auto 1fr auto;
        grid-template-areas: 'head head' 'comp pv' 'foot foot';
    }

    .mm-panel__head {
        grid-area: head;
    }

    .mm-composite {
        grid-area: comp;
        flex-direction: row;
    }

    .mm-composite__half--top,
    .mm-composite__half--bot {
        flex: 1 1 0;
        min-width: 0;
        aspect-ratio: auto;
        height: 140px;
    }

    .mm-pv {
        grid-area: pv;
        border-top: none !important;
        border-left: 1px solid rgba(215, 206, 197, .3);
        justify-content: center;
        width: 150px;
        overflow: hidden;
    }

    .mm-pv__row {
        padding: .5rem .6rem .45rem;
        gap: .38rem;
    }

    .mm-pv__pname {
        font-size: .72rem;
    }

    .mm-pv__ctrls {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: .28rem;
    }

    .mm-pv__swatches {
        grid-column: 1;
        grid-row: 1;
    }

    .mm-pv__selcolor {
        grid-column: 1;
        grid-row: 2;
        font-size: .55rem;
    }

    .mm-pv__sizes {
        grid-column: 1;
        grid-row: 3;
    }

    .mm-pv__sw {
        width: 18px;
        height: 18px;
    }

    .mm-pv__sz {
        min-width: 24px;
        height: 23px;
        font-size: .57rem;
        padding: 0 .3rem;
    }

    .mm-panel__footer {
        grid-area: foot;
    }

}

@media (max-width: 680px) {
    .mm-intro__steps {
        display: none;
    }

    .mm-3d__slide {
        width: 172px;
        height: 172px;
        left: calc(50% - 86px);
    }

    .mm-3d__stage {
        height: 202px;
    }

    .mm-3d__nav {
        width: 34px;
        height: 34px;
    }

    .mm-3d__vp::before,
    .mm-3d__vp::after {
        width: 55px;
    }
}

@media (max-width: 520px) {
    .mm-intro {
        padding: 1.1rem 1rem .9rem;
    }

    .mm-intro__title {
        font-size: 1.75rem;
    }

    .mm-layout {
        padding-top: 1.25rem;
    }

    .mm-panel__card {
        display: block;
        overflow: hidden;
    }

    .mm-composite {
        flex-direction: row;
    }

    .mm-composite__half--top,
    .mm-composite__half--bot {
        flex: 1 1 0;
        min-width: 0;
        aspect-ratio: auto;
        height: 220px;
    }

    .mm-pv {
        border-left: none !important;
        width: auto;
        overflow: visible;
    }

    .mm-pv__row {
        padding: .7rem .85rem .65rem;
        gap: .5rem;
    }

    .mm-pv__pname {
        font-size: .88rem;
    }

    .mm-pv__ctrls {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        row-gap: .35rem;
    }

    .mm-pv__swatches {
        grid-column: 1;
        grid-row: 1;
    }

    .mm-pv__selcolor {
        grid-column: 2;
        grid-row: 1;
        font-size: .6rem;
    }

    .mm-pv__sizes {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .mm-pv__sw {
        width: 22px;
        height: 22px;
    }

    .mm-pv__sz {
        min-width: 32px;
        height: 28px;
        font-size: .63rem;
        padding: 0 .6rem;
    }

    .mm-3d__slide {
        width: 155px;
        height: 155px;
        left: calc(50% - 78px);
        top: 14px;
    }

    .mm-3d__stage {
        height: 184px;
    }

    .mm-3d__vp::before,
    .mm-3d__vp::after {
        width: 40px;
    }
}

@media (max-width: 380px) {
    .mm-3d__slide {
        width: 140px;
        height: 140px;
        left: calc(50% - 70px);
    }

    .mm-3d__stage {
        height: 168px;
    }

    .mm-3d__vp::before,
    .mm-3d__vp::after {
        width: 28px;
    }

    .mm-3d__nav {
        width: 30px;
        height: 30px;
    }
}

/* ================================================================
   HOME SECTION SUBTITLE
================================================================ */
.g-home-section__sub {
    font-family: var(--g-font-ui, sans-serif);
    font-size: 13px;
    color: #888;
    margin: 4px 0 0;
    line-height: 1.6;
}

/* ================================================================
   STORE PAGE — PAGINATION
================================================================ */
.catalog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.catalog-pagination nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.catalog-pagination span[aria-current="page"] span,
.catalog-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-family: var(--g-font-ui, sans-serif);
    font-size: 13px;
    letter-spacing: .04em;
    border: 1px solid #d8d0c8;
    color: var(--g-ink);
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s;
}

.catalog-pagination a:hover {
    background: var(--g-wine, #6B091C);
    border-color: var(--g-wine, #6B091C);
    color: #fff;
}

.catalog-pagination span[aria-current="page"] span {
    background: var(--g-wine, #6B091C);
    border-color: var(--g-wine, #6B091C);
    color: #fff;
}

/* ================================================================
   PRODUCT PAGE — status badge inside .chars
================================================================ */
.chars__status {
    color: #4a7c59;
    font-weight: 500;
}

/* ================================================================
   PRODUCT PAGE — full-width layout (override .wrapper max-width)
================================================================ */
section.product.wrapper {
    padding-top: 60px;
}

@media screen and (min-width: 768px) {
    section.product.wrapper .product__left {
        width: 40%;
    }

    section.product.wrapper .product__right {
        width: 60%;
    }
}

/* ================================================================
   PRODUCT PAGE — Image Gallery
================================================================ */
.g-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.g-gallery__main-wrap {
    position: relative;
}

.g-gallery__main {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--g-cream, #F1ECE6);
    cursor: zoom-in;
}

.g-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: opacity .2s;
    margin: 0;
}

.g-gallery__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.g-gallery__wish {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.g-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.g-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.g-gallery__thumb {
    width: 72px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--g-cream, #F1ECE6);
    padding: 0;
    transition: border-color .2s;
}

.g-gallery__thumb.active {
    border-color: var(--g-wine, #6B091C);
}

.g-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    margin: 0;
}

@media (max-width: 768px) {
    .g-gallery__thumb {
        width: 58px;
        height: 74px;
    }
}

/* ================================================================
   PRODUCT PAGE — Lightbox
================================================================ */
.g-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 8, 9, .94);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.g-lightbox.open {
    display: flex;
}

.g-lightbox__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 70px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.g-lightbox__img {
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    display: block;
    user-select: none;
    margin: 0;
}

.g-lightbox__close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: .7;
    transition: opacity .2s;
}

.g-lightbox__close:hover {
    opacity: 1;
}

.g-lightbox__prev,
.g-lightbox__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .08);
    border: none;
    color: #fff;
    font-size: 52px;
    line-height: 1;
    cursor: pointer;
    padding: 20px 18px;
    transition: background .2s;
}

.g-lightbox__prev:hover,
.g-lightbox__next:hover {
    background: rgba(255, 255, 255, .18);
}

.g-lightbox__prev {
    left: 0;
}

.g-lightbox__next {
    right: 0;
}

/* ================================================================
   PRODUCT PAGE — variant size list (colour+size mode via JS)
================================================================ */
#g-size-pills {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ================================================================
   RENT INDEX — banner slider with hotspots
================================================================ */
.g-banner-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 100px;
    padding-bottom: 40px;
    line-height: 0;
    font-size: 0;
}

.g-banner-slider__track {
    display: flex;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    align-items: flex-start;
}

.g-banner-slider__slide {
    min-width: 100%;
    line-height: 0;
    font-size: 0;
}

.g-banner-slider .bh-wrap {
    position: relative;
    line-height: 0;
    font-size: 0;
}

.g-banner-slider .bh-image {
    width: 100%;
    height: auto;
    display: block;
}

.g-banner-slider__prev,
.g-banner-slider__next {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(241, 236, 230, .85);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--g-wine, #6B091C);
    backdrop-filter: blur(4px);
    transition: background .2s, color .2s;
}

.g-banner-slider__prev:hover,
.g-banner-slider__next:hover {
    background: rgba(241, 236, 230, 1);
}

.g-banner-slider__prev {
    left: 20px;
}

.g-banner-slider__next {
    right: 20px;
}

.g-banner-slider__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.g-banner-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--g-warm-gray, #D7CEC5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}

.g-banner-slider__dot.active {
    background: var(--g-wine, #6B091C);
    transform: scale(1.3);
}

@media (max-width: 768px) {

    .g-banner-slider__prev,
    .g-banner-slider__next {
        width: 30px;
        height: 30px;
    }

    .g-banner-slider__prev {
        left: 8px;
    }

    .g-banner-slider__next {
        right: 8px;
    }
}

/* ================================================================
   CONTACT PAGE
================================================================ */
/* Contact link colours (location link) */
a.contacts__text {
    color: var(--g-ink);
    text-decoration: none;
    transition: color .2s;
}

a.contacts__text:hover {
    color: var(--g-wine);
}

.contacts-page {
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
}

.contacts-page__left {
    max-width: none;
}

.contacts {
    display: table !important;
    width: 100%;
}

.contacts__item {
    display: table-row !important;
}

.contacts__left {
    display: table-cell !important;
    width: 120px;
    padding: 0 24px 14px 0;
    vertical-align: top;
    text-align: left;
}

.contacts__right {
    display: table-cell !important;
    vertical-align: top;
    padding: 0 0 14px;
}

.contacts__right .g-fsocials {
    margin-top: 0;
    align-items: center;
}

/* ================================================================
   CONTACT PAGE — phone / email hover
================================================================ */
.contacts__number {
    color: var(--g-ink);
    text-decoration: none;
    transition: color .2s;
}

.contacts__number:hover {
    color: var(--g-wine);
}

.contacts__link {
    color: var(--g-ink);
    text-decoration: none;
    transition: color .2s;
}

.contacts__link:hover {
    color: var(--g-wine);
}

/* ================================================================
   ORDER ACTIONS — invoice + cancel
================================================================ */
.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.order-actions--top {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-bottom: 14px;
}

.order-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--g-font-ui, sans-serif);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 9px 18px;
    border: 1px solid #d8d0c8;
    color: var(--g-ink);
    text-decoration: none;
    background: none;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
}

.order-action-btn:hover {
    background: var(--g-ink);
    color: #fff;
    border-color: var(--g-ink);
}

.order-action-btn--invoice {
    background: var(--g-ink);
    color: #fff !important;
    border-color: var(--g-ink);
}

.order-action-btn--invoice:hover {
    background: var(--g-wine);
    border-color: var(--g-wine);
    color: #fff !important;
}

.order-action-btn--cancel {
    border-color: #c62828;
    color: #c62828;
}

.order-action-btn--cancel:hover {
    background: #c62828;
    color: #fff;
    border-color: #c62828;
}

/* ================================================================
   ORDER STATUS — badge style
================================================================ */
.order-status {
    display: inline-flex;
    align-items: center;
}

.order-status .order-status__col:first-child {
    display: inline-block;
    padding: 3px 12px;
    font-family: var(--g-font-ui);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.order-status.g-pending .order-status__col:first-child {
    background: #fef3c7;
    color: #92400e;
}

.order-status.g-process .order-status__col:first-child {
    background: #dbeafe;
    color: #1e40af;
}

.order-status.g-shipped .order-status__col:first-child {
    background: #e0f2fe;
    color: #0369a1;
}

.order-status.g-done .order-status__col:first-child {
    background: #dcfce7;
    color: #15803d;
}

.order-status.g-canceled .order-status__col:first-child {
    background: #fee2e2;
    color: #b91c1c;
}

/* ================================================================
   PROFILE SIDEBAR LINKS
================================================================ */
.g-profile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g-profile-links li {
    border-bottom: 1px solid var(--g-warm-gray);
}

.g-profile-links li:last-child {
    border-bottom: none;
}

.g-profile-links__link {
    display: block;
    padding: 14px 16px;
    font-family: var(--g-font-ui);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--g-ink);
    text-decoration: none;
    background: var(--g-cream);
    transition: background .2s, color .2s;
}

.g-profile-links__link:hover {
    background: var(--g-wine);
    color: #fff;
}

/* ================================================================
   CONFIRM MODAL — 50 / 50 buttons
================================================================ */
.g-confirm-box .g-modal__actions {
    justify-content: stretch;
    gap: 0;
}

.g-confirm-box .g-modal__actions .button {
    flex: 1;
    justify-content: center;
    text-align: center;
}

.g-confirm-box .g-modal__actions .button+.button {
    margin-left: 10px;
}

/* ================================================================
   ADDRESS CARD — compact height
================================================================ */
.g-addr-card {
    padding: 10px 16px !important;
    min-height: unset !important;
    gap: 2px 20px !important;
}

.g-addr-card .g-addr-actions {
    margin-top: 6px !important;
    padding-top: 6px !important;
}

.g-addr-name {
    font-size: 13px;
}

.g-addr-text {
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

.g-addr-grid {
    gap: 8px;
}

/* ================================================================
   INNER TOP — mobile top spacing
================================================================ */
@media (max-width: 767px) {
    .inner-top {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .contacts {
        display: block !important;
    }

    .contacts__item {
        display: block !important;
        margin-bottom: 20px;
    }

    .contacts__left {
        display: block !important;
        text-align: left;
        width: auto;
        padding: 0 0 4px;
    }

    .contacts__right {
        display: block !important;
        padding: 0;
    }
}

/* ── Sort select: transparent background, arrow fix ─────────────── */
.select_1 .jq-selectbox {
    background: transparent;
}
.select_1 .jq-selectbox__dropdown {
    z-index: 100;
}

/* ── Checkout: suppress Mollee's global h2 padding inside checkout ─ */
.checkout-page h2,
.checkout-page h3 {
    padding: 0;
    margin: 0 0 16px;
}
.checkout-section__title {
    margin-bottom: 20px !important;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 32px;
    padding: 0;
}

/* ── Checkout: suppress global list bullet inside checkout ──────── */
.checkout-page ul li::before,
.your-order__list li::before,
.side-cart li::before,
.g-form-errors li::before {
    content: none !important;
}

/* ── Checkout: text-input inside checkout ───────────────────────── */
.checkout-page .text-input,
.checkout-page select.text-input,
.checkout-page textarea.text-input {
    margin-bottom: 0;
    background: transparent;
    border-bottom: 1px solid rgba(107, 9, 28, 0.18);
}
.checkout-page .text-input:focus,
.checkout-page select.text-input:focus {
    border-color: var(--g-wine);
    outline: none;
}

/* ── Checkout nav: suppress h2 padding ─────────────────────────── */
.checkout-nav__label {
    padding: 0;
}

/* ── Store sub-category section: smooth show/hide ───────────────── */
#store-subcat-section {
    transition: none;
}

/* ── Review form: transparent inputs ────────────────────────────── */
.add-review .text-input,
.add-review .textarea {
    background: transparent;
    border-bottom: 1px solid rgba(107, 9, 28, 0.18);
    border-top: none;
    border-left: none;
    border-right: none;
}
.add-review .text-input:focus,
.add-review .textarea:focus {
    border-color: var(--g-wine);
    outline: none;
    background: transparent;
}