/*
Theme Name: Catalog WhatsApp V11
Theme URI: https://local.project/catalog-whatsapp-v11
Author: Codex
Description: Mobil öncelikli, WhatsApp odaklı ürün kataloğu vitrini.
Version: 0.11.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: catalog-whatsapp
*/

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --cw-bg: #ffffff;
  --cw-bg-strong: #ffffff;
  --cw-surface: rgba(255, 255, 255, 0.98);
  --cw-surface-strong: #ffffff;
  --cw-ink: #231a16;
  --cw-muted: #6e6258;
  --cw-line: rgba(170, 146, 120, 0.22);
  --cw-accent: #d0a443;
  --cw-accent-dark: #b4831f;
  --cw-gold: #f0cb79;
  --cw-ocean: #4da7c4;
  --cw-melon: #ef8b5a;
  --cw-berry: #a54f6b;
  --cw-success: #158a58;
  --cw-radius-sm: 18px;
  --cw-radius: 28px;
  --cw-radius-xl: 42px;
  --cw-shadow: 0 20px 60px rgba(54, 32, 18, 0.09);
  --cw-shadow-soft: 0 12px 32px rgba(54, 32, 18, 0.07);
  --cw-max: 1440px;
  --cw-font-heading: "Fraunces", Georgia, serif;
  --cw-font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--cw-ink);
  font-family: var(--cw-font-body);
  line-height: 1.6;
  padding-bottom: 82px;
}

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

button,
input {
  font: inherit;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cw-shell {
  width: min(calc(100% - 32px), var(--cw-max));
  margin: 0 auto;
}

.cw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cw-eyebrow--accent {
  color: var(--cw-accent);
}

.cw-muted,
.cw-breadcrumbs,
.cw-site-footer p {
  color: var(--cw-muted);
}

.cw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--cw-accent);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 12px 28px rgba(198, 91, 53, 0.22);
}

.cw-button:hover {
  transform: translateY(-1px);
  background: var(--cw-accent-dark);
}

.cw-button--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--cw-ink);
  border: 1px solid var(--cw-line);
  box-shadow: none;
}

.cw-button--ghost:hover {
  background: rgba(198, 91, 53, 0.08);
  color: var(--cw-accent-dark);
}

.cw-button--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.cw-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 249, 248, 0.88);
  border-bottom: 1px solid rgba(170, 146, 120, 0.16);
}

.cw-site-header__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

.cw-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.cw-brand__eyebrow {
  color: var(--cw-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cw-brand__title {
  font-family: var(--cw-font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
}

.cw-brand__tag {
  font-size: 0.79rem;
  color: var(--cw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-nav,
.cw-header-actions {
  display: none;
}

.cw-menu-toggle {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--cw-line);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  cursor: pointer;
}

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

.cw-mobile-nav {
  border-top: 1px solid rgba(170, 146, 120, 0.16);
  background: rgba(255, 251, 246, 0.95);
}

.cw-mobile-nav__inner {
  padding: 16px 0 18px;
}

.cw-mobile-nav__links {
  display: grid;
  gap: 10px;
}

.cw-mobile-nav__links a {
  padding: 12px 14px;
  border: 1px solid var(--cw-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.cw-mobile-nav__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.cw-home-hero {
  padding: 20px 0 18px;
}

.cw-home-hero__surface {
  padding: 20px;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 242, 0.96));
  border: 1px solid rgba(201, 170, 121, 0.22);
  box-shadow: var(--cw-shadow);
}

.cw-home-hero__top {
  display: grid;
  gap: 18px;
  align-items: center;
}

.cw-home-hero__intro h1 {
  margin: 0 0 10px;
  font-family: var(--cw-font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.98;
}

.cw-home-hero__intro p {
  margin: 0;
  max-width: 54ch;
  color: var(--cw-muted);
}

.cw-home-search {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(201, 170, 121, 0.22);
  border-radius: 999px;
}

.cw-home-search input {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: transparent;
  padding: 0 14px;
  font-size: 1rem;
}

.cw-home-search input:focus {
  outline: none;
}

.cw-home-pillbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

.cw-home-pillbar__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(201, 170, 121, 0.22);
  font-weight: 800;
  box-shadow: var(--cw-shadow-soft);
}

.cw-home-pillbar__item:hover {
  border-color: rgba(208, 164, 67, 0.5);
  transform: translateY(-1px);
}

.cw-hero-slider {
  padding: 18px 0 4px;
}

.cw-hero-slider__track {
  position: relative;
}

.cw-hero-slide {
  display: none;
  padding: 28px 22px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 245, 238, 0.98) 70%, rgba(247, 230, 210, 1) 100%);
  color: var(--cw-ink);
  box-shadow: 0 28px 70px rgba(34, 22, 17, 0.16);
}

.cw-hero-slide::before,
.cw-hero-slide::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(208, 164, 67, 0.1);
}

.cw-hero-slide::before {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -70px;
}

.cw-hero-slide::after {
  width: 180px;
  height: 180px;
  bottom: -60px;
  left: -60px;
}

.cw-hero-slide.is-active {
  display: grid;
  gap: 26px;
}

.cw-hero-slide--sunset {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,243,234,1) 70%, rgba(248,226,216,1) 100%);
}

