:root {
  --bg: #f3f1e9;
  --ink: #24251f;
  --muted: #6d6e63;
  --olive: #545a3d;
  --olive2: #34392a;
  --sand: #d7d0b4;
  --line: #dedbcf;
  --white: #fff;
  --danger: #7d3939;
  --radius: 18px;
  --header-height: 119px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 Inter,Arial,sans-serif;
}

body > main {
  flex: 1 0 auto;
  min-width: 0;
}

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

button, input, select, textarea {
  font: inherit;
}

.wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 22px;
}

.topline {
  background: #1f221c;
  color: #d8d7cc;
  font-size: 12px;
}

.topgrid {
  min-height: 36px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#siteHeader {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 4px 20px #24251f0d;
}

.header {
  background: var(--bg);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.headerin {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.brandmark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--olive);
  display: grid;
  place-items: center;
  font-weight: 800;
  border-radius: 9px;
  color: var(--olive);
  flex-shrink: 0;
}

.brand b {
  display: block;
  letter-spacing: .08em;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.header nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #505348;
  transition: background-color .18s ease, color .18s ease;
}

.header nav a:hover {
  background: #e8eade;
  color: var(--olive);
}

.header nav a[aria-current="page"] {
  background: var(--olive);
  color: var(--white);
  box-shadow: 0 3px 8px #34392a14;
}

.header nav a[aria-current="page"]:hover {
  background: var(--olive2);
}

.tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.iconbtn, .hamb {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--olive);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.iconbtn {
  display: inline-flex;
}

.iconbtn:hover, .hamb:hover, .iconbtn[aria-current="page"], .hamb[aria-expanded="true"] {
  background: #e8eade;
  border-color: #b6bea1;
}

.iconbtn:active, .hamb:active {
  background: #dce1ce;
}

.iconbtn svg, .hamb svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iconbtn.has-items svg {
  fill: #e1e7d1;
}

.iconbtn.cartButton {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
}

.iconbtn.cartButton:hover, .iconbtn.cartButton:active {
  background: var(--olive2);
  border-color: var(--olive2);
}

.toolCount {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border: 2px solid var(--bg);
  border-radius: 20px;
  background: var(--olive2);
  color: var(--white);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.cartButton .toolCount {
  background: var(--sand);
  color: var(--olive2);
}

.toolCount[hidden] {
  display: none;
}

.hamb .menuCloseIcon, .hamb[aria-expanded="true"] .menuIcon {
  display: none;
}

.hamb[aria-expanded="true"] .menuCloseIcon {
  display: block;
}

.hero {
  background: #2b2f24;
  color: #fff;
  padding: clamp(40px, 5vw, 64px) 0;
  overflow: hidden;
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

.hero h1 {
  font-size: clamp(36px, 4.3vw, 54px);
  line-height: 1.08;
  margin: 13px 0 20px;
  max-width: 800px;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero p {
  color: #cbcdbf;
  max-width: 600px;
  font-size: 18px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--olive);
  font-weight: 700;
}

.btn {
  border: 1px solid transparent;
  background: var(--olive);
  color: #fff;
  border-radius: 12px;
  padding: 14px 22px;
  display: inline-flex;
  cursor: pointer;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn.ghost {
  background: transparent;
  border: 1px solid #8d9276;
}

.btn.full {
  width: 100%;
}

.heroBtns {
  display: flex;
  gap: 12px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.heroStats {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.heroStats div {
  border-left: 1px solid #6e725e;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.heroStats b {
  font-size: 21px;
  white-space: nowrap;
}

.heroStats span {
  font-size: 12px;
  color: #c1c5b2;
}

.heroArt img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 40px #1115;
  height: auto;
  object-fit: contain;
}

.section {
  padding: clamp(48px, 5vw, 64px) 0;
}

.section.dark {
  background: #e8e4d8;
}

.secHead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.secHead h2, body[data-page="home"] .split h2, .content h1, .page h1 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  margin: 8px 0 16px;
  letter-spacing: -.02em;
  text-wrap: balance;
}

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

.catalogSection .secHead {
  display: block;
  text-align: center;
}

.catalogSection .secHead h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 3.2vw, 40px);
}

.catCard {
  background: var(--olive2);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px #34392a08;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-width: 0;
}

.catCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px #34392a1a;
  border-color: #a6ad90;
}

.catMedia {
  display: block;
  position: relative;
  aspect-ratio: 2 / 1;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #e3e7d8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23545a3d' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round' opacity='.22'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='15.5' cy='8.5' r='1.5'/%3E%3Cpath d='m3 17 6-6 5 5 3-3 4 4'/%3E%3C/svg%3E"), linear-gradient(135deg, #eef0e7, #d6ddc4);
  background-size: 48px 48px, cover;
  background-repeat: no-repeat;
  background-position: center;
}

.catMedia img, .catMedia video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.catCard:hover .catMedia img, .catCard:hover .catMedia video {
  transform: scale(1.035);
}

.catCaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
  min-height: 80px;
  padding: 18px 22px;
  background: var(--olive2);
  color: var(--white);
  transition: background-color .2s ease;
}

