/* ============================================================
   REZINE — Premium Resin Shop
   Design System: Artisan Luxe
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---------------------------------------- */
:root {
  --primary:       #0d9488;
  --primary-dark:  #0a7a70;
  --primary-light: #ccfbf1;
  --navy:          #0f172a;
  --navy-mid:      #1e293b;
  --slate:         #475569;
  --muted:         #94a3b8;
  --gold:          #d4a853;
  --gold-light:    #fef3c7;
  --surface:       #f8fafc;
  --bg:            #ffffff;
  --border:        #e2e8f0;
  --border-light:  #f1f5f9;
  --text:          #1e293b;
  --text-light:    #64748b;
  --success:       #10b981;
  --error:         #ef4444;
  --warning:       #f59e0b;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:        0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:     0 24px 64px rgba(0,0,0,0.15);
  --transition:    all 0.25s cubic-bezier(0.4,0,0.2,1);
  --header-h:      72px;
}

/* ---- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { color: var(--slate); }

/* ---- Layout ----------------------------------------------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 12px rgba(13,148,136,0.35);
}
.site-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.site-logo .logo-text span { color: var(--primary); }

/* Search bar */
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.header-search form { display: flex; align-items: center; }
.header-search input {
  width: 100%;
  padding: 10px 44px 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  background: var(--surface);
  transition: var(--transition);
  outline: none;
  color: var(--text);
}
.header-search input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--slate);
  padding: 4px;
  display: flex;
  transition: var(--transition);
}
.header-search button:hover { color: var(--primary); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--navy);
  font-size: 20px;
  transition: var(--transition);
  background: none;
  border: none;
}
.header-icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  border: 2px solid #fff;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  background: var(--navy);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 14px 18px;
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-bottom-color: var(--primary);
  background: rgba(255,255,255,0.06);
}
.nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 500;
  border-top: 3px solid var(--primary);
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 13.5px;
  color: var(--text);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}
.nav-dropdown a:hover { background: var(--primary-light); color: var(--primary); padding-left: 28px; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.slide {
  display: none;
  position: relative;
  min-height: 600px;
  align-items: center;
}
.slide.active { display: flex; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,23,42,0.88) 40%, rgba(13,148,136,0.35) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 60px;
  animation: slideIn 0.7s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13,148,136,0.25);
  border: 1px solid rgba(13,148,136,0.5);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.slide-title em { font-style: normal; color: var(--gold); }
