/* Self-hosted fonts (no Google Fonts request) */
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/tajawal-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/tajawal-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/tajawal-arabic-500-normal.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/tajawal-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/tajawal-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/tajawal-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/tajawal-arabic-800-normal.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/tajawal-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/montserrat-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/montserrat-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/montserrat-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/montserrat-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/montserrat-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Hend Thabet — public site. Tokens from the approved design system. */
:root {
  --navy: #14213d; --navy-2: #1c2a4a; --navy-3: #0e1830;
  --champagne: #d9b26a; --deep-gold: #a67b2e; --ivory: #fbf7f0;
  --raised: #fffdf8; --sunken: #f2ece1; --accent-soft: #f6ecd9;
  --ink: #14213d; --ink-muted: #3e4a63; --ink-faint: #6a7184; --ink-accent: #8a6524;
  --on-navy-muted: #c9ceda; --on-navy-faint: #9aa3b8;
  --border: #e6dcc6; --border-strong: #cfc3a9; --border-control: #8a7f6b; --navy-line: #2c3a5c;
  --danger: #9b2c2c; --danger-soft: #f7e6e6; --success: #2f6b4f; --success-soft: #e6f0e9; --warn: #8a5a12; --warn-soft: #f6ebd8;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(20,33,61,.08); --shadow-md: 0 8px 24px rgba(20,33,61,.12); --shadow-lg: 0 20px 48px rgba(20,33,61,.18);
  --ar: Tajawal, 'Segoe UI', Tahoma, sans-serif; --lat: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--ar); font-size: 17px; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: var(--ink-accent); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--deep-gold); outline-offset: 2px; }
