:root {
  /* FreshDirect Signature Palette */
  --fd-green-dark: #004d25;
  --fd-green-primary: #006837;
  --fd-green-bright: #43b02a;
  --fd-green-tint: #ebf7ee;
  --fd-orange-cta: #ff6b00;
  --fd-orange-hover: #e05e00;
  --fd-amber-badge: #fef3c7;
  --fd-amber-text: #92400e;

  --fd-bg-page: #f7f8f6;
  --fd-bg-white: #ffffff;
  --fd-bg-subtle: #eff2ee;

  --fd-text-main: #1b241e;
  --fd-text-muted: #5a665e;
  --fd-border: #e1e6df;
  --fd-border-strong: #c5cfc2;

  --fd-radius-xs: 6px;
  --fd-radius-sm: 10px;
  --fd-radius-md: 14px;
  --fd-radius-lg: 20px;
  --fd-radius-pill: 9999px;

  --fd-shadow-card: 0 2px 8px rgba(0, 45, 20, 0.05);
  --fd-shadow-hover: 0 10px 24px rgba(0, 45, 20, 0.11);
  --fd-shadow-modal: 0 24px 48px rgba(0, 30, 14, 0.22);

  --fd-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fd-font-serif: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fd-font-sans);
  font-size-adjust: from-font;
  background-color: var(--fd-bg-page);
  color: var(--fd-text-main);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.fd-container {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Delivery Slot Header Button (Modern Pill Badge) */
.fd-header-slot-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--fd-text-main);
  padding: 0.38rem 0.95rem 0.38rem 0.5rem;
  border-radius: 9999px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.fd-header-slot-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 40, 18, 0.08);
  transform: translateY(-1px);
}

.fd-header-slot-btn__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--fd-green-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.fd-header-slot-btn:hover .fd-header-slot-btn__icon {
  background: #d1fae5;
  transform: scale(1.05);
}

.fd-header-slot-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.fd-header-slot-btn__location {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
}

.fd-header-slot-btn__location strong {
  color: #1e293b;
  font-weight: 700;
}

.fd-header-slot-btn__slot {
  font-size: 0.78rem;
  color: var(--fd-green-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (max-width: 900px) {
  .fd-header-slot-btn {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

/* Pricing Pill in Catalogue Toolbar */
.fd-pricing-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid var(--fd-border-strong);
  color: #334155;
  padding: 0.45rem 0.85rem;
  border-radius: var(--fd-radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fd-pricing-pill-btn:hover {
  background: #ffffff;
  border-color: var(--fd-green-primary);
  color: var(--fd-green-primary);
}

.fd-pricing-pill-btn svg {
  color: var(--fd-green-primary);
}

/* 2. Sticky FreshDirect Header */
.fd-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.fd-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
  flex-wrap: wrap;
}

.fd-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.fd-brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 77, 37, 0.16);
  border: 1.5px solid rgba(0, 104, 55, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.fd-brand:hover .fd-brand__logo {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 104, 55, 0.22);
}

.fd-brand__logo--footer {
  width: 60px;
  height: 60px;
  border-radius: 14px;
}

.fd-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fd-green-primary), var(--fd-green-bright));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 104, 55, 0.22);
}

.fd-brand__text {
  display: flex;
  flex-direction: column;
}

.fd-brand__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fd-green-primary);
}

.fd-brand__direct {
  color: var(--fd-orange-cta);
  font-weight: 800;
}

.fd-brand__sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fd-text-muted);
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

/* Centered Search Bar */
.fd-search {
  flex: 1;
  max-width: 620px;
  min-width: 250px;
  position: relative;
  display: flex;
  align-items: center;
}

.fd-search__icon {
  position: absolute;
  left: 1.1rem;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.18s ease;
}

.fd-search:focus-within .fd-search__icon {
  color: var(--fd-green-primary);
}

.fd-search__input {
  width: 100%;
  padding: 0.72rem 4.4rem 0.72rem 2.95rem;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background-color: #f8fafc;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fd-text-main);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fd-search__input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.fd-search__input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--fd-green-primary);
  box-shadow: 0 0 0 4px rgba(0, 104, 55, 0.1);
}

.fd-search__clear {
  position: absolute;
  right: 2.75rem;
  border: none;
  background: #e2e8f0;
  color: #475569;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fd-search__clear:hover {
  background: #cbd5e1;
}

.fd-search__kbd {
  position: absolute;
  right: 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.12rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

/* Header Right Actions */
.fd-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fd-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--fd-text-main);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.fd-action-link:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.fd-action-link.is-active {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

.fd-action-link__icon {
  font-size: 1.35rem;
  color: var(--fd-orange-cta);
}

.fd-action-link__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.fd-action-link__text small {
  font-size: 0.68rem;
  color: var(--fd-text-muted);
}

.fd-action-link__text strong {
  font-size: 0.82rem;
}

.fd-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  padding: 0.62rem 1.15rem;
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.32);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fd-cart-btn:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #f97316 100%);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.42);
  transform: translateY(-1px);
}

