.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.logo img {
  height: 38px;
  width: auto;
}

.logo .logo-dark,
[data-theme="dark"] .logo .logo-light {
  display: none;
}

[data-theme="dark"] .logo .logo-dark {
  display: block;
  mix-blend-mode: screen;
}

.header-nav {
  display: none;
}

.header-nav ul {
  display: flex;
  align-items: stretch;
  gap: var(--sp-1);
  list-style: none;
}

.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted, var(--text));
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

/* Underline bar: grows from the centre on hover/focus, stays on the current page */
.header-nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 8px;
  left: 14px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-mid, 220ms) var(--ease);
}

.header-nav a:focus-visible {
  color: var(--text);
  background: var(--surface);
}

.header-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-nav a:active {
  transform: scale(0.96);
}

.header-nav a[aria-current="page"] {
  color: var(--highlight-text);
  font-weight: 600;
}

.header-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .header-nav a:hover {
    color: var(--text);
    background: var(--surface);
  }

  .header-nav a:hover::after {
    transform: scaleX(1);
  }

  .header-nav a[aria-current="page"]:hover {
    color: var(--highlight-text);
  }
}

[data-motion="reduce"] .header-nav a::after,
[data-motion="reduce"] .header-nav a:active {
  transition: none;
  transform: none;
}

[data-motion="reduce"] .header-nav a:hover::after,
[data-motion="reduce"] .header-nav a:focus-visible::after,
[data-motion="reduce"] .header-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.icon-btn:hover {
  background: var(--surface);
  color: var(--text);
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

.icon-btn--menu .icon-close,
.icon-btn--menu[aria-expanded="true"] .icon-menu {
  display: none;
}

.icon-btn--menu[aria-expanded="true"] .icon-close {
  display: block;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.header-actions .header-wa {
  display: none;
}

.icon-btn--menu {
  display: inline-grid;
}

.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--gutter) calc(var(--sp-6) + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
}

.mobile-menu nav ul {
  list-style: none;
}

.mobile-menu nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 56px;
  padding-inline: var(--sp-3);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

/* Accent bar on the left for the current page */
.mobile-menu nav a::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--gold-500);
  transform: scaleY(0);
  transition: transform var(--dur-fast) var(--ease);
}

.mobile-menu nav a:active,
.mobile-menu nav a:focus-visible {
  background: var(--surface);
}

.mobile-menu nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--link);
  font-weight: 600;
}

.mobile-menu nav a[aria-current="page"]::before,
.mobile-menu nav a:active::before {
  transform: scaleY(1);
}

@media (hover: hover) {
  .mobile-menu nav a:hover {
    background: var(--surface);
  }

  .mobile-menu nav a:hover::before {
    transform: scaleY(1);
  }
}

/* Links ease in one after another when the menu opens */
@keyframes menu-link-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

html[data-motion="full"] .mobile-menu nav li {
  animation: menu-link-in var(--dur-mid, 220ms) var(--ease) both;
}

html[data-motion="full"] .mobile-menu nav li:nth-child(2) {
  animation-delay: 50ms;
}

html[data-motion="full"] .mobile-menu nav li:nth-child(3) {
  animation-delay: 100ms;
}

.mobile-menu .btn {
  margin-top: auto;
}

@media (min-width: 1024px) {
  .logo img {
    height: 44px;
  }

  .header-nav {
    display: block;
    margin-left: var(--sp-8);
  }

  .header-actions .header-wa {
    display: inline-flex;
    margin-left: var(--sp-2);
  }

  .icon-btn--menu,
  .mobile-menu {
    display: none !important;
  }
}

.site-footer {
  margin-top: auto;
  padding-top: var(--sp-16);
  background: var(--black-900);
  color: #f5f5f5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: var(--sp-4);
  mix-blend-mode: screen;
}

.footer-brand p {
  max-width: 34ch;
  color: #b5b5b5;
  font-size: var(--text-small);
}

.footer-col h2 {
  margin: 0 0 var(--sp-4);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: var(--sp-2);
  list-style: none;
}

.footer-col a {
  color: #d6d6d6;
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-500);
  text-decoration: underline;
}

.footer-contact {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  color: #d6d6d6;
  font-size: 0.9375rem;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--gold-500);
}

.footer-contact a {
  color: inherit;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-4) 0 calc(var(--sp-6) + env(safe-area-inset-bottom));
  border-top: 1px solid #333333;
  color: #b5b5b5;
  font-size: var(--text-small);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #d6d6d6;
}

.footer-note {
  padding-bottom: var(--sp-4);
  color: #b5b5b5;
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 0.8fr 1fr 1.2fr;
    gap: var(--sp-12);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-6);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--secondary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--secondary:hover {
  background: var(--accent-hover);
}

[data-theme="dark"] .btn--secondary {
  border-color: var(--red-400);
}

.btn--outline {
  border-color: var(--control-border);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--surface);
}

.btn--light {
  background: #ffffff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--cream);
}

.btn--outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--whatsapp {
  background: var(--wa-green);
  color: #ffffff;
}

