:root {
  color-scheme: light;
  --ink: #17110f;
  --muted: #72665d;
  --paper: #f7f0e7;
  --panel: #fffdf8;
  --line: #e4d7c7;
  --accent: #8f2638;
  --accent-strong: #6c1728;
  --leaf: #123f36;
  --leaf-soft: #deebe4;
  --gold: #c79b57;
  --champagne: #f3dfbd;
  --shadow: 0 24px 65px rgba(23, 17, 15, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 63, 54, 0.05), rgba(143, 38, 56, 0.04)),
    var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.intro-screen {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  background:
    linear-gradient(135deg, #0d302a 0%, #2b1020 58%, #140f0d 100%);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.intro-logo {
  width: clamp(168px, 22vw, 260px);
  height: clamp(168px, 22vw, 260px);
  border: 1px solid rgba(243, 223, 189, 0.62);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  animation: introMark 760ms ease both;
}

.intro-screen strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: introText 760ms 120ms ease both;
}

.intro-screen.is-hidden {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 30px rgba(23, 17, 15, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(243, 223, 189, 0.42);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.brand strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  font-weight: 800;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.header-action,
.primary-button,
.secondary-button,
.product-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.header-action,
.secondary-button {
  border: 1px solid currentColor;
  background: transparent;
}

.primary-button,
.product-card button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(143, 38, 56, 0.25);
}

.primary-button:hover,
.product-card button:hover {
  background: var(--accent-strong);
}

.primary-button:disabled,
.product-card button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: #e4d7c7;
  box-shadow: none;
}

.compact {
  min-height: 42px;
}

.cart-button {
  gap: 10px;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--champagne);
  font-size: 0.82rem;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 142px clamp(22px, 6vw, 82px) 58px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroZoom 1100ms ease both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 17, 0.86) 0%, rgba(24, 20, 18, 0.62) 48%, rgba(24, 20, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 20, 17, 0.58), rgba(10, 20, 17, 0.06));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero-content {
  width: min(710px, 100%);
  animation: heroContentIn 760ms 360ms ease both;
}