.fd-cart-btn__badge {
  background-color: #ffffff;
  color: var(--fd-orange-cta);
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 24px;
  height: 24px;
  border-radius: var(--fd-radius-pill);
  display: grid;
  place-items: center;
  padding-inline: 0.35rem;
}

/* 3. FreshDirect Department Navigation Bar */
.fd-dept-nav {
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.fd-dept-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.42rem;
}

.fd-dept-nav__inner::-webkit-scrollbar {
  display: none;
}

.fd-dept-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.fd-dept-link:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.fd-dept-link.is-active {
  background-color: var(--fd-green-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 104, 55, 0.25);
}

.fd-dept-link.is-active:hover {
  background-color: var(--fd-green-hover);
  color: #ffffff;
}

.fd-dept-link--promo {
  color: #c2410c;
  background-color: #fff7ed;
  border-color: #fed7aa;
}

.fd-dept-link--promo:hover {
  background-color: #ffedd5;
  color: #9a3412;
}

.fd-dept-link--promo.is-active {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.28);
}

.fd-dept-link--highlight {
  color: #1e3a8a;
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.fd-dept-link--highlight:hover {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.fd-dept-link--highlight.is-active {
  background-color: var(--fd-orange-cta);
  color: #ffffff;
  border-color: transparent;
}

.fd-dept-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  background-color: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.fd-dept-link:hover .fd-dept-count {
  background-color: #e2e8f0;
  color: #334155;
}

.fd-dept-link.is-active .fd-dept-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.fd-dept-link--promo .fd-dept-count {
  background-color: #fed7aa;
  color: #9a3412;
}

.fd-dept-link--promo.is-active .fd-dept-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.fd-dept-link--highlight .fd-dept-count {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.fd-dept-link--highlight.is-active .fd-dept-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 4. Full Editorial Hero Banner */
.fd-hero {
  padding-top: 1.4rem;
  padding-bottom: 1.25rem;
}

.fd-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fd-hero-main {
  position: relative;
  border-radius: 20px;
  padding: 3.8rem 3.5rem;
  background: linear-gradient(90deg, rgba(6, 38, 19, 0.94) 0%, rgba(6, 48, 25, 0.82) 48%, rgba(6, 48, 25, 0.35) 75%, rgba(6, 48, 25, 0.1) 100%),
              url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  box-shadow: 0 10px 30px rgba(0, 40, 18, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 104, 55, 0.15);
  overflow: hidden;
}

@media (max-width: 768px) {
  .fd-hero-main {
    padding: 2.2rem 1.6rem;
    min-height: auto;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(6, 38, 19, 0.94) 0%, rgba(6, 48, 25, 0.9) 100%),
                url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
  }
}

.fd-hero-main__content {
  max-width: 680px;
  z-index: 2;
}

.fd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #a7f3d0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fd-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 10px #34d399, 0 0 0 2px rgba(52, 211, 153, 0.3);
  display: inline-block;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

.fd-hero-main__title {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 0.95rem;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.fd-hero-main__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 1.4rem;
  line-height: 1.55;
  max-width: 600px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.fd-hero-main__desc strong {
  color: #fef08a;
  font-weight: 700;
}

/* Hero Micro-Trust Chips */
.fd-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.fd-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.fd-hero-chip svg {
  color: #6ee7b7;
  flex-shrink: 0;
}

.fd-hero-main__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.fd-hero-main__actions .fd-btn--orange {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 1.65rem;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.38);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fd-hero-main__actions .fd-btn--orange:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #f97316 100%);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.48);
  transform: translateY(-2px);
}

.fd-hero-main__actions .fd-btn--white {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.85rem 1.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fd-hero-main__actions .fd-btn--white:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.fd-hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

@media (max-width: 768px) {
  .fd-hero-side {
    grid-template-columns: 1fr;
  }
}

.fd-promo-box {
  flex: 1;
  border-radius: var(--fd-radius-lg);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--fd-border);
}

.fd-promo-box--amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}

.fd-promo-box--blue {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #bae6fd;
}

.fd-promo-box__tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--fd-text-muted);
}

.fd-promo-box__title {
  font-family: var(--fd-font-serif);
  font-size: 1.22rem;
  margin-block: 0.3rem;
  color: var(--fd-text-main);
}

.fd-promo-box__text {
  font-size: 0.83rem;
  color: var(--fd-text-muted);
  margin-bottom: 0.75rem;
}

.fd-link-btn {
  align-self: flex-start;
  background: var(--fd-bg-white);
  border: 1px solid var(--fd-border-strong);
  padding: 0.4rem 0.85rem;
  border-radius: var(--fd-radius-pill);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--fd-green-primary);
  cursor: pointer;
}

.fd-link-btn:hover {
  background: var(--fd-green-primary);
  color: #fff;
  border-color: var(--fd-green-primary);
}

