:root {
  --bg: #f6f1e7;
  --bg-soft: #fffaf0;
  --text: #122118;
  --muted: #617060;
  --line: rgba(18, 33, 24, 0.1);
  --card: rgba(255, 251, 244, 0.88);
  --card-strong: rgba(255, 255, 255, 0.96);
  --forest: #173b2e;
  --pine: #1f5844;
  --coral: #f26b4b;
  --amber: #ffbe5c;
  --sky: #8ac6dd;
  --mint: #c8e7c1;
  --shadow: 0 22px 70px rgba(18, 33, 24, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 107, 75, 0.15), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(138, 198, 221, 0.3), transparent 28%),
    linear-gradient(180deg, #fbf6eb 0%, #f0ebdf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.25;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

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

button {
  cursor: pointer;
  border: 0;
}

.page-shell {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 100px;
}

.section {
  padding: 22px 0;
}

.reveal {
  animation: rise 0.75s ease both;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0 6px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 59, 46, 0.12);
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(18, 33, 24, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(23, 59, 46, 0.16);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.brand-copy small {
  line-height: 1;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  font-size: 0.82rem;
  color: var(--muted);
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.topnav a,
.footer a {
  color: inherit;
  text-decoration: none;
}

.topnav a {
  font-size: 0.94rem;
  color: var(--muted);
}

.topbar-cart,
.secondary-btn,
.ghost-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.topbar-cart:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.primary-btn:hover,
.bundle-action:hover,
.add-btn:hover,
.qty-btn:hover,
.mini-add:hover,
.mobile-cart-bar:hover {
  transform: translateY(-1px);
}

.topbar-cart {
  padding: 10px 14px;
  background: white;
  box-shadow: 0 10px 24px rgba(18, 33, 24, 0.08);
}

.topbar-cart span {
  min-width: 30px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: 0.84rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 20px;
  padding-top: 20px;
}

.hero-copy,
.hero-side,
.benefit-strip article,
.bundle-card,
.product-card,
.cart-panel,
.footer {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-side,
.cart-panel,
.footer {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 30px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 190, 92, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 241, 231, 0.92));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-text,
.insight-card p,
.bundle-card p,
.results-note,
.footer p,
.empty-state p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr) auto;
  gap: 12px;
  margin: 24px 0 18px;
}

.field,
.sort-field {
  display: grid;
  gap: 10px;
}

.field span,
.sort-field span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.field input,
.field textarea,
.field select,
.sort-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(18, 33, 24, 0.12);
  border-radius: 16px;
  background: white;
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 96px;
  padding: 12px 15px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.sort-field select:focus {
  border-color: rgba(31, 88, 68, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 88, 68, 0.12);
}

.secondary-btn,
.ghost-btn {
  min-height: 50px;
  padding: 0 16px;
  font-weight: 800;
}

.secondary-btn {
  background: var(--forest);
  color: white;
}

.secondary-btn.active {
  background: var(--coral);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.84);
  color: var(--forest);
  border: 1px solid rgba(23, 59, 46, 0.12);
}

.primary-btn {
  min-height: 52px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--coral), #ff8e55);
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(242, 107, 75, 0.28);
}

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

.hero-stats article,
.metric-grid div,
.progress-card,
.totals-card,
.suggestion-block,
.insight-card,
.benefit-strip article,
.bundle-card,
.product-card,
.empty-state {
  border-radius: var(--radius-lg);
}

.hero-stats article {
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-family: "Space Grotesk", sans-serif;
}

.hero-stats span,
.metric-grid span,
.totals-card span,
.progress-copy span,
.spotlight-item small,
.bundle-meta span,
.product-meta span,
.cart-item-meta span,
.suggestion-head span {
  color: var(--muted);
}

.hero-side {
  display: grid;
  gap: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(138, 198, 221, 0.3), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 231, 0.96));
}

.insight-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 33, 24, 0.08);
}

.insight-card.compact {
  display: grid;
  gap: 16px;
}

.card-topline,
.cart-header,
.results-row,
.suggestion-head,
.bundle-meta,
.product-head,
.product-bottom,
.product-meta,
.cart-item-head,
.cart-item-meta,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-topline {
  margin-bottom: 16px;
}

.status-pill,
.chip,
.bundle-badge,
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.status-pill {
  background: rgba(23, 59, 46, 0.08);
  color: var(--forest);
}

