.icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--cocoa-700);
  color: var(--white);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--light {
  background: var(--cream-200);
  color: var(--cocoa-900);
}

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

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn.btn--cart {
  width: 100%;
  margin-top: auto;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

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

.icon-btn,
.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--cocoa-900);
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  position: relative;
}

.tool {
  flex-direction: column;
  gap: 2px;
  min-width: 64px;
  font-size: 0.72rem;
  font-weight: 600;
}

.tool__label {
  line-height: 1.1;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0 0 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.breadcrumb ol::-webkit-scrollbar {
  display: none;
}

.breadcrumb li {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.breadcrumb li + li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin: 0 5px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.4 2.2 8 6 4.4 9.8' fill='none' stroke='%238a642e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.breadcrumb li:last-child {
  flex: 0 1 auto;
  overflow: hidden;
}

.breadcrumb a,
.breadcrumb [aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb a {
  color: var(--cocoa-700);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--cocoa-900);
}

.breadcrumb a:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .breadcrumb ol {
    font-size: 13.5px;
  }
}

.badge {
  position: absolute;
  top: 2px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--cocoa-700);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.topbar {
  background: var(--cocoa-900);
  color: var(--gold-300);
  font-size: 0.78rem;
  min-height: 36px;
}

.topbar__viewport {
  overflow: hidden;
  width: min(var(--container), calc(100% - 24px));
  margin-inline: auto;
}

.topbar__track {
  display: flex;
  width: max-content;
}

.topbar__list {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 36px;
  padding: 6px 0;
}

.topbar__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-400);
}

.sticky-bar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--cream-50);
}

.sticky-bar.is-stuck {
  box-shadow: 0 8px 24px rgba(40, 26, 17, 0.08);
}

body.is-locked .sticky-bar {
  z-index: var(--z-drawer);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "toggle logo tools"
    "search search search";
  gap: 8px 10px;
  align-items: center;
  padding: 10px 0 12px;
}

.nav-toggle {
  grid-area: toggle;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--cocoa-900);
  display: grid;
  place-items: center;
  padding: 0;
}

.nav-toggle__icon {
  display: block;
  width: 22px;
  height: 18px;
}

.logo {
  grid-area: logo;
  justify-self: center;
  display: flex;
  align-items: center;
}

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

.header-tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.search {
  grid-area: search;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #e4d8c8;
  border-radius: var(--radius-pill);
  min-width: 0;
  padding-left: 16px;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  min-height: 46px;
  padding: 0 8px 0 0;
}

.search input:focus {
  outline: none;
}

.search:focus-within {
  outline: var(--focus);
  outline-offset: 2px;
}

.search button[type="submit"] {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: var(--gold-600);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: none;
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  z-index: var(--z-search);
  padding: 8px;
  max-height: min(70vh, 420px);
  overflow: auto;
}

.search-hit {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 6px;
  color: var(--ink);
}

.search-hit.is-active,
.search-hit:hover {
  background: var(--cream-200);
}

.search-hit img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--cream-200);
}

.search-hit strong {
  display: block;
  font-size: 0.92rem;
}

.search-hit em {
  font-style: normal;
  color: var(--cocoa-700);
  font-weight: 700;
  font-size: 0.85rem;
}

.search-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.region-picker {
  position: relative;
}

.region-picker__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  text-align: left;
}

.region-picker__btn small,
.header-phone small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.region-picker__btn strong,
.header-phone strong {
  font-size: 0.84rem;
  color: var(--cocoa-900);
}

.header-phone {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-height: 44px;
  justify-content: center;
  padding: 0 6px;
}

.region-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 14px;
  z-index: var(--z-popover);
}

.site-nav {
  background: var(--cocoa-800);
  color: var(--white);
}

.site-nav__list {
  display: flex;
  flex-direction: column;
}

.nav-item {
  position: relative;
}

.nav-item__row {
  display: flex;
  align-items: center;
}

.nav-item__row > a,
.nav-link {
  color: var(--white);
  text-decoration: none;
  padding: 13px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  flex: 1;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.nav-caret {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--gold-300);
}

.submenu {
  display: none;
  background: #3a281b;
  padding: 4px 8px 10px 16px;
}

