:root {
  --ink: #2b2218;
  --muted: #756b5c;
  --line: rgba(43, 34, 24, 0.13);
  --blue: #b99358;
  --blue-dark: #2f251a;
  --yellow: #d9b76e;
  --green: #2f6a58;
  --paper: #ffffff;
  --white: #ffffff;
  --rose: #8f5c3d;
  --violet: #5f6656;
  --cream: #ffffff;
  --clay: #9c6045;
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(43, 34, 24, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(17, 17, 15, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand, .nav, .hero-actions, .section-head, .toolbar, .site-footer {
  display: flex;
  align-items: center;
}

.brand { gap: 12px; }

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  background: #075597;
  background-image: url("images/vsim-padel-avatar.png");
  background-size: 195%;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid rgba(255, 217, 26, 0.96);
  box-shadow: 0 10px 22px rgba(5, 85, 151, 0.22);
}

.brand strong, .brand small { display: block; }
.brand strong { text-transform: uppercase; letter-spacing: 0.06em; }
.brand small { color: var(--muted); margin-top: 2px; }

.nav { gap: 8px; }

.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(23, 19, 15, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.lang-btn {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.lang-btn.active {
  background: #3a2c1f;
  color: #f6e7c8;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.nav a:hover, .nav-cta {
  background: #3a2c1f;
  color: #f9eee0 !important;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(23, 19, 15, 0.07);
}

.nav-cta:hover {
  color: #2b2218 !important;
  background: #e9cf99;
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: calc(82vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 980px);
  align-items: center;
  justify-content: center;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px) clamp(46px, 6vw, 76px);
  background:
    radial-gradient(circle at 78% 16%, rgba(243, 221, 177, 0.28), transparent 31%),
    radial-gradient(circle at 15% 86%, rgba(185, 147, 88, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 62%, #ffffff 100%);
  color: var(--ink);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 55, 0.22), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.eyebrow {
  color: #8f5c3d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--rose); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.4vw, 6.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.1vw, 4rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 { margin-bottom: 10px; font-size: 1.1rem; }

.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #f4deb0, #c49b5f 56%, #8a6036);
  color: #2a1f15;
  box-shadow: 0 18px 34px rgba(87, 61, 35, 0.2);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(43, 34, 24, 0.22);
}

.btn.text-link {
  min-height: 48px;
  border-color: transparent;
  background: transparent;
  color: #8f5c3d;
  padding-inline: 8px;
}

.hero-store-note {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-store-note span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(43, 34, 24, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: #5e4c38;
  font-size: 0.86rem;
  font-weight: 850;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { color: var(--muted); margin-top: 5px; }

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.catalog-section {
  background: #ffffff;
  color: var(--ink);
}

.section-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.count-pill {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  background: rgba(255,255,255,0.72);
  color: var(--muted);
  font-weight: 900;
}

.count-pill span { color: var(--ink); }

.toolbar {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.68);
  box-shadow: 0 18px 48px rgba(17, 17, 15, 0.07);
  backdrop-filter: blur(18px);
}

.toolbar label {
  display: grid;
  gap: 7px;
  min-width: 190px;
  flex: 1;
}

.toolbar label span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

select, input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(255,255,255,0.78);
  color: var(--ink);
}

.search-field { flex: 1.4; }

.view-toggle {
  min-width: 170px;
  display: grid;
  gap: 7px;
}

.view-toggle > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.view-toggle-buttons {
  min-height: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
}

.view-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
}

.view-btn.active {
  background: #3a2c1f;
  color: #f6e7c8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--catalog-columns, 3), minmax(0, 1fr));
  gap: 20px;
}

.product-grid[data-columns="1"] { --catalog-columns: 1; }
.product-grid[data-columns="2"] { --catalog-columns: 2; }
.product-grid[data-columns="3"] { --catalog-columns: 3; }

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(87, 61, 35, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 147, 88, 0.5);
  box-shadow: 0 32px 76px rgba(87, 61, 35, 0.15);
}

.product-art {
  position: relative;
  height: 244px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f3eb 0%, #efe4d3 100%);
}

.product-art img {
  position: relative;
  z-index: 2;
  width: min(88%, 286px);
  height: 218px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 22px rgba(87, 61, 35, 0.18));
  mix-blend-mode: normal;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(124, 92, 55, 0.1);
  border-radius: var(--radius);
  display: none;
}

.product-art::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(232,214,189,0.16));
  display: none;
}

.product-art.image-missing::before {
  content: "";
  position: absolute;
  width: 86px;
  height: 108px;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) rotate(-13deg);
  border: 9px solid rgba(255,255,255,0.92);
  border-radius: 48% 48% 42% 42%;
  background: radial-gradient(circle, rgba(17,24,39,0.42) 2px, transparent 3px) 0 0 / 15px 15px;
}

