/* Juju's Bites — site styles */

/* Brand fonts come from the Adobe Fonts web project "Jujus Bites"
   (https://use.typekit.net/cdc6ptp.css, linked in every HTML page). */

:root {
  /* Official brand colours */
  --burgundy: #890B0B;
  --burgundy-deep: #6C0808;
  --beige: #E2D2C3;
  --brown: #564026;

  /* Lighter tints of the beige for backgrounds */
  --paper: #F6EFE7;
  --paper-2: #EEE3D7;
  --white: #FFFCF8;

  --ink: #3A2A19;
  --muted: #6E5D4B;
  --line: #DCCBB9;

  --serif: 'corsairpe', 'Arial Narrow', sans-serif; /* display: headings, sizes, prices */
  --script: 'brooklyn-heritage-script', cursive;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(58, 42, 25, .05), 0 10px 30px rgba(58, 42, 25, .08);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--burgundy); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 0 0 .45em;
}
h1 { font-size: clamp(3.2rem, 8vw, 5.8rem); }
h2 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
em.accent {
  font-family: var(--script); font-style: normal; text-transform: none; color: var(--burgundy);
  font-size: .82em; letter-spacing: 0; white-space: nowrap;
}
.hl { color: var(--burgundy); }
.script-line { font-family: var(--script); color: var(--brown); font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.2; margin: -4px 0 26px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--tint { background: var(--paper-2); }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: .9rem; display: inline-block;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Preview banner ---------- */
.preview-bar {
  background: var(--brown); color: var(--beige);
  font-size: .82rem; text-align: center; padding: 8px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 231, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--burgundy); color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.cart-btn:hover { background: var(--burgundy-deep); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--white); color: var(--burgundy);
  font-size: .75rem; font-weight: 700; display: inline-grid; place-items: center;
}
.cart-count[hidden] { display: none; }
.account-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  color: var(--brown); text-decoration: none; font-weight: 600; font-size: .92rem; border: 1.5px solid var(--line);
}
.account-btn:hover, .account-btn[aria-current="page"] { border-color: var(--brown); }
@media (max-width: 860px) {
  .cart-btn { padding: 9px 12px; }
  .account-btn { padding: 8px 10px; border-color: transparent; }
  .cart-label, .account-label { display: none; }
}
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--burgundy); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--brown); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .nav { visibility: visible; transition: opacity .2s, transform .2s, visibility 0s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { height: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--burgundy);
  background: var(--burgundy); color: var(--white) !important;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--burgundy-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--burgundy) !important; }
.btn--ghost:hover { background: rgba(137, 11, 11, .06); }
.btn--small { padding: 10px 18px; font-size: .88rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Photo placeholders (replace with real photography) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 30% 20%, #E9DCCD 0%, #D9C4AE 55%, #C9AE93 100%);
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end;
}
.ph::before {
  content: ''; position: absolute; inset: 12px; border: 1.5px dashed rgba(86, 64, 38, .35); border-radius: calc(var(--radius-lg) - 8px);
}
.ph::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -60%);
  background: url('../assets/favicon.png') center / contain no-repeat; opacity: .35; filter: grayscale(.3);
}
.ph span {
  position: relative; z-index: 1; margin: 22px; font-size: .78rem; color: var(--brown);
  background: rgba(255, 252, 248, .75); padding: 6px 12px; border-radius: 999px;
}
.ph--wide { aspect-ratio: 16 / 10; }

/* Real photos */
.photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .photo img { transform: scale(1.03); }
.photo--square { aspect-ratio: 1; }