.submenu a {
  display: block;
  color: var(--cream-50);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.is-open .submenu {
  display: grid;
}

.nav-mobile-tools {
  display: grid;
  gap: 8px;
  padding: 8px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

.nav-mobile-tools a,
.nav-mobile-tools button {
  color: var(--gold-300);
  background: transparent;
  border: 1px solid rgba(230, 211, 163, 0.35);
  border-radius: 12px;
  min-height: 44px;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0 12px;
  text-align: left;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40, 26, 17, 0.46);
  z-index: var(--z-nav-backdrop);
}

@media (max-width: 1023px) {
  .topbar__track {
    animation: topbar-marquee 22s linear infinite;
  }

  .header-tools .region-picker,
  .header-tools .header-phone,
  .header-tools .tool--account,
  .tool__label {
    display: none;
  }

  .header-tools .region-picker.is-open {
    display: block;
    position: fixed;
    z-index: var(--z-region);
    left: 12px;
    right: 12px;
    top: 72px;
    width: auto;
  }

  .header-tools .region-picker.is-open .region-picker__btn {
    display: none;
  }

  .header-tools .region-picker.is-open .region-popover {
    position: static;
    width: auto;
    right: auto;
  }

  .tool {
    min-width: 44px;
  }

  .site-nav {
    position: fixed;
    z-index: var(--z-nav);
    inset: 0 auto 0 0;
    width: min(340px, calc(100% - 48px));
    overflow: auto;
    transform: translateX(-105%);
    visibility: hidden;
    padding-bottom: 32px;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .topbar {
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .topbar__track {
    width: 100%;
    animation: none;
  }

  .topbar__list[aria-hidden="true"] {
    display: none;
  }

  .topbar__list {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle,
  .nav-mobile-tools,
  .nav-caret {
    display: none;
  }

  .header-main {
    grid-template-columns: auto minmax(220px, 1fr) auto;
    grid-template-areas: "logo search tools";
    gap: 22px;
    padding: 12px 0;
  }

  .logo {
    justify-self: start;
  }

  .logo img {
    height: 78px;
  }

  .header-tools {
    gap: 8px;
  }

  .site-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 2px;
  }

  .nav-item {
    z-index: 1;
  }

  .nav-item:hover,
  .nav-item:focus-within {
    z-index: 30;
  }

  .nav-item__row > a,
  .nav-link {
    padding: 14px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    flex: none;
    white-space: nowrap;
  }

  .submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    min-width: 240px;
    max-width: min(22rem, 70vw);
    max-height: min(70vh, 28rem);
    overflow: auto;
    padding: 8px;
    background: var(--white);
    color: var(--ink);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow-pop);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
  }

  .submenu a.is-nested {
    padding-left: calc(10px + (var(--nav-depth, 1) * 14px));
    font-size: 0.88rem;
  }

  .submenu a {
    color: var(--cocoa-900);
  }

  .submenu a:hover,
  .submenu a:focus-visible {
    background: var(--cream-200);
  }

  .submenu {
    pointer-events: none;
  }

  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu,
  .nav-item.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .site-nav {
    position: static;
    transform: none;
    visibility: visible;
    width: auto;
  }
}

.ticker {
  background: var(--lilac);
  color: var(--cocoa-800);
  border-bottom: 1px solid #e6dfea;
  min-height: 40px;
}

.ticker__bar {
  width: min(var(--container), calc(100% - 24px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ticker__viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker.is-paused .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 8px 0;
  font-size: 0.84rem;
  font-weight: 600;
}

.ticker__group span {
  padding: 0 22px;
  white-space: nowrap;
}

.ticker__group span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--gold-500);
  transform: translateY(-1px);
}

.ticker__pause {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--cocoa-700);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: underline;
  min-height: 40px;
  padding: 0 8px 0 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes topbar-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

.product-grid.is-compact {
  --grid-gap: 8px;
}

.product-grid.is-compact .product-card__body {
  padding: 8px 6px 10px;
  gap: 4px;
}

.product-grid.is-compact .product-card__title {
  font-size: 0.82rem;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .product-grid.is-compact .product-card__title button,
  .product-grid.is-compact .product-card__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

.product-grid.is-compact .product-card__price {
  font-size: clamp(0.75rem, 14cqi, 0.9rem);
}

.product-grid.is-compact .product-card__rating {
  margin-bottom: 4px;
  font-size: 0.68rem;
  gap: 3px;
}

.product-grid.is-compact .stars svg {
  width: 11px;
  height: 11px;
}

.product-grid.is-compact .btn.btn--cart,
.product-grid.is-compact .product-card__quick {
  min-height: 40px;
  padding: 6px 6px;
  font-size: 0.72rem;
  gap: 4px;
}

.product-grid.is-compact .btn .icon {
  width: 14px;
  height: 14px;
}

.product-grid.is-compact .fav-btn {
  width: 32px;
  height: 32px;
  top: 6px;
  right: 6px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  background: #f3ece4;
}

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

.product-card__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--cocoa-700);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(40, 26, 17, 0.12);
}

