/* ============================================
   Al-Rose Veterinary Clinic — V2 Radical Redesign
   Sharp · Editorial · Bold · Same Colors
   ============================================ */

/* — Reset — */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* — Variables (SAME COLORS — UNCHANGED) — */
:root {
    --primary: #c0392b;
    --primary-dark: #96281b;
    --primary-light: #e74c3c;
    --primary-glow: rgba(192,57,43,.15);
    --accent: #d4a24e;
    --accent-light: #f0c97a;
    --accent-glow: rgba(212,162,78,.12);
    --dark: #2c1810;
    --dark-sec: #5a3e35;
    --text: #3d2b22;
    --text-muted: #8b7168;
    --bg: #fdfaf7;
    --bg-warm: #faf5ef;
    --white: #ffffff;
    --surface: #fff9f4;
    --border: #ede0d4;
    --border-light: #f5ece3;

    --shadow-xs: 0 1px 2px rgba(44,24,16,.05);
    --shadow-sm: 0 2px 6px rgba(44,24,16,.06);
    --shadow: 0 4px 16px rgba(44,24,16,.07);
    --shadow-md: 0 8px 24px rgba(44,24,16,.09);
    --shadow-lg: 0 12px 40px rgba(44,24,16,.11);
    --shadow-xl: 0 20px 56px rgba(44,24,16,.14);

    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --radius-full: 999px;

    --ease: .25s cubic-bezier(.22,1,.36,1);
    --ease-slow: .4s cubic-bezier(.22,1,.36,1);
    --font: 'Noto Sans Arabic', -apple-system, sans-serif;
    --header-h: 64px;
    --max-w: 1180px;
}

/* — Base — */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }

/* — Container — */
.container { max-width: var(--max-w); margin: 10px auto; padding: 0 28px; }

.hidden { display: none !important; }

/* ============================================
   HEADER — Solid bar, underline nav
   ============================================ */
.header {
    background: var(--white);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 2px solid var(--border);
    transition: border-color .3s, box-shadow .3s;
}
.header.scrolled {
    border-bottom-color: var(--primary);
    box-shadow: 0 2px 20px rgba(44,24,16,.06);
}
.header-content {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h); gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-image { height: 40px; width: auto; object-fit: contain; }
.logo-text {
    font-size: 16px; font-weight: 700;
    color: var(--dark); letter-spacing: -.3px;
}

/* Nav — underline style */
.nav { display: flex; gap: 0; align-items: stretch; height: 100%; }
.nav-link {
    display: flex; align-items: center;
    padding: 0 16px; font-size: 13px; font-weight: 700;
    color: var(--text-muted);
    position: relative;
    transition: color var(--ease);
    white-space: nowrap;
    letter-spacing: .2px;
    text-transform: uppercase;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: -2px; left: 16px; right: 16px;
    height: 3px; background: var(--primary);
    transform: scaleX(0); transform-origin: right;
    transition: transform var(--ease);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { transform: scaleX(1); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cart-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px; height: 38px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    transition: background var(--ease), transform var(--ease);
}
.cart-btn:hover { background: var(--primary); transform: translateY(-1px); }
.cart-icon { font-size: 15px; }
.cart-count {
    background: var(--primary); color: var(--white);
    min-width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800;
}
.cart-btn:hover .cart-count { background: var(--white); color: var(--primary); }

/* Mobile Menu button */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; padding: 8px; border-radius: 8px;
    transition: background .2s;
}
.mobile-menu-btn:hover { background: rgba(44,24,16,.06); }
.mobile-menu-btn span {
    width: 22px; height: 2px;
    background: var(--dark); border-radius: 2px;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease, width .25s ease;
    transform-origin: center;
    display: block;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen dimmed overlay */
.mobile-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(10, 4, 2, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 198;
    animation: overlayIn .28s ease;
}
.mobile-overlay.active { display: block; }
@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================================
   ROTATING NOTES BANNER
   ============================================ */
.rotating-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #3a2218 100%);
    border-top: none;
    border-bottom: none;
    position: relative;
    direction: rtl;
    padding: clamp(6px, 1vw, 12px) 0;
    overflow: hidden;
}
.banner-container {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.notes-rotator {
    position: relative;
    height: clamp(16px, 1.6vw, 26px);
    overflow: hidden;
}
.note-item {
    position: absolute;
    top: 0; left: 0; right: 0;
    text-align: center;
    color: var(--accent-light);
    font-weight: 600;
    font-size: clamp(11px, 1.2vw, 14px);
    letter-spacing: .3px;
    line-height: clamp(16px, 1.6vw, 26px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .5s ease, transform .5s ease;
}
.note-item.active {
    opacity: 1;
    transform: translateY(0);
}
.note-item .note-icon {
    display: inline-block;
    margin-left: 6px;
    font-size: clamp(12px, 1.3vw, 15px);
    vertical-align: middle;
}

/* Drawer animated background — hidden outside drawer */
.drawer-bg { display: none; }

/* Drawer logo header — hidden on desktop, only visible inside mobile drawer */
.nav-drawer-header { display: none; }

/* ============================================
   NEWS TICKER — continuous left-scroll, news-room style
   <div class="rotating-banner ticker"> ... </div>
   ============================================ */
.rotating-banner.ticker {
    direction: ltr;
    padding: 0;
    border-bottom: 2px solid var(--primary-dark);
    overflow: hidden;
}
.rotating-banner.ticker .banner-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
    max-width: 100%;
}

/* — Label badge on the RIGHT — */
.ticker-label {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: clamp(11px, 1.1vw, 13px);
    letter-spacing: .6px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
    box-shadow: -4px 0 12px rgba(0,0,0,.25);
    position: relative;
    z-index: 2;
}
/* Diagonal cut pointing LEFT (into the scrolling area) */
.ticker-label::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: var(--primary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* — Scrolling strip — */
.rotating-banner.ticker .notes-rotator {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    height: clamp(34px, 3.2vw, 44px);
    display: flex;
    align-items: center;
    position: relative;
}
/* Fade-out edges */
.rotating-banner.ticker .notes-rotator::before,
.rotating-banner.ticker .notes-rotator::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 48px;
    z-index: 1;
    pointer-events: none;
}
.rotating-banner.ticker .notes-rotator::before {
    left: 0;
    background: linear-gradient(to right, var(--dark), transparent);
}
.rotating-banner.ticker .notes-rotator::after {
    right: 0;
    background: linear-gradient(to left, var(--dark), transparent);
}

/* — Scrolling track — */
.rotating-banner.ticker .notes-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-scroll var(--ticker-duration, 20s) linear infinite;
}
.rotating-banner.ticker .notes-track .note-item {
    display: inline-flex;
    align-items: center;
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    color: var(--accent-light);
    font-weight: 600;
    font-size: clamp(12px, 1.2vw, 14px);
    letter-spacing: .3px;
}
.rotating-banner.ticker .notes-track .note-text {
    direction: rtl;
    unicode-bidi: isolate;
    display: inline-block;
}
/* Tab-like gap between notes (−30% again) */
.rotating-banner.ticker .notes-track .note-gap {
    display: inline-block;
    width: clamp(24px, 2.9vw, 47px);
}
.rotating-banner.ticker .notes-track .note-icon {
    display: inline-block;
    font-size: clamp(13px, 1.4vw, 16px);
    opacity: .85;
}

