:root {
  --ink: #1c2430;
  --muted: #657184;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --navy: #17324d;
  --gold: #c99a3f;
  --teal: #17766d;
  --line: #d9ded8;
  --shadow: 0 18px 45px rgba(28, 36, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.5;
}

main {
  flex: 1 0 auto;
  background: var(--paper);
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  transform: translateX(2.4%);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: white;
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 50%;
  font-weight: 800;
}

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

.brand > span:last-child {
  min-width: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 28px);
  font-weight: 700;
  color: var(--navy);
}

nav a {
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #0b1724;
}

.hero-slideshow,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slideshow {
  inset: 0;
  width: auto;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 5800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-logo {
  position: absolute;
  right: clamp(12px, 2.4vw, 34px);
  bottom: clamp(10px, 3vh, 26px);
  width: min(32vw, 450px);
  height: auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0.8;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 22, 34, 0.86), rgba(12, 22, 34, 0.46) 45%, rgba(255, 255, 255, 0.05));
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(660px, calc(100% - 36px));
  margin: 0 0 clamp(36px, 9vh, 86px) clamp(18px, 7vw, 90px);
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13.5ch;
  margin-bottom: 18px;
  font-size: 5.2rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 3.2rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 580px;
  font-size: 1.1rem;
}

.hero-actions,
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

.button.primary {
  color: #122031;
  background: var(--gold);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.button.outline {
  color: var(--navy);
  background: white;
  border: 1px solid var(--navy);
}

.button:disabled {
  color: #7f8791;
  background: #e6e8ea;
  border: 1px solid #c6ccd2;
  cursor: not-allowed;
}

.section,
.order-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 28px;
}

#products {
  padding-bottom: clamp(42px, 5vw, 64px);
}

#products,
#checkout,
#payment,
#pickup {
  scroll-margin-top: 94px;
}

.design-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.shop-actions {
  display: flex;
  justify-content: flex-end;
  margin: -14px 0 22px;
}

.shop-actions .button.secondary,
.cart-actions .button.secondary {
  color: var(--navy);
  background: white;
  border: 1px solid var(--navy);
}

.design-card {
  position: relative;
  cursor: pointer;
  appearance: none;
  padding: 0;
  text-align: left;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28, 36, 48, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.design-card::before,
.design-action {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.design-card::before {
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% - 48px);
  content: "";
  background: rgba(23, 50, 77, 0.58);
}

.design-action {
  top: calc(47% - 25px);
  left: 50%;
  display: grid;
  place-items: center;
  width: max-content;
  min-width: 138px;
  min-height: 44px;
  margin: 0 auto;
  padding: 0 18px;
  color: white;
  background: var(--teal);
  border: 2px solid white;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(28, 36, 48, 0.25);
  font-weight: 900;
  transform: translate(-50%, 8px);
}

.design-card:hover,
.design-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(28, 36, 48, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.design-card:hover::before,
.design-card:focus-visible::before {
  opacity: 1;
}

.design-card:hover .design-action,
.design-card:focus-visible .design-action {
  opacity: 1;
  transform: translate(-50%, 0);
}

.design-card.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 115, 74, 0.16), 0 12px 26px rgba(28, 36, 48, 0.14);
}

.design-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.94;
  object-fit: cover;
}

.design-card > span:not(.design-action) {
  display: block;
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 800;
}

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

.product-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) 1fr;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28, 36, 48, 0.08);
}