.catCaption strong {
  min-width: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.catCaption svg, .catalogButton svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catCaption svg {
  opacity: .7;
}

.catCard:hover .catCaption {
  background: var(--olive);
}

.catalogActions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.catalogButton {
  min-width: 260px;
  max-width: 100%;
  min-height: 52px;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 14px;
  box-shadow: 0 6px 18px #34392a14;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.catalogButton:hover {
  background: var(--olive2);
  filter: none;
  box-shadow: 0 8px 22px #34392a22;
}

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

.product {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.prodImg {
  aspect-ratio: 4/3;
  background: #4c5140;
  position: relative;
  display: block;
  overflow: hidden;
}

.prodImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.product:hover .prodImg img {
  transform: scale(1.03);
}

.wish {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 14px;
  border: 1px solid #34392a1a;
  background: #fff;
  color: var(--olive2);
  cursor: pointer;
  box-shadow: 0 3px 12px #24251f14;
}

.wish svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wish:hover {
  background: #eeede5;
}

.wish.on {
  background: var(--olive);
  color: #fff;
}

.wish.on svg {
  fill: currentColor;
}

.wish.on:hover {
  background: var(--olive2);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #26291f;
  color: #fff;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.productBody {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.productBody h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
  min-height: 44px;
}

.price {
  font-size: 20px;
  font-weight: 800;
}

.meta {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.productActions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: auto;
}

.productActions button,.productActions a {
  min-width: 0;
  min-height: 44px;
  text-align: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  font-size: 13px;
}

.productActions .add {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}

.productActions .buyOneClick {
  background: var(--bg);
  color: var(--olive2);
}

.productActions .buyOneClick:hover {
  background: #e6e5d9;
  border-color: #b8bba8;
}

.productActions .add:hover {
  background: var(--olive2);
  border-color: var(--olive2);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.infoCard {
  background: #2b2f24;
  color: #fff;
  border-radius: 20px;
  padding: 32px;
}

.reviews {
  background: #fff;
}

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

.reviewGrid blockquote {
  margin: 0;
  background: #f3f1e9;
  border-radius: 18px;
  padding: 26px;
  font-size: 17px;
}

.reviewGrid footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.page {
  padding: 38px 0 70px;
}

.crumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}

.shopPage .shopHero {
  padding: 48px 0;
  text-align: center;
}

.shopHero .eyebrow {
  color: #c5c8b6;
}

.shopHero h1 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.shopHero p {
  max-width: 600px;
  margin: 0 auto;
  color: #d5d7ca;
  font-size: 17px;
}

.shopPage .shopSection {
  padding: 40px 0 64px;
}

.shopPage .shopLayout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.shopSidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  min-width: 0;
}

.categoryPanel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.categoryPanel summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  list-style: none;
  cursor: pointer;
}

.categoryPanel summary::-webkit-details-marker {
  display: none;
}

.categoryPanel summary b {
  display: block;
  font-size: 18px;
}

.categoryPanel summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.categoryPanel summary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.categoryPanel[open] summary svg {
  transform: rotate(180deg);
}

.catfilters {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px 12px;
  max-height: calc(100dvh - var(--header-height) - 124px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}

.shopPage .cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex-shrink: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.cat span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shopPage .cat small {
  display: grid;
  place-items: center;
  min-width: 30px;
  padding: 3px 6px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--olive);
  font-size: 11px;
  flex-shrink: 0;
}

.shopPage .cat:hover {
  background: #eeede5;
}

.shopPage .cat.active {
  background: var(--olive);
  color: #fff;
  font-weight: 600;
}

.shopPage .cat.active small {
  background: #ffffff26;
  color: #fff;
}

.shopResults {
  min-width: 0;
  scroll-margin-top: 20px;
}

.shopPage .shopbar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.searchField {
  min-width: 0;
  flex: 1;
}

.sortField {
  width: 220px;
  flex-shrink: 0;
}

.shopbar label, .shopbar .fieldLabel {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.searchInput {
  position: relative;
}

.searchInput svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.shopbar input, .shopbar select {
  width: 100%;
  height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}

.shopbar input {
  padding-left: 44px;
}

.shopbar select {
  cursor: pointer;
}

.sortDropdown {
  position: relative;
}

.sortTrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.sortTrigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sortTrigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.sortDropdown.open .sortTrigger {
  border-color: #a6aa94;
}

.sortDropdown.open .sortTrigger svg {
  transform: rotate(180deg);
}

.sortMenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: 240px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px #24251f24;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.sortMenu[hidden] {
  display: none;
}

.sortDropdown.opensUp .sortMenu {
  top: auto;
  bottom: calc(100% + 8px);
}

.sortOption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.sortOption svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  visibility: hidden;
}

.sortOption:hover, .sortOption:focus-visible {
  background: var(--bg);
}

.sortOption[aria-selected="true"] {
  background: #e9ebdf;
  color: var(--olive2);
  font-weight: 600;
}

.sortOption[aria-selected="true"] svg {
  visibility: visible;
}

.catalogHeading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.catalogHeading h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.2;
}

#catalogMeta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.catalogReset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--olive2);
  font-size: 13px;
  cursor: pointer;
}

.catalogReset svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalogReset:hover {
  background: #eeede5;
}

.catalogReset[hidden], .shopPage .pager[hidden] {
  display: none;
}

.shopPage .products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.shopPage .product {
  border-radius: 20px;
  box-shadow: 0 4px 16px #34392a06;
}

.shopPage .product:hover {
  border-color: #a6aa94;
}

.shopPage .productBody {
  padding: 18px;
}

.shopPage .productBody h3 {
  min-height: 2.7em;
  overflow-wrap: anywhere;
}

.shopPage .productBody .price {
  margin-top: auto;
}

.shopPage .priceRequest {
  font-size: 16px;
}

.shopPage .productActions {
  margin-top: 4px;
  gap: 8px;
}

.shopPage .productActions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 13px;
}

.shopPage .productActions .buyOneClick {
  background: var(--bg);
  color: var(--olive2);
}

.shopPage .productActions .buyOneClick:hover {
  background: #e6e5d9;
  border-color: #b8bba8;
}

.shopPage .productActions .add:hover {
  background: var(--olive2);
  border-color: var(--olive2);
}

