/* ===========================================================
   sentire — site components: header, footer, etc
   =========================================================== */

/* ====== Header ====== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0;
  text-decoration: none;
}
.brand__logo { height: 38px; width: auto; display: block; }
.brand__dot { display: none; }

.nav { display: flex; gap: 32px; align-items: center; justify-content: center; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 8px 0;
  transition: color var(--dur-1) var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: transparent; border: 1px solid transparent;
  color: var(--ink-2);
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--bg-sunk); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: var(--on-accent);
  border-radius: 999px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 3px; gap: 2px; background: var(--bg-elev);
}
.lang-switch button {
  border: 0; background: transparent; padding: 6px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  border-radius: var(--r-pill); color: var(--ink-3);
}
.lang-switch button.is-active { background: var(--ink); color: white; }

.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border-radius: var(--r-pill);
}
.phone-link svg { color: var(--accent); }

/* Top bar (above header) */
.topbar {
  background: var(--bg-deep); color: #E8E3D7;
  font-size: 12px; letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: inherit; opacity: .8; }
.topbar a:hover { opacity: 1; }

/* ====== Footer ====== */
.site-footer {
  background: var(--bg-deep); color: #C7C1B3;
  padding: 80px 0 32px;
  margin-top: 80px;
}
.site-footer h4 { color: #F4F1EA; font-family: var(--font-sans); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.site-footer a { display: block; padding: 6px 0; font-size: 14px; color: #A39C8C; }
.site-footer a:hover { color: white; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.site-footer__brand { display: inline-flex; align-items: center; margin-bottom: 16px; }
.site-footer__brand img { height: 50px; width: auto; }
.site-footer__bottom {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid #2A2723;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #6B655C;
}
.payment-icons { display: flex; gap: 8px; }
.payment-icons span {
  height: 26px; padding: 0 10px;
  border: 1px solid #2A2723; border-radius: 4px;
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  color: #948D80;
}

.newsletter {
  display: flex; gap: 8px;
}
.newsletter input {
  flex: 1; height: 44px; padding: 0 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid #2A2723; border-radius: var(--r-pill);
  color: white; font: inherit;
}
.newsletter input::placeholder { color: #6B655C; }
.newsletter button {
  height: 44px; width: 44px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  border: 0; display: inline-flex; align-items: center; justify-content: center;
}

/* ====== Breadcrumbs ====== */
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--ink-3);
  padding: 24px 0;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }
.crumbs .current { color: var(--ink); }

/* ====== Page heading ====== */
.page-head { padding: 32px 0 56px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 12px; }
.page-head p { color: var(--ink-3); max-width: 640px; }

/* ====== Product card ====== */
.product {
  display: block;
  position: relative;
}
.product__media {
  aspect-ratio: 4/5;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.product:hover .product__media { transform: translateY(-4px); border-color: var(--line-strong); }
.product__media .scene { position: absolute; inset: 0; }
.product__tags {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
}
.product__fav {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  z-index: 2;
  transition: all var(--dur-1) var(--ease);
}
.product__fav:hover { color: var(--sale); border-color: var(--sale); }
.product__quickadd {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  height: 44px; border-radius: var(--r-pill);
  background: var(--bg-deep); color: white;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  z-index: 2;
}
.product:hover .product__quickadd { opacity: 1; transform: translateY(0); }

.product__info { padding: 16px 4px 0; }
.product__cat { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.product__title { font-family: var(--font-serif); font-size: 20px; margin: 4px 0 10px; line-height: 1.2; }
.product__price { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.product__price .now { color: var(--ink); font-size: 17px; }
.product__price .was { color: var(--ink-4); text-decoration: line-through; font-size: 14px; font-weight: 500; }
.product__swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-block; }

/* ====== Section header ====== */
.sec-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.sec-head__title { max-width: 560px; }
.sec-head__title h2 { margin-top: 8px; }
.sec-head__cta { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.sec-head__cta:hover { color: var(--accent-ink); }
.sec-head__cta svg { transition: transform var(--dur-2) var(--ease); }
.sec-head__cta:hover svg { transform: translateX(4px); }

/* Burger visible only on mobile */
[data-burger] { display: none; }

/* ====== Mobile ====== */
@media (max-width: 960px) {
  :root { --header-h: 64px; --gutter: 18px; }
  .site-header__inner { grid-template-columns: auto 1fr; gap: 12px; }
  .header-actions { justify-content: flex-end; }
  .nav, .topbar, .phone-link, .lang-switch { display: none; }
  [data-burger] { display: inline-flex; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 16px; }
}

/* ====== animations ====== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .6s var(--ease) both; }