.fav-btn svg {
  width: 18px;
  height: 18px;
}

.fav-btn svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.fav-btn.is-active {
  color: var(--danger);
}

.fav-btn.is-active svg path {
  fill: currentColor;
}

.product-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card__title {
  margin: 0;
  font-size: 1.05rem;
}

.product-card__title button,
.product-card__title a {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  text-decoration: none;
}

.product-card__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-weight: 750;
  font-size: clamp(0.75rem, 14cqi, 1.05rem);
  line-height: 1.2;
  color: var(--cocoa-900);
}

.product-card__now {
  white-space: nowrap;
}

.product-card__was {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82em;
}

.product-card__off {
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--gold-300);
  color: var(--cocoa-900);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-card__quick {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
}

@container (max-width: 190px) {
  .product-card__body {
    padding-left: 10px;
    padding-right: 10px;
  }

  .btn.btn--cart,
  .product-card__quick {
    min-height: 36px;
    padding: 4px 8px;
    font-size: 0.75rem;
    gap: 4px;
    letter-spacing: 0;
  }

  .btn.btn--cart .icon {
    width: 14px;
    height: 14px;
  }
}

@container (max-width: 150px) {
  .product-card__body {
    padding-left: 8px;
    padding-right: 8px;
  }

  .btn.btn--cart,
  .product-card__quick {
    min-height: 34px;
    padding: 4px 6px;
    font-size: 0.68rem;
    gap: 3px;
  }
}

@container (max-width: 130px) {
  .product-card__body {
    padding-left: 6px;
    padding-right: 6px;
  }

  .btn.btn--cart {
    min-height: 34px;
    padding: 4px 4px;
    font-size: 0.64rem;
    gap: 3px;
  }
}

@container (max-width: 108px) {
  .btn.btn--cart .icon {
    display: none;
  }
}

.product-card__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--star);
}

.stars svg {
  width: 14px;
  height: 14px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cocoa-800);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e4d8c8;
  border-radius: 12px;
  background: var(--white);
  padding: 10px 12px;
  font-weight: 500;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  border: 1px solid #e4d8c8;
  background: var(--white);
  border-radius: 12px;
  min-height: 64px;
  padding: 8px 12px;
  text-align: left;
  min-width: 0;
  flex: 1 1 120px;
}

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

.choice small {
  color: var(--muted);
  font-weight: 500;
}

.choice.is-selected {
  border-color: var(--cocoa-700);
  box-shadow: inset 0 0 0 1px var(--cocoa-700);
  background: #fbf6f0;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e4d8c8;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.qty button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
}

.qty span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40, 26, 17, 0.46);
  z-index: var(--z-backdrop);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--white);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  box-shadow: -16px 0 40px rgba(40, 26, 17, 0.16);
}

.drawer.is-open {
  transform: none;
}

.drawer__head,
.drawer__foot {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer__head {
  border-bottom: 1px solid var(--line);
}

.drawer__foot {
  border-top: 1px solid var(--line);
  display: grid;
}

.drawer__body {
  flex: 1;
  overflow: auto;
  padding: 12px 16px 20px;
}

.drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
}

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

.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--cream-200);
}

.cart-line__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin: 0 0 4px;
}

.cart-line__meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.cart-line__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  min-height: 36px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 750;
  margin-bottom: 10px;
}

.drawer-note,
.empty-note {
  color: var(--muted);
  font-size: 0.9rem;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 24px);
  width: min(560px, calc(100vw - 24px));
}

dialog::backdrop {
  background: rgba(40, 26, 17, 0.5);
}

