:root {
  --ink: #191919;
  --paper: #fff;
  --line: #e7e7e7;
  --stone: #e9e6de;
  --header: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.boutique {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    13px/1.6 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button,
.text-button {
  border: 0;
  background: transparent;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:hover {
  opacity: 0.75;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0 0 16px;
}
h1,
h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}
:focus-visible {
  outline: 2px solid #9e7136;
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.skip {
  position: fixed;
  z-index: 300;
  top: -80px;
  left: 20px;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.boutique-header {
  height: var(--header);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition:
    color 0.3s,
    background 0.3s,
    height 0.3s;
}
.boutique-header button,
.boutique-header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
}
.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}
.boutique-header .boutique-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
}
.yonder-wordmark {
  display: block;
  width: 100%;
  height: auto;
}
#cartCount {
  font-size: 10px;
  margin-left: -6px;
}
.boutique-home .boutique-header {
  position: fixed;
}
.boutique-home:not(.has-scrolled):not(.panel-open):has(
    .first-campaign:not(.no-image)
  )
  .boutique-header {
  height: 112px;
  background: transparent;
  color: #fff;
  border-color: transparent;
}
.boutique-home:not(.has-scrolled):not(.panel-open)
  .boutique-header
  .boutique-brand {
  width: min(32vw, 430px);
}
.campaign {
  position: relative;
  height: 100svh;
  min-height: 580px;
  isolation: isolate;
  color: white;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #292821;
}
.campaign > img,
.campaign picture,
.campaign picture img,
.campaign-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.campaign-shade {
  background: #000;
  opacity: 0.2;
  z-index: -1;
}
.campaign-copy {
  text-align: center;
  max-width: 650px;
  padding: 28px;
}
.campaign-copy h1,
.campaign-copy h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}
.campaign-copy p {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.campaign-copy a {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 6px;
  padding: 8px;
  margin-top: 4px;
}
.hero-search {
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, 75vw);
  border-bottom: 1px solid #ffffffaa;
  display: flex;
}
.hero-search input {
  width: 100%;
  border: 0;
  color: #fff;
  background: none;
  padding: 14px 0;
  border-radius: 0;
}
.hero-search input::placeholder {
  color: #fff;
}
.hero-search button {
  color: #fff;
  font-size: 22px;
}
.scroll-prompt {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.campaign-index {
  position: fixed;
  z-index: 20;
  right: 28px;
  bottom: 26px;
  color: #fff;
  mix-blend-mode: difference;
  font-size: 11px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 32px 28px;
}
.section-heading h2 {
  margin: 0;
  font-size: 21px;
}
.section-heading a {
  text-decoration: underline;
}
.category-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}
.category-bar h1 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 12px 0 0;
}
.category-bar a {
  font-size: 12px;
}
.category-bar a[aria-current] {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  min-height: 60px;
  font-size: 11px;
}
.catalog-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.catalog-toolbar select {
  border: 0;
  background: none;
  max-width: 155px;
}
.catalog-toolbar .catalog-search {
  margin-right: auto;
}
.catalog-search input {
  border: none;
  border-bottom: 1px solid #bbb;
  padding: 5px;
  width: 145px;
}
.filter-details {
  position: relative;
}
.filter-details[open] {
  display: flex;
  gap: 12px;
}
.filter-details summary {
  cursor: pointer;
}
.catalog-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}
.product-card {
  min-width: 0;
  position: relative;
}
.product-picture {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--stone);
  overflow: hidden;
}
.product-picture > a {
  display: block;
  width: 100%;
  height: 100%;
}
.product-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s;
}
.product-picture .hover-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
}
@media (hover: hover) {
  .product-picture:hover .hover-photo {
    opacity: 1;
  }
}
.wish-button {
  position: absolute;
  right: 14px;
  top: 16px;
  padding: 6px;
}
[data-wish][aria-pressed="true"] .icon {
  fill: currentColor;
}
[data-wish][aria-pressed="true"] {
  text-decoration: underline;
}
.product-caption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 116px;
  padding: 18px 20px 24px;
  font-size: 12px;
}
.product-caption small {
  color: #777;
  font-size: 10px;
}
.no-photo {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: 0.15em;
  color: #817d73;
}
.no-photo small {
  font-size: 10px;
  margin-top: 10px;
  letter-spacing: 0;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.gallery-main {
  min-width: 0;
  background: var(--stone);
}
.gallery-hero {
  position: relative;
  display: block;
  padding: 0;
  width: 100%;
  background: var(--stone);
  cursor: zoom-in;
}
.gallery-hero:hover {
  opacity: 1;
}
.gallery-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.zoom-cue {
  position: absolute;
  bottom: 22px;
  right: 25px;
  font-size: 26px;
}
.gallery-caption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 15px 22px;
  margin: 0;
}
.detail-info {
  padding: 9vw 5vw 50px;
  position: sticky;
  top: var(--header);
}
.detail-info h1 {
  font-size: 24px;
  margin-bottom: 6px;
}
.product-origin {
  font-size: 10px;
  color: #777;
}
.detail-price {
  font-size: 14px;
  margin-top: 25px;
}
.gallery-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.gallery-thumb {
  border: 1px solid transparent;
  padding: 0;
  width: 54px;
  background: var(--stone);
}
.gallery-thumb[aria-pressed="true"] {
  border-color: #222;
}
.gallery-thumb img {
  display: block;
  width: 100%;
  height: 65px;
  object-fit: cover;
}
#sizeSelect {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  background: white;
  padding: 14px;
  margin: 12px 0 24px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 17px 22px;
  border: 1px solid #191919;
  background: #191919;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}
