/* ==================== Reset & Variables ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

:root {
  --accent: #EF9F27;
  --accent-dark: #D6871A;
  --bg: #FDF0DE;
  --text: #3A2418;
  --text-secondary: #7A5B45;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 24px rgba(58, 36, 24, 0.10);
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1rem;
}

/* ==================== Logo ==================== */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

/* ==================== Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 240, 222, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(58, 36, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}

.main-nav {
  display: none;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a { transition: color .2s; }
.main-nav a:hover { color: var(--accent); }

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

.cart-icon {
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  touch-action: manipulation;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: var(--bg);
  padding: 20px;
  gap: 18px;
  box-shadow: var(--shadow);
  border-bottom: 1px solid rgba(58,36,24,0.08);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s, box-shadow .15s;
}

.btn-cta {
  background: var(--accent);
  color: var(--white);
  width: 100%;
  box-shadow: 0 10px 24px rgba(239, 159, 39, 0.35);
}

.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(239, 159, 39, 0.42); }

.reassurance-line {
  text-align: center;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==================== Hero ==================== */
.hero { padding: 32px 0 48px; }

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}

.hero-content { text-align: center; }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ==================== Price block (packs) ==================== */
.price-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pack-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  text-align: start;
  transition: border-color .15s, transform .15s;
  box-shadow: 0 4px 14px rgba(58,36,24,0.06);
  touch-action: manipulation;
}

.pack-option:hover { transform: translateY(-1px); }

.pack-option.active {
  border-color: var(--accent);
  background: #FFFBF5;
}

.pack-option .pack-info { display: flex; flex-direction: column; gap: 2px; }

.pack-option .pack-name { font-weight: 700; font-size: 1rem; }

.pack-option .pack-unit-price { font-size: 0.85rem; color: var(--text-secondary); }

.pack-option .pack-total { font-weight: 800; font-size: 1.15rem; color: var(--accent-dark); white-space: nowrap; }

.pack-badge {
  position: absolute;
  top: -11px;
  inset-inline-start: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

/* ==================== Trust band ==================== */
.trust-band {
  background: var(--white);
  padding: 32px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.trust-icon { font-size: 1.8rem; }

.trust-item p { font-size: 0.85rem; font-weight: 500; color: var(--text); max-width: 140px; }

/* ==================== Benefits grid ==================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.benefit-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.benefit-card img { width: 100%; height: 100%; object-fit: cover; }

/* ==================== Routine grid ==================== */
.routine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  direction: ltr;
}

.routine-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ==================== Why section ==================== */
.why-inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
  align-items: center;
}

.why-text { text-align: start; }
.why-text .section-title { text-align: start; }

.why-text p { margin-bottom: 16px; color: var(--text-secondary); }

.why-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.why-list li {
  position: relative;
  padding-inline-start: 26px;
  font-weight: 500;
}

.why-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent);
  font-weight: 800;
}

.why-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ==================== Ingredients grid ==================== */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.ingredient-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ==================== Reminder section ==================== */
.reminder-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.reminder-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.reminder-content { width: 100%; text-align: center; }
.reminder-content .section-title { text-align: center; }

/* ==================== Reviews ==================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.review-text-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }

.review-text-card p { font-size: 0.92rem; color: var(--text); }

.review-author { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }

/* ==================== FAQ ==================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px 20px;
  box-shadow: 0 4px 14px rgba(58,36,24,0.06);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { padding-bottom: 18px; color: var(--text-secondary); font-size: 0.93rem; }

/* ==================== Footer ==================== */
.site-footer {
  background: var(--text);
  color: #F0E4D8;
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-logo-img { height: 40px; }

.footer-desc { margin-top: 12px; font-size: 0.9rem; color: #C9B39E; }

.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--white);
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col li, .footer-col a { font-size: 0.88rem; color: #C9B39E; }

.footer-col a:hover { color: var(--accent); }

.ig-handle { direction: ltr; unicode-bidi: isolate; }

.footer-legal p { font-size: 0.78rem; color: #A98F79; margin-bottom: 8px; }

/* ==================== Responsive ==================== */
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }

  .hero-inner { flex-direction: row-reverse; align-items: center; }
  .hero-image, .hero-content { flex: 1; }
  .hero-content { text-align: start; }
  .hero h1, .hero-subtitle { text-align: start; }
  .price-block { max-width: 420px; }
  .btn-cta { max-width: 420px; }
  .reassurance-line { text-align: start; }

  .trust-grid { gap: 32px; }

  .why-inner { flex-direction: row; }
  .why-text, .why-image { flex: 1; }


  .reminder-inner { flex-direction: row-reverse; text-align: start; }
  .reminder-image, .reminder-content { flex: 1; }
  .reminder-content { text-align: start; }
  .reminder-content .section-title { text-align: start; }
  .reminder-content .price-block, .reminder-content .btn-cta { max-width: 420px; }

  .reviews-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
}
