/* Kharaza storefront — burgundy, gold and ivory with sadu trim. Logical properties keep RTL/LTR symmetric. */
:root {
  --burgundy: #6C0B27; --burgundy-deep: #4F0519; --burgundy-soft: #8A1B3B;
  --gold: #C9973A; --gold-hi: #E9C27A; --gold-deep: #A87422;
  --ivory: #FBF5EC; --ivory-2: #F4EADA; --paper: #FFFFFF;
  --ink: #2A1A14; --muted: #6E5A50; --line: #E8DCC8; --ok: #2F6B4F; --bad: #A3271F;
  --radius: 14px; --shadow: 0 10px 30px rgba(79, 5, 25, .08);
  --display-ar: "Aref Ruqaa", "Noto Naskh Arabic", serif;
  --display-en: "Marcellus", "Times New Roman", serif;
  --body: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--ivory); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
.lang-ar h1, .lang-ar h2 { font-family: var(--display-ar); font-weight: 700; }
.lang-en h1, .lang-en h2 { font-family: var(--display-en); font-weight: 400; letter-spacing: .2px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 48px; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .center { text-align: center; }
.skip { position: absolute; inset-inline-start: -999px; } .skip:focus { inset-inline-start: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.announce { background: var(--burgundy-deep); color: var(--gold-hi); text-align: center; font-size: .86rem; padding: 7px 16px; letter-spacing: .2px; }
.site-head { background: radial-gradient(ellipse at 50% 0%, var(--burgundy-soft) 0%, var(--burgundy) 55%, var(--burgundy-deep) 100%); color: #FFF3DE; position: relative; z-index: 20; }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 16px; }
.logo { grid-column: 2; display: block; }
.logo img { height: 82px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav-start { grid-column: 1; }
.nav-end { grid-column: 3; justify-content: flex-end; gap: 14px; }
.nav a { color: #FFF3DE; text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--gold-hi); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(233,194,122,.35); }
.icon-btn svg, .mnav summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--gold-hi); }
.lang-switch { font-weight: 700; border: 1px solid rgba(233,194,122,.35); border-radius: 999px; padding: 6px 12px; font-size: .9rem !important; }
.cart-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--burgundy-deep); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.mnav { display: none; }
.sadu-band { height: 14px; background: url(/img/sadu-band.webp) center / auto 14px repeat-x; border-block: 1px solid var(--gold); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 700; color: #FFF6E6; background: var(--burgundy); padding: 12px 22px; border-radius: 999px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; box-shadow: 0 6px 16px rgba(108,11,39,.18); }
.btn:hover { background: var(--burgundy-soft); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--burgundy-deep); }
.btn-gold:hover { background: linear-gradient(180deg, #F2D294, var(--gold-hi)); }
.btn-ghost { background: transparent; color: #FFF6E6; border: 1px solid rgba(255,246,230,.7); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-dark { background: transparent; color: var(--burgundy); border: 1px solid var(--burgundy); box-shadow: none; margin-top: 24px; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link { font-weight: 700; text-decoration: none; }
.lang-ar .link { direction: rtl; }
.lang-en .section-head .link { unicode-bidi: plaintext; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: center; overflow: hidden; background: var(--burgundy-deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(79,5,25,.82) 0%, rgba(79,5,25,.55) 38%, rgba(79,5,25,0) 70%); }
.lang-en .hero-shade { background: linear-gradient(to right, rgba(79,5,25,0) 30%, rgba(79,5,25,.55) 62%, rgba(79,5,25,.82) 100%); }
.hero-inner { position: relative; color: #FFF3DE; padding-block: 64px; }
.hero-inner > * { max-width: 520px; margin-inline-start: auto; }
.lang-ar .hero-inner > * { margin-inline-start: 0; }
.lang-en .hero-inner > * { margin-inline-start: auto; }
.lang-ar .hero-inner { text-align: start; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: #FFF3DE; margin-bottom: .25em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero .lead { font-size: 1.15rem; color: #F5E3C8; }
.eyebrow { color: var(--gold-hi); font-weight: 700; letter-spacing: 1.5px; font-size: .85rem; margin: 0 0 8px; text-transform: uppercase; }
.lang-ar .eyebrow { letter-spacing: 0; text-transform: none; }
.section .eyebrow, .craft .eyebrow, .pinfo .eyebrow { color: var(--gold-deep); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-top: -36px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.perk { display: flex; gap: 12px; align-items: center; padding: 18px 20px; }
.perk + .perk { border-inline-start: 1px solid var(--line); }
.perk-dot { color: var(--gold); font-size: 1.3rem; }
.perk b { display: block; color: var(--burgundy); }
.perk span { font-size: .88rem; color: var(--muted); }

/* ---------- Sections & grid ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--burgundy); margin: 0; }
.section-head h2::after { content: ""; display: block; width: 120px; height: 10px; margin-top: 10px; background: url(/img/sadu-band.webp) left center / auto 10px repeat-x; border-radius: 2px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--ivory-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--burgundy); color: #FFF3DE; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge.gold { background: var(--gold); color: var(--burgundy-deep); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1rem; margin: 0; font-weight: 700; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.price { color: var(--burgundy); font-weight: 700; margin: 0; }
.price s { color: var(--muted); font-weight: 400; margin-inline-end: 6px; }
.card-body .btn { margin-top: auto; align-self: stretch; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.coll { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; color: #FFF3DE; text-decoration: none; box-shadow: var(--shadow); }
.coll img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.coll:hover img { transform: scale(1.05); }
.coll span { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(to top, rgba(79,5,25,.88), rgba(79,5,25,0)); display: flex; flex-direction: column; }
.coll b { font-size: 1.35rem; }
.lang-ar .coll b { font-family: var(--display-ar); font-size: 1.6rem; }
.lang-en .coll b { font-family: var(--display-en); font-weight: 400; }
.coll small { color: #F2DDC0; }

/* ---------- Craft ---------- */
.craft { background: var(--burgundy); color: #FFF3DE; padding-block: 64px; margin-top: 24px; }
.craft-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.craft img { border-radius: var(--radius); box-shadow: 0 0 0 6px var(--burgundy), 0 0 0 7px var(--gold); }
.craft h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #FFF3DE; }
.craft p { color: #F2DDC0; font-size: 1.08rem; }
.craft .eyebrow { color: var(--gold-hi); }
.craft .btn { background: var(--gold); color: var(--burgundy-deep); }

/* ---------- Page head ---------- */
.page-head { background: var(--ivory-2); border-bottom: 1px solid var(--line); padding-block: 40px 32px; text-align: center; }
.page-head h1 { color: var(--burgundy); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .2em; }
.page-head p { color: var(--muted); margin: 0; }
.page-head.with-banner { position: relative; color: #FFF3DE; background: var(--burgundy-deep) var(--banner) center / cover no-repeat; padding-block: 80px 64px; border: 0; }
.page-head.with-banner::before { content: ""; position: absolute; inset: 0; background: rgba(79,5,25,.62); }
.page-head.with-banner .wrap { position: relative; }
.page-head.with-banner h1 { color: #FFF3DE; } .page-head.with-banner p { color: #F2DDC0; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 500; }
.chip.on, .chip:hover { background: var(--burgundy); border-color: var(--burgundy); color: #FFF3DE; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- Product ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--ivory-2); aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 76px; cursor: pointer; background: none; }
.thumbs button.on { border-color: var(--gold); }
.pinfo h1 { color: var(--burgundy); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.price.big { font-size: 1.6rem; }
.stock { font-weight: 700; font-size: .92rem; margin: 4px 0 16px; } .stock.ok { color: var(--ok); } .stock.no { color: var(--bad); }
.desc p { margin: 0 0 .8em; }
.buy { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin: 20px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.buy .btn { flex: 1; min-width: 200px; }
.qty { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.qty-ctl { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.qty-ctl button { width: 42px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--burgundy); }
.qty-ctl input { width: 48px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.qty-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.notes { padding-inline-start: 18px; color: var(--muted); font-size: .92rem; }
.notes li { margin-bottom: 6px; }
.notes li::marker { color: var(--gold); }

/* ---------- Cart & checkout ---------- */
.cart-page, .checkout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.cart-line img { border-radius: 10px; width: 88px; height: 110px; object-fit: cover; }
.cart-line h3 { font-size: 1rem; margin: 0 0 4px; } .cart-line h3 a { color: var(--ink); text-decoration: none; }
.cart-line .rm { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font: inherit; font-size: .85rem; padding: 0; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 16px; box-shadow: var(--shadow); }
.summary h2 { font-size: 1.4rem; color: var(--burgundy); }
.summary dl, .order-items dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 16px 0; }
.summary dt, .order-items dt { color: var(--muted); } .summary dd, .order-items dd { margin: 0; font-weight: 700; text-align: end; }
.tot { font-size: 1.15rem; color: var(--burgundy) !important; border-top: 1px solid var(--line); padding-top: 10px; }
.summary .link { display: block; margin-top: 14px; }
.empty-cart { text-align: center; padding: 48px 16px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.mini-lines .ml { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.co-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 18px 20px 8px; margin: 0 0 18px; }
.co-form legend { font-weight: 700; color: var(--burgundy); padding: 0 8px; font-size: 1.05rem; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .93rem; margin-bottom: 14px; }
input, select, textarea { font: inherit; padding: 11px 13px; border: 1px solid #D9C9AE; border-radius: 10px; background: #FFFDF9; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,.2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opts { display: grid; gap: 10px; margin-bottom: 12px; }
.pay-opt { flex-direction: row; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; margin: 0; }
.pay-opt input { width: auto; accent-color: var(--burgundy); }
.pay-opt span { display: flex; flex-direction: column; } .pay-opt small { color: var(--muted); font-weight: 400; }
.pay-opt:has(input:checked) { border-color: var(--burgundy); background: #FFF8F0; }
.alert { background: #FBE9E7; color: var(--bad); border-radius: 10px; padding: 10px 14px; }
.alert.ok { background: #E7F3EC; color: var(--ok); }
.alert.gold { background: #FBF0D9; color: #7A5410; }

/* ---------- Payment ---------- */
.pay { display: grid; place-items: center; }
.pay-card { width: min(480px, 100%); background: var(--paper); border-radius: 18px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 6px solid var(--burgundy); }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; } .pay-total b { font-size: 1.6rem; color: var(--burgundy); }
.card-element { border: 1px dashed var(--gold); border-radius: 12px; padding: 16px 16px 4px; margin-bottom: 16px; background: #FFFCF6; }
.secure { text-align: center; color: var(--muted); font-size: .88rem; margin: 14px 0 0; }

/* ---------- Order / account ---------- */
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.order-meta div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.order-meta span { display: block; color: var(--muted); font-size: .85rem; } .order-meta b { color: var(--burgundy); }
.order-items { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0; }
.oi { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.oi img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.auth { display: grid; place-items: center; }
.auth-form { width: min(440px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; }
table.orders { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; }
table.orders th, table.orders td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); }
table.orders th { background: var(--ivory-2); font-size: .88rem; color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.contact-info p { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.prose { max-width: 760px; } .prose p { font-size: 1.06rem; } .prose h2 { color: var(--burgundy); margin-top: 1.2em; }

/* ---------- Footer ---------- */
.site-foot { background: var(--burgundy-deep); color: #EED9BC; margin-top: 64px; }
.site-foot .sadu-band { border-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 44px 24px; }
.foot-grid h3 { color: var(--gold-hi); font-size: 1rem; margin-bottom: 12px; }
.foot-grid a, .foot-grid span { display: flex; align-items: center; gap: 8px; color: #EED9BC; text-decoration: none; margin-bottom: 8px; font-size: .94rem; }
.foot-grid a:hover { color: var(--gold-hi); }
.foot-grid svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.foot-brand img { height: 70px; width: auto; margin-bottom: 10px; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(233,194,122,.2); padding-block: 16px 22px; font-size: .84rem; color: #CDB394; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 22px; inset-inline-start: 50%; transform: translateX(-50%) translateY(20px); background: var(--burgundy); color: #FFF3DE; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transition: .25s ease; z-index: 100; font-weight: 500; }
.lang-ar .toast { transform: translateX(50%) translateY(20px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.lang-ar .toast.show { transform: translateX(50%) translateY(0); }
.toast a { color: var(--gold-hi); margin-inline-start: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-inline-start: 0; } .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav-start { display: none; }
  .mnav { display: block; grid-column: 1; position: relative; }
  .mnav summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(233,194,122,.35); border-radius: 50%; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav-panel { position: absolute; top: 52px; inset-inline-start: 0; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); padding: 10px; width: 230px; display: flex; flex-direction: column; }
  .mnav-panel a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
  .mnav-panel a:hover { background: var(--ivory-2); }
  .nav-end .lang-switch { display: none; }
  .head-row { min-height: 76px; }
  .logo img { height: 58px; }
  .product, .cart-page, .checkout, .craft-grid, .contact { grid-template-columns: 1fr; }
  .summary { position: static; }
  .collections { grid-template-columns: 1fr; }
  .order-meta { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-shade, .lang-en .hero-shade { background: linear-gradient(to top, rgba(79,5,25,.9) 0%, rgba(79,5,25,.55) 55%, rgba(79,5,25,.1) 100%); }
  .hero { align-items: end; min-height: 560px; }
  .hero-inner > * { margin-inline: 0 !important; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 10px 12px; } .card-body h3 { font-size: .92rem; }
  .card-body .btn { padding: 8px 10px; font-size: .85rem; }
  .perks { grid-template-columns: 1fr 1fr; margin-top: -24px; }
  .perk { padding: 12px; } .perk span { font-size: .8rem; }
  .two { grid-template-columns: 1fr; }
  .section { padding-block: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; } .cart-line img { width: 72px; height: 90px; }
  .cart-line > :last-child { grid-column: 2; }
  .buy .btn { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- AI assistant ---------- */
.kz-chat { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 90; }
.kz-chat-btn { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--burgundy); color: #FFF3DE; padding: 12px 18px; border-radius: 999px; font: inherit; font-weight: 700; box-shadow: 0 10px 28px rgba(79,5,25,.35); border: 1px solid var(--gold); }
.kz-chat-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-hi); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.kz-chat.open .kz-chat-btn { display: none; }
.kz-chat-panel { width: min(370px, calc(100vw - 24px)); height: min(540px, calc(100vh - 110px)); background: var(--ivory); border-radius: 18px; box-shadow: 0 20px 50px rgba(42,26,20,.3); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.kz-chat-panel[hidden] { display: none; }
.kz-chat-panel header { display: flex; gap: 10px; align-items: center; background: var(--burgundy); color: #FFF3DE; padding: 12px 14px; border-bottom: 3px solid var(--gold); }
.kz-chat-panel header img { border-radius: 8px; }
.kz-chat-panel header div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; } .kz-chat-panel header small { color: #E9D3B4; font-size: .74rem; }
.kz-chat-panel header button { background: none; border: 0; color: #FFF3DE; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.kz-chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.kz-chat-log .msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.55; word-wrap: break-word; }
.kz-chat-log .bot { background: var(--paper); border: 1px solid var(--line); align-self: flex-start; border-start-start-radius: 4px; }
.kz-chat-log .me { background: var(--burgundy); color: #FFF3DE; align-self: flex-end; border-start-end-radius: 4px; }
.kz-chat-log .typing { color: var(--muted); }
.kz-chat-panel form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--paper); }
.kz-chat-panel form input { flex: 1; border-radius: 999px; }
.kz-chat-panel form button { border: 0; background: var(--gold); color: var(--burgundy-deep); width: 44px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.lang-ar .kz-chat-panel form button { transform: scaleX(-1); }
@media (max-width: 560px) { .kz-chat { bottom: 12px; inset-inline-end: 12px; } .kz-chat-btn .kz-chat-label { display: none; } .kz-chat-btn { padding: 14px; } }

/* MyFatoorah embedded payment */
.mf-embedded { min-height: 120px; margin: 8px 0 4px; }
.mf-fallback { margin-top: 18px; padding-top: 6px; border-top: 1px solid rgba(108, 11, 39, .12); }
.btn-ghost { background: transparent; color: var(--burg, #6C0B27); border: 1px solid currentColor; }
.btn-applepay { background: #000; color: #fff; border-color: #000; }
.btn-applepay:hover { background: #222; }

/* Tap card form */
.tap-card{min-height:95px;margin:6px 0 14px}
.tap-sep{display:flex;align-items:center;gap:10px;color:#8C7B72;font-size:14px;margin:18px 0 10px}
.tap-sep::before,.tap-sep::after{content:'';flex:1;height:1px;background:#E6D9CF}