.product-thumb {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: white;
  font-weight: 800;
  text-align: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.shirt-thumb {
  position: relative;
  padding: 14px;
  background: #d1d1d1;
}

.shirt-thumb img {
  transition: opacity 220ms ease, transform 420ms ease;
}

.shirt-thumb img.is-fading {
  opacity: 0;
  transform: scale(0.985);
}

.cloth-thumb {
  background: linear-gradient(135deg, var(--teal), #d0a64a);
}

.product-info {
  padding: 26px;
}

.product-info p {
  color: var(--muted);
}

.product-info strong {
  display: block;
  color: var(--teal);
  font-size: 1.18rem;
  line-height: 1.35;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: #eef3ef;
}

.order-copy {
  align-self: start;
  position: sticky;
  top: 100px;
}

.check-list {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 10px;
}

.order-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.checkout-helper {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.helper-bubble {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: white;
  background: var(--teal);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(28, 36, 48, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
}

.helper-bubble:hover,
.helper-bubble:focus-visible {
  background: var(--navy);
  outline: 3px solid rgba(201, 154, 63, 0.35);
  outline-offset: 2px;
}

.helper-panel {
  position: absolute;
  top: 52px;
  right: 0;
  width: min(280px, calc(100vw - 48px));
  padding: 14px 16px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(28, 36, 48, 0.18);
}

.helper-panel::before {
  position: absolute;
  top: -8px;
  right: 15px;
  width: 14px;
  height: 14px;
  content: "";
  background: white;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: rotate(45deg);
}

.helper-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.helper-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #bdc7c0;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
}

input:disabled,
select:disabled,
textarea:disabled {
  color: var(--muted);
  background: #eef3ef;
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

.field-row > label {
  flex: 1 1 180px;
}

.cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cart-box {
  scroll-margin-top: 120px;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-heading,
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-heading span,
.cart-heading strong {
  color: var(--navy);
  font-weight: 900;
}

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

.cart-line {
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cart-line-details {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cart-line-details strong {
  color: var(--ink);
}

.cart-line-details span,
.empty-cart {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.empty-cart {
  margin: 0;
}

.remove-cart-item {
  flex: 0 0 auto;
  min-width: 38px;
  height: 38px;
  color: var(--navy);
  background: #f6f1e6;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.remove-cart-item:hover,
.remove-cart-item:focus-visible {
  color: white;
  background: var(--navy);
  outline: 3px solid rgba(201, 154, 63, 0.35);
  outline-offset: 2px;
}

.total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #f6f1e6;
  border-radius: 6px;
}

.total-box strong {
  color: var(--navy);
  font-size: 1.6rem;
}

.payment-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pickup {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) 1fr;
  gap: 32px;
}

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

.pickup-grid > div {
  min-height: 150px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pickup-grid p {
  color: var(--muted);
}

footer {
  flex-shrink: 0;
  padding: 24px clamp(18px, 5vw, 72px);
  color: white;
  background: var(--navy);
  text-align: center;
}

footer p {
  margin: 0;
  overflow-wrap: anywhere;
}

footer p + p {
  margin-top: 8px;
}

footer p:last-child {
  font-style: italic;
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 10px 14px;
  }

  .brand {
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
  }

  .brand-logo-wrap,
  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .brand small {
    font-size: 0.72rem;
  }

  nav {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    gap: 6px;
  }

  nav a {
    padding: 7px 9px;
    background: #eef3ef;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.84rem;
  }

  .hero {
    display: flex;
    min-height: min(720px, calc(100svh - 124px));
    flex-direction: column;
    justify-content: flex-end;
    background:
      linear-gradient(180deg, rgba(12, 22, 34, 0.24), rgba(12, 22, 34, 0.62) 40%, rgba(12, 22, 34, 0.96) 76%),
      linear-gradient(105deg, rgba(9, 51, 52, 0.68), rgba(23, 50, 77, 0.5) 54%, rgba(12, 22, 34, 0.74));
  }

  .hero-slideshow {
    inset: 0;
    width: auto;
  }

  .hero-slide {
    object-fit: cover;
    object-position: center top;
  }

  .hero::after {
    display: block;
    background:
      radial-gradient(circle at 48% 22%, rgba(240, 202, 112, 0.16), rgba(240, 202, 112, 0) 34%),
      linear-gradient(180deg, rgba(12, 22, 34, 0.18), rgba(12, 22, 34, 0.48) 40%, rgba(12, 22, 34, 0.9) 72%, rgba(12, 22, 34, 0.97));
    pointer-events: none;
  }

  .hero-logo {
    position: absolute;
    inset: 24px auto auto 18px;
    display: block;
    width: min(190px, 42vw);
    height: auto;
    margin: 0;
    padding: 0;
    object-position: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.98;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32)) saturate(1.16) contrast(1.08);
    z-index: 1;
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: clamp(220px, 42svh, 330px) 18px 32px;
  }

  .hero-copy::before {
    content: "";
    display: block;
    width: 88px;
    height: 5px;
    margin-bottom: 18px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 25px, rgba(255, 255, 255, 0.42) 25px 56px, rgba(201, 154, 63, 0.94) 56px 88px);
    border-radius: 999px;
  }

  .hero-actions {
    gap: 10px;
  }

  h1 {
    max-width: min(100%, 420px);
    margin-bottom: 14px;
    font-size: 2.5rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.25rem;
  }

  .product-grid,
  .order-section,
  .pickup,
  .pickup-grid,
  .cart-actions,
  .payment-actions {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-thumb {
    min-height: 230px;
  }

  .product-thumb img {
    height: auto;
    max-height: 280px;
  }

  .design-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-copy {
    position: static;
  }

  .shop-actions {
    justify-content: flex-start;
    margin-top: -8px;
  }

  .checkout-helper {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    background: rgba(251, 250, 247, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
  }

  .brand-logo-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(23, 118, 109, 0.2), rgba(201, 154, 63, 0.28) 55%, rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(201, 154, 63, 0.34);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(23, 50, 77, 0.1);
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 1 0 auto;
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: 6px 4px;
    text-align: center;
  }

  nav a,
  .button {
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    background:
      linear-gradient(155deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.16) 56%, rgba(216, 226, 224, 0.18)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), inset 0 -8px 14px rgba(23, 50, 77, 0.04), 0 6px 16px rgba(12, 22, 34, 0.1);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
  }

  .button.primary {
    color: #122031;
    background:
      linear-gradient(155deg, rgba(236, 185, 72, 0.6), rgba(248, 226, 166, 0.32) 58%, rgba(255, 255, 255, 0.16)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    box-shadow: inset 0 1px 0 rgba(255, 249, 225, 0.72), inset 0 -8px 14px rgba(119, 82, 17, 0.04), 0 7px 18px rgba(119, 82, 17, 0.1);
  }

  .button.secondary,
  .button.outline,
  .shop-actions .button.secondary,
  .cart-actions .button.secondary {
    color: var(--navy);
    background:
      linear-gradient(155deg, rgba(255, 255, 255, 0.38), rgba(229, 237, 238, 0.18) 56%, rgba(125, 151, 161, 0.14)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    border-color: rgba(255, 255, 255, 0.42);
  }

  nav a:active,
  .button:active {
    transform: translateY(1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 8px 18px rgba(12, 22, 34, 0.08), 0 4px 14px rgba(12, 22, 34, 0.1);
  }

  .hero-logo {
    height: auto;
    padding: 0;
  }

  .design-gallery {
    gap: 12px;
  }

  .design-card > span:not(.design-action) {
    padding: 10px 11px;
    font-size: 0.94rem;
  }
}

@media (max-width: 460px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    padding: 8px 12px;
  }

  .brand {
    width: 100%;
    gap: 8px;
  }

  .brand > span:last-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo-wrap,
  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: 0.9rem;
    line-height: 1.18;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .brand small {
    font-size: 0.68rem;
  }

  nav {
    width: 100%;
    gap: 6px;
  }

  nav a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 32px;
    padding: 5px 3px;
    text-align: center;
    font-size: 0.74rem;
  }

  .hero {
    min-height: min(690px, calc(100svh - 118px));
  }

  .hero-logo {
    inset: 18px auto auto 16px;
    width: min(168px, 41vw);
    height: auto;
    margin: 0;
    border-radius: 0;
  }

  .hero-copy {
    padding: clamp(204px, 38svh, 286px) 14px 22px;
  }

  .hero-copy::before {
    width: 76px;
    height: 4px;
    margin-bottom: 14px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: 1.72rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.62rem;
    line-height: 1.1;
  }

  .section,
  .order-section {
    padding: 34px 14px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .button {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
  }

  .shop-actions {
    margin: -6px 0 16px;
  }

  .design-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-action {
    min-width: 126px;
    min-height: 40px;
    padding: 0 14px;
  }

  .product-info {
    padding: 18px;
  }

  .product-thumb,
  .product-thumb img {
    min-height: 0;
  }

  .product-thumb img {
    max-height: 230px;
  }

  .product-thumb {
    min-height: 220px;
  }

  .product-info strong {
    font-size: 1.05rem;
  }

  .order-form {
    gap: 14px;
    padding: 66px 14px 16px;
  }

  .helper-panel {
    width: calc(100vw - 64px);
  }

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

  .cart-line {
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
  }

  .cart-line-details span {
    display: block;
  }

  .remove-cart-item {
    min-width: 34px;
    height: 34px;
  }

  .total-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .total-box strong {
    font-size: 1.4rem;
  }

  .pickup-grid > div {
    min-height: 0;
    padding: 18px;
  }

  footer {
    padding: 16px 14px max(14px, env(safe-area-inset-bottom));
    font-size: 0.84rem;
    line-height: 1.38;
  }

  footer p + p {
    margin-top: 6px;
  }
}

@media (max-width: 360px) {
  .brand {
    gap: 9px;
  }

  .brand-logo-wrap,
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small,
  nav a {
    font-size: 0.82rem;
  }

  h1 {
    font-size: 1.82rem;
  }

  .design-gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
}
