.mobile-nav-toggle {
  display: none;
}
.service-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* AI recommendations use a compact, directly scrollable product shelf. */
.recommendation-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(190px, 28vw, 228px);
  grid-template-columns: none;
  gap: 12px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 12px;
  padding: 2px 2px 12px;
  cursor: grab;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-color: #b58b61 #eee4d8;
  scrollbar-width: thin;
}

.recommendation-carousel:focus-visible {
  outline: 2px solid rgba(128, 7, 19, 0.35);
  outline-offset: 3px;
}

.recommendation-carousel .ai-product-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 136px minmax(0, 1fr);
  width: auto;
  height: 316px;
  scroll-snap-align: start;
}

.ai-product-card__link {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.recommendation-carousel .ai-product-image {
  min-height: 0;
}

.recommendation-carousel .ai-product-info {
  padding: 12px 12px 11px;
}

.recommendation-carousel .ai-product-info h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.3;
}

.recommendation-carousel .ai-product-info > p {
  overflow: hidden;
  margin: 0;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-carousel .ai-product-price {
  margin-top: auto;
  font-size: 17px;
}

.recommendation-carousel .ai-product-actions {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 7px;
  margin-top: 8px;
}

.assistant-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 11px;
  background: var(--surface);
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
}

.assistant-action .icon {
  width: 17px;
  height: 17px;
}

.typing-indicator {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  gap: 5px;
}

.typing-indicator i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b8070;
  animation: typing-bounce 0.9s ease-in-out infinite;
}

.typing-indicator i:nth-child(2) {
  animation-delay: 0.12s;
}
.typing-indicator i:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.chat-composer {
  grid-template-columns: minmax(0, 1fr) 52px;
}

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

.recommendation-carousel .ai-product-actions .btn,
.recommendation-carousel .ai-favorite {
  height: 34px;
}

.recommendation-carousel .ai-product-actions .btn {
  padding-inline: 7px;
  font-size: 11px;
}

.recommendation-carousel .ai-favorite {
  width: 36px;
}

.ai-product-teaser,
.carousel-arrow,
.carousel-dots {
  display: none;
}

@media (max-width: 720px) {
  .recommendation-carousel {
    grid-auto-columns: min(72vw, 228px);
    gap: 10px;
    margin-inline: 0;
  }
}

/* Product pages work as a visual catalogue: image first, concise buying information second. */
.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.products-page .listing-card {
  display: flex;
  height: auto;
  min-height: 420px;
  flex-direction: column;
  background: #fffdfa;
}

.products-page .listing-card__media {
  width: 100%;
  height: 300px;
  flex: 0 0 300px;
  border-bottom: 1px solid var(--line-soft);
  background: #f8f5ef;
}

.products-page .listing-card__media img {
  transition: transform 220ms ease;
  object-fit: contain;
  padding: 18px;
}

.products-page .listing-card__media.is-landscape img {
  padding: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
}

.products-page .listing-card:hover .listing-card__media.is-landscape img {
  transform: scale(1.085);
}

.products-page .listing-card__body {
  display: flex;
  min-height: 0;
  flex: 1;
  padding: 16px 17px 17px;
}

.products-page .listing-brand,
.home-product-brand,
.product-brand {
  margin: 0 0 6px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.products-page .listing-card__body h2 {
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.listing-card__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  padding-top: 13px;
  color: #6b554c;
  font-size: 12px;
}

.products-page .listing-price {
  margin: 0;
  color: var(--wine);
  font-size: 18px;
  text-align: right;
}

.products-page .listing-price small {
  color: #6b554c;
  font-size: 10px;
}

.product-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 0 16px 17px;
  text-align: left;
}

.product-card .product-image {
  width: calc(100% + 32px);
  height: 250px;
  flex: 0 0 250px;
  margin: 0 -16px 15px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 7px 7px 0 0;
  background-color: #f8f5ef;
}

.product-card .home-product-brand {
  display: block;
}

.product-card h3 {
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  text-align: left;
}

.home-product-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  color: #6b554c;
  font-size: 12px;
}

.product-card .home-product-meta .price {
  margin: 0;
  color: var(--wine);
  font-size: 18px;
  text-align: right;
}

.product-overview {
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.65fr);
  align-items: start;
  gap: 42px;
  padding-bottom: 36px;
}

.gallery-main {
  --gallery-zoom-x: 50%;
  --gallery-zoom-y: 50%;
  position: relative;
  background: #f8f5ef;
}

.gallery-main img,
.gallery-thumb img {
  object-fit: contain;
}

.gallery-main img {
  transform-origin: var(--gallery-zoom-x) var(--gallery-zoom-y);
  transition: transform 180ms ease-out;
}

.gallery-main.is-landscape img,
.gallery-thumb.is-landscape img {
  object-fit: cover;
  object-position: center;
}

