﻿/* ============================================================
   Amar Glass Studio — Style Sheet v3
   ============================================================ */

/* ── CSS VARIABLES — LIGHT MODE ─────────────────────────── */
:root {
  --primary: #0D9488;
  --primary-dark: #0f766e;
  --primary-light: #f0fdfa;
  --secondary: #f97316;
  --secondary-dark: #ea6c0a;
  --accent: #14B8A6;
  --accent-dark: #0D9488;
  --gradient: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
  --gradient-warm: linear-gradient(135deg, #f97316 0%, #0D9488 100%);
  --gradient-card: linear-gradient(135deg, rgba(13,148,136,.06) 0%, rgba(20,184,166,.06) 100%);
  --bg: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #f1f5f9;
  --text: #0f172a;
  --text-2: #334155;
  --text-3: #64748b;
  --border: #e2e8f0;
  --border-hover: #94a3b8;
  --shadow: 0 4px 20px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,.14);
  --shadow-colored: 0 8px 32px rgba(13,148,136,.25);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'DM Sans', sans-serif;
  --success: #059669;
  --warning: #d97706;
  --glass: rgba(255,255,255,.7);
  --glass-border: rgba(255,255,255,.5);
}

/* ── DARK MODE ───────────────────────────────────────────── */
body:not(.admin-body)[data-theme="dark"] {
  --bg: #0b0f19;
  --bg-surface: #111827;
  --bg-card: #1a2235;
  --bg-input: #1e293b;
  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --border: rgba(255,255,255,.08);
  --border-hover: rgba(255,255,255,.2);
  --shadow: 0 4px 20px rgba(0,0,0,.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.5);
  --glass: rgba(26,34,53,.8);
  --glass-border: rgba(255,255,255,.1);
  --bg-input: #1e2d3d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); transition: background .3s, color .3s; }
body:not(.admin-body) { overflow-x: hidden; }
html { overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.ags-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
  z-index: 1050;
  transition: background .3s, box-shadow .2s, border-color .3s;
}
body { padding-top: 64px; }
.ags-navbar.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,.1); }
.navbar-inner { display: flex; align-items: center; height: 64px; gap: 12px; }
.brand-icon { color: var(--primary); flex-shrink: 0; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -.5px; }
.brand-studio { font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: .12em; display: block; margin-top: -2px; }

/* Search bar */
.nav-search-wrap { flex: 1; max-width: 380px; position: relative; }
.nav-search-input {
  width: 100%; height: 38px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0 40px 0 40px;
  font-size: 13px; font-family: var(--font); color: var(--text);
  outline: none; transition: all .2s;
}
.nav-search-input::placeholder { color: var(--text-3); }
.nav-search-input:focus { border-color: var(--primary); background: var(--bg-surface); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.nav-search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }

.navbar-nav .nav-link { font-size: 14px; font-weight: 500; color: var(--text-2); padding: 6px 10px; border-radius: 8px; transition: all .15s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); background: var(--primary-light); }
.navbar-nav .dropdown-menu { border: 1px solid var(--border); background: var(--bg-surface); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 8px; }
.navbar-nav .dropdown-item { border-radius: 8px; font-size: 14px; font-weight: 500; padding: 8px 12px; color: var(--text-2); transition: .15s; background: transparent; }
.navbar-nav .dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* Navbar icon buttons */
.nav-icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-input); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer; transition: all .2s;
  position: relative; text-decoration: none; flex-shrink: 0;
}
.nav-icon-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.nav-icon-btn .badge-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--secondary); color: white;
  font-size: 10px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-surface);
}
.dark-toggle { font-size: 16px; }

/* ── CART SIDEBAR ────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1040; opacity: 0; visibility: hidden; transition: all .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; right: 0; top: 0; bottom: 0; width: 380px; max-width: 95vw;
  background: var(--bg-surface); z-index: 1045;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.2);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gradient); color: white;
}
.cart-sidebar-header h5 { font-size: 16px; font-weight: 700; margin: 0; color: white; }
.cart-close { background: rgba(255,255,255,.2); border: none; color: white; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.cart-close:hover { background: rgba(255,255,255,.35); }
.cart-items-list { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item {
  display: flex; gap: 12px; padding: 12px; margin-bottom: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: all .2s;
}
.cart-item:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(13,148,136,.1); }
.cart-item-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--bg-input); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-cat { font-size: 11px; color: var(--primary); font-weight: 600; }
.cart-item-price { font-size: 13px; font-weight: 700; color: var(--success); margin-top: 4px; }
.cart-item-remove { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 16px; padding: 4px; border-radius: 6px; transition: all .15s; flex-shrink: 0; }
.cart-item-remove:hover { background: #fee2e2; color: #dc2626; }
.cart-empty { text-align: center; padding: 48px 24px; color: var(--text-3); }
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; }
.cart-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg-card); }
.cart-footer-total { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.cart-footer-total strong { font-size: 15px; color: var(--text); }

/* ── TOAST NOTIFICATIONS ─────────────────────────────────── */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast-item {
  background: var(--bg-surface); color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: 340px;
  pointer-events: all;
  animation: toastIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
}
.toast-item.removing { animation: toastOut .25s ease forwards; }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-msg { font-size: 13px; font-weight: 600; flex: 1; }
.toast-close { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 16px; padding: 2px; }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid #dc2626; }
.toast-info { border-left: 4px solid var(--primary); }
.toast-warning { border-left: 4px solid var(--secondary); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ── QUICK VIEW MODAL ────────────────────────────────────── */
.qv-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; background: var(--bg-surface); box-shadow: var(--shadow-lg); }
.qv-img-wrap { background: var(--bg-input); border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.qv-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.qv-img-ph { font-size: 60px; color: var(--text-3); }
.qv-category { display: inline-block; background: var(--gradient); color: white; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.qv-name { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -.3px; }
.qv-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-3); }
.qv-price { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.qv-price .original { font-size: 14px; font-weight: 500; color: var(--text-3); text-decoration: line-through; margin-left: 8px; }
.qv-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.qv-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.qv-feature-chip { background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(13,148,136,.2); }
.qv-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  background: var(--gradient); padding: 56px 0 40px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.page-title { font-size: 36px; font-weight: 800; color: white; letter-spacing: -1px; position: relative; z-index: 1; }
.page-sub { color: rgba(255,255,255,.7); font-size: 15px; position: relative; z-index: 1; margin-top: 8px; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── FILTER BAR ──────────────────────────────────────────── */
.filter-bar { z-index: 100; background: var(--bg-surface) !important; border-bottom: 1px solid var(--border) !important; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text-2); background: var(--bg-input); border: 1.5px solid transparent;
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.filter-chip:hover { background: var(--primary-light); color: var(--primary); border-color: rgba(13,148,136,.3); }
.filter-chip.active { background: var(--gradient); color: white; box-shadow: 0 4px 16px rgba(13,148,136,.35); }

/* ── TOOLBAR ─────────────────────────────────────────────── */
.products-toolbar { background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.sort-select {
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 7px 14px; font-size: 13px; font-weight: 600;
  color: var(--text); font-family: var(--font); cursor: pointer; outline: none;
  transition: border-color .15s;
}
.sort-select:focus { border-color: var(--primary); }
.view-toggle-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--bg-input); color: var(--text-3); display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all .15s;
}
.view-toggle-btn.active { background: var(--gradient); border-color: transparent; color: white; }

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.products-grid.list-view { grid-template-columns: 1fr; }

.product-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  position: relative; text-decoration: none; color: inherit;
  animation: fadeInCard .4s ease both;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--primary); color: inherit; }
