/* ==========================================================================
   Zajel theme — calm beige & navy, shared with the Zajel app.
   Logical properties are used everywhere, so the same file serves English (LTR)
   and Arabic (RTL).
   ========================================================================== */

:root {
  --zj-navy: #14213d;
  --zj-navy-dark: #0b132b;
  --zj-navy-soft: #243b5a;
  --zj-beige: #e8dcc8;
  --zj-beige-soft: #f5efe6;
  --zj-bg: #fbf7f0;
  --zj-gold: #c8a45d;
  --zj-gold-dark: #a1803c;
  --zj-card: #ffffff;
  --zj-border: #e6d8c3;
  --zj-border-soft: #efe6d8;
  --zj-text: #1f2933;
  --zj-muted: #6b7280;
  --zj-success: #2f6b4f;
  --zj-warning: #b8872f;
  --zj-error: #b42318;

  --zj-r-xs: 10px;
  --zj-r-sm: 14px;
  --zj-r-md: 20px;
  --zj-r-lg: 24px;
  --zj-r-xl: 28px;

  --zj-shadow-soft: 0 3px 10px rgba(11, 19, 43, 0.05);
  --zj-shadow-card: 0 6px 18px rgba(11, 19, 43, 0.08);
  --zj-shadow-hero: 0 14px 34px rgba(11, 19, 43, 0.16);

  --zj-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --zj-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --zj-container: 1240px;
  --zj-gutter: clamp(16px, 4vw, 32px);
  --zj-tabbar-h: 0px;
}

[dir="rtl"] {
  --zj-font: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  --zj-display: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.zj {
  margin: 0;
  background: var(--zj-bg);
  color: var(--zj-text);
  font-family: var(--zj-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.zj img, .zj svg, .zj video { max-width: 100%; height: auto; }
.zj img { display: block; }
.zj svg.zj-icon { display: inline-block; flex: none; vertical-align: middle; }
[dir="rtl"] .zj-icon--dir { transform: scaleX(-1); }

.zj a { color: var(--zj-navy); text-decoration: none; transition: color 0.15s ease; }
.zj a:hover { color: var(--zj-gold-dark); }
.zj :focus-visible { outline: 2px solid var(--zj-gold); outline-offset: 2px; border-radius: 6px; }

.zj h1, .zj h2, .zj h3, .zj h4, .zj h5, .zj h6 {
  margin: 0 0 0.5em;
  color: var(--zj-navy);
  font-family: var(--zj-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
[dir="rtl"] .zj h1, [dir="rtl"] .zj h2, [dir="rtl"] .zj h3, [dir="rtl"] .zj h4 { font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.zj h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
.zj h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.zj h3 { font-size: 1.25rem; }
.zj h4 { font-size: 1.08rem; }
.zj p { margin: 0 0 1em; }
.zj ul, .zj ol { padding-inline-start: 1.3em; }
.zj hr { border: 0; border-top: 1px solid var(--zj-border); margin: 2rem 0; }
.zj small { font-size: 0.85em; }
.zj ::selection { background: var(--zj-beige); color: var(--zj-navy-dark); }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.zj-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--zj-navy); color: #fff !important; transition: top 0.15s; }
.zj-skip:focus { top: 12px; }

.zj-container { width: 100%; max-width: calc(var(--zj-container) + var(--zj-gutter) * 2); margin-inline: auto; padding-inline: var(--zj-gutter); }
.zj-container--narrow { max-width: calc(820px + var(--zj-gutter) * 2); }
.zj-main { display: block; min-height: 50vh; padding-block: 20px 56px; }

.zj-scroll-x { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.zj-scroll-x::-webkit-scrollbar { display: none; }

.zj-eyebrow { margin: 0 0 6px; color: var(--zj-muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
[dir="rtl"] .zj-eyebrow { letter-spacing: 0; font-size: 0.85rem; }
.zj-eyebrow--gold { color: var(--zj-gold); }

/* --------------------------------------------------------------- prose */

.zj-prose { font-size: 1.02rem; line-height: 1.75; color: #2b3540; }
.zj-prose > *:first-child { margin-top: 0; }
.zj-prose h2, .zj-prose h3, .zj-prose h4 { margin-top: 1.6em; }
.zj-prose a { text-decoration: underline; text-decoration-color: var(--zj-gold); text-underline-offset: 3px; }
.zj-prose img { border-radius: var(--zj-r-md); margin-block: 1em; }
.zj-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-inline-start: 3px solid var(--zj-gold); background: var(--zj-beige-soft); border-radius: 0 var(--zj-r-sm) var(--zj-r-sm) 0; }
[dir="rtl"] .zj-prose blockquote { border-radius: var(--zj-r-sm) 0 0 var(--zj-r-sm); }
.zj-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.zj-prose th, .zj-prose td { padding: 10px 12px; border-bottom: 1px solid var(--zj-border-soft); text-align: start; }

/* -------------------------------------------------------------- buttons */

.zj .zj-btn,
.zj .button,
.zj button.button,
.zj input[type="submit"],
.zj .wp-block-button__link,
body.zj a.button,
body.zj button.button,
body.zj input.button,
body.zj #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px;
  border: 1.5px solid var(--zj-navy); border-radius: 999px;
  background: var(--zj-navy); color: #fff;
  font-family: var(--zj-font); font-size: 0.95rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  -webkit-appearance: none; appearance: none;
}
.zj .zj-btn:hover,
.zj .button:hover,
.zj input[type="submit"]:hover,
body.zj a.button:hover,
body.zj button.button:hover,
body.zj input.button:hover,
body.zj #respond input#submit:hover { background: var(--zj-navy-soft); border-color: var(--zj-navy-soft); color: #fff; box-shadow: var(--zj-shadow-soft); }
.zj .zj-btn:active, .zj .button:active { transform: translateY(1px); }

body.zj a.button.alt, body.zj button.button.alt, body.zj input.button.alt,
.zj .single_add_to_cart_button, .zj .checkout-button, .zj #place_order {
  background: var(--zj-navy); border-color: var(--zj-navy); color: #fff; min-height: 52px; font-size: 1rem;
}
body.zj a.button.alt:hover, body.zj button.button.alt:hover, .zj .single_add_to_cart_button:hover, .zj .checkout-button:hover, .zj #place_order:hover { background: var(--zj-navy-dark); border-color: var(--zj-navy-dark); }
.zj .button.disabled, .zj .button:disabled, .zj .button[disabled],
body.zj button.button.alt.disabled, body.zj button.button:disabled[disabled] { opacity: 0.45; cursor: not-allowed; background: var(--zj-navy); color: #fff; padding: 11px 22px; }

.zj .zj-btn--gold { background: var(--zj-gold); border-color: var(--zj-gold); color: var(--zj-navy-dark) !important; }
.zj .zj-btn--gold:hover { background: #d4b373; border-color: #d4b373; color: var(--zj-navy-dark) !important; }
.zj .zj-btn--outline { background: transparent; color: var(--zj-navy) !important; }
.zj .zj-btn--outline:hover { background: var(--zj-navy); color: #fff !important; }
.zj .zj-btn--light { background: #fff; border-color: #fff; color: var(--zj-navy) !important; }
.zj .zj-btn--link { min-height: 0; padding: 0; border: 0; background: none; color: var(--zj-navy) !important; text-decoration: underline; text-decoration-color: var(--zj-gold); text-underline-offset: 4px; border-radius: 4px; box-shadow: none !important; }
.zj .zj-btn--link:hover { background: none; color: var(--zj-gold-dark) !important; }
.zj .zj-btn--sm { min-height: 38px; padding: 8px 16px; font-size: 0.88rem; }
.zj .zj-btn--block { display: flex; width: 100%; }

.zj-iconbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--zj-navy); cursor: pointer; transition: background 0.15s ease;
}
.zj-iconbtn:hover { background: var(--zj-beige-soft); color: var(--zj-navy); }

.zj-chips { gap: 8px; padding-block: 2px; }
.zj-chip {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border: 1px solid var(--zj-border); border-radius: 999px; background: var(--zj-card);
  color: var(--zj-navy) !important; font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.zj-chip:hover { border-color: var(--zj-navy); box-shadow: var(--zj-shadow-soft); }
.zj-chip.is-active { border-color: var(--zj-navy); background: var(--zj-navy); color: #fff !important; }

.zj-badges { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.zj-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--zj-navy); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.zj-badge--sale { background: var(--zj-gold); color: var(--zj-navy-dark); }
.zj-badge--muted { background: rgba(31, 41, 51, 0.72); }

/* ---------------------------------------------------------------- forms */

.zj input[type="text"], .zj input[type="email"], .zj input[type="tel"], .zj input[type="password"], .zj input[type="number"],
.zj input[type="search"], .zj input[type="url"], .zj input[type="date"], .zj select, .zj textarea,
.zj .select2-container--default .select2-selection--single {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--zj-border); border-radius: var(--zj-r-sm);
  background: #fff; color: var(--zj-text);
  font-family: var(--zj-font); font-size: 1rem; line-height: 1.4;
  box-shadow: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
body.zj form .form-row input.input-text, body.zj form .form-row textarea, body.zj form .form-row select { min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--zj-border); border-radius: var(--zj-r-sm); background-color: #fff; font-size: 1rem; line-height: 1.4; }
body.zj form .form-row input.input-text:focus, body.zj form .form-row textarea:focus { border-color: var(--zj-navy); box-shadow: 0 0 0 4px rgba(20, 33, 61, 0.08); }
.zj textarea, body.zj form .form-row textarea { min-height: 110px; resize: vertical; }
.zj select { padding-inline-end: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
[dir="rtl"] .zj select { background-position: left 14px center; }
.zj input:focus, .zj select:focus, .zj textarea:focus { border-color: var(--zj-navy); outline: none; box-shadow: 0 0 0 4px rgba(20, 33, 61, 0.08); }
.zj label { font-weight: 600; font-size: 0.93rem; color: var(--zj-navy); }
.zj input[type="checkbox"], .zj input[type="radio"] { accent-color: var(--zj-navy); width: 18px; height: 18px; }
.zj .select2-container--default .select2-selection--single { display: flex; align-items: center; height: 48px; }
.zj .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--zj-text); }
.zj .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; inset-inline-end: 8px; }
.zj .select2-dropdown { border: 1.5px solid var(--zj-border); border-radius: var(--zj-r-sm); overflow: hidden; box-shadow: var(--zj-shadow-card); }
.zj .select2-container--default .select2-results__option--highlighted[aria-selected], .zj .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--zj-navy); }

/* ---------------------------------------------------------- top bar + header */

.zj-topbar { background: var(--zj-navy); color: #f6ecd9; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; text-align: center; }
.zj-topbar__inner { padding-block: 8px; }
.zj-topbar a { color: inherit !important; text-decoration: underline; text-decoration-color: var(--zj-gold); text-underline-offset: 3px; }

.zj-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 247, 240, 0.94); border-bottom: 1px solid transparent; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
@supports (backdrop-filter: blur(10px)) { .zj-header { backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: rgba(251, 247, 240, 0.86); } }
.zj-header.is-stuck { border-color: var(--zj-border-soft); box-shadow: 0 6px 20px rgba(11, 19, 43, 0.06); }
.admin-bar .zj-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .zj-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .zj-header { top: 0; } }

.zj-header__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-height: 64px; }
.zj-header__menu { margin-inline-start: -8px; }
.zj-header__search { display: none; }
.zj-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-inline-end: -8px; }
.zj-header__lang { display: none; }
.zj-header__account { display: none; }

.zj-logo { display: inline-flex; align-items: center; justify-self: center; color: var(--zj-navy) !important; }
.zj .zj-logo__img { width: auto; height: 44px; max-width: 170px; object-fit: contain; }
.zj-logo__word { font-family: var(--zj-display); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.18em; }
[dir="rtl"] .zj-logo__word { letter-spacing: 0; }

.zj-cart-count {
  position: absolute; inset-block-start: 4px; inset-inline-end: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--zj-gold); color: var(--zj-navy-dark); font-size: 0.7rem; font-weight: 800; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform 0.2s ease;
}
.zj-cart-count.is-filled { transform: scale(1); }

.zj-lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--zj-navy) !important; font-size: 0.9rem; font-weight: 600; }
.zj-lang:hover { background: var(--zj-beige-soft); }

/* search */
.zj-search { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding-inline: 16px; border: 1.5px solid var(--zj-border); border-radius: 999px; background: #fff; color: var(--zj-muted); box-shadow: var(--zj-shadow-soft); transition: border-color 0.15s, box-shadow 0.15s; }
.zj-search:focus-within { border-color: var(--zj-navy); box-shadow: 0 0 0 4px rgba(20, 33, 61, 0.08); }
.zj .zj-search__input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none !important; font-size: 0.97rem; }
.zj .zj-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.zj-search__results { position: absolute; inset-inline: 0; top: calc(100% + 8px); z-index: 120; max-height: min(70vh, 480px); overflow-y: auto; padding: 8px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; box-shadow: var(--zj-shadow-hero); }
.zj-search__results[hidden] { display: none; }
.zj-search__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--zj-r-sm); color: var(--zj-text) !important; }
.zj-search__item:hover, .zj-search__item.is-active { background: var(--zj-beige-soft); }
.zj .zj-search__item img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--zj-beige-soft); flex: none; }
.zj-search__item span { display: flex; flex-direction: column; min-width: 0; font-weight: 600; font-size: 0.93rem; line-height: 1.35; }
.zj-search__item small { color: var(--zj-gold-dark); font-weight: 700; }
.zj-search__note { margin: 0; padding: 12px; color: var(--zj-muted); font-size: 0.92rem; text-align: center; }
.zj-search__all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--zj-border-soft); font-weight: 700; font-size: 0.9rem; text-align: center; }

.zj-mobilesearch { padding-block: 0 12px; }
.zj-mobilesearch[hidden] { display: none; }

/* main navigation (desktop) */
.zj-nav { display: none; }
.zj-menu, .zj-menu ul { margin: 0; padding: 0; list-style: none; }

@media (min-width: 1000px) {
  .zj-header__bar { grid-template-columns: auto minmax(260px, 520px) 1fr; gap: 28px; min-height: 76px; }
  .zj-header__menu, .zj-header__searchbtn { display: none; }
  .zj-header__search { display: block; }
  .zj-header__lang, .zj-header__account { display: inline-flex; }
  .zj-logo { justify-self: start; }
  .zj .zj-logo__img { height: 52px; max-width: 200px; }
  .zj-mobilesearch { display: none !important; }

  .zj-nav { display: block; border-top: 1px solid var(--zj-border-soft); }
  .zj-menu--main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-inline: -14px; }
  .zj-menu--main > .zj-menu__item { position: relative; }
  .zj-menu--main .zj-menu__link { display: inline-flex; align-items: center; gap: 6px; padding: 13px 14px; border: 0; background: none; color: var(--zj-navy); font-family: var(--zj-font); font-size: 0.93rem; font-weight: 600; cursor: pointer; border-radius: 999px; }
  .zj-menu--main > .zj-menu__item > .zj-menu__link:hover, .zj-menu--main > .zj-menu__item:focus-within > .zj-menu__link, .zj-menu--main > .zj-menu__item:hover > .zj-menu__link { color: var(--zj-gold-dark); }
  .zj-menu--main .zj-menu__expand { display: none; }
  .zj-menu--main .zj-menu__toggle .zj-icon { transition: transform 0.2s ease; }
  .zj-menu--main > .zj-menu__item:hover .zj-menu__toggle .zj-icon { transform: rotate(180deg); }

  .zj-menu--main .zj-submenu {
    position: absolute; inset-inline-start: 0; top: 100%; z-index: 110; min-width: 260px; max-height: 70vh; overflow-y: auto;
    padding: 10px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; box-shadow: var(--zj-shadow-hero);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
    columns: 1;
  }
  .zj-menu--main .zj-menu__item.has-many > .zj-submenu { columns: 2; min-width: 460px; }
  .zj-menu--main > .zj-menu__item:hover > .zj-submenu,
  .zj-menu--main > .zj-menu__item:focus-within > .zj-submenu,
  .zj-menu--main > .zj-menu__item.is-open > .zj-submenu { opacity: 1; visibility: visible; transform: none; }
  .zj-menu--main .zj-submenu .zj-menu__item { break-inside: avoid; }
  .zj-menu--main .zj-submenu .zj-menu__link { display: flex; width: 100%; padding: 9px 12px; border-radius: var(--zj-r-xs); font-weight: 500; }
  .zj-menu--main .zj-submenu .zj-menu__link:hover { background: var(--zj-beige-soft); color: var(--zj-navy); }
}

/* drawer (phones and tablets) */
.zj-drawer { position: fixed; inset: 0; z-index: 300; }
.zj-drawer[hidden] { display: none; }
.zj-drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 19, 43, 0.45); opacity: 0; transition: opacity 0.25s ease; }
.zj-drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; display: flex; flex-direction: column; width: min(88vw, 380px); background: var(--zj-bg); box-shadow: var(--zj-shadow-hero); transform: translateX(-102%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
[dir="rtl"] .zj-drawer__panel { transform: translateX(102%); }
.zj-drawer.is-open .zj-drawer__backdrop { opacity: 1; }
.zj-drawer.is-open .zj-drawer__panel { transform: none; }
.zj-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--zj-border-soft); }
.zj .zj-drawer__head .zj-logo__img { height: 38px; }
.zj-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 8px 16px; }
.zj-menu--drawer > .zj-menu__item { border-bottom: 1px solid var(--zj-border-soft); }
.zj-menu--drawer .zj-menu__item { position: relative; }
.zj-menu--drawer .zj-menu__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 12px; border: 0; background: none; color: var(--zj-navy); font-family: var(--zj-font); font-size: 1.02rem; font-weight: 700; text-align: start; cursor: pointer; }
.zj-menu--drawer .zj-menu__expand { position: absolute; inset-block-start: 6px; inset-inline-end: 4px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--zj-navy); cursor: pointer; }
.zj-menu--drawer [aria-expanded="true"] .zj-icon--chevron-down { transform: rotate(180deg); }
.zj-menu--drawer .zj-icon--chevron-down { transition: transform 0.2s ease; }
.zj-menu--drawer .zj-submenu { display: none; padding: 0 0 10px; }
.zj-menu--drawer .zj-menu__item.is-open > .zj-submenu { display: block; }
.zj-menu--drawer .zj-submenu .zj-menu__link { padding: 11px 12px 11px 24px; padding-inline: 24px 12px; font-size: 0.97rem; font-weight: 500; color: var(--zj-text); }
.zj-drawer__foot { display: grid; gap: 2px; padding: 10px 8px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--zj-border-soft); background: #fff; }
.zj-drawer__link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--zj-r-sm); color: var(--zj-navy) !important; font-weight: 600; font-size: 0.97rem; }
.zj-drawer__link:hover { background: var(--zj-beige-soft); }
body.zj-lock { overflow: hidden; }

/* focus (checkout) header */
.zj-header--focus .zj-header__bar { grid-template-columns: 1fr auto 1fr; }
.zj-header__back, .zj-header__secure { display: inline-flex; align-items: center; gap: 6px; color: var(--zj-navy) !important; font-size: 0.9rem; font-weight: 600; }
.zj-header__secure { justify-self: end; color: var(--zj-success) !important; }
@media (max-width: 560px) { .zj-header__back span, .zj-header__secure span { display: none; } }

/* ------------------------------------------------------------------ home */

.zj-home { padding-top: 16px; }

