:root {
  color-scheme: light;
  --ink: #261f1b;
  --muted: #71665f;
  --paper: #fffaf5;
  --panel: #ffffff;
  --cream: #f6ecdf;
  --cacao: #4b251c;
  --berry: #ad4051;
  --pistachio: #718d5a;
  --gold: #c5964f;
  --aqua: #3d7f86;
  --line: #e9dccc;
  --line-strong: #dcc7b3;
  --shadow: 0 22px 60px rgba(54, 34, 22, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf5 0%, #fff 42%, #fbf4ec 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-align: right;
}

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

button,
input,
textarea,
select {
  font: inherit;
  text-align: right;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid rgba(61, 127, 134, 0.35);
  outline-offset: 3px;
}

.site-notice {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 9px clamp(18px, 4vw, 58px);
  color: #fff;
  background: var(--cacao);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.5fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 250, 245, 0.94);
  border-bottom: 1px solid rgba(233, 220, 204, 0.88);
  backdrop-filter: blur(16px);
}

.site-notice + .site-header {
  top: 40px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a,
.nav-categories summary,
.text-link {
  white-space: nowrap;
}

.main-nav a:hover,
.nav-categories summary:hover,
.text-link:hover,
.cart-link:hover {
  color: var(--berry);
}

.nav-categories {
  position: relative;
}

.nav-categories summary {
  cursor: pointer;
  list-style: none;
}

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

.nav-categories summary::after {
  content: "⌄";
  margin-inline-start: 6px;
  color: var(--berry);
  font-size: 0.82rem;
}

.nav-categories[open] summary::after {
  content: "⌃";
}

.nav-categories div {
  position: absolute;
  inset-block-start: calc(100% + 14px);
  inset-inline-end: 0;
  min-width: 210px;
  display: grid;
  gap: 4px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(54, 34, 22, 0.14);
}

.nav-categories div a {
  display: block;
  padding: 9px 11px;
  border-radius: 8px;
}

.nav-categories div a:hover {
  background: #fffaf5;
}

.header-actions,
.hero-actions,
.product-actions,
.contact-actions,
.inline-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  color: var(--cacao);
  background: #fff;
  border: 1px solid rgba(75, 37, 28, 0.2);
  border-radius: 8px;
  font-weight: 800;
}

.cart-icon {
  display: grid;
  place-items: center;
}

.cart-link[data-cart-count]:not([data-cart-count="0"]) {
  color: #fff;
  background: var(--cacao);
  border-color: var(--cacao);
}

.primary-button,
.secondary-button,
.mini-button,
.text-link {
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.primary-button,
.secondary-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
}

.primary-button {
  color: #fff;
  background: var(--cacao);
  box-shadow: 0 12px 24px rgba(75, 37, 28, 0.18);
}

.primary-button:hover {
  transform: translateY(-1px);
  background: #351812;
}

.primary-button:disabled,
.secondary-button:disabled,
.mini-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.secondary-button {
  color: var(--cacao);
  background: #fff;
  border-color: rgba(75, 37, 28, 0.18);
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.mini-button {
  min-height: 36px;
  padding: 0 13px;
  color: var(--cacao);
  background: #fbf2e9;
  border-color: var(--line);
  font-size: 0.88rem;
}

.mini-button:hover {
  background: #f3e1cf;
}

.full {
  width: 100%;
}

.hide-mobile {
  display: inline-flex;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--berry);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-shell {
  width: min(1240px, calc(100% - 36px));
  min-height: min(540px, calc(100svh - 74px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  padding: clamp(24px, 4.5vw, 48px) 0 clamp(34px, 5vw, 62px);
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.95rem, 3.2vw, 3.2rem);
  line-height: 1.05;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.section-title p,
.split-section p,
.content-page p,
.studio-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-copy > p:not(.eyebrow) {
  margin: 24px 0;
  font-size: 1.06rem;
}

.hero-visual {
  position: relative;
  height: clamp(280px, 42svh, 450px);
  min-height: 0;
  display: block;
}

.hero-showcase {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(54, 34, 22, 0.12);
  background: linear-gradient(180deg, #fffaf5, #f2e8dc);
}

.trust-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 52px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(54, 34, 22, 0.08);
}

.trust-strip span {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--cacao);
  border-inline-start: 1px solid var(--line);
  text-align: center;
  font-weight: 900;
}

.trust-strip span:first-child {
  border-inline-start: 0;
}

.section {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) 0;
}

.soft-band {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1240px) / 2));
  background:
    linear-gradient(180deg, rgba(246, 236, 223, 0.48), rgba(255, 255, 255, 0.8));
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
  text-align: right;
}

