:root {
  font-family: Inter, Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #333;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }
#root { width: 100%; min-height: 100vh; }

/* Extra-small device safety net: prevent accidental horizontal overflow. */
html, body, #root { max-width:100%; overflow-x:hidden; }
img, video, iframe { max-width:100%; }
@media (max-width: 380px) {
  html { font-size:15px; }
  button, input, select, textarea { max-width:100%; }
}
:root {
  --nuf-green: #315f38;
  --nuf-green-dark: #244a2d;
  --nuf-maroon: #6f1d2b;
  --nuf-maroon-dark: #58151f;
  --nuf-gold: #b38a3c;
  --nuf-ink: #2d2824;
  --nuf-muted: #756d66;
  --nuf-cream: #fbf7f0;
  --nuf-white: #fff;
  --nuf-line: #e6ddd3;
}

html, body { margin: 0; padding: 0; }
body { background: var(--nuf-cream); color: var(--nuf-ink); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--nuf-gold); outline-offset: 3px; }

/* Shared site chrome only. Page-specific visual rules live in their own CSS files. */
.topbar { background: var(--nuf-green-dark); }
.navbar { box-shadow: 0 1px 0 rgba(45,40,36,.08); }
.navbar-menu li a, .navbar-menu li .navbar-section-link { text-transform: none; font-size: 12px; font-weight: 600; letter-spacing: .01em; }

