:root {
  --color-bg: #0F0E0D;
  --color-bg-elevated: #1A1816;
  --color-bg-subtle: #141312;
  --color-text: #E8E4DC;
  --color-text-muted: #ADA8A3;
  --color-accent: #B8956A;
  --color-accent-hover: #D4B88C;
  --color-accent-muted: #8A7050;
  --color-secondary: #9B9590;
  --color-line: #2A2724;
  --color-line-accent: #3D3530;
  --color-hover: #E8E4DC;
  --color-white: #F5F1EB;
  --color-badge: #C44B3F;
  --color-success: #5A8A5A;
  --color-error: #C44B3F;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container-max: 1400px;
  --container-padding: clamp(1rem, 3vw, 4rem);
  --gap: 1.5rem;

  --transition: 0.3s ease;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cstyle%3Epath%7Bfill:%23B8956A;fill-opacity:0.025%7D%3C/style%3E%3C/defs%3E%3Cpath d='M100 20c-8 0-14 6-18 14-4-4-10-6-16-4-6 2-10 8-10 14 0 4 2 8 4 10-6 4-10 10-10 18s4 14 10 18c-2 2-4 6-4 10 0 6 4 12 10 14 6 2 12 0 16-4 4 8 10 14 18 14s14-6 18-14c4 4 10 6 16 4 6-2 10-8 10-14 0-4-2-8-4-10 6-4 10-10 10-18s-4-14-10-18c2-2 4-6 4-10 0-6-4-12-10-14-6-2-12 0-16 4-4-8-10-14-18-14zm0 28c14 0 24 10 24 24s-10 24-24 24-24-10-24-24 10-24 24-24z'/%3E%3Cpath d='M100 52c-6 0-12 6-12 12s6 12 12 12 12-6 12-12-6-12-12-12zm0 8c2 0 4 2 4 4s-2 4-4 4-4-2-4-4 2-4 4-4z'/%3E%3Cpath d='M40 0v8c0 4 2 6 4 8l-4 4v16l4 4c-2 2-4 4-4 8v8h8c4 0 6-2 8-4l4 4h16l4-4c2 2 4 4 8 4h8v-8c0-4-2-6-4-8l4-4V16l-4-4c2-2 4-4 4-8V0h-8c-4 0-6 2-8 4l-4-4H56l-4 4C50 2 48 0 44 0h-4zm20 16c2-2 4-4 4-4h4s2 2 4 4c2-2 4-4 4-4h4s2 2 4 4V28c-2 2-4 4-4 4v4s-2 2-4 4c2 2 4 4 4 4v4s-2 2-4 4h-4c-2-2-4-4-4-4-2 2-4 4-4 4h-4c-2-2-4-4-4-4V36c2-2 4-4 4-4v-4s-2-2-4-4z' transform='translate(0,144)'/%3E%3Cpath d='M40 0v8c0 4 2 6 4 8l-4 4v16l4 4c-2 2-4 4-4 8v8h8c4 0 6-2 8-4l4 4h16l4-4c2 2 4 4 8 4h8v-8c0-4-2-6-4-8l4-4V16l-4-4c2-2 4-4 4-8V0h-8c-4 0-6 2-8 4l-4-4H56l-4 4C50 2 48 0 44 0h-4zm20 16c2-2 4-4 4-4h4s2 2 4 4c2-2 4-4 4-4h4s2 2 4 4V28c-2 2-4 4-4 4v4s-2 2-4 4c2 2 4 4 4 4v4s-2 2-4 4h-4c-2-2-4-4-4-4-2 2-4 4-4 4h-4c-2-2-4-4-4-4V36c2-2 4-4 4-4v-4s-2-2-4-4z' transform='translate(144,0)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-size: 0.875rem;
  border-radius: 0 0 4px 4px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section__title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  text-align: center;
  color: var(--color-secondary);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== HEADER ========== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 14, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--transition);
  height: var(--header-height);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  white-space: nowrap;
}

.header__logo a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: 2rem;
}

.header__nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.header__nav-link:hover::after,
.header__nav-link:focus-visible::after {
  width: 100%;
}

.header__nav-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__cart {
  position: relative;
  padding: 0.5rem;
  transition: opacity var(--transition);
}

.header__cart:hover {
  opacity: 0.7;
}

.header__cart:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

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

.header__cart-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background: var(--color-badge);
  color: var(--color-white);
  font-size: 0.625rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition);
}

.header__cart-badge--visible {
  opacity: 1;
  transform: scale(1);
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  padding: 10px;
  height: 24px;
  padding: 0;
}

.burger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.burger__line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-white);
  transition: all var(--transition);
  transform-origin: center;
}

.burger--active .burger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger--active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger--active .burger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-elevated);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2rem var(--container-padding);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-line);
}

.mobile-menu__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A1816 0%, #141210 30%, #0F0E0D 60%, #0A0908 100%);
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero__text {
  max-width: 680px;
}

.hero__image {
  flex-shrink: 0;
  width: clamp(140px, 18vw, 220px);
  height: clamp(190px, 24vw, 300px);
  border-radius: 10px;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

@media (max-width: 640px) {
  .hero__content {
    flex-direction: column;
    text-align: center;
  }
  .hero__image {
    width: 160px;
    height: 210px;
    transform: rotate(-1deg);
  }
  .hero__subtitle {
    margin-inline: auto;
  }
}

.hero__title {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--color-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.btn--primary {
  background: var(--color-accent);
  color: #0F0E0D;
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #0F0E0D;
}

.btn--full {
  width: 100%;
}

/* ========== BRAND SECTION ========== */

.brand {
  display: grid;
  gap: 2rem;
}

.brand__image {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #1A1816, #141312);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.brand__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand__title {
  margin-bottom: 1.25rem;
}

.brand__text {
  color: var(--color-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 0.9375rem;
}

/* ========== PRODUCT CARD ========== */

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-bg-elevated);
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-line);
}

.product-card__image,
.product-card__image-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}

.product-card__image-hover {
  opacity: 0;
}

.product-card:hover .product-card__image-hover {
  opacity: 1;
}

.product-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1A1816, #141312);
  color: var(--color-secondary);
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
  gap: 0.5rem;
  transition: background var(--transition);
}

.product-card__placeholder-icon {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}

.product-card:hover .product-card__placeholder {
  background: linear-gradient(145deg, #201E1C, #1A1816);
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.product-card__price {
  font-size: 0.875rem;
  color: var(--color-accent);
}

/* ========== STYLIST PICKS (horizontal scroll) ========== */

.picks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

/* ========== ADVANTAGES ========== */

.advantages__grid {
  display: grid;
  gap: 2rem;
}

.advantage {
  text-align: left;
  padding: 2rem 1rem;
}

.advantage__icon {
  width: 48px;
  height: 48px;
  margin: 0 0 1rem;
  color: var(--color-secondary);
}

.advantage__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.advantage__text {
  font-size: 0.875rem;
  color: var(--color-secondary);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* ========== CATEGORIES GRID ========== */

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.category-tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--color-white);
}

.category-tile:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.category-tile__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #2A2724, #1A1816);
  transition: transform var(--transition);
}

.category-tile:hover .category-tile__bg {
  transform: scale(1.03);
}

.category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
}

.category-tile__content {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  width: 100%;
}

.category-tile__name {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 0.25rem;
}

.category-tile__count {
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* ========== SUBSCRIBE ========== */

.subscribe {
  background: var(--color-bg-elevated);
  color: var(--color-white);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.subscribe__title {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.subscribe__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe .btn--outline {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.subscribe .btn--outline:hover {
  background: var(--color-accent);
  color: #0F0E0D;
}

/* ========== FOOTER ========== */

.footer {
  background: var(--color-bg-subtle);
  color: var(--color-white);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--color-line);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer__link {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__link:focus-visible {
  outline: 1px solid var(--color-white);
  outline-offset: 2px;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-line-accent);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer__social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer__social-link:focus-visible {
  outline: 1px solid var(--color-white);
  outline-offset: 2px;
}

.footer__bottom {
  border-top: 1px solid var(--color-line);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ========== BREADCRUMBS ========== */

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--color-secondary);
}

.breadcrumb a {
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.breadcrumb__separator {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* ========== CATALOG ========== */

.catalog__header {
  margin-bottom: 2rem;
}

.catalog__title {
  margin-bottom: 1.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filters__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filters__label {
  font-size: 0.75rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}

.filter-chip {
  padding: 0.625rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  border: 1px solid var(--color-line);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-chip:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.filter-chip:hover {
  border-color: var(--color-accent-muted);
  color: var(--color-accent);
}

.filter-chip--active {
  background: var(--color-accent);
  color: #0F0E0D;
  border-color: var(--color-accent);
  font-weight: 500;
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  font-size: 0.8125rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239B9590' stroke-width='1.5' fill='none' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.sort-select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.catalog__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.catalog__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-secondary);
  font-size: 1.125rem;
}

/* ========== PRODUCT PAGE ========== */

.product {
  display: grid;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.product__gallery {
  position: relative;
}

.product__main-image {
  aspect-ratio: 3/4;
  background: var(--color-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 0.875rem;
  cursor: zoom-in;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-line);
}

.product__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-line) transparent;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}

.product__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 80px;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-line);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--color-secondary);
}

.product__thumb:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.product__thumb--active {
  border-color: var(--color-accent);
}

.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product__brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
}

.product__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: none;
  letter-spacing: 0;
}

.product__price {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-accent);
}

.product__sizes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product__sizes-label {
  font-size: 0.8125rem;
  font-weight: 500;
}

.product__sizes-list {
  display: flex;
  gap: 0.5rem;
}

.size-btn {
  min-width: 56px;
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-line);
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}

.size-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.size-btn:hover {
  border-color: var(--color-accent-muted);
}

.size-btn--active {
  background: var(--color-accent);
  color: #0F0E0D;
  border-color: var(--color-accent);
  font-weight: 500;
}

.size-guide-toggle {
  font-size: 0.75rem;
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition);
  align-self: flex-start;
  background: none;
  border: none;
}

.size-guide-toggle:hover {
  color: var(--color-text);
}

.size-guide-table {
  display: none;
  margin-top: 0.75rem;
  overflow-x: auto;
}

.size-guide-table--visible {
  display: block;
}

.size-guide-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.size-guide-table th,
.size-guide-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}

.size-guide-table th {
  color: var(--color-secondary);
  font-weight: 400;
  font-size: 0.75rem;
}

.product__add-to-cart {
  width: 100%;
  padding: 1.125rem;
  background: var(--color-accent);
  color: #0F0E0D;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.product__add-to-cart:hover {
  background: var(--color-accent-hover);
}

.product__add-to-cart:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.product__add-to-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product__trust {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-secondary);
}

.trust-item__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}

.product__short-desc {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* ========== TABS / ACCORDION ========== */

.product-tabs {
  border-top: 1px solid var(--color-line);
}

.tab-header {
  display: flex;
  border-bottom: 1px solid var(--color-line);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-header::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 1rem 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  color: var(--color-secondary);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.tab-btn--active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

.tab-panel {
  display: none;
  padding: 1.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
}

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

.tab-panel ul {
  padding-left: 0;
}

.tab-panel li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.375rem;
}

.tab-panel li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-size: 0.75rem;
}

/* ========== CROSS-SELL ========== */

.cross-sell {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--color-line);
}

.cross-sell__title {
  margin-bottom: 2rem;
}

.cross-sell__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

