/* ===========================================================================
   GENERATED — do not hand-edit. fetchfresh.sa — potato gold theme (colors-potato.css loads last).

   Source: styles-potato.css (design-system entry) + the <style> block in ui_kits/potato/index.html.

   The two site stylesheets share 21 class names with different rules, so
   exactly one may ever be loaded. The root layout picks it per request.
   =========================================================================== */
/* ===========================================================================
   Fetch Fresh SA (fetchfresh.sa) — stylesheet entry point
   Same design system as fetchfresh.co, re-themed. Import order matters:
   the potato colors MUST come last so they override tokens/colors.css.
   =========================================================================== */
@import url('./tokens/fonts.css');
@import url('./tokens/colors.css');
@import url('./tokens/typography.css');
@import url('./tokens/spacing.css');
@import url('./tokens/base.css');
@import url('./tokens/colors-potato.css');


  body { margin: 0; background: var(--surface-page); color: var(--text-body); -webkit-font-smoothing: antialiased; }
  a { -webkit-tap-highlight-color: transparent; }

  .ff-container { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--section-pad-x); width: 100%; box-sizing: border-box; }
  .ff-section { padding-block: var(--space-7); }

  .ff-header { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 12px; }
  .ff-nav { display: none; gap: 28px; align-items: center; }

  /* "Frying potatoes only" pill — the instant signal that this is not the .co
     site, so it stays visible on phones and swaps to a shorter label rather
     than hiding (which is what the .co "store coming soon" badge does). */
  /* The header is tight on phones: logo + pill + language toggle. The pill never
     shrinks (a clipped pill looks broken); the logo absorbs the pressure and
     scales down inside its box instead of distorting. */
  .ff-brand-lockup { display: flex; align-items: center; gap: 6px; min-width: 0; }
  .ff-logo { height: 26px; width: auto; max-width: 100%; min-width: 0; object-fit: contain; }
  .ff-brand-pill { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
      font-size: 10px; font-weight: 700; letter-spacing: .02em;
      color: var(--spud-800); background: var(--lime-300); border: 1px solid var(--spud-300);
      border-radius: var(--radius-pill); padding: 3px 8px; white-space: nowrap; }
  [dir="rtl"] .ff-brand-pill { letter-spacing: 0; }
  /* Phones carry logo + pill + language toggle + cart in 375px. The pill drops
     to its potato glyph alone (labelled for screen readers) rather than
     disappearing — the header should still say "potatoes" at a glance. */
  .ff-pill-long, .ff-pill-short { display: none; }
  @media (min-width: 600px) {
    .ff-brand-lockup { gap: 10px; }
    .ff-logo { height: 42px; }
    .ff-brand-pill { font-size: 11.5px; gap: 6px; padding: 5px 11px; letter-spacing: .03em; }
    .ff-pill-long { display: inline; }
  }

  /* form fields stack on small screens, two-up on larger (QuoteModal) */
  .ff-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  @media (min-width: 560px) { .ff-form-grid { grid-template-columns: 1fr 1fr; } }

  /* ---- hero: dusty gold wash behind the copy --------------------------- */
  .ff-hero { padding-top: var(--space-6); padding-bottom: var(--space-8); position: relative; overflow: hidden; }
  .ff-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
      background:
        radial-gradient(58% 55% at 88% 6%, rgba(242,176,30,0.15) 0%, rgba(242,176,30,0) 70%),
        radial-gradient(46% 46% at 2% 92%, rgba(107,82,32,0.08) 0%, rgba(107,82,32,0) 70%); }
  .ff-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; position: relative; }
  .ff-hero-visual { position: relative; }
  .ff-hero-photo { height: 300px; border-radius: var(--radius-xl); overflow: hidden; background:
      radial-gradient(120% 90% at 80% 0%, var(--spud-600) 0%, var(--spud-800) 55%, var(--spud-900) 100%);
      display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }

  .ff-section-head { max-width: 720px; margin-bottom: 36px; }
  .ff-feat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

  /* ---- fry guide: cooking vs frying, side by side ---------------------- */
  .ff-vs { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
  .ff-vs-chip { justify-self: center; align-self: center;
      font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
      color: var(--spud-600); background: var(--surface-card); border: 1px solid var(--border-default);
      border-radius: var(--radius-pill); padding: 6px 14px; box-shadow: var(--shadow-sm); }
  [dir="rtl"] .ff-vs-chip { letter-spacing: 0; text-transform: none; }

  .ff-vs-card { background: var(--surface-card); border: 1px solid var(--border-default);
      border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
  /* the frying column is the answer — give it the gold treatment */
  .ff-vs-card.is-fry { border: 1.5px solid var(--lime-500);
      box-shadow: 0 0 0 4px rgba(242,176,30,0.14), var(--shadow-md);
      background: linear-gradient(180deg, #FFFCF2 0%, var(--surface-card) 62%); }
  .ff-vs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
      padding-bottom: 14px; border-bottom: 1px solid var(--border-default); }
  .ff-vs-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text-strong); }
  [dir="rtl"] .ff-vs-title { font-family: var(--font-ar-display); }
  .ff-vs-mark { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      background: var(--lime-500); color: var(--spud-900); }
  .ff-vs-mark.is-off { background: var(--ink-200); color: var(--ink-500); }
  .ff-vs-row { padding-top: 14px; }
  .ff-vs-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--text-faint); }
  [dir="rtl"] .ff-vs-label { letter-spacing: 0; text-transform: none; }
  .ff-vs-value { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--text-strong); }
  .ff-vs-card:not(.is-fry) .ff-vs-value { color: var(--text-muted); }

  /* ---- the three varieties -------------------------------------------- */
  .ff-var-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .ff-var-card { display: flex; flex-direction: column; background: var(--surface-card);
      border: 1px solid var(--border-default); border-radius: var(--radius-xl); overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
  .ff-var-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .ff-var-tile-wrap { position: relative; }
  .ff-var-tile { display: flex; align-items: center; justify-content: center;
      width: 100%; height: 190px; box-sizing: border-box; }
  img.ff-var-tile { object-fit: cover; }
  .ff-var-tag { position: absolute; top: 12px; inset-inline-start: 12px;
      background: rgba(255,255,255,0.92); color: var(--spud-800);
      font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
      padding: 5px 10px; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }
  [dir="rtl"] .ff-var-tag { letter-spacing: 0; text-transform: none; }
  .ff-var-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
  .ff-var-bestfor { display: flex; align-items: center; gap: 8px; margin-top: 10px;
      color: var(--spud-700); font-weight: 600; font-size: 15px; }
  .ff-var-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px;
      margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border-default); }
  .ff-var-specs > div:last-child { grid-column: 1 / -1; }
  .ff-var-specs dt { font-size: 11.5px; font-weight: 700; letter-spacing: .09em;
      text-transform: uppercase; color: var(--text-faint); }
  [dir="rtl"] .ff-var-specs dt { letter-spacing: 0; text-transform: none; }
  .ff-var-specs dd { margin: 3px 0 0; font-size: 14.5px; color: var(--text-strong); font-weight: 600; }
  .ff-var-help { display: flex; align-items: flex-start; gap: 9px; justify-content: center;
      margin: 34px auto 0; max-width: 660px; font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

  /* ---- handling -------------------------------------------------------- */
  .ff-trust-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .ff-trust-card { background: var(--surface-card); border: 1px solid var(--border-default);
      border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
  .ff-trust-tile { width: 48px; height: 48px; border-radius: 12px;
      background: var(--spud-100); color: var(--spud-700);
      display: flex; align-items: center; justify-content: center; }

  .ff-quote-band { background:
      radial-gradient(130% 120% at 100% 0%, var(--spud-700) 0%, var(--spud-800) 60%, var(--spud-900) 100%);
      border-radius: var(--radius-xl); padding: 40px 32px; display: flex; flex-direction: column;
      gap: 26px; align-items: flex-start; box-shadow: var(--shadow-lg); }

  /* ---- footer ---------------------------------------------------------- */
  /* the one surviving Fetch Fresh green: the "part of Fetch Fresh" strip */
  .ff-parent-strip { display: flex; flex-direction: column; gap: 16px;
      align-items: flex-start; justify-content: space-between;
      background: rgba(28,82,56,0.24); border: 1px solid rgba(147,197,172,0.30);
      border-radius: var(--radius-lg); padding: 22px 24px; }
  .ff-parent-cta { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
      background: var(--ff-green); color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px;
      padding: 11px 18px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.16);
      transition: background var(--dur-base); }
  .ff-parent-cta:hover { background: #164429; }

  .ff-footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px;
      padding-top: var(--space-7); padding-bottom: var(--space-6); }
  .ff-foot-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
      color: var(--spud-400); margin-bottom: 14px; }
  [dir="rtl"] .ff-foot-h { letter-spacing: 0; text-transform: none; }

  @keyframes ffPop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

  /* ==== shop ============================================================ */
  .ff-cart-btn { position: relative; width: 38px; height: 38px; flex-shrink: 0;
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--surface-card); color: var(--spud-700);
      border: 1px solid var(--border-default); border-radius: 50%; cursor: pointer;
      transition: background var(--dur-base), border-color var(--dur-base); }
  .ff-cart-btn:hover { background: var(--spud-100); border-color: var(--spud-300); }
  .ff-cart-count { position: absolute; top: -3px; inset-inline-end: -3px;
      min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box;
      background: var(--lime-500); color: var(--spud-900);
      border-radius: 9px; font-size: 11px; font-weight: 800; line-height: 18px;
      text-align: center; font-family: var(--font-mono); }

  .ff-price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; margin-top: 16px; }
  .ff-price-num { font-size: 30px; font-weight: 800; color: var(--spud-800); line-height: 1; }
  .ff-price-cur { font-size: 15px; font-weight: 700; color: var(--spud-700); }
  .ff-price-unit { font-size: 14px; color: var(--text-muted); }
  .ff-price-vat { font-size: 11.5px; color: var(--text-faint); margin-inline-start: 4px; }

  /* quantity stepper — shared by product cards and cart lines */
  .ff-qty { display: inline-flex; align-items: stretch; flex-shrink: 0;
      border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill);
      background: var(--surface-card); overflow: hidden; }
  .ff-qty button { width: 38px; border: none; background: transparent; cursor: pointer;
      color: var(--spud-700); display: flex; align-items: center; justify-content: center;
      transition: background var(--dur-base); }
  .ff-qty button:hover:not(:disabled) { background: var(--spud-100); }
  .ff-qty button:disabled { color: var(--text-faint); cursor: not-allowed; }
  .ff-qty-val { display: inline-flex; align-items: baseline; gap: 3px; padding: 8px 4px;
      border-inline: 1.5px solid var(--border-default); }
  .ff-qty-val input { width: 46px; border: none; outline: none; background: transparent;
      font-family: var(--font-mono); font-size: 15px; font-weight: 600; text-align: center;
      color: var(--text-strong); padding: 0; direction: ltr; }
  .ff-qty-val em { font-style: normal; font-size: 11.5px; color: var(--text-muted); }
  .ff-qty.is-compact button { width: 30px; }
  .ff-qty.is-compact .ff-qty-val { padding: 5px 3px; }
  .ff-qty.is-compact .ff-qty-val input { width: 38px; font-size: 13.5px; }

  .ff-buy { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-default); }
  .ff-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .ff-buy-line { font-size: 17px; font-weight: 700; color: var(--text-strong); text-align: end; }
  .ff-buy-quote { font-size: 14px; font-weight: 700; color: var(--amber-600); }
  .ff-buy-meta { font-size: 12.5px; color: var(--text-muted); margin: 8px 0 14px; }
  .ff-buy .ff-btn, .ff-buy button { width: 100%; justify-content: center; }

  /* ==== cart drawer ===================================================== */
  /* flex-end already follows the writing direction: the drawer lands on the
     right in LTR and the left in RTL — the same side as the cart button. Do not
     add an [dir="rtl"] override here, it puts the drawer opposite its trigger. */
  .ff-drawer-scrim { position: fixed; inset: 0; z-index: 950;
      background: var(--overlay-scrim, rgba(51,38,15,0.48)); backdrop-filter: blur(3px);
      display: flex; justify-content: flex-end; }
  .ff-drawer { position: relative; display: flex; flex-direction: column;
      width: min(430px, 100%); max-height: 100%; background: var(--surface-page);
      box-shadow: var(--shadow-lg); animation: ffSlideIn var(--dur-base) var(--ease-out); }
  @keyframes ffSlideIn { from { transform: translateX(var(--ff-slide, 100%)); } to { transform: none; } }
  [dir="rtl"] .ff-drawer { --ff-slide: -100%; }
  @media (prefers-reduced-motion: reduce) { .ff-drawer { animation: none; } }

  .ff-drawer-head { flex-shrink: 0; display: flex; align-items: flex-start; justify-content: space-between;
      gap: 12px; padding: 20px 22px; background: var(--spud-800); }
  .ff-drawer-head h3 { color: #fff; font-size: 22px; margin: 6px 0 0; }
  .ff-drawer-x { border: none; background: rgba(255,255,255,0.14); color: #fff;
      width: 34px; height: 34px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; }
  .ff-drawer-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
  .ff-drawer-foot { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; align-items: center;
      padding: 16px 22px 20px; border-top: 1px solid var(--border-default); background: var(--surface-card); }
  .ff-drawer-foot button:first-child { width: 100%; justify-content: center; }
  .ff-link-btn { border: none; background: none; cursor: pointer; font-size: 14px;
      color: var(--text-link); text-decoration: underline; font-family: inherit; padding: 4px; }

  .ff-drawer-empty, .ff-drawer-done { text-align: center; padding: 40px 10px; }
  .ff-empty-mark, .ff-done-mark { width: 62px; height: 62px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
  .ff-empty-mark { background: var(--spud-100); color: var(--spud-600); }
  .ff-done-mark { background: var(--lime-300); color: var(--spud-900); }
  .ff-drawer-done h4 { font-size: 21px; margin: 0 0 10px; }
  .ff-drawer-done p, .ff-drawer-empty p { color: var(--text-body); line-height: 1.6; margin: 0 0 22px; font-size: 14.5px; }

  .ff-cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
  .ff-cart-line { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border-default); }
  .ff-cart-thumb { width: 64px; height: 64px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
  .ff-cart-thumb-fallback { background: linear-gradient(150deg, var(--spud-300), var(--spud-500)); }
  .ff-cart-line-main { flex: 1; min-width: 0; }
  .ff-cart-line-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
  .ff-cart-line-top strong { font-size: 15.5px; color: var(--text-strong); }
  .ff-cart-remove { border: none; background: none; cursor: pointer; color: var(--text-faint);
      padding: 2px; border-radius: 4px; flex-shrink: 0; }
  .ff-cart-remove:hover { color: var(--danger); }
  .ff-cart-line-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
  .ff-cart-line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
  .ff-cart-line-total { font-size: 15px; font-weight: 700; color: var(--text-strong); }
  .ff-cart-quote-tag { font-size: 12.5px; font-weight: 700; color: var(--amber-600);
      background: #FBEED6; border-radius: var(--radius-pill); padding: 4px 9px; }

  .ff-cart-notice { display: flex; gap: 9px; align-items: flex-start; margin-top: 18px;
      padding: 12px 14px; border-radius: var(--radius-md); font-size: 13px; line-height: 1.55;
      background: #FBEED6; border: 1px solid #EBD3A4; color: var(--amber-600); }
  .ff-cart-notice svg { flex-shrink: 0; margin-top: 1px; }

  .ff-cart-totals { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border-strong); }
  .ff-cart-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; }
  .ff-cart-totals dt { font-size: 14px; color: var(--text-body); }
  .ff-cart-totals dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--text-strong); }
  .ff-cart-totals .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border-default); }
  .ff-cart-totals .is-total dt { font-size: 16px; font-weight: 700; color: var(--text-strong); }
  .ff-cart-totals .is-total dd { font-size: 20px; font-weight: 800; color: var(--spud-800); }
  .ff-cart-fineprint { font-size: 12px; color: var(--text-faint); line-height: 1.55; margin: 14px 0 0; }

  .ff-checkout-note { font-size: 14px; color: var(--text-body); line-height: 1.6; margin: 0 0 18px; }
  .ff-checkout-error { margin-top: 16px; padding: 11px 14px; border-radius: var(--radius-md);
      background: #FBEAEA; border: 1px solid var(--danger); color: var(--danger); font-size: 13.5px; line-height: 1.5; }
  .ff-checkout-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
  .ff-checkout-actions button { width: 100%; justify-content: center; }
  .ff-checkout-hint { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

  .ff-quote-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
  .ff-quote-points span { display: inline-flex; align-items: center; gap: 6px;
      font-size: 13.5px; color: var(--spud-200); }
  .ff-quote-points svg { color: var(--lime-400); }

  /* ---- partners tape: sand -> gold band into the dark footer ------------ */
  .ff-partners { position: relative; overflow: hidden; padding: 50px 0 64px;
      background: linear-gradient(to bottom,
        var(--surface-page) 0%, var(--surface-page) 62%,
        var(--spud-600) 88%, var(--surface-inverse-deep) 100%); }
  /* RTL (critical): BOTH the wrapper and the track need direction:ltr — with it
     only on the track, the wrapper inherits RTL, anchors the oversized track to
     the right edge, and animating left opens a growing gap on the right. */
  .ff-marquee { position: relative; overflow: hidden; white-space: nowrap; margin-top: 26px; padding: 14px 0; direction: ltr;
      -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
      mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .ff-marquee-track { display: flex; width: max-content; white-space: nowrap; direction: ltr;
      animation: ff-scroll 80s linear infinite; }
  .ff-logo-group { display: flex; align-items: center; flex: 0 0 auto; }
  .ff-logo-item { flex: 0 0 auto; height: 56px; margin-inline-end: 56px; display: flex; align-items: center; }
  .ff-logo-item img { height: 100%; width: auto; max-width: 180px; object-fit: contain; display: block;
      filter: drop-shadow(0 1px 1.5px rgba(40,30,10,0.28)); }
  /* content is doubled, so -50% lands the copy exactly on the original's start */
  @keyframes ff-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .ff-marquee-track { animation: none; }
    .ff-var-card:hover { transform: none; }
  }

  /* tablet */
  @media (min-width: 720px) {
    .ff-section { padding-block: var(--space-8); }
    .ff-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .ff-var-grid { grid-template-columns: repeat(2, 1fr); }
    .ff-trust-grid { grid-template-columns: repeat(3, 1fr); }
    .ff-quote-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px 44px; }
    .ff-parent-strip { flex-direction: row; align-items: center; }
  }
  @media (min-width: 760px) {
    .ff-vs { grid-template-columns: 1fr auto 1fr; gap: 18px; }
  }
  /* desktop */
  @media (min-width: 960px) {
    .ff-nav { display: flex; }
    .ff-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
    .ff-hero-photo { height: 380px; }
    .ff-feat-grid { grid-template-columns: repeat(4, 1fr); }
    .ff-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  }
  @media (min-width: 1000px) {
    .ff-var-grid { grid-template-columns: repeat(3, 1fr); }
  }