/* Shop-style product grid */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.product { display: block; text-decoration: none; color: inherit; }
.product .ph, .product .photo { aspect-ratio: 1; border-radius: var(--radius); transition: transform .35s ease; }
.product .ph::before { inset: 10px; }
.product .ph::after { width: 44px; height: 44px; }
.product .ph span { margin: 14px; font-size: .72rem; }
a.product:hover .ph, a.product:hover .photo { transform: translateY(-4px); }
.product-body { padding: 14px 2px 0; }
.product-body h3 { font-size: 1.35rem; margin: 0 0 6px; }
.product-desc { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.product-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: .9rem; }
.product-price { font-weight: 600; color: var(--brown); }
.product-price small { font-weight: 400; color: var(--muted); }
.product-price.muted { font-weight: 500; color: var(--muted); }
.subhead { display: flex; align-items: center; gap: 12px; margin-top: 44px; }
.subhead h3 { margin: 0; font-size: 1.7rem; }
.subhead::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 980px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr 1fr; gap: 16px; } .product-body h3 { font-size: 1.2rem; } }
.ph--square { aspect-ratio: 1; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.piped { display: block; width: min(320px, 70%); height: 22px; margin: 4px 0 26px; color: var(--burgundy); }
.piped path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: pipe 1.6s .3s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes pipe { to { stroke-dashoffset: 0; } }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin-top: 22px; font-size: .88rem; color: var(--muted); }
.hero-media { position: relative; }
.hero-media .ph { aspect-ratio: 4 / 5; align-items: flex-start; }
.hero-badge {
  position: absolute; left: -22px; bottom: 34px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 18px; font-size: .86rem; line-height: 1.35; max-width: 220px;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.35rem; text-transform: uppercase; color: var(--burgundy); font-weight: 500; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media .ph { aspect-ratio: 5 / 4; }
  .hero-badge { left: 14px; bottom: 14px; }
}

/* ---------- Category cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.card { text-decoration: none; color: inherit; display: block; }
.card .ph { aspect-ratio: 4 / 5; transition: transform .4s ease; }
.card:hover .ph { transform: translateY(-4px); }
.card h3 { margin: 18px 0 4px; display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.tag {
  display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--burgundy); color: var(--white); padding: 4px 9px; border-radius: 999px;
}
.tag--soft { background: var(--beige); color: var(--brown); }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 36px; }
  .card .ph { aspect-ratio: 16 / 11; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; border-top: 1.5px solid var(--brown); padding-top: 18px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--burgundy); margin-bottom: 8px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Size strip ---------- */
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.size {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center;
}
.size .cm { font-family: var(--serif); font-size: 2.4rem; color: var(--burgundy); line-height: 1; }
.size .nm { font-weight: 600; margin: 8px 0 2px; }
.size .sv { font-size: .85rem; color: var(--muted); }
.size .pr { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .85rem; }
.size .pr b { color: var(--brown); }
@media (max-width: 980px) { .sizes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sizes { grid-template-columns: 1fr 1fr; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Instagram band ---------- */
.band { background: var(--burgundy); color: var(--beige); }
.band h2 { color: var(--white); }
.band .lead { color: var(--beige); }
.band .btn { background: var(--beige); color: var(--burgundy) !important; border-color: var(--beige); }
.band .btn:hover { background: var(--white); }

/* ---------- Menu page ---------- */
.menu-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500;
}
.chip:hover { border-color: var(--brown); }
.menu-block { scroll-margin-top: 100px; }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--paper-2); }
.price-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table .sz { font-family: var(--serif); font-size: 1.5rem; text-transform: uppercase; color: var(--burgundy); }
.price-table small { color: var(--muted); display: block; }
.price-table .sv-m { display: none; }
@media (max-width: 640px) {
  .price-table th:nth-child(2), .price-table td:nth-child(2) { display: none; }
  .price-table .sv-m { display: block; }
  .price-table th, .price-table td { padding: 14px 12px; }
}
.flavour-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.flavour-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.flavour-box h3 { display: flex; align-items: center; gap: 10px; }
.flavour-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flavour-box li { background: var(--paper); border-radius: 999px; padding: 5px 12px; font-size: .9rem; }
.flavour-box .sub { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; font-weight: 600; }
.flavour-box .sub:first-of-type { margin-top: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 760px) { .flavour-cols { grid-template-columns: 1fr; } }
.soon {
  background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center;
}
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } }

/* ---------- Content pages ---------- */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--burgundy); line-height: 1; margin-bottom: 6px; text-transform: uppercase; }
.fact span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--burgundy); font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 36px; }
.placeholder-copy {
  border-left: 3px solid var(--burgundy); background: var(--white); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted); font-size: .95rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: var(--beige); padding: 64px 0 32px; }
.site-footer a { color: var(--beige); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 92px; width: auto; margin-bottom: 18px; }
.footer-grid h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; color: var(--beige); opacity: .75; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-tag { font-family: var(--script); font-size: 1.6rem; line-height: 1.2; }
.footer-base { border-top: 1px solid rgba(226, 210, 195, .2); margin-top: 48px; padding-top: 22px; font-size: .82rem; opacity: .75; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .piped path { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Add-to-cart buttons on menu cards ---------- */
.add-row { display: grid; gap: 8px; margin-top: 12px; }
.add-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--burgundy); background: transparent;
  color: var(--burgundy); font-size: .88rem; cursor: pointer; transition: background .15s, color .15s;
}
.add-btn b { font-weight: 700; }
.add-btn:hover { background: var(--burgundy); color: var(--white); }
.add-btn:active { transform: translateY(1px); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px);
  background: var(--brown); color: var(--beige); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .92rem; transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast b { color: var(--white); }
.toast a { color: var(--white); font-weight: 700; white-space: nowrap; }

/* ---------- Build your own band ---------- */
.build-band { background: var(--beige); }
.build-options { display: grid; gap: 14px; }
.build-option {
  display: grid; gap: 4px; padding: 24px 26px; border-radius: var(--radius-lg); background: var(--white);
  text-decoration: none; color: var(--ink); border: 1.5px solid transparent; transition: border-color .15s, transform .2s;
  position: relative;
}
.build-option::after { content: '→'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--burgundy); }
.build-option:hover { border-color: var(--burgundy); transform: translateY(-2px); }
.bo-title { font-family: var(--serif); text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: var(--brown); }
.bo-sub { color: var(--muted); font-size: .92rem; padding-right: 36px; }
.bo-price { font-weight: 600; color: var(--burgundy); font-size: .92rem; margin-top: 4px; }

/* ---------- Language switch ---------- */
.lang-btn {
  background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font-weight: 700; font-size: .9rem; color: var(--brown); cursor: pointer; font-family: 'Tajawal', var(--sans);
}
.lang-btn:hover { border-color: var(--brown); }
.lang-btn:lang(en) { font-family: var(--sans); }
@media (max-width: 860px) { .lang-btn { padding: 7px 10px; } }

/* ---------- Arabic (right to left) ---------- */
.i18n-wait body { visibility: hidden; }
/* English words keep the brand fonts; Arabic letters fall back to the matching Arabic fonts */
html[dir="rtl"] {
  --serif: 'corsairpe', 'Baloo Bhaijaan 2', 'Arial Narrow', sans-serif;
  --script: 'brooklyn-heritage-script', 'Aref Ruqaa', serif;
  --sans: 'DM Sans', 'Tajawal', system-ui, sans-serif;
}
html[dir="rtl"] * { letter-spacing: 0 !important; }
html[dir="rtl"] body { line-height: 1.8; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.3; font-weight: 600; }
html[dir="rtl"] h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
html[dir="rtl"] h2 { font-size: clamp(2rem, 4vw, 3rem); }
html[dir="rtl"] h3 { font-size: 1.45rem; }
html[dir="rtl"] em.accent { font-size: .95em; font-weight: 700; }
html[dir="rtl"] .eyebrow { font-size: .9rem; }
html[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .hero-badge { left: auto; right: -22px; }
html[dir="rtl"] .faq summary { padding: 18px 0 18px 36px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 4px; }
html[dir="rtl"] .faq details p { padding-right: 0; padding-left: 36px; }
html[dir="rtl"] .build-option::after { content: '←'; right: auto; left: 24px; }
html[dir="rtl"] .bo-sub { padding-right: 0; padding-left: 36px; }
html[dir="rtl"] .price-table th, html[dir="rtl"] .price-table td { text-align: right; }
html[dir="rtl"] .placeholder-copy { border-left: 0; border-right: 3px solid var(--burgundy); border-radius: var(--radius) 0 0 var(--radius); }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="password"] { direction: ltr; text-align: right; }
@media (max-width: 860px) { html[dir="rtl"] .hero-badge { right: 14px; } }
/* English slogans inside Arabic pages: keep their punctuation right, keep them aligned to the right */
html[dir="rtl"] .en { direction: ltr; text-align: right; unicode-bidi: isolate; }

