﻿:root {
  --bg: #fffafc;
  --bg-soft: #fff3f7;
  --panel: #ffffff;
  --panel-alt: #fdf0f5;
  --primary: #1f1a1d;
  --secondary: #5e3a49;
  --muted: #6e5c61;
  --line: #f1dfe6;
  --accent: #d94f88;
  --accent-2: #f4c8d9;
  --accent-strong: #a82457;
  --success: #1f9d74;
  --success-soft: #dcfce7;
  --danger: #d11a2a;
  --danger-soft: #fee2e2;
  --shadow: rgba(31, 26, 29, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--primary);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 16px; }
.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(31, 26, 29, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 82px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  max-height: 56px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(168,36,87,0.18));
}
.search-form {
  flex: 1;
  display: flex;
  gap: 8px;
}
.search-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #f0dce5;
  border-radius: 999px;
  background: #fff;
  font-size: 0.96rem;
}
.search-form button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 22px rgba(168, 36, 87, 0.18);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid #f0dce5;
  box-shadow: none;
}
.header-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  flex-wrap: wrap;
  color: var(--secondary);
  font-weight: 600;
}
.category-strip-wrap {
  background: #fff;
  border-top: 1px solid rgba(31,26,29,0.06);
  border-bottom: 1px solid rgba(31,26,29,0.06);
  padding: 16px 0;
}
.category-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f6f7f9;
  color: #1e1e1e;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(31,26,29,0.06);
}
.category-pill:nth-child(3n+1) { background: #0a0a0a; color: #fff; }
.category-pill:nth-child(3n+2) { background: #f0772b; color: #fff; }
.category-pill:nth-child(3n+3) { background: #1d7af2; color: #fff; }
.category-pill:nth-child(4n+4) { background: #ef3a5d; color: #fff; }
.hero {
  position: relative;
  overflow: hidden;
  background: #efeaf1;
  min-height: 420px;
  max-height: 520px;
}
.hero-banner-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.9) brightness(0.96);
  transform: scale(1.02);
}
.promo-strip {
  background: #fff;
  padding: 22px 0 0;
  border-top: 1px solid #f3dfe9;
  border-bottom: 1px solid #f3dfe9;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.promo-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 12px 24px rgba(31, 26, 29, 0.03);
}
.promo-item strong {
  font-size: 1rem;
  color: var(--primary);
}
.promo-item span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.categories, .products-section, .info-band {
  padding: 38px 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  letter-spacing: -0.03em;
}
.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.category-item {
  background: linear-gradient(180deg, #fff 0%, #fff8fa 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  box-shadow: 0 12px 22px rgba(31, 26, 29, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(168,36,87,0.08);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid #f3dfe9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(31,26,29,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 36px rgba(31,26,29,0.08);
}
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #f7eff4;
}
.product-body {
  padding: 16px 16px 18px;
}
.product-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.4;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  min-height: 26px;
}
.old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.82rem;
}
.new-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary);
}
.stock-row {
  display: flex;
  align-items: center;
}
.wa-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #1ea95d 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(30, 169, 93, 0.18);
}
.wa-order-btn:hover {
  filter: brightness(1.03);
}
.status-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.status-pill.in {
  background: var(--success-soft);
  color: var(--success);
}
.status-pill.out {
  background: var(--danger-soft);
  color: var(--danger);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--secondary);
}
.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.alt-bg { background: linear-gradient(180deg, #fff9fb 0%, #fff3f7 100%); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.info-grid > div {
  background: var(--panel);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(31,26,29,0.03);
}
.info-grid h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.site-footer {
  background: #061c2a;
  color: #f5f7fb;
  padding: 18px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}
.footer-side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-left {
  justify-content: flex-start;
}
.footer-right {
  justify-content: flex-end;
}
.footer-side a,
.footer-side span {
  color: #f5f7fb;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}
.social-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.social-icon {
  width: 62px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.08em;
  user-select: none;
}
.social-facebook {
  background: rgba(11, 63, 89, 0.97);
}
.social-telegram {
  background: rgba(136, 144, 151, 0.96);
}
.social-whatsapp {
  background: rgba(111, 126, 137, 0.96);
}
.page-content {
  padding: 40px 16px 60px;
  max-width: 900px;
}
.page-content h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-top: 0;
}
.info-card {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-top: 22px;
}
.gallery-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 32px 0;
}
.gallery-main {
  display: grid;
  gap: 14px;
}
.gallery-feature {
  width: 100%;
  min-height: 500px;
  border-radius: 22px;
  object-fit: cover;
  background: #f1f5f9;
  box-shadow: 0 20px 45px rgba(31, 26, 29, 0.08);
  cursor: zoom-in;
}
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.thumb {
  width: 78px;
  height: 78px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb:hover,
.thumb.active { border-color: var(--accent); transform: translateY(-2px); }
.product-detail h1 { margin-top: 0; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.meta-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff3f8;
  color: var(--secondary);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.product-actions .btn-secondary { background: #fff; color: var(--primary); border: 1px solid #d1d5db; }
.product-grid.small { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.88);
  z-index: 9999;
  padding: 24px;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  cursor: zoom-out;
  transition: transform 0.2s ease;
}
.lightbox img:hover {
  transform: scale(1.03);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
@media (max-width: 840px) {
  .hero {
    min-height: 260px;
    max-height: none;
  }
  .hero-banner-image {
    transform: scale(1.08);
    background-position: center center;
  }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .search-form {
    order: 3;
    width: 100%;
  }
  .header-links {
    width: 100%;
    justify-content: flex-start;
  }
  .promo-grid {
    grid-template-columns: 1fr;
  }
}

