/* ------------------------------------------------------------------
   WOOCOMMERCE.CSS — mini-cart (bazowe style w assets/css/custom.css),
   breadcrumbs, single-product (PDP), koszyk, kasa, moje konto: 1:1
   wyciągnięte z plantandfun-product.html i plantandfun-cart.html
   (kaskada zachowana tak jak w oryginale: bazowe reguły = desktop,
   nadpisania @media (max-width) = mobile/tablet).
   Sekcja "Archiwum sklepu" na końcu to NOWY układ (brak mockupu dla
   /sklep/) — tam stosujemy mobile-first + 1 breakpoint 992px.
   ------------------------------------------------------------------ */

/* ---------- Wspólne: sekcje WC dopasowują odstępy do gęstszych stron ---------- */
body.single-product section,
body.woocommerce-cart section,
body.woocommerce-checkout section,
body.woocommerce-account section {
  padding: clamp(64px, 9vw, 120px) 0;
}
body.woocommerce-cart section {
  padding: clamp(56px, 8vw, 100px) 0;
}
body.single-product .eyebrow,
body.woocommerce-cart .eyebrow {
  color: var(--green-deep);
}

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 20px 0 0; font-size: 13px; color: var(--ink-mute); }
.crumbs a { color: var(--ink-mute); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 8px; opacity: .5; }
@media (max-width: 640px) {
  .crumbs { font-size: 12px; }
  .crumbs .sep { margin: 0 6px; }
}

/* ============= PDP HERO ============= */
.pdp { padding: 28px 0 clamp(64px, 8vw, 100px); }
.pdp-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.pdp-gallery { position: sticky; top: 80px; }
.pdp-gallery__main {
  aspect-ratio: 4 / 3; background: var(--cream); border-radius: var(--radius-lg);
  overflow: hidden; position: relative; border: 1px solid var(--line-warm);
}
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.pdp-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pdp-gallery__thumb {
  aspect-ratio: 1 / 1; background: var(--cream); border-radius: var(--radius);
  overflow: hidden; border: 2px solid transparent; cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease); padding: 0;
}
.pdp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery__thumb:hover { transform: translateY(-2px); }
.pdp-gallery__thumb.active { border-color: var(--ink); }

.pdp-info { padding-top: 6px; }
.pdp-info .eyebrow { margin-bottom: 12px; }
.pdp-info h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; letter-spacing: -0.03em; line-height: 1.1; }
.pdp-rating { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-mute); margin-bottom: 18px; }
.pdp-rating .stars { color: var(--brand-orange); letter-spacing: 2px; font-size: 15px; }
.pdp-rating a { color: var(--accent); }
.pdp-rating a:hover { text-decoration: underline; }

