/* ============================================
   SHISHKINS — Мундштуки Шышкинсов
   Янтарная палитра, mobile-first
   ============================================ */

:root {
  /* Янтарная палитра */
  --amber-50:  #FFF8E7;
  --amber-100: #F5DEB3;
  --amber-200: #E8C887;
  --amber-300: #DAA520;
  --amber-500: #B8860B;
  --amber-700: #8B6914;
  --amber-900: #5C4608;

  --ink:       #1A1A1A;
  --ink-soft:  #4A4A4A;
  --ink-mute:  #888888;
  --line:      #E8E2D0;
  --bg:        #FFFBF2;     /* кремово-белый */
  --bg-soft:   #F5EFDF;
  --gold:      #B8860B;
  --gold-hov:  #8B6914;

  --r:         8px;
  --r-lg:      16px;

  --shadow:    0 1px 3px rgba(184,134,11,.08), 0 4px 16px rgba(184,134,11,.04);
  --shadow-h:  0 4px 12px rgba(184,134,11,.16), 0 8px 24px rgba(184,134,11,.08);

  --maxw:      1200px;
  --gap:       1.25rem;

  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-h:    'PT Serif', Georgia, 'Times New Roman', serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--amber-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber-700); }

h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; }
h4 { font-size: 1.05rem; margin: 1rem 0 .5rem; }

p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: .35rem; }

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

/* ===== HEADER ===== */
.header {
  background: rgba(255,251,242,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 700;
  color: var(--ink);
}
.logo__mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 2px 6px rgba(184,134,11,.3);
}
.logo__sub { font-size: .7rem; color: var(--ink-mute); font-weight: 400; }

.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--amber-500); }

.header__phone {
  font-weight: 600; color: var(--ink); font-size: 1rem;
}
.header__cta {
  background: var(--amber-500); color: #fff !important;
  padding: .55rem 1.1rem; border-radius: var(--r);
  font-weight: 600; font-size: .9rem;
  transition: background .2s;
}
.header__cta:hover { background: var(--amber-700); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--amber-50) 0%, var(--amber-100) 100%);
  padding: 4rem 0 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(218,165,32,.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero__eyebrow {
  display: inline-block; padding: .35rem .85rem;
  background: rgba(184,134,11,.15); color: var(--amber-700);
  border-radius: 99px; font-size: .85rem; font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 3rem; line-height: 1.1; margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--amber-500); }
.hero p { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1.75rem; max-width: 540px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__stats { display: flex; gap: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__stat strong { display: block; font-size: 1.75rem; color: var(--amber-500); font-family: var(--font-h); }
.hero__stat span { font-size: .85rem; color: var(--ink-mute); }

.hero__visual {
  position: relative; aspect-ratio: 1/1; max-width: 460px; margin: 0 auto;
}
.hero__visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  border-radius: 50% 30% 50% 30%;
  opacity: .15;
}
.hero__visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: var(--r);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 0;
  transition: all .2s; text-align: center; line-height: 1.2;
}
.btn--primary { background: var(--amber-500); color: #fff; }
.btn--primary:hover { background: var(--amber-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-h); }
.btn--ghost   { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--amber-500); color: var(--amber-500); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ===== SECTIONS ===== */
.section { padding: 4rem 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #f0f0f0; }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section__eyebrow { color: var(--amber-500); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .5rem; }
.section h2 { font-size: 2.25rem; margin-bottom: 1rem; }
.section__lead { font-size: 1.1rem; color: var(--ink-soft); }

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gap);
}
.product-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); transition: all .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: var(--amber-200); }
.product-card__media {
  aspect-ratio: 1/1; background: linear-gradient(135deg, var(--amber-50), var(--amber-100));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder { font-size: 4rem; opacity: .5; }
.product-card__badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .35rem; }
.badge {
  background: var(--ink); color: #fff; padding: .25rem .6rem;
  border-radius: 99px; font-size: .7rem; font-weight: 600; text-transform: uppercase;
}
.badge--gold { background: var(--amber-500); }
.badge--new  { background: #16a34a; }
.product-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card__name { font-family: var(--font-h); font-size: 1.1rem; font-weight: 600; margin-bottom: .25rem; }
.product-card__sub  { color: var(--ink-mute); font-size: .85rem; margin-bottom: .75rem; flex: 1; }
.product-card__price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1rem; }
.price { font-family: var(--font-h); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.price--old { font-size: 1rem; color: var(--ink-mute); text-decoration: line-through; }
.product-card__cta { display: flex; gap: .5rem; }
.product-card__cta .btn { flex: 1; padding: .65rem; font-size: .9rem; }

/* ===== CATEGORIES ===== */
.categories {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--gap);
}
.category {
  background: #fff; padding: 1.5rem; border-radius: var(--r-lg);
  text-align: center; border: 1px solid var(--line);
  transition: all .2s; color: var(--ink);
}
.category:hover { background: var(--amber-50); border-color: var(--amber-200); color: var(--ink); }
.category__icon { font-size: 2.5rem; margin-bottom: .5rem; }
.category__name { font-weight: 600; }

