/* ============================================================
   SITE DE-SLOP V4 - final page-specific Homestead finish
   Loaded last. Every selector is gated by a deslop-* body class.
   ============================================================ */

@import url('./field-journal-fonts.css');

:is([class*="deslop-"]) {
  --deslop-paper: var(--surface-card, #F5F0E8);
  --deslop-linen: var(--surface-linen, #E8E2D8);
  --deslop-ink: var(--text-primary, #2D2A26);
  --deslop-soft: var(--text-secondary, #5C4A32);
  --deslop-rule: var(--border-defined, #6B5E50);
  --deslop-hairline: rgba(92, 74, 50, .22);
  --deslop-honey: var(--honey-500, #D4A843);
  --deslop-green: var(--green-700, #37671E);
  --deslop-terra: var(--terra-500, #C4652A);
  font-family: var(--font-body);
}

:is([class*="deslop-"]) :is(h1, h2, h3) {
  font-family: var(--font-body);
  letter-spacing: 0;
}

/* Stable print/loyalty surfaces own an Inter rendering contract. Their HTML
   links and inherit pins stay byte-stable; this last-loaded layer keeps the
   generic deslop body/heading rules from crossing that boundary. */
:is(.deslop-loyalty-card, .deslop-loyalty-print, .deslop-cut-sheet, .deslop-market-loyalty),
:is(.deslop-loyalty-card, .deslop-loyalty-print, .deslop-cut-sheet, .deslop-market-loyalty) :is(h1, h2, h3, h4) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:is([class*="deslop-"]) :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--green-600, #477E25);
  outline-offset: 2px;
}

/* ============================================================
   SHARED PAPER OVERLAY / DRAWER PRIMITIVE
   Opaque cream paper, warm rules, quiet footer. Consumers add
   these classes to existing nodes; page identity lives under
   .dashv4 / .deslop-* scopes in page sheets.
   ============================================================ */
.fs-paper-overlay {
  --fs-overlay-paper: var(--surface-card, #F5F0E8);
  --fs-overlay-linen: var(--surface-linen, #E8E2D8);
  --fs-overlay-ink: var(--text-primary, #2D2A26);
  --fs-overlay-soft: var(--text-secondary, #5C4A32);
  --fs-overlay-muted: var(--text-muted, #9B9184);
  --fs-overlay-rule: var(--border-defined, #6B5E50);
  --fs-overlay-hairline: var(--border-faint, #B5AD9E);
  --fs-overlay-green: var(--green-700, #37671E);
  --fs-overlay-terra: var(--terra-500, #C4652A);
}
.fs-paper-overlay__backdrop,
.fs-paper-overlay { background-color: rgba(45, 42, 38, .55); }
.fs-paper-overlay,
.fs-paper-overlay__backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.fs-paper-overlay__panel {
  background: var(--fs-overlay-paper);
  color: var(--fs-overlay-ink);
  border: 1px solid var(--fs-overlay-rule);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(45, 42, 38, .16);
}
.fs-paper-overlay__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 16px;
  background: var(--fs-overlay-paper);
  border-bottom: 3px double var(--fs-overlay-rule);
}
/* Title/status column — keep the close control on the same row. */
.fs-paper-overlay__header > :first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.fs-paper-overlay__body { padding: 20px 24px; }
.fs-paper-overlay__footer {
  padding: 16px 24px;
  background: var(--fs-overlay-linen);
  border-top: 1px solid var(--fs-overlay-rule);
}
.fs-paper-overlay__close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fs-overlay-soft);
  background: transparent;
  border: 1px solid var(--fs-overlay-hairline);
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
}
.fs-paper-overlay__close:hover {
  color: var(--fs-overlay-ink);
  background: var(--fs-overlay-linen);
  border-color: var(--fs-overlay-rule);
}
.fs-paper-overlay__panel :is(h1, h2, h3) {
  font-family: var(--font-body);
  color: var(--fs-overlay-ink);
}
.fs-paper-overlay__panel :is(input, select, textarea) {
  background: #FFFDF8;
  color: var(--fs-overlay-ink);
  border: 1px solid var(--fs-overlay-hairline);
  border-radius: 8px;
  box-shadow: none;
}
.fs-paper-overlay__panel :is(input, select, textarea):focus {
  border-color: var(--green-600, #477E25);
  box-shadow: 0 0 0 2px rgba(71, 126, 37, .14);
  outline: 0;
}
.fs-paper-drawer {
  background: var(--surface-card, #F5F0E8);
  color: var(--text-primary, #2D2A26);
  border-left: 1px solid var(--border-defined, #6B5E50);
  box-shadow: -8px 0 24px rgba(45, 42, 38, .16);
}
.fs-paper-drawer__header {
  padding: 20px 24px 16px;
  border-bottom: 3px double var(--border-defined, #6B5E50);
}
.fs-paper-drawer__body { padding: 20px 24px; }
.fs-paper-drawer__footer {
  padding: 18px 24px;
  background: var(--surface-linen, #E8E2D8);
  border-top: 3px double var(--border-defined, #6B5E50);
}

@media (max-width: 640px) {
  .fs-paper-overlay { padding: 8px; }
  .fs-paper-overlay__panel { width: 100%; max-height: calc(100dvh - 16px); }
  .fs-paper-overlay__header { padding: 16px 16px 13px; }
  .fs-paper-overlay__body { padding: 16px; }
  .fs-paper-overlay__footer {
    padding: 14px 16px calc(14px + var(--safe-bottom, 0px));
  }
  .fs-paper-drawer { width: min(100vw, 420px); }
  .fs-paper-drawer__header,
  .fs-paper-drawer__body { padding-inline: 16px; }
  .fs-paper-drawer__footer {
    padding: 16px 16px calc(16px + var(--safe-bottom, 0px));
  }
}

@media (max-width: 768px) {
  .fs-paper-overlay__panel :is(button, .row-action, a.row-action),
  .fs-paper-drawer :is(button, .row-action, a.row-action),
  .fs-paper-overlay__close {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs-paper-overlay__panel,
  .fs-paper-drawer {
    animation: none !important;
    transition: none !important;
  }
}

/* Front doors and discovery — welcome wears the auth pages' Provisions &
   Glass (owner call, 2026-07-24): cream cards floating on the deep green
   ground with the login card's soft radii and green float shadows. The
   ground, drift-field canvas, and text inversions live in welcome.html's
   own sheet; this layer carries the card language. */
.deslop-welcome .page-header {
  border-bottom: 1px solid rgba(253, 251, 247, 0.16);
  box-shadow: none;
}
.deslop-welcome .hero-intro h1 { font-family: var(--font-display); font-size: 2.1rem; }
.deslop-welcome .showcase-header h2 { font-family: var(--font-display); }
.deslop-welcome .icon-wrapper { border-radius: 8px; border: 1px solid var(--deslop-hairline); }
.deslop-welcome .carousel-viewport {
  padding: 8px;
  background: var(--deslop-paper);
  border: 1px solid var(--border-warm, #8B7D6B);
  border-radius: 14px;
  box-shadow:
    0 24px 54px rgba(12, 30, 10, 0.42),
    0 8px 20px rgba(12, 30, 10, 0.30),
    inset 0 1px 0 rgba(253, 251, 247, 0.75);
}
.deslop-welcome .farm-card { border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(172,127,63,.55); }
.deslop-welcome .farm-card-image-wrap { border-radius: 7px; }
.deslop-welcome .farm-disclosure { border-radius: .75rem; }
/* On-ground controls focus against green, not cream — cream ring there. */
.deslop-welcome :is(.header-register, .header-login, .marketplace-cta, .carousel-slide, .showcase-social a):focus-visible {
  outline-color: var(--text-inverse, #FDFBF7);
}

/* Marketplace accent restraint: preserve the blue market identity and every
   behavior hook. One warm lake-light shimmer is the only moving finish; the
   generic glass, glow, blur, and layered-lighting vocabulary stays removed. */
.deslop-marketplace .mode-switcher-container {
  padding: 0;
  border: 1px solid var(--deslop-rule);
  border-radius: 8px;
  background: var(--deslop-paper);
  box-shadow: inset 0 1px rgba(255,255,255,.65);
}
.deslop-marketplace .mode-btn,
.deslop-marketplace .mode-btn-marketplace {
  border-radius: 0 !important;
  box-shadow: none;
}
.deslop-marketplace .mode-btn-marketplace-active {
  background: var(--blue-700);
  border: 1px solid #29485f;
  box-shadow: inset 0 -2px #29485f;
}
.deslop-marketplace .mode-btn-inactive {
  background: transparent;
  border: 0;
}
.deslop-marketplace .marketplace-mode-container {
  background: var(--blue-700);
  border: 1px solid #29485f;
  border-top: 4px solid var(--deslop-green);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(253,251,247,.1), var(--shadow-lifted-float);
}
.deslop-marketplace .marketplace-mode-container::before { content: none; }
/* A narrow honey reflection travels level with the slab's ruled top edge, like
   late light crossing lake water. It spends most of its long cycle at rest;
   only transform and opacity change, so the motion stays compositor-only. */
.deslop-marketplace .marketplace-mode-container::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(212,168,67,0) 0%,
    rgba(212,168,67,.018) 28%,
    rgba(241,231,212,.055) 49%,
    rgba(212,168,67,.022) 67%,
    rgba(212,168,67,0) 100%);
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
  animation: fs-market-lake-light 14s cubic-bezier(.35,0,.2,1) infinite;
  will-change: transform, opacity;
}
@keyframes fs-market-lake-light {
  0%, 14% { opacity: 0; transform: translate3d(-110%, 0, 0); }
  20% { opacity: .72; }
  48% { opacity: .72; }
  55%, 100% { opacity: 0; transform: translate3d(395%, 0, 0); }
}
.deslop-marketplace .mp-header-decor { padding-bottom: 18px; border-bottom: 1px solid rgba(253,251,247,.42); }
.deslop-marketplace .mp-header-decor :is(.drop-shadow-lg,.drop-shadow-md,.drop-shadow-sm) { filter: none; }
.deslop-marketplace .mp-search-wrap { max-width: 760px; }
.deslop-marketplace .mp-search-field {
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(253,251,247,.68);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.deslop-marketplace .mp-search-field:focus-within {
  border-color: rgba(253,251,247,.9);
  box-shadow: 0 0 0 1px rgba(253,251,247,.35);
}
.deslop-marketplace .mp-search-field .mp-search-input,
.deslop-marketplace :is(.mp-zip-split,.mp-filter-control) { border-radius: 8px; }
.deslop-marketplace .mp-radius-opt { border-radius: 8px; }
.deslop-marketplace .mp-radius-opt.is-active {
  background: var(--green-700);
  box-shadow: inset 0 -1px rgba(45,42,38,.35);
}
.deslop-marketplace .mp-filter-clear {
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
.deslop-marketplace #farms-results > .flex { padding: 12px 0; border-top: 1px solid rgba(253,251,247,.4); border-bottom: 1px solid rgba(253,251,247,.4); }
.deslop-marketplace :is(#farms-loading,#farms-error,#no-farms) > div:first-child {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.deslop-marketplace #marketplace-cart-toggle {
  border-radius: 10px !important;
  border: 1px solid #294D20;
  box-shadow: inset 0 -2px #294D20, 0 4px 12px rgba(45,42,38,.18);
}
.deslop-marketplace #marketplace-cart-toggle:hover {
  box-shadow: inset 0 -2px #294D20, 0 5px 14px rgba(45,42,38,.2);
}
.deslop-marketplace #marketplace-cart-toggle .cart-badge {
  box-shadow: none;
  border: 1px solid var(--deslop-paper);
}
.deslop-marketplace #cart-sidebar.fs-paper-drawer,
.deslop-marketplace #cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(100vw, 420px);
  max-width: 100%;
  background: var(--surface-card, var(--deslop-paper)) !important;
  color: var(--text-primary, var(--deslop-ink));
  border-left: 1px solid var(--border-defined, var(--deslop-rule)) !important;
  border-radius: 0;
  box-shadow: -8px 0 24px rgba(45, 42, 38, .16);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: translateX(0);
}
.deslop-marketplace #cart-sidebar.translate-x-full {
  transform: translateX(100%);
}
.deslop-marketplace #cart-sidebar > div { background: var(--deslop-paper); }
.deslop-marketplace #cart-sidebar .fs-paper-drawer__header {
  padding: 20px 24px 16px;
  background: var(--surface-card, var(--deslop-paper));
  border-bottom: 3px double var(--border-defined, var(--deslop-rule));
}
.deslop-marketplace #cart-sidebar .fs-paper-drawer__header h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary, var(--deslop-ink));
  line-height: 1.2;
}
.deslop-marketplace #cart-sidebar .mp-cart-icon,
.deslop-marketplace #cart-sidebar .fs-paper-drawer__header h2 i,
.deslop-marketplace #cart-sidebar .fs-paper-drawer__header h2 svg {
  color: var(--blue-700, #3D5A6C) !important;
  stroke: var(--blue-700, #3D5A6C);
}
.deslop-marketplace #cart-sidebar #cart-farm-count {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-secondary, var(--deslop-soft));
}
.deslop-marketplace #cart-sidebar #cart-multi-farm-notice {
  color: var(--text-secondary, var(--deslop-soft)) !important;
}
.deslop-marketplace #cart-sidebar #cart-multi-farm-notice:not(.hidden) {
  display: block;
  margin-top: 10px;
  padding-top: 0;
  font-size: 12px;
  color: var(--text-secondary, var(--deslop-soft)) !important;
}
.deslop-marketplace #cart-sidebar #cart-multi-farm-notice:not(.hidden)::before {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  margin: 0 0 8px;
  background: var(--honey-500, #C4A35A);
}
.deslop-marketplace #cart-sidebar .fs-paper-drawer__body,
.deslop-marketplace #cart-sidebar #cart-items {
  padding: 20px 24px;
  background: var(--surface-card, var(--deslop-paper));
}
.deslop-marketplace #cart-sidebar #empty-cart.mp-cart-empty,
.deslop-marketplace #cart-sidebar #empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 24px 12px;
  text-align: center;
}
.deslop-marketplace #cart-sidebar #empty-cart .mp-cart-empty-icon,
.deslop-marketplace #cart-sidebar #empty-cart > i,
.deslop-marketplace #cart-sidebar #empty-cart > svg {
  width: 24px !important;
  height: 24px !important;
  margin: 0 auto 10px;
  color: var(--text-muted, var(--deslop-muted)) !important;
  stroke: var(--text-muted, var(--deslop-muted));
  opacity: 1;
}
.deslop-marketplace #cart-sidebar #empty-cart .mp-cart-empty-title,
.deslop-marketplace #cart-sidebar #empty-cart > p:first-of-type {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary, var(--deslop-ink));
}
.deslop-marketplace #cart-sidebar #empty-cart .mp-cart-empty-support,
.deslop-marketplace #cart-sidebar #empty-cart > p:last-of-type {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted, var(--deslop-muted));
}
.deslop-marketplace #cart-sidebar #cart-content:not(.hidden) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.deslop-marketplace #cart-sidebar .mp-cart-farm-folio {
  background: var(--surface-card, var(--deslop-paper));
  border: 1px solid var(--border-defined, var(--deslop-rule));
  border-radius: 8px;
  padding: 14px;
  box-shadow: none;
}
.deslop-marketplace #cart-sidebar .mp-cart-farm-heading {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-primary, var(--deslop-ink));
}
.deslop-marketplace #cart-sidebar .mp-cart-farm-icon {
  display: none !important;
}
.deslop-marketplace #cart-sidebar .mp-cart-item-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.deslop-marketplace #cart-sidebar .mp-cart-item-row {
  padding: 9px 0;
  border-bottom: 1px solid rgba(92, 74, 50, .18);
}
.deslop-marketplace #cart-sidebar .mp-cart-item-row:last-child {
  border-bottom: 0;
}
.deslop-marketplace #cart-sidebar .mp-cart-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary, var(--deslop-ink));
}
.deslop-marketplace #cart-sidebar .mp-cart-item-qty {
  font-size: 12px;
  color: var(--text-secondary, var(--deslop-soft));
}
.deslop-marketplace #cart-sidebar .mp-cart-item-total {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: var(--text-primary, var(--deslop-ink));
}
.deslop-marketplace #cart-sidebar .sidebar-farm-packaging {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-faint, var(--deslop-hairline));
}
.deslop-marketplace #cart-sidebar .sidebar-farm-packaging:empty {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.deslop-marketplace #cart-sidebar .mp-cart-farm-subtotal {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 3px double var(--border-defined, var(--deslop-rule));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-secondary, var(--deslop-soft));
}
.deslop-marketplace #cart-sidebar .mp-cart-farm-subtotal > span:last-child {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: var(--text-primary, var(--deslop-ink));
}
.deslop-marketplace #cart-footer.fs-paper-drawer__footer,
.deslop-marketplace #cart-footer {
  padding: 18px 24px;
  background: var(--deslop-linen) !important;
  border-top: 3px double var(--deslop-rule) !important;
  border-top-color: var(--deslop-rule) !important;
}
.deslop-marketplace #cart-footer:not(.hidden) { display: block; }
.deslop-marketplace #cart-footer.hidden { display: none !important; }
.deslop-marketplace #cart-content.hidden { display: none !important; }
.deslop-marketplace #empty-cart.hidden { display: none !important; }
.deslop-marketplace #cart-footer .mp-cart-subtotal-label,
.deslop-marketplace #cart-footer .mp-cart-totals > div:first-child > span:first-child {
  font-size: 13px;
  color: var(--text-secondary, var(--deslop-soft));
}
.deslop-marketplace #cart-footer #cart-subtotal {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: var(--text-primary, var(--deslop-ink));
}
.deslop-marketplace #cart-footer .mp-cart-total-label,
.deslop-marketplace #cart-footer .mp-cart-totals > div:last-child > span:first-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary, var(--deslop-ink));
}
.deslop-marketplace #cart-footer #cart-total,
.deslop-marketplace #cart-total {
  font-size: 24px !important;
  line-height: 1.1;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: var(--text-primary, var(--deslop-ink)) !important;
}
.deslop-marketplace #checkout-btn {
  width: 100%;
  min-height: 46px;
  margin-bottom: 12px;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  background: var(--blue-700, #3D5A6C);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  box-shadow: inset 0 -1px 0 #334A5A, 0 1px 2px rgba(45, 42, 38, .22);
  transition: background-color 150ms var(--ease-out, ease), box-shadow 150ms var(--ease-out, ease), transform 150ms var(--ease-out, ease);
}
.deslop-marketplace #checkout-btn:hover {
  background: var(--blue-600, #4A6D82);
}
.deslop-marketplace #checkout-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 -1px 0 #334A5A;
}
.deslop-marketplace #clear-cart-btn {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--terra-500, #C4652A);
  border-radius: 10px;
  padding: 10px 18px;
  background: transparent;
  color: var(--terra-500, #C4652A);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  box-shadow: none;
  transition: background-color 150ms var(--ease-out, ease), border-color 150ms var(--ease-out, ease);
}
.deslop-marketplace #clear-cart-btn:hover {
  background: var(--terra-100, #F6E4D8);
  color: var(--terra-500, #C4652A);
}
@media (max-width: 640px) {
  .deslop-marketplace #cart-sidebar.fs-paper-drawer,
  .deslop-marketplace #cart-sidebar {
    width: 100vw;
    max-width: 100vw;
  }
  .deslop-marketplace #cart-sidebar .fs-paper-drawer__footer,
  .deslop-marketplace #cart-footer {
    padding-bottom: calc(16px + var(--safe-bottom, 0px));
  }
}