.shopPage .pager {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.pagerPages {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pager button {
  min-width: 40px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.pager button:hover:not(:disabled):not(.active) {
  background: #e6e5d9;
}

.pager button.active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.pager button:disabled {
  background: #eeede5;
  color: var(--muted);
  cursor: default;
}

.pager .pagerPrev, .pager .pagerNext {
  padding: 10px 14px;
  white-space: nowrap;
}

.pagerGap {
  width: 16px;
  text-align: center;
  color: var(--muted);
}

.shopEmpty {
  grid-column: 1 / -1;
  padding: 40px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.shopEmptyIcon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #eeede5;
  color: var(--olive);
}

.shopEmptyIcon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.shopEmpty h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.shopEmpty p {
  max-width: 400px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.shopPage .modalbox, .productPage .modalbox {
  max-width: 860px;
  padding: 64px 28px 28px;
}

.shopPage .modalx, .productPage .modalx {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  top: 12px;
  right: 16px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--olive2);
}

.shopPage .modalx svg, .productPage .modalx svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.shopPage .quickPreview, .productPage .quickPreview {
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.shopPage .quickPreview .productVisual img, .productPage .quickPreview .productVisual img {
  aspect-ratio: 4/3;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
}

.shopPage .quickPreview h2, .productPage .quickPreview h2 {
  margin: 12px 0 20px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.shopPage .quickPreview .btn, .productPage .quickPreview .btn {
  margin-top: 24px;
}

.form input, .form textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 12px 13px;
  outline: none;
}

.content {
  max-width: 900px;
  padding: 48px 0;
}

.content h2 {
  margin-top: 32px;
}

.contactCards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.contactCards>div {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 14px;
}

.productDetail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.productVisual img {
  width: 100%;
  border-radius: 24px;
}

.productInfo h1 {
  font-size: 38px;
  line-height: 1.1;
  margin: 12px 0;
}

.productInfo .price {
  font-size: 30px;
}

.productInfo .desc {
  color: var(--muted);
  margin: 22px 0;
}

.productPage .productSection {
  padding: 32px 0 64px;
}

.productBreadcrumbs {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.productBreadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.productBreadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.productBreadcrumbs li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-top: 1px solid #97998a;
  border-right: 1px solid #97998a;
  transform: rotate(45deg);
}

.productBreadcrumbs a:hover {
  color: var(--olive2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.productOverview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: 'gallery info';
  gap: 24px 32px;
  align-items: start;
}

.productOverview.hasDescription {
  grid-template-areas: 'gallery info' 'description info';
  grid-template-rows: auto 1fr;
}

.productGallery {
  grid-area: gallery;
  min-width: 0;
}

.productPicture {
  position: relative;
  --picture-padding: 20px;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 6px 24px #34392a08;
  overflow: hidden;
}

.productPicture img {
  position: absolute;
  top: var(--picture-padding);
  left: var(--picture-padding);
  display: block;
  width: calc(100% - var(--picture-padding) * 2);
  height: calc(100% - var(--picture-padding) * 2);
  border-radius: 16px;
  object-fit: contain;
}

.detailInfo {
  grid-area: info;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.detailTopline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.detailTags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.detailCategory {
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--bg);
  color: var(--olive2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.detailCategory:hover {
  background: #e6e5d9;
}

.detailAvailability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--olive);
  font-size: 12px;
}

.detailAvailability i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.detailInfo h1 {
  margin: 18px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.detailSku {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.detailSku span {
  margin-left: 6px;
  color: var(--ink);
  letter-spacing: .03em;
}

.detailPurchase {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detailPriceLabel {
  color: var(--muted);
  font-size: 12px;
}

.detailPrice {
  margin: 6px 0 20px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.detailPrice.isRequest {
  font-size: 28px;
}

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

.detailAdd {
  min-width: 0;
  min-height: 52px;
  padding: 12px 18px;
  gap: 10px;
  border-radius: 14px;
  font-size: 15px;
}

.detailAdd:hover {
  background: var(--olive2);
  filter: none;
}

.detailBuy {
  min-width: 0;
  min-height: 52px;
  padding: 12px 18px;
  border-color: var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--olive2);
  font-size: 15px;
}

.detailBuy:hover {
  background: #e6e5d9;
  border-color: #b8bba8;
  filter: none;
}

.detailAdd svg, .detailFavorite svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detailFavorite {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--olive2);
  cursor: pointer;
}

.detailFavorite:hover {
  background: #e6e5d9;
}

.detailFavorite.on {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.detailFavorite.on svg {
  fill: currentColor;
}

.detailFavorite.on:hover {
  background: var(--olive2);
}

.detailDescription {
  grid-area: description;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.detailDescription h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.detailDescription p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.detailSpecs {
  margin: 0;
}

.detailSpecs > div {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e9e6dc;
}

.detailSpecs > div:first-child {
  padding-top: 0;
}

.detailSpecs > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detailSpecs dt {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.detailSpecs dd {
  margin: 0;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.detailLinks {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detailLink {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
}

.detailLink:hover {
  background: var(--bg);
}

.detailLink b {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.detailLink small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.detailLink svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detailLinkIcon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eeede5;
}

.detailLinkIcon svg {
  width: 22px;
  height: 22px;
}

.productRecommendations {
  margin-top: 56px;
}

.productRecommendationsHead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.productRecommendationsHead h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.productCategoryLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--olive2);
  font-size: 13px;
  font-weight: 600;
}

.productCategoryLink:hover {
  background: #e6e5d9;
}

.productCategoryLink svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.productRecommendations .products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.productRecommendations .product {
  border-radius: 20px;
}

.productRecommendations .productBody {
  padding: 18px;
}

.productRecommendations .productBody .price {
  margin-top: auto;
}

.productRecommendations .priceRequest {
  font-size: 16px;
}

.productRecommendations .productActions {
  margin-top: 4px;
  gap: 8px;
}

.productRecommendations .productActions button {
  min-width: 0;
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
}

.productRecommendations .buyOneClick {
  background: var(--bg);
  color: var(--olive2);
}

.productRecommendations .buyOneClick:hover {
  background: #e6e5d9;
}

.productRecommendations .add:hover {
  background: var(--olive2);
  border-color: var(--olive2);
}

.productNotFound {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.productNotFoundIcon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #eeede5;
}

.productNotFoundIcon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.productNotFound h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
}

.productNotFound p {
  max-width: 400px;
  margin: 0 auto 24px;
  color: var(--muted);
}

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

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: min(460px, 100vw);
  height: 100vh;
  height: 100dvh;
  border-left: 1px solid var(--line);
  border-radius: 24px 0 0 24px;
  background: var(--bg);
  z-index: 50;
  box-shadow: -24px 0 80px #1f221c33;
  transition: transform .25s ease, visibility .25s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  visibility: hidden;
}

.drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawerhead {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
}

.drawerhead h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.drawerhead p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.modalx {
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.cartlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c4c9b4 transparent;
  flex: 1;
}

.cartlist.is-empty {
  display: grid;
  place-items: center;
}

.cartEmpty {
  max-width: 280px;
  margin: auto;
  padding: 16px 0;
  text-align: center;
}

.cartEmptyIcon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border: 1px solid #dbe0cc;
  border-radius: 24px;
  background: #e8ecdd;
  color: var(--olive);
}

.cartEmptyIcon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cartEmpty h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.cartEmpty p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.cartBrowse {
  min-height: 44px;
  padding: 12px 18px;
  border-color: var(--line);
  background: var(--white);
  color: var(--olive);
  font-size: 14px;
}

.cartBrowse:hover {
  border-color: #b6bea1;
  background: #e8eade;
}

.cartrow {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  flex-shrink: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.cartThumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eade;
}

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

.cartItem {
  min-width: 0;
}

.cartItemHeading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cartItemName {
  flex: 1;
  min-width: 0;
  padding-top: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.cartItemName:hover {
  color: var(--olive);
}

.cartRemove {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f3f4ed;
  color: var(--muted);
  cursor: pointer;
}

.cartRemove:hover {
  background: #f3e8e4;
  color: var(--danger);
}

.cartRemove svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cartUnitPrice {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.cartItemBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cartRowTotal {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.qty {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

.qty button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--olive);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.qty button:hover {
  background: #e1e6d2;
}

.qty button:focus-visible {
  outline-offset: -4px;
}

.qty span {
  min-width: 28px;
  padding: 0 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cartfoot {
  flex-shrink: 0;
  padding: 22px 24px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 -8px 24px #24251f05;
}

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.total b {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.cartfoot .btn {
  width: 100%;
  min-height: 52px;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
}

.cartfoot .btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shade {
  display: none;
  position: fixed;
  inset: 0;
  background: #171b1380;
  z-index: 40;
}

.shade.on {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  place-items: center;
  padding: 20px;
  background: #0009;
}

.modal.open {
  display: grid;
}

.modalbox {
  background: #fff;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}

.modalx {
  position: absolute;
  right: 16px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

.modalx svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.modal.consultationModal .modalbox {
  max-width: 580px;
  max-height: calc(100dvh - 40px);
  padding: 64px 28px 28px;
  background: var(--bg);
  overscroll-behavior: contain;
}

.modal.consultationModal .modalx {
  top: 12px;
  right: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--olive2);
}

.consultationIntro h2 {
  margin: 12px 0;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.consultationIntro p {
  margin: 0;
  color: var(--muted);
}

.consultationForm {
  gap: 16px;
  margin-top: 24px;
}

.consultationForm label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.consultationForm label small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.consultationForm input, .consultationForm textarea {
  width: 100%;
  min-width: 0;
  font-weight: 400;
}

.consultationNote {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.consultationStatus {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #c5cdb5;
  border-radius: 12px;
  background: #e7ecd9;
  color: var(--olive2);
}

@media (max-width: 560px) {
  .modal.consultationModal .modalbox {
    padding: 64px 20px 20px;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(100px);
  background: #1f221c;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  z-index: 100;
  transition: transform .2s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

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

#siteFooter {
  flex-shrink: 0;
  margin-top: auto;
  background: #1f221c;
}

#siteFooter footer {
  color: #c8c9bf;
  padding: 32px 0;
}

.footgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.15fr);
  gap: 24px;
}

.footerSection h2 {
  margin: 0 0 12px;
  color: #c1c9a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footerNav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footerNav a, .footerContact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  transition: background-color .18s ease, color .18s ease;
}

.footerNav a {
  padding: 10px 12px;
  font-weight: 600;
}

.footerNav a:hover, .footerContact:hover {
  background: #ffffff0d;
  color: var(--white);
}

.footbrand {
  width: fit-content;
  max-width: 100%;
  color: var(--white);
  border-radius: 9px;
}

.footerHours {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ffffff08;
  color: #adb39d;
  font-size: 12px;
}

.footerHours strong {
  display: block;
  color: #e0e4d4;
  font-size: 14px;
  font-weight: 600;
}

.footerHours svg, .footerIcon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footerContacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footerContact {
  gap: 10px;
  padding: 4px 8px;
}

.footerContact > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footerIcon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  background: #ffffff08;
  color: #c1c9a4;
}

.footerLegal p {
  margin: 0 0 10px;
  font-size: 14px;
}

.footerLegal dl {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 13px;
}

.footerLegal dl > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.footerLegal dt {
  color: #adb39d;
}

.footerLegal dd {
  margin: 0;
}

.empty {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed #ccc;
  border-radius: 18px;
  padding: 45px;
  text-align: center;
  color: var(--muted);
}

.hamb {
  display: none;
}

.breadcrumbs {
  margin-bottom: 24px;
  color: #777;
}

.dark {
  color: #20231b!important;
  border-color: #888!important;
}

.pageHero {
  background: #25281f;
  color: #fff;
  padding: 48px 0;
}

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

.panel {
  background: #f4f3ee;
  border: 1px solid #dedbd0;
  border-radius: 14px;
  padding: 22px;
}

.panel h3 {
  margin-top: 0;
}

.blogGrid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.post {
  border: 1px solid #ddd8cb;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}

.faq details {
  border-bottom: 1px solid #ddd;
  padding: 14px 0;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.partnerSteps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.notice {
  background: #fff7d8;
  border: 1px solid #ead58b;
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
}

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

.heroGrid > div {
  min-width: 0;
}

.hero .eyebrow {
  color: #bdc5a0;
}

.heroArt {
  aspect-ratio: 850 / 565;
}

body[data-page="home"] .section + .section {
  padding-top: 0;
}

.infoCard h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.infoCard a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footgrid > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footbrand .brandmark {
  border-color: #aeb48e;
  color: #c1c9a4;
}

.footbrand small {
  color: #c1c5b2;
  font-size: 12px;
}

a:focus-visible, button:focus-visible, .categoryPanel summary:focus-visible, .shopbar input:focus-visible, .shopbar select:focus-visible, .form input:focus-visible, .form textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 4px;
}

.hero a:focus-visible, .hero button:focus-visible, #siteFooter a:focus-visible, .infoCard a:focus-visible {
  outline-color: #bdc5a0;
}

/* Contacts page */
.contactsPage .contactsHero {
  padding: 52px 0;
  text-align: center;
}

.contactsHero .eyebrow {
  color: #bdc5a0;
}

.contactsHero h1 {
  margin: 12px 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.contactsHero p {
  max-width: 560px;
  margin: 0 auto;
  color: #c1c5b2;
  font-size: 17px;
}

.contactsPage .contactsContent {
  max-width: none;
  padding: 48px 0 64px;
}

.contactsLayout {
  max-width: 1100px;
}

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

.contactMethodCard {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.contactMethodCard h2 {
  margin: 20px 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.contactValue {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

a.contactValue {
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 5px;
}

a.contactValue:hover {
  color: var(--olive);
  text-decoration-color: var(--olive);
}

.contactEmail {
  font-size: 18px;
  letter-spacing: -.015em;
}

.contactMethodCard p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contactsStores {
  margin-top: 48px;
}

.contactsSectionHeading {
  margin-bottom: 24px;
  text-align: center;
}

.contactsSectionHeading h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.contactsSectionHeading p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 768px) {
  .contactMethods {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .contactsPage .contactsHero {
    padding: 40px 0;
  }

  .contactsHero p {
    font-size: 16px;
  }

  .contactsPage .contactsContent {
    padding: 40px 0 48px;
  }

  .contactMethodCard {
    padding: 24px;
  }

  .contactsStores {
    margin-top: 36px;
  }
}

/* Delivery page */
.deliveryPage .deliveryHero {
  padding: 52px 0;
  text-align: center;
}

.deliveryHero .eyebrow {
  color: #bdc5a0;
}

.deliveryHero h1 {
  margin: 12px 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.deliveryHero p {
  max-width: 560px;
  margin: 0 auto;
  color: #c1c5b2;
  font-size: 17px;
}

.deliveryPage .deliveryContent {
  max-width: none;
  padding: 48px 0 64px;
}

.deliveryLayout {
  max-width: 1100px;
}

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

.deliveryCard {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.deliveryIcon, .pickupIcon, .contactIcon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eceee3;
  color: var(--olive);
}

.deliveryIcon svg, .pickupIcon svg, .contactIcon svg {
  width: 24px;
  height: 24px;
}

.deliveryCard h2 {
  margin: 20px 0 12px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.deliveryCard p {
  max-width: 440px;
  margin: 0;
  overflow-wrap: anywhere;
}

.deliveryCard .deliveryCardNote {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.deliveryNotice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #eae7dc;
}

.deliveryNoticeIcon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--olive);
  border-radius: 50%;
  color: var(--olive);
  font: bold 15px/1 Georgia, serif;
}

.deliveryNotice p {
  margin: 0;
  font-size: 14px;
}

.deliveryPickup {
  margin-top: 48px;
}

.deliverySectionHeading {
  margin-bottom: 24px;
  text-align: center;
}

.deliverySectionHeading h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.deliverySectionHeading p {
  margin: 0;
  color: var(--muted);
}

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

.pickupCard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.pickupCard > div {
  min-width: 0;
}

.pickupCard h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.pickupCard address {
  color: var(--muted);
  font-style: normal;
  overflow-wrap: anywhere;
}

.pickupHours {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.deliveryContact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding: 36px;
  border-radius: 24px;
  background: #2b2f24;
  color: #fff;
}

.deliveryContact .eyebrow {
  color: #bdc5a0;
}

.deliveryContact h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.deliveryContact p {
  max-width: 500px;
  margin: 0;
  color: #c1c5b2;
}

.deliveryContactLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.deliveryContactLinks .btn {
  gap: 12px;
  min-width: 210px;
}

.deliveryEmail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.deliveryContact a:focus-visible {
  outline-color: #bdc5a0;
}

@media (max-width: 768px) {
  .deliveryInfoGrid, .pickupGrid, .deliveryContact {
    grid-template-columns: minmax(0, 1fr);
  }

  .deliveryContact {
    gap: 24px;
    text-align: center;
  }

  .deliveryContact p {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .deliveryPage .deliveryHero {
    padding: 40px 0;
  }

  .deliveryHero p {
    font-size: 16px;
  }

  .deliveryPage .deliveryContent {
    padding: 40px 0 48px;
  }

  .deliveryCard, .pickupCard {
    padding: 24px;
  }

  .deliveryNotice {
    gap: 12px;
    padding: 20px;
  }

  .deliveryPickup {
    margin-top: 36px;
  }

  .pickupGrid {
    gap: 16px;
  }

  .deliveryContact {
    margin-top: 36px;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .deliveryContactLinks .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Partners page */
.partnersPage .partnersHero {
  padding: 52px 0;
  text-align: center;
}

.partnersHero .eyebrow {
  color: #bdc5a0;
}

.partnersHero h1 {
  max-width: 760px;
  margin: 12px auto 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.partnersHero p {
  max-width: 560px;
  margin: 0 auto;
  color: #c1c5b2;
  font-size: 17px;
}

.partnersPage .partnersContent {
  max-width: none;
  padding: 48px 0 64px;
}

.partnersLayout {
  max-width: 1100px;
}

.partnersSection + .partnersSection {
  margin-top: 48px;
}

.partnersSectionHeading {
  margin-bottom: 24px;
  text-align: center;
}

.partnersSectionHeading h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.partnersPage .partnerCards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.partnersPage .partnerCard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.partnerIcon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: #eceee3;
  color: var(--olive);
}

.partnerIcon svg {
  width: 24px;
  height: 24px;
}

.partnerCard h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.partnerCard p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.partnersPage .partnerFormat {
  background: #eae7dc;
}

.partnerTag {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.partnersPage .partnerSteps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partnerStep {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.partnerStepNumber {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.partnerStep h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

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

.partnersFaq details {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.partnersFaq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 24px;
  border-radius: 16px;
  list-style: none;
}

.partnersFaq summary::-webkit-details-marker {
  display: none;
}

.partnersFaq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--olive);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.partnersFaq details[open] summary::after {
  content: "−";
}

.partnersFaq summary:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 4px;
}

.partnersFaq p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.partnerContact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding: 36px;
  border-radius: 24px;
  background: #2b2f24;
  color: #fff;
}

.partnerContact .eyebrow {
  color: #bdc5a0;
}

.partnerContact h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.partnerContact p {
  max-width: 500px;
  margin: 0;
  color: #c1c5b2;
}

.partnerContactLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.partnerContactLinks .btn {
  gap: 12px;
}

.partnerPhone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.partnerContact a:focus-visible {
  outline-color: #bdc5a0;
}

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

@media (max-width: 768px) {
  .partnersPage .partnerCards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .partnerContact {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    text-align: center;
  }

  .partnerContact p {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .partnersPage .partnersHero {
    padding: 40px 0;
  }

  .partnersHero p {
    font-size: 16px;
  }

  .partnersPage .partnersContent {
    padding: 40px 0 48px;
  }

  .partnersSection + .partnersSection {
    margin-top: 36px;
  }

  .partnersPage .partnerCard {
    padding: 24px;
  }

  .partnersPage .partnerSteps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .partnerStep {
    padding: 20px;
  }

  .partnersFaq summary {
    padding: 18px 20px;
  }

  .partnersFaq p {
    padding: 0 20px 20px;
  }

  .partnerContact {
    margin-top: 36px;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .partnerContact .eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
  }

  .partnerContactLinks .btn {
    width: 100%;
  }
}

/* Reviews page */
.reviewsPage .reviewsHero {
  padding: 52px 0 68px;
  text-align: center;
}

.reviewsHero .eyebrow {
  color: #bdc5a0;
}

.reviewsHero h1 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.reviewsHero p {
  max-width: 540px;
  margin: 0 auto;
  color: #c1c5b2;
  font-size: 17px;
}

.reviewsHeroLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 16px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.reviewsHeroLink:focus-visible {
  outline-color: #bdc5a0;
}

.reviewsPage .reviewsContent {
  position: relative;
  max-width: none;
  margin-top: -24px;
  padding: 0 0 64px;
}

.reviewsLayout {
  max-width: 1100px;
}

.reviewsPage .reviewGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.reviewsPage .reviewCard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 24px #24251f06;
}

.reviewQuote {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eceee3;
  color: var(--olive);
  font: 54px/1 Georgia, serif;
}

.reviewCard p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.reviewsPage .reviewAuthor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--ink);
}

.reviewAvatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
}

.reviewName {
  font-size: 14px;
  font-weight: 700;
}

.reviewFormCard {
  max-width: 720px;
  margin: 40px auto 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  scroll-margin-top: 24px;
}

.reviewFormHeading {
  text-align: center;
}

.reviewFormHeading h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.reviewFormHeading p {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
}

.reviewForm {
  gap: 20px;
  margin-top: 28px;
}

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

.reviewForm label {
  display: block;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}

.reviewRequired {
  color: var(--olive);
}

.reviewForm input, .reviewForm textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 13px 14px;
  background: #faf9f5;
  font-size: 16px;
  font-weight: 400;
}

.reviewForm input::placeholder, .reviewForm textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.reviewForm .btn {
  justify-self: center;
  gap: 12px;
  min-width: 210px;
}

@media (max-width: 768px) {
  .reviewsPage .reviewGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .reviewsPage .reviewCard {
    gap: 16px;
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .reviewsPage .reviewsHero {
    padding: 40px 0 56px;
  }

  .reviewsHero p {
    font-size: 16px;
  }

  .reviewsPage .reviewsContent {
    padding-bottom: 48px;
  }

  .reviewFormCard {
    margin-top: 28px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .reviewFormFields {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .reviewForm .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 950px) {

  .headerin .brand {
    margin-right: auto;
  }

  .hamb {
    display: inline-flex;
  }

  .header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px 22px;
    flex-direction: column;
    gap: 6px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px #0002;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
  }

  .header nav.open {
    display: flex;
  }

  .header nav a {
    justify-content: flex-start;
    flex-shrink: 0;
  }

  .heroGrid, .split, .productDetail {
    grid-template-columns: minmax(0, 1fr);
  }

  .heroArt {
    width: 100%;
    max-width: 680px;
    margin: 8px auto 0;
  }

  .hero h1 {
    max-width: 720px;
  }

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

  .shopLayout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: static;
  }

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

  .contentGrid, .blogGrid, .partnerSteps {
    grid-template-columns: minmax(0, 1fr);
  }

  .topgrid span:nth-child(2), .topgrid span:nth-child(3) {
    display: none;
  }
}

@media (max-width: 560px) {

  :root {
    --header-height: 73px;
  }

  .wrap {
    padding: 0 16px;
  }

  .headerin {
    height: 72px;
    gap: 6px;
  }

  .headerin .brand {
    gap: 8px;
    flex: 1;
  }

  .headerin .brandmark {
    width: 36px;
    height: 36px;
  }

  .headerin .brand b {
    font-size: 13px;
    letter-spacing: .03em;
  }

  .headerin .brand small {
    display: none;
  }

  .tools {
    gap: 4px;
  }

  .header nav {
    padding: 12px 16px;
  }

  .drawer {
    border-left: 0;
    border-radius: 0;
  }

  .drawerhead {
    padding: 20px 16px;
  }

  .drawerhead h2 {
    font-size: 26px;
  }

  .cartlist {
    padding: 16px;
  }

  .cartrow {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .cartfoot {
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }

  .hero {
    padding: 36px 0;
  }

  .hero h1 {
    font-size: clamp(32px, 8.5vw, 42px);
  }

  .hero p {
    font-size: 16px;
  }

  .heroBtns {
    margin: 24px 0;
  }

  .heroStats {
    gap: 12px;
  }

  .heroStats div {
    padding-left: 10px;
  }

  .heroStats div:first-child {
    flex: 1;
  }

  .heroStats span {
    font-size: 11px;
  }

  .heroArt img {
    border-radius: 18px;
  }

  .section {
    padding: 48px 0;
  }

  .products, .catgrid, .reviewGrid, .contactCards, .footgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  #siteFooter footer {
    padding: 28px 0;
  }

  .footgrid {
    gap: 22px;
  }

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

  .catgrid {
    gap: 18px;
  }

  .catCaption {
    min-height: 76px;
    padding: 18px 20px;
  }

  .catalogActions {
    margin-top: 28px;
  }

  .catalogButton {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }

  .shopbar {
    flex-direction: column;
  }

  .infoCard {
    padding: 24px;
  }

  .topline {
    display: none;
  }
}

@media (max-width: 360px) {

  .headerin .brand {
    gap: 6px;
  }

  .headerin .brandmark {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .headerin .brand b {
    font-size: 12px;
    letter-spacing: 0;
  }
}

@media (max-width: 1100px) {

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

@media (max-width: 950px) {

  .shopPage .shopLayout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .shopSidebar {
    position: static;
  }

  .catfilters {
    max-height: min(360px, 55dvh);
  }
}

@media (max-width: 768px) {

  .shopPage .quickPreview, .productPage .quickPreview {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .shopPage .quickPreview .productVisual img, .productPage .quickPreview .productVisual img {
    max-height: 260px;
  }
}

@media (max-width: 560px) {

  .shopPage .shopHero {
    padding: 36px 0;
  }

  .shopHero p {
    font-size: 15px;
  }

  .shopPage .shopSection {
    padding: 24px 0 40px;
  }

  .categoryPanel summary {
    padding: 16px 18px;
  }

  .shopPage .shopbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  .searchField, .sortField {
    width: 100%;
  }

  .shopbar input, .shopbar select, .sortTrigger {
    font-size: 16px;
  }

  .shopPage .products {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

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

  .pagerPages {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .pager .pagerPrev, .pager .pagerNext {
    grid-row: 2;
    width: 100%;
  }

  .pagerPrev {
    grid-column: 1;
  }

  .pagerNext {
    grid-column: 2;
  }

  .shopPage .modalbox, .productPage .modalbox {
    padding: 64px 20px 24px;
  }
}

@media (max-width: 850px) {

  .productOverview, .productOverview.hasDescription {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: 'gallery' 'info';
    gap: 24px;
  }

  .productOverview.hasDescription {
    grid-template-areas: 'gallery' 'info' 'description';
  }

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

@media (max-width: 560px) {

  .productPage .productSection {
    padding: 20px 0 40px;
  }

  .productBreadcrumbs {
    margin-bottom: 20px;
    overflow-wrap: anywhere;
  }

  .productOverview, .productOverview.hasDescription {
    gap: 18px;
  }

  .productPicture {
    --picture-padding: 14px;
    border-radius: 20px;
  }

  .detailInfo, .detailDescription {
    padding: 20px;
    border-radius: 20px;
  }

  .detailInfo h1 {
    font-size: 28px;
  }

  .detailPurchase {
    margin-top: 20px;
    padding-top: 20px;
  }

  .detailPrice {
    font-size: 32px;
  }

  .detailPrice.isRequest {
    font-size: 24px;
  }

  .detailAdd, .detailBuy {
    padding: 12px;
    font-size: 14px;
  }

  .detailLink {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 10px 0;
  }

  .detailLink > svg {
    width: 16px;
    height: 16px;
  }

  .detailLinkIcon {
    width: 40px;
    height: 40px;
  }

  .productRecommendations {
    margin-top: 36px;
  }

  .productRecommendationsHead {
    margin-bottom: 20px;
  }

  .productRecommendations .products {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .productNotFound {
    padding: 32px 20px;
  }

  .productNotFound h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .catCard, .catCaption, .catMedia img, .catMedia video, .catalogButton, .prodImg img, .drawer, .toast, .header nav a, .iconbtn, .hamb, .footerNav a, .footerContact, .categoryPanel summary svg, .sortTrigger svg {
    transition: none;
  }

  .catCard:hover, .catCard:hover .catMedia img, .catCard:hover .catMedia video, .product:hover .prodImg img {
    transform: none;
  }
}

/* ========================================
   IFRAME MODAL
======================================== */

.iframeModal,
.iframeModal *,
.iframeModal *::before,
.iframeModal *::after {
    box-sizing: border-box;
}


/* ========================================
   ФОН МОДАЛКИ
======================================== */

.iframeModal {
    padding: 12px;
    overflow: hidden;
}


/* ========================================
   ОСНОВНОЕ ОКНО
======================================== */

.iframeModal .modalbox {
    position: relative;

    width: min(600px, calc(100vw - 24px));
    height: calc(100dvh - 24px);

    max-width: none;
    max-height: none;

    margin: auto;
    padding: 0;

    overflow: hidden;

    background: #fff;
    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 4px 20px rgba(0, 0, 0, 0.08);
}


/* ========================================
   КОНТЕНТ МОДАЛКИ
======================================== */

.iframeModal #modalContent {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* ========================================
   ОБЕРТКА IFRAME
======================================== */

.iframeModalContent {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 0;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* ========================================
   IFRAME
======================================== */

.projectIframe {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: #fff;
}


/* ========================================
   КНОПКА ЗАКРЫТИЯ
======================================== */

.iframeModal .modalx {
    position: absolute;

    top: 16px;
    right: 16px;

    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.96);

    color: #111;

    cursor: pointer;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.iframeModal .modalx:hover {
    transform: scale(1.05);

    background: #fff;

    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.18),
        0 2px 6px rgba(0, 0, 0, 0.1);
}


.iframeModal .modalx:active {
    transform: scale(0.96);
}


.iframeModal .modalx:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}


/* ========================================
   ИКОНКА КРЕСТИКА
======================================== */

.iframeModal .modalx svg {
    display: block;

    width: 22px;
    height: 22px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}


/* ========================================
   БЛОКИРОВКА СКРОЛЛА ФОНА
======================================== */

html.modal-open,
html.modal-open body {
    overflow: hidden;
}


/* ========================================
   ПЛАНШЕТ
======================================== */

@media (max-width: 900px) {

    .iframeModal {
        padding: 8px;
    }

    .iframeModal .modalbox {
        width: min(800px, calc(100vw - 16px));
        height: calc(100dvh - 16px);

        border-radius: 14px;
    }

    .iframeModal .modalx {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;
    }

    .iframeModal .modalx svg {
        width: 21px;
        height: 21px;
    }
}


/* ========================================
   МОБИЛЬНЫЕ
======================================== */

@media (max-width: 600px) {

    .iframeModal {
        padding: 0;
    }

    .iframeModal .modalbox {
        width: 100vw;
        height: 100dvh;

        border-radius: 0;
    }

    .iframeModal .modalx {
        top: 12px;
        right: 12px;

        width: 40px;
        height: 40px;
    }

    .iframeModal .modalx svg {
        width: 20px;
        height: 20px;
    }
}


/* ========================================
   ОЧЕНЬ НИЗКИЕ ЭКРАНЫ
======================================== */

@media (max-height: 500px) {

    .iframeModal {
        padding: 4px;
    }

    .iframeModal .modalbox {
        width: min(800px, calc(100vw - 8px));
        height: calc(100dvh - 8px);

        border-radius: 10px;
    }

    .iframeModal .modalx {
        top: 8px;
        right: 8px;

        width: 36px;
        height: 36px;
    }

    .iframeModal .modalx svg {
        width: 18px;
        height: 18px;
    }
}


/* ========================================
   FALLBACK ДЛЯ БРАУЗЕРОВ БЕЗ 100dvh
======================================== */

@supports not (height: 100dvh) {

    .iframeModal .modalbox {
        height: calc(100vh - 24px);
    }

    @media (max-width: 900px) {

        .iframeModal .modalbox {
            height: calc(100vh - 16px);
        }
    }

    @media (max-width: 600px) {

        .iframeModal .modalbox {
            height: 100vh;
        }
    }
}

/* Скидка при первом посещении главной страницы */
html.discount-modal-open,
html.discount-modal-open body {
  overflow: hidden;
}

.discountModal {
  position: fixed;
  inset: 0;
  width: min(480px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 52px 36px 28px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 80px #1115;
}

.discountModal:not([open]) {
  display: none;
}

.discountModal::backdrop {
  background: #1f221cb3;
  backdrop-filter: blur(4px);
}

/* Крестик */
.discountClose {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--olive2);
  cursor: pointer;
}

.discountClose:hover {
  background: #e8eade;
}

.discountClose svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* Надпись над скидкой */
.discountEyebrow {
  display: block;
  margin: 8px 0 20px;
  font-size: 11px;
  letter-spacing: .14em;
}

/* Значок −20% */
.discountAmount {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 12px 28px;
  border: 1px solid #c5cdb5;
  border-radius: 20px;
  background: #e7ecd9;
  color: var(--olive2);
  font-size: clamp(56px, 12vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.discountAmount span {
  font-size: .55em;
}

/* Заголовок и текст */
.discountModal h2 {
  margin: 24px 0 12px;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.discountModal p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Кнопки */
.discountActions {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.discountDismiss {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.discountDismiss:hover {
  background: #e8eade;
  color: var(--olive2);
}

/* Мобильные экраны */
@media (max-width: 560px) {
  .discountModal {
    padding: 52px 24px 20px;
    border-radius: 20px;
  }
}

.modal {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