/* Home sections alternate white and very-light cream. */
.home { width: 100%; overflow-x: hidden; }
.home > .home-section { width: 100%; margin: 0; border: 0; box-sizing: border-box; }
.home-section-white { background: #fff; }
.home-section-cream { background: #faf7f0; }

/* Keep inner pages clean when a page has no full-width background rule of its own. */
.products-page, .gallery-page, .about-page, .certificate-page, .contact-page { background: #fff; }

/* Product cards keep the shared brand finish without controlling page layout. */
.product-card, .category-card, .wishlist-card { border-color: var(--nuf-line); }
.add-to-cart-button, .wishlist-cart-button, .delivery-order-btn, .about-btn, .about-final-btn, .certificate-open { background: var(--nuf-maroon); border-color: var(--nuf-maroon); color: #fff; }
.add-to-cart-button:hover, .wishlist-cart-button:hover, .delivery-order-btn:hover, .about-btn:hover, .about-final-btn:hover:hover, .certificate-open:hover { background: var(--nuf-maroon-dark); border-color: var(--nuf-maroon-dark); }
.buy-now-button { background: var(--nuf-green); border-color: var(--nuf-green); }

@media (max-width: 650px) {
  .mobile-menu-toggle { color: #fff; }
}

/* =========================================================
   Premium UI refinement pass
   - tighter design-system rhythm
   - stronger tablet layouts
   - safer mobile controls and CTAs
   - consistent cards, forms and focus states
   ========================================================= */
:root {
  --nuf-radius-sm: 8px;
  --nuf-radius-md: 12px;
  --nuf-radius-lg: 16px;
  --nuf-shadow-soft: 0 8px 24px rgba(45,40,36,.055);
  --nuf-shadow-hover: 0 14px 34px rgba(45,40,36,.10);
}

button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }

.product-card, .category-card, .wishlist-card {
  border-radius: var(--nuf-radius-md);
  box-shadow: var(--nuf-shadow-soft);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover, .category-card:hover, .wishlist-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nuf-shadow-hover);
}

.add-to-cart-button, .wishlist-cart-button, .delivery-order-btn, .about-btn,
.about-final-btn, .certificate-open, .buy-now-button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
}

.contact-form input, .contact-form textarea,
.contact-form-page input, .contact-form-page textarea,
.checkout-page input, .checkout-page select, .checkout-page textarea,
.payment-page input, .payment-page select, .payment-page textarea {
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus,
.contact-form-page input:focus, .contact-form-page textarea:focus,
.checkout-page input:focus, .checkout-page select:focus, .checkout-page textarea:focus,
.payment-page input:focus, .payment-page select:focus, .payment-page textarea:focus {
  border-color: #315f38;
  box-shadow: 0 0 0 3px rgba(49,95,56,.10);
}

/* Tablet: give the 681–980px range its own breathing room instead of merely shrinking desktop. */
@media (max-width: 980px) and (min-width: 651px) {
  .home-why-section, .home-about-section, .home-certificate-section,
  .home-manufacturing-section, .home-testimonials-section,
  .home-delivery-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .products-page, .gallery-page, .about-page, .certificate-page,
  .contact-page {
    overflow-x: hidden;
  }
  .product-card, .category-card, .wishlist-card { min-width: 0; }
}

/* Tablet/intermediate commerce layouts. */
@media (max-width: 820px) and (min-width: 561px) {
  .product-card, .wishlist-card { border-radius: 12px; }
  .product-card img, .wishlist-card img { object-fit: contain; }
}

/* Mobile: make the interaction hierarchy obvious and prevent cramped buttons. */
@media (max-width: 650px) {
  .home-why-section, .home-about-section, .home-certificate-section,
  .home-manufacturing-section, .home-testimonials-section,
  .home-delivery-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .product-card:hover, .category-card:hover, .wishlist-card:hover { transform: none; }
  .add-to-cart-button, .wishlist-cart-button, .delivery-order-btn,
  .about-btn, .about-final-btn,
  .certificate-open, .buy-now-button { min-height: 44px; }

  .navbar-search { max-width: none; }
  .navbar-icon-item { min-width: 0; }

  .contact-submit-row { width: 100%; }
  .contact-submit-row button { width: 100%; }
}

@media (max-width: 480px) {
  .product-card, .category-card, .wishlist-card { border-radius: 10px; }
  .product-card:hover, .category-card:hover, .wishlist-card:hover { box-shadow: var(--nuf-shadow-soft); }
}

@media (max-width: 380px) {
  .home-why-section, .home-about-section, .home-certificate-section,
  .home-manufacturing-section, .home-testimonials-section,
  .home-delivery-section { padding-left: 13px; padding-right: 13px; }
}
/*
 * Nav Udaan Foods — Responsive Quality Pass
 * Frontend-only. No API, auth, order, shipping or data contracts changed.
 * Goal: consistent visual quality across desktop / tablet / mobile.
 */

:root {
  --nuf-content-max: 1280px;
  --nuf-gutter: clamp(16px, 3vw, 40px);
  --nuf-section-y: clamp(42px, 5vw, 76px);
  --nuf-text: #2d2824;
  --nuf-muted-strong: #625b55;
  --nuf-surface: #ffffff;
  --nuf-surface-soft: #fbf8f2;
  --nuf-border: #e4dbd0;
  --nuf-focus: rgba(49,95,56,.14);
}

/* ---------- Global readability + media safety ---------- */
body {
  color: var(--nuf-text);
  overflow-x: hidden;
}

p, li { line-height: 1.65; }

button, input, select, textarea { min-height: 42px; }

input, select, textarea { font-size: 14px; }

img { height: auto; }

/* ---------- Shared page shells ---------- */
.products-page,
.gallery-page,
.about-page,
.certificate-page,
.contact-page,
.cart-page,
.wishlist-page,
.checkout-page,
.payment-page,
.track-order-page,
.order-details-page,
.policy-page,
.distributor-page,
.distributor-auth-page,
.distributor-dashboard,
.delivery-login-page,
.delivery-register-page,
.admin-login-page,
.admin-shell {
  min-height: 100vh;
}

/* Prevent overly wide reading lines on content-heavy pages. */
.products-section,
.gallery-container,
.checkout-header,
.checkout-layout,
.track-order-header,
.track-order-result,
.order-details-header,
.order-details-main,
.cart-layout,
.wishlist-header,
.wishlist-grid {
  max-width: var(--nuf-content-max);
}

/* ---------- Typography hierarchy ---------- */
.products-section-heading h2,
.gallery-header h1,
.contact-page h1,
.cart-header h1,
.wishlist-header h1,
.checkout-header h1,
.payment-header h1,
.track-order-header h1,
.order-details-header h1 {
  letter-spacing: -.02em;
}

.products-section-heading p,
.gallery-header p,
.contact-page p,
.checkout-header p,
.payment-header p,
.track-order-header p,
.order-details-header p {
  color: var(--nuf-muted-strong);
}

/* ---------- Cards: consistent visual language ---------- */
.product-card,
.wishlist-card,
.category-card,
.feature-card,
.distributor-benefit-card,
.certificate-card,
.checkout-card,
.checkout-summary,
.payment-card,
.track-order-info-card,
.track-order-search-card,
.order-details-card,
.contact-form-panel,
.admin-card,
.delivery-register-card,
.distributor-auth-card,
.support-card {
  border-color: var(--nuf-border);
  border-radius: 14px;
}

/* ---------- Commerce cards ---------- */
.product-image-wrap {
  height: clamp(190px, 18vw, 235px);
  padding: 16px;
}

.product-image {
  object-fit: contain;
  transform: none;
}

.product-card-body { padding: 17px; }
.product-name { font-size: 15px; line-height: 1.35; }
.product-description { font-size: 13px; line-height: 1.55; }
.product-price { font-size: 18px; }
.product-size-row,
.product-option-label { font-size: 12px; }
.product-bottom-row { gap: 10px; }
.add-to-cart-button,
.view-product-button { min-height: 44px; font-size: 13px; }

/* Keep product actions from creating uneven card bottoms. */
.product-card-body {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.product-bottom-row { margin-top: auto; }

/* ---------- Homepage ---------- */
.home-range-section,
.home-why-section,
.home-about-section,
.home-certificate-section,
.home-manufacturing-section,
.home-testimonials-section,
.home-delivery-section,
.home-distributor-section {
  padding-top: var(--nuf-section-y);
  padding-bottom: var(--nuf-section-y);
}

.home-section > * { min-width: 0; }

.home-range-section .section-title,
.home-why-section .why-heading,
.home-certificate-section .certificate-heading,
.home-manufacturing-section .manufacturing-heading,
.home-testimonials-section .testimonials-heading,
.home-delivery-section .delivery-heading {
  margin-bottom: 28px;
}

/* ---------- Header ---------- */
.navbar-part-a {
  width: min(94%, 1360px);
}

.navbar-search input { font-size: 14px; }
.navbar-category { font-size: 13px; }
.navbar-icon-item > span:not(.cart-count):not(.wishlist-count) { font-size: 11px; }
.navbar-icon-circle { width: 38px; height: 38px; }

/* ---------- Forms ---------- */
.contact-form input,
.contact-form textarea,
.contact-form-page input,
.contact-form-page textarea,
.checkout-form-group input,
.checkout-form-group textarea,
.checkout-form-group select,
.payment-page input,
.payment-page select,
.payment-page textarea,
.delivery-form-group input,
.delivery-form-group select,
.delivery-form-group textarea {
  min-height: 44px;
  font-size: 14px;
  border-radius: 8px;
}

.checkout-form-group label,
.delivery-form-group label,
.login-form-group label,
.registration-info-box label {
  font-size: 12px;
}

.contact-form button,
.checkout-place-order,
.delivery-login-button,
.delivery-register-button,
.login-submit-button,
.auth-submit,
.primary-action {
  min-height: 46px;
  font-size: 14px;
}

/* ---------- Checkout: desktop-first, mobile-friendly ---------- */
.checkout-page { padding-left: var(--nuf-gutter); padding-right: var(--nuf-gutter); }
.checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 30px; }
.checkout-card, .checkout-summary { box-shadow: 0 8px 26px rgba(45,40,36,.045); }
.checkout-card { padding: clamp(20px, 2.2vw, 30px); }
.checkout-summary { padding: clamp(20px, 2.2vw, 28px); }

/* ---------- Cart / wishlist ---------- */
.cart-page,
.wishlist-page { padding-left: var(--nuf-gutter); padding-right: var(--nuf-gutter); }

.cart-item {
  min-width: 0;
  border-radius: 14px;
}
.cart-item-image img,
.wishlist-product-image {
  object-fit: contain;
}
.cart-quantity button,
.cart-remove-button,
.wishlist-remove-button { min-width: 40px; min-height: 40px; }

/* ---------- Track/order ---------- */
.track-order-search-card,
.track-order-info-card,
.order-details-card { box-shadow: 0 8px 24px rgba(45,40,36,.05); }
.track-order-info-grid,
.order-details-two-column { gap: 20px; }
.track-order-step-content { min-width: 0; }

/* ---------- Gallery / certificates ---------- */
.gallery-grid,
.certificate-grid { align-items: stretch; }
.gallery-card,
.certificate-card { min-width: 0; overflow: hidden; }
.gallery-media-wrapper,
.certificate-card-image { aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-media-wrapper img,
.certificate-card-image img { width: 100%; height: 100%; object-fit: cover; }

/* Certificates are documents: contain is preferable to crop. */
.certificate-card-image img { object-fit: contain; background: #f7f3eb; }

/* ---------- About / distributor storytelling ---------- */
.about-split-section,
.distributor-image-section,
.distributor-image-section-reverse,
.distributor-text-section {
  min-width: 0;
}

.about-photo-frame,
.distributor-section-image,
.distributor-partnership-image,
.distributor-hero-band-image {
  overflow: hidden;
}

.about-photo-frame img,
.distributor-section-image img,
.distributor-partnership-image img,
.distributor-hero-band-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Policy / informational pages ---------- */
.policy-content {
  font-size: 14px;
  line-height: 1.75;
}
.policy-content h2,
.policy-section-heading h2 { line-height: 1.25; }
.policy-faq-list { gap: 12px; }

/* ---------- Dashboard surfaces ---------- */
.dashboard-grid,
.report-grid,
.stat-grid,
.dashboard-welcome,
.admin-toolbar,
.admin-top,
.admin-main,
.admin-sidebar,
.content-editor,
.table-wrap {
  min-width: 0;
}

.stat-card { min-height: 120px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =========================================================
   TABLET — 681–980px
   ========================================================= */
@media (max-width: 980px) and (min-width: 681px) {
  :root { --nuf-gutter: 24px; }

  .navbar-part-a { min-height: 74px; gap: 12px; }
  .navbar-logo img { width: 54px; height: 54px; }
  .navbar-search { flex: 1 1 300px; }
  .navbar-category-wrap { flex-basis: 170px; }
  .navbar-actions { gap: 6px; }

  .products-section { width: min(94%, 1100px); padding-top: 42px; padding-bottom: 58px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .product-image-wrap { height: 205px; }
  .product-card-body { min-height: 220px; }

  .checkout-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .checkout-form-grid { gap: 13px; }

  .gallery-grid,
  .certificate-grid { gap: 18px; }

  .about-split-section,
  .distributor-image-section,
  .distributor-image-section-reverse { gap: 24px; }

  .admin-shell { grid-template-columns: 210px minmax(0,1fr); }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* =========================================================
   MOBILE — <=680px
   ========================================================= */
@media (max-width: 680px) {
  :root {
    --nuf-gutter: 16px;
    --nuf-section-y: 40px;
  }

  body { font-size: 14px; }

  /* Header: compact two-row commerce header. */
  .navbar-part-a {
    width: 94%;
    min-height: 96px;
    padding: 8px 0;
    gap: 7px;
  }
  .navbar-logo img { width: 46px; height: 46px; }
  .navbar-search { height: 42px; }
  .navbar-search input { font-size: 13px; }
  .navbar-search button { width: 44px; flex-basis: 44px; }
  .navbar-mobile-lower { gap: 10px; }
  .navbar-category-wrap { flex-basis: 150px; }
  .navbar-category { min-height: 38px; font-size: 11px; }
  .navbar-icon-item { flex-basis: 38px; }
  .navbar-icon-circle { width: 32px; height: 32px; }
  .navbar-icon-item > span:not(.cart-count):not(.wishlist-count) { font-size: 8px; }

  .navbar-menu { max-height: calc(100vh - 150px); overflow-y: auto; }

  /* Home: reduce empty space and preserve strong section hierarchy. */
  .home-range-section,
  .home-why-section,
  .home-about-section,
  .home-certificate-section,
  .home-manufacturing-section,
  .home-testimonials-section,
  .home-delivery-section,
  .home-distributor-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .home-contact { padding: 40px 0; }

  /* Product listing: two-column compact commerce cards where width permits. */
  .products-section {
    width: calc(100% - 32px);
    padding-top: 34px;
    padding-bottom: 48px;
  }
  .products-hero-inner { width: calc(100% - 32px); padding: 38px 0 34px; }
  .products-hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .products-hero p { font-size: 14px; line-height: 1.6; }
  .products-section-heading { display: block; margin-bottom: 20px; }
  .products-section-heading h2 { font-size: 25px; }
  .products-section-heading p { font-size: 13px; }
  .products-search { width: 100%; margin-top: 16px; }
  .category-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
  .category-tab { flex: 0 0 auto; min-height: 40px; font-size: 12px; }
  .products-result-bar { font-size: 12px; align-items: flex-start; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-image-wrap { height: 168px; padding: 10px; }
  .product-card-body { min-height: 190px; padding: 12px; }
  .product-category { font-size: 10px; }
  .product-name { font-size: 14px; }
  .product-description { display: none; }
  .product-price { font-size: 16px; }
  .product-size-row { font-size: 11px; }
  .product-bottom-row { flex-direction: column; align-items: stretch; }
  .add-to-cart-button,
  .view-product-button { width: 100%; min-height: 42px; font-size: 12px; }

  /* Single-column forms and action blocks. */
  .checkout-page,
  .cart-page,
  .wishlist-page { padding-left: 16px; padding-right: 16px; }

  .checkout-header h1 { font-size: 28px; }
  .checkout-header p { font-size: 13px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 16px; }
  .checkout-summary { position: static; order: -1; }
  .checkout-card { padding: 18px; }
  .checkout-form-grid { grid-template-columns: 1fr; gap: 13px; }
  .checkout-full { grid-column: auto; }
  .payment-methods { grid-template-columns: 1fr; }
  .payment-method { min-height: 68px; }

  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
  .cart-item-actions { grid-column: 1 / -1; justify-content: space-between; }
  .cart-summary { position: static; }

  .wishlist-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .wishlist-card { min-width: 0; }
  .wishlist-content { padding: 12px; }

  /* Details: product media and purchase controls become one focused stack. */
  .product-details-container { grid-template-columns: 1fr; gap: 22px; }
  .product-details-image { min-height: 280px; }
  .product-details-product-image { max-height: 300px; object-fit: contain; }
  .product-details-info { min-width: 0; }
  .product-details-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .product-details-actions button { width: 100%; min-height: 46px; }

  /* Gallery/certificates: consistent visual tiles. */
  .gallery-grid,
  .certificate-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .gallery-media-wrapper,
  .certificate-card-image { aspect-ratio: 1 / 1; }

  /* Storytelling pages stack media and copy deliberately. */
  .about-split-section,
  .distributor-image-section,
  .distributor-image-section-reverse { grid-template-columns: 1fr; gap: 20px; }
  .about-photo-frame,
  .distributor-section-image,
  .distributor-partnership-image { min-height: 220px; }

  .distributor-hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .distributor-hero-actions a,
  .distributor-primary,
  .distributor-secondary { width: 100%; min-height: 46px; }
  .distributor-benefit-grid { grid-template-columns: 1fr; }

  /* Auth and multi-step forms. */
  .login-container,
  .delivery-login-container,
  .distributor-auth-page { padding: 18px 16px; }
  .login-card,
  .delivery-register-card,
  .distributor-auth-card { width: 100%; max-width: 520px; }
  .distributor-step-form,
  .delivery-register-two-column { grid-template-columns: 1fr; }
  .step-actions,
  .registration-navigation { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .step-actions > *,
  .registration-navigation > * { width: 100%; }
  .step-dots { overflow-x: auto; }

  /* Dashboards: never squeeze a desktop table into a phone. */
  .dashboard-grid,
  .report-grid,
  .stat-grid { grid-template-columns: 1fr; gap: 12px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; width: 100%; }
  .admin-nav { overflow-x: auto; }
  .admin-nav-group { display: flex; flex-wrap: wrap; gap: 6px; }
  .admin-nav-label { width: 100%; }
  .admin-toolbar,
  .admin-top,
  .top-actions { flex-wrap: wrap; gap: 10px; }
  .table-wrap { width: 100%; }
  .table-wrap table { min-width: 680px; }

  /* Policy pages: comfortable reading on small screens. */
  .policy-content { font-size: 14px; line-height: 1.75; }
  .policy-section-heading h2 { font-size: 21px; }

  /* Footer/contact: avoid tiny text. */
  .get-in-touch { padding: 40px 0; }
  .get-in-touch-container { width: calc(100% - 32px); padding: 18px; gap: 18px; }
  .contact-heading h2 { font-size: 25px; }
  .contact-heading p,
  .contact-item p,
  .contact-item a { font-size: 13px; }
  .contact-form-panel { padding: 16px; }
  .contact-form input,
  .contact-form textarea { font-size: 14px; }
}

/* =========================================================
   SMALL PHONES — <=420px
   ========================================================= */
@media (max-width: 420px) {
  :root { --nuf-gutter: 13px; }

  .navbar-part-a { width: 96%; min-height: 92px; }
  .navbar-logo img { width: 42px; height: 42px; }
  .navbar-search { height: 40px; }
  .navbar-category-wrap { flex-basis: 132px; }
  .navbar-category { font-size: 10px; }
  .navbar-icon-item { flex-basis: 34px; }
  .navbar-icon-circle { width: 30px; height: 30px; }

  .products-grid,
  .wishlist-grid,
  .gallery-grid,
  .certificate-grid { grid-template-columns: 1fr; }

  .product-image-wrap { height: 220px; }
  .product-card-body { min-height: 0; }
  .product-description { display: block; font-size: 12px; }

  .checkout-page,
  .cart-page,
  .wishlist-page { padding-left: 13px; padding-right: 13px; }

  .checkout-card { padding: 16px; }
  .checkout-header h1 { font-size: 25px; }

  .cart-item { grid-template-columns: 64px minmax(0,1fr); }
}

/* Reduced motion: preserve accessibility without changing the visual hierarchy. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
