/* ============================================================================
   RAQI | راقي للساعات والإكسسوارات — V4 Editorial Horology Theme
   Inspired by Baltic Watches • Midnight Emerald & Champagne Gold
   - No Top Announcement Bar (Navbar flush at top: 0)
   - Enlarged Animated SVG Lume Dial (380px–440px Desktop / 260px–300px Mobile)
   - Luxury Product Cards (#0f2017, 1:1 Square Watch Showcase, Full-Width CTA)
   - 100% Mobile Responsive (<=768px, <=480px, <=360px) with Zero Horizontal Scroll
   ============================================================================ */

:root {
    --bg-night: #0b1912;
    --bg-emerald: #13281d;
    --bg-card: #0f2017;
    --bg-card-hover: #142b1f;
    --bg-surface: #102319;
    --bg-input: #0d1d15;

    --gold: #c5a059;
    --gold-bright: #e3c582;
    --gold-muted: rgba(197, 160, 89, 0.72);
    --gold-soft: rgba(197, 160, 89, 0.12);
    --border-card: rgba(197, 160, 89, 0.2);
    --border-hairline: rgba(197, 160, 89, 0.22);
    --border-strong: rgba(197, 160, 89, 0.48);

    --ivory: #f6f4ee;
    --ivory-muted: rgba(246, 244, 238, 0.74);
    --ivory-faint: rgba(246, 244, 238, 0.5);

    --danger: #e27878;
    --danger-bg: rgba(163, 46, 46, 0.2);
    --success: #7fd4a4;
    --success-bg: rgba(33, 108, 69, 0.24);
    --warning: #e3c582;
    --warning-bg: rgba(197, 160, 89, 0.16);

    /* Alias compatibility for inline styles in JS */
    --primary: #c5a059;
    --slate: rgba(246, 244, 238, 0.68);
    --ink: #f6f4ee;

    --radius-xs: 2px;
    --radius-sm: 3px;
    --radius-md: 4px;

    --font-sans: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic-serif: 'Amiri', Georgia, serif;
    --font-latin-serif: 'Cormorant Garamond', Georgia, serif;

    --container-max: 1280px;
    --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-night);
    color: var(--ivory);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================================
   1. HEADER / NAVBAR (FLUSH AT TOP: 0 WITH ZERO TOP OFFSET)
   ============================================================================ */

.site-header {
    background-color: var(--bg-emerald);
    border-bottom: 1px solid var(--border-hairline);
    color: var(--ivory);
    position: relative;
    z-index: 35;
    width: 100%;
}

.site-header--transparent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(11, 25, 18, 0.9) 0%, rgba(11, 25, 18, 0.35) 75%, rgba(11, 25, 18, 0) 100%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.14);
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 16px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 1;
}

.brand-monogram {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background-color: rgba(19, 40, 29, 0.8);
    display: grid;
    place-items: center;
    font-family: var(--font-latin-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 3px rgba(11, 25, 18, 0.65);
}

.brand-titles {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.brand-name-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.brand-ar {
    font-family: var(--font-arabic-serif);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--ivory);
}

.brand-divider {
    color: var(--gold);
    font-weight: 300;
    opacity: 0.7;
}

.brand-en {
    font-family: var(--font-latin-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--gold-bright);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--ivory-muted);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ivory-muted);
    padding: 4px 0;
    position: relative;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--gold-bright);
    transition: width 0.3s var(--ease-editorial);
}

.header-nav-link:hover {
    color: var(--gold-bright);
}

.header-nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-badge {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gold-bright);
    border: 1px solid var(--border-strong);
    background-color: rgba(15, 32, 23, 0.55);
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-badge:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--bg-night);
}

/* ============================================================================
   2. FULL-SCREEN ANIMATED SVG LUME DIAL HERO (ENLARGED 380px–440px DESKTOP)
   ============================================================================ */

.hero-horology {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 38%, rgba(28, 64, 45, 0.78) 0%, rgba(19, 40, 29, 0.88) 40%, #0b1912 80%);
    border-bottom: 1px solid var(--border-hairline);
    overflow: hidden;
    padding: 108px 0 64px;
}

.hero-horology::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(197, 160, 89, 0.12);
    pointer-events: none;
}

.hero-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

