/*
Theme Name: Z Kaczkowa
Template: twentytwentyfive
Description: Motyw sklepu gospodarstwa Z Kaczkowa, wg prototypu (białe tło, Fraunces + DM Sans, zielone przyciski).
Version: 1.0.0
Text Domain: zkaczkowa
*/

/* Przyciski WooCommerce jak w prototypie: zielone "pigułki" */
.wc-block-components-button:not(.is-link),
.wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  border-radius: 999px !important;
  background: var(--wp--preset--color--zielony) !important;
  color: var(--wp--preset--color--zielony-jasny) !important;
  font-weight: 500;
  transition: filter .15s, transform .15s;
}
.wc-block-components-button:hover, .wp-block-button__link:hover { filter: brightness(1.1); }
.wc-block-components-button:active, .wp-block-button__link:active { transform: scale(.98); }
.is-style-outline > .wp-block-button__link {
  background: transparent !important; color: var(--wp--preset--color--atrament) !important;
  border: 1.5px solid var(--wp--preset--color--linia) !important;
}

/* Karty produktów: zaokrąglone zdjęcia 3:4 */
.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img,
.wc-block-grid__product-image img,
.woocommerce ul.products li.product img {
  border-radius: 22px; aspect-ratio: 3/4; object-fit: cover;
}
.wc-block-components-product-price, .woocommerce-Price-amount { font-variant-numeric: tabular-nums; }

/* Nagłówek przyklejony, półprzezroczysty jak w prototypie */
.zk-naglowek { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--wp--preset--color--linia); }
body.admin-bar .zk-naglowek { top: 32px; }
.zk-logo img { height: 42px; width: auto; display: block; }
@media (max-width: 760px) { .zk-logo img { height: 34px; } }

.zk-hero h1 { font-weight: 800; }
.zk-nr { font-family: var(--wp--preset--font-family--fraunces); font-size: 56px; line-height: 1;
  color: var(--wp--preset--color--glina); }

:focus-visible { outline: 2px solid var(--wp--preset--color--glina); outline-offset: 3px; }
