/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-dark:    #1a1a1a;
  --color-bg:      #f5f1ec;
  --color-accent:  #b8865a;
  --color-accent2: #9b6d42;
  --color-white:   #ffffff;
  --color-border:  #e8e0d5;
  --color-muted:   #7a7068;
  --color-green:   #25D366;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px rgba(26,26,26,.07);
  --shadow-md:     0 4px 20px rgba(26,26,26,.12);
  --transition:    .2s ease;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Manrope', 'Inter', system-ui, sans-serif;
  --header-h:      72px;
  --max-w:         1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(245,241,236,.84), rgba(245,241,236,.84)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-dark);
  line-height: 1.6;
  font-size: 16px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

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

/* ─── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-accent2); }
.btn--outline {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}
.btn--outline:hover { background: var(--color-accent); color: var(--color-white); }
.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn--dark:hover { background: #333; }
.btn--green {
  background: var(--color-green);
  color: var(--color-white);
  font-size: 16px;
  padding: 14px 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn--green:hover {
  background: #1da851;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  transform: translateY(-1px);
}
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 17px; }
.btn--full { width: 100%; }

/* ─── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(232,224,213,.6);
  transition: box-shadow var(--transition);
  height: var(--header-h);
  isolation: isolate;
}
/* blur on ::before so mobile nav (position:fixed) is not trapped in the header box */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { height: 56px; width: auto; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -.5px;
}
.logo-text span { color: var(--color-accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--color-bg);
  color: var(--color-accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: var(--transition);
  color: var(--color-dark);
}
.cart-btn:hover { background: var(--color-border); }
.cart-btn svg { width: 22px; height: 22px; }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 202;
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 198;
}
.nav-overlay.show { display: block; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.85);
  margin-top: 80px;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img { height: 52px; filter: invert(1); }
.footer-logo-text { display: none; }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--color-white);
}
.social-link[aria-label="Instagram"]:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.social-link[aria-label="WhatsApp"]:hover { background: #25d366; border-color: transparent; }

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-white);
  margin-bottom: 20px;
}
.footer-contacts li {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contacts a { color: rgba(255,255,255,.8); transition: var(--transition); }
.footer-contacts a:hover { color: var(--color-accent); }
.footer-contacts .label { font-size: 12px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .5px; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-nav a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: min(90vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=85');
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,.75) 0%, rgba(26,26,26,.35) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: var(--color-white);
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}
.hero__brands {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__brands-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.hero__brands-list { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__brand-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 6px 14px;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  line-height: 1.2;
}
.hero__brand-chip em {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,39,67,.45);
}

/* ── Combined hero + promo modifier ─────────────────────────────────────── */
.hero--promo {
  --color-lime: #D4AF7A;
  height: auto;
  min-height: 100svh;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 0 64px;
}
.hero--promo .hero__overlay {
  background: linear-gradient(180deg,
    rgba(10,10,10,.52) 0%,
    rgba(10,10,10,.60) 35%,
    rgba(10,10,10,.90) 100%
  );
}
.hero--promo .container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  position: relative;
  z-index: 1;
}
.hero--promo .hero__content {
  max-width: 680px;
  padding-top: 20px;
}

/* Divider between hero message and promo */
.hero__divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0 40px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,.35);
}
.hero__divider::before,
.hero__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
}
.hero__divider span {
  color: var(--color-lime);
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(212,175,122,.3);
}

/* Promo zone inside hero */
.hero__promo { width: 100%; }
.hero--promo .promo-timer { margin-bottom: 40px; }
.hero--promo .promo-grid { margin-bottom: 44px; }
.hero--promo .promo-cta { text-align: center; }

/* ─── Features ────────────────────────────────────────────────────────────── */
.features { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232,224,213,.6);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 60px;
  height: 60px;
  background: #fdf6f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-accent);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--color-muted); }

/* ─── Popular Products ────────────────────────────────────────────────────── */
.popular { padding: 80px 0; }
.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.popular-cta { text-align: center; }

/* ─── About Short ─────────────────────────────────────────────────────────── */
.about-short {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 80px 0;
  border-top: 1px solid rgba(232,224,213,.5);
  border-bottom: 1px solid rgba(232,224,213,.5);
}
.about-short__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-short__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-short__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-short__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.about-short__text { font-size: 15px; color: var(--color-muted); margin: 16px 0 28px; line-height: 1.8; }