/* Prominent Enlarged Watch Dial: 380px–440px on large screens */
.hero-dial-wrap {
    position: relative;
    width: clamp(380px, 31vw, 440px);
    max-width: 82vw;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.dial-ambient-glow {
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(227, 197, 130, 0.24) 0%,
        rgba(197, 160, 89, 0.09) 44%,
        rgba(11, 25, 18, 0) 72%
    );
    animation: dialBreath 5.5s ease-in-out infinite;
    pointer-events: none;
}

.lume-dial-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 34px rgba(197, 160, 89, 0.2));
}

.dial-minute-tick {
    stroke: rgba(197, 160, 89, 0.38);
    stroke-width: 1;
    stroke-linecap: round;
}

.lume-hour-mark {
    stroke: #e3c582;
    stroke-width: 2.6;
    stroke-linecap: round;
    animation: lumePulse 4.8s ease-in-out infinite;
}

.lume-index {
    fill: #f6f4ee;
    stroke: #c5a059;
    stroke-width: 0.7;
    animation: lumePulse 4.8s ease-in-out infinite;
}

.dial-orbit-ring {
    transform-origin: 200px 200px;
    animation: slowOrbit 90s linear infinite;
}

.watch-hand-hour {
    transform-origin: 200px 200px;
    transform: rotate(-58deg);
}

.watch-hand-minute {
    transform-origin: 200px 200px;
    transform: rotate(62deg);
}

.watch-hand-second {
    transform-origin: 200px 200px;
    animation: sweepSecond 60s linear infinite;
}

.subdial-hand {
    transform-origin: 200px 264px;
    animation: sweepSecond 15s linear infinite;
}

@keyframes sweepSecond {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slowOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes dialBreath {
    0%, 100% { opacity: 0.72; transform: scale(0.97); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes lumePulse {
    0%, 100% { opacity: 0.84; }
    50% { opacity: 1; }
}

.hero-copy {
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-latin-serif);
    font-size: clamp(0.76rem, 1.4vw, 0.94rem);
    letter-spacing: 0.28em;
    color: var(--gold-bright);
    margin-bottom: 12px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background-color: var(--border-strong);
}

.hero-title {
    font-family: var(--font-arabic-serif);
    font-size: clamp(1.85rem, 4.4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.28;
    color: var(--ivory);
    margin-bottom: 14px;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(0.92rem, 1.6vw, 1.04rem);
    color: var(--ivory-muted);
    max-width: 560px;
    margin-bottom: 28px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-editorial-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--gold-bright);
    letter-spacing: 0.04em;
    border-bottom: 1.5px solid var(--gold);
    transition: color 0.25s ease, border-color 0.25s ease, gap 0.3s var(--ease-editorial);
}

.hero-editorial-cta:hover {
    color: var(--ivory);
    border-bottom-color: var(--gold-bright);
    gap: 14px;
}

.cta-arrow {
    width: 17px;
    height: 17px;
}

/* ============================================================================
   3. STICKY FILTER & SEARCH BAR
   ============================================================================ */

.catalog-controls {
    background-color: rgba(11, 25, 18, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-hairline);
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
}

.controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    flex-wrap: wrap;
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    background: transparent;
    border: 1px solid transparent;
    border-bottom: 1.5px solid transparent;
    padding: 9px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ivory-muted);
    cursor: pointer;
    white-space: nowrap;
    border-radius: var(--radius-xs);
    flex-shrink: 0;
    transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.cat-tab:hover {
    color: var(--gold-bright);
    background-color: rgba(197, 160, 89, 0.06);
}

.cat-tab.active {
    color: var(--gold-bright);
    font-weight: 700;
    border-bottom-color: var(--gold);
    background-color: rgba(197, 160, 89, 0.1);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.search-input {
    width: 100%;
    min-height: 42px;
    padding: 9px 40px 9px 14px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--ivory);
    transition: border-color 0.22s ease, background-color 0.22s ease;
}

.search-input::placeholder {
    color: var(--ivory-faint);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--bg-card-hover);
}

.search-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

/* ============================================================================
   4. LUXURY PRODUCT CATALOG & WATCH CARDS (#0f2017, 1:1 SQUARE, FULL-WIDTH CTA)
   ============================================================================ */

.catalog-section {
    padding: 56px 0 76px;
    flex: 1;
    background-color: var(--bg-night);
    width: 100%;
}

.catalog-meta-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-hairline);
}

.catalog-eyebrow {
    display: block;
    font-family: var(--font-latin-serif);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    color: var(--gold);
    margin-bottom: 4px;
}

