/* ============================================
   HSD EXPRESS — Master Stylesheet
   ============================================ */

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

:root {
    --orange: #FF5A1F;
    --orange-deep: #EA4A0F;
    --red: #DC2626;
    --red-deep: #B91C1C;
    --ink: #0A0A0A;
    --cream: #FFF7ED;
    --cream-2: #FED7AA;
    --gray: #9CA3AF;
    --gray-dark: #4B5563;
    --gray-light: #F3F4F6;
    --green: #16A34A;
    --green-light: #DCFCE7;
    --gradient-fire: linear-gradient(135deg, #FF5A1F, #DC2626);
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.15);
    --radius: 10px;
    --radius-lg: 14px;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

[data-lucide] { width: 20px; height: 20px; stroke-width: 2; vertical-align: middle; }

/* MARQUEE */
.marquee { background: var(--ink); color: var(--cream-2); padding: 10px 0; text-align: center; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.marquee strong { color: var(--orange); }
.marquee [data-lucide] { width: 16px; height: 16px; }

/* HEADER */
header.site { position: sticky; top: 0; z-index: 100; background: rgba(255, 247, 237, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--cream-2); }
.header-row { display: flex; align-items: center; gap: 24px; padding: 18px 0; }
.logo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 800; }
.logo .dot { color: var(--orange); }
.nav { display: flex; gap: 24px; font-weight: 600; font-size: 15px; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
.nav a:hover, .nav a.active { color: var(--orange); border-color: var(--orange); }
.search-box { flex: 1; max-width: 380px; position: relative; }
.search-box input { width: 100%; padding: 11px 16px 11px 42px; border: 1.5px solid #e5d5b8; border-radius: var(--radius); font-family: inherit; font-size: 14px; background: white; }
.search-box input:focus { outline: none; border-color: var(--orange); }
.search-box .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; }
.icons { display: flex; gap: 12px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: var(--radius); background: white; border: 1.5px solid #e5d5b8; display: grid; place-items: center; transition: all 0.2s; cursor: pointer; color: var(--ink); }
.icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--red); color: white; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; }

/* HERO */
.hero { background: var(--gradient-fire); color: white; padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 40%); }
.hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.2); padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 24px; backdrop-filter: blur(10px); }
.hero h1 { font-size: 64px; line-height: 1.05; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 19px; margin-bottom: 36px; opacity: 0.95; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 15px; cursor: pointer; border: none; font-family: inherit; transition: all 0.2s; text-decoration: none; text-align: center; justify-content: center; }
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-white { background: white; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--ink); }
.btn-ghost { background: white; color: var(--ink); border: 1.5px solid #e5d5b8; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.section-head h2 { font-size: 42px; line-height: 1.1; }
.section-head p { color: var(--gray-dark); margin-top: 6px; }
.section-head a { color: var(--orange); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }

/* CATEGORY TILES */
.categories-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 540px; }
.cat-tile { border-radius: 18px; padding: 28px; color: white; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; transition: all 0.3s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-tile h3 { font-size: 28px; margin-bottom: 6px; }
.cat-tile p { font-size: 14px; opacity: 0.9; }
.cat-tile .cat-icon { width: 56px; height: 56px; background: rgba(255,255,255,0.2); border-radius: 14px; display: grid; place-items: center; backdrop-filter: blur(10px); }
.cat-tile .cat-icon [data-lucide] { width: 28px; height: 28px; }
.cat-tile.electronics { grid-row: span 2; background: linear-gradient(135deg, #1E293B, #0F172A); }
.cat-tile.fashion { background: linear-gradient(135deg, #FF5A1F, #EA4A0F); }
.cat-tile.home { background: linear-gradient(135deg, #DC2626, #991B1B); }
.cat-tile.automotive { grid-column: span 2; background: linear-gradient(135deg, #0A0A0A, #1F2937); }

/* PAGE HEADER */
.page-head { padding: 50px 0 30px; }
.crumbs { color: var(--gray-dark); font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--orange); }
.crumbs [data-lucide] { width: 14px; height: 14px; }
.page-head h1 { font-size: 48px; line-height: 1.05; margin-bottom: 8px; }
.page-head p { color: var(--gray-dark); font-size: 16px; }

/* TOOLBAR */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--cream-2); flex-wrap: wrap; }
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 8px 16px; border-radius: 999px; background: white; border: 1.5px solid #e5d5b8; font-weight: 600; font-size: 13px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.pill [data-lucide] { width: 14px; height: 14px; }
.pill:hover { border-color: var(--orange); color: var(--orange); }
.pill.active { background: var(--ink); color: white; border-color: var(--ink); }
.sort-box { display: flex; align-items: center; gap: 8px; }
.sort-box [data-lucide] { color: var(--gray-dark); }
.sort-box select { padding: 9px 14px; border: 1.5px solid #e5d5b8; border-radius: var(--radius); font-family: inherit; font-size: 14px; background: white; cursor: pointer; }
.results-count { color: var(--gray-dark); font-size: 14px; padding: 16px 0 0; display: flex; align-items: center; gap: 6px; }

/* PRODUCT CARDS */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding: 30px 0 60px; }
.product-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--cream-2); transition: all 0.25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(255, 90, 31, 0.15); border-color: var(--orange); }
.product-img { aspect-ratio: 1; background: linear-gradient(135deg, #FFEDD5, #FED7AA); position: relative; display: grid; place-items: center; color: var(--orange); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img > [data-lucide] { width: 64px; height: 64px; opacity: 0.5; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; border-radius: 4px; background: var(--orange); color: white; }
.badge.sale { background: var(--red); color: white; }
.badge.new { background: var(--ink); color: white; }
.badge.bestseller { background: var(--orange); color: white; }
.wish-btn { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: white; border: none; display: grid; place-items: center; cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow-sm); color: var(--ink); }
.wish-btn [data-lucide] { width: 16px; height: 16px; }
.wish-btn:hover, .wish-btn.on { background: var(--red); color: white; }
.stock-out { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.6); color: white; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: 1px; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-dark); }
.product-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.3; }
.product-name:hover { color: var(--orange); }
.rating-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-dark); }
.rating-row [data-lucide] { width: 14px; height: 14px; color: #FBBF24; fill: #FBBF24; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.price { font-size: 22px; font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; }
.was { color: var(--gray); text-decoration: line-through; font-size: 14px; }
.save { background: var(--green-light); color: #166534; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.product-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.product-actions form { flex: 1; }

/* USP STRIP */
.usp { background: white; padding: 60px 0; border-top: 1px solid var(--cream-2); border-bottom: 1px solid var(--cream-2); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.usp-item { display: flex; gap: 16px; align-items: flex-start; }
.usp-icon { width: 52px; height: 52px; background: var(--cream); color: var(--orange); border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.usp-icon [data-lucide] { width: 26px; height: 26px; }
.usp-item h4 { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.usp-item p { font-size: 13px; color: var(--gray-dark); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; background: white; border-radius: var(--radius-lg); border: 1px dashed var(--cream-2); }
.empty-state [data-lucide] { width: 48px; height: 48px; color: var(--gray); margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--gray-dark); margin-bottom: 20px; }

/* FORMS */
.form-card { background: white; padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--cream-2); max-width: 460px; margin: 60px auto; box-shadow: var(--shadow-sm); }
.form-card h1 { font-size: 32px; margin-bottom: 8px; }
.form-card .form-sub { color: var(--gray-dark); margin-bottom: 28px; font-size: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #e5d5b8; border-radius: var(--radius); font-family: inherit; font-size: 15px; background: white; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-dark); }
.form-foot a { color: var(--orange); font-weight: 700; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.alert-error { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--red); }
.alert-success { background: var(--green-light); color: #166534; border-left: 4px solid var(--green); }

/* FOOTER */
footer.site { background: var(--ink); color: #D1D5DB; padding: 60px 0 30px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.foot-grid h4 { color: white; font-size: 14px; margin-bottom: 14px; font-family: 'Manrope', sans-serif; font-weight: 700; }
.foot-grid a { display: block; padding: 6px 0; font-size: 14px; }
.foot-grid a:hover { color: var(--orange); }
.foot-logo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 800; color: white; margin-bottom: 12px; }
.foot-logo .dot { color: var(--orange); }
.foot-bottom { border-top: 1px solid #374151; padding-top: 24px; text-align: center; font-size: 13px; color: #6B7280; }

/* RESPONSIVE (tablet) */
@media (max-width: 820px) {
    .nav, .search-box { display: none; }
    .hero h1 { font-size: 40px; }
    .section-head h2 { font-size: 30px; }
    .page-head h1 { font-size: 32px; }
    .categories-grid { grid-template-columns: 1fr; height: auto; }
    .cat-tile.electronics, .cat-tile.automotive { grid-row: auto; grid-column: auto; min-height: 180px; }
    .form-card { padding: 28px; margin: 30px 16px; }
}

/* ADMIN PANEL */
.admin-shell { display: flex; min-height: 100vh; background: #F9FAFB; }
.admin-sidebar { width: 260px; background: var(--ink); color: white; padding: 24px 0; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar .brand { padding: 0 24px 24px; border-bottom: 1px solid #1F2937; margin-bottom: 16px; }
.admin-sidebar .brand .logo { color: white; font-size: 20px; display: block; }
.admin-sidebar .brand .badge-admin { display: inline-flex; align-items: center; gap: 4px; background: var(--orange); color: white; padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 1px; margin-top: 6px; }
.admin-nav { padding: 0 12px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; color: #D1D5DB; font-size: 14px; font-weight: 500; margin-bottom: 4px; transition: all 0.15s; }
.admin-nav a:hover { background: #1F2937; color: white; }
.admin-nav a.active { background: var(--orange); color: white; }
.admin-nav a [data-lucide] { width: 18px; height: 18px; }
.admin-nav-section { padding: 18px 14px 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6B7280; }
.admin-sidebar-foot { border-top: 1px solid #1F2937; margin-top: 24px; padding: 16px 12px; }
.admin-sidebar-foot .who { padding: 10px 14px; color: #9CA3AF; font-size: 13px; }
.admin-sidebar-foot .who strong { color: white; display: block; }
.signout-form { margin: 0; }
.signout-btn { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; background: transparent; border: none; cursor: pointer; color: #FCA5A5; font-size: 14px; font-weight: 500; width: 100%; font-family: inherit; text-align: left; transition: all 0.15s; }
.signout-btn:hover { background: #1F2937; color: #FECACA; }
.signout-btn [data-lucide] { width: 18px; height: 18px; }
.admin-main { flex: 1; padding: 32px 40px; max-width: calc(100vw - 260px); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.admin-topbar h1 { font-size: 32px; }
.admin-topbar .greeting { color: var(--gray-dark); font-size: 14px; margin-top: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: white; border-radius: 12px; padding: 22px; border: 1px solid #E5E7EB; }
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cream); color: var(--orange); display: grid; place-items: center; margin-bottom: 14px; }
.stat-card .stat-icon [data-lucide] { width: 22px; height: 22px; }
.stat-card .stat-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 4px; }
.stat-card .stat-value { font-size: 28px; font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; }
.stat-card.alert { border-color: #FEE2E2; background: #FEF2F2; }
.stat-card.alert .stat-icon { background: #FEE2E2; color: var(--red); }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dash-card { background: white; border-radius: 12px; border: 1px solid #E5E7EB; overflow: hidden; }
.dash-card .head { padding: 18px 22px; border-bottom: 1px solid #E5E7EB; display: flex; justify-content: space-between; align-items: center; }
.dash-card .head h3 { font-size: 17px; font-family: 'Manrope', sans-serif; font-weight: 700; }
.dash-card .head a { color: var(--orange); font-size: 13px; font-weight: 700; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table td { padding: 14px 22px; border-bottom: 1px solid #F3F4F6; font-size: 14px; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table .ord-num { font-weight: 700; color: var(--ink); }
.dash-table .ord-meta { color: var(--gray-dark); font-size: 12px; margin-top: 2px; }
.dash-table .ord-amount { font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; text-align: right; }
.empty-row { padding: 40px 22px; text-align: center; color: var(--gray); }
.empty-row [data-lucide] { width: 32px; height: 32px; margin-bottom: 8px; opacity: 0.5; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.status-pill.pending { background: #FEF3C7; color: #92400E; }
.status-pill.paid { background: #D1FAE5; color: #065F46; }
.status-pill.processing { background: #DBEAFE; color: #1E40AF; }
.status-pill.shipped { background: #E0E7FF; color: #3730A3; }
.status-pill.delivered { background: #D1FAE5; color: #065F46; }
.status-pill.cancelled { background: #FEE2E2; color: #991B1B; }
@media (max-width: 900px) {
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; }
    .admin-main { max-width: 100%; padding: 24px 20px; }
    .dash-row { grid-template-columns: 1fr; }
}

/* ADMIN FORMS */
.prod-form { max-width: 100%; }
.form-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.form-section { background: white; border: 1px solid #E5E7EB; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.form-section h3 { font-size: 16px; font-family: 'Manrope', sans-serif; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #F3F4F6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prod-form .form-group { margin-bottom: 16px; }
.prod-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.prod-form input[type="text"], .prod-form input[type="number"], .prod-form input[type="email"], .prod-form input[type="file"], .prod-form select, .prod-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid #E5E7EB; border-radius: 8px; font-family: inherit; font-size: 14px; background: white; transition: border-color 0.15s; }
.prod-form input:focus, .prod-form select:focus, .prod-form textarea:focus { outline: none; border-color: var(--orange); }
.prod-form textarea { resize: vertical; min-height: 120px; }
.prod-form .muted { font-size: 12px; color: var(--gray-dark); margin-top: 4px; display: block; }
.checkbox-label { display: flex !important; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 0 !important; font-weight: 500 !important; font-size: 14px !important; }
.checkbox-label input[type="checkbox"] { width: 18px !important; height: 18px; cursor: pointer; accent-color: var(--orange); }
.current-image { margin-bottom: 16px; text-align: center; background: #F9FAFB; padding: 16px; border-radius: 8px; }
.current-image img { max-width: 100%; max-height: 200px; border-radius: 8px; border: 1px solid #E5E7EB; }
.current-image p { margin-top: 8px; font-size: 12px; color: var(--gray-dark); }
.form-actions { margin-top: 20px; }
.prod-filters { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
.filter-search { position: relative; flex: 1; min-width: 240px; }
.filter-search input { width: 100%; padding: 10px 14px 10px 40px; border: 1.5px solid #E5E7EB; border-radius: 10px; font-family: inherit; font-size: 14px; background: white; }
.filter-search input:focus { outline: none; border-color: var(--orange); }
.filter-search [data-lucide] { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray); width: 18px; height: 18px; }
.prod-filters select { padding: 10px 14px; border: 1.5px solid #E5E7EB; border-radius: 10px; font-family: inherit; font-size: 14px; background: white; cursor: pointer; }
.products-table { width: 100%; border-collapse: collapse; }
.products-table th { background: #F9FAFB; padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-dark); border-bottom: 1px solid #E5E7EB; }
.products-table td { padding: 14px 16px; border-bottom: 1px solid #F3F4F6; font-size: 14px; vertical-align: middle; }
.products-table tr:last-child td { border-bottom: none; }
.products-table tr:hover { background: #FAFAFA; }
.prod-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #E5E7EB; }
.prod-thumb-placeholder { width: 56px; height: 56px; background: #F3F4F6; border-radius: 8px; display: grid; place-items: center; color: var(--gray); }
.prod-thumb-placeholder [data-lucide] { width: 24px; height: 24px; }
.prod-name-cell { font-weight: 600; color: var(--ink); }
.prod-sku { font-size: 12px; color: var(--gray-dark); margin-top: 2px; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.btn-icon-danger { background: #FEE2E2; border: none; color: var(--red); width: 32px; height: 32px; border-radius: 6px; cursor: pointer; display: inline-grid; place-items: center; transition: all 0.15s; margin-left: 4px; vertical-align: middle; }
.btn-icon-danger:hover { background: var(--red); color: white; }
.alert { padding: 14px 18px; border-radius: 10px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #D1FAE5; color: #065F46; border-left: 4px solid var(--green); }
.alert-error { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--red); }
.alert [data-lucide] { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 900px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .products-table { font-size: 13px; }
    .products-table th, .products-table td { padding: 10px 8px; }
}

/* PRODUCT DETAIL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.product-detail-image { position: relative; background: linear-gradient(135deg, #FFEDD5, #FED7AA); border-radius: 16px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; }
.product-detail-image .main-image { width: 100%; height: 100%; object-fit: cover; }
.product-detail-image .no-image { color: var(--orange); opacity: 0.4; }
.product-detail-image .no-image [data-lucide] { width: 96px; height: 96px; }
.stock-overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.7); color: white; display: grid; place-items: center; font-weight: 800; font-size: 24px; letter-spacing: 2px; backdrop-filter: blur(2px); }
.product-detail-info { display: flex; flex-direction: column; gap: 16px; }
.detail-brand { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.detail-name { font-size: 36px; line-height: 1.15; margin-bottom: 4px; }
.detail-rating { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.stars-row { display: flex; gap: 2px; }
.stars-row [data-lucide] { width: 18px; height: 18px; }
.rating-meta { color: var(--gray-dark); }
.detail-price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid #F3F4F6; border-bottom: 1px solid #F3F4F6; margin: 8px 0; }
.detail-price { font-size: 36px; font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; color: var(--ink); }
.detail-was { color: var(--gray); text-decoration: line-through; font-size: 18px; }
.detail-save { background: #DCFCE7; color: #166534; padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.detail-tax-note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-dark); }
.detail-summary { font-size: 15px; color: var(--gray-dark); line-height: 1.6; }
.detail-stock { margin: 4px 0; }
.stock-indicator { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.stock-indicator [data-lucide] { width: 16px; height: 16px; }
.stock-indicator.in { background: #D1FAE5; color: #065F46; }
.stock-indicator.low { background: #FEF3C7; color: #92400E; }
.stock-indicator.out { background: #FEE2E2; color: #991B1B; }
.add-cart-form { margin: 8px 0; }
.qty-add-row { display: flex; gap: 12px; margin-bottom: 10px; }
.qty-selector { display: flex; align-items: center; gap: 8px; background: white; border: 1.5px solid #e5d5b8; border-radius: 10px; padding: 0 14px; }
.qty-selector label { font-size: 13px; font-weight: 700; color: var(--gray-dark); }
.qty-selector input { width: 60px; padding: 12px 0; border: none; background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; text-align: center; }
.qty-selector input:focus { outline: none; }
.btn-large { padding: 16px 32px !important; font-size: 16px !important; flex: 1; }
.wish-add { margin-top: 4px; }
.trust-row { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid #F3F4F6; margin-top: 8px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item > [data-lucide] { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.trust-item span { font-size: 13px; color: var(--gray-dark); }
.detail-description { background: white; border: 1px solid var(--cream-2); border-radius: 14px; padding: 32px; margin-bottom: 50px; }
.detail-description h2 { font-size: 24px; margin-bottom: 16px; }
.description-text { font-size: 15px; line-height: 1.7; color: var(--ink); }
.related-section { margin-bottom: 60px; }
.btn.disabled, .btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 30px; }
    .detail-name { font-size: 28px; }
    .detail-price { font-size: 28px; }
    .qty-add-row { flex-direction: column; }
    .qty-selector { justify-content: center; }
}
.detail-full-description { background: #FAFAFA; border-radius: 12px; padding: 18px 22px; margin: 8px 0; }
.detail-full-description h3 { font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700; color: var(--gray-dark); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-full-description .description-text { font-size: 14px; line-height: 1.6; color: var(--ink); }

/* CART */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-bottom: 60px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 120px 1fr 140px; gap: 20px; background: white; border: 1px solid var(--cream-2); border-radius: 14px; padding: 20px; align-items: start; }
.cart-item-img { width: 120px; height: 120px; background: linear-gradient(135deg, #FFEDD5, #FED7AA); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-img [data-lucide] { color: var(--orange); opacity: 0.4; width: 40px; height: 40px; }
.cart-item-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cart-item-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; text-decoration: none; }
.cart-item-name:hover { color: var(--orange); }
.cart-item-meta { display: flex; gap: 10px; font-size: 12px; }
.stock-warning { display: inline-flex; align-items: center; gap: 4px; color: #92400E; background: #FEF3C7; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.stock-ok { display: inline-flex; align-items: center; gap: 4px; color: #065F46; background: #D1FAE5; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-item-controls .qty-selector { padding: 0 12px; }
.cart-item-controls .qty-selector input { width: 50px; padding: 8px 0; font-size: 14px; }
.cart-item-controls .qty-selector label { font-size: 12px; }
.btn-sm { padding: 8px 14px !important; font-size: 13px !important; display: inline-flex; align-items: center; gap: 6px; }
.btn-icon-danger { width: 36px; height: 36px; border-radius: 8px; background: #FEE2E2; color: #991B1B; border: none; display: grid; place-items: center; cursor: pointer; transition: all 0.2s; }
.btn-icon-danger:hover { background: #FCA5A5; color: white; }
.cart-item-pricing { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.cart-item-line { font-size: 12px; color: var(--gray-dark); }
.cart-item-total { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); }
.cart-continue { margin-top: 10px; }
.cart-summary { background: white; border: 1px solid var(--cream-2); border-radius: 14px; padding: 28px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.cart-summary h3 { font-size: 20px; margin-bottom: 6px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--gray-dark); }
.summary-row strong { color: var(--ink); font-weight: 700; }
.summary-row.total { font-size: 18px; color: var(--ink); font-weight: 700; }
.summary-row.total strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 800; }
.summary-divider { height: 1px; background: var(--cream-2); margin: 4px 0; }
.summary-vat { font-size: 12px; color: var(--gray); text-align: right; margin-top: -8px; margin-bottom: 4px; }
.shipping-progress { background: #FFF7ED; border: 1px solid var(--cream-2); border-radius: 10px; padding: 12px 14px; margin: 4px 0; }
.shipping-text { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-dark); margin-bottom: 8px; }
.shipping-text strong { color: var(--orange); font-weight: 700; }
.shipping-bar { height: 6px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.shipping-bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--red)); border-radius: 999px; transition: width 0.3s ease; }
.summary-trust { display: flex; gap: 16px; justify-content: center; padding-top: 14px; border-top: 1px solid var(--cream-2); margin-top: 6px; }
.trust-mini { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-dark); font-weight: 600; }
.trust-mini [data-lucide] { width: 14px; height: 14px; color: var(--orange); }
.alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.alert-success { background: #DCFCE7; color: #166534; border-left: 4px solid #16A34A; }
.alert-error { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--red); }
@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; gap: 24px; }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 80px 1fr; gap: 14px; }
    .cart-item-img { width: 80px; height: 80px; }
    .cart-item-pricing { grid-column: 2; text-align: left; }
}

/* AUTH PAGES */
.auth-page { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 50px 24px 80px; align-items: start; }
.auth-card { background: white; border: 1px solid var(--cream-2); border-radius: 16px; padding: 40px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); }
.auth-header { text-align: center; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid #F3F4F6; }
.auth-header h1 { font-size: 32px; margin-bottom: 8px; line-height: 1.2; }
.auth-header p { color: var(--gray-dark); font-size: 15px; }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.label-row { display: flex; justify-content: space-between; align-items: center; }
.label-link { font-size: 12px; color: var(--orange); font-weight: 600; text-decoration: none; }
.label-link:hover { text-decoration: underline; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field input[type="password"] { width: 100%; padding: 12px 14px; border: 1.5px solid #e5d5b8; border-radius: 10px; font-family: inherit; font-size: 15px; background: white; transition: all 0.2s; }
.form-field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.1); }
.field-hint { font-size: 12px; color: var(--gray-dark); margin-top: 2px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; accent-color: var(--orange); flex-shrink: 0; }
.form-checkbox label { font-size: 13px; color: var(--gray-dark); line-height: 1.5; cursor: pointer; }
.form-checkbox label a { color: var(--orange); font-weight: 600; text-decoration: none; }
.form-checkbox label a:hover { text-decoration: underline; }
.auth-divider { text-align: center; position: relative; margin: 8px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #F3F4F6; }
.auth-divider span { background: white; color: var(--gray); padding: 0 16px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; position: relative; }
.auth-switch { text-align: center; font-size: 14px; color: var(--gray-dark); }
.auth-switch a { color: var(--orange); font-weight: 700; text-decoration: none; margin-left: 4px; }
.auth-switch a:hover { text-decoration: underline; }
.auth-benefits { background: white; border: 1px solid var(--cream-2); border-radius: 16px; padding: 28px; position: sticky; top: 100px; }
.auth-benefits h3 { font-size: 18px; margin-bottom: 20px; color: var(--ink); }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #F3F4F6; }
.benefit-item:last-child { border-bottom: none; }
.benefit-item > [data-lucide] { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.benefit-item strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.benefit-item span { font-size: 13px; color: var(--gray-dark); line-height: 1.5; }
.success-card { text-align: center; max-width: 560px; margin: 0 auto; grid-column: 1 / -1; }
.success-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #DCFCE7, #BBF7D0); color: #16A34A; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.success-icon [data-lucide] { width: 40px; height: 40px; }
.success-message { font-size: 16px; color: var(--gray-dark); margin-bottom: 24px; line-height: 1.6; }
.email-sent-box { background: var(--cream); border: 1px solid var(--cream-2); border-radius: 12px; padding: 16px 20px; margin: 20px 0; display: flex; align-items: center; gap: 14px; text-align: left; }
.email-sent-box > [data-lucide] { color: var(--orange); flex-shrink: 0; }
.email-sent-box strong { display: block; font-size: 13px; color: var(--gray-dark); margin-bottom: 2px; }
.email-sent-box span { font-size: 15px; color: var(--ink); font-weight: 600; word-break: break-all; }
.dev-notice { background: #FEF3C7; border: 1px solid #FBBF24; border-radius: 12px; padding: 16px 20px; margin: 20px 0; display: flex; gap: 14px; text-align: left; }
.dev-notice > [data-lucide] { color: #92400E; flex-shrink: 0; margin-top: 2px; }
.dev-notice strong { display: block; font-size: 14px; color: #92400E; margin-bottom: 4px; }
.dev-notice div { font-size: 14px; color: #78350F; line-height: 1.5; }
.verification-card { text-align: center; max-width: 520px; margin: 0 auto; grid-column: 1 / -1; }
.verification-icon { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; }
.verification-icon [data-lucide] { width: 44px; height: 44px; }
.verification-icon.success { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); color: #16A34A; }
.verification-icon.info { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); color: #2563EB; }
.verification-icon.warning { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #D97706; }
.verification-icon.error { background: linear-gradient(135deg, #FEE2E2, #FECACA); color: #DC2626; }
.verification-card h1 { font-size: 32px; margin-bottom: 12px; }
.verification-message { font-size: 17px; color: var(--ink); margin-bottom: 12px; line-height: 1.5; }
.verification-card p:not(.verification-message) { color: var(--gray-dark); font-size: 15px; line-height: 1.6; }
.alert-info { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; border-radius: 10px; font-size: 14px; background: #DBEAFE; color: #1E40AF; border-left: 4px solid #2563EB; }
.alert-info strong { display: block; margin-bottom: 2px; }
.alert-info p { margin: 0; }
.alert-info a { color: #1E40AF; font-weight: 700; text-decoration: underline; }
@media (max-width: 900px) {
    .auth-page { grid-template-columns: 1fr; gap: 24px; }
    .auth-benefits { position: static; }
    .auth-card { padding: 28px 20px; }
    .auth-header h1 { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; }
}

/* CHECKOUT */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-bottom: 60px; }
.checkout-form-wrap { background: white; border: 1px solid var(--cream-2); border-radius: 16px; padding: 32px; }
.form-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid #F3F4F6; }
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.form-section h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 20px; }
.form-section h2 [data-lucide] { color: var(--orange); width: 22px; height: 22px; }
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field .optional { color: var(--gray); font-weight: 400; font-size: 12px; }
.form-field input, .form-field select { padding: 12px 14px; border: 1.5px solid #e5d5b8; border-radius: 10px; font-family: inherit; font-size: 14px; background: white; transition: border-color 0.2s; }
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--orange); }
.payment-method-box { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: #FFF7ED; border: 1.5px solid var(--orange); border-radius: 10px; }
.payment-method-box [data-lucide] { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.payment-method-box strong { display: block; font-size: 15px; margin-bottom: 4px; }
.payment-method-box p { font-size: 13px; color: var(--gray-dark); margin: 0; }
.checkout-btn { margin-top: 24px; padding: 18px !important; font-size: 16px !important; }
.checkout-disclaimer { margin-top: 14px; font-size: 12px; color: var(--gray); text-align: center; }
.order-summary { background: white; border: 1px solid var(--cream-2); border-radius: 16px; padding: 24px; align-self: start; position: sticky; top: 20px; }
.order-summary h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 20px; }
.order-summary h3 [data-lucide] { color: var(--orange); width: 20px; height: 20px; }
.summary-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #F3F4F6; }
.summary-item { display: flex; gap: 12px; }
.summary-item-img { position: relative; width: 60px; height: 60px; background: var(--cream-2); border-radius: 8px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; }
.summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.summary-item-img [data-lucide] { color: var(--orange); opacity: 0.4; }
.qty-badge { position: absolute; top: -6px; right: -6px; background: var(--ink); color: white; font-size: 11px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.summary-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.summary-item-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.summary-item-price { font-size: 13px; color: var(--gray-dark); margin-top: 2px; }
.summary-totals { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #F3F4F6; }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.summary-line.total { font-size: 20px; font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; margin-top: 12px; padding-top: 12px; border-top: 1px solid #F3F4F6; }
.vat-note { font-size: 12px; color: var(--gray); text-align: right; margin-top: 6px; }
.error-box { display: flex; gap: 14px; background: #FEE2E2; border: 1.5px solid #DC2626; color: #991B1B; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; }
.error-box [data-lucide] { color: #DC2626; flex-shrink: 0; margin-top: 2px; }
.error-box p { margin: 0 0 4px 0; font-size: 14px; }
.error-box p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .form-row.two, .form-row.three { grid-template-columns: 1fr; }
    .order-summary { position: static; }
}

/* ============================================
   📱 MOBILE FIXES (phones — under 600px)
   ============================================ */
@media (max-width: 600px) {
    .container { padding: 0 14px; }
    .section { padding: 40px 0; }

    /* Header — compact */
    .header-row { padding: 12px 0; gap: 10px; }
    .logo { font-size: 20px; }
    .icon-btn { width: 38px; height: 38px; }

    /* Hero — smaller */
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 14px; margin-bottom: 24px; }
    .hero-eyebrow { font-size: 11px; padding: 6px 14px; margin-bottom: 18px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { padding: 12px 20px; font-size: 14px; }

    /* Section heads */
    .section-head { margin-bottom: 24px; gap: 8px; }
    .section-head h2 { font-size: 24px; }
    .section-head p { font-size: 13px; }
    .page-head { padding: 30px 0 16px; }
    .page-head h1 { font-size: 26px; }
    .page-head p { font-size: 14px; }

    /* Categories — 2x2 grid */
    .categories-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        height: auto !important;
        gap: 10px;
    }
    .cat-tile {
        grid-row: auto !important;
        grid-column: auto !important;
        min-height: 140px !important;
        padding: 16px;
        border-radius: 14px;
    }
    .cat-tile h3 { font-size: 18px; }
    .cat-tile p { font-size: 12px; }
    .cat-tile .cat-icon { width: 40px; height: 40px; border-radius: 10px; }
    .cat-tile .cat-icon [data-lucide] { width: 20px; height: 20px; }

    /* Products grid — 2 per row */
    .product-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
        padding: 18px 0 40px;
    }
    .product-body { padding: 12px; gap: 6px; }
    .product-name { font-size: 13px; line-height: 1.25; }
    .product-cat { font-size: 9px; letter-spacing: 0.5px; }
    .rating-row { font-size: 11px; }
    .rating-row [data-lucide] { width: 12px; height: 12px; }
    .price { font-size: 17px; }
    .was { font-size: 12px; }
    .badge { padding: 3px 7px; font-size: 9px; }
    .wish-btn { width: 30px; height: 30px; top: 8px; right: 8px; }
    .wish-btn [data-lucide] { width: 14px; height: 14px; }
    .product-actions { padding-top: 8px; }
    .product-actions .btn { padding: 9px 12px; font-size: 12px; gap: 4px; }
    .product-actions .btn [data-lucide] { width: 14px; height: 14px; }

    /* Marquee */
    .marquee { font-size: 11px; padding: 8px 12px; }
    .marquee [data-lucide] { width: 14px; height: 14px; }

    /* Product detail */
    .product-detail { grid-template-columns: 1fr !important; gap: 20px !important; }
    .detail-name { font-size: 22px !important; }
    .detail-price { font-size: 26px !important; }
    .detail-was { font-size: 15px; }
    .detail-description { padding: 18px; }
    .detail-description h2 { font-size: 18px; }

    /* Cart — keep desktop layout (image left, info right) */
    .cart-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
    .cart-item {
        grid-template-columns: 80px 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    .cart-item-img { width: 80px !important; height: 80px !important; }
    .cart-item-name { font-size: 14px; }
    .cart-item-total { font-size: 16px !important; }
    .cart-item-pricing {
        grid-column: 1 / -1 !important;
        text-align: left !important;
        border-top: 1px dashed #f3f3f3;
        padding-top: 8px;
        margin-top: 4px;
    }
    .cart-item-controls { gap: 6px; }

    /* Checkout */
    .checkout-grid { grid-template-columns: 1fr !important; }
    .checkout-form-wrap { padding: 18px; }
    .form-row.two, .form-row.three { grid-template-columns: 1fr !important; }
    .form-section h2 { font-size: 17px; }

    /* USP strip */
    .usp { padding: 30px 0; }
    .usp-grid { gap: 18px; }
    .usp-icon { width: 42px; height: 42px; }
    .usp-icon [data-lucide] { width: 20px; height: 20px; }
    .usp-item h4 { font-size: 14px; }
    .usp-item p { font-size: 12px; }

    /* Toolbar */
    .toolbar { padding: 14px 0; gap: 10px; }

    /* Buttons */
    .btn { padding: 11px 18px; font-size: 14px; }
    .btn-large { padding: 14px 22px !important; font-size: 14px !important; }

    /* Forms */
    .form-card { padding: 20px; margin: 20px 12px; }
    .form-card h1 { font-size: 22px; }
    .auth-card { padding: 22px 16px; }
    .auth-header h1 { font-size: 22px; }
    .auth-header p { font-size: 13px; }

    /* Footer */
    footer.site { padding: 30px 0 20px; }
    .foot-grid { gap: 24px; margin-bottom: 24px; }
    .foot-bottom { font-size: 11px; padding-top: 16px; }

    /* Account — keep horizontal order layout (image left, info right) */
    .account-wrap { margin: 16px auto !important; padding: 0 12px !important; }
    .account-header { padding: 18px !important; border-radius: 12px !important; margin-bottom: 16px !important; }
    .account-header h1 { font-size: 20px !important; }
    .account-header p { font-size: 12px !important; }
    .account-grid { gap: 14px !important; }
    .account-card { padding: 16px !important; margin-bottom: 14px !important; }
    .account-card h2 { font-size: 14px !important; }
    .stat-box .big { font-size: 18px !important; }
    .stat-box .small { font-size: 10px !important; }
    .stat-box { padding: 12px !important; }

    /* Order card in account — KEEP image LEFT, info RIGHT */
    .order-card-main { flex-direction: row !important; gap: 10px !important; }
    .order-items-col { width: 100px !important; }
    .item-box { padding: 6px !important; margin-bottom: 5px !important; }
    .item-box-img, .item-box-img-placeholder { height: 70px !important; }
    .item-box-img-placeholder i { width: 24px !important; height: 24px !important; }
    .item-box-name { font-size: 11px !important; margin: 4px 0 1px !important; }
    .item-box-qty { font-size: 10px !important; }
    .order-ref { font-size: 13px; }
    .order-date { font-size: 11px; }
    .order-info-row { font-size: 11px; margin-top: 6px; }
    .order-status-badge, .return-status-badge { font-size: 9px !important; padding: 3px 8px !important; }
    .order-total { font-size: 14px; }
    .order-price-col { min-width: 60px; }
    .order-btn { padding: 6px 10px; font-size: 11px; }
    .return-instructions { font-size: 11px; padding: 8px 10px; }

    /* Address cards */
    .addr-compact { padding: 10px; font-size: 11px; }
    .addr-compact-name { font-size: 12px; padding-right: 50px; }
    .addr-text { font-size: 11px; }
    .addr-btn-mini { padding: 3px 8px; font-size: 10px; }

    /* Cat pills */
    .cat-pills { gap: 6px; }
    .pill { padding: 5px 10px; font-size: 11px; gap: 4px; }

    /* Crumbs */
    .crumbs { font-size: 12px; }
}

/* Extra small phones (under 380px) */
@media (max-width: 380px) {
    .product-grid { gap: 8px; }
    .categories-grid { gap: 8px; }
    .cat-tile h3 { font-size: 16px; }
    .product-name { font-size: 12px; }
    .price { font-size: 15px; }
}

/* ============================================
   🔧 ADDITIONAL MOBILE FIXES + ADMIN HAMBURGER
   ============================================ */

/* Status badges — keep them on same line, inline */
.order-info-row {
    flex-wrap: nowrap;
}
.order-status-badge, .return-status-badge {
    white-space: nowrap;
    display: inline-block;
}

/* Brand name spacing — push elements away from left edge */
@media (max-width: 600px) {
    .container { padding: 0 18px !important; }
    .header-row { padding-left: 4px; padding-right: 4px; }
}

/* ============================================
   ADMIN HAMBURGER MENU (mobile only)
   ============================================ */

/* Mobile toggle button — hidden on desktop */
.admin-mobile-bar {
    display: none;
}

@media (max-width: 900px) {
    /* Show mobile bar */
    .admin-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--ink);
        color: white;
        padding: 12px 16px;
        position: sticky;
        top: 0;
        z-index: 200;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    .admin-mobile-bar .menu-toggle {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
    }
    .admin-mobile-bar .menu-toggle [data-lucide] {
        width: 22px; height: 22px;
    }
    .admin-mobile-bar .admin-logo {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 18px;
        font-weight: 800;
        color: white;
    }
    .admin-mobile-bar .admin-logo .dot {
        color: var(--orange);
    }

    /* Hide sidebar by default on mobile */
    .admin-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px !important;
        height: 100vh !important;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 300;
        box-shadow: 4px 0 20px rgba(0,0,0,0.3);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }

    /* Overlay when sidebar is open */
    .admin-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 250;
    }
    .admin-overlay.show {
        display: block;
    }

    /* Reset admin shell layout */
    .admin-shell { flex-direction: column; }
    .admin-main {
        max-width: 100% !important;
        padding: 18px 14px !important;
    }
    .admin-topbar { margin-bottom: 18px; }
    .admin-topbar h1 { font-size: 22px; }

    /* Stat cards smaller */
    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }
    .stat-card { padding: 14px; }
    .stat-card .stat-icon { width: 34px; height: 34px; margin-bottom: 8px; }
    .stat-card .stat-icon [data-lucide] { width: 18px; height: 18px; }
    .stat-card .stat-label { font-size: 10px; }
    .stat-card .stat-value { font-size: 20px; }

    /* Dashboard cards */
    .dash-row { grid-template-columns: 1fr; gap: 14px; }
    .dash-card .head { padding: 14px 16px; }
    .dash-card .head h3 { font-size: 15px; }
    .dash-table td { padding: 10px 14px; font-size: 13px; }

    /* Admin form layout */
    .form-grid { grid-template-columns: 1fr; }
    .form-section { padding: 16px; }
    .form-section h3 { font-size: 14px; }

    /* Admin tables — scroll horizontally on small screens */
    .products-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 12px;
    }
    .products-table th, .products-table td {
        padding: 8px 10px;
    }
    .prod-thumb, .prod-thumb-placeholder { width: 40px; height: 40px; }

    /* Filters bar */
    .prod-filters { gap: 8px; }
    .filter-search { min-width: 100%; }

    /* Status pills smaller */
    .status-pill { font-size: 9px; padding: 2px 7px; }
}

/* Even smaller on phones */
@media (max-width: 600px) {
    .admin-mobile-bar { padding: 10px 14px; }
    .admin-mobile-bar .admin-logo { font-size: 16px; }
    .admin-main { padding: 14px 10px !important; }
    .admin-topbar h1 { font-size: 19px; }
    .stat-card .stat-value { font-size: 17px; }
}

/* ============================================
   🔧 REFINED MOBILE FIXES (round 2)
   ============================================ */

/* === #2: Push customer icons to the RIGHT === */
@media (max-width: 820px) {
    .header-row {
        justify-content: space-between;
    }
    .header-row .logo { margin-right: auto; }
    .icons { margin-left: auto; }
}

/* === #3: Status badges — neat side-by-side spacing === */
.order-info-row.info-status {
    flex-wrap: wrap;
    gap: 6px 8px;
}
.order-status-badge,
.return-status-badge {
    white-space: nowrap !important;
    display: inline-block !important;
    margin-left: 0 !important;
    margin-right: 4px !important;
}

@media (max-width: 600px) {
    .order-info-row.info-status > span {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 6px;
        align-items: center;
    }
    .order-status-badge,
    .return-status-badge {
        font-size: 9px !important;
        padding: 3px 8px !important;
    }
}

/* === #4: Wishlist — 2 products per row on mobile === */
@media (max-width: 600px) {
    .wishlist-grid,
    .wish-grid,
    .wishlist-items,
    .product-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
}

/* ============================================
   #1 — ADMIN HORIZONTAL SCROLL NAV (mobile)
   Overrides previous hamburger approach
   ============================================ */
@media (max-width: 900px) {
    /* Cancel previous fixed/transform sidebar styles */
    .admin-sidebar {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        box-shadow: none !important;
        padding: 0 !important;
        background: var(--ink) !important;
    }
    .admin-shell {
        flex-direction: column !important;
    }

    /* Hide overlay (was for hamburger) */
    .admin-overlay { display: none !important; }
    .admin-mobile-bar { display: none !important; }

    /* Brand area - compact */
    .admin-sidebar .brand {
        padding: 14px 18px !important;
        border-bottom: 1px solid #1F2937 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        justify-content: flex-start !important;
    }
    .admin-sidebar .brand .logo {
        font-size: 18px !important;
        display: inline-block !important;
    }
    .admin-sidebar .brand .badge-admin {
        margin-top: 0 !important;
        padding: 3px 8px !important;
        font-size: 9px !important;
    }

    /* Convert vertical nav to horizontal scroll */
    .admin-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 10px 12px !important;
        gap: 6px !important;
        background: #111827 !important;
        border-bottom: 1px solid #1F2937;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .admin-nav::-webkit-scrollbar { display: none; }

    /* Hide section dividers on mobile (no space) */
    .admin-nav-section { display: none !important; }

    /* Nav items become pill-shaped horizontal buttons */
    .admin-nav a {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
        border-radius: 999px !important;
        background: #1F2937;
        margin-bottom: 0 !important;
        gap: 6px !important;
    }
    .admin-nav a.active {
        background: var(--orange) !important;
    }
    .admin-nav a [data-lucide] { width: 14px !important; height: 14px !important; }
    .admin-nav a .side-badge {
        background: var(--red);
        font-size: 9px !important;
        padding: 1px 6px !important;
    }

    /* Sidebar footer - move to bottom of page (becomes inline above content) */
    .admin-sidebar-foot {
        display: none !important; /* hide on mobile - keep sign out in topbar instead */
    }

    /* Main content - full width */
    .admin-main {
        max-width: 100% !important;
        padding: 18px 14px !important;
    }

    /* Topbar - compact, add sign out here */
    .admin-topbar {
        margin-bottom: 18px !important;
        gap: 10px !important;
    }
    .admin-topbar h1 { font-size: 22px !important; }
    .admin-topbar .greeting { font-size: 12px !important; }

    /* Stat cards - 2 per row */
    .stat-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    .stat-card { padding: 14px !important; }
    .stat-card .stat-icon { width: 34px !important; height: 34px !important; margin-bottom: 8px !important; }
    .stat-card .stat-icon [data-lucide] { width: 18px !important; height: 18px !important; }
    .stat-card .stat-label { font-size: 10px !important; }
    .stat-card .stat-value { font-size: 20px !important; }

    /* Dashboard cards */
    .dash-row { grid-template-columns: 1fr !important; gap: 14px !important; }
    .dash-card .head { padding: 14px 16px !important; }
    .dash-card .head h3 { font-size: 15px !important; }
    .dash-table td { padding: 10px 14px !important; font-size: 12px !important; }

    /* Forms */
    .form-grid { grid-template-columns: 1fr !important; }
    .form-section { padding: 14px !important; }
    .form-section h3 { font-size: 14px !important; }

    /* Tables - horizontal scroll */
    .products-table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
    }
    .products-table th, .products-table td { padding: 8px 10px !important; }
    .prod-thumb, .prod-thumb-placeholder { width: 40px !important; height: 40px !important; }

    /* Filters */
    .prod-filters { gap: 8px !important; }
    .filter-search { min-width: 100% !important; }

    /* Status pills smaller */
    .status-pill, .dash-status-pill {
        font-size: 9px !important;
        padding: 2px 7px !important;
    }
}

@media (max-width: 600px) {
    .admin-sidebar .brand { padding: 12px 14px !important; }
    .admin-sidebar .brand .logo { font-size: 16px !important; }
    .admin-nav { padding: 8px 10px !important; }
    .admin-nav a { padding: 7px 12px !important; font-size: 12px !important; }
    .admin-main { padding: 14px 10px !important; }
    .admin-topbar h1 { font-size: 19px !important; }
    .stat-card .stat-value { font-size: 17px !important; }
    .admin-topbar .btn { padding: 8px 14px !important; font-size: 12px !important; }
}

/* ============================================
   🔧 MOBILE FIXES (round 3)
   ============================================ */

/* === #1: Admin tables — full info with horizontal swipe === */
@media (max-width: 900px) {
    /* Make all admin tables horizontally scrollable, showing ALL columns */
    .admin-main table,
    .products-table,
    .dash-table {
        display: table !important;
        width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    /* Wrap tables in scrollable container */
    .dash-card,
    .admin-main .table-wrap,
    .admin-main > table {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .dash-card .dash-table {
        min-width: 600px;
    }

    /* Force table to be wide enough on mobile */
    .products-table {
        min-width: 700px !important;
        white-space: nowrap !important;
    }
    .products-table th,
    .products-table td {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    /* Swipe hint */
    .dash-card .head::after {
        content: "← swipe →";
        font-size: 10px;
        color: var(--gray);
        font-weight: 600;
        margin-left: auto;
        padding-left: 10px;
    }
}

/* === #2: Admin categories — 2 per row on mobile === */
@media (max-width: 900px) {
    /* Admin categories grid */
    .admin-main .categories-grid,
    .admin-categories-grid,
    .admin-main .cat-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        height: auto !important;
        gap: 10px !important;
    }
    .admin-main .cat-tile,
    .admin-categories-grid .cat-tile {
        grid-row: auto !important;
        grid-column: auto !important;
        min-height: 140px !important;
        padding: 14px !important;
    }
    .admin-main .cat-tile h3 { font-size: 16px !important; }
    .admin-main .cat-tile p { font-size: 11px !important; }
    .admin-main .cat-tile .cat-icon {
        width: 36px !important; height: 36px !important;
    }
    .admin-main .cat-tile .cat-icon [data-lucide] {
        width: 18px !important; height: 18px !important;
    }

    /* Generic 4-card grid in admin */
    .admin-main [class*="grid"] .stat-card,
    .admin-main .kpi-grid {
        gap: 10px !important;
    }
}

/* === #4: Qty selector — add +/- buttons that always work === */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border: 1.5px solid #e5d5b8;
    border-radius: 10px;
    overflow: hidden;
}
.qty-controls button {
    width: 38px;
    height: 44px;
    border: none;
    background: #FFF7ED;
    color: var(--orange);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    line-height: 1;
}
.qty-controls button:hover { background: #FED7AA; }
.qty-controls button:active { background: var(--orange); color: white; }
.qty-controls input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #e5d5b8;
    border-right: 1px solid #e5d5b8;
    padding: 12px 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    -moz-appearance: textfield;
}
.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-controls input:focus { outline: none; }

/* Mobile size adjustments */
@media (max-width: 600px) {
    .qty-controls button { width: 34px; height: 38px; font-size: 18px; }
    .qty-controls input { width: 42px; padding: 9px 0; font-size: 14px; }
}

/* ============================================
   📱 SHORTER PRODUCT CARDS ON MOBILE
   ============================================ */
@media (max-width: 600px) {
    .product-img { aspect-ratio: 4 / 3; }
    .product-body { padding: 10px; gap: 4px; }
    .product-actions { padding-top: 6px; }
    .product-actions .btn { padding: 8px 10px; font-size: 12px; }
    .section { padding: 28px 0; }
    .product-grid { padding: 14px 0 24px; }
}
/* ============================================
   📱 PRODUCT CARD PHOTO FIX (iPhone/Safari)
   Photo is taken out of the layout flow, so a tall (vertical)
   photo can never stretch the card and push the price/button away.
   ============================================ */
.product-img { overflow: hidden; }
.product-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.badge, .wish-btn, .stock-out { z-index: 2; }