:root {
  --bg: #f4efe9;
  --bg-deep: #e9e1d8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --surface-dark: #838383;
  --text: #121212;
  --muted: #665f58;
  --line: rgba(18, 18, 18, 0.1);
  --shadow: 0 28px 70px rgba(25, 20, 16, 0.14);
  --shadow-soft: 0 12px 30px rgba(25, 20, 16, 0.08);
  --brand: #111111;
  --brand-soft: #6f635a;
  --accent: #ae8a69;
  --accent-soft: #d8c4b1;
  --accent-strong: #866343;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --page-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(174, 138, 105, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(111, 99, 90, 0.13), transparent 28%),
    linear-gradient(180deg, #faf7f3 0%, #f3ede6 38%, #eee6de 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

body::before {
  top: 6rem;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  background: rgba(174, 138, 105, 0.12);
}

body::after {
  left: -7rem;
  bottom: 4rem;
  width: 22rem;
  height: 22rem;
  background: rgba(17, 17, 17, 0.07);
}

body.home-page {
  color: #171210;
  background:
    radial-gradient(circle at top right, rgba(180, 152, 124, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(84, 70, 58, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fcfbfa 42%, #f6f4f0 100%);
}

body.home-page::before {
  top: 5rem;
  right: -9rem;
  width: 24rem;
  height: 24rem;
  background: rgba(183, 145, 106, 0.08);
  opacity: 0.55;
}

body.home-page::after {
  left: -9rem;
  bottom: 3rem;
  width: 26rem;
  height: 26rem;
  background: rgba(55, 42, 33, 0.045);
  opacity: 0.45;
}

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

button,
a.button {
  font: inherit;
}

.page-shell {
  width: min(100% - 2rem, var(--page-width));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--radius-xl) + 4px);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

body.home-page .site-header {
  border-color: rgba(174, 138, 105, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(57, 40, 28, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-wordmark {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home-page .brand-tag {
  background: rgba(174, 138, 105, 0.1);
  color: #81654f;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 1rem;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(17, 17, 17, 0.06);
}

body.home-page .site-nav {
  color: #6f635a;
}

body.home-page .site-nav a:hover,
body.home-page .site-nav a:focus-visible {
  background: rgba(174, 138, 105, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.site-menu-toggle:hover,
.site-menu-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.98);
}

.site-menu-toggle__lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
}

.site-menu-toggle__lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

body.site-menu-open .site-menu-toggle__lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.site-menu-open .site-menu-toggle__lines span:nth-child(2) {
  opacity: 0;
}

body.site-menu-open .site-menu-toggle__lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

body.site-menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

body.site-menu-open .mobile-menu {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 220ms ease,
    visibility 0s linear 0s;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 12, 9, 0.38);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.mobile-menu__panel {
  position: relative;
  width: min(84vw, 360px);
  height: 100%;
  margin-inline-start: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: -24px 0 60px rgba(17, 17, 17, 0.18);
  transform: translateX(108%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: auto;
}

html[dir="rtl"] .mobile-menu {
  justify-content: flex-start;
}

html[dir="rtl"] .mobile-menu__panel {
  margin-inline-start: 0;
  margin-inline-end: auto;
  transform: translateX(-108%);
  box-shadow: 24px 0 60px rgba(17, 17, 17, 0.18);
}

body.site-menu-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.mobile-menu__brand .brand-wordmark {
  font-size: 0.95rem;
}

.mobile-menu__brand .brand-tag {
  padding: 0.38rem 0.58rem;
  font-size: 0.7rem;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu__section {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mobile-menu__section[hidden] {
  display: none;
}

.mobile-menu__links {
  display: grid;
  gap: 0.7rem;
}

.mobile-menu__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--text);
  text-align: left;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.mobile-menu__item:hover,
.mobile-menu__item:focus-visible {
  transform: translateY(-1px);
  background: rgba(17, 17, 17, 0.06);
  border-color: rgba(17, 17, 17, 0.14);
}

.mobile-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(174, 138, 105, 0.12);
  color: var(--accent-strong);
  flex-shrink: 0;
}

.mobile-menu__icon svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__text {
  min-width: 0;
  flex: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #1d1d1d;
}

body.home-page .button.primary {
  background: linear-gradient(135deg, #1a1410 0%, #2f231a 100%);
  box-shadow: 0 18px 34px rgba(48, 35, 25, 0.22);
}

body.home-page .button.primary:hover,
body.home-page .button.primary:focus-visible {
  background: linear-gradient(135deg, #221913 0%, #3a2b20 100%);
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible,
.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.95);
}

body.home-page .button.secondary,
body.home-page .button.ghost {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(174, 138, 105, 0.12);
}

body.home-page .button.secondary:hover,
body.home-page .button.secondary:focus-visible,
body.home-page .button.ghost:hover,
body.home-page .button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.98);
}

.button.block {
  width: 100%;
}

.cart-toggle {
  min-width: 124px;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-badge.is-empty {
  display: none;
}

.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0 2rem;
}

.hero-copy {
  flex: 1.08;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--brand-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.home-page .eyebrow {
  background: rgba(174, 138, 105, 0.06);
  color: #7b6553;
}

.hero h1,
.section h2,
.contact-band h2,
.drawer-top h2 {
  margin: 0;
  color: var(--brand);
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.94;
}

.hero-body {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
}

body.home-page .hero-body {
  color: #6a635d;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0.3rem 0 0;
  list-style: none;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.66rem 0.92rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}

body.home-page .hero-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(174, 138, 105, 0.1);
  color: #6c635d;
}

.hero-visual {
  flex: 0.92;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.logo-card {
  width: min(100%, 470px);
  padding: 1.15rem;
  border-radius: 34px;
  background: linear-gradient(180deg, #fbfbfa 0%, #efebe4 100%);
  border: 1px solid rgba(174, 138, 105, 0.12);
  box-shadow:
    0 24px 60px rgba(53, 37, 25, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.logo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.hero-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

body.home-page .hero-flag {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(174, 138, 105, 0.1);
  color: #6a6158;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.stat-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

body.home-page .stat-card,
body.home-page .collection-card,
body.home-page .feature-card,
body.home-page .fit-step,
body.home-page .product-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(174, 138, 105, 0.09);
}

body.home-page .stat-card strong,
body.home-page .section h2,
body.home-page .hero h1,
body.home-page .collection-card h3,
body.home-page .feature-card h3,
body.home-page .fit-step h3,
body.home-page .product-card h3 {
  color: #181210;
}

body.home-page .collection-card p,
body.home-page .feature-card p,
body.home-page .fit-step p,
body.home-page .product-card p,
body.home-page .stat-card span {
  color: #6f6963;
}

.stat-card strong {
  display: block;
  color: var(--brand);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

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

.section {
  padding: 5rem 0 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-head--stack {
  align-items: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.section-head p,
.contact-copy p {
  max-width: 58ch;
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.collection-grid,
.feature-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.collection-card,
.feature-card,
.fit-step {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.collection-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.collection-card:hover,
.collection-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.88);
}

body.home-page .collection-card:hover,
body.home-page .collection-card:focus-visible,
body.home-page .feature-card:hover,
body.home-page .feature-card:focus-visible,
body.home-page .fit-step:hover,
body.home-page .fit-step:focus-visible,
body.home-page .product-card:hover,
body.home-page .product-card:focus-visible {
  box-shadow: 0 26px 56px rgba(58, 40, 27, 0.09);
  background: rgba(255, 255, 255, 0.96);
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -26% auto;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(174, 138, 105, 0.2), rgba(17, 17, 17, 0.02));
  filter: blur(18px);
  pointer-events: none;
}

body.home-page .collection-card::before {
  background: linear-gradient(135deg, rgba(174, 138, 105, 0.16), rgba(246, 237, 227, 0.08));
}

.collection-card__index {
  color: var(--brand-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.home-page .collection-card__index {
  color: #8f8070;
}

.collection-card__category {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home-page .collection-card__category {
  color: #947255;
}

.collection-card h3,
.feature-card h3,
.fit-step h3,
.product-card h3 {
  margin: 0;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.collection-card h3 {
  font-size: 1.35rem;
  max-width: 10ch;
}

.collection-card p,
.feature-card p,
.fit-step p,
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.collection-card__cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

body.home-page .collection-card__cta {
  background: rgba(174, 138, 105, 0.08);
  color: #66513c;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 0.92rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

body.home-page .filter-pill {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(174, 138, 105, 0.1);
  color: #6e6761;
}

body.home-page .filter-pill:hover,
body.home-page .filter-pill:focus-visible,
body.home-page .filter-pill.active {
  background: linear-gradient(135deg, #1a1410 0%, #2f231a 100%);
  border-color: transparent;
  color: #ffffff;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  color: inherit;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.9);
}

.product-art {
  position: relative;
  min-height: 344px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--tone-a), var(--tone-b));
}

.product-art__image {
  position: absolute;
  inset: 0.7rem;
  width: calc(100% - 1.4rem);
  height: calc(100% - 1.4rem);
  object-fit: contain;
  object-position: center top;
  display: block;
}

.product-art__image {
  filter: saturate(0.96) contrast(1.02);
  opacity: 0.95;
}

.product-card .product-art__image {
  inset: 0.35rem;
  width: calc(100% - 0.7rem);
  height: calc(100% - 0.7rem);
  transform: scale(1.1);
  transform-origin: center top;
}

.cart-item__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.product-art::before {
  inset: 14% 15% auto auto;
  width: 42%;
  height: 52%;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(8px);
}

.product-art::after {
  left: 12%;
  bottom: -16%;
  width: 68%;
  height: 64%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.34), transparent 35%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0));
  transform: skewX(-8deg);
  opacity: 0.7;
}

.product-card .product-art::before {
  opacity: 0.18;
}

.product-card .product-art::after {
  opacity: 0.45;
}

body.home-page .product-card .product-art {
  min-height: 352px;
}

.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.2rem;
}

.product-card__top,
.product-card__footer,
.drawer-summary,
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--brand-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.product-card h3 {
  font-size: 1.38rem;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.product-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--muted);
  font-size: 0.84rem;
}

body.home-page .product-card__meta span {
  background: rgba(174, 138, 105, 0.06);
  color: #6f6760;
}

.product-card__size {
  display: grid;
  gap: 0.45rem;
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__size select {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
  outline: none;
}

body.home-page .product-card__size select {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(174, 138, 105, 0.1);
}

.product-card__size select:focus {
  border-color: rgba(174, 138, 105, 0.42);
  box-shadow: 0 0 0 4px rgba(174, 138, 105, 0.12);
}

.product-card__footer strong {
  font-size: 1.25rem;
  color: var(--brand);
}

.product-card__open {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.82rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.home-page .product-card__open {
  background: rgba(174, 138, 105, 0.08);
  color: #66513c;
}

.feature-card h3,
.fit-step h3 {
  font-size: 1.18rem;
}

.feature-card {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fit-step {
  min-height: 200px;
}

.fit-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: 5rem;
  padding: 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(174, 138, 105, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

body.home-page .contact-band {
  border-color: rgba(174, 138, 105, 0.1);
  background:
    radial-gradient(circle at top right, rgba(174, 138, 105, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(57, 40, 28, 0.08);
}

.contact-copy {
  max-width: 58ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex-shrink: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 0.6rem;
  color: var(--muted);
}

.footer-brand {
  max-width: 34rem;
}

.footer-brand p {
  margin: 0.55rem 0 0;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.95rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.info-card__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--brand-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.home-page .info-card__label {
  background: rgba(174, 138, 105, 0.06);
  color: #7b6553;
}

.info-card h3 {
  margin: 0;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.policy-list {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.policy-list li + li {
  margin-top: 0.7rem;
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100vw, 420px);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(174, 138, 105, 0.15), transparent 32%),
    rgba(250, 248, 245, 0.98);
  border-left: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: -30px 0 70px rgba(18, 18, 18, 0.16);
  transform: translateX(102%);
  transition: transform 220ms ease;
  z-index: 60;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-top {
  align-items: flex-start;
}

.icon-button {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
}

.drawer-summary {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.drawer-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  overflow: auto;
  padding-right: 0.15rem;
}

.drawer-empty {
  display: grid;
  place-items: center;
  min-height: 40vh;
  padding: 2rem;
  border: 1px dashed rgba(17, 17, 17, 0.14);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.cart-item__art {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--tone-a), var(--tone-b));
  position: relative;
  overflow: hidden;
}

.cart-item__image {
  border-radius: inherit;
}

.cart-item__art::before {
  content: "";
  position: absolute;
  inset: 14% 16% auto auto;
  width: 44%;
  height: 44%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.cart-item h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.cart-item__meta {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cart-item__meta--secondary {
  margin-top: 0.15rem;
  font-size: 0.8rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0.28rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.qty-controls button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.qty-controls button:hover,
.qty-controls button:focus-visible {
  background: rgba(17, 17, 17, 0.06);
}

.qty-controls span {
  min-width: 1.2rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 0.2rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.3);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 50;
}

.overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open {
  overflow: hidden;
}

body[dir="rtl"] .site-header,
body[dir="rtl"] .hero,
body[dir="rtl"] .contact-band {
  flex-direction: row-reverse;
}

body[dir="rtl"] .site-nav {
  flex-direction: row-reverse;
}

body[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

body[dir="rtl"] .section-head {
  flex-direction: row-reverse;
}

body[dir="rtl"] .filter-row,
body[dir="rtl"] .footer-links {
  justify-content: flex-start;
}

body[dir="rtl"] .drawer-top,
body[dir="rtl"] .drawer-summary {
  flex-direction: row-reverse;
}

@media (max-width: 1180px) {
  .stat-strip,
  .collection-grid,
  .feature-grid,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header,
  .contact-band,
  .site-footer,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav,
  .footer-links,
  .filter-row,
  .header-actions {
    justify-content: flex-start;
  }

  .hero {
    flex-direction: column;
    padding-top: 3rem;
  }

  .hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, var(--page-width));
    padding-top: 0.75rem;
  }

  .site-header {
    top: 0.5rem;
    gap: 0.6rem;
    padding: 0.78rem 0.85rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-header.has-mobile-menu .site-nav,
  .site-header.has-mobile-menu .header-actions {
    display: none;
  }

  .site-header.has-mobile-menu .brand {
    min-width: 0;
    gap: 0.55rem;
  }

  .site-header.has-mobile-menu .brand-tag {
    display: none;
  }

  .site-header.has-mobile-menu .brand-wordmark {
    font-size: 0.94rem;
    letter-spacing: 0.18em;
  }

  .site-menu-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .header-actions {
    width: auto;
    flex-wrap: nowrap;
  }

  .checkout-header__actions {
    width: auto;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .checkout-header__actions .button {
    width: auto;
    min-height: 42px;
    padding: 0.62rem 0.88rem;
  }

  .button,
  .filter-pill {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
  }

  .logo-card {
    width: 100%;
  }

  .cart-drawer {
    width: 100vw;
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .cart-item .icon-button {
    grid-column: 2;
    justify-self: end;
  }
}