.status-pill.muted {
  background: rgba(97, 112, 96, 0.12);
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.metric-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

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

.spotlight-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 18px;
}

.spotlight-rank {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--forest), var(--pine));
  color: white;
  font-weight: 800;
}

.spotlight-item strong {
  font-size: 0.98rem;
}

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

.benefit-strip article {
  padding: 20px;
}

.benefit-strip strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.section-heading,
.catalog-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

.bundle-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 242, 228, 0.94)),
    var(--card);
}

.bundle-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.bundle-top strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.bundle-price {
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(23, 59, 46, 0.08);
  text-align: right;
}

.bundle-price strong {
  margin: 0;
  font-size: 1.2rem;
}

.bundle-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bundle-badge {
  background: rgba(242, 107, 75, 0.1);
  color: #b04934;
}

.bundle-action {
  min-height: 48px;
  border-radius: 18px;
  background: white;
  color: var(--forest);
  border: 1px solid rgba(23, 59, 46, 0.12);
  font-weight: 800;
}

.catalog-actions {
  display: inline-flex;
  align-items: end;
  gap: 10px;
}

.category-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding: 2px 0 6px;
  scroll-padding-inline: 2px;
}

.category-strip::-webkit-scrollbar {
  height: 7px;
}

.category-strip::-webkit-scrollbar-thumb {
  background: rgba(18, 33, 24, 0.16);
  border-radius: 999px;
}

.chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  gap: 7px;
  border: 1px solid rgba(23, 59, 46, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(18, 33, 24, 0.05);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 59, 46, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(23, 59, 46, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.chip.active {
  border-color: rgba(23, 59, 46, 0.04);
  background: linear-gradient(135deg, var(--forest), #234938);
  color: white;
  box-shadow: 0 14px 28px rgba(23, 59, 46, 0.18);
}

.chip.active span {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 380px;
  gap: 22px;
  align-items: start;
}

.product-column {
  display: grid;
  gap: 18px;
}

.results-row {
  padding: 6px 2px;
}

.results-row strong {
  font-size: 1rem;
}

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

.product-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 247, 239, 0.96));
}

.product-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 136px;
  padding: 14px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 34%),
    linear-gradient(140deg, var(--tone-a), var(--tone-b));
}

.product-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 33, 24, 0.08), rgba(18, 33, 24, 0.3));
}

.product-art::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(26deg);
}

.product-initials {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.product-badge {
  background: rgba(255, 255, 255, 0.24);
  color: white;
  position: relative;
  z-index: 1;
  align-self: flex-end;
  margin-left: auto;
}

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

.product-head strong {
  display: block;
  font-size: 0.98rem;
}

.product-head button {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(23, 59, 46, 0.08);
  color: var(--forest);
  font-size: 1rem;
}

.product-head button.active {
  background: rgba(242, 107, 75, 0.12);
  color: #b04934;
}

.product-category {
  color: var(--pine);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-meta {
  font-size: 0.86rem;
}

.product-meta strong,
.cart-item-price strong,
.suggestion-card strong {
  font-size: 1rem;
}

.price-stack {
  display: grid;
  gap: 4px;
}

.price-stack del,
.cart-item-price del {
  font-size: 0.86rem;
  color: rgba(97, 112, 96, 0.9);
}

.cart-item-price {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.product-note {
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(23, 59, 46, 0.06);
  color: var(--forest);
  font-size: 0.84rem;
}

.add-btn,
.mini-add,
.qty-btn {
  border-radius: 14px;
  font-weight: 800;
}

.add-btn {
  min-height: 46px;
  padding: 0 16px;
  background: var(--forest);
  color: white;
}

.cart-panel {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 241, 231, 0.98));
}

.progress-card,
.totals-card,
.suggestion-block {
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.progress-card {
  display: grid;
  gap: 14px;
}

.progress-copy {
  display: grid;
  gap: 6px;
}

.progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(23, 59, 46, 0.08);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--coral));
  transform-origin: left center;
}

.cart-items,
.upsell-list,
.bundle-badges {
  display: grid;
  gap: 12px;
}