/* 5. Circular Department Medallions (FreshDirect Icon Grid) */
.fd-circles-section {
  padding-block: 1.5rem;
}

.fd-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fd-section-head__title {
  font-family: var(--fd-font-serif);
  font-size: 1.4rem;
  color: var(--fd-text-main);
}

.fd-section-head__sub {
  font-size: 0.84rem;
  color: var(--fd-text-muted);
}

.fd-section-head__link {
  background: none;
  border: none;
  color: var(--fd-green-primary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.fd-section-head__link:hover {
  text-decoration: underline;
}

.fd-circles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  gap: 0.85rem;
}

.fd-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.35rem;
  transition: transform 0.16s ease;
}

.fd-circle-card:hover {
  transform: translateY(-4px);
}

.fd-circle-card__avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background-color: var(--circle-bg, #ebf7ee);
  border: 2px solid var(--fd-bg-white);
  box-shadow: 0 4px 12px rgba(0, 40, 18, 0.08);
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.fd-circle-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fd-circle-card:hover .fd-circle-card__avatar {
  border-color: var(--fd-green-primary);
  box-shadow: 0 6px 16px rgba(0, 104, 55, 0.18);
}

.fd-circle-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fd-text-main);
  text-align: center;
  line-height: 1.2;
}

/* 6. FreshDirect Horizontal Product Carousels */
.fd-carousel-block {
  background: var(--fd-bg-white);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius-lg);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 40, 18, 0.04);
}

.fd-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 195px;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.fd-carousel-track > * {
  scroll-snap-align: start;
}

/* 7. FreshDirect Product Card (Compact, Minimalist, Zero-Waste) */
.fd-card {
  background-color: var(--fd-bg-white);
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}

.fd-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.fd-card--new {
  border-color: #f1f5f9;
}

.fd-card--new:hover {
  border-color: #e2e8f0;
}

/* Visual Stage inside Product Card */
.fd-card__visual {
  height: 135px;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.5rem;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.fd-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fd-card:hover .fd-card__img {
  transform: scale(1.05);
}

/* Floating Micro-Badge on Visual */
.fd-card .fd-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.fd-tag--sale {
  background-color: #ea580c;
  color: #ffffff;
}

.fd-tag--new {
  background-color: #fef3c7;
  color: #92400e;
}

.fd-tag--seasonal {
  background-color: #e0f2fe;
  color: #0369a1;
}

.fd-tag--out {
  background-color: #fee2e2;
  color: #991b1b;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-weight: 700;
}

/* Floating Heart Favorite Button */
.fd-card__fav {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  color: #94a3b8;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: color 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.fd-card__fav:hover {
  background: #ffffff;
  color: #ef4444;
  transform: scale(1.1);
}

.fd-card__fav.is-fav {
  background: #ffffff;
  color: #ef4444;
}

.fd-card__flat-fallback {
  display: grid;
  place-items: center;
  color: #94a3b8;
  width: 100%;
  height: 100%;
}

.fd-card__emoji {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.06));
  transition: transform 0.2s ease;
}

.fd-card:hover .fd-card__emoji {
  transform: scale(1.08);
}

.fd-table-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 0.5rem;
  border: 1px solid var(--fd-border);
}

.fd-cart-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--fd-border);
}

.fd-detail-banner {
  width: 100%;
  height: 210px;
  border-radius: var(--fd-radius-md);
  object-fit: cover;
  margin-bottom: 0.9rem;
  border: 1px solid var(--fd-border);
}

.fd-card__body {
  margin-bottom: 0.45rem;
  flex: 1;
}

.fd-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.15rem;
  cursor: pointer;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fd-card__title:hover {
  color: var(--fd-green-primary);
}

.fd-card__variant {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
}

.fd-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.2rem;
  border-top: none;
}

.fd-card__price-box {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.fd-card__price {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.fd-card__price--sale {
  color: var(--fd-orange-cta);
}

.fd-card__price-orig {
  font-size: 0.72rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.fd-card__unit {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-left: 0.1rem;
}

/* FreshDirect "+ Add" Green Pill & Stepper */
.fd-add-btn {
  background-color: var(--fd-green-primary);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 0.38rem 0.85rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 104, 55, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.fd-add-btn:hover {
  background-color: var(--fd-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 104, 55, 0.22);
}

.fd-stepper {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-radius: 9999px;
  overflow: hidden;
}

.fd-stepper__btn {
  border: none;
  background: transparent;
  color: #0f172a;
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease;
}

.fd-stepper__btn:hover {
  background: #e2e8f0;
}

.fd-stepper__val {
  min-width: 20px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding-inline: 0.15rem;
}

/* 8. Department Aisle & Sidebar Layout (FreshDirect Browse Experience) */
.fd-aisle-section {
  padding-top: 1rem;
  padding-bottom: 3.5rem;
}

.fd-aisle-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--fd-border);
}

.fd-aisle-header__crumb {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fd-green-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fd-aisle-header__title {
  font-family: var(--fd-font-serif);
  font-size: 1.65rem;
  color: var(--fd-text-main);
}

.fd-aisle-layout {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .fd-aisle-layout {
    grid-template-columns: 1fr;
  }
}

.fd-sidebar {
  background: var(--fd-bg-white);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius-md);
  padding: 1.1rem;
  position: sticky;
  top: 122px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

@media (max-width: 960px) {
  .fd-sidebar {
    position: static;
    max-height: none;
  }
}

.fd-sidebar__block + .fd-sidebar__block {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--fd-border);
}

.fd-sidebar__title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fd-text-muted);
  margin-bottom: 0.65rem;
}