.cw-hero-slide--berry {
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(255,240,245,1) 72%, rgba(247,225,233,1) 100%);
}

.cw-hero-slide--forest {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(239,250,250,1) 72%, rgba(224,242,236,1) 100%);
}

.cw-hero-slide__content h1,
.cw-hero-slide__content h2,
.cw-page-title,
.cw-main-category h3,
.cw-story-card h3,
.cw-product-card__title,
.cw-product-detail__title {
  font-family: var(--cw-font-heading);
}

.cw-hero-slide__content h1,
.cw-hero-slide__content h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 0.98;
}

.cw-hero-slide__content p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 1rem;
}

.cw-hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cw-hero-slide__visual {
  display: grid;
  gap: 16px;
}

.cw-hero-metric,
.cw-story-card,
.cw-main-category,
.cw-content-panel,
.cw-product-detail,
.cw-search-panel {
  background: var(--cw-surface);
  border: 1px solid var(--cw-line);
  box-shadow: var(--cw-shadow);
}

.cw-hero-metric {
  padding: 20px;
  border-radius: 28px;
  color: var(--cw-ink);
}

.cw-hero-metric__label {
  color: var(--cw-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cw-hero-metric strong {
  display: block;
  margin: 6px 0;
  font-size: 1.5rem;
}

.cw-hero-metric p {
  margin: 0;
  color: var(--cw-muted);
}

.cw-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cw-hero-tags span,
.cw-filter-pill,
.cw-detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 170, 121, 0.22);
  color: var(--cw-ink);
  font-weight: 700;
}

.cw-hero-slider__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 16px;
}

.cw-hero-slider__nav button {
  width: 11px;
  height: 11px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(95, 73, 53, 0.24);
  cursor: pointer;
}

.cw-hero-slider__nav button.is-active {
  width: 34px;
  border-radius: 999px;
  background: var(--cw-accent);
}

.cw-section {
  padding: 28px 0;
}

.cw-section--lifted {
  margin-top: -10px;
}

.cw-section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.cw-section__head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  line-height: 1;
}

.cw-section__head p {
  margin: 0;
  max-width: 56ch;
  color: var(--cw-muted);
}

.cw-text-link {
  color: var(--cw-accent-dark);
  font-weight: 800;
}

.cw-main-categories,
.cw-story-grid,
.cw-grid {
  display: grid;
  gap: 16px;
}

.cw-main-category,
.cw-story-card,
.cw-content-panel,
.cw-product-detail,
.cw-search-panel,
.cw-card {
  border-radius: var(--cw-radius);
}

.cw-main-category {
  padding: 22px;
}

.cw-main-category__eyebrow {
  color: var(--cw-accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cw-main-category h3 {
  margin: 10px 0 8px;
  font-size: 1.55rem;
}

.cw-main-category p {
  margin: 0 0 18px;
  color: var(--cw-muted);
}

.cw-main-category__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--cw-ink);
  font-weight: 700;
}

.cw-story-card {
  padding: 22px;
}

.cw-story-card--accent {
  background: linear-gradient(135deg, #fff2dc 0%, #f7e0bf 100%);
}

.cw-story-card h3 {
  margin: 10px 0 10px;
  font-size: 1.5rem;
}

.cw-story-card p {
  margin: 0;
  color: var(--cw-muted);
}

.cw-page-hero {
  display: grid;
  gap: 18px;
  padding: 26px 0 16px;
}

.cw-page-hero--compact {
  padding-bottom: 10px;
}

.cw-page-hero__content {
  min-width: 0;
}

.cw-page-title {
  margin: 6px 0 8px;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 0.96;
}

.cw-page-hero__stats {
  width: fit-content;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff2dd 0%, #f8debe 100%);
}

.cw-page-hero__stats strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.cw-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.92rem;
}