/* Pause on hover */
.rotating-banner.ticker:hover .notes-track {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .rotating-banner.ticker .notes-track { animation: none !important; }
}

/* Non-ticker note text bidi fix (for centered rotator) */
.notes-rotator .note-text {
    direction: rtl;
    unicode-bidi: isolate;
}

/* ============================================
   HERO SECTION — Bold, editorial, full-bleed
   ============================================ */
.hero {
    background: var(--dark);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 484px;
}
.hero::before {
    content: none;
}

/* Hero floating circles */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(30px);
}
.hero-circle-1 {
    width: 160px; height: 160px;
    background: rgba(212,162,78,.12);
    top: 10%; right: 8%;
    animation: circleFloat1 4s ease-in-out infinite;
}
.hero-circle-2 {
    width: 120px; height: 120px;
    background: rgba(192,57,43,.1);
    bottom: 15%; right: 42%;
    animation: circleFloat2 5s ease-in-out infinite;
}
.hero-circle-3 {
    width: 90px; height: 90px;
    background: rgba(255,255,255,.07);
    top: 60%; left: 5%;
    animation: circleFloat3 3.5s ease-in-out infinite;
}
.hero-circle-4 {
    width: 70px; height: 70px;
    background: rgba(192,57,43,.09);
    top: 25%; left: 18%;
    animation: circleFloat4 4.5s ease-in-out infinite;
}
@keyframes circleFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-15px, 10px) scale(1.05); }
    50% { transform: translate(8px, -12px) scale(.95); }
    75% { transform: translate(-6px, -8px) scale(1.02); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes circleFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(12px, 8px) scale(.96); }
    45% { transform: translate(-10px, -14px) scale(1.04); }
    70% { transform: translate(7px, 5px) scale(.98); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes circleFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(10px, -6px) scale(1.06); }
    60% { transform: translate(-12px, 9px) scale(.94); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes circleFloat4 {
    0% { transform: translate(0, 0) scale(1); }
    35% { transform: translate(-9px, 11px) scale(1.03); }
    65% { transform: translate(7px, -8px) scale(.97); }
    100% { transform: translate(0, 0) scale(1); }
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.hero .container {
    position: relative; z-index: 2;
    max-width: var(--max-w);
    padding: 0 28px;
    min-height: 484px;
    display: flex;
    align-items: center;
}
.hero-content {
    text-align: right;
    padding: 60px 0;
    max-width: 580px;
    margin-right: 0;
    margin-left: auto;
    display: flex; flex-direction: column; justify-content: center;
}
.hero-title {
    font-size: 48px; font-weight: 700;
    line-height: 1.1; margin-bottom: 16px;
    letter-spacing: -.5px;
    color: var(--white);
}
.hero-rating {
    display: inline-flex; align-items: center; gap: 8px;
    flex-direction: row-reverse;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    background: rgba(255,255,255,.06);
}
.stars { font-size: 16px; letter-spacing: 2px; }
.rating-text { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 600; }
.hero-subtitle {
    font-size: 20px; font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 12px;
}
.hero-description {
    font-size: 15px; color: rgba(255,255,255,.65);
    margin-bottom: 32px; line-height: 1.8;
    max-width: 520px;
}
.hero-buttons { display: flex; gap: 10px; justify-content: flex-start; margin-bottom: 32px; }
.hero-btn {
    padding: 12px 28px; font-size: 14px; font-weight: 700;
    border-radius: var(--radius-lg);
    transition: var(--ease);
    letter-spacing: .3px;
}
.hero-btn.primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}
.hero-btn.primary:hover {
    background: var(--white);
    color: var(--primary);
}
.hero-btn.secondary {
    background: transparent;
    color: var(--accent-light);
    border: 2px solid var(--accent);
}
.hero-btn.secondary:hover {
    background: var(--accent);
    color: var(--dark);
}

.hero-features { display: flex; gap: 24px; justify-content: flex-start; flex-wrap: wrap; }
.feature-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,.5);
}
.feature-icon { font-size: 18px; }

/* Hero Image — full height, left side (absolute positioned) */
.hero-image {
    position: absolute;
    left: 0%;
    bottom: 0;
    width: clamp(0px, 52vw, 80%);
    z-index: 1;
}
@media (max-width: 640px) {
    .hero-image {
        width: 100%;
    }
}
.hero-main-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    filter: none;
    display: block;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header { text-align: center; margin-bottom: 48px; position: relative; }