.section-title .eyebrow,
.section-title h2 {
  grid-column: 1;
}

.section-title .eyebrow {
  margin-bottom: 0;
}

.section-title a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.section-title h2,
.split-section h2,
.checkout-cart h2,
.checkout-form h2,
.studio-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.section-title a,
.results-head a {
  color: var(--berry);
  font-weight: 900;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 230px));
  gap: 14px;
  align-items: stretch;
  justify-content: center;
}

.category-tile {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px;
  text-align: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(54, 34, 22, 0.06);
}

.category-tile:hover {
  border-color: var(--gold);
}

.category-tile strong {
  font-size: 1.28rem;
}

.category-tile span {
  color: var(--muted);
  line-height: 1.55;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(54, 34, 22, 0.06);
}

.product-card[hidden] {
  display: none;
}

.product-card-media {
  position: relative;
  display: block;
  background: linear-gradient(180deg, #fffaf5, #f2e8dc);
}

.product-card-media img {
  width: 100%;
  aspect-ratio: 1 / 0.84;
  object-fit: contain;
  padding: 8px;
}

.badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: #fff;
  background: var(--berry);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

.sale-badge {
  inset-inline-start: auto;
  inset-inline-end: 12px;
  background: var(--pistachio);
}

.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  text-align: right;
}

.product-card-body p,
.product-card-body span,
.quiet-note,
.product-small-print,
.option-card small {
  color: var(--muted);
}

.product-card-body p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
}

.product-card-body h2 {
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.25;
}

.product-card-body > span {
  min-height: 48px;
  line-height: 1.55;
}

.product-promo-chip {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  color: #24521c;
  background: rgba(118, 144, 92, 0.13);
  border: 1px solid rgba(118, 144, 92, 0.24);
  border-radius: 8px;
  line-height: 1.35;
}

.product-promo-chip strong {
  color: #24521c;
  font-size: 0.74rem;
  font-weight: 950;
}

.product-promo-chip span {
  color: #24521c;
  font-size: 0.88rem;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #4b251c;
  background: rgba(197, 150, 79, 0.14);
  border: 1px solid rgba(197, 150, 79, 0.22);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card-bottom strong {
  color: var(--cacao);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.75fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
}

.steps-list {
  display: grid;
  gap: 12px;
}

.steps-list span {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.steps-list b {
  color: var(--berry);
}

.page-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) 0 clamp(24px, 5vw, 52px);
}

.compact-hero h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.compact-hero p:not(.eyebrow) {
  width: min(760px, 100%);
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.catalog-layout {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0 80px;
}

.filters-panel,
.checkout-cart,
.checkout-form,
.studio-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(54, 34, 22, 0.07);
}

.filters-panel {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.filters-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
  list-style: none;
}

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

.filters-panel summary::after {
  content: "+";
  float: left;
  color: var(--berry);
}

.filters-panel[open] summary::after {
  content: "-";
}

.filters-fields {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.range-filter {
  gap: 8px;
}

.range-value {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--cacao);
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.range-filter input[type="range"] {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--cacao);
}

.filter-reset {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--cacao);
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.filter-reset:hover {
  border-color: var(--gold);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: 0;
}

textarea {
  resize: vertical;
  line-height: 1.55;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(61, 127, 134, 0.14);
}

.catalog-results {
  min-width: 0;
}

.results-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.product-page {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 6vw, 76px) 0;
}

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