.product-art.image-missing::after {
  content: "";
  position: absolute;
  left: calc(50% - 8px);
  top: 125px;
  width: 16px;
  height: 64px;
  border-radius: 999px;
  transform: rotate(-13deg);
  background: rgba(255,255,255,0.92);
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eee3cd;
  color: #4a3723;
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 950;
}

.stock-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(48, 225, 161, 0.12);
  color: #116142;
  font-size: 0.8rem;
  font-weight: 950;
}

.stock-badge.out {
  background: rgba(185, 28, 28, 0.1);
  color: #991b1b;
}

.stock-badge.preorder {
  background: rgba(200, 164, 93, 0.16);
  color: #805a19;
}

.stock-note {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff7e6;
  color: #6b4d1e !important;
  font-size: 0.92rem;
}

.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.product-body h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.05;
}

.spec-list {
  display: grid;
  gap: 7px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  gap: 8px;
  color: #4f463c;
  font-size: 0.94rem;
  line-height: 1.35;
}

.spec-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 50%;
  background: #b58a42;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-actions .btn {
  min-height: 42px;
  padding: 0 13px;
  font-size: 0.9rem;
}

.btn.unavailable {
  cursor: default;
  border-color: #d6c7aa;
  background: #eee5d4;
  color: #6b6252;
  box-shadow: none;
}

.btn.unavailable:hover {
  transform: none;
}

.product-actions .btn.ghost {
  color: var(--ink);
  border-color: #cbd5e1;
}

.advisor {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(185, 147, 88, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff, #fffdf8);
  color: var(--ink);
}

.advisor-copy p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.advisor-chat {
  overflow: hidden;
  border: 1px solid rgba(124, 92, 55, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.34)),
    rgba(255,255,255,0.38);
  box-shadow: 0 32px 80px rgba(87, 61, 35, 0.14);
  backdrop-filter: blur(18px);
}

.chat-head {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(124, 92, 55, 0.12);
}

.chat-head strong,
.chat-head span {
  display: block;
}

.chat-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.chat-reset {
  min-height: 38px;
  border: 1px solid rgba(124, 92, 55, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255,255,255,0.46);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.chat-messages {
  height: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
}

.message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.45;
}

.message.agent {
  align-self: flex-start;
  background: rgba(255,255,255,0.66);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}

.message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #f4deb0, #c49b5f);
  color: #2a1f15;
  border-bottom-right-radius: 6px;
}

.message .rec-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.message .rec-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.62);
}

.message .rec-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
}

.message .rec-item strong,
.message .rec-item span {
  display: block;
}

.message .rec-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px 14px;
}

.chat-quick button {
  min-height: 34px;
  border: 1px solid rgba(124, 92, 55, 0.15);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(255,255,255,0.42);
  color: #5e4c38;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(124, 92, 55, 0.12);
}

.chat-form input {
  border-color: rgba(124, 92, 55, 0.14);
  background: rgba(255,255,255,0.72);
  color: var(--ink);
}

.chat-form input::placeholder {
  color: rgba(117, 107, 92, 0.72);
}

.delivery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #ffffff;
  color: var(--ink);
}

.delivery article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 42px rgba(17, 17, 15, 0.06);
}

.delivery span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 950;
}

.delivery p { color: var(--muted); line-height: 1.6; }

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--blue-dark);
  color: var(--white);
}

.site-footer strong, .site-footer span { display: block; }
.site-footer span { margin-top: 4px; color: rgba(255,255,255,0.68); }

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed #b7c5d8;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.6);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.admin-main {
  min-height: 100vh;
  padding: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 164, 93, 0.18), transparent 28%),
    #080705;
  color: var(--white);
}

.admin-lock {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 164, 93, 0.2), transparent 28%),
    rgba(8, 7, 5, 0.96);
  color: var(--white);
}

.admin-lock.hidden {
  display: none;
}

.admin-lock-card {
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(242, 217, 151, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.admin-lock-card h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4rem);
}

.admin-lock-card p {
  color: rgba(255,255,255,0.64);
  line-height: 1.55;
}

.admin-lock-card input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(242,217,151,0.18);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.admin-login-error {
  min-height: 20px;
  color: #fca5a5;
  font-weight: 800;
}

.admin-hero {
  max-width: 1040px;
  margin: 0 auto 28px;
}

