/* Layout + small production tweaks on top of design-system.css */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1 0 auto;
}

/* Black logo asset on green main nav */
.ds-brand-logo-on-green {
  filter: brightness(0) invert(1);
}

/* Homepage / catalog helpers */
.catalog-no-results {
  grid-column: 1 / -1;
  text-align: center;
  margin: var(--space-6) 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.catalog-card.is-search-hidden,
.catalog-card.is-category-hidden {
  display: none !important;
}

.catalog-card--campaign {
  outline: 2px solid rgba(255, 107, 107, 0.65);
  outline-offset: 2px;
}

/* Campaign toast (no Bootstrap alert dependency) */
.site-toast {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 400;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
}

.site-toast--success {
  border-color: rgba(40, 167, 69, 0.35);
}

.site-toast--danger {
  border-color: rgba(220, 53, 69, 0.35);
}

.uid-strip {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-canvas);
}

.uid-strip .layered-card-stack {
  align-items: stretch;
}

.uid-strip .status-badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uid-strip .status-badge--success {
  background: #def9ec;
  color: #29a56c;
}

.uid-strip .status-badge--info {
  background: #d1e8f2;
  color: #3e5379;
}

.uid-strip .status-badge--danger {
  background: #fddde4;
  color: #fd6e6e;
}

.footer-contact-extra {
  margin: var(--space-3) 0 0;
}

.footer-link--muted {
  pointer-events: none;
  opacity: 0.7;
}

.campaign-grid-spacer {
  margin-bottom: var(--space-6);
}

.catalog-helper-note {
  text-align: center;
  margin: 0 0 var(--space-6);
}

.back-to-top-wrap {
  text-align: center;
  padding-bottom: var(--space-8);
}

.catalog-price__list {
  display: block;
  margin-top: 0.1rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1.25;
}

.catalog-price__old {
  text-decoration: line-through;
  opacity: 0.8;
}

.uid-strip-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.uid-strip .layered-card-stack {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.uid-product-thumb {
  width: 100%;
  max-width: 14rem;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.uid-card-body-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 768px) {
  .uid-card-body-grid--with-image {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  }
}

.uid-next-order-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line);
}

.uid-next-order-head__icon {
  color: var(--color-accent);
}

.uid-next-order-head__title {
  margin: 0;
  font-size: 1rem;
}

.uid-muted-label {
  margin-bottom: var(--space-1);
}

.uid-next-order-date {
  font-size: 1rem;
  margin: 0 0 var(--space-3);
}

.uid-next-order-weekday {
  display: inline;
}

.uid-orders-cta {
  margin: var(--space-4) 0 0;
}

.uid-card-title {
  margin-top: 0;
}

.uid-recipe-card {
  margin-top: var(--space-4);
}

.uid-recipe-title {
  font-size: 1.05rem;
  margin-top: 0;
}

.uid-recipe-enhance {
  font-style: italic;
}

.uid-recipe-actions {
  margin-top: var(--space-4);
}

.uid-error-list {
  padding-left: 1.25rem;
}

.uid-kicker-wrap {
  margin-bottom: var(--space-2);
}

.uid-nested-card {
  margin-top: var(--space-4);
  padding: var(--space-4);
}

/* -------------------------------------------------------------------------- */
/* The Shed (customer hub) — tokens + layout glue on top of design-system   */
/* -------------------------------------------------------------------------- */

.the-shed-shell {
  --shed-brand-50: #f3f7f4;
  --shed-brand-100: #d2e0d6;
  --shed-brand-300: #8aa893;
  --shed-brand-600: #516e5a;
  --shed-brand-900: #233127;
  --shed-harvest: #c8a86b;
  --shed-earth: #ece3d2;
  --shed-slate-50: #f3f6f8;
  --shed-slate-300: #b0bec5;
  --shed-slate-500: #7a9cb8;
  --shed-slate-700: #41576b;
  --shed-border-soft: var(--color-line, #e4e4e4);
  --shed-text-soft: #5f7367;
  --shed-danger: #ad2e2e;
}

/* Sit customer-hub nav closer to the site header */
.the-shed-shell.page-shell {
  padding-top: var(--space-3);
}

.the-shed-shell .content-panel {
  background: #fff;
  border: none;
  border-radius: var(--radius-lg, 18px);
  box-shadow: none;
  padding: var(--space-5, 22px) 0;
}

/* New order flow (reference order.html): full page-shell width, no bootstrap container */
.the-shed-shell--order-flow .the-shed-page-wrap {
  width: 100%;
  max-width: none;
}

.the-shed-shell--order-flow .the-shed-messages {
  margin-bottom: var(--space-4);
}

.the-shed-shell--order-flow .section {
  width: 100%;
  max-width: none;
}

.the-shed-shell--order-flow .order-page-top-bar,
.the-shed-shell--order-flow .order-list--product-picker.order-list,
.the-shed-shell--order-flow .page-product-order .product-order-layout {
  width: 100%;
  max-width: none;
}

/* Select-products: give product cards more horizontal room on mobile. */
@media (max-width: 680px) {
  .the-shed-shell--order-flow.page-shell:has([data-shed-order-picker]) {
    --content-gutter: 0.5rem;
  }

  .the-shed-shell--order-flow [data-shed-order-picker] .order-list--product-picker .order-list__row {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
}

.the-shed-page-checkout .product-order-info-card .button--order-flow-next {
  width: 100%;
  justify-content: center;
  font-size: 1.125rem;
  min-height: 3.35rem;
  padding: 0.88rem 1.35rem;
}

.the-shed-page-checkout .order-list__row--total .order-list__col-total {
  font-size: 1.15rem;
}

.the-shed-page-checkout .order-list__row--savings .order-list__col-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand);
}

