/* ============================================================
   SHOP CLEAN — Light Minimal E-Commerce Template
   ============================================================ */

/* ── 1. Variables ─────────────────────────────────────────── */
:root {
  --primary: #0f766e;
  --primary-dark: #0d6460;
  --secondary: #f97316;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-card2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --white: #ffffff;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --transition: 0.2s ease;
  --font: 'Nunito', -apple-system, sans-serif;
  --nav-h: 64px;
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }
ul { list-style: none; }

/* ── 3. Layout ────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-dark { background: var(--bg-card2); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }

/* ── 4. Announcement Bar ──────────────────────────────────── */
.announcement-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.announcement-bar .sep { margin: 0 12px; opacity: 0.6; }

/* ── 5. Navbar ────────────────────────────────────────────── */
.navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: rgba(15,118,110,0.04); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: none;
  border: none;
  transition: color var(--transition), background var(--transition);
}
.nav-icon:hover, .nav-icon.active { color: var(--text); background: rgba(15,118,110,0.04); }
.nav-icon .badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.nav-back {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-back:hover { color: var(--text); }

/* Minimal navbar (checkout) */
.navbar-minimal .navbar-inner { justify-content: space-between; }
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.checkout-steps .step.active { color: var(--primary); font-weight: 600; }
.checkout-steps .step-sep { color: var(--border); }

/* Search dropdown */
.search-bar-dropdown {
  display: none;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.search-bar-dropdown.open { display: block; }
.search-bar-dropdown .container {
  display: flex;
  gap: 8px;
}
.search-bar-dropdown input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.search-bar-dropdown input:focus { border-color: var(--primary); }
.search-bar-dropdown button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.search-bar-dropdown button:hover { background: var(--primary-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 24px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: rgba(15,118,110,0.03); }

/* ── 6. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(15,118,110,0.4); }
.btn-ghost {
  background: rgba(15,118,110,0.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(15,118,110,0.08); border-color: var(--text-dim); }
.btn-white {
  background: #fff;
  color: #111;
}
.btn-white:hover { background: #f1f5f9; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; }
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* ── 7. Section Headings ──────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.section-tag {
  display: inline-block;
  background: rgba(15,118,110,0.15);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.link-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  transition: color var(--transition);
}
.link-all:hover { color: var(--primary-dark); }

/* ── 8. Hero ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h) - 36px);
  max-height: 700px;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 64px 64px;
  background: var(--bg-card);
}
.hero-tag {
  display: inline-block;
  background: rgba(15,118,110,0.15);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
}
.hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  background: var(--bg-card2);
  overflow: hidden;
}
.hero-img-wrap {
  width: 100%;
  height: 100%;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(8px);
}
.hero-badge .badge-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.hero-badge .badge-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── 9. Category Bar ──────────────────────────────────────── */
.category-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.cat-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.cat-pill:hover { color: var(--text); background: rgba(15,118,110,0.04); }
.cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── 10. Product Grid + Cards ─────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-card2);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-img-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition);
}
.product-card:hover .product-img-actions { opacity: 1; transform: translateX(0); }
.product-img-actions button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.product-img-actions button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.product-badge.new { background: var(--green); }
.product-body {
  padding: 16px;
}
.product-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 10px;
}
.product-rating span { color: var(--text-muted); }
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.product-price-old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.product-add-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.product-add-btn:hover { background: var(--primary-dark); transform: scale(1.1); }

/* List view */
.products-grid.list-view {
  grid-template-columns: 1fr;
}
.products-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 160px 1fr;
}
.products-grid.list-view .product-img-wrap {
  aspect-ratio: auto;
  height: 160px;
}

/* Skeleton loader */
.product-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 0.8;
  position: relative;
}
.product-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(15,118,110,0.03) 50%, transparent 100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── 11. Banner Strip ─────────────────────────────────────── */
.banner-strip { padding: 48px 0; }
.banner-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  height: 480px;
}
.banner-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banner-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
}
.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.banner-card:hover img { transform: scale(1.04); }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.banner-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}
.banner-overlay h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

