/*
 * Website design - one file.
 * Merged from style.css, components.css and shop-ui.css, in that order, so the
 * same rules win. Rules that could never apply and properties a later identical
 * rule always replaced were removed. The shop colour is printed by
 * shopThemeStyle() in the page head.
 */
/* ===== from style.css ===== */
/* =====================================================================
 * Perfume Shop - Storefront design system
 *
 * One place for the colours, type scale and layout primitives the shop is
 * built from. components.css builds on these tokens, so changing a value
 * here changes it everywhere.
 *
 * Layout uses logical properties (inline-start/end, margin-inline) so the
 * Arabic right-to-left version needs no separate stylesheet.
 * ===================================================================== */

:root {
    --ink: #14110f;
    --paper: #ffffff;
    --gold: #b48a3f;
    --gold-dark: #8d6b2c;
    --sale: #b3261e;
    --ok: #1f7a5c;
    --primary-color: var(--gold);
    --secondary-color: var(--ink);
    --text-color: var(--ink);
    --muted-color: var(--ink-muted);
    --border-color: var(--line);
    --light-color: var(--sand);
    --dark-color: var(--ink);
    --danger-color: var(--sale);
    --success-color: var(--ok);
    --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --section-y: clamp(2.5rem, 5vw, 4.5rem);
    --header-h: 68px;
}

/* Arabic gets one font for everything - Tajawal has no serif companion,
   and mixing a Latin serif into Arabic headings looks broken. */
.lang-ar {
    --font-body: 'Tajawal', system-ui, 'Segoe UI', sans-serif;
    --font-display: 'Tajawal', system-ui, 'Segoe UI', sans-serif;
}

/* ---------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------ */

body {
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.lang-ar body,
.lang-ar { letter-spacing: 0; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: .75rem;
}

a {
    color: var(--ink);
    text-decoration: none;
    transition: color .18s ease;
}

.text-muted { color: var(--ink-muted) !important; }

img { max-width: 100%; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------ */

.btn {
    --bs-btn-border-radius: 999px;
    letter-spacing: .01em;
    padding-inline: 1.4rem;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    border-color: var(--ink);
}

.btn-gold {
    --bs-btn-color: #fff;
    border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

.btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--ink);
}

.btn-outline-primary {
    --bs-btn-color: var(--gold-dark);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-bg: var(--gold);
    --bs-btn-hover-border-color: var(--gold);
    --bs-btn-hover-color: #fff;
}

.btn-lg { padding: .8rem 2rem; font-size: 1rem; }

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */

.announcement-bar i {
    margin-inline-end: .35rem;
}

.site-header {
    border-bottom: 1px solid var(--line);
}

.header-utility {
    font-size: .8rem;
    color: var(--ink-muted);
    padding: .4rem 0;
}
.header-utility a { color: var(--ink-muted); }
.header-utility a:hover { color: var(--gold-dark); }
.utility-left a { margin-inline-end: 1.1rem; }

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}
.lang-switch a {
    padding: .1rem .7rem;
    font-size: .78rem;
    color: var(--ink-muted);
    background: transparent;
}

.header-main {
    padding: .6rem 0;
    z-index: 1035;
}

.header-grid {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.header-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.header-logo img { height: 42px; width: auto; max-width: 190px; object-fit: contain; }

/* Used when no logo image has been uploaded in Settings. */
.wordmark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ink);
    white-space: nowrap;
}
.wordmark--light { color: #fff; font-size: 1.35rem; }
.lang-ar .wordmark { letter-spacing: 0; }

.header-search {
    flex: 1 1 auto;
    max-width: 520px;
    margin-inline: auto;
}
.header-search .form-control {
    padding-inline-end: 3rem;
    height: 44px;
}

.header-search .btn {
    position: absolute;
    inset-inline-end: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
}
.header-search .btn:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin-inline-start: auto;
}

.header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .5rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: .95rem;
    border-radius: 999px;
}
.header-icon:hover {
    color: var(--ink);
}
.header-icon.dropdown-toggle::after { display: none; }

.cart-badge {
    inset-inline-end: 2px;
}

/* ---- Category row + mega menu ---- */

.nav-list {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list > li > a {
    display: inline-block;
    padding: .7rem .9rem;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--ink);
}
.nav-list > li > a:hover { color: var(--gold-dark); }
.nav-list > li > a i { font-size: .62rem; margin-inline-start: .25rem; color: var(--ink-muted); }
.nav-offers { color: var(--sale) !important; font-weight: 600 !important; }

.has-mega { position: static; }
.mega-menu {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 1040;
    padding: 1.5rem 0 1rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.header-nav { position: relative; }
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .4rem .5rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--ink);
}
.mega-item:hover {
    color: var(--gold-dark);
}
.mega-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-footer {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
    font-size: .85rem;
    font-weight: 600;
}
.mega-footer a { color: var(--gold-dark); }
.mega-footer i { font-size: .7rem; }
[dir="rtl"] .mega-footer i,
[dir="rtl"] .link-arrow i { transform: scaleX(-1); }

/* ---- Drawer (mobile menu) ---- */

.drawer-nav, .drawer-subnav { list-style: none; margin: 0; padding: 0; }
.drawer-nav > li > a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem .25rem;
    font-size: .95rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.drawer-nav > li > a i:first-child { width: 20px; color: var(--ink-muted); }
.drawer-subnav { padding: .25rem 0 .5rem 2rem; }
[dir="rtl"] .drawer-subnav { padding: .25rem 2rem .5rem 0; }
.drawer-subnav a {
    display: block;
    padding: .45rem 0;
    font-size: .88rem;
    color: var(--ink-soft);
}
.drawer-lang { margin-top: 1.25rem; }

/* ---------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------ */

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0;
}
.lang-ar .section-title { font-weight: 700; }
.section-sub {
    margin: .25rem 0 0;
    color: var(--ink-muted);
    font-size: .92rem;
}
.link-arrow {
    flex-shrink: 0;
    font-size: .85rem;
    white-space: nowrap;
}
.link-arrow i { font-size: .7rem; margin-inline-start: .3rem; }

.eyebrow {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

/* ---------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------ */

.hero {
    position: relative;
    background: var(--sand-deep);
    border-radius: 0;
    overflow: hidden;
}
.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to inline-end, rgba(20, 17, 15, .72), rgba(20, 17, 15, .15));
}
[dir="rtl"] .hero-slide::after {
    background: linear-gradient(to left, rgba(20, 17, 15, .72), rgba(20, 17, 15, .15));
}
[dir="ltr"] .hero-slide::after {
    background: linear-gradient(to right, rgba(20, 17, 15, .72), rgba(20, 17, 15, .15));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    color: #fff;
    padding-block: 2.5rem;
}
.hero-content h1,
.hero-content .hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    margin-bottom: .75rem;
}
.hero-content p {
    color: rgba(255, 255, 255, .88);
    margin-bottom: 1.5rem;
}
.hero .carousel-indicators { margin-bottom: 1rem; }
.hero .carousel-indicators [data-bs-target] {
    border: 0;
    background: rgba(255, 255, 255, .55);
}

/* ---------------------------------------------------------------------
 * Category & brand tiles
 * ------------------------------------------------------------------ */

.category-tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--sand-deep);
    aspect-ratio: 3 / 4;
}
.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tile__label {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 2.5rem .9rem .9rem;
    color: #fff;
    font-size: .95rem;
}

.brand-tile {
    display: grid;
    place-items: center;
    height: 92px;
    padding: 1rem;
    background: var(--paper);
}

.brand-tile img { max-height: 46px; object-fit: contain; }

/* ---------------------------------------------------------------------
 * Value props
 * ------------------------------------------------------------------ */

.value-prop {
    display: flex;
    gap: .9rem;
    height: 100%;
}
.value-prop i {
    margin-top: .15rem;
}
.value-prop h3 { font-size: .95rem; margin-bottom: .15rem; }
.value-prop p { margin: 0; font-size: .84rem; color: var(--ink-muted); }

/* ---------------------------------------------------------------------
 * Product detail
 * ------------------------------------------------------------------ */

.product-gallery .main-image {
    border: 1px solid var(--line);
    overflow: hidden;
}
.product-gallery .thumbnail {
    border: 1px solid var(--line);
    overflow: hidden;
    cursor: pointer;
    opacity: .75;
    transition: opacity .2s ease, border-color .2s ease;
}
.product-gallery .thumbnail:hover,
.product-gallery .thumbnail.active {
    opacity: 1;
    border-color: var(--gold);
}

.product-info .product-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    margin-bottom: .35rem;
}
.product-info .product-brand {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: .9rem;
}
.product-info .product-price {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.product-info .product-price .original-price {
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: line-through;
    margin-inline-start: .5rem;
}
.product-meta-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .4rem 1rem;
    margin: 0 0 1.5rem;
    font-size: .9rem;
}
.product-meta-list dt { color: var(--ink-muted); font-weight: 400; }
.product-meta-list dd { margin: 0; font-weight: 500; }

.quantity-selector {
    display: inline-flex;
    align-items: center;
}
.quantity-selector .btn {
    width: 42px;
    height: 44px;
    padding: 0;
    background: transparent;
    color: var(--ink);
}
.quantity-selector .btn:hover { background: var(--sand); }
.quantity-selector input {
    /* Room for a weight like 125.5 (grams), not only a count of 1 */
    width: 68px;
    height: 44px;
    text-align: center;
    border: 0;
    border-inline: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}
.quantity-selector input:focus { outline: none; box-shadow: none; }
/* The - / + buttons do this; the browser's own tiny arrows only crowd the number. */
.quantity-selector input::-webkit-outer-spin-button, .quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-selector input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .7rem;
    font-size: .78rem;
    font-weight: 500;
    background: var(--gold-tint);
    color: var(--gold-dark);
}
.stock-pill--ok { background: #e8f5ef; color: var(--ok); }
.stock-pill--out { background: #fdeceb; color: var(--sale); }

/* ---------------------------------------------------------------------
 * Cart
 * ------------------------------------------------------------------ */

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item .item-image {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--sand);
}
.cart-item .item-title { font-weight: 600; font-size: .98rem; margin-bottom: .15rem; }
.cart-item .item-variant { font-size: .82rem; color: var(--ink-muted); }
.cart-item .item-remove { color: var(--ink-muted); border: 0; background: none; }
.cart-item .item-remove:hover { color: var(--sale); }

.summary-card {
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
}
.summary-card .summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .6rem;
    font-size: .93rem;
}
.summary-card .summary-row span:first-child { color: var(--ink-muted); }
.summary-card .summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: .75rem;
    margin-top: .75rem;
    border-top: 1px solid var(--line);
    font-size: 1.15rem;
    font-weight: 700;
}

/* ---------------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------------ */

.form-control, .form-select {
    padding: .6rem .85rem;
}

.form-label {
    margin-bottom: .35rem;
}

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */

footer.site-footer {
    background: var(--ink);
    color: #cdc5ba;
}

/* ---------------------------------------------------------------------
 * Utility
 * ------------------------------------------------------------------ */

.breadcrumb {
    --bs-breadcrumb-divider-color: var(--ink-muted);
}

.breadcrumb .active { color: var(--ink); }

