:root {
  --bg: #faf8f5;
  --bg-card: #ffffff;
  --text: #1a1612;
  --text-muted: #6b635a;
  --primary: #8b5a3c;
  --primary-dark: #6d4530;
  --accent: #c4a574;
  --border: #e8e2da;
  --success: #2d6a4f;
  --error: #9b2226;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(26, 22, 18, 0.08);
  --font: 'Tajawal', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 800; }
.brand-logo { height: 40px; width: auto; }
.brand-mark {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; padding: 0.35rem 0.65rem; border-radius: 8px; font-size: 0.9rem;
}
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { color: var(--text-muted); font-weight: 500; }
.main-nav a.active, .main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn { position: relative; color: var(--text); padding: 0.5rem; }
.badge {
  position: absolute; top: 0; left: 0;
  background: var(--primary); color: #fff;
  font-size: 0.65rem; min-width: 18px; height: 18px;
  border-radius: 99px; display: grid; place-items: center;
}
.user-menu { position: relative; }
.user-toggle {
  display: flex; align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.avatar-sm {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.user-dropdown {
  display: none; position: absolute; left: 0; top: 100%;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 160px; padding: 0.5rem;
}
.user-menu:hover .user-dropdown { display: block; }
.user-dropdown a { display: block; padding: 0.5rem 0.75rem; color: var(--text); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; border-radius: 10px; font-family: inherit;
  font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: none; }
.btn-google { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-disabled { background: #ddd; color: #888; cursor: not-allowed; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.5rem; }
.btn-block { width: 100%; }

/* Coupon input — professional style */
.coupon-row { display: flex; gap: 0.6rem; align-items: center; margin: 0.75rem 0 1rem; }
.coupon-row .input { flex: 1; padding: 0.6rem 0.9rem; border-radius: 999px; border: 1px solid rgba(27,27,27,0.08); background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.04) inset; }
.coupon-row .btn-outline { padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid rgba(27,27,27,0.08); background: transparent; }
.coupon-status { font-size: 0.92rem; margin-left: 0.5rem; min-width: 160px; }
.applied-coupon { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.75rem; border-radius: 999px; background: #eef7f0; color: #1d6a3d; border: 1px solid #d6f0dc; font-weight: 700; }
.applied-coupon .remove { background: transparent; border: none; color: #9b2226; cursor: pointer; font-weight: 700; padding: 0 0.35rem; }
.coupon-input-group { display:flex; gap:0.5rem; align-items:center; }
.coupon-row .input:focus { outline: none; border-color: var(--primary); box-shadow: 0 8px 30px rgba(18,115,81,0.06); }
.coupon-row .btn-outline:hover { transform: translateY(-2px); }

/* Cart quantity + coupon summary */
.qty-form-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.qty-form-inline input[type=number] {
  width: 90px;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.qty-form-inline button {
  min-width: 110px;
  height: 44px;
  padding: 0 1rem;
}
.cart-summary-coupon {
  background: rgba(139, 90, 60, 0.05);
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(139, 90, 60, 0.12);
  margin-bottom: 1.2rem;
}
.cart-summary-coupon h4 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--text);
}
.cart-summary-shipping {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,239,230,0.85));
  border: 1px solid rgba(27, 27, 27, 0.08);
  border-radius: 22px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}
.shipping-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.shipping-card-header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #2a2a2a;
}
.shipping-note {
  margin: 0;
  color: #5c5c5c;
  font-size: 0.95rem;
  line-height: 1.5;
}
.label-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fff7ea;
  color: #b07b38;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.shipping-select-wrapper {
  display: grid;
}
.shipping-select-wrapper select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(27, 27, 27, 0.15);
  background: #fff;
  font-size: 1rem;
  color: #1f1f1f;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.shipping-select-wrapper select:focus {
  outline: none;
  border-color: rgba(139, 90, 60, 0.75);
  box-shadow: 0 0 0 4px rgba(245, 239, 230, 0.55);
}
.applied-coupon-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #eef7f0;
  border: 1px solid #d6f0dc;
  color: #1d6a3d;
  margin-top: 0.85rem;
}
.applied-coupon-badge button {
  background: transparent;
  border: none;
  color: #9b2226;
  cursor: pointer;
  font-weight: 700;
}
.summary-row.discount span:first-child { color: #1d6a3d; }
.summary-row.discount span:last-child { color: #1d6a3d; }

/* Hero */
.hero {
  padding: 4rem 0;
  background: linear-gradient(160deg, #f5efe6 0%, var(--bg) 50%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.hero-label {
  display: inline-block; background: rgba(139, 90, 60, 0.12);
  color: var(--primary); padding: 0.35rem 0.85rem; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin: 0 0 1rem; }
.hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-visual { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.hero-card {
  background: var(--bg-card); padding: 2rem; border-radius: var(--radius);
  box-shadow: var(--shadow); display: grid; gap: 1rem; align-items: start;
}
.hero-card.feature-card-panel { min-height: 220px; }
.hero-card.accent { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.hero-card-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 18px; background: rgba(139,90,60,0.12);
  color: var(--primary); font-size: 1.35rem;
}
.hero-card-icon i,
.feature-icon i,
.icon-btn i,
.btn-icon i {
  font-size: 1.2rem;
}
.hero-card.accent .hero-card-icon { background: rgba(255,255,255,0.16); color: #fff; }
.hero-card h3 { margin: 0; font-size: 1.2rem; }
.hero-card p { margin: 0; line-height: 1.7; color: inherit; opacity: 0.92; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 0.8rem; border: none; border-radius: 12px;
  background: #eee; color: var(--text); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-icon:hover { background: #ddd; transform: translateY(-1px); }
.feature-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 18px; background: rgba(139,90,60,0.12);
  color: var(--primary); margin-bottom: 1rem;
}
.feature-icon i { font-size: 1.25rem; }
.section { padding: 3.5rem 0; }
.section-muted { background: #f0ebe3; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.section-head h2 { margin: 0; font-size: 1.75rem; }
.link-arrow { font-weight: 600; }
.page-header { padding: 2.5rem 0 1rem; text-align: center; }
.page-header h1 { margin: 0; font-size: 2rem; }

.hero-slider-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 3rem;
}
.hero-banner {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  background-image: linear-gradient(180deg, rgba(44,34,24,0.82), rgba(44,34,24,0.45)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(255,255,255,0.14), transparent 40%), linear-gradient(135deg, rgba(255,255,255,0.12), transparent 35%);
  pointer-events: none;
}
.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 1.8rem;
}
.hero-logo-badge img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.22);
}
.hero-logo-badge span {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}
.hero-title {
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
  font-weight: 800;
}
.hero-subtitle {
  max-width: 740px;
  margin: 0 auto 2.2rem;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-actions .btn {
  min-width: 180px;
}
.hero-floating-badge {
  position: absolute;
  right: 2rem;
  top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(12px);
}
.hero-floating-badge i {
  font-size: 1rem;
}
.hero-category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
  max-width: 760px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-chip:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.hero-chip i {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
}
.hero-slider-thumbs {
  display: none;
}

.hero-brand-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  filter: brightness(1.1) saturate(0.6);
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-slide.active { opacity: 1; }
.hero-slide-fallback { background: linear-gradient(135deg, rgba(139,90,60,0.9), rgba(255,215,163,0.7)); }
.hero-slide-overlay {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.35));
  color: #fff;
  z-index: 2;
}
.hero-category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
  max-width: 760px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-chip:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.hero-chip i {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
}
.hero-slide-overlay .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-slide-overlay h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.hero-slide-overlay p {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  font-size: 1.05rem;
  opacity: 0.95;
}
.hero-slider-thumbs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1.25rem 0 2rem;
  background: #fff;
}
.hero-thumb {
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  width: 120px;
  height: 80px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hero-thumb.active,
.hero-thumb:hover { transform: translateY(-2px); border-color: rgba(139,90,60,0.35); }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.categories-section .categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.category-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.25rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(139,90,60,0.08);
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.04);
}
.category-card:hover { transform: translateY(-2px); }
.category-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(139,90,60,0.12);
  color: var(--primary);
  font-size: 1.35rem;
}
.category-card-info h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.category-card-info span { color: var(--text-muted); font-size: 0.95rem; }
.category-card svg, .category-card i { color: var(--primary); }
.review-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff7ef;
  border: 1px solid rgba(196, 154, 108, 0.18);
  border-radius: 30px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.review-summary-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding: 1.35rem 1.25rem;
  border-radius: 24px;
  background: #fff8f0;
  border: 1px solid rgba(196, 154, 108, 0.14);
}
.review-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 1rem 1.15rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.04);
}
.review-score-note {
  color: #6b5a48;
  line-height: 1.7;
  font-size: 0.95rem;
}
.review-score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}
.review-score-number {
  font-size: 3rem;
  color: #2c2418;
  font-weight: 800;
}
.review-score-text,
.review-score-label {
  color: #8b6b4a;
}
.review-score-label {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}
.review-summary-copy p {
  margin-top: 0.5rem;
  color: #6b5a48;
  line-height: 1.8;
  max-width: 680px;
}
.review-count-meta {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(196, 154, 108, 0.12);
  color: #8b6b4a;
  font-weight: 700;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: #fff;
  border: 1px solid rgba(218, 180, 129, 0.18);
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.04);
}
.review-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #8b6b4a;
  background: #f5ede3;
}
.reviewer-name {
  font-weight: 700;
  color: #2c2418;
  margin-bottom: 0.25rem;
}
.review-stars {
  display: flex;
  gap: 4px;
  color: #f5a623;
}
.review-text {
  color: #6b5a48;
  line-height: 1.8;
  font-size: 0.95rem;
}
.review-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 28px;
  background: #fff7ef;
  color: #7b6247;
}
.review-empty h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.review-empty p {
  color: #6b5a48;
  line-height: 1.8;
}
.review-submit-card {
  background: #fff;
  border: 1px solid rgba(218, 180, 129, 0.18);
  border-radius: 28px;
  padding: 1.4rem;
  margin: 1rem 0 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.04);
}
.review-submit-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c2418;
}
.rating-inputs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: flex-start;
}
.rating-inputs input {
  display: none;
}
.rating-inputs label {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5ede3;
  color: #c49a6c;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.rating-inputs label:hover,
.rating-inputs input:checked + label {
  background: #c49a6c;
  color: #fff;
  transform: translateY(-2px);
}
.review-textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #e8d9cc;
  border-radius: 22px;
  padding: 18px;
  resize: vertical;
  font-size: 0.95rem;
  color: #5c4a36;
  margin-bottom: 1rem;
  background: #fffaf4;
}
.btn-review-submit {
  background: #2c2418;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-review-submit:hover {
  background: #c49a6c;
  transform: translateY(-1px);
}
.review-badge {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  background: #fff8f0;
  border: 1px solid rgba(196, 154, 108, 0.18);
}
.review-badge-stars {
  display: flex;
  gap: 4px;
  color: #f5a623;
  margin-bottom: 0.85rem;
}
.review-badge p {
  color: #6b5a48;
  line-height: 1.7;
  margin: 0;
}
.category-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.category-list a i {
  min-width: 1.2rem;
  color: var(--primary);
}