.product-card.hidden { display: none !important; }

@keyframes fadeInCard { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* List view card */
.products-grid.list-view .product-card { flex-direction: row; height: 160px; }
.products-grid.list-view .product-img-wrap { width: 200px; height: 160px; aspect-ratio: unset; flex-shrink: 0; }
.products-grid.list-view .product-info { flex: 1; padding: 16px 20px; }
.products-grid.list-view .product-card:hover { transform: translateX(4px) !important; }

.product-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-input); flex-shrink: 0; }
.product-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.product-card:hover .product-img { transform: scale(1.08); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 52px; background: var(--gradient-card); }
.product-img-placeholder span:last-child { font-size: 12px; color: var(--text-3); font-weight: 600; }

/* Card badges */
.product-category-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gradient); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-discount-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--secondary); color: white;
  font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-new-badge { background: var(--success); }

/* Card overlay actions */
.product-overlay-actions {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(10px); transition: all .25s;
  pointer-events: none;
}
.product-card:hover .product-overlay-actions { opacity: 1; transform: translateX(0); pointer-events: auto; }
@media (hover: none) {
  .product-overlay-actions { display: none; }
  .product-card:hover { transform: none !important; box-shadow: none !important; }
  .products-grid.list-view .product-card:hover { transform: none !important; }
}
.overlay-action-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-surface); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2); transition: all .2s;
  backdrop-filter: blur(8px);
}
.overlay-action-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.1); }
.overlay-action-btn[title="Wishlist"] { background: #fff7ed; border-color: #fed7aa; color: #ea580c; }
.overlay-action-btn[title="Wishlist"]:hover { background: #ffedd5; border-color: #fb923c; transform: scale(1.1); }
.overlay-action-btn.wishlisted { background: #ea580c; border-color: #c2410c; color: #fff; }
.overlay-action-btn.wishlisted:hover { background: #c2410c; color: #fff; }

.product-info { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat-label { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 10px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.product-rating .stars { color: #f59e0b; font-size: 12px; }
.product-rating .rating-text { font-size: 11px; color: var(--text-3); font-weight: 600; }
.product-features { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.feature-tag { background: var(--primary-light); color: var(--primary); font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(13,148,136,.15); }

.product-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; gap: 8px; }
.product-price { font-size: 16px; font-weight: 800; color: var(--primary); }
.product-price .price-original { font-size: 11px; color: var(--text-3); text-decoration: line-through; font-weight: 400; display: block; }
.price-unit { font-size: 11px; font-weight: 500; color: var(--text-3); }
.product-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.product-actions .btn-get-quote-card,
.product-actions a[href*="checkout"] { flex: 1; min-width: 0; justify-content: center; }
.btn-add-cart {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gradient); color: white;
  border: none; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 8px; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.btn-add-cart:hover { opacity: .9; transform: scale(1.05); box-shadow: var(--shadow-colored); }
.btn-wishlist-sm {
  width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid #fed7aa;
  background: #fff7ed; color: #ea580c; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 14px; transition: all .2s; flex-shrink: 0;
}
.btn-wishlist-sm:hover { border-color: #fb923c; background: #ffedd5; color: #ea580c; }
.btn-wishlist-sm.active { background: #ea580c; border-color: #c2410c; color: #fff; }
.btn-wishlist-sm.active:hover { background: #c2410c; border-color: #9a3412; }

/* ── SECTION COMMONS ─────────────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 52px 0; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px; margin-bottom: 12px; }
.section-title { font-size: clamp(26px,3vw,40px); font-weight: 800; color: var(--text); letter-spacing: -1px; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--text-3); line-height: 1.6; }

/* ── HERO ────────────────────────────────────────────────── */
/* Keyframes */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
@keyframes heroFadeUp { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:translateY(0); } }
@keyframes heroFadeRight { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(-18px);} }
@keyframes floatChip { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes shimmerText { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
@keyframes orbPulse { 0%,100%{transform:scale(1);opacity:.35} 50%{transform:scale(1.15);opacity:.5} }
@keyframes countUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes scrollDot { 0%{opacity:1;transform:translateY(0)} 80%{opacity:0;transform:translateY(10px)} 100%{opacity:0;transform:translateY(0)} }

.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f766e 0%, #0D9488 40%, #14B8A6 80%, #5EEAD4 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

/* Background decorative orbs */
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.35) 0%, transparent 70%);
  top: -200px; right: -150px;
  animation: orbPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.25) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: orbPulse 8s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Hero text animations */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: white; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 24px;
  animation: heroFadeUp .6s ease both;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: #fbbf24; border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px #fbbf24;
}

.hero-title {
  font-size: clamp(38px,5.5vw,72px);
  font-weight: 800; color: white;
  line-height: 1.06; letter-spacing: -2.5px; margin-bottom: 22px;
  animation: heroFadeUp .7s .1s ease both;
}
.hero-title .accent-text {
  background: linear-gradient(90deg, #fbbf24, #f97316, #fb923c, #fbbf24);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
}

.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.72);
  line-height: 1.75; max-width: 500px; margin-bottom: 36px;
  animation: heroFadeUp .7s .2s ease both;
}

.hero-cta-group {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px;
  animation: heroFadeUp .7s .3s ease both;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #f97316, #ea6c0a);
  color: white; font-weight: 700; font-size: 15px;
  padding: 15px 32px; border-radius: 14px; border: none;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(249,115,22,.5);
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
}
.btn-hero-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
  opacity: 0; transition: opacity .2s;
}
.btn-hero-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(249,115,22,.6); color: white; }
.btn-hero-primary:hover::after { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1);
  color: white; font-weight: 600; font-size: 15px;
  padding: 15px 32px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.3);
  text-decoration: none; transition: all .25s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); color: white; transform: translateY(-3px); }