/* ---------- Floating shop cards: the treat pops out over the top of its card ---------- */
.products { gap: 34px 22px; margin-top: 36px; }
.product { position: relative; display: flex; flex-direction: column; }
.product-media {
  position: relative; z-index: 1; display: grid; place-items: center;
  aspect-ratio: 1; margin: 0 7% -40%; pointer-events: none;
}
.product-img {
  width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 75%;
  filter: drop-shadow(0 18px 16px rgba(58, 42, 25, .22)) drop-shadow(0 4px 5px rgba(58, 42, 25, .12));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.product-img.is-round { width: 84%; height: 84%; object-fit: cover; border-radius: 50%; }
.product:hover .product-img { transform: translateY(-8px) rotate(-4deg) scale(1.04); }
.product-ph {
  width: 76%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #F1E7DC, #D9C4AE);
  box-shadow: inset 0 -12px 26px rgba(86, 64, 38, .14), 0 16px 26px rgba(58, 42, 25, .12);
}
.product-ph span { font-size: .72rem; color: var(--brown); padding: 0 18%; opacity: .8; }
.product-card {
  flex: 1; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid rgba(220, 203, 185, .7); border-radius: var(--radius-lg);
  padding: calc(40% + 12px) 18px 18px;
  transition: box-shadow .3s, border-color .3s;
}
.product:hover .product-card { box-shadow: var(--shadow); border-color: var(--line); }
.product-card h3 { font-size: 1.45rem; margin: 0 0 4px; }
.product-card .product-desc { font-size: .88rem; color: var(--muted); margin: 0 0 12px; line-height: 1.45; }
.product-card .product-meta { margin-top: auto; }
.product-card .add-row { margin-top: 12px; }
@media (max-width: 640px) {
  .products { gap: 26px 14px; }
  .product-card { padding: calc(40% + 8px) 12px 14px; }
  .product-card h3 { font-size: 1.2rem; }
  .add-btn { padding: 8px 10px; font-size: .8rem; }
}

/* Account link inside the ☰ menu (phones only; desktop has the person icon) */
.nav .nav-mobile-only { display: none; }
@media (max-width: 860px) {
  .nav .nav-mobile-only { display: block; font-weight: 700; color: var(--burgundy); }
}
.product-card .product-meta .hint { margin: 0; font-size: .8rem; }
a.add-btn { text-decoration: none; }
/* Home category cards showing a cut-out treat */
.photo--cutout { background: radial-gradient(circle at 50% 45%, var(--white) 0%, var(--paper-2) 70%); display: grid; place-items: center; }
.photo--cutout img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(58, 42, 25, .2)); }
.card:hover .photo--cutout img { transform: translateY(-6px) rotate(-3deg) scale(1.03); }
/* Home category cards showing a cut-out treat */
.photo--cutout { background: radial-gradient(circle at 50% 45%, var(--white) 0%, var(--paper-2) 70%); display: grid; place-items: center; }
.photo--cutout img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(58, 42, 25, .2)); }
.card:hover .photo--cutout img { transform: translateY(-6px) rotate(-3deg) scale(1.03); }
/* Keep every treat inside the same square, whatever the photo's shape, so cards line up */
.product-media { min-height: 0; }
.product-media .product-img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; }
.product-media .product-img.is-round { width: 84%; height: 84%; }