.deslop-marketplace .mpv4-card:hover {
  box-shadow: inset 0 1px rgba(253,251,247,.7), inset 0 -1px rgba(139,125,107,.16), 0 8px 18px rgba(6,26,52,.24);
}
.deslop-marketplace .mpv4-photo::after {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--honey-500) 45%, var(--brown-500));
}
/* .fs-sale-pill material lives on the shared design-system rule;
   marketplace V4 only owns photo placement (absolute top/left via JS utils). */
.deslop-marketplace .mpv4-badge::before {
  width: 10px;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: var(--green-700);
}

/* Farm-profile accent restraint: preserve the V4 frame/stamp/ledger anatomy,
   but keep its green ground and paper panels flat and typographic. The only
   moving finish is the same restrained pasture-light used by the AI ground. */
.deslop-farm-profile .fpv4-ground::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(212,168,67,0) 0%,
    rgba(212,168,67,.016) 28%,
    rgba(245,232,202,.05) 49%,
    rgba(212,168,67,.02) 67%,
    rgba(212,168,67,0) 100%);
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
  animation: fs-pasture-lake-light 14s cubic-bezier(.35,0,.2,1) infinite;
  will-change: transform, opacity;
}
.deslop-farm-profile .fpv4-hero-frame { box-shadow: inset 0 1px rgba(253,251,247,.7), 0 8px 18px rgba(45,42,38,.16); }
.deslop-farm-profile .fpv4-placard::before {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin: 0 auto 18px;
  background: var(--deslop-honey);
}
.deslop-farm-profile .fpv4-panel { border: 1px solid rgba(139,125,107,.5); box-shadow: inset 0 1px rgba(253,251,247,.7); }
.deslop-farm-profile .fpv4-head { padding-bottom: 10px; border-bottom: 1px solid var(--deslop-hairline); }
.deslop-farm-profile .fpv4-shop-accent { height: 2px; background: var(--deslop-honey) !important; }
.deslop-farm-profile :is(#farm-loading,#farm-error,#inventory-loading,#pre-order-loading) > div:first-child {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}
.deslop-farm-profile #cart-sidebar { background: var(--deslop-paper) !important; border-left-color: var(--deslop-rule) !important; }
.deslop-farm-profile #cart-footer { background: var(--deslop-linen); }

/* AI meal-plan accent restraint: same flat pasture-ink / cream docket language
   as the marketplace pass, with one green-field version of its lake-light. */
.deslop-marketplace .mode-btn-active {
  background: var(--green-700);
  border: 1px solid #294D20;
  box-shadow: inset 0 -2px #294D20;
}
.deslop-marketplace .mode-btn-marketplace-inactive {
  background: transparent;
  border: 0;
}
.deslop-marketplace .ai-mode-container {
  background: var(--green-800);
  border: 1px solid #294D20;
  border-top: 4px solid var(--deslop-green);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(253,251,247,.1), var(--shadow-lifted-float);
}
.deslop-marketplace .ai-mode-container::before { content: none; }
.deslop-marketplace .ai-mode-container::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(212,168,67,0) 0%,
    rgba(212,168,67,.016) 28%,
    rgba(245,232,202,.05) 49%,
    rgba(212,168,67,.02) 67%,
    rgba(212,168,67,0) 100%);
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
  animation: fs-pasture-lake-light 14s cubic-bezier(.35,0,.2,1) infinite;
  will-change: transform, opacity;
}
@keyframes fs-pasture-lake-light {
  0%, 14% { opacity: 0; transform: translate3d(-110%, 0, 0); }
  20% { opacity: .72; }
  48% { opacity: .72; }
  55%, 100% { opacity: 0; transform: translate3d(395%, 0, 0); }
}
.deslop-marketplace .ai-mode-container :is(.drop-shadow-lg,.drop-shadow-md,.drop-shadow-sm) { filter: none; }
.deslop-marketplace #ai-mode-content .grid.lg\:grid-cols-2 > div:not(.absolute) {
  border-radius: 10px !important;
  box-shadow: inset 0 1px rgba(253,251,247,.7) !important;
}
.deslop-marketplace #ai-mode-content .grid.lg\:grid-cols-2 > .absolute > div {
  border-radius: 8px;
  box-shadow: none;
  border-color: var(--deslop-rule);
}
.deslop-marketplace #ai-mode-content .grid.lg\:grid-cols-2 > :first-child:not(.absolute) > .text-center > div,
.deslop-marketplace #ai-mode-content .grid.lg\:grid-cols-2 > :last-child > .text-center > div {
  width: auto;
  height: auto;
  margin-bottom: 10px;
  border-radius: 0;
  background: transparent;
}
.deslop-marketplace #ai-mode-content .draggable-category {
  border-radius: 8px;
  background: var(--deslop-linen) !important;
  border-color: var(--deslop-rule) !important;
  color: var(--deslop-ink) !important;
  box-shadow: none;
}
.deslop-marketplace #ai-mode-content .draggable-category:hover { background: var(--deslop-paper) !important; }
.deslop-marketplace #ai-mode-content .draggable-category :is(span,i,svg) { color: var(--deslop-ink) !important; }
.deslop-marketplace #drop-zone {
  border-radius: 8px;
  background: var(--deslop-linen) !important;
  border-color: var(--deslop-rule) !important;
}
.deslop-marketplace #drop-indicator {
  border-radius: 8px;
  background: rgba(245,240,232,.96) !important;
  border-color: var(--deslop-green) !important;
}
.deslop-marketplace #drop-indicator > div { border-radius: 8px; box-shadow: none; }
.deslop-marketplace #ai-mode-content :is(#zip-code,#error-message,#submit-button,#category-tags > span,#enhanced-content > div) { border-radius: 8px !important; }
.deslop-marketplace #ai-mode-content #submit-button { box-shadow: inset 0 -2px #294D20; }
.deslop-marketplace #ai-mode-content :is(.ring-2,.ring-yellow-300,.ring-green-300) { box-shadow: none !important; }