.cart-item,
.suggestion-card {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

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

.cart-item-head strong,
.suggestion-card strong {
  display: block;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  background: rgba(23, 59, 46, 0.08);
  color: var(--forest);
}

.cart-item-qty span {
  min-width: 18px;
  text-align: center;
  font-weight: 800;
}

.bundle-badges {
  min-height: 20px;
}

.totals-card {
  display: grid;
  gap: 14px;
}

.totals-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.discount-row strong {
  color: #b04934;
}

.grand-total {
  padding-top: 14px;
  border-top: 1px solid rgba(23, 59, 46, 0.08);
}

.grand-total strong {
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.checkout-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-form-head span,
.checkout-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.compact-field {
  gap: 8px;
}

.compact-field input,
.compact-field textarea {
  min-height: 48px;
}

.compact-field textarea {
  min-height: 92px;
}

.checkout-btn {
  width: 100%;
}

.checkout-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.checkout-note {
  margin: -4px 2px 0;
}

.suggestion-block {
  display: grid;
  gap: 16px;
}

.suggestion-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.mini-add {
  min-width: 42px;
  height: 42px;
  background: var(--forest);
  color: white;
}

.empty-state {
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(23, 59, 46, 0.18);
}

.hidden {
  display: none !important;
}

.footer {
  margin-top: 28px;
  padding: 24px 28px;
}

.mobile-cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 11;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  box-shadow: 0 24px 50px rgba(23, 59, 46, 0.35);
}

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

@media (max-width: 1190px) {
  .hero,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

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

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

  .cart-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 980px);
  }

  .topbar {
    gap: 12px;
    padding: 12px 14px;
    border-radius: 26px;
  }

  .topnav {
    display: none;
  }

  .hero-copy,
  .hero-side,
  .cart-panel,
  .footer {
    border-radius: 26px;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  h1 {
    max-width: none;
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .hero-search,
  .hero-stats,
  .metric-grid,
  .benefit-strip,
  .section-heading,
  .catalog-header {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .catalog-header {
    align-items: start;
  }

  .catalog-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

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

  .mobile-cart-bar {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(242, 107, 75, 0.12), transparent 34%),
      linear-gradient(180deg, #fbf6eb 0%, #efe8da 100%);
  }

  .page-shell {
    width: min(100% - 16px, 980px);
    padding-bottom: 120px;
  }

  .topbar {
    top: 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .hero-copy,
  .hero-side,
  .insight-card,
  .bundle-card,
  .product-card,
  .cart-panel,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .results-row,
  .card-topline,
  .cart-header,
  .checkout-form-head,
  .product-head,
  .product-bottom,
  .footer {
    flex-direction: column;
    align-items: start;
  }

  .results-row {
    gap: 8px;
  }

  .product-art {
    min-height: 124px;
  }

  .bundle-top,
  .suggestion-card {
    grid-template-columns: 1fr;
    display: grid;
  }
}

/* Catalog refresh */

.hero,
.benefit-strip,
.bundles {
  display: none !important;
}

.page-shell {
  width: min(1640px, calc(100% - 28px));
}

.topbar {
  top: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.92);
}

.topnav {
  gap: 18px;
}

.topnav a {
  font-size: 0.9rem;
  font-weight: 700;
}

.catalog.section {
  padding-top: 18px;
}

.catalog-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.catalog-copy-block {
  display: grid;
  gap: 8px;
}

.catalog-copy {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.catalog-actions {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(170px, 0.75fr)) auto;
  gap: 12px;
  align-items: end;
}

.inline-field {
  min-width: 0;
}

.inline-field input,
.inline-field select {
  min-height: 48px;
}

.category-strip {
  display: none;
}

.catalog-layout {
  grid-template-columns: 236px minmax(0, 1fr) 360px;
  gap: 18px;
}

.category-sidebar {
  position: sticky;
  top: 84px;
  padding: 12px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 14px 28px rgba(18, 33, 24, 0.07);
}

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

.category-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  text-align: left;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.category-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
}

.category-link.active {
  background: #f2ebde;
  box-shadow: inset 0 0 0 1px rgba(23, 59, 46, 0.08);
}

.category-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: 0 0 auto;
  object-fit: cover;
  background: white;
  box-shadow: 0 8px 18px rgba(18, 33, 24, 0.08);
}

.category-icon-text {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--coral), #ffa369);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.category-label-group {
  display: grid;
  gap: 2px;
}

.category-label-group strong {
  font-size: 0.9rem;
}

.category-label-group small {
  color: var(--muted);
  font-size: 0.76rem;
}

.product-column {
  gap: 14px;
}

.results-row {
  padding: 8px 2px 10px;
}

.results-row strong {
  font-size: 1rem;
}

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