.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pdp-price .now,
.pdp-price .woocommerce-Price-amount { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.pdp-price del .woocommerce-Price-amount { font-size: 16px; font-weight: 400; color: var(--ink-mute); }
.pdp-omnibus { font-size: 12px; color: var(--ink-mute); margin-bottom: 22px; }
.pdp-lead { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 26px; }

.pdp-option { margin-bottom: 24px; }
.pdp-option__label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pdp-option__label .current { color: var(--ink-mute); font-weight: 500; text-transform: none; letter-spacing: 0; }
.pdp-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  flex: 1; min-width: 140px; border: 1.5px solid var(--line); background: #fff;
  border-radius: 14px; padding: 14px 16px; text-align: left; cursor: pointer;
  transition: all .2s var(--ease); display: flex; align-items: center; gap: 10px; font-family: inherit;
}
.swatch:hover { border-color: var(--ink-mute); }
.swatch.active { border-color: var(--ink); background: var(--cream); }
.swatch:disabled { opacity: .35; cursor: not-allowed; }
.swatch__dot { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px; border: 1px solid rgba(0,0,0,.10); }
.swatch__dot--natural { background: linear-gradient(135deg, #efe1c9, #d4b88e); }
.swatch__dot--dark { background: linear-gradient(135deg, #2a2a2e, #0e0e10); }
.swatch__text { display: flex; flex-direction: column; line-height: 1.15; }
.swatch__title { font-size: 14px; font-weight: 600; color: var(--ink); }
.swatch__sub { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

/* Natywna cena wariantu jest zdublowana - dużą cenę pokazujemy u góry
   (#pdp-price-now) i podmieniamy JS-em. Zostawiamy jednak komunikaty
   o dostępności/stanie magazynu, bo są potrzebne. */
.single_variation_wrap .woocommerce-variation-price { display: none; }
.single_variation_wrap .woocommerce-variation-availability { font-size: 13px; color: var(--ink-mute); margin-bottom: 8px; }
.woocommerce-variation-description p { font-size: 14px; color: var(--ink-mute); }
/* Komunikat "Wybierz opcje" gdy wariant nie jest jeszcze skompletowany. */
.wc-no-matching-variations { font-size: 14px; color: var(--brand-orange-deep); }

.pdp-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.pdp-actions-row { display: flex; gap: 12px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 980px; padding: 4px 6px; background: #fff; }
.qty button { width: 36px; height: 36px; border-radius: 50%; background: transparent; border: 0; font-size: 18px; color: var(--ink); cursor: pointer; transition: background .2s var(--ease); font-family: inherit; }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); font-family: inherit; }
.pdp-actions .btn-primary { flex: 1; height: 52px; font-size: 16px; padding: 0 24px; }
.pdp-actions .btn-secondary { flex: 1; height: 52px; font-size: 15px; padding: 0 24px; }

.pdp-trust { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.pdp-trust .item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.pdp-trust .item svg { flex: 0 0 18px; color: var(--brand-orange); }

@media (max-width: 960px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { position: static; }
  .pdp-info h1 { font-size: 28px; }
  .pdp-price .now, .pdp-price .woocommerce-Price-amount { font-size: 26px; }
}
@media (max-width: 640px) {
  .pdp-gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .qty { flex-shrink: 0; }
  .pdp-actions .btn-primary, .pdp-actions .btn-secondary { height: 48px; font-size: 15px; }
}
@media (max-width: 540px) {
  .pdp-actions-row { flex-direction: column; }
  .qty { align-self: flex-start; }
  .pdp-trust { grid-template-columns: 1fr; }
}

/* ============= STICKY MOBILE CTA (PDP i home renderowane w template'ach) ============= */
@media (max-width: 880px) {
  .sticky-cta .price strong { font-size: 16px; }
}

/* ============= CART HEADER + FREE SHIPPING PROGRESS ============= */
.cart-header { padding: 28px 0 12px; }
.cart-header h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }
.cart-header p { color: var(--ink-mute); font-size: 16px; margin: 8px 0 0; }

.ship-progress { background: var(--sage); border: 1px solid var(--sage-mid); border-radius: var(--radius); padding: 18px 22px; margin-top: 22px; display: flex; align-items: center; gap: 16px; }
.ship-progress__text { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--green-deep); }
.ship-progress__text svg { color: var(--green-deep); flex-shrink: 0; }
.ship-progress__text strong { color: var(--green-deep); }
.ship-progress__bar { flex: 0 0 200px; height: 6px; border-radius: 3px; background: rgba(31,74,42,.15); overflow: hidden; position: relative; }
.ship-progress__fill { position: absolute; top: 0; left: 0; bottom: 0; background: var(--green-deep); border-radius: 3px; transition: width .5s var(--ease); }
@media (max-width: 640px) {
  .ship-progress { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
  .ship-progress__bar { flex: 1 1 100%; width: 100%; }
}

/* ============= CART GRID ============= */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 40px 0 clamp(56px, 8vw, 100px); align-items: flex-start; }

.cart-items { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.cart-items__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--line-soft); background: var(--bg-mute); }
.cart-items__header h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.cart-items__header span { font-size: 13px; color: var(--ink-mute); }

.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; align-items: flex-start; padding: 24px 28px; border-bottom: 1px solid var(--line-soft); }
.cart-item:last-child { border-bottom: 0; }
.cart-item__image { width: 100px; height: 100px; background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-soft); }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__image svg { width: 60%; height: 60%; color: #1a3a25; opacity: .85; }

.cart-item__body { display: flex; flex-direction: column; gap: 6px; }
.cart-item__name { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.cart-item__name a { color: inherit; }
.cart-item__meta { font-size: 13px; color: var(--ink-mute); }
.cart-item__actions { display: flex; align-items: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.cart-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 980px; padding: 3px; }
.cart-item__qty button { width: 30px; height: 30px; border-radius: 50%; background: transparent; border: 0; font-size: 16px; color: var(--ink); cursor: pointer; transition: background .2s var(--ease); }
.cart-item__qty button:hover { background: var(--bg-soft); }
.cart-item__qty input { width: 34px; text-align: center; border: 0; background: transparent; font-size: 14px; font-weight: 600; font-family: inherit; }
.cart-item__remove { background: transparent; border: 0; color: var(--ink-mute); font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; transition: color .2s var(--ease), background .2s var(--ease); }
.cart-item__remove:hover { color: var(--brand-orange); background: var(--brand-orange-soft); }

.cart-item__price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); font-size: 16px; }
.cart-item__price small { font-size: 12px; color: var(--ink-mute); font-weight: 400; }