.cw-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  margin-bottom: 18px;
}

.cw-search-field input {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid var(--cw-line);
  background: rgba(255, 255, 255, 0.94);
  padding: 0 16px;
}

.cw-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

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

.cw-filter-strip--scroll::-webkit-scrollbar {
  display: none;
}

.cw-filter-pill:hover,
.cw-detail-tag:hover {
  border-color: rgba(198, 91, 53, 0.38);
  color: var(--cw-accent-dark);
}

.cw-content-panel {
  padding: 16px;
}

.cw-grid--products {
  grid-template-columns: 1fr;
}

.cw-card,
.cw-product-card {
  overflow: hidden;
}

.cw-product-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(170, 146, 120, 0.18);
  border-radius: 28px;
  box-shadow: var(--cw-shadow-soft);
}

.cw-product-card__media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 241, 232, 0.96) 100%);
  border-bottom: 1px solid rgba(170, 146, 120, 0.12);
}

.cw-product-card__image,
.cw-product-detail__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-product-card__placeholder,
.cw-product-detail__placeholder {
  color: var(--cw-muted);
  font-weight: 700;
}

.cw-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.cw-product-card__category {
  margin-bottom: 8px;
  color: var(--cw-accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.cw-product-card__title {
  margin: 0 0 10px;
  font-size: 1.26rem;
  line-height: 1.08;
}

.cw-product-card__title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cw-product-card__meta {
  display: grid;
  gap: 2px;
  color: var(--cw-muted);
  font-size: 0.9rem;
}

.cw-product-card__meta strong {
  color: var(--cw-ink);
}

.cw-product-card__footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.cw-product-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cw-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.cw-stock::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cw-success);
}

.cw-product-detail {
  display: grid;
  gap: 20px;
  padding: 18px;
}

.cw-product-detail__media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(228, 188, 108, 0.15), transparent 35%),
    linear-gradient(180deg, #fff 0%, #f7f0e7 100%);
  border: 1px solid rgba(170, 146, 120, 0.14);
}

.cw-product-detail__summary {
  min-width: 0;
}

.cw-product-detail__title {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 8vw, 4.4rem);
  line-height: 0.94;
}

.cw-product-detail__excerpt {
  max-width: 56ch;
}

.cw-detail-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.cw-detail-row {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(170, 146, 120, 0.18);
}

.cw-detail-row strong {
  font-size: 0.96rem;
}

.cw-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-action-row {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cw-product-detail__panel {
  margin-top: 20px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(170, 146, 120, 0.14);
}

.cw-pagination {
  margin-top: 26px;
}

.cw-pagination .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cw-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--cw-line);
  color: var(--cw-ink);
  font-weight: 700;
}

.cw-pagination .page-numbers.current,
.cw-pagination .page-numbers:hover {
  background: var(--cw-accent);
  border-color: var(--cw-accent);
  color: #fff;
}

.cw-empty-state {
  padding: 28px 18px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px dashed rgba(170, 146, 120, 0.35);
}

.cw-empty-state strong {
  display: block;
  margin-bottom: 6px;
}

.cw-inquiry-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cw-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.cw-inquiry-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.cw-inquiry-drawer.is-open {
  pointer-events: auto;
}

.cw-inquiry-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 14, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cw-inquiry-drawer__panel {
  position: absolute;
  inset: auto 0 0 0;
  height: min(82vh, 760px);
  background: #fffaf4;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border: 1px solid var(--cw-line);
  box-shadow: 0 -20px 60px rgba(18, 17, 14, 0.14);
  transform: translateY(104%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}

.cw-inquiry-drawer.is-open .cw-inquiry-drawer__backdrop {
  opacity: 1;
}

.cw-inquiry-drawer.is-open .cw-inquiry-drawer__panel {
  transform: translateY(0);
}

.cw-inquiry-drawer__header,
.cw-inquiry-drawer__footer {
  padding: 16px 18px;
}

.cw-inquiry-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--cw-line);
}

.cw-inquiry-drawer__body {
  padding: 16px 18px;
  overflow: auto;
}

