:root {
  --red: #f5140a;
  --ink: #171717;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #f7f7f7;
}
* {
  box-sizing: border-box;
}
body.merch {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    15px/1.65 Inter,
    Arial,
    sans-serif;
}
.theme-default {
  --red: #1b506c;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #4169b1;
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.club-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  z-index: 10;
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px #c41e3a14;
}
.header-inner {
  max-width: 1180px;
  margin: auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.club-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.club-brand img {
  object-fit: contain;
}
.club-brand strong {
  display: block;
  color: var(--red);
  font:
    700 22px/1.2 "Playfair Display",
    Georgia,
    serif;
  letter-spacing: -0.03em;
}
.club-brand small {
  display: block;
  color: #4b5563;
  font-size: 11px;
  margin-top: 4px;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 600;
}
.header-inner nav .active {
  color: var(--red);
}
.language {
  font-size: 11px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.basket-link {
  display: flex;
  align-items: center;
  gap: 5px;
}
.basket-link span {
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  display: grid;
  place-items: center;
}
.shop-main {
  max-width: 1180px;
  margin: auto;
  padding: 24px 28px 80px;
  min-height: 65vh;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.shop-heading {
  padding: 44px 0 36px;
  text-align: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 10px;
}
h1,
h2,
h3 {
  line-height: 1.18;
}
h1 {
  font:
    800 clamp(32px, 4vw, 48px)/1.15 "Playfair Display",
    Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 17px;
}
.intro {
  max-width: 560px;
  margin: auto;
  color: var(--muted);
  font-size: 14px;
}
.category-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.category-tabs a {
  border: 1px solid var(--line);
  padding: 7px 18px;
  border-radius: 24px;
  font-size: 12px;
}
.category-tabs a.current {
  border-color: var(--red);
  color: var(--red);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.product-card {
  min-width: 0;
}
.product-picture {
  aspect-ratio: 1/1;
  background: var(--paper);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.product-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.product-picture:hover img {
  transform: scale(1.035);
}
.image-placeholder {
  color: #a1a1aa;
  text-align: center;
  font-size: 11px;
}
.image-placeholder svg {
  display: block;
  margin: 0 auto 10px;
}
.product-copy {
  padding: 18px 0 0;
}
.product-copy h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.product-description {
  font-size: 12px;
  color: var(--muted);
  white-space: pre-line;
  margin: 0 0 14px;
}
.price {
  font-size: 17px;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}
.product-form .selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8dadd;
  border-radius: 4px;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}
.field input:focus,
.field select:focus {
  border-color: var(--red);
}
.add-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
}
.add-row .field {
  margin: 0;
}
.button {
  border: 1px solid var(--red);
  color: white;
  background: var(--red);
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  filter: brightness(0.94);
  text-decoration: none;
}
.button.secondary {
  background: white;
  color: var(--ink);
  border-color: #d1d5db;
}
.add-row button {
  align-self: end;
}
.unavailable {
  color: #9b3030;
  font-size: 12px;
}
.empty-state {
  background: var(--paper);
  padding: 48px 20px;
  text-align: center;
  border-radius: 6px;
}
.empty-state h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.shop-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
.summary-card {
  background: var(--paper);
  padding: 26px;
  border-radius: 6px;
  position: sticky;
  top: 115px;
}
.summary-card h2 {
  margin: 0 0 22px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}
.summary-total {
  font-size: 18px;
  font-weight: 700;
  border-top: 2px solid var(--ink);
  margin-top: 15px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
}
.summary-card .button {
  width: 100%;
  margin-top: 24px;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item:first-child {
  padding-top: 0;
}
.cart-item .product-picture {
  border-radius: 4px;
}
.cart-item h2 {
  font-size: 16px;
  margin: 4px 0 8px;
}
.cart-item .field {
  width: 90px;
  display: inline-flex;
  margin: 8px 15px 0 0;
}
.text-button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  padding: 5px 0;
  color: var(--muted);
  font-size: 11px;
}
.cart-item-price {
  font-weight: 600;
  font-size: 14px;
  padding-top: 5px;
}
.notice {
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 22px;
  font-size: 13px;
}
.notice.error {
  background: #fff4f2;
  border-color: #f7c8c2;
  color: #96261e;
}
.checkout-form h2 {
  margin: 0 0 10px;
}
.checkout-form p {
  margin: 0 0 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.checkout-form .field {
  margin-bottom: 22px;
}
.checkout-form .button {
  margin-top: 12px;
  min-width: 220px;
}
.checkout-note {
  margin-top: 20px !important;
}
.cart-dock {
  position: sticky;
  bottom: 0;
  z-index: 11;
  background: #fff;
  box-shadow: 0 -4px 26px #0000000b;
  border-top: 1px solid var(--line);
  padding: 16px max(28px, calc((100vw - 1124px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cart-dock strong {
  font-size: 14px;
}
.cart-dock small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.dock-actions {
  display: flex;
  gap: 10px;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 105px;
  background: #17251d;
  color: white;
  padding: 15px 22px;
  box-shadow: 0 5px 25px #0002;
  border-radius: 5px;
  z-index: 30;
  max-width: calc(100vw - 48px);
  font-size: 13px;
}
.club-footer {
  background: #141414;
  color: #fff;
  padding: 42px max(28px, calc((100vw - 1124px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.club-footer strong {
  font:
    700 21px "Playfair Display",
    Georgia,
    serif;
}
.club-footer p {
  color: #aaa;
  font-size: 12px;
  margin: 6px 0;
}
.club-footer a {
  color: #ccc;
}
.confirmation-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf5ec;
  color: #247041;
  font-size: 32px;
  margin-bottom: 20px;
}
.confirmation-panel {
  max-width: 760px;
  margin: auto;
}
.confirmation-panel .summary-card {
  position: static;
  margin: 25px 0;
}
.confirmation-meta {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  font-size: 13px;
}
.gallery {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.gallery button {
  width: 60px;
  height: 60px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.detail-grid .product-copy {
  padding: 0;
}
.detail-grid h2 {
  font-size: 28px;
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }
  .club-link {
    display: none;
  }
  .shop-columns {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 25px;
  }
  .header-inner nav {
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .header-inner {
    padding: 12px 18px;
    gap: 12px;
  }
  .club-brand img {
    width: 40px;
    height: 40px;
  }
  .club-brand strong {
    font-size: 17px;
  }
  .club-brand small {
    display: none;
  }
  .header-inner nav {
    gap: 12px;
    font-size: 11px;
  }
  .header-inner nav > .active {
    display: none;
  }
  .shop-main {
    padding: 18px 18px 50px;
  }
  .shop-heading {
    padding: 34px 0 30px;
  }
  .product-grid {
    gap: 28px 16px;
  }
  .product-copy h2 {
    font-size: 15px;
  }
  .product-description {
    font-size: 11px;
  }
  .product-form .selection-grid {
    display: block;
  }
  .add-row {
    grid-template-columns: 58px 1fr;
    gap: 6px;
  }
  .add-row .button {
    padding: 10px 5px;
    font-size: 11px;
  }
  .field input,
  .field select {
    padding: 10px 7px;
    font-size: 16px;
  }
  .product-description {
    min-height: 0;
  }
  .price {
    font-size: 15px;
  }
  .shop-columns,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .summary-card {
    position: static;
  }
  .cart-item {
    grid-template-columns: 65px 1fr auto;
    gap: 12px;
  }
  .cart-item-price {
    font-size: 12px;
  }
  .cart-dock {
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .cart-dock small {
    display: none;
  }
  .dock-actions {
    margin-left: auto;
  }
  .dock-actions .button {
    font-size: 11px;
    padding: 9px 11px;
    min-height: 40px;
  }
  .toast {
    bottom: 145px;
    right: 18px;
  }
  .club-footer {
    padding: 30px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .confirmation-meta {
    gap: 20px;
  }
}