.cart-empty { padding: 60px 28px; text-align: center; color: var(--ink-mute); }
.cart-empty h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.cart-empty p { margin: 0 0 20px; font-size: 15px; }

/* ============= SUMMARY ============= */
.cart-summary { background: var(--cream); border: 1px solid var(--line-warm); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 80px; }
.cart-summary h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.summary-row:last-of-type { border-bottom: 0; }
.summary-row strong { color: var(--ink); font-weight: 600; }
.summary-row.total { padding: 18px 0 8px; border-top: 1px solid var(--line); border-bottom: 0; margin-top: 6px; font-size: 18px; }
.summary-row.total strong { font-size: 24px; letter-spacing: -0.02em; }
.summary-row.discount { color: var(--green-deep); }
.summary-row.discount strong { color: var(--green-deep); }

.summary-code { display: flex; gap: 8px; margin: 14px 0 18px; }
.summary-code input { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 980px; padding: 11px 16px; font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s var(--ease); }
.summary-code input:focus { border-color: var(--ink); }
.summary-code button { background: transparent; border: 1px solid var(--line); padding: 11px 18px; border-radius: 980px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s var(--ease); }
.summary-code button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.ship-methods { margin-top: 20px; }
.ship-methods h3 { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 12px; }
.ship-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; margin-bottom: 8px; transition: border-color .2s var(--ease); }
.ship-option:hover { border-color: var(--ink-mute); }
.ship-option.active { border-color: var(--ink); background: var(--sage); }
.ship-option input { margin: 0; accent-color: var(--ink); }
.ship-option__name { font-size: 14px; font-weight: 500; color: var(--ink); }
.ship-option__time { font-size: 12px; color: var(--ink-mute); }
.ship-option__price { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink); }

.btn-checkout { width: 100%; background: var(--brand-orange); color: #fff; border: 0; padding: 16px 24px; border-radius: 980px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 22px; transition: background .25s var(--ease), transform .25s var(--ease); display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-checkout:hover { background: var(--brand-orange-deep); transform: translateY(-1px); }
.btn-checkout:active { transform: translateY(0); }
.btn-checkout:disabled { opacity: .6; cursor: default; transform: none; }

.btn-continue { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--accent); margin-top: 14px; padding: 6px 0; justify-content: center; width: 100%; text-align: center; background: transparent; border: 0; cursor: pointer; }
.btn-continue:hover { text-decoration: underline; }