/* ========== LIGHTBOX ========== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  cursor: zoom-out;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__placeholder {
  width: 70vw;
  height: 80vh;
  max-width: 600px;
  background: linear-gradient(145deg, #1A1816, #0F0E0D);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox__nav:hover {
  opacity: 1;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

/* ========== CART DRAWER ========== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.cart-overlay--open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--color-bg-elevated);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-line);
}

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

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--container-padding);
  border-bottom: 1px solid var(--color-line);
}

.cart-drawer__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.cart-drawer__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem var(--container-padding);
}

.cart-drawer__empty {
  text-align: center;
  color: var(--color-secondary);
  padding: 3rem 1rem;
  font-size: 0.9375rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
}

.cart-item__image {
  aspect-ratio: 3/4;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--color-secondary);
  overflow: hidden;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.cart-item__size {
  font-size: 0.75rem;
  color: var(--color-secondary);
}

.cart-item__price {
  font-size: 0.875rem;
  margin-top: auto;
}

.cart-item__remove {
  font-size: 0.6875rem;
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 0.25rem;
}

.cart-item__remove:hover {
  color: var(--color-text);
}

.cart-drawer__footer {
  padding: 1.25rem var(--container-padding);
  border-top: 1px solid var(--color-line);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.cart-drawer__checkout {
  width: 100%;
  padding: 1rem;
  background: var(--color-accent);
  color: #0F0E0D;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.cart-drawer__checkout:hover {
  background: var(--color-accent-hover);
}

/* ========== FAQ ACCORDION ========== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-text);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.faq-question__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 1rem;
  transition: transform var(--transition);
  color: var(--color-accent-muted);
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer__inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.faq-question--static {
  cursor: default;
}

.faq-question--static:hover {
  color: var(--color-text);
}

/* ========== BRANDS ========== */

.brands__category-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.brands__list {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* ========== ARTICLE / BLOG ========== */

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
}

.article-meta__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.article-toc {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.article-toc__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.article-toc__list {
  counter-reset: toc;
}

.article-toc__link {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--color-accent);
  counter-increment: toc;
}

.article-toc__link::before {
  content: counter(toc) '. ';
  color: var(--color-accent-muted);
}

.article-toc__link:hover {
  color: var(--color-accent-hover);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.article-body p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.article-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--color-accent-hover);
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.375rem;
}

.article-body blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.article-body img {
  border: 1px solid var(--color-line);
  margin: 1.5rem 0;
}

/* Related articles grid */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.related-card {
  display: block;
  padding: 1.25rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  transition: border-color var(--transition);
}

.related-card:hover {
  border-color: var(--color-accent-muted);
}

.related-card__cluster {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.related-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-white);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.related-card__excerpt {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========== CHECKOUT FORM ========== */

.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 0.75rem 1.25rem;
  position: relative;
}

.checkout-step::after {
  content: '';
  position: absolute;
  right: -1rem;
  width: 2rem;
  height: 1px;
  background: var(--color-line);
}

.checkout-step:last-child::after {
  display: none;
}

.checkout-step__number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
}

.checkout-step--active {
  color: var(--color-white);
}

.checkout-step--active .checkout-step__number {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #0F0E0D;
}

.checkout-step--done .checkout-step__number {
  background: var(--color-success);
  border-color: var(--color-success);
  color: var(--color-white);
}

.checkout-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.form-field__label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form-field__input,
.form-field__select,
.form-field__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-field__input::placeholder,
.form-field__textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-field__input:focus,
.form-field__select:focus,
.form-field__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field__input--valid {
  border-color: var(--color-success);
}

.form-field__input--invalid {
  border-color: var(--color-error);
}

.form-field__error {
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 0.25rem;
  display: none;
}

.form-field__input--invalid ~ .form-field__error {
  display: block;
}

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

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  cursor: pointer;
  transition: border-color var(--transition);
}

.delivery-option:hover {
  border-color: var(--color-accent-muted);
}

.delivery-option--selected {
  border-color: var(--color-accent);
}

.delivery-option__info {
  flex: 1;
}

.delivery-option__name {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.delivery-option__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.delivery-option__price {
  font-size: 0.875rem;
  color: var(--color-accent);
  white-space: nowrap;
}

/* ========== PROGRESS BAR (free shipping) ========== */

.progress-bar {
  margin-bottom: 1rem;
}

.progress-bar__track {
  height: 4px;
  background: var(--color-line);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: var(--color-accent);
  transition: width 0.5s ease;
}

.progress-bar__text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.375rem;
}

.progress-bar__text--complete {
  color: var(--color-success);
}

