:root {
  --cream: #fff7e8;
  --cream-deep: #f6ead5;
  --forest: #12382e;
  --forest-2: #1b4a3d;
  --coral: #d95868;
  --blush: #e4a099;
  --ink: #25312d;
  --muted: #6d756f;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(37, 49, 45, 0.1);
  --radius: 30px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "DIN Next Arabic", "Tajawal", "Noto Sans Arabic", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--forest);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(18, 56, 46, 0.08);
  background: rgba(255, 247, 232, 0.88);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--forest); }
.brand img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(42% at 50% 50%);
  transform: scale(1.16);
  background: var(--cream);
}
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 0.95rem; font-weight: 700; }
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.cart-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; border-radius: 100px; color: white; background: var(--forest); font-weight: 900; cursor: pointer; box-shadow: 0 8px 22px rgba(18,56,46,.16); transition: transform .25s, background .25s; }
.cart-button:hover { transform: translateY(-2px); background: var(--forest-2); }
.cart-icon { font-size: 1rem; }
.cart-count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 50%; color: var(--forest); background: var(--cream); font-size: .72rem; transition: transform .25s, background .25s; }
.cart-count.has-items { color: white; background: var(--coral); transform: scale(1.08); }

.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--forest); transition: 0.25s; }

.hero { position: relative; overflow: hidden; min-height: 740px; display: grid; align-items: center; padding: 80px 0 100px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 70px; }
.hero-grid > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 15px; color: var(--coral); font-weight: 900; font-size: 0.82rem; letter-spacing: 0.02em; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; margin-left: 9px; vertical-align: middle; background: currentColor; }
.hero h1 { margin: 0; color: var(--forest); font-size: clamp(3rem, 6vw, 5.35rem); line-height: 1.15; letter-spacing: -0.045em; }
.hero h1 em { color: var(--coral); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; height: 8px; right: 0; left: 0; bottom: 2px; border-radius: 50%; background: rgba(217, 88, 104, 0.18); }
.hero-text { max-width: 560px; margin: 28px 0 34px; color: var(--muted); font-size: 1.12rem; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 23px;
  border-radius: 100px;
  background: var(--forest);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(18, 56, 46, 0.2);
  transition: transform 0.25s, background 0.25s;
}
.primary-button span { font-size: 1.35rem; }
.primary-button:hover { transform: translateY(-3px); background: var(--forest-2); }

.hero-art {
  position: relative;
  width: 100%;
  min-height: 550px;
  border-radius: 48% 48% 42% 42%;
  background: var(--blush);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.hero-art::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.5); border-radius: inherit; }