.summary-trust { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.summary-trust .item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.summary-trust .item svg { flex: 0 0 16px; color: var(--brand-orange); }

.payment-methods { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.payment-methods span { background: #fff; border: 1px solid var(--line-soft); border-radius: 6px; padding: 6px 10px; font-size: 11px; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.02em; }

/* ============= RECOMMENDED (cross-sell koszyka) ============= */
.recommended { background: var(--bg-mute); }
.rec-head { text-align: center; margin-bottom: clamp(28px, 4vw, 40px); }
.rec-head h2 { font-size: clamp(24px, 3vw, 36px); }
.rec-head p { color: var(--ink-mute); font-size: 15px; margin-top: 8px; }
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rec-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.rec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.rec-card__image { aspect-ratio: 1 / 1; background: var(--sage); display: flex; align-items: center; justify-content: center; }
.rec-card__image svg { width: 56%; height: 56%; color: var(--green-deep); }
.rec-card__image img { width: 100%; height: 100%; object-fit: cover; }
.rec-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.rec-card__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.rec-card__price { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.rec-card__add { background: transparent; border: 1px solid var(--line); padding: 8px 14px; border-radius: 980px; font-size: 13px; font-weight: 500; cursor: pointer; margin-top: 10px; transition: all .2s var(--ease); }
.rec-card__add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rec-card__add:disabled { opacity: .6; cursor: default; }

@media (max-width: 1080px) { .cart-grid { grid-template-columns: 1fr 340px; gap: 30px; } }
@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; gap: 24px; }
  .cart-summary { position: static; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 80px 1fr; gap: 14px; padding: 20px 20px; }
  .cart-item__image { width: 80px; height: 80px; }
  .cart-item__price { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px dashed var(--line-soft); margin-top: 4px; }
  .cart-item__actions { gap: 12px; flex-wrap: wrap; }
  .cart-items__header { padding: 16px 20px; }
  .cart-summary { padding: 22px 20px; }
  .rec-grid { grid-template-columns: 1fr; }
  .cart-header h1 { font-size: 28px; }
  .summary-row.total strong { font-size: 22px; }
}

/* ============= STICKY MOBILE BAR (koszyk) ============= */
.cart-sticky-bar { display: none; }
@media (max-width: 900px) {
  .cart-sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--line-warm); padding: 12px 16px; gap: 12px; align-items: center;
    box-shadow: 0 -6px 24px rgba(0,0,0,.08);
  }
  .cart-sticky-bar .total-info { display: flex; flex-direction: column; line-height: 1.15; }
  .cart-sticky-bar .total-info small { font-size: 11px; color: var(--ink-mute); }
  .cart-sticky-bar .total-info strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
  .cart-sticky-bar button { flex: 1; background: var(--brand-orange); color: #fff; border: 0; padding: 13px 20px; border-radius: 980px; font-size: 15px; font-weight: 600; cursor: pointer; }
}

/* ------------------------------------------------------------------
   CHECKOUT (KASA) — brak makiety w front_temp, więc stylujemy spójnie
   z koszykiem: pola jak .ship-option (radius 12px), podsumowanie jak
   .cart-summary (kremowy box), przycisk jak .btn-checkout.
   Mobile-first, jeden breakpoint 992px.
   ------------------------------------------------------------------ */
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr; gap: 32px; }

/* ---- Nagłówki sekcji formularza ---- */
.woocommerce-checkout h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
/* "Twoje zamówienie" oddziela dane klienta od podsumowania - potrzebuje
   wyraźnego odstępu z góry, inaczej przykleja się do pola e-mail. */
.woocommerce-checkout #order_review_heading {
  margin: clamp(36px, 5vw, 56px) 0 18px;
  font-size: clamp(22px, 2.4vw, 28px);
}
/* "Wysłać na inny adres?" to h3 z checkboxem - nie ma być wielkim nagłówkiem. */
.woocommerce-checkout #ship-to-different-address { margin: 0 0 16px; }
.woocommerce-checkout #ship-to-different-address label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; cursor: pointer;
}
.woocommerce-checkout #ship-to-different-address input { margin: 0; accent-color: var(--green-deep); }

/* ---- Kupon (link rozwijający) ---- */
.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 22px; }
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  list-style: none;
  background: var(--sage);
  border: 1px solid var(--sage-mid);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--green-deep);
}
.woocommerce-checkout .woocommerce-info a { color: var(--green-deep); font-weight: 600; }
.woocommerce-checkout form.checkout_coupon {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 22px;
  display: grid; gap: 10px;
}
.woocommerce-checkout form.checkout_coupon .button {
  background: var(--ink); color: #fff; border: 0; padding: 11px 18px;
  border-radius: 980px; font-size: 14px; cursor: pointer; justify-self: start;
}

/* ---- Pola formularza ---- */
.woocommerce-checkout .form-row { margin-bottom: 16px; }
/* Etykiety muszą mieć odstęp od pola - domyślnie się z nim stykają. */
.woocommerce-checkout .form-row label,
.woocommerce-checkout .woocommerce-billing-fields label,
.woocommerce-checkout .woocommerce-shipping-fields label,
.woocommerce-checkout .woocommerce-additional-fields label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.woocommerce-checkout .form-row .required { color: var(--brand-orange); text-decoration: none; border: 0; }
.woocommerce-checkout .form-row .optional { color: var(--ink-mute); font-weight: 400; }

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease);
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus { border-color: var(--ink); }
.woocommerce-checkout .form-row textarea { min-height: 96px; resize: vertical; }
.woocommerce-checkout .form-row input::placeholder,
.woocommerce-checkout .form-row textarea::placeholder { color: var(--ink-mute); }
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text { border-color: var(--brand-orange); }