.fd-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fd-aisle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 0.42rem 0.6rem;
  border-radius: var(--fd-radius-xs);
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fd-text-main);
  cursor: pointer;
}

.fd-aisle-btn:hover {
  background-color: var(--fd-bg-subtle);
}

.fd-aisle-btn.is-active {
  background-color: var(--fd-green-tint);
  color: var(--fd-green-primary);
  font-weight: 800;
}

.fd-radio-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.fd-radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.fd-radio-item input {
  accent-color: var(--fd-green-primary);
}

/* Right Aisle Content & Control Bar */
.fd-control-bar {
  background: var(--fd-bg-white);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.fd-control-bar__summary {
  font-size: 0.86rem;
  color: var(--fd-text-muted);
}

.fd-control-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fd-sort-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fd-text-muted);
}

.fd-select {
  padding: 0.38rem 0.65rem;
  border-radius: var(--fd-radius-xs);
  border: 1px solid var(--fd-border-strong);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  background-color: var(--fd-bg-white);
}

.fd-view-switch {
  display: inline-flex;
  border: 1px solid var(--fd-border-strong);
  border-radius: var(--fd-radius-xs);
  overflow: hidden;
}

.fd-view-btn {
  border: none;
  background: var(--fd-bg-white);
  padding: 0.38rem 0.7rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fd-text-muted);
  cursor: pointer;
}

.fd-view-btn.is-active {
  background: var(--fd-green-primary);
  color: #ffffff;
}

/* Section Shelf Blocks & Deferred Rendering */
.fd-shelf-section {
  margin-bottom: 2.2rem;
}

.fd-shelf-section.is-below-fold {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 480px;
}

.fd-shelf-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--fd-border);
}

.fd-shelf-header__title {
  font-family: var(--fd-font-serif);
  font-size: 1.25rem;
  color: var(--fd-green-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fd-shelf-header__badge {
  font-family: var(--fd-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--fd-green-tint);
  color: var(--fd-green-primary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--fd-radius-xs);
}

.fd-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

/* Spreadsheet Table View */
.fd-table-wrap {
  background: var(--fd-bg-white);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius-md);
  overflow-x: auto;
}

.fd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.fd-table th,
.fd-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--fd-border);
}

.fd-table th {
  background: var(--fd-bg-subtle);
  font-weight: 800;
  color: var(--fd-green-dark);
  white-space: nowrap;
}

.fd-table tr.row--new {
  background-color: #fffbeb;
}

/* Buttons */
.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.25rem;
  border-radius: var(--fd-radius-pill);
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fd-btn--orange {
  background-color: var(--fd-orange-cta);
  color: #ffffff;
}

.fd-btn--orange:hover {
  background-color: var(--fd-orange-hover);
}

.fd-btn--green {
  background-color: var(--fd-green-primary);
  color: #ffffff;
}

.fd-btn--green:hover {
  background-color: var(--fd-green-dark);
}

.fd-btn--white {
  background-color: #ffffff;
  color: var(--fd-green-dark);
}

.fd-btn--white:hover {
  background-color: #f0fdf4;
}

.fd-btn--outline-sm {
  background: var(--fd-bg-white);
  border: 1px solid var(--fd-border-strong);
  color: var(--fd-text-main);
  padding: 0.36rem 0.75rem;
  font-size: 0.78rem;
}

.fd-btn--outline-sm:hover {
  border-color: var(--fd-green-primary);
  color: var(--fd-green-primary);
}

.fd-btn--full {
  width: 100%;
}

/* Guarantees Banner */
.fd-guarantees {
  background: var(--fd-bg-white);
  border-top: 1px solid var(--fd-border);
  border-bottom: 1px solid var(--fd-border);
  padding-block: 2.25rem;
}

.fd-guarantees__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.fd-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.fd-guarantee-item__icon {
  font-size: 1.85rem;
  background: var(--fd-green-tint);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fd-guarantee-item h3 {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.fd-guarantee-item p {
  font-size: 0.8rem;
  color: var(--fd-text-muted);
}

/* Footer */
.fd-footer {
  background-color: var(--fd-green-dark);
  color: rgba(255, 255, 255, 0.86);
  padding-top: 2.75rem;
}

.fd-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
}

@media (max-width: 820px) {
  .fd-footer__grid {
    grid-template-columns: 1fr;
  }
}

.fd-brand--footer .fd-brand__title {
  color: #ffffff;
}

.fd-brand--footer .fd-brand__sub {
  color: rgba(255, 255, 255, 0.7);
}

.fd-footer__text {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.75);
}

