:root {
  --bg: #f7f5f2;
  --bg-soft: #efeae3;
  --surface: #ffffff;
  --ink: #1a1c1b;
  --muted: #6d6a64;
  --line: #e4dfd7;
  --accent: #2f4a45;
  --accent-2: #8a7355;
  --danger: #9b2c2c;
  --ok: #2f5d3a;
  --footer-bg: #171816;
  --footer-text: #d8d3cb;
  --topbar-bg: #ece8e2;
  --header-bg: rgba(247, 245, 242, .92);
  --header-bg-scrolled: rgba(255, 255, 255, .94);
  --shadow: 0 18px 50px rgba(26, 28, 27, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 460px; }

.topbar { background: var(--topbar-bg); font-size: 12px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; min-height: 34px; align-items: center; flex-wrap: wrap; }
.topbar__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar__links a { color: var(--muted); letter-spacing: .02em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-2) 22%, color-mix(in srgb, var(--accent-2) 70%, var(--ink)) 50%, var(--accent-2) 78%, transparent 100%);
}
.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: color-mix(in srgb, var(--line) 95%, transparent);
  box-shadow: 0 10px 30px rgba(26, 28, 27, .08);
}
.site-header .topbar {
  background: transparent;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.site-header .topbar__links a {
  position: relative;
  padding: .15rem 0;
  transition: color .2s ease;
}
.site-header .topbar__links a:hover { color: var(--ink); }
.site-header .header-main {
  background: transparent;
  border-bottom: 0;
}
.site-header .main-nav {
  background: rgba(255,255,255,.35);
  border-bottom: 0;
  border-top: 1px solid rgba(228, 223, 215, .55);
}
.site-header .main-nav__inner { padding: .7rem 0; }
.site-header .logo-mark {
  transition: transform .35s ease;
}
.site-header.is-scrolled .logo-mark {
  transform: scale(.92);
}
.site-header.is-scrolled .header-main__inner {
  min-height: 72px;
  transition: min-height .25s ease;
}
.header-main__inner { transition: min-height .25s ease; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  border: 1px solid rgba(26, 28, 27, .12);
  border-radius: 999px;
  padding: .15rem;
  background: rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.lang-switch__btn {
  min-width: 36px;
  padding: .28rem .55rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active {
  background: var(--ink);
  color: #fff;
}

.header-main { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-main__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  gap: 1rem;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: 14px;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.header-phone:hover {
  color: var(--ink);
  background: rgba(255,255,255,.7);
  border-color: rgba(228, 223, 215, .95);
}
.logo {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: .15rem;
  color: var(--ink);
}
.logo-mark {
  display: grid;
  place-items: center;
  color: var(--accent-2, #b08a4a);
  width: 44px;
  height: 44px;
}
.logo-mark__svg { display: block; width: 100%; height: 100%; }
.logo-mark__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-emblem {
  width: 88px; height: 88px; margin-bottom: 1rem;
  color: var(--accent-2, #b08a4a);
}
.brand-emblem .logo-mark { width: 100%; height: 100%; }
.brand-emblem .logo-mark__cut { fill: var(--bg, #f3f1ee); }
.logo__text {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.1;
}
.logo__tag {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.header-actions { display: flex; justify-content: flex-end; gap: .35rem; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; position: relative; color: var(--ink);
  border-radius: 50%;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-btn:hover {
  background: rgba(255,255,255,.75);
  border-color: rgba(228, 223, 215, .95);
  color: var(--ink);
  transform: translateY(-1px);
}
.badge {
  position: absolute; top: 4px; right: 2px;
  background: var(--accent); color: #fff;
  border-radius: 999px; font-size: 10px; min-width: 16px; height: 16px;
  display: grid; place-items: center;
}

.main-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.main-nav__inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem;
  padding: .85rem 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.main-nav a {
  color: var(--ink);
  position: relative;
  padding: .2rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.15rem;
  height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--accent-2); }
.main-nav a:hover::after { transform: scaleX(1); }

.flash-wrap { margin-top: 1rem; }
.flash { padding: .85rem 1rem; border-radius: 4px; margin-bottom: .5rem; }
.flash--ok { background: #e8f3ea; color: var(--ok); }
.flash--err { background: #f8e8e8; color: var(--danger); }

.hero { background: #111; color: #fff; }
.hero__slider { position: relative; min-height: min(78vh, 720px); overflow: hidden; }
.hero__slide {
  display: none;
  min-height: inherit;
  background:
    linear-gradient(90deg, rgba(17,17,17,.72) 0%, rgba(17,17,17,.25) 55%, rgba(17,17,17,.45) 100%),
    radial-gradient(circle at 70% 40%, #3a4f4a 0%, #151716 55%);
  background-size: cover;
  background-position: center;
}
.hero__slide.is-active { display: block; animation: fade .6s ease; }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }
.hero__content {
  min-height: inherit;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 2rem;
  padding-block: 4rem;
}
.hero__copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 1rem;
  max-width: 10ch;
}
.hero__copy p { color: #d7d2cb; margin: 0 0 1.5rem; max-width: 36ch; }
.hero__visual { display: grid; place-items: center; }
.hero__ornament {
  width: min(360px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(196, 168, 122, .35);
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.18), transparent 35%),
    conic-gradient(from 20deg, transparent, rgba(196,168,122,.35), transparent 40%, rgba(196,168,122,.2), transparent 70%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.35);
}
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.12); color: #fff;
  cursor: pointer; font-size: 28px; line-height: 1;
}
.hero__nav--prev { left: 1rem; }
.hero__nav--next { right: 1rem; }
.hero__dots {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: flex; gap: .4rem;
}
.hero__dots button {
  width: 28px; height: 2px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hero__dots button.is-active { background: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 1.4rem;
  border: 1px solid transparent; cursor: pointer;
  letter-spacing: .08em; text-transform: uppercase; font-size: 12px; font-weight: 600;
}
.btn--dark { background: var(--accent); color: #fff; }
.btn--dark:hover { background: #243a36; color: #fff; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: 4rem 0; }
.section--muted { background: var(--bg-soft); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem;
}
.section-head h2, .page-head h1, .prose h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: .04em; margin: 0;
}
.page-head { padding: 2.5rem 0 0; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head .count { color: var(--muted); font-family: var(--sans); font-size: .55em; }
.breadcrumbs { display: flex; gap: .5rem; color: var(--muted); font-size: 13px; margin-bottom: .75rem; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--accent-2); margin: 0 0 .75rem; }
.muted { color: var(--muted); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.category-card {
  background: var(--surface);
  display: grid;
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.category-card__img { aspect-ratio: 4/5; overflow: hidden; background: #ddd8d0; }
.category-card__img img { width: 100%; height: 100%; object-fit: cover; }
.category-card h2 {
  margin: 0; padding: 1rem 1.1rem 1.2rem;
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: .08em;
}

.placeholder-art {
  width: 100%; height: 100%; min-height: 180px;
  background:
    linear-gradient(135deg, #d9d3c8, #f4f0ea 40%, #c9c2b5),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), transparent 40%);
  position: relative;
}
.placeholder-art::after {
  content: "";
  position: absolute; inset: 18%;
  border: 1px solid rgba(138,115,85,.35);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.35), transparent 45%);
}
.placeholder-art--product { min-height: 280px; }
.placeholder-art--large { min-height: 520px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.product-card {
  background: var(--surface);
  position: relative;
  display: grid;
}
.product-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #ebe6df;
  position: relative;
  display: block;
}
.product-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s ease, transform .45s ease;
  display: block;
}
.product-card__img--alt {
  position: absolute; inset: 0; opacity: 0;
}
.product-card--multi:hover .product-card__img--main { opacity: 0; transform: scale(1.03); }
.product-card--multi:hover .product-card__img--alt { opacity: 1; transform: scale(1.03); }
.product-card:not(.product-card--multi):hover .product-card__img--main { transform: scale(1.04); }
.product-card__video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #111;
}
.product-card:hover .product-card__video { /* autoplay-like feel via JS optional */ }
.product-card__badge {
  position: absolute; left: .65rem; bottom: .65rem; z-index: 1;
  background: rgba(23, 24, 22, .82); color: #fff;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .55rem;
}
.product-card__badge--muted { background: rgba(23, 24, 22, .55); }
.product-card__fav {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
}
.product-card__fav button {
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; color: var(--muted);
}
.product-card__body { padding: .9rem 1rem 1.1rem; }
.product-card__body h3 { margin: 0 0 .25rem; font-size: 1rem; font-weight: 600; }
.product-card__body strong { display: block; margin-top: .45rem; }

.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; }
.filters {
  background: var(--surface); padding: 1.25rem; border: 1px solid var(--line);
  height: fit-content; position: sticky; top: 1rem;
}
.filters label { display: grid; gap: .35rem; margin-bottom: .9rem; font-size: 13px; color: var(--muted); }
.filters input, .filters select, .form-card input, .form-card textarea, .form-card select,
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: .7rem .8rem; color: var(--ink);
}
.filter-cats { display: grid; gap: .35rem; margin-top: 1.25rem; }
.filter-cats a { font-size: 14px; color: var(--muted); }
.filter-cats a.is-active, .filter-cats a:hover { color: var(--ink); }

.product-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
.product-gallery__main { background: #ebe6df; aspect-ratio: 1; overflow: hidden; }
.product-gallery__main img,
.product-gallery__main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.product-gallery__thumb {
  width: 72px; height: 72px; padding: 0; border: 1px solid transparent;
  background: #ebe6df; cursor: pointer; overflow: hidden; display: grid; place-items: center;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__thumb.is-active { border-color: var(--ink); }
.product-gallery__thumb--video {
  background: #1a1c1b; color: #fff; font-size: 14px;
}
.product-info h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .5rem; }
.product-price { display: flex; gap: 1rem; align-items: baseline; margin: 1.25rem 0; font-size: 1.4rem; }
.product-price s { color: var(--muted); font-size: 1rem; }
.specs { list-style: none; padding: 0; margin: 1.5rem 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.qty { display: grid; gap: .35rem; font-size: 13px; color: var(--muted); }
.qty input { width: 80px; padding: .65rem; border: 1px solid var(--line); }

.brand-block__inner {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
}
.brand-block h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
.brand-block__panel { display: grid; gap: 1rem; }
.stat {
  background: var(--surface); padding: 1.25rem 1.4rem; border: 1px solid var(--line);
  display: grid; gap: .2rem;
}
.stat strong { font-family: var(--serif); font-size: 1.6rem; }

.cart-table { display: grid; gap: 1rem; }
.cart-row {
  display: grid; grid-template-columns: 90px 1.5fr 100px 120px auto; gap: 1rem; align-items: center;
  background: var(--surface); padding: 1rem; border: 1px solid var(--line);
}
.cart-row__img { width: 90px; height: 90px; overflow: hidden; background: #ebe6df; }
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary {
  margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.25rem; background: var(--surface); border: 1px solid var(--line);
}
.link-btn { border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; }
.checkout-grid, .account-grid, .contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; display: grid; gap: .9rem; }
.form-card label { display: grid; gap: .35rem; font-size: 13px; color: var(--muted); }
.checkout-line, .order-line {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.checkout-total { margin-top: 1rem; font-size: 1.2rem; font-weight: 700; }
.empty { color: var(--muted); }
.prose { max-width: 760px; }
.prose.two-cols { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.prose p { color: #3d3b37; }

.faq-list { max-width: 760px; display: grid; gap: .65rem; }
.faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item__body {
  padding: 0 1.15rem 1.1rem;
  border-top: 1px solid var(--line);
}
.faq-item__body p {
  margin: .85rem 0 0;
  color: #3d3b37;
  line-height: 1.65;
  font-size: 15px;
}
.faq-more { margin: 1.5rem 0 0; font-size: 14px; }
.faq-more a { text-decoration: underline; text-underline-offset: 2px; }

.gift-page {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: start;
}
.gift-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--footer-bg) 85%, var(--accent)) 0%, var(--accent) 48%, var(--ink) 100%);
  color: #f4efe6;
  min-height: 420px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.gift-visual__img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.gift-visual__fallback {
  width: min(100% - 3rem, 360px);
  aspect-ratio: 1.4;
  border: 1px solid rgba(196, 168, 122, .45);
  padding: 1.4rem;
  display: grid;
  align-content: space-between;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(160deg, rgba(255,255,255,.04), transparent 50%);
}
.gift-visual__fallback strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gift-visual__fallback span {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .72);
}
.gift-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 .75rem;
  line-height: 1.1;
}
.gift-copy__text {
  color: #3d3b37;
  margin: 0 0 1.25rem;
  max-width: 42ch;
}
.gift-nominals {
  display: grid;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.gift-nominals__label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gift-nominals__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.gift-nominal {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: .7rem 1rem;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.gift-nominal:hover {
  border-color: var(--accent-2);
  transform: translateY(-1px);
}
.gift-nominal.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.gift-custom {
  display: none;
  gap: .35rem;
  margin-top: .35rem;
  font-size: 13px;
  color: var(--muted);
}
.gift-custom.is-open { display: grid; }
.gift-custom input {
  width: min(100%, 240px);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: .7rem .8rem;
}
.gift-form {
  display: grid;
  gap: .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
}
.gift-form label {
  display: grid;
  gap: .35rem;
  font-size: 13px;
  color: var(--muted);
}
.gift-form input,
.gift-form textarea,
.gift-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: .7rem .8rem;
}
.gift-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.gift-form__note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.site-footer h4 { color: #fff; margin: 0 0 1rem; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #d8d3cb; }
.site-footer a:hover { color: #fff; }
.footer-socials-title { margin-top: 1.5rem !important; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 13px; color: #9e9890;
}

.socials { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .75rem; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #f2ebe3;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.site-footer .social:hover { color: #fff; background: rgba(201,162,100,.35); transform: translateY(-2px); }
.social__icon { display: grid; place-items: center; line-height: 0; }
.social__icon svg { display: block; }
.social--vk:hover { background: #4a76a8; color: #fff; }
.social--telegram:hover { background: #2aabee; color: #fff; }
.social--whatsapp:hover { background: #25d366; color: #fff; }
.social--instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.social--youtube:hover { background: #ff0000; color: #fff; }
.social--max:hover { background: linear-gradient(135deg, #4b6bff, #7a4dff); color: #fff; }
.social--ok:hover { background: #ee8208; color: #fff; }
.social--pinterest:hover { background: #e60023; color: #fff; }
.social--facebook:hover { background: #1877f2; color: #fff; }
.social--tiktok:hover { background: #111; color: #fff; }
.social--rutube:hover { background: #1a1a1a; color: #fff; }
.social--email:hover, .social--phone:hover, .social--custom:hover { background: var(--accent, #0f766e); color: #fff; }

.socials--lg { gap: .85rem; }
.socials--lg .social { width: 52px; height: 52px; }
.socials--labels { flex-direction: column; align-items: stretch; }
.socials--labels .social {
  width: auto; height: auto; border-radius: 999px; padding: .7rem 1rem; gap: .75rem;
  justify-content: flex-start; background: #f6f3ee; color: #2a2926; border: 1px solid var(--line, #e6e0d6);
}
.socials--labels .social:hover { color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.social__label { font-size: 14px; font-weight: 600; }
.contact-socials { grid-column: 1 / -1; }
.social--static { pointer-events: none; width: 36px; height: 36px; background: #eee; color: #333; }

/* Floating chat */
.chat-widget { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; font-family: var(--sans); }
.chat-fab {
  width: 58px; height: 58px; border: 0; border-radius: 50%;
  background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: 0 10px 30px rgba(23, 24, 22, .28);
  display: grid; place-items: center; position: relative;
  transition: transform .2s ease, background .2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.chat-fab:hover, .chat-fab.is-open { background: #243b37; transform: translateY(-2px); }
.chat-fab__badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #c45c26; color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.chat-panel {
  position: absolute; right: 0; bottom: 72px; width: min(360px, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(23, 24, 22, .22);
  overflow: hidden; display: none; flex-direction: column; max-height: min(520px, 70vh);
}
.chat-panel.is-open { display: flex; }
.chat-panel[hidden] { display: none !important; }
.chat-panel__head {
  background: var(--footer-bg); color: var(--footer-text); padding: 1rem 1rem .95rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
}
.chat-panel__head strong { display: block; font-size: 15px; }
.chat-panel__head span { display: block; font-size: 12px; color: color-mix(in srgb, var(--footer-text) 70%, transparent); margin-top: .2rem; }
.chat-panel__close {
  border: 0; background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 .2rem;
}
.chat-panel__messages {
  padding: 1rem; overflow-y: auto; display: grid; gap: .65rem; background: var(--bg-soft);
  min-height: 220px; flex: 1;
}
.chat-bubble {
  max-width: 88%; padding: .7rem .85rem; border-radius: 14px; font-size: 14px; line-height: 1.45;
}
.chat-bubble--visitor {
  justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px;
}
.chat-bubble--admin {
  justify-self: start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px;
}
.chat-bubble__time { margin-top: .35rem; font-size: 11px; opacity: .65; }
.chat-panel__form { border-top: 1px solid var(--line); padding: .75rem; background: #fff; display: grid; gap: .55rem; }
.chat-panel__meta { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; transition: .2s ease; }
.chat-panel__meta.is-collapsed { display: none; }
.chat-panel__meta input, .chat-panel__compose textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .65rem;
  font: inherit; background: #fff; color: var(--ink);
}
.chat-panel__compose { display: grid; grid-template-columns: 1fr auto; gap: .45rem; align-items: end; }
.chat-panel__compose textarea { resize: none; min-height: 44px; }
.chat-panel__send {
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; cursor: pointer;
}
.chat-panel__send:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.chat-panel__error { margin: 0; color: #9b2c2c; font-size: 12px; }
@media (max-width: 640px) {
  .chat-widget { right: .85rem; bottom: .85rem; }
  .chat-panel { width: calc(100vw - 1.7rem); }
}

@media (max-width: 980px) {
  .header-main__inner { grid-template-columns: 1fr; justify-items: center; padding: 1rem 0; }
  .header-phone, .header-actions { width: 100%; justify-content: center; }
  .hero__content, .catalog-layout, .product-page, .brand-block__inner,
  .checkout-grid, .account-grid, .contact-grid, .prose.two-cols, .footer-grid,
  .gift-page, .gift-form__row {
    grid-template-columns: 1fr;
  }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-row { grid-template-columns: 70px 1fr; }
  .hero__visual { display: none; }
}
@media (max-width: 640px) {
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .main-nav__inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

/* Arabic RTL */
html[dir="rtl"] body.locale-ar {
  font-family: "Noto Naskh Arabic", "Manrope", system-ui, sans-serif;
}
html[dir="rtl"] .logo__text,
html[dir="rtl"] .hero__copy h1,
html[dir="rtl"] .product-info h1,
html[dir="rtl"] .page-head h1,
html[dir="rtl"] .section-head h2 {
  font-family: "Noto Naskh Arabic", "Cormorant Garamond", serif;
  letter-spacing: 0;
}
html[dir="rtl"] .logo__tag,
html[dir="rtl"] .main-nav a {
  letter-spacing: .04em;
}
html[dir="rtl"] .chat-bubble--visitor { justify-self: start; border-radius: 14px; border-bottom-left-radius: 4px; }
html[dir="rtl"] .chat-bubble--admin { justify-self: end; border-radius: 14px; border-bottom-right-radius: 4px; }
html[dir="rtl"] .product-card__fav { right: auto; left: .6rem; }
html[dir="rtl"] .product-card__badge { left: auto; right: .65rem; }