.product-card {
  position: relative;
  gap: 12px;
  padding: 16px 14px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(18, 33, 24, 0.08);
}

.product-art {
  min-height: 164px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f5efe5);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.product-art::before,
.product-art::after,
.product-initials,
.product-badge {
  display: none;
}

.product-image {
  position: static;
  width: 100%;
  height: 132px;
  object-fit: contain;
}

.product-add {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: white;
  color: var(--coral);
  border: 1px solid rgba(242, 107, 75, 0.2);
  box-shadow: 0 10px 24px rgba(242, 107, 75, 0.12);
  font-size: 1.35rem;
  line-height: 1;
}

.product-copy {
  gap: 4px;
}

.product-old-price {
  color: rgba(97, 112, 96, 0.9);
  font-size: 0.82rem;
}

.product-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  line-height: 1.1;
  color: var(--forest);
}

.product-name {
  font-size: 0.98rem;
  line-height: 1.32;
}

.product-brand,
.product-size {
  color: var(--muted);
  font-size: 0.84rem;
}

.product-qty-chip {
  width: fit-content;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23, 59, 46, 0.08);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}

.cart-panel {
  top: 84px;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.96);
}

.cart-header {
  align-items: start;
}

.progress-card,
.totals-card,
.checkout-form,
.suggestion-block {
  background: white;
}

.cart-empty {
  display: grid;
  gap: 10px;
  padding: 22px 16px;
  border: 1px dashed rgba(23, 59, 46, 0.14);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
}

.cart-empty-figure {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, rgba(242, 107, 75, 0.24), transparent 36%),
    linear-gradient(135deg, #f7efe0, #fff7ec);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.cart-empty span {
  color: var(--muted);
  line-height: 1.6;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
}

.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: contain;
  background: #f7f1e7;
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.cart-item-body {
  display: grid;
  gap: 10px;
}

.cart-item-head {
  align-items: start;
}

.cart-item-head strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.cart-item-head span,
.cart-item-meta span {
  font-size: 0.8rem;
}

.cart-item-meta {
  align-items: center;
}

.cart-item-qty {
  gap: 8px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.checkout-form-head {
  align-items: start;
}

.checkout-form-head span {
  max-width: 18ch;
  text-align: right;
}

.suggestion-card {
  border-radius: 18px;
}

.footer {
  margin-top: 22px;
}

@media (max-width: 1450px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .catalog-header {
    grid-template-columns: 1fr;
  }

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

  .catalog-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .category-sidebar {
    display: none;
  }

  .category-strip {
    display: flex;
  }
}

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

  .cart-panel {
    position: static;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 980px);
  }

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

  .results-row {
    flex-direction: column;
    align-items: start;
  }
}

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

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

  .cart-thumb {
    width: 64px;
    height: 64px;
  }

  .checkout-form-head span {
    max-width: none;
    text-align: left;
  }
}

.catalog-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.subcategory-strip {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  overflow-x: auto;
  padding: 2px 0 6px;
}

.subcategory-strip::-webkit-scrollbar {
  height: 7px;
}

.subcategory-strip::-webkit-scrollbar-thumb {
  background: rgba(18, 33, 24, 0.14);
  border-radius: 999px;
}

.subchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(23, 59, 46, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 8px 18px rgba(18, 33, 24, 0.04);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.subchip:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 59, 46, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.subchip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(23, 59, 46, 0.07);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.subchip.active {
  border-color: rgba(23, 59, 46, 0.06);
  background: linear-gradient(135deg, rgba(23, 59, 46, 0.1), rgba(242, 107, 75, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(23, 59, 46, 0.05),
    0 10px 20px rgba(18, 33, 24, 0.05);
}

.subchip.active span {
  background: rgba(23, 59, 46, 0.12);
  color: var(--forest);
}

.product-card {
  overflow: hidden;
}

.product-card-link {
  display: grid;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.product-card-link:hover .product-name {
  color: var(--coral);
}

.product-art {
  position: relative;
}

.product-badge-mark {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.product-subcategory {
  color: var(--pine);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.product-add-btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--forest);
  color: white;
  font-weight: 800;
}

.product-qty-chip.muted {
  background: rgba(97, 112, 96, 0.1);
  color: var(--muted);
}

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

.load-more-btn {
  min-width: 260px;
}

a.topbar-cart {
  text-decoration: none;
  color: inherit;
}

.compact-heading {
  margin-bottom: 16px;
}

.detail-page .page-shell {
  width: min(1420px, calc(100% - 28px));
}

.detail-shell {
  display: grid;
  gap: 22px;
  padding: 20px 0 40px;
}

.detail-stage,
.detail-sections,
.detail-related {
  display: grid;
  gap: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.detail-gallery-card,
.detail-info-card,
.detail-section-card,
.related-card {
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 36px rgba(18, 33, 24, 0.08);
}

.detail-gallery-card,
.detail-info-card {
  display: grid;
  padding: 18px;
}

.detail-main-image-wrap {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7f0e3);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.detail-main-image {
  width: 100%;
  max-width: 460px;
  max-height: 420px;
  object-fit: contain;
}

.detail-thumb-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 14px;
}

.detail-thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.detail-thumb.active {
  border-color: rgba(242, 107, 75, 0.35);
  box-shadow: 0 10px 22px rgba(242, 107, 75, 0.12);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info-card {
  gap: 14px;
  align-content: start;
}

.detail-info-card h1 {
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.detail-brand-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.detail-price-row {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 10px 0 2px;
}

.detail-price-row strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1;
}

.detail-price-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-chip,
.detail-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 59, 46, 0.08);
  color: var(--forest);
  font-weight: 800;
  font-size: 0.82rem;
}

.detail-chip.muted {
  background: rgba(97, 112, 96, 0.12);
  color: var(--muted);
}

.detail-badge-icon {
  padding: 0 8px;
  background: white;
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.detail-badge-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

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

.detail-meta-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(247, 241, 231, 0.74);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.detail-meta-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-meta-card strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.detail-actions {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.detail-add-btn,
.detail-back-btn {
  min-width: 180px;
}

.detail-back-btn {
  text-decoration: none;
}

.detail-section-stack {
  display: grid;
  gap: 14px;
}

.detail-section-card {
  padding: 20px;
}

.detail-section-card h3 {
  margin-bottom: 12px;
}

.detail-richtext {
  color: var(--text);
  line-height: 1.75;
  font-size: 0.94rem;
}

.detail-richtext b,
.detail-richtext strong {
  color: var(--forest);
}

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

.related-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.related-art {
  display: grid;
  place-items: center;
  min-height: 148px;
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f5efe5);
  border: 1px solid rgba(23, 59, 46, 0.08);
}

.related-art img {
  width: 100%;
  height: 124px;
  object-fit: contain;
}

.related-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.related-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

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

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

@media (max-width: 720px) {
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .subcategory-strip {
    margin-bottom: 14px;
  }

  .product-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-gallery-card,
  .detail-info-card,
  .detail-section-card,
  .related-card {
    border-radius: 22px;
  }

  .detail-main-image-wrap {
    min-height: 320px;
  }

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

/* Professional polish */

#catalog,
#cart-panel {
  scroll-margin-top: 110px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(242, 107, 75, 0.1), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(23, 59, 46, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f3ec 0%, #efe7da 100%);
}

body::before {
  opacity: 0.14;
}

.page-shell {
  width: min(1680px, calc(100% - 32px));
}

.topbar {
  top: 12px;
  margin: 12px 0 14px;
  padding: 12px 16px;
  border-radius: 26px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(18, 33, 24, 0.08);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
}

.topnav {
  padding: 6px;
  border-radius: 999px;
  background: rgba(23, 59, 46, 0.05);
}

.topnav a {
  padding: 10px 16px;
  border-radius: 999px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest);
}

.topbar-cart {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  font-weight: 800;
}

.catalog.section {
  padding-top: 10px;
}

.catalog-header {
  gap: 20px;
  margin-bottom: 18px;
}

.catalog-copy-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.04;
}

.catalog-copy {
  max-width: 62ch;
  font-size: 0.94rem;
}

.catalog-updated {
  font-weight: 700;
}

.catalog-actions {
  padding: 14px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(18, 33, 24, 0.05);
}

.category-sidebar {
  top: 92px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.96);
}

.category-link {
  padding: 10px 12px;
  border-radius: 18px;
}

.category-link.active {
  background: linear-gradient(135deg, rgba(23, 59, 46, 0.1), rgba(242, 107, 75, 0.12));
}

.results-row {
  padding: 2px 4px 12px;
}

.results-note {
  font-size: 0.9rem;
}

.product-grid {
  gap: 16px;
}

.product-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 14px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 107, 75, 0.18);
  box-shadow: 0 20px 40px rgba(18, 33, 24, 0.1);
}

