:root {
    --brand-navy: #193049;
    --brand-burgundy: #6F262B;
    --brand-cream: #FCF4E9;
    --brand-surface: #FFFBF6;
    --brand-black: var(--brand-navy);
    --brand-white: var(--brand-surface);
    --brand-muted: #5C6B7C;
    --brand-soft: #F3E6D4;
    --brand-sale: var(--brand-burgundy);
    --brand-accent: var(--brand-burgundy);
    --brand-border: #E4D5C3;
    --radius-lg: 22px;
    --radius-md: 14px;
    --font-display: "El Messiri", "Cairo", serif;
    --font-body: "Cairo", sans-serif;
    --shadow-soft: 0 12px 40px rgba(25, 48, 73, 0.08);
    --header-height: 136px;
    --bs-body-bg: var(--brand-cream);
    --bs-body-color: var(--brand-navy);
    --bs-primary: var(--brand-navy);
    --bs-primary-rgb: 25, 48, 73;
    --bs-link-color: var(--brand-navy);
    --bs-link-hover-color: var(--brand-burgundy);
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

.storefront-body {
    font-family: var(--font-body);
    color: var(--brand-black);
    background: var(--brand-cream);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    padding-top: var(--header-height);
}

.storefront-body img,
.storefront-body video,
.storefront-body iframe {
    max-width: 100%;
}

.storefront-body .btn-dark,
.storefront-body .btn-primary {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: var(--brand-cream);
}

.storefront-body .btn-dark:hover,
.storefront-body .btn-dark:focus,
.storefront-body .btn-dark:active,
.storefront-body .btn-primary:hover,
.storefront-body .btn-primary:focus,
.storefront-body .btn-primary:active {
    background: var(--brand-burgundy);
    border-color: var(--brand-burgundy);
    color: #fff;
}

.storefront-body .btn-outline-dark {
    color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.storefront-body .btn-outline-dark:hover,
.storefront-body .btn-outline-dark:active {
    background: var(--brand-burgundy);
    border-color: var(--brand-burgundy);
    color: #fff;
}

.storefront-body .btn-outline-dark:focus {
    box-shadow: none;
}

.storefront-body .btn-outline-dark:focus-visible {
    outline: 2px solid var(--brand-navy);
    outline-offset: 2px;
    background: transparent;
    color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.price-current {
    color: var(--brand-burgundy);
    font-weight: 700;
}

.storefront-main a:hover,
.nav-link:hover,
.product-card-name:hover,
.home-show-all:hover {
    color: var(--brand-burgundy);
}

.storefront-main {
    min-height: 50vh;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.storefront-main .row > * {
    min-width: 0;
}

h1, h2, h3, .display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-display);
}

.promo-bar {
    background: var(--brand-navy);
    color: var(--brand-cream);
    font-size: 0.68rem;
    font-weight: 500;
    text-align: center;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar.navbar-custom {
    background: #fff;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-top: 6px;
    padding-bottom: 6px;
    overflow: visible;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transform: translateY(0);
    transition: transform 0.28s ease;
    will-change: transform;
}

.navbar.navbar-custom.is-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .navbar.navbar-custom {
        transition: none;
    }
}

.nav-mega {
    position: static;
}

@media (min-width: 992px) {
    .navbar-custom .navbar-collapse,
    .navbar-custom .navbar-nav,
    .navbar-custom .nav-mega {
        align-self: stretch;
    }

    .navbar-custom .navbar-nav,
    .navbar-custom .nav-mega {
        align-items: stretch;
    }

    .nav-mega {
        display: flex;
    }
}

.nav-mega > .nav-link {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-mega > .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 22px;
    height: 1px;
    background: currentColor;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-mega:hover > .nav-link::after,
.nav-mega.is-open > .nav-link::after,
.nav-mega:focus-within > .nav-link::after {
    transform: translateX(-50%) scaleX(1);
}

.mega-panel {
    display: grid;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1040;
    background: #fff;
    color: var(--brand-navy);
    border-top: 1px solid var(--brand-border);
    box-shadow: 0 18px 40px rgba(25, 48, 73, 0.12);
    padding: 28px 6vw 36px;
    grid-template-columns: minmax(180px, 220px) repeat(auto-fit, minmax(140px, 200px));
    justify-content: start;
    gap: 32px;
}

.mega-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
}

.nav-mega.is-open > .mega-panel,
.nav-mega:hover > .mega-panel,
.nav-mega:focus-within > .mega-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mega-feature {
    color: inherit;
    text-decoration: none;
}

.mega-feature img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.mega-feature span {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 1px solid currentColor;
}

.mega-heading,
.mobile-dept-heading {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
}

.mega-link {
    display: block;
    color: inherit;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.7;
}

.mega-link:hover {
    text-decoration: underline;
}

.mobile-dept {
    border-bottom: 1px solid var(--brand-border);
    padding-bottom: 8px;
}

.mobile-dept summary {
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    list-style: none;
}

.mobile-dept summary::after {
    content: "+";
    float: inline-end;
    font-weight: 400;
}

.mobile-dept[open] summary::after {
    content: "\2013";
}

.mobile-dept summary::-webkit-details-marker {
    display: none;
}

.mobile-dept-heading {
    margin-top: 14px;
}

.navbar-custom .navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    line-height: 1;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .navbar-custom .navbar-toggler {
        display: inline-flex;
    }
}

.navbar-custom .navbar-toggler:focus,
.navbar-custom .navbar-toggler:focus-visible {
    box-shadow: none;
    outline: 2px solid var(--brand-black);
    outline-offset: 2px;
}

.navbar-custom .navbar-brand {
    min-width: 0;
    margin-inline: 0;
}

.branding-logo-img.is-theme-dark {
    display: none;
}

[data-bs-theme="dark"] .branding-logo-link:has(.is-theme-dark) .is-theme-light {
    display: none;
}

[data-bs-theme="dark"] .branding-logo-img.is-theme-dark {
    display: inline-block;
}

.navbar-custom > .container-fluid.navbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    column-gap: 1rem;
    padding-inline: clamp(1rem, 3vw, 2.75rem);
}

.navbar-custom .navbar-start {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.navbar-custom .navbar-brand {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    max-width: 100%;
}

.navbar-custom .storefront-toolbar {
    grid-column: 3;
    justify-self: end;
    min-width: 0;
    gap: 0.5rem;
}

@media (min-width: 992px) {
    .navbar-custom .navbar-nav {
        flex-direction: row;
        gap: 2.25rem;
        margin: 0;
        align-items: stretch;
    }

    .navbar-custom .navbar-nav .nav-link {
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        display: none !important;
    }
}

.navbar-custom .storefront-icon-btn {
    width: 36px;
    height: 36px;
}

@media (max-width: 575.98px) {
    .navbar-custom > .container-fluid.navbar-inner {
        column-gap: 0.35rem;
        padding-inline: 0.6rem;
    }

    .navbar-custom .navbar-brand {
        max-width: 42vw;
    }

    .navbar-custom .navbar-brand img {
        width: auto !important;
        height: 72px !important;
        max-height: 72px !important;
        max-width: min(42vw, 160px) !important;
    }

    .navbar-custom .navbar-start,
    .navbar-custom .storefront-toolbar {
        gap: 0;
    }
}

@media (max-width: 359.98px) {
    .navbar-custom > .container-fluid.navbar-inner {
        padding-inline: 0.4rem;
        column-gap: 0.2rem;
    }

    .navbar-custom .navbar-brand {
        max-width: 36vw;
    }

    .navbar-custom .navbar-brand img {
        height: 56px !important;
        max-height: 56px !important;
        max-width: min(36vw, 120px) !important;
    }
}

body:has(.offcanvas.show),
body:has(.modal.show) {
    overflow: hidden !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#mobileMenu.offcanvas {
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--brand-black) !important;
    cursor: pointer;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 9999 !important;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--brand-soft);
    color: var(--brand-burgundy);
}

.dropdown-item.active {
    background: var(--brand-soft);
    color: var(--brand-navy);
    font-weight: 700;
}

.badge-cart {
    font-size: 0.65rem;
    background: var(--brand-navy);
    color: var(--brand-cream);
    border-radius: 50px;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

.storefront-cart-btn {
    position: relative;
}

.storefront-cart-svg {
    display: block;
    width: 1.2em;
    height: 1.2em;
}

.storefront-cart-btn.is-cart-bump {
    animation: cart-bump 0.55s ease;
}

.storefront-cart-btn.is-cart-bump .badge-cart {
    animation: cart-badge-pop 0.55s ease;
}

@keyframes cart-bump {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.18); }
}

@keyframes cart-badge-pop {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-cart-btn.is-cart-bump,
    .storefront-cart-btn.is-cart-bump .badge-cart {
        animation: none;
    }
}

.storefront-cart-btn .badge-cart {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    transform: none;
    z-index: 3;
    background: var(--brand-sale, #6F262B);
    color: #fff;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    line-height: 18px;
    pointer-events: none;
}

.modal-search-overlay {
    background: rgba(0, 0, 0, 0.95);
}

.search-input-full {
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    width: 100%;
}

@media (max-width: 575.98px) {
    .search-input-full {
        font-size: 1.35rem;
    }
}

.search-input-full:focus {
    box-shadow: none;
    border-bottom-color: #fff;
    color: #fff;
}

.storefront-icon-btn {
    color: var(--brand-black);
    text-decoration: none;
    border: none;
    background: transparent;
    width: 44px;
    height: 44px;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1.05rem;
    flex-shrink: 0;
    overflow: hidden;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.storefront-icon-btn.storefront-cart-btn {
    overflow: visible;
    position: relative;
}

.storefront-toolbar {
    overflow: visible;
    position: relative;
    z-index: 2;
    gap: 0.35rem;
}

.storefront-icon-btn i {
    display: block;
    line-height: 1;
    font-size: inherit;
    width: 1em;
    height: 1em;
    text-align: center;
}

.storefront-icon-btn:hover {
    color: var(--brand-black);
    background: var(--brand-soft);
    opacity: 1;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

.storefront-footer {
    background: var(--brand-black);
    color: #fff;
}

.storefront-footer .footer-heading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.storefront-footer .footer-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.storefront-footer .footer-link:hover {
    color: #E4C4C6;
}

.footer-social-bar {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    justify-content: center;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-social-bar .social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.55rem;
}

.footer-social-bar .social-link:hover {
    background: #fff;
    color: var(--brand-navy);
    transform: translateY(-3px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.35rem;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.contact-container .social-link {
    color: var(--brand-text, var(--brand-navy));
    font-size: 1.75rem;
}

.contact-container .social-link:hover {
    color: var(--brand-burgundy);
    transform: translateY(-2px);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: all 0.3s ease;
    opacity: 0.7;
}

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

/* Product card (shared homepage + PLP) */
.product-card {
    border: none;
    background: none;
    transition: transform 0.3s ease;
}

.product-card .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--brand-soft);
    aspect-ratio: 3 / 4;
    width: 100%;
}

.product-card .image-wrapper > a.product-card-image-link {
    display: block;
    height: 100%;
}

.product-card .product-card-photo,
.product-card .product-img,
.product-card .list-product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
}

.product-card .product-card-photo.is-alt {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover .product-card-photo.is-alt {
    opacity: 1;
}

.product-card .sale-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: var(--brand-sale);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
}

.product-card .btn-cart-overlay {
    position: absolute;
    bottom: 16px;
    inset-inline-end: 16px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 46px !important;
    height: 46px !important;
    max-width: 46px;
    max-height: 46px;
    min-width: 46px;
    min-height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, color 0.35s ease;
    z-index: 3;
    color: var(--brand-black);
    text-decoration: none;
    overflow: hidden;
}

.product-fav-form {
    margin: 0;
}

.product-card .product-fav-btn {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-navy, #193049);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-card:hover .product-fav-btn,
.product-card .product-fav-btn.is-active,
.product-card .product-fav-btn:focus-visible {
    opacity: 1;
}

.product-fav-btn.is-active,
.product-page-fav.is-active {
    color: #9b2c2c;
}

.product-page-fav {
    width: 58px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

form.product-fav-form:has(.product-page-fav) {
    display: flex;
}

.product-card:hover .btn-cart-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-card .btn-cart-overlay:hover {
    background: var(--brand-black);
    color: #fff;
}

.product-card-name {
    color: inherit;
    text-decoration: none;
}

.product-card-name:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (hover: none) {
    .product-card .btn-cart-overlay {
        opacity: 1;
        transform: none;
        width: 42px;
        height: 42px;
    }

    .product-card .product-fav-btn,
    .product-card .product-card-photo.is-alt {
        opacity: 1;
    }

    .product-card .product-card-photo.is-alt {
        display: none;
    }
}

.product-card-meta {
    padding-top: 0.75rem;
}

.product-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-card-swatch {
    display: inline-flex;
    margin-bottom: 0.4rem;
}

.product-card-swatch-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(25, 48, 73, 0.25);
    display: block;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    flex-wrap: wrap;
    font-size: 0.92rem;
}

.product-card-price-regular {
    font-weight: 700;
    color: var(--brand-navy, #193049);
}

.product-card-price-old {
    color: var(--brand-muted, #5c6b7c);
    text-decoration: line-through;
    font-size: 0.82rem;
}

.product-save-amount {
    color: #15803d;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.product-save-amount-lg {
    font-size: 0.95rem;
}

/* Homepage hero */
[dir="rtl"] .hero-content,
.hero-content {
    background: none;
    color: #fff;
}

.hero-kicker {
    letter-spacing: 0.22em;
    font-size: 0.78rem;
}

.hero-content h1 {
    max-width: 11em;
    margin-inline: auto;
    line-height: 0.95;
    text-wrap: balance;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-lead {
    max-width: 640px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero-content .hero-cta {
    border-radius: 4px;
    min-width: 180px;
    padding: 0.85rem 1.75rem;
    border-width: 1px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-content,
.hero-content h1,
.hero-content .lead,
.hero-content span,
.hero-content p {
    color: #fff !important;
    opacity: 1 !important;
}

.hero-img {
    filter: none !important;
    opacity: 1;
}

.hero-content .btn-light {
    background-color: #F7EFE6 !important;
    border-color: #F7EFE6 !important;
    color: #152238 !important;
}

.hero-content .btn-light:hover,
.hero-content .btn-light:focus-visible {
    background-color: #EFE4D4 !important;
    border-color: #EFE4D4 !important;
    color: #152238 !important;
}

.carousel-swipe-hint {
    font-size: 0.75rem;
    color: var(--brand-muted);
    text-align: center;
    margin-top: 0.75rem;
}

/* PLP */
.plp-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.plp-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--brand-black);
}

.plp-filter-chip:hover {
    background: #eee;
    color: var(--brand-black);
}

.plp-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--brand-border);
    border-radius: var(--radius-lg);
    background: var(--brand-soft);
}

/* Checkout stepper */
.checkout-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 720px;
    margin: 0 auto 1.5rem;
    padding: 1.25rem 1.25rem 1.15rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 4.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-muted);
    text-align: center;
}

.checkout-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--brand-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    background: var(--brand-white);
    color: var(--brand-black);
}

.checkout-step.is-current .checkout-step-dot {
    background: var(--brand-black);
    color: var(--brand-white);
    border-color: var(--brand-black);
}

.checkout-step.is-done .checkout-step-dot {
    background: var(--brand-black);
    border-color: var(--brand-black);
    color: var(--brand-white);
}

.checkout-step-label,
.checkout-step-link {
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.02em;
}

a.checkout-step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: inherit;
}

a.checkout-step-link:hover .checkout-step-label {
    text-decoration: underline;
}

.checkout-step.is-current .checkout-step-label,
.checkout-step.is-current .checkout-step-link {
    color: var(--brand-black);
    font-weight: 800;
}

.checkout-step.is-done .checkout-step-link {
    color: var(--brand-black);
    text-decoration: none;
}

.checkout-step-line {
    flex: 1;
    min-width: 28px;
    height: 3px;
    background: var(--brand-border);
    max-width: 120px;
    margin-top: 18px;
}

.checkout-step-line.is-done {
    background: var(--brand-black);
}

.pay-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    isolation: isolate;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.pay-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    min-height: 158px;
    margin: 0;
    padding: 1rem 0.7rem 0.9rem;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    background: var(--brand-white);
    cursor: pointer;
    text-align: center;
    color: var(--brand-navy);
    transform-origin: center center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pay-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pay-option:focus-within {
    outline: 2px solid var(--brand-navy);
    outline-offset: 2px;
}

.pay-option:hover {
    transform: scale(1.03);
    z-index: 2;
}

.pay-option:has(input:checked) {
    border: 2px solid #152238;
    box-shadow: 0 4px 12px rgba(21, 34, 56, 0.08);
    background: #F7EFE6;
    color: #152238;
}

