/* ZDROWIE NATURA - Main Stylesheet */

:root {
  --primary: #1B5E20;
  --primary-light: #4E8A52;
  --primary-dark: #0D3D12;
  --accent: #FFD700;
  --accent-orange: #FF6B35;
  --bg-cream: #FFFBF7;
  --bg-green: #F5F9F5;
  --text-dark: #1A1A1A;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.logo span { color: var(--primary-light); }

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0;
}

.section-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0;
  color: var(--white);
}

.hero-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pill {
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
}

/* OFFER STRIP */
.offer-strip {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E0 100%);
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  text-align: center;
  margin-bottom: 40px;
}

.offer-strip h3 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.offer-strip .subtitle {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.countdown-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.countdown-box {
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 70px;
}

.countdown-box .num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.countdown-box .lbl {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 0;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.cat-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 8px 0;
}

.searches {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 8px 0;
}

.vol-bar {
  background: #E5E7EB;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0;
}

.vol-bar-fill {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  height: 100%;
  border-radius: 3px;
}

.product-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 12px 0;
  line-height: 1.5;
}

.btn-secondary {
  display: inline-block;
  background: var(--bg-green);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

/* BENEFITS GRID */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.benefit-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.benefit-card .icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.benefit-card h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 24px;
  text-align: center;
}

footer strong {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

footer a {
  color: var(--white);
  margin: 0 8px;
  font-size: 0.875rem;
}

footer a:hover { text-decoration: underline; }

/* DISCLAIMER */
.disclaimer-bar {
  background: #F3F4F6;
  color: var(--text-gray);
  font-size: 0.75rem;
  padding: 16px 24px;
  text-align: center;
  border-top: 1px solid #E5E7EB;
}

/* COOKIE BAR */
.cookie-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-xl);
}

.cookie-bar span { flex: 1; font-size: 0.875rem; }

.cookie-btn {
  background: var(--primary-light);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-btn:hover { background: var(--primary); }

/* EXIT POPUP */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.overlay.active { display: flex; }

.modal {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal .icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal p { color: var(--text-gray); margin-bottom: 20px; }

.m-countdown {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}

.modal-dismiss {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.82rem;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== MOBILE RESPONSIVE FIXES ===== */
html, body {
  overflow-x: hidden;
}

body {
  word-wrap: break-word;
}

.header-inner,
.hero-content,
.content-grid,
.trust-inner,
.hero-buttons,
.opinion-header,
.countdown {
  min-width: 0;
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 0;
  }

  .header-inner {
    padding: 0 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .breadcrumb {
    font-size: 0.8rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .product-hero {
    padding: 36px 16px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-text .description {
    font-size: 1rem;
  }

  .hero-text .price {
    font-size: 1.7rem;
  }

  .hero-text .price old {
    display: block;
    margin: 8px 0 0;
    font-size: 1rem;
  }

  .hero-text .rating {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons a,
  .hero-buttons button {
    width: 100%;
    text-align: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .hero-image img {
    max-width: 280px;
    width: 100%;
  }

  .trust-badges {
    padding: 18px 0;
  }

  .trust-inner {
    padding: 0 16px;
    gap: 12px;
    justify-content: flex-start;
  }

  .trust-item {
    width: calc(50% - 6px);
    font-size: 0.8rem;
    align-items: flex-start;
  }

  .main-content {
    padding: 36px 16px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-card {
    padding: 22px 16px;
    margin-bottom: 20px;
    border-radius: 16px;
  }

  h2 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.96rem;
  }

  .ingredients-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ingredient-item {
    padding: 16px 12px;
  }

  .ingredient-item .icon {
    font-size: 2rem;
  }

  .ingredient-item .name {
    font-size: 0.95rem;
  }

  .ingredient-item .benefit {
    font-size: 0.78rem;
  }

  .benefits-list li {
    gap: 10px;
    padding: 10px 0;
  }

  .opinion-card {
    padding: 18px 14px;
  }

  .opinion-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .opinion-author .name {
    font-size: 0.95rem;
  }

  .opinion-author .date {
    font-size: 0.75rem;
  }

  .opinion-stars {
    width: 100%;
    margin-top: 2px;
  }

  .sidebar-sticky {
    position: static;
    top: auto;
  }

  .offer-box {
    padding: 22px 16px;
  }

  .offer-box .new-price {
    font-size: 2rem;
  }

  .countdown {
    gap: 8px;
    flex-wrap: wrap;
  }

  .countdown-box {
    min-width: 54px;
    padding: 10px 12px;
  }

  .countdown-box .num {
    font-size: 1.2rem;
  }

  .btn-large {
    width: 100%;
    font-size: 1rem;
    padding: 16px;
  }

  .site-footer {
    padding: 32px 16px;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .site-footer a {
    display: inline-block;
    margin: 4px 6px;
  }

  .disclaimer {
    padding: 14px 16px;
    font-size: 0.72rem;
    line-height: 1.5;
  }
}

@media (max-width: 560px) {
  .logo {
    font-size: 1.25rem;
  }

  .product-hero {
    padding: 28px 14px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text .category-badge {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .trust-item {
    width: 100%;
  }

  .ingredients-list {
    grid-template-columns: 1fr;
  }

  .countdown {
    justify-content: center;
  }

  .countdown-box {
    flex: 1 1 30%;
    max-width: 90px;
  }

  .offer-box .discount-badge {
    font-size: 0.8rem;
    padding: 7px 14px;
  }

  .offer-box .product-name {
    font-size: 1.3rem;
  }

  .offer-box .new-price {
    font-size: 1.8rem;
  }
}