.catalog-heading {
    font-family: var(--font-arabic-serif);
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--ivory);
    line-height: 1.2;
}

.catalog-count {
    font-size: 0.88rem;
    color: var(--ivory-muted);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition:
        border-color 0.35s var(--ease-editorial),
        transform 0.35s var(--ease-editorial),
        box-shadow 0.35s var(--ease-editorial),
        background-color 0.35s var(--ease-editorial);
}

.product-card:hover {
    border-color: rgba(227, 197, 130, 0.72);
    background-color: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(197, 160, 89, 0.24);
}

.product-card.is-sold-out {
    cursor: not-allowed;
    opacity: 0.65;
}

.product-card.is-sold-out:hover {
    border-color: var(--border-card);
    background-color: var(--bg-card);
    transform: none;
    box-shadow: none;
}

/* Crisp 1:1 Square Watch Image Showcase */
.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    background-color: #09150f;
    overflow: hidden;
    border-bottom: 1px solid var(--border-card);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease-editorial);
}

.product-card:not(.is-sold-out):hover .product-media img {
    transform: scale(1.07);
}

.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-xs);
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.badge-category {
    background-color: rgba(11, 25, 18, 0.86);
    backdrop-filter: blur(4px);
    color: var(--gold-bright);
    border-color: rgba(197, 160, 89, 0.42);
}

.badge-available {
    background-color: rgba(15, 32, 23, 0.88);
    color: var(--ivory);
    border-color: rgba(246, 244, 238, 0.2);
}

.badge-soldout {
    background-color: rgba(130, 36, 36, 0.92);
    color: var(--ivory);
    border-color: rgba(226, 120, 120, 0.4);
}

.badge-gold {
    background-color: var(--gold-soft);
    color: var(--gold-bright);
    border-color: var(--border-strong);
}

.badge-cod {
    background-color: rgba(246, 244, 238, 0.08);
    color: var(--ivory);
    border-color: var(--border-hairline);
}

.product-body {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.product-title {
    font-family: var(--font-arabic-serif);
    font-size: 1.24rem;
    font-weight: 700;
    color: var(--ivory);
    line-height: 1.35;
    transition: color 0.25s ease;
}

.product-card:not(.is-sold-out):hover .product-title {
    color: var(--gold-bright);
}

.product-desc-preview {
    font-size: 0.84rem;
    color: var(--ivory-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.product-variants-hint {
    font-size: 0.77rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Stacked Editorial Footer: Prominent Gold Price + Full-Width Modern Button */
.product-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-card);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
}

.product-price {
    font-size: 1.24rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 0.01em;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.product-price small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
}

.card-cta-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold-bright);
    background-color: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.42);
    border-radius: var(--radius-xs);
    text-align: center;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.product-card:not(.is-sold-out):hover .card-cta-label {
    background-color: var(--gold);
    border-color: var(--gold-bright);
    color: var(--bg-night);
}

.product-card.is-sold-out .card-cta-label {
    background-color: rgba(246, 244, 238, 0.04);
    border-color: rgba(246, 244, 238, 0.14);
    color: var(--ivory-faint);
}

/* ============================================================================
   5. EDITORIAL BRAND PILLARS & FOOTER
   ============================================================================ */

.editorial-pillars {
    background-color: var(--bg-emerald);
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
    padding: 52px 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.pillar-item {
    padding: 8px 18px;
    border-right: 1px solid var(--border-hairline);
}

.pillar-item:first-child {
    border-right: none;
    padding-right: 0;
}

.pillar-num {
    font-family: var(--font-latin-serif);
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.16em;
    display: block;
    margin-bottom: 6px;
}

.pillar-item h3 {
    font-family: var(--font-arabic-serif);
    font-size: 1.3rem;
    color: var(--ivory);
    margin-bottom: 6px;
}

.pillar-item p {
    font-size: 0.88rem;
    color: var(--ivory-muted);
}

.site-footer {
    background-color: #07110c;
    color: var(--ivory-muted);
    padding: 36px 0 30px;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-family: var(--font-arabic-serif);
    font-size: 1.25rem;
    color: var(--ivory);
}

.footer-brand span {
    font-family: var(--font-latin-serif);
    color: var(--gold-bright);
    letter-spacing: 0.22em;
    margin-right: 8px;
}

.footer-meta {
    font-size: 0.84rem;
    color: var(--ivory-faint);
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xs);
    color: var(--gold-bright);
    background-color: rgba(19, 40, 29, 0.55);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-icon-link:hover {
    background-color: var(--gold);
    border-color: var(--gold-bright);
    color: var(--bg-night);
    transform: translateY(-2px);
}

.social-line-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================================================
   6. BUTTONS & FORM CONTROLS
   ============================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-night);
    border-color: var(--gold);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--gold-bright);
    border-color: var(--gold-bright);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--bg-night);
    border-color: var(--gold);
}

.btn-gold:hover:not(:disabled) {
    background-color: var(--gold-bright);
    border-color: var(--gold-bright);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold-bright);
    border-color: var(--border-strong);
}

.btn-outline:hover:not(:disabled) {
    border-color: var(--gold-bright);
    background-color: var(--gold-soft);
}

.btn-instagram {
    background-color: transparent;
    color: var(--gold-bright);
    border: 1px solid var(--gold);
}

.btn-instagram:hover:not(:disabled) {
    background-color: rgba(197, 160, 89, 0.16);
    border-color: var(--gold-bright);
    color: var(--ivory);
}

.btn-danger-outline {
    background-color: transparent;
    color: var(--danger);
    border-color: rgba(226, 120, 120, 0.4);
}

.btn-danger-outline:hover:not(:disabled) {
    background-color: var(--danger-bg);
    border-color: var(--danger);
}

.btn-sm {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.82rem;
}

.btn-full {
    width: 100%;
}

.btn-cta-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.checkout-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkout-cta-group .btn {
    white-space: normal;
    line-height: 1.35;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ivory);
}

.form-label .req {
    color: var(--gold-bright);
}

.form-control {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    color: var(--ivory);
    transition: border-color 0.22s ease, background-color 0.22s ease;
}

.form-control::placeholder {
    color: var(--ivory-faint);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: #11251b;
}

.form-control option {
    background-color: var(--bg-emerald);
    color: var(--ivory);
}

textarea.form-control {
    resize: vertical;
    min-height: 76px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--ivory-muted);
}

/* ============================================================================
   7. PRODUCT DETAIL & ORDER MODAL
   ============================================================================ */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(5, 12, 9, 0.84);
    backdrop-filter: blur(6px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow-y: auto;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-dialog {
    background-color: var(--bg-emerald);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 980px;
    max-height: 92dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.modal-dialog-md {
    max-width: 700px;
}

.modal-header {
    padding: 15px 22px;
    background-color: var(--bg-night);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border-hairline);
    flex-shrink: 0;
}

.modal-title {
    font-family: var(--font-arabic-serif);
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--gold-bright);
}

.modal-close {
    background: transparent;
    border: 1px solid var(--border-hairline);
    color: var(--ivory);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: border-color 0.22s ease, color 0.22s ease;
}

.modal-close:hover {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.order-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.variant-stage {
    position: sticky;
    top: 0;
}

.stage-image-frame {
    aspect-ratio: 1 / 1;
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}

.stage-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.active-variant-bar {
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    border-right: 3px solid var(--gold);
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: var(--radius-xs);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.active-variant-bar span {
    font-size: 0.82rem;
    color: var(--ivory-muted);
}

.active-variant-bar strong {
    font-size: 0.94rem;
    color: var(--gold-bright);
}

.swatches-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 8px;
}

.variant-swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 8px;
}

.swatch-btn {
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xs);
    padding: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: border-color 0.22s ease, background-color 0.22s ease;
}

.swatch-btn img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1px;
}

.swatch-btn span {
    font-size: 0.72rem;
    color: var(--ivory-muted);
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

.swatch-btn.active {
    border-color: var(--gold-bright);
    background-color: var(--gold-soft);
    box-shadow: inset 0 0 0 1px var(--gold);
}

.swatch-btn.active span {
    color: var(--gold-bright);
    font-weight: 700;
}

.checkout-product-summary {
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-hairline);
}

.checkout-product-title {
    font-family: var(--font-arabic-serif);
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 6px;
}

.checkout-product-desc {
    font-size: 0.9rem;
    color: var(--ivory-muted);
    margin-bottom: 12px;
    white-space: pre-line;
}

.checkout-price-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    padding: 10px 14px;
    border-radius: var(--radius-xs);
}

.checkout-unit-price {
    font-size: 0.88rem;
    color: var(--ivory-muted);
}

