/* =========================
   Wood Signature | style.css
   Quiet Premium Handmade
   ========================= */

:root {
  --bg: #f6f1e8;
  --surface: #fffaf3;
  --surface-2: #f0e4d6;
  --primary: #5a3e2b;
  --primary-dark: #452f20;
  --text: #1f1f1d;
  --muted: #6e665f;
  --line: rgba(90, 62, 43, 0.14);
  --accent-olive: #6f7a4d;
  --accent-gold: #b08d57;
  --shadow: 0 18px 40px rgba(31, 31, 29, 0.08);
  --shadow-soft: 0 10px 24px rgba(31, 31, 29, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at top, rgba(176, 141, 87, 0.07), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 32%, #f4ecdf 100%);
  color: var(--text);
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(90, 62, 43, 0.18);
  color: var(--text);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100%, 760px);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 760px;
}

.section-head h2,
.intro h2,
.story-band h2,
.order-info h2,
.social-proof h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head p,
.intro p,
.story-band p,
.order-info p,
.feature-card p,
.product-body p,
.hero-text,
.hero-points span,
.footer-inner p,
.reviews-card p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(246, 241, 232, 0.74);
  border-bottom: 1px solid rgba(90, 62, 43, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.22);
  transform-origin: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
  color: var(--primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--primary-dark);
  background: rgba(90, 62, 43, 0.06);
}

.hero {
  padding: 42px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
}

.hero-content {
  display: grid;
  gap: 20px;
  align-content: start;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(90, 62, 43, 0.12);
  background: rgba(255, 250, 243, 0.7);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  max-width: 10ch;
}

.hero-text {
  font-size: 1.06rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.btn,
button.btn-primary,
button.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #5a3e2b, #3f2a1d);
  color: #fff;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(90, 62, 43, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3f2a1d, #2f1f15);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(90, 62, 43, 0.28);
}

.btn-primary:active {
  transform: scale(0.98);
}


.btn-secondary {
  background: rgba(255, 250, 243, 0.78);
  border-color: rgba(90, 62, 43, 0.14);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.hero-point {
  padding: 16px 16px 15px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(90, 62, 43, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-point strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 4px;
}

.hero-point span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(176, 141, 87, 0.12), rgba(111, 122, 77, 0.06));
  z-index: -1;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1.04 / 1;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid rgba(90, 62, 43, 0.08);
  box-shadow: var(--shadow);
  background: #fff;
}

.intro {
  padding-top: 24px;
}