.slide-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.slide-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}
.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
}
.slider-arrow {
  pointer-events: all;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(13,148,136,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.45);
  background: linear-gradient(135deg, #0f9d91, #087a70);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8862b);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212,168,83,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,83,0.45); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-icon { padding: 10px; border-radius: var(--radius-sm); gap: 0; }

.btn-danger { background: var(--error); color: #fff; border-color: var(--error); }
.btn-danger:hover { background: #dc2626; transform: translateY(-2px); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-message {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  animation: fadeDown 0.4s ease;
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.flash-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.flash-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.flash-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.section-title {
  margin-bottom: 14px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}
.section-header .divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 3px;
  margin: 16px auto 0;
}

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.categories-section { background: var(--surface); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.category-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
}
.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card-img img { transform: scale(1.08); }
.category-card-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.category-card-body { padding: 18px 14px; }
.category-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}
.category-card-body span {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--surface);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-no-img {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  opacity: 0.4;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
}

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-sale    { background: var(--error); color: #fff; }
.badge-new     { background: var(--primary); color: #fff; }
.badge-featured{ background: var(--gold); color: #fff; }
.badge-out     { background: var(--slate); color: #fff; }

.product-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.8);
}
.product-card:hover .product-wishlist { opacity: 1; transform: scale(1); }
.product-wishlist:hover { background: var(--error); color: #fff; transform: scale(1.1); }

.product-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.product-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  flex: 1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name:hover { color: var(--primary); }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.product-price.sale { color: var(--error); }
.product-price-original {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-add-cart {
  flex: 1;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-add-cart:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-add-cart:disabled { background: var(--muted); cursor: not-allowed; }
.btn-view-product {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  cursor: pointer;
  transition: var(--transition);
}
.btn-view-product:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail { padding: 60px 0; }
.product-gallery {
  position: sticky;
  top: 100px;
}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1;
  margin-bottom: 12px;
  border: 1.5px solid var(--border);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}
.product-price-detail {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.price-main { font-size: 2rem; font-weight: 700; color: var(--primary); }
.price-old  { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; }
.price-save { background: #fee2e2; color: var(--error); padding: 3px 10px; border-radius: 50px; font-size: 13px; font-weight: 600; }

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.product-meta-item { font-size: 13px; color: var(--slate); }
.product-meta-item strong { display: block; color: var(--navy); font-weight: 600; }

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 20px;
}
.qty-btn {
  width: 42px; height: 44px;
  background: var(--surface);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--navy);
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input {
  width: 56px; height: 44px;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page { padding: 60px 0; }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.cart-table { background: var(--bg); border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
}
.cart-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border); }
.cart-item-name { font-weight: 600; color: var(--navy); font-size: 14px; }
.cart-remove-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; transition: var(--transition); }
.cart-remove-btn:hover { color: var(--error); }
.qty-input-small { width: 56px; padding: 6px 8px; text-align: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; }

.cart-summary {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.cart-summary h3 { margin-bottom: 24px; font-size: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--slate);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  border-top: 2px solid var(--border);
  margin-top: 8px;
}
.summary-total span:last-child { color: var(--primary); font-size: 1.3rem; }
.free-shipping-bar { margin: 16px 0; }
.free-shipping-bar p { font-size: 12px; color: var(--slate); margin-bottom: 8px; }
.progress-bar-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--gold)); border-radius: 3px; transition: width 0.4s ease; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 60px 0; }
.checkout-form-section {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 36px;
}
.checkout-form-section h2 { font-size: 1.3rem; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-label .req { color: var(--error); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.form-control::placeholder { color: var(--muted); }
.form-control.error { border-color: var(--error); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 6px; display: block; }
.form-hint  { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--surface);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-no-img { height: 100%; background: linear-gradient(135deg, var(--primary-light), #e0f2fe); display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: 0.5; }
.blog-card-body { padding: 24px; }
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  align-items: center;
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card:hover .blog-card-title { color: var(--primary); }
.blog-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.65; margin-bottom: 20px; }
.blog-read-more { color: var(--primary); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.blog-read-more:hover { gap: 8px; }

/* ============================================================
   ORDER SUCCESS
   ============================================================ */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.success-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 56px;
  text-align: center;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.5s cubic-bezier(0.4,0,0.2,1);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary-light), #ccfbf1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
}
.success-card h1 { font-size: 1.8rem; margin-bottom: 12px; }
.order-number-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Inter', monospace;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin: 16px 0;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: linear-gradient(135deg, var(--surface) 0%, #e0f2fe 100%);
}
.auth-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 48px;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border);
}
.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo .logo-mark {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  font-size: 28px;
}
.auth-card h1 { text-align: center; font-size: 1.8rem; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 32px; }
.auth-divider { text-align: center; margin: 20px 0; position: relative; }
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span { background: var(--bg); padding: 0 12px; position: relative; font-size: 13px; color: var(--muted); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   INFO BARS & BANNERS
   ============================================================ */
.trust-bar {
  background: var(--primary);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 13.5px;
  font-weight: 500;
}
.trust-item svg, .trust-item span:first-child { font-size: 22px; opacity: 0.8; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(13,148,136,0.2), transparent 60%);
  pointer-events: none;
}
.newsletter-section h2 { color: #fff; margin-bottom: 12px; }
.newsletter-section p  { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 32px; }
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255,255,255,0.15);
}
.newsletter-form input {
  flex: 1;
  padding: 14px 24px;
  border: none;
  outline: none;
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: var(--transition);
}
.newsletter-form button:hover { background: #b8862b; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { color: #fff; font-size: 1.4rem; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-col h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary); }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-brand .logo-mark { width: 36px; height: 36px; font-size: 16px; }
.sidebar-brand .logo-text { color: #fff; font-size: 1.2rem; }
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  padding: 16px 10px 8px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-link.active { background: var(--primary); color: #fff; }
.sidebar-link .icon { font-size: 18px; width: 22px; text-align: center; }
.sidebar-badge {
  margin-left: auto;
  background: var(--error);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
}
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Admin Main */
.admin-main {
  flex: 1;
  margin-left: 260px;
  background: #f1f5f9;
  min-height: 100vh;
}
.admin-topbar {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.admin-topbar h1 { font-size: 1.1rem; font-family: 'Inter', sans-serif; color: var(--navy); font-weight: 700; }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
}
.admin-user .avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.admin-content { padding: 32px; }

/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.stat-icon.teal  { background: var(--primary-light); color: var(--primary); }
.stat-icon.navy  { background: #dbeafe; color: #1d4ed8; }
.stat-icon.gold  { background: var(--gold-light); color: #92400e; }
.stat-icon.green { background: #d1fae5; color: #065f46; }
.stat-info .label { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.stat-info .value { font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-info .sub   { font-size: 12px; color: var(--success); margin-top: 4px; font-weight: 500; }

/* Admin Table */
.admin-card {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}
.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-card-header h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
}
.admin-card-body { padding: 24px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  vertical-align: middle;
  color: var(--text);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface); }
.admin-table img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-badge::before { content: '●'; font-size: 8px; }
.status-pending    { background: #fef3c7; color: #92400e; }
.status-confirmed  { background: #d1fae5; color: #065f46; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped    { background: #ede9fe; color: #4c1d95; }
.status-delivered  { background: #d1fae5; color: #065f46; }
.status-cancelled  { background: #fee2e2; color: #991b1b; }
.status-open    { background: #fee2e2; color: #991b1b; }
.status-replied { background: #d1fae5; color: #065f46; }
.status-closed  { background: var(--border); color: var(--slate); }

/* Admin Login */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.admin-login-page::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,148,136,0.2), transparent 60%);
  top: -100px; left: -100px;
}
.admin-login-page::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,168,83,0.1), transparent 60%);
  bottom: -80px; right: -80px;
}
.admin-login-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.admin-login-card .logo-text { color: #fff; }
.admin-login-card h1 { color: #fff; font-size: 1.8rem; }
.admin-login-card .form-label { color: rgba(255,255,255,0.8); }
.admin-login-card .form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.admin-login-card .form-control::placeholder { color: rgba(255,255,255,0.35); }
.admin-login-card .form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--primary);
}

/* Admin Form Styling */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-grid.full { grid-template-columns: 1fr; }
.image-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
  position: relative;
}
.image-upload-zone:hover { border-color: var(--primary); background: var(--primary-light); }
.image-upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-upload-zone .upload-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.4; }
.image-upload-zone p { font-size: 14px; color: var(--slate); }
.uploaded-images { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.uploaded-img-preview {
  position: relative;
  width: 90px; height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.uploaded-img-preview img { width: 100%; height: 100%; object-fit: cover; }
.remove-img-btn {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toggle switch */
.toggle-switch { display: flex; align-items: center; gap: 10px; }
.toggle-input { display: none; }
.toggle-label {
  width: 48px; height: 26px;
  background: var(--border);
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.toggle-label::after {
  content: '';
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px; left: 3px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-input:checked + .toggle-label { background: var(--primary); }
.toggle-input:checked + .toggle-label::after { transform: translateX(22px); }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.empty-state .empty-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.5; }
.empty-state h3 { font-size: 1.2rem; color: var(--slate); margin-bottom: 10px; }
.empty-state p { font-size: 14px; max-width: 360px; margin: 0 auto 24px; }

/* ============================================================
   SUPPORT PAGE
   ============================================================ */
.support-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.support-hero h1 { color: #fff; margin-bottom: 16px; }
.support-hero p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto; }
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 60px 0;
  align-items: start;
}
.support-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  margin-bottom: 16px;
  transition: var(--transition);
}
.support-info-card:hover { border-color: var(--primary); transform: translateX(4px); }
.support-info-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.support-info-card h4 { margin-bottom: 4px; font-size: 15px; }
.support-info-card p { font-size: 13px; color: var(--text-light); }

/* ============================================================
   PRODUCT FILTERS SIDEBAR
   ============================================================ */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.filters-sidebar {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.filter-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--slate);
  cursor: pointer;
  transition: var(--transition);
}
.filter-item:hover { color: var(--primary); }
.filter-item input[type=checkbox] { accent-color: var(--primary); }
.filter-count { margin-left: auto; font-size: 12px; color: var(--muted); }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  animation: slideUp 0.3s ease;
  border-left: 4px solid var(--primary);
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--error); }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: var(--bg);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-xl);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--slate); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--primary-light); color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .cart-grid    { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .support-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .announcement-bar { font-size: 12px; }
  .header-search { display: none; }
  .mobile-menu-toggle { display: flex; }
  .main-nav .nav-list { display: none; }
  .slide-content { padding: 48px 32px; }
  .slide-title { font-size: 2rem; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-items { gap: 20px; }
  .checkout-form-section { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-content { padding: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-grid { grid-template-columns: 1fr; }
  .cart-table { overflow-x: auto; }
  .product-detail-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .product-detail .product-info { order: 2; }
  .product-detail .product-gallery { order: 1; }
  .promo-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-img { height: 180px; }
  .slide { min-height: 420px; }
  .slide-content { padding: 32px 24px; }
  .auth-card { padding: 32px 24px; }
  .success-card { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-table { font-size: 13px; }
  .admin-table td, .admin-table th { padding: 10px 12px; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--muted); }
.text-navy    { color: var(--navy); }
.text-danger  { color: var(--error); }
.text-success { color: var(--success); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.border { border: 1.5px solid var(--border); }
.bg-surface { background: var(--surface); }
.p-24 { padding: 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Rich text content (blog posts, product descriptions) */
.rich-content h2 { margin: 28px 0 14px; font-size: 1.5rem; }
.rich-content h3 { margin: 22px 0 10px; font-size: 1.2rem; }
.rich-content p  { margin-bottom: 16px; color: var(--slate); line-height: 1.75; }
.rich-content ul, .rich-content ol { padding-left: 24px; margin-bottom: 16px; }
.rich-content li { margin-bottom: 8px; color: var(--slate); line-height: 1.65; }
.rich-content img { border-radius: var(--radius); margin: 24px 0; }
.rich-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--navy);
}
.rich-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.rich-content th, .rich-content td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; }
.rich-content th { background: var(--surface); font-weight: 600; }