.checkout-total-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-bright);
}

/* Payment Method UI */
.payment-notice-cod {
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    border-right: 3px solid var(--gold);
    padding: 11px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 16px;
}

.payment-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.payment-card {
    border: 1px solid var(--border-hairline);
    background-color: var(--bg-night);
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: border-color 0.22s ease, background-color 0.22s ease;
}

.payment-card input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--gold);
}

.payment-card.selected {
    border-color: var(--gold-bright);
    background-color: var(--gold-soft);
}

.payment-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ivory);
    display: block;
}

.payment-card-sub {
    font-size: 0.76rem;
    color: var(--ivory-muted);
    display: block;
}

.cliq-panel {
    background-color: rgba(197, 160, 89, 0.08);
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 16px;
}

.cliq-panel-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-hairline);
}

.cliq-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--border-hairline);
    font-size: 0.86rem;
}

.cliq-row:last-child {
    border-bottom: none;
}

.cliq-row-label {
    color: var(--ivory-muted);
    white-space: nowrap;
}

.cliq-row-val {
    font-weight: 700;
    color: var(--ivory);
    direction: ltr;
    text-align: left;
    word-break: break-all;
}

.copy-mini-btn {
    background-color: var(--bg-night);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    padding: 5px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: var(--radius-xs);
    cursor: pointer;
    flex-shrink: 0;
}

.copy-mini-btn:hover {
    background-color: var(--gold);
    color: var(--bg-night);
}

.turnstile-wrap {
    margin: 14px 0 16px;
    padding: 12px 10px;
    background-color: rgba(246, 244, 238, 0.96);
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    max-width: 100%;
}

.turnstile-caption {
    font-size: 0.78rem;
    color: #13281d;
    font-weight: 500;
    text-align: center;
}

.order-feedback {
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    margin-bottom: 14px;
    display: none;
}

.order-feedback.is-error {
    display: block;
    background-color: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(226, 120, 120, 0.35);
}

.order-feedback.is-success {
    display: block;
    background-color: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(127, 212, 164, 0.35);
}

/* ============================================================================
   8. LOADING, EMPTY STATES & TOASTS
   ============================================================================ */

.state-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 56px 24px;
    text-align: center;
    color: var(--ivory-muted);
}

.state-box h3 {
    font-family: var(--font-arabic-serif);
    font-size: 1.45rem;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.skeleton-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.skeleton-img {
    aspect-ratio: 1 / 1;
    background: linear-gradient(110deg, #0d1d15 8%, #173224 18%, #0d1d15 33%);
    background-size: 200% 100%;
    animation: shimmer 1.8s linear infinite;
}

.skeleton-lines {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-line {
    height: 12px;
    background-color: rgba(197, 160, 89, 0.14);
    border-radius: 2px;
}

@keyframes shimmer {
    to { background-position-x: -200%; }
}

.toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: calc(100vw - 32px);
}

.toast {
    background-color: var(--bg-emerald);
    color: var(--ivory);
    border: 1px solid var(--border-strong);
    border-right: 3px solid var(--gold-bright);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    min-width: 240px;
    max-width: 380px;
}

.toast.toast-error {
    background-color: #361414;
    border-color: rgba(226, 120, 120, 0.5);
    border-right-color: var(--danger);
}

/* ============================================================================
   9. ADMIN CMS STYLES
   ============================================================================ */

.admin-login-screen {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 50% 35%, #173324 0%, #0b1912 75%);
}

.admin-login-card {
    width: 100%;
    max-width: 440px;
    background-color: var(--bg-emerald);
    border: 1px solid var(--border-strong);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 32px 28px;
}

.admin-login-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-hairline);
}

.admin-login-header .brand-monogram {
    margin: 0 auto 12px;
}

.admin-login-header h1 {
    font-family: var(--font-arabic-serif);
    font-size: 1.65rem;
    color: var(--gold-bright);
    margin-bottom: 4px;
}

.admin-login-header p {
    font-size: 0.86rem;
    color: var(--ivory-muted);
}

.admin-shell {
    padding: 28px 0 64px;
    flex: 1;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.kpi-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
}

.kpi-label {
    font-size: 0.82rem;
    color: var(--ivory-muted);
    margin-bottom: 6px;
}

.kpi-value {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1.2;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-hairline);
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ivory-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.22s ease, border-color 0.22s ease;
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
    color: var(--gold-bright);
}