.gallery-zoom-hint {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  display: none;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(32, 20, 15, 0.76);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.gallery-zoom-hint .icon,
.gallery-zoom-hint svg {
  width: 15px;
  height: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-zoom-hint {
    display: inline-flex;
  }

  .gallery-main.is-zoomable {
    cursor: zoom-in;
  }

  .gallery-main.is-zoomable.is-zooming {
    cursor: zoom-out;
  }

  .gallery-main.is-zoomable.is-zooming img {
    transform: scale(2.15);
    transition-duration: 100ms;
  }

  .gallery-main.is-zoomable.is-zooming .gallery-zoom-hint {
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .gallery-zoom-hint {
    display: none;
  }
}

.product-info {
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 34px rgba(92, 52, 22, 0.08);
}

.product-info h1 {
  font-size: 27px;
}

.product-info .origin-line {
  margin-top: 9px;
  font-size: 13px;
}

.product-info .origin-line > span {
  padding: 0;
}

.product-info .origin-line > span::after {
  display: none;
}

.detail-lower {
  grid-template-columns: 1fr;
  gap: 0;
}

.wine-intro-content {
  max-width: 920px;
}

@media (max-width: 1280px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-overview {
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
    gap: 28px;
  }
}

@media (max-width: 1100px) {
  .product-overview {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }
}

@media (max-width: 720px) {
  .products-page .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .products-page .listing-card {
    display: flex;
    height: auto;
    min-height: 300px;
    flex-direction: column;
  }

  .products-page .listing-card__media {
    width: 100%;
    height: 180px;
    flex: 0 0 180px;
    background-position: center;
  }

  .products-page .listing-card__media img {
    padding: 9px;
  }

  .products-page .listing-card__body {
    padding: 10px;
  }

  .products-page .listing-brand {
    font-size: 9px;
  }

  .products-page .listing-card__body h2 {
    min-height: 48px;
    font-size: 12px;
  }

  .listing-card__meta {
    display: grid;
    gap: 5px;
    padding-top: 8px;
    font-size: 10px;
  }

  .products-page .listing-price {
    font-size: 15px;
    text-align: left;
  }

  .product-card {
    min-height: 315px;
    padding: 0 10px 12px;
  }

  .product-card .product-image {
    width: calc(100% + 20px);
    height: 175px;
    flex-basis: 175px;
    margin: 0 -10px 10px;
  }

  .product-card h3 {
    min-height: 48px;
    font-size: 13px;
  }

  .home-product-meta {
    display: grid;
    gap: 5px;
    padding-top: 8px;
  }

  .product-card .home-product-meta .price {
    font-size: 15px;
    text-align: left;
  }

  .product-info {
    padding: 19px 16px;
  }
}
.service-assurance > .assurance-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.service-assurance > .assurance-item:last-child {
  border-right: 0;
}
.page {
  overflow-x: clip;
}
.site-header {
  z-index: 50;
  box-shadow: 0 5px 18px rgba(42, 22, 17, 0.05);
}
.footer-store-image {
  background-image: url('../assets/storefront.png');
}
.react-add.is-added {
  background: #5f341b;
  color: #fff;
}
.product-image {
  display: block;
}
.product-card-link {
  position: relative;
  display: block;
  color: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.product-card-link:hover,
.product-card-link:focus-visible {
  border-color: rgba(125, 6, 18, 0.48);
  outline: 0;
  background: #fffdf9;
  box-shadow: 0 14px 32px rgba(92, 52, 22, 0.14);
  transform: translateY(-3px);
}
.product-card-link .product-detail-link {
  width: 100%;
}
.product-card-link .price {
  display: block;
  color: var(--wine);
  font-weight: 900;
}
.product-card-link .price small {
  color: var(--ink);
  font-size: 0.65em;
}
.mobile-filter-button,
.filter-close {
  display: none;
}
.mobile-catalog-tools {
  display: none;
}
.catalog-load-more {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #765e52;
  font-size: 13px;
  text-align: center;
}
.catalog-loader {
  width: 20px;
  height: 20px;
  border: 2px solid #dfcdb8;
  border-top-color: var(--wine);
  border-radius: 50%;
  animation: catalog-spin 0.7s linear infinite;
}
@keyframes catalog-spin {
  to {
    transform: rotate(360deg);
  }
}
.home-flow-section,
.home-corporate-section {
  padding-top: 0;
}
.ai-service-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 20px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--surface-soft);
}
.ai-service-note .icon {
  color: var(--gold-deep);
}
.ai-service-note strong,
.ai-service-note small {
  display: block;
}
.ai-service-note small {
  margin-top: 2px;
  color: #6d554b;
  font-size: 10px;
}
.quote-rail {
  position: sticky;
  top: 90px;
  display: flex;
  min-height: 0;
  align-self: start;
  overflow: hidden;
  padding-top: 24px;
  transition:
    top 0.24s ease,
    height 0.24s ease;
}
.quote-panel {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}
.quote-items {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c5aa8d transparent;
  scrollbar-width: thin;
}
.quote-items::-webkit-scrollbar {
  width: 7px;
}
.quote-items::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c5aa8d;
}
.ai-product-card {
  animation: recommendation-enter 0.24s ease-out;
}
@keyframes recommendation-enter {
  from {
    opacity: 0.45;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.quote-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 175px;
  height: 58px;
  align-items: center;
  margin: 0 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 800;
}
.quote-product-head span:nth-child(n + 2) {
  text-align: center;
}
.filters-panel {
  transition:
    top 0.24s ease,
    height 0.24s ease;
}
.filters-panel {
  z-index: 10;
  align-self: start;
  box-shadow: 8px 0 24px rgba(42, 22, 17, 0.04);
}
.quote-summary {
  position: sticky;
  top: 110px;
  align-self: start;
  height: fit-content;
  max-height: calc(100dvh - 130px - var(--alcohol-warning-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  transition: top 0.24s ease;
}
.recommend-box .chip {
  white-space: nowrap;
}
.recommend-box .choice-line {
  margin-bottom: 15px;
}
.recommend-actions {
  grid-template-columns: minmax(0, 1fr) 132px;
  width: 100%;
  margin: 22px 0 16px;
}
.recommend-actions .btn {
  height: 34px;
  padding-inline: 12px;
  font-size: 13px;
}

.corporate-hero::before {
  width: 100%;
  background-position: center;
}
.corporate-hero::after {
  background: linear-gradient(
    90deg,
    rgba(251, 247, 240, 0.98) 0%,
    rgba(251, 247, 240, 0.93) 37%,
    rgba(251, 247, 240, 0.58) 56%,
    rgba(251, 247, 240, 0.08) 78%,
    rgba(251, 247, 240, 0) 100%
  );
}
.plan-card {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.plan-card:hover,
.plan-card:focus-visible {
  border-color: rgba(125, 6, 18, 0.52);
  outline: 0;
  box-shadow: 0 13px 28px rgba(78, 15, 20, 0.12);
  transform: translateY(-2px);
}
.plan-selected {
  right: 10px;
  left: auto;
}
.plan-selected {
  gap: 0;
  padding: 4px 9px;
}
.plan-card__action {
  display: inline-flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid var(--gold-deep);
  border-radius: 7px;
  color: #69351d;
  font-size: 15px;
  font-weight: 900;
}
.plan-card.is-selected .plan-card__action {
  border-color: var(--wine);
  color: var(--wine);
}

@media (min-width: 1051px) {
  .filters-panel .filter-row.is-active::before {
    display: none;
  }
  .products-body {
    height: calc(100dvh - 90px - var(--alcohol-warning-height));
    overflow: hidden;
  }
  .products-body + .site-footer {
    display: none;
  }
  .products-page {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .filters-panel {
    position: relative;
    top: auto;
    height: 100%;
  }
  .products-content {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #c5aa8d transparent;
    scrollbar-width: thin;
  }
  .products-content::-webkit-scrollbar {
    width: 8px;
  }
  .products-content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c5aa8d;
  }
}

@media (min-width: 1051px) and (max-width: 1250px) {
  .hero__inner {
    grid-template-columns: 58% 42%;
  }
  .recommend-box {
    width: min(100%, 550px);
    padding: 18px 15px 14px;
  }
  .choice-line {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 7px;
    margin-bottom: 16px;
  }
  .choice-label {
    font-size: 15px;
  }
  .choice-options {
    gap: 5px;
  }
  .recommend-box .chip {
    min-width: 0;
    padding-inline: 7px;
    font-size: 12px;
  }
}

@media (max-width: 1180px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .quote-summary {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .quote-page-container {
    width: min(100% - 40px, 900px);
  }
}

@media (max-width: 1050px) {
  .site-header {
    height: 76px;
  }
  .site-header__inner {
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }
  .brand-logo__wordmark {
    height: 58px;
  }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    height: 44px;
    padding-inline: 12px;
  }
  .site-nav a.is-active {
    border-radius: 6px;
    background: rgba(112, 8, 18, 0.07);
    color: var(--wine);
  }
  .site-nav a.is-active::after {
    display: none;
  }
  .header-icon-link {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    color: var(--wine);
    font-size: 22px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-social-panel {
    gap: 20px;
  }
  .footer-social-actions > a {
    min-width: 180px;
  }
  .footer-store-map {
    min-height: 150px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__copy {
    max-width: 680px;
    padding: 42px 0;
  }
  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(251, 247, 240, 0.98) 0%,
      rgba(251, 247, 240, 0.92) 55%,
      rgba(251, 247, 240, 0.35) 100%
    );
  }
  .recommend-box {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .corporate-band {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .products-page {
    grid-template-columns: 1fr;
  }
  .products-body {
    height: auto;
    overflow: visible;
  }
  .products-content {
    height: auto;
    overflow: visible;
  }
  .mobile-filter-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    padding: 0 17px;
    background: var(--wine);
    color: #fff;
    box-shadow: 0 10px 28px rgba(78, 15, 20, 0.25);
    font-weight: 800;
  }
  .mobile-filter-button .icon {
    width: 18px;
    height: 18px;
  }
  .filters-panel {
    position: fixed;
    inset: 76px auto 0 0;
    z-index: 40;
    display: none;
    width: min(350px, 90vw);
    height: calc(100dvh - 76px);
    overflow-y: auto;
    background: rgba(251, 247, 240, 0.995);
    box-shadow: 12px 0 32px rgba(42, 22, 17, 0.18);
  }
  .filters-panel.is-open {
    display: block;
  }
  .filter-close {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 18px;
    border: 0;
    border-radius: 7px;
    background: var(--wine);
    color: #fff;
    font-weight: 800;
  }

  .ai-app {
    grid-template-columns: 176px minmax(0, 1fr);
  }
  .ai-sidebar {
    top: 76px;
    height: calc(100dvh - 76px);
  }
  .chat-workspace {
    height: calc(100dvh - 76px);
  }
  .quote-rail {
    display: none;
  }

  .corporate-layout {
    grid-template-columns: 1fr;
  }
  .corporate-contact {
    position: static;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }
  .quote-summary {
    position: static;
  }
  .quote-page-container {
    width: min(100% - 40px, 900px);
  }

  .success-panel {
    width: min(790px, calc(100% - 40px));
  }

  .about-story__inner {
    grid-template-columns: 1fr;
  }
  .about-story__inner > img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
  }
  .about-store-info__inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }
  .about-store-info__inner > div,
  .about-store-info__inner > a {
    min-height: 64px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--container));
  }
  .site-header__inner {
    padding-inline: 14px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-logo__wordmark {
    height: 52px;
  }
  .header-actions {
    gap: 8px;
  }
  .quote-pill {
    width: auto;
    padding-inline: 11px;
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer-identity {
    grid-column: 1 / -1;
  }
  .footer-store-map {
    grid-column: 1 / -1;
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }
  .site-footer {
    padding-top: 24px;
  }
  .footer-service-notice {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .footer-social-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .footer-social-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-social-actions > a {
    min-width: 0;
  }

  .hero {
    min-height: auto;
  }
  .hero::before {
    background-position: 64% center;
    opacity: 0.55;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(251, 247, 240, 0.91), rgba(251, 247, 240, 0.78));
  }
  .hero__copy {
    padding: 30px 0 34px;
  }
  .hero__copy h1 {
    font-size: clamp(30px, 9vw, 42px);
  }
  .recommend-box {
    padding: 15px 14px 14px;
  }
  .choice-line {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .choice-options {
    flex-wrap: wrap;
  }
  .choice-options .chip {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding-inline: 8px;
  }
  .recommend-actions {
    grid-template-columns: minmax(0, 1fr) 105px;
    justify-content: stretch;
    gap: 10px;
    margin: 22px 0 14px;
  }
  .recommend-actions .btn {
    height: 32px;
    min-width: 0;
    gap: 5px;
    padding-inline: 7px;
    font-size: 11px;
  }
  .recommend-actions .icon {
    width: 16px;
    height: 16px;
  }
  .recommend-card {
    grid-template-columns: 38px 62px minmax(0, 1fr) 38px;
    gap: 7px;
    padding-inline: 0;
  }
  .recommend-card .mini-bottle {
    width: 58px;
    height: 100px;
  }
  .recommend-card h2 {
    font-size: 15px;
  }
  .recommend-card p {
    font-size: 12px;
  }
  .recommend-card .price {
    font-size: 17px;
  }
  .recommend-card .round-arrow {
    width: 36px;
    height: 36px;
  }
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    min-height: 88px;
    margin-top: 0;
  }
  .trust-item {
    min-width: 0;
    min-height: 88px;
    flex-direction: column;
    gap: 7px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 10px 5px;
    text-align: center;
  }
  .trust-item:last-child {
    border-right: 0;
  }
  .trust-item .icon {
    width: 30px;
    height: 30px;
  }
  .trust-item span:not(.icon) {
    font-size: 12px;
  }
  .trust-item strong {
    font-size: 13px;
    letter-spacing: 0.03em;
  }
  .trust-item small {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-card {
    min-height: 290px;
    padding: 12px 10px;
  }
  .product-image {
    width: 88px;
    height: 96px;
    margin-bottom: 9px;
  }
  .product-card h3 {
    min-height: 48px;
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 1.3;
  }
  .product-card p {
    min-height: 30px;
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.35;
  }
  .product-card .badge {
    padding-inline: 7px;
    font-size: 10px;
  }
  .product-card .price {
    margin: 7px 0 9px;
    font-size: 15px;
  }
  .product-card .btn-small {
    height: 34px;
    padding-inline: 8px;
    font-size: 11px;
  }
  .flow-panel {
    padding: 24px 18px 26px;
  }
  .flow-panel h2 {
    margin-bottom: 18px;
    font-size: 22px;
    letter-spacing: 0.04em;
  }
  .flow-panel > p {
    margin-bottom: 14px;
    font-size: 13px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps .flow-arrow {
    display: none;
  }
  .step {
    position: relative;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    min-height: 82px;
    padding: 10px 0;
  }
  .step:not(:last-of-type)::after {
    content: '';
    position: absolute;
    top: 64px;
    bottom: -8px;
    left: 27px;
    width: 1px;
    background: var(--line);
  }
  .step-icon {
    width: 56px;
    height: 56px;
  }
  .step-icon .icon {
    width: 27px;
    height: 27px;
  }
  .step strong {
    font-size: 16px;
  }
  .step p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
  }
  .corporate-band {
    grid-template-columns: 1fr;
  }
  .corporate-band__content {
    padding: 24px 20px;
  }
  .corporate-band__features {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 0;
  }
  .corporate-band__actions {
    margin-top: 20px;
  }
  .corporate-cta {
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }
  .corporate-band__image {
    min-height: 190px;
  }

  .products-content {
    padding: 22px 16px 38px;
  }
  .listing-toolbar {
    align-items: flex-start;
    gap: 12px;
  }
  .listing-title {
    flex-wrap: wrap;
  }
  .listing-title h1 {
    width: 100%;
    font-size: 27px;
  }
  .sort-select {
    min-width: 126px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .listing-card {
    min-height: 0;
  }

  .product-detail-page {
    padding-inline: 0;
  }
  .detail-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 10px;
  }
  .breadcrumbs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    white-space: nowrap;
  }
  .detail-assurance {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-thumbnails {
    order: 2;
    grid-template-columns: repeat(5, 72px);
    grid-template-rows: 84px;
    width: 100%;
    height: auto;
    overflow-x: auto;
  }
  .gallery-thumb {
    width: 72px;
    height: 84px;
  }
  .gallery-main {
    height: min(108vw, 470px);
  }
  .product-info h1 {
    font-size: 24px;
  }
  .detail-actions {
    grid-template-columns: 1fr;
  }
  .purchase-options {
    gap: 14px;
  }
  .option-group {
    align-items: flex-start;
    flex-direction: column;
  }
  .option-group > div {
    width: 100%;
    flex-wrap: wrap;
  }
  .related-products {
    max-width: 100%;
  }

  .ai-app {
    display: block;
    min-height: auto;
  }
  .ai-sidebar {
    display: none;
  }
  .chat-thread {
    padding: 22px 16px;
  }
  .ai-message {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .ai-seal {
    width: 46px;
    height: 46px;
  }
  .ai-seal img {
    width: 25px;
    height: 34px;
  }
  .ai-message .message-bubble {
    min-width: 0;
    padding: 13px 15px;
  }
  .user-message {
    margin: 4px 0 26px 56px;
  }
  .user-message .message-bubble {
    width: fit-content;
    max-width: 92%;
    padding: 13px 16px;
  }
  .quick-prompts {
    grid-template-columns: 1fr 1fr;
  }
  .recommendation-carousel {
    position: relative;
    display: block;
  }
  .ai-product-card {
    grid-template-columns: 1fr;
  }
  .ai-product-image {
    min-height: 240px;
  }
  .ai-product-teaser {
    display: none;
  }
  .carousel-arrow {
    display: inline-flex;
    top: 205px;
  }
  .carousel-arrow--left {
    left: 8px;
  }
  .carousel-arrow--right {
    right: 8px;
  }
  .chat-composer {
    grid-template-columns: minmax(0, 1fr) 42px;
    margin-inline: 12px;
    padding-left: 12px;
  }
  .composer-tools {
    display: none;
  }
  .composer-send {
    width: 42px;
    height: 42px;
  }

  .corporate-hero {
    height: auto;
    min-height: 350px;
  }
  .corporate-hero::after {
    background: rgba(251, 247, 240, 0.78);
  }
  .corporate-hero__inner {
    min-height: 350px;
    padding-block: 30px;
  }
  .corporate-hero__copy h1 {
    font-size: 34px;
  }
  .corporate-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: auto;
  }
  .corporate-benefits > span {
    min-width: 0;
    min-height: 66px;
    flex-direction: column;
    gap: 4px;
    padding: 7px 4px;
    text-align: center;
    font-size: 11px;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    height: auto;
    min-height: 0;
    padding: 17px 16px 15px;
  }
  .plan-card ul {
    margin: 12px 0 10px;
  }
  .plan-card__action {
    height: 38px;
    margin-top: 14px;
  }
  .plan-products {
    margin-top: 6px;
  }
  .flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .flow-steps > div {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .corporate-assurance {
    grid-template-columns: 1fr;
  }
  .corporate-assurance > div {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quote-page-container {
    width: calc(100% - 32px);
  }
  .quote-intro {
    display: block;
    min-height: 0;
    padding: 26px 0 18px;
  }
  .quote-intro h1 {
    font-size: 34px;
  }
  .quote-progress {
    margin-top: 22px;
  }
  .quote-products__head,
  .quote-product-head {
    display: none;
  }
  .quote-product-list {
    padding: 0 14px;
  }
  .quote-product {
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 8px;
    padding: 16px 0;
  }
  .quote-product img {
    grid-row: 1 / 4;
    width: 68px;
  }
  .quote-product__info {
    grid-column: 2;
  }
  .quote-quantity {
    grid-column: 2;
    justify-self: start;
  }
  .quote-line-total {
    grid-column: 2;
    justify-self: start;
  }
  .quote-line-remove {
    grid-column: 3;
    grid-row: 1;
  }
  .quote-products__foot {
    padding-inline: 14px;
  }
  .quote-assurance {
    grid-template-columns: 1fr;
  }
  .quote-assurance > div {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quote-success-page {
    padding-block: 24px;
  }
  .success-panel {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 24px 18px;
  }
  .success-panel h1 {
    font-size: 32px;
  }
  .success-lead {
    flex-wrap: wrap;
    gap: 8px;
  }
  .success-meta,
  .success-contact,
  .success-links {
    grid-template-columns: 1fr;
  }
  .success-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .success-arrow {
    display: none;
  }
  .success-contact {
    margin-inline: 0;
  }
  .success-links a {
    min-height: 54px;
  }
  .success-links a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .pickup-code {
    font-size: 30px;
    letter-spacing: 0.12em;
  }
  .pickup-code {
    width: 100%;
    height: auto;
    min-height: 88px;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 14px;
  }
  .pickup-code__icon {
    width: 46px;
    height: 46px;
  }
  .pickup-code > strong {
    max-width: calc(100% - 66px);
    font-size: 16px;
  }
  .pickup-code > span:not(.pickup-code__icon) {
    font-size: 20px;
  }
  .pickup-code b {
    font-size: 42px;
  }
  .pickup-code-note {
    margin: 12px 0 30px;
    font-size: 12px;
    line-height: 1.7;
  }

  .about-hero {
    min-height: 260px;
    aspect-ratio: auto;
    background-position: 62% center;
  }
  .about-story {
    padding-block: 24px;
  }
  .about-story__inner {
    gap: 24px;
  }
  .about-story__copy {
    padding-right: 0;
  }
  .about-story__copy h2 {
    font-size: 23px;
  }
  .about-store-info__inner,
  .about-assurance__inner {
    grid-template-columns: 1fr;
  }
  .about-store-info__inner > div,
  .about-store-info__inner > a,
  .about-assurance__inner > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 8px;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    padding-inline: 14px;
  }
  .quote-pill {
    height: 40px;
    padding-inline: 10px;
    font-size: 13px;
  }
  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
  }
  .hero__copy h1 {
    letter-spacing: 0.04em;
  }
  .eyebrow {
    font-size: 14px;
  }
  .recommend-box {
    margin-top: 22px;
  }
  .trust-item {
    justify-content: center;
    padding-inline: 4px;
  }
  .section-title {
    font-size: 25px;
  }
  .section-link {
    font-size: 13px;
  }
  .product-card {
    padding-inline: 8px;
  }
  .corporate-band__features {
    gap: 18px 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-identity {
    grid-column: auto;
  }
  .footer-store-map {
    grid-column: auto;
    min-height: 190px;
  }

  .listing-toolbar {
    flex-wrap: wrap;
  }
  .sort-select {
    margin-left: auto;
  }
  .listing-card {
    grid-template-columns: 42% 58%;
  }
  .listing-card__body {
    padding-inline: 12px;
  }
  .listing-card__body h2 {
    font-size: 16px;
  }

  .quick-prompts {
    grid-template-columns: 1fr;
  }
  .ai-product-info {
    padding: 18px 14px;
  }
  .ai-product-info h2 {
    font-size: 20px;
  }

  .quote-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .quote-progress li:not(:last-child)::after {
    left: calc(50% + 32px);
    width: calc(100% - 50px);
  }
  .progress-icon {
    width: 50px;
    height: 50px;
  }
  .quote-progress strong {
    font-size: 10px;
  }
  .quote-product {
    grid-template-columns: 62px minmax(0, 1fr) 22px;
  }
  .quote-product img {
    width: 58px;
  }
  .quote-summary {
    padding-inline: 16px;
  }

  .pickup-code {
    font-size: 25px;
  }
  .pickup-code > strong {
    max-width: calc(100% - 62px);
  }
  .pickup-code > span:not(.pickup-code__icon) {
    margin-left: 56px;
  }
  .pickup-code b {
    font-size: 38px;
  }
  .success-meta {
    width: 100%;
  }
  .success-pickup {
    width: 100%;
  }
}

@media (max-width: 870px) {
  .flow-panel {
    padding-inline: 14px;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    align-items: start;
  }
  .steps .flow-arrow {
    display: none;
  }
  .step {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
    padding: 10px 3px;
    text-align: center;
  }
  .step:not(:last-of-type)::after {
    content: none;
  }
  .step-icon {
    width: 52px;
    height: 52px;
  }
  .step-icon .icon {
    width: 25px;
    height: 25px;
  }
  .step strong {
    display: grid;
    justify-items: center;
    gap: 5px;
    font-size: 13px;
    line-height: 1.3;
  }
  .step-number {
    margin-right: 0;
  }
  .step p {
    display: none;
  }

  .flow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    min-height: 104px;
    padding: 14px 8px;
  }
  .flow-steps > .flow-arrow {
    display: none;
  }
  .flow-steps > div {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    text-align: center;
  }
  .flow-icon {
    width: 46px;
    height: 46px;
  }
  .flow-icon .icon {
    width: 24px;
    height: 24px;
  }
  .flow-steps strong {
    font-size: 11px;
    white-space: nowrap;
  }
  .flow-steps small {
    display: none;
  }
}

@media (max-width: 720px) {
  .service-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    min-height: 86px;
  }
  .service-assurance > .assurance-item {
    min-width: 0;
    min-height: 86px;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 9px 4px;
    text-align: center;
  }
  .service-assurance > .assurance-item:last-child {
    border-right: 0;
  }
  .service-assurance > .assurance-item .icon {
    width: 29px;
    height: 29px;
  }
  .service-assurance > .assurance-item strong {
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .service-assurance > .assurance-item small {
    display: none;
  }
}

@media (min-width: 560px) and (max-width: 700px) {
  .plan-grid {
    gap: 12px;
  }
  .plan-card {
    padding: 16px 18px 14px;
  }
  .plan-card__heading {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .plan-icon {
    width: 54px;
    height: 54px;
  }
  .plan-products img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 359px) {
  .brand-logo__wordmark {
    height: 44px;
  }
}

@media (max-width: 720px) {
  .products-body {
    height: calc(100dvh - 76px);
    overflow: hidden;
  }
  .products-body + .site-footer {
    display: none;
  }
  .products-page {
    width: 100%;
    max-width: 100vw;
    grid-template-columns: 82px minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
  }
  .products-page .filters-panel {
    position: relative;
    inset: auto;
    z-index: 5;
    display: block;
    width: auto;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    padding: 8px 0 18px;
    background: #f8f1e8;
    box-shadow: none;
  }
  .products-page .filters-panel h1,
  .products-page .filters-panel > .filter-search,
  .products-page .filters-panel .filter-section:nth-of-type(2),
  .products-page .filters-panel .filter-actions,
  .products-page .filters-panel .filter-close {
    display: none;
  }
  .products-page .filters-panel .filter-section:first-of-type {
    border: 0;
    padding: 0;
  }
  .products-page .filters-panel .filter-heading {
    position: sticky;
    top: -8px;
    z-index: 2;
    min-height: 42px;
    justify-content: center;
    padding: 7px 3px;
    background: #f8f1e8;
    color: var(--wine);
    font-size: 13px;
  }
  .products-page .filters-panel .filter-heading span {
    display: none;
  }
  .products-page .filters-panel .filter-list {
    gap: 1px;
    margin-top: 0;
  }
  .products-page .filters-panel .filter-row {
    height: auto;
    min-height: 48px;
    justify-content: center;
    border-radius: 0;
    padding: 6px 5px;
    color: #513e37;
    text-align: center;
  }
  .products-page .filters-panel .filter-row > span {
    font-size: 11px;
    line-height: 1.3;
  }
  .products-page .filters-panel .filter-row small {
    display: none;
  }
  .products-page .filters-panel .filter-row.is-active {
    background: #fffdfa;
    color: var(--wine);
    font-weight: 900;
  }
  .products-page .filters-panel .filter-row.is-active::before {
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 0;
    transform: none;
  }

  .products-page .products-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 8px 28px;
    background: #fffdfa;
  }
  .mobile-catalog-tools {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 6px;
    padding: 9px 0 8px;
    background: rgba(255, 253, 248, 0.98);
  }
  .mobile-product-search {
    display: flex;
    min-width: 0;
    height: 38px;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 10px;
    background: #fff;
  }
  .mobile-product-search .icon {
    width: 17px;
    height: 17px;
    color: #806b60;
  }
  .mobile-product-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 12px;
  }
  .mobile-catalog-tools select {
    min-width: 0;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 6px;
    background: #fff;
    color: #4d3933;
    font-size: 11px;
  }

  .products-page .mobile-filter-button {
    display: none;
  }

  .products-page .listing-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 4px;
  }
  .products-page .listing-card {
    grid-template-columns: 34% minmax(0, 1fr);
    grid-template-rows: 132px 46px;
    height: 178px;
    min-height: 0;
    border-radius: 9px;
  }
  .products-page .listing-card__media {
    grid-column: 1;
    grid-row: 1 / 3;
    background-position: center;
  }
  .products-page .listing-card__body {
    grid-column: 2;
    grid-row: 1;
    padding: 11px 9px 6px 11px;
  }
  .products-page .listing-card__body h2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.28;
  }
  .products-page .listing-card__body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 10px;
    line-height: 1.4;
  }
  .products-page .listing-price {
    font-size: 16px;
  }
  .products-page .listing-price span {
    font-size: 10px;
  }
  .products-page .listing-tags {
    gap: 3px;
    margin-top: 5px;
  }
  .products-page .listing-tags span {
    min-height: 20px;
    padding-inline: 5px;
    font-size: 9px;
  }
  .products-page .listing-actions {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 6px;
    padding: 7px 9px 9px 10px;
  }
  .products-page .card-detail-action {
    min-width: 0;
    height: 30px;
    padding-inline: 11px;
    font-size: 11px;
  }
  .products-page .favorite-action {
    width: 32px;
    height: 30px;
  }
  .catalog-load-more {
    min-height: 70px;
    padding-inline: 8px;
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .recommendation-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 228px);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    margin-inline: 0;
  }
}