.fd-footer__heading {
  color: #fde68a;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.fd-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.83rem;
}

.fd-footer__links a,
.fd-footer__btn-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: left;
}

.fd-footer__links a:hover,
.fd-footer__btn-link:hover {
  color: #fde68a;
  text-decoration: underline;
}

.fd-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.1rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Native Dialog Modals */
.fd-modal {
  border: none;
  padding: 0;
  background: var(--fd-bg-white);
  color: var(--fd-text-main);
  box-shadow: var(--fd-shadow-modal);
}

.fd-modal::backdrop {
  background: rgba(0, 28, 14, 0.55);
  backdrop-filter: blur(3px);
}

.fd-modal--drawer {
  margin-left: auto;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  width: min(470px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  border-radius: var(--fd-radius-lg) 0 0 var(--fd-radius-lg);
}

.fd-modal--center {
  margin: auto;
  width: min(560px, 92vw);
  border-radius: var(--fd-radius-lg);
}

.fd-modal__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: inherit;
}

.fd-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--fd-border);
}

.fd-modal__title {
  font-family: var(--fd-font-serif);
  font-size: 1.22rem;
  color: var(--fd-green-dark);
}

.fd-modal__subtitle {
  font-size: 0.78rem;
  color: var(--fd-text-muted);
}

.fd-modal__close {
  border: none;
  background: var(--fd-bg-subtle);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
}

.fd-modal__body {
  padding: 1.1rem 1.35rem;
  overflow-y: auto;
  flex: 1;
}

.fd-modal__footer {
  padding: 1rem 1.35rem 1.25rem;
  border-top: 1px solid var(--fd-border);
  background: var(--fd-bg-page);
}

/* Free Eco Bag Progress Bar inside Cart */
.fd-free-progress {
  background: var(--fd-green-tint);
  padding: 0.65rem 1.35rem;
  border-bottom: 1px solid #bbf7d0;
  font-size: 0.78rem;
}

.fd-free-progress__bar {
  height: 7px;
  background: #dcfce7;
  border-radius: var(--fd-radius-pill);
  overflow: hidden;
  margin-top: 0.35rem;
}

.fd-free-progress__fill {
  height: 100%;
  background: var(--fd-green-bright);
  transition: width 0.25s ease;
}

.fd-eco-upsell {
  margin-inline: 1.35rem;
  margin-bottom: 0.65rem;
  padding: 0.6rem 0.85rem;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: var(--fd-radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.76rem;
}

.fd-eco-upsell__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fd-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--fd-border);
}

.fd-cart-totals {
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.fd-cart-totals__row {
  display: flex;
  justify-content: space-between;
  padding-block: 0.2rem;
}

.fd-cart-totals__row--grand {
  font-size: 1.04rem;
  padding-top: 0.45rem;
  margin-top: 0.3rem;
  border-top: 1px solid var(--fd-border-strong);
  color: var(--fd-green-dark);
}

.fd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .fd-form-row {
    grid-template-columns: 1fr;
  }
}

.fd-field {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.fd-field input,
.fd-field select,
.fd-select-lg {
  padding: 0.5rem 0.65rem;
  border-radius: var(--fd-radius-xs);
  border: 1px solid var(--fd-border-strong);
  font-family: inherit;
  font-size: 0.83rem;
  background: #fff;
}

.fd-checkout-btns {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.fd-btn-clear {
  border: none;
  background: none;
  color: var(--fd-text-muted);
  font-size: 0.76rem;
  cursor: pointer;
  text-decoration: underline;
  align-self: center;
}

/* Delivery Time Slot Modal Grid */
.fd-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fd-slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.fd-slot-option {
  border: 1.5px solid var(--fd-border-strong);
  background: var(--fd-bg-page);
  border-radius: var(--fd-radius-sm);
  padding: 0.75rem;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fd-slot-option.is-selected {
  border-color: var(--fd-green-primary);
  background: var(--fd-green-tint);
}

.fd-slot-option strong {
  font-size: 0.85rem;
  color: var(--fd-green-dark);
}

.fd-slot-option span {
  font-size: 0.8rem;
  font-weight: 700;
}

.fd-slot-option small {
  font-size: 0.7rem;
  color: var(--fd-text-muted);
}

.fd-modal--wide {
  margin: auto;
  width: min(860px, 95vw);
  max-height: 90dvh;
  border-radius: var(--fd-radius-lg);
}

.fd-pricing-section {
  margin-bottom: 1.4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fd-border);
}

.fd-pricing-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.fd-pricing-section__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fd-green-dark);
  margin-bottom: 0.6rem;
}