.zj-hero { position: relative; margin-bottom: 18px; }
.zj-hero__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--zj-r-xl); -webkit-overflow-scrolling: touch; }
.zj-hero__track::-webkit-scrollbar { display: none; }
.zj-hero__slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: flex-end;
  min-height: clamp(260px, 56vw, 520px); overflow: hidden; border-radius: var(--zj-r-xl);
  background: linear-gradient(135deg, var(--zj-navy) 0%, var(--zj-navy-soft) 100%); color: #fff !important; box-shadow: var(--zj-shadow-hero); isolation: isolate;
}
.zj .zj-hero__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s ease; }
a.zj-hero__slide:hover .zj-hero__img { transform: scale(1.03); }
.zj-hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11, 19, 43, 0.78) 0%, rgba(11, 19, 43, 0.32) 45%, rgba(11, 19, 43, 0.05) 75%); }
.zj-hero__slide--plain .zj-hero__shade { background: radial-gradient(circle at 85% 10%, rgba(200, 164, 93, 0.35), transparent 55%); }
.zj-hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; max-width: 640px; padding: clamp(20px, 4vw, 48px); }
.zj-hero__title { font-family: var(--zj-display); font-size: clamp(1.6rem, 1rem + 3vw, 3rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
[dir="rtl"] .zj-hero__title { letter-spacing: 0; line-height: 1.35; }
.zj-hero__subtitle { max-width: 46ch; color: rgba(255, 255, 255, 0.9); font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.12rem); line-height: 1.5; }
.zj-hero__cta { margin-top: 6px; }
.zj-hero__dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.zj-hero__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--zj-border); cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.zj-hero__dot.is-active { width: 22px; background: var(--zj-navy); }
@media (min-width: 1000px) {
  .zj-hero__slide { align-items: center; min-height: 480px; }
  .zj-hero__shade { background: linear-gradient(to right, rgba(11, 19, 43, 0.78) 0%, rgba(11, 19, 43, 0.4) 42%, rgba(11, 19, 43, 0) 72%); }
  [dir="rtl"] .zj-hero__shade { background: linear-gradient(to left, rgba(11, 19, 43, 0.78) 0%, rgba(11, 19, 43, 0.4) 42%, rgba(11, 19, 43, 0) 72%); }
}

.zj-quick { display: grid; gap: 12px; margin-bottom: 34px; }
.zj-quick__promise { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: var(--zj-beige-soft); color: var(--zj-navy); font-weight: 600; font-size: 0.95rem; }
.zj-quick__promise .zj-icon { color: var(--zj-gold-dark); }
@media (min-width: 800px) { .zj-quick { grid-template-columns: auto 1fr; align-items: center; } }

.zj-section { margin-bottom: clamp(36px, 5vw, 60px); }
.zj-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.zj .zj-section__title { margin: 0; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
.zj-section__subtitle { margin: 4px 0 0; color: var(--zj-muted); font-size: 0.95rem; }
.zj-section__more { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }

/* category cards */
.zj-cats__list { gap: 14px; }
.zj-cat { display: flex; flex-direction: column; gap: 10px; color: var(--zj-navy) !important; text-align: center; scroll-snap-align: start; }
.zj-cat__media { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--zj-beige-soft); border: 1px solid var(--zj-border-soft); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.zj .zj-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.zj-cat:hover .zj-cat__media { box-shadow: var(--zj-shadow-card); transform: translateY(-2px); }
.zj-cat:hover .zj-cat__media img { transform: scale(1.05); }
.zj-cat__icon { font-size: 2rem; line-height: 1; color: var(--zj-gold-dark); }
.zj-cat__title { display: block; font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.zj-cat__subtitle { display: block; margin-top: 2px; color: var(--zj-muted); font-size: 0.84rem; line-height: 1.35; }

.zj-cats--circles .zj-cat { flex: 0 0 92px; }
.zj-cats--circles .zj-cat__media { width: 92px; height: 92px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--zj-border), var(--zj-shadow-soft); }
.zj-cats--circles .zj-cat__title { font-size: 0.85rem; font-weight: 600; }
@media (min-width: 800px) { .zj-cats--circles .zj-cat { flex-basis: 124px; } .zj-cats--circles .zj-cat__media { width: 124px; height: 124px; } .zj-cats--circles .zj-cats__list { gap: 22px; } .zj-cats--circles .zj-cat__title { font-size: 0.95rem; } }

.zj-cats--compact .zj-cat { flex: 0 0 min(72vw, 300px); flex-direction: row; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; text-align: start; box-shadow: var(--zj-shadow-soft); }
.zj-cats--compact .zj-cat__media { flex: none; width: 76px; height: 76px; border-radius: var(--zj-r-sm); }
@media (min-width: 900px) { .zj-cats--compact .zj-cats__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); overflow: visible; } .zj-cats--compact .zj-cat { flex: initial; } }

.zj-cats--grid .zj-cats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zj-cats--grid .zj-cat { position: relative; text-align: start; }
.zj-cats--grid .zj-cat__media { aspect-ratio: 4 / 5; border-radius: var(--zj-r-lg); }
.zj-cats--grid .zj-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 19, 43, 0.72), rgba(11, 19, 43, 0) 55%); }
.zj-cats--grid .zj-cat__text { position: absolute; inset-inline: 14px; inset-block-end: 12px; color: #fff; }
.zj-cats--grid .zj-cat__title { font-family: var(--zj-display); font-size: 1.08rem; color: #fff; }
.zj-cats--grid .zj-cat__subtitle { color: rgba(255, 255, 255, 0.85); }
@media (min-width: 700px) { .zj-cats--grid .zj-cats__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .zj-cats--grid .zj-cats__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } .zj-cats--grid .zj-cat__media { aspect-ratio: 3 / 4; } }

/* product rails */
.zj-rail-wrap { position: relative; }
.zj .zj-rail, .zj .related ul.products, .zj .upsells ul.products, .zj .cross-sells ul.products {
  display: flex !important; gap: 14px; margin: 0 calc(var(--zj-gutter) * -1) !important; padding: 4px var(--zj-gutter) 14px !important;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; scroll-padding-inline: var(--zj-gutter);
}
.zj .zj-rail::-webkit-scrollbar, .zj .related ul.products::-webkit-scrollbar, .zj .upsells ul.products::-webkit-scrollbar, .zj .cross-sells ul.products::-webkit-scrollbar { display: none; }
.zj .zj-rail > li.product, .zj .related ul.products > li.product, .zj .upsells ul.products > li.product, .zj .cross-sells ul.products > li.product { flex: 0 0 clamp(158px, 44vw, 236px); scroll-snap-align: start; }
.zj-rail__nav { position: absolute; top: 34%; z-index: 5; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--zj-border-soft); border-radius: 50%; background: #fff; color: var(--zj-navy); box-shadow: var(--zj-shadow-card); cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.zj-rail__nav:hover { transform: scale(1.06); }
.zj-rail__nav[disabled] { opacity: 0; pointer-events: none; }
.zj-rail__nav--prev { inset-inline-start: -14px; }
.zj-rail__nav--next { inset-inline-end: -14px; }
@media (hover: hover) and (min-width: 1000px) { .zj-rail__nav { display: inline-flex; } }

/* promise / trust / app band */
.zj-promise__card { display: grid; gap: 18px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: var(--zj-r-xl); background: var(--zj-beige-soft); border: 1px solid var(--zj-border-soft); }
.zj-promise__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--zj-gold-dark); box-shadow: var(--zj-shadow-soft); }
.zj .zj-promise__title { margin-bottom: 8px; }
.zj-promise__text p:last-child { margin: 0; color: #46505b; max-width: 60ch; }
@media (min-width: 860px) { .zj-promise__card { grid-template-columns: auto 1fr auto; gap: 28px; } }

.zj .zj-trust__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.zj-trust__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; }
.zj-trust__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--zj-beige-soft); color: var(--zj-navy); }
.zj-trust__text { display: flex; flex-direction: column; line-height: 1.35; }
.zj-trust__text strong { color: var(--zj-navy); font-size: 0.98rem; }
.zj-trust__text small { color: var(--zj-muted); font-size: 0.86rem; }
@media (min-width: 760px) { .zj-trust__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
/* "Why Zajel" as one compact strip high on the home: three short points side by side, even on a phone. */
.zj .zj-trust--strip .zj-trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.zj-trust--strip .zj-trust__item { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 12px 6px; text-align: center; background: var(--zj-beige-soft); border-color: transparent; }
.zj-trust--strip .zj-trust__icon { width: 38px; height: 38px; background: #fff; }
.zj-trust--strip .zj-trust__text strong { font-size: 0.82rem; line-height: 1.3; }
.zj-trust--strip .zj-trust__text small { display: none; }
@media (min-width: 760px) {
  .zj-trust--strip .zj-trust__item { flex-direction: row; gap: 12px; padding: 14px 16px; text-align: start; }
  .zj-trust--strip .zj-trust__text strong { font-size: 0.95rem; }
  .zj-trust--strip .zj-trust__text small { display: block; }
}

.zj-appband__card { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--zj-r-xl); background: linear-gradient(135deg, var(--zj-navy-dark), var(--zj-navy-soft)); color: #e9edf5; box-shadow: var(--zj-shadow-hero); }
.zj .zj-appband__title { margin-bottom: 8px; color: #fff; }
.zj-appband__text { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, 0.82); }
@media (min-width: 860px) { .zj-appband__card { grid-template-columns: 1fr auto; } }

.zj-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.zj-store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: #fff !important; font-weight: 700; font-size: 1rem; line-height: 1.15; transition: background 0.15s ease; }
.zj-store:hover { background: rgba(255, 255, 255, 0.18); }
.zj-store span { display: flex; flex-direction: column; }
.zj-store small { font-size: 0.66rem; font-weight: 500; opacity: 0.85; }
.zj-home__page { margin-top: 24px; }

/* ------------------------------------------------- home 1.25.0: the photos do the selling
   The home's pictures are shot on Zajel's cream wall with the gift on the right and empty wall on the left, so the
   words stand on that wall in navy (no dark shade), on the physical left in both languages. Every rule hangs on its
   own class: the Zajel Builder hero, category blocks on other pages and the rails on product pages keep their look. */

/* hero. Phone: photo on top, words under it. Computer: words on the wall. */
.zj-hero--light .zj-hero__track { padding-bottom: 44px; margin-bottom: -32px; }
.zj-hero__slide--photo { flex-direction: column; align-items: stretch; min-height: 0; border: 1px solid var(--zj-border-soft); background: #fff; color: var(--zj-navy) !important; box-shadow: 0 10px 24px rgba(11, 19, 43, 0.1); }
.zj .zj-hero__slide--photo .zj-hero__img { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 78% 50%; }
a.zj-hero__slide--photo:hover .zj-hero__img { transform: none; }
/* 1.25.5: a photo with a phone copy is wrapped in <picture>; the wrapper takes no box, so the photo lays out as before. */
.zj-photo-pic { display: contents; }
.zj-hero__slide--photo .zj-hero__shade { display: none; }
.zj-hero__slide--photo .zj-hero__content { gap: 8px; max-width: none; padding: 18px 18px 22px; }
.zj-hero__slide--photo .zj-hero__subtitle { max-width: 40ch; color: #46505b; }
@media (min-width: 1000px) {
  .zj-hero__slide--photo { flex-direction: row; align-items: center; min-height: 480px; border: 0; background: var(--zj-beige-soft); box-shadow: 0 14px 34px rgba(11, 19, 43, 0.12); }
  .zj .zj-hero__slide--photo .zj-hero__img { position: absolute; height: 100%; aspect-ratio: auto; object-position: 50% 50%; }
  a.zj-hero__slide--photo:hover .zj-hero__img { transform: scale(1.03); }
  .zj-hero__slide--photo .zj-hero__shade,
  [dir="rtl"] .zj-hero__slide--photo .zj-hero__shade { display: block; background: linear-gradient(to right, rgba(251, 247, 240, 0.93) 0%, rgba(251, 247, 240, 0.66) 27%, rgba(251, 247, 240, 0) 52%); }
  .zj-hero__slide--photo .zj-hero__content { gap: 12px; max-width: 560px; padding: 0 56px; }
  [dir="rtl"] .zj-hero__slide--photo .zj-hero__content { max-width: 500px; margin-inline-start: auto; }
}

/* 1.25.7.3 (owner, 2026-11-30: banners clear on every screen). The calm Home photos (re-shot 2026-10) have the gift
   on the LEFT and empty wall on the right, the opposite of what the rules above were written for:
   - phone / iPad upright: the 4:3 crop kept the right (78%) and cut the gift off on 7 of 9 photos -> keep the left;
   - computer: the words and the cream fade sat on the left, on top of the gift -> words and fade on the right wall.
   The Bath & Body Works photo has its gift in the middle-right, so it keeps the old look. */
.zj .zj-hero__slide--photo .zj-hero__img { object-position: 12% 50%; }
.zj .zj-hero__slide--photo .zj-hero__img[src*="bath-body-works"] { object-position: 62% 50%; }
@media (min-width: 1000px) {
  .zj .zj-hero__slide--photo .zj-hero__img,
  .zj .zj-hero__slide--photo .zj-hero__img[src*="bath-body-works"] { object-position: 50% 50%; }
  .zj-hero__slide--photo .zj-hero__shade,
  [dir="rtl"] .zj-hero__slide--photo .zj-hero__shade { background: linear-gradient(to left, rgba(251, 247, 240, 0.93) 0%, rgba(251, 247, 240, 0.66) 27%, rgba(251, 247, 240, 0) 52%); }
  .zj-hero__slide--photo .zj-hero__content,
  [dir="rtl"] .zj-hero__slide--photo .zj-hero__content { margin-left: auto; margin-right: 0; }
  .zj-hero__slide--photo:has(.zj-hero__img[src*="bath-body-works"]) .zj-hero__shade { background: linear-gradient(to right, rgba(251, 247, 240, 0.93) 0%, rgba(251, 247, 240, 0.66) 27%, rgba(251, 247, 240, 0) 52%); }
  .zj-hero__slide--photo:has(.zj-hero__img[src*="bath-body-works"]) .zj-hero__content { margin-left: 0; margin-right: auto; }
}

/* occasions: enough circles to run from edge to edge on a computer */
@media (min-width: 1000px) {
  .zj-home .zj-cats--spread .zj-cats__list { justify-content: space-between; gap: 10px; }
  .zj-home .zj-cats--spread .zj-cat { flex-basis: 104px; }
  .zj-home .zj-cats--spread .zj-cat__media { width: 104px; height: 104px; }
  .zj-home .zj-cats--spread .zj-cat__title { font-size: 0.92rem; }
}

/* a photo card opens each product row */
.zj .zj-rail > li.zj-rail__lead { display: flex; flex: 0 0 clamp(186px, 54vw, 300px); margin: 0; padding: 0; list-style: none; scroll-snap-align: start; }
.zj-lead { position: relative; isolation: isolate; display: flex; align-items: flex-end; width: 100%; min-height: 250px; overflow: hidden; border-radius: var(--zj-r-md); background: var(--zj-beige-soft); color: #fff !important; }
.zj .zj-lead__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--zj-pos, 50% 50%); transition: transform 0.5s ease; }
.zj-lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 19, 43, 0.82) 0%, rgba(11, 19, 43, 0.25) 48%, rgba(11, 19, 43, 0) 70%); }
.zj-lead:hover .zj-lead__img { transform: scale(1.04); }
.zj-lead__body { display: grid; gap: 8px; justify-items: start; padding: 16px; }
.zj-lead__title { font-family: var(--zj-display); font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
[dir="rtl"] .zj-lead__title { line-height: 1.35; }
.zj-lead__cta { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--zj-gold); color: var(--zj-navy-dark); font-size: 0.82rem; font-weight: 700; }
@media (min-width: 1000px) { .zj .zj-rail > li.zj-rail__lead { flex-basis: 300px; } }

/* "why Zajel" strip on a computer: white cards on the page instead of beige ones */
@media (min-width: 1000px) {
  .zj-home .zj-trust--strip .zj-trust__item { gap: 14px; padding: 16px 18px; border-color: var(--zj-border-soft); background: #fff; }
  .zj-home .zj-trust--strip .zj-trust__icon { width: 46px; height: 46px; background: var(--zj-beige-soft); }
  .zj-home .zj-trust--strip .zj-trust__text strong { font-size: 0.98rem; }
}

/* the gift-photo promise as a split card: the hand-over picture beside the words */
.zj-split { display: grid; overflow: hidden; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-xl); background: var(--zj-beige-soft); }
.zj .zj-split__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--zj-pos, 50% 50%); }
.zj-split__body { display: grid; gap: 10px; align-content: center; justify-items: start; padding: clamp(20px, 4vw, 44px); }
.zj-split__body .zj-eyebrow, .zj-band__body .zj-eyebrow { margin: 0; color: var(--zj-gold-dark); }
.zj .zj-split__title { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; }
[dir="rtl"] .zj .zj-split__title { line-height: 1.35; }
.zj-split__body p:not(.zj-eyebrow) { margin: 0; max-width: 52ch; color: #46505b; }
@media (min-width: 1000px) {
  .zj-split { grid-template-columns: 1.05fr 1fr; }
  .zj .zj-split__img { height: 100%; min-height: 360px; aspect-ratio: auto; }
}

/* who is it for: square photo tiles */
.zj-cats--tiles .zj-cat { flex: 0 0 42vw; gap: 8px; text-align: start; }
.zj-cats--tiles .zj-cat__media { aspect-ratio: 1; border: 0; border-radius: var(--zj-r-lg); }
@media (min-width: 700px) { .zj-cats--tiles .zj-cat { flex-basis: 28vw; } }
@media (min-width: 1000px) {
  .zj-cats--tiles .zj-cats__list { display: grid; grid-template-columns: repeat(var(--zj-tiles, 6), minmax(0, 1fr)); gap: 18px; overflow: visible; }
  .zj-cats--tiles .zj-cat { flex: initial; }
}

/* "make it a gift set": a photo band. Phone: photo on top. Computer: words on the wall, as in the hero. */
.zj-band { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--zj-r-xl); background: #fff; color: var(--zj-text) !important; box-shadow: var(--zj-shadow-card); }
.zj .zj-band__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--zj-pos, 50% 50%); transition: transform 1.2s ease; }
.zj-band__body { display: grid; gap: 8px; justify-items: start; padding: 18px 18px 22px; }
.zj-band__title { font-family: var(--zj-display); font-size: clamp(1.4rem, 1rem + 2vw, 2.3rem); font-weight: 700; line-height: 1.14; color: var(--zj-navy); text-wrap: balance; }
[dir="rtl"] .zj-band__title { line-height: 1.35; }
.zj-band__text { max-width: 42ch; color: #46505b; }
.zj-band__body .zj-btn { margin-top: 4px; }
@media (min-width: 1000px) {
  .zj-band { flex-direction: row; align-items: center; min-height: 340px; background: var(--zj-beige-soft); }
  .zj .zj-band__img { position: absolute; inset: 0; z-index: -2; height: 100%; max-width: none; aspect-ratio: auto; }
  .zj-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(251, 247, 240, 0.93) 0%, rgba(251, 247, 240, 0.66) 27%, rgba(251, 247, 240, 0) 52%); }
  .zj-band:hover .zj-band__img { transform: scale(1.03); }
  .zj-band__body { width: 100%; max-width: 520px; padding: 0 56px; }
  [dir="rtl"] .zj-band__body { max-width: 480px; margin-inline-start: auto; }
}

/* delivery and budget: wide cards with a small photo and an arrow */
.zj-cats--ways .zj-cats__list { display: grid; gap: 12px; }
.zj-cats--ways .zj-cat { flex-direction: row; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; text-align: start; box-shadow: var(--zj-shadow-soft); }
.zj-cats--ways .zj-cat__media { flex: none; width: 84px; height: 84px; border: 0; border-radius: var(--zj-r-sm); }
.zj-cats--ways .zj-cat__text { flex: 1; min-width: 0; }
.zj-cats--ways .zj-cat__title { font-size: 0.98rem; }
.zj-cats--ways .zj-cat__subtitle { font-size: 0.86rem; }
.zj-cat__go { display: inline-flex; flex: none; padding-inline-end: 6px; color: var(--zj-gold-dark); }
@media (min-width: 1000px) { .zj-cats--ways .zj-cats__list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; } }

/* ---------------------------------------------------------- product cards */

.zj ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin: 0 0 28px; padding: 0; list-style: none; clear: both; }
.zj ul.products::before, .zj ul.products::after { display: none !important; }
@media (min-width: 700px) { .zj ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1040px) { .zj ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 24px; } }

.zj ul.products li.product { position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 0; text-align: start; list-style: none; }
.zj ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: var(--zj-text); }
.zj-card__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--zj-r-md); background: var(--zj-beige-soft); margin-bottom: 12px; }
.zj ul.products li.product .zj-card__media img { width: 100%; height: 100%; margin: 0 !important; object-fit: cover; transition: transform 0.55s ease; }
.zj ul.products li.product:hover .zj-card__media img { transform: scale(1.045); }
.zj ul.products li.product .woocommerce-loop-product__title, .zj ul.products li.product .woocommerce-loop-category__title {
  margin: 0 0 4px; padding: 0 2px; color: var(--zj-text); font-family: var(--zj-font); font-size: 0.95rem; font-weight: 600; line-height: 1.38; letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.zj ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; padding: 0 2px; color: var(--zj-navy); font-size: 1rem; font-weight: 800; }