.whatsapp-float {
    position: fixed;
    width: 54px;
    height: 54px;
    bottom: 28px;
    inset-inline-end: 22px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    box-shadow: var(--shadow-md);
    z-index: 1040;
    display: grid;
    place-items: center;
}
.whatsapp-float:hover { background: #128c7e; color: #fff; }

.fade-in { animation: fadeIn .4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 991.98px) {
    .header-main { position: sticky; top: 0; }
    .header-logo img { height: 32px; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-slide::after {
        background: linear-gradient(to top, rgba(20, 17, 15, .8), rgba(20, 17, 15, .35)) !important;
    }
}

@media (max-width: 575.98px) {
    .section-head { flex-direction: column; align-items: flex-start; gap: .35rem; }
    .cart-item .item-image { width: 72px; height: 72px; }
}

/* ===== from components.css ===== */
/* =====================================================================
 * Components
 *
 * Everything introduced with pagination, filters, the PWA shell and the
 * Kuwait checkout. Kept separate from style.css so the original theme
 * rules stay readable.
 * ===================================================================== */

:root {
    /* Point the older component rules at the design-system tokens in
       style.css so there is only one palette to change. */
    --brand-1: var(--gold, #b48a3f);
    --brand-2: var(--ink, #14110f);
    /* Height of the fixed mobile nav, used to pad the bottom of the page */
    --mobile-nav-h: 62px;
}

/* Keyboard users need a way past the navigation */
/* Parked above the viewport rather than off to the side: a negative `left`
   scrolls the page sideways in the Arabic (RTL) layout. */
.skip-link {
    position: absolute;
    inset-inline-start: 0;
    top: -100px;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: #fff;
    border-radius: 0 0 var(--radius) 0;
    box-shadow: var(--shadow-md);
    transition: top .15s ease;
}
.skip-link:focus { top: 0; }

.announcement-bar {
    padding: .45rem 0;
}

.site-header {
    background: #fff;
}

/* ---------- Header search ---------- */

.header-search {
    position: relative;
    display: flex;
    min-width: 200px;
}
.header-search .form-control {
    border-right: 0;
}
.header-search .btn {
    border-left: 0;
}
.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--radius);
}
.search-suggest a {
    display: flex;
    gap: .65rem;
    align-items: center;
    padding: .55rem .75rem;
    color: inherit;
    border-bottom: 1px solid #f1eff6;
}
.search-suggest a:last-child { border-bottom: 0; }

.search-suggest img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: .68rem;
    line-height: 18px;
    text-align: center;
    color: #fff;
    border-radius: 999px;
}
.cart-badge--nav { top: 4px; right: 22%; }

/* ---------- Product card ---------- */

.product-card {
    background: #fff;
    overflow: hidden;
}

.product-card__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-card__badges {
    position: absolute;
    left: .5rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    align-items: flex-start;
}

.product-card__wish {
    position: absolute;
    right: .5rem;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.product-card__wish:hover,
.product-card__wish.is-active { color: #dc3545; }
.product-card__wish.is-active i { font-weight: 900; }

.product-card__meta {
    font-size: .74rem;
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}
.product-card__rating { font-size: .75rem; color: #f0a500; }
.product-brand {
    letter-spacing: .06em;
    text-transform: uppercase;
}
.product-title {
    font-weight: 600;
    margin: .15rem 0 .3rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-title a { color: inherit; }
.product-price {
    font-weight: 700;
}
.original-price {
    font-weight: 400;
    font-size: .82em;
    text-decoration: line-through;
    margin-left: .35rem;
}

/* ---------- Filters ---------- */

.filter-group {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eeecf3;
}
.filter-group:last-of-type { border-bottom: 0; }
.filter-group__title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: .3rem .7rem;
    font-size: .8rem;
    border-radius: 999px;
    border: 1px solid #e3ddf5;
}

.filter-chip--clear { background: transparent; border-style: dashed; }

@media (min-width: 992px) {
    .offcanvas-lg .offcanvas-body { padding: 0; }
}

.search-hero { max-width: 720px; margin-inline: auto; }

/* ---------- Checkout ---------- */

.payment-option {
    display: flex;
    gap: .75rem;
    align-items: center;
    width: 100%;
    padding: .85rem 1rem;
    margin-bottom: .5rem;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.payment-option i {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
}

.checkout-summary { position: sticky; top: 90px; }
.checkout-items {
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    gap: .6rem;
}

.checkout-totals {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .35rem 1rem;
    margin: 0;
    font-size: .92rem;
}
.checkout-totals dt { font-weight: 400; color: #6c757d; }
.checkout-totals dd { margin: 0; text-align: right; }
.checkout-totals .total {
    padding-top: .5rem;
    margin-top: .25rem;
    border-top: 1px solid #eeecf3;
    font-size: 1.1rem;
    font-weight: 700;
}

.form-label.required::after { content: " *"; color: #dc3545; }

/* ---------- Order confirmation ---------- */

.order-success__tick {
    width: 72px;
    height: 72px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    color: #fff;
    background: linear-gradient(135deg, #24b47e, #12805c);
    border-radius: 50%;
    animation: pop .35s ease;
}
@keyframes pop {
    from { transform: scale(.4); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.order-progress {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}
.order-progress__step {
    position: relative;
    flex: 1 0 auto;
    min-width: 92px;
    text-align: center;
    font-size: .74rem;
    color: #6c757d;
}
/* Connecting line sits behind the dots */
.order-progress__step::before {
    content: "";
    position: absolute;
    top: 13px;
    left: -50%;
    width: 100%;
    height: 2px;
    z-index: 0;
}
.order-progress__step:first-child::before { display: none; }
.order-progress__step.is-done::before,
.order-progress__step.is-current::before { background: var(--brand-1); }
.order-progress__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: 0 auto .35rem;
    font-size: .7rem;
    color: #fff;
    border-radius: 50%;
}
.order-progress__step.is-done .order-progress__dot { background: #24b47e; }
.order-progress__step.is-current .order-progress__dot {
    background: var(--brand-1);
}
.order-progress__step.is-current .order-progress__label {
    color: var(--brand-1);
    font-weight: 600;
}

/* ---------- CMS pages ---------- */

.cms-page { font-size: 1.02rem; line-height: 1.85; }
.cms-page h2 { margin-top: 2rem; font-size: 1.4rem; }
.cms-page h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.cms-page img { max-width: 100%; height: auto; border-radius: var(--radius); }
.cms-page table { width: 100%; margin: 1.25rem 0; }
.cms-page table th,
.cms-page table td { padding: .5rem .75rem; border: 1px solid #e6e2f0; }

/* ---------- Footer ---------- */

.footer-heading {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .85rem;
}
.footer-text {
    font-size: .9rem;
}
.footer-links a,
.footer-contact a {
    font-size: .9rem;
}
.footer-links li { margin-bottom: .45rem; }

.footer-contact li {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    margin-bottom: .45rem;
    font-size: .9rem;
}
.footer-contact i {
    margin-top: .28rem;
}
.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-right: .4rem;
    color: #fff;
    border-radius: 50%;
}

.pay-chip {
    display: inline-block;
    padding: .25rem .6rem;
    margin: 0 .3rem .3rem 0;
    font-size: .72rem;
    font-weight: 600;
    background: #fff;
}

/* ---------- Mobile bottom navigation ---------- */

.mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    border-top: 1px solid #eeecf3;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 12px rgba(16, 12, 40, .07);
}
.mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    padding: .35rem 0;
    font-size: .68rem;
}
.mobile-nav__item i { font-size: 1.05rem; }
.mobile-nav__item:hover,
.mobile-nav__item.is-active { color: var(--brand-1); }

@media (max-width: 991.98px) {
    body { padding-bottom: var(--mobile-nav-h); }
    .whatsapp-float { bottom: calc(var(--mobile-nav-h) + 12px); }
}

/* ---------- Toast ---------- */

.app-toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--mobile-nav-h) + 20px);
    transform: translateX(-50%) translateY(12px);
    z-index: 1080;
    max-width: 92vw;
    padding: .7rem 1.1rem;
    font-size: .9rem;
    color: #fff;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.app-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 992px) {
    .app-toast { bottom: 24px; }
}

/* ---------- Admin tables on small screens ---------- */

@media (max-width: 575.98px) {
    .admin-table thead { display: none; }
    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td { display: block; width: 100%; }
    .admin-table tr {
        margin-bottom: .75rem;
        padding: .5rem;
        border: 1px solid #eeecf3;
        border-radius: var(--radius);
    }
    .admin-table td { border: 0; padding: .3rem .5rem; }
    .admin-table td.text-end { text-align: left !important; }
}

.min-w-0 { min-width: 0; }
.object-fit-cover { object-fit: cover; }

/* Respect users who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

@media print {
    .site-header, .site-footer, .mobile-nav, .whatsapp-float,
    .announcement-bar, .btn, .breadcrumb { display: none !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
}

/* ===== from shop-ui.css ===== */
/* =====================================================================
 * Shop UI - the modern finish for the customer website
 *
 * Loaded after style.css and components.css. It does not replace them; it
 * refines them: one palette driven by the shop's chosen colour (Settings >
 * General > Website colour, printed as --gold / --gold-dark / --ink /
 * --accent-rgb by shopThemeStyle()), softer surfaces, consistent rounding,
 * and the leftover purple tints from the first theme replaced by the
 * shop's own colour.
 *
 * Logical properties only (inline-start/end), so Arabic needs nothing extra.
 * ===================================================================== */

:root {
    --accent-rgb: 180, 138, 63;

    /* Everything soft is mixed from the accent, so a colour change in
       Settings re-tints the whole shop. */
    --sand: color-mix(in srgb, var(--gold) 6%, #fff);
    --sand-deep: color-mix(in srgb, var(--gold) 12%, #fff);
    --gold-tint: color-mix(in srgb, var(--gold) 14%, #fff);
    --line: color-mix(in srgb, var(--ink) 9%, #fff);
    --ink-soft: color-mix(in srgb, var(--ink) 72%, #fff);
    --ink-muted: color-mix(in srgb, var(--ink) 50%, #fff);
    --accent-ring: rgba(var(--accent-rgb), .18);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 12, 10, .05), 0 2px 8px rgba(15, 12, 10, .04);
    --shadow-md: 0 10px 30px -8px rgba(15, 12, 10, .14);
    --shadow-lg: 0 24px 60px -16px rgba(15, 12, 10, .22);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

body { background: #fff; color: var(--ink); }
a:hover { color: var(--gold-dark); }
::selection { background: var(--gold-tint); color: var(--ink); }
:focus-visible { outline-color: var(--gold); }

/* ---------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------ */

.btn {
    font-weight: 600;
    transition: transform .15s var(--ease), background-color .2s ease, color .2s ease,
                border-color .2s ease, box-shadow .2s ease;
}
.btn-primary {
    --bs-btn-bg: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--gold-dark);
    --bs-btn-hover-border-color: var(--gold-dark);
    --bs-btn-active-bg: var(--gold-dark);
    --bs-btn-active-border-color: var(--gold-dark);
    --bs-btn-disabled-bg: var(--sand-deep);
    --bs-btn-disabled-border-color: var(--sand-deep);
    --bs-btn-disabled-color: var(--ink-muted);
    background: var(--bs-btn-bg);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-primary:disabled,
.btn-primary.disabled { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--ink-muted); opacity: 1; }

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), .75);
}
.btn-gold:hover,
.btn-gold:focus { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-1px); }

.btn-outline-dark { border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline-primary { border-color: var(--gold); color: var(--gold-dark); }
.btn-outline-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-link { color: var(--gold-dark); }

/* ---------------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------------ */

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 12px;
    min-height: 46px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
textarea.form-control { min-height: 110px; }
.form-control-sm, .form-select-sm { min-height: 36px; border-radius: 10px; }
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--ink-soft); }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.form-check-input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--accent-ring); }
.input-group > .form-control:not(:last-child) { border-start-end-radius: 0; border-end-end-radius: 0; }

/* ---------------------------------------------------------------------
 * Cards, alerts, tables, pagination
 * ------------------------------------------------------------------ */

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card-header { background: transparent; border-bottom-color: var(--line); }
.card-header:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.alert { border: 0; border-radius: var(--radius); }
.alert-info { background: var(--sand); color: var(--ink-soft); }

.table { --bs-table-border-color: var(--line); }
.table > thead th {
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
}

.pagination { gap: .35rem; }
.pagination .page-link {
    border: 1px solid var(--line);
    border-radius: 999px !important;
    min-width: 40px;
    text-align: center;
    color: var(--ink);
}
.pagination .page-link:hover { background: var(--sand); color: var(--gold-dark); }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }

.breadcrumb { font-size: .84rem; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--gold-dark); }

.badge { font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: .38em .7em; }
.badge-sale { background: var(--gold) !important; color: #fff; }
.badge-new { background: var(--ink) !important; color: #fff; }
.badge-soft { background: var(--gold-tint) !important; color: var(--gold-dark) !important; }

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */

.announcement-bar {
    background: var(--ink);
    background-image: radial-gradient(ellipse at 50% -40%, rgba(var(--accent-rgb), .45), transparent 70%);
    color: rgba(255, 255, 255, .9);
    font-size: .82rem;
    letter-spacing: .02em;
}
.announcement-bar i { color: var(--gold); }

.site-header { box-shadow: none; }
.header-utility { border-bottom: 1px solid var(--line); }
.lang-switch a.active { background: var(--ink); color: #fff; }

.header-main {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-search .form-control {
    background: var(--sand);
    border: 1px solid transparent;
    border-radius: 999px;
}
.header-search .form-control:focus {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.header-search .btn {
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
}
.header-search .btn:hover { background: var(--gold-dark); }
.header-icon:hover { background: var(--sand-deep); }

.cart-badge {
    background: var(--gold);
    box-shadow: 0 0 0 2px #fff;
    font-weight: 700;
}

.header-nav { border-top: 0; }
.nav-list > li > a { position: relative; }
.nav-list > li > a::after {
    content: "";
    position: absolute;
    inset-inline: .9rem;
    bottom: .35rem;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > li:focus-within > a::after { transform: scaleX(1); }

.mega-menu {
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.mega-item:hover { background: var(--sand); }
.mega-thumb { background: var(--sand-deep); }

.search-suggest { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.search-suggest a { border-bottom-color: var(--line); }
.search-suggest a:hover { background: var(--sand); }

.offcanvas { border: 0 !important; }
@media (max-width: 991.98px) {
    .offcanvas-start, .offcanvas-end { box-shadow: var(--shadow-lg); }
}
label[for="sort"] { white-space: nowrap; }
.drawer-nav > li > a:hover { color: var(--gold-dark); }

/* ---------------------------------------------------------------------
 * Hero (banners) and the built-in welcome when there are none
 * ------------------------------------------------------------------ */

.hero-slide { min-height: clamp(420px, 62vh, 640px); }
.hero-content h1,
.hero-content .hero-title {
    font-size: clamp(2.3rem, 5.2vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.hero-content p { font-size: clamp(1rem, 1.4vw, 1.15rem); opacity: .9; }
.hero .eyebrow { color: var(--gold); }
.hero .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    transition: width .3s var(--ease), background-color .3s ease;
}
.hero .carousel-indicators .active { width: 28px; background: var(--gold); }

.hero-plain {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 10vw, 7.5rem);
    color: #fff;
    text-align: center;
    background:
        radial-gradient(60% 80% at 15% 10%, rgba(var(--accent-rgb), .45), transparent 70%),
        radial-gradient(50% 70% at 90% 100%, rgba(var(--accent-rgb), .3), transparent 70%),
        var(--ink);
}
/* Two faint rings, like light through a perfume bottle */
.hero-plain::before,
.hero-plain::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), .35);
    pointer-events: none;
}
.hero-plain::before { width: 520px; height: 520px; inset-inline-start: -160px; top: -220px; }
.hero-plain::after { width: 380px; height: 380px; inset-inline-end: -120px; bottom: -200px; }
.hero-plain__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.hero-plain__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.4rem;
    font-size: 1.5rem;
    color: var(--gold);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(var(--accent-rgb), .45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hero-plain__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 6.4vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: .01em;
    color: #fff;
    margin-bottom: 1rem;
    text-wrap: balance;
}
.hero-plain__text {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, .75);
    max-width: 560px;
    margin: 0 auto 2rem;
}
.hero-plain__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------ */

.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    letter-spacing: -.005em;
}
.eyebrow { color: var(--gold-dark); display: inline-flex; align-items: center; gap: .55rem; }
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.hero .eyebrow::before, .hero-plain .eyebrow::before { display: none; }
.link-arrow { color: var(--gold-dark); font-weight: 600; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }

/* Promise boxes under the hero */
.value-prop {
    border: 0;
    background: var(--sand);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
    align-items: center;
    transition: background-color .2s ease, transform .2s var(--ease);
}
.value-prop:hover { background: var(--sand-deep); transform: translateY(-2px); }
.value-prop i {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--gold-dark);
    box-shadow: var(--shadow-sm);
    font-size: 1.05rem;
}

/* ---------------------------------------------------------------------
 * Category and brand tiles
 * ------------------------------------------------------------------ */

.category-tile {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s ease;
    isolation: isolate;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-tile img { transition: transform .6s var(--ease); }
.category-tile:hover img { transform: scale(1.06); }
.category-tile__label {
    background: linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent);
    font-weight: 600;
    letter-spacing: .02em;
}

/* No photo: the category's initial on a soft tint of the shop colour */
.category-tile--plain {
    display: grid;
    place-items: center;
    background:
        radial-gradient(80% 60% at 50% 35%, #fff, transparent 75%),
        linear-gradient(160deg, var(--sand-deep), var(--gold-tint));
    border: 1px solid var(--line);
}
.category-tile__mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(4rem, 9vw, 6.5rem);
    line-height: 1;
    color: var(--gold);
    opacity: .55;
    transform: translateY(-12%);
    transition: transform .4s var(--ease), opacity .3s ease;
}
.category-tile--plain:hover .category-tile__mark { transform: translateY(-16%) scale(1.06); opacity: .8; }
.category-tile--plain .category-tile__label { color: #fff; }

.brand-tile {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    padding-inline: .75rem;
    color: var(--ink-soft);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease), color .2s ease;
}
.lang-ar .brand-tile { letter-spacing: 0; text-transform: none; }
.brand-tile:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------------
 * Product card
 * ------------------------------------------------------------------ */

.product-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.product-card__media { background: var(--sand); }
.product-card__img { transition: transform .6s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__badges { top: .75rem; inset-inline-start: .75rem; inset-inline-end: auto; }
.product-card__badges .badge { font-size: .66rem; box-shadow: var(--shadow-sm); }
.product-card__wish {
    top: .65rem;
    inset-inline-end: .65rem;
    inset-inline-start: auto;
    background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--ink-soft);
    transition: transform .2s var(--ease), color .2s ease;
}
.product-card__wish:hover { transform: scale(1.08); color: var(--sale); }
.product-card__body { padding: .95rem 1rem 1rem; }
.product-brand { color: var(--gold-dark); font-weight: 600; font-size: .68rem; }
.lang-ar .product-brand { letter-spacing: 0; }
.product-title { font-size: .95rem; color: var(--ink); }
.product-title a:hover { color: var(--gold-dark); }
.product-card__meta { color: var(--ink-muted); }
.product-card__meta span + span::before { content: "·"; margin-inline-end: .4rem; }
.product-price { color: var(--ink); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.original-price { color: var(--ink-muted); }
.product-card .js-add-to-cart { border-radius: 999px; padding-block: .55rem; }

/* ---------------------------------------------------------------------
 * Listing filters
 * ------------------------------------------------------------------ */

.filter-group { border-bottom-color: var(--line); }
.filter-group__title { color: var(--ink-muted); }
.filter-chip { color: var(--ink-soft); background: var(--sand); border-color: var(--line); }
.filter-chip:hover { background: var(--gold-tint); color: var(--gold-dark); border-color: var(--gold-tint); }

/* ---------------------------------------------------------------------
 * Product page
 * ------------------------------------------------------------------ */

.product-gallery .main-image { border-radius: var(--radius-lg); background: var(--sand); }
.product-gallery .thumbnail { border-radius: 12px; }
.product-gallery .thumbnail.active,
.product-gallery .thumbnail:hover { border-color: var(--gold) !important; }
.product-info .product-price { color: var(--ink); }
.stock-pill { border-radius: 999px; }
.quantity-selector {
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.quantity-selector .btn { border: 0; border-radius: 0; }
.quantity-selector .form-control { border: 0; box-shadow: none; min-height: 44px; }

/* ---------------------------------------------------------------------
 * Cart, checkout, account
 * ------------------------------------------------------------------ */

.cart-item { border-color: var(--line) !important; }
.checkout-summary,
.summary-card { border-radius: var(--radius-lg); }
.payment-option {
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}
.payment-option:hover { background: var(--sand); }
.payment-option.is-selected {
    border-color: var(--gold);
    background: var(--sand);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.payment-option i { color: var(--gold-dark); }
.payment-option input { accent-color: var(--gold); }
.checkout-totals .total { border-top-color: var(--line); color: var(--ink); }

.order-progress__step::before { background: var(--line); }
.order-progress__dot { background: var(--line); }
.order-progress__step.is-current .order-progress__dot { box-shadow: 0 0 0 4px var(--accent-ring); }

.cms-page table th,
.cms-page table td { border-color: var(--line); }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */

.site-footer {
    position: relative;
    background: var(--ink);
    background-image: radial-gradient(60% 50% at 100% 0%, rgba(var(--accent-rgb), .16), transparent 70%);
    color: rgba(255, 255, 255, .72);
}
.site-footer::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-heading { color: #fff; }
.footer-text { color: rgba(255, 255, 255, .58); }
.footer-links a,
.footer-contact a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); }
.footer-social a { background: rgba(255, 255, 255, .08); transition: background-color .2s ease, transform .2s var(--ease); }
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }
.site-footer .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.site-footer .form-control:focus { background: rgba(255, 255, 255, .1); }
.pay-chip { color: var(--ink); border-radius: 999px; }

/* ---------------------------------------------------------------------
 * Phone bottom bar, toast, pop-ups
 * ------------------------------------------------------------------ */

.mobile-nav {
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-top-color: var(--line);
}
.mobile-nav__item { color: var(--ink-muted); }
.mobile-nav__item.is-active,
.mobile-nav__item:hover { color: var(--gold-dark); }

.app-toast { background: var(--ink); box-shadow: var(--shadow-lg); }

.modal-content { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal-header, .modal-footer { border-color: var(--line); }
.modal-backdrop.show { opacity: .4; }
.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .4rem;
}
.dropdown-item { border-radius: 10px; padding: .5rem .75rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--sand); color: var(--ink); }
.dropdown-item.active, .dropdown-item:active { background: var(--gold); color: #fff; }

/* Respect people who turn animation off */
@media (prefers-reduced-motion: reduce) {
    .product-card, .product-card__img, .category-tile, .category-tile img,
    .category-tile__mark, .value-prop, .brand-tile, .btn { transition: none !important; }
    .product-card:hover, .category-tile:hover, .value-prop:hover, .brand-tile:hover { transform: none; }
}

/* ---------------------------------------------------------------------
 * Tabs (product description / details / reviews, account)
 * ------------------------------------------------------------------ */

.nav-tabs { border-bottom: 1px solid var(--line); gap: .25rem; }
.nav-tabs .nav-link {
    position: relative;
    border: 0;
    background: none;
    color: var(--ink-muted);
    font-weight: 600;
    padding: .8rem 1.1rem;
}
.nav-tabs .nav-link:hover { color: var(--ink); }
.nav-tabs .nav-link.active { color: var(--ink); background: none; }
.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    inset-inline: .75rem;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
}
.nav-tabs + .tab-content { border: 0 !important; padding-inline: 0 !important; }
.nav-pills .nav-link { border-radius: 999px; color: var(--ink-soft); font-weight: 600; }
.nav-pills .nav-link.active { background: var(--ink); color: #fff; }
.list-group-item.active { background: var(--ink); border-color: var(--ink); }
.list-group-item-action:hover { background: var(--sand); }

/* Phones: two promise boxes side by side leave no room for the icon
   beside the text, so the icon sits on top. */
@media (max-width: 575.98px) {
    .value-prop { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .95rem; }
    .value-prop i { flex-basis: auto; width: 38px; height: 38px; font-size: .95rem; }
    .value-prop h3 { font-size: .9rem; }
    .value-prop p { font-size: .8rem; }
}

/* A price never breaks inside itself; the old price moves under the new
   one when the card is narrow. */
.product-card .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: .45rem;
}
.product-card .original-price { white-space: nowrap; margin-inline-start: 0; }
@media (max-width: 575.98px) {
    .product-card__body { padding: .8rem .8rem .9rem; }
    .product-card .product-price { font-size: .95rem; }
    .product-card .js-add-to-cart { font-size: .82rem; padding-inline: .5rem; }
}

/* Shop name drawn as text (no logo uploaded): a long name like
   "BHASIN BOKHUR & PERFUMES" must never push the account and cart icons
   off a phone screen. It shrinks, and wraps onto two lines if it must. */
@media (max-width: 991.98px) {
    .header-logo { flex-shrink: 1; min-width: 0; }
    .header-logo .wordmark {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        font-size: clamp(.9rem, 4vw, 1.35rem);
        line-height: 1.15;
        letter-spacing: .03em;
    }
    .header-actions { flex-shrink: 0; }
}
/* Same for the shop name in the footer. */
.site-footer .wordmark { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }

/* Oils and bakhoor: the running total under the quantity box, and the
   tola / kilo prices under the gram price on a card. */
.pdp-line-total {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
    margin: -.25rem 0 1rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: var(--sand);
    color: var(--ink-soft);
    font-size: .92rem;
}
.pdp-line-total strong { color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pdp-line-total small { color: var(--ink-muted); }
.product-card__units {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem .6rem;
    margin-top: .2rem;
    font-size: .74rem;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
}
.product-card__units span { white-space: nowrap; }
.product-card__units span + span::before { content: "·"; margin-inline-end: .6rem; }
