/* ═══════════════════════════════════════════
   The O'Rih Collection Ltd - Main Stylesheet
   ═══════════════════════════════════════════ */
:root {
  --primary: #676f48;
  --primary-dark: #616644;
  --primary-light: #d4d5c1;
  --secondary: #899072;
  --accent: #899072;
  --success: #676f48;
  --warning: #c9a04a;
  --danger: #c0392b;
  --info: #2e6e8e;
  --dark: #2e2a24;
  --text: #2e2a24;
  --text-light: #7a7568;
  --bg: #f8f4eb;
  --bg2: #efe9dc;
  --white: #ffffff;
  --border: #e2dac8;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}

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

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ══════════════ ANNOUNCEMENT BAR ══════════════ */
.announcement-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
}
.announcement-bar span { margin: 0 12px; }

/* ══════════════ HEADER ══════════════ */
.site-header {
  background: #f8f3ed;
  box-shadow: 0 1px 3px rgba(46,42,36,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-brand .logo-img { height: 100px; width: auto; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #3a2e1e;
  letter-spacing: -.3px;
}
.logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #676f48;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 1px;
}
.footer-brand .logo-brand { color: #fff; }
.footer-brand .logo-sub { color: var(--primary-light); }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  width: 100%;
}
.search-bar input {
  flex: 1;
  height: 46px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 0 20px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(103,111,72,.12);
  transition: border-color var(--transition);
}
.search-bar input:focus { border-color: var(--primary-dark); }
.search-bar button {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(103,111,72,.4);
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.header-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border: none;
  background: none;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.header-btn i { font-size: 20px; }
.header-btn:hover { background: var(--primary-light); color: var(--primary); }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Nav ── */
.site-nav {
  background: #2a3020;
  padding: 0 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  position: relative;
  z-index: 10;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 14px 18px;
  border: none;
  outline: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-link:focus { outline: none; }
.nav-link.active { color: #fff; font-weight: 700; background: rgba(255,255,255,.13); }
.nav-link.all-cats {
  color: #fff;
  background: var(--primary);
  border-radius: 50px;
  margin: 8px 8px 8px 0;
  padding: 8px 18px;
  font-size: 12px;
}
.nav-link.all-cats::after { display: none; }
.nav-link.all-cats:hover { background: var(--primary-dark); }
.nav-link.all-cats { background: var(--primary); color: #fff; border-radius: var(--radius-sm); }
.nav-link.all-cats:hover { background: var(--primary-dark); }

/* ══════════════ HERO ══════════════ */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8f4eb 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(103,111,72,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(137,144,114,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-text { color: var(--dark); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(103,111,72,.12);
  border: 1px solid rgba(103,111,72,.25);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 460px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.hero-stat-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  max-height: 380px;
}
.hero-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hero-img-card:first-child { grid-row: span 2; }
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero-img-card:hover img { transform: scale(1.05); }
.hero-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* ══════════════ BUTTONS ══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(103,111,72,.35); }
.btn-secondary { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #3a3f46; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { padding: 10px; border-radius: 50%; aspect-ratio: 1; }

/* ══════════════ SECTION HEADERS ══════════════ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-light); font-size: 15px; }
.section-line {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}
.section-line::before, .section-line::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.section-line span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

section { padding: 60px 0; }

/* ══════════════ CATEGORIES ══════════════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.category-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .category-img img { transform: scale(1.08); }
.category-info {
  padding: 16px;
  text-align: center;
}
.category-icon { font-size: 1.8rem; margin-bottom: 6px; }
.category-name { font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.category-count { font-size: 12px; color: var(--text-light); }

/* ══════════════ PRODUCT GRID ══════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Product Card ── */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.product-badge.sale { background: var(--danger); }
.product-badge.new { background: var(--info); }
.product-badge.eco { background: var(--success); }
.product-badge.organic { background: var(--success); }
.product-badge.luxury { background: #616644; }
.product-badge.natural { background: #558b2f; }
.product-badge.gift-idea { background: #e65100; }
.product-badge.top-rated { background: #f57f17; }

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
  z-index: 1;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.product-action-btn:hover { background: var(--primary); color: #fff; }

.product-image {
  height: 220px;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.stars { color: #ffc107; font-size: 12px; }
.rating-count { font-size: 12px; color: var(--text-light); }
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}
.price-current { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.price-original { font-size: 14px; color: var(--text-light); text-decoration: line-through; }
.price-save { font-size: 11px; color: var(--success); font-weight: 700; background: #e9ebdf; padding: 2px 6px; border-radius: 4px; }

.btn-add-cart {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-add-cart:hover { background: var(--primary-dark); transform: scale(1.02); }

/* ══════════════ BANNER / PROMO ══════════════ */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  padding: 32px;
  color: #fff;
}
.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 100%);
}
.promo-content { position: relative; z-index: 1; }
.promo-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .8; margin-bottom: 6px; }
.promo-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.promo-card p { font-size: 13px; opacity: .85; margin-bottom: 16px; }

/* ══════════════ FEATURES ══════════════ */
.features-section {
  background: var(--dark);
  padding: 50px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-item {
  text-align: center;
  color: #fff;
  padding: 20px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(103,111,72,.15);
  border: 2px solid rgba(103,111,72,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 auto 16px;
  transition: all var(--transition);
}
.feature-item:hover .feature-icon { background: var(--primary); border-color: var(--primary); }
.feature-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-item p { font-size: 13px; color: rgba(255,255,255,.6); }

/* ══════════════ NEWSLETTER ══════════════ */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.newsletter-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.newsletter-section p { opacity: .85; margin-bottom: 30px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  outline: none;
}
.newsletter-form button {
  padding: 14px 28px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.newsletter-form button:hover { background: #3a3f46; }

/* ══════════════ FOOTER ══════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.social-link:hover { background: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 10px;
}
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons i { font-size: 24px; color: rgba(255,255,255,.5); }

/* ══════════════ SHOP PAGE ══════════════ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}
.filter-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}
.filter-sidebar h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.filter-group { margin-bottom: 28px; }
.filter-group h4 { font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
}
.filter-option input[type=checkbox] { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-option label { cursor: pointer; flex: 1; }
.filter-option span { color: var(--text-light); font-size: 12px; }
.price-range { display: flex; gap: 10px; align-items: center; }
.price-range input[type=number] { width: 80px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; }
.btn-filter { width: 100%; margin-top: 8px; }

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-header h2 { font-size: 1.2rem; font-weight: 700; }
.shop-header span { color: var(--text-light); font-size: 14px; }
.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--primary); }

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ══════════════ PRODUCT DETAIL ══════════════ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.product-gallery { position: relative; }
.main-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-row { display: flex; gap: 10px; }
.thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.thumb.active, .thumb:hover { border-color: var(--primary); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info h1 { font-size: 1.7rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; line-height: 1.3; }
.detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.detail-price { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.detail-price .price-current { font-size: 2rem; }
.in-stock { color: var(--success); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.out-stock { color: var(--danger); font-size: 13px; font-weight: 600; }
.product-desc { color: var(--text-light); font-size: 14.5px; line-height: 1.7; margin-bottom: 24px; }
.product-desc h4 { color: var(--primary); font-size: 15px; font-weight: 700; margin: 20px 0 10px; letter-spacing: .2px; }
.product-desc p { margin-bottom: 10px; }
.product-desc .feat-list { margin: 0 0 12px 18px; }
.product-desc .feat-list li { margin-bottom: 6px; }

/* Description brand images shown below product description */
.desc-images { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.desc-images img { width: 100%; border-radius: var(--radius-sm); display: block; }

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 20px;
}
.qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--bg2);
  font-size: 18px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 60px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}
.detail-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.product-meta { border-top: 1px solid var(--border); padding-top: 20px; }
.meta-item { display: flex; gap: 8px; font-size: 13.5px; margin-bottom: 8px; }
.meta-item strong { color: var(--dark); min-width: 100px; }

/* ── Reviews ── */
.reviews-section { background: #fff; border-radius: var(--radius); padding: 32px; margin-top: 40px; }
.review-form { background: var(--bg); border-radius: var(--radius-sm); padding: 24px; margin-bottom: 32px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 12px; }
.star-picker i { font-size: 28px; color: var(--border); cursor: pointer; transition: color var(--transition); }
.star-picker i.active, .star-picker i:hover { color: #ffc107; }
.review-card { padding: 20px 0; border-bottom: 1px solid var(--border); }
.review-card:last-child { border-bottom: none; }
.reviewer-info { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.reviewer-name { font-weight: 700; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-light); }

/* ══════════════ CART ══════════════ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart-items-list { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { border-radius: var(--radius-sm); overflow: hidden; height: 90px; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.cart-item-cat { font-size: 12px; color: var(--primary); margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cart-item-price { font-size: 13px; color: var(--text-light); margin-bottom: 2px; }
/* Reset product-page margin on qty-selector when inside cart */
.cart-item .qty-selector { margin-bottom: 0; }
.remove-btn { background: none; border: none; color: var(--text-light); font-size: 16px; cursor: pointer; transition: color var(--transition); padding: 4px; }
.remove-btn:hover { color: var(--danger); }

.cart-summary {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}
.cart-summary h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.summary-row.total { font-weight: 800; font-size: 1.1rem; color: var(--dark); padding-top: 12px; border-top: 2px solid var(--border); }
.summary-row.free-ship { color: var(--success); }
.promo-input { display: flex; gap: 8px; margin: 16px 0; }
.promo-input input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; outline: none; }
.promo-input input:focus { border-color: var(--primary); }

/* ══════════════ CHECKOUT ══════════════ */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 30px; align-items: start; }
.checkout-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.checkout-form h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-control {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg);
}
.form-control:focus { border-color: var(--primary); background: #fff; }
.form-control.error { border-color: var(--danger); }
.form-hint { font-size: 12px; color: var(--text-light); }

.payment-methods { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.payment-method {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.payment-method.active { border-color: var(--primary); background: var(--primary-light); }
.payment-method i { font-size: 24px; display: block; margin-bottom: 4px; }
.payment-method span { font-size: 12px; font-weight: 600; }

.order-summary-box { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 80px; }
.order-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-item-row:last-of-type { border-bottom: none; }
.order-item-img { width: 52px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-name { font-size: 13px; font-weight: 600; }
.order-item-qty { font-size: 12px; color: var(--text-light); }
.order-item-price { font-weight: 700; font-size: 14px; margin-left: auto; }

/* ══════════════ SUCCESS PAGE ══════════════ */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.success-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: 100%;
}
.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #e9ebdf;
  color: var(--success);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-card h1 { font-size: 1.8rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.success-card p { color: var(--text-light); margin-bottom: 8px; }
.order-num { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin: 16px 0; }

/* ══════════════ AUTH PAGES ══════════════ */
.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 20px 40px;
  background: linear-gradient(150deg, #ede8da 0%, #f8f4eb 50%, #e8e2d4 100%);
}
.auth-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 8px 40px rgba(46,42,36,.13);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid #ddd8cc;
}
.auth-card-body {
  padding: 16px 36px 24px;
}
.auth-logo {
  text-align: center;
  padding: 18px 36px 0;
  background: var(--bg);
}
.auth-logo img {
  max-width: 85px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.auth-logo-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary) 30%, var(--primary) 70%, transparent);
  margin: 12px 0 0;
  opacity: 0.35;
}
.auth-card h2 { font-size: 1.3rem; font-weight: 800; text-align: center; color: var(--dark); margin-bottom: 4px; }
.auth-card .subtitle { text-align: center; color: var(--text-light); font-size: 13px; margin-bottom: 14px; }
.auth-divider { text-align: center; position: relative; margin: 20px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { background: var(--bg); padding: 0 12px; position: relative; font-size: 13px; color: var(--text-light); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-light); }
.auth-footer a { color: var(--primary); font-weight: 600; }
/* Inputs inside auth card must be white to stand out from cream card bg */
.auth-card .form-control { background: #fff; width: 100%; }
.auth-card .form-control:focus { background: #fff; border-color: var(--primary); }
/* Tighten form spacing inside auth card */
.auth-card .form-group { margin-bottom: 12px; }
/* Responsive auth on mobile */
@media (max-width: 600px) {
  .auth-page { padding: 20px 14px 40px; align-items: flex-start; }
  .auth-card { border-radius: 14px; }
  .auth-logo { padding: 22px 18px 0; }
  .auth-logo img { max-width: 120px; }
  .auth-logo-divider { margin: 18px 0 0; }
  .auth-card-body { padding: 20px 20px 28px; }
  .auth-card h2 { font-size: 1.25rem; }
}
@media (max-width: 400px) {
  .auth-page { padding: 14px 10px 32px; }
  .auth-card-body { padding: 16px 14px 22px; }
  .auth-logo { padding: 18px 14px 0; }
  .auth-logo img { max-width: 105px; }
  .auth-logo-divider { margin: 14px 0 0; }
}

/* ══════════════ ACCOUNT PAGE ══════════════ */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}
.account-user {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.account-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.account-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.account-email { font-size: 13px; color: var(--text-light); }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.account-nav-item i { font-size: 16px; color: var(--text-light); width: 20px; }
.account-nav-item:hover, .account-nav-item.active { background: var(--primary-light); color: var(--primary); }
.account-nav-item:hover i, .account-nav-item.active i { color: var(--primary); }
.account-panel { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.panel-header { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.panel-header h2 { font-size: 1.1rem; font-weight: 700; }

.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: all var(--transition);
}
.order-row:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.order-id { font-weight: 700; font-size: 14px; }
.order-date { font-size: 13px; color: var(--text-light); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.status-badge.pending { background: #fff3e0; color: #e65100; }
.status-badge.processing { background: #e3f2fd; color: #0277bd; }
.status-badge.shipped { background: #efe9dc; color: #616644; }
.status-badge.delivered { background: #e9ebdf; color: #676f48; }
.status-badge.cancelled { background: #ffebee; color: #c62828; }

/* ══════════════ BREADCRUMB ══════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 28px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

/* ══════════════ LOADING / EMPTY ══════════════ */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 320px; }
.skeleton-text { height: 14px; border-radius: 4px; margin-bottom: 8px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-icon { font-size: 3.5rem; margin-bottom: 16px; color: var(--border); }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 24px; }

/* ══════════════ TOAST NOTIFICATIONS ══════════════ */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 380px;
  animation: slideIn .3s ease;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--info); }
.toast i { font-size: 18px; }
.toast.success i { color: #69f0ae; }
.toast.error i { color: #ff5252; }
.toast.info i { color: #40c4ff; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ══════════════ MODAL ══════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: zoomIn .2s ease;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg2);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--border); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ══════════════ PAGE BANNER ══════════════ */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #4a5233 100%);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 36px 0;
  color: #fff;
  margin-bottom: 40px;
}
.page-banner h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.page-banner p { color: rgba(255,255,255,.75); font-size: 14px; }

/* ══════════════ REVIEWS ══════════════ */
.reviews-section { background: var(--bg2); }
.reviews-overall {
  display: flex; align-items: center; gap: 20px;
  justify-content: center; margin-bottom: 40px;
}
.reviews-score {
  font-size: 4rem; font-weight: 800; color: var(--primary); line-height: 1;
}
.reviews-score-detail { display: flex; flex-direction: column; gap: 6px; }
.reviews-stars-lg { color: #c9a04a; font-size: 1.3rem; display: flex; gap: 3px; }
.reviews-score-detail span { color: var(--text-light); font-size: 13.5px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.review-header {
  display: flex; align-items: center; gap: 12px;
}
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 14.5px; color: var(--dark); }
.review-location { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.review-location i { font-size: 10px; margin-right: 3px; }
.review-stars { margin-left: auto; color: #c9a04a; font-size: 13px; display: flex; gap: 2px; flex-shrink: 0; }
.review-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 50px;
  width: fit-content;
  letter-spacing: .3px;
}
.review-text {
  font-size: 14px; line-height: 1.75;
  color: var(--text); flex: 1;
  font-style: italic;
}
.review-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.review-date { font-size: 12px; color: var(--text-light); }
.review-verified { font-size: 11.5px; color: #3a7d44; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.review-verified i { font-size: 12px; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } .reviews-overall { flex-direction: column; gap: 10px; text-align: center; } }

/* ══════════════ POLICY PAGES ══════════════ */
.policy-updated { color: var(--text-light); font-size:13px; margin-bottom:12px; }
.policy-section { margin-bottom: 40px; }
.policy-section h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--primary);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px; border-bottom: 2px solid var(--primary-light);
}
.policy-section h2 i { font-size: 1rem; }
.policy-section p { color: var(--text); line-height: 1.8; margin-bottom: 10px; font-size: 15px; }
.policy-section a { color: var(--primary); text-decoration: underline; }
.policy-list { padding-left: 20px; margin: 10px 0; }
.policy-list li { color: var(--text); line-height: 1.8; margin-bottom: 6px; font-size: 15px; }
.policy-list.ordered { list-style: decimal; }
.policy-list:not(.ordered) { list-style: disc; }
.policy-table { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 16px 0; }
.policy-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.policy-row:last-child { border-bottom: none; }
.policy-row.header { background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.policy-row.highlight { background: #f0f2eb; }
.policy-highlight-box { background: #eef1e8; border-left: 4px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; }
.policy-highlight-box i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.policy-highlight-box p { margin: 0; font-size: 14px; }
.policy-contact { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 24px 28px; display: flex; gap: 18px; align-items: center; margin-top: 48px; }
.policy-contact i { font-size: 2rem; opacity: .9; flex-shrink: 0; }
.policy-contact strong { font-size: 1rem; display: block; margin-bottom: 4px; }
.policy-contact p { margin: 0; font-size: 14px; opacity: .9; }
.policy-contact a { color: #fff; text-decoration: underline; }

/* Help Center */
.help-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 0 0 48px; }
.help-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.help-card i { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.help-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.help-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.help-badge { font-size: 12px; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 50px; display: inline-block; }
.faq-group { margin-bottom: 36px; }
.faq-group h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.faq-group h3 i { color: var(--primary); }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-question { padding: 16px 20px; font-weight: 600; font-size: 14.5px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; transition: background var(--transition); user-select: none; }
.faq-question:hover { background: var(--bg2); }
.faq-question i { color: var(--primary); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-question { background: var(--primary); color: #fff; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: #fff; }
.faq-answer { display: none; padding: 16px 20px; background: #fafaf7; border-top: 1px solid var(--border); font-size: 14.5px; line-height: 1.8; }
.faq-answer a { color: var(--primary); text-decoration: underline; }
.faq-item.open .faq-answer { display: block; }
@media (max-width: 768px) {
  .help-cards { grid-template-columns: 1fr; }
  .policy-row { grid-template-columns: 1.2fr 1fr; }
  .policy-row span:last-child { grid-column: 1/-1; color: var(--primary); font-weight: 600; padding-top: 4px; }
}

/* ══════════════ UTILITIES ══════════════ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.hidden { display: none !important; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-light { color: var(--text-light); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-image-grid { display: none; }
  .hero { min-height: 380px; }
}
@media (max-width: 768px) {
  .header-inner { grid-template-columns: auto auto; padding: 10px 16px; align-items: center; }
  .logo-img { height: 130px; }
  .header-inner .search-bar { display: none; }
  .header-actions { gap: 6px; }
  .header-btn {
    flex-direction: row;
    gap: 6px;
    padding: 10px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(103,111,72,.35);
  }
  .header-btn i { font-size: 16px; }
  .header-btn:hover { background: var(--primary-dark); color: #fff; }
  .cart-badge {
    top: -4px;
    right: -4px;
    background: #c0392b;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    border: 2px solid #f8f3ed;
  }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; display: none; }
  .filter-sidebar.open { display: block; }
  .cart-layout { grid-template-columns: 1fr; gap: 16px; }
  .cart-items-list { padding: 16px; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 12px; }
  .cart-item > div:last-child { display: none; }
  .cart-item-img { height: 72px; }
  .cart-item-name { font-size: 13px; }
  .cart-item-controls { gap: 8px; }
  .cart-summary { position: static; padding: 20px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .logo-img { height: 110px; }
  .header-btn { padding: 9px 12px; font-size: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 160px; }
  .hero h1 { font-size: 1.6rem; }
  .site-nav { padding: 0 12px; }
  .nav-link { padding: 13px 14px; font-size: 11.5px; }
  .nav-link.all-cats { padding: 7px 14px; margin: 6px 6px 6px 0; }
  .qty-btn { width: 34px; height: 38px; font-size: 16px; }
  .qty-input { width: 44px !important; height: 38px !important; font-size: 14px; }
}

/* ══════════════ HEADER MOBILE SEARCH ROW ══════════════ */
.header-search-row {
  display: none;
  padding: 6px 16px 12px;
  gap: 10px;
  align-items: center;
}
.header-search-row input {
  flex: 1;
  height: 48px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 0 20px;
  font-size: 15px;
  outline: none;
  background: #fff;
  color: var(--text);
  width: 100%;
  box-shadow: 0 2px 8px rgba(103,111,72,.12);
}
.header-search-row input:focus { border-color: var(--primary-dark); }
.mobile-search-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(103,111,72,.4);
  transition: background var(--transition);
}
.mobile-search-btn:hover { background: var(--primary-dark); }
@media (max-width: 768px) {
  .header-search-row { display: flex; }
}
