:root {
  --product-ink: #191815;
  --product-muted: #6c6257;
  --product-paper: #f4f0e8;
  --product-white: #fffdf9;
  --product-accent: #7a4f35;
}

.product-page {
  color: var(--product-ink);
  background: var(--product-paper);
}

.product-page [hidden] {
  display: none !important;
}

.product-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 80px;
  align-items: center;
  padding: 12px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid rgba(27, 26, 24, 0.12);
  background: rgba(244, 240, 232, 0.92);
  backdrop-filter: blur(18px);
  gap: 28px;
}

.product-topbar .brand__mark {
  color: var(--product-ink);
  background: transparent;
  border-color: var(--product-ink);
}

.product-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
}

.product-nav a {
  color: var(--product-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.product-nav a:hover {
  color: var(--product-ink);
}

.product-topbar__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-mobile-menu {
  position: relative;
  display: none;
}

.product-mobile-menu > summary {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--product-ink);
  border: 1px solid rgba(27, 26, 24, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  list-style: none;
}

.product-mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.product-mobile-menu > summary::marker {
  content: "";
}

.product-mobile-menu > summary span,
.product-mobile-menu > summary span::before,
.product-mobile-menu > summary span::after {
  display: block;
  width: 17px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 320ms ease, opacity 220ms ease;
}

.product-mobile-menu > summary span::before { transform: translateY(-5px); }
.product-mobile-menu > summary span::after { transform: translateY(4px); }
.product-mobile-menu[open] > summary span { background: transparent; }
.product-mobile-menu[open] > summary span::before { transform: translateY(1px) rotate(45deg); }
.product-mobile-menu[open] > summary span::after { transform: rotate(-45deg); }

.product-mobile-menu__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: -54px;
  display: grid;
  width: min(320px, calc(100vw - 24px));
  overflow: hidden;
  padding: 10px 14px;
  color: var(--product-ink);
  border: 1px solid rgba(27, 26, 24, 0.14);
  border-radius: 20px;
  background: rgba(250, 247, 240, 0.98);
  box-shadow: 0 26px 70px rgba(27, 22, 18, 0.2);
  backdrop-filter: blur(22px) saturate(120%);
  animation: productMenuIn 300ms cubic-bezier(.22, 1, .36, 1) both;
}

.product-mobile-menu__panel a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 10px;
  color: rgba(25, 24, 21, 0.72);
  border-bottom: 1px solid rgba(27, 26, 24, 0.09);
  font-size: 0.82rem;
}

.product-mobile-menu__panel a:last-child {
  margin-top: 8px;
  color: var(--product-white);
  border: 0;
  border-radius: 999px;
  background: var(--product-ink);
}

@keyframes productMenuIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
}

.product-topbar .language-switch {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(27, 26, 24, 0.15);
}

.product-topbar .lang-button.is-active {
  color: var(--product-white);
  background: var(--product-ink);
}

.product-bag {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 6px 0 15px;
  border: 1px solid var(--product-ink);
  border-radius: 999px;
  gap: 9px;
  font-size: 0.76rem;
}

.product-bag strong {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--product-white);
  background: var(--product-accent);
  font-size: 0.68rem;
}

.product-loading,
.product-not-found {
  display: grid;
  min-height: 70vh;
  place-content: center;
  padding: 30px;
  text-align: center;
}

.product-not-found h1 {
  margin: 12px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  width: min(1440px, 100%);
  min-height: min(820px, calc(100svh - 80px));
  margin: 0 auto;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  height: auto;
  min-height: 760px;
  padding: clamp(20px, 3vw, 46px);
  background: #e9e2d7;
  gap: 14px;
}

.detail-thumbnails {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  gap: 10px;
  scrollbar-width: thin;
}

.detail-thumbnail {
  flex: 0 0 auto;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.detail-thumbnail.is-active {
  border-color: var(--product-accent);
}

.detail-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-main-image {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #ddd2c2;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.detail-main-image[data-long="true"] img {
  object-fit: contain;
}

.detail-image-count {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--product-white);
  background: rgba(25, 24, 21, 0.74);
  font-size: 0.65rem;
}

.detail-summary {
  display: grid;
  align-content: center;
  padding: clamp(42px, 6vw, 100px) clamp(28px, 5vw, 82px);
  background: var(--product-white);
}