.cw-inquiry-drawer__footer {
  border-top: 1px solid var(--cw-line);
  display: grid;
  gap: 10px;
}

.cw-inquiry-drawer__close {
  border: 0;
  background: transparent;
  color: var(--cw-ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

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

.cw-inquiry-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--cw-line);
  background: rgba(255, 255, 255, 0.76);
}

.cw-inquiry-item__thumb {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(170, 146, 120, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cw-inquiry-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-inquiry-item__title {
  margin: 0 0 4px;
  font-size: 0.96rem;
  line-height: 1.35;
}

.cw-inquiry-item__meta {
  color: var(--cw-muted);
  font-size: 0.84rem;
}

.cw-inquiry-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
}

.cw-inquiry-item__qty {
  width: 80px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid var(--cw-line);
  padding: 0 12px;
}

.cw-inquiry-item__remove {
  border: 0;
  background: transparent;
  color: var(--cw-accent-dark);
  font-weight: 800;
  cursor: pointer;
}

.cw-site-footer {
  padding: 32px 0 100px;
  border-top: 1px solid rgba(170, 146, 120, 0.18);
}

.cw-site-footer__grid {
  display: grid;
  gap: 18px;
}

.cw-site-footer__title,
.cw-site-footer__label {
  margin-bottom: 6px;
  font-weight: 800;
}

.cw-site-footer__links {
  display: grid;
  gap: 8px;
}

.cw-mobile-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(170, 146, 120, 0.18);
  box-shadow: 0 16px 40px rgba(18, 17, 14, 0.14);
  backdrop-filter: blur(14px);
}

.cw-mobile-dock a,
.cw-mobile-dock button {
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--cw-ink);
  font-weight: 800;
}

@media (min-width: 560px) {
  .cw-shell {
    width: min(calc(100% - 36px), var(--cw-max));
  }

  .cw-grid--products,
  .cw-main-categories,
  .cw-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-product-card__actions,
  .cw-action-row,
  .cw-inquiry-drawer__footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .cw-mobile-dock {
    display: none;
  }

  .cw-home-hero__top {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }

  .cw-hero-slide {
    padding: 42px 36px;
  }

  .cw-hero-slide.is-active,
  .cw-product-detail,
  .cw-page-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
  }

  .cw-page-hero--compact {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cw-product-detail {
    padding: 24px;
  }

  .cw-detail-row {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .cw-nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .cw-nav a {
    color: var(--cw-muted);
    font-weight: 700;
  }

  .cw-nav a:hover {
    color: var(--cw-accent-dark);
  }

  .cw-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .cw-menu-toggle,
  .cw-mobile-nav {
    display: none !important;
  }

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

  .cw-main-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cw-home-pillbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .cw-site-footer__grid {
    grid-template-columns: 1.1fr 1fr 0.8fr;
  }

  .cw-inquiry-drawer__panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(460px, 100%);
    height: 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-left: 1px solid var(--cw-line);
    transform: translateX(104%);
  }

  .cw-inquiry-drawer.is-open .cw-inquiry-drawer__panel {
    transform: translateX(0);
  }
}

@media (min-width: 1280px) {
  .cw-grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* V11 direction sync */

.cw-home-sidebar {
  display: none !important;
}

.cw-home-layout {
  display: block !important;
}

.cw-home-main {
  min-width: 0;
}

.cw-brand--logo img {
  max-width: 118px;
  max-height: 66px;
}

.cw-site-header__row {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  min-height: 72px;
}

.cw-hero-slide {
  min-height: 250px;
}

.cw-hero-slide__content h2 {
  max-width: 12ch;
}

.cw-grid--products {
  gap: 12px;
}

.cw-product-card {
  height: 100%;
}

.cw-product-card__body {
  gap: 12px;
}

.cw-product-card__title {
  min-height: 2.8em;
}

.cw-product-card__badge {
  min-height: 44px;
  border-radius: 12px;
}

.cw-mobile-dock {
  grid-template-columns: repeat(5, 1fr);
}

@media (min-width: 980px) {
  .cw-site-header__row {
    grid-template-columns: 320px minmax(0, 1fr) auto;
    min-height: 104px;
  }

  .cw-brand--logo img {
    max-width: 260px;
    max-height: 94px;
  }

  .cw-home-hero {
    padding-top: 16px;
  }

  .cw-home-main .cw-hero-slide {
    min-height: 430px;
    border-radius: 0;
  }

  .cw-category-menu__panel {
    width: 300px;
  }

  .cw-home-layout,
  .cw-catalog-layout {
    width: 100%;
  }
}

/* V10 final storefront pass */

:root {
  --cw-accent: #f48a2c;
  --cw-accent-dark: #df7312;
  --cw-max: 1520px;
}

body {
  background: #fff;
  color: #202020;
}

.cw-shell {
  width: min(calc(100% - 16px), var(--cw-max));
}

.cw-topbar {
  display: none;
}

.cw-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: none;
}

