/* الألوان الأساسية تتبدل تلقائيًا بين المظهرين. */
:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --surface: #fffdf9;
  --ink: #26382e;
  --muted: #7b8278;
  --green: #315847;
  --green-deep: #203c30;
  --green-soft: #e7eee7;
  --rose: #c67f82;
  --rose-soft: #f4e8e4;
  --line: #e7e4db;
  --gold: #c19b61;
  --shadow: 0 16px 38px rgb(48 59 46 / 9%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Cairo", "Tahoma", sans-serif; font-size: 15px; line-height: 1.8; transition: background-color .25s, color .25s; }
body[data-theme="dark"] { color-scheme: dark; --paper: #17251e; --surface: #203229; --ink: #f2eee5; --muted: #adb8ad; --green: #a7c7ae; --green-deep: #18271f; --green-soft: #2b4034; --rose: #e2a5a1; --rose-soft: #493533; --line: #35473c; --gold: #e1bf86; --shadow: 0 16px 38px rgb(0 0 0 / 22%); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
img { display: block; max-width: 100%; }
::selection { background: var(--rose-soft); color: var(--ink); }

.site-header { position: sticky; z-index: 20; top: 0; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); backdrop-filter: blur(16px); }
.header-inner { width: min(1240px, calc(100% - 64px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 41px; aspect-ratio: 1; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 22px; font-weight: 700; }
.brand-name { display: flex; flex-direction: column; color: var(--green); font-size: 15px; font-weight: 800; line-height: 1.4; }
.brand-name small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 500; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.7vw, 25px); }
.main-nav a { color: var(--muted); font-size: 12px; white-space: nowrap; transition: color .2s; }
.main-nav a:hover, .main-nav a.is-current { color: var(--green); }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.icon-button { display: inline-grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.icon-button svg, .cart-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.moon-icon { display: none; }
body[data-theme="dark"] .sun-icon { display: none; }
body[data-theme="dark"] .moon-icon { display: block; }
.cart-trigger { display: inline-flex; height: 40px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 24px; background: transparent; font-size: 12px; cursor: pointer; }
.cart-count { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; }
body[data-theme="dark"] .cart-count { color: #15251d; }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; width: min(1240px, calc(100% - 64px)); min-height: 530px; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 7%; margin: 0 auto; padding: 48px 0 52px; }
.hero-copy { position: relative; z-index: 1; padding: 0 2px 0 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--rose); font-size: 11px; font-weight: 700; }
.eyebrow > span { width: 24px; height: 1px; background: currentColor; }
h1, h2, p { margin-top: 0; }
.hero h1 { margin-bottom: 19px; color: var(--green-deep); font-size: clamp(44px, 5vw, 68px); font-weight: 700; line-height: 1.34; }
h1 em, h2 em { color: var(--rose); font-style: normal; }
.hero-description { max-width: 410px; margin-bottom: 27px; color: var(--muted); font-size: 14px; line-height: 2.1; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 13px; padding: 0 20px; border: 0; border-radius: 3px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .2s, background-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; }
body[data-theme="dark"] .button-primary { color: #16251d; }
.button-primary:hover { background: var(--green-deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 42px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.hero-note strong { color: var(--ink); font-size: 11px; }
.note-flower { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: var(--rose-soft); color: var(--rose); font-size: 20px; }
.hero-visual { position: relative; min-width: 0; height: 424px; }
.hero-visual::before { position: absolute; z-index: -1; top: -19px; right: -18px; width: 52%; height: 58%; border: 1px solid color-mix(in srgb, var(--rose) 42%, transparent); content: ""; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image-caption { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 12px 17px; background: var(--surface); color: var(--ink); font-size: 10px; }
.caption-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.hero-stamp { position: absolute; top: 30px; left: -24px; display: flex; width: 76px; height: 76px; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); color: var(--green); font-size: 9px; line-height: 1.5; transform: rotate(-9deg); }
.hero-stamp strong { color: var(--rose); font-size: 18px; line-height: 1.2; }
.hero-decoration { position: absolute; bottom: 28px; left: 38%; color: color-mix(in srgb, var(--rose) 60%, transparent); font-size: 27px; }

.promise-strip { display: flex; min-height: 78px; align-items: center; justify-content: center; gap: clamp(25px, 7vw, 100px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.promise-strip > div { display: flex; align-items: center; gap: 10px; color: var(--green); font-size: 12px; font-weight: 600; }
.promise-icon { color: var(--rose); font-size: 19px; }
.strip-divider { width: 1px; height: 22px; background: var(--line); }
.section-wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.products-section { padding-top: 93px; padding-bottom: 98px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2, .story-copy h2, .contact-band h2 { margin-bottom: 0; color: var(--green-deep); font-size: clamp(26px, 3.2vw, 39px); font-weight: 700; line-height: 1.5; }
.section-intro { max-width: 330px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 2; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-button { min-height: 35px; padding: 5px 15px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-button:hover, .filter-button.is-active { border-color: var(--green); background: var(--green); color: #fff; }
body[data-theme="dark"] .filter-button:hover, body[data-theme="dark"] .filter-button.is-active { color: #16251d; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.product-card { min-width: 0; animation: rise-in .55s both; }
.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1 / 1.08; background: var(--green-soft); }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-image { transform: scale(1.045); }
.product-tag { position: absolute; top: 12px; right: 12px; padding: 4px 9px; background: var(--surface); color: var(--green); font-size: 9px; }
.quick-add { position: absolute; bottom: 12px; left: 12px; display: grid; width: 39px; height: 39px; place-items: center; border: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 23px; line-height: 1; cursor: pointer; transition: transform .2s, background .2s; }
.quick-add:hover { background: var(--rose); transform: rotate(90deg); }
.product-info { display: flex; align-items: start; justify-content: space-between; gap: 7px; padding-top: 10px; }
.product-info h3 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.product-info p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.product-price { flex: 0 0 auto; padding-top: 1px; color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.product-price small { font-size: 9px; font-weight: 500; }
.catalog-note { margin: 24px 0 0; color: var(--muted); font-size: 10px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.story-band { position: relative; display: grid; min-height: 380px; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; background: var(--green-deep); color: #fff; }
.story-image { min-height: 380px; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { align-self: center; max-width: 560px; padding: 55px clamp(30px, 7vw, 105px); }
.story-copy .eyebrow { color: #e5aaaa; }
.story-copy h2 { color: #fff; }
.story-copy > p:not(.eyebrow) { max-width: 390px; margin: 15px 0 20px; color: #d4ded5; font-size: 12px; line-height: 2.1; }
.story-copy .text-link { color: #e7b5ad; }
.story-sprig { position: absolute; bottom: -30px; left: 25px; color: rgb(255 255 255 / 9%); font-size: 155px; line-height: 1; }

.reviews-section { padding-top: 93px; padding-bottom: 100px; }
.reviews-heading { margin-bottom: 30px; }
.rating-summary { display: flex; flex-direction: column; align-items: end; gap: 1px; color: var(--gold); font-size: 17px; }
.rating-summary small { color: var(--muted); font-size: 10px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-item { padding: 20px 20px 19px; border-top: 1px solid var(--line); }
.review-stars { color: var(--gold); font-size: 13px; letter-spacing: 0; }
.review-item blockquote { min-height: 91px; margin: 12px 0 18px; color: var(--muted); font-size: 12px; line-height: 2.1; }
.review-author { display: flex; align-items: center; gap: 10px; }
.avatar { display: grid; width: 37px; aspect-ratio: 1; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 700; }
.avatar-rose { background: var(--rose-soft); color: var(--rose); }
.avatar-green { background: var(--green-soft); color: var(--green); }
.avatar-gold { background: color-mix(in srgb, var(--gold) 20%, var(--surface)); color: var(--gold); }
.review-author > span:last-child { display: flex; flex-direction: column; line-height: 1.55; }
.review-author strong { font-size: 11px; }
.review-author small { color: var(--muted); font-size: 9px; }

.contact-band { position: relative; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 40px; overflow: hidden; padding: 58px max(7vw, calc((100vw - 1120px) / 2)); background: var(--rose-soft); }
.contact-band .eyebrow { color: var(--rose); }
.contact-band h2 { font-size: clamp(24px, 3vw, 35px); }
.contact-band > div:first-of-type > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.contact-links { display: grid; gap: 12px; }
.contact-link { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-bottom: 1px solid color-mix(in srgb, var(--rose) 23%, transparent); }
.contact-symbol { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--surface); color: var(--green); font-size: 17px; }
.contact-link > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; line-height: 1.55; }
.contact-link small { color: var(--muted); font-size: 9px; }
.contact-link strong { overflow-wrap: anywhere; color: var(--ink); font-size: 11px; font-weight: 600; }
.contact-arrow { color: var(--rose); }
.contact-flower { position: absolute; top: -62px; right: 40%; color: color-mix(in srgb, var(--rose) 12%, transparent); font-size: 190px; line-height: 1; }
.site-footer { display: flex; min-height: 105px; align-items: center; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 64px)); margin: auto; }
.footer-brand .brand-mark { width: 35px; font-size: 19px; }
.footer-brand .brand-name { font-size: 12px; }
.site-footer > p, .copyright { margin: 0; color: var(--muted); font-size: 10px; }
.site-footer > p span { color: var(--rose); }

.cart-backdrop { position: fixed; z-index: 40; inset: 0; background: rgb(16 24 18 / 48%); opacity: 0; transition: opacity .25s; }
.cart-backdrop.is-visible { opacity: 1; }
.cart-drawer { position: fixed; z-index: 41; top: 0; bottom: 0; left: 0; display: flex; width: min(430px, 100%); flex-direction: column; padding: 26px; background: var(--surface); box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .3s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.cart-header .eyebrow { margin-bottom: 1px; }
.cart-header h2 { margin: 0; color: var(--green-deep); font-size: 20px; }
.cart-header h2 span { color: var(--muted); font-size: 13px; font-weight: 500; }
.cart-items { overflow-y: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 68px; height: 75px; object-fit: cover; background: var(--green-soft); }
.cart-line-info { min-width: 0; }
.cart-line-info h3 { overflow: hidden; margin: 0 0 4px; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.cart-line-info p { margin: 0; color: var(--green); font-size: 11px; font-weight: 700; }
.quantity-control { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.quantity-control button { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.quantity-control span { min-width: 12px; text-align: center; font-size: 11px; }
.remove-item { align-self: start; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.cart-empty { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.cart-empty.is-empty { display: flex; }
.cart-empty > span { color: var(--rose); font-size: 43px; }
.cart-empty p { margin: 7px 0 13px; font-size: 13px; }
.cart-footer { padding-top: 18px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 13px; }
.cart-total strong { color: var(--green); }
.checkout-button { width: 100%; }
.cart-footer > p { margin: 8px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.toast { position: fixed; z-index: 60; right: 50%; bottom: 25px; max-width: calc(100% - 30px); padding: 10px 17px; border-radius: 2px; background: var(--green-deep); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(50%, 10px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(50%, 0); }

@media (max-width: 1050px) {
  .header-inner, .hero, .section-wrap, .site-footer { width: min(100% - 40px, 920px); }
  .header-inner { gap: 14px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 10px; }
  .hero { min-height: 480px; gap: 5%; }
  .hero-visual { height: 370px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .header-inner { position: relative; min-height: 69px; width: calc(100% - 32px); gap: 10px; }
  .menu-toggle { display: inline-grid; order: 0; width: 36px; height: 36px; }
  .menu-toggle svg { width: 18px; }
  .brand { margin-inline-end: auto; }
  .brand-mark { width: 36px; font-size: 19px; }
  .brand-name { font-size: 13px; }
  .brand-name small { font-size: 8px; }
  .header-actions { gap: 6px; }
  .theme-toggle { width: 36px; height: 36px; }
  .cart-trigger { height: 36px; gap: 5px; padding: 0 8px; }
  .cart-trigger > span:nth-child(2) { display: none; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: -16px; left: -16px; display: none; align-items: stretch; gap: 0; padding: 7px 16px 13px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 8px 5px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .main-nav a:last-child { border-bottom: 0; }
  .hero { width: calc(100% - 40px); min-height: auto; grid-template-columns: 1fr; gap: 29px; padding: 38px 0 30px; }
  .hero-copy { padding-inline: 2px; }
  .hero h1 { margin-bottom: 11px; font-size: clamp(42px, 11vw, 58px); }
  .hero-description { max-width: 460px; margin-bottom: 19px; font-size: 12px; }
  .hero-note { display: none; }
  .hero-visual { height: clamp(230px, 61vw, 370px); margin: 0 9px 0 4px; }
  .hero-visual::before { top: -10px; right: -10px; }
  .hero-stamp { top: 17px; left: -13px; width: 64px; height: 64px; }
  .hero-decoration { display: none; }
  .promise-strip { min-height: 66px; gap: 12px; padding: 8px 10px; }
  .promise-strip > div { gap: 5px; font-size: 9px; }
  .promise-icon { font-size: 15px; }
  .strip-divider { height: 18px; }
  .section-wrap { width: calc(100% - 36px); }
  .products-section, .reviews-section { padding-top: 64px; padding-bottom: 67px; }
  .section-heading { display: block; margin-bottom: 21px; }
  .section-heading h2, .story-copy h2 { font-size: 28px; }
  .section-intro { margin-top: 8px; font-size: 11px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: -2px; padding: 1px 2px 8px; scrollbar-width: thin; }
  .filter-button { flex: 0 0 auto; padding-inline: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-image-wrap { aspect-ratio: 1 / 1.1; }
  .product-tag { top: 8px; right: 8px; font-size: 8px; }
  .quick-add { bottom: 8px; left: 8px; width: 34px; height: 34px; }
  .product-info { display: block; }
  .product-info h3 { font-size: 11px; }
  .product-info p { font-size: 9px; }
  .product-price { display: block; margin-top: 3px; font-size: 11px; }
  .catalog-note { font-size: 9px; }
  .story-band { grid-template-columns: 1fr; }
  .story-image { min-height: 250px; max-height: 320px; }
  .story-copy { padding: 30px 24px 38px; }
  .story-copy > p:not(.eyebrow) { font-size: 11px; }
  .story-sprig { left: 8px; bottom: 0; font-size: 95px; }
  .reviews-heading { display: flex; align-items: end; }
  .rating-summary { align-items: end; font-size: 13px; }
  .rating-summary small { max-width: 100px; font-size: 8px; text-align: end; }
  .review-grid { grid-template-columns: 1fr; gap: 5px; }
  .review-item { padding: 14px 4px; }
  .review-item blockquote { min-height: auto; margin: 8px 0 13px; font-size: 11px; }
  .contact-band { grid-template-columns: 1fr; gap: 18px; padding: 39px 22px; }
  .contact-band h2 { max-width: 430px; font-size: 26px; }
  .contact-links { gap: 4px; }
  .contact-flower { top: -23px; right: auto; left: 2px; font-size: 105px; }
  .site-footer { width: calc(100% - 36px); min-height: 100px; flex-wrap: wrap; justify-content: space-between; gap: 5px 13px; padding: 17px 0; }
  .site-footer > p { display: none; }
  .copyright { font-size: 9px; }
  .cart-drawer { padding: 20px 17px; }
}
@media (max-width: 370px) {
  .brand-name { font-size: 11px; }
  .brand-mark { width: 32px; }
  .header-inner { gap: 7px; }
  .promise-strip { gap: 7px; }
  .promise-strip > div { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}