@font-face {
  font-family: "Exo 2";
  src: url("assets/exo2-latin-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Exo 2";
  src: url("assets/exo2-latin-ext-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #21503f;
  --dark: #173d31;
  --sage: #e3e9de;
  --gold: #d8b47d;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --ink: #253b31;
  --muted: #526359;
  --line: #dbdfd5;
  --error: #86392b;
  --radius: 8px;
  --serif: Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --shoptet-font: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.5 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--dark); line-height: 1.15; }
h1 { font: 700 clamp(1.9rem, 2.8vw, 2.65rem)/1.12 var(--serif); }
h2 { font: 700 1.4rem/1.18 var(--serif); }
p + p { margin-top: .75rem; }
button, a, input, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid #90632b; outline-offset: 3px; }
#app:focus { outline: none; }
.text-link { font-weight: 650; text-underline-offset: .2em; }
.muted { color: var(--muted); font-size: .86rem; }
.number { white-space: nowrap; }

button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: .56rem .9rem;
  background: var(--green);
  color: white;
  font: 700 .86rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover, .button:hover { background: var(--dark); }
button:disabled { opacity: .56; cursor: not-allowed; }
.gold { background: var(--gold); color: var(--dark); }
.gold:hover { background: #ebc998; }
input, select {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #aebcb0;
  border-radius: 5px;
  padding: .5rem .65rem;
  background: white;
  color: var(--ink);
  font: inherit;
}

input[type="radio"], input[type="checkbox"] {
  min-height: auto;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  vertical-align: middle;
  accent-color: var(--green);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: .5rem 1rem;
  border-radius: 4px;
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

/* Storefront */
.shell { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.storefront { min-height: 100vh; display: flex; flex-direction: column; }
.storefront.home-page { background: var(--cream); }
.storefront main { flex: 1; min-height: 55vh; padding-block: 26px 46px; }
.store-strip { background: var(--dark); color: white; font-size: .78rem; }
.strip-content { display: flex; justify-content: flex-end; align-items: center; padding-block: .48rem; }
.strip-content a { text-decoration: none; }
.strip-content a:hover { text-decoration: underline; }
.strip-content .admin-entry { color: #f2d29e; font-weight: 700; }

.store-header-wrap { background: var(--paper); }
.store-header {
  display: grid;
  grid-template-columns: max-content minmax(0, 540px) max-content;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: 22px;
}

.logo {
  display: inline-block;
  color: var(--dark);
  font: 700 2.45rem/.96 var(--serif);
  letter-spacing: .12em;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  display: block;
  margin-top: .45rem;
  font: 600 .69rem/1.25 var(--sans);
  letter-spacing: .025em;
}

.store-header .logo { font-size: 2.8rem; }
.store-header .logo span { font: italic 400 .84rem/1.25 var(--serif); }
.store-search { min-width: 0; }
.store-support { display: inline-block; margin-bottom: .3rem; color: var(--muted); font-size: .82rem; text-decoration: none; }
.store-support:hover { text-decoration: underline; }
.search { display: flex; min-width: 0; }
.search input { flex: 1; width: 0; border-radius: 5px 0 0 5px; }
.search button { border-radius: 0 5px 5px 0; }
.cart-control { position: relative; }
#cartlink { background: var(--sage); border-color: #bfcebd; color: var(--dark); white-space: nowrap; }
#cartlink:hover, #cartlink[aria-expanded="true"] { background: var(--green); color: white; }
#cart-preview {
  position: absolute;
  z-index: 3;
  top: calc(100% + 9px);
  right: 0;
  width: min(415px, calc(100vw - 28px));
  box-shadow: 0 10px 28px #183d3128;
}

.preview-line {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .55rem;
  padding-block: .65rem;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
}

.preview-line img, .basket-line img, .thumbnail { object-fit: contain; background: var(--cream); border-radius: 4px; }
.preview-line img { width: 36px; height: 36px; }
.preview-line a { text-decoration: none; }
.preview-line a:hover { text-decoration: underline; }
.preview-line b { white-space: nowrap; }
.preview-total { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }

.store-nav { background: var(--sage); border-block: 1px solid #cdd8cc; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.65rem; }
.nav-links a {
  display: inline-block;
  padding: .76rem .15rem .58rem;
  border-bottom: 3px solid transparent;
  color: var(--dark);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover, .nav-links [aria-current="page"] { border-bottom-color: var(--green); }
.catalog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; margin-bottom: 18px; }
.catalog-head p { color: var(--muted); font-size: .86rem; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.card-photo { display: grid; place-items: center; padding: 12px 14px; background: var(--cream); border-bottom: 1px solid var(--line); }
.card-photo img { width: 100%; height: 167px; object-fit: contain; }
.card-info { display: flex; flex: 1; flex-direction: column; align-items: start; gap: .38rem; padding: 13px; }
.product-meta { display: flex; justify-content: space-between; gap: .25rem; width: 100%; color: var(--muted); font-size: .74rem; }
.product-meta a, .card h2 a { text-decoration: none; }
.product-meta a:hover, .card h2 a:hover { text-decoration: underline; }
.card h2 { font-size: 1.16rem; }
.availability { display: inline-flex; align-items: center; gap: .35rem; font-size: .81rem; font-weight: 700; }
.availability::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.in-stock, .discount { color: var(--green); }
.out-of-stock, .form-error { color: var(--error); }
.buy-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; margin-top: auto; padding-top: .42rem; }
.price { color: var(--dark); font-size: 1.13rem; font-weight: 750; white-space: nowrap; }
.purchase-form { display: flex; align-items: center; gap: .3rem; }
.purchase-form input { width: 3.1rem; padding: .4rem; }
.card .purchase-form button { padding-inline: .55rem; font-size: .77rem; }

.split-banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: 10px; }
.split-banner-copy { align-self: center; padding: clamp(20px, 3vw, 40px); }
.split-banner-copy h1 + p { margin: .9rem 0 1rem; max-width: 56ch; }
.split-banner-copy .eyebrow { margin-bottom: .65rem; letter-spacing: .12em; }
.split-banner-photo { position: relative; min-width: 0; }
.split-banner-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.home-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: 292px; background: #eee6d7; }
.home-hero h1 { max-width: 18ch; font-size: clamp(2rem, 3.25vw, 3.15rem); }
.home-hero img { object-position: 73% center; }
.home-selection { margin-top: 24px; scroll-margin-top: 14px; }
.home-selection .catalog-head { margin-bottom: 14px; }
.home-selection .catalog-head h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.home-selection .card-photo { padding: 10px; border: 0; background: white; }
.home-selection .card-photo img { height: auto; aspect-ratio: 1.48; border-radius: 5px; object-fit: cover; }

.about-hero { min-height: 320px; background: var(--paper); }
.about-hero h1 { max-width: 20ch; }
.about-hero img { object-position: 48% center; }
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.founders article { padding-block: 18px 24px; text-align: center; background: var(--paper); }
.founders h3 { font: 700 1.2rem/1.25 var(--serif); }
.founders p { margin-top: .55rem; color: var(--muted); font-size: .88rem; }
.founder-initial { display: grid; place-items: center; width: 62px; aspect-ratio: 1; margin: 0 auto .8rem; border-radius: 50%; background: var(--sage); color: var(--green); font: 700 1.9rem/1 var(--serif); }
.mission { margin-block: 28px 18px; padding: 14px clamp(0px, 2vw, 28px); }
.mission p { margin-top: .7rem; max-width: 100ch; }
.shop-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 16px 20px; border-radius: 6px; background: var(--sage); font-size: .88rem; list-style: none; }
.shop-facts strong { display: block; color: var(--dark); }

.breadcrumb { margin-bottom: .9rem; color: var(--muted); font-size: .84rem; }
.detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.detail-photo { display: grid; place-items: center; padding: 18px; background: var(--cream); }
.detail-photo img { width: 100%; height: clamp(235px, 32vw, 385px); object-fit: contain; }
.detail-info { padding: clamp(16px, 3vw, 34px); }
.detail-info > p { margin-block: .65rem; }
.eyebrow { display: inline-block; margin-bottom: .55rem; color: var(--green); font-weight: 750; font-size: .75rem; letter-spacing: .055em; text-transform: uppercase; text-decoration: none; }
.age-tag { margin-left: .4rem; padding: .12rem .4rem; border-radius: 4px; background: var(--cream); font-size: .75rem; font-weight: 700; }
.detail-buy { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.15rem; }
.detail-buy .price { font-size: 1.55rem; }
.detail-buy label { margin-right: .22rem; font-size: .84rem; }
.product-spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem .9rem; border-block: 1px solid var(--line); padding-block: .9rem; font-size: .88rem; }
.product-spec dt { color: var(--muted); }
.product-spec dd { margin: 0; overflow-wrap: anywhere; }
.section-heading { margin: 1.55rem 0 .85rem; }

.layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: 18px; margin-block: 16px; }
.panel { padding: clamp(14px, 2vw, 22px); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.panel h2 + p { margin-top: .65rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 20px; padding: 0; overflow: hidden; list-style: none; border-radius: 6px; background: var(--line); }
.steps li { display: flex; align-items: center; gap: .5rem; padding: .65rem .75rem; background: var(--sage); font-size: .85rem; }
.steps li span { display: grid; flex: 0 0 1.4rem; height: 1.4rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .74rem; }
.steps [aria-current="step"] { background: var(--dark); color: white; font-weight: 750; }
.basket { margin: 0; list-style: none; }
.basket-line { display: grid; grid-template-columns: 54px minmax(0, 1fr) 3.6rem max-content auto; align-items: center; gap: .65rem; padding-block: .6rem; }
.basket-line + .basket-line { border-top: 1px solid var(--line); }
.basket-line img { width: 54px; height: 54px; }
.remove { min-height: 34px; min-width: 34px; padding: 0; background: var(--cream); color: var(--dark); font-size: 1.1rem; }
.remove:hover { color: white; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: .55rem; margin: .7rem 0; }
.summary-row b, .summary-row strong { white-space: nowrap; }
.total { padding: .7rem .8rem; border-radius: 5px; background: var(--sage); color: var(--dark); font-size: 1.05rem; }
.total:last-child { margin-bottom: 0; }
fieldset { min-width: 0; margin: 0 0 .9rem; border: 1px solid var(--line); border-radius: 5px; padding: .35rem .6rem .55rem; }
legend { padding-inline: .3rem; color: var(--dark); font-weight: 750; }
.method-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .55rem .35rem; cursor: pointer; }
.method-option + .method-option { border-top: 1px solid var(--line); }
.method-option:has(:checked) { background: var(--sage); }
.coupon-label, .status-field { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-weight: 650; }
.coupon-label input { flex: 1 1 9rem; max-width: 17rem; }
#coupon-message { min-height: 1.35em; margin-block: .3rem; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem; margin-top: 1rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .9rem; margin-block: 1rem; }
.fields label { display: grid; gap: .24rem; font-weight: 650; font-size: .86rem; }
.fields input { font-weight: 400; }
.age-confirmation { border-color: #bdcbb9; background: var(--sage); }
.age-confirmation label { display: flex; align-items: center; gap: .55rem; padding: .4rem .3rem; }
.age-confirmation input[type="checkbox"] { flex-shrink: 0; }
.identity-photo-field { margin: .45rem .3rem .2rem; padding-top: .65rem; border-top: 1px solid #bdcbb9; }
.identity-photo-field label { padding: 0; font-weight: 700; }
.identity-photo-field > p { margin: .3rem 0 .6rem; }
.identity-photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.identity-photo-actions button, .identity-picker {
  min-height: 40px;
  padding: .4rem .65rem;
  border: 1px solid #aebcb0;
  border-radius: 5px;
  background: var(--paper);
  color: var(--dark);
  font: 700 .84rem/1.25 var(--sans);
}
.identity-picker { position: relative; display: inline-flex; align-items: center; }
.identity-picker input { position: absolute; inset: 0; width: 100%; min-height: 0; opacity: 0; cursor: pointer; }
.identity-photo-actions button:hover, .identity-picker:hover { background: var(--cream); }
.identity-picker:focus-within { outline: 2px solid #90632b; outline-offset: 3px; }
.identity-photo-field .photo-feedback { margin-bottom: 0; font-size: .86rem; }
.confirmation { max-width: 655px; }
.confirmation h1 + p { margin-top: .65rem; }
.confirmation .form-actions { justify-content: flex-start; column-gap: 1.3rem; }

.store-footer { background: var(--dark); color: white; }
.footer-content { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 2.3rem; padding-block: 24px; font-size: .82rem; }
.store-footer .logo, .sidebar .logo { color: white; font-size: 2rem; }
.platform-logo { width: 116px; height: auto; margin-left: auto; border-radius: 5px; padding: 6px 8px; background: white; }
.toast { position: fixed; z-index: 5; right: 14px; bottom: 14px; max-width: calc(100vw - 28px); padding: .65rem .95rem; border-radius: 5px; background: var(--dark); color: white; box-shadow: 0 4px 16px #183d313d; }
.toast:empty { padding: 0; box-shadow: none; }

/* Administration */
.backoffice { --sans: var(--shoptet-font); display: grid; grid-template-columns: 174px minmax(0, 1fr); min-height: 100vh; background: #f1f3ed; }
.sidebar { padding: 14px 10px; background: var(--dark); color: white; }
.sidebar .logo { padding: 0 8px; font-size: 1.65rem; }
.sidebar .logo span { color: #f2d29e; }
.sidebar nav { display: grid; gap: .12rem; margin-top: 15px; }
.sidebar nav a, .store-link { display: block; padding: .45rem .55rem; border-radius: 5px; text-decoration: none; font-size: .85rem; }
.sidebar nav a:hover { background: var(--green); }
.sidebar nav [aria-current="page"] { background: var(--gold); color: var(--dark); font-weight: 750; }
.sidebar nav [aria-current="page"]:hover { background: var(--gold); }
.admin-workspace { min-width: 0; }
.admin-header { display: flex; justify-content: flex-end; align-items: center; gap: 12px; min-height: 43px; padding: 4px clamp(12px, 2vw, 24px); border-bottom: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: .8rem; }
.store-link { background: var(--sage); color: var(--dark); font-weight: 700; }
.store-link:hover { background: #d6e1d4; }
.backoffice main { min-width: 0; width: 100%; max-width: 1380px; padding: 14px clamp(12px, 2vw, 24px) 25px; }
.backoffice h1 { margin: 0 0 12px; font: 750 clamp(1.45rem, 2vw, 1.7rem)/1.13 var(--sans); }
.backoffice .admin-overview h1 { font-size: 1.5rem; }
.backoffice h2 { font: 750 1.15rem/1.3 var(--sans); }
.overview-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 10px; }
.overview-views { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.overview-views a { display: block; padding: .34rem .7rem; border-radius: 4px; color: var(--muted); font-size: .84rem; font-weight: 650; text-decoration: none; }
.overview-views a:hover { background: var(--cream); color: var(--dark); }
.overview-views [aria-current="page"], .overview-views [aria-current="page"]:hover { background: var(--green); color: white; }
.overview-period { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .84rem; }
.overview-period strong { color: var(--dark); }
.overview-period select { min-height: 34px; padding: .32rem .5rem; color: var(--dark); font-weight: 650; }
.overview-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.overview-summary.forecast-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.overview-summary .panel { display: grid; align-content: start; gap: 2px; border-left: 3px solid var(--green); padding: 8px 12px; font-size: .83rem; color: var(--muted); }
.overview-summary strong { color: var(--dark); font-size: 1.28rem; line-height: 1.18; }
.overview-summary small { line-height: 1.25; }
.forecast-summary .panel:last-child { border-left-color: var(--gold); }
.overview-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.order-chart { min-width: 0; padding: 11px 12px 9px; }
.backoffice .order-chart h2, .backoffice .overview-recent h2 { font-size: 1rem; }
.chart-bars { display: grid; grid-template-columns: repeat(var(--columns), minmax(56px, 1fr)); gap: 6px; margin: 8px 0 0; padding: 0; overflow-x: auto; list-style: none; }
.chart-bars li { display: grid; grid-template-rows: auto 92px minmax(2.3em, auto); gap: 3px; color: var(--muted); text-align: center; font-size: .71rem; line-height: 1.2; }
.chart-bars strong { color: var(--dark); font-size: .78rem; font-variant-numeric: tabular-nums; }
.chart-track { display: flex; justify-content: center; align-items: end; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, #fff 0 22px, #edf1e9 22px 23px); }
.chart-track i { width: 50%; max-width: 38px; border-radius: 3px 3px 0 0; background: var(--green); }
.order-chart-count .chart-track i { background: #bc8d47; }
.chart-empty { display: grid; place-items: center; min-height: 132px; margin: 8px 0 0; background: #f6f7f2; color: var(--muted); padding: 16px; text-align: center; font-size: .85rem; }
.overview-recent { margin-top: 13px; }
.overview-recent h2 { margin-bottom: 7px; }
.overview-recent th, .overview-recent td { padding: .46rem .68rem; }
.forecast-source { margin-top: 10px; color: var(--muted); font-size: .82rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.stats .panel { display: grid; align-content: start; gap: .3rem; border-top: 3px solid var(--green); font-size: .86rem; }
.stats strong { color: var(--green); font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.1; }
.stats small { color: var(--muted); }
.stats + .order-chart { margin-top: .95rem; }
.table-wrap { overflow-x: auto; }
.table-wrap.panel { padding: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .85rem; }
th, td { padding: .68rem .8rem; border-bottom: 1px solid var(--line); }
th { background: var(--sage); color: var(--dark); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbf7; }
td a { font-weight: 700; text-underline-offset: .18em; }
td input { width: 5rem; }
.thumbnail { display: inline-block; width: 37px; height: 36px; margin-right: .55rem; vertical-align: middle; }
.status-pill { display: inline-block; padding: .25em .5em; border-radius: 4px; background: var(--sage); color: var(--dark); font-size: .78rem; font-weight: 680; white-space: nowrap; }
.status-0 { background: var(--cream); color: #634619; }
.status-1 { background: #f5e5c9; color: #634619; }
.status-2 { background: #e1ecea; color: var(--dark); }
.status-field { margin-top: .7rem; }
.status-field select { max-width: 100%; }
.layout .table-wrap { margin-top: .65rem; }
.settings-panel { max-width: 690px; }
.settings-panel p { margin-bottom: .9rem; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .shell { width: calc(100% - 36px); }
  .store-header { gap: 1rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .backoffice { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .sidebar { padding: 10px 12px; }
  .sidebar .logo { padding-inline: 6px; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 3px; margin-top: .45rem; }
  .sidebar nav a { padding: .35rem .48rem; }
}

@media (max-width: 700px) {
  .split-banner { grid-template-columns: minmax(0, 1fr); }
  .home-hero, .about-hero { min-height: 0; }
  .split-banner-photo { aspect-ratio: 2.35; }
  .about-hero img { object-position: 73% center; }
}

@media (max-width: 560px) {
  .overview-charts { grid-template-columns: minmax(0, 1fr); }
  .overview-summary.forecast-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forecast-summary .panel:last-child { grid-column: 1 / -1; }
  .chart-bars { grid-template-columns: repeat(var(--columns), minmax(35px, 1fr)); gap: 4px; }
  .chart-bars li > span:last-child { overflow-wrap: anywhere; }
  .shell { width: calc(100% - 28px); }
  .store-header { grid-template-columns: minmax(0, 1fr) max-content; gap: .65rem; padding-block: 13px; }
  .store-header .logo { font-size: 2rem; }
  .store-search { grid-area: 2 / 1 / 3 / -1; }
  #cartlink { padding-inline: .55rem; }
  .nav-links { column-gap: .72rem; row-gap: 0; }
  .nav-links a { padding-block: .55rem .43rem; font-size: .8rem; }
  .storefront main { padding-block: 19px 28px; }
  .grid { gap: 9px; }
  .card-photo { padding: 6px; }
  .card-photo img { height: 112px; }
  .home-selection .card-photo { padding: 6px; }
  .card-info { padding: 9px; }
  .card h2 { font-size: 1.02rem; }
  .card .muted { font-size: .77rem; }
  .card .purchase-form input { width: 2.45rem; }
  .card .purchase-form button { padding-inline: .36rem; font-size: .72rem; }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail-photo { padding: 10px; }
  .detail-photo img { height: 215px; }
  .founders { grid-template-columns: minmax(0, 1fr); }
  .shop-facts { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { font-size: .75rem; padding: .45rem; }
  .basket-line { grid-template-columns: 39px minmax(0, 1fr) 3rem auto; gap: .45rem; }
  .basket-line img { width: 39px; height: 39px; }
  .basket-line input { width: 100%; padding-inline: .35rem; }
  .basket-line strong { grid-row: 2; grid-column: 2; }
  .basket-line .remove { grid-column: 4; grid-row: 1; }
  .footer-content { align-items: start; flex-direction: column; gap: .9rem; }
  .platform-logo { align-self: end; margin-left: 0; }
  .stats { gap: .4rem; }
  .stats .panel { padding: .62rem .48rem; font-size: .75rem; }
  .backoffice th, .backoffice td { padding: .45rem .55rem; white-space: nowrap; }
}

@media (max-width: 360px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
}