.cw-site-header__row {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 12px;
  min-height: 70px;
}

.cw-brand--logo img {
  width: auto;
  max-width: 118px;
  max-height: 64px;
}

.cw-menu-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.cw-mobile-list-trigger {
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  font-size: 0;
}

.cw-mobile-list-trigger::before {
  content: "\2661";
  font-size: 21px;
  line-height: 1;
}

.cw-mobile-list-trigger .cw-inquiry-count {
  top: 0;
  right: -2px;
}

.cw-mobile-nav__top img {
  max-width: 104px;
  max-height: 56px;
}

.cw-mobile-nav__label {
  margin-top: 8px;
}

body.home .cw-home-hero,
body.home .cw-section--lifted,
body.home .cw-story-grid {
  display: none;
}

.cw-section {
  padding: 16px 0 22px;
}

.cw-section__head h2 {
  font-size: 1.95rem;
}

.cw-content-panel {
  padding: 0;
}

.cw-grid--products {
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cw-grid--products > * {
  height: 100%;
}

.cw-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: none;
}

.cw-product-card__media {
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #fff;
}

.cw-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.cw-product-card__title {
  margin: 0;
  min-height: calc(1.32em * 2);
  font-size: 0.96rem;
  line-height: 1.32;
}

.cw-product-card__title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cw-product-card__footer,
.cw-product-card__actions {
  margin-top: auto;
}

.cw-product-card__badge {
  width: 100%;
  min-height: 44px;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid #ffd1b3;
  background: #fff7f1;
  color: #ef8b5a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.cw-page-hero__stats {
  display: none;
}

.cw-toolbar {
  margin-bottom: 14px;
}

.cw-toolbar__icon,
.cw-toolbar__sort select {
  height: 40px;
}

.cw-product-detail {
  gap: 16px;
  padding: 14px;
  border-radius: 14px;
}

.cw-product-detail__media {
  padding: 14px;
  border-radius: 14px;
}

.cw-product-detail__title {
  font-size: clamp(1.7rem, 8vw, 2.8rem);
}

.cw-detail-tag {
  min-height: 38px;
}

.cw-action-row {
  gap: 10px;
}

.cw-site-footer {
  padding-bottom: 92px;
  background: #fff;
}

.cw-mobile-dock {
  left: 0;
  right: 0;
  bottom: 0;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.08);
}

.cw-mobile-dock a,
.cw-mobile-dock button {
  min-height: 48px;
  border-radius: 10px;
  color: #676767;
  font-size: 11px;
  font-weight: 600;
}

