/*
Theme Name: DOM DLA DUSZY
Description: Motyw sklepu DOM DLA DUSZY – wygląd 1:1 z prototypu (css/prototyp.css + te same klasy HTML). Dane strony: data/site.json (tools/export-motyw.js).
Version: 1.7.32
Author: DOM DLA DUSZY
Text Domain: ddd-motyw
Requires PHP: 8.0
*/

/* --- poprawki dla WordPressa / WooCommerce (reszta wyglądu: css/prototyp.css) --- */
.wrap.shop.no-filters { grid-template-columns: 1fr; }
.card .media img { width: 100%; height: auto; display: block; object-fit: contain; }
.card .foot .price .woocommerce-Price-amount { font-weight: 700; }
.card .foot .price small, .card .foot .price .woocommerce-price-suffix { font-size: 12px; color: var(--muted, #6d7469); margin-left: 3px; }
.card .add-mini.added { background: var(--sage, #879A83); color: #fff; }
.card a.added_to_cart { display: none; }
.price-lock { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted, #6d7469); }
.price-lock .icon { width: 15px; height: 15px; }
.gallery .main img { width: 100%; height: auto; display: block; }
.thumbs button img { width: 100%; height: auto; display: block; }
.toolbar .woocommerce-ordering { margin: 0; }
.toolbar .woocommerce-ordering select { padding: 8px 12px; border: 1px solid var(--line, #e6e1d8); border-radius: 8px; background: #fff; font: inherit; }
.ddd-pages { margin: 30px 0 60px; }
.ddd-pages ul { display: flex; gap: 6px; list-style: none; padding: 0; justify-content: center; flex-wrap: wrap; }
.ddd-pages a, .ddd-pages span { display: block; padding: 8px 14px; border: 1px solid var(--line, #e6e1d8); border-radius: 8px; }
.ddd-pages .current { background: var(--sage, #879A83); color: #fff; border-color: var(--sage, #879A83); }
.pic.trio img { object-fit: contain; }
#pprice .price { font-size: 26px; }
.mega template { display: none; }
[hidden] { display: none !important; }
/* strona „Dla zwierząt”: pas „Co wyróżnia…” na rozjaśnionym zdjęciu + logo dystrybutorów na białym tle (jak na obecnej stronie) */
.pet-why { position: relative; overflow: hidden; padding: 70px 0 64px; margin-top: 40px; }
.pet-why .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.pet-why::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .72); }
.pet-why .wrap { position: relative; z-index: 1; max-width: 760px; }
.pet-why p { font-size: 17px; line-height: 1.9; color: #2b2b2b; text-align: left; margin: 0; }
.pet-why h2, .pet-dist h2 { margin-bottom: 14px; }
.pet-why .line, .pet-dist .line { display: block; width: 34px; height: 3px; background: #2b2b2b; margin: 0 auto 30px; }
.pet-dist { background: #fff; padding: 46px 0 60px; }
.logos-plain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; }
.logos-plain img { height: 54px; width: auto; max-width: 150px; object-fit: contain; }
@media (max-width: 600px) { .pet-why { padding: 48px 0; } .pet-why p { font-size: 15px; } .logos-plain { gap: 22px 28px; } .logos-plain img { height: 42px; max-width: 120px; } }
.grid-products .card[hidden] { display: none !important; }
.inf-sentinel { grid-column: 1 / -1; height: 1px; }
.ddd-notices { padding-top: 18px; }
.ddd-notices .woocommerce-message, .ddd-notices .woocommerce-error, .ddd-notices .woocommerce-info { list-style: none; margin: 0 0 6px; padding: 12px 16px; border-radius: 8px; background: #eef1ec; border-left: 4px solid var(--sage, #879A83); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ddd-notices .woocommerce-error { background: #fbeceb; border-left-color: #b4483c; }
.ddd-notices .button { color: var(--sage-dark, #4a5a48); font-weight: 700; text-decoration: underline; }
/* strony treści (regulamin, kontakt itd.) i strony WooCommerce (koszyk, zamówienie, konto) */
.page-wrap { padding-top: 40px; padding-bottom: 80px; } /* boki zostają z .wrap (24px) – na telefonie treść nie dotyka krawędzi */
.page-wrap h1 { margin-bottom: 24px; }
.woocommerce-cart .page-wrap, .woocommerce-checkout .page-wrap, .woocommerce-account .page-wrap { max-width: 1100px; }
/* klasa .cart w prototypie to układ strony koszyka – w WooCommerce nosi ją tabela i formularz */
.woocommerce table.cart, .woocommerce-cart table.shop_table { display: table; padding: 0; gap: 0; }
.woocommerce form.cart { display: block; padding: 0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--sage-dark, #4a5a48); color: #fff; border-radius: var(--radius, 10px); padding: 13px 22px; font-family: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--sage, #879A83); color: #fff; }
.woocommerce table.shop_table { border-color: var(--line, #e6e1d8); border-radius: var(--radius, 10px); }
.woocommerce table.shop_table img { width: 70px; height: auto; }
.woocommerce .quantity .qty { padding: 8px; border: 1px solid var(--line, #e6e1d8); border-radius: 8px; width: 70px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: 11px 12px; border: 1px solid #d9d4ca; border-radius: 10px; font: inherit; }
.woocommerce-info, .woocommerce-message { border-top-color: var(--sage, #879A83); background: #eef1ec; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--sage, #879A83); }

/* Moje konto w kafelkach (inc/konto.php) – jak w prototypie */
.ddd-acc-panel .woocommerce-MyAccount-content { float: none; width: 100%; }
.ddd-acc-firm { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 18px; background: #f3ebe0; margin-bottom: 4px; }
.ddd-acc-firm b { font-size: 17px; } .ddd-acc-firm small { color: var(--muted, #7a756c); font-size: 13px; }
/* 12 pól (11 kafelków + Wyloguj) – 4 kolumny jak w prototypie, na telefonie 2; szachownica kolorów z prototypu (.ap-atiles-desk) */
.ddd-acc-panel .ap-atiles.ap-atiles-desk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .ddd-acc-panel .ap-atiles.ap-atiles-desk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ap-at .ap-tbd { z-index: 1; }
.ddd-favs { margin-top: 4px; } .card { position: relative; }
.pinfo .buy .fav-btn { width: 50px; height: auto; border-radius: var(--radius, 10px); display: grid; place-items: center; border: 1px solid var(--line, #e6e1d8); background: #fff; color: var(--sage-dark, #4a5a48); cursor: pointer; }
.pinfo .buy .fav-btn.on { color: var(--danger, #b4483c); } .pinfo .buy .fav-btn.on svg { fill: currentColor; }
@media (max-width: 860px) { .ddd-acc-panel .ap-atiles.ap-atiles-desk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* menu podstron konta: te same kafelki, ale poziomo u góry (życzenie właścicielki 20.10.2026), treść na całą szerokość */
.woocommerce-account .ddd-acc-nav { width: 100%; float: none; margin-bottom: 22px; }
.woocommerce-account .ddd-acc-nav + .woocommerce-MyAccount-content { width: 100%; float: none; }
.ddd-acc-nav .ap-atiles.ap-side { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ddd-acc-nav .ap-side .ap-at { align-self: stretch; }
@media (max-width: 1100px) { .ddd-acc-nav .ap-atiles.ap-side { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ddd-acc-nav .ap-atiles.ap-side { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ddd-acc-nav .ap-at { display: flex; } .ddd-acc-nav .ap-at:hover { color: var(--ink); }
.ddd-acc-nav .ap-at.ap-out { justify-content: center; background: #fff; border: 1px solid var(--line, #e6e1d8); }
@media (max-width: 768px) {
  .woocommerce-account .ddd-acc-nav, .woocommerce-account .ddd-acc-nav + .woocommerce-MyAccount-content { width: 100%; float: none; }
  .ddd-acc-nav .ap-side { display: none; } .ddd-acc-nav { margin-bottom: 14px; }
}

/* Podsumowanie zamówienia (woocommerce/checkout/review-order.php) – kafelki dostawy + rachunek z miniaturkami (20.10.2026) */
.ddd-review { display: flex; flex-direction: column; gap: 14px; }
#order_review_heading { display: none; }
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--line, #e6e1d8); border-radius: 14px; margin-top: 14px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line, #e6e1d8); }
.woocommerce-checkout #payment div.payment_box { background: #f6f3ee; color: #555; border-radius: 8px; } .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #f6f3ee; }
.woocommerce-checkout #payment #place_order { background: var(--sage-deep, #4a5a48); border-radius: 10px; width: 100%; padding: 15px; font-size: 14px; letter-spacing: .06em; } /* nagłówek jest w karcie „Twoje zamówienie” */
.ddd-rv-box { background: #fff; border: 1px solid var(--line, #e6e1d8); border-radius: 14px; padding: 18px 20px; }
.ddd-rv-box h3 { font-family: var(--head, serif); font-weight: 400; font-size: 21px; margin: 0 0 12px; }
.ddd-ship-table, .ddd-ship-table tbody, .ddd-ship-table tr, .ddd-ship-table td { display: block; width: 100%; border: 0 !important; padding: 0 !important; background: none !important; }
.ddd-ship-table th { display: none; }
.ddd-rv-ship ul#shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ddd-rv-ship ul#shipping_method li { position: relative; margin: 0 !important; padding: 12px 14px 12px 44px !important; border: 1px solid var(--line, #e6e1d8); border-radius: 10px; background: #fff; text-align: left !important; line-height: 1.35; }
.ddd-rv-ship ul#shipping_method li:has(input:checked) { border: 1.5px solid var(--sage-deep, #4a5a48); background: #eef1ec; }
.ddd-rv-ship ul#shipping_method li input { position: absolute; left: 16px; top: 15px; margin: 0 !important; accent-color: var(--sage-deep, #4a5a48); width: 16px; height: 16px; }
.ddd-rv-ship ul#shipping_method li label { font-weight: 700; font-size: 15px; cursor: pointer; display: inline; }
.ddd-rv-ship ul#shipping_method li label::after { content: ''; position: absolute; inset: 0; } /* cały kafelek klikalny */
.ddd-rv-ship ul#shipping_method li .ddd-rate-desc { display: block; font-size: 12.5px; color: var(--muted, #7a756c); font-weight: 400; margin-top: 2px; }
.ddd-rv-ship ul#shipping_method li #select-point, .ddd-rv-ship ul#shipping_method li a { position: relative; z-index: 1; display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--sage-deep, #4a5a48); border: 1px solid var(--sage-deep, #4a5a48); border-radius: 8px; padding: 5px 10px; text-decoration: none; background: #fff; }
.ddd-ship-table tr:not(.woocommerce-shipping-totals) td, .ddd-ship-table tr:not(.woocommerce-shipping-totals) th { display: block; font-size: 13px; color: #79522f; padding: 8px 0 0 !important; }
.ddd-rv-items { display: flex; flex-direction: column; }
.ddd-rv-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0ece5; }
.ddd-rv-img { width: 54px; height: 62px; flex: none; border-radius: 10px; background: #f4f1ec; display: grid; place-items: center; overflow: hidden; }
.ddd-rv-img img { width: 100%; height: 100%; object-fit: contain; }
.ddd-rv-txt { flex: 1; min-width: 0; } .ddd-rv-txt b { display: block; font-size: 15px; font-weight: 700; } .ddd-rv-txt small { display: block; font-size: 12.5px; color: var(--muted, #7a756c); line-height: 1.4; }
.ddd-rv-extra { color: #79522f !important; }
.ddd-rv-sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.ddd-rv-price { text-align: right; flex: none; } .ddd-rv-price small { display: block; font-size: 12px; color: var(--muted, #7a756c); } .ddd-rv-price b { font-weight: 700; font-size: 15px; white-space: nowrap; }
.ddd-rv-stand .ddd-rv-img { background: #f3ebe0; color: #79522f; } .ddd-rv-qr svg { width: 26px; height: 26px; }
.ddd-rv-stand .ddd-rv-txt b, .ddd-rv-stand .ddd-rv-price b { color: #79522f; }
.ddd-stand-opt { cursor: pointer; } .ddd-stand-opt .ddd-rv-txt b { font-size: 13px; letter-spacing: .03em; } .ddd-stand-opt .ddd-rv-txt small { font-size: 14px; color: #3f4d3d; }
.ddd-pay-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .ddd-pay-pills span { font-size: 12px; font-weight: 700; color: #3f4d3d; background: #fff; border: 1px solid var(--line, #e6e1d8); border-radius: 6px; padding: 3px 8px; }
/* zamówienia w koncie klienta: pasek statusu (opcja A), karty zamówień, anulowanie (opcja 1) */
.ddd-tl { list-style: none; display: flex; margin: 14px 0 6px; padding: 0; counter-reset: none; }
.ddd-tl li { flex: 1; text-align: center; position: relative; font-size: 12.5px; color: var(--muted, #7a756c); padding: 0 4px; }
.ddd-tl li::before { content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 3px; background: #e2ddd3; }
.ddd-tl li:first-child::before { display: none; }
.ddd-tl li.d::before { background: var(--sage, #6f8669); }
.ddd-tl-dot { width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 6px; background: #e2ddd3; position: relative; z-index: 1; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.ddd-tl li.d .ddd-tl-dot { background: var(--sage, #6f8669); }
.ddd-tl li.nx .ddd-tl-dot { background: #fff; box-shadow: inset 0 0 0 3px var(--sage, #6f8669); }
.ddd-tl li b { display: block; font-weight: 400; } .ddd-tl li.d b { color: #2f3a2d; font-weight: 700; }
.ddd-tl li small { display: block; font-size: 11.5px; color: var(--muted, #7a756c); }
.ddd-tl-trk { font-size: 13.5px; background: #eef1ec; border-radius: 10px; padding: 10px 12px; margin-top: 12px; } .ddd-tl-trk a { color: var(--sage-deep, #4a5a48); font-weight: 700; }
.ddd-tl-off { font-size: 14px; color: #8a3a2a; background: #f8ece8; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.ddd-cancel-sub { font-size: 13.5px; color: var(--muted, #7a756c); margin: -6px 0 6px; }
.ddd-ord-list { display: grid; gap: 12px; }
.ddd-ord-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ddd-ord-top b { font-size: 16px; } .ddd-ord-st { font-size: 12.5px; font-weight: 700; color: var(--sage-deep, #4a5a48); background: #eef1ec; border-radius: 10px; padding: 3px 10px; white-space: nowrap; }
.st-cancelled .ddd-ord-st, .st-failed .ddd-ord-st { color: #8a3a2a; background: #f8ece8; } .st-pending .ddd-ord-st, .st-on-hold .ddd-ord-st { color: #79522f; background: #f7f3ec; }
.ddd-ord-mid { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.ddd-ord-thumbs { display: flex; gap: 6px; } .ddd-ord-thumbs .ddd-rv-img { width: 46px; height: 52px; }
.ddd-ord-info { text-align: right; } .ddd-ord-info small { display: block; font-size: 12.5px; color: var(--muted, #7a756c); } .ddd-ord-info b { font-size: 17px; }
.ddd-ord-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ddd-ord-pages { display: flex; justify-content: space-between; margin-top: 14px; }
.ddd-ord-addr { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .ddd-ord-addr p { font-size: 14px; line-height: 1.55; margin: 0; }
.ddd-cancel { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.btn.ddd-btn-off { opacity: .5; cursor: default; pointer-events: none; }
/* Dane firmy – kafelki z edycją na miejscu (opcja A) */
.ddd-firm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ddd-firm-side { display: contents; }
.ddd-firm:has(.ddd-firm-card.on) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ddd-firm:has(.ddd-firm-card.on) .ddd-firm-side { display: grid; gap: 14px; }
.ddd-firm:has(.ddd-firm-side .ddd-firm-card.on) > .ddd-firm-card { grid-column: 2; grid-row: 1; }
.ddd-firm:has(.ddd-firm-side .ddd-firm-card.on) .ddd-firm-side { grid-column: 1; grid-row: 1; }
.ddd-firm:has(.ddd-firm-side .ddd-firm-card.on) .ddd-firm-side .ddd-firm-card:not(.on) { order: 2; }
.ddd-firm-card h3 { display: flex; align-items: center; gap: 10px; }
.ddd-firm-ic { width: 32px; height: 32px; border-radius: 50%; background: #eef1ec; display: grid; place-items: center; font-size: 15px; flex: none; }
.ddd-firm-card p { font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
.ddd-firm-muted { color: var(--muted, #7a756c); font-size: 13px; }
.ddd-firm-link { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--sage-deep, #4a5a48); }
.ddd-firm-card.on { border: 1.5px solid var(--sage-deep, #4a5a48); }
.ddd-firm-form { display: none; } .ddd-firm-card.on .ddd-firm-form { display: block; } .ddd-firm-card.on .ddd-firm-view { display: none; }
.ddd-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; } .ddd-fl { align-content: start; }
.ddd-fl { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #3f4d3d; } .ddd-fl.full { grid-column: 1 / -1; }
.ddd-fl input { font: 15px var(--body, Lato, sans-serif); padding: 10px 12px; border: 1px solid #d9d4ca; border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.ddd-fl input:focus { outline: 2px solid var(--sage, #879A83); outline-offset: 0; border-color: transparent; }
.ddd-fl input.ro { background: #f4f1ec; color: #7a756c; } .ddd-fl small { font-size: 11.5px; font-weight: 400; color: var(--muted, #7a756c); }
.ddd-firm-btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ddd-firm-note { font-size: 12.5px !important; color: var(--muted, #7a756c); margin: 10px 0 0 !important; }
@media (max-width: 860px) { .ddd-firm, .ddd-firm:has(.ddd-firm-card.on) { grid-template-columns: 1fr; } .ddd-firm:has(.ddd-firm-card.on) .ddd-firm-side, .ddd-firm:has(.ddd-firm-side .ddd-firm-card.on) > .ddd-firm-card { grid-column: auto; grid-row: auto; } .ddd-fgrid { grid-template-columns: 1fr; } }
.ddd-ord-pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ddd-pay { font-size: 12.5px; font-weight: 700; border-radius: 10px; padding: 3px 10px; white-space: nowrap; }
.ddd-pay.ok { color: #2f6b3a; background: #e3f0e1; } .ddd-pay.due { color: #79522f; background: #f7f3ec; } .ddd-pay.late { color: #8a3a2a; background: #f8ece8; }
.ddd-view-order .ddd-ord-top h3 { margin: 0; }
.op-fv { margin-top: 16px; } .op-fv input[type=file] { font-size: 13px; max-width: 100%; }
.ddd-cancel-lbl { font-weight: 700; font-size: 14px; margin: 8px 0 0; }
.ddd-cancel-why { display: grid; gap: 6px; } .ddd-cancel-why label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line, #e6e1d8); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: 14px; }
.ddd-cancel-why label:has(input:checked) { border: 1.5px solid var(--sage-deep, #4a5a48); background: #eef1ec; } .ddd-cancel-why input { accent-color: var(--sage-deep, #4a5a48); }
.ddd-cancel textarea { width: 100%; border: 1px solid var(--line, #e6e1d8); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; box-sizing: border-box; }
.ddd-cancel-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn.ddd-btn-cancel { background: var(--sage-deep, #4a5a48); border-color: var(--sage-deep, #4a5a48); color: #fff; } /* ciemna zieleń jak reszta przycisków (życzenie właścicielki) */
@media (max-width: 600px) { .ddd-tl li { font-size: 10.5px; } .ddd-tl li small { display: none; } .ddd-ord-addr { grid-template-columns: 1fr; } .ddd-ord-thumbs .ddd-rv-img:nth-child(n+3) { display: none; } }
.ddd-stand-see { display: inline-block; margin-top: 4px; padding: 0; border: 0; background: none; font: 700 12.5px var(--body, Lato, sans-serif); color: var(--sage-deep, #4a5a48); text-decoration: underline; cursor: pointer; }
.ddd-stand-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(30, 36, 28, .55); display: grid; place-items: center; padding: 16px; }
.ddd-stand-modal[hidden] { display: none; }
.ddd-sm-in { position: relative; background: #fff; border-radius: 16px; padding: 22px 22px 16px; width: min(380px, 100%); max-height: 92vh; overflow: auto; text-align: center; }
.ddd-sm-in h3 { font-family: var(--head, serif); font-weight: 400; font-size: 21px; margin: 0 0 14px; }
.ddd-sm-in p { color: var(--muted, #7a756c); margin: 12px 0 0; }
.ddd-sm-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 20px; cursor: pointer; color: #555; }
.ddd-sm-stand { width: min(260px, 70vw); aspect-ratio: 2 / 3; margin: 0 auto; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(40, 40, 30, .18), 0 0 0 1px #ece7dd; display: grid; place-items: center; overflow: hidden; }
.ddd-sm-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ddd-sm-img[data-st] { visibility: hidden; }
.ddd-stand-cb { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--sage-deep, #4a5a48); cursor: pointer; }
.ddd-stand-name { padding: 4px 0 12px 32px; border-bottom: 1px solid #f0ece5; } .ddd-stand-name[hidden] { display: none; }
.ddd-stand-name label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #3f4d3d; }
.ddd-stand-name input { font: 15px var(--body, Lato, sans-serif); padding: 9px 12px; border: 1.5px solid var(--sage, #879A83); border-radius: 10px; background: #fff; width: 100%; max-width: 420px; box-sizing: border-box; }
.ddd-stand-name small { display: block; font-size: 12px; color: var(--muted, #7a756c); margin-top: 4px; }
.ddd-rv-lines { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.ddd-rv-line { display: flex; justify-content: space-between; gap: 12px; }
.ddd-rv-disc span:last-child { color: var(--sage-deep, #4a5a48); font-weight: 700; }
.ddd-rv-net { border-top: 1px solid var(--line, #e6e1d8); padding-top: 10px; margin-top: 4px; }
.ddd-rv-vat { color: var(--muted, #7a756c); }
/* okienko o wysyłce (koszyk + zamówienie): pierwsze zamówienie GRATIS / od 1000 zł netto / ile brakuje */
.ddd-ship-info { display: flex; gap: 12px; align-items: center; border-radius: 14px; padding: 14px 18px; background: #f7f3ec; border: 1px solid #ecdcc4; }
.ddd-ship-info.free { background: #eef1ec; border-color: #c9d3c6; }
.ddd-ship-info .ddd-si-ico { font-size: 26px; line-height: 1; flex: none; }
.ddd-ship-info b { display: block; font-size: 15.5px; color: #3f4d3d; } .ddd-ship-info.free b { color: var(--sage-deep, #4a5a48); text-transform: none; }
.ddd-ship-info small { display: block; font-size: 12.5px; color: var(--muted, #7a756c); margin-top: 2px; }
.ddd-si-bar { display: block; height: 6px; border-radius: 3px; background: #e6dccb; margin-top: 8px; overflow: hidden; } .ddd-si-bar i { display: block; height: 100%; background: var(--sage, #879A83); border-radius: 3px; }
.ddd-rv-hint { font-size: 12px; color: var(--muted, #7a756c); font-weight: 400; }
/* koszyk w stylu podsumowania zamówienia */
.ddd-cart { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ddd-cart .cart-collaterals { width: auto; float: none; }
.ddd-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; }
.ddd-cart .cross-sells { display: none; }
.ddd-cart-item .ddd-rv-txt a { color: inherit; text-decoration: none; }
.ddd-cart-qty { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.ddd-cart-qty .quantity input.qty { width: 64px; padding: 6px 8px; border: 1px solid var(--line, #e6e1d8); border-radius: 8px; font: inherit; text-align: center; }
.ddd-cart-qty .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce .ddd-cart a.remove.ddd-cart-rm { width: auto; height: auto; font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--muted, #7a756c) !important; text-decoration: underline; border-radius: 0; background: none !important; }
.ddd-cart-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; } .ddd-cart-actions:not(:has(> :not([hidden]):not(input))) { display: none; }
.ddd-cart .wc-proceed-to-checkout { padding: 16px 0 0; } .ddd-cart .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; text-align: center; margin: 0; }
@media (max-width: 860px) { .ddd-cart { grid-template-columns: 1fr; } }
.ddd-rv-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid #cfc8bb; padding-top: 12px; margin-top: 6px; font-weight: 700; }
.ddd-rv-total span:last-child, .ddd-rv-total strong { font-size: 24px; color: var(--sage-deep, #4a5a48); }
.ddd-hooks:empty, .ddd-hooks tbody:empty { display: none; } .ddd-hooks { width: 100%; }
@media (max-width: 600px) { .ddd-rv-box { padding: 14px; } .ddd-rv-img { width: 46px; height: 54px; } }

/* Panel właścicielki (wtyczka ddd-b2b, inc/panel.php) – jak „Dziś” w prototypie */
.op { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.op-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.op-tabs a { padding: 8px 16px; border-radius: 20px; background: var(--sage-light, #eef1ec); color: var(--ink, #2b2b2b); text-decoration: none; font-size: 14px; }
.op-tabs a.on { background: var(--sage-deep, #4a5a48); color: #fff; }
.op-tabs .op-wp { background: none; color: var(--sage-deep, #4a5a48); font-size: 13px; padding: 8px 6px; } .op-tabs .op-wp:first-of-type { margin-left: auto; }
.op-ok { background: #eef1ec; border-left: 4px solid var(--sage, #879A83); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.op-hi { margin: 4px 0 0; font-family: var(--head, serif); font-size: 24px; }
.op-alert { display: flex; gap: 12px; align-items: flex-start; background: #fbf3e3; border-left: 4px solid #b08a43; border-radius: 12px; padding: 12px 14px; font-size: 18px; color: inherit; text-decoration: none; }
.op-alert b { display: block; font-size: 14.5px; } .op-alert small { font-size: 12.5px; color: #6b4e1f; }
.op-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.op-tile { border-radius: 16px; background: var(--sage-light, #eef1ec); padding: 14px 16px; color: var(--ink, #2b2b2b); text-decoration: none; }
.op-tile.c { background: #f3ebe0; }
.op-tile b { display: block; font-size: 30px; line-height: 1.1; color: var(--sage-deep, #4a5a48); } .op-tile small { font-size: 13px; color: var(--muted, #7a756c); }
.op-h { margin: 10px 0 0; font-family: var(--head, serif); font-weight: 400; font-size: 20px; display: flex; gap: 8px; align-items: baseline; }
.op-h small { font: 400 13px var(--body, Lato, sans-serif); color: var(--muted, #7a756c); }
.op-list { display: flex; flex-direction: column; }
.op-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f0ece5; }
.op-row img, .op-noimg { width: 52px; height: 60px; object-fit: contain; background: #f4f1ec; border-radius: 10px; flex: none; }
.op-row > div { flex: 1; min-width: 0; } .op-row b { font-size: 14.5px; } .op-row small { display: block; font-size: 12.5px; color: var(--muted, #7a756c); }
.op-q { color: var(--sage-deep, #4a5a48); flex: none; }
.op-hint { color: var(--muted, #7a756c); font-size: 14px; }
.op-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--sage-deep, #4a5a48); color: #fff !important; font: 700 13px var(--body, Lato, sans-serif); letter-spacing: .04em; padding: 10px 16px; text-decoration: none; cursor: pointer; }
.op-btn.ghost { background: #fff; color: var(--sage-deep, #4a5a48) !important; border: 1.5px solid var(--sage, #879A83); }
.op-btn.wide { width: 100%; margin-top: 8px; }
.op-form { margin: 0; display: inline-flex; }
.op-filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.op-filters a { white-space: nowrap; padding: 7px 13px; border: 1px solid var(--line, #e6e1d8); border-radius: 18px; font-size: 13.5px; color: var(--ink, #2b2b2b); text-decoration: none; background: #fff; }
.op-filters a.on { border-color: var(--sage-deep, #4a5a48); background: var(--sage-light, #eef1ec); font-weight: 700; }
.op-filters i { font-style: normal; background: var(--sage-deep, #4a5a48); color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11.5px; margin-left: 3px; }
.op-orders { display: flex; flex-direction: column; gap: 10px; }
.op-card { border: 1px solid var(--line, #e6e1d8); border-left: 4px solid var(--sage, #879A83); border-radius: 12px; padding: 12px 14px; background: #fff; }
.op-card.st-nowe { border-left-color: #b08a43; } .op-card.st-platnosc { border-left-color: #c9c2b5; } .op-card.st-wyslane { border-left-color: #c9d3c6; }
.op-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.op-card-top a { color: inherit; text-decoration: none; }
.op-st { font-size: 12px; background: var(--sage-light, #eef1ec); border-radius: 10px; padding: 2px 9px; white-space: nowrap; }
.st-nowe .op-st { background: #fbf3e3; }
.op-meta { margin: 6px 0 0; font-size: 13.5px; color: #555; line-height: 1.5; }
.op-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.op-actions:empty { display: none; }
.op-setbox { margin-top: 10px; border-top: 1px solid var(--line, #e6e1d8); padding-top: 10px; }
.op-setbox summary { cursor: pointer; font: 700 13px var(--body, Lato, sans-serif); color: var(--sage-deep, #4a5a48); }
.op-set { display: grid; gap: 8px; margin-top: 8px; }
.op-lbl { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #444; }
.op-lbl select, .op-lbl input { font: 14px var(--body, Lato, sans-serif); padding: 8px 10px; border: 1px solid var(--line, #e6e1d8); border-radius: 8px; background: #fff; max-width: 100%; }
.op-chk { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #444; }
.op-set .op-btn { justify-self: start; }
.op-sw { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #333; cursor: pointer; padding: 6px 0; border-top: 1px solid var(--line, #e6e1d8); }
.op-sw span { flex: 1; }
.op-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.op-sw i { width: 40px; height: 22px; border-radius: 11px; background: #cfc9be; position: relative; transition: background .15s; flex: none; }
.op-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.op-sw b { min-width: 64px; font-size: 13px; font-weight: 700; color: #8a847a; }
.op-sw b::before { content: attr(data-off); }
.op-sw input:checked ~ i { background: var(--sage, #879A83); }
.op-sw input:checked ~ i::after { left: 21px; }
.op-sw input:checked ~ b { color: var(--sage-deep, #4a5a48); }
.op-sw input:checked ~ b::before { content: attr(data-on); }
.op-sw input:focus-visible ~ i { outline: 2px solid var(--sage-deep, #4a5a48); outline-offset: 2px; }
.op-ship { gap: 6px; flex-wrap: wrap; } .op-ship input { padding: 9px 11px; border: 1px solid #d9d4ca; border-radius: 10px; font: inherit; font-size: 14px; min-width: 0; width: 220px; max-width: 100%; }
.op-search { display: flex; gap: 8px; } .op-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #d9d4ca; border-radius: 10px; font: inherit; }
.op-back { font-size: 14px; color: var(--sage-deep, #4a5a48); text-decoration: none; }
.op-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.op-note { background: #fbf3e3; border-radius: 10px; padding: 10px 14px; margin: 6px 0 0; }
.op-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 170px; padding: 8px 0 0; border-bottom: 1px solid var(--line, #e6e1d8); }
.op-chart div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.op-chart span { width: 100%; max-width: 38px; min-height: 2px; background: var(--sage, #879A83); border-radius: 6px 6px 0 0; }
.op-chart div:last-child span { background: var(--sage-deep, #4a5a48); }
.op-chart small { font-size: 11px; color: var(--muted, #7a756c); }
.op-stand { margin-top: 8px; background: #fbf3e3; border-left: 3px solid #b08a43; border-radius: 8px; padding: 8px 12px; font-size: 13.5px; } .op-stand small { font-size: 12.5px; } .op-stand a { color: var(--sage-deep, #4a5a48); font-weight: 700; }
.stand-box { display: grid; grid-template-columns: 1fr 220px; gap: 22px; align-items: start; } .stand-prev .stand-img { width: 100%; height: auto; background: #fff; border: 1px solid var(--line, #e6e1d8); border-radius: 8px; }
@media (max-width: 700px) { .stand-box { grid-template-columns: 1fr; } .stand-prev { max-width: 240px; } }
.op-bar { display: none; }
@media (max-width: 700px) {
  .op-tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .op-tile b { font-size: 26px; }
  .op-tabs { display: none; } .op-cols { grid-template-columns: 1fr; }
  .op-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line, #e6e1d8); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; }
  .op-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted, #7a756c); text-decoration: none; flex: 1; }
  .op-bar svg { width: 24px; height: 24px; } .op-bar a.on { color: var(--sage-deep, #4a5a48); font-weight: 700; }
  body:has(.op-bar) { padding-bottom: 70px; }
  .op-ship input { width: 100%; } .op-ship { width: 100%; } .op-ship .op-btn { flex: 1; }
}

/* telefon (13.10.2026): ikony konta, koszyka i menu przy prawej krawędzi; logo i wyszukiwarka z marginesem od brzegów ekranu */
@media (max-width: 900px) {
  .header .bar { padding-left: 16px; padding-right: 16px; }
  .header .actions { justify-self: end; }
}
/* Wysyłka do kilku punktów – każda sztuka osobno, przy każdej wybór punktu (20.10.2026) */
.ddd-pc-list { margin-top: 12px; }
.ddd-pc-grp { font-size: 12px; font-weight: 600; color: var(--sage-dark, #4f6b4a); margin: 14px 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.ddd-pc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid #eee; }
.ddd-pc-row .ddd-rv-img { width: 44px; height: 50px; }
.ddd-pc-nm { min-width: 0; font-size: 13px; } .ddd-pc-nm small { display: block; color: #8a8a80; font-size: 11.5px; }
.ddd-pc-ch { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ddd-pc-pt { cursor: pointer; margin: 0; } .ddd-pc-pt input { position: absolute; opacity: 0; pointer-events: none; }
.ddd-pc-pt span { display: inline-block; font-size: 12px; padding: 6px 11px; border: 1px solid #d6d3cb; border-radius: 999px; background: #fff; color: #555; white-space: nowrap; }
.ddd-pc-pt input:focus-visible + span { outline: 2px solid #6f8f68; outline-offset: 1px; }
.ddd-pc-pt.p0 input:checked + span { background: #e8efe4; border-color: #6f8f68; color: #3d5637; font-weight: 600; }
.ddd-pc-pt.p1 input:checked + span { background: #f3ebe0; border-color: #b08a5c; color: #6b4a26; font-weight: 600; }
.ddd-pc-pt.p2 input:checked + span { background: #dfe7da; border-color: #4f6b4a; color: #2f3a2d; font-weight: 600; }
.ddd-pc-pt.p3 input:checked + span { background: #ece4d6; border-color: #8c6a42; color: #5a3f22; font-weight: 600; }
.ddd-pc-pt.p4 input:checked + span { background: #eef1ea; border-color: #879a83; color: #3d5637; font-weight: 600; }
.ddd-pc-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 14px; }
.ddd-pc-sc { border-radius: 10px; padding: 10px 12px; font-size: 12.5px; } .ddd-pc-sc b { display: block; font-size: 13px; } .ddd-pc-sc small { display: block; opacity: .8; margin-bottom: 3px; }
.ddd-pc-sc.p0 { background: #e8efe4; color: #3d5637; } .ddd-pc-sc.p1 { background: #f3ebe0; color: #6b4a26; } .ddd-pc-sc.p2 { background: #dfe7da; color: #2f3a2d; } .ddd-pc-sc.p3 { background: #ece4d6; color: #5a3f22; } .ddd-pc-sc.p4 { background: #eef1ea; color: #3d5637; }
.ddd-pc-sc.empty { opacity: .55; }
@media (max-width: 600px) { .ddd-pc-row { grid-template-columns: auto minmax(0, 1fr); } .ddd-pc-ch { grid-column: 1 / -1; justify-content: flex-start; } }

/* Kilka firm (NIP-ów) na jednym koncie – 21.10.2026 */
.ddd-firms { margin-top: 18px; }
.ddd-firms-list { display: grid; gap: 8px; margin: 10px 0 12px; }
.ddd-firms-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid #ebe7df; border-radius: 10px; }
.ddd-firms-row > div:first-child { min-width: 0; } .ddd-firms-row small { display: block; color: #8a8a80; font-size: 12px; }
.ddd-firms-act { display: flex; gap: 6px; } .ddd-firms-act form { margin: 0; }
.ddd-firms-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f1efe8; color: #6b6a63; margin-left: 4px; }
.ddd-firms-tag.on { background: #e8efe4; color: #3d5637; }
.ddd-firms-add summary { list-style: none; display: inline-block; cursor: pointer; } .ddd-firms-add summary::-webkit-details-marker { display: none; }
.ddd-firms-add[open] summary { margin-bottom: 10px; }
.ddd-firm-pick { max-width: 560px; } .ddd-firm-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #ebe7df; border-radius: 10px; margin: 8px 0; cursor: pointer; }
.ddd-firm-opt:has(input:checked) { border-color: #6f8f68; background: #f3f7f0; } .ddd-firm-opt b { display: block; } .ddd-firm-opt small { color: #8a8a80; }
.ddd-firm-sw { max-width: none; }
.ddd-ord-firm { font-weight: 400; color: #8a8a80; font-size: 13px; }
.ddd-reg-firm { border-left: 3px solid #cfdcc9; padding-left: 10px; margin-bottom: 6px; }
.ddd-firm-strip { display: none; }
@media (max-width: 1100px) { .actions .ddd-firm-sw { display: none; } .ddd-firm-strip { display: flex; align-items: center; gap: 8px; padding: 6px 16px; background: #7a8d76; color: #fff; font-size: 12px; } .ddd-firm-strip select { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 5px 10px; font-size: 12px; color: #3d5637; background: #fff; } }
/* Mój magazyn – kafelki punktów, wyszukiwarka, lista jak na WZ (21.10.2026) */
.mag-find { width: 100%; margin: 4px 0 10px; padding: 10px 16px; border: 1px solid #d9d4ca; border-radius: 999px; font-size: 14px; background: #fff; }
.mag-res { display: grid; gap: 6px; margin-bottom: 12px; }
.mag-hit { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; text-align: left; padding: 9px 12px; border: 1px solid #ebe7df; border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.mag-hit:hover { border-color: #879a83; }
.mag-hit-pt { background: #e8efe4; color: #3d5637; border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.mag-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 16px; }
.mag-tile { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: #eef1ea; color: #2f3a2d; cursor: pointer; font: inherit; }
.mag-tile b { display: block; font-size: 14px; } .mag-tile small { color: #6d7469; font-size: 12px; }
.mag-tile.on { background: #4f6b4a; color: #fff; } .mag-tile.on small { color: #dfe8db; }
.mag-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.mag-tbl th { text-align: left; font-size: 11px; font-weight: 600; color: #6d7469; padding: 6px 8px; border-bottom: 1px solid #ebe7df; }
.mag-tbl td { padding: 8px; border-bottom: 1px solid #f3f0ea; vertical-align: middle; }
.mag-ph { width: 50px; } .mag-ph img { width: 44px; height: 50px; object-fit: contain; border-radius: 8px; background: #f4f1ec; display: block; }
.mag-sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #d3cfc6; vertical-align: -2px; margin-right: 6px; }

.ap-out-link { display: flex; justify-content: flex-end; margin: 10px 0 0; } .ap-out-link a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid #879a83; border-radius: 12px; background: #fff; color: #4f6b4a; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .15s; } .ap-out-link a:hover { background: #eef1ea; } @media (max-width: 600px) { .ap-out-link a { width: 100%; } }

/* Zespół i oddziały + pola wyboru w stylu sklepu (21.10.2026) */
.ddd-fl select { font: 15px var(--body, Lato, sans-serif); padding: 10px 38px 10px 12px; border: 1px solid #d9d4ca; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234f6b4a' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; width: 100%; box-sizing: border-box; appearance: none; -webkit-appearance: none; color: #2f3a2d; }
.ddd-fl select:focus { outline: 2px solid var(--sage, #879A83); border-color: transparent; }
.ddd-fl > span { font-weight: 700; }
.ddd-team-row { flex-wrap: wrap; }
.ddd-team-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; } .ddd-team-tags .ddd-firms-tag { margin-left: 0; }
.ddd-team-form { width: 100%; margin-top: 10px; padding-top: 12px; border-top: 1px solid #f0ece4; }
#ddd-team-add { margin-top: 12px; padding: 14px; border: 1px solid #ebe7df; border-radius: 12px; background: #fbfaf7; }
.ddd-team-role { margin: 0; font-weight: 400; display: flex; align-items: flex-start; gap: 10px; } .ddd-fl .ddd-team-role input { width: auto; padding: 0; margin: 3px 0 0; flex: none; accent-color: #4f6b4a; border: 0; } .ddd-team-role span { display: grid; gap: 2px; } .ddd-team-role b { font-size: 14px; } .ddd-team-role small { font-size: 12.5px; color: #7a756c; font-weight: 400; }
.ddd-team .ddd-firm-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 600px) { .ddd-fgrid { grid-template-columns: 1fr; } }
/* Jeden kształt ramek w całym sklepie: zaokrąglony kwadrat jak kafelki (właścicielka 21.10.2026) */
:root { --radius: 12px; }
.header .search input { height: 40px; border-radius: 12px; }
.header .search button { top: 5px; right: 5px; width: 30px; height: 30px; border-radius: 9px; }
.header .catalog-toggle, .header .lang, .header .ddd-firm-sw { height: 40px; box-sizing: border-box; border-radius: 12px; border: 1px solid rgba(255,255,255,.75); background: transparent; color: #fff; }
.header .catalog-toggle { padding: 0 14px; }
.header .lang, .header .ddd-firm-sw { padding: 0 10px; font-size: 13px; }
.header .lang option, .header .ddd-firm-sw option { color: #2f3a2d; }
.ddd-firm-strip select { border-radius: 12px; height: 34px; }
.mag-find, .map-tools #map-q { border-radius: 12px; }
.mag-hit-pt, .ddd-pc-pt span, .map-chips button, .mag-pts .chip, .mini-gift-box .chip { border-radius: 10px; }
.header .search { min-width: 150px; } .header .search input { min-width: 0; }
@media (min-width: 601px) and (max-width: 1100px) { .ddd-firm-strip { justify-content: flex-end; } .ddd-firm-strip select { flex: 0 1 auto; } }

/* Panel właścicielki – klienci: filtry, etykiety, ustawienia w osobnych ramkach (21.10.2026) */
.op-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 12px; }
.op-chip { border: 1px solid #d9d4ca; background: #fff; border-radius: 12px; padding: 7px 12px; font-size: 13px; color: #2f3a2d; text-decoration: none; }
.op-chip small { color: #8a8a80; } .op-chip.on { background: #4f6b4a; border-color: #4f6b4a; color: #fff; } .op-chip.on small { color: #dfe8db; }
.op-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.op-tag { background: #eef1ea; color: #3d5637; border-radius: 10px; padding: 3px 10px; font-size: 12px; } .op-tag.b { background: #f3ebe0; color: #6b4a26; }
.op-set { display: grid; gap: 10px; }
.op-fbox { border: 1px solid #ebe7df; border-radius: 12px; padding: 12px 14px; background: #fff; display: grid; gap: 8px; }
.op-fbox > .op-lbl { margin: 0; font-size: 13px; }
.op-fbox input[name=ddd_vat_eu] { border: 1px solid #d9d4ca; border-radius: 12px; padding: 9px 12px; font: inherit; }
.op-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.op-seg label { margin: 0; cursor: pointer; } .op-seg input { position: absolute; opacity: 0; pointer-events: none; }
.op-seg span { display: inline-block; padding: 8px 13px; border: 1px solid #d9d4ca; border-radius: 12px; background: #fff; font-size: 13px; color: #2f3a2d; }
.op-seg input:checked + span { background: #e8efe4; border-color: #6f8f68; color: #3d5637; font-weight: 700; }
.op-seg input:focus-visible + span { outline: 2px solid #879a83; outline-offset: 1px; }
.op-terms { padding-top: 2px; }@media (max-width: 600px) {
	.mag-tbl thead { display: none; } .mag-tbl, .mag-tbl tbody { display: block; }
	.mag-tbl tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f3f0ea; }
	.mag-tbl td { border: 0; padding: 0; } .mag-tbl td.mag-ph { grid-row: 1 / span 3; }
	.mag-tbl td:nth-child(2) { grid-column: 2; } .mag-tbl td:nth-child(3) { grid-column: 2; } .mag-tbl td:nth-child(4) { grid-column: 2; font-size: 12px; color: #6d7469; }
	.mag-tbl td:nth-child(5) { grid-column: 3; grid-row: 1; font-weight: 700; } .mag-tbl td:nth-child(6) { grid-column: 3; grid-row: 2 / span 2; }
	.mag-sold { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px 12px; align-items: center; } .mag-sold .mag-act { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-start; }
}
/* Zamówienie: wybór firmy przyciskami (21.10.2026) */
.ddd-firm-choose { margin-bottom: 16px; } .ddd-firm-seg { gap: 8px; }
.ddd-seg-a { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid #d9d4ca; border-radius: 12px; background: #fff; color: #2f3a2d; text-decoration: none; }
.ddd-seg-a small { color: #8a8a80; font-size: 12px; } .ddd-seg-a.on { background: #e8efe4; border-color: #6f8f68; color: #3d5637; } .ddd-seg-a:hover { border-color: #879a83; }
.ddd-fsplit-pay .btn { white-space: nowrap; }

.ddd-firm-choose { margin: 4px 0 14px; } .ddd-opt-h { display: block; font-size: 14px; margin-bottom: 8px; }
.ddd-split small, .ddd-fsplit small { color: #7a756c; }

/* „Wyślij na inny adres” jako zwykły ptaszek w opcjach zamówienia */
.ddd-ship-opt #ship-to-different-address { font: inherit; font-size: 13px; margin: 10px 0 0; line-height: 1.5; }
.ddd-ship-opt #ship-to-different-address label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.ddd-ship-opt #ship-to-different-address input { margin-top: 3px; }
.ddd-ship-opt .shipping_address { margin-top: 10px; padding: 12px; border: 1px solid #ebe7df; border-radius: 12px; }

/* równe odstępy między opcjami zamówienia */
.woocommerce-additional-fields .ddd-split, .woocommerce-additional-fields .ddd-avg, .woocommerce-additional-fields .ddd-ship-opt { margin: 0 0 12px; padding: 0; }
.woocommerce-additional-fields .ddd-ship-opt #ship-to-different-address { margin: 0; }
.woocommerce-additional-fields .ddd-split .check, .woocommerce-additional-fields .ddd-avg .check, .ddd-ship-opt #ship-to-different-address label { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.5; }
.woocommerce-additional-fields .check input, .ddd-ship-opt #ship-to-different-address input { margin: 3px 0 0; flex: none; }

/* rozdział na punkty / firmy: przyciski zawsze pod nazwą urny (długie nazwy punktów i firm nie ściskają nazwy) */
.ddd-pc-row { grid-template-columns: auto minmax(0, 1fr); }
.ddd-pc-row .ddd-pc-ch { grid-column: 1 / -1; justify-content: flex-start; }
.ddd-pc-pt span { white-space: normal; text-align: left; }

/* podsumowanie: podział na faktury */
.ddd-fsum { margin-top: 12px; padding: 12px 14px; border: 1px solid #ebe7df; border-radius: 12px; background: #fbfaf7; display: grid; gap: 8px; }
.ddd-fsum-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #f3ebe0; color: #5a3f22; }
.ddd-fsum-row.first { background: #e8efe4; color: #2f3a2d; }
.ddd-fsum-row small { display: block; font-size: 12px; opacity: .85; } .ddd-fsum-v { text-align: right; white-space: nowrap; }
.ddd-fsum-note { font-size: 11.5px; color: #7a756c; }

/* telefon: dolny pasek menu jak w aplikacji (wersja A, 21.10.2026) – Konto, Koszyk i Menu z górnego paska przeniesione na dół */
@media (max-width: 700px) {
  .header .actions .act { display: none; }
  #tabbar a.on { color: var(--sage-deep, #3d5637); font-weight: 600; }
  #tabbar .tb-badge { background: var(--sage-deep, #3d5637); }
  #tabbar .tb-badge[hidden] { display: none; }
  body:has(.op-bar) #tabbar { display: none; }
  body:has(.op-bar).has-tabbar { padding-bottom: 0; }
  .nav.open { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
/* telefon: zdjęcie produktu w całości (bez przycinania) – zdjęcia są pionowe 3:4, ramka była kwadratowa (21.10.2026) */
@media (max-width: 700px) {
  .gallery .main { aspect-ratio: 3 / 4; }
  .gallery .main > img { height: 100%; object-fit: contain; }
}
/* telefon: „Poleć nas” – kody polecające jako karty zamiast szerokiej tabeli (wychodziła poza ekran) */
@media (max-width: 700px) {
  .ref-list thead { display: none; }
  .ref-list, .ref-list tbody { display: block; width: 100%; }
  .ref-list tr { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line, #e6e1d8); }
  .ref-list td { display: block; padding: 0; border: 0; }
  .ref-list td:last-child { grid-column: 1 / -1; }
  .ref-list td:last-child .btn { width: 100%; }
  .ref-list .ref-code { white-space: nowrap; }
  .ref-list td:nth-child(3) { justify-self: end; }
}
/* teksty tylko dla czytników ekranu (np. „Zakres cen: od … do …” przy cenie) – niewidoczne na ekranie (22.10.2026) */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }