body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html { overflow-x: hidden; }
img { max-width: 100%; }

.footer-brand {
    color: #111;
}

.footer-brand .brand-logo-mark {
    width: min(360px, 78vw);
    margin: 0 auto;
}

.newsletter-section,
.site-footer,
.cart-drawer,
.cart-page,
.product-detail-page,
.similar-products-section,
.home-best-sellers,
.home-category-feature {
    background: #fffaf3;
}

.cart-summary-card,
.drawer-reco-card,
.product-image-card,
.similar-image-wrap,
.home-product-image {
    background-color: #f5eadf;
}

.checkout-link,
.buy-now-btn,
.sticky-add-cart-btn,
.drawer-actions .checkout-link,
.cart-summary-card .checkout-link {
    background: #111;
}

.product-card-swatches {
    display: flex;
    gap: 7px;
    margin: 8px 0;
}

.product-card-swatches span {
    width: 16px;
    height: 16px;
    border: 1px solid #d6c8b8;
    border-radius: 50%;
}

/* Shop results use fixed card regions so image proportions cannot affect the grid. */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.products-grid .collection-empty { grid-column: 1 / -1; }

.product-card {
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card__media {
    position: relative;
    display: block;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #f4f1ec;
    flex-shrink: 0;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.product-hover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 220ms ease, transform 280ms ease;
}

.product-hover-image--secondary {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.recommendation-card__image-link { overflow: hidden; }

@media (hover: hover) and (pointer: fine) {
    .product-card__media:hover .product-hover-image--primary,
    .product-card__media:focus-visible .product-hover-image--primary,
    .home-product-card a:hover .product-hover-image--primary,
    .home-product-card a:focus-visible .product-hover-image--primary,
    .similar-product-card a:hover .product-hover-image--primary,
    .similar-product-card a:focus-visible .product-hover-image--primary,
    .recommendation-card__image-link:hover .product-hover-image--primary,
    .recommendation-card__image-link:focus-visible .product-hover-image--primary {
        opacity: 0;
        transform: scale(1.015);
    }

    .product-card__media:hover .product-hover-image--secondary,
    .product-card__media:focus-visible .product-hover-image--secondary,
    .home-product-card a:hover .product-hover-image--secondary,
    .home-product-card a:focus-visible .product-hover-image--secondary,
    .similar-product-card a:hover .product-hover-image--secondary,
    .similar-product-card a:focus-visible .product-hover-image--secondary,
    .recommendation-card__image-link:hover .product-hover-image--secondary,
    .recommendation-card__image-link:focus-visible .product-hover-image--secondary {
        opacity: 1;
        transform: scale(1.015);
    }
}

.product-card__sale-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: calc(100% - 28px);
    margin: 0;
    padding: 7px 13px;
    border-radius: 999px;
    overflow: hidden;
    background: #bf2635;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card .quick-add { margin: 0; }

.product-card__add {
    width: 100%;
    height: 50px;
    min-height: 50px;
    border: 0;
    background: #202326;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    height: auto;
    min-height: 0;
    padding-top: 8px;
}

.product-card__category {
    color: #6f6256;
    font-size: .75rem;
    text-transform: uppercase;
}

.product-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 1.45rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__title a { color: inherit; text-decoration: none; }

.product-card__title a:hover,
.product-card__title a:focus-visible { text-decoration: underline; }

.product-card__swatches {
    min-height: 0;
    align-items: center;
    margin: 0;
}

.product-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
    font-weight: 700;
}

.product-card__price del { color: #777; font-size: .85rem; font-weight: 400; }

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 64px 0 48px;
}

.shop-pagination__control {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d0c5;
    border-radius: 8px;
    background: #fffdf9;
    color: #1b1b1b;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.shop-pagination__control svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.shop-pagination__control.active,
.shop-pagination [aria-current="page"] {
    border-color: #1b1b1b;
    background: #1b1b1b;
    color: #fff;
}

.shop-pagination a.shop-pagination__control:hover,
.shop-pagination a.shop-pagination__control:focus-visible {
    border-color: #c9bdaf;
    background: #f1ebe3;
    color: #1b1b1b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transform: translateY(-1px);
}

.shop-pagination .disabled {
    opacity: .35;
    pointer-events: none;
}

.shop-pagination__ellipsis {
    width: 24px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #70675f;
}

@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .products-grid { grid-template-columns: 1fr; }

    .shop-pagination {
        gap: 6px;
        margin: 40px 0 32px;
    }

    .shop-pagination__control {
        width: 42px;
        height: 42px;
        font-size: .875rem;
    }

    .shop-pagination__ellipsis { height: 42px; }
}

.home-departments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 12px solid #ff2b21;
    background: #fff;
}

.rangqari-hero {
    min-height: min(720px, calc(100svh - 38px));
    background: linear-gradient(120deg, #7a1e2c, #efe4d5);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: clamp(100px, 13vh, 135px) clamp(24px, 6vw, 90px) clamp(28px, 5vh, 54px);
    color: #fff;
}

.rangqari-hero > div {
    max-width: min(620px, 52vw);
}

.rangqari-hero span,
.rangqari-story span {
    display: block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    margin-bottom: 14px;
}

.rangqari-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5.2vw, 78px);
    line-height: .9;
    margin: 0 0 12px;
    text-wrap: balance;
}

.rangqari-hero p {
    max-width: 500px;
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.35;
}

.rangqari-hero a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    margin: 12px 10px 0 0;
    padding: 11px 20px;
    border: 1px solid #fff;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
}

.rangqari-hero a:first-child {
    background: #fff;
    color: #7a1e2c;
}

.rangqari-category-grid {
    border-top-color: #7a1e2c;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rangqari-story {
    background: #efe4d5;
    padding: clamp(56px, 8vw, 120px) clamp(24px, 10vw, 150px);
    color: #1f1f1f;
}

.rangqari-story div {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.rangqari-story h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 5vw, 74px);
    margin-bottom: 20px;
}

.rangqari-story p {
    font-size: 20px;
    color: #5d5248;
}

.home-department-tile {
    position: relative;
    min-height: clamp(430px, 34vw, 620px);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #ddd;
}

.home-department-tile:nth-child(4) {
    grid-column: span 1;
}

.home-department-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease, filter .3s ease;
}

.home-department-tile:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .23);
    transition: background .25s ease;
}

.home-department-tile:hover img {
    transform: scale(1.04);
    filter: brightness(.82);
}

.home-department-tile:hover:after {
    background: rgba(0, 0, 0, .38);
}

.department-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 2rem;
}

.department-overlay h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.2vw, 2.4rem);
    font-weight: 400;
}

.department-overlay ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease;
}

.home-department-tile:hover .department-overlay ul {
    opacity: 1;
    transform: translateY(0);
}

.department-overlay li {
    font-size: clamp(1.1rem, 1.55vw, 1.65rem);
    line-height: 1.35;
}

.home-best-sellers {
    padding: clamp(4rem, 8vw, 7rem) 0 3.5rem;
    background: #fff;
}

.home-section-intro {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 7rem);
}

.home-section-intro span {
    color: #777;
    font-size: 1.05rem;
    letter-spacing: .02em;
}

.home-section-intro h2 {
    margin: 2.2rem 0;
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
    font-style: italic;
    font-weight: 400;
}

.home-section-intro a {
    display: inline-grid;
    place-items: center;
    min-width: 180px;
    height: 40px;
    border: 1px solid #111;
    border-radius: 999px;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
}

