/* ==========================================================================
   Herbacz — Responsive
   ========================================================================== */

/* ==========================================================================
   KARUZELA + SHOP-BY-NEED + DRAWER — responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hbz-carousel-track {
    grid-auto-columns: calc((100% - 2 * 16px) / 3);
  }
  .needs-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 768px) {
  .hbz-carousel-track {
    grid-auto-columns: calc((100% - 1 * 12px) / 2);
    gap: 12px;
    padding-bottom: 18px;
  }
  .hbz-carousel-arrow { display: none; }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hbz-help-bubble-text { display: none; }
  .hbz-help-bubble {
    bottom: 16px;
    left: 16px;
    padding: 12px;
    width: 46px;
    height: 46px;
    justify-content: center;
  }

  .hbz-sticky-atc-info { display: none; }
  .hbz-sticky-atc-img { width: 44px; height: 44px; }
}
@media (max-width: 480px) {
  .hbz-carousel-track {
    grid-auto-columns: 78%;
    gap: 10px;
  }
  .needs-grid { grid-template-columns: 1fr; }

  .hbz-drawer { width: 100vw; }
}

@media (max-width: 1024px) {
  :root { --header-h: 130px; }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .guarantees-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid::before { display: none; }
  .naturopath {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .naturopath-photo { max-width: 480px; margin: 0 auto; }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .woocommerce div.product {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .cart-page .cart-grid,
  .checkout-page .checkout-grid {
    grid-template-columns: 1fr;
  }
  .cart-summary-aside .cart_totals,
  .checkout-aside .checkout-section {
    position: static;
  }
  .woocommerce-MyAccount-grid {
    grid-template-columns: 1fr;
  }

  .cat-mini-grid { grid-template-columns: repeat(2, 1fr); }

  .container { padding: 0 20px; }
}

@media (max-width: 860px) {
  .site-footer .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  :root { --header-h: 116px; }

  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }

  /* Header — mobile */
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
  }
  .site-header.header--transparent:not(.is-sticky) .menu-toggle { color: #fff; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #ffffff !important;
    border-top: 1px solid #f0f5e3;
    box-shadow: 0 12px 28px rgba(31, 51, 21, 0.12);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding: 0.6rem 0 !important;
  }
  .primary-nav a {
    display: block !important;
    padding: 14px 24px !important;
    border-bottom: 1px solid #f0f5e3 !important;
    color: #1f2b14 !important;
  }
  .primary-nav li:last-child a { border-bottom: 0 !important; }

  .main-header .container {
    grid-template-columns: auto 1fr auto !important;
  }
  .brand {
    grid-column: 2;
    justify-self: center;
    font-size: 1.3rem !important;
  }
  .brand .logo-mark { width: 32px; height: 32px; }
  .cart-toggle .cart-label { display: none; }
  .cart-toggle { padding: 8px 12px; }

  .top-bar .ticker {
    flex: 1;
    min-width: 0;
    font-size: 0.78rem;
  }
  .top-bar .hours { display: none; }
  .top-bar .container { gap: 0.6rem; }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .guarantees-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-inner { padding: 130px 16px 60px; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead { font-size: 1.05rem; }
  .hero-trust { gap: 1.2rem; font-size: 0.78rem; }

  .cat-tile { height: 320px; }
  .cat-tile .label { left: 1.4rem; right: 1.4rem; bottom: 1.4rem; }

  .cat-mini-grid { grid-template-columns: 1fr; }

  .naturopath-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 1rem;
  }
  .naturopath-stats .stat strong { font-size: 1.5rem; }

  .site-footer .footer-cols {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-bottom: 30px;
  }
  .copyright-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }

  body:not(.home) .site-content { padding-top: var(--header-h); }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-hero { padding: 60px 0 40px; }

  /* Cart table — stacked on mobile */
  .woocommerce table.shop_table thead { display: none; }
  .woocommerce table.shop_table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6efd6;
  }
  .woocommerce table.shop_table tbody td {
    display: block;
    text-align: right !important;
    padding: 12px 16px !important;
    border-top: 1px solid #f0f5e3 !important;
  }
  .woocommerce table.shop_table tbody td::before {
    content: attr(data-title);
    float: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.74rem;
    color: #5a6e48;
    letter-spacing: 0.06em;
  }
  .woocommerce table.shop_table .product-thumbnail::before { display: none !important; }
  .woocommerce table.shop_table .product-thumbnail { text-align: center !important; }

  .woocommerce table.cart .actions {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
  }
  .woocommerce table.cart .actions .coupon { width: 100%; }
  .woocommerce table.cart .actions .coupon input.input-text { width: 100% !important; }
  .woocommerce table.cart .actions button { width: 100% !important; }

  /* Checkout — single column form */
  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-1,
  .woocommerce-page .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-inner { padding: 110px 12px 50px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .cta-row { width: 100%; flex-direction: column; }
  .hero .btn { width: 100%; }
  .hero-trust {
    margin-top: 2rem;
    flex-direction: column;
    gap: 0.6rem;
  }

  .btn { padding: 12px 22px; font-size: 0.82rem; }

  .newsletter-cta { padding: 3rem 1.2rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

  .trust-strip { grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 1rem; }

  .container { padding: 0 16px; }

  .guarantees-grid {
    grid-template-columns: 1fr;
  }

  .naturopath-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial-card { padding: 1.6rem 1.4rem; }
  .testimonial-card blockquote { font-size: 1rem; }

  .faq-item summary { padding: 1rem 1.2rem; font-size: 1rem; }
  .faq-item .faq-body { padding: 0 1.2rem 1.2rem; }
}

/* ==========================================================================
   STRONY O NAS / KONTAKT — responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .naturo-profile,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .naturo-profile-photo,
  .story-photo {
    max-width: 480px;
    margin: 0 auto;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .timeline::before { display: none; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.6rem;
    padding: 2.4rem 1.6rem;
  }
  .cta-banner-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .cta-banner-buttons .btn { width: auto; }
}

@media (max-width: 768px) {
  .page-hero { padding: 50px 0 56px; }
  .page-hero .lead { font-size: 1rem; }

  .values-grid {
    grid-template-columns: 1fr;
  }
  .value-card { padding: 1.6rem 1.6rem 1.4rem; }
  .value-card .value-num { font-size: 2.6rem; top: 16px; right: 18px; }

  .timeline { grid-template-columns: 1fr; gap: 1.4rem; }

  .faq-shortcuts {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .contact-form-card { padding: 1.8rem 1.4rem; }
  .cf-row-2 { grid-template-columns: 1fr; }

  .pull-quote { font-size: 1.3rem; }

  .story-body p:first-child::first-letter {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .contact-info-list li { gap: 0.8rem; }
  .contact-info-list .ci-icon { width: 38px; height: 38px; font-size: 1rem; }

  .cta-banner-buttons { flex-direction: column; }
  .cta-banner-buttons .btn { width: 100%; }
}

/* === Mała poprawka kontrastu na bardzo dużych ekranach === */
@media (min-width: 1440px) {
  .container { max-width: 1240px; }
}