.hero-logo-mark {
  width: clamp(96px, 12vw, 136px);
  height: clamp(96px, 12vw, 136px);
  margin: 0 0 20px;
  border: 1px solid rgba(243, 223, 189, 0.52);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.feature-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.92;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-showcase {
  display: grid;
  gap: 12px;
  align-items: end;
  animation: heroProductsIn 760ms 480ms ease both;
}

.hero-showcase figure {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 138px;
  margin: 0;
  border: 1px solid rgba(243, 223, 189, 0.3);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 253, 248, 0.12);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.hero-showcase figure:nth-child(2) {
  margin-left: 34px;
}

.hero-showcase figure:nth-child(3) {
  margin-left: 68px;
}

.hero-showcase img {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  object-fit: contain;
  padding: 8px;
  background: #fffdf8;
}

.hero-showcase figcaption {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.hero-showcase span {
  color: var(--champagne);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-showcase strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-showcase em {
  color: #fff;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
}

.section,
.feature-band,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section h2,
.feature-copy h2,
.contact-section h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
}

.catalog-tools {
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--panel);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.search-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 38, 56, 0.14);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.catalog-count {
  margin: -10px 0 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(23, 17, 15, 0.08);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
}

.product-card.is-visible {
  animation: cardIn 520ms var(--delay, 0ms) ease both;
}

.product-card:hover {
  border-color: rgba(143, 38, 56, 0.36);
  box-shadow: 0 20px 48px rgba(23, 17, 15, 0.13);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(222, 235, 228, 0.76), rgba(255, 253, 248, 0.95) 48%, rgba(243, 223, 189, 0.72));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-media span {
  display: none;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(23, 17, 15, 0.18);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 253, 248, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 800;
}

.product-media.is-empty span {
  display: grid;
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-brand {
  margin: 0;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-meta {
  display: grid;
  gap: 4px;
  min-height: 38px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.price {
  font-size: 1.3rem;
  font-weight: 900;
}

.product-card.is-sold-out {
  opacity: 0.68;
}

.product-actions {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 8px;
}

.product-card .ghost-product-button {
  color: var(--accent);
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

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

.empty-products {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 800;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.load-more-button {
  color: var(--accent);
  border-color: var(--line);
  background: var(--panel);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 63, 54, 0.1), rgba(143, 38, 56, 0.06)),
    var(--panel);
  box-shadow: var(--shadow);
}

.feature-copy .eyebrow,
.section .eyebrow {
  color: var(--accent);
}

.feature-copy p:not(.eyebrow),
.contact-section p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid rgba(143, 38, 56, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
}

.feature-list strong {
  font-size: 1.05rem;
}

.feature-list span {
  color: var(--muted);
}

.brands-section {
  padding-bottom: 38px;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.brand-strip span {
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 54px;
  padding: 36px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--leaf), #301324);
  box-shadow: var(--shadow);
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section div {
  max-width: 680px;
}

.product-modal,
.cart-layer {
  position: fixed;
  z-index: 60;
  inset: 0;
}

.modal-backdrop,
.cart-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(12, 10, 9, 0.55);
  cursor: pointer;
}

.product-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(960px, calc(100% - 28px));
  max-height: min(780px, calc(100svh - 28px));
  overflow: auto;
  border: 1px solid rgba(243, 223, 189, 0.42);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
}

.modal-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.product-dialog > .modal-close {
  position: sticky;
  z-index: 2;
  top: 12px;
  left: calc(100% - 54px);
  margin: 12px 12px -54px auto;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
}

.product-detail .product-media {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-gallery {
  display: grid;
  gap: 10px;
}

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

.gallery-strip button {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--paper);
  cursor: pointer;
}

.gallery-strip button.is-active {
  border-color: rgba(157, 93, 61, 0.8);
  box-shadow: 0 0 0 3px rgba(157, 93, 61, 0.14);
}

.gallery-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
}

.product-detail-info {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.product-detail-info h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.detail-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.detail-line strong {
  color: var(--ink);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(460px, 100%);
  height: 100%;
  padding: 24px;
  background: var(--panel);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.24);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: 18px 2px;
}

.empty-cart {
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(243, 223, 189, 0.16);
  font-weight: 800;
  line-height: 1.45;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}

.cart-item img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.cart-item div {
  display: grid;
  gap: 6px;
}

.cart-item strong {
  font-size: 0.95rem;
  line-height: 1.28;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-item em {
  font-style: normal;
  font-weight: 900;
}

.quantity-control {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.quantity-control button {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--panel);
  font-weight: 900;
  cursor: pointer;
}

.quantity-control button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quantity-control .remove-item {
  width: auto;
  padding: 0 10px;
  color: var(--accent);
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.cart-summary strong {
  font-size: 1.45rem;
}

.checkout-button {
  width: 100%;
}

.cart-is-open,
.modal-is-open {
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@keyframes introMark {
  from {
    opacity: 0;
    transform: scale(0.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1.03);
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroProductsIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-showcase figure,
  .hero-showcase figure:nth-child(2),
  .hero-showcase figure:nth-child(3) {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .hero-showcase img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .product-grid,
  .brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .contact-section {
    display: grid;
  }
}

@media (max-width: 700px) {
  .hero-showcase {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100vw;
    max-width: 100vw;
    padding: 10px 12px;
    color: #fff;
    background: rgba(18, 63, 54, 0.92);
    box-shadow: 0 10px 26px rgba(23, 17, 15, 0.14);
    backdrop-filter: blur(14px);
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    display: none;
  }

  .cart-button {
    min-height: 38px;
    margin-left: auto;
    padding: 0 10px;
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
    font-size: 0.82rem;
  }

  .cart-button strong {
    min-width: 23px;
    height: 23px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: auto;
    padding: 96px 16px 34px;
  }

  .hero-inner,
  .hero-content,
  .catalog-tools,
  .section-heading {
    width: calc(100vw - 32px);
    min-width: 0;
    max-width: calc(100vw - 32px);
  }

  .hero-logo-mark {
    width: 78px;
    height: 78px;
    margin-bottom: 14px;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: 2.58rem;
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    max-width: 32ch;
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.45;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .primary-button,
  .secondary-button {
    width: min(100%, 340px);
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 34px 0;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 16px;
  }

  .section h2,
  .feature-copy h2,
  .contact-section h2 {
    font-size: 2.35rem;
  }

  .catalog-tools {
    gap: 10px;
  }

  .search-field input {
    min-height: 44px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
  }

  .catalog-count {
    margin: -2px 0 14px;
    font-size: 0.85rem;
  }

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

  .brand-strip {
    grid-template-columns: 1fr;
  }

  .product-media img {
    padding: 10px;
  }

  .product-info {
    gap: 7px;
    padding: 12px;
  }

  .product-brand {
    font-size: 0.67rem;
  }

  .product-card h3 {
    min-height: 45px;
    font-size: 0.84rem;
    line-height: 1.28;
  }

  .product-meta {
    min-height: auto;
    font-size: 0.74rem;
  }

  .price {
    font-size: 1.06rem;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-card .ghost-product-button {
    display: none;
  }

  .product-card button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .feature-band,
  .contact-section {
    width: min(100% - 24px, 1180px);
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }

  .product-dialog {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 90svh;
    border-radius: 8px 8px 0 0;
    transform: none;
  }

  .product-dialog > .modal-close {
    top: 10px;
    left: calc(100% - 52px);
    margin: 10px 10px -52px auto;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .product-detail .product-media {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .product-detail-info h2 {
    font-size: 1.85rem;
  }

  .detail-copy {
    font-size: 0.94rem;
  }

  .modal-actions {
    gap: 8px;
  }

  .cart-drawer {
    width: 100%;
    padding: 18px 14px;
  }

  .cart-header h2 {
    font-size: 2.15rem;
  }

  .cart-item {
    grid-template-columns: 78px 1fr;
  }

  .cart-item img {
    width: 78px;
    height: 78px;
  }
}

@media (max-width: 560px) {
  .product-actions,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-dialog {
    width: calc(100% - 18px);
  }

  .product-detail {
    padding: 20px;
  }

  .modal-actions .primary-button,
  .modal-actions .secondary-button {
    width: 100%;
  }
}