/* ===== BENEFITS ===== */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.benefit {
  background: #fff; padding: 1.5rem; border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.benefit__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-200));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.benefit h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.benefit p  { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.testimonial {
  background: #fff; padding: 1.5rem; border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.testimonial__stars { color: var(--amber-500); margin-bottom: .5rem; }
.testimonial__text  { font-style: italic; color: var(--ink-soft); margin-bottom: 1rem; }
.testimonial__author { font-weight: 600; font-size: .9rem; }
.testimonial__city   { color: var(--ink-mute); font-size: .85rem; }

/* ===== FAQ ===== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .75rem; }
.faq-q {
  padding: 1.25rem 1.5rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--amber-500); transition: transform .2s; }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 1.5rem 1.25rem; color: var(--ink-soft); }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: #d0d0d0; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer h5 { color: var(--amber-300); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer a { color: #d0d0d0; display: block; padding: .25rem 0; font-size: .9rem; }
.footer a:hover { color: var(--amber-300); }
.footer__bottom { border-top: 1px solid #333; padding-top: 1.5rem; text-align: center; font-size: .85rem; color: #999; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding: 1rem 0; font-size: .85rem; color: var(--ink-mute); }
.breadcrumbs a { color: var(--ink-mute); }
.breadcrumbs a:hover { color: var(--amber-500); }
.breadcrumbs span { margin: 0 .5rem; }

/* ===== PRODUCT PAGE ===== */
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; padding: 2rem 0; }
.product-gallery { position: sticky; top: 100px; }
.product-gallery__main {
  aspect-ratio: 1/1; background: var(--bg-soft); border-radius: var(--r-lg);
  margin-bottom: 1rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.product-gallery__thumb {
  aspect-ratio: 1/1; background: var(--bg-soft); border-radius: var(--r);
  border: 2px solid transparent; cursor: pointer; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-gallery__thumb.active { border-color: var(--amber-500); }

.product-info h1 { font-size: 2rem; margin-bottom: .5rem; }
.product-info__sub { color: var(--ink-mute); font-size: 1rem; margin-bottom: 1.5rem; }
.product-info__price { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.product-info__price .price { font-size: 2.5rem; }
.product-info__stock { color: #16a34a; font-size: .9rem; margin-bottom: 1.5rem; }
.product-info__stock::before { content: '●'; margin-right: .35rem; }
.product-info__sku { color: var(--ink-mute); font-size: .85rem; margin-bottom: 1.5rem; }

.product-tabs { margin-top: 3rem; }
.product-tabs__nav { display: flex; gap: .5rem; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; }
.product-tabs__btn {
  background: none; border: 0; padding: .85rem 1.25rem; cursor: pointer;
  font-weight: 600; color: var(--ink-mute); border-bottom: 2px solid transparent;
  margin-bottom: -2px; font-size: 1rem;
}
.product-tabs__btn.active { color: var(--amber-500); border-bottom-color: var(--amber-500); }
.product-tabs__panel { display: none; }
.product-tabs__panel.active { display: block; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.specs-table th { color: var(--ink-mute); font-weight: 500; width: 40%; }
.specs-table td { font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: 2.25rem; }
  .product-page { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header__phone { display: none; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.85rem; }
  .section h2 { font-size: 1.6rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1rem; }
  .hero__stat strong { font-size: 1.35rem; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.gap-2 { gap: 2rem; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