/* ========== STICKY MOBILE CTA ========== */

.product__sticky-buy {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-line);
  padding: 0.75rem var(--container-padding);
  z-index: 900;
  gap: 1rem;
  align-items: center;
}

.product__sticky-buy .product__sticky-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.product__sticky-buy .btn {
  flex: 1;
  padding: 0.875rem 1rem;
}

/* ========== CART PAGE ========== */

.cart-page {
  min-height: 60vh;
}

.cart-page__grid {
  display: grid;
  gap: 2rem;
}

.cart-page__items {
  display: flex;
  flex-direction: column;
}

.cart-page__item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-line);
  align-items: center;
}

.cart-page__item-image {
  aspect-ratio: 3/4;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.cart-page__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-page__summary {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  align-self: flex-start;
}

.cart-page__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.cart-page__summary-row--total {
  border-top: 1px solid var(--color-line);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.cart-page__summary-row--total .cart-page__summary-value {
  color: var(--color-accent);
}

/* ========== SIZE GUIDE PAGE ========== */

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.size-table th,
.size-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}

.size-table th {
  font-weight: 500;
  color: var(--color-accent);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.size-table td {
  color: var(--color-text);
}

.size-table tr:hover td {
  background: var(--color-bg-elevated);
}

/* ========== CONTACT PAGE ========== */

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
}

.contact-card__icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.contact-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact-card__link {
  color: var(--color-accent);
}

.contact-card__link:hover {
  color: var(--color-accent-hover);
}

/* ========== PAGE HERO ========== */

.page-hero {
  margin: 1.5rem 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  max-height: 260px;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (min-width: 768px) {
  .page-hero {
    max-height: none;
    max-width: 320px;
    aspect-ratio: 3/4;
  }
}

/* Brand hero — AMBIGRAM */
.brand-hero__image {
  max-height: 260px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.brand-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (min-width: 768px) {
  .brand-hero__image {
    max-height: none;
    max-width: 320px;
    aspect-ratio: 3/4;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========== INFO PAGES (delivery, etc.) ========== */

.info-page .container {
  max-width: 800px;
}

.info-block {
  margin-bottom: 2.5rem;
}

.info-block__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.info-table th,
.info-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}

.info-table th {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.info-table td {
  color: var(--color-text);
}

.info-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.info-block__note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.info-block__list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1rem;
}

.info-block__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.625rem;
  line-height: 1.7;
}

.info-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-accent-muted);
  border-radius: 50%;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.contact-method {
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.contact-method__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-method__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.info-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.info-page p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.info-page ul {
  margin-bottom: 1rem;
  padding-left: 0;
}

.info-page li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.info-page li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-accent-muted);
  border-radius: 50%;
}

/* ========== THANK YOU / SUCCESS ========== */

.success-page {
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.success-page__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-success);
}

.success-page__title {
  margin-bottom: 0.75rem;
}

.success-page__order {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.success-page__text {
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ========== BLOG ========== */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-line);
  transition: border-color var(--transition), transform var(--transition);
}

.blog-card:hover {
  border-color: var(--color-accent-muted);
  transform: translateY(-2px);
}

.blog-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 1.25rem 1.5rem;
}

.blog-card__meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Article */

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.article__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-line);
}

.article__meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article__meta span + span::before {
  content: '\00b7';
  margin: 0 0.5rem;
}

.article__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.article__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Article body typography */

.article__body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.article__body h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.article__body p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--color-text);
}

.article__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.article__body a:hover {
  color: var(--color-accent-hover);
}

.article__body ul,
.article__body ol {
  margin-bottom: 1.25rem;
  padding-left: 0;
}

.article__body li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-accent-muted);
  border-radius: 50%;
}

.article__body ol {
  counter-reset: article-ol;
}

.article__body ol li {
  counter-increment: article-ol;
}

.article__body ol li::before {
  content: counter(article-ol) '.';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 500;
}

.article__body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-elevated);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.article__body img {
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  display: block;
}

.article__body figure {
  margin: 2rem 0;
}

