/* ================================================================
   KENAKATA — MAIN STYLESHEET
   Brand color: Deep Violet #5B21B6
   ================================================================ */

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #5B21B6;   /* Deep Violet */
  --primary-light:#EDE9FE;   /* Violet tint */
  --teal:         #1B6B72;   /* Deep Teal */
  --teal-light:   #e0f0f1;
  --gold:         #D4A017;   /* Goldenrod Yellow */
  --dark:         #3D3D3D;   /* Charcoal Gray */
  --gray:         #667085;
  --gray-light:   #F9F9F9;

  /* keep these aliases so existing code doesn't break */
  --pink:         #5B21B6;
  --pink-light:   #EDE9FE;


    /* ADD THESE ↓↓↓ */
  --white: #ffffff;
  --header-h: 74px;
  --radius: 12px;

  --shadow:
    0 2px 10px rgba(0,0,0,0.06);

  --shadow-md:
    0 8px 24px rgba(0,0,0,0.10);

  --font: 'Poppins', sans-serif;
}


html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--gray-light);
  padding-top: calc(var(--header-h) + 42px); /* topbar + header */
  padding-bottom: 64px; /* mobile nav */
}
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: calc(var(--header-h) + 42px);
  pointer-events: auto;
}


a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ─── CONTAINER ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ─── TOPBAR ────────────────────────────────────────────────────── */
.topbar {
  background: var(--pink-light);
  height: 42px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9998;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: var(--pink); transition: opacity .2s; }
.topbar-right a:hover { opacity: 0.75; }
@media (max-width: 640px) { .topbar { display: none; } body { padding-top: var(--header-h); } }

/* ─── HEADER ────────────────────────────────────────────────────── */
.site-header {
  height: var(--header-h);
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 42px; left: 0; right: 0;
  z-index: 9997;
  display: flex;
  align-items: center;
}

@media (max-width: 640px) { .site-header { top: 0; } }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-text { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; line-height: 1; }
.logo-cart { color: var(--cyan); }
.logo-up   { color: var(--primary); }

/* Category toggle */
.cat-toggle-wrap { position: relative; flex-shrink: 0; }
.cat-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background .15s;
}
.cat-toggle-btn:hover { background: var(--gray-light); }
@media (max-width: 960px) { .cat-toggle-wrap { display: none; } }

/* Dropdown */
.cat-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 100;
  display: none;
  max-height: 80vh;
  overflow-y: auto;
}
.cat-dropdown.open { display: block; }
.cat-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--dark);
  transition: background .12s;
}
.cat-dropdown-item:hover { background: var(--pink-light); color: var(--pink); }
.cat-icon { font-size: 18px; flex-shrink: 0; }
.cat-arrow { margin-left: auto; color: var(--gray); }

/* Search */
.search-wrap { flex: 1; position: relative; }
.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--pink-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--pink); }
.search-icon { margin-left: 10px; color: var(--gray); flex-shrink: 0; }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 10px;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  color: var(--dark);
  min-width: 0;
}
.search-btn {
  background: var(--pink);
  color: var(--white);
  padding: 0 20px;
  height: 42px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background .15s;
  flex-shrink: 0;
}
.search-btn:hover { background: #c4007a; }

/* Search suggestions */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 200;
  max-height: 360px;
  overflow-y: auto;
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
  transition: background .12s;
  cursor: pointer;
}
.suggestion-item:hover { background: var(--gray-light); }
.suggestion-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.suggestion-item span:first-of-type { flex: 1; }
.suggestion-price { font-weight: 600; color: var(--pink); white-space: nowrap; }

/* Cart icon */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 50%;
  transition: background .15s;
  color: var(--dark);
}
.cart-icon-wrap:hover { background: var(--pink-light); }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--pink);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}
@keyframes cart-pop { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }
.cart-pop { animation: cart-pop .35s ease; }

/* ─── MOBILE NAV ─────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 998;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--gray);
  padding: 6px 12px;
  border-radius: var(--radius);
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: color .15s;
}
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--pink); }
@media (min-width: 960px) { .mobile-nav { display: none; } body { padding-bottom: 0; } }

/* Mobile drawer */
.mobile-cat-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mobile-cat-overlay.open { opacity: 1; pointer-events: all; }

