:root {
  color-scheme: light;
  --ink: #10253e;
  --blue: #1458ad;
  --pale: #f2f6fb;
  --muted: #52647a;
  --line: #dce4ee;
  --white: #fff;
  font-family: "Barlow", "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.58;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #c58618;
  outline-offset: 3px;
}
button {
  border: 0;
}
svg:not(.symbols) {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.symbols,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.wrap {
  max-width: 1264px;
  padding-inline: clamp(16px, 4vw, 52px);
  margin: auto;
}
header {
  background: var(--ink);
  color: white;
  border-bottom: 3px solid #1b65be;
}
.bar,
.brand,
.header-cart,
.panel-title,
.table-chip,
.location,
.qty,
.dialog-head {
  display: flex;
  align-items: center;
}
.bar {
  justify-content: space-between;
  min-height: 78px;
}
.brand {
  gap: 12px;
  font-weight: 850;
  font-size: 1.04rem;
  letter-spacing: 0.035em;
}
.brand small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #b7cbe1;
  margin-top: 3px;
}
.header-cart {
  gap: 10px;
  background: transparent;
  color: white;
  font-weight: 650;
  padding: 8px 0 8px 12px;
}
.header-cart b {
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 246px;
  display: flex;
  align-items: center;
  padding: 34px clamp(22px, 4vw, 54px);
  border-radius: 14px;
  margin-top: 28px;
  background: #173755 url(ostseestadion.jpg) center 32% / cover;
  color: #fff;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    93deg,
    rgba(6, 23, 47, 0.96),
    rgba(7, 30, 59, 0.74) 37%,
    rgba(9, 26, 44, 0.04) 83%
  );
}
.hero-text {
  border-left: 4px solid #e63e4c;
  padding-left: 22px;
}
.hero p {
  margin: 0;
  font-size: 1.08rem;
}
.hero .location {
  gap: 6px;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  font-weight: 750;
  color: #e5edf8;
}
.location svg {
  width: 15px;
  height: 15px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
  margin: 0.13em 0 0.15em;
  font-weight: 850;
}
h1 em {
  font-weight: 800;
}
h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.85rem);
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin: 0;
}
.shop-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 34px 0 19px;
}
.table-chip,
.filters button,
.icon-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.table-chip {
  gap: 8px;
  color: var(--blue);
  padding: 10px 13px;
  font-weight: 700;
  min-height: 44px;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 29%);
  gap: 28px;
  align-items: start;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.filters:empty {
  display: none;
}
.filters button {
  padding: 8px 13px;
  min-height: 42px;
  font-weight: 650;
  font-size: 0.92rem;
  border-radius: 30px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.product,
.cart-summary,
.empty-catalog,
.receipt {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.product {
  overflow: hidden;
}
.product-photo {
  width: 100%;
  height: clamp(145px, 14vw, 200px);
  padding: 14px;
  background: #f2f5f9;
  display: grid;
  place-items: center;
}
.product-photo img {
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.product-body {
  padding: 15px 17px;
}
.category {
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.product h3 {
  font-size: 1.21rem;
  letter-spacing: -0.035em;
  margin: 4px 0;
}
.variant,
.muted,
.preview-note {
  color: var(--muted);
}
.variant {
  margin: 0;
  font-size: 0.94rem;
}
.price-row,
.line,
.total,
.sidebar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.price-row {
  margin-top: 12px;
  font-weight: 750;
  font-size: 1.12rem;
}
.icon-btn,
.add {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
}
.add {
  border-radius: 50%;
  color: white;
  background: var(--blue);
}
.cart-summary {
  position: sticky;
  top: 16px;
  padding: 22px;
}
.panel-title {
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.panel-title h3,
.empty-catalog h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}
.panel-title svg {
  color: var(--blue);
}
.empty-bag {
  text-align: center;
  padding: 28px 4px 14px;
}
.bag-circle {
  background: #eaf1fa;
  color: var(--blue);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
}
.bag-circle svg {
  width: 28px;
  height: 28px;
}
.empty-bag p {
  margin: 14px 0 5px;
  font-weight: 700;
}
.empty-bag small,
.receipt p {
  color: var(--muted);
  line-height: 1.5;
}
.empty-catalog,
.receipt {
  background: var(--pale);
  padding: 28px;
}
.empty-catalog > svg {
  color: var(--blue);
  margin-bottom: 14px;
}
.empty-catalog p {
  margin: 7px 0 15px;
}
.empty-catalog a,
.receipt a {
  color: var(--blue);
  font-weight: 650;
}
.preview-note {
  font-size: 0.9rem;
  margin: -5px 0 18px;
}
.primary,
.secondary,
.mobile-cart {
  width: 100%;
  border-radius: 8px;
  padding: 13px;
  font-weight: 700;
  min-height: 46px;
}
.primary,
.mobile-cart {
  background: var(--blue);
  color: white;
}
.secondary {
  background: var(--pale);
  color: var(--ink);
  margin-top: 8px;
}
.total {
  font-size: 1.15rem;
  margin: 16px 0;
  font-weight: 750;
}
.sidebar-row,
.line {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 0.94rem;
}
.sidebar-row span:last-child,
.line b {
  white-space: nowrap;
}
footer {
  margin: 40px auto 0 !important;
  padding-top: 20px;
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
}
dialog {
  width: min(480px, calc(100% - 24px));
  max-height: 88dvh;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  box-shadow: 0 20px 80px #13283e38;
}
dialog::backdrop {
  background: #0b1e36a6;
}
.dialog-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.dialog-head h2 {
  font-size: 1.7rem;
}
.qty {
  gap: 8px;
}
.qty button {
  border-radius: 6px;
  background: var(--pale);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}
.line > div {
  min-width: 0;
}
.line small {
  display: block;
  color: var(--muted);
  margin: 4px 0 6px;
}
.field {
  display: block;
  font-weight: 700;
  margin: 18px 0 8px;
}
.text-input {
  border-radius: 6px;
  border: 1px solid #8194ab;
  padding: 12px;
  width: 100%;
}
fieldset {
  margin: 18px 0;
  border: 0;
  padding: 0;
}
legend {
  font-weight: 700;
  margin-bottom: 6px;
}
fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  margin: 6px 0;
}
input[type="radio"] {
  accent-color: var(--blue);
}
#error {
  margin: 12px 0 0;
  color: #a32029;
  font-weight: 600;
}
#error:empty {
  display: none;
}
.receipt {
  margin-top: 25px;
}
.receipt h2 {
  margin-bottom: 12px;
}
.mobile-cart {
  display: none;
}
.receipt .primary {
  max-width: 300px;
  display: block;
}
.preview-note,
.empty-bag small {
  line-height: 1.45;
}
button:hover:not(:disabled) {
  filter: brightness(0.94);
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .bar {
    min-height: 64px;
  }
  .brand {
    gap: 8px;
    font-size: 0.9rem;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .header-cart span {
    display: none;
  }
  .shop-layout {
    display: block;
  }
  .cart-summary {
    display: none;
  }
  .hero {
    min-height: 185px;
    margin-top: 15px;
  }
  .hero-text {
    padding-left: 14px;
  }
  .hero p {
    font-size: 0.98rem;
  }
  .shop-title {
    margin: 25px 0 17px;
  }
  .table-chip {
    font-size: 0.9rem;
  }
  .products {
    gap: 9px;
  }
  .product-body {
    padding: 11px;
  }
  .product h3 {
    font-size: 1.03rem;
  }
  .product-photo {
    height: 135px;
    padding: 9px;
  }
  .price-row {
    font-size: 1rem;
    gap: 4px;
  }
  .mobile-cart:not([hidden]) {
    display: block;
    position: fixed;
    z-index: 2;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 16px;
    width: calc(100% - 32px);
    box-shadow: 0 5px 25px #0c264442;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    padding: 7px 11px;
  }
  .qty {
    gap: 5px;
  }
  .category {
    font-size: 0.68rem;
  }
  footer {
    padding-bottom: 80px;
  }
  .hero:before {
    background: linear-gradient(90deg, #081a32e8, rgba(7, 26, 49, 0.35));
  }
  dialog {
    padding: 19px;
  }
  .line {
    align-items: flex-start;
  }
}
@media (max-width: 360px) {
  .wrap {
    padding-inline: 12px;
  }
  .brand {
    font-size: 0.83rem;
  }
  .product-body {
    padding: 9px;
  }
  .table-chip {
    padding: 8px;
  }
  .hero {
    padding-inline: 16px;
  }
}
