:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f5f6a;
  --line: #e5e7eb;
  --paper: #f6f7fb;
  --surface: #ffffff;
  --soft: #fff6bf;
  --brand: #1720b3;
  --brand-dark: #101680;
  --accent: #b63418;
  --gold: #ffd600;
  --header-bg: #ffef99;
  --category-button-bg: #ff8c00;
  --category-button-active-bg: #d96f00;
  --shadow: 0 14px 34px rgba(17, 24, 39, 0.10);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}

body.cart-open {
  overflow: hidden;
}

body.checkout-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 187, 77, 0.44);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 140px;
  height: 82px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(30, 30, 30, 0.72);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  font-weight: 650;
}

.site-extra-buttons,
.extra-whatsapp-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-extra-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.site-extra-button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.site-extra-button.secondary {
  background: #fff;
  color: var(--brand);
}

.site-extra-button.whatsapp,
.button.whatsapp {
  border-color: #25d366;
  background: #25d366;
  color: #fff;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.icon-button,
.cart-toggle {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: var(--surface);
  color: var(--ink);
}

.icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}

.account-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffffff;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  padding: 0 14px;
  font-weight: 850;
}

.store-selected-button {
  min-height: 42px;
  max-width: 210px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(23, 32, 179, 0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-dark);
  padding: 0 12px;
  font-weight: 850;
}

.store-selected-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-button svg {
  width: 18px;
  height: 18px;
}

.icon-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.banner-carousel {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.banner-single {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 2172 / 724;
}

.banner-image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.banner-image-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.banner-single img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #ffffff;
}

.banner-hidden-content {
  display: none;
}

.banner-track {
  position: relative;
  min-height: 360px;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  padding: 58px 72px;
  background:
    radial-gradient(circle at 85% 25%, rgba(255, 214, 0, 0.34), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fff9d8 58%, #ffe46b 100%);
  transition: opacity 260ms ease;
}

.banner-slide:nth-child(2) {
  background:
    radial-gradient(circle at 86% 28%, rgba(182, 52, 24, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fff5d1 54%, #ffd600 100%);
}

.banner-slide:nth-child(3) {
  background:
    radial-gradient(circle at 84% 24%, rgba(23, 32, 179, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 52%, #fff3a8 100%);
}

.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide > div {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.banner-slide .eyebrow {
  color: var(--accent);
}

.banner-slide h1,
.banner-slide h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--brand-dark);
}

.banner-slide p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.banner-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
}

.banner-control.prev {
  left: 16px;
}

.banner-control.next {
  right: 16px;
}

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.banner-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 32, 179, 0.24);
  padding: 0;
}

.banner-dots button.is-active {
  width: 28px;
  background: var(--brand);
}

.hero-actions,
.section-heading,
.cart-header,
.contact-section {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
}

.button svg,
button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  border-color: var(--brand);
  background: #fff;
  color: var(--brand);
}

.store-selector-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.store-selector-modal[hidden] {
  display: none;
}

.store-selector-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(8px);
}

.store-selector-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.24);
  padding: 24px;
}

.store-selector-header h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
}

.store-selector-header p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.5;
}

.store-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 18px 0;
}

.store-search-row input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  outline-color: var(--brand);
}

.store-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-choice-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.store-choice-card.is-recommended {
  border-color: var(--category-button-bg);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--category-button-bg) 18%, transparent);
}

.store-choice-card strong {
  font-size: 17px;
}

.store-choice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.store-choice-card small {
  color: var(--accent);
  font-weight: 900;
}

.store-choice-card button {
  justify-self: start;
}

