/* =========================================================
   FurniLove – wysuwany koszyk (mini-cart) premium
   Wszystko ograniczone do .wc-block-mini-cart__drawer,
   żeby NIE ruszać pełnej strony koszyka/kasy.
   ========================================================= */
.wc-block-mini-cart__drawer{
  --fk-gold:#a17c44; --fk-gold-l:#c9a96a; --fk-cream:#fbfaf3;
  --fk-ink:#1b1b1b; --fk-muted:#8a8a8a; --fk-line:#ece7db; --fk-green:#2f9e44;
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  overscroll-behavior:contain;
}
/* przewijanie nie „przelewa się" na dokument pod spodem */
.wc-block-mini-cart__drawer .wc-block-mini-cart__items,
.wc-block-mini-cart__drawer .wc-block-mini-cart__contents{ overscroll-behavior:contain; }

/* tytuł koszyka */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title{
  font-family:"Playfair Display",Georgia,serif;
  font-size:1.5rem; font-weight:600; color:var(--fk-ink); letter-spacing:-.01em;
}
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-title-items-counter-block{
  color:var(--fk-muted); font-family:"Manrope",sans-serif; font-size:.9rem; font-weight:500;
}

/* ---- 1. usuwamy zbędny opis (short description / „śmieci" z wklejki) ---- */
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description{ display:none !important; }
/* ---- generyczny dopisek pod kwotą w stopce ---- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description{ display:none !important; }
/* ---- zbędna, zdublowana cena jednostkowa (zostaje suma pozycji) ---- */
.wc-block-mini-cart__drawer .wc-block-cart-item__prices{ display:none !important; }

/* ---- pozycje koszyka ---- */
.wc-block-mini-cart__drawer .wc-block-cart-items__row{
  padding:16px 0; border-bottom:1px solid #f1ede4;
}
.wc-block-mini-cart__drawer .wc-block-cart-item__image img{
  border-radius:12px; background:var(--fk-cream);
}
.wc-block-mini-cart__drawer .wc-block-components-product-name{
  font-weight:600; color:var(--fk-ink); font-size:1rem; text-decoration:none;
}

/* ---- 2. WYRÓŻNIENIE tkaniny i konfiguracji ---- */
.wc-block-mini-cart__drawer .wc-block-components-product-details{
  display:flex; flex-direction:column; gap:7px;
  margin:10px 0 2px; padding:0; list-style:none;
}
.wc-block-mini-cart__drawer .wc-block-components-product-details > span{
  display:flex; align-items:center; gap:7px;
  font-size:13px; line-height:1.3; margin:0; padding:0;
}
/* chowamy separatory „ / " — pozycje są w osobnych wierszach */
.wc-block-mini-cart__drawer .wc-block-components-product-details span[aria-hidden="true"]{ display:none !important; }
.wc-block-mini-cart__drawer .wc-block-components-product-details__name{
  color:var(--fk-muted); font-weight:500; min-width:54px;
}
.wc-block-mini-cart__drawer .wc-block-components-product-details__value{
  color:var(--fk-ink); font-weight:600;
}
/* pierwszy wiersz = TKANINA → złoty „pill" ze swatch-kropką */
.wc-block-mini-cart__drawer .wc-block-components-product-details > span:first-child .wc-block-components-product-details__value{
  position:relative; padding:3px 12px 3px 24px; border-radius:999px; color:#fff;
  background:linear-gradient(135deg,var(--fk-gold),var(--fk-gold-l));
  font-size:12px; font-weight:600; letter-spacing:.01em;
  box-shadow:0 1px 3px rgba(161,124,68,.28);
}
.wc-block-mini-cart__drawer .wc-block-components-product-details > span:first-child .wc-block-components-product-details__value::before{
  content:""; position:absolute; left:9px; top:50%; transform:translateY(-50%);
  width:9px; height:9px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 2px rgba(0,0,0,.12);
}

/* ---- 3. CENA dobrze widoczna ---- */
.wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-components-product-price__value{
  font-size:1.08rem; font-weight:700; color:var(--fk-ink);
}