.product-card-link {
  gap: 14px;
}

.product-art {
  min-height: 182px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(242, 107, 75, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f5efe6);
}

.product-image {
  height: 142px;
}

.product-copy {
  gap: 6px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-subcategory {
  min-width: 0;
}

.product-price {
  font-size: 1.22rem;
}

.product-name {
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.15em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-brand {
  color: rgba(18, 33, 24, 0.76);
  font-weight: 700;
}

.product-size {
  font-size: 0.82rem;
}

.product-card-actions {
  margin-top: 6px;
  gap: 12px;
}

.product-detail-btn,
.product-add-btn {
  min-height: 44px;
  flex: 1 1 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
}

.product-detail-btn {
  border: 1px solid rgba(23, 59, 46, 0.08);
  background: rgba(23, 59, 46, 0.06);
  color: var(--forest);
}

.product-add-btn {
  background: linear-gradient(135deg, var(--forest), var(--pine));
  color: white;
  box-shadow: none;
}

.product-qty-chip {
  margin-top: 0;
  white-space: nowrap;
}

.cart-panel {
  top: 92px;
  padding: 20px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 30px;
  box-shadow: 0 18px 36px rgba(18, 33, 24, 0.08);
}

.progress-card,
.totals-card,
.checkout-form,
.suggestion-block {
  border-radius: 22px;
}

.cart-empty {
  padding: 26px 18px;
}

.checkout-btn {
  min-height: 56px;
}

.checkout-note {
  font-size: 0.82rem;
}

.footer {
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.92);
}

.mobile-cart-bar {
  background: linear-gradient(135deg, var(--forest), var(--pine));
}

.detail-grid {
  align-items: start;
}

.detail-gallery-card,
.detail-info-card,
.detail-section-card,
.related-card {
  border-radius: 30px;
}

.detail-info-card {
  position: sticky;
  top: 92px;
  gap: 16px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(242, 107, 75, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.96);
}

.detail-main-image-wrap {
  min-height: 520px;
  background:
    radial-gradient(circle at top left, rgba(242, 107, 75, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f5efe3);
}

.detail-main-image {
  max-width: 500px;
  max-height: 460px;
}

.detail-section-card {
  padding: 22px;
}

.related-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 107, 75, 0.16);
  box-shadow: 0 18px 36px rgba(18, 33, 24, 0.1);
}

@media (max-width: 1180px) {
  .category-strip {
    position: sticky;
    top: 88px;
    z-index: 6;
    margin-bottom: 10px;
    padding: 4px 0 8px;
    background: linear-gradient(180deg, rgba(247, 243, 236, 0.96), rgba(247, 243, 236, 0.78));
    backdrop-filter: blur(10px);
  }

  .subcategory-strip {
    position: sticky;
    top: 142px;
    z-index: 5;
    margin-bottom: 12px;
    background: linear-gradient(180deg, rgba(247, 243, 236, 0.96), rgba(247, 243, 236, 0.72));
    backdrop-filter: blur(10px);
  }

  .detail-info-card {
    position: static;
  }
}