.admin-tab-btn.active {
    border-bottom-color: var(--gold);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.panel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-hairline);
    padding: 7px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ivory-muted);
    border-radius: var(--radius-xs);
    cursor: pointer;
}

.filter-btn.active {
    background-color: var(--gold);
    color: var(--bg-night);
    border-color: var(--gold);
}

.table-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.data-table th,
.data-table td {
    padding: 13px 14px;
    text-align: right;
    border-bottom: 1px solid var(--border-hairline);
    vertical-align: middle;
    font-size: 0.88rem;
}

.data-table th {
    background-color: var(--bg-night);
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
}

.data-table tbody tr:hover {
    background-color: rgba(197, 160, 89, 0.05);
}

.order-variant-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xs);
    flex-shrink: 0;
    background-color: var(--bg-night);
}

.status-select {
    padding: 7px 10px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-strong);
    font-size: 0.82rem;
    font-weight: 600;
    background-color: var(--bg-night);
    color: var(--ivory);
    cursor: pointer;
}

.status-select.status-pending {
    background-color: var(--warning-bg);
    color: var(--warning);
    border-color: rgba(197, 160, 89, 0.45);
}

.status-select.status-paid {
    background-color: var(--success-bg);
    color: var(--success);
    border-color: rgba(127, 212, 164, 0.45);
}

.status-select.status-cancelled {
    background-color: var(--danger-bg);
    color: var(--danger);
    border-color: rgba(226, 120, 120, 0.45);
}

.customer-phone-box {
    margin-top: 6px;
    padding: 7px 9px;
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    border-right: 2px solid var(--gold);
    border-radius: var(--radius-xs);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.customer-phone-num {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold-bright);
    direction: ltr;
    text-align: right;
    letter-spacing: 0.03em;
}

.customer-phone-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-wa-direct {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: var(--radius-xs);
    background-color: rgba(31, 122, 74, 0.24);
    color: #8ee0b2;
    border: 1px solid rgba(127, 212, 164, 0.42);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn-wa-direct:hover {
    background-color: #258a54;
    color: #ffffff;
    border-color: #7fd4a4;
}

.variant-editor-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-hairline);
}

.variant-row-card {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xs);
    margin-bottom: 10px;
}

.variant-row-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xs);
    background-color: var(--bg-emerald);
}

.settings-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 24px;
    max-width: 720px;
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background-color: var(--bg-night);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    gap: 16px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #213c2e;
    border: 1px solid var(--border-hairline);
    border-radius: 3px;
    transition: background-color 0.22s ease;
}

.switch-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    right: 3px;
    bottom: 3px;
    background-color: var(--ivory);
    border-radius: 2px;
    transition: transform 0.22s ease;
}

.switch input:checked + .switch-slider {
    background-color: var(--gold);
    border-color: var(--gold);
}

.switch input:checked + .switch-slider::before {
    background-color: var(--bg-night);
    transform: translateX(-22px);
}

/* ============================================================================
   10. 100% MOBILE & TABLET RESPONSIVE BREAKPOINTS
   ============================================================================ */

