/* ============================================================
   Zawsze z Bogiem — Editorial / Sacred / Polish Christian
   v2.0 — pro redesign
   - Gold = primary action
   - Cream-beige dominance + soft gradients
   - Photography-driven, generous whitespace
   - Pill buttons, soft gold shadows
   ============================================================ */

/* ----- 1. Tokens ----- */
.zzb-theme,
:root {
  --zzb-cream:        #fdfaf5;
  --zzb-cream-deep:   #f8f3e8;
  --zzb-beige:        #f5efe6;
  --zzb-beige-warm:   #ede3d0;
  --zzb-gold:         #c9a44a;
  --zzb-gold-bright:  #d4af37;
  --zzb-gold-deep:    #a8862e;
  --zzb-gold-glow:    rgba(212,175,55,0.18);
  --zzb-teal:         #108474;
  --zzb-teal-deep:    #0c6a5c;
  --zzb-text:         #2a2620;
  --zzb-text-soft:    #6b6557;
  --zzb-line:         #e8ddc8;
  --zzb-white:        #ffffff;

  /* Blocksy palette overrides */
  --theme-palette-color-1: var(--zzb-gold);
  --theme-palette-color-2: var(--zzb-gold-deep);
  --theme-palette-color-3: var(--zzb-text);
  --theme-palette-color-4: var(--zzb-text);
  --theme-palette-color-5: var(--zzb-line);
  --theme-palette-color-6: var(--zzb-cream);
  --theme-palette-color-7: var(--zzb-cream);
  --theme-palette-color-8: var(--zzb-gold);

  --theme-link-initial-color: var(--zzb-gold-deep);
  --theme-link-hover-color: var(--zzb-gold);

  /* Type */
  --zzb-font-body:    'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --zzb-font-display: 'Cormorant Garamond', Georgia, serif;

  /* Easing */
  --zzb-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --zzb-ease-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows (gold-tinted) */
  --zzb-shadow-sm: 0 2px 8px rgba(168, 134, 46, 0.08);
  --zzb-shadow-md: 0 8px 24px rgba(168, 134, 46, 0.10);
  --zzb-shadow-lg: 0 18px 48px rgba(168, 134, 46, 0.14);
  --zzb-shadow-gold: 0 8px 28px rgba(201, 164, 74, 0.32);
}

/* ----- 2. Globals ----- */
.zzb-theme {
  font-family: var(--zzb-font-body);
  color: var(--zzb-text);
  background: var(--zzb-cream);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.zzb-theme h1, .zzb-theme h2, .zzb-theme h3, .zzb-theme h4,
.zzb-theme .product_title,
.zzb-theme .woocommerce-loop-product__title,
.zzb-theme .woocommerce-products-header__title {
  font-family: var(--zzb-font-display);
  color: var(--zzb-text);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.zzb-theme h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 300; font-style: italic; }
.zzb-theme h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 400; }
.zzb-theme h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 500; }

.zzb-theme p { color: var(--zzb-text); }
.zzb-theme a { color: var(--zzb-gold-deep); text-decoration: none; transition: color .25s var(--zzb-ease); }
.zzb-theme a:hover { color: var(--zzb-gold); }

/* ----- 3. Top promo bar (above header) ----- */
.zzb-promo-bar {
  background: linear-gradient(90deg, var(--zzb-beige) 0%, var(--zzb-cream-deep) 50%, var(--zzb-beige) 100%);
  color: var(--zzb-text);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--zzb-line);
  position: relative;
  z-index: 100;
}
.zzb-promo-bar a {
  color: var(--zzb-gold-deep);
  font-weight: 600;
  margin-left: 0.4rem;
}
.zzb-promo-bar a::after {
  content: ' →';
  transition: transform .3s var(--zzb-ease);
  display: inline-block;
}
.zzb-promo-bar a:hover::after { transform: translateX(4px); }