@media (max-width: 980px) {
  .catalog-layout {
    gap: 16px;
  }

  .cart-panel {
    order: 3;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 980px);
  }

  .topbar {
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .topbar-cart {
    min-height: 48px;
    padding: 0 14px;
  }

  .catalog-copy-block h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .catalog-actions {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .category-strip {
    top: 78px;
  }

  .subcategory-strip {
    top: 128px;
  }

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

  .product-card {
    padding: 12px;
    border-radius: 20px;
  }

  .product-art {
    min-height: 148px;
    padding: 14px;
  }

  .product-image {
    height: 116px;
  }

  .product-name {
    min-height: auto;
    font-size: 0.95rem;
  }

  .product-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-detail-btn,
  .product-add-btn {
    width: 100%;
  }

  .cart-panel,
  .footer {
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 14px, 980px);
  }

  .topbar {
    top: 8px;
    margin-bottom: 12px;
  }

  .topnav {
    display: none;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .catalog-copy {
    font-size: 0.88rem;
  }

  .catalog-updated {
    font-size: 0.78rem;
  }

  .category-strip {
    top: 72px;
  }

  .subcategory-strip {
    top: 120px;
  }

  .chip,
  .subchip {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .chip span,
  .subchip span {
    min-width: 22px;
    min-height: 20px;
    padding: 0 6px;
    font-size: 0.66rem;
  }

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

  .detail-main-image-wrap {
    min-height: 340px;
  }

  .detail-info-card,
  .detail-gallery-card,
  .detail-section-card,
  .related-card {
    border-radius: 22px;
  }
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.product-price-stack,
.detail-price-stack {
  display: grid;
  gap: 4px;
}

.product-price-old,
.detail-original-price {
  color: rgba(97, 112, 96, 0.9);
  font-size: 0.8rem;
}

.inventory-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.inventory-pill-in,
.tone-in {
  background: rgba(23, 59, 46, 0.1);
  color: var(--forest);
}

.inventory-pill-low,
.tone-low {
  background: rgba(255, 190, 92, 0.24);
  color: #8b5a00;
}

.inventory-pill-out,
.tone-out {
  background: rgba(242, 107, 75, 0.14);
  color: #b3452b;
}

.inventory-pill-muted,
.tone-muted {
  background: rgba(97, 112, 96, 0.12);
  color: var(--muted);
}

.product-card-unavailable {
  opacity: 0.82;
}

.product-card-unavailable .product-art {
  filter: saturate(0.7);
}

.product-add-btn:disabled,
.mini-add:disabled,
.qty-btn:disabled,
.detail-add-btn:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.product-add-btn:disabled:hover,
.mini-add:disabled:hover,
.qty-btn:disabled:hover,
.detail-add-btn:disabled:hover {
  transform: none;
}

.cart-stock-note,
.related-stock,
.detail-stock-line {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-stock-note {
  margin-top: -2px;
}

.detail-price-stack strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1;
}

.detail-original-price {
  font-size: 0.88rem;
}

.detail-stock-line {
  margin: -4px 0 0;
}

body.admin-page {
  background:
    radial-gradient(circle at 0% 0%, rgba(242, 107, 75, 0.14), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(138, 198, 221, 0.18), transparent 26%),
    linear-gradient(180deg, #f7f3ec 0%, #efe6d9 100%);
}

.admin-shell {
  display: grid;
  gap: 18px;
  padding: 8px 0 40px;
}

.admin-hero,
.admin-toolbar,
.admin-stat,
.admin-product-card {
  border: 1px solid rgba(23, 59, 46, 0.08);
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 18px 36px rgba(18, 33, 24, 0.08);
}

.admin-hero,
.admin-toolbar,
.admin-product-card,
.admin-stat {
  border-radius: 28px;
}

.admin-hero {
  display: grid;
  gap: 20px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 235, 0.94));
}

.admin-hero-head,
.admin-product-head,
.admin-toolbar-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.02;
}

.admin-hero p,
.admin-toolbar-note,
.admin-product-meta,
.admin-product-hint {
  color: var(--muted);
}

.admin-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-hero-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(23, 59, 46, 0.06);
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 700;
}

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

.admin-stat {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.admin-stat strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.admin-toolbar {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(2, minmax(180px, 0.75fr));
  gap: 12px;
}

.admin-toolbar-note {
  margin: 0;
  font-size: 0.9rem;
}

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

.admin-product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.admin-product-media {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 12px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(242, 107, 75, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f5efe6);
}

.admin-product-media img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}

.admin-product-body {
  display: grid;
  gap: 14px;
}

.admin-product-title {
  display: grid;
  gap: 6px;
}

.admin-product-title strong {
  font-size: 1.02rem;
  line-height: 1.3;
}

.admin-product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.admin-product-hint {
  margin: 0;
  font-size: 0.84rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 18px;
  background: rgba(23, 59, 46, 0.04);
  font-weight: 700;
}

.admin-toggle input {
  width: 18px;
  height: 18px;
}

.admin-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-row-actions .ghost-btn,
.admin-row-actions .primary-btn {
  min-height: 50px;
}

.admin-reset-all {
  min-height: 52px;
}

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

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

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

  .admin-product-media {
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .footer-links,
  .admin-hero-actions,
  .admin-product-head,
  .admin-toolbar-head {
    flex-direction: column;
    align-items: start;
  }

  .admin-filter-grid,
  .admin-form-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }
}

/* Admin panel polish */

.admin-topbar {
  align-items: center;
}

