/* ====== BASE ====== */
:root {
  --primary: #6b5b4a;
  --primary-dark: #4a3f33;
  --accent: #c9a87c;
  --accent-dark: #b08c5e;
  --bg: #faf7f2;
  --bg-alt: #f0ebe2;
  --text: #2c2419;
  --text-muted: #7a6f5f;
  --border: #e5dfd3;
  --white: #ffffff;
  --red: #d04545;
  --green: #4a8c3f;
  --shadow-sm: 0 2px 8px rgba(74, 63, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(74, 63, 51, 0.12);
  --shadow-lg: 0 16px 40px rgba(74, 63, 51, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--primary-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all .25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: white; }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: var(--accent-dark); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { background: var(--primary); color: white; }

/* ====== TOP BAR ====== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--accent); }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

/* ====== HEADER ====== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #8a7560);
  position: relative;
}
.logo-icon svg { width: 100%; height: 100%; display: block; }
.footer .logo-icon { background: linear-gradient(135deg, var(--accent), #8a7560); }
.logo small { display: block; font-size: 11px; font-family: 'Manrope', sans-serif; color: var(--text-muted); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }

.search-bar {
  flex: 1;
  display: flex;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 500px;
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.search-bar button {
  padding: 0 22px;
  background: var(--accent);
  color: white;
  font-size: 14px;
}
.search-bar button:hover { background: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
  color: var(--text-muted);
}
.header-phone strong { font-size: 17px; color: var(--primary-dark); }

.cart-btn {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--primary-dark);
  transition: all .2s;
}
.cart-btn:hover { background: var(--accent); color: white; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* ====== NAV ====== */
.nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: relative;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.nav-list a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}
.nav-list a:hover, .nav-list a.active {
  color: var(--accent-dark);
}
.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* ====== DISCOUNT TIMER ====== */
.discount-timer {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff5e6, #fff);
  border: 2px solid var(--accent);
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(201, 168, 124, 0.18);
  max-width: 100%;
}
.discount-timer-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.discount-timer-clocks {
  display: flex;
  align-items: center;
  gap: 4px;
}
.clock-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 52px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}
.clock-cell span {
  font-size: 22px;
  font-weight: 800;
  font-feature-settings: 'tnum' 1;
  line-height: 1;
}
.clock-cell small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-top: 3px;
}
.clock-sep {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  padding: 0 2px;
  animation: blink 1s step-start infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

/* ====== HERO ====== */
.hero {
  background: linear-gradient(120deg, var(--bg-alt) 0%, #ede5d6 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,124,0.2), transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content .hero-tag {
  display: inline-block;
  background: var(--white);
  color: var(--accent-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.hero-feature {
  text-align: center;
  background: var(--white);
  padding: 24px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.hero-feature-icon {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--accent-dark);
}
.hero-feature strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--primary-dark); }
.hero-feature small { font-size: 12px; color: var(--text-muted); }

/* ====== SECTION ====== */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ====== CATEGORIES FILTER ====== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ====== PRODUCTS GRID ====== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  position: relative;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.product-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 1;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.product-badge.new { background: var(--green); }
.product-badge.hit { background: var(--accent-dark); }
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: all .2s;
  z-index: 2;
}
.wishlist-btn:hover, .wishlist-btn.active { background: var(--red); color: white; }
.product-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.product-title {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  color: var(--primary-dark);
  margin-bottom: 6px;
  min-height: 48px;
}
.product-rating {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.product-rating .stars { color: #f5b700; }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.1;
  margin-bottom: 14px;
}
.product-price .new {
  font-size: 26px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.5px;
  order: 2;
}
.product-price .old {
  font-size: 14px;
  color: #9a8164;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--red);
  font-weight: 600;
  opacity: 0.85;
  order: 1;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.btn-add-cart, .btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
  -webkit-tap-highlight-color: transparent;
}
.btn-add-cart {
  background: var(--bg-alt);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-add-cart:hover, .btn-add-cart:active {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}
.btn-add-cart .btn-icon { font-size: 16px; }
.btn-buy-now {
  background: linear-gradient(135deg, var(--red), #b03838);
  color: white;
  box-shadow: 0 4px 12px rgba(208, 69, 69, 0.25);
}
.btn-buy-now:hover, .btn-buy-now:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(208, 69, 69, 0.4);
}

.discount-flame {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff5252, #d04545);
  color: white;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(208, 69, 69, 0.4);
  z-index: 2;
  animation: pulseDiscount 2.4s ease-in-out infinite;
}
@keyframes pulseDiscount {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); box-shadow: 0 6px 18px rgba(208, 69, 69, 0.55); }
}

/* ====== ABOUT/BENEFITS ====== */
.benefits {
  background: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.benefit {
  text-align: center;
  padding: 30px 20px;
}
.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 34px;
  color: var(--accent-dark);
  transition: all .3s;
}
.benefit:hover .benefit-icon { background: var(--accent); color: white; transform: rotate(10deg); }
.benefit h3 { font-size: 18px; margin-bottom: 10px; font-family: 'Manrope', sans-serif; }
.benefit p { font-size: 14px; color: var(--text-muted); }

/* ====== REVIEWS ====== */
.reviews { background: var(--bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}
.review-stars { color: #f5b700; margin-bottom: 12px; }
.review-text {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Cormorant Garamond', serif;
  flex-shrink: 0;
}
.review-author-info strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
}
.review-author-info small { color: var(--text-muted); font-size: 12px; }

/* ====== CTA BANNER ====== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(201,168,124,0.1);
}
.cta-banner::before { top: -100px; left: -100px; }
.cta-banner::after { bottom: -150px; right: -150px; }
.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .container { position: relative; z-index: 1; }

/* ====== FOOTER ====== */
.footer {
  background: #2a231b;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h4 {
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer p, .footer li { font-size: 14px; line-height: 1.9; }
.footer ul { list-style: none; }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: var(--accent); }
.footer .logo { color: white; margin-bottom: 16px; }
.footer .logo small { color: rgba(255,255,255,0.6); }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contacts span { display: inline-flex; gap: 8px; align-items: flex-start; }
.footer-contacts i { color: var(--accent); width: 18px; flex-shrink: 0; padding-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}
.payment-icons { display: flex; gap: 10px; align-items: center; }
.payment-icons span {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ====== FLOATING BUTTONS ====== */
.float-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: white;
  box-shadow: var(--shadow-md);
  transition: all .2s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); color: white; }
.float-btn.tg { background: #0088cc; }
.float-btn.viber { background: #7360f2; }
.float-btn.phone { background: #25d366; }
.float-btn.phone::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.7);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp .4s ease;
  text-align: center;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 18px;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: all .2s;
}
.modal-close:hover { background: var(--red); color: white; }
.modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin: 0 auto 20px;
}
.modal h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  margin-bottom: 10px;
}
.modal p { color: var(--text-muted); margin-bottom: 24px; font-size: 14.5px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.modal-form label { font-size: 13px; color: var(--text-muted); margin-bottom: -8px; }
.modal-form input {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.modal-form input:focus { outline: none; border-color: var(--accent); }
.modal-form button {
  padding: 14px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all .2s;
  margin-top: 8px;
}
.modal-form button:hover { background: var(--primary-dark); }
.modal small.privacy {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ====== TOAST ====== */
.toast {
  position: fixed;
  top: 30px;
  right: 30px;
  background: var(--green);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(150%);
  transition: transform .35s cubic-bezier(.5,0,.3,1.4);
}
.toast.show { transform: translateX(0); }

/* ====== CART OVERLAY + PANEL ====== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.5,0,.3,1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  overflow: hidden;
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  margin: 0;
}
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 16px;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: all .2s;
}
.cart-close:hover { background: var(--red); color: white; }

.cart-body {
  flex: 0 0 auto;
  overflow-y: auto;
  padding: 16px 20px;
  -webkit-overflow-scrolling: touch;
  max-height: 38vh;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 60px; opacity: 0.4; margin-bottom: 14px; }
.cart-empty h3 { color: var(--primary-dark); margin-bottom: 10px; font-family: 'Manrope', sans-serif; font-size: 18px; }
.cart-empty p { font-size: 14px; margin-bottom: 24px; line-height: 1.6; }

.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 14px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  align-items: center;
}
.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background: white;
}
.cart-item-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--primary-dark);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-meta { font-size: 12px; color: var(--text-muted); }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.qty-control {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 18px;
  padding: 2px;
  border: 1px solid var(--border);
}
.qty-control button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  background: transparent;
  display: grid;
  place-items: center;
  transition: all .15s;
}
.qty-control button:hover { background: var(--accent); color: white; }
.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}
.cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  display: grid;
  place-items: center;
  transition: all .15s;
}
.cart-item-remove:hover { background: var(--red); color: white; }
.cart-item-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
  white-space: nowrap;
  align-self: flex-start;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 18px 24px 24px;
  background: var(--white);
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.cart-totals { margin-bottom: 16px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.cart-total-row .cart-old-total { text-decoration: line-through; }
.cart-total-row.save { color: var(--green); font-weight: 600; }
.cart-total-row.main {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 6px;
}
.cart-total-row.main span:last-child { font-size: 22px; color: var(--accent-dark); }

.checkout-form { display: flex; flex-direction: column; gap: 8px; }
.checkout-form h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--primary-dark);
  margin: 8px 0 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.checkout-form label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: -4px;
  margin-top: 6px;
}
.checkout-form input, .checkout-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--bg-alt);
  transition: all .2s;
  width: 100%;
}
.checkout-form input:focus, .checkout-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
}
.checkout-form textarea { resize: vertical; min-height: 50px; }
.btn-checkout {
  margin-top: 12px;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all .2s;
  cursor: pointer;
}
.btn-checkout:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201,168,124,0.4);
}
.btn-checkout:disabled { opacity: 0.6; cursor: not-allowed; }
.checkout-privacy {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
  text-align: center;
}

.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); background: var(--accent); color: white; }
}

@media (max-width: 520px) {
  .cart-panel { max-width: 100%; }
  .cart-header { padding: 16px 18px; }
  .cart-body { padding: 12px 16px; }
  .cart-footer { padding: 14px 18px 20px; }
  .cart-item { grid-template-columns: 60px 1fr; gap: 12px; padding: 12px; }
  .cart-item-img { width: 60px; height: 60px; }
  .cart-item-price { grid-column: 2; align-self: center; font-size: 14px; }
}
.page-content {
  background: var(--white);
  padding: 60px 0 80px;
  min-height: 60vh;
}
.page-content article { max-width: 820px; margin: 0 auto; }
.page-content h1 { margin-bottom: 30px; }
.page-content h2 { margin-top: 36px; margin-bottom: 14px; font-size: 22px; }
.page-content p, .page-content li { margin-bottom: 12px; color: var(--text); font-size: 15px; line-height: 1.75; }
.page-content ul { padding-left: 24px; margin-bottom: 14px; }
.breadcrumbs {
  background: var(--bg-alt);
  padding: 18px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs span { color: var(--text); }

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 50px 0; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .search-bar { display: none; }
}

/* Tablet & smaller */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 12px 0; gap: 16px; }
  .logo { font-size: 22px; }
  .logo-icon { width: 38px; height: 38px; }
  .logo small { font-size: 9px; }

  /* Nav: horizontal scroll with visual hint */
  .nav-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 22px;
    font-size: 13.5px;
    padding: 12px 0;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
  }
  .nav-list::-webkit-scrollbar { display: none; }
  .nav-list a { white-space: nowrap; padding: 4px 0; }
  .nav-list a.active::after { bottom: -12px; }

  /* Hero: tighter spacing */
  .hero h1 { font-size: 1.7rem; line-height: 1.15; }
  .hero p { font-size: 15px; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { flex: 1 1 calc(50% - 5px); padding: 12px 16px; font-size: 14px; }

  /* Discount timer compact */
  .discount-timer { padding: 10px 14px; margin-bottom: 18px; width: 100%; }
  .discount-timer-label { font-size: 12px; margin-bottom: 6px; }
  .clock-cell { min-width: 44px; padding: 5px 8px; }
  .clock-cell span { font-size: 18px; }
  .clock-cell small { font-size: 8px; }
  .clock-sep { font-size: 18px; }

  /* Catalog filter buttons: horizontal scroll on mobile */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 4px 0 8px;
    scrollbar-width: none;
    margin: 0 -16px 30px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 16px;
    font-size: 13.5px;
  }

  /* Products grid: 2 columns on tablet */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-info { padding: 14px; }
  .product-title { font-size: 14.5px; min-height: 38px; line-height: 1.25; }
  .product-cat { font-size: 10px; }
  .product-rating { font-size: 12px; margin-bottom: 10px; }
  .product-price .new { font-size: 22px; }
  .product-price .old { font-size: 13px; }
  .product-price { margin-bottom: 12px; gap: 8px; }
  .btn-add-cart, .btn-buy-now { padding: 11px 12px; font-size: 13px; }
  .btn-add-cart .btn-icon { font-size: 14px; }
  .discount-flame { font-size: 12px; padding: 5px 10px; bottom: 10px; left: 10px; }

  /* Section heads: smaller on mobile */
  .section { padding: 50px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 1.6rem; }
  .section-head p { font-size: 14px; }

  /* Topbar very compact */
  .topbar-info { font-size: 12px; gap: 14px; }
  .topbar-info span:not(:first-child) { display: none; }
  .topbar .container { justify-content: center; }

  /* Footer: 2 columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer { padding: 40px 0 0; }
}

/* Phones */
@media (max-width: 520px) {
  .container { padding: 0 14px; }
  .topbar { padding: 6px 0; font-size: 11.5px; }

  .header-inner { gap: 10px; }
  .logo { font-size: 19px; gap: 8px; }
  .logo small { display: none; }
  .logo-icon { width: 36px; height: 36px; }

  /* Hero further compressed */
  .hero { padding: 30px 0 36px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 14px; margin-bottom: 22px; }
  .hero-buttons { flex-direction: column; gap: 8px; }
  .hero-buttons .btn { width: 100%; }
  .hero-image { aspect-ratio: 4/3; }
  .hero-features { gap: 8px; margin-top: 30px; }
  .hero-feature { padding: 16px 8px; }
  .hero-feature-icon { font-size: 24px; }
  .hero-feature strong { font-size: 12.5px; }
  .hero-feature small { font-size: 11px; }

  /* Products: 1 column with LARGE photo on top */
  .products-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card { display: flex; flex-direction: column; }
  .product-image { aspect-ratio: 1; height: auto; }
  .product-info { padding: 16px; }
  .product-title { font-size: 17px; min-height: auto; margin-bottom: 4px; }
  .product-rating { margin-bottom: 10px; }
  .product-price { margin-bottom: 14px; gap: 10px; }
  .product-price .new { font-size: 28px; }
  .product-price .old { font-size: 15px; }
  .product-actions { flex-direction: row; gap: 8px; }
  .btn-add-cart { flex: 0 0 auto; padding: 14px 16px; font-size: 13px; }
  .btn-add-cart span:not(.btn-icon) { display: none; }
  .btn-add-cart .btn-icon { font-size: 18px; }
  .btn-buy-now { flex: 1; padding: 14px 16px; font-size: 14px; }
  .discount-flame { font-size: 13px; padding: 6px 12px; bottom: 12px; left: 12px; }
  .product-badge { top: 12px; left: 12px; font-size: 12px; padding: 4px 10px; }
  .wishlist-btn { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 16px; }

  /* Section heads */
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 1.4rem; }
  .filter-bar { margin-bottom: 22px; }

  /* Cart panel = full width */
  .cart-panel { max-width: 100%; }
  .cart-header { padding: 14px 16px; }
  .cart-header h3 { font-size: 20px; }
  .cart-body { padding: 12px 14px; }
  .cart-footer { padding: 14px 16px 18px; }
  .cart-item { grid-template-columns: 60px 1fr; gap: 10px; padding: 10px; }
  .cart-item-img { width: 60px; height: 60px; }
  .cart-item-price { grid-column: 2; align-self: center; font-size: 14px; text-align: right; }
  .cart-total-row { font-size: 13px; }
  .cart-total-row.main { font-size: 16px; }
  .cart-total-row.main span:last-child { font-size: 20px; }

  /* Floating buttons smaller and lower */
  .float-buttons { bottom: 12px; right: 12px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; font-size: 20px; }

  /* Footer 1 column */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding: 32px 0 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 16px 0; font-size: 12px; }
  .payment-icons span { font-size: 10px; padding: 4px 8px; }

  /* CTA banner */
  .cta-banner { padding: 50px 0; }
  .cta-banner p { font-size: 15px; }

  /* Modal */
  .modal { padding: 26px 18px; }
  .modal h3 { font-size: 22px; }
  .modal p { font-size: 13.5px; }

  /* Reviews mobile */
  .reviews-grid { gap: 14px; }
  .review-card { padding: 20px; }
  .review-text { font-size: 14px; }
  .review-card::before { font-size: 60px; top: 4px; right: 14px; }
}

/* Very narrow phones */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.35rem; }
  .clock-cell { min-width: 40px; padding: 4px 6px; }
  .clock-cell span { font-size: 16px; }
  .btn-add-cart { padding: 12px 14px; }
}