.admin-hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.66);
  line-height: 1.6;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.admin-panel {
  max-width: 1040px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid rgba(242, 217, 151, 0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
}

.admin-panel h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.admin-panel p,
.admin-status {
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
}

.admin-settings,
.add-form {
  display: grid;
  gap: 12px;
}

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

.add-form textarea {
  min-height: 96px;
  resize: vertical;
}

.add-form textarea,
.admin-settings input,
.add-form input,
.add-form select {
  width: 100%;
  border: 1px solid rgba(242,217,151,0.16);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.add-form select option,
.admin-settings select option {
  color: var(--ink);
}

.add-form textarea::placeholder,
.admin-settings input::placeholder,
.add-form input::placeholder {
  color: rgba(255,255,255,0.46);
}

.add-form textarea,
.add-form button,
.admin-status {
  grid-column: 1 / -1;
}

.admin-grid {
  max-width: 1040px;
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

.admin-card {
  display: grid;
  grid-template-columns: 82px 1.1fr 150px 150px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(242, 217, 151, 0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
}

.admin-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.92);
}

.admin-card strong,
.admin-card small {
  display: block;
}

.admin-card small {
  margin-top: 4px;
  color: rgba(255,255,255,0.56);
}

.admin-card label {
  display: grid;
  gap: 6px;
}

.admin-card label span {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-card input,
.admin-card select {
  border-color: rgba(242,217,151,0.16);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.admin-card select option {
  color: var(--ink);
}

@media (max-width: 980px) {
  .admin-panel,
  .admin-card {
    grid-template-columns: 1fr;
  }

  .admin-card {
    grid-template-columns: 72px 1fr;
  }

  .admin-card label {
    grid-column: 1 / -1;
  }

  .add-form {
    grid-template-columns: 1fr;
  }
}

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

  .advisor {
    grid-template-columns: 1fr;
  }

  .product-grid {
    --catalog-columns: 2;
    grid-template-columns: repeat(var(--catalog-columns, 2), minmax(0, 1fr));
  }
  .trust-strip, .delivery { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .brand small { max-width: 180px; }

  .menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav { display: flex; }
  .nav a { justify-content: center; color: var(--ink); }
  h1 {
    font-size: clamp(2.75rem, 11vw, 3.45rem);
    line-height: 1;
  }
  .hero { padding-top: 54px; }
  .toolbar {
    gap: 10px;
    padding: 12px;
  }
  .toolbar label,
  .view-toggle {
    min-width: min(100%, 160px);
  }
  .search-field {
    flex-basis: 100%;
  }
  .product-grid {
    grid-template-columns: repeat(var(--catalog-columns, 1), minmax(0, 1fr));
    gap: 12px;
  }
  .product-grid[data-columns="1"] { --catalog-columns: 1; }
  .product-grid[data-columns="2"] { --catalog-columns: 2; }
  .product-grid[data-columns="3"] { --catalog-columns: 3; gap: 8px; }

  .product-grid[data-columns="2"] .product-card,
  .product-grid[data-columns="3"] .product-card {
    min-height: 0;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(87, 61, 35, 0.1);
  }

  .product-grid[data-columns="2"] .product-art {
    height: 156px;
  }

  .product-grid[data-columns="2"] .product-art img {
    width: 92%;
    height: 142px;
  }

  .product-grid[data-columns="2"] .product-body {
    padding: 12px;
  }

  .product-grid[data-columns="2"] .product-top {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }

  .product-grid[data-columns="2"] .badge {
    font-size: 0.68rem;
    min-height: 24px;
    padding: 0 7px;
  }

  .product-grid[data-columns="2"] .price {
    font-size: 1.3rem;
  }

  .product-grid[data-columns="2"] h3 {
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .product-grid[data-columns="2"] .product-body p,
  .product-grid[data-columns="2"] .spec-list {
    display: none;
  }

  .product-grid[data-columns="2"] .product-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .product-grid[data-columns="3"] .product-art {
    height: 108px;
  }

  .product-grid[data-columns="3"] .product-art img {
    width: 96%;
    height: 98px;
  }

  .product-grid[data-columns="3"] .product-body {
    padding: 8px;
  }

  .product-grid[data-columns="3"] .product-top {
    display: block;
    margin-bottom: 6px;
  }

  .product-grid[data-columns="3"] .badge {
    display: none;
  }

  .product-grid[data-columns="3"] .price {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
    margin-bottom: 6px;
  }

  .product-grid[data-columns="3"] .stock-badge {
    display: none;
  }

  .product-grid[data-columns="3"] h3 {
    margin-bottom: 8px;
    font-size: 0.74rem;
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .product-grid[data-columns="3"] .product-body p,
  .product-grid[data-columns="3"] .spec-list {
    display: none;
  }

  .product-grid[data-columns="3"] .product-actions {
    margin-top: auto;
  }

  .product-grid[data-columns="3"] .product-actions .btn {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.74rem;
  }
  .chat-form {
    grid-template-columns: 1fr;
  }
  .section-head, .site-footer { align-items: flex-start; flex-direction: column; }
}