.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf5, #f2e8dc);
}

.product-gallery .main-photo {
  grid-column: 1 / -1;
  aspect-ratio: 1 / 0.72;
}

.product-details {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 18px;
}

.breadcrumb {
  color: var(--berry);
  font-weight: 900;
}

.product-details h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.lead {
  margin: 0;
  color: var(--cacao);
  font-size: 1.16rem;
  font-weight: 900;
}

.product-details p {
  line-height: 1.8;
}

.product-promo-banner {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  color: #24521c;
  background: linear-gradient(135deg, rgba(118, 144, 92, 0.15), rgba(255, 250, 245, 0.94));
  border: 1px solid rgba(118, 144, 92, 0.25);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(55, 35, 24, 0.08);
}

.product-promo-banner strong {
  color: #1f421a;
  font-size: 0.88rem;
  font-weight: 950;
}

.product-promo-banner span {
  color: #24521c;
  font-size: 1rem;
  font-weight: 900;
}

.micro-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.micro-info span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--cacao);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
}

.product-order-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-order-panel h2 {
  margin: 8px 0 0;
  font-size: 1.16rem;
}

.option-list {
  display: grid;
  gap: 10px;
}

.option-card {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px;
  color: var(--ink);
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-card.slim {
  min-height: 56px;
}

.option-card input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.option-card span,
.option-card small {
  display: block;
}

.option-promo {
  display: block;
  margin-top: 6px;
  color: #24521c;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.option-card b {
  color: var(--pistachio);
}

.option-card del {
  margin-inline-end: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.quantity-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: #f8efe5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-line label {
  width: 130px;
}

.quantity-line strong {
  color: var(--cacao);
  font-size: 1.55rem;
}

.product-small-print {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.65;
}

.product-small-print p {
  margin: 0 0 6px;
}

.checkout-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0 80px;
}

.checkout-cart,
.checkout-form {
  padding: 22px;
}

.checkout-cart {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.checkout-items {
  display: grid;
  gap: 12px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-item img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 8px;
}

.checkout-item h3,
.checkout-item p {
  margin: 0;
}

.checkout-item h3 {
  font-size: 1rem;
}

.checkout-item p,
.checkout-item small {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-item button {
  grid-column: 2 / -1;
  justify-self: start;
  padding: 0;
  color: var(--berry);
  background: transparent;
  border: 0;
  font-weight: 900;
}

.checkout-fee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--cacao);
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-weight: 900;
}

.checkout-discount {
  color: #24521c;
  background: rgba(113, 141, 90, 0.12);
  border-color: rgba(113, 141, 90, 0.3);
}

.checkout-warning {
  color: #7c1f2e;
  background: rgba(173, 64, 81, 0.08);
  border-color: rgba(173, 64, 81, 0.24);
}

.promo-note {
  color: #24521c !important;
  font-weight: 900;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: #f8efe5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-total strong {
  color: var(--cacao);
  font-size: 1.45rem;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

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

.full-field {
  grid-column: 1 / -1;
}

.terms-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.terms-check input {
  width: 18px;
  min-height: 18px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--berry);
  font-weight: 900;
  line-height: 1.5;
}

.form-status.ok {
  color: #24521c;
}

.content-page {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
  padding: 10px 0 80px;
}

.content-page article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-page {
  width: min(980px, calc(100% - 36px));
}

.legal-copy {
  display: grid;
  gap: 30px;
  color: var(--ink);
  line-height: 1.9;
}

.legal-copy section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-copy section:last-child {
  border-bottom: 0;
}

.legal-copy h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.legal-copy p {
  margin: 0 0 12px;
}

.contact-layout {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0 82px;
}

.contact-form,
.contact-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(54, 34, 22, 0.07);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.contact-side {
  display: grid;
  gap: 14px;
  padding: 22px;
  position: sticky;
  top: 92px;
}

.contact-side h2,
.contact-side h3,
.contact-form h2 {
  margin: 0;
}