.deslop-farm-map .farm-map-sidebar { background: var(--deslop-paper); }
.deslop-farm-map .sidebar-header { border-bottom: 3px double var(--deslop-rule); }
.deslop-farm-map .search-row { padding-bottom: 10px; border-bottom: 1px solid var(--deslop-hairline); }
.deslop-farm-map :is(.type-pill, .specialty-chip, .pickup-filter-toggle) { border-radius: 10px; }
.deslop-farm-map .farm-list-card { border-radius: 8px; border: 1px solid var(--deslop-rule); border-left: 3px solid transparent; box-shadow: none; }
.deslop-farm-map .farm-list-card:hover { box-shadow: var(--shadow-sm); }
.deslop-farm-map .farm-list-card.active { border-left-color: var(--green-700); }
.deslop-farm-map .farm-card-name { font-family: var(--font-body); font-weight: 650; font-size: 14.5px; }
.deslop-farm-map .map-info-window { font-family: var(--font-body); }
.deslop-farm-map .map-info-window .info-name { font-family: var(--font-display); font-size: 17px; }

.deslop-local-food .fs-local-main { max-width: 900px; padding-top: 52px; }
.deslop-local-food .fs-local-breadcrumb { padding-bottom: 14px; border-bottom: 1px solid var(--deslop-hairline); }
.deslop-local-food .fs-local-main h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,2.8rem); font-weight: 600; }
.deslop-local-food .fs-local-main h1::after { content:''; display:block; width:64px; height:2px; margin-top:16px; background:var(--deslop-honey); }
.deslop-local-food .fs-local-main h2 { padding: 14px 0 8px; border-bottom: 1px solid var(--deslop-rule); }
.deslop-local-food .fs-local-main li,
.deslop-local-food .fs-local-main > p { padding: 10px 0; border-bottom: 1px solid var(--deslop-hairline); }

