/* ==========================================================
   Original Boutique Theme — clean, editorial, minimal
   ========================================================== */
:root {
    --ink: #1a1a1a;
    --paper: #fff5f7;
    --line: #f0d6dc;
    --accent: #c45c7a;
    --muted: #8a6e74;
    --bg: #fff0f3;
    --pink-soft: #f6d0de;
    --pink-mid: #f6d0de;
}

* { box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    background: #f6d0de;
    letter-spacing: 0.01em;
}

/* RTL support for Arabic */
html[dir="rtl"] body {
    font-family: 'Segoe UI', Tahoma, 'Noto Sans Arabic', Arial, sans-serif;
}
html[dir="rtl"] .main-nav a {
    margin-left: 0;
    margin-right: 14px;
}
html[dir="rtl"] .header-icons a {
    margin-left: 0;
    margin-right: 18px;
}

h1, h2, h3, h4, .brand-font {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.btn-ink {
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 12px 28px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.btn-ink:hover { background: #fff; color: var(--ink); }

.btn-outline-ink {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 11px 28px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.btn-outline-ink:hover { background: var(--ink); color: #fff; }

/* ---------------- Top utility bar (announcement + switchers) ---------------- */
.top-utility-bar {
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 7px 0;
}
.top-utility-bar .announce-text {
    text-transform: uppercase;
    opacity: 0.95;
}
.utility-switchers {
    flex-shrink: 0;
}
.switcher-group {
    display: inline-flex;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 3px;
    overflow: hidden;
}
.switcher-btn {
    display: inline-block;
    padding: 3px 11px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    background: transparent;
    border: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.switcher-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
.switcher-btn.active {
    background: #fff;
    color: var(--ink);
    font-weight: 600;
}
.switcher-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.3);
    display: inline-block;
}
/* Mobile offcanvas switchers (on light bg) */
.offcanvas .switcher-group {
    border-color: var(--line);
}
.offcanvas .switcher-btn {
    color: var(--muted);
}
.offcanvas .switcher-btn:hover {
    color: var(--ink);
    background: var(--paper);
}
.offcanvas .switcher-btn.active {
    background: var(--ink);
    color: #fff;
}

/* ---------------- Header ---------------- */
.site-header {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.product-thumb,
.category-tile,
.pdp-thumb-main {
    background: #f6d0de !important;
}
.order-summary-box {
    background: var(--pink-soft);
    border-color: var(--line);
}

/* Currency symbol image — MUST stay small next to prices (never full-size upload) */
.currency-symbol-img,
img.currency-symbol-img,
span.price img,
.cart-line img.currency-symbol-img,
.order-summary-box img.currency-symbol-img {
    height: 14px !important;
    max-height: 14px !important;
    width: auto !important;
    max-width: 18px !important;
    vertical-align: middle !important;
    margin: 0 3px 0 0 !important;
    display: inline-block !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: static !important;
}
html[dir="rtl"] .currency-symbol-img {
    margin-right: 0;
    margin-left: 3px;
}
.currency-code {
    font-weight: 600;
    margin-right: 2px;
}
html[dir="rtl"] .currency-code {
    margin-right: 0;
    margin-left: 2px;
}

/* Floating WhatsApp button - left side */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    color: #fff;
}
html[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 28px;
}
@media (max-width: 575px) {
    .whatsapp-float {
        bottom: 18px;
        left: 18px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    html[dir="rtl"] .whatsapp-float {
        left: auto;
        right: 18px;
    }
    .top-utility-bar .announce-text {
        font-size: 10px;
        width: 100%;
        text-align: center;
        order: 2;
    }
    .top-utility-bar .container {
        flex-direction: column;
        gap: 6px !important;
    }
    .utility-switchers {
        order: 1;
        justify-content: center;
        width: 100%;
    }
}
.brand-logo {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.main-nav a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 14px;
    color: var(--ink);
}
.header-icons a {
    font-size: 19px;
    margin-left: 18px;
    color: var(--ink);
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #2b2b2b, #4a4238);
    color: #fff;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08), transparent 45%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 0 20px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: #d8cfc2; margin-bottom: 16px; }
.hero h1 { font-size: 3.2rem; font-weight: 400; margin-bottom: 18px; }
.hero p { font-size: 15px; color: #e9e5df; margin-bottom: 30px; }

/* ---------------- Section titles ---------------- */
.section-pad { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title h2 { font-size: 1.9rem; font-weight: 400; margin-bottom: 8px; }
.section-title p { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------------- Category tiles ---------------- */
.category-tile {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--pink-soft);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
}
.category-tile .tile-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #3a352e, #6d6357);
    transition: transform 0.5s ease;
}
.category-tile:hover .tile-bg { transform: scale(1.06); }
.category-tile span {
    position: relative; z-index: 2;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
}

/* ---------------- Product Card ---------------- */
.product-card { margin-bottom: 34px; }
.product-thumb {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--pink-soft);
    overflow: hidden;
    margin-bottom: 12px;
}
.product-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--ink); color: #fff;
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 9px;
}
.product-badge.sale { background: #a13a3a; }
.product-name { font-size: 14px; margin-bottom: 4px; }
.product-price .old-price { text-decoration: line-through; color: var(--muted); margin-right: 8px; font-size: 13px; }
.product-price .new-price { font-weight: 600; }
.quick-add-btn {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(26,26,26,0.9); color: #fff;
    text-align: center; padding: 10px;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
.product-card:hover .quick-add-btn { transform: translateY(0); }

/* ---------------- Filters bar ---------------- */
.filters-bar {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; margin-bottom: 36px;
}
.filter-chip {
    padding: 8px 18px;
    border: 1px solid var(--line);
    font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink);
}
.filter-chip.active, .filter-chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- Product detail ---------------- */
.pdp-thumb-main {
    aspect-ratio: 3/4;
    background: var(--pink-soft);
    overflow: hidden;
}
.pdp-thumb-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pdp-thumbs img {
    width: 68px; height: 90px; object-fit: cover; cursor: pointer;
    border: 1px solid var(--line); opacity: 0.7;
}
.pdp-thumbs img.active, .pdp-thumbs img:hover { opacity: 1; border-color: var(--ink); }
.size-swatch, .color-swatch {
    display: inline-block; padding: 8px 16px; margin: 0 6px 8px 0;
    border: 1px solid var(--line); font-size: 13px; cursor: pointer;
}
.size-swatch.active, .color-swatch.active,
.size-swatch:hover, .color-swatch:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------------- Cart / Checkout ---------------- */
.cart-line { border-bottom: 1px solid var(--line); padding: 18px 0; }
.cart-line img { width: 84px; height: 110px; object-fit: cover; background: var(--pink-soft); }
.qty-box { width: 70px; text-align: center; }
.order-summary-box { background: var(--paper); padding: 26px; border: 1px solid var(--line); }
.payment-option {
    border: 1px solid var(--line);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
}
.payment-option.selected { border-color: var(--ink); background: var(--pink-soft); }
.bank-detail-box {
    background: var(--paper);
    border: 1px dashed var(--line);
    padding: 16px;
    font-size: 13px;
    margin-top: 10px;
}

/* ---------------- Account ---------------- */
.auth-card { max-width: 440px; margin: 60px auto; }
.account-sidebar a {
    display: block; padding: 10px 14px;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
    border-left: 2px solid transparent;
}
.account-sidebar a.active, .account-sidebar a:hover { border-color: var(--ink); background: var(--paper); }

.status-badge {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
    padding: 4px 10px; border-radius: 2px; display: inline-block;
}
.status-pending { background: #fff3cd; color: #7a5c00; }
.status-processing { background: #e2e8f5; color: #2c3e75; }
.status-dispatched { background: #dcecf7; color: #22597a; }
.status-delivered { background: #dff3e0; color: #256029; }
.status-completed { background: #1a1a1a; color: #fff; }
.status-cancelled { background: #f7dcdc; color: #8a2b2b; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #cfcac2; padding: 56px 0 24px; margin-top: 60px; }
.site-footer h6 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.site-footer a { color: #cfcac2; font-size: 13px; line-height: 2.1; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #3a3a3a; margin-top: 30px; padding-top: 20px; font-size: 12px; color: #8a8580; text-align: center; }

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.2rem; }
    .main-nav { display: none; }
}
@media (max-width: 575px) {
    .hero { min-height: 420px; }
    .hero h1 { font-size: 1.8rem; }
    .section-pad { padding: 44px 0; }
}

/* ---------------- Print (order slip) ---------------- */
@media print {
    .no-print { display: none !important; }
    body { background: #f6d0de; }
}

/* ========== Professional polish: pink site, responsive, clean switchers ========== */
html, body.site-body {
    background: #f6d0de;
    min-height: 100%;
}
.site-main { background: transparent; min-height: 50vh; }

/* Header */
.site-header {
    background: rgba(255, 240, 243, 0.96) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.brand-logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink) !important;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 18px;
    flex: 1;
}
.main-nav a {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.85;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: opacity 0.15s, border-color 0.15s;
}
.main-nav a:hover {
    opacity: 1;
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Switchers — professional pills */
.top-utility-bar {
    background: #1a1a1a;
}
.switcher-group {
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.28) !important;
    overflow: hidden;
}
.switcher-btn {
    padding: 4px 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
}
.switcher-btn.active {
    background: #fff !important;
    color: #1a1a1a !important;
}
.offcanvas .switcher-group {
    border-color: var(--line) !important;
}
.offcanvas .switcher-btn {
    color: var(--ink);
}
.offcanvas .switcher-btn.active {
    background: var(--ink) !important;
    color: #fff !important;
}

/* Footer — light pink */
.site-footer {
    background: #f6d0de !important;
    color: var(--ink) !important;
    border-top: 1px solid var(--line);
    padding: 48px 0 24px;
}
.site-footer h6 {
    color: var(--ink) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 14px;
}
.site-footer a,
.site-footer span,
.site-footer p {
    color: var(--muted) !important;
    font-size: 13px;
}
.site-footer a:hover { color: var(--accent) !important; }
.site-footer .footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 16px;
    text-align: center;
    color: var(--muted) !important;
    font-size: 12px;
}

/* Currency icons — transparent, no white box */
.currency-symbol-img,
img.currency-symbol-img {
    background: transparent !important;
    box-shadow: none !important;
    mix-blend-mode: multiply;
}

/* Hero with optional admin image */
.hero {
    position: relative;
    min-height: clamp(320px, 62vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #3a3032 0%, #2a2426 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero.has-image {
    background-color: #2a2426;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 16px;
    max-width: 640px;
}
.hero-eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 11px;
    opacity: 0.85;
    margin-bottom: 12px;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}
.hero p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 22px;
}

/* Category tiles with images */
.category-tile {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #c4b8ba;
}
.category-tile .tile-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #6b5e60, #3d3536);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.category-tile:hover .tile-bg { transform: scale(1.05); }
.category-tile span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    color: #fff;
    text-align: center;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .main-nav { display: none !important; }
    .header-inner { min-height: 56px; }
    .top-utility-bar .announce-text {
        font-size: 10px;
        max-width: 100%;
    }
}
@media (max-width: 575.98px) {
    .top-utility-bar .container {
        flex-direction: column;
        align-items: stretch !important;
        text-align: center;
        gap: 6px !important;
    }
    .utility-switchers {
        justify-content: center;
        width: 100%;
    }
    .cart-line {
        flex-wrap: wrap;
    }
    .cart-line form {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Cards / sections sit on pink */
.section-pad {
    background: transparent;
}
.order-summary-box,
.auth-card,
.product-card {
    background: #fff;
}

/* Top utility bar — white professional */
.top-utility-bar {
    background: #ffffff !important;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line);
}
.top-utility-bar .announce-text {
    color: var(--muted) !important;
    opacity: 1;
}
.top-utility-bar .switcher-group {
    border-color: var(--line) !important;
}
.top-utility-bar .switcher-btn {
    color: var(--muted) !important;
}
.top-utility-bar .switcher-btn:hover {
    color: var(--ink) !important;
    background: #f6d0de !important;
}
.top-utility-bar .switcher-btn.active {
    background: var(--ink) !important;
    color: #fff !important;
}

/* Hero carousel */
.hero-carousel {
    position: relative;
    min-height: clamp(380px, 72vh, 680px);
    overflow: hidden;
    background: var(--pink-mid);
}
.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(18, 14, 16, 0.45) 0%,
        rgba(18, 14, 16, 0.38) 40%,
        rgba(18, 14, 16, 0.48) 100%
    );
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s ease, transform 6s ease;
    z-index: 0;
}
.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.hero-carousel .hero-content {
    position: relative;
    z-index: 3;
    min-height: clamp(380px, 72vh, 680px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 20px;
    background: transparent;
    color: #fff;
    width: 100%;
    max-width: 100%;
}
.hero-carousel .hero-content h1,
.hero-carousel .hero-content p,
.hero-carousel .hero-eyebrow { color: #fff; }
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 0; right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.hero-dots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.45);
    padding: 0;
    cursor: pointer;
}
.hero-dots button.active { background: #fff; }

/* Auth cards — light pink polish */
.auth-card {
    max-width: 440px;
    margin: 48px auto;
    background: #fff8fa !important;
    border: 1px solid var(--line);
    padding: 36px 28px;
    box-shadow: 0 8px 28px rgba(196, 92, 122, 0.08);
}
.auth-card h3 {
    font-family: Georgia, serif;
}
.auth-card .form-control {
    background: #fff;
    border-color: var(--line);
}
.auth-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.15rem rgba(196, 92, 122, 0.15);
}

/* Nav polish */
.main-nav a {
    font-weight: 500;
    letter-spacing: 0.14em;
    font-size: 11px;
}
.site-header .brand-logo:hover {
    color: var(--accent) !important;
}
html[dir="rtl"] .main-nav {
    flex-direction: row-reverse;
}

/* ===== Centered brand header ===== */
.header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.header-bar .btn-menu {
    grid-column: 1;
    justify-self: start;
}
.brand-center {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: var(--ink) !important;
    max-width: 100%;
}
.brand-logo-img {
    height: 52px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block;
}
.brand-logo-img-sm {
    height: 28px;
    max-width: 36px;
}
.brand-logo-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}
.main-nav-left {
    grid-column: 1;
    justify-self: start;
    justify-content: flex-start;
}
.main-nav-right {
    grid-column: 3;
    justify-self: end;
    justify-content: flex-end;
}
.header-bar .header-icons {
    grid-column: 3;
    justify-self: end;
    z-index: 2;
}
/* When both right nav + icons exist, stack icons after nav via flex on a wrapper — icons stay end */
@media (min-width: 992px) {
    .header-bar {
        grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    }
    .header-bar .header-icons {
        position: relative;
        margin-left: 8px;
    }
    .main-nav-right {
        margin-right: 48px; /* room for icons */
    }
}
@media (max-width: 991.98px) {
    .header-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .brand-center { order: 2; }
    .btn-menu { order: 1; }
    .header-icons { order: 3; }
    .main-nav-left, .main-nav-right { display: none !important; }
}

html[dir="rtl"] .main-nav-left { justify-self: end; }
html[dir="rtl"] .main-nav-right { justify-self: start; margin-right: 0; margin-left: 48px; }
html[dir="rtl"] .header-bar .header-icons { justify-self: start; }

/* Header bar — single row, icons aligned with menu */
.header-bar {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
    align-items: center !important;
    gap: 8px 16px !important;
    min-height: 64px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}
.header-bar .btn-menu { justify-self: start; }
.brand-center { justify-self: center; }
.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}
.header-right .main-nav-right {
    margin-right: 0 !important;
    flex-wrap: nowrap;
}
.header-right .header-icons {
    margin: 0 !important;
    gap: 14px;
}
.header-right .header-icons a {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.main-nav a {
    white-space: nowrap;
    padding: 4px 0;
}
@media (max-width: 991.98px) {
    .header-bar {
        display: flex !important;
        justify-content: space-between !important;
    }
    .header-right { display: none !important; }
}

/* =========================================================
   MOBILE / TABLET — full site responsive (no horizontal overflow)
   ========================================================= */
html, body {
    max-width: 100%;
}
/* overflow-x on body breaks position:sticky — clip on main sections only */
main, .section-pad, .hero-carousel, footer {
    max-width: 100%;
    overflow-x: clip;
}
img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}
.container, .container-fluid {
    max-width: 100%;
}
.row {
    margin-left: -12px;
    margin-right: -12px;
}
.row > [class*="col-"] {
    min-width: 0;
}

/* Header mobile */
@media (max-width: 991.98px) {
    .header-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 56px !important;
        padding: 8px 0 !important;
        width: 100%;
    }
    .header-bar .btn-menu {
        order: 1;
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
    }
    .header-bar .brand-center {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        gap: 6px !important;
    }
    .header-bar .brand-logo-text {
        font-size: 0.85rem !important;
        letter-spacing: 0.1em !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 42vw;
    }
    .header-bar .brand-logo-img {
        height: 40px !important;
        max-width: 52px !important;
        flex-shrink: 0;
    }
    .header-bar .header-icons {
        order: 3;
        flex: 0 0 auto;
        gap: 10px !important;
        margin: 0 !important;
    }
    .header-bar .header-icons a {
        font-size: 1.2rem !important;
        margin: 0 !important;
        padding: 6px;
    }
    .header-right {
        display: none !important;
    }
    .main-nav-left,
    .main-nav-right {
        display: none !important;
    }
}

/* Top utility bar mobile */
@media (max-width: 767.98px) {
    .top-utility-bar {
        padding: 6px 0 !important;
    }
    .top-utility-bar .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: center;
    }
    .top-utility-bar .announce-text {
        font-size: 10px !important;
        line-height: 1.3;
        white-space: normal !important;
        max-width: 100%;
        padding: 0 4px;
    }
    .utility-switchers {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        width: 100%;
    }
    .switcher-group {
        flex-shrink: 0;
    }
    .switcher-btn {
        padding: 4px 10px !important;
        font-size: 11px !important;
    }
}

/* Product grid cards */
@media (max-width: 575.98px) {
    .product-card {
        margin-bottom: 20px !important;
    }
    .product-thumb {
        aspect-ratio: 3 / 4;
    }
    .product-card .product-title,
    .product-card h3,
    .product-card .card-title {
        font-size: 0.9rem !important;
        line-height: 1.3;
        word-break: break-word;
    }
    .product-card .price,
    .product-card .product-price {
        font-size: 0.95rem !important;
        flex-wrap: wrap;
    }
    .section-pad {
        padding: 28px 0 !important;
    }
    h1, .h1 { font-size: 1.5rem !important; }
    h2, .h2 { font-size: 1.3rem !important; }
    h3, .h3 { font-size: 1.15rem !important; }
}

/* Cart page */
@media (max-width: 767.98px) {
    .cart-line {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        align-items: flex-start !important;
        padding: 16px 0 !important;
    }
    .cart-line > img,
    .cart-line .cart-thumb {
        width: 72px !important;
        height: 96px !important;
        object-fit: cover;
        flex-shrink: 0;
    }
    .cart-line .cart-info,
    .cart-line > div:not(form) {
        flex: 1 1 calc(100% - 90px);
        min-width: 0;
    }
    .cart-line form {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-top: 4px;
    }
    .cart-line input[type="number"] {
        width: 64px !important;
        max-width: 80px;
    }
    .order-summary-box {
        margin-top: 20px;
        width: 100%;
    }
}

/* Checkout */
@media (max-width: 767.98px) {
    #checkout_map {
        height: 220px !important;
        width: 100% !important;
    }
    .order-summary-box,
    form .form-control,
    form .form-select,
    form textarea {
        width: 100% !important;
        max-width: 100%;
    }
    .payment-option {
        width: 100%;
    }
}

/* Tables (orders, admin-like public tables) */
@media (max-width: 767.98px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    table.table {
        min-width: 520px;
    }
}

/* Account sidebar + profile */
@media (max-width: 767.98px) {
    .account-sidebar,
    .col-md-3.account-nav,
    aside.account-nav {
        margin-bottom: 20px;
    }
    .col-md-9, .col-md-3 {
        width: 100%;
        max-width: 100%;
    }
}

/* Footer */
@media (max-width: 767.98px) {
    footer .row > [class*="col-"] {
        margin-bottom: 20px;
        text-align: center;
    }
    footer {
        padding-bottom: 80px; /* room for WhatsApp float */
    }
}

/* WhatsApp float — don't cover content */
.whatsapp-float,
a.whatsapp-float,
.wa-float {
    z-index: 1050;
    bottom: 16px !important;
    width: 52px !important;
    height: 52px !important;
}
html[dir="rtl"] .whatsapp-float,
html[dir="rtl"] a.whatsapp-float {
    left: 16px !important;
    right: auto !important;
}
html:not([dir="rtl"]) .whatsapp-float,
html:not([dir="rtl"]) a.whatsapp-float {
    right: 16px !important;
    left: auto !important;
}

/* Currency icons never blow up */
.currency-symbol-img,
img.currency-symbol-img {
    max-height: 14px !important;
    max-width: 22px !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle !important;
    display: inline-block !important;
    background: transparent !important;
}

/* Hero mobile */
@media (max-width: 767.98px) {
    .hero,
    .hero-slider,
    .hero-slide {
        min-height: 280px !important;
        max-height: 55vh;
    }
    .hero-content h1,
    .hero h1 {
        font-size: 1.4rem !important;
        line-height: 1.25;
        padding: 0 12px;
    }
}

/* PDP */
@media (max-width: 767.98px) {
    .pdp-thumb-main {
        max-height: 70vw;
    }
    .pdp-thumbs img {
        width: 56px;
        height: 72px;
        object-fit: cover;
    }
}

/* Offcanvas menu full clean */
#mobileNav .offcanvas-body a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line, #eee);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Prevent any element from forcing page wider than viewport */
* {
    box-sizing: border-box;
}
.site-header,
.top-utility-bar,
main,
footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}


/* ===== Mobile cart + header icon safe area ===== */
.cart-line {
    display: block !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--line, #e8d5dc);
}
.cart-line-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.cart-line .cart-thumb {
    width: 72px !important;
    height: 96px !important;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--pink-soft, #fff0f5);
}
.cart-line .cart-info {
    flex: 1 1 auto;
    min-width: 0;
}
.cart-line .cart-item-name {
    word-break: break-word;
    line-height: 1.3;
}
.cart-line .cart-line-total {
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    padding-left: 8px;
}
.cart-line-form {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
}
.cart-line-form .qty-box {
    width: 64px !important;
    max-width: 72px;
    flex-shrink: 0;
}
.cart-line-form .btn {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .header-bar {
        padding-left: 0 !important;
        padding-right: 4px !important;
    }
    .header-bar .header-icons {
        padding-right: 6px !important;
        gap: 6px !important;
    }
    .header-bar .header-icons a {
        position: relative;
        padding: 8px 6px !important;
        margin: 0 !important;
    }
    .cart-badge {
        top: 0 !important;
        right: -2px !important;
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        line-height: 16px !important;
    }
    .cart-line .cart-line-total {
        font-size: 0.95rem;
    }
    .btn-outline-ink,
    .btn {
        max-width: 100%;
    }
}

/* Page edges — breathing room laptop + mobile */
@media (min-width: 992px) {
    .container {
        max-width: 1140px;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}
@media (max-width: 991.98px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Hero content always centered */
.hero-carousel .hero-content {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.hero-carousel .hero-content h1,
.hero-carousel .hero-content .hero-eyebrow,
.hero-carousel .hero-tagline-rotator,
.hero-carousel .hero-content .btn {
    max-width: 720px;
}
.hero-carousel .hero-content h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.hero-tagline-rotator {
    position: relative;
    min-height: 2.6em;
    margin: 0 auto 28px;
    max-width: 520px;
    width: 100%;
}
.hero-tagline {
    position: absolute;
    left: 0; right: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    font-size: 15px;
    color: #f0ebe6 !important;
    text-align: center;
    line-height: 1.45;
    pointer-events: none;
}
.hero-tagline.is-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

/* Product cards not flush to edge */
.product-card {
    padding-left: 6px;
    padding-right: 6px;
}
.section-pad .row {
    margin-left: -6px;
    margin-right: -6px;
}


/* ===== Sticky navigation ===== */
.top-utility-bar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #ffffff !important;
}
.site-header {
    position: sticky !important;
    top: 36px;
    z-index: 1035;
    background: #f6d0de !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
@media (max-width: 767.98px) {
    .site-header {
        top: 0; /* utility may stack; keep menu visible */
    }
    .top-utility-bar {
        position: sticky;
        top: 0;
        z-index: 1040;
    }
}


/* ===== STICKY NAV (force) ===== */
.sticky-nav-shell {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1050;
    width: 100%;
    background: #f6d0de;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.sticky-nav-shell .top-utility-bar {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
}
.sticky-nav-shell .site-header {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    background: #f6d0de !important;
    box-shadow: none !important;
}


/* ===== Global background (exact site pink) ===== */
html, body, body.site-body {
    background-color: #f6d0de !important;
    background: #f6d0de !important;
}
.sticky-nav-shell,
.site-header,
.section-pad,
.hero-carousel {
    /* hero keeps its own overlay/images */
}
.sticky-nav-shell,
.site-header {
    background-color: #f6d0de !important;
    background: #f6d0de !important;
}
.site-footer {
    background: #f6d0de !important;
    color: #3a2a30 !important;
    border-top: 1px solid rgba(0,0,0,.06);
}
.site-footer a {
    color: #3a2a30 !important;
}
.site-footer .text-muted,
.site-footer small {
    color: #6a5058 !important;
}


/* Product cards gap */
.row.g-4 > [class*="col-"],
.products-grid .col,
.section-pad .row > [class*="col-md-3"],
.section-pad .row > [class*="col-lg-3"] {
    margin-bottom: 1.25rem;
}
.product-card {
    margin-bottom: 0.5rem;
}
/* Currency icon baseline in announce bar */
.announce-text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35em;
    line-height: 1.4;
}
.announce-text .currency-symbol-img,
.announce-text img.currency-symbol-img {
    height: 14px !important;
    max-height: 14px !important;
    width: auto !important;
    vertical-align: middle !important;
    display: inline-block !important;
    position: relative;
    top: -1px;
}
.announce-text .currency-code {
    display: inline-block;
    vertical-align: middle;
}
/* Phone numbers stay LTR in RTL */
[dir="rtl"] span[dir="ltr"] {
    unicode-bidi: isolate;
    direction: ltr;
    display: inline-block;
}


/* ===== Logo size (menu height same) + announce bar 1-line mobile ===== */
.brand-center {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-height: 100%;
}
.brand-logo-img {
    height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    max-width: 80px !important;
    object-fit: contain !important;
}
@media (min-width: 992px) {
    .brand-logo-img {
        height: 56px !important;
        max-height: 56px !important;
        max-width: 88px !important;
    }
}
@media (max-width: 991.98px) {
    .brand-logo-img {
        height: 44px !important;
        max-height: 44px !important;
        max-width: 60px !important;
    }
}
@media (max-width: 575.98px) {
    .brand-logo-img {
        height: 38px !important;
        max-height: 38px !important;
        max-width: 50px !important;
    }
}

/* Top announce: keep one row on mobile */
@media (max-width: 767.98px) {
    .top-utility-bar {
        padding: 5px 0 !important;
    }
    .top-utility-bar .container {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        text-align: left !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .top-utility-bar .announce-text {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 9px !important;
        letter-spacing: 0.03em !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: none !important;
        padding: 0 !important;
    }
    .top-utility-bar .utility-switchers {
        flex: 0 0 auto;
        width: auto !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }
    .top-utility-bar .switcher-btn {
        padding: 2px 7px !important;
        font-size: 9px !important;
    }
}