.hero-product-crop {
  position: absolute;
  z-index: 2;
  width: 390px;
  height: 430px;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%) rotate(1deg);
  background: url("صور/hero-matcha.png") center / cover no-repeat;
  border-radius: 45% 45% 32% 32%;
  filter: drop-shadow(0 28px 24px rgba(45, 40, 32, 0.18));
}
.hero-badge, .hero-price { position: absolute; z-index: 5; display: grid; padding: 13px 17px; border-radius: 18px; box-shadow: 0 16px 34px rgba(36, 49, 44, 0.14); }
.hero-badge { top: 70px; right: -28px; color: var(--forest); background: var(--white); transform: rotate(3deg); }
.hero-badge span, .hero-price span { font-size: 0.72rem; color: var(--muted); }
.hero-price { bottom: 60px; left: -20px; background: var(--forest); color: white; transform: rotate(-3deg); }
.hero-price span { color: rgba(255,255,255,.68); }
.hero-price strong { font-size: 1.5rem; line-height: 1.25; }
.hero-price small { font-size: 0.7rem; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-glow-one { width: 330px; height: 330px; top: -110px; right: -100px; background: rgba(217, 88, 104, 0.1); }
.hero-glow-two { width: 290px; height: 290px; bottom: -150px; left: 5%; background: rgba(18, 56, 46, 0.08); }
.spark { position: absolute; color: var(--coral); line-height: 1; }
.spark-one { top: 16%; left: 8%; font-size: 4rem; transform: rotate(12deg); }
.spark-two { bottom: 16%; right: 6%; font-size: 2.7rem; transform: rotate(-14deg); }

.products-section { padding: 110px 0 120px; background: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.section-heading h2, .story-copy h2 { margin: 0; color: var(--forest); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.2; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 45% 55%; min-height: 370px; border: 1px solid rgba(18,56,46,.08); border-radius: var(--radius); background: var(--cream); transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-image { min-height: 100%; background-image: var(--product-image); background-repeat: no-repeat; background-size: cover; background-position: center; border-radius: 0 var(--radius) var(--radius) 0; }
.matcha-crop { --product-image: url("صور/hero-matcha.png"); }
.whisk-crop { --product-image: url("صور/product-whisk.png"); }
.spoon-crop { --product-image: url("صور/product-spoon.png"); }
.bowl-crop { --product-image: url("صور/product-set.png"); }
.product-content { display: flex; flex-direction: column; padding: 30px 26px 26px; }
.product-topline { display: flex; justify-content: space-between; gap: 12px; font-size: .72rem; color: var(--muted); }
.product-topline p { margin: 0; color: var(--coral); font-weight: 900; }
.product-content h3 { margin: 18px 0 5px; color: var(--forest); font-size: 1.6rem; }
.description { margin: 0 0 22px; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.product-footer { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.product-actions { display: grid; justify-items: stretch; gap: 7px; }
.price { display: grid; }
.price strong { color: var(--forest); font-size: 1.5rem; line-height: 1.2; white-space: nowrap; }
.price small { font-size: .65rem; }
.price del { color: #a39790; font-size: .75rem; }
.details-button { padding: 9px 13px; border: 1px solid rgba(18,56,46,.18); border-radius: 100px; color: var(--forest); background: transparent; font-size: .72rem; font-weight: 900; cursor: pointer; transition: .25s; white-space: nowrap; }
.details-button:hover { color: white; background: var(--forest); }
.add-to-cart-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 13px; border: 0; border-radius: 100px; color: white; background: var(--coral); font-size: .72rem; font-weight: 900; line-height: 1.4; white-space: nowrap; box-shadow: 0 7px 18px rgba(217,88,104,.2); cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; }
.add-to-cart-button:hover { transform: translateY(-2px); background: #c64b5b; box-shadow: 0 10px 22px rgba(217,88,104,.28); }
.add-to-cart-button:focus-visible { outline: 3px solid rgba(217,88,104,.3); outline-offset: 3px; }
.sale-badge { position: absolute; z-index: 4; top: 17px; right: 17px; padding: 5px 12px; border-radius: 30px; color: white; background: var(--coral); font-size: .7rem; font-weight: 900; box-shadow: 0 6px 16px rgba(217,88,104,.25); }

.story-section { padding: 110px 0; }
.story-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; min-height: 430px; padding: 55px 7%; border-radius: 40px; background: var(--forest); box-shadow: var(--shadow); }
.story-logo { position: relative; z-index: 2; }
.story-logo::after { content: ""; position: absolute; inset: -16px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.story-logo img {
  aspect-ratio: 1;
  width: 340px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(42% at 50% 50%);
  transform: scale(1.16);
  background: var(--cream);
}
.story-copy { position: relative; z-index: 2; color: rgba(255,255,255,.77); }
.story-copy h2 { color: white; }
.story-copy p:last-child { max-width: 560px; margin: 22px 0 0; font-size: 1.05rem; }
.eyebrow.light { color: var(--blush); }
.story-mark { position: absolute; left: -30px; top: -70px; color: rgba(217,88,104,.18); font-size: 19rem; line-height: 1; }

footer { padding: 30px 0; border-top: 1px solid rgba(18,56,46,.1); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--muted); font-size: .8rem; }
.footer-wrap p { margin: 0; }
.footer-brand img { width: 62px; height: 62px; }

.product-dialog { width: min(820px, calc(100% - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 30px; color: var(--ink); background: var(--cream); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.product-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.product-dialog::backdrop { background: rgba(18, 32, 27, .66); backdrop-filter: blur(6px); }
.dialog-image { min-height: 420px; background-image: var(--product-image); background-repeat: no-repeat; background-size: cover; background-position: center; }
.dialog-copy { padding: 65px 40px 40px; }
.dialog-copy h2 { margin: 0 0 12px; color: var(--forest); font-size: 2.2rem; }
.dialog-copy p { color: var(--muted); }
.dialog-copy > strong { display: block; margin-top: 25px; color: var(--coral); font-size: 1.7rem; }
.dialog-add { width: fit-content; margin-top: 24px; padding: 12px 22px; font-size: .85rem; }
.dialog-close { position: absolute; z-index: 2; top: 16px; left: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: white; color: var(--forest); font-size: 1.6rem; line-height: 1; cursor: pointer; }

.cart-dialog { position: fixed; inset: 0 0 0 auto; width: min(580px, 100%); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; color: var(--ink); background: var(--cream); box-shadow: -20px 0 70px rgba(0,0,0,.22); }
.cart-dialog[open] { display: flex; flex-direction: column; animation: cart-in .32s ease both; }
.cart-dialog::backdrop { background: rgba(18,32,27,.62); backdrop-filter: blur(5px); }
@keyframes cart-in { from { transform: translateX(100%); } to { transform: none; } }
.cart-header { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 26px 30px 20px; border-bottom: 1px solid rgba(18,56,46,.1); background: var(--white); }
.cart-header .eyebrow { margin-bottom: 4px; }
.cart-header h2 { margin: 0; color: var(--forest); font-size: 1.8rem; }
.cart-close { width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--forest); background: var(--cream-deep); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 22px 30px; }
.cart-empty { padding: 70px 20px; text-align: center; }
.cart-empty > span { display: block; font-size: 3.5rem; }
.cart-empty h3 { margin: 14px 0 3px; color: var(--forest); font-size: 1.4rem; }
.cart-empty p { margin: 0 auto 24px; max-width: 330px; color: var(--muted); }
.continue-shopping { padding: 11px 20px; border: 0; border-radius: 100px; color: white; background: var(--forest); font-weight: 900; cursor: pointer; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; min-height: 110px; padding: 10px; border: 1px solid rgba(18,56,46,.08); border-radius: 20px; background: var(--white); }
.cart-item-image { min-height: 90px; border-radius: 14px; background-image: var(--product-image); background-position: center; background-size: cover; }
.cart-item-info { min-width: 0; padding: 5px 0; }
.cart-item-info h3 { margin: 0; color: var(--forest); font-size: 1rem; }
.cart-item-info > p { margin: 0; color: var(--muted); font-size: .78rem; }
.quantity-control { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 3px; border: 1px solid rgba(18,56,46,.12); border-radius: 100px; }
.quantity-control button { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; color: var(--forest); background: var(--cream-deep); font-weight: 900; cursor: pointer; }
.quantity-control strong { min-width: 12px; text-align: center; font-size: .8rem; }
.cart-item-side { display: flex; flex-direction: column; align-items: end; justify-content: space-between; padding: 2px 2px 5px; }
.cart-item-side > strong { color: var(--coral); font-size: .82rem; white-space: nowrap; }
.remove-item { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; color: #9b565c; background: #fbe8e8; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.cart-checkout { flex: none; max-height: 55dvh; overflow-y: auto; padding: 20px 30px 28px; border-top: 1px solid rgba(18,56,46,.1); background: var(--white); box-shadow: 0 -12px 35px rgba(18,56,46,.06); }
.cart-total { display: flex; align-items: center; justify-content: space-between; color: var(--forest); }
.cart-total > span { font-weight: 800; }
.cart-total strong { font-size: 1.35rem; }
.delivery-note { margin: 2px 0 13px; color: var(--muted); font-size: .7rem; }
.customer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fulfillment-field { min-width: 0; margin: 2px 0 4px; padding: 0; border: 0; }
.fulfillment-field legend { margin-bottom: 7px; color: var(--forest); font-size: .78rem; font-weight: 900; }
.fulfillment-field legend b { color: var(--coral); }
.fulfillment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.customer-form .fulfillment-option { position: relative; display: flex; grid-template-columns: none; align-items: center; gap: 9px; min-height: 68px; padding: 10px 12px; border: 1px solid rgba(18,56,46,.14); border-radius: 14px; background: var(--cream); cursor: pointer; transition: border .2s, background .2s, box-shadow .2s; }
.fulfillment-option:has(input:checked) { border-color: var(--coral); background: rgba(217,88,104,.06); box-shadow: 0 0 0 3px rgba(217,88,104,.1); }
.fulfillment-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fulfillment-copy { display: grid; flex: 1; gap: 1px; }
.fulfillment-copy strong { color: var(--forest); font-size: .77rem; }
.fulfillment-copy small { color: var(--muted); font-size: .65rem; font-weight: 500; }
.fulfillment-icon { font-size: 1.25rem; }
.customer-form label { display: grid; gap: 4px; color: var(--forest); font-size: .72rem; font-weight: 800; }
.customer-form label > span b { color: var(--coral); }
.customer-form label > span small { color: var(--muted); font-weight: 400; }
.customer-form input, .customer-form textarea { width: 100%; padding: 10px 12px; border: 1px solid rgba(18,56,46,.14); border-radius: 11px; outline: 0; color: var(--ink); background: var(--cream); font: inherit; font-size: .8rem; resize: vertical; transition: border .2s, box-shadow .2s; }
.customer-form input:focus, .customer-form textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(217,88,104,.12); }
.payment-instructions { display: flex; align-items: flex-start; gap: 11px; margin-top: 3px; padding: 12px 14px; border: 1px solid rgba(217,88,104,.22); border-radius: 14px; color: var(--forest); background: rgba(217,88,104,.07); }
.payment-icon { flex: none; font-size: 1.25rem; line-height: 1.4; }
.payment-instructions strong { font-size: .82rem; }
.payment-instructions p { margin: 2px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.65; }
.payment-instructions p b { color: var(--forest); font-size: .8rem; }
.customer-form .payment-confirmation { display: flex; grid-template-columns: none; align-items: center; gap: 8px; padding: 3px 2px; cursor: pointer; }
.payment-confirmation input { flex: none; width: 17px; height: 17px; padding: 0; accent-color: var(--coral); cursor: pointer; }
.payment-confirmation span { color: var(--forest); font-size: .7rem; }
.full-field, .send-order-button { grid-column: 1 / -1; }
.send-order-button { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 3px; padding: 13px 20px; border: 0; border-radius: 100px; color: white; background: #168a47; font-weight: 900; cursor: pointer; box-shadow: 0 8px 20px rgba(22,138,71,.22); transition: transform .25s, background .25s; }
.send-order-button:hover { transform: translateY(-2px); background: #10763b; }
.cart-toast { position: fixed; z-index: 300; right: 50%; bottom: 26px; padding: 11px 20px; border-radius: 100px; color: white; background: var(--forest); box-shadow: 0 14px 35px rgba(18,56,46,.25); font-size: .85rem; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(50%, 20px); transition: opacity .25s, transform .25s; }
.cart-toast.show { opacity: 1; transform: translate(50%, 0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-art { width: min(600px, 100%); margin-inline: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .story-card { gap: 50px; }
  .story-logo img { width: 270px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 86px; }
  .brand img { width: 62px; height: 62px; }
  .brand span { font-size: .92rem; }
  .cart-button { padding: 9px 11px; }
  .cart-button > span:not(.cart-icon) { display: none; }
  .menu-button { display: block; z-index: 5; cursor: pointer; }
  .main-nav { position: fixed; inset: 86px 0 auto; display: grid; gap: 0; padding: 20px 28px 30px; transform: translateY(-140%); background: var(--cream); box-shadow: 0 18px 30px rgba(18,56,46,.08); transition: transform .3s; }
  .main-nav a { padding: 12px 0; }
  .menu-open .main-nav { transform: none; }
  .menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-button span:nth-child(2) { opacity: 0; }
  .menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 62px 0 78px; }
  .hero-grid { gap: 54px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero-art { min-height: 430px; border-radius: 43% 43% 35% 35%; }
  .hero-product-crop { width: 290px; height: 350px; background-size: cover; background-position: center; }
  .hero-badge { top: 30px; right: -2px; }
  .hero-price { bottom: 30px; left: -2px; }
  .spark { display: none; }
  .products-section { padding: 80px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .product-card { display: block; min-height: 0; }
  .product-image { height: 300px; border-radius: var(--radius) var(--radius) 0 0; }
  .matcha-crop, .whisk-crop, .spoon-crop, .bowl-crop { background-size: cover; background-position: center; }
  .product-content { min-height: 290px; }
  .product-actions { min-width: 132px; }
  .story-section { padding: 80px 0; }
  .story-card { grid-template-columns: 1fr; gap: 40px; padding: 55px 30px; text-align: center; }
  .story-logo img { width: 220px; margin-inline: auto; }
  .story-copy p:last-child { font-size: .95rem; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .product-dialog[open] { display: block; }
  .dialog-image { min-height: 300px; }
  .dialog-copy { padding: 35px 28px; }
  .cart-header { padding: 22px 20px 16px; }
  .cart-body { padding: 18px 16px; }
  .cart-checkout { padding: 16px 16px 22px; max-height: 58dvh; }
  .customer-form { grid-template-columns: 1fr; }
  .customer-form label, .full-field, .send-order-button { grid-column: 1; }
  .fulfillment-options { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 76px 1fr auto; gap: 10px; }
  .cart-item-image { min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