.contact-list,
.social-box {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.social-link {
  gap: 9px;
}

.social-icon {
  display: grid;
  place-items: center;
  color: var(--berry);
}

.content-page h2 {
  margin: 0 0 8px;
  font-size: 1.42rem;
}

.thank-you {
  min-height: 56svh;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.55fr));
  gap: 28px;
  padding: 38px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.84);
  background: #1d1411;
}

.site-footer .footer-brand {
  display: grid;
  align-items: start;
}

.footer-wordmark {
  display: grid;
  gap: 4px;
}

.footer-wordmark span {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
}

.footer-wordmark strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.site-footer a:hover {
  color: #fff;
}

.footer-trust {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.footer-trust span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.site-footer small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.studio-body {
  background:
    linear-gradient(135deg, rgba(75, 37, 28, 0.08), rgba(61, 127, 134, 0.08)),
    #f8f1e9;
}

.studio-shell {
  width: min(1480px, calc(100% - 28px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 14px 0 48px;
}

.studio-login {
  min-height: calc(100svh - 48px);
  display: grid;
  place-items: center;
}

.studio-authenticated .studio-login {
  display: none !important;
}

.studio-card {
  padding: 12px;
}

.login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 16px;
}

.login-card img {
  width: 136px;
}

.login-card h1,
.studio-header h1 {
  margin: 0;
}

.studio-app {
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
}

.studio-app input,
.studio-app textarea,
.studio-app select {
  min-height: 36px;
  padding: 7px 9px;
  font-size: 0.88rem;
}

.studio-app textarea {
  min-height: 76px;
}

.studio-app .form-grid {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 9px;
}

.studio-app .primary-button,
.studio-app .secondary-button,
.studio-app .mini-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.studio-app .mini-button {
  min-height: 30px;
  padding: 0 10px;
}

.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.studio-header h1 {
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  line-height: 1.12;
}

.studio-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(54, 34, 22, 0.06);
}

.studio-tabs button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.studio-tabs button.active {
  color: #fff;
  background: var(--cacao);
}

.studio-panel {
  display: none;
}

.studio-panel.active {
  display: block;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.metric-card {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(54, 34, 22, 0.06);
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.metric-card strong {
  margin-top: 4px;
  color: var(--cacao);
  font-size: 1.18rem;
}

.studio-list {
  display: grid;
  gap: 12px;
}

.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.orders-toolbar h2,
.orders-toolbar p {
  margin: 0;
}

.orders-toolbar p,
.empty-state p {
  color: var(--muted);
}

.studio-two {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.studio-list-head,
.order-head,
.order-controls,
.order-footer,
.product-list-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-list-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.product-list-button {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: right;
}

.product-list-button.active {
  border-color: var(--cacao);
  box-shadow: 0 0 0 3px rgba(75, 37, 28, 0.08);
}

.product-list-button small,
.order-card small,
.order-card p {
  color: var(--muted);
}

.editor-form {
  display: grid;
  gap: 12px;
}

.editor-form > button[type="submit"] {
  position: sticky;
  bottom: 10px;
  z-index: 20;
  box-shadow: 0 14px 34px rgba(75, 37, 28, 0.18);
}

.editor-block {
  display: grid;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.editor-block h3 {
  margin: 0;
}

.inline-tools {
  align-items: stretch;
}

.inline-tools select {
  flex: 1;
  min-width: 180px;
}

.order-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(54, 34, 22, 0.06);
}

.order-head h2 {
  margin: 0;
  font-size: 1.12rem;
}

.order-items {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.order-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  color: #24521c;
  background: rgba(113, 141, 90, 0.18);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.status-cancelled {
  color: #7c1f2e;
  background: rgba(173, 64, 81, 0.16);
}

.order-controls label {
  min-width: 180px;
}

.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.order-detail {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-detail span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.order-detail strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.88rem;
}

.order-contact-actions,
.order-total-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.order-total-lines span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editable-list {
  display: grid;
  gap: 8px;
}

.editable-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editable-row > *,
.compact-field {
  min-width: 0;
}

.promotion-row {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.coupon-row {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.category-row {
  grid-template-columns: minmax(130px, 1fr) minmax(110px, 0.8fr) minmax(110px, 0.8fr) minmax(220px, 1.4fr) minmax(70px, 0.45fr) minmax(70px, 0.45fr) minmax(70px, 0.45fr) auto;
}

.delivery-row {
  grid-template-columns: minmax(140px, 0.9fr) minmax(220px, 1.4fr) minmax(82px, 0.45fr) minmax(180px, 1fr) minmax(70px, 0.45fr) auto;
}

.compact-field {
  gap: 4px;
  font-size: 0.78rem;
}

.compact-field input,
.compact-field select,
.compact-field textarea {
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  font-size: 0.88rem;
}

.compact-field input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

.compact-field input:disabled,
.compact-field select:disabled {
  cursor: not-allowed;
  color: rgba(113, 102, 95, 0.68);
  background: #f1e8dd;
  border-color: #e6d8c9;
}

.row-actions {
  display: flex;
  align-items: end;
  gap: 6px;
  flex-wrap: wrap;
}

.danger-button {
  color: #7c1f2e;
  background: rgba(173, 64, 81, 0.08);
  border-color: rgba(173, 64, 81, 0.18);
}

.empty-list-note {
  margin: 0;
  padding: 10px 12px;
  background: #fffaf5;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.gallery-preview {
  display: grid;
  gap: 8px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 84px minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-row img,
.gallery-placeholder {
  width: 84px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--cream);
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.json-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.purpose-field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.purpose-field legend {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 900;
}

.purpose-field label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.purpose-field input {
  width: 18px;
  min-height: 18px;
}

.studio-section-label {
  margin-top: 20px;
  color: var(--cacao);
  font-size: 1.1rem;
  font-weight: 900;
}

.category-tile,
.product-card,
.steps-list span,
.trust-strip,
.contact-form,
.contact-side {
  animation: rise-in 520ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(190px, 1fr) auto;
    gap: 12px;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: thin;
  }

  .main-nav a {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(233, 220, 204, 0.8);
    border-radius: 999px;
  }

  .nav-categories summary {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(233, 220, 204, 0.8);
    border-radius: 999px;
  }

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

  .category-grid {
    grid-template-columns: repeat(3, minmax(190px, 230px));
  }

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

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 8px 14px;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    gap: 7px;
    font-size: 0.84rem;
  }

  .main-nav a {
    padding: 5px 9px;
  }

  .hide-mobile {
    display: none;
  }

  .hero-shell,
  .product-page,
  .checkout-layout,
  .catalog-layout,
  .contact-layout,
  .split-section,
  .studio-two,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .hero-visual {
    height: 220px;
    min-height: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .products-grid,
  .category-grid,
  .micro-info,
  .form-grid,
  .studio-app .form-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .promotion-row,
  .coupon-row,
  .category-row,
  .delivery-row {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .nav-categories div {
    position: fixed;
    inset-inline: 14px;
    inset-block-start: 112px;
    max-height: min(58vh, 420px);
    overflow-y: auto;
  }

  .filters-panel,
  .product-details,
  .checkout-cart,
  .contact-side {
    position: static;
  }

  .filters-panel {
    order: -1;
    padding: 14px;
  }

  .section-title,
  .studio-header,
  .order-head,
  .order-controls,
  .order-footer {
    align-items: stretch;
  }

  .studio-header,
  .order-head,
  .order-controls,
  .order-footer {
    flex-direction: column;
  }

  .section-title {
    grid-template-columns: 1fr;
  }

  .section-title a {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

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

  .site-footer small {
    grid-column: auto;
  }

  .gallery-row {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .gallery-row .row-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero-copy h1,
  .page-hero h1,
  .product-details h1 {
    font-size: 2rem;
  }

  .hero-visual {
    height: 180px;
    min-height: 0;
  }

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

  .products-grid {
    gap: 14px;
  }

  .product-card-bottom,
  .quantity-line,
  .checkout-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .checkout-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.68;
  }

  .checkout-item button {
    grid-column: auto;
  }

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