/* ===========================================================================
   GENERATED — do not hand-edit. fetchfresh.co — forest green theme.

   Source: styles.css (design-system entry) + the <style> block in ui_kits/website/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 — Design System entry point
   Consumers link THIS file only. Import order: fonts → tokens → base.
   =========================================================================== */
@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');

  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; }

  /* keep the old header; just hide the "store coming soon" badge on small
     phones so the logo + actions fit (overrides the inline display) */
  .ff-soon-badge { display: none !important; }
  @media (min-width: 600px) { .ff-soon-badge { display: inline-flex !important; } }

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

  .ff-hero { padding-top: var(--space-6); padding-bottom: var(--space-8); }
  .ff-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
  .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(--forest-700) 0%, var(--forest-800) 55%, var(--forest-900) 100%);
      display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
  .ff-delivery-chip { position: absolute; bottom: 0; insetInlineStart: 0; inset-inline-start: 16px; bottom: 0;
      background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
  .ff-stat-strip { position: absolute; bottom: 8px; inset-inline-end: 12px; background: var(--surface-card);
      border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
      padding: 12px 14px; display: none; gap: 18px; }

  .ff-section-head { max-width: 720px; margin-bottom: 36px; }

  .ff-feat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .ff-search { position: relative; max-width: 560px; margin-bottom: 18px; }
  .ff-filter-row { display: flex; gap: 10px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; margin-bottom: 10px; scrollbar-width: thin; }
  .ff-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .ff-split-dark { background: var(--forest-800); padding: 36px 30px; }
  .ff-b2b-card { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
  .ff-b2b-points { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }

  .ff-homes-center { text-align: center; max-width: 620px; margin: 0 auto; }

  .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-quote-band { background:
      radial-gradient(130% 120% at 100% 0%, var(--forest-700) 0%, var(--forest-800) 60%, var(--forest-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); }

  .ff-footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: var(--space-6); }
  .ff-foot-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-400); margin-bottom: 14px; }

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

  /* partners: smooth cream -> green band with a frosted, auto-scrolling logo tape */
  .ff-partners { position: relative; overflow: hidden; padding: 50px 0 64px;
      background: linear-gradient(to bottom,
        var(--surface-page) 0%, var(--surface-page) 62%,
        var(--forest-700) 88%, var(--surface-inverse-deep) 100%); }
  .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(20,40,30,0.28)); }
  /* content is doubled, so -50% lands the copy exactly on the original's start -> flawless loop */
  @keyframes ff-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .ff-marquee-track { animation: none; } }

  /* ==== cart button ===================================================== */
  .ff-cart-btn {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card, #FFFFFF);
    color: var(--forest-700, #1C5238);
    border: 1.5px solid var(--border-default, #E4DFD2);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(28, 82, 56, 0.08);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ff-cart-btn:hover {
    background: var(--forest-50, #F1F8F4);
    border-color: var(--forest-400, #4D8F6F);
    color: var(--forest-800, #14402D);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 82, 56, 0.14);
  }
  .ff-cart-btn:active {
    transform: translateY(0);
  }
  .ff-cart-count {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    box-sizing: border-box;
    background: var(--forest-700, #1C5238);
    color: #FFFFFF;
    border: 1.5px solid var(--surface-card, #FFFFFF);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
    font-family: var(--font-mono, monospace);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  }

  /* ==== cart drawer ===================================================== */
  .ff-drawer-scrim { position: fixed; inset: 0; z-index: 950;
      background: var(--overlay-scrim, rgba(20,64,45,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(--forest-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(--forest-100); color: var(--forest-700); }
  .ff-done-mark { background: var(--lime-300); color: var(--forest-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(--forest-300), var(--forest-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(--forest-800);
      background: var(--forest-100); 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: var(--forest-100); border: 1px solid var(--forest-200); color: var(--forest-800); }
  .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(--forest-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; }

  /* quantity stepper */
  .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(--forest-700); display: flex; align-items: center; justify-content: center;
      transition: background var(--dur-base); }
  .ff-qty button:hover:not(:disabled) { background: var(--forest-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; }

  /* tablet */
  @media (min-width: 720px) {
    .ff-section { padding-block: var(--space-8); }
    .ff-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .ff-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .ff-trust-grid { grid-template-columns: repeat(3, 1fr); }
    .ff-split-dark { padding: 48px 44px; }
    .ff-b2b-points { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .ff-stat-strip { display: flex; }
    .ff-quote-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px 44px; }
  }
  /* 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(3, 1fr); }
    .ff-cat-grid { grid-template-columns: repeat(4, 1fr); }
    .ff-filter-row { flex-wrap: wrap; overflow: visible; }
    .ff-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  }