/* ---- pasek postępu do darmowej dostawy ---- */
.furni-mc-bar{
  margin:16px 0 4px; padding:13px 15px;
  background:var(--fk-cream); border:1px solid var(--fk-line); border-radius:15px;
  box-sizing:border-box;
}
.furni-mc-bar--loading{ opacity:.45; }
.furni-mc-bar__row{ display:flex; align-items:center; gap:9px; margin-bottom:10px; }
.furni-mc-bar__icon{ width:20px; height:20px; flex:0 0 20px; color:var(--fk-gold); }
.furni-mc-bar__text{ margin:0; font-size:13.5px; line-height:1.4; color:#3a3a3a; font-weight:500; }
.furni-mc-bar__text strong{ color:var(--fk-gold); font-weight:700; white-space:nowrap; }
.furni-mc-bar__hl{ color:var(--fk-gold); font-weight:700; }
.furni-mc-bar__track{
  height:9px; border-radius:999px; background:rgba(161,124,68,.15);
  overflow:hidden; position:relative; width:100%;
}
.furni-mc-bar__fill{
  display:block; height:100%; width:0; border-radius:inherit;
  background:linear-gradient(90deg,var(--fk-gold-l),var(--fk-gold));
  transition:width .4s cubic-bezier(.25,.46,.45,.94);
}
.furni-mc-bar.is-complete{ background:#f3fbf4; border-color:rgba(47,158,68,.24); }
.furni-mc-bar.is-complete .furni-mc-bar__icon{ color:var(--fk-green); }
.furni-mc-bar.is-complete .furni-mc-bar__text{ color:#2f7a3f; font-weight:600; }
.furni-mc-bar.is-complete .furni-mc-bar__fill{ background:linear-gradient(90deg,#3cbf5a,var(--fk-green)); }

/* ---- stopka: podsumowanie + dostawa ---- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal{
  align-items:baseline; padding-top:8px;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__label{
  font-size:1rem; color:var(--fk-ink); font-weight:600;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value{
  font-family:"Playfair Display",Georgia,serif; font-size:1.5rem; font-weight:700; color:var(--fk-gold);
}
.furni-mc-delivery{
  display:flex; justify-content:space-between; align-items:baseline;
  margin:2px 0 12px; padding-bottom:14px; border-bottom:1px solid var(--fk-line);
  font-size:14px;
}
.furni-mc-delivery__label{ color:var(--fk-muted); font-weight:500; }
.furni-mc-delivery__value{ color:var(--fk-ink); font-weight:600; }
.furni-mc-delivery.is-free .furni-mc-delivery__value{ color:var(--fk-green); font-weight:700; }

/* ---- przyciski stopki w stylu marki ---- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions{ gap:10px; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout{
  background:var(--fk-gold) !important; border:1px solid var(--fk-gold) !important;
  color:#fff !important; border-radius:11px !important; font-weight:600 !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout:hover{
  background:#8a6a39 !important; border-color:#8a6a39 !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.is-style-outline{
  border:1px solid var(--fk-gold) !important; color:var(--fk-gold) !important;
  border-radius:11px !important; background:transparent !important; font-weight:600 !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.is-style-outline:hover{
  background:var(--fk-cream) !important;
}

/* ---- selektor ilości — subtelny akcent ---- */
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector{
  border-radius:9px; border-color:var(--fk-line);
}

/* =========================================================
   PEŁNA STRONA KOSZYKA (blok WooCommerce) — spójna, czytelna estetyka
   (te same komponenty co mini-cart: ukryty opis, tkanina jako złoty pill,
    konfiguracja w czytelnych wierszach). Mobile i desktop.
   ========================================================= */
.wp-block-woocommerce-cart{
  --fk-gold:#a17c44; --fk-gold-l:#c9a96a; --fk-cream:#fbfaf3;
  --fk-ink:#1b1b1b; --fk-muted:#8a8a8a; --fk-line:#ece7db; --fk-green:#2f9e44;
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

/* 1. usuwamy zbędny opis produktu (short description) */
.wp-block-woocommerce-cart .wc-block-components-product-metadata__description{ display:none !important; }

/* nazwa produktu */
.wp-block-woocommerce-cart .wc-block-components-product-name{
  font-weight:600; color:var(--fk-ink); text-decoration:none;
}
.wp-block-woocommerce-cart .wc-block-cart-item__image img{
  border-radius:12px; background:var(--fk-cream);
}

/* 2. konfiguracja (Tkanina / Strona / Funkcja / Pojemnik) — osobne, czytelne wiersze */
.wp-block-woocommerce-cart .wc-block-components-product-details{
  display:flex; flex-direction:column; gap:6px;
  margin:8px 0 2px; padding:0; list-style:none;
}
.wp-block-woocommerce-cart .wc-block-components-product-details > span{
  display:flex; align-items:center; gap:7px;
  font-size:13px; line-height:1.3; margin:0; padding:0;
}
.wp-block-woocommerce-cart .wc-block-components-product-details span[aria-hidden="true"]{ display:none !important; }
.wp-block-woocommerce-cart .wc-block-components-product-details__name{
  color:var(--fk-muted); font-weight:500; min-width:54px;
}
.wp-block-woocommerce-cart .wc-block-components-product-details__value{
  color:var(--fk-ink); font-weight:600;
}
/* pierwszy wiersz = TKANINA → złoty „pill" ze swatch-kropką */
.wp-block-woocommerce-cart .wc-block-components-product-details > span:first-child .wc-block-components-product-details__value{
  position:relative; padding:3px 12px 3px 24px; border-radius:999px; color:#fff;
  background:linear-gradient(135deg,var(--fk-gold),var(--fk-gold-l));
  font-size:12px; font-weight:600; letter-spacing:.01em;
  box-shadow:0 1px 3px rgba(161,124,68,.28);
}
.wp-block-woocommerce-cart .wc-block-components-product-details > span:first-child .wc-block-components-product-details__value::before{
  content:""; position:absolute; left:9px; top:50%; transform:translateY(-50%);
  width:9px; height:9px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 2px rgba(0,0,0,.12);
}

/* 3. cena pozycji — wyraźna */
.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value{
  font-weight:700; color:var(--fk-ink);
}

/* =========================================================
   PODSUMOWANIE ZAMÓWIENIA (blok Checkout) — ta sama estetyka co koszyk:
   ukryty opis produktu, tkanina jako złoty pill, konfiguracja w wierszach.
   ========================================================= */
.wp-block-woocommerce-checkout{
  --fk-gold:#a17c44; --fk-gold-l:#c9a96a; --fk-cream:#fbfaf3;
  --fk-ink:#1b1b1b; --fk-muted:#8a8a8a; --fk-line:#ece7db; --fk-green:#2f9e44;
}
/* 1. ukryj zbędny opis produktu (short description) */
.wp-block-woocommerce-checkout .wc-block-components-product-metadata__description{ display:none !important; }
/* nazwa produktu */
.wp-block-woocommerce-checkout .wc-block-components-product-name{ font-weight:600; color:var(--fk-ink); }
/* 2. konfiguracja w czytelnych wierszach */
.wp-block-woocommerce-checkout .wc-block-components-product-details{
  display:flex; flex-direction:column; gap:6px; margin:8px 0 0; padding:0; list-style:none;
}
.wp-block-woocommerce-checkout .wc-block-components-product-details > li,
.wp-block-woocommerce-checkout .wc-block-components-product-details > span{
  display:flex; align-items:center; gap:7px; font-size:13px; line-height:1.3; margin:0; padding:0;
}
.wp-block-woocommerce-checkout .wc-block-components-product-details span[aria-hidden="true"]{ display:none !important; }
.wp-block-woocommerce-checkout .wc-block-components-product-details__name{ color:var(--fk-muted); font-weight:500; white-space:nowrap; }
.wp-block-woocommerce-checkout .wc-block-components-product-details__value{ color:var(--fk-ink); font-weight:600; }
/* wąska kolumna podsumowania — pozwól wartości zawijać pod etykietę, nie łam etykiety */
.wp-block-woocommerce-checkout .wc-block-components-product-details > span,
.wp-block-woocommerce-checkout .wc-block-components-product-details > li{ flex-wrap:wrap; }
/* pierwszy wiersz = TKANINA → złoty pill */
.wp-block-woocommerce-checkout .wc-block-components-product-details > li:first-child .wc-block-components-product-details__value,
.wp-block-woocommerce-checkout .wc-block-components-product-details > span:first-child .wc-block-components-product-details__value{
  position:relative; padding:3px 12px 3px 24px; border-radius:999px; color:#fff;
  background:linear-gradient(135deg,var(--fk-gold),var(--fk-gold-l));
  font-size:12px; font-weight:600;
}
.wp-block-woocommerce-checkout .wc-block-components-product-details > li:first-child .wc-block-components-product-details__value::before,
.wp-block-woocommerce-checkout .wc-block-components-product-details > span:first-child .wc-block-components-product-details__value::before{
  content:""; position:absolute; left:9px; top:50%; transform:translateY(-50%);
  width:9px; height:9px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 2px rgba(0,0,0,.12);
}

/* ===== Nagłówek strony „Kasa" — logo wyśrodkowane, bez koszyka ===== */
.furni-checkout-header{ padding:16px 20px; border-bottom:1px solid #ece7db; }
.furni-checkout-header__inner{ max-width:1180px; margin:0 auto; display:flex; justify-content:center; align-items:center; }
.furni-checkout-header .custom-logo-link{ display:inline-block; line-height:0; }
.furni-checkout-header .custom-logo{ max-width:170px; width:auto; height:auto; display:block; }
.furni-checkout-header__text{ font-family:"Playfair Display",Georgia,serif; font-weight:700; font-size:1.4rem; color:#1b1b1b; text-decoration:none; }