.pay-option-check {
    display: none;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    line-height: 1;
}

.pay-option:has(input:checked) .pay-option-check {
    display: flex;
}

.pay-option.is-disabled {
    opacity: 0.72;
    cursor: not-allowed;
    background: #F2EFEA;
    border-color: #E4DDD4;
}

.checkout-page .pay-option-logo {
    transform: none;
}

.pay-option-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    overflow: visible;
}

.pay-option-logo {
    display: block;
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pay-option-logo-instapay {
    height: 30px;
    width: auto;
    max-height: 32px;
    object-fit: contain;
}

.pay-option-title {
    font-weight: 700;
    line-height: 1.2;
}

.pay-soon {
    display: block;
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--brand-muted);
}

.receipt-note {
    border: 1px solid var(--brand-border);
    background: var(--brand-soft);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

@media (max-width: 575.98px) {
    .checkout-stepper {
        max-width: 100%;
        padding: 0.85rem 0.45rem 0.75rem;
    }

    .checkout-step {
        min-width: 3rem;
        gap: 0.3rem;
        font-size: 0.72rem;
    }

    .checkout-step-dot {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .checkout-step-line {
        min-width: 10px;
        margin-top: 13px;
    }

    .pay-methods {
        grid-template-columns: 1fr;
    }

    .pay-option {
        min-height: 0;
    }
}

.checkout-hero {
    position: relative;
    min-height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--brand-black);
}

.cart-img-frame {
    background: var(--brand-soft);
}

.checkout-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem 1.75rem;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
    color: #fff;
}

[dir="rtl"] .checkout-hero-overlay {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
}

.checkout-hero-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.85;
}

.checkout-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
}

.checkout-summary-card {
    position: sticky;
    top: 100px;
}

@media (max-width: 767.98px) {
    .checkout-hero {
        min-height: 180px;
        border-radius: 16px;
    }

    .checkout-hero-overlay {
        padding: 1.25rem 1.1rem;
    }
}

/* PDP sticky bar */
.pdp-sticky-bar {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 1040;
    background: var(--brand-white);
    border-top: 1px solid var(--brand-border);
    padding: 0.75rem 1rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    display: none;
    color: var(--brand-black);
}