.lat { font-family: var(--lat); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 800; }
p { margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--r-md);
  font: 700 16px var(--ar); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 18px; }
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: var(--navy-3); color: var(--ivory); }
.btn-gold { background: var(--champagne); color: var(--navy); font-weight: 800; }
.btn-gold:hover { background: #e8c78e; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-control); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--ivory); border-color: #6b779e; }
.btn-ghost-dark:hover { background: var(--navy-2); color: var(--ivory); }
.btn-block { width: 100%; }

/* header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 700; font-size: 16px; }
.nav a { text-decoration: none; color: var(--ink-muted); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink-accent); border-bottom-color: var(--deep-gold); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
/* Desktop header is always one row: logo · nav · cart + WhatsApp. Showing the cart must never push things to a 2nd line. */
@media (min-width: 901px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .logo { flex: none; }
  .nav { flex: 1 1 auto; flex-wrap: nowrap; justify-content: center; gap: 6px clamp(14px, 1.6vw, 24px); white-space: nowrap; min-width: 0; }
}
/* Medium screens: WhatsApp button shrinks to its icon so the row still fits */
/* The header gets a little more room than the page content, so logo · nav · EN · cart · WhatsApp fit on one row */
@media (min-width: 901px) {
  .site-header .wrap { max-width: 1320px; column-gap: 20px; }
  .site-header .logo img { height: 56px; }
  .nav { gap: 6px clamp(12px, 1.3vw, 20px); }
  .header-actions { gap: 10px; }
  .header-actions .btn-primary { padding: 0 16px; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  .site-header .logo img { height: 48px; }
  .nav { font-size: 15px; }
  .header-actions .btn-primary { padding: 0; width: 44px; }
  .header-actions .btn-primary .wa-txt { display: none; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .site-header .wrap { padding-left: 20px; padding-right: 20px; column-gap: 14px; }
  .nav { font-size: 14px; gap: 6px 11px; }
}
.menu-toggle { display: none; }
.nav a.m-only { display: none; }
/* "الكورس العملي" sits in the desktop nav only where the row has room; it is always in the phone menu */
@media (min-width: 901px) and (max-width: 1365px) { .nav a.w-only { display: none; } }
@media (min-width: 1366px) { .nav { gap: 6px 16px; } }
@media (max-width: 900px) {
  .logo img { height: 48px; }
  .menu-toggle { display: inline-flex; }
  .nav, .header-actions .btn-primary { display: none; }
  .site-header.open .nav { display: flex; flex-direction: column; width: 100%; order: 3; gap: 4px; padding: 8px 0 12px; }
  .site-header.open .nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .site-header.open .nav a.m-only { display: block; }
  /* closed menu: logo + cart + menu button always share one row */
  .site-header:not(.open) .wrap { flex-wrap: nowrap; }
  .logo { min-width: 0; flex: 0 1 auto; }
  .logo img { max-width: 100%; height: auto; max-height: 48px; }
}
@media (max-width: 380px) { .logo img { max-height: 40px; } .header-actions { gap: 8px; } }

/* section heading (gold rule on top) */
.sh { border-top: 2px solid var(--champagne); padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sh .eyebrow { display: block; font-size: 15px; font-weight: 700; color: var(--ink-accent); margin-bottom: 6px; }
.sh h2 { font-size: clamp(28px, 3.4vw, 36px); }
.sh p { color: var(--ink-muted); font-size: 18px; margin-top: 6px; }
.sh .more { font-weight: 700; text-decoration: none; }
.section { padding: 96px 0; }
.section-sunken { background: var(--sunken); }
.section-navy { background: var(--navy); color: var(--ivory); }
.section-navy .sh .eyebrow { color: var(--champagne); }
@media (max-width: 700px) { .section { padding: 64px 0; } .wrap { padding: 0 20px; } }

/* hero */
.hero { background: var(--navy); color: var(--ivory); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero .eyebrow { font-size: 17px; font-weight: 700; color: var(--champagne); }
.hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.2; }
.hero h1 span { color: var(--champagne); }
.hero .sub { font-size: 20px; line-height: 1.8; color: var(--on-navy-muted); max-width: 540px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--navy-line); padding-top: 24px; margin-top: 4px; }
.stats div { display: flex; flex-direction: column; padding-left: 28px; margin-left: 28px; border-left: 1px solid var(--navy-line); }
.stats div:last-child { border: 0; margin: 0; padding: 0; }
.stats b { font: 700 34px var(--lat); color: var(--champagne); line-height: 1.2; }
.stats span { font-size: 15px; color: var(--on-navy-muted); }
.hero-media { flex: 1 1 380px; min-width: 0; position: relative; }
.hero-media img.main { width: 100%; height: 560px; object-fit: cover; object-position: center 30%; border-radius: var(--r-xl); background: var(--navy-2); box-shadow: 0 20px 48px rgba(0,0,0,.35); }
.hero-badge { position: absolute; bottom: -24px; left: -16px; background: var(--ivory); color: var(--ink); border-radius: var(--r-lg); padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 8px 24px rgba(20,33,61,.25); max-width: 300px; line-height: 1.5; }
.hero-badge img { width: 44px; }
.hero-badge b { display: block; font-size: 16px; }
.hero-badge span { font-size: 14px; color: var(--ink-muted); }
@media (max-width: 700px) { .hero-media img.main { height: 420px; } .hero-badge { left: 8px; } }

/* cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s; }
a.card:hover { box-shadow: var(--shadow-md); color: var(--ink); }
.card-pad { padding: 28px; gap: 14px; }
.card-navy { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
a.card-navy:hover { color: var(--ivory); }
.card .icon { width: 32px; height: 32px; }
.card h3 { font-size: 24px; }
.card .txt { color: var(--ink-muted); font-size: 17px; line-height: 1.8; }
.card-navy .txt { color: var(--on-navy-muted); }
.card .go { margin-top: auto; font-weight: 700; color: var(--ink-accent); }
.card-navy .go { color: var(--champagne); }
.media-43 { aspect-ratio: 4/3; background: var(--sunken); position: relative; }
.media-169 { aspect-ratio: 16/9; background: var(--sunken); position: relative; }
.media-43 img, .media-169 img { width: 100%; height: 100%; object-fit: cover; }
.media-empty { display: flex; align-items: center; justify-content: center; color: var(--ink-faint); font-size: 14px; letter-spacing: 1px; }
.tag-badge { position: absolute; top: 12px; right: 12px; background: var(--champagne); color: var(--navy); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; line-height: 1.6; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 21px; }
.en { font: 500 13px var(--lat); color: var(--ink-faint); }
.swap { font-size: 15px; line-height: 1.7; color: var(--ink-muted); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.swap b { color: var(--ink-accent); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font: 700 17px var(--lat); color: var(--ink-accent); }
.muted { color: var(--ink-faint); font-size: 14px; }
.chip { display: inline-block; font-size: 13px; font-weight: 500; color: var(--ink-accent); background: var(--accent-soft); padding: 2px 10px; border-radius: var(--r-sm); line-height: 1.7; }
.badge-free { background: var(--success-soft); color: var(--success); font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.badge-lock { display: inline-flex; gap: 6px; align-items: center; background: var(--navy); color: var(--champagne); font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.badge-lock svg { width: 14px; height: 14px; }

/* about split */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split img.photo { width: 100%; height: 480px; object-fit: cover; border-radius: var(--r-xl); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 4px; }

/* books */
.book { background: var(--navy-2); border-radius: var(--r-xl); padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.book img { width: 220px; height: 220px; object-fit: cover; border-radius: var(--r-lg); }
.book .cover-empty { width: 220px; height: 220px; border: 1px dashed #6b779e; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; color: var(--on-navy-faint); text-align: center; padding: 16px; }
.book .info { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.book h3 { font-size: 26px; }
.book p { color: var(--on-navy-muted); }
.prices { display: flex; flex-wrap: wrap; gap: 12px; }
.prices span { display: flex; flex-direction: column; border: 1px solid #35456b; border-radius: var(--r-md); padding: 8px 16px; line-height: 1.5; }
.prices small { font-size: 14px; color: var(--on-navy-faint); }
.prices b { font: 700 20px var(--lat); color: var(--champagne); }
.gold-chip { align-self: flex-start; background: var(--champagne); color: var(--navy); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }

/* quote */
.quote { background: var(--accent-soft); border-radius: var(--r-xl); padding: 48px; margin: 0; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.7; font-weight: 700; }
.quote figcaption { margin-top: 18px; color: var(--ink-muted); }

/* footer */
.site-footer { background: var(--navy); color: var(--ivory); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 72px; padding-bottom: 56px; }
.footer-cta h2 { font-size: 34px; }
.footer-cta p { color: var(--on-navy-muted); font-size: 18px; max-width: 520px; margin-top: 8px; }
.footer-rule { height: 1px; background: var(--champagne); opacity: .72; border: 0; margin: 0; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 40px; padding-bottom: 24px; align-items: center; }
.footer-main img { height: 64px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; font-weight: 700; }
.footer-links a { color: var(--ivory); text-decoration: none; }
.footer-links a:hover { color: var(--champagne); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 20px; font-size: 14px; color: var(--on-navy-faint); line-height: 1.6; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #35456b; display: flex; align-items: center; justify-content: center; color: var(--ivory); }
.socials svg { width: 18px; height: 18px; }

/* menu page */
.page-head { background: var(--navy); color: var(--ivory); }
.page-head .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-size: clamp(34px, 4.5vw, 48px); }
.page-head p { color: var(--on-navy-muted); font-size: 19px; max-width: 720px; }
.crumbs { font-size: 15px; color: var(--on-navy-faint); }
.crumbs a { color: var(--on-navy-faint); text-decoration: none; }
.toolbar { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.pill { flex-shrink: 0; border: 1px solid var(--border-control); background: var(--raised); color: var(--ink); font: 500 16px var(--ar); min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.pill[aria-pressed="true"], .pill[aria-current="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); font-weight: 700; }
.pill-soft { border: none; background: var(--accent-soft); color: var(--ink-accent); min-height: 36px; font-size: 14px; padding: 0 14px; }
.pill-soft[aria-pressed="true"] { background: var(--champagne); color: var(--navy); }
.search { display: flex; align-items: center; gap: 10px; background: var(--raised); border: 1px solid var(--border-control); border-radius: var(--r-md); padding: 0 14px; height: 50px; max-width: 420px; }
.search input { border: none; outline: none; background: transparent; font: 17px var(--ar); color: var(--ink); flex: 1; height: 100%; }
.search svg { width: 20px; height: 20px; color: var(--ink-faint); }
.menu-section { margin-top: 32px; }
.menu-section h2 { font-size: 24px; border-top: 2px solid var(--champagne); padding-top: 10px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.menu-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.dish-row { text-decoration: none; color: var(--ink); background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px; display: flex; gap: 14px; box-shadow: var(--shadow-sm); }
.dish-row:hover { box-shadow: var(--shadow-md); color: var(--ink); }
.dish-row .thumb { width: 112px; height: 112px; flex: none; border-radius: var(--r-md); overflow: hidden; background: var(--sunken); position: relative; }
.dish-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.dish-row .thumb .tag-badge { top: 6px; right: 6px; font-size: 12px; padding: 1px 8px; }
.dish-row .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dish-row b { font-size: 17px; }
.dish-row .desc { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.dish-row.sold { opacity: .6; }
.sold-badge { font-size: 13px; font-weight: 700; color: var(--danger); background: var(--danger-soft); padding: 2px 10px; border-radius: 999px; }
.go-btn { width: 32px; height: 32px; border-radius: var(--r-md); background: var(--navy); display: flex; align-items: center; justify-content: center; }
.go-btn svg { width: 16px; height: 16px; }
.info-box { background: var(--sunken); border-radius: var(--r-lg); padding: 20px; margin-top: 32px; line-height: 1.8; }
.empty { background: var(--sunken); border-radius: var(--r-lg); padding: 28px; text-align: center; color: var(--ink-muted); }
.sticky-wa { position: sticky; bottom: 0; z-index: 10; background: var(--ivory); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(20,33,61,.08); padding: 12px 20px; display: none; }
@media (max-width: 700px) { .sticky-wa { display: block; } .menu-grid { grid-template-columns: 1fr; } }

/* dish page */
.dish { display: flex; flex-wrap: wrap; gap: 48px; padding: 48px 0 96px; }
.dish-media { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.dish-media .main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-xl); background: var(--sunken); }
.dish-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dish-info h1 { font-size: clamp(30px, 4vw, 40px); }
.callout { background: var(--accent-soft); border-radius: var(--r-lg); padding: 16px 18px; }
.callout b { color: var(--ink-accent); }
.variants { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.variants legend { font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.variant { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 16px; border: 1px solid var(--border-control); border-radius: var(--r-md); background: var(--raised); cursor: pointer; }
.variant:has(input:checked) { border: 2px solid var(--navy); background: var(--accent-soft); }
.variant input { accent-color: var(--navy); width: 20px; height: 20px; }
.variant .l { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.panel { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; }
.panel h3 { font-size: 18px; margin-bottom: 6px; }
.allergen { margin-top: 10px; font-size: 14px; color: var(--warn); background: var(--warn-soft); border-radius: var(--r-md); padding: 8px 12px; }

/* courses */
.player-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; padding-bottom: 96px; }
.player-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.player { position: relative; aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-3); }
.player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player .lock { position: absolute; inset: 0; background: rgba(20,33,61,.78); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lock-card { background: var(--ivory); border-radius: var(--r-lg); padding: 28px 32px; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: 0 20px 48px rgba(0,0,0,.35); }
.lock-card .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.player .soon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--on-navy-muted); font-size: 18px; }
.play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.play-btn span { width: 84px; height: 84px; border-radius: 50%; background: rgba(20,33,61,.82); display: flex; align-items: center; justify-content: center; }
.play-btn svg { width: 34px; height: 34px; }
.lesson-list { flex: 1 1 340px; min-width: 0; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.lesson-list .head { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.progress { height: 6px; border-radius: 999px; background: var(--sunken); overflow: hidden; margin-top: 10px; }
.progress span { display: block; height: 100%; background: var(--deep-gold); }
.lesson-list ol { list-style: none; margin: 0; padding: 6px 0; }
.lesson-list a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; text-decoration: none; color: var(--ink); border-right: 4px solid transparent; }
.lesson-list a[aria-current="step"] { background: var(--accent-soft); border-right-color: var(--deep-gold); font-weight: 800; }
.lesson-list .n { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--sunken); color: var(--ink-muted); display: flex; align-items: center; justify-content: center; font: 700 13px var(--lat); }
.lesson-list a[aria-current="step"] .n { background: var(--navy); color: var(--champagne); }
.lesson-list .n.done { background: var(--success-soft); color: var(--success); }
.lesson-list .t { flex: 1; min-width: 0; line-height: 1.5; }
.lesson-list .t small { display: block; color: var(--ink-faint); font-weight: 400; }
.lesson-list svg { width: 18px; height: 18px; color: var(--ink-faint); }

/* article */
.article { max-width: 760px; margin: 0 auto; padding: 40px 32px 72px; display: flex; flex-direction: column; gap: 24px; }
.article h1 { font-size: clamp(32px, 4.4vw, 46px); }
.article .meta { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 15px; }
.article .meta img { width: 36px; }
.article .cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-xl); }
.article .lead { font-size: 21px; font-weight: 500; }
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.9; color: var(--ink-muted); }
.prose h2 { font-size: 28px; color: var(--ink); border-top: 2px solid var(--champagne); padding-top: 14px; margin-top: 12px; }
.prose h3 { font-size: 22px; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-right: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose figure { margin: 0; }
.prose figure img { border-radius: var(--r-lg); margin: 0 auto; }
.prose figcaption { font-size: 14px; color: var(--ink-faint); text-align: center; margin-top: 8px; }
.prose .callout { color: var(--ink); }
.prose .callout strong { display: block; color: var(--ink-accent); font-size: 16px; }
.prose blockquote { margin: 0; background: var(--accent-soft); border-radius: var(--r-lg); padding: 24px; color: var(--ink); font-weight: 700; font-size: 21px; }
.prose .video { aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; }
.prose .video iframe { width: 100%; height: 100%; border: 0; }
.recipe { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; color: var(--ink); }
.recipe h3 { margin-bottom: 8px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: 20px; }
.author { background: var(--navy); color: var(--ivory); border-radius: var(--r-xl); padding: 28px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid var(--champagne); }
.author div { flex: 1 1 300px; }
.author p { color: var(--on-navy-muted); }
.disclaimer { font-size: 14px; color: var(--ink-faint); }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.field input, .field textarea, .field select { font: 400 17px var(--ar); color: var(--ink); background: var(--raised); border: 1px solid var(--border-control); border-radius: var(--r-md); padding: 10px 14px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 14px; color: var(--ink-faint); font-weight: 400; }
.alert { border-radius: var(--r-md); padding: 12px 16px; font-size: 16px; }
.alert-ok { background: var(--success-soft); color: var(--success); }
.alert-err { background: var(--danger-soft); color: var(--danger); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; opacity: 0; pointer-events: none; }
.narrow { max-width: 520px; margin: 0 auto; padding: 64px 20px 96px; }
.service { display: flex; flex-direction: column; gap: 14px; }
.service .row { display: flex; flex-wrap: wrap; gap: 10px; }
.service .row span { border: 1px solid var(--border); border-radius: var(--r-md); padding: 6px 14px; background: var(--sunken); font-size: 15px; }

/* ---------- cart ---------- */
.dish-link { color: var(--ink); text-decoration: none; }
.dish-link:hover { color: var(--ink-accent); }
.dish-row .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.add-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--navy); color: var(--ivory); font: 700 14px var(--ar); cursor: pointer; }
.add-btn svg { width: 15px; height: 15px; }
.add-btn:hover { background: var(--navy-2); }
.add-btn[hidden], .sold-badge[hidden] { display: none; }
.cart-bar { position: sticky; bottom: 0; z-index: 20; padding: 12px 20px; background: rgba(251,247,240,.96); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(20,33,61,.08); }
.cart-bar[hidden] { display: none; }
.cart-bar .btn { max-width: 560px; margin: 0 auto; justify-content: space-between; }
.cart-count { min-width: 28px; height: 28px; border-radius: 999px; background: var(--champagne); color: var(--navy); display: inline-grid; place-items: center; font: 700 14px var(--lat); padding: 0 6px; }
.cart-link { position: relative; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--ink); }
.cart-link[hidden] { display: none; }
.cart-link svg { width: 24px; height: 24px; }
.cart-link span { position: absolute; top: 2px; left: 0; min-width: 20px; height: 20px; border-radius: 999px; background: var(--champagne); color: var(--navy); font: 700 12px var(--lat); display: grid; place-items: center; padding: 0 4px; }
dialog.cart { border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(460px, 100%); background: var(--ivory); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.cart::backdrop { background: rgba(20,33,61,.45); }
dialog.picker { margin: auto; height: auto; border-radius: var(--r-lg); width: min(420px, calc(100% - 32px)); }
.cart-inner { display: flex; flex-direction: column; gap: 16px; padding: 20px; min-height: 100%; }
.cart-head { display: flex; align-items: center; justify-content: space-between; }
.cart-head h2 { font-size: 24px; }
.icon-x { width: 40px; height: 40px; border: 0; background: var(--sunken); border-radius: 999px; cursor: pointer; font-size: 16px; color: var(--ink); }
.cart-line { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); }
.cart-line img, .cart-line .ph { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--sunken); flex: none; }
.cart-line.sold { opacity: .55; }
.cl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.cl-body b { font-size: 15px; }
.cart-lines { display: flex; flex-direction: column; gap: 8px; }
.cart-empty { text-align: center; color: var(--ink-faint); padding: 32px 0; }
.cart-empty[hidden], .cart-details[hidden], .cart-sent[hidden] { display: none; }
.cart-details { display: flex; flex-direction: column; gap: 12px; }
.cart-details .field textarea { min-height: 70px; }
.cart-sum { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.cart-sum > div { display: flex; justify-content: space-between; }
.cart-sum .total { border-top: 1px solid var(--border); padding-top: 8px; font-size: 19px; font-weight: 800; }
.small { font-size: 13px; }
.btn-wa { background: #1f7a4d; color: #fff; }
.btn-wa:hover { background: #18633e; color: #fff; }
.btn-wa:disabled { opacity: .5; cursor: not-allowed; }
.cart-sent { background: var(--success-soft); color: var(--success); border-radius: var(--r-md); padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cart-sent .btn-ghost-dark { color: var(--success); border-color: var(--success); min-height: 38px; }
.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick-list .variant { font: inherit; text-align: right; width: 100%; color: var(--ink); }
.pick-list .variant:hover { border-color: var(--navy); background: var(--accent-soft); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-control); border-radius: 999px; background: var(--raised); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font: 700 20px var(--lat); color: var(--ink); cursor: pointer; }
.qty output { min-width: 28px; text-align: center; font: 700 17px var(--lat); }
.qty-sm button { width: 34px; height: 34px; font-size: 17px; }
.order-panel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translate(-50%, 20px); background: var(--navy); color: var(--ivory); padding: 10px 20px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: .2s; z-index: 100; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 700px) { .dish-row .thumb { width: 92px; height: 92px; } }
[hidden] { display: none !important; }
.course-box { background: var(--accent-soft); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.course-box p { margin: 0; color: var(--ink-accent); font-weight: 700; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.buy-price { font-size: 28px; color: var(--champagne); }
.cart-line .icon-x { width: 34px; height: 34px; font-size: 13px; flex: none; }

/* ---------- consistent heights (never let a photo resize its frame) ---------- */
.media-43, .media-169 { flex: none; overflow: hidden; min-height: 0; height: auto; }
.media-43 > img, .media-169 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-43 > .media-empty, .media-169 > .media-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.grid, .grid-3 { align-items: stretch; }
.grid > *, .grid-3 > * { height: 100%; min-width: 0; }
.grid > .card, .grid-3 > .card { height: 100%; }
.grid > div:not(.card) { display: flex; flex-direction: column; }
.grid > div:not(.card) > .card { flex: 1; }
.card-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .swap, .card .txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* books: same cover box and same card height side by side */
.book { height: 100%; align-items: flex-start; }
.book img, .book .cover-empty { flex: none; width: 220px; height: 293px; aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 600px) { .book img, .book .cover-empty { width: 100%; height: auto; aspect-ratio: 3/4; } }
.dish-row { align-items: stretch; height: 100%; }
.menu-grid { align-items: stretch; }
.dish-media img.main, .dish-media .main { flex: none; width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; }
.dish-media .chips img { flex: none; }
.player { aspect-ratio: 16/9; }
.author img { flex: none; }

/* ---------- Language switch (EN / عربي) ---------- */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--border-control); border-radius: var(--r-md); color: var(--ink); background: transparent; text-decoration: none; font: 700 14px/1 var(--lat); letter-spacing: .04em; }
.lang-switch[lang="ar"] { font: 700 15px/1 var(--ar); letter-spacing: 0; }
.lang-switch:hover { background: var(--sunken); color: var(--ink); }
.nav .lang-switch { display: none; }
@media (max-width: 900px) {
  .site-header.open .nav a.lang-switch { display: flex; justify-content: flex-start; height: auto; min-width: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 10px 0; font-size: 16px; }
}
/* Small phones: logo, language switch, cart and menu button always fit on one row, cart shown or not */
@media (max-width: 440px) {
  .site-header .logo img { max-height: 40px; }
  .header-actions { gap: 6px; }
  .header-actions .lang-switch { min-width: 38px; height: 40px; padding: 0 6px; }
  .header-actions .cart-link { width: 40px; height: 40px; }
  .header-actions .menu-toggle { min-height: 40px; padding: 0 12px; }
}
.footer-links .lang-switch { height: auto; min-width: 0; padding: 2px 10px; border-color: #35456b; color: var(--ivory); }
.footer-links .lang-switch:hover { background: var(--navy-2); color: var(--ivory); }
.corner-badge { position: absolute; top: 12px; inset-inline-start: 12px; }
html[dir="rtl"] .en { text-align: right; }
html[dir="ltr"] .en { text-align: left; }

/* ---------- English pages (LTR) ---------- */
:root { --en: Montserrat, Tajawal, 'Helvetica Neue', Arial, sans-serif; }
html[lang="en"] body { font-family: var(--en); font-size: 16px; line-height: 1.7; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -.01em; line-height: 1.25; }
html[lang="en"] .hero h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.1; }
html[lang="en"] .prose { font-size: 18px; line-height: 1.8; }
html[lang="en"] .en { font-family: var(--ar); font-size: 14px; }
html[lang="en"] .nav { font-size: 15px; font-weight: 600; }
.price { white-space: nowrap; }
/* Arabic text shown as a fallback inside an English page keeps its own font and direction */
html[lang="en"] [lang="ar"], html[lang="en"] .prose[lang="ar"] { font-family: var(--ar); }
html[dir="ltr"] .stats div { padding-left: 0; margin-left: 0; border-left: 0; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--navy-line); }
html[dir="ltr"] .stats div:last-child { border: 0; margin: 0; padding: 0; }
html[dir="ltr"] .hero-badge { left: auto; right: -16px; }
@media (max-width: 700px) { html[dir="ltr"] .hero-badge { left: auto; right: 8px; } }
html[dir="ltr"] .tag-badge { right: auto; left: 12px; }
html[dir="ltr"] .dish-row .thumb .tag-badge { right: auto; left: 6px; }
html[dir="ltr"] .lesson-list a { border-right: 0; border-left: 4px solid transparent; }
html[dir="ltr"] .lesson-list a[aria-current="step"] { border-left-color: var(--deep-gold); }
html[dir="ltr"] .prose ul, html[dir="ltr"] .prose ol { padding-right: 0; padding-left: 22px; }
html[dir="ltr"] .prose[dir="rtl"] ul, html[dir="ltr"] .prose[dir="rtl"] ol { padding-left: 0; padding-right: 22px; }
html[dir="ltr"] .cart-link span { left: auto; right: 0; }
html[dir="ltr"] .pick-list .variant { text-align: left; }
/* steppers read "− 1 +" left to right */
html[dir="ltr"] .qty { flex-direction: row-reverse; }

/* agency credit: last line of every page */
.footer-credit { margin: 0; padding: 16px 0 28px; border-top: 1px solid rgba(217,178,106,.18); text-align: center; font: 500 13px var(--lat); color: var(--on-navy-faint); letter-spacing: .02em; }
.footer-credit a { color: var(--champagne); text-decoration: none; font-weight: 700; }
.footer-credit a:hover { text-decoration: underline; }

/* ================= Hend's feedback, round 1 ================= */
/* 20. Section headings: bigger numbered eyebrow, calmer title (same everywhere) */
.sh .eyebrow { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: 0; }
.sh h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.4; }
.sh p { font-size: 18px; }
html[lang="en"] .sh .eyebrow { font-size: 16px; text-transform: none; }

/* 1. Hero title on one line on desktop */
.hero h1 { font-size: clamp(38px, 4.6vw, 66px); }
@media (min-width: 901px) { .hero h1 { white-space: nowrap; } }
html[lang="en"] .hero h1 { font-size: clamp(34px, 3.9vw, 58px); }
/* 3. Stats: clear labels (they describe the books) */
.stats { row-gap: 16px; }
.stats span { font-size: 16px; line-height: 1.5; max-width: 170px; }
/* 4. Book badge under the hero photo is a link to the book */
a.hero-badge { text-decoration: none; color: var(--ink); }
a.hero-badge:hover { box-shadow: 0 12px 28px rgba(20,33,61,.32); color: var(--ink); }
.hero-badge small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-accent); line-height: 1.4; }
.hero-badge span span { display: block; }

/* 5. "How I can help" cards: bigger */
.help-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .help-grid { grid-template-columns: minmax(0, 1fr); } }
.help-grid .card-pad { padding: 34px 30px; gap: 16px; min-height: 300px; }
.help-grid .icon { width: 46px; height: 46px; }
.help-grid h3 { font-size: 27px; }
.help-grid .txt { font-size: 18px; -webkit-line-clamp: 4; }
.help-grid .go { font-size: 17px; }

/* 7/15. Books side by side, same height, FULL cover (never cropped) */
.books-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; align-items: stretch; }
.books-row > .book { height: 100%; }
.book { align-items: stretch; }
.book .book-cover { flex: none; width: 220px; aspect-ratio: 3/4; border-radius: var(--r-lg); background: var(--navy-3, #0d1830); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.book .book-cover img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.book .book-cover .cover-empty { width: 100%; height: 100%; }
.book .info { min-width: 0; }
@media (max-width: 600px) { .book .book-cover { width: 100%; aspect-ratio: 4/3; } .book .book-cover img { width: 100%; height: 100%; } }
.format-chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--champagne); color: var(--champagne); }
.where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.where small { color: var(--on-navy-muted); font-weight: 700; }
.where-chip { display: inline-block; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--navy-3, #0d1830); color: var(--ivory); text-decoration: none; border: 1px solid #35456b; }
a.where-chip:hover { border-color: var(--champagne); color: var(--champagne); }

/* 9/10. Go Healthy band: text + free program + 2x2 photos (side by side on phones too) */
.gh-band { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.gh-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gh-text .sh { margin-bottom: 8px; }
.gh-text .lead { font-size: 19px; color: var(--ink-muted); line-height: 1.8; margin: 0; }
.gh-text .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.gh-photos { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gh-photo { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--sunken); box-shadow: var(--shadow-sm); }
.gh-photo img, .gh-photo .media-empty { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gh-photo .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.4;
  background: linear-gradient(to top, rgba(20,33,61,.85), rgba(20,33,61,0)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .gh-photos { gap: 10px; } .gh-photo .cap { font-size: 13px; padding: 18px 8px 8px; } }

/* 18. My story: title first, photo never cropped */
.story-text { display: flex; flex-direction: column; gap: 22px; }
.story-text .sh { margin-bottom: 0; }
.split img.photo { height: auto; max-height: 620px; object-fit: contain; background: transparent; }

/* 8. In-person workshops */
.badge-offline { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: var(--champagne); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.badge-offline svg { width: 15px; height: 15px; }
.page-head .badge-offline { background: var(--champagne); color: var(--navy); }
.event-box { gap: 16px; }
.ev-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.ev-row b { text-align: end; }

/* 11. Branches */
.branches { margin-top: 32px; }
.branches h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 18px; }
.branch { gap: 10px; }
.branch h3 { font-size: 22px; }

/* 13. Menu: brand note + free program line in the page head */
.brand-note { display: flex; align-items: flex-start; gap: 10px; color: var(--champagne) !important; font-weight: 700; font-size: 18px !important; }
.brand-note svg { width: 22px; height: 22px; flex: none; margin-top: 5px; }
.program-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; background: var(--navy-2); border: 1px solid #35456b; border-radius: var(--r-lg); padding: 14px 18px; max-width: 860px; }
.program-line span { color: var(--on-navy-muted); font-size: 17px; flex: 1 1 320px; }

/* 10. Menu on phones: two dishes side by side, photo on top (same size for every dish) */
@media (max-width: 700px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dish-row { flex-direction: column; gap: 8px; padding: 8px; }
  .dish-row .thumb { width: 100%; height: auto; aspect-ratio: 1; }
  .dish-row b { font-size: 15px; line-height: 1.5; }
  .dish-row .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
  .dish-row .chips .chip { font-size: 11px; padding: 1px 8px; }
  .dish-row .card-foot { flex-wrap: wrap; gap: 6px; }
  .dish-row .card-foot .price { font-size: 14px !important; width: 100%; }
  .dish-row .add-btn { width: 100%; justify-content: center; }
}

/* 17. Blog: the article images are tall infographics: show their top in cards, the whole image on the article */
.post-card .media-169 > img { object-position: top center; }
.article .cover { width: auto; max-width: 100%; height: auto; max-height: 85vh; aspect-ratio: auto; object-fit: contain; display: block; margin-inline: auto; }

/* round 1 fixes after review */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.stats div { min-width: 0; }
.stats span { max-width: none; }
@media (max-width: 520px) { .stats div { padding-left: 14px; margin-left: 14px; } html[dir="ltr"] .stats div { padding-right: 14px; margin-right: 14px; } .stats b { font-size: 28px; } .stats span { font-size: 14px; } }
/* books side by side: cover on top (whole cover visible), details below, same card height */
.books-row .book { flex-direction: column; flex-wrap: nowrap; }
.books-row .book .book-cover { width: 100%; aspect-ratio: 16/10; }
.books-row .book .info { flex: 1 1 auto; }
.gh-note { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; font-weight: 700; color: var(--ink-accent); margin: 0; }
.gh-note svg { width: 22px; height: 22px; flex: none; margin-top: 4px; }
.gh-program { flex: 1 1 360px; max-width: 520px; gap: 14px; }
.gh-program .icon { width: 40px; height: 40px; }
@media (max-width: 640px) { .help-grid .card-pad { min-height: 0; } }

.ws-media { min-width: 0; }
.ws-media .media-169 { width: 100%; }
/* a grid with a single card keeps a normal card width instead of stretching across the page */
.grid-3:has(> :only-child), .grid:has(> :only-child) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 380px)); }
html[lang="en"] .hero h1 { white-space: normal; }

/* ================= Follow-up (20 Oct): workshops section + Hend's story ================= */
.ws-card .card-body { gap: 10px; }
.ws-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink-muted); font-size: 16px; line-height: 1.6; }
.ws-facts li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.ws-facts svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--ink-accent); }
.ws-card .go { font-weight: 700; color: var(--ink-accent); }
.ws-ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-faint); }
.ws-ph svg { width: 56px; height: 56px; }
.ws-empty { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.ws-empty .icon { width: 44px; height: 44px; flex: none; }
.ws-empty > div { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ws-empty b { font-size: 21px; }
.ws-empty .txt { margin: 0; color: var(--ink-muted); font-size: 17px; }
.ws-desc { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; font-size: 18px; color: var(--ink-muted); line-height: 1.85; }
.ev-row .muted { display: inline-flex; align-items: center; gap: 6px; }
.ev-row .muted svg { width: 17px; height: 17px; }

/* Hend's story: readable paragraphs + a pull quote */
.story-p { font-size: 18px; color: var(--ink-muted); line-height: 1.9; margin: 0; }
.story-text .story-p + .story-p { margin-top: -8px; }
.pull { margin: 4px 0; padding: 6px 18px; border-inline-start: 4px solid var(--champagne); font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--ink); line-height: 1.6; }
.story-full { display: flex; flex-direction: column; gap: 16px; font-size: 19px; color: var(--ink-muted); line-height: 1.95; min-width: 0; }
.story-full p { margin: 0; }
.story-full .pull { margin: 10px 0; }
.about-split { align-items: flex-start; }
@media (min-width: 901px) { .about-photo { position: sticky; top: 110px; } }

/* admin heatmap viewer (?hm=1 inside an iframe): hide floating bars so the page matches what visitors see */
.hm-view .cart-bar, .hm-view .sticky-wa, .hm-view .toast, .hm-view dialog { display: none !important; }
.hm-view .site-header { position: static; }

/* ---------- feedback round 2 (25 Oct 2026) ---------- */
/* Galleries: square tiles, same size everywhere, full photo in a lightbox */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.g-item { position: relative; display: block; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--sunken); cursor: zoom-in; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .25s; }
.g-item:hover img { transform: scale(1.04); }
.g-item:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.testi-shots { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.testi-shots .g-item img { object-fit: cover; object-position: top center; background: #fff; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1000px); max-height: 92vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(10,16,30,.86); }
dialog.lightbox img { display: block; max-width: min(96vw, 1000px); max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); background: #fff; }
dialog.lightbox .icon-x { position: absolute; top: -14px; inset-inline-end: -10px; z-index: 2; background: #fff; }
/* Testimonials (text) */
.testi { display: flex; flex-direction: column; gap: 12px; margin: 0; position: relative; }
.testi .q-mark { font: 800 64px/0.6 var(--lat); color: var(--champagne); height: 28px; }
.testi blockquote { margin: 0; font-size: 17px; line-height: 1.85; color: var(--ink); flex: 1; }
.testi figcaption { border-top: 1px solid var(--border); padding-top: 12px; font-size: 15px; }
/* Book card actions + book page */
.book-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
a.book-cover { text-decoration: none; }
.book-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.book-photos { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.book-main { aspect-ratio: 1; border-radius: var(--r-xl); background: var(--sunken); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.book-main img { width: 100%; height: 100%; object-fit: contain; }
.book-buy { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }
.book-buy .prices span { border-color: var(--border-strong); }
.book-buy .prices small { color: var(--ink-faint); }
.book-buy .prices b { color: var(--ink-accent); }
.book-buy .where-chip { color: var(--ink); background: var(--ivory); border-color: var(--border-strong); }
.book-buy .lead { font-size: 18px; color: var(--ink-muted); }
.format-chip.light { color: var(--ink-accent); border-color: var(--deep-gold); }
.narrow-wrap { max-width: 820px; }
.prose-lite { display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.9; color: var(--ink-muted); }
.prose-lite p { margin: 0; }
.prose-lite .bullet { position: relative; padding-inline-start: 22px; }
.prose-lite .bullet::before { content: ''; position: absolute; inset-inline-start: 4px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); }
.service .prose-lite { font-size: 16px; line-height: 1.8; }
@media (max-width: 860px) { .book-page { grid-template-columns: minmax(0, 1fr); } .book-buy { position: static; } }
/* Course landing page */
.course-hero .lead-hero { font-size: 20px; line-height: 1.85; color: var(--on-navy-muted); max-width: 760px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-navy-muted); }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg { width: 16px; height: 16px; }
.course-land { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cl-main { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.cl-block h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.cl-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.cl-side .lesson-list { flex: none; }
.price-box { display: flex; flex-direction: column; gap: 12px; }
.price-box .price.big { font: 800 32px var(--lat); color: var(--ink-accent); }
.promo-still { border-radius: var(--r-xl); overflow: hidden; }
.sticky-cta { display: none; }
@media (max-width: 960px) {
  .course-land { grid-template-columns: minmax(0, 1fr); }
  .cl-side { position: static; }
  .sticky-cta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 25; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -6px 20px rgba(20,33,61,.18); }
  .sticky-cta .price { color: var(--champagne); font: 800 20px var(--lat); }
  .sticky-cta .btn { min-height: 48px; }
  body.has-cart .sticky-cta { display: none; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 72px; }
}
/* Go Healthy socials (menu page) */
.gh-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--raised); }
.socials.dark a { border-color: var(--border-strong); color: var(--ink); }

/* ---------- install-the-app card (PWA) ---------- */
.pwa-card { position: fixed; z-index: 60; inset-inline: 12px; bottom: 12px; margin-inline: auto; max-width: 420px;
  background: var(--raised); color: var(--ink); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 18px 48px rgba(20,33,61,.22), 0 2px 6px rgba(20,33,61,.08); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 12px; transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.pwa-card.in { transform: none; opacity: 1; }
.pwa-card .pwa-x { position: absolute; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--sunken); color: var(--ink-muted); font-size: 14px; cursor: pointer; }
.pwa-head { display: flex; align-items: center; gap: 14px; padding-inline-end: 34px; }
.pwa-head img { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 2px 8px rgba(20,33,61,.18); }
.pwa-head b { display: block; font-size: 17px; line-height: 1.4; }
.pwa-head small { display: block; color: var(--ink-faint); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.pwa-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink-muted); }
.pwa-perks li { display: flex; align-items: center; gap: 8px; }
.pwa-perks li::before { content: "✓"; color: var(--success); font-weight: 800; }
.pwa-acts { display: flex; gap: 10px; }
.pwa-acts .btn { flex: 1; min-height: 46px; }
.pwa-ios { margin: 0; font-size: 15px; line-height: 1.8; background: var(--accent-soft); border-radius: 12px; padding: 10px 12px; }
.pwa-share { display: inline-flex; vertical-align: middle; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: var(--raised); color: #1a73e8; border: 1px solid var(--border); }
.footer-install { background: none; border: 1px solid #35456b; border-radius: 999px; color: var(--champagne); font: inherit; font-weight: 700; padding: 2px 12px; cursor: pointer; }
.footer-install:hover { background: var(--navy-2); }
.hm-view .pwa-card { display: none !important; }
@media (prefers-reduced-motion: reduce) { .pwa-card { transition: none; } }

/* ---------- round 3: cart bar, checkout, upsell, carousel, badges ---------- */
.tag-badge.is-new, .gold-chip.is-new { background: var(--success); color: #fff; }
.cart-bar { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: transparent; border: 0; box-shadow: none; pointer-events: none; }
.cart-bar-btn { pointer-events: auto; display: flex; align-items: center; gap: 14px; width: 100%; max-width: 520px; margin: 0 auto; min-height: 58px; padding: 8px 10px 8px 18px; border: 0; border-radius: 999px; background: var(--navy); color: var(--ivory); font: 700 17px var(--ar); cursor: pointer; box-shadow: 0 10px 28px rgba(20,33,61,.28); }
html[dir="ltr"] .cart-bar-btn { padding: 8px 18px 8px 10px; font-family: var(--lat); }
.cart-bar-btn:hover { background: var(--navy-2); }
.cb-icon { position: relative; flex: none; width: 42px; height: 42px; border-radius: 999px; background: var(--champagne); color: var(--navy); display: grid; place-items: center; }
.cb-icon svg { width: 22px; height: 22px; }
.cb-count { position: absolute; top: -4px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--ivory); color: var(--navy); border: 2px solid var(--navy); font: 800 12px/18px var(--lat); text-align: center; }
.cb-text { flex: 1; text-align: start; }
.cb-total { flex: none; background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 14px; font-size: 16px; }
.cb-total:empty { display: none; }
.method { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.method legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.pill-radio { flex: 1 1 0; min-width: 0; white-space: nowrap; font-size: 15px; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--border-control); border-radius: var(--r-md); background: var(--raised); cursor: pointer; font-weight: 700; }
.pill-radio:has(input:checked) { border-color: var(--navy); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.pill-radio input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
[data-delivery-only], [data-pickup-only] { display: flex; flex-direction: column; gap: 12px; }
.addr3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.addr3 .field { min-width: 0; }
.area-note { margin: -4px 0 0; color: var(--ink-accent); }
.field .hint { color: var(--ink-faint); font-weight: 400; }
.cart .invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 2px var(--danger-soft); }
[data-branch-info] a { font-weight: 700; }
.upsell { display: flex; flex-direction: column; gap: 8px; }
.upsell h3 { font-size: 17px; margin: 4px 0 0; }
.up-row { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.up-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 6px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); }
.up-img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--sunken); }
.up-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-name { font-size: 13px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.up-price { font-size: 13px; color: var(--ink-accent); font-weight: 700; margin-top: auto; padding-inline-end: 34px; }
.up-add { position: absolute; bottom: 6px; inset-inline-end: 6px; width: 32px; height: 32px; border-radius: 999px; border: 0; background: var(--navy); color: var(--ivory); font: 700 20px/1 var(--lat); cursor: pointer; }
.cart-sent { align-items: center; text-align: center; padding: 28px 18px; }
.cart-sent h3 { font-size: 22px; margin: 0; color: var(--success); }
.cart-sent p { margin: 0; }
.cart-sent .sent-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--success); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.cart-sent .btn { width: 100%; justify-content: center; }
dialog.cart .toast { position: fixed; bottom: 24px; }
@media (max-width: 380px) { .addr3 { grid-template-columns: 1fr 1fr; } .addr3 .field:last-child { grid-column: 1 / -1; } }

