:root {
  --bg: #f5f1ea;
  --panel: #fffdf9;
  --card: #f8f3ee;
  --line: rgba(28, 24, 20, 0.12);
  --text: #1a1715;
  --muted: #635d59;
  --gold: #b08a54;
  --gold-soft: #d5b98a;
  --shadow: 0 18px 40px rgba(28, 24, 20, 0.08);
  --radius: 20px;
  --container: 1180px;
  --mobile: 768px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

h1, h2, h3, .brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}

html, body {
  scroll-padding-top: 90px;
}

.arabic,
.arabic-text,
.story-arabic,
.final-cta-arabic,
.bilingual-subtitle {
  font-family: 'Noto Naskh Arabic', serif;
  letter-spacing: 0;
  line-height: 1.8;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head {
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.96;
}
.align-center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 18, 16, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}
.brand {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.main-nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 0.96rem;
}
.main-nav a {
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--text);
  display: grid;
  place-items: center;
}
.icon-button svg {
  width: 20px;
  height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 0.92rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #1d1b1a, #3b352f);
  color: #f8f4f0;
  box-shadow: 0 20px 35px rgba(26, 23, 21, 0.18);
}
.btn-secondary {
  background: rgba(255,255,255,0.7);
  border-color: rgba(26,23,21,0.18);
  color: var(--text);
}
.btn-lg { padding: 1.15rem 2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 52px;
  align-items: center;
}
.gallery-panel { display: grid; gap: 16px; }
.gallery-main {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 28px 60px rgba(28, 24, 20, 0.08);
  overflow: hidden;
  border-radius: 26px;
}
.gallery-main img {
  width: 100%;
  height: clamp(420px, 52vw, 700px);
  object-fit: cover;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.thumb {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.thumb.active { border-color: var(--gold); }
.thumb img { width: 100%; height: 110px; object-fit: cover; }

.product-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,243,238,0.98));
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 30px;
  padding: 34px 30px;
  box-shadow: 0 26px 60px rgba(28,24,20,0.08);
}
.rating {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.product-panel h1 {
  font-size: clamp(3.1rem, 5vw, 5.4rem);
  line-height: 0.9;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 42ch;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 14px;
}
.feature-pills span {
  border: 1px solid rgba(176,138,84,0.35);
  background: rgba(176,138,84,0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  margin-bottom: 6px;
}
.price {
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  font-weight: 700;
}
.old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1.1rem;
}
.savings {
  color: var(--gold);
  font-weight: 600;
}
.benefits-inline {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--text);
}
.benefits-inline li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.cta-stack {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.fine-print {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.story-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(248,243,238,0.98));
  border: 1px solid rgba(26,23,21,0.1);
  box-shadow: 0 30px 70px rgba(28,24,20,0.07);
  padding: clamp(40px, 4vw, 72px);
  text-align: center;
  border-radius: 30px;
}
.story-box h2 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.02;
  max-width: 1000px;
  margin: 0 auto;
}
.bilingual-subtitle,
.story-arabic,
.final-cta-arabic {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 10px;
}
.story-arabic,
.final-cta-arabic,
.bilingual-subtitle {
  direction: rtl;
  text-align: right;
  font-weight: 500;
}

.story-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.main-nav a,
.site-footer a,
.btn,
.product-panel h1,
.story-box h2,
.order-header h2,
.section-head h2,
.site-footer h3 {
  text-align: right;
}

.benefit-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.benefit-card,
.trust-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(248,243,238,0.95));
  border: 1px solid rgba(26,23,21,0.09);
  padding: 30px 24px;
  box-shadow: 0 22px 46px rgba(28,24,20,0.06);
  border-radius: 22px;
}
.benefit-card h3,
.trust-item h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.benefit-card p,
.trust-item p {
  color: var(--muted);
  margin: 0;
}