.mobile-cat-drawer {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 300px;
  background: var(--white);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform .25s;
  overflow-y: auto;
}
.mobile-cat-drawer.open { transform: translateX(0); }
.mobile-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 16px;
}
.mobile-cat-header button { font-size: 18px; color: var(--gray); padding: 4px; }
.mobile-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  transition: background .12s;
}
.mobile-cat-item:hover { background: var(--pink-light); color: var(--pink); }

/* ─── PAGE HERO / SECTION HEADINGS ──────────────────────────────── */
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--pink-light), transparent);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.section-header a.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
}

/* ─── PRODUCT GRID ───────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }

/* ─── PRODUCT CARD ───────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-link { display: flex; flex-direction: column; flex: 1; }

.product-img-wrap {
  position: relative;
  padding-top: 100%;
  background: #f5f5f5;
  overflow: hidden;
}
.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .3s;
}
.product-card:hover .product-img { transform: scale(1.05); }

.discount-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--pink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
}
.free-ship-badge {
  position: absolute;
  bottom: 8px; left: 0;
  background: var(--cyan);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 0 4px 4px 0;
}

.product-info {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gray);
}
.stars .star { color: #F79009; }
.stars .star.empty { color: #ddd; }
.stars .star.half { color: #F79009; }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.price-now { font-size: 16px; font-weight: 700; color: var(--pink); }
.price-old { font-size: 12px; color: var(--gray); text-decoration: line-through; }
.product-brand { font-size: 11px; color: var(--gray); }

.btn-cart {
  margin: 0 12px 12px;
  padding: 8px;
  background: var(--gradient-cart);
  color: var(--white);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity .15s;
}
.btn-cart:hover { opacity: 0.88; }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: opacity .15s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--pink);
  padding: 11px 28px;
  border-radius: 30px;
  border: 1.5px solid var(--pink);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: background .15s;
  cursor: pointer;
}
.btn-ghost:hover { background: var(--pink-light); }
.btn-block { display: flex; width: 100%; }

/* ─── HERO BANNER ────────────────────────────────────────────────── */
.hero-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #0d1b2a 100%);
  color: var(--white);
  padding: 48px 0;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hero-text { max-width: 560px; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title em { font-style: normal; color: var(--pink); }
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat-num { font-size: 24px; font-weight: 800; color: var(--cyan); }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.6); }
@media (max-width: 768px) { .hero-img-wrap { display: none; } }

/* ─── CATEGORY PILLS ─────────────────────────────────────────────── */
.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }
.category-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.category-pill:hover, .category-pill.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

/* ─── SHOP PAGE LAYOUT ───────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }

/* Sidebar */
.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 42px + 16px);
}
@media (max-width: 900px) { .shop-sidebar { display: none; } }
.sidebar-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-bottom: 12px;
  margin-top: 16px;
}
.sidebar-heading:first-child { margin-top: 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--dark);
  transition: background .12s;
}
.sidebar-link:hover, .sidebar-link.active {
  background: var(--pink-light);
  color: var(--pink);
  font-weight: 500;
}
.sidebar-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--gray);
  background: var(--gray-light);
  padding: 1px 7px;
  border-radius: 20px;
}

/* Price range */
.price-range-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.price-range-row input {
  width: 100%;
  padding: 6px 8px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
}
.price-range-row input:focus { outline: none; border-color: var(--pink); }

/* Filter toolbar */
.filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.result-count { font-size: 14px; color: var(--gray); }
.sort-select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  background: var(--white);
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--pink); }

/* No results */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 16px;
  color: var(--gray);
}
.no-results-icon { font-size: 48px; margin-bottom: 16px; }
.no-results h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }

/* ─── CART PAGE ───────────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.cart-item-img-wrap img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
  background: #f5f5f5;
}
.cart-item-details { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.cart-item-price { font-size: 16px; font-weight: 700; color: var(--pink); margin-bottom: 10px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-subtotal { font-size: 15px; font-weight: 700; }
.cart-item-remove { color: var(--gray); font-size: 16px; transition: color .15s; }
.cart-item-remove:hover { color: var(--pink); }

.qty-ctrl { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .15s;
}
.qty-btn:hover { border-color: var(--pink); color: var(--pink); }
.qty-val { font-weight: 600; min-width: 24px; text-align: center; }

.cart-summary-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 42px + 16px);
}
.cart-summary-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.summary-row.total { font-size: 16px; font-weight: 700; border: none; padding-top: 14px; }
.free-label { color: var(--cyan); font-weight: 600; }
.cart-summary-box .btn-primary { margin-top: 16px; }
.cart-summary-box .btn-ghost { margin-top: 10px; }

.cart-empty {
  text-align: center;
  padding: 80px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cart-empty-icon { font-size: 64px; margin-bottom: 20px; }
.cart-empty h2 { font-size: 22px; margin-bottom: 8px; }
.cart-empty p { color: var(--gray); margin-bottom: 24px; }

/* ─── PRODUCT DETAIL ─────────────────────────────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
@media (max-width: 768px) { .product-detail-layout { grid-template-columns: 1fr; } }
.pd-img-main { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f5f5f5; border-radius: var(--radius); padding: 16px; }
.pd-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.pd-price-now { font-size: 28px; font-weight: 800; color: var(--pink); }
.pd-price-old { font-size: 16px; color: var(--gray); text-decoration: line-through; }
.pd-discount-pct {
  background: var(--pink-light);
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.pd-actions .btn-primary { flex: 1; }
.pd-actions .btn-ghost { flex: 1; }

/* Tabs */
.pd-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin: 24px 0 16px; }
.pd-tab {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: color .15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.pd-tab.active { color: var(--pink); border-bottom-color: var(--pink); }
.pd-tab-content { display: block; }

/* ─── CONTACT PAGE ───────────────────────────────────────────────── */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 640px;
}
.contact-card h1 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--pink); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ─── BREADCRUMB ─────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--pink); }
.breadcrumb-sep { color: var(--border); }