.fd-pricing-section__desc {
  font-size: 0.8rem;
  color: var(--fd-text-muted);
  margin-bottom: 0.75rem;
}

.fd-pricing-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.fd-mode-card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: var(--fd-bg-page);
  border: 1.5px solid var(--fd-border);
  border-radius: var(--fd-radius-sm);
  padding: 0.75rem;
  cursor: pointer;
}

.fd-mode-card:has(input:checked) {
  border-color: var(--fd-green-primary);
  background: var(--fd-green-tint);
}

.fd-mode-card input {
  margin-top: 0.2rem;
  accent-color: var(--fd-green-primary);
}

.fd-mode-card strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.fd-mode-card p {
  font-size: 0.72rem;
  color: var(--fd-text-muted);
  line-height: 1.35;
}

.fd-sync-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.fd-sync-input {
  flex: 1;
  min-width: 240px;
  padding: 0.58rem 0.85rem;
  border-radius: var(--fd-radius-pill);
  border: 1.5px solid var(--fd-border-strong);
  font-family: inherit;
  font-size: 0.82rem;
}

.fd-sync-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fd-sync-status {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fd-green-primary);
}

.fd-quick-search {
  padding: 0.45rem 0.85rem;
  border-radius: var(--fd-radius-pill);
  border: 1px solid var(--fd-border-strong);
  font-family: inherit;
  font-size: 0.8rem;
  width: min(320px, 100%);
}

.fd-quick-editor-wrap {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius-sm);
}

.fd-quick-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  text-align: left;
}

.fd-quick-table th,
.fd-quick-table td {
  padding: 0.48rem 0.65rem;
  border-bottom: 1px solid var(--fd-border);
}

.fd-quick-table th {
  position: sticky;
  top: 0;
  background: var(--fd-bg-subtle);
  font-weight: 800;
  z-index: 2;
}

.fd-price-input {
  width: 96px;
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--fd-border-strong);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.fd-stock-select {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--fd-border-strong);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
}

.fd-card--out {
  opacity: 0.62;
}

.fd-tag--out {
  background: #fee2e2;
  color: #991b1b;
}

.fd-tag--seasonal {
  background: #fef3c7;
  color: #92400e;
}

.fd-margin-box {
  background: var(--fd-bg-page);
  border: 1px solid var(--fd-border);
  padding: 1rem;
  border-radius: var(--fd-radius-sm);
}

/* Toast */
.fd-toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.fd-toast {
  background: var(--fd-green-dark);
  color: #ffffff;
  padding: 0.65rem 1.1rem;
  border-radius: var(--fd-radius-pill);
  font-size: 0.83rem;
  font-weight: 700;
  box-shadow: var(--fd-shadow-hover);
}

/* ==========================================================================
   Dek Mit Promotions & Community Initiatives Showcase
   ========================================================================== */

/* Top bar & Dept nav highlight pills */
.fd-utility-link--glow {
  background: rgba(255, 107, 0, 0.22);
  border: 1px solid rgba(255, 107, 0, 0.55);
  color: #ffd8a8;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--fd-radius-pill);
  transition: all 0.2s ease;
}

.fd-utility-link--glow:hover {
  background: var(--fd-orange-cta);
  color: #ffffff;
}

.fd-dept-link--promo {
  color: var(--fd-orange-cta) !important;
  font-weight: 700 !important;
  position: relative;
}

.fd-dept-link--promo .fd-dept-count {
  background: #ffedd5 !important;
  color: #9a3412 !important;
  font-weight: 800;
}

.fd-eyebrow--promo {
  color: var(--fd-green-primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.35rem;
}

/* Promotions Section Outer Container */
.fd-promo-showcase {
  margin-top: 1.8rem;
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7faf7 100%);
  border: 1.5px solid #d7e4d8;
  border-radius: var(--fd-radius-lg);
  box-shadow: 0 4px 18px rgba(0, 77, 37, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.fd-promo-showcase.is-highlighted {
  border-color: var(--fd-orange-cta);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fd-promo-showcase {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
  border: 1px solid var(--fd-border);
  border-radius: 24px;
  padding: 2.2rem;
  margin-block: 2.2rem;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.04);
}

.fd-promo-showcase.is-highlighted {
  border-color: var(--fd-orange-cta);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.18), 0 14px 34px rgba(0, 0, 0, 0.08);
}

.fd-promo-showcase__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--fd-border);
  margin-bottom: 1.8rem;
}

.fd-promo-showcase__lead {
  max-width: 680px;
}

.fd-eyebrow--promo {
  color: var(--fd-green-primary);
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--fd-radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.fd-promo-showcase__title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--fd-green-dark);
  margin-bottom: 0.45rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.fd-promo-showcase__desc {
  font-size: 0.92rem;
  color: var(--fd-text-muted);
  line-height: 1.55;
}

.fd-promo-showcase__badges {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.fd-pill-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.85rem;
  border-radius: var(--fd-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.fd-pill-stat strong {
  color: var(--fd-green-primary);
  font-weight: 800;
  font-size: 0.88rem;
}

/* 2x2 Responsive Grid */
.fd-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

@media (max-width: 900px) {
  .fd-promo-grid {
    grid-template-columns: 1fr;
  }
  .fd-promo-showcase {
    padding: 1.4rem 1.1rem;
    border-radius: 18px;
  }
}

/* Individual Promo Cards */
.fd-promo-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s ease;
}

.fd-promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -4px rgba(15, 23, 42, 0.12), 0 8px 16px -2px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

/* Card Hero Media */
.fd-promo-card__media {
  position: relative;
  height: 195px;
  width: 100%;
  overflow: hidden;
  background: #f1f5f9;
}

.fd-promo-card__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.fd-promo-card:hover .fd-promo-card__hero-img {
  transform: scale(1.05);
}

.fd-promo-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.fd-promo-card__badges-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.fd-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--fd-radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fd-promo-badge svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
}

/* Floating Discount / Stat Ribbon over bottom of photo */
.fd-promo-badge-float {
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.85rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.fd-promo-badge-float--orange {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.95), rgba(249, 115, 22, 0.95));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.fd-promo-badge-float--purple {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.95), rgba(139, 92, 246, 0.95));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.fd-promo-badge-float--blue {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.95), rgba(14, 165, 233, 0.95));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.fd-promo-badge-float--green {
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.95), rgba(34, 197, 94, 0.95));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.fd-float-num {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.fd-float-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
}

.fd-float-text small {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0;
  text-transform: none;
  display: block;
}

.fd-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--fd-radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(254, 243, 199, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #92400e;
  border: 1px solid rgba(253, 230, 138, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fd-live-pill.is-active {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
  border-color: #86efac;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.fd-live-pill--purple {
  background: rgba(243, 232, 255, 0.95);
  color: #6b21a8;
  border-color: rgba(216, 180, 254, 0.8);
}

.fd-live-pill--blue {
  background: rgba(224, 242, 254, 0.95);
  color: #0369a1;
  border-color: rgba(186, 230, 253, 0.8);
}

.fd-live-pill--green {
  background: rgba(220, 252, 231, 0.95);
  color: #15803d;
  border-color: rgba(187, 247, 208, 0.8);
}

/* Card Body */
.fd-promo-card__body {
  padding: 1.4rem 1.4rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fd-promo-card__header-flex {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 0.9rem;
}

.fd-promo-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.fd-promo-card--wednesday .fd-promo-card__icon {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
}
.fd-promo-card--wednesday .fd-promo-card__icon svg {
  stroke: var(--fd-orange-cta);
  width: 26px;
  height: 26px;
}

.fd-promo-card--chef .fd-promo-card__icon {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #e9d5ff;
}
.fd-promo-card--chef .fd-promo-card__icon svg {
  stroke: #7c3aed;
  width: 26px;
  height: 26px;
}

.fd-promo-card--school .fd-promo-card__icon {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
}
.fd-promo-card--school .fd-promo-card__icon svg {
  stroke: #0284c7;
  width: 26px;
  height: 26px;
}

.fd-promo-card--nutritionist .fd-promo-card__icon {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
}
.fd-promo-card--nutritionist .fd-promo-card__icon svg {
  stroke: var(--fd-green-primary);
  width: 26px;
  height: 26px;
}

.fd-promo-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.fd-promo-card__tagline {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}

.fd-promo-card--wednesday .fd-promo-card__tagline {
  color: #ea580c;
}
.fd-promo-card--chef .fd-promo-card__tagline {
  color: #7c3aed;
}
.fd-promo-card--school .fd-promo-card__tagline {
  color: #0284c7;
}
.fd-promo-card--nutritionist .fd-promo-card__tagline {
  color: #15803d;
}

.fd-promo-card__text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

/* Perks List without Bullets */
.fd-promo-card__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
  color: #334155;
  padding: 0;
}

.fd-promo-card__perks li {
  line-height: 1.45;
}

/* School Food Swap Box Overhaul */
.fd-swap-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.85rem;
}

@media (max-width: 600px) {
  .fd-swap-box {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: center;
  }
}

.fd-swap-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fd-swap-badge {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  text-transform: uppercase;
}

.fd-swap-item--out .fd-swap-badge {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.fd-swap-item--out span:last-child {
  color: #64748b;
  text-decoration: line-through;
  font-size: 0.8rem;
  line-height: 1.35;
}

.fd-swap-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--fd-green-primary);
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
}

.fd-swap-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--fd-green-primary);
}