@media (max-width: 991.98px) {
    .pdp-sticky-bar {
        display: block;
    }

    .storefront-main {
        padding-bottom: 80px;
    }
}

/* Receipt confirmation */
.receipt-card {
    max-width: 560px;
    margin: 3rem auto 4rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    text-align: center;
    background: var(--brand-white);
}

.receipt-totals {
    background: var(--brand-soft);
}

.receipt-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Legal sticky nav */
.legal-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 767.98px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static !important;
    }
}

.legal-nav {
    position: sticky;
    top: 100px;
}

.legal-nav .nav-link {
    text-transform: none;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    color: var(--brand-muted) !important;
}

.legal-nav .nav-link.active,
.legal-nav .nav-link:hover {
    color: var(--brand-black) !important;
}

.legal-prose {
    max-width: 720px;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-trust-line {
    font-size: 0.8rem;
    color: var(--brand-muted);
    margin-top: 0.75rem;
}

.cart-policy-panel {
    background: var(--brand-navy);
    color: var(--brand-cream);
    border-radius: var(--radius-lg, 20px);
    padding: 1.75rem 1.5rem;
}

.cart-policy-title {
    font-family: var(--font-display, "El Messiri", serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-cream);
}

.cart-policy-text {
    margin-bottom: 0.85rem;
    line-height: 1.85;
    font-size: 0.95rem;
    color: rgba(252, 244, 233, 0.92);
}

.cart-policy-text:last-child {
    margin-bottom: 0;
}

.return-policy {
    background: var(--brand-surface);
    color: var(--brand-navy);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.35rem;
}

.return-policy.is-inverse {
    background: var(--brand-navy);
    color: var(--brand-cream);
    border-color: transparent;
}

.return-policy-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.return-policy-intro,
.return-policy-note,
.return-policy-steps {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.return-policy-steps {
    padding-inline-start: 1.25rem;
}

.return-policy-steps li + li {
    margin-top: 0.45rem;
}

.return-policy-note {
    margin-bottom: 0;
    font-weight: 700;
}

.return-policy-compact {
    color: var(--brand-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.return-policy-compact a {
    color: var(--brand-burgundy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.return-policy-compact a:hover {
    color: var(--brand-navy);
}

[data-bs-theme="dark"] .cart-policy-panel {
    background: #14263A;
    border: 1px solid #2C4664;
    color: #FCF4E9;
}

[data-bs-theme="dark"] .return-policy {
    color: #FCF4E9;
    background: #14263A;
    border-color: #2C4664;
}

[data-bs-theme="dark"] .return-policy.is-inverse {
    background: #193049;
    color: #FCF4E9;
}

[data-bs-theme="dark"] .return-policy-compact a:hover {
    color: #FCF4E9;
}

.home-categories {
    background: var(--brand-soft);
}

.home-collection-head {
    gap: 0.75rem 1.25rem;
}

.home-show-all {
    color: var(--brand-black);
    border-bottom: 2px solid var(--brand-black);
    padding-bottom: 4px;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .home-collection-head {
        flex-direction: column;
        align-items: stretch;
    }

    .home-show-all {
        align-self: flex-end;
    }
}

.home-show-all:hover {
    color: var(--brand-burgundy);
    border-bottom-color: var(--brand-burgundy);
    opacity: 1;
}

.mobile-menu-label {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-muted);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
}

.mobile-menu-link {
    color: var(--brand-navy);
    text-decoration: none;
    font-weight: 600;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--brand-border);
}

.mobile-menu-link:hover {
    color: var(--brand-burgundy);
}

.collection-carousel-wrap {
    --collection-gutter: max(0.75rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px), clamp(0.75rem, 2vw, 1.5rem));
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.collection-track {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: var(--collection-gutter);
    scroll-padding-inline: var(--collection-gutter);
    overscroll-behavior-x: contain;
}

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

.collection-slide {
    flex: 0 0 calc((100% - 4rem) / 5.35);
    scroll-snap-align: start;
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .collection-slide {
        flex-basis: calc((100% - 3rem) / 4.25);
    }
}

@media (max-width: 991.98px) {
    .collection-slide {
        flex-basis: calc((100% - 2rem) / 3.25);
    }
}

@media (max-width: 575.98px) {
    .collection-slide {
        flex-basis: min(70vw, 280px);
    }
}

.custom-ctrl {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--brand-navy);
    color: var(--brand-cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    opacity: 1;
}

.custom-ctrl:hover,
.custom-ctrl:focus-visible {
    background: var(--brand-burgundy);
    color: #fff;
    outline: none;
}

.custom-ctrl.is-disabled,
.custom-ctrl:disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
    box-shadow: none;
}

.custom-ctrl.is-disabled:hover,
.custom-ctrl:disabled:hover {
    background: var(--brand-navy);
    color: var(--brand-cream);
}

.collection-ctrl-prev {
    inset-inline-start: max(6px, calc(var(--collection-gutter) - 8px));
}

.collection-ctrl-next {
    inset-inline-end: max(6px, calc(var(--collection-gutter) - 8px));
}

@media (max-width: 767.98px) {
    .collection-carousel-wrap {
        --collection-gutter: max(1.2rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    }

    .collection-ctrl-prev {
        inset-inline-start: 6px;
    }

    .collection-ctrl-next {
        inset-inline-end: 6px;
    }
}

[dir="rtl"] .collection-ctrl-prev .bi,
[dir="rtl"] .collection-ctrl-next .bi {
    transform: scaleX(-1);
}

.home-hero-section {
    padding: 0;
}

.hero {
    min-height: 72vh;
    border-radius: 0;
}

#home .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: 0;
    background: linear-gradient(to top, rgba(14, 26, 40, 0.72) 0%, rgba(14, 26, 40, 0.22) 42%, transparent 68%);
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 68vh;
        border-radius: 0 !important;
    }

    .hero-content {
        padding: 2.5rem 1.15rem 2.25rem !important;
        width: 100%;
    }

    .hero-cta {
        min-width: 0;
        flex: 1 1 140px;
    }

    .hero-content .display-2 {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
    }

    .hero-content .w-75 {
        width: 100% !important;
    }

    .category-box {
        aspect-ratio: 4 / 3;
        height: auto !important;
        min-height: 240px;
    }
}

.storefront-breadcrumb .breadcrumb-item a {
    color: var(--brand-muted);
}

.storefront-breadcrumb .breadcrumb-item.active {
    color: var(--brand-black);
}

:focus-visible {
    outline: 2px solid var(--brand-black);
    outline-offset: 3px;
}

.btn-light.rounded-pill {
    letter-spacing: 0.04em;
}

/* Storefront login / register / password */
.storefront-auth {
    padding: 3rem 0 4.5rem;
}

.storefront-auth-card {
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid rgba(25, 48, 73, 0.08);
    border-radius: 20px;
    background: var(--brand-surface);
    color: var(--brand-navy);
    box-shadow: 0 18px 40px rgba(25, 48, 73, 0.1);
    overflow: hidden;
}

.storefront-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.35rem 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 55%),
        linear-gradient(160deg, #193049 0%, #6F262B 100%);
}

.storefront-auth-brand .branding-logo-img-on-dark {
    display: inline-block;
}

.storefront-auth-form-wrap {
    padding: 1.75rem 1.5rem 2.25rem;
}

@media (min-width: 768px) {
    .storefront-auth-form-wrap {
        padding: 2rem 2.25rem 2.75rem;
    }
}

.storefront-auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.4rem;
}

.storefront-auth-subtitle {
    color: var(--brand-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.storefront-auth-card .form-label {
    color: var(--brand-navy);
    font-weight: 600;
}

.storefront-auth-card .form-control {
    border-color: rgba(25, 48, 73, 0.28);
    color: var(--brand-navy);
    background: var(--brand-surface);
    border-radius: 999px;
    padding-inline: 1rem;
}

.storefront-auth-card .form-control:focus {
    border-color: var(--brand-burgundy);
    box-shadow: 0 0 0 0.15rem rgba(111, 38, 43, 0.18);
    background: var(--brand-surface);
    color: var(--brand-navy);
}

.storefront-auth-card .form-check-input {
    border-color: var(--brand-navy);
}

.storefront-auth-card .form-check-input:checked {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.storefront-auth-card a {
    color: var(--brand-navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.storefront-auth-card a:hover {
    color: var(--brand-burgundy);
}

.storefront-auth-card .branding-logo-link,
.storefront-auth-card .branding-logo-link:hover {
    text-decoration: none;
}

.storefront-auth-card .btn-dark {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: var(--brand-cream);
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
}

.storefront-auth-card .btn-dark:hover {
    background: var(--brand-burgundy);
    border-color: var(--brand-burgundy);
    color: #fff;
}

.storefront-auth-password {
    border: 1px solid var(--brand-navy);
    border-radius: 999px;
    overflow: hidden;
    background: var(--brand-surface);
}

.storefront-auth-password .form-control,
.storefront-auth-password .btn {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--brand-navy);
    background: var(--brand-surface);
}

.storefront-auth-password .btn {
    color: var(--brand-navy);
}

.storefront-auth-password .form-control:focus {
    box-shadow: none !important;
}

.storefront-confirm {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.storefront-confirm.is-open {
    display: flex;
}

body.storefront-confirm-open {
    overflow: hidden;
}

.storefront-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 32, 0.55);
}

.storefront-confirm-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: #fff;
    color: var(--brand-navy);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(25, 48, 73, 0.22);
    padding: 1.35rem 1.4rem 1.2rem;
}

.storefront-confirm-title {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.storefront-confirm-message {
    margin: 0 0 1.15rem;
    color: var(--brand-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.storefront-confirm-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.storefront-confirm-cancel,
.storefront-confirm-ok {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.storefront-confirm-cancel {
    background: #fff;
    color: var(--brand-navy);
    border: 1px solid var(--brand-border);
}

.storefront-confirm-ok {
    background: var(--brand-navy);
    color: #fff;
    border: 1px solid var(--brand-navy);
}

.storefront-confirm-ok.is-danger {
    background: var(--brand-burgundy);
    border-color: var(--brand-burgundy);
    color: #fff;
}

.stock-badge.is-low {
    border-color: var(--brand-burgundy);
    color: var(--brand-burgundy);
    background: rgba(111, 38, 43, 0.1);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.shop-brands {
    background: #fff;
    padding: 3.25rem 0 2.75rem;
}

.shop-brands-head {
    margin-bottom: 1.35rem;
    text-align: center;
}

.shop-brands-title {
    margin: 0;
    color: #161616;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 600;
    line-height: 1.15;
}

.shop-brands-lead {
    margin: 0.4rem 0 0;
    color: #8d8d8d;
    font-size: 0.98rem;
}

.shop-brands-track {
    direction: ltr;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shop-brands-track::-webkit-scrollbar {
    display: none;
}

.shop-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 calc((100% - 14px) / 2);
    height: 132px;
    padding: 18px 16px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    text-decoration: none;
}

.shop-brand-card img {
    width: auto;
    max-width: 84%;
    max-height: 78%;
    object-fit: contain;
}

.shop-brand-card:hover {
    border-color: #111;
}

.shop-brands-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
}

.shop-brands-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d7d7d7;
}

.shop-brands-dot.is-active {
    width: 22px;
    background: #161616;
}

@media (min-width: 768px) {
    .shop-brand-card {
        flex-basis: calc((100% - 70px) / 6);
        height: 156px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-brands-track {
        scroll-behavior: auto;
    }
}