/* ----- 4. Header ----- */
.zzb-theme .ct-header {
  background: var(--zzb-cream) !important;
  border-bottom: 1px solid var(--zzb-line);
  font-family: var(--zzb-font-body);
  backdrop-filter: blur(6px);
}
.zzb-theme [data-id="menu"] a {
  font-family: var(--zzb-font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--zzb-text) !important;
  font-size: 0.95rem;
  position: relative;
  transition: color .3s var(--zzb-ease);
}
.zzb-theme [data-id="menu"] a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 50%;
  width: 0; height: 2px;
  background: var(--zzb-gold);
  transition: all .35s var(--zzb-ease);
  transform: translateX(-50%);
}
.zzb-theme [data-id="menu"] a:hover { color: var(--zzb-gold-deep) !important; }
.zzb-theme [data-id="menu"] a:hover::after { width: 24px; }
.zzb-theme [data-id="menu"] .current-menu-item > a { color: var(--zzb-gold-deep) !important; }
.zzb-theme [data-id="menu"] .current-menu-item > a::after { width: 24px; }

/* ----- 5. Buttons (PRIMARY = GOLD) ----- */
.zzb-theme .button,
.zzb-theme .ct-button,
.zzb-theme .wp-block-button__link,
.zzb-theme button[type="submit"],
.zzb-theme .single_add_to_cart_button,
.zzb-theme .checkout-button,
.zzb-theme input[type="submit"] {
  font-family: var(--zzb-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  background: linear-gradient(135deg, var(--zzb-gold) 0%, var(--zzb-gold-bright) 100%) !important;
  color: var(--zzb-cream) !important;
  border: none !important;
  padding: 0.95em 2.4em !important;
  border-radius: 999px !important;
  box-shadow: var(--zzb-shadow-gold);
  transition: all .35s var(--zzb-ease);
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}
.zzb-theme .button::before,
.zzb-theme .ct-button::before,
.zzb-theme .wp-block-button__link::before,
.zzb-theme .single_add_to_cart_button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--zzb-gold-bright), var(--zzb-gold-deep));
  opacity: 0;
  transition: opacity .35s var(--zzb-ease);
  z-index: -1;
}
.zzb-theme .button:hover,
.zzb-theme .ct-button:hover,
.zzb-theme .wp-block-button__link:hover,
.zzb-theme .single_add_to_cart_button:hover,
.zzb-theme .checkout-button:hover,
.zzb-theme button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(201, 164, 74, 0.42);
  color: var(--zzb-cream) !important;
}
.zzb-theme .button:hover::before,
.zzb-theme .ct-button:hover::before,
.zzb-theme .wp-block-button__link:hover::before,
.zzb-theme .single_add_to_cart_button:hover::before {
  opacity: 1;
}

/* Outline button variant */
.zzb-theme .is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 1.5px solid var(--zzb-gold) !important;
  color: var(--zzb-gold-deep) !important;
  box-shadow: none !important;
}
.zzb-theme .is-style-outline .wp-block-button__link:hover {
  background: var(--zzb-gold) !important;
  color: var(--zzb-cream) !important;
}

/* ----- 6. WooCommerce — product cards (loop) ----- */
.zzb-theme ul.products li.product {
  background: var(--zzb-white);
  padding: 0;
  border-radius: 14px;
  border: none;
  transition: all .5s var(--zzb-ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--zzb-shadow-sm);
}
.zzb-theme ul.products li.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--zzb-shadow-lg);
}
.zzb-theme ul.products li.product a img {
  border-radius: 14px 14px 0 0 !important;
  margin: 0 !important;
  transition: transform .9s var(--zzb-ease);
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
}
.zzb-theme ul.products li.product:hover a img { transform: scale(1.05); }

.zzb-theme ul.products li.product .woocommerce-loop-product__title,
.zzb-theme ul.products li.product .price,
.zzb-theme ul.products li.product .star-rating,
.zzb-theme ul.products li.product .button {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}
.zzb-theme ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--zzb-font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: var(--zzb-text) !important;
  margin-top: 1.1rem !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.25 !important;
  min-height: 3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zzb-theme ul.products li.product .price {
  color: var(--zzb-gold-deep) !important;
  font-family: var(--zzb-font-body) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  display: block;
  margin-bottom: 1rem !important;
}
.zzb-theme ul.products li.product .button {
  margin-bottom: 1.25rem !important;
  display: inline-flex !important;
  font-size: 0.85rem !important;
  padding: 0.7em 1.5em !important;
}

/* Star rating (loop + single) */
.zzb-theme .star-rating {
  color: var(--zzb-gold) !important;
  letter-spacing: 0.05em;
  font-size: 0.9em;
  margin-bottom: 0.5rem !important;
}

/* ----- 7. Single product page ----- */
.zzb-theme .single-product div.product {
  padding-top: 2.5rem;
}
.zzb-theme .single-product .product_title {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
  margin-bottom: 1rem !important;
  line-height: 1.15 !important;
}
.zzb-theme .single-product .price {
  color: var(--zzb-gold-deep) !important;
  font-size: 1.7rem !important;
  font-family: var(--zzb-font-body) !important;
  font-weight: 600;
  margin: 0.5rem 0 1.5rem;
}
.zzb-theme .single-product .price del {
  color: var(--zzb-text-soft);
  opacity: 0.5;
  font-size: 0.85em;
  margin-right: 0.5rem;
}
.zzb-theme .single-product .price ins { text-decoration: none; }

.zzb-theme .single-product .woocommerce-product-details__short-description {
  color: var(--zzb-text);
  line-height: 1.75;
  font-size: 1.05rem;
  padding: 1rem 0;
}
.zzb-theme .single-product .quantity input {
  border: 1.5px solid var(--zzb-line) !important;
  border-radius: 999px !important;
  padding: 0.7em 1em !important;
  background: var(--zzb-white);
  font-family: var(--zzb-font-body);
  font-weight: 500;
  text-align: center;
  width: 80px;
}

.zzb-theme .single-product .woocommerce-product-gallery__image img {
  border-radius: 12px;
  box-shadow: var(--zzb-shadow-md);
}
.zzb-theme .single-product .flex-control-thumbs li img {
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color .25s var(--zzb-ease);
}
.zzb-theme .single-product .flex-control-thumbs li img.flex-active,
.zzb-theme .single-product .flex-control-thumbs li img:hover {
  border-color: var(--zzb-gold);
}

/* Variations */
.zzb-theme .variations select {
  border: 1.5px solid var(--zzb-line) !important;
  border-radius: 999px !important;
  padding: 0.75em 1.4em !important;
  background: var(--zzb-white);
  font-family: var(--zzb-font-body);
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23c9a44a' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2em center;
  padding-right: 2.5em !important;
}
.zzb-theme .variations select:focus {
  border-color: var(--zzb-gold) !important;
  outline: none;
  box-shadow: 0 0 0 3px var(--zzb-gold-glow);
}

/* Tabs */
.zzb-theme .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--zzb-line);
  padding-left: 0 !important;
}
.zzb-theme .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0.5rem 0 0 !important;
}
.zzb-theme .woocommerce-tabs ul.tabs li::before,
.zzb-theme .woocommerce-tabs ul.tabs li::after { display: none !important; }
.zzb-theme .woocommerce-tabs ul.tabs li a {
  font-family: var(--zzb-font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1em 1.5em !important;
  color: var(--zzb-text-soft) !important;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}
.zzb-theme .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--zzb-gold) !important;
}
.zzb-theme .woocommerce-tabs ul.tabs li.active a { color: var(--zzb-text) !important; }

/* ----- 8. Sale badge ----- */
.zzb-theme span.onsale {
  background: linear-gradient(135deg, var(--zzb-gold), var(--zzb-gold-bright)) !important;
  color: var(--zzb-cream) !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--zzb-font-body);
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem !important;
  padding: 0.45em 1em !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  box-shadow: var(--zzb-shadow-sm);
  top: 1rem !important;
  left: 1rem !important;
  right: auto !important;
  position: absolute;
  z-index: 2;
}