/* Final catalogue density and compact product inquiry panel. */
@media (min-width: 2200px) {
  .products-page .listing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) and (max-width: 2199px) {
  .products-page .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 861px) and (max-width: 1599px) {
  .products-page .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 861px) {
  .products-page .listing-card {
    min-height: 360px;
  }

  .products-page .listing-card__media {
    height: 240px;
    flex-basis: 240px;
  }

  .products-page .listing-card__media img {
    padding: 13px;
  }

  .products-page .listing-card__body {
    padding: 13px 14px 14px;
  }

  .products-page .listing-card__body h2 {
    min-height: 40px;
    font-size: 15px;
  }
}

@media (max-width: 860px) {
  .products-page .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-overview {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 360px);
  gap: 36px;
}

.product-info {
  width: 100%;
  max-width: 360px;
  justify-self: end;
  padding: 22px;
}

.product-info__heading {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 16px;
}

.product-info__heading .product-brand {
  margin-bottom: 7px;
}

.product-info__heading h1 {
  font-size: 25px;
  line-height: 1.3;
}

.detail-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line-soft);
  padding: 17px 0;
  color: #6b554c;
  font-size: 12px;
  font-weight: 800;
}

.detail-price-row .detail-price {
  margin: 0;
  font-size: 23px;
  line-height: 1;
}

