/* ULBA store — base styles */
/* Font: Montserrat via Google Fonts in HTML */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --accent: #f4d7df; /* pastel pink */
  --accent-2: #eadfd3; /* pastel beige */
  --accent-3: #e9e0e6; /* powder */
  --black: #000000;
  --white: #ffffff;
  --card-bg: #ffffff;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  padding-top: 64px; /* keep content below fixed header */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  left: 0;
  right: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
}
.logo b { font-weight: 800; }
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a { opacity: 0.9; }
.nav a:hover { opacity: 1; }
.mobile-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  background: linear-gradient(0deg, rgba(255,255,255,0.4), rgba(255,255,255,0.4)),
              url('../images/1.webp') center/cover no-repeat;
}
.hero .content {
  max-width: 720px;
  padding: 80px 0;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #444;
  background: var(--accent);
  padding: 8px 12px;
  border-radius: 999px;
}
.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}
.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 600;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.outline { background: transparent; color: #111; }
.btn.accent { background: var(--accent); color: #111; border-color: var(--accent); }

/* Sections */
section { padding: 64px 0; }
.section-title {
  font-size: 28px;
  margin: 0 0 24px;
}
.section-subtitle { color: var(--muted); margin: 0 0 32px; }

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--card-bg);
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .06s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-media { position: relative; aspect-ratio: 3/4; background: #f8f8f8; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 14px; }
.product-title { margin: 0 0 6px; font-size: 16px; }
.product-price { font-weight: 700; }
.product-cta { margin-top: 10px; }

/* About strip */
.about-strip {
  background: var(--accent-2);
  border-radius: 18px;
  padding: 28px;
}

/* Banner WB */
.wb-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #6e2bf1; /* WB brand violet tone */
  color: #fff;
  border-radius: 16px;
}
.wb-banner .wb {
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Footer */
.footer { border-top: 1px solid #eee; }
.footer-inner { display: flex; gap: 20px; justify-content: space-between; padding: 28px 0; color: var(--muted); }
.socials { display: flex; gap: 12px; }

/* Catalog filters */
.filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.filters select, .filters input[type="number"] {
  height: 40px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}

/* Product page */
.product-page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.gallery { display: grid; gap: 12px; }
.gallery-main { aspect-ratio: 3/4; background: #f8f8f8; border-radius: 12px; overflow: hidden; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumbs img { aspect-ratio: 1/1; width: 100%; object-fit: cover; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
.gallery-thumbs img.active { border-color: #111; }
.product-info h1 { margin-top: 0; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.options select { height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #ddd; }
.badge { display: inline-block; padding: 6px 10px; background: var(--accent-3); border-radius: 999px; font-size: 12px; color: #444; }

.specs { margin-top: 24px; }
.specs h3 { margin: 0 0 12px; font-size: 18px; }
.specs-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 10px 16px; border: 1px solid #eee; border-radius: 12px; padding: 14px; background: #fff; }
.specs .label { color: #666; }
.specs .value { color: #111; font-weight: 500; }
.specs .group { margin-top: 16px; }

/* Contact form */
form.contact { display: grid; gap: 12px; max-width: 640px; }
form.contact input, form.contact textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-family: inherit;
}
form.contact textarea { min-height: 140px; resize: vertical; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1024px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { border: 1px solid #eee; border-radius: 14px; padding: 14px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.review-header { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #f0f0f0; display:flex; align-items:center; justify-content:center; font-weight: 700; }
.meta .row { display: flex; gap: 10px; align-items: center; }
.badge-ok { background: #e6f7ec; color: #147a2e; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.sub { color: #777; font-size: 12px; }
.review-body { margin-top: 8px; display: grid; gap: 6px; }
.stars { color: #ffb400; letter-spacing: 1px; }
.star { opacity: .35; }
.star.filled { opacity: 1; }
.adv, .dis, .comment { color: #333; }

/* Mobile */
@media (max-width: 900px) {
  .product-page { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 10px; }
  .nav.open {
    position: absolute; left: 0; right: 0; top: 64px; background: #fff; padding: 16px 20px; display: grid; gap: 12px; border-bottom: 1px solid #eee;
  }
}