/* Auth and registration */
.deslop-login .glass-card { border-top: 4px solid var(--deslop-green); }
.deslop-login #login-form { padding-top: 8px; border-top: 1px solid var(--deslop-hairline); }
.deslop-register .glass-card { border-top: 4px solid var(--green-600); }
.deslop-register #register-form { padding-top: 8px; border-top: 1px solid var(--deslop-hairline); }
.deslop-forgot .glass-card { border-top: 4px solid var(--blue-600, #326B9E); }
.deslop-reset .glass-card { border-top: 4px solid var(--deslop-green); }
.deslop-reset #password-hint { padding: 8px 0; border-bottom: 1px dotted var(--deslop-rule); }
.deslop-verify .glass-card { border-top: 4px solid var(--deslop-green); }
.deslop-verify :is(#loading-state,#success-state,#error-state,#no-token-state) { text-align: left; }
.deslop-verify :is(#loading-state,#success-state,#error-state,#no-token-state) > .flex { justify-content: flex-start; }

.deslop-farm-register .glass-card { border-top: 4px solid var(--deslop-green) !important; }
.deslop-farm-register .form-section-divider { position: sticky; top: 0; z-index: 2; background: var(--deslop-paper); }
.deslop-charity-register .glass-card { border-top: 4px solid var(--green-700) !important; }
.deslop-charity-register #charity-register-form > :nth-child(4),
.deslop-charity-register #charity-register-form > :nth-child(6),
.deslop-charity-register #charity-register-form > :nth-child(8) { padding-top: 18px; border-top: 1px solid var(--deslop-hairline); }
.deslop-charity-register #charity-register-form > :nth-child(8) { border-top: 1px solid var(--deslop-hairline); }

/* Account, cart, and records */
.deslop-account .acctv4-masthead { padding-left: 18px; border-left: 4px solid var(--deslop-green); }
.deslop-account .acctv4-sidebar { border-radius: 10px; }
.deslop-account .acctv4-panel,
.deslop-account .account-card,
.deslop-account .account-tab-header { border-radius: 10px !important; }
.deslop-account .account-tab-header { padding-left: 0; border-left: 0 !important; }
.deslop-dashboard .dashv4-masthead { border-bottom: 3px solid var(--deslop-green); }
.deslop-dashboard main > .dashboard-content-grid,
.deslop-dashboard #subscriptions-section,
.deslop-dashboard #events-section { position: relative; }
.deslop-dashboard main > .dashboard-content-grid::before,
.deslop-dashboard #subscriptions-section::before,
.deslop-dashboard #events-section::before { content:none; }
.deslop-dashboard .stat-card { border-radius: 8px !important; }
.deslop-dashboard #quick-actions-section .space-y-3 > a { border-bottom: 1px solid var(--deslop-hairline); }
.deslop-cart .cartv4-page > .glass-card > .text-center { padding-left: 0; border-left: 0; border-bottom: 0; }
.deslop-cart #cart-items > div { box-shadow: 0 1px 3px rgba(45,35,24,.08); }
.deslop-cart .glass-card-subtle { border-radius: 12px !important; }
.deslop-cart #order-summary { border-top: 1px solid var(--border-defined) !important; }
.deslop-order-details #order-content .odv4-record { border-radius: 10px; }
.deslop-order-details #order-content .od-section { border-radius: 10px; }
.deslop-order-details #order-content .od-section-header { border-left-width: 6px; }
.deslop-order-details #order-items > div:last-child { border-radius: 8px; border-top: 3px double var(--deslop-rule); }

/* Community and education */
.deslop-community .cork-frame { border-radius: 8px; border: 1px solid #5f3f27; }
.deslop-community .cork-board { border-radius: 0; }
.deslop-community .board-title { border-radius: 1px; transform: none; font-family: var(--font-display); font-size: 2.8rem; }
.deslop-community .filter-strip { border-top-style: double; border-bottom-style: double; }
.deslop-community .results-strip { border-radius: 8px; border-left: 0; }
.deslop-community .event-card { border: 1px solid var(--deslop-rule); }
.deslop-community .event-title { font-family: var(--font-display); font-weight: 600; }
.deslop-community .filter-btn { border-radius: 10px; }
.deslop-event .event-detail-breadcrumb { border-radius: 8px; border-left: 0; }
.deslop-event .event-detail-card { border-radius: 8px; border: 0; }
.deslop-event .event-detail-heading { font-family: var(--font-display); border-bottom: 1px solid var(--deslop-hairline); padding-bottom: 8px; }
.deslop-event #event-content > .grid > .space-y-6 > .event-detail-card:not(#event-cover-container) { border-left: 0; }
.deslop-event #event-content > .grid > .space-y-6 .sticky { border-top: 4px solid var(--green-700); }

.deslop-education .edu-intro { text-align: left; padding-left: 0; }
.deslop-education .edu-intro h1 { font-family: var(--font-display); font-size: 2.8rem; }
.deslop-education .edu-intro h1::after { margin-left: 0; }
.deslop-education .edu-intro p { margin-left: 0; }
.deslop-education .edu-tabs { border-radius: 8px; border-color: var(--deslop-rule); }
.deslop-education .edu-tabs button { border-radius: 0; font-family:var(--font-body); font-size:.92rem; }
.deslop-education .edu-panel { border-radius: 8px; border-color: var(--deslop-rule); }
.deslop-education .edu-panel-header h2 { font-family: var(--font-display); }
.deslop-education .edu-chip { border-radius: 8px; border-bottom-color: transparent; }
.deslop-education .edu-card { border-radius: 8px; border-color: var(--deslop-rule); box-shadow: none; }
.deslop-resource .edu-detail { max-width: 820px; }
.deslop-resource .edu-detail-cover { padding: 8px; background-color: var(--deslop-paper); border: 0; border-radius: 8px; box-shadow: var(--shadow-sm); }
.deslop-resource .edu-detail h1 { font-family:var(--font-display); font-size:clamp(2rem,5vw,3rem); }
.deslop-resource .edu-detail-meta { padding: 10px 0; border-top: 1px solid var(--deslop-hairline); border-bottom: 1px solid var(--deslop-hairline); }
.deslop-resource .edu-detail-body { font-family:var(--font-body); font-size:1.06rem; line-height:1.78; }
.deslop-resource .edu-detail-body :is(h2,h3) { font-family:var(--font-display); border-bottom:1px solid var(--deslop-hairline); padding-bottom:6px; }
.deslop-resource .edu-external-card { border-radius:8px; border-left:0; }

/* Loyalty and charity */
.deslop-loyalty-passport .loy-card { padding: 14px; border: 2px solid var(--deslop-rule); background: #efe5cf; box-shadow: inset 0 0 0 5px #faf6ec; }
.deslop-loyalty-passport .loy-panel { border-radius: 8px; border-color: var(--deslop-rule); box-shadow: inset 0 1px rgba(255,255,255,.7); }
.deslop-loyalty-passport .points-hero { border-top: 4px double var(--brand); }
.deslop-loyalty-passport .section-title { font-family:var(--font-display); font-size:1.1rem; padding-bottom:8px; border-bottom:1px solid var(--deslop-rule); }
.deslop-loyalty-scan .loy-card { padding: 18px; border: 1px solid var(--deslop-rule); background: #efe5cf; }
.deslop-loyalty-scan .loy-surface { border-radius: 8px; border-top: 5px solid var(--brand); box-shadow: inset 0 1px rgba(255,255,255,.7), 0 14px 30px rgba(45,42,38,.12); }
.deslop-loyalty-scan .h1,
.deslop-loyalty-scan .h2 { font-family:var(--font-display); }
.deslop-loyalty-scan .field { border-radius: 10px; background:#fffdf8; }
.deslop-loyalty-scan .btn { border-radius: 10px; box-shadow: inset 0 -1px rgba(0,0,0,.25); }
.deslop-market-loyalty .panel { border-radius: 10px; border-color: var(--deslop-rule); box-shadow: inset 0 1px rgba(255,255,255,.7); }
.deslop-market-loyalty .sec { font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif; font-weight:600; }
.deslop-market-loyalty main > .panel:first-of-type { border-top: 4px solid var(--deslop-green); }
.deslop-market-loyalty .kpi-num { font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif; font-weight:600; }
.deslop-market-loyalty .lt-tab { border-radius: 0; border-bottom: 2px solid transparent; }
.deslop-market-loyalty .lt-tab-active { background:transparent; border-bottom-color:var(--deslop-honey); }
.deslop-loyalty-report .toolbar,
.deslop-loyalty-report .panel,
.deslop-loyalty-report .kpi,
.deslop-loyalty-report .mkt { border-radius:8px; border-width:1px; box-shadow:inset 0 1px rgba(255,255,255,.7); }
.deslop-loyalty-report .report-title,
.deslop-loyalty-report .panel h3,
.deslop-loyalty-report .mkt h4 { font-family:var(--font-display); font-weight:600; }
.deslop-loyalty-report .hero-band { border-radius:8px; border-left:0; }
.deslop-charity-dashboard header { border-bottom: 3px solid var(--deslop-green) !important; }
.deslop-charity-dashboard main > section { border-radius:10px !important; border-left:4px solid var(--green-700) !important; box-shadow:inset 0 1px rgba(255,255,255,.65) !important; }
.deslop-charity-dashboard main > section h2 { font-family:var(--font-display); border-bottom:1px solid var(--deslop-hairline); padding-bottom:10px; }
.deslop-charity-dashboard :is(input,select) { background:#fffdf8; border-color:var(--deslop-rule) !important; border-radius:10px !important; }

/* B2B, processor, PoS, and operational */
.deslop-b2b-availability .b2b-header { border-bottom: 3px double var(--deslop-rule); }
.deslop-b2b-availability .b2b-category-header { border-bottom-width: 3px; }
.deslop-b2b-availability .b2b-item-card { border-radius: 8px; border-left: 0; }
.deslop-b2b-availability .b2b-item-card h3 { font-family:var(--font-display); font-size:1rem; }
.deslop-b2b-availability .b2b-sticky-cart { border-top:3px double var(--deslop-rule); }
/* A transform-hidden fixed drawer still contributes its translated box to
   scrollWidth in Chromium. Keep the viewport contract explicit while closed. */
.deslop-b2b-availability #cart-drawer:not(.pointer-events-auto) { overflow: clip; }
.deslop-b2b-availability #cart-drawer:not(.pointer-events-auto) .b2b-drawer-panel { visibility: hidden; }
.deslop-b2b-availability #cart-drawer.pointer-events-auto .b2b-drawer-panel { visibility: visible; }

/* P1-2 — B2B paper drawer, request docket, submitted receipt, overflow geometry */
/* Cart badge uses right:-6px in b2b-public; that alone is the measured 1446px
   scrollWidth on a 1440 viewport once items are added. Keep the badge, pin it. */
.deslop-b2b-availability .b2b-cart-badge,
.deslop-b2b-availability #cart-badge {
  right: 0;
  top: 0;
}
.deslop-b2b-availability header,
.deslop-b2b-availability .b2b-header {
  overflow: visible;
}
.deslop-b2b-availability header .relative,
.deslop-b2b-availability .b2b-header .relative {
  overflow: visible;
}
.deslop-b2b-availability #cart-panel.fs-paper-drawer,
.deslop-b2b-availability #cart-panel {
  width: min(100vw, 420px);
  max-width: min(100vw, 420px);
  border-radius: 0 !important;
  background: var(--surface-card, #F5F0E8);
  border-left: 1px solid var(--border-defined, #6B5E50);
  box-shadow: -8px 0 24px rgba(45, 42, 38, .16);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.deslop-b2b-availability #cart-panel .fs-paper-drawer__header {
  padding: 20px 24px 16px;
  background: var(--surface-card, #F5F0E8);
  border-bottom: 3px double var(--border-defined, #6B5E50);
}
.deslop-b2b-availability #cart-panel .fs-paper-drawer__header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #2D2A26);
  line-height: 1.2;
}
.deslop-b2b-availability #cart-panel #cart-items {
  background: var(--surface-card, #F5F0E8);
}
.deslop-b2b-availability #cart-panel #cart-items .b2b-card-inset,
.deslop-b2b-availability #cart-items [data-item-id] {
  box-shadow: none;
  border-radius: 8px;
  border-color: var(--border-faint, #B5AD9E);
}
.deslop-b2b-availability #cart-panel .fs-paper-drawer__footer,
.deslop-b2b-availability #cart-footer {
  padding: 18px 24px;
  background: var(--surface-linen, #E8E2D8);
  border-top: 3px double var(--border-defined, #6B5E50);
}
.deslop-b2b-availability #cart-footer .b2b-cart-subtotal-row,
.deslop-b2b-availability #cart-footer > .flex.justify-between {
  align-items: baseline;
  margin-bottom: 14px;
}
.deslop-b2b-availability #cart-footer .b2b-cart-subtotal-row > span:first-child,
.deslop-b2b-availability #cart-footer > .flex.justify-between > span:first-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--text-secondary, #5C4A32);
}
.deslop-b2b-availability #cart-footer #cart-subtotal {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: var(--text-primary, #2D2A26);
}
.deslop-b2b-availability #cart-footer .b2b-btn-primary {
  background: var(--green-700, #37671E);
  color: #fff;
  border-radius: 10px;
  min-height: 44px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(45, 42, 38, .16);
}
.deslop-b2b-availability #cart-footer .b2b-btn-secondary {
  background: transparent;
  color: var(--text-secondary, #5C4A32);
  border: 1px solid var(--border-defined, #6B5E50);
  border-radius: 10px;
  box-shadow: none;
  min-height: 44px;
}
.deslop-b2b-availability #cart-footer .b2b-btn-secondary:hover {
  background: var(--surface-card, #F5F0E8);
  color: var(--text-primary, #2D2A26);
}

/* Request docket — panel geometry owns overflow (never body overflow-x:hidden) */
.deslop-b2b-availability #request-modal:not(.hidden) {
  display: block;
  padding: clamp(8px, 3vw, 32px);
  overflow-x: hidden;
  overflow-y: auto;
  background-color: rgba(45, 42, 38, .55);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.deslop-b2b-availability #request-modal.fs-paper-overlay {
  padding: clamp(8px, 3vw, 32px);
  background-color: rgba(45, 42, 38, .55);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.deslop-b2b-availability #request-modal > .fs-paper-overlay__backdrop,
.deslop-b2b-availability #request-modal > .b2b-modal-backdrop {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.deslop-b2b-availability #request-modal > [role="dialog"],
.deslop-b2b-availability.satv4-b2b #request-modal > div[role="dialog"],
.deslop-b2b-availability #request-modal > .fs-paper-overlay__panel {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  width: min(100%, 560px);
  max-width: 560px;
  max-height: calc(100dvh - 64px);
  margin: 32px auto;
  background: var(--surface-card, #F5F0E8);
  color: var(--text-primary, #2D2A26);
  border: 1px solid var(--border-defined, #6B5E50);
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(45, 42, 38, .16);
  overflow: hidden;
}
.deslop-b2b-availability #request-modal .fs-paper-overlay__header,
.deslop-b2b-availability.satv4-b2b #request-modal > div[role="dialog"] > div:first-child {
  padding: 20px 24px 16px;
  background: var(--surface-card, #F5F0E8) !important;
  border-bottom: 3px double var(--border-defined, #6B5E50);
  background-image: none !important;
}
.deslop-b2b-availability #request-modal #request-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #2D2A26);
  line-height: 1.25;
}
.deslop-b2b-availability #request-modal #request-modal-title i {
  color: var(--green-700, #37671E);
  background: transparent;
  box-shadow: none;
}
.deslop-b2b-availability #request-modal #request-form.fs-paper-overlay__body,
.deslop-b2b-availability #request-modal #request-form {
  padding: 20px 24px;
}
.deslop-b2b-availability #request-modal #request-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary, #5C4A32);
}
.deslop-b2b-availability #request-modal #request-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface-linen, #E8E2D8);
  border: 1px solid var(--border-defined, #6B5E50);
  border-left: 3px solid var(--terra-500, #C4652A);
  border-radius: 8px;
  color: var(--terra-500, #C4652A);
  box-shadow: none;
}
.deslop-b2b-availability #request-modal #request-error.hidden { display: none; }
.deslop-b2b-availability #request-modal #request-error i,
.deslop-b2b-availability #request-modal #request-error-text {
  color: var(--terra-500, #C4652A);
}
.deslop-b2b-availability #request-modal .b2b-card-inset {
  background: var(--surface-linen, #E8E2D8);
  border: 1px solid var(--border-defined, #6B5E50);
  border-radius: 8px;
  box-shadow: none;
}
.deslop-b2b-availability #request-modal #request-items-summary > * + * {
  border-top: 1px solid var(--border-faint, #B5AD9E);
  padding-top: 6px;
  margin-top: 6px;
}
.deslop-b2b-availability #request-modal .b2b-request-subtotal-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 3px double var(--border-defined, #6B5E50);
  align-items: baseline;
}
.deslop-b2b-availability #request-modal #request-subtotal {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.deslop-b2b-availability #request-modal #submit-request-btn {
  background: var(--green-700, #37671E);
  color: #fff;
  border-radius: 10px;
  min-height: 44px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(45, 42, 38, .16);
}
.deslop-b2b-availability #request-modal #submit-request-btn:disabled {
  background: var(--surface-linen, #E8E2D8);
  color: var(--text-muted, #9B9184);
  opacity: 1;
  box-shadow: none;
  cursor: not-allowed;
}

/* Submitted receipt */
.deslop-b2b-availability #success-modal:not(.hidden) {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(45, 42, 38, .55);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: clamp(8px, 3vw, 24px);
}
.deslop-b2b-availability #success-modal.fs-paper-overlay {
  background-color: rgba(45, 42, 38, .55);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: clamp(8px, 3vw, 24px);
}
.deslop-b2b-availability #success-modal > .fs-paper-overlay__backdrop,
.deslop-b2b-availability #success-modal > .b2b-modal-backdrop {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.deslop-b2b-availability #success-modal .b2b-success-panel,
.deslop-b2b-availability #success-modal > .fs-paper-overlay__panel,
.deslop-b2b-availability.satv4-b2b #success-modal > div.relative {
  width: min(calc(100% - 32px), 480px);
  max-width: 480px;
  margin-inline: auto;
  padding: 26px 28px 28px;
  background: var(--surface-card, #F5F0E8);
  color: var(--text-primary, #2D2A26);
  border: 1px solid var(--border-defined, #6B5E50);
  border-top: 4px solid var(--green-700, #37671E);
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(45, 42, 38, .16);
}
.deslop-b2b-availability #success-modal .b2b-success-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  background: transparent;
  border: 1px solid var(--green-700, #37671E);
  border-radius: 8px;
  transform: rotate(-3deg);
  animation: none !important;
}
.deslop-b2b-availability #success-modal .b2b-success-icon i {
  font-size: 22px;
  line-height: 1;
  color: var(--green-700, #37671E);
}
.deslop-b2b-availability #success-modal .b2b-success-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #2D2A26);
}
.deslop-b2b-availability #success-modal .b2b-success-timeline.b2b-card-inset,
.deslop-b2b-availability #success-modal .b2b-card-inset {
  background: var(--surface-linen, #E8E2D8);
  border: 1px solid var(--border-defined, #6B5E50);
  border-radius: 8px;
  box-shadow: none;
}
.deslop-b2b-availability #success-modal .b2b-folio-mark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  background: var(--surface-card, #F5F0E8);
  color: var(--text-secondary, #5C4A32);
  border: 1px solid var(--border-defined, #6B5E50);
  font-size: 11px;
  line-height: 1;
}
.deslop-b2b-availability #success-modal .b2b-folio-mark--done {
  background: var(--green-700, #37671E);
  color: #fff;
  border-color: var(--green-700, #37671E);
}
.deslop-b2b-availability #success-modal .b2b-btn-primary {
  background: var(--green-700, #37671E);
  color: #fff;
  border-radius: 10px;
  min-height: 44px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(45, 42, 38, .16);
}

/* Page-scoped control normalization — availability only */
.deslop-b2b-availability .b2b-btn-primary,
.deslop-b2b-availability .b2b-btn-secondary,
.deslop-b2b-availability .b2b-input,
.deslop-b2b-availability .b2b-card-inset,
.deslop-b2b-availability .b2b-hint,
.deslop-b2b-availability .b2b-stepper-btn {
  border-radius: 8px;
  box-shadow: none;
}
.deslop-b2b-availability .b2b-btn-primary {
  border-radius: 10px;
  background: var(--green-700, #37671E);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(45, 42, 38, .16);
}
.deslop-b2b-availability .b2b-btn-primary:active,
.deslop-b2b-availability .b2b-btn-secondary:active,
.deslop-b2b-availability .b2b-stepper-btn:active {
  transform: none;
}
.deslop-b2b-availability .b2b-btn-primary:disabled {
  background: var(--surface-linen, #E8E2D8);
  color: var(--text-muted, #9B9184);
  opacity: 1;
  box-shadow: none;
}
.deslop-b2b-availability .b2b-input,
.deslop-b2b-availability.satv4-b2b .b2b-input,
.deslop-b2b-availability #request-modal .b2b-input,
.deslop-b2b-availability #request-modal :is(input, select, textarea) {
  background: #FFFDF8;
  border: 1px solid var(--border-faint, #B5AD9E);
  border-radius: 8px !important;
  box-shadow: none;
}
.deslop-b2b-availability .b2b-card-inset {
  background: var(--surface-linen, #E8E2D8);
  border: 1px solid var(--border-defined, #6B5E50);
}

@media (max-width: 640px) {
  .deslop-b2b-availability #request-modal.fs-paper-overlay,
  .deslop-b2b-availability #request-modal:not(.hidden) {
    padding: 8px;
  }
  .deslop-b2b-availability #success-modal.fs-paper-overlay,
  .deslop-b2b-availability #success-modal:not(.hidden) {
    padding: 8px;
  }
  .deslop-b2b-availability #request-modal > [role="dialog"],
  .deslop-b2b-availability.satv4-b2b #request-modal > div[role="dialog"],
  .deslop-b2b-availability #request-modal > .fs-paper-overlay__panel {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 16px);
    margin: 8px auto;
  }
  .deslop-b2b-availability #cart-panel.fs-paper-drawer,
  .deslop-b2b-availability #cart-panel {
    width: 100vw;
    max-width: 100vw;
  }
  .deslop-b2b-availability #cart-panel .fs-paper-drawer__footer,
  .deslop-b2b-availability #cart-footer {
    padding-bottom: calc(16px + var(--safe-bottom, 0px));
  }
  .deslop-b2b-availability #success-modal .b2b-success-panel,
  .deslop-b2b-availability #success-modal > .fs-paper-overlay__panel {
    width: min(calc(100% - 16px), 480px);
    padding: 22px 18px 22px;
  }
}
.deslop-b2b-pay .b2b-card,
.deslop-b2b-success .b2b-card,
.deslop-b2b-cancelled .b2b-card { border-radius: 10px; }
.deslop-b2b-pay #choice-state > .b2b-card:first-of-type { border-top:4px solid var(--deslop-green); }
.deslop-b2b-pay .b2b-method-card { border-radius:8px; }
.deslop-b2b-pay :is(#card-total-display,#ach-total-display,#subtotal-display) { font-family:var(--font-display); font-size:1.15rem; }
.deslop-b2b-success > div > .b2b-card:first-child { border-top:4px solid var(--green-700); }
.deslop-b2b-success #receipt-card { border-top:3px double var(--deslop-rule); }
.deslop-b2b-cancelled > div > .b2b-card { border-top:4px solid var(--deslop-terra); }
/* Pre-order folio — shared semantic classes (standalone + embedded).
   Farm-shell geometry lives in farm-profile-v4.css; this layer owns the
   generated success/error/toast grammar and standalone step/panel finish
   so both contexts share one source without farm-specific overlay dup. */
.deslop-preorder #wizard-main {
  border: 1px solid var(--border-defined, #6B5E50);
  border-top: 4px solid var(--deslop-green, #37671E);
  border-radius: 10px;
  background: var(--deslop-paper, #F5F0E8);
  box-shadow: none;
  padding: 28px;
}
.deslop-preorder .wizard-steps {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--deslop-hairline);
}
.deslop-preorder .wizard-steps::before {
  top: 14px;
  height: 1px;
  background: var(--border-warm, #8B7D6B);
}
.deslop-preorder .wizard-step-circle {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: var(--deslop-paper, #F5F0E8);
  color: var(--text-secondary, #5C4A32);
  border: 1px solid var(--border-defined, #6B5E50);
  box-shadow: none !important;
  transform: none !important;
  font-size: 12px;
  font-weight: 700;
}
.deslop-preorder .wizard-step.active .wizard-step-circle {
  background: var(--green-700, #37671E);
  border-color: var(--green-700, #37671E);
  color: var(--text-inverse, #FDFBF7);
  box-shadow: none !important;
  transform: none !important;
}
.deslop-preorder .wizard-step.completed .wizard-step-circle {
  background: var(--deslop-paper, #F5F0E8);
  border-color: var(--green-700, #37671E);
  color: var(--green-700, #37671E);
  box-shadow: none !important;
}
.deslop-preorder .wizard-step.completed:hover .wizard-step-circle {
  background: var(--deslop-linen, #E8E2D8);
  box-shadow: none !important;
}
.deslop-preorder .wizard-step-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary, #5C4A32);
}
.deslop-preorder .wizard-step.active .wizard-step-label,
.deslop-preorder .wizard-step.completed .wizard-step-label {
  color: var(--green-700, #37671E);
}
.deslop-preorder #wizard-loading,
.deslop-preorder #wizard-error {
  width: min(100%, 720px);
  margin: 28px auto;
  background: var(--deslop-paper, #F5F0E8);
  border: 1px solid var(--border-warm, #8B7D6B);
  border-radius: 10px;
  padding: 44px 24px !important;
  box-shadow: none;
}
.deslop-preorder #wizard-loading { border-top: 4px solid var(--green-700, #37671E); }
.deslop-preorder #wizard-error,
.deslop-preorder .wizard-error-docket { border-top: 4px solid var(--terra-500, #C4652A); }
.deslop-preorder #wizard-loading i,
.deslop-preorder #wizard-error i {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--green-700, #37671E);
}
.deslop-preorder #wizard-error i,
.deslop-preorder .wizard-error-docket__icon { color: var(--terra-500, #C4652A) !important; }
.deslop-preorder :is(.portion-card, .profile-card, .profile-card-v2, .section-card, .cut-section, .toggle-card, .profile-options-panel, .yield-bar-full, .summary-card, .fee-breakdown, .step5-fee-section) {
  background: var(--deslop-paper, #F5F0E8);
  border-color: var(--border-warm, #8B7D6B);
  border-radius: 8px !important;
  box-shadow: none !important;
}
.deslop-preorder :is(.portion-card, .profile-card, .profile-card-v2):hover {
  transform: none;
  box-shadow: none !important;
}
.deslop-preorder :is(.portion-card, .profile-card, .profile-card-v2).selected {
  background: var(--deslop-paper, #F5F0E8);
  border-color: var(--border-warm, #8B7D6B);
  border-left: 4px solid var(--green-700, #37671E);
  box-shadow: none !important;
}
.deslop-preorder :is(.section-card-header, .cut-section-header, .toggle-card-options, .sticky-bottom-bar) {
  background: var(--deslop-linen, #E8E2D8);
  background-image: none !important;
  border-color: var(--border-faint, #B5AD9E);
}
.deslop-preorder :is(.fee-breakdown, .step5-fee-section, .summary-card) {
  background: var(--deslop-linen, #E8E2D8);
}
.deslop-preorder .summary-card { border-top: 3px double var(--border-defined, #6B5E50); }
.deslop-preorder .wizard-nav-row {
  border-top: 1px solid var(--border-defined, #6B5E50);
  padding-top: 18px;
}
.deslop-preorder .btn-primary,
.deslop-preorder #wizard-next-btn.btn,
.deslop-preorder .wizard-nav-btn--continue {
  background: var(--green-700, #37671E);
  color: var(--text-inverse, #FDFBF7);
  border-radius: 8px;
  min-height: 44px;
  box-shadow: inset 0 -1px 0 #2D3A27, 0 1px 2px rgba(45,42,38,.22);
}
.deslop-preorder .btn-secondary,
.deslop-preorder #wizard-prev-btn.btn,
.deslop-preorder .wizard-nav-btn--back {
  background: var(--deslop-paper, #F5F0E8);
  color: var(--text-primary, #2D2A26);
  border: 1px solid var(--border-defined, #6B5E50);
  border-radius: 8px;
  min-height: 44px;
  box-shadow: none;
}

/* Semantic dockets/toasts — global so embedded (farm-profile) + standalone share */
.wizard-success-docket {
  border-top: 4px solid var(--green-700, #37671E);
  background: var(--surface-card, #F5F0E8);
  border-radius: 10px;
  padding: 28px 20px;
}
.wizard-success-docket__stamp {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--green-700, #37671E);
  background: var(--surface-linen, #E8E2D8);
  color: var(--green-700, #37671E);
  font-size: 1.5rem;
  box-shadow: none;
}
.wizard-success-docket .summary-card {
  background: var(--surface-linen, #E8E2D8);
  border: 1px solid var(--border-warm, #8B7D6B);
  border-radius: 8px;
  box-shadow: none;
  border-top: 3px double var(--border-defined, #6B5E50);
}
.wizard-success-docket__status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-card, #F5F0E8);
  color: var(--green-700, #37671E);
  border: 1px solid var(--green-700, #37671E);
}
.wizard-error-docket { border-top: 4px solid var(--terra-500, #C4652A); }
.wizard-error-docket__icon {
  color: var(--terra-500, #C4652A) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.wizard-error-docket__msg { color: var(--terra-500, #C4652A); margin: 0; }
.wizard-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.wizard-nav-btn--back {
  background: var(--surface-card, #F5F0E8);
  color: var(--text-primary, #2D2A26);
  border: 1px solid var(--border-defined, #6B5E50);
  box-shadow: none;
}
.wizard-nav-btn--back:hover { background: var(--surface-linen, #E8E2D8); }
.wizard-nav-btn--continue {
  background: var(--green-700, #37671E);
  color: var(--text-inverse, #FDFBF7);
  border: 0;
  box-shadow: inset 0 -1px 0 #2D3A27, 0 1px 2px rgba(45, 42, 38, .22);
}
.wizard-nav-btn--continue:hover { background: var(--green-600, #477E25); }
.wizard-nav-btn--continue:disabled,
.wizard-nav-btn--continue[disabled] {
  background: var(--surface-linen, #E8E2D8);
  color: var(--text-secondary, #5C4A32);
  box-shadow: none;
  cursor: not-allowed;
}
@media (max-width: 640px) {
  .deslop-preorder #wizard-main { padding: 18px 14px; }
  .deslop-preorder .wizard-step-circle {
    width: 28px !important;
    height: 28px !important;
  }
  /* Preserve mobile-responsive.css active-label-only contract; only flatten tabs. */
  .deslop-preorder .wizard-step.active .wizard-step-circle,
  .deslop-farm-profile .wizard-step.active .wizard-step-circle {
    box-shadow: none !important;
    transform: none !important;
  }
}
.deslop-processing .print-container { border-top:4px solid var(--deslop-green); }
.deslop-processing .print-container > div:first-child { border-bottom-width:3px !important; }
.deslop-processor #setup-content > div:first-child { border-radius:8px !important; }
.deslop-processor #upload-strip { border-radius:8px !important; border-left:4px solid var(--deslop-green) !important; }
.deslop-processor .species-card { border-radius:8px !important; }
.deslop-stripe main > .glass-card { border-radius:10px !important; }
.deslop-stripe main > .glass-card > .rounded-full { transform:rotate(-7deg); }
.deslop-stripe main ul { border-top:1px solid var(--deslop-rule); border-bottom:1px solid var(--deslop-rule); }
.deslop-pos .pos-login__card,
.deslop-pos .pos-session-setup__card { border-radius:8px; border-top-width:6px; }
.deslop-pos .pos-product-card { border-left:0; }
.deslop-pos .pos-cart__header,
.deslop-pos .pos-cart__totals { border-top:3px double var(--deslop-rule); }
.deslop-pos .pos-checkout__total { border-radius:8px; border-top-width:6px; }

/* Legal and error surfaces */
.deslop-legal-terms .terms-header,
.deslop-legal-privacy .privacy-header,
.deslop-legal-policies .policy-header { border-bottom:3px solid var(--deslop-green); }
.deslop-legal-terms .section-card,
.deslop-legal-privacy .section-card,
.deslop-legal-policies .policy-card { border-left:0 !important; }
.deslop-legal-terms .section-card h2,
.deslop-legal-privacy .section-card h2,
.deslop-legal-policies .policy-card h2 { padding-bottom:10px; border-bottom:1px solid var(--deslop-hairline); }
.deslop-legal-terms main > section:first-child { border-left-color:var(--green-700) !important; }
.deslop-legal-privacy .data-table { border-radius:0 !important; }
.deslop-legal-policies main > .grid { display:block !important; }
.deslop-legal-policies main > .grid > section + section { margin-top:0; }
.deslop-error .nf-card { border-radius:8px !important; border:0; border-top:5px solid var(--deslop-terra); box-shadow:0 18px 42px rgba(45,42,38,.12); }
.deslop-error .nf-art { border-bottom:1px solid var(--deslop-hairline); padding-bottom:10px; }
.deslop-error .nf-code { padding-top:14px; border-top:1px solid var(--deslop-hairline); }

/* Templates and print */
.deslop-results #results-page > .glass-card { background:transparent; border:0; box-shadow:none; }
.deslop-results #nutrition-hero {
  border-radius:10px !important;
  border:0 !important;
  border-left:5px solid var(--deslop-green) !important;
  background:var(--deslop-paper) !important;
  box-shadow:var(--shadow-sm) !important;
}
.deslop-results #nutrition-hero .bg-gradient-to-r,
.deslop-results #nutrition-hero .bg-white\/50 {
  background:transparent !important;
  border-radius:0;
}
.deslop-results #nutrition-hero .grid > div {
  border-top:1px solid var(--deslop-hairline);
  padding-top:12px;
}
.deslop-results #nutrition-hero :is(.text-purple-600,.text-green-600) { color:var(--deslop-green) !important; }
.deslop-results #foods-list > * { border-radius:10px !important; }
.deslop-results .category-header {
  border-radius:8px !important;
  border:0 !important;
  border-bottom:3px solid var(--deslop-green) !important;
  background:var(--deslop-linen) !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  box-shadow:none !important;
}
.deslop-results .category-header::before,
.deslop-results .category-header::after,
.deslop-results .results-item-card::before { content:none !important; }
.deslop-results .category-header > div:first-child > div:first-child {
  width:auto;
  height:auto;
  border-radius:0;
  background:transparent;
}
.deslop-results .category-header :is(.text-gray-900,.text-gray-700,.text-gray-600,.text-sm) {
  color:var(--deslop-ink) !important;
  text-shadow:none !important;
}
.deslop-results .category-header [class*="category-icon-"] { color:var(--deslop-green) !important; }
.deslop-results .results-item-card { border-radius:8px !important; backdrop-filter:none !important; background:var(--deslop-paper) !important; border-color:var(--deslop-rule) !important; box-shadow:inset 0 1px rgba(255,255,255,.7) !important; }
.deslop-results .results-item-card:hover { transform:none; background:var(--deslop-paper) !important; box-shadow:inset 0 1px rgba(255,255,255,.7) !important; }
.deslop-results .ai-badge {
  border-radius:4px;
  background:transparent;
  border:1px solid var(--deslop-green);
  color:var(--deslop-green);
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:.07em;
}
.deslop-results #alternatives-modal { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
.deslop-results #alternatives-modal > .glass-card { border-radius:10px !important; box-shadow:0 12px 28px rgba(45,42,38,.16); }
.deslop-results .alternative-option { border-radius:8px !important; box-shadow:none !important; }
.deslop-results .alternative-option:hover { transform:none; border-color:var(--deslop-green); }
.deslop-results #map { border:8px solid var(--deslop-paper); outline:1px solid var(--deslop-rule); border-radius:8px; }
.deslop-farm-dashboard #dashboard-sidebar,
.deslop-farm-dashboard aside { border-right:1px solid var(--deslop-rule); }
.deslop-farm-dashboard .tab-content > :is(.glass-card,.card),
.deslop-farm-dashboard main :is(.glass-card,.card) { border-radius:10px !important; }
.deslop-farm-dashboard :is(.tab-btn.active,[aria-selected="true"]) { box-shadow:inset 4px 0 var(--deslop-honey); }

.deslop-loyalty-card .card,
.deslop-loyalty-print .card { border-radius:8px; border:4px double var(--deslop-rule); box-shadow:inset 0 0 0 5px #faf6ec,0 10px 40px rgba(71,126,37,.12); }
.deslop-loyalty-card .qr-box,
.deslop-loyalty-print .qr-box { border-radius:8px; border:1px solid var(--deslop-rule); box-shadow:none; }
.deslop-loyalty-card .market,
.deslop-loyalty-print .market { padding:8px 0; border-top:1px solid var(--deslop-rule); border-bottom:1px solid var(--deslop-rule); }
.deslop-loyalty-print .bar { border-bottom:3px double var(--deslop-rule); }
.deslop-cut-sheet .no-print { border-bottom:3px double var(--deslop-rule) !important; }
.deslop-cut-sheet .print-container { background:#fff; border:1px solid var(--deslop-rule); border-top:5px double var(--green-700); box-shadow:0 8px 24px rgba(45,42,38,.1); }
.deslop-cut-sheet .print-container > div:first-child { border-bottom-color:var(--deslop-rule) !important; }
.deslop-cut-sheet #sections-container > * { border-top:1px solid var(--deslop-rule); }

@media (max-width: 768px) {
  .deslop-farm-register,
  .deslop-charity-register { overflow-x: clip; }
  .deslop-farm-register > .glass-card,
  .deslop-farm-register > div,
  .deslop-charity-register > div { max-width: 100% !important; }
  .deslop-farm-register .grid,
  .deslop-charity-register .grid { min-width: 0; }
  .deslop-farm-register input,
  .deslop-farm-register select,
  .deslop-farm-register textarea,
  .deslop-charity-register input,
  .deslop-charity-register select,
  .deslop-charity-register textarea { min-width: 0 !important; max-width: 100% !important; }
  .deslop-b2b-availability { overflow-x: clip; }
  .deslop-b2b-availability :is(main,header,footer,#cart-drawer,#sticky-cart,#request-modal,#success-modal) { max-width: 100vw; }
  .deslop-welcome .hero-intro h1 { font-size: 1.7rem; }
  .deslop-welcome .carousel-viewport { padding: 6px; }
  .deslop-community .cork-frame { margin: 6px; padding: 8px; }
  .deslop-community .cork-board { padding: 16px 12px; }
  .deslop-community .board-title { font-size:2rem; padding:10px 22px; }
  .deslop-event .event-detail-card { padding:18px; }
  .deslop-local-food .fs-local-main { padding-top:28px; }
  .deslop-loyalty-report .kpis { grid-template-columns:repeat(2,1fr); }
  .deslop-b2b-availability .b2b-item-card { border-left-width:4px; }
}

@media print {
  .deslop-loyalty-card .card,
  .deslop-loyalty-print .card { box-shadow:inset 0 0 0 5px #fff; }
  .deslop-cut-sheet .print-container { border:0; box-shadow:none; }
}

@media (prefers-reduced-motion: reduce) {
  :is([class*="deslop-"]) * { scroll-behavior:auto !important; }
  .deslop-marketplace :is(.marketplace-mode-container,.ai-mode-container)::after,
  .deslop-farm-profile .fpv4-ground::after {
    content: none;
    animation: none;
    opacity: 0;
  }
}