@media (min-width: 680px) {
  .cw-shell {
    width: min(calc(100% - 24px), var(--cw-max));
  }

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

@media (min-width: 980px) {
  .cw-topbar {
    display: block;
    background: #f7f7f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #6a6a6a;
    font-size: 12px;
  }

  body.home .cw-home-hero {
    display: block;
  }

  body.home .cw-section--lifted {
    display: block;
  }

  body.home .cw-story-grid {
    display: grid;
  }

  .cw-mobile-list-trigger,
  .cw-menu-toggle,
  .cw-mobile-nav,
  .cw-mobile-dock {
    display: none !important;
  }

  .cw-site-header__row {
    grid-template-columns: 260px minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 92px;
  }

  .cw-brand {
    align-items: flex-start;
    justify-content: center;
  }

  .cw-brand--logo img {
    max-width: 320px;
    max-height: 92px;
  }

  .cw-header-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
  }

  .cw-header-search input {
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 0 12px;
  }

  .cw-header-search input:focus {
    outline: none;
  }

  .cw-header-search__button {
    min-width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--cw-accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
  }

  .cw-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .cw-site-subnav {
    display: block;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .cw-site-subnav__row {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 52px;
  }

  .cw-category-menu {
    position: relative;
  }

  .cw-category-menu__toggle {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    background: var(--cw-accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
  }

  .cw-category-menu__panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    display: none;
    padding: 8px 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    z-index: 80;
  }

  .cw-category-menu:hover .cw-category-menu__panel {
    display: block;
  }

  .cw-category-menu:focus-within .cw-category-menu__panel {
    display: none;
  }

  .cw-category-menu__panel a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
  }

  .cw-category-menu__panel a:hover {
    background: #fff6ee;
    color: var(--cw-accent);
  }

  .cw-nav {
    display: flex;
    gap: 24px;
  }

  .cw-nav a {
    color: #3c3c3c;
    font-weight: 600;
  }

  .cw-home-layout,
  .cw-catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .cw-home-sidebar,
  .cw-catalog-sidebar {
    display: grid;
    gap: 14px;
  }

  .cw-home-sidebar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .cw-home-sidebar__title {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    background: var(--cw-accent);
    color: #fff;
    font-weight: 700;
  }

  .cw-home-sidebar__list,
  .cw-sidebar-links {
    display: grid;
  }

  .cw-home-sidebar__list a,
  .cw-sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: #343434;
  }

  .cw-home-sidebar__list a:hover,
  .cw-sidebar-links a:hover {
    background: #fff6ee;
    color: var(--cw-accent);
  }

  .cw-home-sidebar__list small,
  .cw-sidebar-links small {
    color: #8a8a8a;
  }

  .cw-hero-slider {
    padding: 0;
  }

  .cw-hero-slide {
    min-height: 380px;
    padding: 44px;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
  }

  .cw-hero-slide__content {
    max-width: 560px;
  }

  .cw-hero-slide__visual,
  .cw-hero-metric,
  .cw-hero-tags {
    display: none;
  }

  .cw-content-panel {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

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

  .cw-product-card__body {
    padding: 14px 16px 16px;
  }

  .cw-product-card__title {
    min-height: calc(1.35em * 2);
    font-size: 1rem;
    line-height: 1.35;
  }

  .cw-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
  }

  .cw-page-hero__stats {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* V10 mobile-first refinement */

.cw-topbar {
  display: none;
}

.cw-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cw-site-header__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  min-height: 68px;
}

.cw-brand {
  align-items: center;
  justify-content: center;
}

.cw-brand--logo img {
  max-width: 94px;
  max-height: 54px;
}

.cw-header-search,
.cw-header-actions,
.cw-site-subnav {
  display: none;
}

.cw-menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  justify-self: start;
}

.cw-mobile-list-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #1f1f1f;
  font-size: 0.78rem;
  font-weight: 700;
  position: relative;
  cursor: pointer;
}

.cw-mobile-list-trigger .cw-inquiry-count {
  position: absolute;
  top: 3px;
  right: 0;
  min-width: 18px;
  height: 18px;
  font-size: 11px;
}

.cw-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #fff;
  border-top: 0;
}

.cw-mobile-nav__inner {
  padding: 14px 16px 92px;
  height: 100dvh;
  overflow: auto;
}

.cw-mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cw-mobile-nav__top img {
  width: auto;
  max-width: 86px;
  max-height: 46px;
}

.cw-mobile-nav__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.cw-mobile-nav__search {
  margin-bottom: 18px;
}

.cw-mobile-nav__search input {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0 14px;
  background: #fff;
}

.cw-mobile-nav__label {
  margin-bottom: 10px;
  color: #818181;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cw-mobile-tree {
  display: grid;
  gap: 8px;
}

