/*
Theme Name: MARPRO
Version: 0.8.1
Description: Motyw sklepu MARPRO dla WooCommerce.
Author: MARPRO
Text Domain: marpro
*/
:root{--green:#a4c044;--black:#171916}*{box-sizing:border-box}body{margin:0;font:16px Arial,sans-serif;color:var(--black);background:#f6f7f3}a{color:inherit;text-decoration:none}.marpro-header{background:var(--black);color:white}.wrap{max-width:1280px;margin:auto;padding:24px}.top{display:flex;align-items:center;gap:36px}.logo{width:210px;height:65px;object-fit:cover;object-position:center}.search{flex:1}.search input{width:75%;padding:16px;border:0;border-radius:4px}.button,button,input[type=submit],.woocommerce a.button{background:var(--green);color:#171916;border:0;padding:14px 22px;font-weight:700;border-radius:4px;cursor:pointer}nav{border-top:1px solid #353832}nav .wrap{display:flex;gap:30px;padding-top:17px;padding-bottom:17px;flex-wrap:wrap}.hero{background:#20261d;color:white;padding:65px 45px;border-radius:8px;margin:24px 0;position:relative;overflow:hidden}.hero:after{content:'MARPRO';position:absolute;right:-35px;bottom:0;font-size:150px;font-weight:900;color:#a4c04410;pointer-events:none}.eyebrow{color:var(--green);font-weight:bold;letter-spacing:2px}h1{font-size:clamp(34px,5vw,64px);max-width:780px;line-height:1.05;margin:20px 0}.hero p{color:#d8dfd2;max-width:580px;line-height:1.7;margin-bottom:35px}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category{background:white;border:1px solid #e1e5da;padding:30px 22px;border-radius:6px}.category span{display:block;color:#6b7560;font-size:13px;margin-bottom:24px}.category h3{margin:0 0 16px}.brands{display:flex;gap:28px;flex-wrap:wrap;padding:32px 0;color:#59604f;font-size:20px;font-weight:bold}.garden{background:#e8eedb;padding:35px;border-radius:8px;margin:35px 0}.garden p{max-width:700px;line-height:1.7}footer{background:var(--black);color:#d8dfd2;margin-top:50px}.notice{background:#e8eedb;padding:12px;text-align:center;font-size:13px}.woocommerce ul.products li.product{background:white;padding:18px!important;border-radius:6px}.woocommerce ul.products li.product .price{color:#171916;font-weight:bold;font-size:21px}.woocommerce div.product p.price{color:#171916}form.marpro-inquiry{background:#e8eedb;padding:24px;margin:20px 0}form.marpro-inquiry label{display:block;margin-bottom:16px}form.marpro-inquiry input,form.marpro-inquiry textarea{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #aab29d}main{min-height:55vh}@media(max-width:760px){.top{flex-wrap:wrap;gap:16px}.search{flex-basis:100%}.categories{grid-template-columns:repeat(2,1fr)}.hero{padding:32px 22px}.wrap{padding:18px}nav .wrap{gap:18px}.logo{width:180px}h1{font-size:38px}}
.store-top{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;margin:24px 0 40px;align-items:stretch}.category-sidebar{background:#fff;border:1px solid #e1e5da;border-radius:8px;overflow:hidden}.category-sidebar summary{padding:20px;background:var(--green);font-size:20px;font-weight:700;cursor:pointer}.sidebar-links a,.category-placeholder{display:flex;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #edf0e8;font-size:15px}.sidebar-links a:hover{background:#f0f5e5}.banner-slider{position:relative;min-width:0;background:#20261d;border-radius:8px;overflow:hidden}.banner-slider .hero{margin:0;border-radius:0;min-height:100%;padding:45px 36px 70px}.banner-slider h1{font-size:clamp(30px,4vw,52px)}.banner-slide[hidden]{display:none!important}.banner-image{display:block;width:100%;height:auto;aspect-ratio:1500/650;object-fit:contain}.banner-controls{position:absolute;bottom:14px;right:18px;display:flex;align-items:center;gap:14px;background:#171916e8;color:white;padding:6px;border-radius:6px}.banner-controls button{padding:8px 16px;font-size:20px}.banner-count{font-size:14px;min-width:42px;text-align:center}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #66821a;outline-offset:3px}@media(max-width:760px){.store-top{grid-template-columns:1fr;gap:14px}.sidebar-links{display:grid;grid-template-columns:1fr 1fr}.banner-slider .hero{padding:30px 22px 65px}.banner-controls{position:static;justify-content:center;border-radius:0}.category-sidebar summary{font-size:18px}}


.delivery-strip{background:var(--green);color:#171916;text-align:center;padding:10px 18px;font-weight:700;font-size:14px}.category-heading{margin:0;padding:20px;background:var(--green);font-size:20px}.category-level{margin:0;padding:0;list-style:none}.sidebar-links .category-level a{display:block}.category-level .category-level{padding:0 10px 8px 16px;background:#f7f9f2}.sidebar-links .category-level .category-level a{font-size:14px;padding:10px 12px;border-bottom:0}.category-empty{padding:18px;line-height:1.5}.banner-slides{position:relative;overflow:hidden}.banner-slide{width:100%}.banner-slide.slide-incoming{position:absolute;inset:0}.banner-controls{position:static;display:flex;justify-content:center;background:#20261d;padding:12px;gap:20px;border-radius:0}.best-offers{margin:36px 0}.brands-section{margin:44px 0;padding:28px;background:white;border:1px solid #e1e5da;border-radius:8px}.brands-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.brands-heading h2{margin:0}.brands-heading button{margin:4px;font-size:14px;padding:10px 14px}.brands-track{display:flex;overflow-x:auto;gap:24px;margin-top:24px;scrollbar-width:thin;scroll-snap-type:x proximity}.brand-item{flex:0 0 180px;height:100px;display:flex;align-items:center;justify-content:center;scroll-snap-align:start}.brand-item img{max-width:155px;max-height:75px;width:auto;height:auto;object-fit:contain}@media(max-width:760px){.sidebar-links{display:block}.brand-item{flex-basis:140px}.brand-item img{max-width:125px}.brands-section{padding:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Sterowanie na grafice: strzalki boczne i kropki. */
.banner-slider .banner-controls{position:absolute;inset:0;display:block;margin:0;padding:0;background:none;border-radius:0;pointer-events:none;z-index:3}
.banner-controls>button[data-direction]{position:absolute;top:50%;transform:translateY(-50%);pointer-events:auto;width:42px;height:54px;padding:0;background:rgba(0,0,0,.35);color:white;border-radius:5px;font-size:0;display:flex;align-items:center;justify-content:center}
.banner-controls>button[data-direction="-1"]{left:10px}.banner-controls>button[data-direction="1"]{right:10px}
.banner-controls>button[data-direction]:before{content:'';width:12px;height:12px;border-top:4px solid currentColor;border-right:4px solid currentColor;transform:rotate(45deg)}
.banner-controls>button[data-direction="-1"]:before{transform:rotate(-135deg)}
.banner-controls>button[data-direction]:hover{background:rgba(0,0,0,.65);color:var(--green)}
.banner-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;gap:0;max-width:calc(100% - 24px);flex-wrap:wrap;background:rgba(0,0,0,.35);border-radius:24px;padding:0 6px;pointer-events:auto}
.banner-dots button{display:flex;align-items:center;justify-content:center;width:28px;height:32px;padding:0;background:none;border:0;border-radius:50%}
.banner-dots button:before{content:'';width:9px;height:9px;background:#b2b2b2;border-radius:50%;transition:background .2s,transform .2s}
.banner-dots button[aria-current="true"]:before{background:var(--green);transform:scale(1.2)}
.banner-dots button:hover:before{background:white}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.banner-controls>button[data-direction]{width:34px;height:44px}.banner-controls>button[data-direction="-1"]{left:5px}.banner-controls>button[data-direction="1"]{right:5px}.banner-dots{bottom:6px}.banner-dots button{width:26px;height:28px}}

/* MARPRO 0.5.1 */
body{font-family:"Segoe UI Variable","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3,.category-heading,.button,button{font-family:Bahnschrift,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.025em}input,textarea,select,button{font:inherit}h2{font-size:25px;font-weight:700}h3{font-weight:650}
.top .search{display:flex;align-items:stretch;gap:12px;min-width:0}.top .search input[type=search]{flex:1;width:auto;min-width:0}.top .search button{flex-shrink:0}.cart-link{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.cart-icon{flex-shrink:0}
.banner-slider{align-self:start;background:transparent;line-height:0}.banner-slides{line-height:normal}.banner-slide>a{display:block;line-height:0}.banner-image{vertical-align:top}.banner-slider .hero{line-height:1.5}.banner-slider .banner-controls{background:transparent!important}.banner-dots{background:transparent;padding:0}.banner-dots button:before{box-shadow:0 1px 4px #0008}
.sidebar-links .category-branch>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;background:white;cursor:pointer;font-size:15px;font-weight:500;list-style:none;border-bottom:1px solid #edf0e8}
.sidebar-links .category-branch>summary::-webkit-details-marker{display:none}.category-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex-shrink:0;transition:transform .2s}.category-branch[open]>summary .category-chevron{transform:rotate(225deg)}
.sidebar-links .category-branch>summary:hover,.sidebar-links .category-branch[open]>summary{background:#f0f5e5}.sidebar-links a.category-view-all{font-size:13px;color:#435915;padding:10px 20px;font-weight:600;background:#f7f9f2}.sidebar-links .category-level .category-level summary{padding:12px;font-size:14px}.category-branch>summary:focus-visible{outline:3px solid #66821a;outline-offset:-3px}.sidebar-links>.category-level>li>a{padding:16px 20px}.search-results h1{font-size:32px;line-height:1.25;max-width:none}.search-results .page-numbers{padding:8px}
@media(max-width:760px){.top .search{gap:10px}.top .search button{padding:12px 16px}.search-results h1{font-size:26px}}

/* MARPRO 0.5.1: product photographs and brand carousel. */
.woocommerce ul.products li.product a img,.woocommerce-page ul.products li.product a img{width:100%;height:auto;aspect-ratio:1 / 1;object-fit:contain;object-position:center;background:#fff;display:block;padding:12px;margin:0 0 16px;box-sizing:border-box}
.brands-carousel{position:relative;padding:0 48px;margin-top:22px}.brands-carousel .brands-track{margin:0;gap:0;scrollbar-width:none}.brands-carousel .brands-track::-webkit-scrollbar{display:none}.brands-carousel .brand-item{flex:0 0 20%;height:116px;padding:16px 22px;min-width:0;border-right:1px solid #edf0e8}.brands-carousel .brand-item img{display:block;width:100%;height:80px;max-width:180px;max-height:80px;object-fit:contain}
.brand-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;background:#20261d;color:white;border:0;border-radius:5px}.brand-arrow span{font:38px/1 Arial,sans-serif}.brand-arrow:hover{background:#37432b;color:var(--green)}.brand-prev{left:0}.brand-next{right:0}.brands-heading .brand-pause{background:transparent;font-size:12px;color:#59604f;text-decoration:underline;font-weight:400;padding:8px;margin:0}.brands-carousel .brands-track:focus-visible{outline:3px solid #66821a;outline-offset:-3px}
@media(max-width:1000px){.brands-carousel .brand-item{flex-basis:25%;padding:12px 18px}}@media(max-width:760px){.brands-carousel{padding:0 38px}.brands-carousel .brand-item{flex-basis:50%;height:100px;padding:12px}.brands-carousel .brand-item img{height:68px}.brand-arrow{width:30px;height:42px}}@media(max-width:380px){.brands-carousel .brand-item{flex-basis:100%}}
.brand-arrow[hidden],.brand-pause[hidden]{display:none!important}
/* Stabilna wysokosc banerow niezalezna od wymiarow i dostepnosci pliku. */
.banner-slider:has(.banner-image) .banner-slides{aspect-ratio:1500 / 650;width:100%;position:relative}
.banner-slider:has(.banner-image) .banner-slide{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
.banner-slider:has(.banner-image) .banner-slide>a{display:block;width:100%;height:100%}
.banner-slider .banner-image{display:block;width:100%;height:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;background:#fff}

/* WooCommerce resets image height to auto; preserve the cropped header logo. */
.marpro-header{height:auto;min-height:0;padding:0;margin:0}
.marpro-header .top{padding-top:24px;padding-bottom:24px;min-height:113px}
.marpro-header .logo{display:block;width:210px;height:65px;max-width:100%;object-fit:cover;object-position:center}
@media(max-width:760px){.marpro-header .top{padding-top:18px;padding-bottom:18px;min-height:0}.marpro-header .logo{width:180px;height:65px}}
/* Compact product gallery, scoped away from banner and brand sliders. */
.woocommerce div.product div.woocommerce-product-gallery{position:relative;background:#fff;border-radius:8px;overflow:hidden}
.woocommerce div.product div.woocommerce-product-gallery .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;aspect-ratio:1 / 1;object-fit:contain;object-position:center;background:#fff}
.woocommerce div.product div.woocommerce-product-gallery .flex-direction-nav{list-style:none;margin:0;padding:0;border:0}
.woocommerce-product-gallery .flex-direction-nav li{list-style:none;margin:0;padding:0}
.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:50px;display:flex;align-items:center;justify-content:center;background:#171916c9;color:white;border-radius:5px;font-size:0;text-decoration:none;opacity:1}
.woocommerce-product-gallery .flex-direction-nav a.flex-prev{left:10px}.woocommerce-product-gallery .flex-direction-nav a.flex-next{right:10px}
.woocommerce-product-gallery .flex-direction-nav a:before{content:'';display:block;width:12px;height:12px;border-top:3px solid currentColor;border-right:3px solid currentColor;transform:rotate(45deg)}
.woocommerce-product-gallery .flex-direction-nav a.flex-prev:before{transform:rotate(-135deg)}
.woocommerce-product-gallery .flex-direction-nav a:hover{background:#171916;color:var(--green)}
.woocommerce-product-gallery .flex-direction-nav a.flex-disabled{opacity:.25!important;pointer-events:none}
.woocommerce-product-gallery .flex-direction-nav a:focus-visible{outline:3px solid var(--green);outline-offset:2px}
@media(max-width:760px){.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a{width:36px;height:44px}}

/* MARPRO 0.8.1: product actions, metadata and promotion labels. */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt{background:var(--green);color:#171916;border:0;border-radius:5px;font-weight:700;opacity:1}
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.woocommerce input.button.alt:hover{background:#8fab32;color:#111}
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled{background:#d5dfb6;color:#4d5736;opacity:.65;cursor:not-allowed}
.woocommerce div.product .product_meta>span{display:block;margin:7px 0}
.woocommerce span.onsale,.woocommerce ul.products li.product .onsale{display:inline-flex;align-items:center;justify-content:center;background:#a4c044;color:#171916;border-radius:6px;min-width:0;min-height:0;padding:8px 12px;line-height:1.2;font-size:13px;font-weight:700;box-shadow:none}
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger{background:#fff;color:#171916;border:1px solid #e1e5da;z-index:6}

.brands-carousel .brands-track{scroll-snap-type:none;overflow-anchor:none;scroll-behavior:auto}.footer-layout{display:flex;justify-content:space-between;align-items:start;gap:32px}.marpro-footer .footer-links{display:flex;flex-wrap:wrap;gap:18px;border:0;padding:0}.footer-links a:hover{color:var(--green);text-decoration:underline}.footer-links span{color:#b2b9a9}@media(max-width:760px){.footer-layout{flex-direction:column}.marpro-footer .footer-links{flex-direction:column;gap:12px}}

.marpro-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:50%;background:var(--green);color:#171916;font-size:13px;font-weight:700}.banner-controls .banner-pause{position:absolute;right:12px;bottom:12px;pointer-events:auto;background:#171916b8;color:white;width:32px;height:32px;padding:0;font-size:16px;border-radius:5px}.marpro-header .logo.logo-custom{object-fit:contain;width:240px;height:65px}@media(max-width:760px){.marpro-header .logo.logo-custom{width:180px;height:55px}.cart-link{gap:7px}}

.account-link{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px}.account-link svg{flex-shrink:0}.account-link:hover{color:var(--green)}.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:12px 16px;border-bottom:1px solid #e1e5da}.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:#e8eedb;font-weight:700}@media(max-width:760px){.marpro-header .top{gap:12px}.account-link{margin-left:auto}.top .search{order:3}.cart-link{margin-left:0}}

/* MARPRO 0.8.1: inquiry feedback and keyboard focus. */
.marpro-inquiry{border:1px solid #cbd6b2;border-radius:8px;scroll-margin-top:24px}
.marpro-inquiry h3{margin-top:0}
.marpro-inquiry p{line-height:1.6}
.marpro-inquiry p a{text-decoration:underline}
.marpro-inquiry input:focus-visible,.marpro-inquiry textarea:focus-visible,.marpro-inquiry button:focus-visible{outline:3px solid #66821a;outline-offset:2px}
.marpro-inquiry .marpro-inquiry-status{padding:14px;background:white;border-left:4px solid #66821a}
.marpro-inquiry .marpro-inquiry-status[role=alert]{border-left-color:#b32929}
.marpro-inquiry button{white-space:normal;max-width:100%}

/* MARPRO 0.8.1: more prominent product prices. */
.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price{font-size:34px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.woocommerce ul.products li.product .price{font-size:25px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.woocommerce div.product .summary .price del,
.woocommerce ul.products li.product .price del{font-size:.72em;font-weight:400;opacity:.65}
.woocommerce div.product .summary .price ins,
.woocommerce ul.products li.product .price ins{font-weight:700;text-decoration:none}
.woocommerce div.product .summary .price .woocommerce-price-suffix,
.woocommerce ul.products li.product .price .woocommerce-price-suffix{font-size:14px;font-weight:400}
@media(max-width:760px){
 .woocommerce div.product .summary p.price,.woocommerce div.product .summary span.price{font-size:30px}
 .woocommerce ul.products li.product .price{font-size:22px}
}