/* Pole kraju/województwa renderuje się przez Select2, który ma własne style -
   wyrównujemy je do pozostałych inputów, żeby nie odstawało. */
.woocommerce-checkout .select2-container { width: 100% !important; }
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 14px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.45;
  font-size: 14px;
  color: var(--ink);
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%; top: 0; right: 10px;
}
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--ink); }
.select2-dropdown { border-color: var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--green-deep); }
.select2-search--dropdown .select2-search__field { border-radius: 8px; border-color: var(--line); padding: 8px 10px; }

/* ---- Podsumowanie zamówienia ---- */
.woocommerce-checkout #order_review {
  background: var(--cream);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  padding: 24px;
}
/* .woocommerce-checkout-payment jest WEWNĄTRZ #order_review - bez własnego
   pudełka, inaczej powstaje box w boxie. */
.woocommerce-checkout .woocommerce-checkout-payment { background: none; border: 0; padding: 0; }

.woocommerce-checkout table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 12px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; text-align: left;
}
.woocommerce-checkout table.shop_table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-mute); font-weight: 600; }
.woocommerce-checkout table.shop_table td:last-child,
.woocommerce-checkout table.shop_table th:last-child { text-align: right; }
.woocommerce-checkout table.shop_table tfoot th { font-weight: 500; color: var(--ink-soft); }
.woocommerce-checkout table.shop_table tfoot .order-total th,
.woocommerce-checkout table.shop_table tfoot .order-total td { border-bottom: 0; padding-top: 16px; font-size: 16px; }
.woocommerce-checkout table.shop_table tfoot .order-total td { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.woocommerce-checkout .product-quantity { color: var(--ink-mute); }

/* Metody dostawy w podsumowaniu - reset punktorów */
.woocommerce-checkout #shipping_method { list-style: none; margin: 0; padding: 0; }
.woocommerce-checkout #shipping_method li { list-style: none; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.woocommerce-checkout #shipping_method li:last-child { margin-bottom: 0; }
.woocommerce-checkout #shipping_method input { margin: 0; accent-color: var(--green-deep); }
.woocommerce-checkout #shipping_method label { display: inline; margin: 0; font-size: 14px; color: var(--ink); font-weight: 400; }

/* ---- Metody płatności ---- */
/* WooCommerce renderuje je jako <ul>, domyślnie z punktorami - reset. */
.woocommerce-checkout ul.payment_methods,
.woocommerce-checkout ul.wc_payment_methods {
  list-style: none;
  margin: 0 0 20px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.woocommerce-checkout ul.payment_methods li,
.woocommerce-checkout ul.wc_payment_methods li { list-style: none; margin: 0 0 10px; }
.woocommerce-checkout ul.payment_methods li > label {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.woocommerce-checkout ul.payment_methods li input[type="radio"] { margin: 0; accent-color: var(--green-deep); }
.woocommerce-checkout ul.payment_methods li img { max-height: 24px; width: auto; margin-left: 6px; }
.woocommerce-checkout .payment_box {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.woocommerce-checkout .payment_box p { margin: 0; }
.woocommerce-checkout .payment_box p + p { margin-top: 8px; }

/* ---- Regulamin, polityka, przycisk ---- */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; }
.woocommerce-checkout .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.55; color: var(--ink-mute); margin: 0 0 12px; }
.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout .validate-required > label.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-soft); font-weight: 400;
}
.woocommerce-checkout .woocommerce-form__input-checkbox { margin: 2px 0 0; accent-color: var(--green-deep); flex: 0 0 auto; }

.woocommerce-checkout .form-row.place-order { margin: 0; }
.woocommerce-checkout #place_order {
  width: 100%; background: var(--brand-orange); color: #fff; border: 0; padding: 16px 24px;
  border-radius: 980px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.woocommerce-checkout #place_order:hover { background: var(--brand-orange-deep); transform: translateY(-1px); }
.woocommerce-checkout #place_order:active { transform: translateY(0); }

/* ---- Komunikaty błędów ---- */
.woocommerce-checkout .woocommerce-error {
  list-style: none; margin: 0 0 20px; padding: 14px 18px;
  background: var(--brand-orange-soft); border: 1px solid var(--brand-orange);
  border-radius: var(--radius); font-size: 14px; color: var(--brand-orange-deep);
}
.woocommerce-checkout .woocommerce-error li { list-style: none; }