.secondary {
  display: block;
  padding: 12px;
  text-align: center;
  text-decoration: underline;
}
.purchase-actions {
  display: grid;
  gap: 10px;
}
.detail-info details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.detail-info details p {
  padding-top: 16px;
  white-space: pre-line;
}
summary {
  cursor: pointer;
}
.availability-note,
.muted {
  font-size: 11px;
  color: #777;
  margin: 14px 0;
}
.next-product {
  display: block;
  margin-top: 15px;
}
.text-button {
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.boutique-footer {
  padding: 64px 36px 26px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-columns summary {
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-columns details div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  padding-top: clamp(48px, 6vw, 96px);
  font-size: 10px;
}
.footer-brand {
  display: block;
  width: 100%;
}
.footer-brand .yonder-wordmark {
  display: block;
  width: 100%;
  height: auto;
}
.social-links {
  display: flex;
  gap: 20px;
  padding-top: 35px;
}
dialog {
  color: var(--ink);
  padding: 0;
  border: 0;
}
dialog::backdrop {
  background: #0009;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.side-panel,
.cart-dialog {
  position: fixed;
  top: 0;
  height: 100dvh;
  max-height: 100dvh;
  width: min(460px, 100vw);
  max-width: 100vw;
  margin: 0;
  background: white;
  padding: 30px 36px;
  overflow-y: auto;
}
.side-panel {
  left: 0;
  right: auto;
}
.cart-dialog {
  left: auto;
  right: 0;
}
.side-panel[open],
.cart-dialog[open] {
  animation: slide-in 0.25s ease-out;
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 45px;
}
.panel-top button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
}
.sub-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 22px 0 0 18px;
  font-size: 13px;
  color: #666;
}
.menu-bottom {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
  margin-top: 60px;
}
.menu-bottom span {
  font-size: 10px;
  margin-top: 10px;
}
.search-panel {
  margin: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  padding: 100px 12vw 65px;
}
.panel-close {
  position: absolute;
  right: 30px;
  top: 30px;
}
.search-form label {
  font-size: 22px;
}
.search-form div {
  display: flex;
  border-bottom: 1px solid #222;
  margin: 25px 0 36px;
}
.search-form input {
  width: 100%;
  background: none;
  border: 0;
  padding: 16px 0;
  font-size: 18px;
}
.search-categories {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}
.cart-heading h2 {
  font-size: 20px;
}
.cart-row {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.cart-row img {
  width: 90px;
  height: 112px;
  object-fit: cover;
}
.cart-row h3 {
  font-size: 13px;
  font-weight: 400;
}
.qty {
  display: flex;
  gap: 12px;
  align-items: center;
}
.qty button {
  padding: 4px;
}
.qty .remove {
  font-size: 10px;
  text-decoration: underline;
}
.cart-bottom {
  padding-top: 24px;
}
.total {
  display: flex;
  justify-content: space-between;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #191919;
  color: white;
  padding: 16px 24px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
}
.empty {
  padding: 50px 24px;
  grid-column: 1/-1;
  text-align: center;
}
.form-page {
  max-width: 560px;
  margin: 65px auto 100px;
  padding: 0 24px;
}
.form-page form {
  display: grid;
  gap: 10px;
}
.form-page input,
.form-page textarea,
.form-page select {
  width: 100%;
  border: 1px solid #ccc;
  padding: 13px;
  background: white;
  border-radius: 0;
}
.form-page label {
  margin-top: 10px;
}
.form-error {
  color: #9b2929;
}
.notice {
  background: #f5f3ed;
  padding: 16px;
  font-size: 12px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.page-heading {
  text-align: center;
  padding: 65px 24px 50px;
}
.content-page,
.account-page {
  max-width: 900px;
  padding: 65px 24px;
  margin: auto;
  min-height: 50vh;
}
.content-page section {
  margin: 35px 0;
}
.content-page p {
  white-space: pre-line;
}
.editorial-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #eeece5;
}
.editorial-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-story > div {
  padding: 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.boutique-admin #main {
  padding: 36px 24px;
  max-width: 1320px;
  margin: auto;
}
.boutique-admin .boutique-header {
  max-width: none;
}
.boutique-admin .site-settings {
  margin: auto;
}
@media (max-width: 900px) {
  .contact-link {
    display: none !important;
  }
  .header-left,
  .header-right {
    gap: 17px;
  }
  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 14px;
  }
  .catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-info {
    padding: 45px 25px;
  }
}
@media (max-width: 600px) {
  :root {
    --header: 64px;
  }
  .boutique-header {
    padding: 0 16px;
  }
  .header-left button span {
    display: none;
  }
  .header-right > a[aria-label="Личный кабинет"] {
    display: none;
  }
  .header-left,
  .header-right {
    gap: 14px;
  }
  .icon {
    width: 20px;
    height: 20px;
  }
  .boutique-header .boutique-brand {
    width: 115px;
  }
  .boutique-home:not(.has-scrolled):not(.panel-open)
    .boutique-header
    .boutique-brand {
    width: 145px;
  }
  .boutique-home:not(.has-scrolled):not(.panel-open):has(
      .first-campaign:not(.no-image)
    )
    .boutique-header {
    height: 76px;
  }
  .campaign {
    min-height: 540px;
  }
  .campaign > img,
  .campaign picture img {
    object-position: 48% center;
  }
  .campaign-copy h1,
  .campaign-copy h2 {
    font-size: 23px;
  }
  .campaign-copy p {
    font-size: 12px;
  }
  .section-heading {
    padding: 36px 16px 24px;
    gap: 20px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading a {
    font-size: 11px;
    white-space: nowrap;
  }
  .product-caption {
    padding: 13px 12px 20px;
    font-size: 11px;
    min-height: 100px;
  }
  .wish-button {
    right: 6px;
    top: 8px;
  }
  .catalog-toolbar {
    padding: 13px 16px;
    justify-content: space-between;
  }
  .catalog-toolbar .catalog-search {
    width: 100%;
  }
  .catalog-search input {
    flex: 1;
  }
  .catalog-toolbar > span {
    display: none;
  }
  .category-bar {
    padding: 18px 16px;
    gap: 24px;
  }
  .category-bar h1 {
    display: none;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .gallery-hero img {
    aspect-ratio: 4/5;
  }
  .detail-info {
    position: static;
    padding: 28px 20px;
  }
  .detail-info h1 {
    font-size: 22px;
  }
  .boutique-footer {
    padding: 32px 20px 24px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-columns details {
    border-bottom: 1px solid #ddd;
    padding: 18px 0;
  }
  .footer-columns summary {
    margin: 0;
  }
  .footer-columns summary::after {
    content: "+";
    float: right;
  }
  .footer-columns details[open] summary::after {
    content: "−";
  }
  .footer-columns details div {
    padding-top: 20px;
  }
  .footer-bottom {
    padding-top: 48px;
    gap: 24px;
  }

  .editorial-story {
    grid-template-columns: 1fr;
  }
  .page-heading {
    padding: 45px 20px;
  }
  .search-panel {
    padding: 85px 24px 45px;
  }
  .side-panel,
  .cart-dialog {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.information-page {
  max-width: 850px;
  padding: 65px 24px;
  margin: auto;
  min-height: 60vh;
}
.information-page section {
  margin: 35px 0;
}
.information-page section h2 {
  font-size: 19px;
}
.information-page section p {
  white-space: pre-line;
}
.account-orders {
  max-width: 800px;
  margin: 25px auto 70px;
  padding: 0 24px;
}
.account-orders article {
  display: flex;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid #ddd;
}
.no-image {
  background: #eeeae2;
  color: #191919;
}
.no-image .hero-search {
  border-color: #777;
}
.no-image .hero-search input,
.no-image .hero-search input::placeholder,
.no-image .hero-search button {
  color: #191919;
}
.image-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 96vw;
  height: 94dvh;
  max-width: 1400px;
  max-height: 94dvh;
  background: white;
}
.zoom-close {
  position: absolute;
  z-index: 3;
  right: 16px;
  top: 15px;
  padding: 10px;
}
.zoom-controls {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.zoom-controls button {
  padding: 10px;
  font-size: 20px;
}

.boutique-brand {
  transition: width 0.45s ease;
}
.boutique-home.header-over-photo:not(.panel-open) .boutique-header {
  background: transparent;
  color: #fff;
  border-color: transparent;
}
.menu-links summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-links summary::-webkit-details-marker {
  display: none;
}
.menu-links summary::after {
  content: "+";
  font-size: 20px;
}
.menu-links details[open] summary::after {
  content: "−";
}
:root {
  --ui-font: Arial, Helvetica, sans-serif;
}
body.boutique,
.boutique button,
.boutique input,
.boutique select,
.boutique textarea,
.boutique dialog {
  font-family: var(--ui-font);
}
.menu-panel .menu-links,
.menu-panel .sub-links,
.menu-panel .menu-bottom,
.menu-panel .panel-top,
.search-panel .search-categories {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.menu-panel .sub-links {
  color: var(--ink);
}
.menu-panel .menu-links {
  gap: 22px;
}
.menu-panel .menu-bottom {
  gap: 22px;
}
.search-form input {
  font-size: 15px;
}
@media (max-width: 1024px), (pointer: coarse) and (max-width: 1366px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-columns details {
    border-bottom: 1px solid #ddd;
    padding: 18px 0;
  }
  .footer-columns summary {
    margin: 0;
  }
  .footer-columns summary::after {
    content: "+";
    float: right;
  }
  .footer-columns details[open] summary::after {
    content: "−";
  }
  .footer-columns details div {
    padding-top: 20px;
  }
}

/* Update 04: fixed viewport + layered slides. No document scroll animation. */
html.immersive-home,
.immersive-home body.boutique-home {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
.home-slider {
  height: 100dvh;
  width: 100%;
  touch-action: pan-y pinch-zoom;
}
.home-slider .swiper-slide {
  background: #fff;
  overflow: hidden;
}
.home-slider .campaign {
  height: 100%;
  min-height: 0;
}
.home-slider .slide-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding-top: var(--header);
  touch-action: pan-y pinch-zoom;
}
.home-slider .selection {
  min-height: 0;
}
.home-slider .boutique-footer {
  min-height: 0;
  display: block;
}

.home-slider .footer-bottom {
  margin-top: 0;
}
.home-slider .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.home-slider .swiper-slide {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (min-width: 601px) {
  .home-slider .selection .catalog-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-slider .swiper-slide {
    transition-duration: 0ms !important;
  }
}

/* Update 05: independent horizontal product strip on phones. */
.home-slider,
.home-slider .slide-scroll {
  touch-action: pan-x pan-y pinch-zoom;
}
.selection-controls {
  display: none;
}
@media (max-width: 600px) {
  .selection .catalog-products {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 1px) / 2);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    touch-action: pan-x pan-y pinch-zoom;
  }
  .selection .product-card {
    scroll-snap-align: start;
  }
  .selection-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-size: 11px;
  }
  .selection-controls button {
    min-width: 44px;
    min-height: 44px;
    font-size: 22px;
  }
}

/* Update 06: outgoing later panels must stay above earlier panels on reverse. */
.home-slider > .swiper-wrapper > .swiper-slide {
  z-index: var(--slide-layer) !important;
}