.hero-stats {
  display: flex; gap: 0;
  animation: heroFadeUp .7s .4s ease both;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-size: 32px; font-weight: 800; color: white;
  line-height: 1; display: block;
}
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 4px; display: block; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,.18); align-self: stretch; margin: 0 28px; }

/* Showcase */
.hero-showcase {
  position: relative; height: 480px;
  animation: heroFadeRight .9s .2s ease both;
}
.showcase-card {
  position: absolute; border-radius: 24px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  border: 1.5px solid rgba(255,255,255,.2);
}
.showcase-main {
  width: 270px; height: 340px;
  top: 50px; left: 50%;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.showcase-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}
.showcase-chip {
  position: absolute;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: white; font-size: 12px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.chip-tl { top: 20px; left: 10px; animation: floatChip 3.5s ease-in-out infinite; }
.chip-tr { top: 70px; right: 5px; animation: floatChip 4s .5s ease-in-out infinite; }
.chip-br { bottom: 50px; right: 10px; animation: floatChip 3.8s .3s ease-in-out infinite; }
.chip-bl { bottom: 100px; left: 5px; animation: floatChip 4.2s .8s ease-in-out infinite; }
.showcase-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  padding: 32px 16px 16px;
  color: white; font-size: 14px; font-weight: 700; letter-spacing: .01em;
}