/* ── 12. Trust Section ────────────────────────────────────── */
.trust-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.trust-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── 13. Footer ───────────────────────────────────────────── */
.footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* ── 14. Page Header ──────────────────────────────────────── */
.page-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.page-header h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.page-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}
.page-header-tall { padding: 72px 0; }

/* ── 15. Shop Layout ──────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 64px;
  align-items: start;
}
.shop-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.filter-block { margin-bottom: 28px; }
.filter-block h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.filter-item:hover { color: var(--text); }
.filter-item input[type="radio"],
.filter-item input[type="checkbox"] { accent-color: var(--primary); }
.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  margin-bottom: 8px;
}
.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.filter-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.results-count { font-size: 13px; color: var(--text-muted); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn.active, .page-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── 16. Breadcrumb ───────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-bar a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar span { margin: 0 8px; }

/* ── 17. Product Detail ───────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 24px;
  align-items: start;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 1;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover { border-color: var(--primary); }
.product-badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.product-name {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.product-info .product-rating {
  font-size: 14px;
  margin-bottom: 16px;
}
.product-info .product-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.product-info .product-price-old {
  font-size: 16px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-bottom: 20px;
}
.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.product-meta span strong { color: var(--text); }
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-control button {
  width: 40px;
  height: 44px;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  transition: background var(--transition);
}
.qty-control button:hover { background: var(--border); }
.qty-control input {
  width: 52px;
  height: 44px;
  background: var(--bg);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}
.product-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Reviews */
.review-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}
.review-form h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.star-picker {
  display: flex;
  gap: 4px;
  font-size: 28px;
  color: var(--border);
  margin-bottom: 16px;
  cursor: pointer;
}
.star-picker span.active, .star-picker span:hover { color: var(--secondary); }
.review-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  resize: vertical;
  outline: none;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.review-form textarea:focus { border-color: var(--primary); }