.admin-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.admin-session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 59, 46, 0.1);
  background: rgba(97, 112, 96, 0.1);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-session-pill.live {
  border-color: rgba(23, 59, 46, 0.08);
  background: linear-gradient(135deg, var(--forest), #254d3b);
  color: white;
  box-shadow: 0 12px 24px rgba(23, 59, 46, 0.18);
}

.admin-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
  padding: 28px;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(242, 107, 75, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(247, 242, 234, 0.94));
  box-shadow: 0 22px 44px rgba(18, 33, 24, 0.08);
}

.admin-auth-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.admin-auth-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}

.admin-auth-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.admin-auth-form {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(23, 59, 46, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-login-submit {
  width: 100%;
}

.admin-auth-error,
.admin-auth-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
}

.admin-auth-error {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(242, 107, 75, 0.12);
  color: #a4422c;
  font-weight: 700;
}

.admin-auth-note {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(23, 59, 46, 0.05);
  color: var(--muted);
}

.admin-shell {
  gap: 20px;
  padding: 4px 0 40px;
}

.admin-hero,
.admin-toolbar,
.admin-stat,
.admin-product-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(249, 244, 236, 0.94));
}

.admin-hero {
  padding: 30px;
  border-radius: 30px;
}

.admin-hero h1 {
  max-width: 16ch;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.02;
}

.admin-hero p {
  max-width: 64ch;
  margin: 0;
}

.admin-hero-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(23, 59, 46, 0.07);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.admin-stat {
  position: relative;
  overflow: hidden;
  gap: 10px;
  padding: 18px;
}

.admin-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--forest), rgba(242, 107, 75, 0.8));
}

.admin-stat span,
.admin-stat small {
  margin-left: 8px;
}

.admin-stat strong {
  margin-left: 8px;
}

.admin-toolbar {
  padding: 22px;
  border-radius: 30px;
}

.admin-filter-grid {
  grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(190px, 0.8fr));
}

.admin-list {
  gap: 16px;
}

.admin-product-card {
  position: relative;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: 30px;
  overflow: hidden;
}

.admin-product-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--forest), rgba(242, 107, 75, 0.8));
}

.admin-product-card.is-deleted::before {
  background: linear-gradient(180deg, rgba(97, 112, 96, 0.7), rgba(242, 107, 75, 0.8));
}

.admin-product-card.is-deleted {
  background:
    linear-gradient(145deg, rgba(250, 247, 242, 0.98), rgba(243, 236, 228, 0.96));
}

.admin-product-media {
  min-height: 124px;
  border-radius: 24px;
  border: 1px solid rgba(23, 59, 46, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-product-card.is-deleted .admin-product-media {
  filter: saturate(0.7);
}

.admin-product-body {
  gap: 16px;
}

.admin-product-head {
  gap: 14px;
}

.admin-product-badges {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-product-title strong {
  font-size: 1.08rem;
}

.admin-product-title span {
  color: rgba(18, 33, 24, 0.74);
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-product-meta {
  gap: 8px;
}

.admin-product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 59, 46, 0.05);
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.admin-product-hint {
  font-size: 0.86rem;
  line-height: 1.65;
}

.admin-form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(230px, 0.92fr) auto;
  gap: 12px;
}

.admin-toggle {
  min-height: 52px;
  border-radius: 18px;
  background: rgba(23, 59, 46, 0.03);
}

.admin-row-actions {
  justify-content: flex-end;
  align-self: end;
}

.admin-row-actions .ghost-btn,
.admin-row-actions .primary-btn {
  min-height: 48px;
  padding: 0 16px;
}

.admin-danger-btn {
  border-color: rgba(242, 107, 75, 0.18);
  background: rgba(242, 107, 75, 0.08);
  color: #b3452b;
}

.admin-danger-btn:hover {
  background: rgba(242, 107, 75, 0.14);
  border-color: rgba(242, 107, 75, 0.24);
}

.admin-mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(242, 107, 75, 0.12);
  color: #b14b34;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-product-card.is-deleted .field input,
.admin-product-card.is-deleted .admin-toggle {
  opacity: 0.68;
}

@media (max-width: 1320px) {
  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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

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

  .admin-topbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

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

  .admin-product-media {
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .admin-auth-card,
  .admin-hero,
  .admin-toolbar,
  .admin-product-card {
    padding: 20px;
    border-radius: 24px;
  }

  .admin-hero h1,
  .admin-auth-copy h1 {
    max-width: none;
  }

  .admin-filter-grid,
  .admin-form-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }
}