/* ─── CTA Block ───────────────────────────────────────────────────────────── */
.cta-block {
  padding: 80px 0;
  text-align: center;
}
.cta-block__inner {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2e2520 100%);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  color: var(--color-white);
}
.cta-block__title { margin-bottom: 12px; color: var(--color-white); }
.cta-block__subtitle { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1.05rem; }
.cta-block__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Product Card ────────────────────────────────────────────────────────── */
.product-card {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232,224,213,.6);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  cursor: zoom-in;
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.04); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge--new { background: var(--color-accent); color: var(--color-white); }
.badge--hit { background: var(--color-dark); color: var(--color-white); }

.product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__brand {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.product-card__name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-body);
  line-height: 1.4;
}
.product-card__name a:hover { color: var(--color-accent); }
.product-card__specs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.product-card__specs span {
  background: var(--color-bg);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 500;
}
.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.product-card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
}
.product-card__price small { font-size: 13px; font-weight: 400; color: var(--color-muted); margin-left: 2px; }
.product-card__actions { display: flex; gap: 8px; }

/* ─── Catalog Page ────────────────────────────────────────────────────────── */
.catalog-page { padding: 48px 0 80px; }
.catalog-page__header { margin-bottom: 40px; }
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }

.filters-panel {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filters-panel h3 { font-size: 16px; margin-bottom: 20px; font-family: var(--font-body); font-weight: 700; }
.filter-group { margin-bottom: 28px; }
.filter-group__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--color-muted); margin-bottom: 12px; display: block; }
.checkbox-list { display: flex; flex-direction: column; gap: 8px; }
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.checkbox-list label:hover { color: var(--color-accent); }
.checkbox-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.price-range { padding: 4px 0; }
.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--color-accent);
  margin-bottom: 8px;
}
.price-range__values { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-muted); }

.filter-reset { width: 100%; margin-top: 4px; }

.catalog-main {}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-count { font-size: 14px; color: var(--color-muted); }
.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-size: 14px;
  color: var(--color-dark);
  cursor: pointer;
}
.sort-select:focus { outline: 2px solid var(--color-accent); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-muted);
}
.no-results h3 { margin-bottom: 8px; }

/* ─── Product Page ────────────────────────────────────────────────────────── */
.product-page { padding: 48px 0 80px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { opacity: .5; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
}
.product-price small { font-size: 1rem; font-weight: 400; color: var(--color-muted); }

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.product-specs-table tr { border-bottom: 1px solid var(--color-border); }
.product-specs-table tr:last-child { border-bottom: none; }
.product-specs-table td { padding: 10px 0; font-size: 14px; }
.product-specs-table td:first-child { color: var(--color-muted); width: 50%; }
.product-specs-table td:last-child { font-weight: 600; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty-control label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: block; }
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  transition: var(--transition);
  background: var(--color-bg);
}
.qty-btn:hover { background: var(--color-border); }
.qty-input {
  width: 70px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  padding: 8px;
  font-size: 15px;
  font-weight: 600;
  background: var(--color-white);
}
.qty-input:focus { outline: none; }

.product-add-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.product-total { font-size: 14px; color: var(--color-muted); margin-top: 4px; }

.product-description { padding: 40px 0; border-top: 1px solid var(--color-border); }
.product-description h2 { margin-bottom: 16px; }
.product-description p { font-size: 15px; color: var(--color-muted); line-height: 1.8; }