.modal__panel {
  background: var(--white);
  border-radius: 18px;
  padding: 22px 18px 18px;
  width: min(560px, calc(100vw - 24px));
  max-height: min(88vh, 820px);
  overflow: auto;
  position: relative;
}

.quick-view {
  width: min(960px, calc(100vw - 24px));
  max-height: min(88dvh, 820px);
}

.quick-view .modal__panel {
  display: flex;
  flex-direction: column;
  width: min(960px, calc(100vw - 24px));
  max-height: min(88dvh, 820px);
  overflow: hidden;
  padding-bottom: 0;
}

.quick-view .modal__close {
  z-index: 2;
  width: 44px;
  height: 44px;
  top: max(8px, env(safe-area-inset-top, 0px));
  right: 8px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
}

.quick-layout {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.quick-scroll {
  display: grid;
  gap: 18px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  align-content: start;
}

.quick-layout img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: #f3ece4;
}

.quick-layout h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  padding-right: 36px;
}

.quick-kicker {
  color: var(--gold-600);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.quick-price {
  font-size: 1.6rem;
  font-weight: 750;
  margin: 8px 0;
}

.quick-copy {
  min-width: 0;
}

.quick-copy > p {
  margin: 0;
}

.quick-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: none;
  margin-top: 8px;
  padding: 10px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.quick-bar .btn {
  flex: 1 1 160px;
}

.quick-detail {
  color: var(--cocoa-700);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.quick-detail:hover {
  color: var(--cocoa-900);
}

.quick-detail:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

body.is-quick {
  overflow: hidden;
}

body:has(#quick-view[open]) .support-toggle,
body:has(#quick-view[open]) .support-menu,
body:has(#quick-view[open]) .whatsapp-fab,
body:has(#quick-view[open]) .assistant-fab {
  visibility: hidden;
  pointer-events: none;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--ok);
  font-weight: 650;
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  background: var(--cocoa-950);
  color: #f3e6d4;
  margin-top: var(--space-section);
}

.site-footer a {
  color: #f6efe4;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-300);
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 22px 28px;
  padding: 36px 0 8px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand img {
  height: 92px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 28ch;
  color: #e6d7c4;
  font-size: 0.92rem;
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(230, 211, 163, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.social svg {
  width: 16px;
  height: 16px;
}

.footer-grid h2 {
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid button {
  border: 0;
  background: transparent;
  color: #f6efe4;
  padding: 0;
  font: inherit;
  text-align: left;
  min-height: 32px;
}

.footer-grid button:hover {
  color: var(--gold-300);
}

.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #f6efe4;
  font-size: 0.92rem;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-badges span {
  border: 1px solid rgba(230, 211, 163, 0.4);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}

.ssl-note {
  margin-top: 10px;
  max-width: 36ch;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #e6d7c4;
}

.footer-pay__lead {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  color: #f3e6d4;
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-pay__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-300);
  background:
    radial-gradient(circle at 50% 38%, rgba(230, 211, 163, 0.22), rgba(40, 26, 17, 0) 70%),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(230, 211, 163, 0.55);
}

.footer-pay__icon svg {
  width: 20px;
  height: 20px;
}

.pay-marks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid rgba(230, 211, 163, 0.32);
}

.pay-marks li,
.pay-marks li + li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  margin: 0;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--cream-50);
  box-shadow: inset 0 0 0 1px rgba(230, 211, 163, 0.7);
}

.pay-marks img {
  display: block;
  height: 18px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #e6d7c4;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-legal button {
  border: 0;
  background: transparent;
  color: #e6d7c4;
  padding: 0;
  text-decoration: underline;
  font-size: inherit;
  min-height: 32px;
}

@media (max-width: 700px) {
  .footer-grid {
    gap: 20px;
    padding: 28px 0 4px;
  }

  .footer-brand img {
    height: 72px;
  }

  .footer-pay__lead {
    max-width: 36ch;
  }

  .footer-bottom {
    align-items: flex-start;
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}

.support-toggle,
.support-menu {
  display: none;
}

.whatsapp-fab,
.assistant-fab {
  position: fixed;
  right: 14px;
  z-index: var(--z-support);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(40, 26, 17, 0.2);
}

.whatsapp-fab {
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  padding: 0;
}

.whatsapp-fab svg {
  width: 24px;
  height: 24px;
}

.whatsapp-fab__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.assistant-fab {
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--cocoa-900);
  color: var(--gold-300);
}

.assistant-fab svg {
  width: 22px;
  height: 22px;
}

.assistant-panel {
  position: fixed;
  right: 14px;
  bottom: calc(126px + env(safe-area-inset-bottom, 0px));
  width: min(340px, calc(100vw - 28px));
  max-height: calc(100dvh - 150px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
  z-index: var(--z-assistant);
  overflow: hidden;
  border: 1px solid var(--line);
}

.assistant-panel header {
  background: var(--cocoa-900);
  color: var(--cream-50);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.assistant-panel header p {
  color: var(--gold-300);
  font-size: 0.78rem;
}

.assistant-panel header h2 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.assistant-panel header button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--white);
}

.assistant-log {
  max-height: 240px;
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 8px;
  background: #fbfaf7;
}

.bubble {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.9rem;
  max-width: 95%;
}

.bubble--bot {
  background: var(--white);
  border: 1px solid var(--line);
}

.bubble--user {
  background: var(--cocoa-800);
  color: var(--white);
  justify-self: end;
}

.assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 8px;
  background: #fbfaf7;
}

.assistant-quick button {
  border: 1px solid #e4d8c8;
  background: var(--white);
  border-radius: var(--radius-pill);
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cocoa-800);
}

.assistant-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}

.assistant-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e4d8c8;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 12px;
}