.product-dialog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.dialog-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(17, 18, 17, 0.08);
  display: grid;
  grid-template-rows: auto 1fr;
}
.dialog-card-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.dialog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.dialog-card-media:hover img { transform: scale(1.04); }
.dialog-card-tag,
.dialog-card-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
}
.dialog-card-badge { top: auto; bottom: 1rem; background: rgba(139,90,60,0.95); color: #fff; }
.dialog-card-body {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.dialog-card-body h3 { margin: 0; font-size: 1.1rem; }
.dialog-card-desc { color: var(--text-muted); line-height: 1.8; margin: 0; }
.dialog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.dialog-card-meta .price { font-weight: 800; color: var(--primary); }
.dialog-card-meta .coupon-badge { background: rgba(255,210,104,0.18); color: #8b5400; padding: 0.45rem 0.85rem; border-radius: 999px; font-weight: 700; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-grid-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.product-card {
  background: #fff;
  border: 1px solid rgba(139,90,60,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17,18,17,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(17,18,17,0.14);
}
.product-image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-category-pill, .coupon-badge.small {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.95rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  background: rgba(255,255,255,0.96); color: var(--text);
  box-shadow: 0 16px 24px rgba(0,0,0,0.12);
}
.coupon-badge.small { top: auto; bottom: 12px; background: rgba(255,244,224,0.98); color: #8b5400; }
.product-card-meta { margin: 0 0 0.65rem; color: var(--text-muted); font-size: 0.92rem; }
.product-coupon-info { margin-bottom: 0.8rem; color: var(--primary); font-weight: 700; }
.product-body h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.product-body h3 a { color: var(--text); }
.card-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.product-gallery-main { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.thumb-btn {
  border: none; padding: 0; border-radius: 18px; overflow: hidden;
  background: transparent; box-shadow: var(--shadow); cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.thumb-btn:hover, .thumb-btn.active { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.thumb-btn img { width: 100%; height: 80px; object-fit: cover; display: block; }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.product-tag, .coupon-badge { display: inline-flex; padding: 0.45rem 0.85rem; border-radius: 999px; background: rgba(18,115,81,0.08); color: var(--primary); font-weight: 700; font-size: 0.88rem; }
.coupon-badge { background: rgba(255,210,104,0.15); color: #8b5400; }
.stock-info.out { color: #a13b3b; }

.product-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.category-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 14px 36px rgba(17,18,17,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.category-pill { background: rgba(255,255,255,0.92); color: var(--primary); }
.status-pill i { font-size: 1.05rem; margin-inline-end: 0.55rem; }
.status-pill.available {
  background: linear-gradient(90deg, rgba(46,125,50,0.10), rgba(129,199,132,0.04));
  color: #1b5e20;
  border: 1px solid rgba(46,125,50,0.08);
}
.status-pill.out {
  background: linear-gradient(90deg, rgba(183,28,28,0.10), rgba(239,154,154,0.04));
  color: #b71c1c;
  border: 1px solid rgba(183,28,28,0.08);
}

.product-detail-section {
  margin-top: 3rem;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 2fr) minmax(300px, 1fr);
  gap: 2rem;
}
.product-detail-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(139,90,60,0.08);
  box-shadow: 0 24px 60px rgba(17,18,17,0.06);
  overflow: hidden;
}
.card-head {
  padding: 1.75rem 1.75rem 0;
}
.card-head h2 {
  margin: 0;
  font-size: 1.35rem;
}
.card-body {
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}
.description-card {
  background: linear-gradient(180deg, #fff 0%, #fbf7f1 100%);
}
.action-card .support-copy {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}
.product-attributes {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139,90,60,0.08);
  color: var(--text-muted);
}
.product-attributes div { font-size: 0.95rem; }
.out-of-stock-note {
  padding: 1rem;
  background: rgba(255,235,238,0.7);
  color: #b71c1c;
  border-radius: 18px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .product-detail-layout { grid-template-columns: 1fr; }
}

.stock-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 0.35rem 0.75rem; border-radius: 8px;
  font-size: 0.75rem; font-weight: 700;
}
.stock-badge.sold-out { background: var(--error); color: #fff; }
.stock-badge.featured { background: var(--accent); color: var(--text); }
.stock-badge.large { font-size: 0.9rem; padding: 0.5rem 1rem; }
.product-body { padding: 1rem; }
.product-body h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.product-body h3 a { color: var(--text); }
.product-card-description { margin: 0 0 0.85rem; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }
.product-price { color: var(--primary); font-weight: 700; margin: 0 0 0.75rem; }
.product-price-lg { font-size: 1.5rem; font-weight: 800; color: var(--primary); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: var(--bg-card); padding: 2rem; border-radius: var(--radius); text-align: center;
}
.feature-icon { font-size: 2rem; color: var(--primary); margin-bottom: 0.75rem; }

/* Shop layout */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; }
.shop-sidebar {
  background: var(--bg-card); padding: 1.25rem; border-radius: var(--radius);
  height: fit-content; position: sticky; top: 90px;
}
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list a {
  display: block; padding: 0.5rem 0; color: var(--text-muted);
}
.category-list a.active { color: var(--primary); font-weight: 700; }
.search-form { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.search-form input {
  width: 100%; padding: 0.95rem 1rem; border-radius: 14px; border: 1px solid var(--border);
  background: #f7f4ef; font-size: 1rem; color: var(--text);
}
.search-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139,90,60,0.08); }
.search-form button { width: 100%; justify-self: stretch; }

/* Product detail */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.product-main-image { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-gallery { position: relative; }

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
}
.hero-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(17, 18, 17, 0.08);
  padding: 2rem;
}
.hero-card-large {
  display: grid;
  gap: 1.5rem;
}
.hero-card-small {
  display: grid;
  gap: 1.5rem;
}
.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.category-icon-pill, .product-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: #f5efe6;
  color: var(--text);
}
.category-icon-pill i {
  font-size: 1rem;
}
.product-status-pill.available { background: rgba(46, 125, 50, 0.12); color: #2d6a4f; }
.product-status-pill.out { background: rgba(155, 34, 38, 0.12); color: var(--error); }
.product-hero-copy { margin: 0; color: var(--text-muted); line-height: 1.8; max-width: 720px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-muted); line-height: 1.85; }
.feature-list li i { color: var(--primary); margin-top: 0.15rem; min-width: 1.1rem; }
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.product-contact-card {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: linear-gradient(180deg, #fff 0%, #f8f4ee 100%);
  border-radius: 24px;
  border: 1px solid rgba(139,90,60,0.08);
}
.product-contact-card h2 { margin: 0; font-size: 1.35rem; }
.product-contact-card p { margin: 0; color: var(--text-muted); line-height: 1.8; }
.contact-actions { display: grid; gap: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }
.product-price-card {
  padding: 1.75rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(139,90,60,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65);
}
.price-block { font-size: clamp(2rem, 4vw, 2.5rem); color: var(--primary); font-weight: 800; margin-bottom: 0.85rem; }
.product-price-card .product-coupon-detail { color: #8b5400; font-weight: 700; margin-bottom: 0.85rem; }
.product-desc-card { display: grid; gap: 1rem; }
.product-desc-card h3 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.product-desc-card .product-desc { margin: 0; color: var(--text-muted); line-height: 1.75; }
.product-detail-sidebar { display: grid; gap: 1.25rem; }
.product-detail-sidebar .card { padding: 1.75rem; }

@media (max-width: 980px) {
  .product-hero-grid,
  .product-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero-cta-row,
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .product-badge-row { flex-direction: column; align-items: stretch; }
}

/* Cart & Checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto auto auto;
  gap: 1rem; align-items: center; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.qty-form { display: grid; gap: 1rem; margin-top: 1rem; }
.qty-form .qty-field input[type=number] {
  width: 120px; text-align: center; border-radius: 14px; border: 1px solid var(--border);
  background: #fff; padding: 0.85rem 0.95rem; box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}
.qty-form .qty-field label { margin-bottom: 0.5rem; display: block; font-weight: 700; }
.card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; }
.summary-row.total { font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 1rem; }

/* Payment */
.payment-options { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.payment-option {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: 0.2s;
}
.payment-option:has(input:checked) { border-color: var(--primary); background: rgba(139,90,60,0.05); }
.payment-logo { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.account-num { font-family: monospace; font-weight: 700; color: var(--primary); }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1.05rem; border: 1px solid var(--border);
  border-radius: 14px; font-family: inherit; font-size: 1rem;
  background: #fbf7f2; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139,90,60,0.08);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-hint { color: var(--text-muted); font-size: 0.9rem; }
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.gallery-thumb {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.gallery-thumb span {
  display: block;
  padding: 0.55rem 0.65rem;
  background: rgba(255,255,255,0.92);
  text-align: center;
  font-size: 0.85rem;
}
.gallery-thumb input {
  margin-right: 0.4rem;
}

/* Auth */
.auth-section { min-height: 60vh; display: grid; place-items: center; padding: 2rem; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { margin: 0 0 0.25rem; text-align: center; }
.auth-sub { text-align: center; color: var(--text-muted); margin-bottom: 1.5rem; }
.auth-divider { text-align: center; margin: 1.25rem 0; color: var(--text-muted); }
.auth-divider span { background: var(--bg-card); padding: 0 0.75rem; }
.auth-divider::before { content: ''; display: block; border-top: 1px solid var(--border); margin-top: -0.65rem; }
.auth-footer { text-align: center; margin-top: 1rem; font-size: 0.9rem; }

/* Alerts */
.alert { padding: 1rem; border-radius: 10px; margin-bottom: 1rem; }
.alert-error { background: #fde8e8; color: var(--error); }
.alert-success { background: #e8f5e9; color: var(--success); }

/* Status */
.status-badge {
  display: inline-block; padding: 0.25rem 0.65rem; border-radius: 6px;
  font-size: 0.8rem; font-weight: 600;
}
.status-payment_review { background: #fff3cd; color: #856404; }
.status-confirmed, .status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* Support */
.support-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; }
.support-list .support-item, .support-item { display: block; padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; transition: background 0.2s ease; }
.support-item.active { background: rgba(217, 76, 83, 0.08); }
.support-item strong { display: block; margin-bottom: 0.35rem; color: var(--text); }
.support-item .muted { color: var(--text-muted); font-size: 0.92rem; }
.custom-request-guide { list-style: decimal-leading-zero; margin: 0; padding-left: 1.35rem; color: var(--text-muted); }
.custom-request-guide li { margin-bottom: 0.9rem; line-height: 1.8; }
.request-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.85rem; margin: 1rem 0; }
.request-images img { width: 100%; border-radius: 18px; object-fit: cover; height: 130px; }
.about-content { max-width: 720px; margin-inline: auto; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; align-items: start; }
.about-panel { background: var(--bg-card); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-panel h2, .about-panel h3 { margin-top: 0; }
.about-features-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.about-features-list li {
  display: flex; gap: 0.75rem; align-items: center; color: var(--text-muted);
}
.about-features-list li i { color: var(--primary); font-size: 1.2rem; }
.about-values .about-stats { display: grid; grid-template-columns: 1fr; gap: 1rem; justify-content: start; margin-top: 1.5rem; text-align: left; }
.about-values .about-stats div { display: flex; gap: 0.75rem; align-items: flex-start; }
.about-values .about-stats strong { font-size: 1rem; color: var(--text); margin: 0; }
.about-values .about-stats span { color: var(--text-muted); }
.delivery-locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.location-card { background: var(--bg-card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); text-align: center; }
.location-card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%; background: rgba(139,90,60,0.08); color: var(--primary); font-size: 1.35rem; }
.reviews-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review-card { background: var(--bg-card); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); min-height: 220px; display: grid; gap: 0.85rem; }
.review-rating { display: flex; gap: 0.25rem; color: var(--primary); font-size: 0.95rem; }
.review-rating .fa-regular { color: rgba(139, 90, 60, 0.35); }
.review-text { margin: 0; color: var(--text-muted); line-height: 1.8; flex: 1; }
.review-author { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--text); font-weight: 700; }
.review-author span { color: var(--text-muted); font-weight: 500; }
.checkout-form select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%237b5b44' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; }

/* Footer */
.site-footer { background: #1a1612; color: #e8e2da; padding: 3rem 0 0; margin-top: 4rem; }
.site-footer a { color: #e8e2da; }
.site-footer .footer-contact li, .footer-links li { margin-bottom: 0.75rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 2rem; padding-bottom: 2rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-track { background: rgba(255,255,255,0.04); padding: 1.2rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08); }
.footer-track h4 { margin-top: 0; }
.track-form { display: grid; gap: 0.85rem; }
.track-form .form-group label { color: #e8e2da; }
.track-form .form-group input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.track-form .form-group input::placeholder { color: rgba(255,255,255,0.7); }
.track-form .btn { width: 100%; }
.footer-bottom { border-top: 1px solid #333; padding: 1rem 0; text-align: center; font-size: 0.875rem; color: #999; }

.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(0,0,0,0.22);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.28);
}

.hero-banner .hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-summary {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.8rem;
}

@media (max-width: 900px) {
  .hero-banner {
    min-height: 500px;
    padding: 4rem 0;
  }
  .hero-banner-content {
    padding: 0 1rem;
  }
}

/* Misc */
.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.pagination a {
  padding: 0.5rem 0.85rem; border-radius: 8px; border: 1px solid var(--border);
  color: var(--text);
}
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.orders-list { display: flex; flex-direction: column; gap: 1rem; }
.order-card .order-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.order-id-wrap { display: inline-flex; align-items: center; gap: 0.75rem; }
.copy-id-btn {
  border: none; background: transparent; color: var(--primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0.35rem;
  border-radius: 10px; transition: background 0.2s ease;
}
.copy-id-btn:hover { background: rgba(139,90,60,0.1); }
.copy-id-btn.copied { color: #2f7f34; }
.info-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 800px; }
.blocked-overlay {
  position: fixed; inset: 0; background: rgba(18, 12, 7, 0.88); display: grid; place-items: center;
  z-index: 9999; padding: 1.5rem;
}
.blocked-dialog {
  width: min(520px, 100%); background: var(--bg-card); border-radius: var(--radius); padding: 2rem;
  text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.blocked-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #c94a34; color: #fff; padding: 0.65rem 1rem; border-radius: 999px;
  font-weight: 700; margin-bottom: 1rem;
}
.blocked-dialog h2 { margin: 0 0 0.85rem; }
.blocked-dialog p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.blocked-dialog .btn { width: 100%; }

@media (max-width: 900px) {
  .hero-grid, .product-detail-grid, .cart-layout, .checkout-layout,
  .shop-layout, .footer-grid, .features-grid, .support-layout, .account-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--bg-card); flex-direction: column; padding: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .cart-item { grid-template-columns: 60px 1fr; }
}

body.theme-default {
  --bg: #faf8f5;
  --bg-card: #ffffff;
  --text: #1a1612;
  --text-muted: #6b635a;
  --primary: #8b5a3c;
  --primary-dark: #6d4530;
  --accent: #c4a574;
  --border: #e8e2da;
}

body.theme-eid-al-adha {
  --bg: #fbf4ea;
  --bg-card: #ffffff;
  --text: #2c271f;
  --text-muted: #6e5f4b;
  --primary: #32734f;
  --primary-dark: #1f4d32;
  --accent: #d19f3f;
  --border: rgba(145, 101, 52, 0.18);
  background-image: radial-gradient(circle at top right, rgba(209, 159, 79, 0.16), transparent 24%), radial-gradient(circle at bottom left, rgba(50, 115, 79, 0.08), transparent 22%);
}
body.theme-eid-al-adha .site-header {
  background: rgba(251, 244, 234, 0.96);
  border-bottom-color: rgba(145, 101, 52, 0.18);
}
body.theme-eid-al-adha .site-footer {
  background: #11100f;
}

body.theme-ramadan {
  --bg: #091f19;
  --bg-card: rgba(9, 26, 21, 0.96);
  --text: #eeeae1;
  --text-muted: #b7c5b4;
  --primary: #6db38d;
  --primary-dark: #3b7d5f;
  --accent: #95d7a8;
  --border: rgba(107, 179, 139, 0.18);
  background-image: radial-gradient(circle at top right, rgba(109, 179, 141, 0.12), transparent 20%), radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.06), transparent 12%);
}
body.theme-ramadan .site-header {
  background: rgba(8, 25, 17, 0.96);
  border-bottom-color: rgba(107, 179, 139, 0.15);
}
body.theme-ramadan .site-footer {
  background: #04120a;
}
body.theme-ramadan .btn-outline {
  border-color: rgba(109, 179, 141, 0.45);
}

body.theme-new-year {
  --bg: #0c1129;
  --bg-card: rgba(14, 20, 47, 0.96);
  --text: #edf0ff;
  --text-muted: #b0b8d8;
  --primary: #f6c957;
  --primary-dark: #d49b35;
  --accent: #8da6ff;
  --border: rgba(246, 201, 87, 0.16);
  background-image: radial-gradient(circle at top left, rgba(246, 201, 87, 0.12), transparent 18%), radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.08), transparent 10%);
}
body.theme-new-year .site-header {
  background: rgba(10, 15, 38, 0.95);
  border-bottom-color: rgba(246, 201, 87, 0.16);
}
body.theme-new-year .site-footer {
  background: #050714;
}