@media (min-width: 992px) {
  .woocommerce-checkout .col2-set { grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4vw, 56px); }
  /* Dwie kolumny w rzędzie dla imienia/nazwiska, jak w domyślnym WC. */
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last { width: calc(50% - 8px); display: inline-block; vertical-align: top; }
  .woocommerce-checkout .form-row-first { margin-right: 14px; }
}

/* ============= MOJE KONTO ============= */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block; padding: 12px 16px; border-radius: 12px; background: var(--cream); font-size: 14px; font-weight: 500;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { margin-top: 24px; }
.woocommerce-account table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); font-size: 14px; text-align: left; }

/* Formularze konta (logowanie/rejestracja/edycja) - te same zasady co w kasie:
   etykieta nad polem z odstępem, pola spójne z resztą sklepu. */
.woocommerce-account .woocommerce-form,
.woocommerce-account form.edit-account,
.woocommerce-account form.woocommerce-address-fields { max-width: 520px; }
.woocommerce-account .form-row,
.woocommerce-account .woocommerce-form-row { margin-bottom: 16px; display: block; }
.woocommerce-account label {
  display: block; margin: 0 0 7px; font-size: 13px; font-weight: 500; color: var(--ink-soft);
}
.woocommerce-account .required { color: var(--brand-orange); text-decoration: none; }
.woocommerce-account input.input-text,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account select,
.woocommerce-account textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--ink);
  outline: none; transition: border-color .2s var(--ease);
}
.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus { border-color: var(--ink); }
.woocommerce-account .woocommerce-form-login__rememberme,
.woocommerce-account label.woocommerce-form__label-for-checkbox {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
}
.woocommerce-account .woocommerce-form-login__rememberme input,
.woocommerce-account label.woocommerce-form__label-for-checkbox input { margin: 0; accent-color: var(--green-deep); }
.woocommerce-account button.button,
.woocommerce-account input.button,
.woocommerce-account a.button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-orange); color: #fff; border: 0;
  padding: 13px 24px; border-radius: 980px;
  font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit;
  text-decoration: none;
  transition: background .25s var(--ease);
}
.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover,
.woocommerce-account a.button:hover { background: var(--brand-orange-deep); }
.woocommerce-account .woocommerce-Message,
.woocommerce-account .woocommerce-info {
  list-style: none; background: var(--sage); border: 1px solid var(--sage-mid);
  border-radius: var(--radius); padding: 14px 18px; margin: 0 0 18px;
  font-size: 14px; color: var(--green-deep);
}
.woocommerce-account .woocommerce-error {
  list-style: none; background: var(--brand-orange-soft); border: 1px solid var(--brand-orange);
  border-radius: var(--radius); padding: 14px 18px; margin: 0 0 18px;
  font-size: 14px; color: var(--brand-orange-deep);
}
.woocommerce-account .woocommerce-error li { list-style: none; }
@media (min-width: 992px) {
  .woocommerce-account .woocommerce-MyAccount-navigation { float: left; width: 220px; }
  .woocommerce-account .woocommerce-MyAccount-content { float: left; width: calc(100% - 260px); margin-left: 40px; margin-top: 0; }
}

/* ------------------------------------------------------------------
   ARCHIWUM SKLEPU (/sklep/, kategorie produktów) — brak mockupu 1:1,
   własny układ w stylistyce Plant&Fun. Mobile-first, 1 breakpoint 992px.
   ------------------------------------------------------------------ */
.shop-archive-head { text-align: center; margin-bottom: 32px; }
.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.shop-toolbar__count { font-size: 14px; color: var(--ink-mute); }
.shop-toolbar__sort select {
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 9px 16px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.shop-card {
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.shop-card__image { aspect-ratio: 4 / 3; background: var(--cream); padding: 16px; display: flex; align-items: center; justify-content: center; }
.shop-card__image img { width: 100%; height: 100%; object-fit: contain; }
.shop-card__image .product-art { width: 50%; height: 50%; color: var(--green-deep); opacity: .8; }
.shop-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.shop-card__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.shop-card__name a { color: inherit; }
.shop-card__price { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: auto; }
.shop-card__cta { margin-top: 12px; }
.shop-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.shop-pagination a,
.shop-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 14px; color: var(--ink);
}
.shop-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-empty { text-align: center; padding: 60px 20px; color: var(--ink-mute); }
@media (min-width: 640px) {
  .shop-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 992px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