.trust-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.trust-strip div {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: var(--muted);
  font-weight: 700;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip svg {
  color: var(--accent);
}

.catalog-section,
.order-section,
.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.catalog-section {
  padding: 56px 0 28px;
}

.section-heading {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.search-box {
  width: min(100%, 360px);
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 14px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 18px;
}

.category-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(180, 73, 0, 0.22);
  border-radius: var(--radius);
  background: var(--category-button-bg);
  color: #ffffff;
  padding: 0 14px;
  font-weight: 800;
  white-space: nowrap;
}

.category-tabs button[aria-selected="true"] {
  border-color: #b64900;
  background: var(--category-button-active-bg);
  color: #fff;
}

body[data-product-alignment="center"] .product-body,
body[data-product-alignment="center"] .product-title-row,
body[data-product-alignment="center"] .product-meta {
  text-align: center;
  justify-content: center;
}

body[data-product-alignment="center"] .product-title-row {
  align-items: center;
  flex-direction: column;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(23, 32, 179, 0.18);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}

.product-image.product-packshot {
  background: transparent;
  box-sizing: border-box;
  padding: 22px 18px;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-image.product-packshot img {
  object-fit: contain;
  object-position: center;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card:hover .product-image.product-packshot img {
  transform: none;
}

.product-card.product-unavailable {
  opacity: 0.72;
}

.product-card.product-unavailable .product-image img {
  filter: grayscale(0.7);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.product-status {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: var(--radius);
  background: #991b1b;
  color: #ffffff;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.product-title-row h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.product-price {
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.product-price-stack {
  display: grid;
  justify-items: end;
  gap: 3px;
  min-width: max-content;
}

.old-price {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: line-through;
}

.quantity-offer {
  border-radius: 999px;
  background: #fff7ed;
  color: #b63418;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.product-description {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-meta span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.add-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  margin-top: 4px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-control button {
  width: 32px;
  height: 42px;
  border: 0;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}

.quantity-control output {
  text-align: center;
  font-weight: 900;
}

.add-cart {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 850;
}

.add-cart:hover {
  background: var(--brand-dark);
}

.quantity-control button:disabled,
.add-cart:disabled {
  cursor: not-allowed;
  background: #cbd5e1;
  color: #475569;
}

.add-cart:disabled:hover {
  background: #cbd5e1;
}

.order-section {
  display: none;
  padding: 52px 0;
  scroll-margin-top: 90px;
}

body.checkout-open .order-section {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: auto;
  background: var(--paper);
  padding: 22px max(16px, calc((100vw - 1180px) / 2)) calc(28px + env(safe-area-inset-bottom));
}

body.checkout-open .order-section .section-heading,
body.checkout-open .order-section .order-layout {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.checkout-close {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
}

body.checkout-open .checkout-close {
  display: grid;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}

.customer-form,
.cart-panel,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.customer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

.form-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 4px;
  color: var(--ink);
}

.form-block-title:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.form-block-title span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.form-block-title strong {
  font-size: 17px;
}

.customer-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.customer-form .full {
  grid-column: 1 / -1;
}

.customer-form input,
.customer-form select,
.customer-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font-size: 16px;
  outline-color: var(--brand);
}

.delivery-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafafa;
  padding: 14px;
}

.delivery-details[hidden] {
  display: none;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.delivery-rate-preview {
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  background: #eff6ff;
  color: #1e3a8a;
  padding: 12px;
  font-size: 14px;
  font-weight: 750;
}

.delivery-rate-preview.is-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.delivery-rate-preview.is-warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.customer-save-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 14px;
}

.customer-save-actions .button,
.customer-save-actions .text-button {
  min-height: 42px;
}

.customer-save-actions strong {
  display: block;
  color: var(--ink);
}

.customer-save-actions small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

.button.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 18px;
}

.product-modal[hidden] {
  display: none;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 24, 31, 0.58);
  backdrop-filter: blur(8px);
}

.product-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 22px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(21, 24, 31, 0.26);
  padding: 22px;
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
}

.product-modal-image {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
}

.product-modal-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding-right: 44px;
}

.product-modal-badge,
.product-modal-meta span {
  width: fit-content;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-dark);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.product-modal-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.08;
}

.product-modal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-modal-price {
  color: var(--brand-dark);
  font-size: 30px;
  font-weight: 950;
}

.product-modal-price .product-price-stack {
  justify-items: start;
}

.product-modal-price .product-price {
  font-size: 30px;
}

.account-modal[hidden] {
  display: none;
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 24, 31, 0.58);
  backdrop-filter: blur(8px);
}

.account-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(21, 24, 31, 0.24);
  padding: 22px;
}