/* testimonials carousel (4 per view on desktop, RTL-aware) */
.carousel { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .car-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 820px) { .car-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 560px) { .car-track { grid-auto-columns: 86%; gap: 14px; } }
.car-nav { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.car-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--raised); color: var(--ink); font: 700 20px/1 var(--lat); cursor: pointer; display: grid; place-items: center; }
.car-btn:hover:not(:disabled) { border-color: var(--navy); background: var(--accent-soft); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-nav[hidden] { display: none; }
.testi-card { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 12px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow-sm, 0 2px 10px rgba(20,33,61,.05)); }
.testi-card .q-mark { font: 800 56px/0.6 var(--lat); color: var(--champagne); height: 24px; }
.testi-card blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.85; color: var(--ink); }
.testi-card figcaption { border-top: 1px solid var(--border); padding-top: 12px; font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.testi-card figcaption b { color: var(--ink); }
.testi-card figcaption span { color: var(--ink-faint); font-size: 13px; }
.testi-card.shot { padding: 10px; }
.testi-card .shot-frame { display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; cursor: zoom-in; flex: 1 1 auto; }
.testi-card .shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.testi-card.shot figcaption { border: 0; padding: 0 6px 4px; }
.testi-card .quote-frame { background: var(--accent-soft); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; text-align: start; font: inherit; }
.testi-card .quote-frame .q-mark { flex: none; }
.testi-card .quote-frame blockquote { flex: 0 1 auto; min-height: 0; overflow: hidden; font-size: 15.5px; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--lines, 6); }
.testi-card .quote-frame .q-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--gold-text, #8A6524); }
.testi-card .quote-frame:focus-visible { outline: 3px solid var(--focus, #A67B2E); outline-offset: 2px; }
dialog.quote-box { border: 0; border-radius: var(--r-lg); padding: 28px 24px 24px; max-width: min(92vw, 560px); background: var(--raised); color: var(--ink); box-shadow: 0 20px 60px rgba(10,16,30,.35); }
dialog.quote-box::backdrop { background: rgba(10,16,30,.7); }
dialog.quote-box blockquote { margin: 8px 0 14px; font-size: 17px; line-height: 1.9; white-space: pre-line; }
dialog.quote-box .q-mark { font: 800 56px/0.6 var(--lat); color: var(--champagne); display: block; height: 24px; }
dialog.quote-box figcaption { border-top: 1px solid var(--border); padding-top: 12px; font-size: 15px; }
dialog.quote-box .icon-x { position: absolute; top: 10px; inset-inline-end: 10px; }
.car-btn { background: var(--navy); color: #fff; border-color: var(--navy); }
.car-btn:hover:not(:disabled) { background: var(--deep-gold, #A67B2E); border-color: var(--deep-gold, #A67B2E); color: #fff; }
.stars { color: var(--ink-accent); letter-spacing: 1px; font-size: 16px; }
.where .where-note { flex-basis: 100%; font-weight: 400; }
.book-buy .where small, .book-buy .where-note { color: var(--ink-muted); }
.book-buy .where-chip { background: var(--accent-soft); color: var(--ink); border-color: var(--border-strong); }
.page-head-photo .wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 32px; }
.page-head-photo .ph-text { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.page-head-photo .ph-photo { width: 300px; height: 300px; flex: none; border-radius: var(--r-xl); object-fit: cover; object-position: top center; border: 3px solid var(--champagne); }
@media (max-width: 700px) { .page-head-photo .wrap { flex-direction: column-reverse; align-items: stretch; } .page-head-photo .ph-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; } }
.lesson-files { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.lesson-files ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lesson-files a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; min-height: 40px; }
.lesson-files svg { width: 18px; height: 18px; flex: none; }
/* stars & reviews */
.stars .on { color: var(--ink-accent); }
.stars .off { color: var(--border-strong); }
.rating-line { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review-item { margin: 0; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.review-item blockquote { margin: 0; line-height: 1.8; flex: 1; }
.review-item figcaption { color: var(--ink-faint); font-size: 14px; }
.review-form { display: flex; flex-direction: column; gap: 16px; }
.review-card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--raised); padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.review-card[disabled] { opacity: .75; }
.rc-head { display: flex; align-items: center; gap: 12px; }
.rc-img { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; background: var(--sunken); }
.rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card legend { float: left; width: auto; padding: 0; font-weight: 800; font-size: 17px; }
html[dir="rtl"] .review-card legend { float: right; }
.star-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
html[dir="rtl"] .star-pick { flex-direction: row-reverse; justify-content: flex-end; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 36px; line-height: 1; color: var(--border-strong); cursor: pointer; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: var(--ink-accent); }
.star-pick input:focus-visible + label { outline: 2px solid var(--focus, #a67b2e); border-radius: 8px; }
.ok-note { color: var(--success); font-weight: 700; display: flex; gap: 6px; align-items: center; margin: 0; }
.ok-note svg { width: 18px; height: 18px; }
.tv-card .card-body { display: flex; flex-direction: column; gap: 6px; }
.tv-card h3 { font-size: 18px; }
/* subcategories, nutrition, delivery fees */
.menu-sub { margin-top: 20px; }
.menu-sub h3 { font-size: 19px; color: var(--ink-accent); margin: 0 0 10px; scroll-margin-top: 90px; }
.sub-chips { margin: -4px 0 12px; }
.sub-chips .pill { text-decoration: none; }
.nutri { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: var(--success-soft); border: 1px solid #c9dfd1; border-radius: var(--r-md); padding: 10px; }
.nutri > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.nutri b { color: var(--success); font-size: 18px; font-family: var(--lat); }
.nutri span { color: var(--success); font-size: 13px; font-weight: 700; }
.nutri-line { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--success); }
.nutri-line b { font-family: var(--lat); }
.fee-groups { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink-muted); }
.fee-groups b { color: var(--ink); display: inline-block; min-width: 72px; }
/* courses block: free content, then the two practical courses side by side */
.sub-h { font-size: 20px; margin: 0 0 14px; color: var(--ink-accent); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.book-flow { display: flex; flex-direction: column; gap: 14px; border: 2px solid var(--champagne); }
.bf-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bf-steps { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-muted); }
.cert-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 24px; }
.cert { margin: 0; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.cert-frame { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: #fff; cursor: zoom-in; }
.cert-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cert figcaption { font-size: 14px; color: var(--ink-muted); }
.tv-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tv-cta > div { flex: 1; min-width: 220px; }
.tv-cta h2 { font-size: clamp(24px, 3vw, 30px); }
.tv-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--ink-accent); display: grid; place-items: center; }
.tv-ico svg { width: 28px; height: 28px; }

/* lesson photos (members) */
.lesson-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.lesson-photos > button { border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--sunken); }
.lesson-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
