/* ===================================================
   NOVA Store Collection — style.css (Mobile Optimized)
   - Hapus backdrop-filter di mobile (lag utama)
   - GPU layer hanya di elemen penting
   - Animasi dikurangi di mobile
   - Touch target min 44px
   - Font loading non-blocking
=================================================== */

:root {
  --primary: #FF6B00;
  --primary-light: #FF9340;
  --primary-dark: #D94F00;
  --secondary: #1A1A2E;
  --accent: #FFD700;
  --accent2: #00C9A7;
  --bg: #FFF8F0;
  --bg2: #FFF3E5;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #F0E6D3;
  --success: #10B981;
  --danger: #EF4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.13);
  --transition: 0.25s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* =====================================================
   SCROLLBAR (desktop only)
===================================================== */
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--bg2); }
  ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 8px; }
}

/* =====================================================
   UTILITIES
===================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--secondary);
}
.section-title .accent { color: var(--primary); }
.section-sub { color: var(--text-muted); font-size: 0.95rem; }
.section-header { text-align: center; margin-bottom: 32px; }

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================================================
   ANIMATIONS — minimal, GPU-only
===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}
@keyframes scrollLine {
  0%   { height: 0; opacity: 1; }
  100% { height: 50px; opacity: 0; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-6px) rotate(-5deg); }
}

.animate-fadein { animation: fadeInUp 0.6s ease both; }

/* =====================================================
   TICKER
===================================================== */
.discount-ticker {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  overflow: hidden;
  padding: 7px 0;
  white-space: nowrap;
  position: relative;
  z-index: 1000;
}
.ticker-inner {
  display: inline-flex;
  gap: 36px;
  /* will-change only on desktop, laggy on low-end phones */
  animation: ticker 22s linear infinite;
}
.ticker-inner span {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  /* solid fallback for mobile (backdrop-filter = lag) */
  background: rgba(255,255,255,0.97);
  border-bottom: 1.5px solid var(--border);
  transition: box-shadow var(--transition);
}
/* Only use blur on powerful devices (desktop) */
@media (min-width: 768px) {
  .navbar {
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-icon { font-size: 1.6rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
}
.brand-sub { font-size: 0.58rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { background: var(--bg2); color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-wa {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-grid { position: absolute; inset: 0; z-index: 0; }
.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%; height: 100%;
}
.mosaic-item {
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.7);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(26,26,46,0.88) 0%,
    rgba(26,26,46,0.65) 50%,
    rgba(255,107,0,0.22) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 90px 20px 70px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,215,0,0.15);
  border: 1.5px solid rgba(255,215,0,0.45);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: 26px;
}
.hero-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(255,107,0,0.38);
  border: none; cursor: pointer;
  font-family: var(--font-body);
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 48px;
}
@media (min-width: 768px) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,0,0.5); }
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 50px;
  min-height: 48px;
  transition: background var(--transition);
}
.btn-secondary:active { background: rgba(255,255,255,0.25); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 14px 20px;
}
.stat { text-align: center; padding: 0 16px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat span { color: var(--primary-light); font-weight: 900; }
.stat p { color: rgba(255,255,255,0.65); font-size: 0.72rem; margin-top: 2px; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.18); flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.4);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-line {
  width: 1.5px; height: 0;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scrollLine 2s ease-in-out infinite;
}

/* =====================================================
   ABOUT
===================================================== */
.about { padding: 70px 0; background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 380px; object-fit: cover; }
.about-badge-float {
  position: absolute; bottom: 16px; right: 16px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.82rem; font-weight: 800;
  box-shadow: var(--shadow);
  animation: floatY 3s ease-in-out infinite;
}
.about-text p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.75; }
.about-text strong { color: var(--primary); }
.about-features { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.feature-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 0.8rem; font-weight: 700;
  padding: 6px 13px;
  border-radius: 50px;
}
.feature-chip i { color: var(--success); }

/* =====================================================
   ETALASE
===================================================== */
.etalase { padding: 70px 0; background: var(--bg); }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.83rem; font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  font-family: var(--font-body);
  min-height: 44px;
}
.filter-btn:active { transform: scale(0.96); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 3px 12px rgba(255,107,0,0.3);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  /* GPU layer for smooth scroll — without heavy effects */
  transform: translateZ(0);
  transition: box-shadow var(--transition);
  animation: fadeInUp 0.45s ease both;
}
@media (min-width: 768px) {
  .product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px) translateZ(0);
  }
}
.product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg2);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Smooth zoom only on desktop */
  transition: transform 0.4s ease;
  will-change: auto;
}
@media (min-width: 768px) {
  .product-card:hover .product-card-img img { transform: scale(1.07); }
}