.section-title {
    font-size: 30px; font-weight: 700;
    color: var(--dark); margin-bottom: 8px;
    letter-spacing: -.3px;
    position: relative; display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px; height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
}
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ============================================
   PAGE HEADER (sub-pages) — Minimal stripe
   ============================================ */
.page-header {
    text-align: center;
    padding: 11px 0 8px;
    background: var(--dark);
    color: var(--white);
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.page-header h1 {
    font-size: 28px; font-weight: 700;
    margin-bottom: 6px; letter-spacing: -.2px;
}
.page-header p { font-size: 14px; color: rgba(255,255,255,.5); }

/* ============================================
   NEW ARRIVALS — Tabbed, card-strip style
   ============================================ */
.new-arrivals-tabs-section {
    padding: 72px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

/* Tabs — pill group */
.arrivals-tabs {
    display: inline-flex; justify-content: center;
    gap: 0; margin-bottom: 32px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: auto;
}
.new-arrivals-tabs-section .container { text-align: center; }
.arrivals-tab {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 28px;
    font-size: 15px; font-weight: 700;
    background: var(--white);
    color: var(--text-muted);
    border: none;
    border-left: 1px solid var(--border);
    transition: var(--ease);
    line-height: 1;
}
.arrivals-tab:first-child { border-left: none; }
.arrivals-tab:hover { background: var(--surface); color: var(--dark); }
.arrivals-tab.active {
    background: var(--primary);
    color: var(--white);
}
.tab-icon { font-size: 18px; }
.tab-label { font-size: 15px; }

.arrivals-tabs-content { text-align: center; }
.arrivals-tab-panel { display: none; animation: revealUp .35s ease; }
.arrivals-tab-panel.active { display: block; }
@keyframes revealUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Arrivals Grid — horizontal cards */
.arrivals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin-bottom: 32px;
    text-align: right;
}
.arrival-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
    position: relative;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
    overflow: hidden;
    text-align: center;
}
.arrival-item:hover {
    border-color: rgba(192,57,43,.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.arrival-item.out-of-stock { opacity: .72; }
.arrival-item .arrival-badge {
    position: absolute; top: 8px; right: 8px;
    background: var(--primary); color: var(--white);
    padding: 3px 8px; border-radius: var(--radius-sm);
    font-size: 10px; font-weight: 800; z-index: 1;
    letter-spacing: .5px;
}
.arrival-item img {
    width: 100%; height: 190px;
    object-fit: contain; display: block;
    padding: 16px 16px 0;
    background: #ffffff;
    transition: transform .3s ease;
}
.arrival-img-wrap {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.arrival-img-wrap img {
    width: 100%; height: 260px;
    object-fit: contain;
    padding: 14px;
    display: block;
    transition: transform .35s ease;
}
.arrival-item:hover img, .arrival-item:hover .arrival-img-wrap img { transform: scale(1.04); }
.arrival-item.out-of-stock .arrival-img-wrap img { filter: grayscale(25%); }

/* Stock badge on arrivals */
.arrival-stock-badge {
    position: absolute; bottom: 8px; left: 0px; right: 0px;
    display: inline-block;
    text-align: center; padding: 6px 10px;
    font-size: 12px; font-weight: 800;
    pointer-events: none;
    box-shadow: var(--shadow-xs);
    line-height: 1;
    z-index: 3;
    transform: translateZ(0);
}
.arrival-stock-badge.out { background: var(--primary); color: var(--white); }
.arrival-stock-badge.low { background: rgba(214,137,16,.12); color: #b7770d; }

/* Arrival info body */
.arrival-info {
    flex: 1; display: flex; flex-direction: column;
    padding: 12px 16px 0;
}
.arrival-item h3 {
    font-size: 15px; font-weight: 800; color: var(--dark);
    margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.4; min-height: 44px;
}
.arrival-rating {
    font-size: 14px; color: var(--accent);
    letter-spacing: 2px; margin-bottom: 5px;
}
.arrival-meta {
    display: flex; flex-direction: column; gap: 2px;
    margin-bottom: 8px; align-items: center;
}
.arrival-brand { font-size: 11px; font-weight: 700; color: #0b6b4b; }

.arrival-item p {
    font-size: 12px; color: var(--text-muted);
    margin-bottom: 10px; min-height: 32px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    padding: 0 16px;
}

/* Arrival footer — price + round cart btn */
.arrival-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto;
    padding: 8px 14px 13px;
    border-top: 1px solid var(--border);
    gap: 10px;
    direction: ltr;
}
.arrival-item .arrival-price {
    font-size: 17px; font-weight: 800; color: var(--primary);
    line-height: 1;
    margin: 0; padding: 0; border: none; min-height: unset;
}
.arrival-item .arrival-price small { font-size: 12px; font-weight: 600; opacity: .8; }

/* Round cart button on arrivals (mirrors add-to-cart-btn) */
.arrival-view-btn {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--dark); color: var(--white);
    font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--dark);
    transition: background var(--ease), border-color var(--ease), transform .15s ease;
}
.arrival-view-btn:hover:not(:disabled):not(.in-cart) {
    background: var(--primary); border-color: var(--primary);
    transform: scale(1.1);
}
.arrival-view-btn.in-cart {
    background: var(--dark); border-color: var(--dark); color: var(--white);
}
.arrival-view-btn.in-cart:hover { background: #15663d; border-color: #15663d; }
.arrival-view-btn:disabled {
    background: var(--border); border-color: var(--border);
    cursor: not-allowed; color: var(--text-muted); font-size: 13px;
}

.view-all-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700;
    color: var(--dark);
    padding: 10px 0;
    border-bottom: 2px solid var(--dark);
    transition: color var(--ease), border-color var(--ease);
    margin-top: 8px;
}
.view-all-link:hover { color: var(--primary); border-color: var(--primary); }

/* ============================================
   ABOUT SECTION — Side card layout
   ============================================ */
.about-section {
    padding: 72px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px; align-items: start;
}
.about-text .section-title { text-align: right; margin-bottom: 20px; }
.about-text .section-title::after { margin: 10px 0 0 auto; }
.about-description {
    font-size: 15px; color: var(--dark-sec);
    margin-bottom: 14px; line-height: 1.85;
}
.about-highlight {
    font-size: 15px; font-weight: 600;
    color: var(--primary); margin-top: 10px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border-right: 4px solid var(--primary);
    line-height: 1.7;
    box-shadow: var(--shadow-xs);
}
.about-info { display: flex; flex-direction: column; }
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: border-color var(--ease), box-shadow var(--ease);
}
.info-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.info-card-combined { display: flex; flex-direction: column; gap: 24px; }
.info-row { display: flex; align-items: flex-start; gap: 16px; text-align: right; }
.info-icon {
    font-size: 32px; flex-shrink: 0;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.info-details { flex: 1; }
.info-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.info-value { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.info-note { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.info-divider { height: 1px; background: var(--border); margin: 0 16px; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-section { padding: 40px 0 72px; background: var(--bg); }

/* Filter Toolbar */
.filter-toolbar { margin-bottom: 28px; }
.filter-toolbar-row {
    display: flex; gap: 10px; align-items: center;
    flex-wrap: nowrap; margin-bottom: 16px;
}

/* Search Bar */
.search-bar { flex: 1; min-width: 0; position: relative; }
.search-bar input {
    width: 100%; padding: 0 44px 0 18px;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 14px; font-family: var(--font);
    background: var(--white); color: var(--text);
    transition: border-color var(--ease), box-shadow var(--ease);
    box-shadow: var(--shadow-xs);
}
.search-bar input:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.search-bar input::placeholder { color: var(--text-muted); opacity: .5; }
.search-bar::before {
    content: '🔍';
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
    opacity: .5;
}

/* Sort Wrap */
.sort-wrap select {
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 13px; font-weight: 600; font-family: var(--font);
    background: var(--white); color: var(--text);
    cursor: pointer; appearance: auto;
    min-width: 150px;
    transition: border-color var(--ease), box-shadow var(--ease);
    box-shadow: var(--shadow-xs);
    white-space: nowrap;
}
.sort-wrap select:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Category Chips — tag style */
.category-row {
    display: flex; gap: 8px; flex-wrap: wrap;
    justify-content: center; margin-bottom: 10px;
}
.cat-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 16px;
    border-radius: var(--radius);
    font-size: 12px; font-weight: 700; font-family: var(--font);
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all .2s ease;
    letter-spacing: .3px;
}
.cat-chip:hover {
    border-color: var(--dark);
    color: var(--dark);
}
.cat-chip.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.cat-chip-icon { font-size: 12px; }
.cat-chip-arrow { font-size: 10px; opacity: .4; margin-right: -2px; }
.cat-chip.active .cat-chip-arrow { opacity: 1; }

/* Subcategory Row */
.subcategory-row {
    display: flex; gap: 6px; flex-wrap: wrap;
    justify-content: center;
    max-height: 0; overflow: hidden;
    opacity: 0; transform: translateY(-6px);
    transition: max-height .3s ease, opacity .25s ease, transform .25s ease;
    padding: 0 6px;
}
.subcategory-row.visible {
    max-height: 200px; opacity: 1; transform: translateY(0);
    padding: 10px 6px;
    margin-top: 6px;
    border-top: 1px dashed var(--border);
}
.sub-chip {
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 12px; font-weight: 600; font-family: var(--font);
    background: var(--white);
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all .2s ease;
}
.sub-chip:hover { border-color: var(--dark); color: var(--dark); }
.sub-chip.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.category-tabs { display: none; }
.tab-btn { display: none; }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    display: flex; flex-direction: column;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
    overflow: hidden;
    position: relative;
}
.product-card:hover {
    border-color: rgba(192,57,43,.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.product-card.out-of-stock { opacity: .72; }
/* top-left badge removed — use localized stock band instead */
.product-image {
    position: relative; height: 260px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
    padding: 14px;
}
.product-card:hover .product-image img { transform: scale(1.04); }
.product-card.out-of-stock .product-image img { filter: grayscale(25%); }
.badge-new-label {
    position: absolute; top: 8px; right: 8px;
    background: var(--primary); color: var(--white);
    padding: 3px 8px; border-radius: var(--radius-sm);
    font-size: 10px; font-weight: 800; z-index: 1;
    letter-spacing: .5px;
}

/* Stock badge overlays image (pill style bottom-left) */
.stock-badge {
    position: absolute; bottom: 8px; left: 0px; right: 0px;
    display: inline-block;
    text-align: center; padding: 6px 10px;
    font-size: 12px; font-weight: 800;
    pointer-events: none;
    box-shadow: var(--shadow-xs);
    line-height: 1;
    z-index: 3;
    transform: translateZ(0);
}
.stock-badge.out  { background: var(--primary); color: var(--white); }
.stock-badge.low  { background: rgba(214,137,16,.12); color: #b7770d; }

.product-info {
    flex: 1; display: flex; flex-direction: column;
    padding: 12px 16px 0;
    text-align: center;
}
.product-name {
    font-size: 14px; font-weight: 700; color: var(--dark);
    margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.5;
    min-height: 42px;
}
.product-rating {
    font-size: 14px; color: var(--accent);
    letter-spacing: 2px; margin-bottom: 5px;
}
.product-meta {
    display: flex; flex-direction: column;
    gap: 2px; margin-bottom: 8px;
    align-items: center;
}
.product-brand {
    font-size: 11px; font-weight: 700; color: var(--accent);
}
.product-brand {
    font-size: 11px; font-weight: 700; color: var(--accent);
}
.product-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto;
    padding: 8px 14px 13px;
    border-top: 1px solid var(--border);
    gap: 10px;
    direction: ltr;
}
.product-price, .arrival-price {
    display: inline-flex; align-items: baseline; gap: 0;
    font-size: 17px; font-weight: 800; color: var(--primary);
    line-height: 1; direction: rtl;
}
.product-price .price-amount, .arrival-price .price-amount { font-weight: 800; }
.product-price .price-currency, .arrival-price .price-currency {
    font-size: 1.125em; font-weight: 800; color: var(--text-muted);
    line-height: 1;
}
.add-to-cart-btn {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--dark);
    transition: background var(--ease), border-color var(--ease);
}
.add-to-cart-btn:hover:not(:disabled):not(.in-cart) {
    background: var(--primary); border-color: var(--primary);
    transform: scale(1.1);
}
.add-to-cart-btn.in-cart {
    background: var(--dark); border-color: var(--dark);
    color: var(--white);
}
.add-to-cart-btn.in-cart:hover { background: #15663d; border-color: #15663d; }
.add-to-cart-btn:disabled {
    background: var(--border); border-color: var(--border);
    cursor: not-allowed; color: var(--text-muted);
}

/* Loading & Empty */
.products-loading {
    grid-column: 1 / -1;
    text-align: center; padding: 72px 20px; color: var(--text-muted);
}
.spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .6s linear infinite;
    margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-products {
    grid-column: 1 / -1;
    text-align: center; padding: 72px 20px; color: var(--text-muted);
}
.empty-icon { font-size: 48px; display: block; margin-bottom: 14px; }
.reload-btn {
    margin-top: 14px;
    background: var(--primary); color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    transition: background var(--ease);
}
.reload-btn:hover { background: var(--primary-dark); }
.scroll-loading {
    grid-column: 1 / -1;
    text-align: center; padding: 28px 20px; color: var(--text-muted);
}

/* ============================================
   PRODUCT MODAL — Clean, sharp
   ============================================ */
.product-modal {
    position: fixed; inset: 0;
    background: rgba(44,24,16,.6);
    backdrop-filter: blur(6px);
    z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.product-modal.show { display: flex; }
.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 780px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalSlide .25s ease;
    border: 1px solid var(--border);
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.close-modal {
    position: absolute; top: 14px; left: 14px;
    width: 36px; height: 36px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--text-muted);
    cursor: pointer; transition: var(--ease); z-index: 2;
}
.close-modal:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-image {
    padding: 24px;
    display: flex; align-items: center;
    background: var(--surface);
    border-left: 1px solid var(--border);
}
.modal-image img {
    width: 100%; border-radius: var(--radius);
    object-fit: cover; max-height: 380px;
}
.modal-info { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.modal-info h2 { font-size: 20px; margin-bottom: 6px; color: var(--dark); line-height: 1.4; font-weight: 700; }
.modal-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.modal-badge {
    display: inline-block; padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px; font-weight: 700;
    letter-spacing: .3px;
}
.modal-badge-section { background: #fef3e0; color: #e65100; }
.modal-badge-category { background: #e8f5e9; color: #2e7d32; }
.modal-badge-subcategory { background: #e3f2fd; color: #1565c0; }
.modal-badge-new { background: #fce4ec; color: #c62828; }
.modal-desc-section {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 14px 16px; margin: 8px 0;
    border-right: 3px solid var(--primary);
}
.modal-desc-title { font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.modal-desc-section p { font-size: 13px; color: var(--dark-sec); line-height: 1.8; margin: 0; white-space: pre-wrap; }
.modal-details { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 6px 0; }
.modal-detail-item {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 10px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-size: 12px;
}
.modal-detail-icon { font-size: 14px; flex-shrink: 0; }
.modal-detail-label { color: var(--text-muted); font-size: 10px; }
.modal-detail-value { font-weight: 700; color: var(--dark); }
.modal-price-section { margin: 12px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.modal-price { font-size: 26px; font-weight: 800; color: var(--primary); }
.modal-stock { font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: var(--radius-sm); }
.modal-stock.in-stock { background: #e8f5e9; color: #2e7d32; }
.modal-stock.out-of-stock { background: #fce4ec; color: #c62828; }
.modal-actions { display: flex; gap: 8px; margin-top: 6px; }
.modal-add-btn {
    flex: 1;
    background: var(--dark);
    color: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    transition: background var(--ease);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.modal-add-btn:hover { background: var(--primary); }
.modal-whatsapp-btn { display: none; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 180;
    display: flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    box-shadow: 0 6px 24px rgba(37,211,102,.3);
    transition: all .25s ease;
}
.whatsapp-float:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(37,211,102,.4);
}
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-float-text { white-space: nowrap; }

/* ============================================
   CART SIDEBAR — Clean panel
   ============================================ */
.cart-sidebar {
    position: fixed; inset: 0;
    z-index: 150;
    pointer-events: none;
    background: transparent;
    transition: background .3s;
}
.cart-sidebar.open {
    pointer-events: auto;
    background: rgba(44,24,16,.5);
}
.cart-panel {
    position: absolute; top: 0; left: 0;
    width: 400px; max-width: 92vw;
    height: 100%; background: var(--white);
    display: flex; flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    box-shadow: 6px 0 32px rgba(0,0,0,.08);
    z-index: 1;
    border-left: 3px solid var(--primary);
}
.cart-sidebar.open .cart-panel { transform: translateX(0); }
.cart-header {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-shrink: 0;
}
.cart-header h2 { font-size: 18px; color: var(--dark); font-weight: 700; }
.close-cart-btn {
    width: 34px; height: 34px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 14px; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: var(--ease);
}
.close-cart-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.cart-content { flex: 1; overflow-y: auto; padding: 18px 22px; }
.empty-cart { text-align: center; padding: 56px 0; }
.empty-cart .empty-icon { font-size: 48px; display: block; margin-bottom: 14px; }
.empty-cart p { font-size: 15px; color: var(--text-muted); }
.cart-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex; align-items: flex-start; gap: 12px;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
    width: 60px; height: 60px;
    object-fit: cover; border-radius: var(--radius);
    flex-shrink: 0; border: 1px solid var(--border);
    background: var(--surface);
}
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 13px; color: var(--dark); margin-bottom: 3px; font-weight: 700; line-height: 1.4; }
.cart-item-info p { font-size: 13px; color: var(--primary); font-weight: 700; }
.cart-item-quantity {
    display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.qty-btn {
    width: 30px; height: 30px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 14px; font-weight: 700; color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: var(--ease);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-item-quantity span { font-size: 14px; font-weight: 700; min-width: 24px; text-align: center; }
.remove-item-btn {
    margin-right: auto;
    background: none; color: var(--primary);
    font-size: 12px; font-weight: 600;
    transition: var(--ease);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.remove-item-btn:hover { color: var(--primary-dark); }

/* Out-of-stock cart items */
.cart-item.oos { opacity: .85; }
.cart-item.oos .cart-item-img { filter: grayscale(30%); }
.cart-oos-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: #fce4ec; color: #c62828;
    font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 20px;
    margin-top: 4px;
}
.cart-oos-warning {
    background: #fff3e0; border: 1.5px solid #ffb300;
    border-radius: 10px; padding: 10px 14px;
    font-size: 12px; font-weight: 700; color: #e65100;
    margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.cart-remove-oos-btn {
    background: #c62828; color: #fff;
    border-radius: 8px; padding: 5px 12px;
    font-size: 12px; font-weight: 700;
    transition: .15s; white-space: nowrap;
}
.cart-remove-oos-btn:hover { background: #a81e21; }
.cart-footer {
    padding: 20px 22px;
    border-top: 2px solid var(--dark);
    background: var(--surface);
    flex-shrink: 0;
}
.cart-total {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 18px; font-weight: 800; color: var(--dark);
    margin-bottom: 14px;
}
.checkout-btn {
    width: 100%;
    background: var(--primary); color: var(--white);
    padding: 13px; border-radius: var(--radius);
    font-size: 15px; font-weight: 700;
    transition: background var(--ease);
}
.checkout-btn:hover { background: var(--primary-dark); }

/* ============================================
   CHECKOUT MODAL
   ============================================ */
.checkout-modal {
    position: fixed; inset: 0;
    background: rgba(44,24,16,.6);
    backdrop-filter: blur(6px);
    z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.checkout-modal.open { display: flex; }
.checkout-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlide .25s ease;
    border: 1px solid var(--border);
}
.checkout-header {
    padding: 22px 24px;
    border-bottom: 2px solid var(--dark);
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0;
    background: var(--white); z-index: 2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.checkout-header h2 { font-size: 18px; color: var(--dark); font-weight: 700; }
.close-checkout-btn {
    width: 34px; height: 34px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 14px; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: var(--ease);
}
.close-checkout-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.checkout-form { padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 12px; font-weight: 700;
    color: var(--dark); margin-bottom: 6px;
    letter-spacing: .3px;
}
.required { color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px; font-family: var(--font);
    background: var(--white); color: var(--text);
    transition: border-color var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary); outline: none;
}
.form-group textarea { resize: none; min-height: 72px; }

/* Searchable Dropdown */
.searchable-dropdown { position: relative; }
.sd-display {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px; font-family: var(--font);
    background: var(--white); color: #aaa;
    cursor: pointer; transition: border-color var(--ease);
    user-select: none;
}
.sd-display.has-value { color: var(--text); }
.sd-display:hover { border-color: var(--dark); }
.sd-arrow { font-size: 11px; color: #bbb; }
.sd-options-panel {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    margin-top: 4px;
    box-shadow: var(--shadow-md);
    z-index: 100; display: none;
    max-height: 240px; overflow: hidden;
    flex-direction: column;
}
.sd-options-panel.open { display: flex; }
.sd-search {
    width: 100%; padding: 10px 14px;
    border: none; border-bottom: 1px solid var(--border);
    font-size: 13px; font-family: var(--font);
    outline: none; background: var(--surface); color: var(--text);
}
.sd-search:focus { border-bottom-color: var(--primary); }
.sd-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-height: 190px; }
.sd-option {
    padding: 10px 14px; font-size: 13px;
    cursor: pointer; transition: background .15s; color: var(--text);
}
.sd-option:hover { background: var(--surface); }
.sd-option.selected { background: var(--primary); color: var(--white); font-weight: 600; }
.sd-empty { padding: 14px; color: var(--text-muted); font-size: 13px; text-align: center; }

.field-error { border-color: var(--primary) !important; }
.error-box {
    background: rgba(192,57,43,.04);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 16px; margin-bottom: 18px;
}
.error-header { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.error-header h3 { font-size: 14px; color: var(--primary); }
.error-icon { font-size: 18px; }
.error-list { list-style: none; padding: 0; }
.error-list li { font-size: 13px; color: var(--primary); padding: 2px 0; padding-right: 14px; position: relative; }
.error-list li::before { content: '\2022'; position: absolute; right: 0; color: var(--primary); }
.payment-info {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px; margin-bottom: 18px;
    border: 1px solid var(--border);
}
.payment-method { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.payment-icon { font-size: 20px; }
.checkout-summary {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px; margin-bottom: 20px;
    border: 1px solid var(--border);
}
.summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total { font-weight: 800; font-size: 15px; color: var(--dark); }
.delivery-row span:last-child { color: var(--primary); font-weight: 700; }
.total-amount { font-size: 20px; font-weight: 800; color: var(--primary); }
.delivery-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 6px; }
.submit-order-btn {
    width: 100%;
    background: var(--primary); color: var(--white);
    padding: 14px;
    border-radius: var(--radius);
    font-size: 16px; font-weight: 700;
    transition: background var(--ease);
}
.submit-order-btn:hover:not(:disabled) { background: var(--primary-dark); }
.submit-order-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ============================================
   FOOTER — Compact, dark
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.75);
    padding: 56px 0 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-section h3, .footer-section h4 {
    color: var(--white);
    font-size: 16px; margin-bottom: 14px; letter-spacing: -.2px;
}
.footer-section p { font-size: 14px; margin-bottom: 6px; line-height: 1.65; }
.footer-rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.footer-rating .stars { font-size: 16px; }
.footer-address, .footer-note { font-size: 13px !important; color: rgba(255,255,255,.35) !important; }
.footer-bottom {
    text-align: center; padding: 20px 0;
    font-size: 13px; color: rgba(255,255,255,.3);
}
.footer-version {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255,255,255,.15);
    letter-spacing: .8px;
    font-family: monospace;
}

/* ============================================
   RESPONSIVE — TABLET (<=968px)
   ============================================ */
@media (max-width: 968px) {
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }

    /* ── Animated background circles ── */
    .nav.mobile-open .drawer-bg {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
        overflow: hidden;
        z-index: 0;
    }
    .nav.mobile-open .dc {
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }
    /* Circle 1 — big gold top-right */
    .nav.mobile-open .dc1 {
        width: 220px; height: 220px;
        background: radial-gradient(circle, rgba(212,162,78,.18) 0%, transparent 70%);
        top: -60px; right: -60px;
        filter: blur(24px);
        animation: dcFloat1 5s ease-in-out infinite;
    }
    /* Circle 2 — medium red mid-left */
    .nav.mobile-open .dc2 {
        width: 160px; height: 160px;
        background: radial-gradient(circle, rgba(192,57,43,.22) 0%, transparent 70%);
        top: 38%; left: -40px;
        filter: blur(20px);
        animation: dcFloat2 6s ease-in-out infinite;
    }
    /* Circle 3 — small white bottom-right */
    .nav.mobile-open .dc3 {
        width: 110px; height: 110px;
        background: radial-gradient(circle, rgba(255,255,255,.09) 0%, transparent 70%);
        bottom: 80px; right: 20px;
        filter: blur(16px);
        animation: dcFloat3 4s ease-in-out infinite;
    }
    @keyframes dcFloat1 {
        0%,100% { transform: translate(0,0) scale(1); }
        40%      { transform: translate(-14px, 18px) scale(1.07); }
        70%      { transform: translate(10px, -10px) scale(.94); }
    }
    @keyframes dcFloat2 {
        0%,100% { transform: translate(0,0) scale(1); }
        35%      { transform: translate(18px, -12px) scale(1.05); }
        65%      { transform: translate(-8px, 16px) scale(.96); }
    }
    @keyframes dcFloat3 {
        0%,100% { transform: translate(0,0) scale(1); }
        50%      { transform: translate(-12px, -18px) scale(1.1); }
    }
    /* Make sure nav links sit above circles */
    .nav.mobile-open .nav-link { position: relative; z-index: 1; }

    /* ── Drawer logo header (white bg) — only visible when drawer is open ── */
    .nav.mobile-open .nav-drawer-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 22px;
        background: #fff;
        border-bottom: 3px solid var(--primary);
        flex-shrink: 0;
        direction: rtl;
        position: relative;
        z-index: 1;
    }
    .nav.mobile-open .nav-drawer-header img {
        height: 46px;
        width: auto;
        object-fit: contain;
        flex-shrink: 0;
    }
    .nav.mobile-open .nav-drawer-header span {
        font-size: 15px;
        font-weight: 800;
        color: var(--dark);
        letter-spacing: -.2px;
    }

    /* ── Right-side Drawer ── */
    .nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; right: 0;
        width: min(300px, 82vw);
        height: 100dvh;
        background: #1a0b06;
        z-index: 199;
        gap: 0;
        padding: 0;
        overflow-y: auto;
        box-shadow: -12px 0 48px rgba(0,0,0,.7);
        animation: drawerIn .3s cubic-bezier(.22,.68,0,1);
    }
    @keyframes drawerIn {
        from { transform: translateX(100%); opacity: .5; }
        to   { transform: translateX(0);    opacity: 1; }
    }

    /* Remove old ::before pseudo header */
    .nav.mobile-open::before { display: none; content: none; }

    /* Nav links */
    .nav.mobile-open .nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 15px 24px;
        font-size: 15px;
        font-weight: 700;
        color: rgba(255,255,255,.65);
        border-bottom: 1px solid rgba(255,255,255,.06);
        border-right: 4px solid transparent;
        letter-spacing: .1px;
        transition: all .18s ease;
        text-align: right;
        direction: rtl;
        border-radius: 0;
        background: none;
    }
    .nav.mobile-open .nav-link:last-child { border-bottom: none; }
    .nav.mobile-open .nav-link:active {
        background: rgba(255,255,255,.05);
    }
    .nav.mobile-open .nav-link::after { display: none; }
    .nav.mobile-open .nav-link.active {
        color: var(--accent-light);
        border-right-color: var(--primary);
        background: linear-gradient(to left, rgba(192,57,43,.18), transparent);
        font-weight: 800;
    }

    .hero { min-height: auto; }
    .hero .container { min-height: auto; text-align: center; padding: 0 24px; }
    .hero-content { text-align: center; padding: 48px 24px; max-width: none; margin: 0; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .hero-description { max-width: none; }
    .hero-rating, .hero-buttons, .hero-features { justify-content: center; }

    .about-content { grid-template-columns: 1fr; gap: 32px; }
    .about-text .section-title { text-align: center; }
    .about-text .section-title::after { margin: 10px auto 0; }

    .footer-content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-section { max-width: 90%; margin: 0 auto; }
    .footer-rating { justify-content: center; }

    .arrivals-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .modal-body { grid-template-columns: 1fr; }
    .modal-image { padding: 20px; border-left: none; border-bottom: 1px solid var(--border); }
    .modal-image img { max-height: 260px; }
    .modal-info { padding: 20px 18px; }
    .modal-actions { flex-direction: column; }

    .whatsapp-float { padding: 10px 14px; font-size: 12px; bottom: 18px; right: 18px; }
    .whatsapp-float svg { width: 20px; height: 20px; }
}

/* ============================================
   RESPONSIVE — MOBILE (<=640px)
   ============================================ */
@media (max-width: 640px) {
    :root { --header-h: 56px; }
    .container { padding: 0 16px; }

    .logo-image { height: 34px; }
    .logo-text { font-size: 13px; }
    .cart-btn { padding: 7px 12px; font-size: 12px; height: 34px; }
    .cart-icon { font-size: 13px; }
    .cart-count { width: 18px; height: 18px; font-size: 9px; }

    .hero-content { padding: 32px 16px; }
    .hero-title { font-size: 32px; margin-bottom: 10px; }
    .hero-subtitle { font-size: 16px; }
    .hero-description { font-size: 14px; margin-bottom: 24px; }
    .hero-rating { align-self: center; }
    .hero-image { display: none; }
    .hero-buttons { flex-direction: row; width: 100%; }
    .hero-btn { text-align: center; padding: 12px; font-size: 14px; }
    .hero-btn.primary { flex: 1.2; }
    .hero-btn.secondary { flex: 1; }
    .hero-features { gap: 16px; }
    .feature-item { font-size: 12px; }

    .section-header { margin-bottom: 32px; }
    .section-title { font-size: 22px; }
    .section-subtitle { font-size: 13px; }

    .page-header { padding: 8px 0 6px; }
    .page-header h1 { font-size: 22px; }
    .page-header p { font-size: 13px; }

    .new-arrivals-tabs-section { padding: 48px 0; }
    .about-section { padding: 48px 0; }

    .arrivals-tabs { border-radius: var(--radius); }
    .arrivals-tab { padding: 8px 14px; font-size: 11px; gap: 4px; }
    .tab-icon { font-size: 14px; }
    .tab-label { font-size: 11px; }

    .arrivals-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .arrival-img-wrap img { height: 140px; padding: 10px; }
    .arrival-item h3 { font-size: 12px; min-height: 36px; }
    .arrival-item .arrival-price { font-size: 14px; }
    .arrival-view-btn { width: 36px; height: 36px; font-size: 15px; }
    .view-all-link { font-size: 13px; }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-image { height: 130px; }
    .product-image img { padding: 8px; }
    .product-info { padding: 10px 12px 0; }
    .product-image { height: 160px; }
    .product-name { font-size: 12px; min-height: 36px; margin-bottom: 4px; }
    .product-price { font-size: 14px; }
    .add-to-cart-btn { font-size: 12px; min-height: 40px; }

    .filter-toolbar-row { flex-direction: row; flex-wrap: nowrap; gap: 8px; }
    .search-bar { flex: 1; min-width: 0; }
    .search-bar input { height: 40px; font-size: 13px; padding: 0 38px 0 14px; }
    .search-bar::before { font-size: 12px; right: 12px; }
    .sort-wrap select { min-width: 110px; height: 40px; padding: 0 8px; font-size: 12px; }
    .category-row { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; justify-content: flex-start; scrollbar-width: none; }
    .category-row::-webkit-scrollbar { display: none; }
    .cat-chip { padding: 6px 12px; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
    .subcategory-row { gap: 4px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .subcategory-row::-webkit-scrollbar { display: none; }
    .sub-chip { padding: 5px 10px; font-size: 10px; white-space: nowrap; flex-shrink: 0; }

    .about-highlight { font-size: 14px; padding: 14px 16px; }
    .info-card { padding: 22px; border-radius: var(--radius); }
    .info-icon { font-size: 28px; width: 48px; height: 48px; }
    .info-card h3 { font-size: 14px; }
    .info-value { font-size: 16px; }

    .cart-panel { width: 100%; max-width: 100%; border-left: none; border-top: 3px solid var(--primary); }
    .cart-header h2 { font-size: 16px; }
    .cart-item-img { width: 52px; height: 52px; }
    .cart-item-info h4 { font-size: 12px; }
    .cart-item-info p { font-size: 12px; }
    .qty-btn { width: 28px; height: 28px; font-size: 12px; }
    .cart-item-quantity span { font-size: 13px; }

    .checkout-content { max-width: 100%; margin: 0; border-radius: var(--radius); }
    .checkout-form { padding: 18px; }
    .form-row { grid-template-columns: 1fr; }
    .checkout-header { padding: 18px; }

    .footer { padding: 40px 0 0; }
    .footer-content { gap: 24px; }
    .footer-section h3, .footer-section h4 { font-size: 15px; }
    .footer-section p { font-size: 13px; }
    .footer-bottom { padding: 16px 0; font-size: 12px; }

    .search-bar input { padding: 10px 14px; font-size: 13px; }
}

/* ============================================
   RESPONSIVE — EXTRA SMALL (<=380px)
   ============================================ */
@media (max-width: 380px) {
    .logo-text { display: none; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 14px; }
    .section-title { font-size: 20px; }
    .product-name { font-size: 11px; }
    .product-price { font-size: 13px; }
    .add-to-cart-btn { font-size: 11px; min-height: 38px; }
    .arrivals-tab { padding: 7px 10px; }
    .arrivals-grid { grid-template-columns: 1fr; }
    .whatsapp-float-text { display: none; }
    .whatsapp-float { padding: 10px; border-radius: 50%; }
    .whatsapp-float svg { width: 20px; height: 20px; }
    .modal-details { grid-template-columns: 1fr; }
}

/* — Reduced Motion — */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