.btn--whatsapp:hover {
  background: var(--wa-green-hover, #1DA851);
}

.btn--whatsapp .icon {
  width: 22px;
  height: 22px;
}

.btn--sm {
  min-height: 44px;
  padding: 0 var(--sp-4);
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-fast) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.badge .icon {
  width: 15px;
  height: 15px;
}

.badge--hot {
  background: var(--red-600);
  color: #ffffff;
}

[data-theme="dark"] .badge--hot {
  border-color: var(--red-400);
}

.badge--clear {
  background: var(--gold-500);
  color: var(--ink);
}

.badge--small,
.badge--arriving {
  border-color: var(--control-border);
  color: var(--text);
}

.badge--out {
  background: var(--surface-raised);
  color: var(--text-muted);
}

.badge--accent {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.badge--gold {
  border-color: var(--highlight-text);
  color: var(--highlight-text);
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
.field-label {
  font-size: 0.875rem;
  font-weight: 600;
}

/* :where() keeps the bare-element fallbacks at zero specificity, so any
   control rendered without a class still matches the site */
.input,
.select,
:where(select, textarea, input:is([type="text"], [type="search"], [type="number"], [type="email"], [type="tel"], [type="url"])) {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease);
}

.input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.input:hover,
.select:hover {
  border-color: var(--text);
}

.input:focus-visible,
.select:focus-visible {
  border-color: var(--text);
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.input:disabled,
.select:disabled {
  background-color: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: not-allowed;
}

.select,
:where(select) {
  appearance: none;
  padding-right: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

/* The open list is drawn by the browser: at least match the site colours */
.select option,
:where(select) option {
  background: var(--bg);
  color: var(--text);
}

.select-wrap .select:focus-visible + .icon,
.select-wrap:hover .icon {
  color: var(--text);
}

.select-wrap .icon {
  transition: color var(--dur-fast) var(--ease);
}

/* Search and number inputs: replace the browser's clear button and spinners */
input[type="search"] {
  appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input[type="search"]::-webkit-search-cancel-button {
  width: 18px;
  height: 18px;
  margin-right: 2px;
  appearance: none;
  background-color: var(--text-muted);
  cursor: pointer;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

input[type="search"]::-webkit-search-cancel-button:hover {
  background-color: var(--text);
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

/* Stop browser autofill painting a yellow or blue background */
.input:-webkit-autofill,
.input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 100px var(--bg) inset;
  caret-color: var(--text);
}

.select-wrap {
  position: relative;
}

.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-field {
  position: relative;
}

.search-field .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-field .input {
  padding-left: 44px;
}

.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  display: grid;
  place-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
  appearance: none;
  border: 2px solid var(--control-border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.checkbox input[type="checkbox"]::after {
  content: "";
  width: 11px;
  height: 6px;
  border-bottom: 2.5px solid #ffffff;
  border-left: 2.5px solid #ffffff;
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.checkbox input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.checkbox input[type="checkbox"]:checked::after {
  opacity: 1;
}

.checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.checkbox--row {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: 0.9375rem;
}

.checkbox__text {
  flex: 1;
}

.checkbox__count {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 44px;
  cursor: pointer;
}

.switch input {
  position: relative;
  width: 46px;
  height: 26px;
  margin: 0;
  flex: none;
  appearance: none;
  border: 2px solid var(--control-border);
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}

.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text);
  transition: transform var(--dur-fast) var(--ease);
}

.switch input:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.switch input:checked::after {
  background: #ffffff;
  transform: translateX(20px);
}

.switch input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-pill);
  background: var(--bg);
}

.stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.stepper button:hover:not(:disabled) {
  background: var(--surface);
}

.stepper button:disabled {
  opacity: 0.4;
}

.stepper input {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.stepper input:focus-visible {
  outline-offset: -3px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented legend {
  margin-bottom: var(--sp-2);
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.segmented label {
  position: relative;
  display: inline-flex;
}

.segmented input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.segmented span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.segmented input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
}

.segmented input:focus-visible + span {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(88svh, 760px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--border);
}

.dialog__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.dialog__body {
  display: grid;
  gap: var(--sp-6);
  max-height: calc(88svh - 150px);
  padding: var(--sp-6);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6) calc(var(--sp-4) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.dialog__foot .btn {
  flex: 1;
}

.pref-group {
  display: grid;
  gap: var(--sp-2);
}

.pref-group + .pref-group {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.pref-group h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
}

.pref-group p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-small);
}

.wa-fab {
  position: fixed;
  right: calc(var(--sp-4) + env(safe-area-inset-right));
  bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.wa-fab:hover {
  background: var(--wa-green-hover, #1DA851);
}

.wa-fab:active {
  transform: translateY(1px);
}

.wa-fab .icon {
  width: 30px;
  height: 30px;
}

.wa-fab__tip {
  position: absolute;
  right: calc(100% + 10px);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition:
    opacity var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.wa-fab:hover .wa-fab__tip,
.wa-fab:focus-visible .wa-fab__tip {
  opacity: 1;
  transform: none;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badges {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  left: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-4);
}

.product-card__cat {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__name {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.product-card__price {
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 600;
}

.product-card__note {
  color: var(--text-muted);
  font-size: var(--text-small);
}

.product-card--cta {
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  min-height: 100%;
  padding: var(--sp-6);
  border-style: dashed;
  background: transparent;
  text-align: center;
}

.product-card--cta .icon {
  width: 40px;
  height: 40px;
  color: var(--highlight-text);
}

.product-card--cta strong {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
}

.skeleton-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.skeleton-card__media {
  aspect-ratio: 4 / 3;
  background: var(--surface-raised);
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-card__body {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-4);
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: var(--surface-raised);
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-line--short {
  width: 50%;
}

.skeleton-line--price {
  width: 70%;
  height: 18px;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 0 0 12px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.8125rem;
}

.chip button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.chip button:hover {
  background: var(--surface-raised);
}

.chip .icon {
  width: 14px;
  height: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: var(--text-small);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--link);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

.toast {
  position: fixed;
  bottom: calc(var(--sp-6) + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 150;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  font-size: var(--text-small);
  transform: translateX(-50%);
}

.tooltip-host {
  position: relative;
}