.related-products { padding-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Cart Page ───────────────────────────────────────────────────────────── */
.cart-page { padding: 48px 0 80px; }
.cart-page h1 { margin-bottom: 40px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 16px;
  align-items: center;
}
.cart-item__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cart-item__price { font-size: 13px; color: var(--color-muted); }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item__total { font-size: 1.1rem; font-weight: 700; }
.cart-item__remove {
  font-size: 12px;
  color: var(--color-muted);
  transition: var(--transition);
  text-decoration: underline;
  cursor: pointer;
}
.cart-item__remove:hover { color: #d63031; }

.cart-sidebar {}
.order-summary {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
  margin-bottom: 24px;
}
.order-summary h3 { margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--color-muted);
}
.summary-row.total {
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.order-form {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
}
.order-form h3 { margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .4px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
  background: var(--color-bg);
  color: var(--color-dark);
}
.form-control:focus { outline: none; border-color: var(--color-accent); background: var(--color-white); }
textarea.form-control { resize: vertical; min-height: 80px; }

.delivery-options { display: flex; flex-direction: column; gap: 8px; }
.delivery-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.delivery-option:hover, .delivery-option.selected { border-color: var(--color-accent); background: #fdf6f0; }
.delivery-option input { accent-color: var(--color-accent); }
.delivery-option span { font-size: 14px; font-weight: 500; }

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty__icon { font-size: 64px; margin-bottom: 24px; }
.cart-empty h2 { margin-bottom: 12px; }
.cart-empty p { color: var(--color-muted); margin-bottom: 32px; }

/* ─── About Page ──────────────────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2e2520 100%);
  padding: 80px 0;
  color: var(--color-white);
  text-align: center;
}
.about-hero h1 { color: var(--color-white); margin-bottom: 16px; }
.about-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.about-story { padding: 80px 0; }
.about-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-story__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.about-story__img img { width: 100%; height: 100%; object-fit: cover; }
.about-story__text p { font-size: 15px; color: var(--color-muted); line-height: 1.8; margin-bottom: 16px; }

.about-values { padding: 0 0 80px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.value-icon { font-size: 40px; margin-bottom: 16px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--color-muted); line-height: 1.7; }

/* ─── Contacts Page ───────────────────────────────────────────────────────── */
.contacts-page { padding: 48px 0 80px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 36px;
}
.contact-card h3 { margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-item__icon {
  width: 42px;
  height: 42px;
  background: #fdf6f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label { font-size: 12px; color: var(--color-muted); margin-bottom: 2px; }
.contact-item__value { font-size: 15px; font-weight: 600; }
.contact-item__value a:hover { color: var(--color-accent); }

.wa-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.wa-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.wa-btn:hover { background: #1da851; color: var(--color-white); }
.wa-btn svg { width: 24px; height: 24px; flex-shrink: 0; }

.contacts-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.contacts-map iframe { display: block; width: 100%; height: 400px; border: none; }

.contacts-map-2gis {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, #f9f5f0 0%, #fff 100%);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
  margin-top: 40px;
}
.contacts-map-2gis:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.contacts-map-2gis__pin {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.contacts-map-2gis__pin svg { width: 26px; height: 26px; }
.contacts-map-2gis__info { flex: 1; }
.contacts-map-2gis__title {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 4px;
}
.contacts-map-2gis__sub {
  font-size: 13px;
  color: var(--color-muted);
}
.contacts-map-2gis__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: #1cad6c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .contacts-map-2gis { flex-direction: column; text-align: center; padding: 24px 20px; }
  .contacts-map-2gis__btn { width: 100%; justify-content: center; }
}

/* ─── Delivery / Payment Pages ────────────────────────────────────────────── */
.info-page { padding: 48px 0 80px; }
.info-page__header { margin-bottom: 48px; }
.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.info-card__icon {
  width: 72px;
  height: 72px;
  background: #fdf6f0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
}
.info-card__icon svg { width: 36px; height: 36px; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.info-card p { font-size: 15px; color: var(--color-muted); line-height: 1.8; }
.info-card ul { margin-top: 12px; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.info-card ul li { font-size: 14px; color: var(--color-muted); }

/* ─── Page Header ─────────────────────────────────────────────────────────── */
.page-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0 40px;
  margin-bottom: 48px;
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { color: var(--color-muted); font-size: 1.05rem; }

/* ─── Toast ───────────────────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-dark);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: transform .3s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ─── WhatsApp Float ──────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 90;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,.6); }
.wa-float svg { width: 30px; height: 30px; fill: white; }

/* ─── Lightbox ────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  transform: scale(.94);
  transition: transform .28s ease;
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }

/* Clickable image hint */
.promo-may-card__img-wrap {
  cursor: zoom-in;
}
.promo-may-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .25s ease;
}
.promo-may-card__img-wrap:hover::after {
  background: rgba(0,0,0,.12);
}

/* ── Promo May ─────────────────────────────────────────────────────────────── */
.promo-may {
  --color-lime: #D4AF7A;
  position: relative;
  background: var(--color-dark);
  padding: 100px 0 80px;
  clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  color: var(--color-white);
}
.promo-may::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
.promo-may::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 60%, rgba(125,197,30,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(184,134,90,.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.promo-may .container { position: relative; z-index: 1; }

/* Header */
.promo-may__header { text-align: center; margin-bottom: 44px; }
.promo-may__period {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-lime);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.promo-may__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0;
  display: inline-block;
  position: relative;
}
.promo-may__title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background: var(--color-lime);
  border-radius: 2px;
  margin: 14px auto 0;
}
.promo-may__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.5);
  margin-top: 18px;
}

/* Timer */
.promo-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.promo-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
}
.promo-timer__num {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-lime);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
}
.promo-timer__label {
  font-size: 10px;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 7px;
}
.promo-timer__sep {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-accent);
  line-height: 1;
  padding-bottom: 24px;
  opacity: .6;
  user-select: none;
}

/* Cards grid */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 52px;
}

/* Card */
@keyframes promoReveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.promo-may-card {
  position: relative;
  background: rgba(20,16,12,.72);
  border: 5px solid rgba(212,175,122,.7);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) perspective(800px) rotateX(2deg);
  box-shadow:
    0 0 0 1px rgba(212,175,122,.12),
    0 4px 0 rgba(212,175,122,.25),
    0 16px 40px rgba(0,0,0,.7),
    0 40px 80px rgba(0,0,0,.45),
    0 0 60px rgba(212,175,122,.12);
  transition: transform .35s ease, box-shadow .35s ease, opacity .4s ease;
}
.promo-may-card.is-visible {
  opacity: 1;
  transform: translateY(0) perspective(800px) rotateX(0deg);
}
.promo-may-card:hover {
  transform: translateY(-10px) perspective(800px) rotateX(1.5deg);
  box-shadow:
    0 0 0 1px rgba(212,175,122,.2),
    0 4px 0 rgba(212,175,122,.35),
    0 24px 60px rgba(0,0,0,.8),
    0 56px 120px rgba(0,0,0,.5),
    0 0 80px rgba(212,175,122,.18);
}

