:root {
  --plum: #3f3038;
  --plum-2: #57434e;
  --rose: #a9776e;
  --rose-dark: #8e5f57;
  --blush: #f6efec;
  --blush-2: #efe3de;
  --light-rose: #d9b8b0;
  --white: #fff;
  --muted: #7d6b72;
  --line: #e6d8d3;
  --ok: #4f7a5a;
  --warn: #b5762f;
  --danger: #a4443d;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(63, 48, 56, 0.08);
  --font: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  --latin: 'Jost', 'Noto Kufi Arabic', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-weight: 300; color: var(--plum); background: var(--blush);
  line-height: 1.7; font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.4; margin: 0 0 .6em; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.05rem; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.center-block { display: block; text-align: center; margin-top: 12px; }
.pad { padding: 48px 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.link { color: var(--rose-dark); }
.section { padding-top: 28px; padding-bottom: 12px; }
.section-head, .list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head a { color: var(--rose-dark); font-size: .9rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px;
  border: 0; border-radius: 999px; background: var(--plum); color: var(--white); text-decoration: none; cursor: pointer;
  font-weight: 400; transition: background .15s, transform .1s;
}
.btn:hover { background: var(--plum-2); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--plum); border: 1px solid var(--plum); }
.btn-ghost:hover { background: var(--white); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn-wa { background: #25d366; color: #fff; margin-top: 10px; }
.btn-wa:hover { background: #1fb457; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0;
  background: transparent; border-radius: 50%; cursor: pointer; color: var(--plum); position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--blush-2); }

/* header */
.topbar { background: var(--plum); color: var(--blush); text-align: center; font-size: .8rem; padding: 7px 12px; }
.header { background: var(--white); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 4px; min-height: 64px; }
.logo { margin-inline: auto; }
.logo img { height: 36px; width: auto; }
.nav-desktop { display: none; }
.header-actions { display: flex; }
.badge {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  background: var(--rose); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-family: var(--latin);
}
.biz-strip { background: var(--blush-2); text-align: center; font-size: .8rem; padding: 4px; }
@media (min-width: 900px) {
  .logo { margin-inline: 0 24px; }
  [data-open-menu] { display: none; }
  .nav-desktop { display: flex; gap: 18px; flex: 1; font-size: .9rem; }
  .nav-desktop a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
  .nav-desktop a:hover { border-color: var(--rose); }
}

/* drawer */
.drawer { position: fixed; inset: 0; background: rgba(63, 48, 56, .45); z-index: 60; }
.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 340px); background: var(--white); padding: 16px 20px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 2px;
}
.drawer-panel a { display: flex; gap: 10px; align-items: center; padding: 10px 4px; text-decoration: none; border-bottom: 1px solid var(--blush-2); }
.drawer-close { align-self: flex-end; }
.drawer-logo { width: 140px; margin: 0 auto 12px; }
.drawer-search input { width: 100%; }
.drawer hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }

/* hero */
.hero {
  background: linear-gradient(135deg, rgba(63, 48, 56, .82), rgba(169, 119, 110, .6)), var(--hero, linear-gradient(135deg, #57434e, #a9776e));
  background-size: cover; background-position: center; color: var(--blush);
}
.hero-in { padding: 56px 16px 64px; }
.eyebrow { font-family: var(--latin); letter-spacing: .4em; font-size: .7rem; color: var(--light-rose); margin: 0 0 12px; }
.hero h1 { font-size: 2rem; font-weight: 300; max-width: 14em; }
.hero-sub { max-width: 34em; opacity: .9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero .btn { background: var(--blush); color: var(--plum); }
.hero .btn-ghost { background: transparent; color: var(--blush); border-color: var(--blush); }
@media (min-width: 900px) { .hero-in { padding: 96px 16px; } .hero h1 { font-size: 2.8rem; } }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: -28px; position: relative; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; font-size: .82rem; text-align: center;
}
.cat-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--rose-dark); }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(6, 1fr); } }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.card-img { position: relative; aspect-ratio: 1; background: var(--blush-2); display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .av { position: absolute; top: 8px; inset-inline-start: 8px; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; gap: 2px; }
.card-brand { font-family: var(--latin); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-dark); }
.card-name { text-decoration: none; font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-size { font-size: .75rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.price { display: flex; flex-direction: column; line-height: 1.3; }
.price b { font-weight: 600; font-size: .95rem; }
.price s, .pprice s { color: var(--muted); font-size: .78rem; }
.add-mini {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--plum); color: #fff; font-size: 1.3rem; cursor: pointer; flex: none;
}
.add-mini:hover { background: var(--rose); }
.av { display: inline-block; font-size: .7rem; padding: 2px 9px; border-radius: 99px; background: var(--white); font-style: normal; }
.av-available { background: #e6f0e8; color: var(--ok); }
.av-preorder { background: #f6eadb; color: var(--warn); }
.av-out { background: #eee; color: #777; }
.ph-img { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--blush), var(--blush-2)); position: relative; }
.ph-m { font-family: var(--serif); font-size: 4rem; color: var(--light-rose); font-weight: 300; }
.ph-brand { position: absolute; bottom: 10px; font-family: var(--latin); letter-spacing: .25em; font-size: .7rem; color: var(--rose); text-transform: uppercase; }

/* trust & perks */
.trust { background: var(--plum); color: var(--blush); margin-top: 36px; padding: 40px 0; text-align: center; }
.trust-grid { display: grid; gap: 22px; margin: 18px 0; }
.trust-grid .ico { color: var(--light-rose); margin: 0 auto 6px; }
.trust-grid p { opacity: .85; margin: 0; font-size: .9rem; }
.trust .link { color: var(--light-rose); }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.perks { display: grid; gap: 10px; }
.perks div { display: flex; align-items: center; gap: 10px; background: var(--white); padding: 12px 14px; border-radius: var(--radius); }
.perks .ico { color: var(--rose-dark); flex: none; }
@media (min-width: 700px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.reviews { display: grid; gap: 12px; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 16px; }
.review p { margin: 6px 0; }
.review cite { font-style: normal; color: var(--muted); font-size: .85rem; }
.stars { color: var(--rose); letter-spacing: 2px; }

/* filters */
.filters { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 18px; }
.filters input[type='search'] { width: 100%; }
.filter-box { background: var(--white); border-radius: var(--radius); padding: 0 14px; }
.filter-box summary { padding: 12px 0; cursor: pointer; }
.filter-body { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-family: var(--latin); font-size: .85rem; cursor: pointer; }
.chip input:checked + span { background: var(--plum); color: #fff; border-color: var(--plum); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.empty { text-align: center; padding: 40px 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 24px 0; }
.pager a { color: var(--rose-dark); }

/* forms */
input, select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  font-size: 16px; /* prevents iOS zoom */
}
textarea { min-height: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--light-rose); border-color: var(--rose); }
input[type='checkbox'], input[type='radio'] { width: auto; min-height: auto; accent-color: var(--plum); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.form-error { color: var(--danger); background: #fbeceb; padding: 10px 14px; border-radius: 10px; margin: 0; }
.field-error { border-color: var(--danger) !important; }
.pay { display: flex; flex-direction: column; gap: 8px; }
.pay-opt { flex-direction: row !important; align-items: flex-start; gap: 12px !important; background: var(--white); padding: 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.pay-opt input { margin-top: 6px; }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); }
.pay-opt.disabled { opacity: .55; cursor: not-allowed; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 18px; }
.inline-form label { flex: 1 1 180px; }

/* product page */
.crumbs { font-size: .8rem; color: var(--muted); padding-top: 14px; }
.crumbs a { text-decoration: none; }
.product { display: grid; gap: 20px; padding-top: 12px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; gap: 40px; } }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.g-slide { display: none; border: 0; padding: 0; background: none; width: 100%; height: 100%; cursor: zoom-in; }
.g-slide.on { display: block; }
.g-slide img, .gallery-main > img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 0; width: 64px; height: 64px; flex: none; cursor: pointer; overflow: hidden; }
.thumb.on { border-color: var(--plum); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pbrand { font-family: var(--latin); letter-spacing: .15em; text-transform: uppercase; color: var(--rose-dark); text-decoration: none; font-size: .85rem; }
.pname-en { font-family: var(--latin); color: var(--muted); margin: -6px 0 10px; }
.pprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.pprice b { font-size: 1.5rem; font-weight: 600; }
.pav { display: flex; align-items: center; gap: 10px; font-size: .9rem; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; background: var(--white); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 16px; font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.buy { display: flex; gap: 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); flex: none; }
.qty button { width: 40px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; padding: 0; min-height: 46px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdesc { margin-top: 18px; }
.pdesc details { border-top: 1px solid var(--line); padding: 4px 0; }
.pdesc summary { padding: 10px 0; cursor: pointer; font-weight: 400; }
.prose { white-space: pre-line; font-size: .92rem; padding-bottom: 10px; }
.prose h3 { margin-top: 1em; }
.lightbox { position: fixed; inset: 0; background: rgba(20, 14, 17, .92); z-index: 80; display: grid; place-items: center; padding: 16px; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 8px; background: #fff; }
.lightbox .icon-btn { position: absolute; top: 12px; inset-inline-end: 12px; color: #fff; }

/* cart */
.cart-lines { display: flex; flex-direction: column; gap: 10px; }
.cline { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 10px; }
.cline img, .cline .ph-img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.cline .ph-m { font-size: 2rem; }
.cline .ph-brand { display: none; }
.cline-name { font-size: .9rem; text-decoration: none; display: block; }
.cline-meta { font-size: .8rem; color: var(--muted); }
.cline .qty button { width: 32px; height: 36px; }
.cline .qty input { min-height: 36px; width: 36px; }
.cline-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-box { background: var(--white); border-radius: var(--radius); padding: 16px; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-box label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.totals dd { margin: 0; text-align: left; font-family: var(--latin); }
.totals .grand { font-weight: 600; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 8px; }
.alert-box { background: #f6eadb; color: #6d4a1e; border-radius: 10px; padding: 10px 14px; font-size: .88rem; }
.alert-box.info { background: var(--blush); color: var(--plum); }
.sum-lines { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }

/* order / account */
.success { text-align: center; background: var(--white); border-radius: var(--radius); padding: 24px 16px; margin-bottom: 16px; }
.notice { background: var(--white); border-radius: var(--radius); padding: 16px; margin: 12px 0; border-inline-start: 4px solid var(--rose); }
.notice.ok { border-color: var(--ok); }
.notice.warn { border-color: var(--warn); }
.timeline { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--light-rose); }
.timeline li { padding: 4px 16px 12px; position: relative; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: -7px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--rose); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.order-list, .addr-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.order-list a { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; background: var(--white); border-radius: 12px; padding: 12px 14px; text-decoration: none; }
.addr-list li { display: flex; justify-content: space-between; align-items: center; background: var(--white); border-radius: 12px; padding: 8px 14px; font-size: .9rem; }
.tiers { padding-inline-start: 18px; }
table.qo { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
table.qo th { text-align: start; font-weight: 400; font-size: .85rem; }

/* footer */
.footer { background: var(--plum); color: var(--blush); margin-top: 48px; padding: 36px 0 90px; font-size: .9rem; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
.footer h4 { font-weight: 400; color: var(--light-rose); margin: 0 0 8px; }
.footer a { display: block; text-decoration: none; padding: 3px 0; opacity: .9; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.muted-light { opacity: .75; }
.social { display: flex; gap: 14px; }
.footer-note { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(246, 239, 236, .15); font-size: .78rem; opacity: .7; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: auto; } }

/* floating whatsapp + toast */
.wa-float {
  position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 18px; z-index: 40; width: 58px; height: 58px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.toast {
  position: fixed; bottom: calc(90px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 90; background: var(--plum);
  color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); font-size: .9rem; max-width: 90vw; text-align: center;
}
.toast a { color: var(--light-rose); margin-inline-start: 8px; }

/* polish */
.card-img, .card-name { text-decoration: none; }
.price b, .sum-lines b, .totals dd, .cline-side b, .pprice b { white-space: nowrap; }
.section h2, .narrow > h2 { margin-top: 1.2em; }
.success + .notice, .totals + h2 { margin-top: 1.4em; }