.article__body figcaption {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Article CTA block */

.article__cta {
  margin: 3rem 0;
  padding: 2rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg-elevated);
  text-align: center;
}

.article__cta-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.article__cta-text {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Related articles */

.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.related-articles__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Table of Contents */

.article__toc {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg-subtle);
}

.article__toc-title {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.article__toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}

.article__toc li {
  counter-increment: toc;
  padding: 0;
  margin-bottom: 0.375rem;
}

.article__toc li::before {
  display: none;
}

.article__toc a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.article__toc a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* ========== ANIMATIONS ========== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */

@media (min-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .header__nav {
    display: block;
  }

  .burger {
    display: none;
  }

  .brand {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
  }

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

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

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

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

  .catalog__controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .cross-sell__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .product__thumb {
    width: 72px;
    height: 90px;
  }

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product {
    grid-template-columns: 3fr 2fr;
  }

  .catalog__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product__thumb {
    width: 80px;
    height: 100px;
  }

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

  .categories__grid .category-tile:nth-child(4),
  .categories__grid .category-tile:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .product__sticky-buy {
    display: flex;
  }

  .checkout-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .checkout-step::after {
    display: none;
  }
}

@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cart-page__grid {
    grid-template-columns: 1fr 320px;
  }

  .cart-page__item {
    grid-template-columns: 120px 1fr auto;
  }
}

@media (min-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .picks__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Content Hub: Homepage sections ─── */

.quote-block {
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.fact-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.fact-bar__item {
  text-align: center;
}

.fact-bar__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.fact-bar__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.brand--reverse {
  flex-direction: row-reverse;
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.press-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.press-card__icon {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.press-card__quote {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  flex: 1;
  word-break: break-word;
}

.press-card__source {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-preview {
  text-align: left;
}

.blog-preview__cta {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .press-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Pagination ─── */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.pagination__link,
.pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.pagination__current {
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 500;
}

.pagination__link {
  color: var(--color-text-muted);
  border: 1px solid var(--color-line);
}

.pagination__link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ─── Product Subpages ─── */

.subpage-layout {
  display: grid;
  gap: 3rem;
}

.subpage-layout__content {
  min-width: 0;
}

.subpage-layout__sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .subpage-layout {
    grid-template-columns: 1fr 300px;
  }
  .subpage-layout__sidebar {
    display: block;
  }
}

/* Mini product card (sidebar) */
.mini-card {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
}

.mini-card__image {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.mini-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.mini-card__price {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.mini-card__btn {
  display: block;
  width: 100%;
  text-align: center;
}

/* Subpage navigation links */
.subpage-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.subpage-nav__link {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.subpage-nav__link:hover {
  color: var(--color-accent-hover);
}

/* Product subpages block on product page */
.product-subpages {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.product-subpages__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  transition: var(--transition);
}

.product-subpages__link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Outfit cards (styling guide) */
.outfits-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.outfit-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 2rem;
}

.outfit-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.outfit-card__context {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.outfit-card__items {
  list-style: none;
  margin-bottom: 1rem;
}

.outfit-card__items li {
  padding: 0.25rem 0;
  color: var(--color-text);
}

.outfit-card__items li::before {
  content: '+ ';
  color: var(--color-accent);
}

.outfit-card__items a {
  color: var(--color-accent);
  text-decoration: none;
}

.outfit-card__items a:hover {
  text-decoration: underline;
}

.outfit-card__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Comparison table */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}

.comparison-table th {
  background: var(--color-bg-elevated);
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.comparison-table td:first-child {
  font-weight: 500;
  white-space: nowrap;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table a {
  color: var(--color-accent);
  text-decoration: none;
}

.comparison-table a:hover {
  text-decoration: underline;
}

/* Decision framework cards */
.decision-framework {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 768px) {
  .decision-framework {
    grid-template-columns: repeat(2, 1fr);
  }
}

.decision-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 1.5rem;
}

.decision-card__scenario {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.decision-card__pick {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.decision-card__pick a {
  color: inherit;
  text-decoration: none;
}

.decision-card__pick a:hover {
  text-decoration: underline;
}

.decision-card__reason {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}