/* Product image — framed */
.promo-may-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
  margin: 12px 12px 0;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 3px solid rgba(212,175,122,.75);
}
/* Corner accents */
.promo-may-card__img-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(212,175,122,.45) 0%,
    transparent 35%,
    transparent 65%,
    rgba(212,175,122,.2) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.promo-may-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  border-radius: inherit;
}
.promo-may-card:hover .promo-may-card__img-wrap img {
  transform: scale(1.05);
}

/* Card body */
.promo-may-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px 26px;
}

/* Badge */
.promo-may-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  background: var(--color-lime);
  color: #1a1208;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  transform: rotate(3deg);
  letter-spacing: .5px;
  box-shadow:
    0 2px 8px rgba(0,0,0,.4),
    0 0 0 1px rgba(212,175,122,.2);
}

/* Brand */
.promo-may-card__brand {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -.2px;
  line-height: 1.2;
}
.promo-may-card__brand span {
  font-size: .82rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.4);
  font-family: var(--font-body);
}

/* Product name */
.promo-may-card__product {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  font-family: var(--font-body);
  line-height: 1.5;
}

/* Cashback label */
.promo-may-card__cashback-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: -8px;
}

/* Price */
.promo-may-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.promo-may-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--color-lime);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.promo-may-card__unit {
  font-size: .9rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* Deadline note */
.promo-may-card__deadline {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 12px;
  margin-top: -4px;
}

/* Feature pills */
.promo-may-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.promo-may-card__pills span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.68);
  white-space: nowrap;
}

/* CTA */
.promo-cta { text-align: center; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 220px 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-may { clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); padding-top: 80px; }
  .about-short__inner { grid-template-columns: 1fr; }
  .about-story__inner { grid-template-columns: 1fr; }
  .about-short__img { max-width: 500px; }
  .product-layout { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    overflow-y: auto;
    z-index: 199;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open { display: flex; }
  .header-right {
    position: relative;
    z-index: 202;
  }
  .nav-link { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); }
  .burger { display: flex; }

  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }

  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { height: min(80vh, 500px); }
  .hero--promo { height: auto; min-height: 100svh; overflow: visible; padding-bottom: 80px; }
  .cta-block__inner { padding: 40px 20px; }
}

@media (max-width: 480px) {
  .promo-may-card { padding: 36px 20px 24px; }
  .promo-timer__unit { padding: 0 10px; }
  .promo-may { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); padding-top: 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .product-add-row { flex-direction: column; }
  .product-add-row .btn { width: 100%; }
  .hero--promo { padding: 60px 0 80px; }
  .hero__divider { margin: 32px 0 28px; font-size: 10px; }
  .hero--promo .promo-timer { margin-bottom: 28px; }
  .hero--promo .promo-grid { margin-bottom: 32px; gap: 20px; }
  .promo-may-card__body { padding: 18px 20px 22px; gap: 12px; }
  .promo-may-card__img-wrap { aspect-ratio: 3/2; }
}