/* ── FLASH SALE ──────────────────────────────────────────── */
.flash-sale-section { background: linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#4c1d95 100%); padding: 56px 0; }
.flash-sale-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.flash-sale-title-wrap { display: flex; align-items: center; gap: 16px; }
.flash-icon { font-size: 48px; filter: drop-shadow(0 0 12px #fbbf24); animation: flashPulse 1s ease-in-out infinite alternate; }
.flash-title { font-size: 32px; font-weight: 800; color: white; margin: 0; }
.flash-sub { color: rgba(255,255,255,.65); font-size: 14px; margin: 0; }
.flash-countdown { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border-radius: 16px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.15); }
.countdown-block { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.countdown-num { font-size: 28px; font-weight: 800; color: #fbbf24; line-height: 1; }
.countdown-lbl { font-size: 10px; color: rgba(255,255,255,.5); font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.countdown-sep { font-size: 24px; font-weight: 800; color: #fbbf24; margin-bottom: 8px; }
@keyframes tagSway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
.discount-badge{position:absolute;top:0;right:10px;width:46px;padding:14px 4px 10px;background:linear-gradient(175deg,#ff3c3c 0%,#b91c1c 100%);color:#fff;font-size:12px;font-weight:900;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3;text-shadow:0 1px 2px rgba(0,0,0,.35);clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);line-height:1.2;filter:drop-shadow(0 3px 8px rgba(185,28,28,.5));animation:tagSway 3s ease-in-out infinite;text-align:center}
.discount-badge::before{display:none}
.tag-off{font-size:8px;font-weight:800;letter-spacing:.08em;display:block;opacity:.9}
@media(max-width:576px){.discount-badge{width:36px;padding:11px 2px 8px;font-size:10px;right:6px}.tag-off{font-size:7px}}
.flash-badge { position: absolute; bottom: 12px; left: 12px; background: linear-gradient(135deg,#f59e0b,#ef4444); color: white; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; z-index: 3; }
@keyframes flashPulse { from { transform: scale(1); } to { transform: scale(1.15); } }

/* ── CATEGORY CARDS ──────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.category-card { position: relative; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all .25s cubic-bezier(.34,1.56,.64,1); overflow: hidden; }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--primary); color: inherit; }
.cat-icon-wrap { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 72px; background: var(--gradient-card); flex-shrink: 0; transition: transform .5s ease; }
.category-card:hover .cat-icon-wrap { transform: scale(1.08); }
.cat-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-name { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }
.cat-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; margin: 0 0 10px; }
.cat-arrow { font-size: 12px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; margin-top: auto; }
.category-card:hover .cat-arrow { gap: 8px; }

/* ── WHY CARDS ───────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(200px, 260px)); gap: 24px; justify-content: center; align-items: stretch; }
@media(max-width:900px){ .why-grid { grid-template-columns: repeat(2, minmax(200px, 280px)); } }
@media(max-width:560px){ .why-grid { grid-template-columns: 1fr; max-width:320px; margin:0 auto; } }
.why-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 20px; padding: 36px 28px 32px; transition: all .25s; text-align: center; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; height:100%; }
.why-card:hover { border-color: var(--primary); box-shadow: 0 12px 40px rgba(13,148,136,.12); transform: translateY(-4px); }
.why-icon-wrap { width: 68px; height: 68px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; flex-shrink:0; }
.why-icon-blue { background: rgba(13,148,136,.15); }
.why-icon-amber { background: rgba(217,119,6,.15); }
.why-icon-green { background: rgba(5,150,105,.15); }
.why-icon-purple { background: rgba(13,148,136,.15); }
.why-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.why-desc { font-size: 13px; color: var(--text-3); line-height: 1.7; margin:0; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner { background: var(--gradient); border-radius: 24px; padding: 56px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.06); top: -100px; right: -100px; pointer-events: none; }

/* ── QUOTE MODAL ─────────────────────────────────────────── */
@keyframes modalSlideUp { from{opacity:0;transform:translateY(40px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes successPop { 0%{transform:scale(.5);opacity:0} 70%{transform:scale(1.15)} 100%{transform:scale(1);opacity:1} }

.quote-modal-content {
  border: 0; border-radius: 28px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
  background: var(--bg-surface);
  animation: modalSlideUp .35s cubic-bezier(.34,1.56,.64,1) both;
}
.quote-modal-header {
  background: var(--gradient);
  padding: 36px 28px 28px;
  position: relative; text-align: center; overflow: hidden;
}
.quote-modal-header::before {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.07); top: -120px; right: -80px;
  pointer-events: none;
}
.quote-modal-header::after {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.05); bottom: -80px; left: -60px;
  pointer-events: none;
}
.quote-header-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 14px; position: relative; z-index:1;
}
.quote-header-tag {
  display: inline-block; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 999px;
  margin-bottom: 10px; position: relative; z-index:1;
}
.quote-header-product {
  font-size: 18px; font-weight: 800; color: white;
  margin-bottom: 6px; position: relative; z-index:1;
  line-height: 1.3;
}
.quote-header-sub {
  font-size: 13px; color: rgba(255,255,255,.7);
  position: relative; z-index:1; margin: 0;
}
.quote-close-btn {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: white; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; z-index: 5;
}
.quote-close-btn:hover { background: rgba(255,255,255,.3); }

.quote-modal-body { padding: 28px; background: var(--bg-surface); }

.quote-field { margin-bottom: 18px; }
.quote-field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text-2); margin-bottom: 8px;
}
.quote-input {
  width: 100%; background: var(--bg-input);
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; font-family: var(--font);
  color: var(--text); outline: none; transition: all .2s;
  resize: none;
}
.quote-input::placeholder { color: var(--text-3); }
.quote-input:focus {
  border-color: var(--primary); background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(13,148,136,.1);
}
.quote-input.error { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }

.quote-phone-wrap {
  display: flex; align-items: center;
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: all .2s;
}
.quote-phone-wrap:focus-within {
  border-color: var(--primary); background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(13,148,136,.1);
}
.quote-phone-prefix {
  padding: 12px 14px; font-size: 14px; font-weight: 700;
  color: var(--text-2); border-right: 1.5px solid var(--border);
  white-space: nowrap; flex-shrink: 0;
}
.quote-phone-wrap .quote-input {
  border: none; border-radius: 0; background: transparent;
  box-shadow: none; padding-left: 12px;
}
.quote-phone-wrap .quote-input:focus { box-shadow: none; background: transparent; }

.quote-error {
  font-size: 12px; color: #dc2626; font-weight: 600;
  margin-top: 6px; display: none;
}
.quote-error.show { display: block; }

.quote-submit {
  width: 100%; background: var(--gradient); border: none;
  color: white; font-size: 15px; font-weight: 700;
  padding: 15px; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .25s; margin-top: 4px;
  box-shadow: 0 8px 24px rgba(13,148,136,.35);
}
.quote-submit:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(13,148,136,.45); }
.quote-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.quote-trust {
  display: flex; justify-content: center; gap: 20px;
  margin-top: 16px; flex-wrap: wrap;
}
.quote-trust span {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  display: flex; align-items: center; gap: 4px;
}

/* Success state */
.quote-success {
  text-align: center; padding: 16px 0 8px;
}
.quote-success-icon {
  font-size: 64px; margin-bottom: 16px;
  animation: successPop .5s cubic-bezier(.34,1.56,.64,1) both;
  display: block;
}
.quote-success h5 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.quote-success p { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-bottom: 20px; }
.quote-success .btn-close-modal {
  background: var(--gradient); color: white; border: none;
  padding: 12px 32px; border-radius: 12px; font-weight: 700;
  cursor: pointer; font-size: 14px; transition: all .2s;
}
.quote-success .btn-close-modal:hover { filter: brightness(1.08); }

/* Card quote button */
.btn-get-quote-card {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gradient); color: white;
  border: none; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 8px; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.btn-get-quote-card:hover { opacity: .9; transform: scale(1.05); box-shadow: var(--shadow-colored); }

/* Legacy form controls (used in contact page etc.) */
.lead-modal-content { border: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-surface); }
.lead-modal-header { background: var(--gradient); padding: 28px 28px 20px; border: 0; }
.lead-modal-body { padding: 24px 28px 28px; background: var(--bg-surface); }
.lead-product-name { background: var(--bg-input); border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; font-weight: 700; color: var(--primary); font-size: 14px; margin-bottom: 20px; }
.form-control { background: var(--bg-input); border: 1.5px solid var(--border); color: var(--text); border-radius: 10px; font-family: var(--font); transition: all .2s; }
.form-control:focus { background: var(--bg-surface); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,.12); color: var(--text); }
.form-label { color: var(--text-2); font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────────────── */
.ags-footer { background: #0b0f19; padding: 72px 0 0; }
.footer-brand-name { font-size: 20px; font-weight: 800; color: white; letter-spacing: -.5px; }
.footer-brand-sub { font-size: 11px; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; transition: all .15s; }
.footer-social-btn:hover { background: var(--primary); border-color: var(--primary); color: white; }
.footer-heading { font-size: 13px; font-weight: 700; color: white; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 13px; text-decoration: none; transition: color .15s; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.5; }
.footer-contact-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--secondary); font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 0; }

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; display: block; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.5); opacity: 0; transition: opacity .2s; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail-img-wrap { position: sticky; top: 80px; background: var(--bg-input); border-radius: 24px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-detail-img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.related-card { opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .5s; }
.related-card.visible { opacity: 1; transform: none; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 64px; margin-bottom: 16px; opacity: .5; }
.empty-state-title { font-size: 20px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.empty-state-sub { font-size: 14px; color: var(--text-3); margin-bottom: 24px; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.fade-in-up { animation: fadeInUp .5s ease both; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; } .delay-4 { animation-delay: .4s; }

/* ── GET PRICE BUTTON ────────────────────────────────────── */
.get-price-btn { cursor: pointer; }
.btn-whatsapp { background: #25d366; border: none; color: white; font-weight: 700; padding: 14px 28px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: all .2s; font-size: 15px; }
.btn-whatsapp:hover { background: #1ebe5d; color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-get-quote { background: var(--gradient); border: none; color: white; font-weight: 700; padding: 14px 28px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; font-size: 15px; cursor: pointer; }
.btn-get-quote:hover { box-shadow: var(--shadow-colored); transform: translateY(-2px); }

/* ── UTILITY ─────────────────────────────────────────────── */
.btn { font-family: var(--font); }
.btn-primary { background: var(--gradient); border: none; }
.btn-primary:hover { background: var(--gradient); filter: brightness(1.08); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--gradient); border-color: transparent; }
.text-primary { color: var(--primary) !important; }
.badge.bg-primary { background: var(--gradient) !important; }

/* ── ADMIN LAYOUT ────────────────────────────────────────── */
:root {
  --z-sidebar: #0f172a; --z-sidebar-hover: rgba(255,255,255,.07);
  --z-accent: #2563eb; --z-accent-light: #eff6ff;
  --z-border: #e8ecf0; --z-bg: #f4f6f9;
  --z-text: #1e293b; --z-muted: #64748b;
  --z-card-shadow: 0 1px 4px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.04);
}
.admin-body { background: var(--z-bg); font-family: var(--font); color: var(--z-text); padding-top: 0 !important; }
.admin-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.admin-sidebar { width: 232px; min-height: 100vh; background: var(--z-sidebar); position: sticky; top: 0; flex-shrink: 0; display: flex; flex-direction: column; overflow-y: auto; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 18px 16px 14px; color: white; border-bottom: 1px solid rgba(255,255,255,.07); }
.sidebar-brand-logo { width: 32px; height: 32px; background: var(--z-accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-brand-text { font-size: 14px; font-weight: 700; line-height: 1.2; }
.sidebar-brand-sub { font-size: 10px; color: rgba(255,255,255,.4); font-weight: 400; }
.sidebar-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.28); padding: 14px 16px 6px; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin: 1px 0; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 14px; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500; text-decoration: none; transition: .13s; border-left: 3px solid transparent; }
.sidebar-nav a svg { flex-shrink: 0; opacity: .7; }
.sidebar-nav a:hover { background: var(--z-sidebar-hover); color: rgba(255,255,255,.9); }
.sidebar-nav a:hover svg { opacity: 1; }
.sidebar-nav a.active { border-left-color: var(--z-accent); background: rgba(37,99,235,.14); color: #fff; font-weight: 600; }
.sidebar-nav a.active svg { opacity: 1; }
.sidebar-nav .logout-link { color: rgba(255,100,100,.65); }
.sidebar-nav .logout-link:hover { background: rgba(220,38,38,.12); color: #fca5a5; border-left-color: #ef4444; }
.sidebar-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin: 8px 0; }
.sidebar-user-box { padding: 12px 16px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.07); margin-top: auto; }
.sidebar-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--z-accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0; }
.sidebar-user-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); }
.sidebar-user-role { font-size: 10px; color: rgba(255,255,255,.35); }

/* Topbar */
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { display: flex; align-items: center; gap: 12px; padding: 0 60px 0 20px; min-height: 56px; background: #fff; border-bottom: 1px solid var(--z-border); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.topbar-title { font-size: 15px; font-weight: 700; color: var(--z-text); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-toggle { display: none; background: none; border: none; color: var(--z-muted); cursor: pointer; padding: 6px; border-radius: 8px; transition: .13s; }
.sidebar-toggle:hover { background: var(--z-bg); color: var(--z-text); }

/* Content */
.admin-content { padding: 20px 24px; flex: 1; }

/* Cards */
.admin-card { background: #fff; border-radius: 12px; border: 1px solid var(--z-border); overflow: hidden; box-shadow: var(--z-card-shadow); }
.admin-card-header { padding: 14px 20px; border-bottom: 1px solid var(--z-border); background: #fafbfc; display: flex; align-items: center; justify-content: space-between; }
.admin-card-title { font-size: 13px; font-weight: 700; color: var(--z-text); }

/* Tables */
.admin-table { font-size: 13px; width: 100%; border-collapse: collapse; }
.admin-table thead th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--z-muted); background: #fafbfc; padding: 11px 14px; border-bottom: 1.5px solid var(--z-border); white-space: nowrap; }
.admin-table tbody td { padding: 13px 14px; vertical-align: middle; border-bottom: 1px solid #f1f3f6; color: var(--z-text); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: #f8fafc; }
.admin-table .row-actions { opacity: 0; transition: opacity .13s; }
.admin-table tbody tr:hover .row-actions { opacity: 1; }

/* Stat cards — Zoho style (white + colored icon) */
.stat-card { background: #fff; border-radius: 12px; border: 1px solid var(--z-border); box-shadow: var(--z-card-shadow); padding: 20px; display: flex; align-items: center; gap: 16px; }
.stat-icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px; }
.stat-blue .stat-icon-wrap { background: #eff6ff; }
.stat-green .stat-icon-wrap { background: #f0fdf4; }
.stat-orange .stat-icon-wrap { background: #fff7ed; }
.stat-purple .stat-icon-wrap { background: #f5f3ff; }
.stat-body { flex: 1; min-width: 0; }
.stat-val { font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--z-text); }
.stat-lbl { font-size: 12px; color: var(--z-muted); font-weight: 500; margin-top: 2px; }
.stat-blue .stat-val { color: #1d4ed8; }
.stat-green .stat-val { color: #16a34a; }
.stat-orange .stat-val { color: #ea580c; }
.stat-purple .stat-val { color: #7c3aed; }

/* Status badges */
.status-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.status-new { background: #fef9c3; color: #854d0e; }
.status-contacted { background: #dbeafe; color: #1d4ed8; }
.status-quoted { background: #f3e8ff; color: #6d28d9; }
.status-closed { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.badge-paid { background: #dcfce7; color: #166534; }
.badge-partial { background: #fef9c3; color: #854d0e; }
.badge-pending { background: #fee2e2; color: #991b1b; }
.badge-active { background: #dcfce7; color: #166534; }
.badge-inactive { background: #f1f5f9; color: #64748b; }

/* Quick actions */
.quick-action-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: white; border: 1.5px solid var(--z-border); border-radius: 12px; transition: .14s; color: var(--z-text); text-decoration: none; box-shadow: var(--z-card-shadow); }
.quick-action-card:hover { border-color: var(--z-accent); background: var(--z-accent-light); color: var(--z-accent); box-shadow: 0 4px 16px rgba(37,99,235,.1); transform: translateY(-1px); }
.qa-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--z-bg); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: .14s; }
.quick-action-card:hover .qa-icon { background: var(--z-accent-light); }
.qa-label { font-size: 13px; font-weight: 600; }
/* Admin mobile sidebar drawer */
@media (max-width: 768px) {
  .admin-sidebar { position: fixed; left: -250px; top: 0; height: 100vh; width: 232px; z-index: 1050; transition: left .26s cubic-bezier(.4,0,.2,1); }
  .admin-sidebar.mob-open { left: 0; box-shadow: 4px 0 24px rgba(0,0,0,.25); }
  .admin-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1040; }
  .admin-sidebar-overlay.mob-open { display: block; }
  .admin-mob-hamburger { display: flex !important; }
  .sidebar-toggle { display: flex !important; }
  .admin-content { padding: 12px; }
    .admin-topbar { padding: 0 56px 0 12px; min-height: 52px; }
  .admin-card { border-radius: 10px; }
  .admin-card .p-4 { padding: 14px !important; }
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .row.g-3 > [class*="col-md-"] { width: 100% !important; }
  .stat-card { padding: 14px; }
  .stat-val { font-size: 20px; }
  /* DataTables mobile */
  .dataTables_wrapper .row { margin: 0; }
  .dataTables_wrapper .dataTables_filter { float: none; text-align: left; margin-bottom: 8px; }
  .dataTables_wrapper .dataTables_length { float: none; margin-bottom: 4px; }
  .dt-buttons { float: none !important; margin-bottom: 8px; }
  .admin-table td, .admin-table th { padding: 8px 10px !important; }
  .row-actions { display: flex !important; opacity: 1 !important; visibility: visible !important; gap: 3px; flex-wrap: wrap; }
  .topbar-title { font-size: 14px; }
}
/* DataTables global polish */
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid var(--z-border);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.dataTables_wrapper .dataTables_filter input:focus { border-color: var(--z-accent); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--z-border);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  font-family: inherit;
}
.dataTables_wrapper .dataTables_info { font-size: 12px; color: var(--z-muted); padding-top: 6px; }
.dataTables_wrapper .dataTables_paginate .page-link { font-size: 12px; border-radius: 6px !important; margin: 0 1px; }
.dt-buttons .btn { border-radius: 8px !important; font-size: 12px !important; font-weight: 600 !important; }

/* ══ ADMIN TABLE SYSTEM (all list pages) ══════════════════════════════════ */
/* Card */
.tbl-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.05)}
/* Top bar */
.tbl-topbar{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid #f1f5f9;gap:12px;flex-wrap:wrap}
.tbl-count{font-size:13px;color:#64748b}
.tbl-count b{color:#111;font-weight:700}
/* Export button */
.btn-export{display:inline-flex;align-items:center;gap:5px;border:1px solid #e2e8f0;border-radius:7px;padding:5px 11px;font-size:12px;color:#374151;background:#fff;cursor:pointer;font-family:inherit}
.btn-export:hover{background:#f8fafc}
/* Global search */
.gs-wrap{position:relative;flex:1;max-width:240px}
.gs-wrap svg{position:absolute;left:9px;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none}
.gs-wrap input{width:100%;padding:7px 12px 7px 32px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;outline:none;font-family:inherit}
.gs-wrap input:focus{border-color:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.12)}
/* Column filter row */
.admin-dt thead tr.filters th{padding:5px 6px;background:#f8fafc}
.admin-dt thead tr.filters th input,.admin-dt thead tr.filters th select{width:100%;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;font-size:11px;background:#fff;outline:none;color:#374151;font-family:inherit}
.admin-dt thead tr.filters th input:focus,.admin-dt thead tr.filters th select:focus{border-color:#94a3b8}
/* Table base */
.admin-dt{border-collapse:collapse!important}
.admin-dt thead tr:first-child th{background:#fff;border-bottom:2px solid #f1f5f9;font-size:12px;font-weight:700;color:#374151;padding:11px 8px;white-space:nowrap}
.admin-dt tbody tr td{padding:10px 8px;border-bottom:1px solid #f8fafc;vertical-align:middle;font-size:13px}
.admin-dt tbody tr:last-child td{border-bottom:none}
.admin-dt tbody tr:hover td{background:#fafbfc}
/* Footer */
.tbl-foot{display:flex;align-items:center;justify-content:space-between;padding:11px 18px;border-top:1px solid #f1f5f9;flex-wrap:wrap;gap:8px}
.tbl-foot .dt-info{font-size:12px;color:#64748b}
.dt-paging .pagination{gap:2px;margin:0}
.dt-paging .page-link{border-radius:6px!important;border:1px solid #e2e8f0;font-size:12px;padding:4px 9px;color:#374151}
.dt-paging .page-item.active .page-link{background:#0f172a;border-color:#0f172a;color:#fff}
.dt-paging .page-item.disabled .page-link{color:#cbd5e1}
.dt-paging .page-link:hover:not(.disabled){background:#f8fafc}
/* DT layout-row suppression */
.dt-layout-row:first-child{display:none!important}
/* Mobile: hide low-priority columns */
@media(max-width:640px){
  .tbl-topbar{flex-direction:column;align-items:stretch}
  .gs-wrap{max-width:100%}
  .col-m{display:none!important}
  .admin-dt thead tr.filters th.col-m{display:none!important}
  .admin-dt thead tr:first-child th.col-m{display:none!important}
}
/* Standard DT footer */
.dt-foot{display:flex;align-items:center;justify-content:space-between;padding:10px 0 2px;border-top:1px solid #f1f5f9;flex-wrap:wrap;gap:8px;margin-top:4px}
.dt-info{font-size:12px;color:#64748b}
.dt-pg .pagination{gap:2px;margin:0}
.dt-pg .page-link{border-radius:6px!important;border:1px solid #e2e8f0;font-size:12px;padding:4px 9px;color:#374151}
.dt-pg .page-item.active .page-link{background:#0f172a;border-color:#0f172a;color:#fff}
.dt-pg .page-item.disabled .page-link{color:#cbd5e1}
.dt-len select{border:1px solid #e2e8f0;border-radius:6px;padding:3px 24px 3px 8px;font-size:12px;outline:none;cursor:pointer;font-family:inherit;appearance:auto}
.dt-search-wrap .dt-input,.dt-search-wrap input[type=search]{border:1px solid #e2e8f0;border-radius:8px;padding:6px 12px;font-size:13px;outline:none;font-family:inherit;min-width:200px}
.dt-search-wrap .dt-input:focus,.dt-search-wrap input[type=search]:focus{border-color:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.12)}
/* Responsive DataTables child row */
table.dataTable>tbody>tr.child ul.dtr-details { padding: 0; margin: 0; }
table.dataTable>tbody>tr.child ul.dtr-details>li { border-bottom: 1px solid var(--z-border); padding: 7px 12px; font-size: 12px; }
table.dataTable>tbody>tr.child span.dtr-title { font-weight: 700; min-width: 100px; display: inline-block; color: var(--z-muted); }
table.dataTable>tbody>tr.dtr-expanded td.dtr-control:before { background-color: var(--z-accent) !important; }
table.dataTable>tbody>tr.dtr-collapsed td.dtr-control:before { border-color: var(--z-muted) !important; }
@media (min-width: 769px) {
  .admin-mob-hamburger { display: none !important; }
  .admin-sidebar-overlay { display: none !important; }
}
.font-monospace { font-family: 'JetBrains Mono', monospace; }

/* ── CARD ENQUIRY HOVER BUTTON ───────────────────────────── */
.card-enquiry-btn {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--gradient); color: white;
  font-size: 12px; font-weight: 700; padding: 10px;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transform: translateY(100%); transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .25s;
  opacity: 0; letter-spacing: .04em;
}
.product-card:hover .card-enquiry-btn { transform: translateY(0); opacity: 1; }

/* ── PRODUCTS PAGE SIDEBAR LAYOUT ───────────────────────── */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
@media (max-width: 991px) { .products-layout { grid-template-columns: 1fr; } .products-sidebar { display: none !important; } }
.products-sidebar {
  position: sticky; top: 80px;
  background: var(--bg-surface); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 20px;
}
.sidebar-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-3); margin-bottom: 10px; margin-top: 18px;
}
.sidebar-section-title:first-child { margin-top: 0; }
.sidebar-cat-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 8px 10px; border-radius: 10px;
  background: transparent; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  text-align: left; transition: all .15s; margin-bottom: 2px;
  font-family: var(--font);
}
.sidebar-cat-btn:hover { background: var(--primary-light); color: var(--primary); }
.sidebar-cat-btn.active { background: var(--primary-light); color: var(--primary); }
.sidebar-cat-btn .cat-count { font-size: 10px; font-weight: 700; background: var(--bg-input); color: var(--text-3); padding: 1px 6px; border-radius: 999px; }
.sidebar-cat-btn.active .cat-count { background: var(--primary); color: white; }

/* Mobile filter strip */
.mobile-filter-strip {
  display: none;
  overflow-x: auto; gap: 8px; padding: 12px 0;
  scrollbar-width: none;
}
.mobile-filter-strip::-webkit-scrollbar { display: none; }
@media (max-width: 991px) { .mobile-filter-strip { display: flex; } }

/* Products sort bar */
.products-sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  background: var(--bg-surface); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 10px 16px; margin-bottom: 20px;
}

/* On-sale card tint */
.product-card.on-sale { border-color: rgba(239,68,68,.25); }
.product-card.on-sale:hover { border-color: #ef4444; }

/* ── IMAGE LOADING SKELETON ──────────────────────────────── */
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.img-skeleton {
  background: linear-gradient(90deg, var(--bg-input) 25%, var(--border) 50%, var(--bg-input) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── SEARCH ACTIVE BANNER ────────────────────────────────── */
.search-active-banner {
  background: var(--primary-light); border: 1.5px solid rgba(37,99,235,.2);
  border-radius: 12px; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; animation: fadeInUp .3s ease both;
}

/* ── ADMIN PRODUCT CATEGORY TAG ──────────────────────────── */
.product-category-tag { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }

/* ── ADMIN BADGE COLORS ──────────────────────────────────── */
.bg-secondary-subtle { background-color: #f1f5f9 !important; }
.text-secondary { color: #64748b !important; }

/* ── DARK MODE EXTRA ─────────────────────────────────────── */
body:not(.admin-body)[data-theme="dark"] .product-card { background: var(--bg-card); }
body:not(.admin-body)[data-theme="dark"] .products-sidebar { background: var(--bg-surface); }
body:not(.admin-body)[data-theme="dark"] .products-sort-bar { background: var(--bg-surface); }
body:not(.admin-body)[data-theme="dark"] .sidebar-cat-btn:hover,
body:not(.admin-body)[data-theme="dark"] .sidebar-cat-btn.active { background: rgba(37,99,235,.15); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
/* Force-hide mobile menu on desktop — overrides Bootstrap's navbar-expand-lg display:flex!important */
@media (min-width: 992px) { #mainNav { display: none !important; } }
@media (max-width: 991px) { .nav-search-wrap { display: none; } }
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 60px 0; }
  .cta-banner { padding: 36px 24px; }
  .products-grid.list-view .product-card { flex-direction: column; height: auto; }
  .products-grid.list-view .product-img-wrap { width: 100%; height: 200px; }
  .cart-sidebar { width: 100%; }
  .products-sort-bar { padding: 8px 12px; gap: 8px; }
  .section-pad { padding: 52px 0; }
  /* Mirror hero floating chips overflow fix */
  .mirror-chip { display: none !important; }
  .mirror-frame { width: 200px !important; height: 310px !important; }
  .mirror-glow { width: 250px !important; height: 350px !important; }
}

/* ── TOUCH DEVICE: enquiry button always visible ────────── */
@media (hover: none) {
  .card-enquiry-btn { transform: translateY(0) !important; opacity: 1 !important; font-size: 11px; padding: 8px 6px; }
}

/* ── SMALL MOBILE (≤ 580px) ─────────────────────────────── */
@media (max-width: 580px) {
  /* 2-column product grid */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .products-grid.list-view { grid-template-columns: 1fr !important; }

  /* Product card body */
  .product-info { padding: 10px 10px 8px; }
  .product-name { font-size: 13px; }
  .product-desc { -webkit-line-clamp: 1; }
  .product-features { display: none; }
  .product-rating { display: none; }
  .product-footer { flex-direction: column; gap: 6px; align-items: stretch; }
  .product-actions { gap: 4px; }
  .btn-add-cart { font-size: 11px; padding: 6px 8px; flex: 1; justify-content: center; }
  .product-price { font-size: 14px; }

  /* Hero stats */
  .hero-stat-divider { display: none; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .btn-hero-primary, .btn-hero-secondary { padding: 12px 20px; font-size: 14px; }

  /* Page header */
  .page-title { font-size: 24px; letter-spacing: -0.5px; }
  .page-sub { font-size: 13px; }

  /* Filter chips */
  .filter-chip { font-size: 12px; padding: 5px 12px; }

  /* Sort bar */
  .products-sort-bar { flex-direction: column; align-items: stretch; }

  /* Sections */
  .section-pad { padding: 40px 0; }
  .section-pad-sm { padding: 30px 0; }

  /* Flash sale */
  .flash-sale-header { flex-direction: column; align-items: flex-start; }
  .flash-countdown { align-self: flex-start; }

  /* Cat grid */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-icon-wrap { height: 140px; font-size: 52px; }

  /* Login modal compact */
  #loginModal > div { padding: 24px 20px !important; border-radius: 16px !important; }

  /* Nav icon buttons — bigger touch targets */
  .nav-icon-btn { width: 42px; height: 42px; }

  /* QV modal on mobile */
  #quickViewModal .qv-img-wrap { height: 240px !important; width: 100% !important; aspect-ratio: unset !important; border-radius: 0 !important; }
  #quickViewModal .modal-dialog { margin: 8px; }
  #quickViewModal .modal-content { border-radius: 16px !important; }
  #quickViewModal .qv-name { font-size: 17px; }
  #quickViewModal .qv-price { font-size: 20px; margin-bottom: 10px; }
  #quickViewModal .p-4 { padding: 16px !important; }
}

/* ── SERVICE / UNIVERSAL PRODUCT CARD (svc-prod-card) ────── */
.svc-prod-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.07);transition:transform .22s,box-shadow .22s;text-decoration:none;color:inherit;display:flex;flex-direction:column}
.svc-prod-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(0,0,0,.13)}
.svc-prod-card-img{aspect-ratio:1/1;overflow:hidden;background:#f5f3ef;display:flex;align-items:center;justify-content:center;font-size:48px;position:relative}
.svc-prod-card-img img{width:100%;height:100%;object-fit:cover}
.svc-prod-card-icon{font-size:3rem;opacity:.25}
.svc-prod-card-body{padding:10px 12px 13px;display:flex;flex-direction:column;gap:3px}
.svc-prod-cat{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--primary,#2563eb);opacity:.85}
.svc-prod-card-name{font-size:12px;font-weight:700;color:#1a1a1a;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.svc-prod-card-price{font-size:13px;font-weight:800;color:var(--primary,#2563eb);margin-top:2px}
.svc-prod-quote{color:#8a7560;font-size:11px;font-weight:600}
.svc-prod-disc{position:absolute;top:0;right:8px;width:46px;padding:17px 4px 10px;background:linear-gradient(175deg,#ff3c3c 0%,#b91c1c 100%);color:#fff;font-size:12px;font-weight:900;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:2;text-shadow:0 1px 2px rgba(0,0,0,.35);clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);line-height:1.2;filter:drop-shadow(0 3px 8px rgba(185,28,28,.6));animation:tagSway 3s ease-in-out infinite;text-align:center}
.svc-prod-disc::before{content:'';position:absolute;top:7px;left:50%;transform:translateX(-50%);width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.9)}
.svc-card-wl{position:absolute;top:8px;left:8px;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.92);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#777;transition:color .15s,transform .15s;z-index:3;flex-shrink:0}
.svc-card-wl:hover,.svc-card-wl.wishlisted{color:#ef4444}
.svc-card-wl.wishlisted svg path{fill:#ef4444;stroke:#ef4444}
.svc-card-qv{display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 0;background:#f8f7f5;border-top:1px solid #eee;font-size:11px;font-weight:600;color:#666;cursor:pointer;transition:background .15s,color .15s;text-decoration:none}
.svc-prod-card:hover .svc-card-qv{background:#0f172a;color:#fff}
.svc-prod-row{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:16px}
@media(max-width:900px){.svc-prod-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:580px){.svc-prod-row{grid-template-columns:1fr 1fr;gap:10px}}

/* ── NAVBAR COMPACT (≤ 480px) ───────────────────────────── */
@media(max-width:480px){
  .navbar-inner{gap:4px}
  .nav-icon-btn{width:32px!important;height:32px!important;border-radius:8px;flex-shrink:0}
  .dark-toggle{font-size:12px!important}
  .brand-name{font-size:14px}
  .brand-studio{font-size:9px}
  .navbar-brand img{width:28px!important;height:28px!important}
  .navbar-brand{gap:6px!important;margin-right:4px!important}
  .navbar-toggler{padding:4px!important}
}

/* ── MIRROR HERO MOBILE ──────────────────────────────────── */
@media(max-width:576px){
  .mirror-hero{padding:36px 0!important}
  .hero-title{font-size:clamp(26px,7vw,34px)!important;letter-spacing:-1px!important;margin-bottom:14px!important}
  .hero-sub{font-size:14px!important;margin-bottom:20px!important}
  .hero-cta-group{margin-bottom:28px!important;gap:10px!important}
  .hero-badge{font-size:10px!important;padding:5px 12px!important;margin-bottom:12px!important}
  .hero-stats{gap:12px!important}
  .hero-stat-num{font-size:24px!important}
  .section-title{font-size:clamp(20px,5.5vw,26px)!important;letter-spacing:-.5px!important}
}

/* ── SERVICE BANNER STACK ON SMALL MOBILE ────────────────── */
@media(max-width:480px){
  .svc-banner{grid-template-columns:1fr!important;height:auto!important}
  .svc-banner-content{padding:22px 18px!important;min-height:auto}
  .svc-banner-img{height:180px!important}
  .svc-banner-title{font-size:18px!important;letter-spacing:-.5px!important;margin-bottom:8px!important}
  .svc-banner-desc{display:block!important;font-size:12px!important;margin-bottom:14px!important}
  .svc-banner-cta{padding:9px 16px!important;font-size:11px!important}
}

/* ── FLASH SALE MOBILE ───────────────────────────────────── */
@media(max-width:576px){
  .flash-title{font-size:22px!important}
  .flash-icon{font-size:28px!important}
  .flash-countdown{padding:8px 12px!important;gap:4px!important}
  .countdown-num{font-size:20px!important}
  .countdown-block{min-width:32px!important}
}

/* ── CTA BANNER MOBILE ───────────────────────────────────── */
@media(max-width:480px){
  .cta-banner{padding:28px 18px!important;border-radius:16px!important;text-align:center}
  .cta-banner .d-flex.gap-3{flex-direction:column;align-items:center}
}

/* ── WHY CARDS 2-COL ON SMALL MOBILE ────────────────────── */
@media(max-width:480px){
  .why-grid{grid-template-columns:1fr 1fr!important;gap:12px!important}
  .why-card{padding:20px 14px!important}
  .why-icon-wrap{width:48px!important;height:48px!important;border-radius:14px!important;margin-bottom:12px!important}
  .why-title{font-size:13px!important}
  .why-desc{font-size:11px!important}
}

/* ── CATEGORY DISCOUNT GRID MOBILE ──────────────────────── */
@media(max-width:480px){
  .cat-discount-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .cat-disc-name{font-size:15px!important}
  .cat-disc-top{padding:14px 12px 8px!important}
  .cat-disc-badge{width:56px!important;height:56px!important;bottom:10px!important;left:10px!important}
  .badge-label{font-size:10px!important}
}

/* ── TRUST TICKER MOBILE ─────────────────────────────────── */
@media(max-width:480px){
  .trust-pill{padding:0 14px!important;font-size:10px!important;gap:4px!important}
  .trust-ticker-outer{height:36px!important}
}

/* ── QUICK VIEW MODAL MOBILE FULL-SCREEN ─────────────────── */
@media(max-width:576px){
  #quickViewModal .modal-dialog{margin:0;max-width:100%!important}
  #quickViewModal .modal-content{border-radius:0}
  #quickViewModal .row.g-0{flex-direction:column}
  #quickViewModal .col-md-5,.quickViewModal .col-md-7{width:100%}
}

/* ── TOAST POSITION MOBILE ───────────────────────────────── */
@media(max-width:576px){
  .toast-container{right:10px;left:10px;top:70px}
  .toast-item{min-width:0;max-width:100%}
}

/* ── GENERAL SECTION MOBILE PADDING ─────────────────────── */
@media(max-width:480px){
  .section-pad{padding:36px 0!important}
  .section-pad-sm{padding:24px 0!important}
  .svc-banner-section{padding:0 0 36px!important}
}
