/* ============================================================
   Sultry Shield — Black&Nude
   Палітра: глибокий чорний + nude/карамель, теплий акцент.
   Шрифти: Cormorant Garamond (дисплейний serif, кирилиця) + Inter.
   ============================================================ */

:root {
  /* Токени айдентики Sultry Shield (.claude/skills/sultry-identics) */
  --bg: #16100d;
  --bg-soft: #211712;
  --bg-card: #2b1d16;
  --line: #3d2c1f;
  --text: #f1e4d6;
  --text-muted: #b59b85;
  --nude: #d3a67c;
  --nude-deep: #c8956d;
  --accent: #e8cba8;
  --danger: #e07a5f;
  --radius: 14px;
  --container: 1120px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 16, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 38px; height: 38px; }
.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a { color: var(--text-muted); transition: color 0.2s; }
.site-nav a:hover { color: var(--accent); }
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cart-link__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--nude-deep);
  color: #16100d;
  font-size: 12px;
  font-weight: 700;
}
.cart-link__badge.is-empty { background: var(--line); color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero__stitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}
.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(200, 149, 109, 0.16), transparent),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(200, 149, 109, 0.08), transparent),
    var(--bg);
  overflow: hidden;
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--nude-deep);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(42px, 6.5vw, 76px);
  max-width: 15ch;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero__lead {
  margin-top: 26px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--text-muted);
}
.hero__actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1px solid var(--nude-deep);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: var(--accent);
}
.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--nude-deep));
  color: #16100d;
  border: none;
  font-weight: 600;
}
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost:hover { background: rgba(232, 203, 168, 0.08); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- USP strip ---------- */
.usp {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.usp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 44px 0;
}
.usp__item h3 { font-size: 22px; color: var(--accent); margin-bottom: 8px; }
.usp__item p { font-size: 15px; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section__eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nude-deep);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 18px;
}
.section__lead { max-width: 62ch; color: var(--text-muted); margin-bottom: 48px; }

/* ---------- Catalog ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--nude-deep); }
.product-card__img { position: relative; aspect-ratio: 4 / 5; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(22, 16, 13, 0.85);
  border: 1px solid var(--nude-deep);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__name { font-family: var(--serif); font-size: 22px; color: var(--text); }
.product-card__short { font-size: 14px; color: var(--text-muted); flex: 1; }
.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.product-card__price { font-size: 18px; font-weight: 600; color: var(--accent); }
.product-card__link {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nude);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.product-card:hover .product-card__link { border-color: var(--nude); }

/* ---------- Story / problem ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.story-list { display: grid; gap: 22px; margin-top: 8px; }
.story-list__item {
  padding-left: 22px;
  border-left: 2px solid var(--nude-deep);
}
.story-list__item h3 { font-size: 21px; color: var(--accent); margin-bottom: 6px; }
.story-list__item p { font-size: 15px; color: var(--text-muted); }
.quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--nude-deep);
  padding-left: 26px;
  margin-top: 34px;
}
.quote small {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--nude-deep); font-size: 26px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--text-muted); font-size: 15px; max-width: 64ch; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 56px 0 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nude-deep);
  margin-bottom: 16px;
}
.site-footer a { color: var(--text-muted); transition: color 0.2s; display: block; margin-bottom: 8px; font-size: 15px; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { color: var(--text-muted); font-size: 15px; max-width: 40ch; }
.site-footer__bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #6e5d55;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Product page ---------- */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  padding: 70px 0 90px;
  align-items: start;
}
.product-layout__img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: sticky;
  top: 100px;
}
.breadcrumbs { font-size: 13px; color: var(--text-muted); padding-top: 28px; }
.breadcrumbs a:hover { color: var(--accent); }
.product-info h1 { font-size: clamp(32px, 4vw, 46px); margin: 10px 0 6px; }
.product-info__sku { font-size: 13px; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; }
.product-info__price { font-size: 30px; color: var(--accent); font-weight: 600; margin: 22px 0; }
.product-info__desc { color: var(--text-muted); max-width: 56ch; }
.option-group { margin-top: 26px; }
.option-group__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}
.option-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.option-pill {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.option-pill:hover { border-color: var(--nude); }
.option-pill.is-active {
  border-color: var(--nude-deep);
  background: rgba(200, 149, 109, 0.14);
  color: var(--accent);
}
.qty-picker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.qty-picker button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
}
.qty-picker span { min-width: 32px; text-align: center; font-size: 16px; }
.product-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; align-items: center; }
.added-note { margin-top: 16px; color: var(--nude); font-size: 14px; }
.feature-list { margin-top: 34px; display: grid; gap: 10px; }
.feature-list li {
  list-style: none;
  padding-left: 26px;
  position: relative;
  color: var(--text-muted);
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--nude-deep);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* ---------- Cart page ---------- */
.page-title { padding: 60px 0 10px; }
.page-title h1 { font-size: clamp(34px, 4vw, 50px); }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding: 40px 0 90px; align-items: start; }
.cart-items { display: grid; gap: 18px; }
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.cart-item__img { width: 84px; border-radius: 8px; overflow: hidden; }
.cart-item__name { font-family: var(--serif); font-size: 20px; }
.cart-item__name:hover { color: var(--accent); }
.cart-item__meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.cart-item__remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  opacity: 0.85;
}
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.cart-item__qty button {
  width: 36px; height: 36px;
  background: none; border: none;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
}
.cart-item__qty span { min-width: 26px; text-align: center; }
.cart-item__price { font-weight: 600; color: var(--accent); white-space: nowrap; }

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.checkout-card h2 { font-size: 26px; margin-bottom: 6px; }
.checkout-card__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.checkout-card__total strong { font-size: 24px; color: var(--accent); }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--nude-deep);
}
.radio-row { display: grid; gap: 10px; }
.radio-row label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.radio-row label:has(input:checked) { border-color: var(--nude-deep); background: rgba(200, 149, 109, 0.1); }
.radio-row input { accent-color: var(--nude-deep); margin-top: 3px; }
.checkout-card .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 12.5px; color: #8d7466; margin-top: 14px; }

.notice {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--nude-deep);
  background: rgba(200, 149, 109, 0.08);
  font-size: 14px;
}
.notice--error { border-color: var(--danger); background: rgba(224, 122, 95, 0.08); }
.notice h3 { font-size: 20px; margin-bottom: 8px; color: var(--accent); }
.notice textarea {
  width: 100%;
  min-height: 150px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13.5px;
}
.notice .btn { width: auto; padding: 10px 22px; margin-right: 10px; }

.empty-state {
  text-align: center;
  padding: 70px 0 100px;
}
.empty-state h2 { font-size: 30px; margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- Thanks page ---------- */
.thanks {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 110px 24px 130px;
}
.thanks__icon { font-size: 54px; margin-bottom: 18px; }
.thanks h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 16px; }
.thanks p { color: var(--text-muted); margin-bottom: 12px; }
.thanks .btn { margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .usp__grid { grid-template-columns: 1fr; gap: 24px; }
  .story-grid, .product-layout, .cart-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-layout__img, .checkout-card { position: static; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item__img { width: 64px; }
  .cart-item__qty { grid-column: 2; justify-self: start; }
  .cart-item__price { grid-column: 2; justify-self: start; }
}