/* ----- 9. Cart + checkout ----- */
.zzb-theme .woocommerce-cart .cart-collaterals .cart_totals,
.zzb-theme .woocommerce-checkout #order_review {
  background: var(--zzb-cream-deep);
  border: 1px solid var(--zzb-line);
  border-radius: 14px;
  padding: 2rem;
}
.zzb-theme .woocommerce table.shop_table {
  border: 1px solid var(--zzb-line);
  border-radius: 14px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.zzb-theme .woocommerce table.shop_table th {
  background: var(--zzb-beige);
  font-family: var(--zzb-font-body);
  font-weight: 600;
  color: var(--zzb-text);
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 1em 1.2em;
}
.zzb-theme .woocommerce table.shop_table td {
  padding: 1em 1.2em;
  border-top: 1px solid var(--zzb-line);
}

/* ----- 10. Footer ----- */
.zzb-theme .ct-footer {
  background: linear-gradient(180deg, var(--zzb-cream) 0%, var(--zzb-beige) 100%) !important;
  color: var(--zzb-text);
  border-top: 1px solid var(--zzb-line);
  padding-top: 4rem;
}
.zzb-theme .ct-footer a { color: var(--zzb-gold-deep); }
.zzb-theme .ct-footer a:hover { color: var(--zzb-gold); }
.zzb-theme .ct-footer h2,
.zzb-theme .ct-footer h3,
.zzb-theme .ct-footer h4 {
  font-family: var(--zzb-font-display);
  font-weight: 400;
  color: var(--zzb-text);
}

/* ----- 11. ZZB CUSTOM SECTIONS ----- */

/* Hero with overlaid text on cover image */
.zzb-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--zzb-beige) 0%, var(--zzb-cream-deep) 50%, var(--zzb-beige-warm) 100%);
}
.zzb-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.92) saturate(1.05);
}
.zzb-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(253,250,245,0.3) 100%);
}
.zzb-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 4rem 2rem;
}
.zzb-hero__eyebrow {
  display: inline-block;
  font-family: var(--zzb-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zzb-gold-deep);
  margin-bottom: 1.5rem;
}
.zzb-hero__title {
  font-family: var(--zzb-font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--zzb-text);
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 20px rgba(253,250,245,0.7);
}
.zzb-hero__quote {
  font-family: var(--zzb-font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--zzb-text-soft);
  margin: 0 0 2.5rem;
  font-weight: 400;
}
.zzb-hero__cite {
  display: block;
  font-family: var(--zzb-font-body);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zzb-gold-deep);
  margin-top: 0.6rem;
  font-style: normal;
}
.zzb-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--zzb-gold), var(--zzb-gold-bright));
  color: var(--zzb-cream);
  padding: 1.1em 2.6em;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--zzb-shadow-gold);
  transition: all .4s var(--zzb-ease);
  font-size: 1rem;
}
.zzb-hero__cta:hover {
  color: var(--zzb-cream);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(201, 164, 74, 0.5);
}

/* Simple section wrapper */
.zzb-section {
  padding: clamp(4rem, 8vw, 7rem) 2rem;
}
.zzb-section--cream { background: var(--zzb-cream); }
.zzb-section--beige { background: linear-gradient(180deg, var(--zzb-cream) 0%, var(--zzb-beige) 50%, var(--zzb-cream) 100%); }
.zzb-section--warm { background: linear-gradient(135deg, var(--zzb-beige) 0%, var(--zzb-beige-warm) 100%); }
.zzb-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.zzb-section__inner--narrow { max-width: 760px; }

.zzb-section__eyebrow {
  display: inline-block;
  font-family: var(--zzb-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zzb-gold-deep);
  margin-bottom: 1rem;
}
.zzb-section__title {
  font-family: var(--zzb-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--zzb-text);
  margin: 0 0 1.5rem;
  line-height: 1.15;
}
.zzb-section__title--italic { font-style: italic; font-weight: 300; }
.zzb-section__title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1.5px;
  background: var(--zzb-gold);
  margin: 1.2rem auto 0;
}
.zzb-section__lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--zzb-text-soft);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Quote block (psalm) */
.zzb-quote {
  text-align: center;
  padding: clamp(4rem, 6vw, 6rem) 2rem;
  background: var(--zzb-cream);
  border-top: 1px solid var(--zzb-line);
  border-bottom: 1px solid var(--zzb-line);
  position: relative;
}
.zzb-quote::before {
  content: '✦';
  display: block;
  color: var(--zzb-gold);
  font-size: 1.4rem;
  margin: 0 auto 1.5rem;
}
.zzb-quote__text {
  font-family: var(--zzb-font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--zzb-text);
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto 1.5rem;
}
.zzb-quote__cite {
  font-family: var(--zzb-font-body);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zzb-gold-deep);
  font-weight: 600;
}