.home-product-rail {
    display: flex;
    gap: clamp(1.5rem, 2.8vw, 3.4rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 4vw 1rem;
}

.home-product-rail::-webkit-scrollbar {
    display: none;
}

.home-product-card {
    flex: 0 0 min(30vw, 548px);
    scroll-snap-align: start;
}

.home-product-card a {
    color: #111;
    text-decoration: none;
}

.home-product-image {
    position: relative;
    aspect-ratio: 3 / 4.35;
    background: #f1f0ef;
    overflow: hidden;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-product-image span {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 2;
    background: #ffdf00;
    border-radius: 999px;
    padding: .28rem .65rem;
}

.home-product-image .product-card__sale-badge { top: 14px; right: 14px; left: auto; background: #bf2635; color: #fff; }

.home-product-card h3 {
    margin: 1rem 0 .35rem;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.home-product-card p {
    display: flex;
    gap: .6rem;
    margin: 0;
    font-size: 1rem;
}

.home-product-card p small { color: #7a1e2c; font-size: .78rem; }

.home-product-card strong {
    font-weight: 500;
}

.home-product-card del {
    color: #777;
}

.home-rail-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.2rem;
}

.home-rail-controls button {
    border: 0;
    background: transparent;
    color: #777;
    font-size: 2rem;
}

.home-rail-progress {
    width: 150px;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #bbb;
}

.home-rail-progress span {
    display: block;
    width: 25%;
    height: 100%;
    background: #000;
    border-radius: inherit;
}

.home-category-feature {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(2rem, 4vw, 5rem);
    padding: 4rem 4vw 6rem;
    background: #fff;
}

.home-category-feature aside {
    text-align: center;
    padding-top: .5rem;
}

.home-category-feature aside h2 {
    font-size: 1.4rem;
    font-weight: 500;
}

.home-category-feature aside p {
    font-style: italic;
    margin: 1.2rem 0 2rem;
    color: #555;
}

.home-category-feature aside a {
    display: block;
    margin: 1rem 0;
    color: #aaa;
    text-decoration: none;
    font-size: 1.15rem;
}

.home-category-feature aside a:first-of-type {
    color: #111;
}

.home-category-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.8vw, 3.4rem);
}

.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2200;
    background: rgba(0, 0, 0, .45);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2300;
    width: min(620px, 100vw);
    height: 100dvh;
    background: #fff;
    transform: translateX(100%);
    transition: transform .24s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -18px 0 45px rgba(0, 0, 0, .14);
}

.cart-drawer.is-open {
    transform: translateX(0);
}

#cartDrawerContent { display: contents; }

.auth-page { background: #faf9f7 !important; }
.auth-page .top-strip { display: none; }
.auth-page .main-nav { top: 0 !important; background: #faf9f7 !important; border-color: #dedbd6 !important; }
.auth-page .navbar-brand, .auth-page .account-link, .auth-page .nav-link, .auth-page .logout-btn { color: #171615 !important; }
.auth-page .dept-link { color: #171615 !important; }
.auth-page .dept-link::after { border-color: #171615 !important; }
.auth-page .icon-search, .auth-page .icon-bag { border-color: #171615 !important; }
.auth-page .icon-search::after, .auth-page .icon-bag::after { background: #171615 !important; }
.auth-page .icon-bag::after { box-shadow: 10px 0 #171615 !important; }
.auth-page .icon-bag::before { border-color: #171615 !important; }
.auth-page .footer-band { margin-top: 0; }
.editorial-auth { min-height: calc(100vh - 160px); display: grid; grid-template-columns: 1fr 1fr; background: #faf9f7; color: #171615; border-top: 1px solid #dedbd6; }
.auth-intro, .auth-form-side { min-width: 0; padding: clamp(4rem, 7vw, 8rem); }
.auth-intro { display: flex; align-items: center; border-right: 1px solid #dedbd6; }
.auth-intro > div { max-width: 620px; }
.auth-eyebrow, .auth-field label { display: block; margin: 0 0 2rem; color: #77736e; font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.auth-intro h1 { margin: 0 0 2rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.4rem, 6vw, 6.7rem); font-weight: 400; letter-spacing: 0; line-height: .92; }
.auth-intro > div > p:last-child { max-width: 540px; color: #706c67; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.7; }
.auth-form-side { display: flex; align-items: center; }
.editorial-auth-form { width: min(100%, 650px); margin: auto; }
.auth-field { margin-bottom: 2.5rem; }
.auth-brand { display: inline-block; margin-bottom: 2.5rem; color: #171615; }
.auth-brand .brand-logo-mark { width: clamp(180px, 20vw, 250px) !important; }
.auth-field label { margin-bottom: .85rem; }
.auth-field input { width: 100%; border: 0; border-bottom: 1px solid #d5d1cb; border-radius: 0; outline: 0; background: transparent; color: #171615; padding: .8rem 0 1rem; font-size: 1.15rem; }
.auth-field input:focus { border-color: #171615; }
.auth-field input::placeholder, .auth-field small, .auth-meta, .auth-switch { color: #77736e; }
.auth-field small, .auth-error { display: block; margin-top: .7rem; font-size: .82rem; }
.auth-error { color: #e39b9b; }
.auth-meta { display: flex; justify-content: space-between; gap: 1rem; margin: -.5rem 0 2rem; font-size: .9rem; }
.auth-meta a, .auth-switch a { color: #171615; font-weight: 700; text-underline-offset: .25rem; }
.auth-submit { width: 100%; min-height: 72px; border: 0; background: #171615; color: #faf9f7; font-size: .92rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; transition: background .2s ease; }
.auth-submit:hover { background: #393633; }
.auth-switch { margin: 2rem 0 0; }
.editorial-auth-register .auth-form-side { align-items: flex-start; }

@media (max-width: 820px) {
    .editorial-auth { grid-template-columns: 1fr; }
    .auth-intro { min-height: 390px; border-right: 0; border-bottom: 1px solid #dedbd6; }
    .auth-intro, .auth-form-side { padding: 3.5rem 1.5rem; }
    .auth-intro h1 { font-size: clamp(3.5rem, 18vw, 5.5rem); }
}

.cart-drawer-head {
    min-height: 90px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    flex-shrink: 0;
}

.cart-drawer-head h2 {
    margin: 0;
    font-weight: 400;
}

.cart-drawer-close {
    border: 0;
    background: transparent;
    font-size: 3rem;
    line-height: 1;
}

.cart-drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 42px;
}

.drawer-cart-item {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 24px;
    margin-bottom: 34px;
}

.drawer-cart-item img,
.drawer-reco-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #f2f0ed;
}

.cart-item__image-link { display: block; }
.cart-item__image-link img { display: block; }
.cart-item__image-placeholder { aspect-ratio: 3 / 4; background: #f2f0ed; }
.drawer-cart-info strong a { color: inherit; text-decoration: none; }
.drawer-cart-info strong a:hover { text-decoration: underline; }
.drawer-item-subtotal { display: block; color: #777; }
.drawer-cart-item.is-updating { opacity: .72; }

.drawer-cart-info strong,
.drawer-reco-card strong {
    display: block;
    font-weight: 400;
    text-transform: uppercase;
}

.drawer-cart-info del,
.cart-page-price del {
    color: #888;
    margin-left: 6px;
}

.drawer-cart-info span {
    color: #777;
}

.drawer-item-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
}

.drawer-qty-form,
.cart-page-qty {
    height: 48px;
    min-width: 152px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
}

.drawer-qty-form button,
.cart-page-qty button {
    border: 0;
    background: transparent;
    color: #999;
    font-size: 1.8rem;
    line-height: 1;
}

.drawer-qty-form .side-cart-qty-input {
    width: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font: inherit;
    text-align: center;
    -moz-appearance: textfield;
}

.drawer-qty-form .side-cart-qty-input::-webkit-inner-spin-button,
.drawer-qty-form .side-cart-qty-input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.drawer-item-error {
    margin: .65rem 0 0;
    color: #a32924;
    font-size: .78rem;
    line-height: 1.35;
}

.drawer-remove {
    border: 0;
    background: transparent;
    text-decoration: underline;
}

.drawer-divider {
    border-top: 1px solid #ddd;
    margin: 28px 0;
}

.drawer-row-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.drawer-row-title h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.recommendations-controls { display: flex; gap: .35rem; }

.recommendations-prev,
.recommendations-next {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.recommendations-prev:disabled,
.recommendations-next:disabled { cursor: default; opacity: .35; }

.recommendations-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.recommendations-track::-webkit-scrollbar { display: none; }

.drawer-reco-card {
    border: 1px solid #ddd;
    display: grid;
    grid-template-columns: 154px 1fr;
    gap: 28px;
    padding: 18px;
    box-sizing: border-box;
    flex: 0 0 100%;
}

.recommendation-card__image-link,
.recommendation-card__title { color: inherit; cursor: pointer; pointer-events: auto; }

.recommendation-card__image-link { display: block; position: relative; }

.recommendation-card__title { display: block; font-weight: 400; text-decoration: none; text-transform: uppercase; }
.recommendation-card__title:hover,
.recommendation-card__title:focus-visible { text-decoration: underline; }

.drawer-reco-card button {
    border: 1px solid #bbb;
    background: #fff;
    border-radius: 999px;
    padding: .65rem 1.5rem;
}

.recommendation-add-to-cart { cursor: pointer; }
.drawer-message { margin: 0; padding: 0 24px; color: #b42318; }
.drawer-message:empty { display: none; }

.drawer-empty {
    font-size: 1.3rem;
}

.drawer-empty a {
    display: block;
    border-radius: 999px;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
}

.cart-drawer-foot {
    border-top: 1px solid #ddd;
    padding: 26px 42px 34px;
    flex-shrink: 0;
}

.cart-drawer-foot details {
    border-bottom: 1px solid #ddd;
    padding: 16px 0;
    text-transform: uppercase;
}

.cart-drawer-foot textarea,
.cart-drawer-foot input {
    width: 100%;
    margin-top: 12px;
}

.drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
    font-size: 1.7rem;
}

.drawer-total strong {
    font-weight: 400;
}

.drawer-note {
    color: #777;
}

.drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    gap: 18px;
}

.drawer-actions a {
    border: 1px solid #111;
    border-radius: 999px;
    min-height: 62px;
    display: grid;
    place-items: center;
    color: #111;
    text-decoration: none;
    font-size: 1.1rem;
}

.drawer-actions .checkout-link {
    background: #000;
    color: #fff;
}

.cart-page {
    background: #fff;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4.75rem) 5rem;
}

.cart-page h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 4rem;
}

.cart-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 548px;
    gap: 52px;
}

.cart-table-head,
.cart-page-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px 210px 44px;
    gap: 24px;
    align-items: center;
}

.cart-table-head {
    color: #777;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    padding-bottom: 32px;
}

.cart-page-line {
    padding: 44px 0;
}

.cart-page-product {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 30px;
    align-items: center;
}

.cart-page-product img {
    width: 135px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.cart-page-product strong {
    display: block;
    font-weight: 400;
    text-transform: uppercase;
}

.cart-page-product span {
    color: #777;
    font-size: .88rem;
}

.cart-page-remove {
    border: 0;
    background: transparent;
    font-size: 2.2rem;
    line-height: 1;
}

.cart-summary-card {
    background: #f3f3f3;
    padding: 78px 66px 48px;
}

.cart-summary-card details {
    border-bottom: 1px solid #ccc;
    padding: 18px 0;
    text-transform: uppercase;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.75rem;
    margin: 42px 0 16px;
}

.cart-summary-total strong {
    font-weight: 400;
}

.cart-summary-card .checkout-link {
    border: 0;
    border-radius: 999px;
    min-height: 70px;
    display: grid;
    place-items: center;
    background: #222;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
}

.product-detail-page {
    width: 100%;
    background: #fff;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 65%) minmax(360px, 35%);
    gap: 48px;
    padding: 0 64px 80px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.product-gallery:has(.product-image-card:only-child) {
    grid-template-columns: 1fr;
}

.product-image-card {
    position: relative;
    background: #f4f2ef;
    overflow: hidden;
    min-height: 720px;
}

.product-image-card img {
    width: 100%;
    height: 100%;
    min-height: 720px;
    object-fit: cover;
    display: block;
}

.product-info-panel {
    position: sticky;
    top: 120px;
    padding-top: 32px;
    max-width: 520px;
}

.product-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 28px;
    text-transform: uppercase;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 24px;
}

.product-sale-price {
    color: #111;
    font-weight: 400;
}

.product-regular-price {
    color: #777;
    text-decoration: line-through;
}

.product-discount-badge,
.similar-discount-badge {
    background: #ffdf00;
    color: #000;
    border-radius: 0;
    padding: 3px 7px;
    font-size: 18px;
    line-height: 1;
}

.product-description,
.product-material {
    font-size: 18px;
    line-height: 1.35;
    color: #222;
    margin: 0 0 18px;
}

.product-divider {
    border: none;
    border-top: 1px solid #111;
    margin: 28px 0;
    opacity: 1;
}

.product-sku {
    color: #8a8a8a;
    font-size: 15px;
    margin-bottom: 34px;
}

.product-option-block {
    margin-bottom: 26px;
}

.option-label {
    font-size: 18px;
    margin: 0 0 16px;
}

.product-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    transition: box-shadow .2s, background .2s;
}

.product-size-options.needs-selection {
    background: #fff4e5;
    box-shadow: 0 0 0 4px #fff4e5, 0 0 0 5px #b88a5a;
}

.product-size-option {
    display: inline-flex;
    margin: 0;
}

.product-size-button {
    position: relative;
    isolation: isolate;
    overflow: visible;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d8d1cc;
    background: #fff;
    color: #171312;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.product-size-button.is-selected,
.product-size-button[aria-pressed="true"] {
    border: 2px solid #6f2dbd;
    background: #f7f1ff;
    color: #24103f;
    font-weight: 600;
}

.product-size-button:not(:disabled):hover { border-color: #6f2dbd; transform: translateY(-1px); }
.product-size-button:disabled { background: #f5f3f1; border-color: #dedad6; color: #aaa4a0; cursor: not-allowed; opacity: .75; }
.product-size-button:focus-visible { outline: 3px solid rgba(111, 45, 189, .2); outline-offset: 3px; }
.size-option__label { position: relative; z-index: 1; }
.product-size-button.size-option--sold-out:disabled { background: #fbf7f3; border-color: #dfc2ae; color: #171312; opacity: .9; }
.size-option__sold-out-ribbon { position: absolute; top: 26px; left: -14px; z-index: 3; width: 92px; padding: 5px 4px; background: #e00000; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .04em; text-align: center; white-space: nowrap; transform: rotate(-27deg); transform-origin: center; box-shadow: 0 2px 4px rgb(0 0 0 / 18%); pointer-events: none; }
.size-option__sold-out-ribbon::before, .size-option__sold-out-ribbon::after { content: ''; position: absolute; top: 100%; border-style: solid; }
.size-option__sold-out-ribbon::before { left: 0; border-width: 5px 6px 0 0; border-color: #960000 transparent transparent; }
.size-option__sold-out-ribbon::after { right: 0; border-width: 5px 0 0 6px; border-color: #960000 transparent transparent; }

@media (max-width: 640px) {
    .product-size-options { gap: 18px; }
    .product-size-button { width: 52px; height: 52px; font-size: 16px; }
    .size-option__sold-out-ribbon { top: 21px; left: -12px; width: 76px; padding-block: 3px; font-size: 8px; }
}

.product-badge-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.product-badge-row span {
    border: 1px solid #c9a24d;
    color: #7a1e2c;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-option {
    border: 1px solid #bbb;
    background: transparent;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.color-option span {
    width: 18px;
    height: 18px;
    border: 1px solid #d8cfc2;
    border-radius: 50%;
}

.color-option.active {
    border-color: #7a1e2c;
    box-shadow: 0 0 0 2px rgba(122, 30, 44, .12);
}

.model-info {
    text-align: center;
    color: #555;
    font-size: 15px;
    margin: 28px 0;
}

.size-chart-link {
    color: #111;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 26px;
    font-size: 16px;
}

.cart-actions {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.quantity-control {
    height: 62px;
    border: 1px solid #111;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 20px;
}

.quantity-control button {
    border: none;
    background: transparent;
    font-size: 32px;
    cursor: pointer;
}

.add-cart-btn {
    height: 62px;
    border: 1px solid #111;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 18px;
    cursor: pointer;
}

.buy-now-btn {
    width: 100%;
    height: 64px;
    border-radius: 999px;
    border: none;
    background: #000;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 28px;
}

.product-stock-warning {
    display: grid;
    gap: 6px;
    margin: -12px 0 28px;
    color: #b00020;
    font-size: 14px;
    line-height: 1.4;
}

.product-stock-warning[hidden] {
    display: none;
}

.product-stock-warning a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.add-cart-btn:disabled,
.buy-now-btn:disabled,
.sticky-add-cart-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.color-note {
    text-align: center;
    color: #777;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 30px;
}

.care-section {
    font-size: 16px;
}

.care-section p {
    margin-bottom: 6px;
}

.care-section ul {
    padding-left: 18px;
    margin-top: 0;
}

.cart-message {
    margin-top: 16px;
    color: #8a4a13;
    font-size: 15px;
    font-weight: 700;
}

.similar-products-section {
    padding: 40px 64px 100px;
    background: #fff;
}

.similar-products-section h2 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 42px;
}

.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.similar-product-card {
    min-width: 0;
}

.similar-product-card a {
    color: #111;
    text-decoration: none;
}

.similar-image-wrap {
    position: relative;
    background: #f4f2ef;
    overflow: hidden;
    aspect-ratio: 3 / 4.6;
}

.similar-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.similar-discount-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 999px;
    font-size: 14px;
    padding: 6px 10px;
}

.similar-product-card h3 {
    font-size: 16px;
    font-weight: 400;
    margin: 16px 0 8px;
    text-transform: uppercase;
}

.similar-price-row {
    display: flex;
    gap: 8px;
    font-size: 16px;
}

.similar-old-price {
    color: #777;
    text-decoration: line-through;
}

.mobile-gallery-controls,
.mobile-similar-controls {
    display: none;
}

.sticky-cart-bar {
    position: fixed;
    right: clamp(1rem, 3vw, 3rem);
    bottom: 28px;
    z-index: 1200;
    width: min(720px, calc(100vw - 2rem));
    min-height: 96px;
    background: #f4f4f4;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity .2s ease, transform .2s ease;
}

.sticky-cart-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sticky-cart-product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.sticky-cart-product img {
    width: 64px;
    height: 76px;
    object-fit: cover;
    background: #e9e6df;
}

.sticky-cart-product strong,
.sticky-cart-product span {
    display: block;
}

.sticky-cart-product strong {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.sticky-cart-product span {
    color: #666;
    font-size: .9rem;
}

.sticky-add-cart-btn {
    min-width: 210px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #222;
    color: #fff;
    font-weight: 700;
}

.newsletter-section {
    background: #fff;
    padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 8vw, 13rem) clamp(3rem, 6vw, 5rem);
    text-align: center;
}

.newsletter-inner {
    max-width: 1500px;
    margin: 0 auto;
}

.footer-kicker {
    text-transform: uppercase;
    font-size: .8rem;
    color: #777;
    font-weight: 800;
}

.newsletter-section h2 {
    margin: 0 0 2.5rem;
    font-size: clamp(1.6rem, 2.4vw, 2.6rem);
    font-weight: 500;
}

.newsletter-section h2 em {
    font-style: italic;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    min-height: 60px;
    max-width: 1470px;
    margin: 0 auto 2.5rem;
}

.newsletter-form input {
    flex: 1;
    border: 0;
    padding: 0 1.5rem;
    outline: 0;
    font-size: 1.2rem;
}

.newsletter-form button {
    border: 0;
    background: transparent;
    color: #777;
    font-size: 2.2rem;
    width: 70px;
}

.newsletter-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.newsletter-socials a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    background: #fff;
    color: #000;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.2rem, 4vw, 4rem) 2rem;
}

.footer-brand {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-columns {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
}

.footer-columns h3 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.footer-columns a,
.footer-columns p {
    display: block;
    color: #000;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 .35rem;
    text-decoration: none;
}

.footer-columns a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1500px;
    margin: 4rem auto 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.payment-tags {
    display: flex;
    gap: .35rem;
}

.payment-tags span {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 26px;
    border-radius: 4px;
    background: #064fc4;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .home-departments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-department-tile {
        min-height: 460px;
    }

    .home-product-card {
        flex-basis: 42vw;
    }

    .home-category-feature {
        grid-template-columns: 260px 1fr;
    }

    .home-category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-layout {
        grid-template-columns: 1fr;
        padding: 0 24px 60px;
    }

    .product-info-panel {
        position: static;
        max-width: 100%;
    }

    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image-card,
    .product-image-card img {
        min-height: 520px;
    }

    .similar-products-section {
        padding: 40px 24px 80px;
    }
}

@media (max-width: 1280px) and (min-width: 769px) {
    .rangqari-hero {
        min-height: 620px;
        background-position: 58% center;
        padding-top: 112px;
        padding-bottom: 38px;
    }

    .rangqari-hero > div {
        max-width: 52vw;
    }

    .rangqari-hero h1 {
        font-size: clamp(40px, 5vw, 66px);
    }

    .rangqari-hero p {
        max-width: 500px;
        font-size: 18px;
    }
}

@media (max-width: 1919px) and (min-width: 769px) {
    .similar-products-section {
        overflow: hidden;
    }

    .similar-products-grid {
        display: flex;
        gap: 32px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .similar-products-grid::-webkit-scrollbar {
        display: none;
    }

    .similar-product-card {
        flex: 0 0 calc((100% - 96px) / 4);
        scroll-snap-align: start;
    }

    .similar-products-section .mobile-similar-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 22px;
        margin: 32px 0 0;
    }

    .similar-products-section .similar-prev,
    .similar-products-section .similar-next {
        border: none;
        background: transparent;
        color: #777;
        font-size: 34px;
        cursor: pointer;
    }

    .similar-products-section .similar-progress {
        width: 150px;
        height: 7px;
        background: #bbb;
        border-radius: 999px;
        overflow: hidden;
    }

    .similar-products-section .similar-progress span {
        display: block;
        height: 100%;
        width: 25%;
        background: #000;
        border-radius: 999px;
        transition: width .25s ease, margin-left .25s ease;
    }
}

@media (max-width: 900px) {
    .cart-page-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        padding: 36px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    main,
    .rangqari-hero,
    .home-departments-grid,
    .home-best-sellers,
    .rangqari-story,
    .site-footer,
    .newsletter-section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .rangqari-hero {
        min-height: calc(100svh - 34px);
        align-items: flex-end;
        padding: 150px 20px 48px;
        background-position: center top;
    }

    .rangqari-hero > div {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .rangqari-hero h1 {
        max-width: 100%;
        font-size: clamp(2.35rem, 11.5vw, 3.5rem);
        line-height: .94;
        overflow-wrap: anywhere;
    }

    .rangqari-hero p {
        width: min(100%, 310px);
        font-size: 1rem;
        line-height: 1.5;
    }

    .rangqari-hero > div > div {
        display: grid;
        gap: .75rem;
        margin-top: 1.4rem;
    }

    .rangqari-hero a {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .home-departments-grid {
        grid-template-columns: 1fr;
        border-top-width: 8px;
    }

    .home-department-tile {
        min-height: min(76svh, 620px);
    }

    .department-overlay ul {
        opacity: 1;
        transform: none;
    }

    .home-best-sellers {
        padding-top: 4rem;
    }

    .home-product-card {
        flex-basis: min(78vw, 340px);
        min-width: 0;
    }

    .home-category-feature {
        grid-template-columns: 1fr;
        padding: 3rem 1rem 4rem;
    }

    .home-category-products {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-category-products::-webkit-scrollbar {
        display: none;
    }

    .home-category-products .home-product-card {
        flex: 0 0 78vw;
        scroll-snap-align: start;
    }

    .cart-drawer-head {
        padding: 0 28px;
    }

    .cart-drawer-body,
    .cart-drawer-foot {
        padding-left: 28px;
        padding-right: 28px;
    }

    .drawer-cart-item,
    .drawer-reco-card {
        grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
        gap: 18px;
    }

    .drawer-actions {
        grid-template-columns: 1fr;
    }

    .cart-table-head {
        display: none;
    }

    .cart-page h1 {
        margin-bottom: 2rem;
    }

    .cart-page-line {
        grid-template-columns: 1fr auto;
        gap: 18px;
        border-bottom: 1px solid #ddd;
    }

    .cart-page-product {
        grid-column: 1 / -1;
    }

    .cart-page-qty {
        grid-column: 1;
    }

    .cart-page-line > .cart-page-price {
        grid-column: 1;
    }

    .product-layout {
        display: block;
        padding: 0 0 50px;
    }

    .product-gallery-wrap {
        overflow: hidden;
    }

    .product-gallery {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .product-gallery::-webkit-scrollbar {
        display: none;
    }

    .product-image-card {
        min-width: 100%;
        height: auto;
        min-height: 560px;
        scroll-snap-align: start;
    }

    .product-image-card img {
        min-height: 560px;
    }

    .mobile-gallery-controls,
    .mobile-similar-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 22px;
        margin: 18px 0 28px;
    }

    .gallery-arrow,
    .similar-prev,
    .similar-next {
        border: none;
        background: transparent;
        font-size: 34px;
        color: #777;
        cursor: pointer;
    }

    .gallery-progress,
    .similar-progress {
        width: 150px;
        height: 7px;
        background: #bbb;
        border-radius: 999px;
        overflow: hidden;
    }

    .gallery-progress span,
    .similar-progress span {
        display: block;
        height: 100%;
        width: 25%;
        background: #000;
        border-radius: 999px;
        transition: width .25s ease, margin-left .25s ease;
    }

    .product-info-panel {
        padding: 24px 22px 0;
    }

    .product-title {
        font-size: 24px;
    }

    .product-price-row {
        font-size: 21px;
        flex-wrap: wrap;
    }

    .product-description,
    .product-material {
        font-size: 16px;
    }

    .cart-actions {
        grid-template-columns: 1fr;
    }

    .quantity-control,
    .add-cart-btn,
    .buy-now-btn {
        height: 58px;
    }

    .similar-products-section {
        padding: 28px 0 70px;
    }

    .similar-products-section h2 {
        padding: 0 22px;
        margin-bottom: 24px;
    }

    .similar-products-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 0 22px;
        scrollbar-width: none;
    }

    .similar-products-grid::-webkit-scrollbar {
        display: none;
    }

    .similar-product-card {
        min-width: 78%;
        scroll-snap-align: start;
    }

    .sticky-cart-bar {
        left: .8rem;
        right: .8rem;
        bottom: 16px;
        width: auto;
    }

    .sticky-add-cart-btn {
        min-width: 140px;
    }
}

@media (max-width: 991px) {
    .mega-menu { display: block !important; max-width: 100vw; }
}

/* Compact cart drawer: its controls stay in view on ordinary laptop screens. */
.icon-bag {
    width: 24px !important;
    height: 22px !important;
    border: 3px solid currentColor !important;
    border-radius: 5px 5px 7px 7px;
    transform: translateY(3px);
}

.icon-bag::before {
    left: 5px !important;
    top: -11px !important;
    width: 10px !important;
    height: 11px !important;
    border-width: 3px !important;
    border-bottom: 0 !important;
    border-radius: 12px 12px 0 0;
}

.icon-bag::after { display: none !important; }

.cart-drawer {
    width: min(480px, 100vw);
}

.cart-drawer-head {
    min-height: 64px;
    padding: 0 24px;
}

.cart-drawer-head h2 { font-size: 1.45rem; }
.cart-drawer-close { font-size: 2.25rem; }
.cart-drawer-body { padding: 22px 24px; }

.drawer-empty {
    max-width: 330px;
    margin: auto;
    padding-block: clamp(2rem, 9vh, 5rem);
    font-size: 1rem;
    text-align: center;
}

.drawer-empty a {
    margin-top: 1rem;
    padding: .75rem 1rem;
    font-size: .9rem;
}

.drawer-cart-item { grid-template-columns: 88px 1fr; gap: 14px; margin-bottom: 18px; }
.drawer-item-actions { gap: 12px; margin-top: 14px; }
.drawer-qty-form { height: 36px; min-width: 112px; }
.drawer-qty-form button { font-size: 1.35rem; }
.drawer-reco-card { grid-template-columns: 86px 1fr; gap: 14px; padding: 10px; }
.drawer-reco-card button { padding: .45rem .85rem; font-size: .8rem; }
.drawer-divider { margin: 18px 0; }

.cart-drawer-foot { padding: 14px 24px 18px; }
.cart-drawer-foot details { padding: 9px 0; font-size: .78rem; }
.drawer-total { margin-top: 14px; font-size: 1.25rem; }
.drawer-note { margin: 8px 0 12px; font-size: .8rem; }
.drawer-actions { gap: 10px; }
.drawer-actions a { min-height: 42px; font-size: .85rem; }

@media (max-width: 560px) {
    .cart-drawer-head { padding-inline: 18px; }
    .cart-drawer-body, .cart-drawer-foot { padding-left: 18px; padding-right: 18px; }
    .drawer-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .cart-drawer-body,
    .cart-drawer-foot {
        padding-left: 18px;
        padding-right: 18px;
    }

    .drawer-cart-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

    .drawer-item-actions {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 20px;
    }

    .drawer-qty-form {
        min-width: 140px;
    }

    .rangqari-story {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rangqari-story p {
        font-size: 1rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Design system stabilization layer */
:root {
    --color-ink: #17130f;
    --color-muted: #796f65;
    --color-line: #e4d7c9;
    --color-paper: #fffaf3;
    --color-soft: #f5eadf;
    --color-accent: #7a1e2c;
    --space-1: .5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --radius-pill: 999px;
    --radius-card: .5rem;
    --top-strip-h: 34px;
    --nav-h: 64px;
    --container-max: 1480px;
    --text-xs: clamp(.72rem, .72vw, .82rem);
    --text-sm: clamp(.82rem, .82vw, .94rem);
    --text-base: clamp(.94rem, .9vw, 1rem);
    --text-md: clamp(1rem, 1.05vw, 1.18rem);
    --text-lg: clamp(1.25rem, 1.7vw, 1.75rem);
    --text-display: clamp(3rem, 4.8vw, 5.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
body { font-size: var(--text-base); line-height: 1.45; background: var(--color-paper); }
img, svg, video { max-width: 100%; height: auto; }
.container, .container-fluid { max-width: var(--container-max); }
.btn, .form-control, .form-select, .quiet-card, .stat, .cart-line { border-radius: 0; }

.top-strip {
    height: var(--top-strip-h) !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    font-size: var(--text-xs) !important;
    line-height: 1 !important;
}

.ticker, .ticker span { gap: var(--space-6) !important; align-items: center; }
.main-nav, .main-nav.is-home { top: var(--top-strip-h) !important; }
.main-nav .container-fluid { max-width: none; padding-inline: clamp(var(--space-2), 3vw, var(--space-6)) !important; }

.nav-shell {
    min-height: var(--nav-h) !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    gap: clamp(var(--space-1), 1.5vw, var(--space-3)) !important;
}

.brand-logo-mark { width: clamp(180px, 14vw, 260px) !important; }
.dept-nav { gap: clamp(var(--space-1), 1vw, var(--space-2)) !important; }

.dept-link,
.main-nav.is-home:not(:hover):not(:focus-within):not(.is-solid) .dept-link {
    min-width: auto !important;
    height: 36px !important;
    padding: 0 clamp(14px, 1vw, 20px) !important;
    border-radius: var(--radius-pill) !important;
    font-size: var(--text-xs) !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.dept-link::after {
    width: .42rem !important;
    height: .42rem !important;
    margin-left: .45rem !important;
}

.nav-actions { gap: clamp(.4rem, .8vw, .75rem) !important; }
.icon-btn { width: 30px !important; height: 30px !important; padding: 0 !important; }
.icon-search { width: 21px !important; height: 21px !important; border-width: 2px !important; }
.icon-search::after { width: 9px !important; height: 2px !important; right: -7px !important; bottom: -4px !important; }
.icon-bag { width: 22px !important; height: 22px !important; border-width: 2px !important; }
.icon-bag::before { left: 5px !important; top: -9px !important; width: 10px !important; height: 10px !important; border-width: 2px !important; }
.cart-count { width: 18px !important; height: 18px !important; right: -7px !important; top: -7px !important; font-size: .62rem !important; }
.account-link, .logout-btn, .nav-actions .nav-link { font-size: var(--text-xs) !important; }
.nav-actions .btn { padding: .35rem .6rem !important; font-size: .68rem !important; }

.rangqari-hero {
    min-height: calc(100svh - var(--top-strip-h)) !important;
    max-height: 760px;
    padding: calc(var(--top-strip-h) + var(--nav-h) + var(--space-4)) clamp(var(--space-3), 6vw, 6rem) clamp(var(--space-4), 6vh, var(--space-6)) !important;
    align-items: flex-end;
    background-position: center !important;
}

.rangqari-hero > div { width: min(100%, 620px) !important; max-width: 52vw !important; }
.rangqari-hero span { margin-bottom: var(--space-1) !important; font-size: var(--text-xs); }
.rangqari-hero h1 { font-size: var(--text-display) !important; line-height: .9 !important; margin-bottom: var(--space-2) !important; }
.rangqari-hero p { max-width: 520px !important; font-size: var(--text-md) !important; line-height: 1.42 !important; margin-bottom: 0; }

.rangqari-hero a,
.home-section-intro a,
.drawer-actions a,
.checkout-link,
.add-cart-btn,
.buy-now-btn,
.sticky-add-cart-btn {
    min-height: 44px;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
}

.rangqari-hero a {
    min-width: 160px !important;
    padding: .75rem 1.25rem !important;
    margin-top: var(--space-2) !important;
}

.home-departments-grid { border-top-width: 8px !important; }
.home-department-tile { min-height: clamp(360px, 32vw, 560px) !important; }
.home-best-sellers { padding-block: clamp(var(--space-6), 7vw, 6rem) var(--space-4) !important; }
.home-section-intro { margin-bottom: clamp(var(--space-4), 5vw, 5rem) !important; }
.home-product-card { flex-basis: clamp(260px, 26vw, 420px) !important; }

.product-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr);
    gap: clamp(var(--space-3), 3vw, var(--space-6));
    padding: 0 clamp(var(--space-2), 4vw, var(--space-6)) var(--space-6);
}

.product-gallery { gap: var(--space-2); }
.product-image-card, .product-image-card img { min-height: clamp(480px, 58vh, 680px); }
.product-info-panel { top: calc(var(--top-strip-h) + var(--nav-h) + var(--space-2)); padding-top: var(--space-3); }
.product-title { font-size: clamp(1.4rem, 2vw, 2rem); }
.product-price-row, .product-description, .product-material, .option-label, .color-option, .add-cart-btn, .buy-now-btn { font-size: var(--text-md); }
.cart-actions { grid-template-columns: 128px 1fr; }
.quantity-control, .add-cart-btn, .buy-now-btn { height: 54px; }

.newsletter-section, .site-footer, .similar-products-section, .cart-page, .rangqari-story {
    padding-inline: clamp(var(--space-2), 4vw, var(--space-6));
}

.newsletter-section { padding-block: clamp(var(--space-4), 6vw, 5rem) var(--space-4); }
.site-footer { padding-block: clamp(var(--space-4), 5vw, 4rem) var(--space-3); }
.footer-brand { margin-bottom: clamp(var(--space-3), 4vw, var(--space-6)); }
.footer-brand .brand-logo-mark { width: clamp(220px, 22vw, 340px) !important; }
.footer-columns { gap: clamp(var(--space-3), 4vw, var(--space-6)); }

.editorial-auth { min-height: calc(100svh - var(--nav-h)); }
.auth-intro, .auth-form-side { padding: clamp(var(--space-4), 7vw, 6rem); }
.auth-intro h1 { font-size: clamp(3rem, 5.4vw, 5.8rem); }
.auth-field { margin-bottom: var(--space-4); }
.auth-submit { min-height: 56px; }

@media (max-width: 1180px) {
    .brand-logo-mark { width: clamp(160px, 16vw, 220px) !important; }
    .rangqari-hero > div { max-width: 58vw !important; }
}

@media (max-width: 991px) {
    :root { --nav-h: 96px; }
    .main-nav, .main-nav.is-home {
        position: sticky !important;
        top: var(--top-strip-h) !important;
        background: var(--color-paper) !important;
    }

    .nav-shell {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        min-height: var(--nav-h) !important;
        padding-block: var(--space-1) !important;
    }

    .navbar-brand {
        grid-column: 1 / -1;
        order: -1;
        color: var(--color-ink) !important;
    }

    .brand-logo-mark { width: clamp(150px, 34vw, 220px) !important; }
    .dept-nav {
        grid-column: 1 / -1;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: .25rem;
    }

    .dept-nav::-webkit-scrollbar { display: none; }
    .dept-link,
    .main-nav.is-home:not(:hover):not(:focus-within):not(.is-solid) .dept-link {
        height: 32px !important;
        background: transparent !important;
        padding-inline: .25rem !important;
        box-shadow: none !important;
    }

    .nav-actions {
        position: absolute;
        right: clamp(.75rem, 3vw, 1.5rem);
        top: 18px;
    }

    .rangqari-hero {
        min-height: calc(100svh - var(--top-strip-h)) !important;
        padding: calc(var(--nav-h) + var(--space-4)) var(--space-2) var(--space-4) !important;
    }

    .rangqari-hero > div { max-width: min(560px, 92vw) !important; }
    .rangqari-hero h1 { font-size: clamp(2.6rem, 9vw, 4.5rem) !important; }
    .rangqari-category-grid, .home-departments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .product-layout { grid-template-columns: 1fr; }
    .product-info-panel { position: static; max-width: none; }
}

@media (max-width: 768px) {
    :root { --top-strip-h: 30px; --nav-h: 112px; }
    .top-strip { font-size: .64rem !important; }
    .nav-shell { min-height: var(--nav-h) !important; }
    .rangqari-hero { padding-top: calc(var(--nav-h) + var(--space-3)) !important; max-height: none; }
    .rangqari-hero h1 { font-size: clamp(2.35rem, 11vw, 3.6rem) !important; }
    .rangqari-hero p { font-size: 1rem !important; max-width: 22rem !important; }
    .rangqari-hero > div > div { display: grid; gap: var(--space-1); }
    .rangqari-hero a { width: min(100%, 320px); margin-right: 0 !important; }
    .rangqari-category-grid, .home-departments-grid { grid-template-columns: 1fr !important; }
    .home-department-tile { min-height: min(70svh, 520px) !important; }
    .product-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .product-image-card { min-width: 86vw; scroll-snap-align: start; }
    .cart-page-line, .drawer-cart-item, .drawer-reco-card { grid-template-columns: 1fr; }
    .cart-actions { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr !important; }
    .editorial-auth { grid-template-columns: 1fr; }
    .auth-intro { border-right: 0; border-bottom: 1px solid #dedbd6; }
}

/* Production UI audit pass: one source of truth for global chrome and scale */
:root {
    --rq-ink: #17130f;
    --rq-muted: #796f65;
    --rq-line: #e4d7c9;
    --rq-paper: #fffaf3;
    --rq-soft: #f5eadf;
    --rq-accent: #7a1e2c;
    --rq-top-strip: 32px;
    --rq-nav: 64px;
    --rq-container: 1480px;
    --rq-radius-pill: 999px;
    --rq-speed: 180ms;
    --rq-step-1: .5rem;
    --rq-step-2: 1rem;
    --rq-step-3: 1.5rem;
    --rq-step-4: 2rem;
    --rq-text-xs: clamp(.7rem, .7vw, .8rem);
    --rq-text-sm: clamp(.82rem, .78vw, .92rem);
    --rq-text-base: clamp(.94rem, .88vw, 1rem);
    --rq-text-md: clamp(1rem, 1vw, 1.16rem);
    --rq-display: clamp(2.8rem, 4.1vw, 4.9rem);
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
    background: var(--rq-paper);
    color: var(--rq-ink);
    text-rendering: optimizeLegibility;
}

body {
    font-size: var(--rq-text-base);
    line-height: 1.45;
}

a,
button {
    transition: color var(--rq-speed) ease, background-color var(--rq-speed) ease, border-color var(--rq-speed) ease, opacity var(--rq-speed) ease, transform var(--rq-speed) ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--rq-accent);
    outline-offset: 3px;
}

img {
    display: block;
    max-width: 100%;
}

.container,
.container-fluid {
    max-width: var(--rq-container);
}

.top-strip {
    position: sticky;
    top: 0;
    z-index: 1050;
    height: var(--rq-top-strip) !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--rq-line);
    background: var(--rq-soft);
    color: #2b2520;
    font-size: var(--rq-text-xs) !important;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker {
    display: flex;
    min-width: max-content;
    gap: clamp(2rem, 5vw, 4rem) !important;
    animation: rqTicker 28s linear infinite;
}

.ticker span {
    display: inline-flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem) !important;
}

.ticker b {
    font-weight: 500;
}

.ticker em {
    color: var(--rq-muted);
    font-style: normal;
}

@keyframes rqTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.main-nav,
.main-nav.is-home {
    z-index: 1040;
    border-bottom: 1px solid var(--rq-line);
    background: rgba(255, 250, 243, .97);
}

.main-nav {
    position: sticky;
    top: var(--rq-top-strip) !important;
}

.main-nav.is-home {
    position: absolute !important;
    inset: var(--rq-top-strip) 0 auto;
    top: var(--rq-top-strip) !important;
    border-color: transparent;
    background: transparent;
}

.main-nav.is-home:hover,
.main-nav.is-home:focus-within,
.main-nav.is-home.is-solid {
    border-color: var(--rq-line);
    background: rgba(255, 250, 243, .97);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .06);
}

.main-nav .container-fluid {
    max-width: none;
    padding-inline: clamp(1rem, 3vw, 3rem) !important;
}

.nav-shell {
    min-height: var(--rq-nav) !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center;
    gap: clamp(.75rem, 1.5vw, 1.5rem) !important;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: var(--rq-ink);
    text-decoration: none;
}

.main-nav.is-home:not(:hover):not(:focus-within):not(.is-solid) .navbar-brand {
    color: #fff;
}

.brand-logo-mark {
    display: block;
    width: clamp(190px, 16vw, 300px) !important;
    aspect-ratio: 778 / 168;
    background: currentColor;
    -webkit-mask: url("../logo/rangqari-wordmark.png") center / contain no-repeat;
    mask: url("../logo/rangqari-wordmark.png") center / contain no-repeat;
}

.dept-nav {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: clamp(.5rem, 1.1vw, 1rem) !important;
}

.dept-item {
    position: static;
}

.dept-link,
.main-nav.is-home:not(:hover):not(:focus-within):not(.is-solid) .dept-link {
    min-width: auto !important;
    height: 34px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0 clamp(.8rem, 1vw, 1.15rem) !important;
    border: 0;
    border-radius: var(--rq-radius-pill) !important;
    background: #fff;
    color: #111;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
    font-size: var(--rq-text-xs) !important;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav:not(.is-home) .dept-link,
.main-nav.is-home:hover .dept-link,
.main-nav.is-home:focus-within .dept-link,
.main-nav.is-home.is-solid .dept-link {
    background: transparent !important;
    box-shadow: none;
    padding-inline: .2rem !important;
}

.dept-link::after {
    content: "";
    width: .42rem !important;
    height: .42rem !important;
    margin: 0 0 .18rem .25rem !important;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.mega-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1045;
    padding: clamp(2rem, 4vw, 3.25rem) 4vw;
    border-top: 1px solid var(--rq-line);
    background: rgba(255, 250, 243, .98);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .08);
}

.dept-item:hover .mega-menu,
.dept-item:focus-within .mega-menu {
    display: block;
}

.mega-inner {
    max-width: var(--rq-container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(180px, 1fr) minmax(180px, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
}

.mega-column h3,
.mega-column a {
    color: #111;
    text-transform: uppercase;
}

.mega-column h3 {
    margin: 0 0 .85rem;
    font-size: var(--rq-text-sm);
    font-weight: 700;
}

.mega-column a {
    display: block;
    margin-block: .45rem;
    text-decoration: none;
    font-size: var(--rq-text-base);
}

.mega-column a:hover {
    color: var(--rq-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: clamp(.45rem, .8vw, .8rem) !important;
}

.icon-btn {
    position: relative;
    width: 30px !important;
    height: 30px !important;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: #111;
    overflow: visible;
}

.header-cart__icon {
    display: block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.icon-search,
.icon-bag {
    display: block;
    position: relative;
    color: currentColor;
}

.icon-search {
    width: 21px !important;
    height: 21px !important;
    border: 2px solid currentColor !important;
    border-radius: 50%;
}

.icon-search::after {
    content: "";
    position: absolute;
    right: -7px !important;
    bottom: -4px !important;
    width: 9px !important;
    height: 2px !important;
    background: currentColor !important;
    transform: rotate(45deg);
}

.icon-bag {
    width: 22px !important;
    height: 22px !important;
    border: 2px solid currentColor !important;
    border-radius: 4px 4px 6px 6px;
    transform: translateY(2px);
}

.icon-bag::before {
    content: "";
    position: absolute;
    left: 5px !important;
    top: -9px !important;
    width: 10px !important;
    height: 10px !important;
    border: 2px solid currentColor !important;
    border-bottom: 0 !important;
    border-radius: 10px 10px 0 0;
}

.icon-bag::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 10px 0 currentColor;
}

.cart-count {
    position: absolute;
    top: -7px !important;
    right: -7px !important;
    width: 18px !important;
    height: 18px !important;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: .62rem !important;
    font-weight: 800;
    line-height: 1;
}

.account-link,
.logout-btn,
.nav-actions .nav-link {
    color: #111;
    font-size: var(--rq-text-xs) !important;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.logout-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: #6f5542;
}

.rangqari-hero {
    min-height: calc(100svh - var(--rq-top-strip)) !important;
    max-height: 740px;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--rq-nav) + 2.25rem) clamp(1.5rem, 5.5vw, 5.5rem) clamp(2rem, 5vh, 3.5rem) !important;
    background-size: cover;
    background-position: center !important;
}

.rangqari-hero > div {
    width: min(100%, 600px) !important;
    max-width: min(50vw, 600px) !important;
}

.rangqari-hero span {
    margin-bottom: var(--rq-step-1) !important;
    font-size: var(--rq-text-xs) !important;
    letter-spacing: .08em;
}

.rangqari-hero h1 {
    max-width: 10ch;
    margin: 0 0 var(--rq-step-2) !important;
    font-size: var(--rq-display) !important;
    line-height: .92 !important;
    text-wrap: balance;
}

.rangqari-hero p {
    max-width: 34rem !important;
    margin: 0;
    font-size: var(--rq-text-md) !important;
    line-height: 1.45 !important;
}

.rangqari-hero a,
.home-section-intro a,
.drawer-actions a,
.cart-summary-card .checkout-link,
.add-cart-btn,
.buy-now-btn,
.sticky-add-cart-btn {
    min-height: 44px !important;
    border-radius: var(--rq-radius-pill) !important;
    font-size: var(--rq-text-sm) !important;
}

.rangqari-hero a {
    min-width: 152px !important;
    margin-top: var(--rq-step-2) !important;
    padding: .72rem 1.2rem !important;
}

.home-departments-grid {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top-width: 8px !important;
}

.home-department-tile {
    min-height: clamp(320px, 30vw, 520px) !important;
}

.home-department-tile img,
.home-product-image img,
.product-img,
.similar-image-wrap img,
.drawer-cart-item img,
.drawer-reco-card img,
.cart-page-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-product-card {
    flex-basis: clamp(240px, 25vw, 400px) !important;
}

.product-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .75fr) !important;
    gap: clamp(1rem, 2.75vw, 3rem) !important;
    padding-inline: clamp(1rem, 3.5vw, 4rem) !important;
}

.product-image-card {
    aspect-ratio: 3 / 4;
    min-height: auto !important;
}

.product-image-card img {
    min-height: 0 !important;
    height: 100% !important;
}

.product-info-panel {
    top: calc(var(--rq-top-strip) + var(--rq-nav) + 1rem) !important;
}

.site-footer,
.newsletter-section,
.cart-page,
.similar-products-section,
.rangqari-story {
    padding-inline: clamp(1rem, 4vw, 4rem) !important;
}

@media (max-width: 1180px) {
    :root {
        --rq-nav: 88px;
    }

    .nav-shell {
        grid-template-columns: minmax(0, 1fr) auto !important;
        padding-block: .5rem;
    }

    .navbar-brand {
        grid-column: 1 / -1;
        order: -1;
    }

    .brand-logo-mark {
        width: clamp(160px, 28vw, 230px) !important;
    }

    .dept-nav {
        grid-column: 1 / -1;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .dept-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-actions {
        position: absolute;
        top: 1rem;
        right: clamp(1rem, 3vw, 2rem);
    }

    .mega-menu {
        display: none !important;
    }

    .rangqari-hero > div {
        max-width: min(620px, 72vw) !important;
    }

    .home-departments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .product-layout {
        grid-template-columns: 1fr !important;
    }

    .product-info-panel {
        position: static;
        max-width: none;
    }
}

@media (max-width: 768px) {
    :root {
        --rq-top-strip: 28px;
        --rq-nav: 104px;
    }

    .top-strip {
        font-size: .62rem !important;
    }

    .main-nav.is-home,
    .main-nav {
        position: sticky !important;
        inset: auto;
        top: var(--rq-top-strip) !important;
        background: var(--rq-paper) !important;
        border-color: var(--rq-line) !important;
    }

    .main-nav.is-home .navbar-brand {
        color: var(--rq-ink) !important;
    }

    .nav-shell {
        min-height: var(--rq-nav) !important;
    }

    .dept-link,
    .main-nav.is-home:not(:hover):not(:focus-within):not(.is-solid) .dept-link {
        height: 30px !important;
        padding-inline: .6rem !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .rangqari-hero {
        min-height: calc(100svh - var(--rq-top-strip) - var(--rq-nav)) !important;
        max-height: none;
        padding: clamp(2rem, 8vh, 4rem) 1rem 2rem !important;
    }

    .rangqari-hero > div {
        max-width: 100% !important;
    }

    .rangqari-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.35rem) !important;
    }

    .rangqari-hero p {
        max-width: 22rem !important;
        font-size: 1rem !important;
    }

    .rangqari-hero > div > div {
        display: grid;
        gap: .75rem;
        width: min(100%, 20rem);
        margin-top: 1.25rem;
    }

    .rangqari-hero a {
        width: 100%;
        margin: 0 !important;
    }

    .home-departments-grid {
        grid-template-columns: 1fr !important;
    }

    .home-department-tile {
        min-height: min(68svh, 520px) !important;
    }

    .department-overlay ul {
        opacity: 1;
        transform: none;
    }

    .product-gallery {
        display: flex;
        gap: 0 !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .product-image-card {
        min-width: 100% !important;
        scroll-snap-align: start;
    }

    .cart-actions,
    .drawer-actions,
    .cart-page-layout,
    .footer-columns {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 1920px) {
    :root {
        --rq-container: 1680px;
        --rq-display: clamp(4rem, 4vw, 6rem);
    }

    .rangqari-hero {
        max-height: 820px;
    }
}

.nav-actions .logout-btn {
    display: inline-flex !important;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Footer: compact, readable, and intentionally quiet beside the collection imagery. */
.site-footer {
    padding-block: clamp(1.75rem, 3vw, 2.75rem) 1.25rem !important;
}

.footer-brand {
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem) !important;
}

.footer-brand .brand-logo-mark {
    width: clamp(160px, 15vw, 220px) !important;
}

.footer-columns {
    gap: clamp(1.5rem, 3vw, 3rem) !important;
}

.footer-columns h3 {
    margin-bottom: .75rem;
    font-size: .95rem;
}

.footer-columns a,
.footer-columns p {
    font-size: .9rem;
    line-height: 1.45;
    margin-bottom: .25rem;
}

.footer-bottom {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rq-line);
    align-items: center;
    font-size: .85rem;
}

.payment-tags {
    align-items: center;
    gap: clamp(1rem, 1.4vw, 1.5rem);
}

.payment-logo {
    width: auto;
    height: 32px;
    display: block;
    object-fit: contain;
}

.newsletter-message {
    max-width: 720px;
    margin: .75rem auto 1rem;
    font-size: .92rem;
    line-height: 1.45;
    text-align: center;
}

.newsletter-message--success { color: #2f6b3f; }
.newsletter-message--error { color: #8a1f2d; }

.collection-empty {
    max-width: 620px;
    margin: clamp(1rem, 4vw, 3rem) auto;
    padding: clamp(2.5rem, 6vw, 5rem) 1.5rem;
    border: 1px solid var(--rq-line);
    text-align: center;
}

.collection-empty h2 { margin: 0 0 .5rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.collection-empty p { color: var(--rq-muted); margin-bottom: 1.5rem; }
.collection-empty a, .info-page__action { display: inline-block; padding: .7rem 1.1rem; border-radius: 999px; background: var(--rq-ink); color: #fff; font-weight: 700; text-decoration: none; }

/* Homepage transparent hero chrome */
.home-page main {
    margin-top: 0 !important;
}

.home-page .top-strip {
    position: sticky;
    top: 0;
    z-index: 1200;
}

.home-page .main-nav.is-home .navbar-brand,
.home-page .main-nav.is-home .icon-btn,
.home-page .main-nav.is-home .account-link,
.home-page .main-nav.is-home .logout-btn,
.home-page .main-nav.is-home .nav-actions .nav-link {
    color: #fff !important;
}

.home-page .rangqari-hero {
    min-height: calc(100vh - var(--rq-top-strip)) !important;
    min-height: calc(100svh - var(--rq-top-strip)) !important;
    max-height: none !important;
    margin: 0 !important;
    padding-top: calc(var(--rq-nav) + 2.25rem) !important;
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center !important;
}

.auth-title-row {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
}

.auth-title-row h1 {
    margin-bottom: 0;
}

.auth-brand {
    color: #171615 !important;
    text-decoration: none;
}

.auth-brand-inline {
    flex: 0 0 auto;
    margin: 0 !important;
}

.auth-brand-inline .brand-logo-mark {
    width: clamp(170px, 18vw, 260px) !important;
}

.editorial-auth-login .auth-title-row {
    width: fit-content;
    flex-direction: column;
    align-items: center;
    gap: clamp(.45rem, 1vw, .85rem);
    margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.editorial-auth-login .auth-title-row h1 {
    margin: 0 !important;
}

.editorial-auth-login .auth-brand-inline .brand-logo-mark {
    width: clamp(240px, 24vw, 390px) !important;
}

.editorial-auth-login .auth-intro > div > p:last-child {
    margin-top: 0;
}

.editorial-auth-register .auth-intro {
    align-items: flex-start !important;
    padding-top: clamp(2rem, 4vw, 4rem) !important;
}

.editorial-auth-register .auth-intro > div {
    margin-top: 0 !important;
}

.auth-password-wrap,
.password-field {
    position: relative;
}

.auth-password-wrap input,
.password-field input {
    padding-right: 3.25rem !important;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #8a8580;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 200ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: #171615;
}

.password-icon {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}

.password-icon-eye-off,
.password-toggle.is-visible .password-icon-eye {
    display: none;
}

.password-toggle.is-visible .password-icon-eye-off {
    display: block;
}

@media (max-width: 768px) {
    .home-page .main-nav.is-home,
    .home-page .main-nav.is-home:hover,
    .home-page .main-nav.is-home:focus-within,
    .home-page .main-nav.is-home.is-solid,
    .home-page .main-nav.is-home.navbar-hover,
    .home-page .main-nav.is-home.navbar-scrolled {
        position: absolute !important;
        top: var(--rq-top-strip) !important;
    }

    .home-page .rangqari-hero {
        min-height: calc(100vh - var(--rq-top-strip)) !important;
        min-height: calc(100svh - var(--rq-top-strip)) !important;
        padding-top: calc(var(--rq-nav) + 1.5rem) !important;
    }

    .auth-title-row {
        display: block;
    }

    .auth-brand-inline {
        display: inline-block;
        margin-top: 1rem !important;
    }

    .editorial-auth-login .auth-title-row {
        align-items: flex-start;
        gap: .65rem;
        margin-bottom: 1.1rem;
    }

    .editorial-auth-login .auth-brand-inline {
        margin-top: 0 !important;
    }

    .editorial-auth-login .auth-brand-inline .brand-logo-mark {
        width: clamp(220px, 64vw, 340px) !important;
    }

    .editorial-auth-register .auth-intro {
        padding-top: 2.5rem !important;
    }
}

.info-page { max-width: 1040px; margin: 0 auto; padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem); }
.info-page__intro { max-width: 700px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.info-page__intro h1 { margin: .4rem 0 1rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.7rem, 6vw, 5.5rem); font-weight: 400; line-height: .95; }
.info-page__intro > p { color: var(--rq-muted); font-size: 1.15rem; }
.info-page__action { margin-top: 1rem; }
.info-page__sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.info-page__sections article { padding: 1.5rem; border: 1px solid var(--rq-line); }
.info-page__sections h2 { font-size: 1rem; text-transform: uppercase; }
.info-page__sections p { margin-bottom: 0; color: var(--rq-muted); }

@media (max-width: 768px) {
    .info-page__sections { grid-template-columns: 1fr; }
    .footer-bottom { gap: .75rem; }
    .footer-bottom .payment-tags { justify-content: center; }
}

/* Premium product detail gallery */
.product-detail-page {
    background: #fff !important;
}

.product-layout {
    max-width: 1540px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: minmax(78px, 104px) minmax(420px, 680px) minmax(340px, 460px) !important;
    gap: clamp(1.5rem, 3vw, 3.75rem) !important;
    align-items: start;
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem) !important;
}

.product-gallery-wrap {
    display: contents;
}

.product-thumbs {
    position: sticky;
    top: calc(var(--rq-top-strip) + var(--rq-nav) + 1rem);
    max-height: min(700px, calc(100vh - var(--rq-top-strip) - var(--rq-nav) - 2rem));
    display: flex;
    flex-direction: column;
    gap: .85rem;
    overflow-y: auto;
    padding: .15rem .35rem .15rem .15rem;
    scrollbar-width: thin;
}

.product-thumb {
    width: 78px;
    height: 100px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    background: #f7f5f1;
    cursor: pointer;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 220ms ease;
}

.product-thumb:hover img {
    transform: scale(1.05);
}

.product-thumb.active {
    border-color: #c9a24d;
    box-shadow: 0 4px 8px rgba(201, 162, 77, .24);
}

.product-main-gallery {
    min-width: 0;
}

.product-gallery-wrap.single-image .product-main-gallery {
    grid-column: 1 / span 2;
}

.product-main-gallery .product-image-card {
    min-height: 700px !important;
    height: min(76vh, 780px);
    aspect-ratio: auto !important;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #faf9f6 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .06);
}

.product-main-gallery .product-gallery-image {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    padding: clamp(1rem, 2vw, 2rem);
    opacity: 1;
    transition: opacity 220ms ease, transform 260ms ease;
}

.product-main-gallery .product-gallery-image.is-changing {
    opacity: .18;
}

.product-image-magnifier {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 125px;
    height: 125px;
    border: 2px solid rgb(23 19 15 / 75%);
    border-radius: 50%;
    background-color: #faf9f6;
    background-repeat: no-repeat;
    box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 120ms ease, visibility 120ms ease;
}

.product-image-magnifier.is-active {
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
    .product-main-gallery .product-gallery-image {
        cursor: zoom-in;
    }
}

@media (hover: none), (pointer: coarse) {
    .product-image-magnifier {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-image-magnifier {
        transition: none;
    }
}

.product-info-panel {
    position: sticky !important;
    top: calc(var(--rq-top-strip) + var(--rq-nav) + 1rem) !important;
    max-width: 460px !important;
    padding-top: .25rem !important;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.1rem;
    color: #8a8278;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.product-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #17130f;
}

.product-title {
    margin: .25rem 0 1rem !important;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 2.3vw, 2.65rem) !important;
    line-height: 1.04 !important;
    text-transform: none !important;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    color: #c9a24d;
    font-size: .9rem;
}

.product-rating small {
    color: #796f65;
}

.product-badge-row {
    margin: .8rem 0 1.15rem !important;
}

.product-price-row {
    margin-bottom: .75rem !important;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem) !important;
}

.product-discount-badge {
    border-radius: 999px !important;
    background: #17130f !important;
    color: #fff !important;
    padding: .35rem .65rem !important;
    font-size: .74rem !important;
    text-transform: uppercase;
}

.product-description,
.product-material,
.product-meta-list,
.model-info,
.color-note,
.care-section {
    font-size: .95rem !important;
    line-height: 1.65 !important;
}

.product-description {
    margin: 1.35rem 0 1rem !important;
    color: #36312b !important;
}

.product-material,
.product-meta-list p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 .45rem !important;
    color: #17130f !important;
}

.product-material span,
.product-meta-list span,
.option-label {
    color: #796f65;
    font-size: .72rem !important;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.product-divider {
    margin: 1.35rem 0 !important;
    border-top-color: #e4d7c9 !important;
}

.product-option-block {
    margin-bottom: 1.35rem !important;
}

.color-options {
    gap: .65rem !important;
}

.color-option {
    padding: .65rem .95rem !important;
    border-color: #d8d0c7 !important;
    border-radius: 999px !important;
    font-size: .8rem !important;
}

.model-info,
.size-chart-link,
.color-note {
    text-align: left !important;
}

.purchase-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.wishlist-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #d8d0c7;
    border-radius: 50%;
    background: #fff;
    color: #17130f;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 200ms ease, transform 200ms ease;
}

.wishlist-btn:hover {
    border-color: #17130f;
    transform: translateY(-1px);
}

.cart-actions {
    grid-template-columns: 118px 1fr !important;
    gap: .8rem !important;
    margin-bottom: .8rem !important;
}

.quantity-control,
.add-cart-btn,
.buy-now-btn {
    height: 54px !important;
    border-radius: 8px !important;
}

.quantity-control {
    border-color: #d8d0c7 !important;
    font-size: .95rem !important;
}

.quantity-control button {
    font-size: 1.35rem !important;
}

.add-cart-btn {
    border: 1px solid #17130f !important;
    background: #17130f !important;
    color: #fff !important;
    font-size: .82rem !important;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.add-cart-btn:hover {
    background: #2b2520 !important;
    transform: translateY(-1px);
}

.buy-now-btn {
    border: 1px solid #17130f !important;
    background: #fff !important;
    color: #17130f !important;
    font-size: .82rem !important;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.buy-now-btn:hover {
    background: #f5f0e9 !important;
}

@media (max-width: 1180px) {
    .product-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 900px;
    }

    .product-gallery-wrap {
        display: flex;
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .product-thumbs {
        position: static;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding: .15rem;
    }

    .product-thumb {
        flex: 0 0 78px;
    }

    .product-info-panel {
        position: static !important;
        max-width: none !important;
    }
}

@media (max-width: 768px) {
    .product-layout {
        padding: 1rem 1rem 4rem !important;
        gap: 1.25rem !important;
    }

    .product-main-gallery .product-image-card {
        min-height: 460px !important;
        height: min(68vh, 560px);
    }

    .product-thumbs {
        gap: .65rem;
    }

    .product-thumb {
        width: 64px;
        height: 82px;
        flex-basis: 64px;
        border-radius: 7px;
    }

    .cart-actions {
        grid-template-columns: 1fr !important;
    }

    .quantity-control {
        width: 100%;
    }
}

/* Homepage navbar state restoration: transparent at top, solid on hover/focus/scroll. */
.home-page .main-nav.is-home {
    z-index: 1150 !important;
    transition:
        background-color 300ms ease,
        box-shadow 300ms ease,
        border-color 300ms ease,
        color 300ms ease !important;
}

.home-page .site-flash {
    position: absolute;
    top: calc(var(--rq-top-strip) + var(--rq-nav) + .75rem);
    right: 0;
    left: 0;
    z-index: 1100;
    max-width: min(720px, calc(100% - 2rem));
    margin: 0 auto !important;
}

.home-page .site-flash .alert {
    margin: 0;
}

.nav-actions {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-actions > form {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
}

.nav-actions .account-link,
.nav-actions .logout-btn {
    padding: 8px 4px;
}

.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .navbar-brand,
.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .icon-btn,
.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .account-link,
.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .logout-btn,
.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .nav-actions .nav-link,
.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .dept-link {
    color: #fff !important;
}

.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .dept-link {
    background: transparent !important;
    box-shadow: none !important;
}

.home-page .main-nav.is-home:hover,
.home-page .main-nav.is-home:focus-within,
.home-page .main-nav.is-home.navbar-hover,
.home-page .main-nav.is-home.navbar-scrolled,
.home-page .main-nav.is-home.is-solid {
    background: rgba(255, 250, 243, .98) !important;
    border-bottom: 1px solid rgba(23, 19, 15, .12) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .06) !important;
}

.home-page .main-nav.is-home:hover .navbar-brand,
.home-page .main-nav.is-home:focus-within .navbar-brand,
.home-page .main-nav.is-home.navbar-hover .navbar-brand,
.home-page .main-nav.is-home.navbar-scrolled .navbar-brand,
.home-page .main-nav.is-home.is-solid .navbar-brand,
.home-page .main-nav.is-home:hover .icon-btn,
.home-page .main-nav.is-home:focus-within .icon-btn,
.home-page .main-nav.is-home.navbar-hover .icon-btn,
.home-page .main-nav.is-home.navbar-scrolled .icon-btn,
.home-page .main-nav.is-home.is-solid .icon-btn,
.home-page .main-nav.is-home:hover .account-link,
.home-page .main-nav.is-home:focus-within .account-link,
.home-page .main-nav.is-home.navbar-hover .account-link,
.home-page .main-nav.is-home.navbar-scrolled .account-link,
.home-page .main-nav.is-home.is-solid .account-link,
.home-page .main-nav.is-home:hover .logout-btn,
.home-page .main-nav.is-home:focus-within .logout-btn,
.home-page .main-nav.is-home.navbar-hover .logout-btn,
.home-page .main-nav.is-home.navbar-scrolled .logout-btn,
.home-page .main-nav.is-home.is-solid .logout-btn,
.home-page .main-nav.is-home:hover .nav-actions .nav-link,
.home-page .main-nav.is-home:focus-within .nav-actions .nav-link,
.home-page .main-nav.is-home.navbar-hover .nav-actions .nav-link,
.home-page .main-nav.is-home.navbar-scrolled .nav-actions .nav-link,
.home-page .main-nav.is-home.is-solid .nav-actions .nav-link,
.home-page .main-nav.is-home:hover .dept-link,
.home-page .main-nav.is-home:focus-within .dept-link,
.home-page .main-nav.is-home.navbar-hover .dept-link,
.home-page .main-nav.is-home.navbar-scrolled .dept-link,
.home-page .main-nav.is-home.is-solid .dept-link {
    color: #17130f !important;
}

@media (prefers-reduced-motion: reduce) {
    .home-page .main-nav.is-home {
        transition-duration: 1ms !important;
    }
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #111111;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-link svg {
    width: 27px;
    height: 27px;
    display: block;
    fill: currentColor;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.footer-social-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* Newsletter social row is independent from the footer-column social layout. */
.newsletter-socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
}

.newsletter-socials .footer-social-link {
    flex: 0 0 42px;
}

.payment-tags {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-tags .payment-card {
    width: 76px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e6e2dc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.payment-card .payment-logo {
    width: auto;
    max-width: 56px;
    height: auto;
    max-height: 26px;
    object-fit: contain;
}

@media (max-width: 576px) {
    .footer-social-link {
        width: 38px;
        height: 38px;
    }

    .footer-social-link svg {
        width: 24px;
        height: 24px;
    }

    .newsletter-socials {
        gap: 20px;
        margin-top: 24px;
    }

    .footer-bottom {
        align-items: center;
        text-align: center;
    }

    .payment-tags {
        justify-content: center;
    }
}

/* Home navbar category states: pills only on transparent hero, integrated links on solid nav. */
.home-page .main-nav.is-home.navbar-transparent:not(.navbar-hover):not(.navbar-scrolled):not(.is-solid):not(:hover):not(:focus-within) .dept-link {
    height: 34px !important;
    padding: 0 clamp(14px, 1vw, 18px) !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: blur(8px);
}

.home-page .main-nav.is-home:hover .dept-link,
.home-page .main-nav.is-home:focus-within .dept-link,
.home-page .main-nav.is-home.navbar-hover .dept-link,
.home-page .main-nav.is-home.navbar-scrolled .dept-link,
.home-page .main-nav.is-home.is-solid .dept-link {
    height: 34px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #17130f !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.home-page .main-nav.is-home:hover .dept-link:hover,
.home-page .main-nav.is-home:focus-within .dept-link:hover,
.home-page .main-nav.is-home.navbar-hover .dept-link:hover,
.home-page .main-nav.is-home.navbar-scrolled .dept-link:hover,
.home-page .main-nav.is-home.is-solid .dept-link:hover,
.home-page .main-nav.is-home:hover .dept-link:focus-visible,
.home-page .main-nav.is-home:focus-within .dept-link:focus-visible,
.home-page .main-nav.is-home.navbar-hover .dept-link:focus-visible,
.home-page .main-nav.is-home.navbar-scrolled .dept-link:focus-visible,
.home-page .main-nav.is-home.is-solid .dept-link:focus-visible {
    border-radius: 4px !important;
    background: rgba(23, 19, 15, .045) !important;
}

/* Shared form and menu refinements. */
.newsletter-form { overflow: hidden; }
.newsletter-form:focus-within { border-color: #17130f; box-shadow: 0 0 0 3px rgba(201, 162, 77, .3); }
.newsletter-form input { width: 100%; min-width: 0; background: transparent !important; border: none !important; outline: none !important; box-shadow: none !important; }
.newsletter-form input:focus { outline: none !important; box-shadow: none !important; }
.auth-field:focus-within, .auth-password-wrap:focus-within { border-bottom: 1px solid #171615; box-shadow: 0 2px 0 #c9a24d; }
.auth-field input, .auth-password-wrap input { box-shadow: none !important; }
.auth-field input:focus, .auth-password-wrap input:focus { outline: none !important; box-shadow: none !important; }
.otp-secondary-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.otp-resend-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #171615; padding: .25rem 0; font: inherit; font-weight: 700; cursor: pointer; }
.otp-resend-button:disabled { color: #77736e; cursor: not-allowed; }
.otp-back-link { color: #171615; font-weight: 700; text-underline-offset: .25rem; }
@media (max-width: 420px) { .otp-secondary-actions { align-items: flex-start; flex-direction: column; gap: .85rem; } }

.dept-item:hover .mega-menu, .dept-item:focus-within .mega-menu { display: none; }
.dept-item.is-open .mega-menu { display: block; }
.dept-item.is-open .dept-link::after { transform: rotate(225deg); margin-bottom: -.1rem !important; }
.mega-link { color: var(--nav-link-color) !important; background: var(--nav-link-background); }
.mega-link.is-highlighted { font-weight: 800; text-decoration: underline; text-underline-offset: .25rem; }

.product-badge-row .product-sale-badge { background: #b32031 !important; color: #fff !important; }
@media (min-width: 1181px) {
    .product-gallery-wrap { display: grid; grid-column: 1 / span 2; grid-template-columns: minmax(78px, 104px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3.75rem); position: sticky; top: calc(var(--rq-top-strip) + var(--rq-nav) + 1rem); align-self: start; }
    .product-gallery-wrap.single-image { grid-template-columns: minmax(0, 1fr); }
    .product-thumbs { position: static; }
}

.footer-social-link { width: 46px; height: 46px; }
.footer-social-link svg { width: 30px; height: 30px; }
.newsletter-socials .footer-social-link { flex-basis: 46px; }
@media (max-width: 576px) { .footer-social-link { width: 42px; height: 42px; } .footer-social-link svg { width: 27px; height: 27px; } .newsletter-socials .footer-social-link { flex-basis: 42px; } }

/* Cart and checkout use the existing neutral palette with a shared checkout vocabulary. */
.cart-page { background: #fffdf9; padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 64px) 80px; }
.cart-page-frame { max-width: 1480px; margin: 0 auto; }
.cart-page-heading { margin-bottom: 32px; }
.cart-page-heading p { margin: 0 0 6px; color: #746d64; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.cart-page-heading h1 { margin: 0; font-size: 2.25rem; font-weight: 500; letter-spacing: -.02em; }
.cart-page-layout { grid-template-columns: minmax(0, 1.7fr) minmax(340px, .9fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.cart-items-section { min-width: 0; }
.cart-table-head, .cart-page-line { grid-template-columns: minmax(0, 1fr) 154px 140px 44px; gap: 20px; }
.cart-table-head { padding: 0 0 16px; color: #6b645c; font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.cart-page-line { padding: 28px 0; border-bottom: 1px solid #e3ded7; }
.cart-page-product { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
.cart-page-product img { width: 112px; height: 140px; aspect-ratio: auto; }
.cart-page-product strong { font-size: .95rem; line-height: 1.45; }
.cart-page-product span { display: block; margin-top: 8px; line-height: 1.45; }
.cart-page-price { font-size: .94rem; font-weight: 600; }
.cart-page-price del { display: block; margin: 5px 0 0; font-size: .8rem; font-weight: 400; }
.cart-quantity-control { min-width: 0; width: 144px; height: 46px; grid-template-columns: 44px 56px 44px; border: 1px solid #d9d5cf; border-radius: 999px; }
.cart-quantity-control span { text-align: center; color: #24211e; }
.cart-page-remove { width: 44px; height: 44px; border: 1px solid transparent; border-radius: 50%; color: #534b43; font-size: 1.8rem; transition: background-color .2s ease, color .2s ease; }
.cart-page-remove:hover { background: #f1ebe3; color: #17130f; }
.cart-summary-card { position: sticky; top: 24px; background: #f5f0e9; padding: 32px; border: 1px solid #e1d7ca; box-shadow: none; }
.cart-summary-card h2 { margin: 0 0 20px; font-size: 1.1rem; font-weight: 600; }
.cart-summary-card details { padding: 16px 0; text-transform: none; border-color: #dbd1c5; }
.cart-summary-card summary { cursor: pointer; font-size: .9rem; font-weight: 600; }
.cart-summary-card textarea { min-height: 88px; resize: vertical; }
.discount-code-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; margin-top: 12px; }
.discount-code-control input { min-width: 0; width: 100%; margin-top: 0; }
.discount-code-control button { min-width: 100px; border: 0; background: #1b1b1b; color: #fff; min-height: 44px; padding: 0 20px; font-size: .85rem; }
.discount-code-control button:disabled { opacity: .55; cursor: not-allowed; }
.discount-code-applied { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: .85rem; }
.discount-code-applied form { margin: 0; }
.discount-code-applied button { border: 0; padding: 0; background: transparent; color: #1b1b1b; text-decoration: underline; }
.discount-code-message { min-height: 1.25em; margin: 8px 0 0; color: #8b2b20; font-size: .82rem; }
.cart-summary-breakdown, .checkout-totals { margin: 24px 0 0; }
.cart-summary-breakdown div, .checkout-totals div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: #5d554d; font-size: .9rem; }
.cart-summary-breakdown dt, .cart-summary-breakdown dd, .checkout-totals dt, .checkout-totals dd { margin: 0; }
.cart-summary-breakdown dd, .checkout-totals dd { color: #1d1a17; font-weight: 600; text-align: right; }
.cart-summary-total { margin: 16px 0; padding-top: 18px; border-top: 1px solid #cfc2b3; font-size: 1.2rem; font-weight: 600; }
.cart-summary-total strong { font-weight: 700; }
.cart-summary-card .checkout-link { min-height: 52px; border-radius: 4px; font-size: .95rem; font-weight: 600; transition: background-color .2s ease, transform .2s ease; }
.cart-summary-card .checkout-link:hover { background: #3a342e; transform: translateY(-1px); }
.checkout-body main { background: #fffdf9; }
.checkout-page { max-width: 1180px; margin: 0 auto; padding: 40px 28px 72px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr); gap: 56px; align-items: start; background: transparent; }
.checkout-form-column { min-width: 0; }
.checkout-heading { margin-bottom: 2px; }
.checkout-return { color: #5f574f; font-size: .9rem; text-decoration: none; }
.checkout-return:hover { color: #171412; text-decoration: underline; }
.checkout-title { margin: 18px 0 0; color: #171412; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
.checkout-subtitle { margin: 12px 0 0; color: #625a53; font-size: 1rem; line-height: 1.5; }
.checkout-form { margin-top: 32px; }
.checkout-section { min-width: 0; margin: 30px 0 0; padding: 0 0 30px; border: 0; border-bottom: 1px solid #e3ded7; }
.checkout-section:first-of-type { margin-top: 0; }
.checkout-section__title { float: none; width: auto; margin: 0 0 14px; color: #171412; font-size: 1.1875rem; font-weight: 600; }
.checkout-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checkout-field--full { grid-column: 1 / -1; }
.checkout-form label { display: grid; gap: 7px; color: #39322c; font-size: .88rem; font-weight: 600; }
.checkout-form label span { color: #6f675f; font-size: .8rem; font-weight: 400; }
.checkout-field { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #d8d1c8; border-radius: 8px; background: #fffdfa; color: #171412; font: inherit; font-size: .9375rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.checkout-field:focus { border-color: #8a7460; box-shadow: 0 0 0 3px rgba(138, 116, 96, .12); }
.checkout-textarea { min-height: 96px; height: auto; padding: 14px; resize: vertical; }
.checkout-options { overflow: hidden; border: 1px solid #d8d1c8; border-radius: 8px; background: #fffdfa; }
.checkout-option { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 14px; padding: 14px 16px; border: 1px solid #d8d1c8; background: #fffdfa; color: #171412; }
.checkout-options .checkout-option { border: 0; border-bottom: 1px solid #e5ded6; border-radius: 0; }
.checkout-options .checkout-option:last-child { border-bottom: 0; }
.checkout-form .checkout-option { display: flex; gap: 14px; font-size: inherit; font-weight: 400; }
.checkout-option--choice { cursor: pointer; transition: background-color .2s ease; }
.checkout-option--choice:hover { background: #faf6f1; }
.checkout-option--choice:has(.checkout-option__radio:checked), .checkout-option.is-selected { background: #f4eee6; }
.checkout-option__radio { width: 17px; height: 17px; margin: 0; accent-color: #1d1a17; flex: 0 0 auto; }
.checkout-option__copy { display: grid; min-width: 0; gap: 2px; }
.checkout-form .checkout-option .checkout-option__copy { color: #171412; font-size: inherit; font-weight: 400; }
.checkout-option__copy strong { font-size: .93rem; font-weight: 600; }
.checkout-option__copy small { color: #625a53; font-size: .8rem; font-weight: 400; }
.checkout-option--choice .checkout-option__copy { margin-right: auto; }
.checkout-billing-fields { margin-top: 12px; }
.checkout-summary { position: sticky; top: 132px; padding: 28px; border: 1px solid #e0d9d0; border-radius: 4px; background: #f4f1ec; }
.checkout-summary h2 { margin: 0 0 22px; color: #171412; font-size: 1.35rem; font-weight: 600; }
.checkout-product-list { border-top: 1px solid #ddd6cd; }
.checkout-summary-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid #ddd6cd; }
.checkout-summary-item__image { position: relative; width: 72px; height: 88px; overflow: hidden; border: 1px solid #ddd6cd; border-radius: 8px; background: #fff; }
.checkout-summary-item__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.checkout-summary-item__quantity { position: absolute; top: -7px; right: -7px; display: flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #1d1a17; color: #fff; font-size: .75rem; }
.checkout-summary-item strong { display: block; color: #25201c; font-size: .88rem; line-height: 1.4; }
.checkout-summary-item small { display: block; margin-top: 5px; color: #625a53; font-size: .78rem; line-height: 1.4; }
.checkout-summary-item b { align-self: start; color: #25201c; font-size: .84rem; white-space: nowrap; }
.checkout-discount-section { padding: 20px 0; border-bottom: 1px solid #ddd6cd; }
.checkout-discount { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 10px; }
.checkout-discount .checkout-field { height: 48px; }
.checkout-discount button { height: 48px; border: 0; border-radius: 8px; background: #1d1a17; color: #fff; font-size: .9rem; font-weight: 600; transition: background-color .2s ease; }
.checkout-discount button:hover:not(:disabled) { background: #3b3028; }
.checkout-discount button:disabled { opacity: .55; cursor: not-allowed; }
.checkout-discount-message { margin-bottom: 0; }
.checkout-discount-applied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #3d342c; font-size: .84rem; }
.checkout-discount-applied form { margin: 0; }
.checkout-discount-applied button { border: 0; padding: 0; background: transparent; color: #171412; font: inherit; text-decoration: underline; }
.checkout-summary .checkout-totals { margin: 0; padding-top: 14px; border: 0; }
.checkout-summary .checkout-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 11px 0; padding: 0; color: #5d554d; font-size: .9375rem; }
.checkout-summary .checkout-summary-row dd { color: #1d1a17; font-weight: 600; }
.checkout-summary .checkout-summary-total { margin-top: 18px; padding-top: 18px; border-top: 1px solid #d9d2ca; color: #171412; font-size: 1.375rem; font-weight: 600; }
.checkout-summary .checkout-summary-total dt, .checkout-summary .checkout-summary-total dd { color: #171412; }
.checkout-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 26px; border: 0; border-radius: 8px; background: #1d1a17; color: #fff; font-size: 1rem; font-weight: 600; transition: background-color .2s ease, transform .2s ease; }
.checkout-submit:hover { background: #3b3028; transform: translateY(-1px); }
.checkout-body .newsletter-section { margin-top: 80px; }
.cart-summary-card button:focus-visible, .cart-page-remove:focus-visible, .checkout-form a:focus-visible, .checkout-field:focus-visible, .checkout-submit:focus-visible, .checkout-discount button:focus-visible { outline: 2px solid #17130f; outline-offset: 3px; }
@media (max-width: 920px) { .cart-page-layout, .checkout-layout { grid-template-columns: 1fr; } .cart-summary-card, .checkout-summary { position: static; } .checkout-summary { order: -1; } }
@media (max-width: 680px) { .cart-page { padding-inline: 20px; } .cart-table-head { display: none; } .cart-page-line { grid-template-columns: 1fr auto; gap: 16px; padding: 24px 0; } .cart-page-product { grid-column: 1 / -1; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; } .cart-page-product img { width: 88px; height: 112px; } .cart-line-total { align-self: center; text-align: right; } .cart-page-line > form:last-child { align-self: center; } .cart-summary-card { padding: 24px; } }
@media (max-width: 620px) { .checkout-page { padding: 28px 16px 52px; } .checkout-form-grid { grid-template-columns: 1fr; } .checkout-field--full { grid-column: auto; } .checkout-summary { padding: 20px; } .checkout-summary-item { grid-template-columns: 62px minmax(0, 1fr) auto; } .checkout-summary-item__image { width: 62px; height: 76px; } .checkout-summary-item b { font-size: .78rem; } }
@media (max-width: 560px) { .discount-code-control { grid-template-columns: 1fr; } .discount-code-control button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .cart-page-remove, .cart-summary-card .checkout-link, .checkout-submit { transition: none; } }

/* Lightweight motion layer: transform and opacity only, with no JavaScript dependency for content visibility. */
:root {
    --rq-motion-ease: cubic-bezier(.22, 1, .36, 1);
    --rq-motion-fast: 180ms;
    --rq-motion-base: 280ms;
    --motion-instant: 120ms;
    --motion-fast: 220ms;
    --motion-standard: 340ms;
    --motion-slow: 650ms;
    --motion-ease: cubic-bezier(.22, 1, .36, 1);
    --motion-ease-standard: cubic-bezier(.4, 0, .2, 1);
}

.cart-drawer {
    transition: transform var(--rq-motion-base) var(--rq-motion-ease);
}

.cart-drawer-backdrop {
    opacity: 0;
    transition: opacity 220ms ease;
}

.cart-drawer-backdrop.is-visible {
    opacity: 1;
}

.main-nav,
.dept-link,
.icon-btn,
.navbar-brand {
    transition-property: color, background-color, box-shadow, border-color, transform;
    transition-duration: var(--rq-motion-fast);
    transition-timing-function: ease;
}

.dept-link {
    position: relative;
}

.dept-link::before {
    position: absolute;
    right: 10px;
    bottom: 2px;
    left: 10px;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: .75;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--rq-motion-fast) ease;
}

.dept-item.is-open .dept-link::before,
.dept-link:hover::before,
.dept-link:focus-visible::before {
    transform: scaleX(1);
}

.rangqari-hero > div > * {
    will-change: auto;
}

@media (prefers-reduced-motion: no-preference) {
    .rangqari-hero.is-motion-ready > div > * {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 520ms var(--rq-motion-ease), transform 520ms var(--rq-motion-ease);
    }

    .rangqari-hero.is-motion-ready.is-motion-visible > div > * {
        opacity: 1;
        transform: translateY(0);
    }

    .rangqari-hero.is-motion-ready.is-motion-visible > div > :nth-child(2) { transition-delay: 70ms; }
    .rangqari-hero.is-motion-ready.is-motion-visible > div > :nth-child(3) { transition-delay: 130ms; }
    .rangqari-hero.is-motion-ready.is-motion-visible > div > :nth-child(4) { transition-delay: 190ms; }

    [data-reveal].is-reveal-ready {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 520ms var(--rq-motion-ease), transform 520ms var(--rq-motion-ease);
    }

    [data-reveal].is-reveal-ready.is-reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }

    [data-reveal="tiles"].is-reveal-ready .home-department-tile,
    [data-reveal="products"].is-reveal-ready .home-product-card {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 420ms var(--rq-motion-ease), transform 420ms var(--rq-motion-ease);
    }

    [data-reveal="tiles"].is-reveal-visible .home-department-tile,
    [data-reveal="products"].is-reveal-visible .home-product-card {
        opacity: 1;
        transform: translateY(0);
    }

    [data-reveal="tiles"].is-reveal-visible .home-department-tile:nth-child(2),
    [data-reveal="products"].is-reveal-visible .home-product-card:nth-child(2) { transition-delay: 60ms; }
    [data-reveal="tiles"].is-reveal-visible .home-department-tile:nth-child(3),
    [data-reveal="products"].is-reveal-visible .home-product-card:nth-child(3) { transition-delay: 120ms; }
    [data-reveal="tiles"].is-reveal-visible .home-department-tile:nth-child(4),
    [data-reveal="products"].is-reveal-visible .home-product-card:nth-child(4) { transition-delay: 180ms; }

}

@media (hover: hover) and (pointer: fine) {
    .product-card__media {
        transition: box-shadow var(--rq-motion-fast) ease;
    }

    .product-card:hover .product-card__media {
        box-shadow: 0 12px 28px rgb(23 19 15 / 12%);
    }

    .rangqari-hero a:hover,
    .product-card__add:hover,
    .recommendation-add-to-cart:hover,
    .add-cart-btn:hover,
    .buy-now-btn:hover,
    .sticky-add-cart-btn:hover,
    .cart-drawer .drawer-actions a:hover,
    .home-rail-prev:hover,
    .home-rail-next:hover {
        transform: translateY(-2px);
    }
}

.rangqari-hero a:active,
.product-card__add:active,
.recommendation-add-to-cart:active,
.add-cart-btn:active,
.buy-now-btn:active,
.sticky-add-cart-btn:active,
.cart-drawer .drawer-actions a:active {
    transform: scale(.98);
}

.js main.is-page-motion-ready { opacity: 0; transform: translateY(8px); transition: opacity 460ms var(--motion-ease), transform 460ms var(--motion-ease); }
.js main.is-page-motion-visible { opacity: 1; transform: translateY(0); }
.js .is-card-reveal-ready { opacity: 0; transform: translateY(35px) scale(.97); transition: opacity 650ms var(--motion-ease), transform 650ms var(--motion-ease); }
.js .is-card-reveal-ready.is-reveal-visible { opacity: 1; transform: translateY(0); }
.js .is-card-reveal-ready:nth-child(2) { transition-delay: 90ms; }
.js .is-card-reveal-ready:nth-child(3) { transition-delay: 180ms; }
.js .is-card-reveal-ready:nth-child(4) { transition-delay: 270ms; }

.quantity-value.is-changing { animation: rq-quantity-pulse 240ms ease; }
.cart-count.is-cart-updated { animation: rq-cart-badge 240ms ease; }
@keyframes rq-quantity-pulse { 50% { opacity: .65; transform: scale(1.18); } }
@keyframes rq-cart-badge { 50% { transform: scale(1.25); } }

@media (hover: hover) and (pointer: fine) {
    .hero-slider__arrow:hover { transform: translateY(-50%) translateX(2px); }
    .hero-slider__arrow--previous:hover { transform: translateY(-50%) translateX(-2px); }
    .icon-btn:hover, .quantity-minus:hover, .quantity-plus:hover { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
    .js main.is-page-motion-ready, .js .is-card-reveal-ready { opacity: 1; transform: none; transition: none; }
    .quantity-value.is-changing, .cart-count.is-cart-updated { animation: none; }
}

/* Stronger premium feedback uses only composited transforms, opacity, and paint-safe color changes. */
@media (hover: hover) and (pointer: fine) {
    .product-card { transition: transform 380ms var(--motion-ease), box-shadow 380ms var(--motion-ease); }
    .product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgb(26 17 12 / 16%); }
    .product-card:hover .product-card__media img { transform: scale(1.045); }
    .product-card__media img { transition: opacity 420ms var(--motion-ease), transform 420ms var(--motion-ease); }
    .hero-slider__arrow:hover { transform: translateY(-50%) translateX(4px) scale(1.1); }
    .hero-slider__arrow--previous:hover { transform: translateY(-50%) translateX(-4px) scale(1.1); }
    .hero-slider__arrow:active, .icon-btn:active, .quantity-minus:active, .quantity-plus:active { transform: scale(.88); }
}

.add-cart-btn, .buy-now-btn, .checkout-submit, .auth-submit, .product-card__add, .search-drawer__all {
    border: 1px solid #111 !important;
    background: linear-gradient(90deg, #fff 50%, #111 50%) 100% / 200% 100% !important;
    color: #fff !important;
    transition: background-position 360ms var(--motion-ease), color 320ms var(--motion-ease), transform 220ms var(--motion-ease), box-shadow 320ms var(--motion-ease) !important;
}

.add-cart-btn:hover:not(:disabled), .add-cart-btn:focus-visible:not(:disabled), .buy-now-btn:hover:not(:disabled), .buy-now-btn:focus-visible:not(:disabled), .checkout-submit:hover:not(:disabled), .checkout-submit:focus-visible:not(:disabled), .auth-submit:hover:not(:disabled), .auth-submit:focus-visible:not(:disabled), .product-card__add:hover:not(:disabled), .product-card__add:focus-visible:not(:disabled), .search-drawer__all:hover, .search-drawer__all:focus-visible { background-position: 0 !important; color: #111 !important; transform: translateY(-3px); box-shadow: 0 10px 22px rgb(0 0 0 / 16%); }
.add-cart-btn:active:not(:disabled), .buy-now-btn:active:not(:disabled), .checkout-submit:active:not(:disabled), .auth-submit:active:not(:disabled), .product-card__add:active:not(:disabled), .search-drawer__all:active { transform: translateY(0) scale(.97); }

.hero-slide { transition-duration: 650ms; transform: translateX(30px); }
.hero-slide__media img { transform: scale(1.04); transition: transform 650ms var(--motion-ease), opacity 650ms var(--motion-ease); }
.hero-slide.is-active .hero-slide__media img { transform: scale(1); }
.hero-slide.is-active .hero-slide__content > * { animation: rq-hero-content-in 620ms var(--motion-ease) both; }
.hero-slide.is-active .hero-slide__content > :nth-child(2) { animation-delay: 120ms; }
.hero-slide.is-active .hero-slide__content > :nth-child(3) { animation-delay: 240ms; }
.hero-slide.is-active .hero-slide__content > :nth-child(4) { animation-delay: 360ms; }
@keyframes rq-hero-content-in { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

.mega-menu { transform: translateY(-16px) scale(.98); transition-duration: 320ms; }
.dept-item.is-open .mega-menu { transform: translateY(0) scale(1); }
.cart-drawer { transform: translateX(100%) scale(.985); transition-duration: 400ms; }
.cart-drawer.is-open { transform: translateX(0) scale(1); }
.search-drawer.is-open .search-drawer__header, .search-drawer.is-open .search-drawer__form { animation: rq-drawer-content-in 420ms var(--motion-ease) both; }
.search-drawer.is-open .search-drawer__form { animation-delay: 80ms; }
@keyframes rq-drawer-content-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.auth-intro > *, .auth-form-side > * { animation: rq-auth-in 600ms var(--motion-ease) both; }
.auth-intro > :nth-child(2), .auth-form-side > :nth-child(2) { animation-delay: 100ms; }
.auth-form-side form { animation-delay: 180ms; }
@keyframes rq-auth-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    .hero-slide__content > *, .search-drawer__header, .search-drawer__form, .auth-intro > *, .auth-form-side > * { animation: none !important; }
    .hero-slide__media img { transform: none !important; }
}

/* Every picture-based hero slide inherits the existing hero height and crops safely. */
.hero-slider { display: block; }
.hero-slide, .hero-slide.is-active { width: 100%; min-height: inherit; }
.hero-slide.is-active { display: flex; align-items: flex-end; }
.hero-slide__media, .hero-slide__media img { display: block; width: 100%; height: 100%; }
.hero-slide__media { z-index: 0; }
.hero-slide__media img { position: absolute; inset: 0; object-fit: cover; object-position: center; max-width: none; }
.hero-slide::after { z-index: 0; }
.hero-slide__content, .hero-slider__arrow { position: relative; z-index: 1; }
.hero-slider__arrow { z-index: 2; }

/* Hero slides preserve the existing hero footprint while switching only active content. */
.hero-slider { position: relative; overflow: hidden; padding: 0 !important; background: transparent !important; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: calc(var(--rq-nav) + 2.25rem) clamp(1.5rem, 5.5vw, 5.5rem) clamp(2rem, 5vh, 3.5rem); opacity: 0; transform: translateX(12px); transition: opacity 520ms ease, transform 520ms ease; pointer-events: none; }
.hero-slide.is-active { position: relative; opacity: 1; transform: translateX(0); pointer-events: auto; }
.hero-slide::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(18 16 14 / 64%), rgb(54 27 31 / 20%)); content: ""; }
.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__content { position: relative; z-index: 1; width: min(100%, 600px); max-width: min(50vw, 600px); color: #fff; }
.hero-slider__arrow { position: absolute; z-index: 2; top: 50%; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / 72%); border-radius: 50%; background: rgb(17 14 12 / 28%); color: #fff; font-size: 1.5rem; line-height: 1; transform: translateY(-50%); }
.hero-slider__arrow:hover, .hero-slider__arrow:focus-visible { background: rgb(17 14 12 / 62%); outline: 2px solid #fff; outline-offset: 3px; }
.hero-slider__arrow--previous { left: 20px; }
.hero-slider__arrow--next { right: 20px; }

/* Homepage slides share one viewport-sized canvas beneath the overlay navbar. */
.home-page .hero-slider,
.home-page .hero-slider .hero-slide,
.home-page .hero-slider .hero-slide.is-active {
    min-height: calc(100vh - var(--rq-top-strip)) !important;
    min-height: calc(100svh - var(--rq-top-strip)) !important;
}

.home-page .hero-slider {
    padding: 0 !important;
}

.mega-menu { display: block; opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease; }
.dept-item.is-open .mega-menu { opacity: 1; transform: translateY(0); visibility: visible; }

@media (max-width: 768px) {
    .hero-slide { padding: clamp(2rem, 8vh, 4rem) 1rem 2rem; }
    .hero-slide__content { max-width: 100%; }
    .hero-slider__arrow { top: auto; bottom: 18px; transform: none; }
    .hero-slider__arrow--previous { left: auto; right: 72px; }
    .hero-slider__arrow--next { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .mega-menu { transition: none; }
}

/* Search stays independent of cart state and reuses the existing shop query. */
.search-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2400;
    background: rgb(17 17 17 / 46%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.search-drawer-backdrop.is-visible { opacity: 1; }

.search-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 2401;
    display: flex;
    flex-direction: column;
    width: min(440px, 100vw);
    min-height: 100dvh;
    padding: 28px 30px 20px;
    overflow-y: auto;
    background: #fffdfb;
    box-shadow: -18px 0 45px rgb(0 0 0 / 14%);
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(.2, .75, .25, 1);
}

.search-drawer.is-open { transform: translateX(0); }

.search-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5ded8;
}

.search-drawer__header h2 { margin: 0; font-size: 1.6rem; font-weight: 400; }

.search-drawer__close {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #171312;
    font-size: 2.3rem;
    font-weight: 300;
    line-height: .8;
}

.search-drawer__form { padding: 26px 0 14px; }
.search-drawer__form label,
.search-result-group h3 {
    display: block;
    margin: 0 0 9px;
    color: #766a62;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.search-drawer__form input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #cfc5be;
    border-radius: 0;
    background: #fff;
    color: #171312;
}

.search-drawer__form input:focus { border-color: #171312; outline: 2px solid rgb(183 151 99 / 30%); outline-offset: 2px; }
.search-drawer__status { min-height: 20px; margin: 0 0 12px; color: #766a62; font-size: .82rem; }
.search-drawer__results { min-height: 100px; }
.search-result-group { margin: 0 0 26px; }
.search-category-result { display: block; padding: 9px 0; color: #171312; text-decoration: none; }
.search-category-result:hover, .search-category-result:focus-visible { color: #8d6032; text-decoration: underline; }

.search-product-result {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee8e3;
    color: #171312;
    text-decoration: none;
}

.search-product-result img { width: 68px; height: 82px; object-fit: cover; background: #f5f1ee; }
.search-product-result__details { display: grid; min-width: 0; gap: 3px; }
.search-product-result__details strong { overflow: hidden; font-size: .92rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.search-product-result__details small { color: #766a62; font-size: .75rem; }
.search-product-result__price { font-size: .84rem; font-weight: 700; }
.search-product-result__price del { margin-left: 5px; color: #8a8079; font-size: .75rem; font-weight: 400; }
.search-product-result em { align-self: start; color: #a3212a; font-size: .7rem; font-style: normal; white-space: nowrap; }
.search-drawer__empty { margin: 14px 0; color: #766a62; }
.search-drawer__empty p { margin: 0 0 5px; color: #171312; }
.search-drawer__empty > div { display: flex; gap: 16px; margin-top: 15px; }
.search-drawer__empty a { color: #171312; font-size: .82rem; font-weight: 700; text-decoration: underline; }
.search-drawer__footer { position: sticky; bottom: -20px; margin-top: auto; padding: 18px 0 0; background: #fffdfb; }
.search-drawer__all { display: block; padding: 15px; background: #171312; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-align: center; text-decoration: none; text-transform: uppercase; }
.search-drawer__all:hover, .search-drawer__all:focus-visible { background: #8d6032; color: #fff; }

@media (max-width: 560px) {
    .search-drawer { padding: 22px 18px 18px; }
    .search-drawer__footer { bottom: -18px; }
}

@media (prefers-reduced-motion: reduce) {
    .search-drawer, .search-drawer-backdrop { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