.detail-selections {
  margin-top: 16px;
}

.selection-row--variants {
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.selection-row--variants .selection-label {
  color: #5c4640;
  font-size: 13px;
  line-height: 34px;
}

.selection-row--variants .option-group {
  align-items: center;
  flex-direction: row;
  gap: 6px;
}

.selection-row--variants .option-group button {
  min-height: 34px;
  height: auto;
  padding: 7px 10px;
  line-height: 1.35;
}

.selection-row--variants .option-group button.is-unavailable {
  border-color: #e3ddd8;
  background: #f4f1ee;
  color: #aaa09a;
  cursor: not-allowed;
  text-decoration: line-through;
}

.selection-row--variants .option-group button.is-active {
  border-color: var(--wine);
  background: rgba(125, 6, 18, 0.06);
  box-shadow: inset 0 0 0 1px rgba(125, 6, 18, 0.16);
  color: var(--wine);
}

.selection-help {
  margin: 2px 0 0 86px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
}

.inquiry-controls {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: end;
  gap: 9px;
  margin-top: 18px;
}

.inquiry-quantity {
  display: grid;
  gap: 6px;
}

.inquiry-quantity .selection-label {
  color: #5c4640;
  font-size: 12px;
}

.inquiry-quantity .quantity-control {
  width: 100%;
  height: 44px;
  grid-template-columns: 34px minmax(34px, 1fr) 34px;
  border-radius: 7px;
}

.inquiry-controls .detail-add {
  width: 100%;
  height: 44px;
  border-radius: 7px;
  padding-inline: 10px;
  font-size: 14px;
}

.product-info .pickup-note {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  margin-top: 18px;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 14px 0 0;
  background: transparent;
  line-height: 1.5;
}

.product-info .pickup-note .icon {
  width: 22px;
  height: 22px;
}

.product-info .pickup-note strong {
  margin-bottom: 2px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .product-overview {
    grid-template-columns: 1fr;
  }

  .product-info {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .inquiry-controls {
    grid-template-columns: 1fr;
  }
}

/* Tablet and phone catalogue controls stay visible without a permanent side rail. */
@media (max-width: 1050px) {
  .products-body {
    height: auto;
    overflow: visible;
  }

  .products-body + .site-footer {
    display: block;
  }

  .products-page {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: calc(100vh - 76px);
    overflow: visible;
  }

  .products-page .filters-panel {
    display: none;
  }

  .products-page .products-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
    padding: 14px 18px 38px;
  }

  .products-page .mobile-catalog-tools {
    position: sticky;
    top: 76px;
    z-index: 12;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px 150px;
    gap: 9px;
    margin-bottom: 12px;
    padding: 10px 0;
    background: rgba(255, 253, 248, 0.97);
    backdrop-filter: blur(10px);
  }

  .products-page .mobile-product-search,
  .products-page .mobile-catalog-tools select {
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #4d3933;
    font-size: 13px;
  }

  .products-page .mobile-product-search {
    padding-inline: 13px;
  }

  .products-page .mobile-product-search .icon {
    width: 18px;
    height: 18px;
    color: #806b60;
  }

  .products-page .mobile-product-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
  }

  .products-page .mobile-catalog-tools select {
    width: 100%;
    padding: 0 32px 0 12px;
    font-weight: 700;
  }

  .products-page .mobile-filter-button {
    display: none;
  }
}