.assistant-form button {
  border: 0;
  border-radius: 12px;
  background: var(--cocoa-700);
  color: var(--white);
  padding: 0 12px;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(12px);
  width: min(420px, calc(100% - 32px));
  background: var(--cocoa-900);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  text-align: center;
  z-index: var(--z-toast);
  opacity: 0;
  pointer-events: none;
  font-size: 0.9rem;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%);
}

@media (min-width: 560px) {
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
  }
}

@media (max-width: 767px) {
  .assistant-fab,
  .whatsapp-fab {
    display: none;
  }

  .support-toggle {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: var(--z-support);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--cocoa-900);
    color: var(--gold-300);
    box-shadow: 0 10px 24px rgba(40, 26, 17, 0.2);
  }

  .support-toggle svg {
    width: 26px;
    height: 26px;
  }

  .support-toggle__close {
    display: none;
  }

  .support-toggle[aria-expanded="true"] .support-toggle__open {
    display: none;
  }

  .support-toggle[aria-expanded="true"] .support-toggle__close {
    display: block;
  }

  body:has(#assistant-panel:not([hidden])) .support-toggle {
    display: none;
  }

  .support-menu:not([hidden]) {
    position: fixed;
    right: 14px;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    z-index: var(--z-support-menu);
    display: grid;
    gap: 4px;
    width: min(240px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-pop);
  }

  .support-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--cocoa-900);
    font-weight: 700;
    font-size: 0.92rem;
    text-align: left;
    text-decoration: none;
  }

  .support-menu__item svg {
    width: 22px;
    height: 22px;
    flex: none;
  }

  #support-whatsapp svg {
    color: var(--whatsapp);
  }

  .assistant-panel {
    bottom: 14px;
    max-height: calc(100dvh - 28px);
  }
}

@media (max-width: 899px) {
  .quick-view {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
  }

  .quick-view .modal__panel {
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    padding: max(10px, env(safe-area-inset-top, 0px)) 14px 0;
  }

  .quick-scroll {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    align-content: start;
  }

  .quick-layout img {
    width: 108px;
    height: 108px;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .quick-layout h2 {
    font-size: 1.15rem;
    padding-right: 40px;
  }

  .quick-price {
    margin: 4px 0;
    font-size: 1.2rem;
  }

  .quick-view .choice {
    min-height: 48px;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(180px, 0.95fr) minmax(180px, 1fr) minmax(300px, 1.3fr) minmax(230px, 1.05fr);
  }

  .quick-scroll {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .quick-layout img {
    max-height: 420px;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.join-invite {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-50);
}

.join-invite h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cocoa-900);
}

.join-invite p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.join-invite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.join-invite__actions .btn {
  min-height: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track,
  .topbar__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
  }

  .ticker__group[aria-hidden="true"],
  .topbar__list[aria-hidden="true"] {
    display: none;
  }
}