.cw-mobile-tree__item > a,
.cw-mobile-tree__details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  color: #202020;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.cw-mobile-tree__item--depth-0 > a,
.cw-mobile-tree__item--depth-0 > .cw-mobile-tree__details > summary {
  background: linear-gradient(90deg, #fffaf0 0%, #fff5f5 100%);
  border-left: 3px solid #f48a2c;
}

.cw-mobile-tree__details > summary::-webkit-details-marker {
  display: none;
}

.cw-mobile-tree__children {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding-left: 10px;
}

.cw-mobile-tree__item--depth-1 > a,
.cw-mobile-tree__item--depth-1 > .cw-mobile-tree__details > summary {
  min-height: 42px;
  border-left: 2px solid rgba(244, 138, 44, 0.22);
}

.cw-mobile-nav__links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.cw-mobile-nav__links a {
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 600;
  color: #404040;
}

.cw-mobile-nav__actions {
  display: none;
}

.cw-shell {
  width: min(calc(100% - 20px), var(--cw-max));
}

.cw-home-hero {
  padding: 10px 0 14px;
}

.cw-hero-slide {
  min-height: 240px;
  padding: 24px 18px;
  border-radius: 14px;
}

.cw-hero-slide__content h2 {
  font-size: clamp(1.6rem, 8vw, 2.6rem);
}

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

.cw-product-card {
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cw-product-card__media {
  padding: 10px;
  aspect-ratio: 1 / 1;
}

.cw-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px 10px 12px;
}

.cw-product-card__title {
  margin: 0;
  min-height: 3.8em;
  font-size: 0.98rem;
  line-height: 1.28;
}

.cw-product-card__title a {
  -webkit-line-clamp: 3;
}

.cw-product-card__footer {
  margin-top: auto;
}

.cw-product-card__actions {
  margin-top: 10px;
}

.cw-product-card__badge {
  min-height: 42px;
  width: 100%;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.cw-page-hero {
  gap: 12px;
  padding: 6px 0 12px;
}

.cw-page-title {
  font-size: clamp(1.5rem, 8vw, 2.2rem);
}

.cw-page-hero__stats {
  padding: 10px 12px;
  border-radius: 10px;
}

.cw-search-panel,
.cw-toolbar,
.cw-sidebar-card,
.cw-product-detail,
.cw-product-detail__panel {
  border-radius: 14px;
}

.cw-toolbar {
  padding: 10px;
}

.cw-toolbar__sort select {
  min-width: 132px;
}

.cw-catalog-sidebar {
  display: none;
}

.cw-product-detail__title {
  font-size: clamp(1.9rem, 9vw, 3.2rem);
}

.cw-mobile-dock {
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.cw-mobile-dock a,
.cw-mobile-dock button {
  min-height: 48px;
  border-radius: 10px;
  color: #6a6a6a;
  font-size: 11px;
  font-weight: 600;
}

.cw-mobile-dock a:hover,
.cw-mobile-dock button:hover {
  color: #f48a2c;
}

.cw-site-footer {
  padding-bottom: 92px;
}

@media (min-width: 560px) {
  .cw-shell {
    width: min(calc(100% - 24px), var(--cw-max));
  }
}

@media (min-width: 980px) {
  .cw-topbar {
    display: block;
  }

  .cw-mobile-list-trigger {
    display: none;
  }

  .cw-site-header__row {
    grid-template-columns: 240px minmax(0, 1fr) auto;
    min-height: 88px;
  }

  .cw-brand--logo img {
    max-width: 280px;
    max-height: 88px;
  }

  .cw-header-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
  }

  .cw-header-actions {
    display: flex;
  }

  .cw-menu-toggle,
  .cw-mobile-nav,
  .cw-mobile-dock {
    display: none !important;
  }

  .cw-site-subnav {
    display: block;
  }

  .cw-category-menu:hover .cw-category-menu__panel {
    display: block;
  }

  .cw-category-menu:focus-within .cw-category-menu__panel {
    display: none;
  }

  .cw-catalog-sidebar {
    display: grid;
  }

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

/* V8 storefront refresh */

.cw-topbar {
  background: #f7f7f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #6c6c6c;
}

.cw-topbar__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  align-items: center;
}

.cw-site-header {
  position: relative;
  top: 0;
  background: #fff;
  backdrop-filter: none;
}

.cw-site-header__row {
  grid-template-columns: 220px minmax(0, 1fr) auto auto;
  gap: 16px;
  min-height: 82px;
}

.cw-brand--logo {
  display: flex;
  align-items: center;
}

.cw-brand--logo img {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 72px;
}

.cw-brand__eyebrow {
  display: none;
}

.cw-brand__title {
  font-size: 1.4rem;
}

.cw-header-search {
  display: none;
}

.cw-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #2f2f2f;
  font-weight: 600;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cw-header-link--accent {
  color: var(--cw-accent-dark);
}

.cw-site-subnav {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}

.cw-site-subnav__row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
}

.cw-category-menu {
  position: relative;
}

.cw-category-menu__toggle {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: #f48a2c;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.cw-category-menu__panel {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  width: 260px;
  display: none;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  z-index: 60;
}

.cw-category-menu:hover .cw-category-menu__panel,
.cw-category-menu:focus-within .cw-category-menu__panel {
  display: block;
}

.cw-category-menu__panel a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #303030;
}