.account-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.account-card-header h2 {
  margin: 3px 0 0;
}

.account-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.account-form .full {
  grid-column: 1 / -1;
}

.account-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  outline-color: var(--brand);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

.account-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.cart-panel {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.cart-header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-header h3 {
  margin: 0;
  font-size: 22px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 850;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cart-line strong {
  display: block;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.cart-line small {
  color: var(--muted);
}

.cart-promo-label {
  display: block;
  margin-top: 3px;
  color: #b63418;
  font-weight: 900;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line-actions span {
  white-space: nowrap;
  font-weight: 850;
}

.cart-line-actions button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
}

.cart-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 146px;
  color: var(--muted);
  text-align: center;
}

.cart-empty p {
  margin: 0;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.cart-total strong {
  font-size: 24px;
}

.full-button {
  width: 100%;
  margin-top: 16px;
}

.checkout-submit {
  min-height: 54px;
  justify-content: center;
  font-size: 16px;
}

.mobile-continue-order {
  display: none;
}

.contact-section {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding: 28px;
}

.contact-section p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

.floating-cart {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 850;
}

.mobile-action-bar {
  display: none;
}

.mobile-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 24;
  background: rgba(24, 32, 28, 0.42);
}

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

@media (max-width: 920px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .main-nav {
    display: none;
  }

  .site-extra-buttons {
    display: none;
  }

  .store-selected-button {
    max-width: 136px;
    min-width: 0;
  }

  .site-header {
    position: sticky;
    background: var(--header-bg);
    border-bottom: 0;
    box-shadow: 0 10px 26px rgba(180, 73, 0, 0.12);
  }

  .header-inner {
    width: min(100% - 24px, 1180px);
    min-height: 104px;
    gap: 8px;
    align-items: center;
  }

  .brand {
    gap: 8px;
    color: var(--brand-dark);
  }

  .brand-logo {
    width: 96px;
    height: 70px;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .brand strong {
    color: var(--brand-dark);
    font-size: 20px;
    line-height: 1.08;
    max-width: clamp(104px, 34vw, 144px);
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .brand small {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 850;
  }

  .account-button,
  .store-selected-button {
    display: none;
  }

  .icon-button.cart-toggle {
    display: grid;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 18px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 20px rgba(23, 32, 179, 0.18);
  }

  .banner-track {
    min-height: 430px;
  }

  .banner-slide {
    padding: 48px 44px 70px;
  }

  .banner-slide h1,
  .banner-slide h2 {
    max-width: 420px;
    font-size: clamp(42px, 14vw, 64px);
  }

  .banner-slide p:not(.eyebrow) {
    max-width: 460px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    min-height: 52px;
    padding: 0 12px;
    text-align: center;
  }

  .store-choice-grid {
    grid-template-columns: 1fr;
  }

  .store-search-row {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .order-layout {
    display: flex;
    flex-direction: column;
  }

  .cart-panel {
    order: 1;
  }

  .customer-form {
    order: 2;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .trust-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .cart-panel {
    position: static;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(0);
  }

  .floating-cart {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    left: auto;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 34;
    width: 142px;
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 20px;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .cart-items {
    max-height: none;
    overflow: visible;
    padding-right: 2px;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .cart-line-actions {
    justify-content: space-between;
    width: 100%;
  }

  .cart-total strong {
    font-size: 22px;
  }

  .mobile-continue-order {
    display: flex;
    justify-content: center;
  }

  .customer-form,
  .cart-panel {
    scroll-margin-top: 92px;
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    min-width: 0;
    border: 0;
    border-radius: 18px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 58px;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    box-shadow: 0 10px 28px rgba(23, 32, 179, 0.28);
  }

  .mobile-action-bar a,
  .mobile-action-bar a:last-child {
    display: none;
  }

  .mobile-action-bar svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .catalog-section,
  .contact-section,
  .trust-strip,
  .banner-carousel {
    width: min(100% - 24px, 1180px);
  }

  .banner-single {
    display: block;
    width: min(100% - 16px, 1180px);
    aspect-ratio: 3 / 1;
    background: #ffffff;
    margin-top: 10px;
    border-radius: 14px;
  }

  .banner-single img {
    object-position: center;
    object-fit: cover;
  }

  .icon-button {
    display: none;
  }

  .account-button {
    padding: 0 11px;
  }

  .account-button span {
    display: none;
  }

  .account-card .icon-button {
    display: grid;
  }

  .banner-track {
    min-height: 460px;
  }

  .banner-slide {
    padding: 36px 24px 76px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .banner-control {
    display: none;
  }

  .trust-strip {
    display: none;
  }

  .catalog-section {
    padding-top: 18px;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .search-box {
    min-height: 48px;
    border-radius: 14px;
  }

  .category-tabs {
    position: sticky;
    top: 104px;
    z-index: 18;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    min-height: 58px;
    margin: 0 -12px 18px;
    padding: 8px 14px;
    border-radius: 0;
    background: var(--paper);
    box-shadow: 0 10px 22px rgba(16, 22, 128, 0.08);
    scrollbar-width: none;
    scroll-padding: 14px;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tabs button {
    flex: 0 0 auto;
    min-height: 46px;
    align-self: center;
    border: 1px solid rgba(180, 73, 0, 0.18);
    border-radius: 18px;
    background: #ffffff;
    color: var(--brand-dark);
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 900;
    white-space: nowrap;
  }

  .category-tabs button[aria-selected="true"] {
    background: var(--category-button-bg);
    color: #fff;
  }

  .customer-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 14px;
  }

  body.checkout-open .order-section {
    padding: 14px 12px calc(92px + env(safe-area-inset-bottom));
  }

  body.checkout-open .order-section .section-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: -14px -12px 12px;
    padding: 14px 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  body.checkout-open .order-layout {
    gap: 14px;
  }

  .product-modal {
    padding: 10px;
  }

  .product-modal-card {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: calc(100vh - 20px);
    padding: 16px;
    border-radius: 18px;
  }

  .product-modal-image {
    min-height: 250px;
  }

  .product-modal-content {
    padding-right: 0;
  }

  .product-modal-close {
    top: 10px;
    right: 10px;
  }

  .form-block-title {
    align-items: flex-start;
  }

  .customer-form label {
    gap: 7px;
  }

  .customer-form input,
  .customer-form select,
  .customer-form textarea,
  .account-form input {
    min-height: 50px;
    font-size: 16px;
  }

  .customer-save-actions {
    display: grid;
    padding: 12px;
  }

  .customer-save-actions .button,
  .customer-save-actions .text-button {
    width: 100%;
    justify-content: center;
  }

  .delivery-details {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .account-form {
    grid-template-columns: 1fr;
  }

  .add-row {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }

  .product-image.product-packshot {
    padding: 14px 10px;
  }

  .product-badge {
    top: 8px;
    left: auto;
    right: 8px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    padding: 5px 9px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
  }

  .product-body {
    gap: 8px;
    padding: 12px;
  }

  .product-title-row {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .product-price-stack {
    justify-items: start;
    width: 100%;
  }

  .product-body,
  .product-actions {
    min-width: 0;
  }

  .product-title-row h3 {
    overflow-wrap: anywhere;
    line-height: 1.25;
    min-height: 46px;
    font-size: 14px;
    color: var(--brand-dark);
    text-transform: uppercase;
  }

  .product-meta {
    display: none;
  }

  .product-meta span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .product-price {
    color: var(--brand);
    font-size: 23px;
    line-height: 1;
  }

  .quantity-offer {
    white-space: normal;
    line-height: 1.2;
  }

  .product-description {
    display: none;
  }

  .add-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quantity-control {
    display: none;
  }

  .add-cart {
    min-height: 48px;
    border-radius: 16px;
    background: var(--brand);
    font-size: 15px;
  }

  .add-cart::before {
    content: "+";
    margin-right: 7px;
    font-size: 22px;
    line-height: 0;
  }

  .cart-panel {
    max-height: none;
    border-radius: 14px;
  }

  .cart-header h3 {
    font-size: 20px;
  }

  .full-button {
    min-height: 50px;
  }
}