.detail-breadcrumb {
  margin-bottom: 30px;
  color: var(--product-muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.detail-breadcrumb a {
  border-bottom: 1px solid currentColor;
}

.detail-badge {
  width: max-content;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(122, 79, 53, 0.32);
  border-radius: 999px;
  color: var(--product-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.detail-summary h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.02;
}

.detail-subtitle {
  margin-top: 13px;
  color: var(--product-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.detail-copy {
  max-width: 530px;
  margin-top: 24px;
  color: var(--product-muted);
  line-height: 1.9;
}

.detail-flavor {
  margin-top: 22px;
  padding: 13px 0;
  border-top: 1px solid rgba(27, 26, 24, 0.12);
  border-bottom: 1px solid rgba(27, 26, 24, 0.12);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.detail-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #315f48;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.detail-market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.detail-sales {
  margin: 14px 0 0;
  color: var(--product-muted);
  font-size: .78rem;
  font-weight: 650;
}

.detail-restock {
  text-decoration: none;
}

.product-bag-toast {
  position: fixed;
  z-index: 96;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: .78rem .85rem .78rem 1rem;
  color: #f7f1e6;
  background: rgba(10, 22, 15, .94);
  border: 1px solid rgba(209, 168, 108, .42);
  border-radius: 999px;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px) saturate(125%);
  opacity: 0;
  transform: translateY(1rem) scale(.97);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}

.product-bag-toast.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.product-bag-toast span {
  font-size: .84rem;
}

.product-bag-toast a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .58rem .75rem;
  color: #20180f;
  background: #d8b47d;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
}

.product-bag-toast b {
  font-weight: 500;
  transition: transform .25s ease;
}

.product-bag-toast a:hover b {
  transform: translateX(3px);
}

.detail-stock span {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(49, 95, 72, .09);
}

.detail-stock[data-stock="out"] {
  color: #8f4c3c;
}

.detail-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  gap: 9px;
}

.detail-variant {
  position: relative;
  min-height: 68px;
  padding: 11px 12px;
  border: 1px solid rgba(27, 26, 24, 0.18);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.detail-variant.is-active {
  border-color: var(--product-ink);
  box-shadow: inset 0 0 0 1px var(--product-ink);
}

.detail-variant span,
.detail-variant strong {
  display: block;
}

.detail-variant span {
  font-size: 0.72rem;
}

.detail-variant strong {
  margin-top: 3px;
  color: var(--product-accent);
  font-size: 0.92rem;
}

.detail-variant em {
  position: absolute;
  top: -9px;
  right: 8px;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--product-white);
  background: var(--product-accent);
  font-size: 0.55rem;
  font-style: normal;
}

.detail-purchase-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: 22px;
  gap: 18px;
}

.detail-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.detail-price del {
  display: block;
  margin-top: 5px;
  color: var(--product-muted);
  font-size: 0.75rem;
}

.detail-price small {
  display: block;
  margin-top: 4px;
  color: var(--product-accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.detail-add {
  min-width: 190px;
}

.detail-add:disabled {
  opacity: .52;
  cursor: not-allowed;
}

.detail-purchase-actions {
  display: grid;
  min-width: 190px;
  gap: 8px;
}

.detail-purchase-actions .detail-add {
  width: 100%;
}

.detail-favorite {
  min-height: 42px;
  color: var(--product-accent);
  background: transparent;
  border: 1px solid rgba(122, 79, 53, 0.24);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.detail-favorite[data-active="true"] {
  color: #fff;
  background: var(--product-accent);
}

.product-account {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--product-muted);
  border: 1px solid rgba(27, 26, 24, 0.14);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.product-account:hover {
  color: #fff;
  background: var(--product-accent);
  border-color: var(--product-accent);
}

.detail-note {
  margin-top: 12px;
  color: var(--product-muted);
  font-size: 0.68rem;
}

.detail-anchor-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border-top: 1px solid rgba(27, 26, 24, 0.13);
  border-bottom: 1px solid rgba(27, 26, 24, 0.13);
}

.detail-anchor-nav a {
  padding: 15px 8px;
  color: var(--product-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.detail-anchor-nav a + a {
  border-left: 1px solid rgba(27, 26, 24, 0.13);
}

.detail-anchor-nav a:hover {
  color: var(--product-accent);
}

.detail-section {
  width: min(1280px, calc(100% - clamp(40px, 8vw, 150px)));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 150px) 0;
}

.detail-section__heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  margin-bottom: 46px;
  gap: 44px;
}

.detail-section__heading h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.detail-section__heading p:last-child {
  align-self: end;
  color: var(--product-muted);
  line-height: 1.9;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(27, 26, 24, 0.15);
  border-left: 1px solid rgba(27, 26, 24, 0.15);
}

.spec-grid div {
  min-height: 146px;
  padding: 24px;
  border-right: 1px solid rgba(27, 26, 24, 0.15);
  border-bottom: 1px solid rgba(27, 26, 24, 0.15);
}

.spec-grid dt {
  color: var(--product-muted);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.spec-grid dd {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.brewing-section {
  width: 100%;
  padding-inline: clamp(20px, 5vw, 80px);
  background: #1e1c19;
}

.brewing-section .detail-section {
  color: var(--product-white);
}

.brewing-section .eyebrow {
  color: #d8c1ad;
}

.brewing-section .detail-section__heading p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

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

.brew-step {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.brew-step span {
  color: #d8c1ad;
  font-family: Georgia, serif;
  font-size: 0.72rem;
}

.brew-step h3 {
  margin: 24px 0 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.brew-step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.8;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: clamp(42px, 8vw, 130px);
}

.story-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.story-grid__copy p:not(.eyebrow) {
  margin-top: 26px;
  color: var(--product-muted);
  font-size: 1.02rem;
  line-height: 2;
}

.detail-markdown h3,
.detail-markdown h4 {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
}

.detail-markdown h3 { font-size: 1.35rem; }
.detail-markdown h4 { font-size: 1.1rem; }

.story-origin {
  display: inline-flex;
  margin-top: 28px;
  padding: 10px 13px;
  border-top: 1px solid rgba(27, 26, 24, 0.2);
  border-bottom: 1px solid rgba(27, 26, 24, 0.2);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
}

.detail-long-image {
  display: block;
  width: min(1056px, 100%);
  height: auto;
  margin: 0 auto;
  background: #eee8de;
}

.related-section {
  width: 100%;
  padding-inline: clamp(20px, 5vw, 80px);
  background: #ebe4d8;
}

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

.related-card {
  display: block;
  color: var(--product-ink);
  background: var(--product-white);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(20, 18, 16, 0.12);
}

.related-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.related-card__copy {
  padding: 20px;
}

.related-card__copy span {
  color: var(--product-muted);
  font-size: 0.66rem;
}

.related-card__copy p {
  display: -webkit-box;
  min-height: 3.3em;
  margin: 0 0 18px;
  overflow: hidden;
  color: var(--product-muted);
  font-size: 0.76rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-card__copy .related-availability {
  display: block;
  min-height: 0;
  margin: -2px 0 10px;
  color: #315f48;
  font-weight: 700;
  -webkit-line-clamp: initial;
}

.related-card__copy .related-availability[data-stock="out"] {
  color: #8f4c3c;
}

.related-card__copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 26, 24, 0.1);
}

.related-card__copy b {
  color: var(--product-accent);
  font-size: 1.1rem;
  font-weight: 400;
}

.related-card h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.related-card strong {
  color: var(--product-accent);
  font-size: 0.88rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
  padding: 36px clamp(20px, 5vw, 80px);
  color: var(--product-white);
  background: #151412;
}

.product-footer > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.product-footer .brand__mark {
  color: var(--product-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

.product-footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .detail-hero,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: 0;
  }

  .detail-gallery {
    min-height: 680px;
  }

  .detail-main-image img {
    max-height: none;
  }

  .detail-summary {
    padding: 54px clamp(22px, 7vw, 74px) 66px;
  }

  .detail-section__heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-section__heading p:last-child {
    max-width: 680px;
  }

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

@media (max-width: 680px) {
  .product-bag-toast {
    right: .75rem;
    bottom: calc(5.6rem + env(safe-area-inset-bottom));
    max-width: calc(100vw - 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-bag-toast,
  .product-bag-toast * {
    transition-duration: .01ms !important;
  }
}

@media (max-width: 680px) {
  .product-topbar {
    grid-template-columns: auto auto;
    padding-inline: 14px;
  }

  .product-topbar .brand__descriptor,
  .product-nav {
    display: none;
  }

  .product-topbar .language-switch {
    display: inline-flex;
    padding: 3px;
  }

  .product-topbar .lang-button {
    min-width: 38px;
    height: 38px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .product-account {
    display: none;
  }

  .product-mobile-menu {
    display: block;
  }

  .product-bag > span {
    display: none;
  }

  .product-topbar__tools {
    justify-self: end;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 12px;
  }

  .detail-main-image {
    height: auto;
    aspect-ratio: 1;
  }

  .detail-thumbnails {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .detail-thumbnail {
    width: 62px;
  }

  .detail-variants,
  .spec-grid,
  .brew-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-anchor-nav {
    grid-template-columns: 1fr;
  }

  .detail-anchor-nav a + a {
    border-top: 1px solid rgba(27, 26, 24, 0.13);
    border-left: 0;
  }

  .detail-add {
    width: 100%;
  }

  .detail-section {
    width: min(calc(100% - 40px), 1280px);
  }

  .brewing-section,
  .related-section {
    padding-inline: 0;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

/* Responsive purchase refinement */
.detail-mobile-buybar {
  display: none;
}

@media (min-width: 981px) and (max-width: 1240px) {
  .detail-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  }

  .detail-summary {
    padding-inline: clamp(34px, 4vw, 58px);
  }

  .detail-summary h1 {
    font-size: clamp(3rem, 4.5vw, 4.4rem);
  }
}

@media (max-width: 980px) {
  .product-page main {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .detail-gallery {
    min-height: 0;
  }

  .detail-summary {
    padding-top: clamp(38px, 6vw, 54px);
  }

  .detail-mobile-buybar {
    position: fixed;
    z-index: 65;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
    align-items: center;
    gap: 18px;
    min-height: 76px;
    padding: 10px max(22px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
    background: rgba(250, 247, 240, .94);
    border-top: 1px solid rgba(75, 57, 42, .14);
    box-shadow: 0 -16px 44px rgba(32, 27, 22, .12);
    backdrop-filter: blur(22px) saturate(120%);
  }

  .detail-mobile-buybar > span {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .detail-mobile-buybar small {
    overflow: hidden;
    color: var(--product-muted);
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-mobile-buybar strong {
    color: var(--product-accent);
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 500;
  }

  .detail-mobile-buybar .button {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
  }
}

@media (max-width: 680px) {
  .product-topbar {
    min-height: 72px;
    padding: 10px 12px;
    gap: 10px;
  }

  .product-topbar .brand {
    gap: 8px;
  }

  .product-topbar .brand__mark {
    width: 36px;
    height: 36px;
  }

  .product-topbar .brand__text {
    font-size: .92rem;
    letter-spacing: .08em;
  }

  .product-topbar .language-switch {
    padding: 2px;
  }

  .product-topbar .lang-button {
    min-width: 44px;
    height: 44px;
    padding-inline: 5px;
    font-size: .69rem;
  }

  .product-bag {
    min-width: 44px;
    min-height: 44px;
    padding: 0 5px;
  }

  .product-bag strong {
    width: 30px;
    height: 30px;
  }

  .detail-gallery {
    padding: 10px;
    gap: 10px;
  }

  .detail-thumbnails {
    gap: 8px;
    padding-bottom: 2px;
  }

  .detail-thumbnail {
    width: 64px;
    min-height: 64px;
    border-radius: 8px;
  }

  .detail-summary {
    padding: 34px 20px 54px;
  }

  .detail-breadcrumb {
    margin-bottom: 24px;
  }

  .detail-summary h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(2.35rem, 11.2vw, 3.05rem);
    letter-spacing: .01em;
    line-height: 1.08;
  }

  .detail-copy {
    margin-top: 19px;
  }

  .detail-market {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .detail-sales {
    margin-top: 0;
  }

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

  .detail-variant {
    min-height: 72px;
  }

  .detail-mobile-buybar {
    grid-template-columns: minmax(0, .72fr) minmax(160px, 1.28fr);
    min-height: 74px;
    gap: 12px;
    padding-inline: 14px;
  }

  .detail-mobile-buybar .button {
    min-height: 50px;
    padding-inline: 14px;
  }

  .detail-section {
    width: min(calc(100% - 32px), 1280px);
  }
}

@media (max-width: 430px) {
  .product-topbar .brand__lockup {
    display: none;
  }
}

@media (max-width: 360px) {
  .product-topbar .brand__lockup {
    display: none;
  }

  .product-topbar {
    padding-inline: 8px;
  }

  .product-topbar__tools {
    gap: 4px;
  }

  .detail-mobile-buybar {
    grid-template-columns: minmax(0, .65fr) minmax(148px, 1.35fr);
    padding-inline: 10px;
  }
}