.fd-swap-item--in .fd-swap-badge {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.fd-swap-item--in span:last-child {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Actions Footer */
.fd-promo-card__actions {
  padding: 1.1rem 1.4rem;
  border-top: 1px solid #f1f5f9;
  background: #fafbfa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.fd-btn--wednesday {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--fd-radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.fd-btn--wednesday:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.38);
  filter: brightness(1.05);
}

.fd-btn--chef {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: var(--fd-radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.fd-btn--chef:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.38);
  filter: brightness(1.05);
}

.fd-btn--school {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: var(--fd-radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.fd-btn--school:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
  filter: brightness(1.05);
}

.fd-btn--nutritionist {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: var(--fd-radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.fd-btn--nutritionist:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.38);
  filter: brightness(1.05);
}

.fd-btn-outline {
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  padding: 0.62rem 1.15rem;
  border-radius: var(--fd-radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
}

.fd-btn-outline:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.fd-promo-card__note {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
  display: block;
}

/* Wednesday 50% Price Display on Product Cards & Tables */
.fd-card__price-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fd-card__price-main {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.fd-card__price-orig {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.fd-card__price--sale {
  color: var(--fd-orange-cta) !important;
  font-weight: 800;
}

.fd-tag-wed-sale {
  display: inline-block;
  background: #ffedd5;
  color: #c2410c;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  width: fit-content;
}

/* ==========================================================================
   Program Enrollment & Inquiry Modal Forms
   ========================================================================== */

.fd-modal__content--form {
  max-width: 620px;
  width: 100%;
}

.fd-program-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.fd-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 560px) {
  .fd-form-row {
    grid-template-columns: 1fr;
  }
}

.fd-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fd-text-main);
}

.fd-req {
  color: #dc2626;
}

.fd-form-select,
.fd-form-input,
.fd-form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--fd-border-strong);
  border-radius: var(--fd-radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--fd-text-main);
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.fd-form-select:focus,
.fd-form-input:focus,
.fd-form-textarea:focus {
  outline: none;
  border-color: var(--fd-green-primary);
  box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.15);
}

.fd-form-hint {
  font-size: 0.75rem;
  color: var(--fd-text-muted);
  line-height: 1.35;
}

.fd-form-summary-box {
  background: #f0f7f1;
  border: 1px solid #d1e7d5;
  border-radius: var(--fd-radius-sm);
  padding: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #14532d;
}

.fd-btn--full {
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Success Confirmation Screen in Dialog */
.fd-prog-success {
  text-align: center;
  padding: 1.5rem 1rem;
}

.fd-prog-success__icon {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.fd-prog-success__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fd-green-dark);
  margin-bottom: 0.5rem;
}

.fd-prog-success__desc {
  font-size: 0.88rem;
  color: var(--fd-text-muted);
  line-height: 1.5;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.fd-prog-success__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Flat Vector Icons Architecture
   ========================================================================== */

.fd-icon {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  display: inline-block;
  flex-shrink: 0;
  stroke-width: 2;
  transition: transform 0.16s ease, color 0.16s ease, stroke 0.16s ease;
}

.fd-icon--xs {
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.1em;
}

.fd-icon--sm {
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.12em;
}

.fd-icon--lg {
  width: 1.45em;
  height: 1.45em;
  vertical-align: -0.22em;
}

.fd-icon--xl {
  width: 2.2rem;
  height: 2.2rem;
}

.fd-icon--heart {
  width: 1.25rem;
  height: 1.25rem;
  color: #dc2626;
}

.fd-icon--heart-active {
  color: #dc2626;
  fill: #dc2626;
}

.fd-icon--cart {
  width: 1.35rem;
  height: 1.35rem;
}

.fd-icon--section {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.45rem;
  vertical-align: -0.15em;
  color: var(--fd-green-primary);
}

.fd-icon--check {
  color: #16a34a;
}

.fd-icon--cross {
  color: #dc2626;
}

/* Storage pill flat icon integration */
.fd-card__storage-pill .fd-icon {
  width: 12px;
  height: 12px;
  margin-right: 3px;
  vertical-align: -1px;
}

/* Freshness badge flat icon */
.fd-card__freshness .fd-icon {
  width: 12px;
  height: 12px;
  margin-right: 3px;
  vertical-align: -1px;
  color: var(--fd-green-primary);
}

/* Card Stepper Flat Buttons */
.fd-stepper__btn .fd-icon {
  width: 12px;
  height: 12px;
  vertical-align: 0;
}

/* Card Add Button Flat Icon */
.fd-add-btn .fd-icon {
  width: 13px;
  height: 13px;
  margin-right: 2px;
}

/* Flat fallback when image fails */
.fd-card__flat-fallback {
  color: var(--fd-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  width: 100%;
  height: 100%;
}

/* Promo Card Icon SVG */
.fd-promo-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--fd-green-dark);
}

.fd-promo-card--wednesday .fd-promo-card__icon svg {
  stroke: var(--fd-orange-cta);
}
.fd-promo-card--chef .fd-promo-card__icon svg {
  stroke: #7c3aed;
}
.fd-promo-card--school .fd-promo-card__icon svg {
  stroke: #0284c7;
}
.fd-promo-card--nutritionist .fd-promo-card__icon svg {
  stroke: var(--fd-green-primary);
}