/* Categories grid */
.zzb-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.zzb-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--zzb-white);
  text-decoration: none;
  box-shadow: var(--zzb-shadow-sm);
  transition: all .4s var(--zzb-ease);
}
.zzb-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--zzb-shadow-lg);
}
.zzb-cat-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .9s var(--zzb-ease);
}
.zzb-cat-card:hover .zzb-cat-card__img { transform: scale(1.06); }
.zzb-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(42, 38, 32, 0.85) 100%);
}
.zzb-cat-card__title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  font-family: var(--zzb-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--zzb-cream);
  margin: 0;
  letter-spacing: 0.01em;
}
.zzb-cat-card__title::after {
  content: '→';
  margin-left: 0.5em;
  display: inline-block;
  transition: transform .35s var(--zzb-ease);
  color: var(--zzb-gold);
}
.zzb-cat-card:hover .zzb-cat-card__title::after { transform: translateX(6px); }

/* Bestsellers infinite scroll */
.zzb-bestsellers {
  background: var(--zzb-cream);
  padding: clamp(4rem, 6vw, 6rem) 0;
  overflow: hidden;
}
.zzb-bestsellers__inner { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.zzb-bestsellers__head {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 600px;
}
.zzb-bestsellers__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zzb-gold-deep);
  margin-bottom: 1rem;
}
.zzb-bestsellers__title {
  font-family: var(--zzb-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--zzb-text);
  margin: 0;
}
.zzb-bestsellers__container {
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  margin-top: 0;
}
.zzb-bestsellers__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: zzb-scroll-left 60s linear infinite;
  will-change: transform;
}
.zzb-bestsellers:hover .zzb-bestsellers__track { animation-play-state: paused; }
.zzb-bestsellers__item {
  flex-shrink: 0;
  width: 17rem;
  text-decoration: none;
  color: inherit;
  transition: transform .4s var(--zzb-ease);
}
.zzb-bestsellers__item:hover { transform: translateY(-6px); }
.zzb-bestsellers__thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--zzb-white);
  box-shadow: var(--zzb-shadow-sm);
  position: relative;
}
.zzb-bestsellers__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .9s var(--zzb-ease);
}
.zzb-bestsellers__item:hover .zzb-bestsellers__thumb img { transform: scale(1.06); }
.zzb-bestsellers__meta { padding-top: 0.9rem; text-align: left; }
.zzb-bestsellers__name {
  font-family: var(--zzb-font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--zzb-text);
  margin: 0 0 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}
.zzb-bestsellers__price {
  color: var(--zzb-gold-deep);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--zzb-font-body);
}
.zzb-bestsellers__price del { opacity: 0.4; margin-right: 0.4em; font-size: 0.9em; }
.zzb-bestsellers__price ins { text-decoration: none; }