.intro .narrow {
  text-align: center;
  padding: 34px 28px;
  background: rgba(255, 250, 243, 0.68);
  border: 1px solid rgba(90, 62, 43, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.intro h2 {
  margin-bottom: 12px;
}

.intro p {
  max-width: 64ch;
  margin-inline: auto;
  font-size: 1.03rem;
}

.features {
  padding-top: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px 24px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(90, 62, 43, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 62, 43, 0.14);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.products {
  padding-top: 42px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: rgba(255, 250, 243, 0.88);
  border: 1px solid rgba(90, 62, 43, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(90, 62, 43, 0.16);
}

.product-link {
  display: grid;
  height: 100%;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.product-body {
  padding: 20px 20px 18px;
  display: grid;
  gap: 10px;
}

.product-tag {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #8b2c2c;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-body h3 {
  font-size: 1.18rem;
  color: var(--text);
  line-height: 1.35;
}

.price-box {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 6px 0 4px;
  flex-wrap: wrap;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.92rem;
}

.new-price {
  color: #2e7d32;
  font-size: 1.2rem;
  font-weight: 700;
}

.scarcity-text {
 color: #a94442;
  font-weight: 700;
  font-weight: 700;
  font-size: 0.94rem;
  margin-top: -2px;
}

.product-body p {
  font-size: 0.98rem;
}

.product-footer {
  margin-top: 6px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
}

.product-cta::after,
.text-link::after {
  content: "←";
  transition: transform 0.25s ease;
}

.product-link:hover .product-cta::after,
.text-link:hover::after {
  transform: translateX(-3px);
}

.social-proof {
  padding-top: 12px;
}

.reviews-card {
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(90, 62, 43, 0.08);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.reviews-stars {
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  color: #b08d57;
}

.reviews-card h2 {
  margin-bottom: 10px;
}

.reviews-card p {
  color: var(--muted);
  line-height: 1.9;
}

.story-band {
  padding-top: 18px;
}

.story-band .narrow {
  text-align: center;
  padding: 36px 30px;
  background:
    linear-gradient(180deg, rgba(90, 62, 43, 0.05), rgba(176, 141, 87, 0.03)),
    rgba(255, 250, 243, 0.72);
  border: 1px solid rgba(90, 62, 43, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.story-band h2 {
  margin-bottom: 12px;
}

.story-band p {
  margin-inline: auto;
  max-width: 62ch;
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--primary-dark);
  font-weight: 700;
}

.order {
  padding-top: 40px;
}

.order-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.order-info {
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(176, 141, 87, 0.12), transparent 44%),
    rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(90, 62, 43, 0.08);
  box-shadow: var(--shadow-soft);
}

.order-info h2 {
  margin-bottom: 10px;
}

.order-info p {
  margin-bottom: 18px;
  max-width: 46ch;
}

.order-notes {
  display: grid;
  gap: 10px;
  color: var(--primary-dark);
  font-weight: 600;
}

.trust-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(111, 122, 77, 0.08);
  border: 1px solid rgba(111, 122, 77, 0.18);
  color: var(--text);
  line-height: 1.8;
  display: grid;
  gap: 6px;
}

.order-form {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(90, 62, 43, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(90, 62, 43, 0.14);
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  transition: 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.form-group textarea {
  resize: vertical;
  min-height: 132px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #98897c;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(90, 62, 43, 0.35);
  box-shadow: 0 0 0 4px rgba(90, 62, 43, 0.08);
}

.site-footer {
  padding: 34px 0 42px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(90, 62, 43, 0.12);
  padding-top: 22px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

/* Utility */
.hidden {
  display: none !important;
}

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(176, 141, 87, 0.45);
  outline-offset: 3px;
}

/* WhatsApp button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-media {
    order: -1;
    max-width: 860px;
    margin-inline: auto;
  }

  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }

  .header-inner {
    gap: 10px;
    padding: 10px 0;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    max-width: 7.8rem;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: none;
  }

  .hero-points,
  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .intro .narrow,
  .story-band .narrow,
  .order-info,
  .order-form,
  .reviews-card {
    padding: 24px 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .brand-name {
    max-width: 6.8rem;
  }

  .site-nav a {
    padding-inline: 7px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .product-body {
    padding: 18px 16px 16px;
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
    font-size: 20px;
    bottom: 16px;
    left: 16px;
  }
}

.whatsapp-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
}



.story-page p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
}


/* Story page */
.story-page {
  display: grid;
  gap: 16px;
  padding-top: 44px;
  padding-bottom: 88px;
}

.story-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}



.story-lead {
  max-width: 70ch;
  font-size: 1.06rem;
  color: var(--muted);
}

.story-band--compact {
  margin-top: 24px;
}

.story-band--compact .container {
  padding: 32px 28px;
}

.story-band--compact .btn {
  margin-top: 8px;
}

/* Product detail pricing */
.detail-price-box {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
}

.detail-price-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.detail-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.detail-price-note {
  color: var(--muted);
  font-size: 0.93rem;
}



.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid rgba(60, 40, 25, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(72, 48, 24, 0.08);
}

.testimonial-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.testimonial-stars {
  color: #b07a2b;
  font-weight: 700;
}

.testimonial-tag {
  background: rgba(118, 86, 48, 0.1);
  color: var(--primary);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.testimonial-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-item {
  border: 1px solid rgba(60, 40, 25, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Story Real Page ===== */

.story-paragraph {
  line-height: 1.9;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1rem;
}

.story-highlight {
  margin: 30px 0;
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  font-weight: 600;
}

.story-cta {
  text-align: center;
  margin-top: 30px;
}

/* Mobile */
@media (max-width: 768px) {

  .story-paragraph {
    font-size: 0.95rem;
  }

  .story-highlight {
    font-size: 0.95rem;
  }

}


/* ===== Offer Box ===== */

.offer-box {
  margin: 18px 0 22px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ===== Discount Badge (Red) ===== */
.offer-badge {
  position: absolute;
  top: -10px;
  right: 12px;
left: auto;
  background: #8b2c2c;
color: #fff;
border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== Prices ===== */
.offer-prices {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Old Price (Offer Box) */
.offer-box .old-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* New Price (Offer Box) */
.offer-box .new-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: #16a34a;
}

/* ===== Offer Note ===== */
.offer-note {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #dc2626; /* أحمر خفيف */
  font-weight: 600;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .new-price {
    font-size: 1.5rem;
  }

  .offer-box {
    padding: 14px;
  }
}



.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.review-name {
  font-weight: 700;
  color: var(--primary-dark);
}

.review-badge {
  font-size: 0.7rem;
  background: rgba(47, 122, 77, 0.1);
  color: #2f7a4d;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.review-stars {
  color: #b08d57;
  font-size: 0.85rem;
  margin-bottom: 4px;
}.purchase-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.purchase-popup.show {
  opacity: 1;
  transform: translateY(0);
}