.accordion {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--panel);
  border: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text);
}
.accordion-content {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
}
.accordion-item.open .accordion-content { display: block; }
.accordion-item.open .accordion-trigger span { transform: rotate(45deg); }
.accordion-trigger span {
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.final-cta-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,239,232,0.9));
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 28px;
  text-align: center;
  padding: clamp(32px, 5vw, 72px);
  box-shadow: 0 30px 70px rgba(28,24,20,0.08);
}
.final-cta-box h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  margin-bottom: 12px;
}
.final-cta-box p { color: var(--muted); max-width: 50ch; margin: 0 auto 24px; }

.order-shell {
  display: grid;
  gap: 26px;
}
.order-header h2 {
  font-size: clamp(2.2rem, 6vw, 3.3rem);
}
.order-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.8fr;
  gap: 24px;
  align-items: start;
}
.order-summary {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(248,243,238,0.96));
  border: 1px solid rgba(26,23,21,0.09);
  border-radius: 26px;
  padding: 28px 24px;
  box-shadow: 0 24px 50px rgba(28,24,20,0.06);
}
.summary-badge {
  display: inline-block;
  background: rgba(176,138,84,0.1);
  color: var(--gold);
  border: 1px solid rgba(176,138,84,0.25);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 16px;
}
.order-summary h3 {
  font-size: 2.2rem;
  line-height: 1.05;
  margin-bottom: 8px;
}
.summary-price {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 18px;
}
.order-summary ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}
.summary-note {
  background: rgba(26,23,21,0.03);
  border: 1px solid rgba(26,23,21,0.09);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--muted);
  line-height: 1.7;
}
.order-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(249,245,239,0.96));
  border: 1px solid rgba(26,23,21,0.08);
  box-shadow: 0 28px 60px rgba(28,24,20,0.07);
  padding: clamp(22px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  border-radius: 28px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-full { grid-column: 1 / -1; }
label {
  font-weight: 600;
  color: var(--text);
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  min-height: 52px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 84, 0.14);
}
.color-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.color-option {
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  cursor: pointer;
  border-radius: 14px;
}
.color-option input { width: auto; margin: 0; accent-color: var(--text); }
.quantity-control {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.qty-button {
  border: 0;
  background: rgba(176,138,84,0.04);
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
}
.quantity-control input {
  border: 0;
  text-align: center;
  min-height: 52px;
  background: none;
}
.submit-btn {
  width: 100%;
  grid-column: 1 / -1;
  margin-top: 14px;
}
.form-message {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 16px;
  border: 1px solid transparent;
  background: #f2efe8;
  color: var(--text);
}
.form-message.success {
  display: block;
  border-color: rgba(17, 100, 69, 0.25);
  background: rgba(17, 100, 69, 0.08);
  color: #0d4431;
}
.form-message.error {
  display: block;
  border-color: rgba(120, 17, 17, 0.2);
  background: rgba(120, 17, 17, 0.06);
  color: #5a1717;
}
.field-error {
  color: #a33a3a;
  min-height: 18px;
  font-size: 0.82rem;
}

.site-footer {
  background: #1e1d1b;
  color: #ece5de;
  padding: 44px 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer h3 {
  font-size: 2.1rem;
  line-height: 1;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: rgba(236,229,222,0.86);
}
.site-footer a { color: inherit; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px;
  padding-top: 18px;
  color: rgba(236,229,222,0.7);
}

.mobile-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--text);
  color: #f8f4f0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.2rem;
  text-align: center;
  box-shadow: 0 16px 30px rgba(20,18,16,0.18);
  display: none;
  z-index: 40;
}

@media (max-width: 900px) {
  .hero-grid,
  .benefit-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .product-panel { align-items: flex-start; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .main-nav { display: none; }
  .nav-actions .btn { display: none; }
  .nav-wrap { min-height: 64px; }
  .brand { font-size: 1.4rem; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .order-form { grid-template-columns: 1fr; }
  .color-options { grid-template-columns: 1fr 1fr; }
  .benefit-grid,
  .trust-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 90px; }
}