/* ─── BANNERS ────────────────────────────────────────────────────── */
.mini-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
@media (max-width: 640px) { .mini-banners { grid-template-columns: 1fr; } }
.mini-banner {
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.mini-banner.cyan { background: #e0f7fc; color: #006d7a; }
.mini-banner.pink { background: var(--pink-light); color: var(--pink); }
.mini-banner.purple { background: #ede7f6; color: #4a148c; }
.mini-banner-icon { font-size: 28px; }

/* ─── FLASH SALE SECTION ─────────────────────────────────────────── */
.flash-sale-header {
  background: linear-gradient(to right, #111, #1a1a2e);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.flash-sale-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.flash-sale-title span { color: #FACC15; }
.flash-timer {
  display: flex;
  gap: 6px;
}
.flash-timer-block {
  background: var(--pink);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flash-timer-sep { color: var(--white); font-size: 20px; font-weight: 800; align-self: center; }

/* ─── TOAST ──────────────────────────────────────────────────────── */
#cu-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 500;
  max-width: 320px;
  text-align: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#cu-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#cu-toast.toast-error { background: #c62828; }
@media (min-width: 960px) { #cu-toast { bottom: 24px; } }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: #fff;
  margin-top: 80px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding: 85px 24px 80px;
  align-items: flex-start;
}


@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; } }

/* Col 1 — brand + contact */
.footer-logo {
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 6px;
}
.footer-tagline { font-size: 12px; color: var(--gray); margin-bottom: 18px; }

.footer-contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: #444; line-height: 1.55; margin-bottom: 9px;
}
.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; color: #888; }
.footer-contact-row a { color: #444; }
.footer-contact-row a:hover { color: var(--pink); }

.footer-follow { font-size: 13px; font-weight: 600; color: var(--dark); margin: 18px 0 10px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px;
  border: 1.5px solid #ddd;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #555; transition: all .15s;
}
.social-btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* Cols 2-3 — links */
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-top: 4px;
  color: var(--dark);
}
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 13px; color: var(--gray); transition: color .15s; }
.footer-links a:hover { color: var(--pink); }

.footer-col {
  padding-top: 8px;
}

/* Col 4 — payment logos grid */
.payment-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 4px;
}
.payment-logo-box {
  background: #f6f6f6;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  height: 38px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 4px 6px;
}
.payment-logo-box img { max-height: 24px; max-width: 100%; object-fit: contain; }
.payment-logo-box span {
  font-size: 9px; font-weight: 800;
  text-align: center; line-height: 1.2;
}

.app-btns { display: flex; gap: 8px; margin-top: 8px; }
.app-btn {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 6px;
  background: var(--dark); color: #fff;
  transition: opacity .15s; display: inline-block;
}
.app-btn:hover { opacity: 0.8; }

.footer-bottom {
  background: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  padding: 20px 24px;
  margin-top: 10px;
}



/* ─── UTILITIES ──────────────────────────────────────────────────── */
.page-section { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-pink { color: var(--pink); }
.text-cyan { color: var(--cyan); }
.text-gray { color: var(--gray); }
.font-bold { font-weight: 700; }
.badge-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-stock.in-stock { background: #ecfdf3; color: #027a48; }
.badge-stock.out-of-stock { background: #fff1f0; color: #cc0000; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.page-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover, .page-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

/* Loading spinner */
.spinner {
  display: flex;
  justify-content: center;
  padding: 40px;
}
.spinner-ring {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Layout helpers ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.shop-layout { display: flex; gap: 24px; }
.shop-sidebar { width: 220px; flex-shrink: 0; }
.shop-main { flex: 1; }
.sidebar-cats { list-style: none; padding: 0; margin: 0; }
.sidebar-cats li a { display: block; padding: 8px 12px; border-radius: 6px; color: inherit; text-decoration: none; }
.sidebar-cats li a:hover, .sidebar-cats li a.active { background: #FDE6F4; color: #EC008C; }
.category-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; }
.cat-icon-item { display: flex; flex-direction: column; align-items: center; padding: 12px; text-align: center; border-radius: 8px; text-decoration: none; color: inherit; border: 1px solid #f0f0f0; font-size: 13px; }
.cat-icon-item:hover { border-color: #EC008C; background: #FDE6F4; }
.cat-icon-emoji { font-size: 28px; margin-bottom: 6px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.product-detail { display: flex; gap: 32px; flex-wrap: wrap; margin: 24px 0; }
.product-detail-img { flex: 0 0 360px; }
.product-detail-img img { width: 100%; border-radius: 8px; }
.product-detail-info { flex: 1; }
.product-detail-info h1 { font-size: 1.4rem; margin-bottom: 12px; }
.product-actions { display: flex; gap: 12px; margin-top: 20px; }
.cart-layout { display: flex; gap: 24px; flex-wrap: wrap; }
#cart-items { flex: 1; }
#cart-summary { width: 320px; }
.checkout-layout { display: flex; gap: 32px; flex-wrap: wrap; }
.checkout-form { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.checkout-form input, .checkout-form select, .checkout-form textarea { padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.checkout-summary { width: 300px; background: #f9f9f9; padding: 20px; border-radius: 8px; }
.contact-layout { display: flex; gap: 32px; flex-wrap: wrap; }
.contact-info, .contact-form { flex: 1; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea { padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.breadcrumb { margin-bottom: 16px; font-size: 14px; color: #666; }
.breadcrumb a { color: #EC008C; text-decoration: none; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.home-section { margin: 32px 0; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.empty-msg { color: #666; padding: 40px 0; text-align: center; }
.btn-primary { background: #5B21B6; color: white; padding: 10px 24px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-ghost { background: white; color: #EC008C; padding: 10px 24px; border: 1px solid #EC008C; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-block { width: 100%; text-align: center; display: block; }
.view-all { color: #EC008C; text-decoration: none; font-size: 14px; }
.hero-banner img { width: 100%; border-radius: 8px; max-height: 400px; object-fit: cover; }

/* ── Product Card ── */
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); display: flex; flex-direction: column; transition: box-shadow .2s; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.13); }
.product-card-link { text-decoration: none; color: inherit; flex: 1; }
.product-img-wrap { position: relative; aspect-ratio: 1; background: #f5f5f5; overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.free-delivery-badge { position: absolute; bottom: 0; left: 0; background: #00BCD4; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 0 4px 0 0; }
.product-card .discount-badge { position: absolute; top: 8px; right: 8px; background: #EC008C; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.product-info { padding: 10px; }
.product-name { font-size: 13px; color: #333; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 36px; }
.price-now { font-size: 15px; font-weight: 700; color: #00215B; }
.price-old { font-size: 12px; color: #aaa; text-decoration: line-through; margin-left: 6px; }
.product-price-row { margin-bottom: 4px; }
.product-rating .stars { color: #f5a623; font-size: 12px; }
.rating-count { font-size: 11px; color: #888; }
.btn-add-cart { margin: 0 10px 10px; padding: 8px; background: #5B21B6; color: #fff; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; width: calc(100% - 20px); font-size: 13px; }
.btn-add-cart:hover { background: #4318a0; }

/* ── Category circles ── */
.category-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
@media(max-width:768px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-circle-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #555; font-size: 13px; font-weight: 600; text-align: center; }
.cat-circle-img { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.cat-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-fallback-icon { font-size: 40px; }
.cat-circle-item:hover .cat-circle-img { box-shadow: 0 0 0 3px #EC008C; }

/* ── Product detail page ── */
.product-detail { display: flex; gap: 40px; margin: 24px 0; flex-wrap: wrap; }
.product-detail-img { flex: 0 0 360px; }
.main-img-wrap { position: relative; border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fafafa; }
.main-img-wrap img { width: 100%; display: block; }
.thumbnail-strip { display: flex; gap: 8px; margin-top: 10px; }
.thumb { width: 64px; height: 64px; object-fit: cover; border: 2px solid #eee; border-radius: 6px; cursor: pointer; }
.thumb.active, .thumb:hover { border-color: #EC008C; }
.product-detail-info { flex: 1; min-width: 280px; }
.product-detail-info h1 { font-size: 1.2rem; color: #222; margin-bottom: 12px; line-height: 1.4; }
.pd-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #888; font-size: 13px; }
.pd-rating-row .stars { color: #f5a623; }
.pd-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 14px; color: #555; }
.pd-free-ship { color: #00BCD4; font-weight: 600; }
.pd-price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.pd-price { font-size: 1.8rem; font-weight: 700; color: #EC008C; }
.pd-price-old { font-size: 1rem; color: #aaa; text-decoration: line-through; }
.pd-discount-badge { background: #EC008C; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.pd-stock { font-size: 13px; font-weight: 600; margin-left: auto; }
.pd-stock.in-stock { color: #4CAF50; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 14px; }
.qty-ctrl { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.qty-btn { width: 36px; height: 36px; border: none; background: #f5f5f5; font-size: 18px; cursor: pointer; }
.qty-btn:hover { background: #eee; }
.qty-val { padding: 0 16px; font-weight: 600; font-size: 16px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 20px; }
.btn-buy-now { flex: 1; padding: 12px; background: #D4A017; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-buy-now:hover { background: #b88a10; }
.btn-add-to-cart { flex: 1; padding: 12px; background: #5B21B6; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-add-to-cart:hover { background: #4318a0; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-tag { background: #f0f0f0; color: #555; font-size: 11px; padding: 3px 10px; border-radius: 20px; }

/* ── Product tabs ── */
.pd-tabs { display: flex; border-bottom: 2px solid #eee; margin: 32px 0 0; }
.pd-tab { padding: 12px 20px; border: none; background: none; cursor: pointer; font-size: 14px; font-weight: 600; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.pd-tab.active { color: #EC008C; border-bottom-color: #EC008C; }
.pd-tab-content { padding: 20px 0; min-height: 100px; }
.tab-panel { font-size: 14px; line-height: 1.7; color: #444; }
.tab-panel ul { padding-left: 20px; }
.tab-panel li { margin-bottom: 6px; }
.tab-panel.hidden { display: none; }
.review-summary { display: flex; align-items: center; gap: 16px; }
.review-score { font-size: 3rem; font-weight: 700; color: #333; }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #888; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: #EC008C; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.bc-sep { color: #ccc; }

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero-section {
  display: flex;
  gap: 12px;
  height: 350px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero-slider-wrap {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1628;
  z-index: 1;
}

.hero-slider { width: 100%; height: 100%; }
.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}
.slide.active { display: block; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.8);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: #333;
}
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 10;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s;
}
.dot.active { background: #EC008C; }

/* Hero sidebar */
.hero-sidebar {
  width: 310px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fce4ec;
}
.hero-sidebar img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.sidebar-placeholder { width: 100%; height: 100%; }

/* ══════════════════════════════════════
   TRUST BADGES
══════════════════════════════════════ */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 8px;
  padding: 16px 0;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-right: 1px solid #f0f0f0;
}
.trust-item:last-child { border-right: none; }
.trust-item img { width: 36px; height: 36px; object-fit: contain; }
.trust-item strong { font-size: 13px; display: block; color: #222; }
.trust-item p { font-size: 12px; color: #888; margin: 0; }

/* ══════════════════════════════════════
   ENTRY BANNER
══════════════════════════════════════ */
.entry-banner {
  margin-bottom: 16px;
  border-radius: 50px;
  overflow: hidden;
}
.entry-banner a { display: block; }
.entry-banner img {
  width: 100%; height: 255px;
  object-fit: cover; display: block;
  border-radius: 50px;
}
.entry-banner-placeholder {
  display: flex;
  width: 100%; height: 170px;
  border-radius: 50px;
  overflow: hidden;
}

/* ══════════════════════════════════════
   FLASH SALE
══════════════════════════════════════ */
.flash-sale-section {
  background: linear-gradient(90deg, #0a1628, #1565c0);
  border-radius: 12px;
  padding: 20px 20px 0;
  margin-bottom: 24px;
  overflow: hidden;
}
.flash-sale-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.flash-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.flash-icon { font-size: 1.4rem; }
.flash-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.timer-block {
  background: #111;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  min-width: 44px;
  text-align: center;
}
.timer-sep { color: #fff; font-weight: 900; font-size: 1.2rem; }
.shop-more-btn {
  margin-left: auto;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 24px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.shop-more-btn:hover { background: #fff; color: #333; }

/* Flash sale product cards */
.flash-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-bottom: 20px;
}
.flash-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s;
}
.flash-card:hover { transform: translateY(-2px); }
.flash-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #f5f5f5;
  overflow: hidden;
}
.flash-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flash-info { padding: 8px; flex: 1; }
.flash-name {
  font-size: 12px;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 34px;
  margin-bottom: 6px;
}
.flash-sold {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #333;
}
.sold-bar {
  height: 4px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}
.sold-bar div {
  height: 100%;
  background: #111;
  border-radius: 2px;
}
.flash-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 8px;
}
.flash-prices { display: flex; flex-direction: column; }
.flash-price { font-size: 13px; font-weight: 700; color: #00215B; }
.flash-old { font-size: 11px; color: #aaa; text-decoration: line-through; }
.flash-discount-badge {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  position: relative;
}
.flash-discount-badge::before {
  content: attr(data-pct);
}

/* ══════════════════════════════════════
   CART PAGE
══════════════════════════════════════ */
.page-cart { padding: 24px 0 48px; }
.page-title { font-size: 1.5rem; margin-bottom: 24px; color: #222; }

.cart-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.cart-items-col { flex: 1; min-width: 0; }
.cart-summary-col { width: 320px; flex-shrink: 0; }

/* Cart header row */
.cart-header-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 32px;
  gap: 12px;
  padding: 10px 16px;
  background: #f8f8f8;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  border-bottom: 1px solid #eee;
}

/* Cart item */
.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 32px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}
.cart-item:last-child { border-radius: 0 0 8px 8px; }
.cart-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-item-left img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.cart-item-meta { display: flex; flex-direction: column; gap: 4px; }
.cart-item-name {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-name:hover { color: #EC008C; }
.free-ship-badge {
  background: #e0f7fa;
  color: #00838f;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  width: fit-content;
}
.cart-item-price { font-size: 14px; font-weight: 600; color: #333; }
.cart-item-subtotal { font-size: 14px; font-weight: 700; color: #EC008C; }
.cart-item-remove {
  background: none; border: none;
  color: #bbb; font-size: 16px;
  cursor: pointer; padding: 4px;
  border-radius: 4px;
}
.cart-item-remove:hover { color: #e53935; background: #ffeaea; }

/* Cart empty */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
}
.cart-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.cart-empty h2 { color: #333; margin-bottom: 8px; }
.cart-empty p { color: #888; margin-bottom: 24px; }

/* Summary box */
.cart-summary-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: calc(var(--header-h) + 42px + 16px);
}

.cart-summary-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #555;
  padding: 6px 0;
}
.summary-divider { border-top: 2px solid #f0f0f0; margin: 8px 0; }
.total-row { font-size: 16px; font-weight: 700; color: #222; }
.total-amount { color: #EC008C; font-size: 1.2rem; }
.free-label { color: #4CAF50; font-weight: 700; }
.cart-payment-icons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cart-payment-icons span {
  background: #f5f5f5;
  color: #555;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section { height: auto; flex-direction: column; }
  .hero-sidebar { width: 100%; height: 160px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
  .flash-products { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { flex-direction: column; }
  .cart-summary-col { width: 100%; }
  .cart-header-row { display: none; }
  .cart-item { grid-template-columns: 1fr; }
}
/* ── Product SKU & Voucher rows ── */
.pd-sku-row { font-size: 12px; color: #aaa; margin: 4px 0 12px; }
.pd-sku-row span { color: #888; }
.pd-voucher-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; color: #555; }
.pd-voucher-chip { background: #fff; border: 1.5px solid #EC008C; color: #EC008C; border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }

/* ── Footer contact rows ── */
.footer-follow { font-size: 13px; font-weight: 600; color: #181717; margin: 18px 0 10px; }


@media (max-width: 540px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 50px 0;
    gap: 35px;
  }
}



/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.page-contact { padding: 40px 0 60px; }
.page-contact .page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Info card */
.contact-info {
  background: var(--teal);
  color: #fff;
  border-radius: 16px;
  padding: 36px 32px;
}
.contact-info h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: #fff;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-size: 13px;
  opacity: .75;
  margin-bottom: 2px;
}
.contact-info-text span,
.contact-info-text a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.contact-info-text a:hover { text-decoration: underline; }

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.contact-social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background .2s;
}
.contact-social-btn:hover { background: rgba(255,255,255,.3); }

/* Form card */
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.contact-form-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .contact-form-grid { grid-template-columns: 1fr; }
}
.contact-form-card .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form-card label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
  background: #fafafa;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--teal);
  background: #fff;
}
.contact-form-card textarea { resize: vertical; min-height: 120px; }
.contact-form-card .full-span { grid-column: span 2; }
@media (max-width: 480px) {
  .contact-form-card .full-span { grid-column: span 1; }
}
.contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-submit-row .btn-teal {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.contact-submit-row .btn-teal:hover { background: #154f55; }
.contact-success {
  display: none;
  align-items: center;
  gap: 8px;
  color: #2e7d32;
  font-size: 14px;
  font-weight: 600;
}
.contact-success.show { display: flex; }

/* Map embed */
.contact-map {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  border: 2px dashed #ccc;
}
/* ─── SPEC TABLE ─────────────────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table tr:nth-child(even) { background: var(--gray-light); }
.spec-key { padding: 9px 14px; font-weight: 600; color: var(--dark); width: 38%; border-bottom: 1px solid #eee; }
.spec-val { padding: 9px 14px; color: var(--gray); border-bottom: 1px solid #eee; }

/* ─── REVIEW CARDS ───────────────────────────────────────────────── */
.review-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.review-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.review-author { font-weight: 700; color: var(--dark); }
.review-date { color: var(--gray); font-size: 13px; margin-left: auto; }
.review-text { color: #555; font-size: 14px; line-height: 1.6; }

/* ─── CHECKOUT IMPROVEMENTS ──────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-weight: 600; font-size: 13px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border: 1.5px solid #ddd; border-radius: 8px;
  font-size: 14px; font-family: inherit; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.payment-options { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border: 1.5px solid #ddd; border-radius: 8px; cursor: pointer; font-weight: 500; }
.payment-option:has(input:checked) { border-color: var(--primary); background: var(--pink-light); }
.payment-extra { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; padding: 14px;
  background: var(--gray-light); border-radius: 8px; }
.payment-extra label { font-size: 13px; font-weight: 600; }
.payment-extra input { padding: 9px 12px; border: 1.5px solid #ddd; border-radius: 7px; font-size: 14px; }
.hidden { display: none !important; }
.summary-items { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.summary-divider { border-top: 1px solid #eee; margin: 8px 0; }
.summary-note { font-size: 12px; color: var(--gray); margin-top: 10px; }