/* Large Tablets & Small Laptops */
@media (max-width: 1080px) {
    .hero-dial-wrap {
        width: clamp(320px, 38vw, 390px);
    }
    .product-grid,
    .skeleton-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablets & Mobile Landscape (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Clean Non-Overlapping Mobile Header */
    .header-inner {
        padding: 12px 0;
        gap: 10px;
    }
    .header-nav {
        display: none;
    }
    .brand-monogram {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }
    .brand-ar {
        font-size: 1.32rem;
    }
    .brand-en {
        font-size: 1.12rem;
        letter-spacing: 0.18em;
    }
    .brand-tagline {
        font-size: 0.7rem;
    }
    .header-badge {
        font-size: 0.78rem;
        padding: 7px 12px;
    }

    /* Mobile Hero & Prominent 260px–300px Watch Dial */
    .hero-horology {
        min-height: 100svh;
        padding: 92px 0 48px;
    }
    .hero-horology::before {
        inset: 12px;
    }
    .hero-stage {
        gap: 24px;
    }
    .hero-dial-wrap {
        width: clamp(260px, 68vw, 300px);
    }
    .hero-title {
        font-size: clamp(1.75rem, 6.2vw, 2.35rem);
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 0.94rem;
        margin-bottom: 22px;
    }

    /* Sticky Controls: Stack Cleanly & Touch-Friendly */
    .controls-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 0;
    }
    .category-tabs {
        padding-bottom: 4px;
    }
    .cat-tab {
        padding: 9px 14px;
        font-size: 0.9rem;
    }
    .search-box {
        max-width: 100%;
    }
    .search-input {
        min-height: 44px;
        font-size: 0.95rem;
    }

    /* Catalog & 2-Column Mobile Watch Grid */
    .catalog-section {
        padding: 36px 0 56px;
    }
    .catalog-meta-bar {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    .product-grid,
    .skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .product-body {
        padding: 14px 12px 12px;
        gap: 6px;
    }
    .product-title {
        font-size: 1.06rem;
    }
    .product-desc-preview {
        font-size: 0.8rem;
        min-height: 2.4em;
    }
    .product-price {
        font-size: 1.08rem;
    }
    .card-cta-label {
        font-size: 0.8rem;
        min-height: 38px;
        padding: 8px 8px;
    }

    /* Modals Adapted to Mobile */
    .modal-backdrop {
        padding: 10px;
        align-items: flex-end;
    }
    .modal-dialog {
        max-height: 94dvh;
        border-radius: var(--radius-md);
    }
    .modal-header {
        padding: 14px 16px;
    }
    .modal-body {
        padding: 16px;
    }
    .order-modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .variant-stage {
        position: static;
    }
    .checkout-cta-group {
        grid-template-columns: 1fr;
    }

    /* Pillars & Footer */
    .editorial-pillars {
        padding: 36px 0;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .pillar-item {
        border-right: none;
        border-top: 1px solid var(--border-hairline);
        padding: 16px 0 0;
    }
    .pillar-item:first-child {
        border-top: none;
        padding-top: 0;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Mobile Portrait (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header-inner {
        padding: 11px 0;
        gap: 8px;
    }
    .brand-lockup {
        gap: 9px;
    }
    .brand-monogram {
        width: 32px;
        height: 32px;
        font-size: 1.05rem;
    }
    .brand-ar {
        font-size: 1.18rem;
    }
    .brand-en {
        font-size: 1rem;
        letter-spacing: 0.14em;
    }
    .brand-tagline {
        display: none;
    }
    .header-badge {
        font-size: 0.74rem;
        padding: 6px 10px;
    }

    .hero-horology {
        padding: 84px 0 42px;
    }
    .hero-horology::before {
        inset: 8px;
    }
    .hero-dial-wrap {
        width: clamp(260px, 74vw, 290px);
    }
    .hero-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.2em;
        gap: 8px;
    }
    .hero-eyebrow::before,
    .hero-eyebrow::after {
        width: 18px;
    }
    .hero-title {
        font-size: clamp(1.6rem, 7.2vw, 2.05rem);
    }
    .hero-subtitle {
        font-size: 0.88rem;
    }

    /* Balanced 2-Column Mobile Grid */
    .product-grid,
    .skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .product-badges {
        top: 7px;
        right: 7px;
        left: 7px;
    }
    .badge {
        font-size: 0.66rem;
        padding: 2px 6px;
    }
    .product-body {
        padding: 11px 10px 10px;
        gap: 5px;
    }
    .product-title {
        font-size: 0.96rem;
        line-height: 1.3;
    }
    .product-desc-preview {
        display: none;
    }
    .product-variants-hint {
        font-size: 0.72rem;
    }
    .product-footer {
        padding-top: 9px;
        gap: 8px;
    }
    .product-price {
        font-size: 0.98rem;
    }
    .card-cta-label {
        font-size: 0.74rem;
        min-height: 36px;
        padding: 6px 6px;
    }

    /* Forms, Modals & Admin on Compact Mobile */
    .form-grid-2,
    .payment-cards {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    .variant-row-card {
        grid-template-columns: 52px 1fr;
    }
    .modal-body {
        padding: 14px 12px;
    }
    .variant-swatches {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    }
    .toast-container {
        left: 12px;
        right: 12px;
        bottom: 14px;
    }
    .toast {
        min-width: 0;
        width: 100%;
        max-width: none;
    }
}

/* Ultra-Small Screens (<= 350px): Switch to Single Column for Maximum Clarity */
@media (max-width: 350px) {
    .product-grid,
    .skeleton-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .product-desc-preview {
        display: -webkit-box;
    }
    .hero-dial-wrap {
        width: 240px;
    }
}
