:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #111111;
  --muted: #6a6a6a;
  --line: #e5e5df;
  --brand: #b11f2f;
  --shadow: 0 10px 30px rgba(0,0,0,.05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #111; color: #fff; text-align: center; padding: 10px 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brandmark { display: block; width: 174px; }
.brandmark img { width: 100%; height: 58px; object-fit: cover; border-radius: 6px; }
.nav { display: flex; gap: 26px; font-size: 14px; text-transform: uppercase; }
.nav a:hover, .mobile-links a:hover { opacity: .65; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { border: 1px solid transparent; background: transparent; padding: 10px 12px; border-radius: 999px; }
.icon-btn:hover, .toolbar-select:hover, .btn-light:hover, .category-btn:hover, .add-to-cart:hover { border-color: var(--line); background: #fff; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--text); color: #fff; font-size: 12px; margin-left: 6px; }
.mobile-only { display: none; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; padding: 44px 0 26px; }
.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 64px); line-height: .98; max-width: 11ch; }
.hero-text { margin: 0 0 24px; max-width: 56ch; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; }
.btn-dark { background: #111; color: #fff; }
.btn-light { background: transparent; border-color: #111; }
.btn-block { width: 100%; }
.hero-media { background: #ecece8; aspect-ratio: 4/5; overflow: hidden; border-radius: 10px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 8px 0 18px; }
.promo-strip article, .info-strip div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: var(--shadow); }
.promo-strip span, .info-strip span { display: block; color: var(--muted); margin-bottom: 8px; }
.promo-strip strong, .info-strip strong { font-size: 18px; }
.section-head h2 { margin: 0; font-size: 34px; }
.section-head.compact h2 { font-size: 30px; }
.categories { padding: 22px 0 10px; }
.category-pills, .catalog-tabs { display: flex; gap: 12px; flex-wrap: wrap; }
.category-btn { border: 1px solid #111; background: transparent; border-radius: 999px; padding: 14px 18px; }
.category-btn.active { background: #111; color: #fff; }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; padding: 28px 0 10px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.text-card { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.text-card h3 { margin: 0 0 14px; font-size: 38px; line-height: 1.02; max-width: 12ch; }
.text-card p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.catalog-section { padding: 38px 0 14px; }
.toolbar { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.toolbar-select { border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; background: #fff; }
.catalog-tabs { margin-bottom: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
.product-card { position: relative; }
.wishlist { position: absolute; top: 14px; right: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); }
.product-media { background: #ecece8; aspect-ratio: 4 / 5.7; overflow: hidden; border-radius: 8px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 14px; display: grid; gap: 6px; }
.product-info h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.price { margin: 0; font-size: 28px; font-weight: 800; }
.mini-desc { margin: 0; color: var(--muted); line-height: 1.55; }
.add-to-cart { margin-top: 6px; width: fit-content; border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 12px 16px; }
.empty-products { padding: 36px 0; color: var(--muted); }
.how-to-buy { padding: 26px 0 18px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps article { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: var(--shadow); }
.steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #111; color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.6; }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 26px 0 60px; }
.footer { background: #111; color: #fff; padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer h4 { margin: 0 0 10px; }
.footer p { margin: 0; color: rgba(255,255,255,.75); line-height: 1.7; }
.mobile-menu, .search-overlay, .cart-drawer, .overlay { position: fixed; inset: 0; opacity: 0; pointer-events: none; transition: .25s ease; }
.mobile-menu { inset: 0 auto 0 0; width: min(92vw, 400px); background: #fff; transform: translateX(-100%); z-index: 40; padding: 18px; }
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateX(0); }
.mobile-menu-header, .search-header, .cart-header { display: flex; align-items: center; justify-content: space-between; }
.mobile-links { display: grid; gap: 16px; font-size: 22px; padding-top: 12px; }
.search-overlay { display: grid; place-items: start center; background: rgba(0,0,0,.18); z-index: 35; }
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box { width: min(720px, calc(100% - 24px)); background: #fff; margin-top: 30px; border-radius: 18px; padding: 18px; }
.search-box input { width: 100%; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; }
.cart-drawer { inset: 0 0 0 auto; width: min(420px, 100vw); background: #fff; transform: translateX(100%); z-index: 45; display: flex; flex-direction: column; }
.cart-drawer.open { opacity: 1; pointer-events: auto; transform: translateX(0); }
.cart-header, .cart-footer { padding: 18px; border-bottom: 1px solid var(--line); }
.cart-footer { border-top: 1px solid var(--line); border-bottom: 0; margin-top: auto; }
.cart-items { padding: 18px; display: grid; gap: 14px; overflow: auto; }
.empty-state { color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.cart-thumb { width: 64px; height: 84px; object-fit: cover; border-radius: 6px; background: #eee; }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 14px; }
.overlay { background: rgba(0,0,0,.24); z-index: 30; }
.overlay.show { opacity: 1; pointer-events: auto; }
.close-btn { border: 0; background: transparent; font-size: 26px; cursor: pointer; }
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .mobile-only { display: inline-flex; }
  .hero, .promo-strip, .feature-grid, .steps, .info-strip, .footer-grid { grid-template-columns: 1fr; }
  .hero { gap: 22px; padding-top: 28px; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1180px); }
  .topbar { font-size: 10px; }
  .header-inner { min-height: 78px; }
  .brandmark { width: 122px; }
  .brandmark img { height: 48px; }
  .hero-text { font-size: 16px; }
  .hero-actions, .category-pills, .catalog-tabs { flex-wrap: wrap; }
  .section-head h2 { font-size: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-info h3 { font-size: 18px; }
  .price { font-size: 24px; }
}

.floating-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; min-width: 138px; padding: 14px 18px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.floating-whatsapp:hover { filter: brightness(.95); }
@media (max-width: 640px) { .floating-whatsapp { right: 14px; bottom: 14px; min-width: 0; padding: 14px 16px; } }