.zj ul.products li.product .price del { color: var(--zj-muted); font-size: 0.85rem; font-weight: 500; opacity: 1; }
.zj ul.products li.product .price ins { text-decoration: none; color: var(--zj-error); }
.zj ul.products li.product .star-rating { margin: 2px 2px 4px; font-size: 0.8rem; color: var(--zj-gold); }
.zj ul.products li.product.product-category a { display: block; }
.zj ul.products li.product.product-category img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--zj-r-md); margin-bottom: 10px !important; }
.zj .price .amount { white-space: nowrap; }
.zj .woocommerce-Price-currencySymbol { font-size: 0.82em; font-weight: 600; margin-inline: 2px; }

/* ------------------------------------------------------------ shop pages */

.zj-breadcrumb, .zj .woocommerce-breadcrumb { margin: 0 0 14px !important; color: var(--zj-muted) !important; font-size: 0.84rem !important; }
.zj-breadcrumb a, .zj .woocommerce-breadcrumb a { color: var(--zj-muted) !important; }
.zj-breadcrumb a:hover { color: var(--zj-navy) !important; }
.zj-crumb-sep { margin-inline: 8px; opacity: 0.5; }

.zj .woocommerce-products-header { margin-bottom: 16px; }
.zj .woocommerce-products-header__title { margin-bottom: 6px; }
.zj .term-description, .zj .page-description { max-width: 78ch; color: #4a5561; font-size: 0.98rem; }
.zj .term-description p:last-child { margin-bottom: 0; }
.zj-shop__chips { margin-bottom: 16px; margin-inline: calc(var(--zj-gutter) * -1); padding-inline: var(--zj-gutter); }
.zj-shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-block: 10px; border-block: 1px solid var(--zj-border-soft); }
.zj .woocommerce-result-count { float: none !important; margin: 0 !important; color: var(--zj-muted); font-size: 0.9rem; }
.zj .woocommerce-ordering { float: none !important; margin: 0 !important; }
.zj .woocommerce-ordering select { min-height: 42px; padding-block: 8px; font-size: 0.9rem; font-weight: 600; border-radius: 999px; width: auto; max-width: 56vw; }

.zj .woocommerce-pagination, .zj .navigation.pagination { margin-top: 12px; text-align: center; }
body.zj nav.woocommerce-pagination ul, .zj .nav-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; list-style: none; }
body.zj nav.woocommerce-pagination ul li { border: 0; overflow: visible; }
body.zj nav.woocommerce-pagination ul li a, body.zj nav.woocommerce-pagination ul li span, .zj .nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--zj-border); border-radius: 999px; background: #fff; color: var(--zj-navy); font-weight: 700; font-size: 0.92rem;
}
body.zj nav.woocommerce-pagination ul li span.current, .zj .nav-links .page-numbers.current { border-color: var(--zj-navy); background: var(--zj-navy); color: #fff; }
body.zj nav.woocommerce-pagination ul li a:hover, .zj .nav-links a.page-numbers:hover { border-color: var(--zj-navy); background: var(--zj-beige-soft); color: var(--zj-navy); }

/* --------------------------------------------------------- single product */

body.zj div.product, .zj div.product.type-product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.zj div.product.type-product > * { grid-column: 1 / -1; min-width: 0; }
body.zj div.product div.images, body.zj div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; }
@media (min-width: 900px) {
  .zj div.product.type-product { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 60px); row-gap: 48px; align-items: start; }
  body.zj div.product.type-product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; align-self: start; }
  body.zj div.product.type-product > .summary { grid-row: 1; }
  .zj div.product.type-product > .summary { grid-column: 2; }
}
/* The photo and the buying column share a box of their own (.zj-product-top, opened in inc/woocommerce.php). A photo that
   follows the customer down is held by the box it sits in: as a child of div.product it slid over the description and the
   related products below; inside this box it stops where the buying column ends. The rules above stay for a page that was
   cached before the box existed. */
.zj div.product.type-product > .zj-product-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.zj div.product.type-product > .zj-product-top > * { min-width: 0; }
@media (min-width: 900px) {
  .zj div.product.type-product > .zj-product-top { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 60px); align-items: start; }
  /* Gift options make the buying column much taller than the photo; the photo follows the customer down instead of leaving a blank column. */
  body.zj div.product.type-product > .zj-product-top > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; position: sticky; top: 150px; }
  body.zj div.product.type-product > .zj-product-top > .summary { grid-column: 2; grid-row: 1; }
}
.zj div.product .onsale { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; inset-inline-end: auto; z-index: 5; min-height: 0; min-width: 0; margin: 0; padding: 5px 12px; line-height: 1.3; }

.zj .woocommerce-product-gallery .flex-viewport, .zj .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child { border-radius: var(--zj-r-xl); overflow: hidden; background: var(--zj-beige-soft); }
.zj .woocommerce-product-gallery__wrapper { margin: 0; }
.zj .woocommerce-product-gallery__image img { width: 100%; }
.zj .woocommerce-product-gallery__trigger { inset-block-start: 14px !important; inset-inline-end: 14px !important; right: auto; background: rgba(255, 255, 255, 0.92) !important; box-shadow: var(--zj-shadow-soft); }
[dir="ltr"] .zj .woocommerce-product-gallery__trigger { right: 14px !important; }
[dir="rtl"] .zj .woocommerce-product-gallery__trigger { left: 14px !important; right: auto !important; }
body.zj div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 2px; overflow-x: auto; scrollbar-width: none; }
body.zj div.product div.images .flex-control-thumbs li { flex: 0 0 76px; width: 76px !important; float: none; margin: 0; }
body.zj div.product div.images .flex-control-thumbs img { border-radius: var(--zj-r-sm); border: 2px solid transparent; opacity: 0.7; transition: opacity 0.15s, border-color 0.15s; aspect-ratio: 1; object-fit: cover; }
body.zj div.product div.images .flex-control-thumbs img.flex-active, body.zj div.product div.images .flex-control-thumbs img:hover { opacity: 1; border-color: var(--zj-navy); }

.zj div.product .product_title { margin-bottom: 8px; font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); text-wrap: balance; }
.zj div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.88rem; }
.zj .star-rating { color: var(--zj-gold); }
body.zj div.product p.price, body.zj div.product span.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 16px; color: var(--zj-navy); font-size: 1.6rem; font-weight: 800; }
body.zj div.product p.price del { color: var(--zj-muted); font-size: 1.05rem; font-weight: 500; opacity: 1; }
body.zj div.product p.price ins { text-decoration: none; color: var(--zj-error); }
.zj .woocommerce-product-details__short-description { margin-bottom: 20px; color: #46505b; font-size: 1rem; line-height: 1.7; }
.zj .woocommerce-product-details__short-description ul { padding-inline-start: 1.2em; }

body.zj div.product form.cart { margin: 0 0 20px; padding: 0; }
body.zj div.product form.cart::before, body.zj div.product form.cart::after { display: none; }
body.zj div.product form.cart:not(.variations_form):not(.grouped_form), .zj .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
body.zj div.product form.cart > *:not(.quantity):not(.single_add_to_cart_button):not(input[type="hidden"]) { flex: 1 1 100%; min-width: 0; }
body.zj div.product form.cart .single_add_to_cart_button { flex: 1 1 200px; float: none; margin: 0; }
body.zj div.product form.cart div.quantity, body.zj .quantity { float: none; margin: 0 !important; }
.zj .quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--zj-border); border-radius: 999px; background: #fff; overflow: hidden; }
.zj .quantity .qty { width: 46px; min-height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 700; box-shadow: none !important; -moz-appearance: textfield; }
.zj .quantity .qty::-webkit-outer-spin-button, .zj .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zj .zj-qty__btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 48px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--zj-navy); cursor: pointer; box-shadow: none; }
.zj .zj-qty__btn:hover { background: var(--zj-beige-soft); color: var(--zj-navy); box-shadow: none; }
.zj .quantity.hidden { display: none; }

body.zj div.product form.cart .variations { margin-bottom: 14px; border: 0; }
body.zj div.product form.cart .variations th, body.zj div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: start; line-height: 1.4; }
body.zj div.product form.cart .reset_variations { font-size: 0.85rem; }
body.zj div.product .stock { color: var(--zj-success); font-weight: 600; font-size: 0.92rem; }
body.zj div.product .out-of-stock { color: var(--zj-error); }

.zj-assure { display: grid; gap: 10px; margin: 4px 0 16px; padding: 16px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; list-style: none; }
.zj-assure li { display: flex; align-items: center; gap: 12px; color: var(--zj-navy); }
.zj-assure li .zj-icon { color: var(--zj-gold-dark); }
.zj-assure span { display: flex; flex-direction: column; line-height: 1.35; }
.zj-assure strong { font-size: 0.93rem; }
.zj-assure small { color: var(--zj-muted); font-size: 0.83rem; }
@media (min-width: 560px) and (max-width: 899px), (min-width: 1180px) { .zj-assure { grid-template-columns: repeat(3, minmax(0, 1fr)); } .zj-assure li { flex-direction: column; align-items: flex-start; gap: 6px; } }
.zj-help-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 0.92rem; font-weight: 600; color: var(--zj-success) !important; }
.zj .product_meta { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--zj-border-soft); color: var(--zj-muted); font-size: 0.85rem; }
.zj .product_meta a { color: var(--zj-navy); }

body.zj div.product .woocommerce-tabs { padding: 0; }
body.zj div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; margin: 0 0 22px; padding: 5px; overflow-x: auto; border: 0; border-radius: 999px; background: var(--zj-beige-soft); width: fit-content; max-width: 100%; scrollbar-width: none; }
body.zj div.product .woocommerce-tabs ul.tabs::before, body.zj div.product .woocommerce-tabs ul.tabs::after, body.zj div.product .woocommerce-tabs ul.tabs li::before, body.zj div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.zj div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; }
body.zj div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 9px 18px; color: var(--zj-muted); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
body.zj div.product .woocommerce-tabs ul.tabs li.active { background: #fff; box-shadow: var(--zj-shadow-soft); }
body.zj div.product .woocommerce-tabs ul.tabs li.active a { color: var(--zj-navy); }
body.zj div.product .woocommerce-tabs .panel { margin: 0; max-width: 84ch; color: #3b4652; line-height: 1.75; }
/* Delivery and Common questions tabs (inc/product-tabs.php). */
.zj-delivery-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.zj-delivery-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--zj-navy); }
.zj-delivery-list li .zj-icon { flex: 0 0 auto; margin-top: 3px; color: var(--zj-gold-dark); }
.zj-faq__item { border-bottom: 1px solid var(--zj-border-soft); }
.zj-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; color: var(--zj-navy); font-weight: 700; cursor: pointer; list-style: none; }
.zj-faq__item summary::-webkit-details-marker { display: none; }
.zj-faq__item summary::after { content: "+"; flex: 0 0 auto; color: var(--zj-gold-dark); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.zj-faq__item[open] summary::after { content: "\2013"; }
.zj-faq__item p { margin: 0 0 14px; }
body.zj table.shop_attributes { border: 0; }
body.zj table.shop_attributes th, body.zj table.shop_attributes td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--zj-border-soft); background: transparent !important; font-style: normal; text-align: start; }
.zj .related > h2, .zj .upsells > h2, .zj .cross-sells > h2 { margin-bottom: 16px; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }

.zj #reviews #comments ol.commentlist { padding: 0; }
.zj #reviews #comments ol.commentlist li .comment-text { margin-inline-start: 56px; margin-left: 0; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; }
[dir="ltr"] .zj #reviews #comments ol.commentlist li .comment-text { margin-left: 56px; }
.zj #reviews #comments ol.commentlist li img.avatar { border: 0; border-radius: 50%; background: var(--zj-beige-soft); padding: 0; width: 42px; }
.zj #review_form #respond { padding: 20px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; }

/* buy bar (phones) */
.zj-buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 150; display: flex; align-items: center; gap: 12px; padding: 10px var(--zj-gutter) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--zj-border-soft); background: rgba(255, 255, 255, 0.97); box-shadow: 0 -8px 24px rgba(11, 19, 43, 0.1); transform: translateY(110%); transition: transform 0.25s ease; }
.zj-buybar[hidden] { display: none; }
.zj-buybar.is-visible { transform: none; }
.zj-buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.zj-buybar__name { overflow: hidden; color: var(--zj-muted); font-size: 0.8rem; white-space: nowrap; text-overflow: ellipsis; }
.zj-buybar__price { color: var(--zj-navy); font-weight: 800; font-size: 1.05rem; }
.zj-buybar__price del { color: var(--zj-muted); font-weight: 500; font-size: 0.85rem; margin-inline-end: 6px; }
.zj-buybar__price ins { text-decoration: none; }
.zj-buybar__btn { flex: none; min-height: 48px; padding-inline: 26px; }
@media (min-width: 900px) { .zj-buybar { display: none !important; } }
@media (max-width: 899px) { body.zj-has-buybar .zj-footer { padding-bottom: 84px; } }

/* ------------------------------------------------ notices, cart, checkout */

.zj .woocommerce-notices-wrapper:empty { display: none; }
.zj .woocommerce-message, .zj .woocommerce-info, .zj .woocommerce-error, .zj .wc-block-components-notice-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px !important; padding: 14px 18px !important;
  border: 1px solid var(--zj-border-soft) !important; border-inline-start: 4px solid var(--zj-success) !important; border-radius: var(--zj-r-sm); background: #fff !important; color: var(--zj-text) !important; font-size: 0.95rem; list-style: none; box-shadow: var(--zj-shadow-soft);
}
.zj .woocommerce-message::before, .zj .woocommerce-info::before, .zj .woocommerce-error::before { display: none; }
.zj .woocommerce-info { border-inline-start-color: var(--zj-gold) !important; }
.zj .woocommerce-error { border-inline-start-color: var(--zj-error) !important; }
.zj .woocommerce-error li { width: 100%; }
.zj .woocommerce-message .button, .zj .woocommerce-info .button, .zj .woocommerce-error .button { order: 2; float: none; margin-inline-start: auto; min-height: 38px; padding: 7px 16px; font-size: 0.86rem; }

.zj-pagehead { margin-bottom: 22px; }
.zj .zj-pagehead__title { margin: 0; }
.zj-page--commerce .zj-pagehead { margin-bottom: 18px; }

