@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  --black: #0a0a0a;
  --white: #f5f3ef;
  --cream: #ede9e1;
  --navy: #0d1b2a;
  --navy-mid: #1a2f45;
  --accent: #c8a96e;
  --accent-light: #e8d5b0;
  --accent-dark: #9a7a45;
  --gray-100: #f0ede8;
  --gray-200: #ddd9d0;
  --gray-400: #9e9990;
  --gray-600: #6b6560;
  --gray-800: #2e2b27;
  --red: #c0392b;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --nav-h: 72px;
  --radius: 2px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 0; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245, 243, 239, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(245, 243, 239, 0.98);
  box-shadow: 0 4px 32px rgba(13,27,42,0.08);
}
.nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.08em;
  color: var(--navy);
  line-height: 1;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__cart {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: var(--white);
  transition: background var(--transition);
}
.nav__cart:hover { background: var(--accent); }
.nav__cart svg { width: 18px; height: 18px; }
.nav__cart-count {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--accent);
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-mono);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav__close {
  position: absolute;
  top: 24px; right: 32px;
  color: var(--white);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

/* ── UTILITY ── */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.page-top { padding-top: var(--nav-h); }

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 0.03em;
  color: var(--navy);
  line-height: 1;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius);
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-accent {
  background: var(--accent);
  color: var(--navy);
  border: 1px solid var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn-full { width: 100%; justify-content: center; }

/* ── PRODUCT CARD ── */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover { border-color: var(--accent); box-shadow: 0 8px 40px rgba(13,27,42,0.10); }
.product-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
  position: relative;
}
.product-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.06); }
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 500;
}
.product-card__badge.new { background: var(--navy); color: var(--white); }
.product-card__badge.sale { background: var(--red); color: var(--white); }
.product-card__quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.product-card:hover .product-card__quick { transform: translateY(0); }
.product-card__info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card__cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.product-card__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-card__desc {
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.5;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1;
}
.product-card__price-old {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-right: 4px;
}
.product-card__stars { color: var(--accent); font-size: 12px; letter-spacing: 1px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 20px 0;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--gray-200); }
.breadcrumb__current { color: var(--navy); }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: var(--white);
  margin-top: 80px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__brand-name span { color: var(--accent); }
.footer__tagline {
  font-size: 13px;
  color: rgba(245,243,239,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 260px;
}
.footer__socials { display: flex; gap: 12px; }
.footer__social {
  width: 36px; height: 36px;
  border: 1px solid rgba(245,243,239,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,243,239,0.6);
  font-size: 14px;
  transition: var(--transition);
}
.footer__social:hover { border-color: var(--accent); color: var(--accent); }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.footer__col-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col-links a {
  font-size: 13px;
  color: rgba(245,243,239,0.55);
  transition: color var(--transition);
}
.footer__col-links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(245,243,239,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  font-size: 12px;
  color: rgba(245,243,239,0.3);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.footer__payments { display: flex; gap: 8px; align-items: center; }
.footer__payment-badge {
  padding: 4px 10px;
  border: 1px solid rgba(245,243,239,0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,243,239,0.4);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--white);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 3px solid var(--accent);
  max-width: 340px;
}
.toast.show { transform: translateY(0); }
.toast__icon { color: var(--accent); font-size: 18px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s var(--transition) both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav__links { gap: 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .container { padding: 0 24px; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { padding: 0 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}