/* Wyglad odwzorowuje obecny sklep dojarki.pl (uklad 980 px, zielony #72bb53). */
:root { --green: #72bb53; --green-dark: #5ea33e; --blue: #4ab2f1; --ink: #444; --text: #777; --line: #ddd; --danger: #b3261e; }
* { box-sizing: border-box; }
html { margin: 0; -webkit-text-size-adjust: none; }
body { margin: 0; max-width: 100%; overflow-x: hidden; background: #fff; font: normal 14px Arial, Helvetica, sans-serif; color: var(--text); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { color: var(--ink); font-weight: normal; margin: 0; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

.master-wrapper-page { width: 100%; }
.header, .header-menu, .master-wrapper-content { width: 980px; max-width: 100%; margin-left: auto; margin-right: auto; }
.master-wrapper-content { padding-bottom: 40px; min-height: 40vh; }

/* ---------- gorny pasek ---------- */
.header-upper { border-bottom: 1px solid var(--line); height: 46px; }
.header-links ul { display: flex; justify-content: flex-end; align-items: stretch; height: 45px; font-size: 0; }
.header-links li { display: inline-block; margin: 0 0 0 0; }
.header-links a { display: inline-flex; align-items: center; height: 45px; padding: 0 16px; font-size: 12px; color: var(--text); }
.header-links a:hover, .header-links button:hover { color: var(--green); }
.logout-form { margin: 0; height: 45px; }
.header-links button { display: inline-flex; align-items: center; height: 45px; padding: 0 16px; font: inherit; font-size: 12px; color: var(--text); background: none; border: 0; cursor: pointer; }
.cart-label { margin-right: 3px; }
#topcartlink a { background: #eee; padding-left: 36px; position: relative; }
#topcartlink a::before { content: ""; position: absolute; left: 16px; top: 15px; width: 11px; height: 14px; border: 1.5px solid #666; border-radius: 1px 1px 2px 2px; }
#topcartlink a::after { content: ""; position: absolute; left: 18px; top: 10px; width: 7px; height: 6px; border: 1.5px solid #666; border-bottom: 0; border-radius: 4px 4px 0 0; }

/* ---------- logo / infolinia / szukanie ---------- */
.header-lower { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 0 20px; padding: 20px 24px; }
.header-logo { text-align: center; }
.header-logo img { width: 100%; max-width: 290px; height: auto; }
.dh-contact-bar { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dh-phone-btn { display: flex; flex-direction: column; align-items: center; line-height: 1.2; color: #222; }
.dh-phone-label { font-size: 20px; font-weight: 700; letter-spacing: 3px; color: #888; }
.dh-phone-number { font-size: 30px; font-weight: 700; color: #222; white-space: nowrap; }
.dh-phone-btn:hover .dh-phone-number { color: var(--green); }
.dh-email-btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 4px; padding: 12px 28px; font-size: 24px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.dh-email-btn:hover { background: var(--green-dark); }
.store-search-box form { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.search-box-text { width: 100%; height: 40px; border: 1px solid var(--line); padding: 0 8px; font-size: 14px; color: #777; background: #fff; }
.search-box-button { height: 50px; background: var(--green); color: #fff; border: 0; border-radius: 4px; font-size: 24px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.search-box-button:hover { background: var(--green-dark); }

/* ---------- menu glowne ---------- */
.header-menu { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0 20px; margin-bottom: 30px; position: relative; z-index: 10; }
.menu-toggle { display: none; }
.top-menu { text-align: center; font-size: 0; }
.top-menu > li { display: inline-block; position: relative; vertical-align: top; margin: 0; }
.top-menu > li > a { display: block; padding: 0 20px; margin: 4px 0; font-size: 18px; line-height: 22px; color: var(--ink); border-left: 1px solid var(--line); }
.top-menu > li:first-child > a { border-left: 0; }
.top-menu > li > a:hover, .top-menu > li:hover > a { color: var(--green); }
.top-menu .sublist { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; text-align: left; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.12); padding: 6px 0; z-index: 20; }
.top-menu > li:hover > .sublist, .top-menu > li:focus-within > .sublist { display: block; }
.top-menu .sublist a { display: block; padding: 7px 18px; font-size: 14px; color: var(--ink); }
.top-menu .sublist a:hover { color: var(--green); background: #f6f6f6; }
body.home-page .header-menu { margin-bottom: 24px; }

/* ---------- okruszki ---------- */
.breadcrumb { background: #f5f5f5; padding: 12px 15px; margin: 0 0 30px; font-size: 13px; }
.breadcrumb ul { font-size: 0; }
.breadcrumb li { display: inline-block; font-size: 13px; line-height: 20px; }
.breadcrumb .delimiter { margin: 0 8px; color: #999; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb strong { font-weight: normal; color: var(--ink); }

/* ---------- uklad 2-kolumnowy ---------- */
.master-column-wrapper { display: flex; gap: 20px; align-items: flex-start; }
.side-2 { flex: 0 0 245px; }
.center-2 { flex: 1; min-width: 0; }
.block .title { border-bottom: 1px solid var(--line); padding: 12px 10px; margin-bottom: 14px; }
.block .title strong { font-size: 18px; color: var(--ink); font-weight: bold; }
.block-category-navigation .list > li > a { display: block; position: relative; padding: 9px 10px 9px 20px; font-size: 16px; color: var(--ink); line-height: 20px; }
.block-category-navigation .list > li > a::before, .block-category-navigation .sublist a::before { content: ""; position: absolute; left: 5px; top: 17px; width: 4px; height: 4px; background: #ccc; }
.block-category-navigation .list > li > a:hover, .block-category-navigation .sublist a:hover { color: var(--blue); }
.block-category-navigation li.active > a { color: var(--blue); }
.block-category-navigation .sublist { padding: 6px 0 12px 15px; }
.block-category-navigation .sublist a { display: block; position: relative; padding: 7px 10px 7px 15px; font-size: 13px; color: var(--ink); line-height: 16px; }
.block-category-navigation .sublist a::before { top: 12px; }
.block-category-navigation .sublist li.active > a { color: var(--blue); }

.page-title { border-bottom: 1px solid var(--line); margin: 0 0 30px; padding: 0 0 10px; }
.page-title h1 { font-size: 28px; line-height: 36px; color: var(--ink); font-weight: normal; }
.master-column-wrapper .page-title h1 { text-align: left; }
.master-wrapper-content > .page-title { text-align: center; }
.page-body { color: var(--text); line-height: 1.6; }
.content-page { max-width: 100%; }
.content-page h2 { font-size: 20px; font-weight: bold; margin: 10px 0 4px; }
.content-page h3 { font-size: 15px; font-weight: bold; margin: 16px 0 6px; }
.content-page p, .content-page ul, .content-page ol { margin: 0 0 12px; }
.content-page ul { list-style: disc; padding-left: 36px; }
.content-page strong { color: #333; }
.content-page a { text-decoration: underline; }

/* ---------- strona glowna ---------- */
.dh-carousel { position: relative; width: calc(100% - 34px); height: 202px; overflow: hidden; background: #1a1a2e; margin: 0 17px 32px; }
.dh-cs { position: absolute; inset: 0; opacity: 0; transition: opacity .65s ease; z-index: 0; }
.dh-cs--active { opacity: 1; z-index: 1; }
.dh-cs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dh-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(0,0,0,.35); border: 0; color: #fff; font-size: 2.2rem; line-height: 1; padding: 4px 14px; cursor: pointer; border-radius: 3px; }
.dh-carousel-arrow:hover { background: rgba(0,0,0,.6); }
.dh-carousel-prev { left: 12px; }
.dh-carousel-next { right: 12px; }
.dh-carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 7px; }
.dh-carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); border: 0; cursor: pointer; padding: 0; }
.dh-carousel-dot--active { background: #fff; }

.dh-tiles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; padding: 0 16px; }
.dh-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: #f0f0f0; }
.dh-tile-link { position: absolute; inset: 0; z-index: 10; display: block; }
.dh-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dh-tile-link:hover ~ .dh-tile-img { transform: scale(1.07); }
.dh-tile-overlay { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.38); padding: 12px; }
.dh-tile-title { color: #fff; font-size: 1.7rem; font-weight: 600; line-height: 1.3; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.7); }

.dojarki-all-products .title { text-align: center; margin: 24px 0 12px; }
.dojarki-all-products .title strong { font-size: 3em; color: #777; }
#scroll-sentinel { height: 1px; }

/* ---------- siatka produktow / karta ---------- */
.item-grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.item-box { display: flex; flex-direction: column; width: 25%; padding: 0 10px; margin: 0 0 20px; }
.master-column-wrapper .item-box { width: 33.333%; }
.product-item, .dh-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 14px; transition: box-shadow .18s, border-color .18s; overflow: hidden; }
.product-item:hover { box-shadow: 0 4px 18px rgba(0,0,0,.13); border-color: #b0b0b0; }
.dh-card-link { position: absolute; inset: 0; z-index: 1; display: block; }
.product-item .picture { height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-item .picture img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.product-item .prices { text-align: center; margin: 8px 0 4px; }
.product-item .actual-price { font-size: 1.25rem; font-weight: 700; color: #222; }
.product-item .details { display: flex; flex-direction: column; flex: 1; }
.product-item .product-title { text-align: center; color: #222; font-size: .95rem; font-weight: 600; margin: 6px 0 4px; }
.product-item .description { flex: 1; text-align: center; color: #555; font-size: .82rem; line-height: 1.6; }
.product-item .add-info { position: relative; z-index: 2; text-align: center; margin-top: auto; padding-top: 8px; }
.product-box-add-to-cart-button { background: var(--green); color: #fff; border: 0; border-radius: 4px; padding: 9px 18px; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; margin-top: 8px; }
.product-box-add-to-cart-button:hover { background: var(--green-dark); }
.product-box-add-to-cart-button[disabled], .add-to-cart-button[disabled] { background: #bbb; cursor: not-allowed; }

.category-grid { display: flex; flex-wrap: wrap; margin: 0 -10px 10px; }
.sub-category-grid .item-box { width: 33.333%; margin-bottom: 14px; }
.sub-category-grid .title { text-align: center; font-size: 22px; line-height: 26px; color: var(--ink); padding: 14px 6px; }
.sub-category-grid .title a:hover { color: var(--green); }

.product-selectors { display: flex; justify-content: flex-end; gap: 20px; margin: 0 0 20px; color: var(--text); font-size: 13px; }
.product-selectors .product-sorting, .product-selectors .product-page-size { display: flex; align-items: center; white-space: nowrap; }
.list-sort { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.product-selectors select { width: auto; border: 1px solid var(--line); background: #fff; height: 32px; padding: 0 6px; margin: 0 6px; color: var(--text); }
.pager { margin: 10px 0 30px; text-align: center; font-size: 0; }
.pager a, .pager .current { display: inline-block; min-width: 36px; height: 36px; line-height: 34px; margin: 0 3px; padding: 0 8px; border: 1px solid var(--line); font-size: 14px; color: var(--ink); text-align: center; }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager .current { background: var(--green); border-color: var(--green); color: #fff; }
.empty { padding: 20px 0; text-align: center; }

/* ---------- strona produktu ---------- */
.product-essential { display: flex; gap: 30px; margin: 0 0 40px; align-items: flex-start; }
.gallery { flex: 0 0 420px; }
.gallery .picture { text-align: center; }
.gallery .picture img { max-width: 100%; height: auto; }
.picture-thumbs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.thumb-item { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.thumb-item:hover { border-color: var(--green); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; }
.overview { flex: 1; min-width: 0; }
.product-name { border-bottom: 1px solid var(--line); padding: 0 0 10px; margin: 0 0 30px; }
.product-name h1 { font-size: 28px; line-height: 36px; font-weight: normal; color: var(--ink); }
.short-description { margin: 0 0 24px; line-height: 22px; }
.short-description p { margin: 0 0 8px; }
.additional-details { margin: 0 0 18px; line-height: 24px; }
.additional-details .label { color: var(--text); }
.additional-details .value { color: var(--ink); }
.overview .prices { margin: 0 0 18px; }
.price-value-product { font-size: 28px; font-weight: bold; color: #222; }
.overview .prices small { font-size: 12px; color: var(--text); }
.add-to-cart-panel { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; flex-wrap: wrap; }
.qty-label { color: var(--ink); }
.qty-input { width: 54px; height: 44px; border: 1px solid var(--line); text-align: center; font-size: 16px; color: var(--ink); }
.add-to-cart-button { height: 44px; padding: 0 28px; background: var(--green); color: #fff; border: 0; font-size: 15px; font-weight: bold; text-transform: uppercase; cursor: pointer; }
.add-to-cart-button:hover { background: var(--green-dark); }
.dh-ship-info { border: 1px solid #e3e3e3; border-radius: 8px; background: #fafafa; padding: 14px 18px; margin: 0 0 20px; color: #666; }
.ship-title { font-weight: bold; color: #222; margin-bottom: 12px; font-size: 14px; }
.ship-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; line-height: 18px; }
.ship-row strong { color: #333; }
.ship-weight { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid #bbb; }
.ship-note { margin: 8px 0 0; font-size: 12px; color: #444; }
.fits { margin: 0; line-height: 20px; }
.full-description { margin: 0 0 30px; line-height: 24px; text-align: justify; }
.full-description h1, .full-description h2 { font-size: 28px; line-height: 24px; font-weight: bold; color: #333; margin: 0 0 14px; text-align: left; }
.full-description h3 { font-size: 16px; font-weight: bold; color: #222; margin: 18px 0 8px; text-align: left; }
.full-description strong { color: #333; }
.full-description ol, .full-description ul { padding-left: 36px; margin: 0 0 12px; list-style: revert; }
.related-products-grid .title { text-align: center; margin: 20px 0; }
.related-products-grid .title strong { font-size: 24px; color: var(--ink); }

/* ---------- przyciski, formularze (koszyk, zamowienie) ---------- */
.btn { display: inline-block; padding: 10px 22px; border: 0; background: #e6e6e6; color: #444; font-size: 14px; font-weight: bold; text-transform: uppercase; cursor: pointer; text-align: center; }
.btn:hover { background: #d8d8d8; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-large { padding: 14px 28px; font-size: 16px; }
.btn-small { padding: 6px 12px; font-size: 12px; }
.link-button { background: none; border: 0; color: var(--danger); cursor: pointer; text-decoration: underline; padding: 0; font-size: 13px; }
.notice { background: #fff8e1; border: 1px solid #f0d98a; padding: 10px 14px; margin: 0 0 16px; }
.errors { background: #fdecea; border: 1px solid #f5b5af; color: var(--danger); padding: 10px 14px; margin: 0 0 16px; }
.errors ul { padding-left: 20px; margin: 6px 0 0; list-style: disc; }
.hint { color: var(--text); font-size: 13px; }
label { display: block; margin: 8px 0; font-size: 13px; color: var(--text); }
input[type=text], input[type=email], input[type=tel], input[type=password], input:not([type]), textarea, select { display: block; width: 100%; padding: 9px 10px; margin-top: 3px; border: 1px solid var(--line); background: #fff; color: #777; font-size: 14px; }
input[type=radio], input[type=checkbox] { display: inline-block; width: auto; margin: 0 6px 0 0; }
label.choice { color: var(--ink); font-size: 14px; }
fieldset { border: 1px solid var(--line); margin: 0 0 20px; padding: 8px 16px 14px; }
legend { font-weight: bold; color: var(--ink); padding: 0 6px; font-size: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-table th { text-align: left; background: #f5f5f5; border: 1px solid var(--line); padding: 12px; font-size: 13px; font-weight: normal; color: var(--ink); }
.cart-table td { padding: 12px; border: 1px solid var(--line); vertical-align: middle; }
.cart-name a { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.cart-name a:hover { color: var(--green); }
.cart-table input[type=number] { width: 60px; display: inline-block; padding: 6px; text-align: center; }
.qty-form { display: flex; gap: 6px; align-items: center; }
.cart-summary { margin: 0 0 30px auto; max-width: 380px; }
dl.totals, .cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0 0 16px; }
dl.totals dt, dl.totals dd, .cart-summary dt, .cart-summary dd { margin: 0; }
dl.totals dd, .cart-summary dd { text-align: right; color: var(--ink); }
.total { font-size: 18px; font-weight: bold; color: #222 !important; border-top: 2px solid #ccc; padding-top: 8px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.checkout-side { background: #f9f9f9; border: 1px solid var(--line); padding: 16px; }
.checkout-side h2 { font-size: 20px; margin-bottom: 10px; }
.side-lines { margin: 0 0 12px; font-size: 13px; }
.side-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.terms { font-size: 13px; margin: 12px 0; }
.checkout-side .btn { width: 100%; }
.delivery-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.delivery-tile { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 2px solid var(--line); cursor: pointer; color: var(--ink); margin: 0; }
.delivery-tile:has(input:checked) { border-color: var(--green); background: #f1f9ec; }
.delivery-tile.is-disabled { opacity: .55; cursor: not-allowed; }
#cart-lines { margin-bottom: 26px; transition: opacity .15s; }
#cart-lines.is-loading { opacity: .5; pointer-events: none; }
.qty-form input[type=number] { width: 70px; }
.pay-methods { margin-top: 16px; }
.pay-methods[hidden], .blik-field[hidden] { display: none; }
.pay-methods-title { font-weight: bold; color: var(--ink); margin: 0 0 8px; }
.pay-method { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 2px solid var(--line); cursor: pointer; margin: 0 0 8px; color: var(--ink); }
.pay-method:has(input:checked) { border-color: var(--green); background: #f1f9ec; }
.pay-method-body { display: flex; flex-direction: column; gap: 2px; }
.pay-method-body span { color: var(--text); font-size: 13px; }
.blik-field { margin: -2px 0 10px; padding: 12px 14px; border: 1px dashed var(--green); background: #fafdf8; }
.blik-field label { display: block; font-weight: bold; margin-bottom: 6px; color: var(--ink); }
.blik-field .blik-input { width: 190px; height: 50px; font-size: 26px; letter-spacing: 5px; text-align: center; color: var(--ink); }
.blik-field small { display: block; margin-top: 6px; color: var(--text); }
.tile-cost { font-weight: bold; }
.tile-hint { font-size: 12px; color: var(--text); }
.order-done .lead { font-size: 18px; }

/* ---------- stopka ---------- */
.footer { margin-top: 40px; }
.dh-footer-contact { display: flex; justify-content: center; align-items: center; gap: 40px; padding: 16px 20px; background: #f4f4f4; border-bottom: 1px solid #e0e0e0; }
.dh-footer-phone-wrap { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.dh-footer-phone-label { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: #888; }
.dh-footer-phone-link { font-size: 16px; font-weight: 700; color: #222; }
.dh-footer-contact .dh-email-btn { font-size: 14px; padding: 8px 18px; }
.footer-upper { background: #eee; padding: 30px 0 0; }
.footer-upper, .footer-lower { }
.footer-upper { display: flex; justify-content: flex-start; gap: 0; padding-left: calc((100% - 980px) / 2); padding-right: calc((100% - 980px) / 2); }
.footer-block { width: 245px; padding: 0 10px 30px; }
.footer-block .title { margin: 0 0 20px; }
.footer-block .title strong { font-size: 18px; font-weight: normal; color: var(--ink); }
.footer-block li a { display: block; padding: 6px 0; font-size: 13px; color: #666; }
.footer-block li a:hover { color: var(--green); }
.footer-lower { background: #eee; padding: 0 calc((100% - 980px) / 2); }
.footer-disclaimer { border-top: 1px solid var(--line); padding: 28px 5px 30px; text-align: right; font-size: 12px; color: #666; }

.cookie-notice { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: 320px; max-width: calc(100% - 24px); background: #fff; border: 1px solid #ccc; padding: 18px 20px; text-align: center; z-index: 60; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.cookie-notice p { margin: 0 0 16px; line-height: 20px; }
.cookie-ok { background: var(--green); color: #fff; border: 0; padding: 8px 20px; cursor: pointer; margin-bottom: 14px; }
.cookie-notice a { display: block; color: var(--green); }
.cart-popup { position: fixed; right: 16px; bottom: 16px; max-width: 320px; background: #fff; border: 2px solid var(--green); padding: 14px 16px; box-shadow: 0 6px 24px rgba(0,0,0,.2); z-index: 70; }
.cart-popup a { font-weight: 700; color: var(--green); }

/* ---------- telefon / tablet ---------- */
@media (max-width: 1000px) {
  .header-lower { padding: 14px 12px; }
  .dh-phone-label { font-size: 15px; }
  .dh-phone-number { font-size: 22px; }
  .dh-email-btn { font-size: 18px; padding: 9px 18px; }
  .search-box-button { font-size: 18px; height: 42px; }
  .item-box, .master-column-wrapper .item-box { width: 33.333%; }
  .dh-tiles-grid { grid-template-columns: repeat(3, 1fr); }
  .dh-tile-title { font-size: 1.3rem; }
}
@media (max-width: 768px) {
  .header-lower { display: flex; flex-direction: column; gap: 14px; }
  .header-logo img { max-width: 200px; }
  .dh-contact-bar { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
  .dh-phone-btn { min-height: 44px; justify-content: center; }
  .store-search-box { width: 100%; }
  .store-search-box form { flex-direction: row; gap: 8px; }
  .search-box-text { flex: 1; height: 44px; }
  .search-box-button { height: 44px; font-size: 14px; padding: 0 16px; }
  .menu-toggle { display: block; width: 100%; min-height: 48px; padding: 14px 16px; background: var(--green); color: #fff; font-size: 16px; text-align: left; border: 0; cursor: pointer; }
  .header-menu { padding: 0; }
  .top-menu { display: none; text-align: left; }
  .top-menu.is-open { display: block; }
  .top-menu > li { display: block; }
  .top-menu > li > a { margin: 0; padding: 14px 18px; border-left: 0; border-bottom: 1px solid var(--line); }
  .top-menu .sublist { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .master-column-wrapper { flex-direction: column; }
  .side-2 { flex: none; width: 100%; }
  .product-essential { flex-direction: column; }
  .gallery { flex: none; width: 100%; }
  .item-box, .master-column-wrapper .item-box, .sub-category-grid .item-box { width: 50%; }
  .dh-tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dh-carousel { height: 130px; width: calc(100% - 20px); margin: 0 10px 24px; }
  .dh-carousel-arrow { display: none; }
  .dojarki-all-products .title strong { font-size: 2em; }
  .checkout { grid-template-columns: 1fr; }
  .delivery-tiles, .grid-2 { grid-template-columns: 1fr; }
  .footer-upper { flex-direction: column; padding-left: 12px; padding-right: 12px; }
  .footer-block { width: 100%; }
  .footer-disclaimer { text-align: center; }
  .dh-footer-contact { flex-direction: column; gap: 12px; }
  .cart-table thead { display: none; }
  .cart-table tr { display: block; margin-bottom: 14px; border: 1px solid var(--line); }
  .cart-table td { display: flex; justify-content: space-between; border: 0; padding: 6px 10px; }
  .cart-table td[data-label]::before { content: attr(data-label); color: var(--text); }
  .master-wrapper-content { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 480px) {
  .item-box, .master-column-wrapper .item-box { padding: 0 5px; }
  .item-grid { margin: 0 -5px; }
}

/* naglowki podstron bez kolumn (koszyk, zamowienie, szukaj, platnosc) - jak .page-title w oryginale */
.master-wrapper-content > h1, .master-wrapper-content > section > h1 { text-align: center; font-size: 28px; line-height: 36px; font-weight: normal; color: var(--ink); border-bottom: 1px solid var(--line); padding: 0 0 10px; margin: 0 0 30px; }
.master-wrapper-content > h1.visually-hidden { position: absolute; border: 0; padding: 0; margin: 0; }

/* ---------- baza wiedzy ---------- */
.kb-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.kb-cats a { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 1em; font-size: 13px; color: var(--ink); }
.kb-cats a.active, .kb-cats a:hover { border-color: var(--green); color: var(--green); }
.kb-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.kb-card { border: 1px solid #e8e8e8; border-radius: 8px; padding: 18px; }
.kb-card h2 { font-size: 18px; line-height: 24px; margin: 8px 0; color: var(--ink); }
.kb-card h2 a:hover { color: var(--green); }
.kb-card time, .kb-meta time { font-size: 12px; color: var(--text); }
.kb-card p { line-height: 22px; margin: 8px 0 12px; }
.kb-more { color: var(--green); font-weight: bold; }
.kb-badge { display: inline-block; background: var(--green); color: #fff; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: .5px; padding: 2px 10px; border-radius: 20px; }
.kb-meta { margin: -10px 0 20px; }
@media (max-width: 768px) { .kb-list { grid-template-columns: 1fr; } }

/* ---------- formularz kontaktowy ---------- */
.contact-form { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 720px; }
.contact-form h2 { font-size: 22px; margin: 0 0 16px; }
.contact-form label { display: block; margin: 0 0 14px; color: var(--ink); }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 4px; }
.contact-ok { padding: 14px 16px; background: #f1f9ec; border: 1px solid var(--green); color: var(--ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* konta klientow (/konto/...) */
.account-box { max-width: 460px; margin: 0 auto 40px; }
.account-wide { max-width: 860px; margin: 0 auto 40px; }
.account-wide h2 { font-size: 22px; margin: 28px 0 14px; }
.account-form label { display: block; margin: 0 0 14px; color: var(--ink); }
.account-form input[type=email], .account-form input[type=password], .account-form input[type=tel], .account-form input:not([type]) { margin-top: 4px; }
.account-links { margin-top: 20px; font-size: 14px; line-height: 1.8; }
.account-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.account-bar form { margin: 0; }
.muted { color: #888; font-size: 13px; }