.the-shed-page-checkout .order-list__row--savings + .order-list__row--total {
  margin-top: 0;
  border-top: 0;
  padding-top: var(--space-2);
}

.the-shed-page-checkout .order-list--summary-with-rebate {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, max-content) max-content 5.5rem 6.5rem;
}

.the-shed-page-checkout .order-list__col-rebate {
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--color-brand);
}

.the-shed-page-checkout .order-list--summary .order-list__col-qty {
  justify-content: center;
  text-align: center;
}

.the-shed-page-checkout .order-list__header .order-list__col-rebate,
.the-shed-page-checkout .order-list--summary .order-list__header .order-list__col-qty {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  justify-content: center;
}

.the-shed-page-checkout .order-list__rebate-label {
  display: none;
}

.the-shed-page-checkout .catalog-price__was {
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-size: 0.85em;
}

.the-shed-page-checkout .order-list--summary .order-list__col-price {
  text-align: left;
  justify-content: flex-start;
}

.the-shed-page-checkout .order-list--summary .order-list__col-price.catalog-price,
.the-shed-page-checkout .order-list--summary .order-list__price-value {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35rem;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) {
    grid-template-columns: minmax(11.5rem, 1.6fr) minmax(3.75rem, auto) minmax(3.75rem, auto) minmax(3.75rem, auto);
    grid-template-rows: auto auto;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) .order-list__col-rebate {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: nowrap;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) .order-list__col-qty {
    grid-column: 3;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) .order-list__col-total {
    grid-column: 4;
  }

  .the-shed-page-checkout .order-list__rebate-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    line-height: 1.2;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-product {
    grid-column: 1;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-total {
    grid-column: 2;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-price,
  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-rebate,
  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-qty {
    display: none;
  }
}

/* Checkout mobile: photo + name on one row; Pris / Antall / Sum on the next. */
@media (max-width: 680px) {
  .the-shed-page-checkout #checkout-summary-heading-date {
    display: none;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    column-gap: var(--space-2);
    row-gap: var(--space-2);
    align-items: stretch;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-product {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    border: 0;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .discount-list__thumb,
  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-product .discount-list__thumb {
    width: 3.25rem;
    height: 3.25rem;
    flex-shrink: 0;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .discount-list__main {
    min-width: 0;
    flex: 1 1 auto;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .card-title {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.25;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .product-english-name {
    font-weight: 500;
    color: var(--color-text-muted, #516e5a);
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-price,
  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-rebate,
  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-qty,
  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-total {
    grid-row: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    white-space: nowrap;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-price {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    text-align: left;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-qty {
    grid-column: 2;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .the-shed-page-checkout .order-list--summary .order-list__row:not(.order-list__row--total) .order-list__col-total {
    grid-column: 3;
    align-items: flex-end;
    text-align: right;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) {
    grid-template-columns: minmax(11.5rem, 1.6fr) minmax(3.75rem, auto) minmax(3.75rem, auto) minmax(3.75rem, auto);
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) .order-list__col-rebate {
    grid-column: 2;
    align-items: center;
    text-align: center;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) .order-list__col-qty {
    grid-column: 3;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row:not(.order-list__row--total) .order-list__col-total {
    grid-column: 4;
  }

  .the-shed-page-checkout .order-list__rebate-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    line-height: 1.2;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-product {
    grid-column: 1;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-total {
    grid-column: 2;
  }

  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-price,
  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-rebate,
  .the-shed-page-checkout .order-list--summary-with-rebate .order-list__row--total .order-list__col-qty {
    display: none;
  }
}

/* Right column: keep order list open (no per-order card chrome) */
.the-shed-shell .page-layout.portal-main .portal-main__content .order-card,
.the-shed-shell .page-layout.portal-main .portal-main__content .order-card--featured {
  border: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .the-shed-shell .content-panel {
    padding: var(--space-4, 18px) 0;
  }
}

.site-message {
  border-radius: var(--radius-md, 12px);
  padding: var(--space-3) var(--space-4);
}

.site-message--warning,
.site-message--error {
  border: 1px solid var(--color-line);
}

.site-incident-bar {
  width: 100%;
  padding: 0.65rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
  z-index: 1100;
}

.site-incident-bar__inner {
  width: min(calc(100% - 0rem), var(--max-width, 1200px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  justify-content: center;
  text-align: center;
}

.site-incident-bar__title {
  font-weight: 700;
}

.site-incident-bar__message,
.site-incident-bar__meta {
  opacity: 0.95;
}

.site-incident-bar a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-incident-bar--info {
  background: var(--color-accent, #0369a1);
}

.site-incident-bar--warning {
  background: #b45309;
  color: #fff7ed;
}

.site-incident-bar--critical {
  background: var(--color-danger, #b42318);
}

.service-unavailable {
  padding-block: var(--space-8, 2.5rem);
}

.service-unavailable__panel {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.service-unavailable__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.the-shed-list-unavailable {
  border-left: 3px solid var(--color-danger, #b42318);
  padding-left: 0.85rem;
}

/* Top bar */
.shed-topbar {
  background: transparent;
  padding: 0 0 var(--space-3);
}

.shed-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shed-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--shed-text-soft);
}

.shed-breadcrumb li + .shed-breadcrumb-sep {
  margin: 0 4px;
}

.shed-breadcrumb a {
  color: var(--shed-brand-600);
  text-decoration: none;
  font-weight: 600;
}

.shed-breadcrumb a:hover {
  text-decoration: underline;
}

.shed-breadcrumb span {
  color: var(--shed-brand-900);
}

.shed-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.shed-draft-pill {
  background: var(--shed-harvest);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.shed-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--shed-border-soft);
  background: #fff;
  color: var(--shed-brand-900);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.shed-topbar-btn:hover {
  border-color: var(--shed-brand-300);
  background: var(--shed-brand-50);
}

.shed-topbar-btn:focus-visible {
  outline: 2px solid var(--shed-harvest);
  outline-offset: 2px;
}

.shed-topbar-btn.active {
  background: var(--shed-brand-600);
  border-color: var(--shed-brand-600);
  color: #fff;
}

.shed-topbar-btn.active:hover {
  background: #3d5342;
  border-color: #3d5342;
  color: #fff;
}

.shed-topbar-btn.active i {
  color: #fff;
}

.shed-breadcrumb .shed-topbar-btn.active span {
  color: #fff;
}

.shed-topbar-btn-logout {
  border-color: var(--shed-harvest);
  color: var(--shed-text-soft);
}

.shed-topbar-btn-logout:hover {
  border-color: var(--shed-harvest);
  color: var(--shed-brand-900);
}

@media (max-width: 767px) {
  .shed-topbar-btn span {
    display: none;
  }

  .shed-topbar-btn {
    min-height: 44px;
    padding: 10px 12px;
  }
}

/* The global customer bar supplies this navigation while the header is a drawer. */
@media (max-width: 680px) {
  .shed-topbar {
    display: none;
  }
}

/* Shed dashboard portal (markup aligned to site/customer-index.html) */
.the-shed-shell .page-layout.portal-main {
  margin-top: var(--space-4);
}

.the-shed-list-empty {
  margin: 0;
  color: var(--shed-text-soft);
}

/* The Shed — new order step indicator (shared across date / products / checkout) */
.the-shed-new-order-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  position: relative;
}

.the-shed-new-order-steps::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-line, #e9ecef);
  z-index: 0;
}

.the-shed-new-order-steps__item {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: 0 var(--space-2);
  background: var(--color-surface, #fff);
  color: var(--color-text-muted, #7e7e7e);
  font-size: 0.8rem;
  font-weight: 500;
  max-width: 33%;
}

.the-shed-new-order-steps__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--color-line, #e9ecef);
  color: #fff;
}

.the-shed-new-order-steps__item.is-done .the-shed-new-order-steps__num,
.the-shed-new-order-steps__item.is-active .the-shed-new-order-steps__num {
  background: var(--shed-brand-600, #516e5a);
}

.the-shed-new-order-steps__item.is-active {
  color: var(--shed-brand-600, #516e5a);
  font-weight: 700;
}

@media (max-width: 640px) {
  .the-shed-new-order-steps__label {
    font-size: 0.68rem;
    line-height: 1.2;
  }
}

/* The Shed — new order date step (design-system new-order-layout) */
.the-shed-page-new-order .new-order-layout {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}

.the-shed-page-new-order .new-order-layout__col--calendar .new-order-date-block,
.the-shed-page-new-order .new-order-delivery-dates {
  max-width: none;
}

.the-shed-page-new-order .new-order-layout__col--actions {
  justify-self: stretch;
}

.the-shed-page-new-order .new-order-intro__header,
.the-shed-page-new-order .new-order-intro__note {
  max-width: min(28rem, 100%);
}

.the-shed-page-new-order .new-order-intro__note {
  margin: 0;
  line-height: 1.55;
}

.the-shed-page-new-order .new-order-intro__note a {
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.the-shed-page-new-order .new-order-intro__note a:hover {
  color: var(--color-accent);
}

.the-shed-page-new-order .new-order-layout__actions-stack {
  align-items: stretch;
}

.the-shed-page-new-order .new-order-layout__actions .button {
  width: 100%;
}

.the-shed-page-new-order .new-order-delivery-dates__btn.category-filter-btn {
  min-height: 4.1rem;
  padding: 0.55rem 0.4rem;
  background: var(--color-surface-alt, #d2e0d6);
  border: 2px solid var(--color-brand, #233127);
  box-shadow: none;
}

.the-shed-page-new-order .new-order-delivery-dates__btn.category-filter-btn.is-active {
  background: var(--color-surface-dark, #233127);
  border-color: var(--color-surface-dark, #233127);
  color: #fff;
}

.the-shed-page-new-order .new-order-delivery-dates__btn-weekday {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
}

.the-shed-page-new-order .new-order-delivery-dates__btn-date {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.the-shed-page-new-order .the-shed-new-order-date-form textarea {
  min-height: 7rem;
}

.the-shed-page-new-order .the-shed-new-order-date-form .field-hint {
  margin-top: var(--space-2);
}

.the-shed-page-new-order .the-shed-selected-date-summary {
  border-radius: var(--radius-md, 12px);
  background: transparent;
  border: 2px solid var(--color-brand, #233127);
  color: var(--color-brand, #233127);
  font-weight: 700;
  margin: 0 0 var(--space-3);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  white-space: pre-line;
  box-shadow: none;
}

.the-shed-page-new-order .the-shed-selected-date-summary:empty {
  display: none;
}

.the-shed-page-new-order .the-shed-selected-date-summary--mobile {
  display: none;
}

.the-shed-page-new-order .new-order-delivery-dates__btn.category-filter-btn:disabled,
.the-shed-page-new-order .new-order-delivery-dates__btn--unavailable.category-filter-btn {
  cursor: not-allowed;
  border-color: rgba(35, 49, 39, 0.35);
  background: transparent;
  color: rgba(75, 85, 99, 0.72);
  box-shadow: none;
  opacity: 1;
}

.the-shed-page-new-order .new-order-delivery-dates__slot--unavailable {
  cursor: help;
}

.the-shed-page-new-order .new-order-delivery-dates__btn--unavailable .new-order-delivery-dates__btn-date {
  opacity: 0.75;
}

@media (max-width: 980px) {
  .the-shed-page-new-order .new-order-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .the-shed-page-new-order .the-shed-selected-date-summary--desktop {
    display: none;
  }

  .the-shed-page-new-order .the-shed-selected-date-summary--mobile {
    display: block;
  }
}

/* Content block media gallery */
.content-block__layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-block__media {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.content-block__media--gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
}

.content-block__figure {
  margin: 0;
}

.content-block__image,
.packaging-gallery .content-block__image {
  display: block;
  width: 100%;
  max-width: 26rem;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.content-block__media--gallery .content-block__image {
  max-width: none;
  aspect-ratio: 4 / 3;
}

.content-block--media-start .content-block__layout,
.content-block--media-end .content-block__layout {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
  align-items: start;
  gap: 1rem 1.25rem;
}

.content-block--media-end .content-block__layout {
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 14rem);
}

.content-block--media-end .content-block__media {
  order: 2;
}

.content-block--media-end .content-block__body {
  order: 1;
}

.content-block--media-start .content-block__image,
.content-block--media-end .content-block__image {
  max-width: none;
}

@media (max-width: 720px) {
  .content-block--media-start .content-block__layout,
  .content-block--media-end .content-block__layout {
    display: flex;
    flex-direction: column;
  }

  .content-block--media-end .content-block__media,
  .content-block--media-end .content-block__body {
    order: initial;
  }
}

.packaging-gallery {
  margin: 0 0 1rem;
  max-width: 42rem;
}

/* Product packaging block: text + image share one content column. */
.packaging-section .packaging-title,
.packaging-section .packaging-description {
  max-width: 42rem;
}

.packaging-section .packaging-image,
.packaging-section .content-block__image {
  display: block;
  width: 100%;
  max-width: 42rem;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.packaging-section .content-block__media:not(.content-block__media--gallery) {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.packaging-section .content-block__media--gallery .content-block__image {
  max-width: none;
}