@media (max-width: 720px) {
  .products-page .products-content {
    padding: 8px 10px 30px;
  }

  .products-page .mobile-catalog-tools {
    grid-template-columns: minmax(0, 1fr) 112px 112px;
    gap: 6px;
    margin-bottom: 7px;
    padding: 8px 0;
  }

  .products-page .mobile-product-search,
  .products-page .mobile-catalog-tools select {
    height: 42px;
    font-size: 12px;
  }

  .products-page .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 0;
  }

  .products-page .listing-card {
    display: flex;
    height: auto;
    min-height: 292px;
    flex-direction: column;
  }

  .products-page .listing-card__media {
    width: 100%;
    height: 160px;
    flex: 0 0 160px;
    background-position: center;
  }

  .products-page .listing-card__media img {
    padding: 7px;
  }

  .products-page .listing-card__body {
    display: flex;
    min-height: 124px;
    flex: 1;
    padding: 9px;
  }

  .products-page .listing-brand {
    display: block;
    min-height: 0;
    margin-bottom: 4px;
    font-size: 9px;
    line-height: 1.3;
  }

  .products-page .listing-card__body h2 {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .products-page .listing-card__meta {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 7px;
    font-size: 10px;
  }

  .products-page .listing-price {
    font-size: 15px;
    text-align: left;
  }

  .products-page .catalog-load-more {
    min-height: 62px;
    font-size: 11px;
  }

  .quote-product-list {
    padding: 0 10px;
  }

  .quote-product {
    grid-template-columns: 64px minmax(0, 1fr) 104px 20px;
    grid-template-rows: auto auto;
    gap: 8px;
    min-height: 122px;
    padding: 13px 0;
  }

  .quote-product img {
    width: 58px;
    height: 90px;
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .quote-product__info {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .quote-product__info h2 {
    font-size: 13px;
  }

  .quote-product__info p {
    margin-bottom: 0;
    overflow-wrap: anywhere;
    font-size: 10px;
  }

  .quote-quantity {
    width: 104px;
    height: 38px;
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: 32px 40px 32px;
    justify-self: end;
  }

  .quote-line-total {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    align-self: start;
    font-size: 15px;
    text-align: right;
  }

  .quote-line-remove {
    grid-column: 4;
    grid-row: 1;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .products-page .mobile-catalog-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-page .mobile-product-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .footer-social-actions {
    grid-template-columns: 1fr;
  }

  .products-page .listing-card__media {
    height: 145px;
    flex-basis: 145px;
  }

  .quote-product {
    grid-template-columns: 56px minmax(0, 1fr) 96px 18px;
    gap: 6px;
  }

  .quote-product img {
    width: 52px;
    height: 82px;
  }

  .quote-quantity {
    width: 96px;
    grid-template-columns: 30px 36px 30px;
  }
}