.badge-sale {
  position: absolute; top: 8px; left: 8px;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem; font-weight: 900;
  padding: 3px 8px;
  border-radius: 50px;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}
.badge-new {
  position: absolute; top: 8px; right: 8px;
  background: var(--accent2);
  color: #fff;
  font-size: 0.62rem; font-weight: 900;
  padding: 3px 8px;
  border-radius: 50px;
  z-index: 1;
}
.product-card-body {
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-category {
  font-size: 0.65rem; font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 3px;
}
.product-card-name {
  font-size: 0.86rem; font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-sizes { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 8px; }
.product-card-price-row {
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.price-orig { font-size: 0.72rem; color: var(--text-light); text-decoration: line-through; }
.price-now { font-size: 1rem; font-weight: 900; color: var(--primary); font-family: var(--font-display); }
.price-discount {
  background: rgba(239,68,68,0.12); color: var(--danger);
  font-size: 0.65rem; font-weight: 800;
  padding: 2px 6px; border-radius: 50px;
}
.btn-card-buy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  padding: 10px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.78rem; font-weight: 800;
  border: none; cursor: pointer;
  font-family: var(--font-body);
  min-height: 44px;
  margin-top: auto;
  transition: opacity var(--transition);
}
.btn-card-buy:active { opacity: 0.8; }

/* =====================================================
   MODAL
===================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 0;
}
@media (min-width: 600px) {
  .modal-overlay { align-items: center; padding: 16px; }
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 800px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
@media (min-width: 600px) {
  .modal-box {
    border-radius: 20px;
    transform: scale(0.95) translateY(16px);
    max-height: 88vh;
  }
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
@media (min-width: 600px) {
  .modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
}

/* drag indicator */
.modal-box::before {
  content: '';
  display: block;
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px auto 0;
}
@media (min-width: 600px) { .modal-box::before { display: none; } }

.modal-close {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  z-index: 10;
  transition: background var(--transition);
  min-width: 44px; min-height: 44px;
}
.modal-close:active { background: var(--danger); color: #fff; }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 599px) {
  .modal-inner { grid-template-columns: 1fr; }
}

/* Slider */
.modal-slider {
  position: relative;
  background: var(--bg2);
  min-height: 280px;
  overflow: hidden;
}
@media (min-width: 600px) { .modal-slider { min-height: 360px; } }

.slider-track {
  display: flex;
  height: 100%;
  min-height: 280px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
@media (min-width: 600px) { .slider-track { min-height: 360px; } }

.slider-track img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
@media (min-width: 600px) { .slider-track img { min-height: 360px; } }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: none; cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  z-index: 2;
  min-width: 44px; min-height: 44px;
}
.slider-btn:active { background: var(--primary); color: #fff; }
.slider-btn.prev { left: 6px; }
.slider-btn.next { right: 6px; }

.slider-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 16px; min-height: 16px; /* larger tap target */
  display: flex; align-items: center; justify-content: center;
}
.dot::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.25s ease;
}
.dot.active::after { background: var(--primary); width: 16px; border-radius: 4px; }

/* Modal Detail */
.modal-detail {
  padding: 20px 18px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.modal-badge {
  font-size: 0.66rem; font-weight: 800;
  padding: 3px 10px; border-radius: 50px;
}
.modal-badge.cat { background: var(--bg2); color: var(--text-muted); }
.modal-badge.sale { background: rgba(239,68,68,0.12); color: var(--danger); }

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.5vw, 1.3rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
}
.modal-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.modal-sizes-section h4 { font-size: 0.8rem; font-weight: 800; color: var(--text); margin-bottom: 7px; }
.size-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.size-chip {
  padding: 7px 11px;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 0.76rem; font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.2; text-align: center;
  min-height: 44px;
}
.size-chip:active { border-color: var(--primary); }
.size-chip.selected { background: var(--primary); border-color: var(--primary); color: #fff; }

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}
.price-block { display: flex; flex-direction: column; }
.price-original { font-size: 0.78rem; color: var(--text-light); text-decoration: line-through; }
.price-final { font-size: 1.4rem; font-weight: 900; color: var(--primary); font-family: var(--font-display); }

.qty-block { display: flex; align-items: center; gap: 6px; }
.qty-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--surface);
  font-size: 1.1rem; font-weight: 900;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  min-width: 44px; min-height: 44px;
  font-family: var(--font-body);
}
.qty-btn:active { border-color: var(--primary); color: var(--primary); }
.qty-val { font-size: 1rem; font-weight: 800; min-width: 28px; text-align: center; }