/* ── 18. Cart ─────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 40px 24px 64px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-card2);
}
.cart-item-name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.cart-item-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--red); }
.cart-empty { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.cart-empty h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }
.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.cart-summary h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin: 16px 0 20px;
}
.coupon-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.coupon-row input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.coupon-row input:focus { border-color: var(--primary); }
.coupon-row button {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.coupon-row button:hover { background: var(--primary); border-color: var(--primary); }

/* ── 19. Checkout ─────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 40px 24px 64px;
  align-items: start;
}
.checkout-form-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.checkout-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.payment-option:has(input:checked) { border-color: var(--primary); background: rgba(15,118,110,0.06); }
.payment-option input { accent-color: var(--primary); }
.payment-label strong { display: block; font-size: 14px; font-weight: 600; }
.payment-label small { font-size: 12px; color: var(--text-muted); }
.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.checkout-summary h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.checkout-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.checkout-item img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-card2);
}
.checkout-item-name { font-size: 13px; font-weight: 600; flex: 1; }
.checkout-item-price { font-size: 14px; font-weight: 700; }

/* ── 20. Auth Pages ───────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 440px;
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; }
.auth-switch { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 20px; }
.auth-switch a { color: var(--primary); font-weight: 600; }

/* ── 21. Account / Profile ────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.account-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.account-avatar {
  font-size: 48px;
  text-align: center;
  margin-bottom: 8px;
}
.account-name {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a, .account-sidebar > a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.account-nav a:hover, .account-nav a.active,
.account-sidebar > a:hover, .account-sidebar > a.active {
  background: rgba(15,118,110,0.1);
  color: var(--primary);
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.profile-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.order-row:last-child { border-bottom: none; }
.order-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.status-delivered { background: rgba(34,197,94,0.15); color: var(--green); }
.status-processing { background: rgba(15,118,110,0.15); color: var(--primary); }
.status-pending { background: rgba(245,158,11,0.15); color: var(--secondary); }

/* ── 22. About Page ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
.about-stat span { font-size: 12px; color: var(--text-muted); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.value-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.value-icon { font-size: 36px; margin-bottom: 14px; }
.value-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── 23. Contact Page ─────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-info > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.contact-item p { font-size: 13px; color: var(--text-muted); }
.contact-form { display: flex; flex-direction: column; }
#contactStatus { margin-top: 12px; font-size: 13px; }

/* ── 24. Order Success ────────────────────────────────────── */
.success-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: var(--green);
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-card h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.success-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.order-info {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── 25. Wishlist Empty ───────────────────────────────────── */
.wishlist-empty { text-align: center; padding: 80px 20px; grid-column: 1/-1; }
.wishlist-empty .empty-icon { font-size: 64px; margin-bottom: 16px; }
.wishlist-empty h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.wishlist-empty p { color: var(--text-muted); margin-bottom: 24px; }

/* ── 26. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; max-height: none; }
  .hero-visual { display: none; }
  .hero-content { padding: 56px 24px; }
  .banner-grid { grid-template-columns: 1fr; height: auto; }
  .banner-card { height: 240px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-img { width: 80px; height: 80px; }
  .auth-card { padding: 28px 20px; }
}

/* ── Shop Clean Specific Styles ───────────────────────────── */

/* Topbar */
.topbar { background: var(--primary); color: #fff; padding: 7px 0; font-size: 12px; font-weight: 600; }
.topbar-inner { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Nav Search */
.nav-search { flex: 1; max-width: 480px; display: flex; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; transition: border-color var(--transition); background: var(--bg); }
.nav-search:focus-within { border-color: var(--primary); }
.nav-search input { flex: 1; border: none; outline: none; padding: 10px 18px; font-size: 14px; font-family: var(--font); background: transparent; color: var(--text); }
.nav-search button { background: var(--primary); border: none; color: #fff; padding: 0 18px; cursor: pointer; transition: background var(--transition); display: flex; align-items: center; }
.nav-search button:hover { background: var(--primary-dark); }

/* Category Nav */
.cat-nav { border-top: 1px solid var(--border); background: var(--bg-card); }
.cat-nav-inner { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-link { flex-shrink: 0; padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--text-muted); border-bottom: 2px solid transparent; transition: all var(--transition); white-space: nowrap; }
.cat-link:hover, .cat-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.sale-link { color: var(--secondary) !important; }

/* Hero (Shop Clean variant) */
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-search { display: flex; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; max-width: 440px; margin-bottom: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.hero-search input { flex: 1; border: none; outline: none; padding: 14px 20px; font-size: 15px; font-family: var(--font); background: transparent; color: var(--text); }
.hero-search button { background: var(--primary); border: none; color: #fff; padding: 0 24px; font-size: 14px; font-weight: 700; font-family: var(--font); cursor: pointer; transition: background var(--transition); }
.hero-search button:hover { background: var(--primary-dark); }
.hero-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.hero-tags a { color: var(--primary); font-weight: 700; padding: 3px 10px; background: rgba(15,118,110,0.08); border-radius: 20px; transition: background var(--transition); }
.hero-tags a:hover { background: rgba(15,118,110,0.15); }
.hero-image { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card { position: absolute; bottom: 20px; left: 20px; background: #fff; border-radius: 12px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.float-icon { font-size: 28px; }
.hero-float-card strong { display: block; font-size: 18px; font-weight: 900; color: var(--primary); line-height: 1; }
.hero-float-card span { font-size: 11px; color: var(--text-muted); }

/* Category Cards */
.cat-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--text); transition: all var(--transition); }
.cat-card:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cat-card-icon { font-size: 32px; }

/* Section Gray */
.section-gray { background: var(--bg-gray, #f1f5f9); }

/* Promo Banner */
.promo-banner { background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%); padding: 64px 0; }
.promo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.promo-text { color: #fff; }
.promo-tag { display: inline-block; background: rgba(255,255,255,0.2); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.promo-text h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 900; line-height: 1.15; margin-bottom: 14px; }
.promo-text p { font-size: 15px; opacity: 0.85; margin-bottom: 24px; line-height: 1.6; }
.promo-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }

/* Responsive additions for Shop Clean */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .cat-cards { grid-template-columns: repeat(3, 1fr); }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-img { display: none; }
}
@media (max-width: 768px) {
  .nav-search { display: none; }
  .cat-nav { display: none; }
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .topbar-inner { font-size: 11px; gap: 12px; }
}
@media (max-width: 480px) {
  .cat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
}