body.zj table.shop_table { border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 22px; }
body.zj table.shop_table th { padding: 14px 16px; background: var(--zj-beige-soft); color: var(--zj-navy); font-size: 0.85rem; font-weight: 700; text-align: start; }
body.zj table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--zj-border-soft); text-align: start; }
body.zj table.shop_table tfoot th, body.zj table.shop_table tbody th { background: transparent; border-top: 1px solid var(--zj-border-soft); }
body.zj.woocommerce-cart table.cart img, body.zj table.cart img { width: 84px; border-radius: var(--zj-r-sm); }
body.zj table.cart td.product-name a { font-weight: 700; color: var(--zj-navy); }
body.zj table.cart dl.variation, body.zj.woocommerce-cart dl.variation, .zj .shop_table dl.variation { margin: 6px 0 0; color: var(--zj-muted); font-size: 0.86rem; }
.zj dl.variation dt { float: inline-start; clear: both; margin-inline-end: 6px; font-weight: 600; }
.zj dl.variation dd { margin: 0 0 2px; }
.zj dl.variation dd p { margin: 0; }
body.zj a.remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--zj-beige-soft); color: var(--zj-navy) !important; font-size: 1.2rem; font-weight: 400; line-height: 1; }
body.zj a.remove:hover { background: var(--zj-error); color: #fff !important; }
body.zj table.cart td.actions { padding: 16px; background: var(--zj-bg); }
body.zj table.cart td.actions .coupon { display: flex; gap: 8px; float: none; margin-bottom: 10px; }
body.zj table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; min-width: 0; margin: 0; padding: 10px 14px; border-color: var(--zj-border); }
body.zj table.cart td.actions > .button { float: none; background: transparent; color: var(--zj-navy); }
body.zj table.cart td.actions > .button:hover { background: var(--zj-navy); color: #fff; }

body.zj .cart-collaterals { display: grid; gap: 24px; }
body.zj .cart-collaterals::before, body.zj .cart-collaterals::after { display: none; }
body.zj .cart-collaterals .cart_totals, body.zj .cart-collaterals .cross-sells { float: none; width: 100%; }
body.zj .cart_totals { padding: 22px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; box-shadow: var(--zj-shadow-soft); }
body.zj .cart_totals h2 { font-size: 1.3rem; }
body.zj .cart_totals table.shop_table { border: 0; border-radius: 0; margin-bottom: 16px; }
body.zj .cart_totals table.shop_table th, body.zj .cart_totals table.shop_table td { padding: 12px 0; background: transparent; border-top: 1px solid var(--zj-border-soft); }
body.zj .cart_totals table.shop_table tr:first-child th, body.zj .cart_totals table.shop_table tr:first-child td { border-top: 0; }
body.zj .cart_totals .order-total .amount { font-size: 1.25rem; color: var(--zj-navy); }
body.zj .wc-proceed-to-checkout { padding: 0; }
body.zj .wc-proceed-to-checkout a.checkout-button { display: flex; margin: 0; padding: 14px 22px; font-size: 1.02rem; }
@media (min-width: 960px) {
  body.zj.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
  body.zj.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, body.zj.woocommerce-cart .woocommerce > .zj-empty, body.zj.woocommerce-cart .woocommerce > .return-to-shop, body.zj.woocommerce-cart .woocommerce > .cart-empty { grid-column: 1 / -1; }
  body.zj.woocommerce-cart .cart-collaterals { position: sticky; top: 150px; }
}
@media (max-width: 768px) {
  body.zj table.shop_table_responsive tr, .zj .woocommerce-page table.shop_table_responsive tr { display: block; padding: 8px 0; border-top: 1px solid var(--zj-border-soft); }
  body.zj table.shop_table_responsive tr:first-child { border-top: 0; }
  body.zj table.shop_table_responsive tr td, .zj .woocommerce-page table.shop_table_responsive tr td { border-top: 0; padding: 6px 16px; text-align: end !important; background: transparent !important; }
  body.zj table.shop_table_responsive tr td::before { float: inline-start; color: var(--zj-muted); font-weight: 600; }
  body.zj table.cart .product-thumbnail { display: block !important; text-align: start !important; }
  body.zj table.cart .product-thumbnail::before { display: none; }
  body.zj table.cart td.product-remove { text-align: end !important; }
}

/* gift bag: the WooCommerce cart table re-laid out like the app's cart screen (app/(tabs)/cart.tsx).
   Words and the small pieces around it: inc/gift-cart.php. The app uses the system font on this screen. */
body.zj.woocommerce-cart .zj-pagehead { margin-bottom: 4px; }
body.zj.woocommerce-cart .zj-pagehead__title { font-family: var(--zj-font); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.3px; }
.zj-bag__count { margin: 0 0 14px; color: var(--zj-muted); font-size: 0.82rem; font-weight: 600; }
body.zj.woocommerce-cart table.cart { display: block; margin: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
body.zj.woocommerce-cart table.cart thead { display: none; }
body.zj.woocommerce-cart table.cart tbody { display: grid; gap: 10px; }
body.zj.woocommerce-cart table.cart tr.cart_item {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "photo name qty" "photo sum remove";
  gap: 6px 12px; align-items: start; padding: 12px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff;
}
body.zj.woocommerce-cart table.cart tr.cart_item td { display: block; padding: 0 !important; border: 0; background: transparent !important; text-align: start !important; }
body.zj.woocommerce-cart table.cart tr.cart_item td::before { display: none !important; }
body.zj.woocommerce-cart table.cart td.product-thumbnail { grid-area: photo; display: block !important; }
body.zj.woocommerce-cart table.cart td.product-thumbnail img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--zj-r-md); background: var(--zj-beige-soft); }
body.zj.woocommerce-cart table.cart td.product-name { grid-area: name; color: var(--zj-muted); font-size: 0.75rem; font-weight: 500; line-height: 1.35; }
body.zj.woocommerce-cart table.cart td.product-name > a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--zj-text); font-size: 0.94rem; font-weight: 800; line-height: 1.35; }
body.zj.woocommerce-cart table.cart td.product-price { display: none !important; }
body.zj.woocommerce-cart table.cart td.product-subtotal { grid-area: sum; align-self: end; color: var(--zj-gold); font-size: 0.94rem; font-weight: 800; white-space: nowrap; }
body.zj.woocommerce-cart table.cart td.product-subtotal .amount { color: inherit; }
body.zj.woocommerce-cart table.cart td.product-quantity { grid-area: qty; justify-self: end; }
body.zj.woocommerce-cart table.cart td.product-remove { grid-area: remove; justify-self: end; align-self: end; }
body.zj.woocommerce-cart a.remove { width: auto; height: auto; border-radius: 0; background: none !important; color: var(--zj-muted) !important; font-size: 0.75rem; font-weight: 700; line-height: 1.4; }
body.zj.woocommerce-cart a.remove:hover { color: var(--zj-error) !important; }
/* name and value run on one line and wrap as text: a two-column grid squeezed long values ("Goes well with · 10% off") into one word per line */
body.zj.woocommerce-cart dl.variation { display: block; margin: 3px 0 0; font-size: 0.75rem; line-height: 1.45; }
body.zj.woocommerce-cart dl.variation dt { float: none; display: inline; margin: 0; font-weight: 500; }
body.zj.woocommerce-cart dl.variation dd { display: inline; margin: 0; }
body.zj.woocommerce-cart dl.variation dd p { display: inline; }
body.zj.woocommerce-cart dl.variation dd::after { content: ""; display: block; }
/* quantity: round beige buttons, as in the app */
body.zj.woocommerce-cart table.cart .quantity.zj-qty-ready { display: inline-flex; align-items: center; gap: 8px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.zj.woocommerce-cart table.cart .quantity.zj-qty-ready .zj-qty__btn { width: 30px; height: 30px; border: 1px solid var(--zj-border); border-radius: 50%; background: var(--zj-beige-soft); }
body.zj.woocommerce-cart table.cart .quantity.zj-qty-ready input.qty { width: 28px; min-width: 0; min-height: 0; height: 30px; padding: 0; border: 0; background: transparent; color: var(--zj-text); font-size: 0.88rem; font-weight: 800; text-align: center; -moz-appearance: textfield; }
body.zj.woocommerce-cart table.cart .quantity input.qty::-webkit-outer-spin-button, body.zj.woocommerce-cart table.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* "Goes well with" rail, as in the app's gift bag */
.zj-gww { margin: 4px 0 18px; }
.zj .zj-gww__title { margin: 0 0 2px; font-family: var(--zj-font); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.2px; }
.zj-gww__subtitle { margin: 0 0 10px; color: var(--zj-muted); font-size: 0.82rem; }
.zj-gww__rail { gap: 12px; margin-inline: calc(var(--zj-gutter) * -1); padding: 8px var(--zj-gutter) 12px; scroll-padding-inline: var(--zj-gutter); }
.zj-gww__card { position: relative; flex: 0 0 min(44%, 190px); display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-md); background: #fff; box-shadow: var(--zj-shadow-card); scroll-snap-align: start; }
.zj-gww__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--zj-r-sm); background: var(--zj-beige-soft); }
.zj .zj-gww__media img { width: 100%; height: 100%; object-fit: cover; }
.zj .zj-gww__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; color: var(--zj-text); font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.zj-gww__save { position: absolute; z-index: 1; inset-block-start: 14px; inset-inline-start: 14px; padding: 3px 8px; border-radius: 999px; background: var(--zj-gold); color: #fff; font-size: 0.68rem; font-weight: 800; }
.zj-gww__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.zj-gww__price { color: var(--zj-gold); font-size: 0.88rem; font-weight: 800; }
.zj-gww__price del { color: var(--zj-muted); font-size: 0.7rem; font-weight: 500; }
.zj-gww__price ins { text-decoration: none; }
.zj .zj-gww__add { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; transition: background-color 0.15s ease, opacity 0.15s ease; border-radius: 50%; background: var(--zj-navy); color: #fff; }
.zj .zj-gww__add:hover { background: var(--zj-navy-soft); color: #fff; }
.zj .zj-gww__add.is-busy { opacity: 0.55; pointer-events: none; }
.zj .zj-gww__add.is-busy svg { animation: zj-gww-spin 0.8s linear infinite; }
.zj .zj-gww__add.is-added { background: var(--zj-gold); pointer-events: none; }
@keyframes zj-gww-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .zj .zj-gww__add.is-busy svg { animation: none; } }
@media (min-width: 960px) { .zj-gww__rail { margin-inline: 0; padding-inline: 0; } .zj-gww__card { flex-basis: 176px; } }
.zj-bag__guidance { margin: 12px 0 14px; color: var(--zj-muted); font-size: 0.75rem; font-weight: 500; line-height: 1.45; text-align: center; }

/* the app has no code field in the bag (promo codes live in the checkout); quantities save themselves (assets/js/main.js) */
body.zj.woocommerce-cart table.cart tr:not(.cart_item) { display: block; padding: 0; border: 0; }
body.zj.woocommerce-cart table.cart td.actions { display: block; padding: 0 !important; border: 0; background: transparent !important; }
body.zj.woocommerce-cart table.cart td.actions::before { display: none !important; }
body.zj.woocommerce-cart table.cart td.actions .coupon { display: none !important; }
body.zj .zj-bag-ready button[name="update_cart"] { position: absolute !important; inset-inline-start: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* summary: plain rows on phones (as in the app), a light card beside the gifts on wide screens */
body.zj.woocommerce-cart .cart_totals { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.zj.woocommerce-cart .cart_totals > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
body.zj.woocommerce-cart .cart_totals table.shop_table { margin-bottom: 14px; border: 0; border-radius: 0; background: transparent; }
body.zj.woocommerce-cart .cart_totals table.shop_table th, body.zj.woocommerce-cart .cart_totals table.shop_table td { padding: 5px 0; border: 0 !important; }
body.zj.woocommerce-cart .cart_totals table.shop_table th { color: var(--zj-text); font-size: 0.88rem; font-weight: 600; }
body.zj.woocommerce-cart .cart_totals table.shop_table td { color: var(--zj-navy); font-size: 1rem; font-weight: 800; text-align: end; }
body.zj.woocommerce-cart .cart_totals table.shop_table tr.zj-bag__delivery td { color: var(--zj-muted); font-size: 0.82rem; font-weight: 600; }
body.zj.woocommerce-cart .cart_totals .zj-bag__delivery.is-plain + tr.order-total { display: none; }
body.zj.woocommerce-cart .cart_totals .order-total .amount { font-size: 1rem; }
body.zj .wc-proceed-to-checkout a.checkout-button { min-height: 52px; padding: 15px 22px; font-size: 0.94rem; font-weight: 800; box-shadow: 0 4px 8px rgba(11, 19, 43, 0.1); }
@media (max-width: 768px) {
  body.zj.woocommerce-cart .cart_totals table.shop_table_responsive tr { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0; border-top: 0; }
  body.zj.woocommerce-cart .cart_totals table.shop_table_responsive tr th { display: block; }
  body.zj.woocommerce-cart .cart_totals table.shop_table_responsive tr td { padding: 5px 0; }
  body.zj.woocommerce-cart .cart_totals table.shop_table_responsive tr td::before { display: none !important; }
  body.zj.woocommerce-cart .wc-proceed-to-checkout { display: none; } /* the bottom bar carries the button */
}
@media (min-width: 960px) {
  body.zj.woocommerce-cart .cart_totals { padding: 20px 22px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; }
}
.zj-bagbar .zj-buybar__name { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
[dir="rtl"] .zj-bagbar .zj-buybar__name { letter-spacing: 0; font-size: 0.78rem; }
.zj-bagbar .zj-buybar__btn { flex: 1; min-height: 52px; font-size: 0.94rem; font-weight: 800; }
.zj-bagbar .zj-buybar__info { flex: none; min-width: 88px; max-width: 130px; }
.zj-empty--bag { border: 0; background: transparent; }
.zj .zj-empty--bag h2 { font-family: var(--zj-font); font-size: 1.4rem; font-weight: 800; }
@media (max-width: 899px) { body.zj.woocommerce-cart.zj-has-buybar .zj-main { padding-bottom: 108px; } }

.zj .return-to-shop { text-align: center; }
.zj-empty { display: grid; justify-items: center; gap: 8px; max-width: 520px; margin: 24px auto; padding: 40px 24px; border: 1px dashed var(--zj-border); border-radius: var(--zj-r-xl); background: #fff; text-align: center; color: var(--zj-muted); }
.zj-empty .zj-icon { color: var(--zj-gold); }
.zj-empty h1, .zj-empty h2 { margin: 6px 0 0; font-size: 1.4rem; }
.zj-empty p { margin: 0 0 8px; }
.zj-empty .zj-search { margin-block: 8px; text-align: start; }

/* block-based cart and checkout (new WooCommerce installs) */
.zj .wc-block-components-button:not(.is-link) { min-height: 52px; border-radius: 999px; background: var(--zj-navy); color: #fff; font-weight: 700; }
.zj .wc-block-components-button:not(.is-link):hover { background: var(--zj-navy-dark); color: #fff; }
.zj .wc-block-cart__sidebar .wc-block-components-sidebar, .zj .wc-block-checkout__sidebar .wc-block-components-sidebar { padding: 18px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; }
.zj .wc-block-cart-items img, .zj .wc-block-components-order-summary-item__image img { border-radius: var(--zj-r-sm); }
.zj .wc-block-components-quantity-selector { border-radius: 999px; }
.zj .wc-block-components-text-input input, .zj .wc-blocks-components-select__select { border-radius: var(--zj-r-sm) !important; border-color: var(--zj-border) !important; }

/* checkout (works with the default form and with Zajel Smart Checkout) */
.zj form.checkout h3, .zj .woocommerce-checkout h3 { font-size: 1.25rem; }
body.zj form .form-row { margin: 0 0 14px; padding: 0; }
body.zj form .form-row label { margin-bottom: 6px; line-height: 1.4; }
body.zj form .form-row .required { color: var(--zj-error); text-decoration: none; }
.zj #order_review, .zj .woocommerce-checkout-review-order { padding: 20px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; }
.zj #order_review table.shop_table { border: 0; border-radius: 0; }
.zj .woocommerce-checkout #payment { border-radius: var(--zj-r-md); background: var(--zj-beige-soft); }
.zj .woocommerce-checkout #payment ul.payment_methods { padding: 16px; border-bottom: 1px solid var(--zj-border); }
.zj .woocommerce-checkout #payment div.payment_box { border-radius: var(--zj-r-sm); background: #fff; color: var(--zj-text); }
.zj .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.zj .woocommerce-checkout #payment div.form-row { padding: 16px; }
.zj #place_order { width: 100%; float: none; }
body.zj form.checkout_coupon, body.zj form.login, body.zj form.register { margin: 0 0 22px; padding: 22px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; }

.zj .woocommerce-order { max-width: 860px; margin-inline: auto; }
.zj .woocommerce-thankyou-order-received { padding: 18px 20px; border-radius: var(--zj-r-md); background: rgba(47, 107, 79, 0.1); color: var(--zj-success); font-weight: 700; font-size: 1.05rem; }
body.zj ul.order_details { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 24px; padding: 18px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; }
body.zj ul.order_details::before, body.zj ul.order_details::after { display: none; }
body.zj ul.order_details li { float: none; margin: 0; padding: 0; border: 0; color: var(--zj-muted); font-size: 0.75rem; }
body.zj ul.order_details li strong { color: var(--zj-navy); font-size: 1rem; }
body.zj .woocommerce-customer-details address { padding: 16px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; }

/* account */
body.zj.woocommerce-account .woocommerce::after, body.zj.woocommerce-account .woocommerce::before { display: none; }
body.zj.woocommerce-account .woocommerce-MyAccount-navigation, body.zj.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.zj .woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; margin: 0 calc(var(--zj-gutter) * -1) 20px; padding: 2px var(--zj-gutter); overflow-x: auto; list-style: none; scrollbar-width: none; }
.zj .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.zj .woocommerce-MyAccount-navigation li { flex: none; }
.zj .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 16px; border: 1px solid var(--zj-border); border-radius: 999px; background: #fff; color: var(--zj-navy); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.zj .woocommerce-MyAccount-navigation li.is-active a { border-color: var(--zj-navy); background: var(--zj-navy); color: #fff; }
.zj .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { border-color: transparent; background: transparent; color: var(--zj-error); }
.zj .woocommerce-MyAccount-content { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; }
.zj .woocommerce-MyAccount-content > p:first-child { font-size: 1.02rem; }
.zj .woocommerce-Addresses { display: grid; gap: 16px; }
.zj .woocommerce-Addresses::before, .zj .woocommerce-Addresses::after { display: none; }
.zj .woocommerce-Addresses .woocommerce-Address { float: none; width: 100%; padding: 16px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); }
body.zj .col2-set { display: grid; gap: 22px; }
body.zj .col2-set::before, body.zj .col2-set::after { display: none; }
body.zj .col2-set .col-1, body.zj .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.zj .woocommerce-orders-table .button { min-height: 36px; padding: 6px 14px; font-size: 0.84rem; margin: 2px; }
@media (min-width: 960px) {
  body.zj.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
  body.zj.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  .zj .woocommerce-MyAccount-navigation ul { flex-direction: column; margin: 0; padding: 10px; overflow: visible; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; gap: 2px; }
  .zj .woocommerce-MyAccount-navigation li a { border: 0; border-radius: var(--zj-r-sm); background: transparent; }
  .zj .woocommerce-MyAccount-navigation li a:hover { background: var(--zj-beige-soft); }
  body.zj .col2-set, .zj .woocommerce-Addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zj #customer_login.col2-set { max-width: 960px; margin-inline: auto; }
}
body.zj.woocommerce-account:not(.logged-in) .zj-page__content > .woocommerce > form.login, body.zj.woocommerce-account:not(.logged-in) .zj-page__content > .woocommerce > h2 { max-width: 480px; margin-inline: auto; }

/* ---------------------------------------------------------------- footer */

.zj-footer { margin-top: 24px; padding-block: 48px calc(24px + var(--zj-tabbar-h)); background: var(--zj-navy-dark); color: rgba(233, 237, 245, 0.78); font-size: 0.93rem; }
.zj-footer a { color: rgba(233, 237, 245, 0.86) !important; }
.zj-footer a:hover { color: var(--zj-gold) !important; }
.zj-footer__grid { display: grid; gap: 30px; }
.zj-footer__brand p { max-width: 42ch; margin: 14px 0 16px; line-height: 1.7; }
.zj .zj-footer .zj-logo__img { height: 46px; filter: brightness(0) invert(1); opacity: 0.95; }
.zj-footer .zj-logo__word { color: #fff; }
.zj .zj-footer__title { margin: 0 0 14px; color: #fff; font-family: var(--zj-font); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
[dir="rtl"] .zj .zj-footer__title { letter-spacing: 0; font-size: 0.95rem; }
.zj-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.zj-footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.zj-footer .zj-stores { margin-top: 18px; }
.zj-footer .zj-store { padding: 7px 12px; font-size: 0.9rem; }
.zj-socials { display: flex; gap: 8px; }
.zj-social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; }
.zj-social:hover { border-color: var(--zj-gold); }
.zj-main .zj-social { border-color: var(--zj-border); color: var(--zj-navy) !important; }
.zj-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.84rem; }
.zj-footer__bottom p { margin: 0; }
.zj-pay { display: flex !important; flex-wrap: wrap; gap: 6px !important; }
.zj-pay li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; color: rgba(255, 255, 255, 0.85); }
.zj-footer--focus { padding-block: 0 20px; background: transparent; color: var(--zj-muted); }
.zj-footer--focus a { color: var(--zj-navy) !important; }
.zj-footer--focus .zj-footer__bottom { margin-top: 0; border-color: var(--zj-border-soft); }
@media (min-width: 760px) { .zj-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; } }

/* bottom tab bar (phones), mirrors the app */
.zj-tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 140; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--zj-border-soft); background: rgba(255, 255, 255, 0.97); box-shadow: 0 -6px 20px rgba(11, 19, 43, 0.07); }
.zj-tabbar__item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 14px; color: var(--zj-muted) !important; font-size: 0.68rem; font-weight: 600; line-height: 1.2; }
.zj-tabbar__item.is-active { color: var(--zj-navy) !important; }
.zj-tabbar__item.is-active .zj-icon { stroke-width: 2.1; }
.zj-tabbar__bag { position: relative; display: inline-flex; }
.zj-tabbar__bag .zj-cart-count { inset-block-start: -6px; inset-inline-end: -10px; }
@media (max-width: 999px) { body.zj-has-tabbar { --zj-tabbar-h: 66px; } }
@media (min-width: 1000px) { .zj-tabbar { display: none; } }

/* -------------------------------------------------------- pages and blog */

.zj-page__content > .woocommerce { margin: 0; }
.zj-single__media { margin: 0 0 24px; }
.zj-single__media img { width: 100%; border-radius: var(--zj-r-xl); }
.zj-posts { display: grid; gap: 22px; }
@media (min-width: 700px) { .zj-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .zj-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.zj-post { overflow: hidden; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.zj-post:hover { box-shadow: var(--zj-shadow-card); transform: translateY(-2px); }
.zj-post__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--zj-beige-soft); color: var(--zj-gold); }
.zj .zj-post__media img { width: 100%; height: 100%; object-fit: cover; }
.zj-post__body { padding: 18px; }
.zj-post__meta { margin: 0 0 6px; color: var(--zj-muted); font-size: 0.82rem; }
.zj .zj-post__title { margin-bottom: 8px; font-size: 1.15rem; }
.zj-post__excerpt { margin: 0; color: #4a5561; font-size: 0.93rem; }
.zj-comments { margin-top: 40px; }
.zj-comments__list { padding: 0; list-style: none; }
.zj-comments__list .comment-body { margin-bottom: 14px; padding: 16px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; }

.zj-accordion { display: grid; gap: 10px; margin-block: 16px; }
.zj-accordion__item { border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; overflow: hidden; }
.zj-accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; color: var(--zj-navy); font-weight: 700; cursor: pointer; list-style: none; }
.zj-accordion__item summary::-webkit-details-marker { display: none; }
.zj-accordion__item[open] summary .zj-icon { transform: rotate(180deg); }
.zj-accordion__item summary .zj-icon { transition: transform 0.2s ease; }
.zj-accordion__body { padding: 0 18px 16px; }

/* --------------------------------------------- Flatsome shortcode layer */

.zj-page--builder .zj-page__content > *:first-child { margin-top: 0; }
.zj-fl-section { position: relative; margin-block: 0; padding-block: var(--zj-fl-pad, 32px); background-size: cover; background-position: center; border-radius: var(--zj-r-xl); }
.zj-fl-section[style*="background"] { padding-inline: clamp(16px, 3vw, 36px); margin-block: 18px; }
.zj-fl-section.is-dark, .zj-fl-section.is-dark h1, .zj-fl-section.is-dark h2, .zj-fl-section.is-dark h3, .zj-fl-section.is-dark p { color: #fff; }
.zj-fl-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; margin-block: 0 22px; }
.zj-fl-row--collapse { gap: 0; }
.zj-fl-row--v-middle { align-items: center; }
.zj-fl-row--v-bottom { align-items: end; }
.zj-fl-col { grid-column: span var(--span-sm, 12); min-width: 0; border-radius: var(--zj-r-md); }
@media (min-width: 640px) { .zj-fl-col { grid-column: span var(--span-md, var(--span, 12)); } }
@media (min-width: 900px) { .zj-fl-col { grid-column: span var(--span, 12); } }
.zj-fl-col__inner > *:last-child { margin-bottom: 0; }
.zj-fl-text > *:last-child { margin-bottom: 0; }
.zj-fl-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 16px; }
.zj-fl-title--center { justify-content: center; text-align: center; }
.zj-fl-divider { width: 100%; max-width: 64px; margin: 14px 0; border: 0; border-top: 3px solid var(--zj-gold); border-radius: 3px; }
.zj-fl-divider--center { margin-inline: auto; }
.zj-fl-feature { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 20px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-lg); background: #fff; }
.zj-fl-feature--left { flex-direction: row; align-items: flex-start; }
.zj-fl-feature--center { align-items: center; text-align: center; }
.zj-fl-feature__media { flex: none; width: 64px; max-width: 100%; }
.zj-fl-feature__media img { width: 100%; border-radius: var(--zj-r-sm); }
.zj .zj-fl-feature__title { margin: 0 0 4px; font-family: var(--zj-font); font-size: 1.05rem; font-weight: 700; }
.zj-fl-feature__sub { margin: 0 0 6px; color: var(--zj-muted); font-size: 0.85rem; }
.zj-fl-feature .zj-prose { font-size: 0.95rem; }
a.zj-fl-feature-link { display: block; height: 100%; color: inherit !important; }
.zj-fl-banner { position: relative; display: flex; align-items: center; min-height: 320px; overflow: hidden; border-radius: var(--zj-r-xl); background: var(--zj-navy); color: #fff !important; isolation: isolate; }
.zj-fl-banner--ratio { min-height: 0; height: 0; }
.zj-fl-banner--ratio .zj-fl-banner__content { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; }
.zj .zj-fl-banner__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.zj-fl-banner__shade { position: absolute; inset: 0; z-index: 1; background: var(--zj-fl-overlay, rgba(11, 19, 43, 0.35)); }
.zj-fl-banner__content { position: relative; z-index: 2; width: 100%; padding: clamp(20px, 4vw, 44px); }
.zj-fl-textbox { max-width: 560px; }
.zj-fl-textbox h1, .zj-fl-textbox h2, .zj-fl-textbox h3, .zj-fl-textbox p { color: #fff; }
.zj-fl-textbox.is-dark-text h1, .zj-fl-textbox.is-dark-text h2, .zj-fl-textbox.is-dark-text h3, .zj-fl-textbox.is-dark-text p { color: var(--zj-navy); }
.zj-fl-slider__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.zj-fl-slider__track > * { flex: 0 0 100%; scroll-snap-align: center; }
.zj-fl-image { margin: 0 0 16px; }
.zj-fl-image__img, .zj-fl-image img { width: 100%; border-radius: var(--zj-r-lg); }
.zj-fl-image figcaption { margin-top: 6px; color: var(--zj-muted); font-size: 0.85rem; text-align: center; }
.zj-fl-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--zj-r-lg); background: #000; }
.zj-fl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.zj-fl-message { padding: 16px 18px; border-radius: var(--zj-r-md); background: var(--zj-beige-soft); }
.zj-fl-logo img { max-height: 90px; width: auto; }
.zj-fl-hide-for-small { display: none; }
@media (min-width: 640px) { .zj-fl-hide-for-small { display: revert; } .zj-fl-show-for-small { display: none; } }
@media (min-width: 900px) { .zj-fl-hide-for-medium, .zj-fl-show-for-medium { display: none; } }

/* =========================================================================
   Zajel plugins: one palette, one behaviour
   Smart Checkout Suite 1.7.30+ receives the palette through the zscs_design_tokens
   filter (inc/integrations.php). The variable mapping below does the same job for
   older versions and for the plugins that only expose CSS variables.
   ========================================================================= */

body.zj {
  --zscs-primary: var(--zj-navy);
  --zscs-accent: var(--zj-gold);
  --zscs-bg: var(--zj-bg);
  --zscs-card: var(--zj-card);
  --zscs-ty-primary: var(--zj-navy);
  --zscs-ty-accent: var(--zj-gold);
  --zscs-ty-bg: var(--zj-bg);
  --zscs-ty-card: var(--zj-card);
}
body.zj .zscs-dashboard-shell {
  --zscs-account-navy: var(--zj-navy);
  --zscs-account-gold: var(--zj-gold);
  --zscs-account-cream: var(--zj-beige-soft);
  --zscs-account-soft: var(--zj-beige-soft);
  --zscs-account-border: var(--zj-border-soft);
  --zscs-account-muted: var(--zj-muted);
}
body.zj .zsl-login-card, body.zj .zsl-logged-in-card {
  --zsl-navy: var(--zj-navy);
  --zsl-gold: var(--zj-gold);
  --zsl-cream: var(--zj-beige-soft);
  --zsl-border: var(--zj-border-soft);
}
.zj .zgb-web { --zgb-accent: var(--zj-navy); --zgb-accent-soft: var(--zj-beige-soft); --zgb-gold: var(--zj-gold); --zgb-border: var(--zj-border); --zgb-text: var(--zj-text); --zgb-muted: var(--zj-muted); }
.zj .zgb-web .zgb-web-title { font-family: var(--zj-display); font-size: 1.2rem; }

/* My Account in the app's look: system font 800 titles, orders as cards with a status pill, one order as cards. */
body.zj.woocommerce-account .zj-main h1, body.zj.woocommerce-account .woocommerce h2, body.zj.woocommerce-account .woocommerce h3, body.zj.woocommerce-account .zscs-dashboard-shell h1, body.zj.woocommerce-account .zscs-dashboard-shell h2, body.zj.woocommerce-account .zscs-dashboard-shell h3 { font-family: var(--zj-font) !important; font-weight: 800 !important; letter-spacing: -0.2px; }
body.zj.woocommerce-account .zj-main h1 { font-size: 1.62rem; }

/* orders list: one card per order (number + date, status pill, total, View) */
body.zj.woocommerce-account .woocommerce-MyAccount-content:has(> .woocommerce-orders-table) { padding: 0; border: 0; background: transparent; }
body.zj .woocommerce-orders-table, body.zj .woocommerce-orders-table tbody { display: block; width: 100%; border: 0; background: transparent; }
body.zj .woocommerce-orders-table thead { display: none; }
body.zj .woocommerce-orders-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; margin: 0 0 12px; padding: 16px 18px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; box-shadow: var(--zj-shadow-soft); }
body.zj.woocommerce-account .woocommerce table.woocommerce-orders-table tbody tr > * { display: block !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: start !important; }
body.zj .woocommerce-orders-table tbody tr > *::before { display: none !important; }
body.zj .woocommerce-orders-table__cell-order-number { grid-column: 1; grid-row: 1; font-size: 1.06rem; font-weight: 800; }
body.zj .woocommerce-orders-table__cell-order-number a { color: var(--zj-navy); }
body.zj .woocommerce-orders-table__cell-order-status { grid-column: 2; grid-row: 1; justify-self: end; padding: 4px 12px !important; border-radius: 999px; background: var(--zj-beige-soft) !important; color: var(--zj-navy); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
body.zj .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { background: #e7f6ec !important; color: #17663a; }
body.zj .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { background: #e8eefb !important; color: #1d3f8f; }
body.zj .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status, body.zj .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status { background: #fdf3d8 !important; color: #7a5a00; }
body.zj .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status, body.zj .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status, body.zj .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status { background: #fdecea !important; color: #b42318; }
body.zj .woocommerce-orders-table__cell-order-date { grid-column: 1; grid-row: 2; color: var(--zj-muted); font-size: 0.85rem; }
body.zj .woocommerce-orders-table__cell-order-total { grid-column: 1; grid-row: 3; color: var(--zj-muted); font-size: 0.85rem; }
body.zj .woocommerce-orders-table__cell-order-total .amount { color: var(--zj-gold); font-size: 1rem; font-weight: 800; }
body.zj .woocommerce-orders-table__cell-order-actions { grid-column: 2; grid-row: 2 / span 2; justify-self: end; align-self: end; display: flex !important; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
body.zj .woocommerce-orders-table__cell-order-actions .button { min-height: 40px; margin: 0; padding: 9px 18px; border-radius: 999px; font-size: 0.85rem; }

/* one order: status line as a card, then details */
body.zj.woocommerce-account .woocommerce-MyAccount-content:has(> .woocommerce-order-details) { padding: 0; border: 0; background: transparent; }
/* Smart Checkout 1.7.38: one order in My Account is the thank-you page again (status, CliQ pay box, recipient, card) */
body.zj.woocommerce-account .woocommerce-MyAccount-content:has(> .zscs-thankyou) { padding: 0; border: 0; background: transparent; }
body.zj.woocommerce-account .woocommerce-MyAccount-content > .zscs-thankyou { margin-inline: auto; }
body.zj.woocommerce-account .woocommerce-MyAccount-content:has(> .woocommerce-order-details) > p:first-of-type { margin: 0 0 12px; padding: 16px 18px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; color: var(--zj-muted); font-size: 0.94rem; line-height: 1.6; }
body.zj.woocommerce-account mark.order-number, body.zj.woocommerce-account mark.order-date { background: transparent; color: var(--zj-text); font-weight: 700; }
body.zj.woocommerce-account mark.order-status { padding: 3px 10px; border-radius: 999px; background: var(--zj-beige-soft); color: var(--zj-navy); font-size: 0.8rem; font-weight: 700; }
body.zj.woocommerce-account .woocommerce-order-details, body.zj.woocommerce-account .woocommerce-customer-details { margin: 0 0 12px; padding: 18px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; }
body.zj.woocommerce-account .woocommerce-order-details__title, body.zj.woocommerce-account .woocommerce-column__title { margin: 0 0 10px; font-size: 1.06rem; }
body.zj.woocommerce-account .woocommerce-table--order-details { border: 0; }
body.zj.woocommerce-account .woocommerce-table--order-details thead { display: none; }
body.zj.woocommerce-account .woocommerce-table--order-details th, body.zj.woocommerce-account .woocommerce-table--order-details td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--zj-border-soft); background: transparent; vertical-align: top; }
body.zj.woocommerce-account .woocommerce-table--order-details td:last-child { text-align: end; white-space: nowrap; font-weight: 700; }
body.zj.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child th, body.zj.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child td { border-bottom: 0; font-size: 1.06rem; font-weight: 800; }
body.zj.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child .amount { color: var(--zj-gold); }
body.zj.woocommerce-account .wc-item-meta { margin: 6px 0 0; padding: 0; list-style: none; color: var(--zj-muted); font-size: 0.82rem; }
body.zj.woocommerce-account .wc-item-meta li { display: block; margin: 0 0 2px; }
body.zj.woocommerce-account .wc-item-meta li strong { font-weight: 600; }
body.zj.woocommerce-account .wc-item-meta li p { display: inline; margin: 0; }

/* sign in / create account: one form at a time, social buttons under it */
body.zj.woocommerce-account:not(.logged-in) .zj-page__content > .woocommerce { display: flex; flex-direction: column; max-width: 480px; margin-inline: auto; }
body.zj.woocommerce-account:not(.logged-in) #customer_login { order: 1; display: block; width: 100%; }
body.zj.woocommerce-account:not(.logged-in) #customer_login > div { float: none; width: 100%; max-width: none; }
body.zj.woocommerce-account:not(.logged-in) .zsl-login-card { order: 2; margin-top: 16px; }
body.zj.woocommerce-account:not(.logged-in) .zsl-login-card .zsl-guest-note { display: none; }
body.zj.woocommerce-account:not(.logged-in) .zsl-login-card p { display: none; }
.zj-authtabs { order: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 14px; padding: 4px; border-radius: 999px; background: var(--zj-beige-soft); }
.zj-authtabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--zj-muted); font-family: var(--zj-font); font-size: 0.94rem; font-weight: 700; cursor: pointer; }
.zj-authtabs button[aria-selected="true"] { background: #fff; color: var(--zj-navy); box-shadow: var(--zj-shadow-soft); }
body.zj-auth-ready #customer_login > div > h2 { display: none; }
body.zj-auth-ready[data-zj-auth="login"] #customer_login > .u-column2, body.zj-auth-ready[data-zj-auth="register"] #customer_login > .u-column1 { display: none; }
body.zj.woocommerce-account:not(.logged-in) form.login, body.zj.woocommerce-account:not(.logged-in) form.register { margin: 0; padding: 20px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; }
body.zj.woocommerce-account:not(.logged-in) form.login .button, body.zj.woocommerce-account:not(.logged-in) form.register .button { width: 100%; min-height: 50px; border-radius: 999px; }

/* Thank-you page in the app's look (app/checkout-success.tsx): one centred status card with a round glyph,
   a badge pill and the order number, then white 28px cards with label / value rows and pill buttons.
   CSS only, on top of Smart Checkout's thank-you page (its texts and sections stay as set in the plugin). */
body.zj.zscs-thankyou-page { background: var(--zj-bg); }
body.zj .zscs-thankyou { max-width: 760px; font-family: var(--zj-font); color: var(--zj-text); }
body.zj .zscs-thankyou h1, body.zj .zscs-thankyou h2, body.zj .zscs-thankyou h3 { font-family: var(--zj-font) !important; font-weight: 800 !important; letter-spacing: -0.2px; color: var(--zj-navy); }
body.zj .zscs-ty-hero, body.zj .zscs-ty-card, body.zj .zscs-ty-trust { border: 1px solid var(--zj-border) !important; border-radius: var(--zj-r-xl) !important; background: #fff !important; box-shadow: var(--zj-shadow-soft) !important; }
body.zj .zscs-ty-hero { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; gap: 10px !important; padding: 28px 22px !important; text-align: center; }
body.zj .zscs-ty-hero::before { display: none !important; }
/* the order number sits right under the message, before the buttons, as in the app */
body.zj .zscs-ty-hero-copy { display: contents; }
body.zj .zscs-ty-hero-copy > p { max-width: 560px; }
body.zj .zscs-ty-order-card { order: 1; }
body.zj .zscs-ty-actions { order: 2; }
body.zj .zscs-ty-check { width: 56px !important; height: 56px !important; background: var(--zj-beige-soft) !important; color: var(--zj-navy) !important; font-size: 26px !important; box-shadow: none !important; }
body.zj .zscs-ty-hero-failed .zscs-ty-check { background: #fdecea !important; color: #b42318 !important; }
body.zj .zscs-ty-eyebrow { margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(20, 33, 61, 0.08); color: var(--zj-navy) !important; font-size: 0.75rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
body.zj .zscs-ty-hero h1 { margin: 0; font-size: 1.62rem !important; line-height: 1.25; }
body.zj .zscs-ty-hero p { margin: 0; color: var(--zj-muted); font-size: 0.94rem; line-height: 1.5; }
body.zj .zscs-ty-actions { justify-content: center; width: 100%; margin-top: 6px; }
body.zj .zscs-ty-btn { min-height: 50px; padding: 13px 24px; border: 1.5px solid var(--zj-navy) !important; background: #fff !important; color: var(--zj-navy) !important; font-family: var(--zj-font); font-size: 0.94rem; font-weight: 700; }
body.zj .zscs-ty-btn-primary { background: var(--zj-navy) !important; color: #fff !important; font-weight: 800; box-shadow: 0 4px 8px rgba(11, 19, 43, 0.1); }
body.zj .zscs-ty-order-card { align-self: auto; align-items: center; width: 100%; max-width: 340px; padding: 14px 18px; border-radius: var(--zj-r-lg); background: var(--zj-beige-soft) !important; text-align: center !important; }
body.zj .zscs-ty-order-card span, body.zj .zscs-ty-order-card small { color: var(--zj-muted); font-size: 0.8rem; }
body.zj .zscs-ty-order-card strong { color: var(--zj-navy); font-size: 1.38rem; font-weight: 800; }
body.zj .zscs-ty-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; margin-bottom: 14px; }
/* computers have the room: cards side by side, so the page is about half as long (phones stay one column, as the app) */
@media (min-width: 900px) {
  body.zj .zscs-thankyou { max-width: 980px; }
  body.zj .zscs-ty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: start; }
  /* the top card is as wide as the cards under it; its text stays in a readable column */
  body.zj .zscs-ty-hero { max-width: none; }
}
.zj-free-delivery { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: #e7f6ec; color: #17663a; font-size: 0.75rem; font-weight: 700; }
body.zj .zscs-ty-card { padding: 20px !important; }
body.zj .zscs-ty-card h2 { margin-bottom: 12px; font-size: 1.06rem !important; line-height: 1.3; }
body.zj .zscs-ty-card-head { margin-bottom: 12px; }
body.zj .zscs-ty-card-head h2 { margin-bottom: 0; }
body.zj .zscs-ty-card-head span { width: 38px; height: 38px; border-radius: var(--zj-r-md); background: var(--zj-beige-soft); }
body.zj .zscs-ty-next li > span { background: var(--zj-beige-soft); color: var(--zj-navy); font-weight: 800; }
body.zj .zscs-ty-next strong { color: var(--zj-text); font-size: 0.94rem; }
body.zj .zscs-ty-next p { color: var(--zj-muted); font-size: 0.85rem; }
body.zj .zscs-ty-total-big { padding: 14px 16px; border-radius: var(--zj-r-lg); background: var(--zj-beige-soft) !important; }
body.zj .zscs-ty-total-big span { color: var(--zj-muted); font-weight: 600; }
body.zj .zscs-ty-total-big strong { color: var(--zj-navy); font-size: 1.5rem !important; font-weight: 800; }
/* the plugin makes every span in this box a block, which broke "JOD 77" into two lines */
body.zj .zscs-ty-total-big strong span, body.zj .zscs-ty-total-big strong bdi { display: inline !important; margin: 0 !important; color: inherit !important; font-size: inherit !important; font-weight: inherit !important; }
/* label on one side, value on the other, on every screen (the plugin stacks them on phones) */
body.zj .zscs-ty-list > div { grid-template-columns: auto minmax(0, 1fr) !important; gap: 12px; padding: 12px 0; border-bottom-color: var(--zj-border-soft); }
body.zj .zscs-ty-list dt { color: var(--zj-muted); font-size: 0.85rem; font-weight: 500; }
body.zj .zscs-ty-list dd { color: var(--zj-text); font-size: 0.88rem; font-weight: 700; text-align: end !important; }
body.zj .zscs-ty-muted { color: var(--zj-muted); font-size: 0.85rem; }
body.zj .zscs-ty-card-message { border-radius: var(--zj-r-lg); background: var(--zj-beige-soft); }
body.zj .zscs-ty-item-img, body.zj .zscs-ty-item-img img, body.zj .zscs-ty-item-placeholder { border-radius: var(--zj-r-md) !important; }
body.zj .zscs-ty-item-price { color: var(--zj-gold); font-weight: 800; }
@media (max-width: 640px) {
  body.zj .zscs-ty-actions { flex-direction: column; }
  body.zj .zscs-ty-btn { width: 100%; }
}

/* Thank-you page, second pass (first real order, 2026-09-20): when and where it arrives and a progress line sit in the top
   card (inc/thankyou.php + initThankYou), delivery details and the gift card come right after it, then the gifts, then
   payment and next steps, then the app card; line icons instead of emoji; the tick is green once the order is confirmed
   and amber while it waits for payment. */
body.zj .zscs-thankyou { display: flex; flex-direction: column; }
body.zj .zscs-thankyou > .zscs-ty-hero { order: 1; }
body.zj .zscs-thankyou > .zscs-ty-grid:not(.zscs-ty-grid-top) { order: 2; }
body.zj .zscs-thankyou > .zscs-ty-items-card { order: 3; margin-bottom: 14px; }
body.zj .zscs-thankyou > .zscs-ty-grid-top { order: 4; }
body.zj .zscs-thankyou > .zscs-ty-app-card { order: 5; }
body.zj .zscs-thankyou > .zscs-ty-trust { order: 6; }
body.zj .zscs-thankyou.zj-ty--confirmed .zscs-ty-check { background: #e7f6ec !important; color: #17663a !important; }
body.zj .zscs-thankyou.zj-ty--waiting .zscs-ty-check { background: #fdf3d8 !important; color: #7a5a00 !important; }
body.zj .zscs-thankyou.zj-ty--waiting .zscs-ty-eyebrow { background: #fdf3d8; color: #7a5a00 !important; }
.zj-ty-extras { order: 1; display: grid; gap: 14px; width: 100%; max-width: 560px; }
.zj-ty-extras[hidden] { display: none; }

/* An order that waits for a CliQ transfer (inc/thankyou.php, initThankYou): one calm card with what to do now. */
body.zj .zscs-thankyou.zj-ty--cliq .zscs-ty-check { font-size: 0 !important; }
body.zj .zscs-thankyou.zj-ty--cliq .zscs-ty-check::before { content: ""; width: 26px; height: 26px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%278.5%27%2F%3E%3Cpath%20d%3D%27M12%207.5V12l3%202%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%278.5%27%2F%3E%3Cpath%20d%3D%27M12%207.5V12l3%202%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
/* the pay box carries the order number and the only action that matters now */
body.zj .zscs-thankyou.zj-ty--cliq .zscs-ty-order-card, body.zj .zscs-thankyou.zj-ty--cliq .zscs-ty-hero .zscs-ty-actions, body.zj .zscs-thankyou.zj-ty--cliq .zscs-ty-support-note { display: none !important; }
.zj-ty-pay { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; text-align: start; }
.zj .zj-ty-pay__test { margin: 0; padding: 8px 12px; border-radius: var(--zj-r-sm); background: #fdecea; color: #a4281c; font-size: 0.82rem; font-weight: 700; text-align: center; }
.zj .zj-ty-pay__rows { display: grid; margin: 0; }
.zj-ty-pay__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label copy" "value copy"; align-items: center; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--zj-border-soft); }
.zj-ty-pay__row:first-child { padding-top: 0; }
.zj-ty-pay__row:last-child { border-bottom: 0; padding-bottom: 0; }
.zj .zj-ty-pay__row dt { grid-area: label; margin: 0; color: var(--zj-muted); font-size: 0.76rem; font-weight: 600; }
.zj .zj-ty-pay__row dd { -webkit-user-select: all; user-select: all; grid-area: value; margin: 2px 0 0; color: var(--zj-navy); font-size: 1.08rem; font-weight: 800; letter-spacing: 0.2px; overflow-wrap: anywhere; }
.zj-ty-pay__row:first-child dd { color: var(--zj-gold-dark); font-size: 1.3rem; }
.zj .zj-ty-pay__copy { grid-area: copy; min-width: 72px; min-height: 40px; padding: 0 14px; border: 1px solid var(--zj-border); border-radius: 999px; background: var(--zj-beige-soft); color: var(--zj-navy); font-family: var(--zj-font); font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.zj .zj-ty-pay__copy.is-copied { border-color: #17663a; background: #e7f6ec; color: #17663a; }
.zj .zj-ty-pay__hint { margin: 0; color: var(--zj-muted); font-size: 0.86rem; line-height: 1.55; }
.zj .zj-ty-pay__wa { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; text-align: center; }
body.zj .zscs-ty-hero .zscs-ty-actions { order: 3; }
.zj .zj-ty-arrival { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: var(--zj-r-md); background: var(--zj-beige-soft); color: var(--zj-text); font-size: 0.9rem; line-height: 1.45; text-align: start; }
.zj-ty-arrival .zj-icon { flex: none; color: var(--zj-gold); }
.zj-ty-arrival__label { color: var(--zj-muted); }
.zj-ty-arrival strong { color: var(--zj-navy); font-weight: 800; }
.zj-ty-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.zj-ty-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; color: var(--zj-muted); font-size: 0.72rem; font-weight: 600; line-height: 1.3; text-align: center; }
.zj-ty-track li::before { content: ""; position: absolute; top: 11px; inset-inline-start: -50%; width: 100%; height: 2px; background: var(--zj-border); }
.zj-ty-track li:first-child::before { display: none; }
.zj-ty-track li.is-done::before, .zj-ty-track li.is-current::before { background: var(--zj-navy); }
.zj-ty-track__dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 2px solid var(--zj-border); border-radius: 50%; background: #fff; color: #fff; }
.zj-ty-track li.is-done .zj-ty-track__dot { border-color: var(--zj-navy); background: var(--zj-navy); }
.zj-ty-track li.is-current .zj-ty-track__dot { border-color: var(--zj-navy); box-shadow: 0 0 0 4px rgba(20, 33, 61, 0.1); }
.zj-ty-track li.is-current .zj-ty-track__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--zj-navy); }
.zj-ty-track li.is-done, .zj-ty-track li.is-current { color: var(--zj-navy); }
.zj-ty-track li.is-current { font-weight: 800; }
/* line icons, as in the checkout, instead of the emoji in the card heads */
body.zj .zscs-ty-card-head > span { font-size: 0 !important; }
body.zj .zscs-ty-card-head > span::before { content: ""; width: 20px; height: 20px; background: var(--zj-gold-dark, #a8843f); -webkit-mask: var(--zj-ty-icon, url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2010h16v10H4z%27%2F%3E%3Cpath%20d%3D%27M3%207h18v3H3z%27%2F%3E%3Cpath%20d%3D%27M12%207v13%27%2F%3E%3Cpath%20d%3D%27M12%207c-1.5-3.5-5.5-3.3-5.5-.8C6.500%207.5%209%207%2012%207Zm0%200c1.5-3.5%205.5-3.3%205.5-.8C17.5%207.5%2015%207%2012%207Z%27%2F%3E%3C%2Fsvg%3E")) center / contain no-repeat; mask: var(--zj-ty-icon, url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2010h16v10H4z%27%2F%3E%3Cpath%20d%3D%27M3%207h18v3H3z%27%2F%3E%3Cpath%20d%3D%27M12%207v13%27%2F%3E%3Cpath%20d%3D%27M12%207c-1.5-3.5-5.5-3.3-5.5-.8C6.500%207.5%209%207%2012%207Zm0%200c1.5-3.5%205.5-3.3%205.5-.8C17.5%207.5%2015%207%2012%207Z%27%2F%3E%3C%2Fsvg%3E")) center / contain no-repeat; }
body.zj .zscs-ty-grid:not(.zscs-ty-grid-top) > .zscs-ty-card:first-child { --zj-ty-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%206.5h11v10H3z%27%2F%3E%3Cpath%20d%3D%27M14%2010h3.5L21%2013.2v3.3h-7%27%2F%3E%3Ccircle%20cx%3D%277.5%27%20cy%3D%2717.5%27%20r%3D%271.8%27%2F%3E%3Ccircle%20cx%3D%2717%27%20cy%3D%2717.5%27%20r%3D%271.8%27%2F%3E%3C%2Fsvg%3E"); }
body.zj .zscs-ty-grid:not(.zscs-ty-grid-top) > .zscs-ty-card:nth-child(2) { --zj-ty-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273.5%27%20y%3D%275.5%27%20width%3D%2717%27%20height%3D%2713%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27m4%207%208%206%208-6%27%2F%3E%3C%2Fsvg%3E"); }
body.zj .zscs-ty-items-card { --zj-ty-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2010h16v10H4z%27%2F%3E%3Cpath%20d%3D%27M3%207h18v3H3z%27%2F%3E%3Cpath%20d%3D%27M12%207v13%27%2F%3E%3Cpath%20d%3D%27M12%207c-1.5-3.5-5.5-3.3-5.5-.8C6.500%207.5%209%207%2012%207Zm0%200c1.5-3.5%205.5-3.3%205.5-.8C17.5%207.5%2015%207%2012%207Z%27%2F%3E%3C%2Fsvg%3E"); }

/* Thank-you page: the app promo card keeps the site fonts */
.zj .zscs-ty-app-copy h2 { font-family: var(--zj-font); font-weight: 800; }

/* Smart Checkout: the checkout page keeps the theme background and width */
body.zj.zscs-active.woocommerce-checkout { background: var(--zj-bg); }
body.zj.zscs-active .zj-main { padding-top: 8px; }
body.zj.zscs-active .woocommerce-checkout form.checkout { padding-inline: 0; }
.zj .zscs-card, .zj .zscs-summary-card, .zj .zscs-payment-step { border-color: var(--zj-border-soft); box-shadow: var(--zj-shadow-soft); }

/* Smart Checkout skin: the checkout uses the theme's font, pill buttons, line icons and warm cards
   (the plugin's own look was made for the old site; its logic and markup are untouched) */
body.zj.zscs-active .zscs-shell button, body.zj.zscs-active .zscs-shell input, body.zj.zscs-active .zscs-shell select, body.zj.zscs-active .zscs-shell textarea { font-family: var(--zj-font); }
body.zj.zscs-active .zscs-step { border-color: var(--zj-border-soft) !important; border-radius: var(--zj-r-md) !important; box-shadow: none !important; color: var(--zj-navy) !important; font-family: var(--zj-font) !important; font-size: 0.9rem !important; }
body.zj.zscs-active .zscs-step.is-active { border-color: var(--zj-gold) !important; box-shadow: var(--zj-shadow-soft) !important; }
body.zj.zscs-active .zscs-step span { background: var(--zj-beige-soft); color: var(--zj-gold-dark); }
body.zj.zscs-active .zscs-step.zj-step-done span { background: var(--zj-navy) !important; border-color: var(--zj-navy) !important; color: #fff !important; }
body.zj.zscs-active .zscs-section-head .zscs-icon { border-radius: 50% !important; background: var(--zj-beige-soft) !important; font-size: 0 !important; }
body.zj.zscs-active .zscs-section-head .zscs-icon::before { content: ""; width: 22px; height: 22px; background: var(--zj-gold-dark); -webkit-mask: var(--zj-step-icon) center / contain no-repeat; mask: var(--zj-step-icon) center / contain no-repeat; }
body.zj.zscs-active [data-zscs-section="delivery"] { --zj-step-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%206.5h11v10H3z%27%2F%3E%3Cpath%20d%3D%27M14%2010h3.5L21%2013.2v3.3h-7%27%2F%3E%3Ccircle%20cx%3D%277.5%27%20cy%3D%2717.5%27%20r%3D%271.8%27%2F%3E%3Ccircle%20cx%3D%2717%27%20cy%3D%2717.5%27%20r%3D%271.8%27%2F%3E%3C%2Fsvg%3E"); }
body.zj.zscs-active [data-zscs-section="card"] { --zj-step-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273.5%27%20y%3D%275.5%27%20width%3D%2717%27%20height%3D%2713%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27m4%207%208%206%208-6%27%2F%3E%3C%2Fsvg%3E"); }
body.zj.zscs-active [data-zscs-section="recipient"] { --zj-step-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%2020s-7.5-4.6-7.5-10A4.3%204.3%200%200%201%2012%207.3%204.3%204.3%200%200%201%2019.5%2010c0%205.4-7.5%2010-7.5%2010Z%27%2F%3E%3C%2Fsvg%3E"); }
body.zj.zscs-active [data-zscs-section="sender"] { --zj-step-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%278.5%27%20r%3D%273.7%27%2F%3E%3Cpath%20d%3D%27M4.5%2020c.8-3.8%203.8-5.7%207.5-5.7s6.7%201.9%207.5%205.7%27%2F%3E%3C%2Fsvg%3E"); }
body.zj.zscs-active .zscs-date-card, body.zj.zscs-active .zscs-slot-card { min-height: 58px; padding: 11px 14px; border-color: var(--zj-border); border-radius: var(--zj-r-sm); background: #fff; color: var(--zj-text); font-family: var(--zj-font); text-align: start; }
body.zj.zscs-active .zscs-date-card strong, body.zj.zscs-active .zscs-slot-card strong { color: var(--zj-navy); font-size: 0.92rem; }
body.zj.zscs-active .zscs-date-card span, body.zj.zscs-active .zscs-slot-card span { color: var(--zj-muted); font-size: 0.78rem; }
body.zj.zscs-active .zscs-date-card:hover, body.zj.zscs-active .zscs-slot-card:hover { border-color: var(--zj-navy); background: var(--zj-beige-soft); }
body.zj.zscs-active .zscs-date-card.is-selected, body.zj.zscs-active .zscs-slot-card.is-selected { border-color: var(--zj-navy); background: var(--zj-beige-soft); box-shadow: inset 0 0 0 1.5px var(--zj-navy); }
body.zj.zscs-active .zscs-slot-card .zscs-slot-price { color: var(--zj-gold-dark); }
body.zj.zscs-active .zscs-date-more { border-color: var(--zj-border); border-radius: 999px; color: var(--zj-navy); font-family: var(--zj-font); }
body.zj.zscs-active .zscs-delivery-saved-box { border-color: var(--zj-border-soft); border-radius: var(--zj-r-md); background: var(--zj-beige-soft); }
body.zj.zscs-active .zscs-delivery-edit-btn, body.zj.zscs-active .zscs-card-style-link, body.zj.zscs-active .zscs-ai-toggle { font-family: var(--zj-font) !important; font-weight: 700 !important; }
body.zj.zscs-active .zscs-card-style-link { border-color: var(--zj-border) !important; background: #fff !important; }
body.zj.zscs-active .zscs-delivery-another-btn { color: var(--zj-muted); font-family: var(--zj-font); }
body.zj.zscs-active #place_order, body.zj.zscs-active button#place_order { min-height: 54px !important; border-radius: 999px !important; font-family: var(--zj-font) !important; font-weight: 700 !important; font-size: 1.02rem !important; letter-spacing: 0 !important; }
body.zj.zscs-active .woocommerce-form-coupon-toggle .woocommerce-info { border-radius: 999px; box-shadow: none; }

/* Smart Checkout, app look (app/checkout.tsx): system font 800 headings, 28px cards, 20px fields with a 1.5px
   border, date tiles, time slots as a list with the fee on the right, step dots, gold total, pill buttons.
   CSS only: the plugin's markup, fields and the greeting-card tools work exactly as before. */
body.zj.zscs-active .zscs-shell h2, body.zj.zscs-active .zscs-shell h3, body.zj.zscs-active .zscs-shell h4 { font-family: var(--zj-font) !important; font-weight: 800 !important; letter-spacing: -0.2px; }
body.zj.zscs-active .zscs-hero { border-radius: var(--zj-r-xl) !important; background: #fff !important; box-shadow: var(--zj-shadow-soft) !important; }
body.zj.zscs-active .zscs-hero h2 { font-size: 1.75rem !important; letter-spacing: -0.5px; line-height: 1.2 !important; }
body.zj.zscs-active .zscs-hero p { color: var(--zj-muted); font-size: 0.94rem; }
body.zj.zscs-active .zscs-eyebrow { color: var(--zj-gold) !important; font-size: 0.75rem !important; font-weight: 800 !important; letter-spacing: 0.6px !important; text-transform: uppercase; }
body.zj.zscs-active .zscs-card, body.zj.zscs-active .zscs-summary-card { padding: 22px; border: 1px solid var(--zj-border) !important; border-radius: var(--zj-r-xl) !important; box-shadow: var(--zj-shadow-soft) !important; }
body.zj.zscs-active .zscs-section-head h3 { font-size: 1.06rem !important; }
body.zj.zscs-active .zscs-section-head p { color: var(--zj-muted); font-size: 0.88rem; line-height: 1.5; }

/* step dots */
body.zj.zscs-active .zscs-steps { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-flow: row !important; gap: 0 !important; margin-bottom: 20px; padding: 0 !important; overflow: visible !important; }
body.zj.zscs-active .zscs-step { position: relative; width: auto !important; min-width: 0 !important; max-width: none !important; flex: none !important; display: flex !important; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 0 2px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--zj-muted) !important; font-size: 0.7rem !important; font-weight: 600 !important; line-height: 1.25; text-align: center; white-space: normal; }
body.zj.zscs-active .zscs-step::before { content: ""; position: absolute; top: 14px; inset-inline-start: calc(-50% + 18px); width: calc(100% - 36px); height: 2px; background: var(--zj-border); }
body.zj.zscs-active .zscs-step:first-child::before { display: none; }
body.zj.zscs-active .zscs-step.zj-step-done::before, body.zj.zscs-active .zscs-step.is-active::before { background: var(--zj-navy); }
body.zj.zscs-active .zscs-step span { position: relative; z-index: 1; display: inline-flex !important; align-items: center; justify-content: center; width: 30px !important; height: 30px !important; margin: 0 !important; border: 1.5px solid var(--zj-border) !important; border-radius: 50% !important; background: #fff !important; color: var(--zj-muted) !important; font-size: 0.75rem !important; font-weight: 700 !important; }
body.zj.zscs-active .zscs-step.is-active { border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--zj-navy) !important; font-weight: 800 !important; }
body.zj.zscs-active .zscs-step.is-active span { border-color: var(--zj-gold) !important; background: var(--zj-beige-soft) !important; color: var(--zj-navy) !important; font-weight: 800 !important; }
body.zj.zscs-active .zscs-step.zj-step-done span { border-color: var(--zj-navy) !important; background: var(--zj-navy) !important; color: #fff !important; font-size: 0 !important; }
/* a step the plugin marks complete but the customer has not reached yet keeps its number (see initCheckoutFlow) */
body.zj.zscs-active .zscs-step.is-complete:not(.zj-step-done) span { font-size: 0.75rem !important; }
body.zj.zscs-active .zscs-step.is-complete:not(.zj-step-done) span::before { content: none !important; }

/* fields */
body.zj.zscs-active .zscs-shell label, body.zj.zscs-active .zscs-field-label { color: var(--zj-navy); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.3px; }
[dir="rtl"] body.zj.zscs-active .zscs-shell label, [dir="rtl"] body.zj.zscs-active .zscs-field-label { letter-spacing: 0; }
body.zj.zscs-active .zscs-shell input[type="text"], body.zj.zscs-active .zscs-shell input[type="tel"], body.zj.zscs-active .zscs-shell input[type="email"], body.zj.zscs-active .zscs-shell input[type="url"], body.zj.zscs-active .zscs-shell select, body.zj.zscs-active .zscs-shell textarea, body.zj.zscs-active .zscs-shell .select2-container--default .select2-selection--single {
  min-height: 54px; padding: 15px 18px; border: 1.5px solid var(--zj-border); border-radius: var(--zj-r-md); background-color: #fff; color: var(--zj-text); font-size: 1rem;
}
body.zj.zscs-active .zscs-shell textarea { min-height: 120px; }
body.zj.zscs-active .zscs-shell input:focus, body.zj.zscs-active .zscs-shell select:focus, body.zj.zscs-active .zscs-shell textarea:focus { border-color: var(--zj-navy); box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.08); outline: 0; }
body.zj.zscs-active .zscs-muted, body.zj.zscs-active .zscs-shell .description { color: var(--zj-muted); font-size: 0.82rem; }

/* dates as tiles, times as a list with the fee on the right */
body.zj.zscs-active .zscs-date-cards { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
body.zj.zscs-active .zscs-date-card { min-height: 72px; padding: 14px 8px; border: 1.5px solid var(--zj-border-soft); border-radius: var(--zj-r-md); text-align: center; }
body.zj.zscs-active .zscs-date-card strong { font-size: 1rem; font-weight: 800; }
body.zj.zscs-active .zscs-date-cards > :not(.zscs-date-card), body.zj.zscs-active .zscs-slot-cards > :not(.zscs-slot-card) { grid-column: 1 / -1; margin: 0; }
body.zj.zscs-active .zscs-slot-cards { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
body.zj.zscs-active .zscs-slot-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name fee" "time fee"; align-items: center; gap: 2px 12px; padding: 16px; border: 1.5px solid var(--zj-border); border-radius: var(--zj-r-md); }
body.zj.zscs-active .zscs-slot-card strong { grid-area: name; margin: 0; font-size: 0.94rem; font-weight: 700; color: var(--zj-text); }
body.zj.zscs-active .zscs-slot-card span { grid-area: time; }
body.zj.zscs-active .zscs-slot-card .zscs-slot-price { grid-area: fee; margin: 0 !important; color: var(--zj-muted); font-size: 0.88rem; font-weight: 800; }
body.zj.zscs-active .zscs-date-card.is-selected, body.zj.zscs-active .zscs-slot-card.is-selected { border-color: var(--zj-navy); background: var(--zj-beige-soft); box-shadow: inset 0 0 0 0.5px var(--zj-navy); }
body.zj.zscs-active .zscs-slot-card.is-selected strong { color: var(--zj-navy); }
body.zj.zscs-active .zscs-slot-card.is-selected .zscs-slot-price { color: var(--zj-gold); }

/* summary: muted labels, strong values, gold total */
body.zj.zscs-active .zscs-total-row span { color: var(--zj-muted); font-size: 0.88rem; font-weight: 400; }
body.zj.zscs-active .zscs-total-row strong { color: var(--zj-text); font-size: 0.88rem; font-weight: 700; }
body.zj.zscs-active .zscs-grand-total-row { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--zj-border); }
body.zj.zscs-active .zscs-grand-total-row span { color: var(--zj-navy); font-size: 1.06rem; font-weight: 800; }
body.zj.zscs-active .zscs-grand-total-row strong, body.zj.zscs-active [data-zscs-total] { color: var(--zj-gold) !important; font-size: 1.38rem !important; font-weight: 800 !important; }

/* buttons */
body.zj.zscs-active #place_order, body.zj.zscs-active button#place_order { min-height: 56px !important; padding: 18px 22px !important; font-size: 1.06rem !important; font-weight: 800 !important; letter-spacing: 0.3px !important; box-shadow: 0 4px 8px rgba(11, 19, 43, 0.1); }
body.zj.zscs-active .zscs-delivery-edit-btn { border-radius: 999px !important; }

body.zj.zscs-active .zscs-card-style-link { min-height: 40px; padding-inline: 16px !important; }
body.zj.zj-focus .zj-header a, body.zj.zj-focus .zj-header button { min-height: 44px; display: inline-flex; align-items: center; }

/* "Delivering to: Amman · Earliest delivery …" under the header (inc/delivery-city.php, initCityBar) */
.zj-citybar { border-bottom: 1px solid var(--zj-border-soft); background: #fff; }
.zj-citybar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; min-height: 44px; padding-block: 5px; }
.zj-citybar__city { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--zj-border); border-radius: 999px; background: var(--zj-beige-soft); color: var(--zj-navy); font-family: var(--zj-font); font-size: 0.82rem; cursor: pointer; }
.zj-citybar__label { color: var(--zj-muted); font-weight: 500; }
.zj-citybar__city strong { font-weight: 800; }
.zj-citybar__info { display: flex; flex-wrap: wrap; gap: 0 12px; color: var(--zj-muted); font-size: 0.78rem; font-weight: 500; line-height: 1.45; }
/* the two lines arrive after the page: their room is kept from the start, so nothing jumps */
@media (max-width: 600px) { .zj-citybar__info { flex-basis: 100%; min-height: 2.9em; } }
.zj-citybar__earliest { color: var(--zj-text); font-weight: 600; }
.zj-citybar__free { color: var(--zj-gold); font-weight: 700; }
.zj-citybar__free.is-reached { color: #17663a; }
.zj-citybar__noaddress { color: var(--zj-muted); }
.zj-citysheet { position: fixed; inset: 0; z-index: 320; display: flex; align-items: flex-end; justify-content: center; }
.zj-citysheet[hidden] { display: none; }
.zj-citysheet__backdrop { position: absolute; inset: 0; background: rgba(11, 19, 43, 0.45); opacity: 0; transition: opacity 0.22s ease; }
.zj-citysheet__panel { position: relative; width: min(100%, 460px); max-height: 82vh; overflow-y: auto; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: var(--zj-r-xl) var(--zj-r-xl) 0 0; background: var(--zj-bg); box-shadow: var(--zj-shadow-hero); transform: translateY(104%); transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1); }
.zj-citysheet.is-open .zj-citysheet__backdrop { opacity: 1; }
.zj-citysheet.is-open .zj-citysheet__panel { transform: none; }
.zj-citysheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zj .zj-citysheet__head h2 { margin: 0; font-family: var(--zj-font); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.2px; }
.zj-citysheet__hint { margin: 4px 0 12px; color: var(--zj-muted); font-size: 0.85rem; line-height: 1.5; }
.zj-citysheet__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.zj-citysheet__option { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--zj-border); border-radius: var(--zj-r-md); background: #fff; color: var(--zj-text); font-family: var(--zj-font); font-size: 0.94rem; font-weight: 600; text-align: start; cursor: pointer; }
.zj-citysheet__option .zj-icon { visibility: hidden; color: var(--zj-navy); }
.zj-citysheet__option.is-selected { border-color: var(--zj-navy); background: var(--zj-beige-soft); font-weight: 800; }
.zj-citysheet__option.is-selected .zj-icon { visibility: visible; }
@media (min-width: 720px) {
  .zj-citysheet { align-items: center; }
  .zj-citysheet__panel { border-radius: var(--zj-r-xl); transform: translateY(24px); opacity: 0; transition: transform 0.22s ease, opacity 0.22s ease; }
  .zj-citysheet.is-open .zj-citysheet__panel { opacity: 1; }
}
/* product page: how soon the surprise can arrive (two short lines + small badges) */
.zj-surprise { margin: 10px 0 14px; padding: 10px 14px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-md); background: var(--zj-beige-soft); }
.zj-surprise[hidden] { display: none; }
.zj .zj-surprise__main { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--zj-text); font-size: 0.9rem; line-height: 1.45; }
.zj-surprise__main .zj-icon { flex: none; margin-top: 2px; color: var(--zj-gold); }
.zj-surprise__main strong { color: var(--zj-navy); font-weight: 800; }
.zj .zj-surprise__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 3px 0 0; color: var(--zj-muted); font-size: 0.78rem; line-height: 1.5; }
.zj-surprise__change { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: transparent; color: var(--zj-navy); font-family: var(--zj-font); font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.zj-surprise__note::before { content: "·"; margin-inline-end: 6px; }
.zj .zj-surprise__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.zj-surprise__badges[hidden] { display: none; }
.zj-surprise__badge { padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; line-height: 1.6; }
.zj-surprise__badge[hidden] { display: none; }
.zj-surprise__badge--fast { background: #fff; color: var(--zj-navy); border: 1px solid var(--zj-border); }
.zj-surprise__badge--fast::before { content: "\26A1"; margin-inline-end: 4px; color: var(--zj-gold); }
.zj-surprise__badge--free { background: #e7f6ec; color: #17663a; }

/* iPhones zoom the whole page when a field with text under 16px gets focus: the bag quantity and the shop sorting were 14px */
@media (max-width: 899px) {
  body.zj .quantity input.qty, body.zj.woocommerce-cart .quantity input.qty, body.zj .woocommerce-ordering select, body.zj select.orderby { font-size: 16px !important; }
}
/* a picture that no longer exists (old pages) leaves no broken-image icon; see initBrokenImages() */
.zj img.zj-img-missing { display: none !important; }

/* gift bag: how much is left for free delivery */
.zj-freebar { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; }
.zj-freebar__text { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--zj-text); font-size: 0.9rem; font-weight: 700; line-height: 1.4; }
.zj-freebar__text .zj-icon { flex: none; color: var(--zj-gold); }
.zj-freebar.is-reached .zj-freebar__text, .zj-freebar.is-reached .zj-freebar__text .zj-icon { color: #17663a; }
.zj-freebar__track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--zj-beige-soft); }
.zj-freebar__track span { display: block; height: 100%; border-radius: 999px; background: var(--zj-gold); transition: width 0.4s ease; }
.zj-freebar.is-reached .zj-freebar__track span { background: #17663a; }
.zj-freebar__change { margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--zj-muted); font-family: var(--zj-font); font-size: 0.8rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Smart Checkout, payment: one card in line with the steps above it. The plugin prints a header block and WooCommerce's
   #order_review as two centred boxes of their own width; here they join into one card as wide as the steps column, with
   a lock icon (the header had no icon of its own and showed a filled square), one line per payment method, small logos
   and one pay button. Looks only: methods, fields and the button are WooCommerce's and the payment plugins' own. */
body.zj.zscs-active [data-zscs-section="payment"] { --zj-step-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%275%27%20y%3D%2711%27%20width%3D%2714%27%20height%3D%2710%27%20rx%3D%272.5%27%2F%3E%3Cpath%20d%3D%27M8%2011V7.5a4%204%200%200%201%208%200V11%27%2F%3E%3C%2Fsvg%3E"); }
body.zj.zscs-active form.checkout > .zscs-payment-step, body.zj.zscs-active form.checkout > #order_review { width: auto !important; max-width: none !important; margin-inline: 0 !important; border: 1px solid var(--zj-border-soft) !important; background: #fff !important; box-shadow: var(--zj-shadow-soft); }
body.zj.zscs-active form.checkout > .zscs-payment-step { margin-top: 16px !important; margin-bottom: 0 !important; padding: 20px 22px 4px !important; border-bottom: 0 !important; border-radius: var(--zj-r-xl) var(--zj-r-xl) 0 0 !important; }
body.zj.zscs-active form.checkout > #order_review { margin-top: 0 !important; padding: 10px 22px 22px !important; border-top: 0 !important; border-radius: 0 0 var(--zj-r-xl) var(--zj-r-xl) !important; }
body.zj.zscs-active .zscs-payment-step .zscs-section-head { margin: 0 !important; }
body.zj.zscs-active .zscs-payment-step :is(h2, h3) { font-family: var(--zj-font) !important; font-weight: 800 !important; letter-spacing: -0.2px; color: var(--zj-navy); }
@media (min-width: 1101px) {
  /* same width and edge as the steps column (the summary sits in the 380px column next to it) */
  body.zj.zscs-active form.checkout > .zscs-payment-step, body.zj.zscs-active form.checkout > #order_review { margin-inline-end: 404px !important; }
}
body.zj.zscs-active #payment { border-radius: 0 !important; background: transparent !important; }
body.zj.zscs-active #payment ul.payment_methods { display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
body.zj.zscs-active #payment ul.payment_methods li.wc_payment_method { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; margin: 0 !important; padding: 14px 16px !important; border: 1.5px solid var(--zj-border) !important; border-radius: var(--zj-r-md); background: #fff; }
body.zj.zscs-active #payment ul.payment_methods li.wc_payment_method:has(> input:checked) { border-color: var(--zj-navy) !important; background: var(--zj-beige-soft); }
body.zj.zscs-active #payment li.wc_payment_method > input.input-radio { grid-column: 1; width: 20px; height: 20px; margin: 0 !important; accent-color: var(--zj-navy); }
body.zj.zscs-active #payment li.wc_payment_method > label { grid-column: 2; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin: 0 !important; color: var(--zj-text); font-size: 0.94rem; font-weight: 700; cursor: pointer; }
body.zj.zscs-active #payment ul.payment_methods li.wc_payment_method > label img { width: auto !important; max-width: 86px !important; height: 22px !important; max-height: 22px !important; min-height: 0 !important; margin: 0 !important; float: none !important; object-fit: contain; }
/* payment method badges (inc/payment-icons.php): same size for every method, at the end of the row */
.zj-payicons { display: inline-flex; flex: none; align-items: center; gap: 6px; margin-inline-start: auto; }
.zj-payicon { display: block; width: 38px; height: 24px; border-radius: 5px; }
/* A wallet badge is shown only to a visitor whose phone can really pay that way (see zajel_payment_wallet_script). */
.zj-payicon--applepay, .zj-payicon--googlepay { display: none; }
.zj-has-applepay .zj-payicon--applepay { display: block; }
.zj-has-googlepay .zj-payicon--googlepay { display: block; }
body.zj.zscs-active #payment li.wc_payment_method > label a { font-size: 0.78rem; font-weight: 500; }
body.zj.zscs-active #payment div.payment_box { grid-column: 1 / -1; margin: 12px 0 0 !important; padding: 12px 14px !important; border-radius: var(--zj-r-sm); background: #fff !important; color: var(--zj-muted); font-size: 0.85rem; line-height: 1.55; box-shadow: none; }
body.zj.zscs-active #payment div.payment_box::before { display: none !important; }
body.zj.zscs-active #payment div.payment_box p { margin: 0 0 6px; }
body.zj.zscs-active #payment div.payment_box p:last-child { margin-bottom: 0; }
body.zj.zscs-active #payment div.form-row.place-order { margin: 16px 0 0 !important; padding: 0 !important; }
body.zj.zscs-active #payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 10px; font-size: 0.82rem; color: var(--zj-muted); }

/* Smart Checkout: one step open at a time (assets/js/main.js, initCheckoutFlow). Closed steps are one line:
   icon, title, what was chosen, Edit. The greeting-card window (.zscs-modal) is never touched. */
body.zj.zscs-active .zscs-section { scroll-margin-top: 84px; }
body.zj.zscs-active .zscs-section.zj-co-closed > :not(.zscs-section-head):not(.zscs-modal) { display: none !important; }
body.zj.zscs-active .zscs-section.zj-co-closed { padding-block: 14px !important; cursor: pointer; box-shadow: none !important; }
body.zj.zscs-active .zscs-section.zj-co-closed .zscs-section-head { align-items: center; margin: 0 !important; }
body.zj.zscs-active .zscs-section.zj-co-closed .zscs-section-head > div { min-width: 0; }
body.zj.zscs-active .zscs-section.zj-co-closed .zscs-section-head p { display: none !important; }
body.zj.zscs-active .zscs-section.zj-co-closed .zscs-section-head :is(h2, h3, h4) { margin: 0; font-size: 1rem !important; }
body.zj.zscs-active .zscs-section.zj-co-closed .zscs-icon { width: 38px; height: 38px; flex: none; }
body.zj.zscs-active .zscs-section.zj-co-closed.zj-co-done .zscs-icon { background: var(--zj-navy) !important; color: #fff !important; }
body.zj.zscs-active .zscs-section.zj-co-closed:not(.zj-co-done) { opacity: 0.72; }
.zj-co-sum { display: none; overflow: hidden; margin-top: 2px; color: var(--zj-muted); font-size: 0.85rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.zj-co-closed .zj-co-sum:not(:empty) { display: block; }
.zj-co-edit { display: none; flex: none; margin-inline-start: auto; padding: 6px 14px; border-radius: 999px; background: var(--zj-beige-soft); color: var(--zj-navy); font-size: 0.8rem; font-weight: 700; }
.zj-co-closed.zj-co-done .zj-co-edit { display: inline-flex; }
.zj-co-actions { display: grid; gap: 8px; margin-top: 20px; }
.zj-co-actions .zj-btn { width: 100%; min-height: 52px; border-radius: 999px; font-size: 0.94rem; font-weight: 800; }
.zj-co-msg { margin: 0; color: var(--zj-error); font-size: 0.85rem; font-weight: 600; text-align: center; }
.zj-co-msg:empty { display: none; }
/* the same words right under the box that is missing (the step's own line can sit below the screen) */
.zj-co-fieldmsg { margin: 6px 0 0; color: var(--zj-error); font-size: 0.85rem; font-weight: 600; }
/* Arabic: Smart Checkout parks WooCommerce's own fields 9999px to the left. On a right-to-left page that side can be
   scrolled to, and the page jumped sideways into an empty area. Parked on the right instead, nothing scrolls. */
[dir="rtl"] body.zj.zscs-active #customer_details { right: -9999px !important; left: auto !important; }
/* "Have an account? Sign in" in one line; the sign-in card opens under it */
.zj-co-signin { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; margin: 0 0 12px; padding: 10px 16px; border: 1px solid var(--zj-border); border-radius: 999px; background: #fff; color: var(--zj-muted); font-family: var(--zj-font); font-size: 0.9rem; cursor: pointer; }
.zj-co-signin strong { color: var(--zj-navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
body.zj .zsl-login-card.zj-co-folded { display: none !important; }
@media (max-width: 899px) {
  /* the bottom bar carries the Continue button on phones */
  body.zj.zj-has-buybar .zj-co-actions .zj-co-next { display: none; }
  body.zj.zscs-active .zscs-hero { display: none !important; }
  /* folded steps already say the delivery and the card; keep the gift summary and what is included */
  body.zj.zscs-active .zscs-sidebar > .zscs-summary-card:nth-child(2), body.zj.zscs-active .zscs-sidebar > .zscs-gift-card-summary { display: none !important; }
}

/* phones: total + next step stay in reach (assets/js/main.js, initCheckoutBar) */
.zj-checkoutbar .zj-buybar__name { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
[dir="rtl"] .zj-checkoutbar .zj-buybar__name { letter-spacing: 0; font-size: 0.78rem; }
.zj-checkoutbar .zj-buybar__price { color: var(--zj-gold); }
.zj-checkoutbar .zj-buybar__btn { flex: 1; min-height: 52px; font-size: 0.94rem; font-weight: 800; }
.zj-checkoutbar .zj-buybar__info { flex: none; min-width: 88px; max-width: 130px; }
@media (max-width: 899px) { body.zj.zscs-active.zj-has-buybar .zj-main { padding-bottom: 108px; } }

/* Summary thumbnails: one square photo per product (lazy-load rewrites used to leave a twin after the first) */
.zj .zscs-thumb { width: 58px; height: 58px; overflow: hidden; border-radius: 14px; background: var(--zj-beige-soft); }
.zj .zscs-thumb img { width: 58px; height: 58px; max-width: none; object-fit: cover; }
.zj .zscs-thumb img ~ img { display: none; }

/* The visually hidden date field must stay hidden (the theme gives inputs a minimum height) */
.zj .zscs-date-input, .zj .zscs-sr-only input { min-height: 0 !important; }

/* Account: Smart Checkout draws its own cards, so the theme card around them is removed */
body.zj .woocommerce-MyAccount-content:has(.zscs-dashboard-shell) { padding: 0; border: 0; background: transparent; }
body.zj .zscs-dashboard-shell { max-width: none; margin: 0 0 24px; padding: 0; }

/* Delivery widget popup and card-style popup sit above the theme bars; the bars step aside */
body.zj.zscs-pw-modal-open .zj-buybar, body.zj.zscs-pw-modal-open .zj-tabbar, body.zj.zscs-modal-open .zj-tabbar { display: none; }

/* WooCommerce Product Add-Ons: its field titles are headings; show them like the Gift Builder labels next to them */
.zj .wc-pao-addon-container { margin-block: 14px; }
.zj .wc-pao-addon-container .wc-pao-addon-name, .zj .wc-pao-addon-container .wc-pao-addon-heading { margin: 0 0 8px; color: var(--zj-text); font-family: var(--zj-font); font-size: 0.95rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.zj .wc-pao-addon-container .wc-pao-addon-description { margin: -4px 0 8px; color: var(--zj-muted); font-size: 0.86rem; }
.zj .wc-pao-addon-container .form-row { margin: 0; padding: 0; }

/* Smart Checkout on phones: a shorter intro card, so the first step starts on the first screen */
@media (max-width: 640px) {
  body.zj.zscs-active .zscs-hero { padding: 14px 16px 12px !important; margin-bottom: 10px !important; }
  body.zj.zscs-active .zscs-hero h2 { margin: 2px 0 0 !important; font-size: 1.45rem !important; line-height: 1.2 !important; }
  body.zj.zscs-active .zscs-hero p { display: none; }
}

/* Click to Chat: on phones only the round WhatsApp icon, so its label does not cover buttons under it */
@media (max-width: 999px) {
  body.zj .ht-ctc .ctc_cta { display: none !important; }
  body.zj .ht-ctc .ctc_chip { padding: 0 !important; background: transparent !important; }
  body.zj .ht-ctc .s4_img { margin: 0 !important; }
}

/* Floating buttons from other plugins must clear the bottom bars on phones */
@media (max-width: 999px) {
  body.zj-has-tabbar .ht-ctc, body.zj-has-tabbar .ht_ctc_style, body.zj-has-tabbar [class*="moderncart-floating"], body.zj-has-tabbar #moderncart-floating-cart { bottom: calc(var(--zj-tabbar-h) + 12px) !important; }
  body.zj-has-buybar .ht-ctc, body.zj-has-buybar [class*="moderncart-floating"] { bottom: 92px !important; }
}

/* Blocks injected by the old Visual Layer plugin (styled for Flatsome); the theme has its own assurances */
.zj .zvl-trust-bar, .zj .zvl-product-badge { display: none !important; }

/* WPML footer switcher is replaced by the header link */
.zj .wpml-ls-statics-footer { display: none; }

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zj *, .zj *::before, .zj *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .zj-topbar, .zj-header, .zj-footer, .zj-tabbar, .zj-buybar, .zj-drawer { display: none !important; }
  body.zj { background: #fff; }
}

/* ---- A light personal touch (inc/personal.php) ---- */
.zj .zj-ty-hello { margin: 2px 0 6px; color: var(--zj-navy); font-weight: 700; font-size: 1.02rem; line-height: 1.5; text-align: center; }
.zj .zj-hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 4px; padding: 12px 16px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-lg); background: #fff; }
.zj .zj-hello__text { display: flex; flex-direction: column; gap: 2px; margin: 0; min-width: 0; line-height: 1.45; }
.zj .zj-hello__text strong { color: var(--zj-navy); font-size: 1rem; }
.zj .zj-hello__text span { color: var(--zj-muted); font-size: 0.92rem; }
.zj .zj-hello__link { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; background: var(--zj-navy); color: #fff; font-weight: 700; font-size: 0.88rem; text-decoration: none; white-space: nowrap; }
.zj .zj-order-gift { color: var(--zj-navy); font-weight: 700; }
.zj .woocommerce-orders-table .woocommerce-button.zajel-complete-payment { background: var(--zj-gold); border-color: var(--zj-gold); color: var(--zj-navy); }
/* "Confirm your e-mail to see your earlier orders" (Smart Checkout 1.7.39) */
.zj .zscs-confirm-email { margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--zj-border); border-inline-start: 4px solid var(--zj-gold); border-radius: var(--zj-r-lg); background: #fff; line-height: 1.6; }
.zj .zscs-confirm-email p { margin: 0 0 8px; }
.zj .zscs-confirm-email--success { border-inline-start-color: #2e7d5b; }
.zj .zscs-confirm-email--error { border-inline-start-color: #b42318; }
.zj .zscs-confirm-email__form { margin: 10px 0 0; }
/* orders list with the "Gift" line: who it is for comes right under the number; an unpaid CliQ order gets its
   "Complete payment" button on a row of its own, so two buttons no longer squeeze the date into a narrow column */
body.zj .woocommerce-orders-table__cell-zajel-gift { grid-column: 1; grid-row: 2; font-size: 0.92rem; }
body.zj .woocommerce-orders-table__cell-order-date { grid-row: 3; }
body.zj .woocommerce-orders-table__cell-order-total { grid-row: 4; }
body.zj .woocommerce-orders-table__cell-order-actions { grid-row: 3 / span 2; }
body.zj .woocommerce-orders-table tbody tr:has(.zajel-complete-payment) .woocommerce-orders-table__cell-order-actions { grid-column: 1 / -1; grid-row: 5; justify-self: stretch; margin-top: 6px; }
body.zj .woocommerce-orders-table tbody tr:has(.zajel-complete-payment) .woocommerce-orders-table__cell-order-actions .button { flex: 1 1 0; text-align: center; }
/* a cancelled or refunded order is not a success: no check mark in the top card */
.zj .zj-ty--stopped .zscs-ty-check { font-size: 0 !important; background: var(--zj-beige-soft) !important; color: var(--zj-muted) !important; }
.zj .zj-ty--stopped .zscs-ty-check::before { content: "\00d7"; font-size: 1.7rem; line-height: 1; font-weight: 400; }
/* Account details: the phone box and its hint (Smart Checkout 1.7.41) */
.zj .zscs-account-phone input[type="tel"] { text-align: start; }
.zj .zscs-account-phone__hint { display: block; margin-top: 6px; color: var(--zj-muted); font-size: 0.85rem; }
.zj .zscs-account-phone__hint em { font-style: normal; }

/* ---- Moving between pages (inc/navigation.php, initNavFeedback) ---- */
/* The next page fades in over the last one instead of a white flash; header and bottom bar stay still. Browsers
   without cross-document view transitions simply load the page as before. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root) { animation: 160ms ease-out both zj-vt-out; }
::view-transition-new(root) { animation: 240ms ease-out both zj-vt-in; }
::view-transition-group(zj-hero) { animation-duration: 320ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
@keyframes zj-vt-out { to { opacity: 0; } }
@keyframes zj-vt-in { from { opacity: 0; transform: translateY(6px); } }
.zj-header { view-transition-name: zj-header; }
.zj-tabbar { view-transition-name: zj-tabbar; }
/* the product page's main picture is where the tapped card's picture lands */
.single-product div.product .woocommerce-product-gallery__image:first-child .wp-post-image { view-transition-name: zj-hero; }

/* a thin line along the top while the next page is on its way */
.zj-navprogress { position: fixed; inset-inline: 0; top: 0; z-index: 100000; height: 3px; background: var(--zj-gold); transform: scaleX(0); transform-origin: left center; pointer-events: none; opacity: 0; view-transition-name: none; }
[dir="rtl"] .zj-navprogress { transform-origin: right center; }
.zj-navprogress.is-running { opacity: 1; animation: zj-navprogress 6s cubic-bezier(.1, .7, .3, 1) forwards; }
@keyframes zj-navprogress { 0% { transform: scaleX(0); } 20% { transform: scaleX(.45); } 100% { transform: scaleX(.92); } }
@media (prefers-reduced-motion: reduce) { .zj-navprogress.is-running { animation-duration: .01s; transform: scaleX(.92); } }

/* a tap is felt at once */
.zj .zj-btn, .zj .button, .zj button.single_add_to_cart_button, .zj .zj-tabbar__item, .zj .zj-chip { -webkit-tap-highlight-color: transparent; transition: transform .12s ease, opacity .12s ease; }
.zj .zj-btn:active, .zj .button:active, .zj button.single_add_to_cart_button:active, .zj .zj-chip:active { transform: scale(.97); }
.zj .zj-tabbar__item:active { opacity: .6; }
.zj ul.products li.product > a:active .zj-card__media img, .zj .zj-card:active img { transform: scale(.98); }

/* "Add to bag" while it is adding */
.zj button.single_add_to_cart_button.is-adding, .zj [data-zj-buybar-submit].is-adding { position: relative; opacity: .85; cursor: progress; }
.zj button.single_add_to_cart_button.is-adding::after, .zj [data-zj-buybar-submit].is-adding::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-start: 8px; vertical-align: -2px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: zj-spin .7s linear infinite; }
@keyframes zj-spin { to { transform: rotate(360deg); } }

/* ---- Checkout v2: one step per screen (initCheckoutFlow, approved prototype docs/design/checkout-v2-prototype.html) ---- */
body.zj.zj-co-wizard .zscs-steps { display: none !important; }
body.zj.zj-co-wizard .zscs-main > [data-zscs-section].zj-co-closed { display: none !important; }
body.zj.zj-co-wizard .zj-co-sum, body.zj.zj-co-wizard .zj-co-edit { display: none !important; }
.zj-wiz { margin: 0 0 14px; }
.zj-wiz__where { margin: 0 0 8px; color: var(--zj-muted); font-size: 0.9rem; text-align: center; }
.zj-wiz__where b { color: var(--zj-navy); }
.zj-wiz__bar { display: flex; gap: 6px; }
/* the progress line with the step names: finished steps (✓) and the next one can be tapped */
.zj-wiz__step { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 0 0 2px; border: 0; background: none; color: var(--zj-muted); font: inherit; font-size: 0.78rem; font-weight: 700; line-height: 1.3; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.zj-wiz__step i { display: block; height: 4px; border-radius: 99px; background: var(--zj-border-soft); transition: background .25s; }
.zj-wiz__step span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zj-wiz__step.on i { background: var(--zj-navy); }
.zj-wiz__step.is-current { color: var(--zj-navy); }
.zj-wiz__step.is-done span::before { content: "✓ "; color: var(--zj-success); }
.zj-wiz__step:disabled { cursor: default; opacity: 0.55; }
.zj-wiz__step:not(:disabled):not(.is-current):hover span { text-decoration: underline; text-underline-offset: 3px; }
.zj-wiz__step:focus-visible { outline: 2px solid var(--zj-navy); outline-offset: 3px; border-radius: 6px; }

/* the "time no longer available" message stops below the sticky header when the page scrolls to it */
body.zj .zscs-expired-note { scroll-margin-top: 96px; }
/* delivery chosen: one line with Change instead of the three lists */
.zj-dfold { display: none; }
body.zj.zj-co-wizard .zscs-shell .zscs-main #zscs-step-delivery.zj-dfolded .zscs-delivery-first-grid,
body.zj.zj-co-wizard .zscs-shell .zscs-main #zscs-step-delivery.zj-dfolded .zscs-schedule-stack,
body.zj.zj-co-wizard .zscs-shell .zscs-main #zscs-step-delivery.zj-dfolded .zscs-schedule-note { display: none !important; }
#zscs-step-delivery.zj-dfolded .zj-dfold { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 14px; border: 1.5px solid var(--zj-navy); border-radius: var(--zj-r-md); background: #fff; }
.zj-dfold__pin { flex: none; font-size: 1.1rem; }
.zj-dfold__text { flex: 1; min-width: 0; color: var(--zj-navy); font-weight: 700; line-height: 1.55; white-space: pre-line; }
.zj-dfold__change { flex: none; min-height: 36px; padding: 6px 14px; border: 1px solid var(--zj-border); border-radius: 999px; background: #fff; color: var(--zj-navy); font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; }

/* "Review your order": where, when, to whom and which card, each with Edit */
.zj-review { margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--zj-border-soft); }
.zj-review__row { display: grid; grid-template-columns: 5.5rem 1fr; gap: 8px; padding: 8px 0; }
.zj-review__row[hidden] { display: none; }
.zj-review__row + .zj-review__row { border-top: 1px dashed var(--zj-border-soft); }
.zj-review dt { color: var(--zj-muted); font-size: 0.85rem; font-weight: 700; }
.zj-review dd { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--zj-navy); font-size: 0.9rem; font-weight: 600; line-height: 1.5; }
.zj-review dd span { flex: 1; min-width: 0; overflow-wrap: anywhere; white-space: pre-line; }
.zj-review__edit { flex: none; padding: 0; border: 0; background: none; color: var(--zj-navy); font: inherit; font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.zj .zscs-cart-item-meta { display: block; margin-top: 2px; color: var(--zj-muted); font-size: 0.78rem; font-weight: 500; line-height: 1.5; }
/* nothing above the steps: sign-in and the promo code live in the last step */
body.zj.zj-co-wizard .zj-co-signin, body.zj.zj-co-wizard .zsl-login-card, body.zj.zj-co-wizard .woocommerce-form-coupon-toggle, body.zj.zj-co-wizard form.checkout_coupon { display: none !important; }
/* the payment methods belong to the last step */
body.zj.zj-co-wizard:not(.zj-co-at-last) #zscs-step-payment, body.zj.zj-co-wizard:not(.zj-co-at-last) #order_review, body.zj.zj-co-wizard:not(.zj-co-at-last) #order_review_heading { display: none !important; }
/* a new screen fades in */
body.zj.zj-co-wizard .zscs-main > [data-zscs-section]:not(.zj-co-closed) { animation: zj-wiz-in .2s ease-out; }
@keyframes zj-wiz-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { body.zj.zj-co-wizard .zscs-main > [data-zscs-section] { animation: none !important; } }
/* last step, guests: sign in */
.zj-wiz-signin { margin: 4px 0 16px; padding: 12px; border-radius: var(--zj-r-md); background: var(--zj-beige-soft); }
.zj-wiz-signin__lead { margin: 0 0 8px; color: var(--zj-muted); font-size: 0.88rem; font-weight: 700; }
.zj-wiz-signin__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zj-wiz-signin__row .zsl-social-btn { justify-content: center; min-height: 46px; margin: 0 !important; }
.zj-wiz-signin__mail { display: inline-block; margin-top: 10px; color: var(--zj-navy); font-size: 0.88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* last step: promo code inside the order summary */
.zj-promo { margin-top: 10px; }
.zj-promo__ask { padding: 0; border: 0; background: none; color: var(--zj-navy); font-weight: 700; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.zj-promo__row { display: flex; gap: 8px; }
.zj-promo__row[hidden] { display: none; }
.zj-promo__code { flex: 1; min-height: 44px; padding: 8px 12px; border: 1px solid var(--zj-border); border-radius: var(--zj-r-sm); }
.zj-promo__apply { min-width: 84px; border: 0; border-radius: var(--zj-r-sm); background: var(--zj-navy); color: #fff; font-weight: 700; }
.zj-promo__msg { margin-top: 6px; color: var(--zj-success); font-size: 0.85rem; font-weight: 700; }
.zj-promo__msg.is-bad { color: var(--zj-error); }
.zj-promo__msg:empty { display: none; }
/* the applied code in the gift summary, with its Remove link (WooCommerce's own totals table is hidden here) */
body.zj .zscs-discount-row strong { color: var(--zj-success); }
body.zj .zscs-remove-coupon { margin-inline-start: 6px; font-size: 0.8rem; font-weight: 600; color: var(--zj-muted, #667085); text-decoration: underline; }
@media (max-width: 899px) {
  /* steps 1-3 are only the step; the last one adds the order summary (just the gift and its prices) */
  body.zj.zj-co-wizard:not(.zj-co-at-last) .zscs-sidebar { display: none !important; }
  body.zj.zj-co-wizard .zscs-sidebar { position: static !important; }
  body.zj.zj-co-wizard .zscs-sidebar > .zscs-summary-card:not(:first-child) { display: none !important; }
  /* the bottom button is the pay button, with the amount on it; WooCommerce's own stays in the page for the form */
  body.zj.zj-co-wizard #place_order { display: none !important; }
}
/* checkout v2: the big intro box above the steps is gone on every screen size, and the copied sign-in buttons stay compact */
body.zj.zj-co-wizard .zscs-hero { display: none !important; }
.zj-wiz-signin__row .zsl-social-btn { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; width: 100% !important; height: auto !important; min-height: 46px; padding: 8px 12px !important; border-radius: var(--zj-r-sm) !important; font-size: 0.95rem !important; white-space: nowrap; }
.zj-wiz-signin__row .zsl-social-icon { flex: none; }
/* checkout v2, delivery step: the days and times stay on screen with the choice marked. Smart Checkout folds them
   into an "already selected" box after every pick (and when the product page chose a time), which made the page jump
   and showed two buttons for the same thing ("Edit delivery time", "Choose another date & time"). */
body.zj.zj-co-wizard .zscs-delivery-saved-box { display: none !important; }
body.zj.zj-co-wizard .zscs-shell.zscs-has-saved-delivery #zscs-step-delivery .zscs-delivery-first-grid { display: grid !important; }
body.zj.zj-co-wizard .zscs-shell.zscs-has-saved-delivery #zscs-step-delivery .zscs-date-slot-panel { display: block !important; }
/* checkout v2, delivery step: the days in one row of small buttons (swipe for more), the chosen one filled */
body.zj.zj-co-wizard .zscs-date-cards { display: flex !important; grid-template-columns: none !important; gap: 8px !important; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
body.zj.zj-co-wizard .zscs-date-cards::-webkit-scrollbar { display: none; }
body.zj.zj-co-wizard .zscs-date-card { flex: 0 0 auto !important; width: auto !important; min-width: 92px; min-height: 0 !important; padding: 10px 12px !important; border-radius: var(--zj-r-sm) !important; text-align: center; }
body.zj.zj-co-wizard .zscs-date-card strong { display: block; font-size: 0.95rem !important; line-height: 1.25; white-space: nowrap; }
body.zj.zj-co-wizard .zscs-date-card span { display: block; font-size: 0.75rem !important; white-space: nowrap; }
body.zj.zj-co-wizard .zscs-date-card.is-selected { border-color: var(--zj-navy) !important; background: var(--zj-navy) !important; color: #fff !important; }
body.zj.zj-co-wizard .zscs-date-card.is-selected :is(strong, span) { color: #fff !important; }
body.zj.zj-co-wizard .zscs-date-more-row { margin-top: 6px !important; }
/* the times: one full-width row each, the chosen one outlined */
body.zj.zj-co-wizard .zscs-slot-cards { grid-template-columns: 1fr !important; gap: 10px !important; }
body.zj.zj-co-wizard .zscs-slot-card.is-selected { border-color: var(--zj-navy) !important; box-shadow: 0 0 0 1px var(--zj-navy) inset !important; }

/* ---------------- Home: the page title and the text at the bottom (SEO, 2026-09-22) ---------------- */
/* one clear sentence under the banners: what Zajel is, for Google and for a first-time visitor */
/* .zj prefix: the theme styles every .zj h1 as a big page title */
.zj .zj-home__h1 { margin: 16px 0 4px; color: var(--zj-navy); font-size: 1.35rem; line-height: 1.4; text-align: center; }
@media (min-width: 900px) { .zj .zj-home__h1 { margin-top: 22px; font-size: 1.7rem; } }
.zj-seo { margin-top: 28px; padding: 22px 18px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-md); background: #fff; }
.zj .zj-seo__title { margin: 0 0 10px; color: var(--zj-navy); font-size: 1.3rem; line-height: 1.4; }
.zj-seo__lead { margin: 0 0 16px; color: var(--zj-text, #1f2937); font-size: 0.95rem; line-height: 1.85; }
.zj-seo__grid { display: grid; gap: 14px 22px; }
@media (min-width: 760px) { .zj-seo { padding: 28px 30px; } .zj-seo__grid { grid-template-columns: 1fr 1fr; } }
.zj .zj-seo__h { margin: 0 0 4px; color: var(--zj-navy); font-family: var(--zj-font); font-size: 1rem; font-weight: 700; line-height: 1.45; }
.zj-seo__block p { margin: 0; color: var(--zj-muted); font-size: 0.92rem; line-height: 1.8; }
.zj-seo__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--zj-border-soft); }
.zj-seo__links-label { width: 100%; margin-bottom: 2px; color: var(--zj-muted); font-size: 0.85rem; font-weight: 700; }

/* questions people search for, answered at the end of the home (one open at a time is not needed: plain <details>) */
.zj-faq { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--zj-border-soft); }
.zj .zj-faq__title { margin: 0 0 8px; color: var(--zj-navy); font-family: var(--zj-font); font-size: 1.05rem; font-weight: 800; }
.zj-faq details { border-bottom: 1px solid var(--zj-border-soft); }
.zj-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--zj-text); font-weight: 700; cursor: pointer; list-style: none; }
.zj-faq summary::-webkit-details-marker { display: none; }
.zj-faq summary::after { content: "+"; flex: none; color: var(--zj-muted); font-size: 1.2rem; line-height: 1; }
.zj-faq details[open] summary::after { content: "−"; }
.zj-faq details p { margin: 0 0 12px; color: var(--zj-muted); font-size: 0.92rem; line-height: 1.8; }

/* ==========================================================================
   Home: what our customers say (.zj-reviews)
   Honest totals from Facebook (94% recommend, 455 reviews) in the title row,
   then a rail of small review cards. Owner 2026-10-07: Facebook appears as its
   logo only (the word stays for screen readers) and the section is compact:
   small cards, 4 lines of text, no big quote mark, the link in the title row.
   The rail reuses the product-rail classes (.zj-rail, .zj-scroll-x,
   .zj-rail__nav + the data-zj-rail script). Logical properties only.
   ========================================================================== */

.zj .zj-reviews__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.zj .zj-reviews :focus-visible { outline: 2px solid var(--zj-navy); outline-offset: 3px; }
.zj .zj-reviews__head { align-items: center; margin-bottom: 12px; }
.zj .zj-reviews__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; margin: 4px 0 0; color: var(--zj-navy-soft); font-size: 0.9rem; line-height: 1.4; }
.zj-reviews__num { color: var(--zj-navy); font-size: 1.1rem; font-weight: 800; font-variant-numeric: lining-nums; }
.zj-reviews__claim { color: var(--zj-navy); font-weight: 700; }
.zj-reviews__sep { color: var(--zj-gold); }
.zj-reviews__count b { color: var(--zj-navy); font-weight: 800; }
.zj .zj-reviews__fb { display: block; flex: none; width: 14px; height: 14px; }
.zj-reviews__end { display: flex; flex: none; align-items: center; gap: 12px; }
.zj .zj-reviews__all { gap: 6px; }
.zj .zj-reviews__all .zj-reviews__fb { width: 16px; height: 16px; }

/* rail: the theme's .zj-rail does the scrolling; this only sizes the cards */
.zj .zj-reviews__rail { list-style: none; }
.zj .zj-reviews__rail:focus-visible { outline-offset: -3px; border-radius: var(--zj-r-sm); }
.zj-reviews__item { display: flex; flex: 0 0 clamp(214px, 64vw, 268px); min-width: 0; margin: 0; scroll-snap-align: start; }

/* card: same height in a row, the name row at the bottom, long texts stop after 4 lines */
/* position: relative keeps the screen-reader text inside the scrolling rail (else it widens the page) */
.zj-reviews__card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--zj-border-soft); border-radius: var(--zj-r-sm); background: var(--zj-card); }
.zj-reviews__card--feature { border-color: var(--zj-gold); }
.zj .zj-reviews__text {
  margin: 0 0 10px; padding: 0; border: 0; color: var(--zj-text); font-size: 0.9rem; line-height: 1.6;
  unicode-bidi: plaintext; text-align: start; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
[dir="rtl"] .zj-reviews__text { font-size: 0.94rem; line-height: 1.7; }
.zj-reviews__who { display: flex; align-items: center; gap: 8px; margin-block-start: auto; }
.zj-reviews__avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--zj-beige-soft); color: var(--zj-gold-dark); font-size: 0.8rem; font-weight: 700; line-height: 1; }
.zj-reviews__person { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.3; }
.zj-reviews__name { overflow: hidden; color: var(--zj-navy); font-size: 0.85rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zj-reviews__when { color: var(--zj-muted); font-size: 0.75rem; }
.zj-reviews__src { display: inline-flex; flex: none; }

/* arrows only where the theme shows rail arrows (mouse, wide screen) */
.zj-reviews__nav { display: none; gap: 6px; }
.zj .zj-reviews .zj-rail__nav:focus-visible { border-radius: 50%; }
.zj-reviews .zj-rail__nav[disabled] { opacity: 0.35; }
@media (min-width: 1000px) {
  .zj-reviews__item { flex-basis: 280px; }
  .zj-reviews__card { padding: 16px; }
}
@media (hover: hover) and (min-width: 1000px) {
  .zj-reviews__nav { display: flex; }
  .zj-reviews .zj-rail__nav { position: static; width: 36px; height: 36px; }
}