.cw-category-menu__panel a:hover {
  background: #fff6ee;
  color: #f48a2c;
}

.cw-nav {
  gap: 24px;
}

.cw-nav a {
  color: #3c3c3c;
  font-weight: 600;
}

.cw-home-hero {
  padding-top: 0;
}

.cw-home-layout {
  display: grid;
  gap: 18px;
}

.cw-home-sidebar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cw-home-sidebar__title {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: #f48a2c;
  color: #fff;
  font-weight: 700;
}

.cw-home-sidebar__list a,
.cw-sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: #343434;
}

.cw-home-sidebar__list a:hover,
.cw-sidebar-links a:hover {
  background: #fff6ee;
  color: #f48a2c;
}

.cw-home-sidebar__list small,
.cw-sidebar-links small {
  color: #8c8c8c;
}

.cw-home-main,
.cw-catalog-main {
  min-width: 0;
}

.cw-hero-slider {
  padding: 0;
}

.cw-hero-slide {
  min-height: 370px;
  align-items: end;
  padding: 44px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

.cw-hero-slide__content {
  max-width: 560px;
}

.cw-hero-slide__content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}

.cw-hero-slide__visual,
.cw-hero-metric,
.cw-hero-tags {
  display: none;
}

.cw-section {
  padding: 20px 0 28px;
}

.cw-section__head {
  margin-bottom: 14px;
}

.cw-section__head h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.cw-main-categories {
  gap: 12px;
}

.cw-main-category {
  padding: 18px;
  border-radius: 16px;
  box-shadow: none;
}

.cw-main-category h3 {
  font-size: 1.1rem;
}

.cw-content-panel {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.cw-product-card {
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}

.cw-product-card__media {
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #fff;
}

.cw-product-card__body {
  padding: 12px 14px 14px;
}

.cw-product-card__brand {
  display: none;
}

.cw-product-card__category {
  display: none;
}

.cw-product-card__title {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.cw-product-card__title a {
  -webkit-line-clamp: 2;
}

.cw-product-card__footer {
  padding-top: 0;
}

.cw-product-card__sku {
  color: #7b7b7b;
  font-size: 13px;
}

.cw-product-card__actions {
  margin-top: 8px;
}

.cw-product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid #ffd1b3;
  border-radius: 8px;
  background: #fff7f1;
  color: #ef8b5a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cw-page-hero {
  padding: 0 0 14px;
}

.cw-page-title {
  line-height: 1.05;
}

.cw-search-panel {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 14px;
  box-shadow: none;
}

.cw-search-field input {
  border-radius: 10px;
}

.cw-catalog-layout {
  display: grid;
  gap: 18px;
}

.cw-catalog-sidebar {
  display: grid;
  gap: 14px;
}

.cw-sidebar-card {
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
}

.cw-sidebar-card__title {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 800;
}

.cw-sidebar-links {
  display: grid;
}

.cw-sidebar-links a {
  padding-inline: 0;
}

.cw-product-detail {
  border-radius: 16px;
  box-shadow: none;
}

.cw-site-footer {
  padding-top: 26px;
  background: #fff;
}

.cw-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
}

.cw-toolbar__view {
  display: flex;
  gap: 8px;
}

.cw-toolbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 18px;
}

.cw-toolbar__icon.is-active {
  background: #ff7d1a;
  border-color: #ff7d1a;
  color: #fff;
}

.cw-toolbar__sort select {
  min-width: 180px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.cw-grid--list {
  grid-template-columns: 1fr !important;
}

.cw-grid--list .cw-product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
}

.cw-grid--list .cw-product-card__media {
  aspect-ratio: auto;
  min-height: 180px;
}

.cw-grid--list .cw-product-card__body {
  justify-content: center;
}

@media (min-width: 980px) {
  .cw-header-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
  }

  .cw-header-search input {
    min-height: 42px;
    border: 0;
    padding: 0 10px;
    background: transparent;
  }

  .cw-header-search input:focus {
    outline: none;
  }

  .cw-header-search__button {
    min-width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f48a2c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
  }

  .cw-home-layout,
  .cw-catalog-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }

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

@media (min-width: 1280px) {
  .cw-grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