.modal-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.86rem; color: var(--text-muted);
}
.modal-total { font-size: 1.1rem; font-weight: 900; color: var(--success); }

.btn-buy {
  width: 100%; justify-content: center;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  min-height: 52px;
}

/* =====================================================
   CONTACT
===================================================== */
.contact { padding: 70px 0; background: var(--secondary); }
.contact .section-label { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.contact .section-title { color: #fff; }
.contact .section-sub { color: rgba(255,255,255,0.5); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
  min-height: 64px;
}
.contact-card:active { background: rgba(255,255,255,0.12); border-color: var(--primary); }
.contact-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.wa-card .contact-card-icon { background: rgba(16,185,129,0.18); color: var(--success); }
.fb-card .contact-card-icon { background: rgba(59,130,246,0.18); color: #60A5FA; }
.map-card .contact-card-icon { background: rgba(255,107,0,0.18); color: var(--primary-light); }
.contact-card-text { flex: 1; }
.contact-card-text span { font-size: 0.68rem; color: rgba(255,255,255,0.45); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.contact-card-text strong { display: block; font-size: 0.9rem; color: #fff; font-weight: 800; margin: 2px 0; }
.contact-card-text p { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.35; }
.contact-arrow { color: rgba(255,255,255,0.25); font-size: 0.8rem; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.1);
  min-height: 260px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 260px; border: none; }

/* =====================================================
   FOOTER
===================================================== */
.footer { background: #0D0D1A; padding: 20px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  min-width: 44px; min-height: 44px;
}

/* =====================================================
   WA FLOAT
===================================================== */
.wa-float {
  position: fixed;
  bottom: 20px; right: 16px;
  z-index: 800;
  display: flex; align-items: center; gap: 8px;
  background: var(--success);
  color: #fff;
  font-size: 1.4rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(16,185,129,0.45);
  justify-content: center;
  overflow: hidden;
  transition: width 0.3s ease, border-radius 0.3s ease, padding 0.3s ease;
  text-decoration: none;
}
.wa-float-label {
  font-size: 0.8rem; font-weight: 800;
  white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width 0.3s ease, opacity 0.2s ease;
}
@media (min-width: 768px) {
  .wa-float:hover {
    border-radius: 40px;
    width: auto;
    padding: 0 18px 0 14px;
  }
  .wa-float:hover .wa-float-label { max-width: 100px; opacity: 1; }
}

/* Empty state */
.empty-products {
  grid-column: 1/-1;
  text-align: center; padding: 50px 20px;
  color: var(--text-muted);
}
.empty-products i { font-size: 2.5rem; color: var(--border); display: block; margin-bottom: 10px; }

/* =====================================================
   REVEAL ANIMATION
===================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-img-wrap img { height: 250px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .nav-links {
    display: none;
    position: fixed; top: 58px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 16px 16px;
    gap: 2px;
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 890;
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 48px; border-radius: 10px; padding: 12px 14px; }
  .hamburger { display: flex; }

  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 0; justify-content: center; }
  .stat { padding: 0 12px; }
  .stat-num { font-size: 1.5rem; }
  .stat-divider { height: 36px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .footer-inner { justify-content: center; text-align: center; }

  .about { padding: 50px 0; }
  .etalase { padding: 50px 0; }
  .contact { padding: 50px 0; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card-body { padding: 9px 9px 11px; }
  .product-card-name { font-size: 0.8rem; }
  .price-now { font-size: 0.9rem; }
  .btn-card-buy { font-size: 0.72rem; }
  .hero-stats { padding: 12px 10px; }
}

/* Disable expensive animations on low-end / battery-save */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:30px;
  flex-wrap:wrap;
}

.pagination button{
  width:42px;
  height:42px;
  border:none;
  border-radius:10px;
  cursor:pointer;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.pagination button.active{
  background:var(--primary);
  color:#fff;
}