@keyframes zzb-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Newsletter "Klub Wiernych Serc" */
.zzb-newsletter {
  background: linear-gradient(135deg, var(--zzb-beige) 0%, var(--zzb-beige-warm) 100%);
  padding: clamp(4rem, 7vw, 6rem) 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.zzb-newsletter::before {
  content: '✦';
  position: absolute;
  top: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--zzb-gold);
  font-size: 1.4rem;
}
.zzb-newsletter__inner { max-width: 600px; margin: 0 auto; }
.zzb-newsletter__title {
  font-family: var(--zzb-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--zzb-text);
  margin: 1rem 0 1rem;
}
.zzb-newsletter__lead {
  color: var(--zzb-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 2rem;
}
.zzb-newsletter__form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.zzb-newsletter__form input[type="email"] {
  flex: 1 1 240px;
  border: 1.5px solid var(--zzb-line);
  border-radius: 999px;
  padding: 0.95em 1.5em;
  font-family: var(--zzb-font-body);
  font-size: 0.95rem;
  background: var(--zzb-cream);
  color: var(--zzb-text);
  transition: border-color .25s var(--zzb-ease), box-shadow .25s var(--zzb-ease);
}
.zzb-newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--zzb-gold);
  box-shadow: 0 0 0 3px var(--zzb-gold-glow);
}
.zzb-newsletter__form button {
  background: linear-gradient(135deg, var(--zzb-gold), var(--zzb-gold-bright));
  color: var(--zzb-cream);
  border: none;
  border-radius: 999px;
  padding: 0.95em 2em;
  font-family: var(--zzb-font-body);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--zzb-shadow-gold);
  transition: all .35s var(--zzb-ease);
}
.zzb-newsletter__form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201,164,74,0.45);
}
.zzb-newsletter__hint {
  font-size: 0.8rem;
  color: var(--zzb-text-soft);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* "Postaw nam kawę" support card */
.zzb-coffee {
  background: var(--zzb-cream);
  border: 1.5px solid var(--zzb-gold);
  border-radius: 18px;
  padding: 2.5rem;
  max-width: 720px;
  margin: 4rem auto;
  text-align: center;
  position: relative;
  box-shadow: var(--zzb-shadow-md);
}
.zzb-coffee::before {
  content: '☕';
  display: block;
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: sepia(0.4);
}
.zzb-coffee__title {
  font-family: var(--zzb-font-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 400;
  color: var(--zzb-text);
  margin: 0 0 1rem;
}
.zzb-coffee__lead {
  color: var(--zzb-text-soft);
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

/* App download promo card */
.zzb-app {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, var(--zzb-cream) 0%, var(--zzb-cream-deep) 100%);
  border-radius: 18px;
  padding: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--zzb-line);
  position: relative;
  overflow: hidden;
}
.zzb-app::before {
  content: '🕊';
  position: absolute;
  font-size: 8rem;
  opacity: 0.06;
  top: -1rem; right: -1rem;
  pointer-events: none;
}
.zzb-app__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zzb-gold-deep);
  margin-bottom: 0.8rem;
}
.zzb-app__title {
  font-family: var(--zzb-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--zzb-text);
  margin: 0 0 1rem;
}
.zzb-app__lead {
  color: var(--zzb-text-soft);
  line-height: 1.7;
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

/* Inline list with emoji icons */
.zzb-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
  margin-top: 3rem;
}
.zzb-icons__item {
  padding: 1.5rem 1rem;
}
.zzb-icons__emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.8rem;
}
.zzb-icons__title {
  font-family: var(--zzb-font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--zzb-text);
  margin: 0 0 0.3rem;
}
.zzb-icons__lead {
  font-size: 0.9rem;
  color: var(--zzb-text-soft);
  line-height: 1.5;
}

/* ----- 12. View transitions ----- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: zzb-fade-out 0.18s ease forwards; }
::view-transition-new(root) { animation: zzb-fade-in 0.32s ease forwards; }
@keyframes zzb-fade-out { to { opacity: 0; } }
@keyframes zzb-fade-in  { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .zzb-bestsellers__track { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ----- 13. Misc polish ----- */
.zzb-theme img { max-width: 100%; height: auto; }
.zzb-theme .woocommerce-message,
.zzb-theme .woocommerce-info {
  border-top: 3px solid var(--zzb-gold) !important;
  background: var(--zzb-cream) !important;
  border-radius: 8px !important;
  padding: 1em 1.4em !important;
}
.zzb-theme .woocommerce-message::before,
.zzb-theme .woocommerce-info::before { color: var(--zzb-gold) !important; }

.zzb-theme .woocommerce-products-header {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 2rem clamp(2rem, 3vw, 3rem);
  background: linear-gradient(180deg, var(--zzb-beige) 0%, var(--zzb-cream) 100%);
}
.zzb-theme .woocommerce-products-header__title {
  font-style: italic;
  font-weight: 300;
}

.zzb-theme .woocommerce-breadcrumb {
  font-size: 0.85rem;
  color: var(--zzb-text-soft);
  letter-spacing: 0.03em;
  text-align: center;
  padding: 1rem;
}
.zzb-theme .woocommerce-breadcrumb a { color: var(--zzb-gold-deep); }

.zzb-theme .reset_variations {
  color: var(--zzb-text-soft);
  font-size: 0.85em;
  margin-left: 0.8rem;
}

/* Page title area */
.zzb-theme .ct-page-title {
  text-align: center;
  padding: clamp(3rem, 5vw, 4rem) 2rem;
  background: var(--zzb-beige);
}
