/* Generated for the modern homepage from store-modern.css.
 * Source SHA256: 427aa637b8445e1ff308a3c987ecdc6fb2c865555c469b612a75a5889e629be4
 * Only positive body classes exclusive to other pages were removed.
 * Shared rules, declarations, order, media queries and menu fixes are unchanged. */
/* Magna Polonia modern storefront modules – WORK REVIEW */
:root{
  --mp-red:#ed1c24;
  --mp-red-dark:#c9161d;
  --mp-ink:#202124;
  --mp-muted:#6f7378;
  --mp-line:#e8e8ea;
  --mp-soft:#f7f7f8;
  --mp-card:#fff;
  --mp-radius:14px;
  --mp-shadow:0 8px 28px rgba(20,24,31,.07);
}

/* ---------- Header ---------- */
body.mp-modern-header .container_top{margin-top:.45rem;margin-bottom:.6rem}
body.mp-modern-header .topbar{border:0;margin-bottom:.55rem;padding:.3rem .15rem;color:var(--mp-muted);font-size:.78rem}
body.mp-modern-header .topbar a{color:#4c5055}
body.mp-modern-header .topbar .mp-account-link{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--mp-ink)}
body.mp-modern-header .topbar .mp-account-dot{width:7px;height:7px;border-radius:50%;background:#26a269;display:inline-block}
body.mp-modern-header .toplogo{display:flex;align-items:center;justify-content:flex-start}
body.mp-modern-header .toplogo .logo{display:inline-flex;align-items:center}
body.mp-modern-header .toplogo .logo img{height:74px;max-width:100%;object-fit:contain}
body.mp-modern-header .topsearch{display:flex;align-items:center}
body.mp-modern-header .topsearch #search-box{width:100%}
body.mp-modern-header .topsearch form,
body.mp-modern-header .topsearch .is-form-style{margin:0!important}
body.mp-modern-header .topsearch input[type="search"],
body.mp-modern-header .topsearch input[type="text"]{height:48px!important;border:1px solid #dfe1e5!important;border-radius:12px 0 0 12px!important;padding:0 16px!important;background:#fff!important;box-shadow:none!important}
body.mp-modern-header .topsearch button,
body.mp-modern-header .topsearch input[type="submit"]{height:48px!important;border-radius:0 12px 12px 0!important;border:1px solid #dfe1e5!important;background:#f4f4f5!important;color:#2f3337!important}
body.mp-modern-header .topcart{display:flex;align-items:center;justify-content:flex-end}
body.mp-modern-header .topcart .cart{width:100%;max-width:270px}
body.mp-modern-header .topcart .cart a{min-height:48px;border:1px solid #efb3b6;border-radius:12px;padding:11px 14px;background:#fff;display:flex;align-items:center;justify-content:flex-end;gap:.6rem;font-weight:700;color:var(--mp-ink)}
body.mp-modern-header .topcart .cart a:hover{border-color:var(--mp-red);background:#fff8f8}
body.mp-modern-header nav.navbar{border:1px solid var(--mp-line);border-left:0;border-right:0;margin:.8rem 0 0;padding:.55rem 0;background:#fff}
body.mp-modern-header .navbar .nav-link{font-weight:600;color:#363a3f;padding:.72rem .85rem}
body.mp-modern-header .navbar .current-menu-item>.nav-link,
body.mp-modern-header .navbar .nav-link:hover{color:var(--mp-red)}
body.mp-modern-header .woocommerce-breadcrumb{margin-top:.5rem;color:var(--mp-muted)}

/* ---------- Product catalogue ---------- */
body.mp-modern-catalog.woocommerce ul.products,
body.mp-modern-catalog.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0!important;padding:0!important}
body.mp-modern-catalog.woocommerce ul.products::before,
body.mp-modern-catalog.woocommerce ul.products::after{display:none!important}
body.mp-modern-catalog.woocommerce ul.products li.product,
body.mp-modern-catalog.woocommerce-page ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:14px!important;border:1px solid var(--mp-line);border-radius:var(--mp-radius);background:var(--mp-card);display:flex!important;flex-direction:column;min-width:0;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;position:relative;overflow:hidden}
body.mp-modern-catalog.woocommerce ul.products li.product:hover{transform:translateY(-2px);border-color:#d6d7da;box-shadow:var(--mp-shadow)}
body.mp-modern-catalog.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none;min-width:0}
body.mp-modern-catalog.woocommerce ul.products li.product a img{width:100%!important;height:auto!important;aspect-ratio:4/5;object-fit:contain;background:#fff;margin:0 0 12px!important;border-radius:10px}
body.mp-modern-catalog.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.mp-modern-catalog.woocommerce ul.products li.product span.woocommerce-loop-product__title{height:auto!important;min-height:3.2em;margin:0!important;padding:0!important;font-size:1rem!important;line-height:1.35;font-weight:700;color:var(--mp-ink);display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body.mp-modern-catalog.woocommerce ul.products li.product .star-rating{margin:.55rem 0 0}
body.mp-modern-catalog.woocommerce ul.products li.product .price{margin:auto 0 0!important;padding-top:.7rem;text-align:left!important;font-size:1.08rem!important;line-height:1.2;color:var(--mp-red)!important;font-weight:800}
body.mp-modern-catalog.woocommerce ul.products li.product .price del{font-size:.82rem;color:#979ba1;opacity:1;font-weight:500}
body.mp-modern-catalog.woocommerce ul.products li.product .button{width:100%;min-height:42px;margin:12px 0 0!important;border-radius:10px!important;display:flex!important;align-items:center;justify-content:center;text-align:center;font-weight:800;background:var(--mp-red)!important;color:#fff!important}
body.mp-modern-catalog.woocommerce ul.products li.product .button:hover{background:var(--mp-red-dark)!important}
body.mp-modern-catalog.woocommerce ul.products li.product span.onsale{top:11px!important;left:11px!important;right:auto!important;transform:none!important;border-radius:999px!important;padding:6px 9px!important;min-height:0!important;line-height:1!important;font-size:.72rem!important;z-index:3;background:var(--mp-red)!important}
body.mp-modern-catalog .woocommerce-result-count{color:var(--mp-muted)}
body.mp-modern-catalog .woocommerce-ordering select{border:1px solid var(--mp-line);border-radius:10px;padding:9px 32px 9px 11px;background:#fff}

/* ---------- Single product ---------- */
/*
 * IMPORTANT: the legacy theme emits the product description directly from
 * description.php. 3.0.9 wraps the purchase area and description explicitly,
 * so third-party carousels can never be auto-placed under the sticky summary.
 */





















/* Defensive full-width reset for sections injected by product-slider / recommendation plugins. */


/* ---------- Cart ---------- */














































/* ---------- Shared polish ---------- */
body.mp-modern-header .button,
body.mp-modern-catalog .button{transition:background .15s ease,border-color .15s ease,transform .12s ease}
body.mp-modern-catalog .woocommerce-message{border-radius:12px;border:1px solid #d8eadf;background:#f7fcf8;padding:14px 16px 14px 46px}

@media (max-width:991px){
  body.mp-modern-catalog.woocommerce ul.products,
  body.mp-modern-catalog.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  
  
  
}
@media (max-width:767px){
  body.mp-modern-header .topbar .col-12:first-child{display:none}
  body.mp-modern-header .topbar .col-12:last-child{text-align:right!important}
  body.mp-modern-header .toplogo{justify-content:center;margin-bottom:8px}
  body.mp-modern-header .toplogo .logo img{height:58px}
  body.mp-modern-header .topsearch{order:3;margin-top:8px}
  body.mp-modern-header .topcart{order:2;justify-content:center}
  body.mp-modern-header .topcart .cart{max-width:none}
  body.mp-modern-header .topcart .cart a{justify-content:center}
  body.mp-modern-catalog.woocommerce ul.products,
  body.mp-modern-catalog.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.mp-modern-catalog.woocommerce ul.products li.product{padding:10px!important;border-radius:12px}
  body.mp-modern-catalog.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.92rem!important;min-height:3.7em}
  
  
  
  
  
  
  
  
  
  
}
@media (max-width:420px){
  body.mp-modern-catalog.woocommerce ul.products,
  body.mp-modern-catalog.woocommerce-page ul.products{gap:9px}
  body.mp-modern-catalog.woocommerce ul.products li.product{padding:8px!important}
  body.mp-modern-catalog.woocommerce ul.products li.product .button{font-size:.82rem;padding:8px 6px!important}
  
}

/* ---------- My account ---------- */
/* Apply the two-column shell ONLY to the shortcode's outer WooCommerce wrapper.
 * Loyalty and other plugins may render their own nested .woocommerce elements. */








/* Never turn plugin-generated nested WooCommerce wrappers into another account grid. */






/* ---------- Footer ---------- */
body.mp-modern-footer .footerbar{margin-top:48px;background:#f7f7f8;border-top:1px solid var(--mp-line)}
body.mp-modern-footer .footerbar .container{margin-top:0;margin-bottom:0;padding-top:30px;padding-bottom:28px}
body.mp-modern-footer .footer{border:0!important;color:#777;text-align:left;padding:0 15px}
body.mp-modern-footer .footer .menu{margin-bottom:15px}
body.mp-modern-footer .footer .menu ul{padding:0;margin:0;display:flex;gap:9px 20px;flex-wrap:wrap}
body.mp-modern-footer .footer .menu li{margin:0!important}
body.mp-modern-footer .footer .menu a{color:#333;font-weight:650;text-decoration:none}
body.mp-modern-footer .footer .menu a:hover{color:var(--mp-red)}
body.mp-modern-footer .footer p{font-size:.86rem;line-height:1.55;margin:0;max-width:900px}

/* Cross-sells inherit the modern card language inside the new cart. */








@media(max-width:991px){
  
  
  
  
}
@media(max-width:767px){
  
  body.mp-modern-footer .footer{text-align:center}
  body.mp-modern-footer .footer .menu ul{justify-content:center}
}


/* ==========================================================
 * 3.0.10 — modern home + cart usability hotfix
 * ========================================================== */

/* ---------- Modern home ---------- */
body.mp-modern-home .mp-home-shell{padding:10px 0 34px}
body.mp-modern-home .mp-home{max-width:1180px}
body.mp-modern-home .mp-home-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:34px;align-items:center;padding:38px 42px;border:1px solid var(--mp-line);border-radius:22px;background:linear-gradient(135deg,#fff 0%,#fff8f8 100%);box-shadow:var(--mp-shadow);overflow:hidden;position:relative}
body.mp-modern-home .mp-home-hero:after{content:"";position:absolute;right:-90px;top:-90px;width:260px;height:260px;border-radius:50%;background:rgba(237,28,36,.055);pointer-events:none}
body.mp-modern-home .mp-home-hero__copy{position:relative;z-index:1;min-width:0}
body.mp-modern-home .mp-home-eyebrow{display:block;margin-bottom:8px;text-transform:uppercase;letter-spacing:.12em;font-size:.74rem;font-weight:850;color:var(--mp-red)}
body.mp-modern-home .mp-home-hero h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1.06;margin:0 0 16px;color:var(--mp-ink);max-width:760px}
body.mp-modern-home .mp-home-hero__text{max-width:720px;font-size:1.04rem;line-height:1.62;color:#565b61}
body.mp-modern-home .mp-home-hero__text p:last-child{margin-bottom:0}
body.mp-modern-home .mp-home-hero__price{font-size:1.8rem;font-weight:850;color:var(--mp-red);margin-top:17px}
body.mp-modern-home .mp-home-hero__price del{font-size:1rem;color:#979ba1;margin-right:7px;font-weight:500}
body.mp-modern-home .mp-home-hero__actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px}
body.mp-modern-home .mp-home-primary{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:0 22px!important;border-radius:11px!important;background:var(--mp-red)!important;color:#fff!important;font-weight:850!important;text-decoration:none!important}
body.mp-modern-home .mp-home-primary:hover{background:var(--mp-red-dark)!important}
body.mp-modern-home .mp-home-secondary{font-weight:750;color:#43474c;text-decoration:none}
body.mp-modern-home .mp-home-secondary:hover{color:var(--mp-red)}
body.mp-modern-home .mp-home-hero__visual{display:flex;align-items:center;justify-content:center;position:relative;z-index:1;min-height:360px}
body.mp-modern-home .mp-home-hero__visual img{display:block;max-width:100%;width:auto;max-height:430px;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(20,24,31,.14))}

body.mp-modern-home .mp-home-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 42px}
body.mp-modern-home .mp-home-benefits>div{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-areas:"icon title" "icon text";column-gap:11px;align-items:center;padding:15px 16px;border:1px solid var(--mp-line);border-radius:14px;background:#fff}
body.mp-modern-home .mp-home-benefits span{grid-area:icon;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff1f1;color:var(--mp-red);font-weight:900;font-size:1rem}
body.mp-modern-home .mp-home-benefits strong{grid-area:title;color:var(--mp-ink);font-size:.92rem;line-height:1.2}
body.mp-modern-home .mp-home-benefits small{grid-area:text;color:var(--mp-muted);font-size:.76rem;line-height:1.3;margin-top:2px}

body.mp-modern-home .mp-home-section{margin:44px 0}
body.mp-modern-home .mp-home-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
body.mp-modern-home .mp-home-section__head h2{font-size:clamp(1.6rem,2.6vw,2.15rem);line-height:1.1;margin:0;color:var(--mp-ink)}
body.mp-modern-home .mp-home-section__head>a{font-weight:750;color:#555;text-decoration:none;white-space:nowrap}
body.mp-modern-home .mp-home-section__head>a:hover{color:var(--mp-red)}

body.mp-modern-home .mp-home-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
body.mp-modern-home .mp-home-category-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--mp-line);border-radius:15px;background:#fff;padding:12px;text-decoration:none;color:inherit;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
body.mp-modern-home .mp-home-category-card:hover{transform:translateY(-2px);border-color:#d7d8da;box-shadow:var(--mp-shadow);color:inherit}
body.mp-modern-home .mp-home-category-card__visual{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:11px;background:#fafafa;overflow:hidden;margin-bottom:10px}
body.mp-modern-home .mp-home-category-card__visual img{width:100%;height:100%;object-fit:contain}
body.mp-modern-home .mp-home-category-card__placeholder{font-size:1.6rem;font-weight:900;color:#c9c9cc}
body.mp-modern-home .mp-home-category-card__name{font-size:.93rem;font-weight:800;line-height:1.28;color:var(--mp-ink)}
body.mp-modern-home .mp-home-category-card small{font-size:.75rem;color:var(--mp-muted);margin-top:3px}

body.mp-modern-home .mp-home-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.mp-modern-home .mp-home-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--mp-line);border-radius:15px;background:#fff;overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
body.mp-modern-home .mp-home-product-card:hover{transform:translateY(-2px);border-color:#d7d8da;box-shadow:var(--mp-shadow)}
body.mp-modern-home .mp-home-product-card__image{display:block;position:relative;padding:14px 14px 0;background:#fff;min-height:0}
body.mp-modern-home .mp-home-product-card__image img{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;margin:0;background:#fff}
body.mp-modern-home .mp-home-badge{position:absolute;left:22px;top:22px;z-index:2;border-radius:999px;background:var(--mp-red);color:#fff;padding:6px 9px;font-size:.7rem;font-weight:850;line-height:1}
body.mp-modern-home .mp-home-product-card__body{display:flex;flex-direction:column;flex:1;padding:13px 14px 14px}
body.mp-modern-home .mp-home-product-card h3{font-size:.98rem;line-height:1.35;font-weight:760;margin:0 0 10px;min-height:3.95em}
body.mp-modern-home .mp-home-product-card h3 a{color:var(--mp-ink);text-decoration:none}
body.mp-modern-home .mp-home-product-card__price{margin:auto 0 0;padding-top:5px;font-size:1.08rem;line-height:1.25;font-weight:850;color:var(--mp-red)}
body.mp-modern-home .mp-home-product-card__price del{font-size:.8rem;color:#999;font-weight:500;margin-right:5px}
body.mp-modern-home .mp-home-product-card .button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:42px;margin-top:12px!important;border-radius:9px!important;background:var(--mp-red)!important;color:#fff!important;font-size:.9rem!important;font-weight:800!important;text-align:center}
body.mp-modern-home .mp-home-product-card .button:hover{background:var(--mp-red-dark)!important}
body.mp-modern-home .mp-home-publisher{padding:28px;border-radius:20px;background:#fafafa;border:1px solid var(--mp-line)}
body.mp-modern-home .mp-home-loyalty{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:48px 0 14px;padding:28px 30px;border-radius:19px;border:1px solid #f0c8ca;background:#fff7f7}
body.mp-modern-home .mp-home-loyalty h2{margin:0 0 8px;font-size:1.55rem;line-height:1.18;color:var(--mp-ink)}
body.mp-modern-home .mp-home-loyalty p{margin:0;color:#5d6166;max-width:720px;line-height:1.55}
body.mp-modern-home .mp-home-loyalty .button{flex:0 0 auto;margin:0!important}

/* ---------- Cart 3.0.10 ---------- */







/* Recommended products stay directly under cart items rather than after the whole two-column layout. */









/* Shipping methods in totals: full-width cards, no clipping in the narrow sticky column. */



















@media(max-width:991px){
  body.mp-modern-home .mp-home-hero{grid-template-columns:minmax(0,1.1fr) minmax(240px,.7fr);padding:30px}
  body.mp-modern-home .mp-home-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.mp-modern-home .mp-home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.mp-modern-home .mp-home-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  
}

@media(max-width:767px){
  body.mp-modern-home .mp-home-shell{padding-top:0}
  body.mp-modern-home .mp-home-hero{display:flex;flex-direction:column-reverse;gap:20px;padding:22px 18px;border-radius:16px}
  body.mp-modern-home .mp-home-hero__visual{min-height:0;width:100%}
  body.mp-modern-home .mp-home-hero__visual img{max-height:280px}
  body.mp-modern-home .mp-home-hero__actions{align-items:stretch;flex-direction:column}
  body.mp-modern-home .mp-home-primary{width:100%}
  body.mp-modern-home .mp-home-secondary{text-align:center}
  body.mp-modern-home .mp-home-benefits{grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 34px}
  body.mp-modern-home .mp-home-benefits>div{padding:12px;grid-template-columns:32px minmax(0,1fr);column-gap:8px}
  body.mp-modern-home .mp-home-benefits span{width:31px;height:31px}
  body.mp-modern-home .mp-home-benefits small{font-size:.7rem}
  body.mp-modern-home .mp-home-section{margin:34px 0}
  body.mp-modern-home .mp-home-section__head{align-items:flex-start}
  body.mp-modern-home .mp-home-section__head>a{font-size:.8rem}
  body.mp-modern-home .mp-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.mp-modern-home .mp-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.mp-modern-home .mp-home-product-card h3{font-size:.88rem;min-height:4.05em}
  body.mp-modern-home .mp-home-product-card__body{padding:10px}
  body.mp-modern-home .mp-home-publisher{padding:18px 12px}
  body.mp-modern-home .mp-home-loyalty{display:block;padding:21px 18px}
  body.mp-modern-home .mp-home-loyalty .button{width:100%;margin-top:16px!important}

  
  
  
  
  
  
  
}

@media(max-width:420px){
  body.mp-modern-home .mp-home-benefits{grid-template-columns:1fr}
  body.mp-modern-home .mp-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.mp-modern-home .mp-home-product-card__image{padding:9px 9px 0}
  body.mp-modern-home .mp-home-product-card__body{padding:9px}
  body.mp-modern-home .mp-home-product-card .button{font-size:.76rem!important;padding:7px 4px!important}
  
}

/* ============================================================
   3.0.13 — MODERN SHIPPING OWNERSHIP
   The legacy "MP – Poprawki sklepu" shipping grid is dequeued on
   the modern cart/checkout. These rules are the only shipping layout
   for the modern cart, so there is no post-load jump or nested cards.
   ============================================================ */



















@media(max-width:767px){
  
  
  
  
  
}

/* Gift-wrap shortcut retained after disabling the legacy MP – Poprawki sklepu assets. */




@media(max-width:1023px){}

/* ============================================================
   3.0.14 — hierarchy + compact shipping + alignment hardening
   ============================================================ */

/* Keep cart content aligned with the same Bootstrap container as search/header. */



/* ---------- Home: shorter editorial carousel, product-first hierarchy ---------- */
body.mp-modern-home .mp-home{max-width:none}
body.mp-modern-home .mp-home-hero-carousel{position:relative;border:1px solid var(--mp-line);border-radius:20px;background:linear-gradient(135deg,#fff 0%,#fff8f8 100%);box-shadow:var(--mp-shadow);overflow:hidden;margin-bottom:18px}
body.mp-modern-home .mp-home-hero-track{position:relative;min-height:420px}
body.mp-modern-home .mp-home-hero-slide{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.72fr);gap:30px;align-items:center;padding:30px 64px 34px 38px;opacity:0;visibility:hidden;transform:translateX(14px);transition:opacity .28s ease,transform .28s ease,visibility .28s ease;pointer-events:none}
body.mp-modern-home .mp-home-hero-slide.is-active{position:relative;opacity:1;visibility:visible;transform:none;pointer-events:auto}
body.mp-modern-home .mp-home-hero-slide h1{font-size:clamp(1.85rem,3vw,2.75rem);line-height:1.07;margin:0 0 12px;color:var(--mp-ink);max-width:720px}
body.mp-modern-home .mp-home-hero-slide .mp-home-hero__text{max-width:690px;font-size:.98rem;line-height:1.52;color:#5a5f65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
body.mp-modern-home .mp-home-hero-slide .mp-home-hero__text p{margin:0}
body.mp-modern-home .mp-home-hero-slide .mp-home-hero__price{font-size:1.65rem;font-weight:850;color:var(--mp-red);margin-top:14px}
body.mp-modern-home .mp-home-hero-slide .mp-home-hero__actions{margin-top:18px}
body.mp-modern-home .mp-home-hero-slide .mp-home-hero__visual{min-height:300px;max-height:340px;padding:8px}
body.mp-modern-home .mp-home-hero-slide .mp-home-hero__visual img{max-height:320px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 14px 18px rgba(20,24,31,.13))}
body.mp-modern-home .mp-home-hero-nav{position:absolute;top:50%;z-index:5;width:38px;height:38px;margin-top:-19px;border:1px solid #e0e2e5;border-radius:50%;background:rgba(255,255,255,.95);color:#31353a;font-size:1.65rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 3px 10px rgba(20,24,31,.08)}
body.mp-modern-home .mp-home-hero-nav:hover{border-color:var(--mp-red);color:var(--mp-red)}
body.mp-modern-home .mp-home-hero-nav--prev{left:12px}
body.mp-modern-home .mp-home-hero-nav--next{right:12px}
body.mp-modern-home .mp-home-hero-dots{position:absolute;z-index:5;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:7px}
body.mp-modern-home .mp-home-hero-dot{width:8px;height:8px;border:0;border-radius:999px;padding:0;background:#d6d8db;cursor:pointer;transition:width .18s ease,background .18s ease}
body.mp-modern-home .mp-home-hero-dot.is-active{width:24px;background:var(--mp-red)}
body.mp-modern-home .mp-home-section--primary{margin-top:30px}
body.mp-modern-home .mp-home-category-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.mp-modern-home .mp-home-category-card--compact{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name arrow" "count arrow";column-gap:12px;align-items:center;min-height:76px;padding:14px 16px}
body.mp-modern-home .mp-home-category-card--compact .mp-home-category-card__name{grid-area:name;font-size:.95rem}
body.mp-modern-home .mp-home-category-card--compact small{grid-area:count;margin-top:3px}
body.mp-modern-home .mp-home-category-card__arrow{grid-area:arrow;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff1f1;color:var(--mp-red);font-size:1rem;font-weight:900}

/* Image failures should never expose browser broken-image icons / alt text. */
.mp-image-shell{position:relative;overflow:hidden}
.mp-product-image-fallback{position:absolute;inset:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;background:#f7f7f8;color:#c3c5c8;z-index:0}
.mp-product-image-fallback span{font-size:1.4rem;font-weight:900;letter-spacing:.04em}
.mp-product-image-fallback small{font-size:.62rem;text-transform:uppercase;letter-spacing:.1em;margin-top:2px}
.mp-image-shell img.mp-product-image{position:relative;z-index:1;background:#fff}
.mp-image-shell.mp-image-error img{display:none!important}
body.mp-modern-catalog ul.products a.mp-image-error{background:#f7f7f8!important}

/* ---------- Compact grouped shipping (cart) ---------- */




















@media(max-width:1199px){
  
}
@media(max-width:991px){
  body.mp-modern-home .mp-home-hero-slide{grid-template-columns:minmax(0,1.1fr) minmax(220px,.65fr);padding:28px 52px 32px 32px}
  body.mp-modern-home .mp-home-category-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  
}
@media(max-width:767px){
  body.mp-modern-home .mp-home-hero-track{min-height:560px}
  body.mp-modern-home .mp-home-hero-slide{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:16px;padding:22px 18px 42px}
  body.mp-modern-home .mp-home-hero-slide .mp-home-hero__visual{min-height:220px;max-height:250px;width:100%}
  body.mp-modern-home .mp-home-hero-slide .mp-home-hero__visual img{max-height:235px}
  body.mp-modern-home .mp-home-hero-nav{top:230px}
  body.mp-modern-home .mp-home-category-grid--compact{grid-template-columns:1fr}
  
  
  
}

/* ============================================================
   3.0.15 — loyalty visibility, cart proportions, pickup hardening
   ============================================================ */

/* Loyalty is a core purchasing signal: never hide it in modern product cards. */
body.mp-modern-home .mp-home-product-card__points{
  display:block;min-height:1.7em;margin:5px 0 0;color:var(--mp-red);font-size:.82rem;line-height:1.3;
}
body.mp-modern-home .mp-home-product-card__points:empty{display:none;min-height:0;margin:0}
body.mp-modern-home .mp-home-product-card__points .mp-loyalty-product-points,
body.mp-modern-catalog ul.products li.product .mp-loyalty-product-points{
  display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;
  width:auto!important;max-width:100%!important;height:auto!important;margin:5px 0 0!important;
  color:var(--mp-red)!important;font-size:.8rem!important;line-height:1.3!important;font-weight:700!important;
  white-space:normal!important;overflow:visible!important;
}
body.mp-modern-home .mp-home-hero__points{margin:5px 0 0;color:var(--mp-red);font-size:.86rem;font-weight:700}
body.mp-modern-home .mp-home-hero__points:empty{display:none}
body.mp-modern-home .mp-home-hero__points .mp-loyalty-product-points{display:inline-flex!important;gap:3px!important;align-items:baseline!important}

/* The cart should feel balanced inside exactly the same Bootstrap container as the header. */




/* Pickup/parcel selectors injected after a shipping rate must never expand a grid column/page. */
#magna-checkout .mp-modern-shipping-method:has(select),
#magna-checkout .mp-modern-shipping-method:has(.select2-container){
  grid-column:1 / -1!important;border-right:0!important;
}
#magna-checkout .mp-modern-shipping-method select,
#magna-checkout .mp-modern-shipping-method .select2-container,
#magna-checkout .mp-modern-shipping-method .select2-selection{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#magna-checkout .mp-modern-shipping-method select{
  height:40px!important;min-height:40px!important;padding:5px 34px 5px 9px!important;
  border:1px solid #cfd5dd!important;border-radius:8px!important;background-color:#fff!important;
  white-space:nowrap!important;
}
#magna-checkout .mp-modern-shipping-method option{max-width:100%!important}
#magna-checkout .mp-modern-shipping-method > div,
#magna-checkout .mp-modern-shipping-method > p,
#magna-checkout .mp-modern-shipping-method > span:not(.mp-cart-shipping-check){
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}

@media(max-width:1199px){
  
}
@media(max-width:991px){
  
}

/* ============================================================
   3.0.16 — visual polish: header cart, stable image areas,
   product-page height guard and bounded pickup selectors
   ============================================================ */

/* Header cart: compact, balanced and visually aligned with the search field. */
body.mp-modern-header .topsearch{padding-right:8px}
body.mp-modern-header .topcart{padding-left:8px}
body.mp-modern-header .topcart .cart{width:100%;max-width:none}
body.mp-modern-header .topcart .cart a.cart-customlocation{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto;
  grid-template-areas:"icon copy total";
  align-items:center;
  gap:10px;
  width:100%;
  min-height:48px;
  padding:6px 11px!important;
  border:1px solid #e1e3e6!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--mp-ink)!important;
  text-align:left!important;
  box-shadow:none!important;
}
body.mp-modern-header .topcart .cart a.cart-customlocation:hover{
  border-color:#ef9ca0!important;
  background:#fffafa!important;
}
body.mp-modern-header .mp-header-cart-icon{
  grid-area:icon;
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:#fff1f1;
  color:var(--mp-red);
}
body.mp-modern-header .mp-header-cart-icon .wpmenucart-icon-shopping-cart-0{
  float:none!important;display:block!important;margin:0!important;
  color:var(--mp-red)!important;font-size:1.25rem!important;line-height:1!important;
}
body.mp-modern-header .mp-header-cart-copy{grid-area:copy;display:flex;flex-direction:column;min-width:0;line-height:1.15}
body.mp-modern-header .mp-header-cart-copy strong{font-size:.9rem;font-weight:850;color:var(--mp-ink)}
body.mp-modern-header .mp-header-cart-copy small{margin-top:3px;font-size:.69rem;color:var(--mp-muted);font-weight:600;white-space:nowrap}
body.mp-modern-header .mp-header-cart-total{grid-area:total;justify-self:end;font-size:.86rem;font-weight:850;color:var(--mp-red);white-space:nowrap}
body.mp-modern-header .mp-header-cart-total .woocommerce-Price-amount{color:inherit!important;font-weight:inherit!important}

/* Product cards must keep a real cover area even when staging cannot load images. */
body.mp-modern-home .mp-home-product-card__image{
  display:block;position:relative;
  aspect-ratio:4/5;
  min-height:0;
  margin:14px 14px 0;
  padding:0!important;
  overflow:hidden;
  border-radius:10px;
  background:#f7f7f8;
}
body.mp-modern-home .mp-home-product-card__image .mp-product-image-fallback{inset:0;border-radius:10px}
body.mp-modern-home .mp-home-product-card__image img.mp-product-image{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;margin:0!important;
}
body.mp-modern-home .mp-home-product-card__image.mp-image-error .mp-product-image-fallback{display:flex!important}

/* Generic placeholder inserted by JS for broken catalogue / cross-sell images. */
.mp-loop-image-fallback{
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  width:100%;aspect-ratio:4/5;margin:0 0 12px;
  border-radius:10px;background:#f7f7f8;color:#c3c5c8;
  font-weight:900;font-size:1.3rem;letter-spacing:.04em;
}
.mp-loop-image-fallback small{margin-top:3px;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em}
body.mp-modern-catalog ul.products li.product a.mp-image-error>img{display:none!important}

/* Product page: never reserve several screens of blank gallery space. */











/* Keep pickup SelectWoo dropdowns inside the delivery column. */
#magna-checkout .mp-modern-shipping-method .select2-container{width:100%!important;max-width:100%!important;min-width:0!important}
#magna-checkout .mp-modern-shipping-method .select2-selection--single{
  height:42px!important;min-height:42px!important;border:1px solid #cfd5dd!important;border-radius:8px!important;background:#fff!important;
}
#magna-checkout .mp-modern-shipping-method .select2-selection--single .select2-selection__rendered{
  line-height:40px!important;padding-left:10px!important;padding-right:34px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#magna-checkout .mp-modern-shipping-method .select2-selection--single .select2-selection__arrow{height:40px!important;right:6px!important}
.mp-modern-pickup-dropdown.select2-dropdown{max-width:100%!important;border:1px solid #cfd5dd!important;border-radius:8px!important;overflow:hidden!important;z-index:99999!important}
.mp-modern-pickup-dropdown .select2-results__options{max-height:280px!important;overflow-y:auto!important}
.mp-modern-pickup-dropdown .select2-results__option{font-size:.86rem!important;line-height:1.32!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:8px 10px!important}
.mp-modern-pickup-dropdown .select2-search--dropdown{padding:8px!important}
.mp-modern-pickup-dropdown .select2-search__field{width:100%!important;box-sizing:border-box!important;border:1px solid #cfd5dd!important;border-radius:7px!important;padding:7px 9px!important}

/* Slightly tighter desktop rhythm after restoring real cover proportions. */
body.mp-modern-home .mp-home-section{margin:38px 0}

@media(max-width:767px){
  body.mp-modern-header .topsearch,body.mp-modern-header .topcart{padding-left:15px;padding-right:15px}
  body.mp-modern-header .topcart{margin-top:8px}
  
  
  
  
}


/* ============================================================
   3.0.17 — header balance, resilient covers, product flow
   ============================================================ */

/* Desktop header: logo/search/cart form one balanced row. */
@media(min-width:768px){
  body.mp-modern-header .container_top>.row:nth-of-type(2){align-items:center}
  body.mp-modern-header .toplogo{padding-right:18px}
  body.mp-modern-header .toplogo .logo img{height:66px}
  body.mp-modern-header .topsearch{padding-left:8px!important;padding-right:8px!important}
  body.mp-modern-header .topcart{padding-left:8px!important}
}
body.mp-modern-header .topcart .cart a.cart-customlocation{
  grid-template-columns:42px minmax(0,1fr) auto!important;
  grid-template-areas:"icon label total"!important;
  min-height:48px!important;height:48px!important;
  padding:5px 12px!important;
  border-color:#efb3b6!important;
}
body.mp-modern-header .mp-header-cart-icon{grid-area:icon!important;position:relative;width:34px;height:34px;border-radius:9px}
body.mp-modern-header .mp-header-cart-count{
  position:absolute;right:-6px;top:-6px;display:flex;align-items:center;justify-content:center;
  min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--mp-red);color:#fff;
  border:2px solid #fff;font-size:.62rem;font-weight:900;line-height:1;
}
body.mp-modern-header .mp-header-cart-label{grid-area:label;font-size:.9rem;font-weight:850;color:var(--mp-ink);white-space:nowrap}
body.mp-modern-header .mp-header-cart-total{grid-area:total!important;justify-self:end;font-size:.82rem!important;color:#2f3337!important}
body.mp-modern-header .mp-header-cart-total small{font-size:.72rem;color:var(--mp-muted);font-weight:700}

/* Catalogue cards reserve cover space even if staging image files are missing. */
body.mp-modern-catalog.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link,
body.mp-modern-catalog.woocommerce-page ul.products li.product>a.woocommerce-LoopProduct-link{position:relative}
body.mp-modern-catalog .mp-loop-image-frame{
  position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;
  margin:0 0 12px;border-radius:10px;overflow:hidden;background:#f7f7f8;
}
body.mp-modern-catalog .mp-loop-image-frame>img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;margin:0!important;border-radius:0!important;background:#fff!important;
}
body.mp-modern-catalog .mp-loop-image-frame .mp-loop-image-fallback{
  position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;margin:0;border-radius:0;z-index:0;
}
body.mp-modern-catalog .mp-loop-image-frame>img{position:relative;z-index:1}
body.mp-modern-catalog .mp-loop-image-frame.mp-image-error>img{display:none!important}

/* Product description belongs to the left column below the gallery. The sticky
   buy card can remain taller without creating a screen of empty space. */







@media(max-width:767px){
  body.mp-modern-header .topcart .cart a.cart-customlocation{grid-template-columns:38px minmax(0,1fr) auto!important}
  
  
}

/* ============================================================
   3.0.18 — cleaner header cart, assisted ordering, compact cart,
   bounded pickup dropdowns
   ============================================================ */

/* Header cart: visually part of the search row, not a second boxed widget. */
body.mp-modern-header .topcart .cart{width:100%!important;max-width:none!important}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto!important;
  grid-template-areas:"icon copy total"!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-height:48px!important;
  height:48px!important;
  margin:0!important;
  padding:5px 4px 5px 8px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:var(--mp-ink)!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link:hover,
body.mp-modern-header .topcart .cart>a.mp-header-cart-link:focus{
  background:#fff7f7!important;
  color:var(--mp-ink)!important;
  text-decoration:none!important;
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link .mp-header-cart-icon{grid-area:icon!important}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link .mp-header-cart-copy{
  grid-area:copy!important;display:flex!important;flex-direction:column!important;min-width:0!important;line-height:1.12!important
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link .mp-header-cart-copy strong{
  font-size:.9rem!important;font-weight:850!important;color:var(--mp-ink)!important
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link .mp-header-cart-copy small{
  margin-top:2px!important;font-size:.67rem!important;font-weight:650!important;color:var(--mp-muted)!important;white-space:nowrap!important
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link .mp-header-cart-total{
  grid-area:total!important;justify-self:end!important;font-size:.82rem!important;font-weight:850!important;color:var(--mp-ink)!important;white-space:nowrap!important
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link .mp-header-cart-total .woocommerce-Price-amount{color:inherit!important}
body.mp-modern-header .topcart .cart>*:not(.mp-header-cart-link){display:none!important}

/* Modern cart: give product names more breathing room and make the old gift-wrap
   promotion look like an optional benefit instead of a giant red headline. */















/* CallPage / phone assistance on product cards. */








/* Homepage: phone orders and COD deserve their own high-visibility strip without
   pushing product discovery below a second full row of generic benefits. */
body.mp-modern-home .mp-home-assisted-order{
  display:grid;grid-template-columns:1fr 1fr .8fr;gap:12px;align-items:stretch;margin:12px 0 28px
}
body.mp-modern-home .mp-home-assisted-order__item,
body.mp-modern-home .mp-home-assisted-order__cta{
  min-width:0;border:1px solid #ececef;border-radius:14px;background:#fff;padding:14px 16px
}
body.mp-modern-home .mp-home-assisted-order__item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:11px;align-items:center}
body.mp-modern-home .mp-home-assisted-order__icon{
  width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff1f1;color:var(--mp-red);font-size:.72rem;font-weight:900
}
body.mp-modern-home .mp-home-assisted-order strong{display:block;font-size:.92rem;color:var(--mp-ink)}
body.mp-modern-home .mp-home-assisted-order small{display:block;margin-top:3px;color:var(--mp-muted);font-size:.78rem;line-height:1.35}
body.mp-modern-home .mp-home-assisted-order a{color:var(--mp-red);font-weight:850;text-decoration:none}
body.mp-modern-home .mp-home-assisted-order__cta{display:flex;flex-direction:column;justify-content:center;gap:5px;background:#fffafa}
body.mp-modern-home .mp-home-assisted-order__cta .mp-callpage-open{
  min-height:38px;border:0;border-radius:9px;background:var(--mp-red);color:#fff;font-size:.85rem;font-weight:850;cursor:pointer
}
body.mp-modern-home .mp-home-assisted-order__cta .mp-callpage-open:hover{background:var(--mp-red-dark)}

/* Pickup dropdown: attach SelectWoo to body and constrain the floating overlay to
   the actual control width. It must never become a grid child or widen checkout. */
.mp-modern-pickup-dropdown.select2-dropdown{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:calc(100vw - 32px)!important;
  border:1px solid #cfd5dd!important;
  border-radius:9px!important;
  overflow:hidden!important;
  box-shadow:0 12px 28px rgba(20,24,31,.16)!important;
  z-index:2147483000!important;
}
.select2-container--open .mp-modern-pickup-dropdown .select2-search--dropdown{padding:8px!important;background:#fff!important}
.select2-container--open .mp-modern-pickup-dropdown .select2-search__field{
  display:block!important;width:100%!important;max-width:100%!important;height:38px!important;box-sizing:border-box!important;margin:0!important;padding:6px 9px!important
}
.select2-container--open .mp-modern-pickup-dropdown .select2-results__options{
  max-height:260px!important;overflow-y:auto!important;overflow-x:hidden!important
}
.select2-container--open .mp-modern-pickup-dropdown .select2-results__option{
  max-width:100%!important;padding:8px 10px!important;font-size:.82rem!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important
}

@media(max-width:1199px){
  
  body.mp-modern-home .mp-home-assisted-order{grid-template-columns:1fr 1fr!important}
  body.mp-modern-home .mp-home-assisted-order__cta{grid-column:1 / -1;display:grid;grid-template-columns:minmax(180px,.35fr) minmax(0,1fr);align-items:center}
}
@media(max-width:991px){
  
}
@media(max-width:767px){
  body.mp-modern-header .topcart .cart>a.mp-header-cart-link{grid-template-columns:38px minmax(0,1fr) auto!important}
  
  
  
  body.mp-modern-home .mp-home-assisted-order{grid-template-columns:1fr!important}
  body.mp-modern-home .mp-home-assisted-order__cta{grid-column:auto;display:flex}
  
}


/* ============================================================
   3.0.19 — compact benefits, clean description, checkout cleanup
   ============================================================ */

/* One compact benefits strip on the homepage. Telephone ordering and COD stay
   prominent without consuming a second full row before product discovery. */
body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0 26px!important;
}
body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact>div{
  min-height:58px!important;
  padding:9px 11px!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  column-gap:8px!important;
  border-radius:11px!important;
}
body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact span{
  width:30px!important;height:30px!important;font-size:.69rem!important;
}
body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact strong{
  font-size:.80rem!important;line-height:1.15!important;
}
body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact small{
  margin-top:1px!important;font-size:.66rem!important;line-height:1.2!important;
}
body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact a{
  color:var(--mp-red)!important;font-weight:850!important;text-decoration:none!important;
}
body.mp-modern-home .mp-home-benefit-callback{
  background:#fffafa!important;border-color:#f3cfd1!important;
}

/* Product descriptions imported from older editor content sometimes arrive in
   a single-cell table. It must not look like an input/table wrapper. Product
   specification tables keep their normal styling. */




/* Gift wrapping belongs in the cart, not at the bottom of checkout. */


/* CallPage CTA is a link semantically, but should still look like a button. */
body.mp-modern-home .mp-home-benefit-callback .mp-callpage-open{display:inline!important}


@media(max-width:1199px){
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:767px){
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    margin-bottom:22px!important;
  }
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact>div{
    min-height:54px!important;padding:8px 9px!important;
  }
}
@media(max-width:479px){
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact{
    grid-template-columns:1fr!important;
  }
}


/* ============================================================
   3.0.20 — compact, layout-safe pickup-point chooser
   ============================================================ */
.mp-native-pickup-select{
  position:absolute!important;width:1px!important;height:1px!important;min-width:1px!important;max-width:1px!important;
  opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;white-space:nowrap!important
}
.mp-pickup-modal-trigger{
  display:grid!important;grid-template-columns:26px minmax(0,1fr) 18px!important;align-items:center!important;gap:8px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:7px 0 0!important;padding:9px 10px!important;
  border:1px solid #cfd5dd!important;border-radius:9px!important;background:#fff!important;color:#30343a!important;
  text-align:left!important;font:inherit!important;line-height:1.25!important;cursor:pointer!important;box-sizing:border-box!important
}
.mp-pickup-modal-trigger:hover{border-color:#b8bec7!important;background:#fafafa!important}
.mp-pickup-modal-trigger.has-value{border-color:#bfc7d1!important;background:#f8fafc!important}
.mp-pickup-modal-trigger__icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#fff1f1;font-size:14px}
.mp-pickup-modal-trigger__text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;font-weight:700}
.mp-pickup-modal-trigger__arrow{justify-self:end;color:#6b7280;font-size:16px}
body.mp-pickup-modal-open{overflow:hidden!important}
.mp-pickup-modal{
  position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;padding:20px;box-sizing:border-box
}
.mp-pickup-modal.is-open{display:flex}
.mp-pickup-modal__backdrop{position:absolute;inset:0;background:rgba(20,24,30,.52);backdrop-filter:blur(1px)}
.mp-pickup-modal__dialog{
  position:relative;z-index:1;width:min(680px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 40px));
  display:flex;flex-direction:column;overflow:hidden;border:1px solid #e0e3e7;border-radius:16px;background:#fff;
  box-shadow:0 24px 80px rgba(0,0,0,.24)
}
.mp-pickup-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid #eceef1}
.mp-pickup-modal__head strong{display:block;font-size:1.08rem;line-height:1.25;color:#222}
.mp-pickup-modal__head small{display:block;margin-top:3px;color:#6b7280;font-size:.76rem}
.mp-pickup-modal__close{flex:0 0 auto;width:34px;height:34px;border:0;border-radius:50%;background:#f3f4f6;color:#4b5563;font-size:24px;line-height:1;cursor:pointer}
.mp-pickup-modal__search-wrap{padding:14px 20px 10px}
.mp-pickup-modal__search{display:block;width:100%;height:44px;padding:0 13px;border:1px solid #cfd5dd;border-radius:9px;background:#fff;font-size:.92rem;box-sizing:border-box}
.mp-pickup-modal__search:focus{outline:0;border-color:#ed1c24;box-shadow:0 0 0 3px rgba(237,28,36,.08)}
.mp-pickup-modal__list{min-height:120px;overflow:auto;padding:4px 12px 16px}
.mp-pickup-modal__option{
  display:block;width:100%;margin:0;padding:11px 12px;border:0;border-bottom:1px solid #eceef1;background:#fff;
  color:#2b2f33;text-align:left;font-size:.84rem;line-height:1.35;cursor:pointer;box-sizing:border-box
}
.mp-pickup-modal__option:hover,.mp-pickup-modal__option:focus{outline:0;background:#fff6f6;color:#b80e15}
.mp-pickup-modal__option.is-selected{background:#fff0f0;color:#c51219;font-weight:800}
.mp-pickup-modal__empty{padding:18px 20px 24px;color:#6b7280;text-align:center;font-size:.84rem}
@media(max-width:600px){
  .mp-pickup-modal{padding:10px}
  .mp-pickup-modal__dialog{width:100%;max-height:calc(100vh - 20px);border-radius:13px}
  .mp-pickup-modal__head{padding:15px 15px 12px}
  .mp-pickup-modal__search-wrap{padding:12px 15px 8px}
  .mp-pickup-modal__list{padding:3px 8px 12px}
}

/* Account e-mail confirmation note in My Account. */





/* ============================================================
   3.0.22 — all ABB pickup methods + conservative postcode helper
   ============================================================ */
/* ABB renders pickup selection as a separate table row, not inside the shipping-rate card.
   Every ABB method that actually renders a pickup select uses our fixed modal; courier methods never do. */
#magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup{
  display:table-row!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup > td:first-child{
  width:28%!important;white-space:nowrap!important;vertical-align:middle!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup > td:last-child{
  display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:8px!important;align-items:center!important;
  min-width:0!important;width:auto!important;max-width:100%!important;box-sizing:border-box!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup .bootstrap-select{
  display:none!important;width:0!important;max-width:0!important;overflow:hidden!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup .mp-pickup-modal-trigger{
  grid-column:1!important;margin:0!important;min-width:0!important;width:100%!important;max-width:100%!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup #abb-shipping-show-map{
  grid-column:2!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;
  margin:0!important;padding:0!important;border-radius:9px!important;box-sizing:border-box!important;
}
@media(max-width:600px){
  #magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup > td:first-child{display:none!important}
  #magna-checkout tr#abb-shipping-location.mp-abb-modal-pickup > td:last-child{display:grid!important;width:100%!important}
}

.mp-postcode-suggestions{display:flex;flex-direction:column;gap:6px;margin-top:6px;font-size:.76rem;line-height:1.3}
.mp-postcode-suggestions__ok{color:#397446;font-weight:700}
.mp-postcode-suggestions__label{color:#5e6670;font-weight:700}
.mp-postcode-suggestions__buttons{display:flex;flex-wrap:wrap;gap:5px}
.mp-postcode-place{margin:0!important;padding:5px 8px!important;border:1px solid #d8dde4!important;border-radius:8px!important;background:#fff!important;color:#343a40!important;font:inherit!important;line-height:1.2!important;cursor:pointer!important}
.mp-postcode-place:hover,.mp-postcode-place:focus{border-color:#e36b70!important;background:#fff7f7!important;outline:0!important}

/* ============================================================
   3.0.23 — pickup points: use ABB/Apaczka official map, no huge DOM list
   ============================================================ */
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup{
  display:table-row!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup > td:first-child{
  width:28%!important;white-space:nowrap!important;vertical-align:middle!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup > td:last-child{
  display:block!important;min-width:0!important;width:auto!important;max-width:100%!important;box-sizing:border-box!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup .bootstrap-select{
  display:none!important;width:0!important;max-width:0!important;overflow:hidden!important;
}
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup .mp-native-pickup-map-button{
  position:absolute!important;width:1px!important;height:1px!important;min-width:1px!important;max-width:1px!important;
  opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;
}
.mp-pickup-map-trigger{
  display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:10px 12px!important;
  border:1px solid #d6d9de!important;border-radius:10px!important;background:#fff!important;color:#272b30!important;
  text-align:left!important;font:inherit!important;line-height:1.25!important;cursor:pointer!important;box-sizing:border-box!important;
  box-shadow:none!important;
}
.mp-pickup-map-trigger:hover,.mp-pickup-map-trigger:focus{outline:0!important;border-color:#b9bec6!important;background:#fafafa!important}
.mp-pickup-map-trigger.has-value{border-color:#c3c9d1!important;background:#fafbfc!important}
.mp-pickup-map-trigger.is-loading{opacity:.65!important;cursor:wait!important}
.mp-pickup-map-trigger__icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff1f1;font-size:16px}
.mp-pickup-map-trigger__copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.mp-pickup-map-trigger__title{font-size:.72rem;font-weight:800;color:#333;line-height:1.15}
.mp-pickup-map-trigger__text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;color:#656b73;font-weight:600}
.mp-pickup-map-trigger__action{display:inline-flex;align-items:center;justify-content:center;min-width:66px;padding:7px 10px;border-radius:8px;background:#f4f5f7;color:#b51219;font-size:.74rem;font-weight:800;white-space:nowrap}
@media(max-width:600px){
  #magna-checkout tr#abb-shipping-location.mp-abb-map-pickup > td:first-child{display:none!important}
  #magna-checkout tr#abb-shipping-location.mp-abb-map-pickup > td:last-child{display:block!important;width:100%!important}
  .mp-pickup-map-trigger{grid-template-columns:30px minmax(0,1fr) auto!important;padding:9px 10px!important;gap:8px!important}
  .mp-pickup-map-trigger__icon{width:30px;height:30px}
}

/* ============================================================
   3.0.24 — postcode suggestions for billing + alternate shipping address
   ============================================================ */
.mp-postcode-suggestions{margin-top:7px!important}
.mp-postcode-suggestions__checking,.mp-postcode-suggestions__notice,.mp-postcode-suggestions__error{display:flex;align-items:flex-start;gap:7px;padding:7px 9px;border-radius:8px;font-size:.76rem;line-height:1.35}
.mp-postcode-suggestions__checking{background:#f6f7f8;color:#5f6872}
.mp-postcode-suggestions__notice{background:#fff9ea;color:#705a1f;border:1px solid #efe0ad}
.mp-postcode-suggestions__error{background:#fff2f2;color:#a0353a;border:1px solid #efc5c7;font-weight:700}
.mp-postcode-spinner{width:12px;height:12px;min-width:12px;margin-top:1px;border:2px solid #d7dbe0;border-top-color:#b31d25;border-radius:50%;animation:mp-postcode-spin .7s linear infinite}
@keyframes mp-postcode-spin{to{transform:rotate(360deg)}}
.mp-postcode-mismatch{margin-top:7px;padding:9px 10px;border:1px solid #efc77f;border-radius:9px;background:#fffaf0;font-size:.76rem;line-height:1.35;color:#65501c}
.mp-postcode-mismatch__warning{display:flex;flex-direction:column;gap:3px;margin-bottom:7px}
.mp-postcode-mismatch__warning strong{color:#8a5c00}
.mp-postcode-confirm{display:flex;align-items:flex-start;gap:7px;margin:0;cursor:pointer;font-weight:600;color:#4d4533}
.mp-postcode-confirm input{width:16px;height:16px;min-width:16px;margin:1px 0 0!important}
.mp-postcode-suggestions__buttons{max-height:150px;overflow:auto;padding:1px 1px 2px}
.mp-postcode-place{max-width:100%;text-align:left!important;white-space:normal!important}

/* ============================================================
   3.0.26 — stable pickup chooser: compact summary + list + map
   ============================================================ */
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup .mp-pickup-chooser{
  display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:10px!important;border:1px solid #dfe3e8!important;border-radius:10px!important;background:#fff!important;
  box-sizing:border-box!important;overflow:hidden!important
}
.mp-pickup-chooser__summary{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center;min-width:0}
.mp-pickup-chooser__pin{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#fff1f1;font-size:15px}
.mp-pickup-chooser__copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.mp-pickup-chooser__status{font-size:.72rem;line-height:1.15;font-weight:800;color:#34383d}
.mp-pickup-chooser__value{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;line-height:1.25;color:#646b74;font-weight:600}
.mp-pickup-chooser.has-value{background:#fafbfc!important;border-color:#c8ced6!important}
.mp-pickup-chooser__actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;min-width:0}
.mp-pickup-list-button,.mp-pickup-map-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;
  min-height:36px!important;margin:0!important;padding:7px 10px!important;border:1px solid #d4d9df!important;border-radius:8px!important;
  background:#f8f9fa!important;color:#34383d!important;font:inherit!important;font-size:.76rem!important;font-weight:800!important;line-height:1.2!important;
  box-shadow:none!important;cursor:pointer!important;box-sizing:border-box!important
}
.mp-pickup-list-button:hover,.mp-pickup-list-button:focus,.mp-pickup-map-button:hover,.mp-pickup-map-button:focus{
  outline:0!important;border-color:#ed1c24!important;background:#fff6f6!important;color:#b51219!important
}
.mp-pickup-map-button.is-loading{opacity:.6!important;cursor:wait!important}
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup .mp-pickup-map-trigger{display:none!important}

/* The original ABB/bootstrap-select remains available to its map callback but
   never participates in layout. Our list searches the native <select> lazily. */
#magna-checkout tr#abb-shipping-location.mp-abb-map-pickup .bootstrap-select{
  display:none!important;position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;pointer-events:none!important
}

.mp-pickup-modal__list{overscroll-behavior:contain}
.mp-pickup-modal__option{white-space:normal!important;overflow-wrap:anywhere!important}

/* Postcode/locality feedback survives checkout fragment refreshes visually. */
.mp-postcode-place.is-selected{border-color:#8ec49b!important;background:#f2fbf4!important;color:#2f6e3d!important;font-weight:800!important}

@media(max-width:600px){
  .mp-pickup-chooser__actions{grid-template-columns:1fr!important}
  .mp-pickup-chooser__value{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}

/* 3.0.27: non-blocking pickup-point search feedback */
.mp-pickup-search-spinner{display:inline-block;width:13px;height:13px;margin-right:6px;border:2px solid #d5d8dd;border-top-color:#ed1c24;border-radius:50%;vertical-align:-2px;animation:mpPickupSpin .7s linear infinite}
@keyframes mpPickupSpin{to{transform:rotate(360deg)}}

/* 3.0.29: browser-side bestseller rotation so CDN/page cache cannot pin the
   same products forever. Show the first eight only until JS picks a set. */
body.mp-modern-home [data-mp-bestsellers] .mp-home-bestseller-card{display:none}
body.mp-modern-home [data-mp-bestsellers]:not(.is-ready) .mp-home-bestseller-card:nth-child(-n+8),
body.mp-modern-home [data-mp-bestsellers].is-ready .mp-home-bestseller-card.is-picked{display:flex}

/* Lost/set-password flow should look like a deliberate account screen rather
   than a narrow legacy WooCommerce form floating on the left. */








/* ============================================================
   3.0.31 — compact premium header: KDR + search + visible cart
   ============================================================ */
body.mp-modern-header .container_top{
  margin-top:.25rem!important;
  margin-bottom:.25rem!important;
}
body.mp-modern-header .topbar{
  margin-bottom:.15rem!important;
  padding:.22rem .15rem!important;
}
body.mp-modern-header .mp-header-brand-row{
  align-items:center;
  min-height:74px;
  margin-bottom:0;
}
body.mp-modern-header .mp-header-brand-row .toplogo{
  padding-right:22px!important;
  margin-bottom:0!important;
}
body.mp-modern-header .mp-header-brand-row .toplogo .logo img{
  height:68px!important;
}
body.mp-modern-header .mp-header-brand-row .navbar-parent{
  min-height:0!important;
  display:flex;
  align-items:center;
  padding-left:4px;
}
body.mp-modern-header .mp-header-brand-row nav.navbar{
  width:100%;
  margin:0!important;
  padding:.3rem 0!important;
  border:0!important;
  background:transparent!important;
}
body.mp-modern-header .mp-header-brand-row .navbar-collapse{
  justify-content:flex-end;
}
body.mp-modern-header .mp-header-brand-row .navbar-nav{
  margin-left:auto!important;
  margin-right:0!important;
}
body.mp-modern-header .mp-header-brand-row .navbar .nav-link{
  padding:.68rem .78rem!important;
  font-size:.96rem;
  font-weight:700;
}

body.mp-modern-header .mp-header-tools-row{
  align-items:stretch;
  margin-top:2px;
  padding-top:9px;
  padding-bottom:7px;
  border-top:1px solid #ececef;
}
body.mp-modern-header .mp-header-tools-row .mp-kdr-col,
body.mp-modern-header .mp-header-tools-row .topsearch,
body.mp-modern-header .mp-header-tools-row .topcart{
  display:flex!important;
  align-items:stretch!important;
  margin-top:0!important;
}
body.mp-modern-header .mp-header-tools-row .mp-kdr-col{padding-right:8px}
body.mp-modern-header .mp-header-tools-row .topsearch{padding-left:8px!important;padding-right:8px!important}
body.mp-modern-header .mp-header-tools-row .topcart{padding-left:8px!important}

body.mp-modern-header .mp-kdr-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:"icon copy";
  gap:10px;
  align-items:center;
  width:100%;
  min-height:54px;
  padding:6px 12px;
  border:1px solid #d9dadd;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 13px rgba(20,24,31,.035);
  box-sizing:border-box;
}
body.mp-modern-header .mp-kdr-icon{
  grid-area:icon;
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#f2f3f4;
  color:#202124;
  font-size:1.05rem;
}
body.mp-modern-header .mp-kdr-copy{
  grid-area:copy;
  display:flex;
  flex-direction:column;
  min-width:0;
  line-height:1.1;
}
body.mp-modern-header .mp-kdr-copy strong{
  color:#25282c;
  font-size:.78rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.02em;
  white-space:nowrap;
}
body.mp-modern-header .mp-kdr-copy small{
  margin-top:4px;
  color:#666b70;
  font-size:.72rem;
  font-weight:650;
}
body.mp-modern-header .mp-kdr-copy b{color:var(--mp-red);font-weight:900}

body.mp-modern-header .mp-header-tools-row .topsearch #search-box,
body.mp-modern-header .mp-header-tools-row .topsearch .is-form-style,
body.mp-modern-header .mp-header-tools-row .topsearch form{
  width:100%!important;
  height:54px!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch input[type="search"],
body.mp-modern-header .mp-header-tools-row .topsearch input[type="text"]{
  height:54px!important;
  min-height:54px!important;
  border-color:#d9dadd!important;
  border-radius:12px 0 0 12px!important;
  padding-left:17px!important;
  font-size:.94rem!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch button,
body.mp-modern-header .mp-header-tools-row .topsearch input[type="submit"]{
  height:54px!important;
  min-height:54px!important;
  min-width:54px!important;
  border-color:var(--mp-red)!important;
  border-radius:0 12px 12px 0!important;
  background:var(--mp-red)!important;
  color:#fff!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch button:hover,
body.mp-modern-header .mp-header-tools-row .topsearch input[type="submit"]:hover{
  background:var(--mp-red-dark)!important;
  border-color:var(--mp-red-dark)!important;
}

body.mp-modern-header .mp-header-tools-row .topcart .cart{
  width:100%!important;
  max-width:none!important;
}
body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link{
  min-height:54px!important;
  height:54px!important;
  grid-template-columns:40px minmax(0,1fr) auto!important;
  gap:9px!important;
  padding:6px 11px!important;
  border:2px solid var(--mp-red)!important;
  border-radius:12px!important;
  background:#fff8f8!important;
  box-shadow:0 5px 16px rgba(237,28,36,.08)!important;
}
body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link:hover,
body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link:focus{
  background:#fff1f1!important;
  box-shadow:0 7px 18px rgba(237,28,36,.12)!important;
}
body.mp-modern-header .mp-header-tools-row .mp-header-cart-icon{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
  background:var(--mp-red)!important;
  color:#fff!important;
}
body.mp-modern-header .mp-header-tools-row .mp-header-cart-icon .wpmenucart-icon-shopping-cart-0{
  color:#fff!important;
  font-size:1.28rem!important;
}
body.mp-modern-header .mp-header-tools-row .mp-header-cart-copy strong{
  font-size:.92rem!important;
  color:#22262a!important;
}
body.mp-modern-header .mp-header-tools-row .mp-header-cart-copy small{
  font-size:.68rem!important;
  color:#696d72!important;
}
body.mp-modern-header .mp-header-tools-row .mp-header-cart-total{
  color:var(--mp-red)!important;
  font-size:.86rem!important;
  font-weight:900!important;
}

/* Remove the empty band between the utility row and the homepage hero. */
body.mp-modern-home .mp-home-shell{padding-top:2px!important}
body.mp-modern-home .mp-home{margin-top:0!important}
body.mp-modern-home .mp-home-hero-carousel{margin-top:0!important}

@media(max-width:1199px) and (min-width:992px){
  body.mp-modern-header .mp-header-brand-row .navbar .nav-link{padding-left:.55rem!important;padding-right:.55rem!important;font-size:.9rem}
  body.mp-modern-header .mp-kdr-copy strong{font-size:.7rem}
  body.mp-modern-header .mp-kdr-copy small{font-size:.67rem}
}

@media(max-width:991px){
  body.mp-modern-header .mp-header-brand-row{min-height:0}
  body.mp-modern-header .mp-header-brand-row .toplogo{justify-content:center!important;padding-right:15px!important;margin-bottom:2px!important}
  body.mp-modern-header .mp-header-brand-row .toplogo .logo img{height:62px!important}
  body.mp-modern-header .mp-header-brand-row .navbar-parent{display:block;padding-left:15px}
  body.mp-modern-header .mp-header-brand-row nav.navbar{border-top:1px solid #ececef!important;border-bottom:1px solid #ececef!important;padding:.38rem 0!important}
}

@media(max-width:767px){
  body.mp-modern-header .mp-header-tools-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
    margin-left:0!important;
    margin-right:0!important;
    padding-top:8px;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch{
    grid-column:1 / -1;
    grid-row:1;
    padding:0!important;
    margin:0!important;
  }
  body.mp-modern-header .mp-header-tools-row .mp-kdr-col{
    grid-column:1;
    grid-row:2;
    padding:0!important;
  }
  body.mp-modern-header .mp-header-tools-row .topcart{
    grid-column:2;
    grid-row:2;
    padding:0!important;
    margin:0!important;
  }
  body.mp-modern-header .mp-kdr-card,
  body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link{
    min-height:52px!important;
    height:52px!important;
  }
  body.mp-modern-header .mp-kdr-card{grid-template-columns:34px minmax(0,1fr);gap:7px;padding:5px 8px}
  body.mp-modern-header .mp-kdr-icon{width:32px;height:32px;font-size:.9rem}
  body.mp-modern-header .mp-kdr-copy strong{font-size:.64rem;white-space:normal;line-height:1.05}
  body.mp-modern-header .mp-kdr-copy small{font-size:.63rem;margin-top:3px}
  body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link{grid-template-columns:36px minmax(0,1fr)!important;padding:5px 8px!important}
  body.mp-modern-header .mp-header-tools-row .mp-header-cart-total{display:none!important}
  body.mp-modern-header .mp-header-tools-row .mp-header-cart-icon{width:34px!important;height:34px!important}
  body.mp-modern-header .mp-header-tools-row .mp-header-cart-copy strong{font-size:.84rem!important}
  body.mp-modern-header .mp-header-tools-row .mp-header-cart-copy small{font-size:.62rem!important}
  body.mp-modern-home .mp-home-shell{padding-top:0!important}
}


/* ============================================================
   3.0.32 — header polish: KDR image, elegant cart, search fix
   ============================================================ */
body.mp-modern-header .mp-header-brand-row{
  align-items:center;
}
body.mp-modern-header .mp-header-brand-row .toplogo{
  padding-right:14px!important;
}
body.mp-modern-header .mp-header-brand-row .toplogo .logo img{
  height:62px!important;
}
body.mp-modern-header .mp-header-brand-row .navbar-parent{
  padding-left:0;
}
body.mp-modern-header .mp-header-brand-row .navbar .nav-link{
  padding:.64rem .68rem!important;
  font-size:.94rem;
}
body.mp-modern-header .mp-header-tools-row{
  display:flex;
  align-items:stretch;
  margin-top:3px;
  padding-top:10px;
  padding-bottom:8px;
  border-top:1px solid #ececef;
}
body.mp-modern-header .mp-header-tools-row .row{min-width:0}
body.mp-modern-header .mp-header-tools-row .mp-kdr-col,
body.mp-modern-header .mp-header-tools-row .topsearch,
body.mp-modern-header .mp-header-tools-row .topcart{
  display:flex!important;
  align-items:stretch!important;
  min-width:0;
}
body.mp-modern-header .mp-header-tools-row .mp-kdr-col{padding-right:8px}
body.mp-modern-header .mp-header-tools-row .topsearch{padding-left:8px!important;padding-right:8px!important;min-width:0}
body.mp-modern-header .mp-header-tools-row .topcart{padding-left:8px!important}
body.mp-modern-header .mp-kdr-card{
  position:relative;
  display:grid;
  grid-template-columns:4px 58px minmax(0,1fr);
  gap:12px;
  align-items:center;
  width:100%;
  min-height:56px;
  padding:7px 12px 7px 0;
  border:1px solid #dfdfdf;
  border-radius:13px;
  background:#fff;
  box-shadow:0 3px 12px rgba(20,24,31,.035);
  overflow:hidden;
}
body.mp-modern-header .mp-kdr-accent{
  display:block;
  align-self:stretch;
  width:4px;
  background:var(--mp-red);
  border-radius:13px;
}
body.mp-modern-header .mp-kdr-media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:44px;
}
body.mp-modern-header .mp-kdr-media img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
body.mp-modern-header .mp-kdr-icon{display:none!important}
body.mp-modern-header .mp-kdr-copy{line-height:1.08;min-width:0}
body.mp-modern-header .mp-kdr-copy strong{
  color:#202124;
  font-size:.8rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.02em;
  white-space:normal;
}
body.mp-modern-header .mp-kdr-copy small{
  margin-top:4px;
  color:#666b70;
  font-size:.72rem;
  font-weight:650;
}
body.mp-modern-header .mp-header-tools-row .topsearch #search-box,
body.mp-modern-header .mp-header-tools-row .topsearch .is-form-style,
body.mp-modern-header .mp-header-tools-row .topsearch form,
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-form{
  width:100%!important;
  min-width:0!important;
  height:56px!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 56px;
  align-items:stretch!important;
  gap:0!important;
  float:none!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-input,
body.mp-modern-header .mp-header-tools-row .topsearch input[type="search"],
body.mp-modern-header .mp-header-tools-row .topsearch input[type="text"]{
  width:100%!important;
  min-width:0!important;
  height:56px!important;
  min-height:56px!important;
  border:1px solid #d9dadd!important;
  border-right:0!important;
  border-radius:13px 0 0 13px!important;
  padding:0 17px!important;
  font-size:.95rem!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
  float:none!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit,
body.mp-modern-header .mp-header-tools-row .topsearch button,
body.mp-modern-header .mp-header-tools-row .topsearch input[type="submit"]{
  width:56px!important;
  min-width:56px!important;
  height:56px!important;
  min-height:56px!important;
  margin:0!important;
  border:1px solid var(--mp-red)!important;
  border-radius:0 13px 13px 0!important;
  background:var(--mp-red)!important;
  color:#fff!important;
  box-shadow:none!important;
  float:none!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-icon,
body.mp-modern-header .mp-header-tools-row .topsearch .fa-search{color:#fff!important}
body.mp-modern-header .mp-header-tools-row .topcart .cart{
  width:100%!important;
  max-width:none!important;
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link,
body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  min-height:56px!important;
  height:56px!important;
  width:100%!important;
  padding:7px 13px!important;
  border:1px solid #efc5c8!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#fff 0%,#fff9f9 100%)!important;
  box-shadow:0 6px 16px rgba(237,28,36,.08)!important;
  color:#23272b!important;
}
body.mp-modern-header .topcart .cart>a.mp-header-cart-link:hover,
body.mp-modern-header .topcart .cart>a.mp-header-cart-link:focus,
body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link:hover,
body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link:focus{
  border-color:#e8a5aa!important;
  background:linear-gradient(180deg,#fff 0%,#fff3f3 100%)!important;
  box-shadow:0 8px 20px rgba(237,28,36,.11)!important;
}
body.mp-modern-header .mp-header-cart-icon{
  position:relative;
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,var(--mp-red) 0%,var(--mp-red-dark) 100%)!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.mp-modern-header .mp-header-cart-icon .wpmenucart-icon-shopping-cart-0{
  color:#fff!important;
  font-size:1.22rem!important;
}
body.mp-modern-header .mp-header-cart-count{
  top:-6px!important;
  right:-7px!important;
  min-width:19px!important;
  height:19px!important;
  line-height:19px!important;
  border:2px solid #fff!important;
  background:#ff3b44!important;
}
body.mp-modern-header .mp-header-cart-copy{display:flex!important;flex-direction:column;min-width:0}
body.mp-modern-header .mp-header-cart-copy strong{font-size:.94rem!important;color:#202124!important;line-height:1.05}
body.mp-modern-header .mp-header-cart-copy small{font-size:.69rem!important;color:#666b70!important;line-height:1.05}
body.mp-modern-header .mp-header-cart-total{
  color:#202124!important;
  font-size:.9rem!important;
  font-weight:900!important;
  white-space:nowrap;
}
body.mp-modern-home .mp-home-shell{padding-top:0!important}
body.mp-modern-home .mp-home{margin-top:0!important}
body.mp-modern-home .mp-home-hero-carousel{margin-top:0!important}
@media(max-width:1199px){
  body.mp-modern-header .mp-header-brand-row .navbar .nav-link{padding:.62rem .5rem!important;font-size:.89rem}
  body.mp-modern-header .mp-kdr-media{width:52px}
  body.mp-modern-header .mp-kdr-copy strong{font-size:.74rem}
  body.mp-modern-header .mp-kdr-copy small{font-size:.67rem}
  body.mp-modern-header .mp-header-cart-copy strong{font-size:.9rem!important}
  body.mp-modern-header .mp-header-cart-total{font-size:.82rem!important}
}
@media(max-width:991px){
  body.mp-modern-header .mp-header-brand-row{min-height:0;margin-bottom:0}
  body.mp-modern-header .mp-header-brand-row .toplogo{justify-content:center!important;padding-right:15px!important;margin-bottom:3px!important}
  body.mp-modern-header .mp-header-brand-row .toplogo .logo img{height:60px!important}
  body.mp-modern-header .mp-header-brand-row .navbar-parent{display:block;padding-left:15px!important}
  body.mp-modern-header .mp-header-brand-row nav.navbar{border-top:1px solid #ececef!important;border-bottom:1px solid #ececef!important;padding:.38rem 0!important}
}
@media(max-width:767px){
  body.mp-modern-header .mp-header-tools-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
    margin-left:0!important;
    margin-right:0!important;
    padding-top:8px;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch{grid-column:1/-1;grid-row:1;padding:0!important;margin:0!important}
  body.mp-modern-header .mp-header-tools-row .mp-kdr-col{grid-column:1;grid-row:2;padding:0!important}
  body.mp-modern-header .mp-header-tools-row .topcart{grid-column:2;grid-row:2;padding:0!important;margin:0!important}
  body.mp-modern-header .mp-kdr-card,
  body.mp-modern-header .topcart .cart>a.mp-header-cart-link,
  body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link{min-height:54px!important;height:54px!important}
  body.mp-modern-header .mp-kdr-card{grid-template-columns:4px 48px minmax(0,1fr);gap:8px;padding:5px 8px 5px 0}
  body.mp-modern-header .mp-kdr-media{width:48px;height:36px}
  body.mp-modern-header .mp-kdr-copy strong{font-size:.66rem;line-height:1.02}
  body.mp-modern-header .mp-kdr-copy small{font-size:.6rem;margin-top:3px}
  body.mp-modern-header .topcart .cart>a.mp-header-cart-link,
  body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link{grid-template-columns:38px minmax(0,1fr)!important;padding:6px 8px!important}
  body.mp-modern-header .mp-header-cart-total{display:none!important}
  body.mp-modern-header .mp-header-cart-icon{width:36px!important;height:36px!important;border-radius:10px!important}
  body.mp-modern-header .mp-header-cart-copy strong{font-size:.84rem!important}
  body.mp-modern-header .mp-header-cart-copy small{font-size:.61rem!important}
}


/* ============================================================
   3.0.33 — header realignment: left logo/menu + balanced search
   ============================================================ */
@media(min-width:992px){
  body.mp-modern-header .mp-header-brand-row{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.mp-modern-header .mp-header-brand-row > .toplogo{
    flex:0 0 auto!important;
    width:auto!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:24px!important;
    justify-content:flex-start!important;
    text-align:left!important;
  }
  body.mp-modern-header .mp-header-brand-row > .toplogo .logo{
    justify-content:flex-start!important;
  }
  body.mp-modern-header .mp-header-brand-row > .toplogo .logo img{
    height:58px!important;
    width:auto!important;
    max-width:220px!important;
  }
  body.mp-modern-header .mp-header-brand-row > .navbar-parent{
    flex:1 1 auto!important;
    width:auto!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }
  body.mp-modern-header .mp-header-brand-row nav.navbar{
    justify-content:flex-start!important;
  }
  body.mp-modern-header .mp-header-brand-row .navbar-collapse{
    justify-content:flex-start!important;
  }
  body.mp-modern-header .mp-header-brand-row .navbar-nav{
    margin-left:0!important;
    margin-right:0!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
  body.mp-modern-header .mp-header-brand-row .navbar .nav-link{
    padding:.62rem .72rem!important;
    font-size:.95rem!important;
    font-weight:700!important;
  }

  body.mp-modern-header .mp-header-tools-row{
    display:flex!important;
    align-items:stretch!important;
    margin-left:0!important;
    margin-right:0!important;
    column-gap:0!important;
  }
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex:0 0 280px!important;
    max-width:280px!important;
    width:280px!important;
    padding-left:0!important;
    padding-right:10px!important;
  }
  body.mp-modern-header .mp-header-tools-row > .topsearch{
    flex:1 1 auto!important;
    max-width:none!important;
    width:auto!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.mp-modern-header .mp-header-tools-row > .topcart{
    flex:0 0 330px!important;
    max-width:330px!important;
    width:330px!important;
    padding-left:10px!important;
    padding-right:0!important;
  }

  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 62px minmax(0,1fr)!important;
    min-height:58px!important;
    height:58px!important;
    padding:7px 12px 7px 0!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:62px!important;
    height:46px!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{
    font-size:.78rem!important;
    line-height:1.02!important;
  }
  body.mp-modern-header .mp-kdr-copy small{
    font-size:.72rem!important;
    line-height:1.05!important;
  }

  body.mp-modern-header .mp-header-tools-row .topsearch #search-box,
  body.mp-modern-header .mp-header-tools-row .topsearch .is-form-style,
  body.mp-modern-header .mp-header-tools-row .topsearch form,
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-form{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:58px!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-form{
    display:flex!important;
    align-items:stretch!important;
    gap:0!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-input,
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="search"],
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="text"]{
    flex:1 1 auto!important;
    width:1%!important;
    min-width:0!important;
    height:58px!important;
    border:1px solid #d8dade!important;
    border-right:0!important;
    border-radius:14px 0 0 14px!important;
    padding:0 18px!important;
    font-size:.98rem!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit,
  body.mp-modern-header .mp-header-tools-row .topsearch button,
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="submit"]{
    flex:0 0 58px!important;
    width:58px!important;
    min-width:58px!important;
    height:58px!important;
    border:1px solid var(--mp-red)!important;
    border-left:0!important;
    border-radius:0 14px 14px 0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-icon{
    width:auto!important;
    height:auto!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  body.mp-modern-header .topcart .cart>a.mp-header-cart-link,
  body.mp-modern-header .mp-header-tools-row .topcart .cart>a.mp-header-cart-link{
    min-height:58px!important;
    height:58px!important;
    padding:7px 14px!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    gap:12px!important;
    border-radius:14px!important;
  }
  body.mp-modern-header .mp-header-cart-icon{
    width:44px!important;
    height:44px!important;
  }
  body.mp-modern-header .mp-header-cart-copy strong{font-size:.98rem!important}
  body.mp-modern-header .mp-header-cart-copy small{font-size:.71rem!important}
  body.mp-modern-header .mp-header-cart-total{font-size:.94rem!important}
}

@media(min-width:992px) and (max-width:1199px){
  body.mp-modern-header .mp-header-brand-row > .toplogo .logo img{max-width:190px!important;height:54px!important}
  body.mp-modern-header .mp-header-brand-row .navbar .nav-link{padding:.58rem .5rem!important;font-size:.88rem!important}
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{flex-basis:250px!important;max-width:250px!important;width:250px!important}
  body.mp-modern-header .mp-header-tools-row > .topcart{flex-basis:300px!important;max-width:300px!important;width:300px!important}
}


/* ============================================================
   3.0.34 — KDR fit + header search repair
   ============================================================ */
@media(min-width:992px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex:0 0 260px!important;
    max-width:260px!important;
    width:260px!important;
  }
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 44px minmax(0,1fr)!important;
    min-height:58px!important;
    height:58px!important;
    gap:8px!important;
    padding:6px 10px 6px 0!important;
    overflow:hidden!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:44px!important;
    height:34px!important;
    align-self:center!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:44px!important;
    max-height:34px!important;
    width:auto!important;
    height:auto!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{
    font-size:.72rem!important;
    line-height:1.0!important;
    margin:0!important;
  }
  body.mp-modern-header .mp-kdr-copy small{
    font-size:.62rem!important;
    line-height:1.02!important;
    margin-top:2px!important;
  }

  body.mp-modern-header .mp-header-tools-row > .topsearch{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch #search-box,
  body.mp-modern-header .mp-header-tools-row .topsearch .is-form-style,
  body.mp-modern-header .mp-header-tools-row .topsearch form,
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-form{
    display:flex!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:58px!important;
    overflow:visible!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-form label,
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-form .is-search-input-wrap,
  body.mp-modern-header .mp-header-tools-row .topsearch .is-form-style label{
    display:block!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-input,
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="search"],
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="text"]{
    display:block!important;
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:58px!important;
    min-height:58px!important;
    margin:0!important;
    border:1px solid #d8dade!important;
    border-right:0!important;
    border-radius:14px 0 0 14px!important;
    padding:0 18px!important;
    font-size:.98rem!important;
    background:#fff!important;
    box-sizing:border-box!important;
    box-shadow:none!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit,
  body.mp-modern-header .mp-header-tools-row .topsearch button,
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="submit"]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 58px!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid var(--mp-red)!important;
    border-left:0!important;
    border-radius:0 14px 14px 0!important;
    background:var(--mp-red)!important;
    color:#fff!important;
    box-sizing:border-box!important;
    box-shadow:none!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch .is-search-icon{
    margin:0!important;
    width:auto!important;
    height:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

@media(min-width:992px) and (max-width:1199px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex-basis:235px!important;
    max-width:235px!important;
    width:235px!important;
  }
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 40px minmax(0,1fr)!important;
    gap:7px!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:40px!important;
    height:30px!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:40px!important;
    max-height:30px!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{font-size:.67rem!important}
  body.mp-modern-header .mp-kdr-copy small{font-size:.58rem!important}
}

@media(max-width:767px){
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 40px minmax(0,1fr)!important;
    gap:7px!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:40px!important;
    height:28px!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:40px!important;
    max-height:28px!important;
  }
}


/* ============================================================
   3.0.35 — KDR fully visible + clickable
   ============================================================ */
body.mp-modern-header .mp-kdr-card{
  color:#202124!important;
  text-decoration:none!important;
}
body.mp-modern-header a.mp-kdr-card:hover,
body.mp-modern-header a.mp-kdr-card:focus{
  text-decoration:none!important;
  border-color:#e1e2e5!important;
  box-shadow:0 6px 16px rgba(20,24,31,.06)!important;
}

@media(min-width:992px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex:0 0 285px!important;
    max-width:285px!important;
    width:285px!important;
  }
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 36px minmax(0,1fr)!important;
    min-height:58px!important;
    height:auto!important;
    gap:8px!important;
    padding:6px 10px 6px 0!important;
    overflow:hidden!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:36px!important;
    height:28px!important;
    align-self:center!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:36px!important;
    max-height:28px!important;
    width:auto!important;
    height:auto!important;
  }
  body.mp-modern-header .mp-kdr-copy{
    justify-content:center!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{
    display:block!important;
    font-size:.68rem!important;
    line-height:1.02!important;
    margin:0!important;
    letter-spacing:.01em!important;
  }
  body.mp-modern-header .mp-kdr-copy small{
    display:block!important;
    font-size:.63rem!important;
    line-height:1.02!important;
    margin-top:2px!important;
    white-space:nowrap!important;
  }
}

@media(min-width:992px) and (max-width:1199px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex-basis:255px!important;
    max-width:255px!important;
    width:255px!important;
  }
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 32px minmax(0,1fr)!important;
    gap:7px!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:32px!important;
    height:24px!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:32px!important;
    max-height:24px!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{font-size:.63rem!important}
  body.mp-modern-header .mp-kdr-copy small{font-size:.58rem!important}
}

@media(max-width:767px){
  body.mp-modern-header .mp-kdr-card{
    height:auto!important;
    min-height:54px!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{font-size:.64rem!important}
  body.mp-modern-header .mp-kdr-copy small{font-size:.58rem!important;white-space:nowrap!important}
}


/* ============================================================
   3.0.36 — aesthetic KDR header card + remove cramped feel
   ============================================================ */
body.mp-modern-header .mp-kdr-card{
  color:#202124!important;
  text-decoration:none!important;
  background:linear-gradient(180deg,#fff 0%,#fffdfd 100%)!important;
}
body.mp-modern-header .mp-kdr-card:hover,
body.mp-modern-header .mp-kdr-card:focus{
  text-decoration:none!important;
}
@media(min-width:992px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex:0 0 320px!important;
    max-width:320px!important;
    width:320px!important;
    padding-right:12px!important;
  }
  body.mp-modern-header .mp-header-tools-row > .topsearch{
    padding-left:8px!important;
    padding-right:12px!important;
  }
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 54px minmax(0,1fr)!important;
    gap:12px!important;
    min-height:60px!important;
    height:60px!important;
    padding:7px 14px 7px 0!important;
    border:1px solid #ececef!important;
    border-radius:14px!important;
    box-shadow:0 4px 12px rgba(20,24,31,.035)!important;
  }
  body.mp-modern-header .mp-kdr-accent{
    border-radius:14px!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:54px!important;
    height:40px!important;
    align-self:center!important;
    justify-content:flex-start!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:54px!important;
    max-height:40px!important;
    width:auto!important;
    height:auto!important;
    display:block!important;
  }
  body.mp-modern-header .mp-kdr-copy{
    justify-content:center!important;
    align-self:center!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{
    display:block!important;
    margin:0!important;
    font-size:.93rem!important;
    line-height:1.08!important;
    font-weight:800!important;
    text-transform:none!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
    color:#202124!important;
  }
  body.mp-modern-header .mp-kdr-copy small{
    display:block!important;
    margin-top:4px!important;
    font-size:.76rem!important;
    line-height:1.08!important;
    font-weight:600!important;
    color:#6b7075!important;
    white-space:nowrap!important;
  }
  body.mp-modern-header .mp-kdr-copy small b{color:var(--mp-red)!important}
}
@media(min-width:992px) and (max-width:1199px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex-basis:285px!important;
    max-width:285px!important;
    width:285px!important;
  }
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 46px minmax(0,1fr)!important;
    gap:10px!important;
    padding-right:12px!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:46px!important;
    height:34px!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:46px!important;
    max-height:34px!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{font-size:.82rem!important}
  body.mp-modern-header .mp-kdr-copy small{font-size:.68rem!important}
}
@media(max-width:767px){
  body.mp-modern-header .mp-kdr-card{
    grid-template-columns:4px 42px minmax(0,1fr)!important;
    gap:8px!important;
    padding-right:8px!important;
  }
  body.mp-modern-header .mp-kdr-media{
    width:42px!important;
    height:30px!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    max-width:42px!important;
    max-height:30px!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{
    font-size:.66rem!important;
    white-space:normal!important;
    text-transform:none!important;
  }
  body.mp-modern-header .mp-kdr-copy small{
    font-size:.59rem!important;
    white-space:normal!important;
  }
}


/* ============================================================
   3.0.38 — KDR redesign / archive KDR removal / white search icon
   ============================================================ */
body.mp-modern-header .mp-kdr-card,
body.mp-modern-header a.mp-kdr-card{
  text-decoration:none!important;
  color:#202124!important;
  background:#fff!important;
}
body.mp-modern-header .mp-kdr-card:hover,
body.mp-modern-header .mp-kdr-card:focus{
  text-decoration:none!important;
}
body.mp-modern-header .mp-kdr-accent{
  width:4px!important;
  align-self:stretch!important;
  background:var(--mp-red)!important;
  border-radius:14px!important;
}
@media(min-width:992px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex:0 0 336px!important;
    max-width:336px!important;
    width:336px!important;
    padding-right:12px!important;
  }
  body.mp-modern-header .mp-header-tools-row > .topsearch{
    padding-left:8px!important;
    padding-right:12px!important;
  }
  body.mp-modern-header .mp-kdr-card,
  body.mp-modern-header a.mp-kdr-card{
    display:grid!important;
    grid-template-columns:4px minmax(0,1fr) 54px!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    min-height:62px!important;
    height:62px!important;
    padding:7px 12px 7px 0!important;
    border:1px solid #ececef!important;
    border-radius:14px!important;
    box-shadow:0 4px 12px rgba(20,24,31,.035)!important;
    overflow:hidden!important;
  }
  body.mp-modern-header .mp-kdr-copy{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    min-width:0!important;
    order:2!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{
    display:block!important;
    margin:0!important;
    font-size:.94rem!important;
    line-height:1.08!important;
    font-weight:800!important;
    white-space:nowrap!important;
    text-transform:none!important;
    letter-spacing:0!important;
    color:#202124!important;
  }
  body.mp-modern-header .mp-kdr-copy small{
    display:block!important;
    margin-top:4px!important;
    font-size:.76rem!important;
    line-height:1.08!important;
    font-weight:600!important;
    white-space:nowrap!important;
    color:#6b7075!important;
  }
  body.mp-modern-header .mp-kdr-copy small b{color:var(--mp-red)!important}
  body.mp-modern-header .mp-kdr-media{
    order:3!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:54px!important;
    height:40px!important;
    min-width:54px!important;
    overflow:hidden!important;
  }
  body.mp-modern-header .mp-kdr-media img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:54px!important;
    max-height:40px!important;
  }
}
@media(min-width:992px) and (max-width:1199px){
  body.mp-modern-header .mp-header-tools-row > .mp-kdr-col{
    flex-basis:300px!important;
    max-width:300px!important;
    width:300px!important;
  }
  body.mp-modern-header .mp-kdr-card,
  body.mp-modern-header a.mp-kdr-card{grid-template-columns:4px minmax(0,1fr) 44px!important;gap:10px!important}
  body.mp-modern-header .mp-kdr-copy strong{font-size:.84rem!important}
  body.mp-modern-header .mp-kdr-copy small{font-size:.68rem!important}
  body.mp-modern-header .mp-kdr-media{width:44px!important;height:34px!important;min-width:44px!important}
  body.mp-modern-header .mp-kdr-media img{max-width:44px!important;max-height:34px!important}
}
@media(max-width:767px){
  body.mp-modern-header .mp-kdr-card,
  body.mp-modern-header a.mp-kdr-card{
    display:grid!important;
    grid-template-columns:4px minmax(0,1fr) 34px!important;
    gap:8px!important;
    min-height:54px!important;
    height:auto!important;
    padding:6px 8px 6px 0!important;
  }
  body.mp-modern-header .mp-kdr-copy strong{font-size:.66rem!important;white-space:normal!important}
  body.mp-modern-header .mp-kdr-copy small{font-size:.58rem!important;white-space:normal!important}
  body.mp-modern-header .mp-kdr-media{width:34px!important;height:26px!important;min-width:34px!important}
  body.mp-modern-header .mp-kdr-media img{max-width:34px!important;max-height:26px!important}
}

/* hard-hide archive description/KDR block on product category archives when modern header is enabled */
body.mp-modern-header.tax-product_cat .term-description,
body.mp-modern-header.tax-product_cat .woocommerce-products-header__description,
body.mp-modern-header.post-type-archive-product .woocommerce-products-header__description{
  display:none!important;
}

/* Search button clean icon */
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit,
body.mp-modern-header .mp-header-tools-row .topsearch button,
body.mp-modern-header .mp-header-tools-row .topsearch input[type="submit"]{
  background:var(--mp-red)!important;
  color:#fff!important;
  background-image:none!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit > *,
body.mp-modern-header .mp-header-tools-row .topsearch button > *{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  color:#fff!important;
  fill:#fff!important;
  stroke:#fff!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit .is-search-icon,
body.mp-modern-header .mp-header-tools-row .topsearch button .is-search-icon,
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit i,
body.mp-modern-header .mp-header-tools-row .topsearch button i,
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit svg,
body.mp-modern-header .mp-header-tools-row .topsearch button svg{
  background:transparent!important;
  color:#fff!important;
  fill:#fff!important;
  stroke:#fff!important;
}
body.mp-modern-header .mp-header-tools-row .topsearch .is-search-submit svg path,
body.mp-modern-header .mp-header-tools-row .topsearch button svg path{
  fill:#fff!important;
  stroke:#fff!important;
}


/* ============================================================
   3.0.40 — pickup point list: neutral rows, red only when selected
   ============================================================ */
body.mp-modern-checkout .mp-pickup-modal__option,
.mp-pickup-modal__option{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:11px 12px!important;
  border:0!important;
  border-bottom:1px solid #eceef1!important;
  border-radius:0!important;
  background:#fff!important;
  background-image:none!important;
  color:#2b2f33!important;
  font-size:.84rem!important;
  font-weight:600!important;
  line-height:1.35!important;
  text-align:left!important;
  text-transform:none!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.mp-modern-checkout .mp-pickup-modal__option:hover,
body.mp-modern-checkout .mp-pickup-modal__option:focus,
.mp-pickup-modal__option:hover,
.mp-pickup-modal__option:focus{
  outline:0!important;
  background:#f7f8f9!important;
  color:#202124!important;
  border-color:#e6e8eb!important;
  box-shadow:none!important;
}
body.mp-modern-checkout .mp-pickup-modal__option.is-selected,
.mp-pickup-modal__option.is-selected{
  background:#fff1f1!important;
  color:#c51219!important;
  border-bottom-color:#f1d6d8!important;
  font-weight:800!important;
}


/* 3.0.41 — ukryj akcje telefoniczne pod jednym rozwijanym CTA */











/* ============================================================
   3.0.43 — account dropdown, global login/register modal, sticky bar
   ============================================================ */
body.mp-modern-header .mp-account-menu{position:relative;display:inline-block;text-align:left;z-index:1050}
body.mp-modern-header .mp-account-menu-toggle{
  appearance:none;border:0;background:transparent;padding:0;display:inline-flex;align-items:center;gap:.42rem;
  font:inherit;font-weight:700;color:var(--mp-ink);cursor:pointer
}
body.mp-modern-header .mp-account-menu-toggle:hover{color:var(--mp-red)}
body.mp-modern-header .mp-account-chevron{font-size:.62rem;transition:transform .16s ease}
body.mp-modern-header .mp-account-menu.is-open .mp-account-chevron{transform:rotate(180deg)}
body.mp-modern-header .mp-account-dropdown{
  display:none;position:absolute;right:0;top:calc(100% + 9px);z-index:1060;min-width:205px;padding:7px;
  border:1px solid #e3e4e6;border-radius:12px;background:#fff;box-shadow:0 14px 38px rgba(20,24,31,.14)
}
body.mp-modern-header .mp-account-menu.is-open .mp-account-dropdown{display:block}
body.mp-modern-header .mp-account-dropdown:before{
  content:"";position:absolute;right:22px;top:-6px;width:11px;height:11px;background:#fff;border-left:1px solid #e3e4e6;border-top:1px solid #e3e4e6;transform:rotate(45deg)
}
body.mp-modern-header .mp-account-dropdown a{
  position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:8px;color:#30343a!important;font-size:.88rem;font-weight:700;text-decoration:none!important
}
body.mp-modern-header .mp-account-dropdown a i{width:17px;text-align:center;color:#7a7f85}
body.mp-modern-header .mp-account-dropdown a:hover{background:#f6f6f7;color:var(--mp-red)!important}
body.mp-modern-header .mp-account-dropdown .mp-account-logout{margin-top:4px;border-top:1px solid #eee;border-radius:0 0 8px 8px;color:#6d7278!important}

.mp-global-account-modal{z-index:2147482500!important}
.mp-global-account-modal+.modal-backdrop,.modal-backdrop{z-index:2147482400}
.mp-global-account-modal .modal-dialog{max-width:520px}
.mp-global-account-modal .modal-content{border:0;border-radius:16px;overflow:hidden;box-shadow:0 24px 70px rgba(10,14,20,.22)}
.mp-global-account-modal .modal-header{padding:20px 22px 15px;border-bottom:1px solid #ececef;align-items:flex-start}
.mp-global-account-modal .modal-title{margin:0;font-size:1.22rem;font-weight:850;color:#202124}
.mp-global-account-modal .mp-account-modal-subtitle{margin:5px 0 0;color:#70747a;font-size:.86rem;line-height:1.35}
.mp-global-account-modal .mp-account-modal-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f7f7f8;border-bottom:1px solid #e8e8ea}
.mp-global-account-modal .mp-account-modal-tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:12px 10px;font-weight:800;color:#666b70;cursor:pointer}
.mp-global-account-modal .mp-account-modal-tab.is-active{background:#fff;border-bottom-color:var(--mp-red);color:#202124}
.mp-global-account-modal .modal-body{padding:21px 22px 23px}
.mp-global-account-modal .mp-account-modal-pane{display:none}
.mp-global-account-modal .mp-account-modal-pane.is-active{display:block}
.mp-global-account-modal .form-row{margin:0 0 14px!important}
.mp-global-account-modal label{font-size:.84rem;font-weight:750;color:#42464b}
.mp-global-account-modal input.input-text{width:100%;min-height:45px;border:1px solid #dfe1e5;border-radius:9px;padding:9px 11px;box-shadow:none}
.mp-global-account-modal input.input-text:focus{border-color:#bbbfc5;outline:0;box-shadow:0 0 0 3px rgba(32,33,36,.05)}
.mp-global-account-modal .mp-account-modal-login-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:3px 0 16px;font-size:.8rem}
.mp-global-account-modal .mp-account-modal-login-meta label{margin:0;font-weight:600}
.mp-global-account-modal .mp-account-modal-login-meta a{color:var(--mp-red);font-weight:750}
.mp-global-account-modal .mp-account-modal-submit{width:100%;min-height:46px;border:0!important;border-radius:9px!important;background:var(--mp-red)!important;color:#fff!important;font-size:.94rem!important;font-weight:850!important}
.mp-global-account-modal .mp-account-modal-submit:hover{background:var(--mp-red-dark)!important}
.mp-global-account-modal .mp-account-register-intro{margin:0 0 16px;padding:12px 14px;border:1px solid #f0dddd;border-radius:10px;background:#fffafa}
.mp-global-account-modal .mp-account-register-intro strong,.mp-global-account-modal .mp-account-register-intro span{display:block}
.mp-global-account-modal .mp-account-register-intro strong{font-size:.9rem;color:#2b2f34}
.mp-global-account-modal .mp-account-register-intro span{margin-top:3px;color:#6b7075;font-size:.78rem;line-height:1.35}
.mp-global-account-modal .mp-account-register-note{font-size:.8rem;color:#666b70}

/* Koszyk: tworzenie konta nad logowaniem i bez przejścia na stronę konta. */






/* Sticky menu ma być pełnym paskiem nad stroną, nie samą „pływającą” listą. */
nav.navbar.fixed-top{
  left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;
  border:0!important;border-bottom:1px solid #e7e8ea!important;background:#fff!important;
  box-shadow:0 5px 20px rgba(20,24,31,.10)!important;z-index:1038!important
}
@media(min-width:1200px){
  nav.navbar.fixed-top{padding:.34rem calc((100vw - 1140px)/2 + 15px)!important}
}
@media(min-width:992px) and (max-width:1199px){
  nav.navbar.fixed-top{padding:.34rem calc((100vw - 960px)/2 + 15px)!important}
}
@media(min-width:992px){
  nav.navbar.fixed-top{min-height:58px!important;align-items:center!important}
  nav.navbar.fixed-top .navbar-brand.hide{display:flex!important;align-items:center!important;margin:0 20px 0 0!important;padding:0!important}
  nav.navbar.fixed-top .navbar-brand.hide img{height:38px!important;width:auto!important;max-width:145px!important}
  nav.navbar.fixed-top .navbar-collapse{display:flex!important;flex:1 1 auto!important;align-items:center!important}
  nav.navbar.fixed-top .navbar-nav{align-items:center!important;margin:0!important}
  nav.navbar.fixed-top .navbar .nav-link,nav.navbar.fixed-top .nav-link{padding:.55rem .66rem!important;font-size:.88rem!important}
  nav.navbar.fixed-top .d-flex.order-lg-1{margin-left:auto!important;padding-right:0!important}
  nav.navbar.fixed-top .d-flex.order-lg-1 .hide{display:flex!important}
}
@media(max-width:991px){
  nav.navbar.fixed-top{padding:.38rem 15px!important}
}


/* ============================================================
   3.0.44 — stabilne konto, koszyk i pełny nieprzezroczysty sticky bar
   ============================================================ */






.mp-global-account-modal .mp-account-auth-message{margin:0 0 14px;padding:10px 12px;border-radius:9px;font-size:.82rem;line-height:1.4}
.mp-global-account-modal .mp-account-auth-message.is-error{background:#fff2f2;border:1px solid #f1c0c2;color:#a81920}
.mp-global-account-modal .mp-account-auth-message.is-success{background:#f1fbf4;border:1px solid #cde8d5;color:#237044}

body.mp-modern-header .mp-account-menu--sticky .mp-account-menu-toggle--icon{
  display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;padding:0!important;border-radius:9px!important;color:#333!important
}
body.mp-modern-header .mp-account-menu--sticky .mp-account-menu-toggle--icon:hover{background:#f4f4f5!important;color:var(--mp-red)!important}
body.mp-modern-header .mp-account-menu--sticky .mp-account-dropdown{top:calc(100% + 11px)!important;right:-8px!important}

.mp-sticky-nav-surface{
  display:none;position:fixed;left:0;right:0;top:0;height:58px;background:#fff!important;opacity:1!important;
  border-bottom:1px solid #e5e7ea;box-shadow:0 5px 20px rgba(20,24,31,.10);z-index:1037;pointer-events:none
}
.mp-sticky-nav-surface.is-active{display:block}
.admin-bar .mp-sticky-nav-surface{top:32px}
nav.navbar.fixed-top{background:#fff!important;background-color:#fff!important;opacity:1!important;box-shadow:none!important;isolation:isolate!important}
body.mp-sticky-nav-active nav.navbar.fixed-top:before{
  content:"";position:absolute;inset:0;background:#fff!important;z-index:-1;pointer-events:none
}
@media screen and (max-width:782px){.admin-bar .mp-sticky-nav-surface{top:46px}}
/* 3.0.44 specificity fix: wcześniejsza reguła nowego headera ustawiała navbar na transparent!important. */
body.mp-modern-header.mp-sticky-nav-active .mp-header-brand-row nav.navbar.fixed-top,
body.mp-modern-header .mp-header-brand-row nav.navbar.fixed-top{
  background:#fff!important;
  background-color:#fff!important;
  opacity:1!important;
}


/* ============================================================
   3.0.45 — auth/CAPTCHA + explicit checkout account state
   ============================================================ */
.mp-global-account-modal .cf-turnstile,
.mp-global-account-modal [id^="cf-turnstile"],
.mp-checkout-modal .cf-turnstile,
.mp-checkout-modal [id^="cf-turnstile"]{
  margin:10px 0 14px!important;
  max-width:100%!important;
}







/* ============================================================
   3.0.46 — cart hierarchy: shipping + checkout first, loyalty compact
   ============================================================ */






/* Logged-in loyalty controls no longer block shipping and checkout. */












/* Guest promo stays visible, but is deliberately much shorter. */










/* Keep the purchase summary usable within one viewport on desktop. */
@media(min-width:992px){
  
  
}


/* ============================================================
   3.0.49 — Loyalty is a primary cart action, not hidden below checkout
   ============================================================ */
























/* No hidden inner-scroll on the full cart summary. Normal page scrolling is clearer. */
@media(min-width:992px){
  
}
@media(max-width:767px){
  
  
}


/* 3.0.61 — CallPage: zachowaj oryginalny wygląd kafla; cały kafel klikalny */
body.mp-modern-home .mp-home-benefit-callback{position:relative!important}
body.mp-modern-home .mp-home-benefit-callback>.mp-callpage-tile-link{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:5!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:transparent!important;
  font-size:0!important;
}
body.mp-modern-home .mp-home-benefit-callback>span,
body.mp-modern-home .mp-home-benefit-callback>strong,
body.mp-modern-home .mp-home-benefit-callback>small{position:relative;z-index:1}


/* 3.0.62 — ujednolicenie wielkości okładek bez kadrowania.
   Wszystkie książki dostają ten sam "stage"; typowe pionowe okładki mają
   tę samą wysokość, zachowując oryginalne proporcje. */
body.mp-modern-home .mp-home-product-card__image{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  aspect-ratio:4/5!important;
  padding:12px!important;
  margin:14px 14px 0!important;
  overflow:hidden!important;
  background:#f8f8f9!important;
  border-radius:10px!important;
}
body.mp-modern-home .mp-home-product-card__image img.mp-product-image{
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto!important;
  background:transparent!important;
}

/* Na węższych ekranach zostawiamy mniejszy margines wewnętrzny,
   ale tę samą zasadę wymiarowania. */
@media (max-width: 767px){
  body.mp-modern-home .mp-home-product-card__image{
    padding:8px!important;
    margin:9px 9px 0!important;
  }
}

/* 3.0.72 — dedykowana superpromocja przedsprzedaży z Loyalty. */
body.mp-modern-home .mp-home-preorder-feature{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.72fr);
  gap:34px;
  align-items:center;
  margin:0 0 20px;
  padding:34px 42px;
  overflow:hidden;
  border:1px solid #efb8bc;
  border-radius:20px;
  background:linear-gradient(135deg,#fff 0%,#fff4f5 58%,#fff 100%);
  box-shadow:0 14px 36px rgba(110,16,24,.10);
}
body.mp-modern-home .mp-home-preorder-feature:before{
  content:"";
  position:absolute;
  width:290px;
  height:290px;
  right:-115px;
  top:-120px;
  border-radius:50%;
  background:rgba(181,18,27,.07);
  pointer-events:none;
}
body.mp-modern-home .mp-home-preorder-feature__copy{position:relative;z-index:2;min-width:0}
body.mp-modern-home .mp-home-preorder-kicker{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  margin:0 0 12px;
  border-radius:999px;
  background:#b5121b;
  color:#fff;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;
}
body.mp-modern-home .mp-home-preorder-feature h2{
  max-width:760px;
  margin:0 0 12px;
  color:var(--mp-ink);
  font-size:clamp(1.9rem,3.3vw,3rem);
  line-height:1.07;
}
body.mp-modern-home .mp-home-preorder-rule{
  max-width:760px;
  margin:0 0 12px;
  padding:12px 14px;
  border-left:4px solid #b5121b;
  border-radius:8px;
  background:#fff;
  color:#333941;
  font-size:1rem;
  line-height:1.5;
}
body.mp-modern-home .mp-home-preorder-rule strong{color:#a30f17}
body.mp-modern-home .mp-home-preorder-desc{max-width:720px;color:#5a5f65;font-size:.96rem;line-height:1.52}
body.mp-modern-home .mp-home-preorder-desc p{margin:0 0 8px}
body.mp-modern-home .mp-home-preorder-shipping{margin:8px 0 0;color:#555d66;font-size:.88rem}
body.mp-modern-home .mp-home-preorder-price{margin-top:13px;color:var(--mp-red);font-size:1.65rem;font-weight:850}
body.mp-modern-home .mp-home-preorder-price del{margin-right:7px;color:#92979d;font-size:.95rem;font-weight:500}
body.mp-modern-home .mp-home-preorder-points{margin:6px 0 0}
body.mp-modern-home .mp-home-preorder-points .mp-loyalty-product-points{display:block!important;margin:0!important;font-size:.92rem!important}
body.mp-modern-home .mp-home-preorder-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}
body.mp-modern-home .mp-home-preorder-feature__visual{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:330px;
  padding:8px;
}
body.mp-modern-home .mp-home-preorder-feature__visual img{
  display:block;
  width:auto;
  max-width:100%;
  max-height:345px;
  object-fit:contain;
  filter:drop-shadow(0 18px 24px rgba(20,24,31,.16));
}
body.mp-modern-home .mp-home-preorder-cover-badge{
  position:absolute;
  z-index:3;
  top:4px;
  right:4px;
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border-radius:999px;
  background:#b5121b;
  color:#fff;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 5px 15px rgba(85,10,15,.20);
}
body.mp-modern-home .mp-home-preorder-more{margin:0 0 22px;padding:18px 0 0}
body.mp-modern-home .mp-home-badge--preorder{
  max-width:calc(100% - 20px);
  background:#b5121b!important;
  color:#fff!important;
  font-size:.66rem!important;
  line-height:1.15!important;
  white-space:normal!important;
}
@media (max-width:991px){
  body.mp-modern-home .mp-home-preorder-feature{grid-template-columns:minmax(0,1.05fr) minmax(230px,.62fr);padding:28px 30px}
  body.mp-modern-home .mp-home-preorder-feature__visual{min-height:280px}
  body.mp-modern-home .mp-home-preorder-feature__visual img{max-height:295px}
}
@media (max-width:700px){
  body.mp-modern-home .mp-home-preorder-feature{display:flex;flex-direction:column-reverse;gap:14px;padding:20px 17px;border-radius:16px}
  body.mp-modern-home .mp-home-preorder-feature__visual{width:100%;min-height:220px;max-height:255px}
  body.mp-modern-home .mp-home-preorder-feature__visual img{max-height:235px}
  body.mp-modern-home .mp-home-preorder-cover-badge{top:0;right:0;padding:6px 8px;font-size:.68rem}
  body.mp-modern-home .mp-home-preorder-feature h2{font-size:1.65rem}
  body.mp-modern-home .mp-home-preorder-rule{padding:10px 11px;font-size:.9rem}
  body.mp-modern-home .mp-home-preorder-actions{align-items:stretch;flex-direction:column;gap:10px}
  body.mp-modern-home .mp-home-preorder-actions .button{width:100%;text-align:center}
}


/* 3.0.74 — licznik końca bonusu w hero przedsprzedaży. Sam mechanizm odliczania
 * należy do Loyalty, aby data kampanii miała jedno źródło prawdy. */
body.mp-modern-home .mp-home-preorder-countdown{
    margin:12px 0 0;
    box-shadow:0 6px 18px rgba(82,15,19,.06);
}
body.mp-modern-home .mp-home-preorder-countdown .mp-loyalty-preorder-countdown__label{font-size:.78rem}
body.mp-modern-home .mp-home-preorder-countdown .mp-loyalty-preorder-countdown__value{font-size:.95rem}

/* 3.0.75 — czytelne linki do katalogu objętego mnożnikiem preorderu. */
.mp-home-preorder-rule .mp-loyalty-preorder-catalog-link{color:inherit!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:2px;font-weight:800}
.mp-home-preorder-rule .mp-loyalty-preorder-catalog-link:hover{opacity:.78}


/* ---------- Product card ratings ---------- */
.mp-card-rating{display:flex;align-items:center;gap:6px;min-height:18px;margin:7px 0 3px;font-size:.82rem;line-height:1;color:#6f7378;white-space:nowrap}
.mp-card-rating__stars{position:relative;display:inline-block;flex:0 0 auto;font-size:.88rem;line-height:1;letter-spacing:.6px}
.mp-card-rating__stars-base{display:block;color:#d7d9dd}
.mp-card-rating__stars-fill{position:absolute;left:0;top:0;display:block;overflow:hidden;color:#f2a400;white-space:nowrap}
.mp-card-rating__value{font-size:.83rem;line-height:1;color:#34373b;font-weight:850}
.mp-card-rating__count{font-size:.79rem;line-height:1;color:#777c82}
body.mp-modern-catalog.woocommerce ul.products li.product .mp-card-rating{margin:.55rem 0 0}
body.mp-modern-home .mp-home-product-card .mp-card-rating{margin:0 0 8px}
@media(max-width:575px){.mp-card-rating{gap:4px;font-size:.76rem}.mp-card-rating__stars{font-size:.8rem}.mp-card-rating__value{font-size:.78rem}.mp-card-rating__count{font-size:.73rem}}

/* 3.0.96 — clickable product-card ratings */
.mp-card-rating{text-decoration:none!important;width:max-content;max-width:100%;cursor:pointer}
.mp-card-rating:hover .mp-card-rating__count,.mp-card-rating:hover .mp-card-rating__value{color:#c8161d}
.mp-card-rating:focus-visible{outline:2px solid rgba(200,22,29,.3);outline-offset:3px;border-radius:4px}

/* ============================================================
   3.0.103 — MOBILE-FIRST STORE SHELL
   Cel: prawdziwie telefoniczny układ bez „kwadratów” sticky nav,
   mniej pustej przestrzeni, zachowany Loyalty drawer i CallPage.
   Desktop pozostaje bez zmian.
   ============================================================ */
.mp-mobile-store-header{display:none}

@media (max-width:767px){
  /* Mobile header replaces the legacy desktop/sticky navbar. */
  body.mp-modern-header .container_top{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 12px!important;
  }
  body.mp-modern-header .topbar{display:none!important}
  body.mp-modern-header .mp-header-brand-row{display:none!important}

  .mp-mobile-store-header{
    display:block!important;
    position:sticky;
    top:0;
    z-index:1035;
    margin:0 -12px;
    background:rgba(255,255,255,.98);
    border-bottom:1px solid #ececef;
    box-shadow:0 3px 14px rgba(20,24,31,.045);
    backdrop-filter:saturate(150%) blur(10px);
    -webkit-backdrop-filter:saturate(150%) blur(10px);
  }
  .admin-bar .mp-mobile-store-header{top:0}
  .mp-mobile-store-header__bar{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    min-height:54px;
    padding:5px 12px;
  }
  .mp-mobile-menu-toggle{
    appearance:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    width:40px;
    height:40px;
    padding:9px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:#202124;
    cursor:pointer;
  }
  .mp-mobile-menu-toggle span{display:block;width:21px;height:2px;border-radius:2px;background:currentColor}
  .mp-mobile-logo{display:flex;align-items:center;justify-content:center;min-width:0}
  .mp-mobile-logo img{display:block;width:auto!important;height:40px!important;max-width:164px!important;object-fit:contain}
  .mp-mobile-actions{display:flex;align-items:center;gap:1px}
  .mp-mobile-action{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    padding:7px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:#202124!important;
    text-decoration:none!important;
    cursor:pointer;
  }
  .mp-mobile-action:hover,.mp-mobile-action:focus{background:#f5f5f6;color:var(--mp-red)!important;outline:0}
  .mp-mobile-action svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mp-mobile-cart-count{
    position:absolute;
    right:1px;
    top:0;
    min-width:17px;
    height:17px;
    padding:0 4px;
    border:2px solid #fff;
    border-radius:999px;
    background:var(--mp-red);
    color:#fff;
    font-size:9px;
    font-weight:900;
    line-height:13px;
    text-align:center;
    box-sizing:border-box;
  }
  .mp-mobile-nav-collapse{border-top:1px solid #ececef;background:#fff}
  .mp-mobile-primary-menu{list-style:none!important;margin:0!important;padding:7px 12px 10px!important}
  .mp-mobile-primary-menu>li{margin:0!important;border-bottom:1px solid #f0f0f1}
  .mp-mobile-primary-menu>li:last-child{border-bottom:0}
  .mp-mobile-primary-menu a{display:flex!important;align-items:center;min-height:42px;padding:9px 5px!important;color:#2d3136!important;font-size:.92rem!important;font-weight:750!important;text-decoration:none!important}
  .mp-mobile-primary-menu .sub-menu{padding-left:14px!important}

  /* Search stays visible, but loses the oversized second row. */
  body.mp-modern-header .mp-header-tools-row{
    display:block!important;
    margin:0!important;
    padding:8px 0 6px!important;
    border-top:0!important;
  }
  body.mp-modern-header .mp-header-tools-row .topsearch{display:flex!important;width:100%!important;padding:0!important;margin:0!important}
  body.mp-modern-header .mp-header-tools-row .topsearch #search-box,
  body.mp-modern-header .mp-header-tools-row .topsearch .is-form-style,
  body.mp-modern-header .mp-header-tools-row .topsearch form{height:44px!important}
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="search"],
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="text"]{
    height:44px!important;min-height:44px!important;border-radius:11px 0 0 11px!important;padding-left:14px!important;font-size:.88rem!important
  }
  body.mp-modern-header .mp-header-tools-row .topsearch button,
  body.mp-modern-header .mp-header-tools-row .topsearch input[type="submit"]{
    height:44px!important;min-height:44px!important;min-width:47px!important;border-radius:0 11px 11px 0!important
  }
  body.mp-modern-header .mp-header-tools-row .topcart{display:none!important}

  /* KDR survives, but as a narrow informative strip, not a large card. */
  body.mp-modern-header .mp-header-tools-row .mp-kdr-col{display:block!important;width:100%!important;padding:6px 0 0!important;margin:0!important}
  body.mp-modern-header .mp-kdr-card{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    width:100%!important;
    min-height:32px!important;
    height:32px!important;
    padding:4px 9px!important;
    border:0!important;
    border-radius:9px!important;
    background:#fff7f7!important;
    box-shadow:none!important;
  }
  body.mp-modern-header .mp-kdr-accent,body.mp-modern-header .mp-kdr-media{display:none!important}
  body.mp-modern-header .mp-kdr-copy{display:block!important;line-height:1!important;text-align:center}
  body.mp-modern-header .mp-kdr-copy strong{display:inline!important;font-size:.7rem!important;white-space:nowrap!important;text-transform:none!important;letter-spacing:0!important}
  body.mp-modern-header .mp-kdr-copy small{display:inline!important;margin:0 0 0 5px!important;font-size:.68rem!important}

  /* Homepage: tighter rhythm without shrinking book covers to postage stamps. */
  body.mp-modern-home .bodybar>.container,
  body.mp-modern-home .mp-home-shell{padding-left:10px!important;padding-right:10px!important}
  body.mp-modern-home .mp-home-section{margin:24px 0!important}
  body.mp-modern-home .mp-home-section__head{gap:10px!important;margin-bottom:11px!important;align-items:center!important}
  body.mp-modern-home .mp-home-section__head h2{font-size:1.35rem!important;line-height:1.12!important}
  body.mp-modern-home .mp-home-section__head>a{font-size:.72rem!important;color:var(--mp-red)!important}
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    margin:10px 0 20px!important;
  }
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact>div{
    min-height:52px!important;
    padding:8px 9px!important;
    border-radius:10px!important;
    grid-template-columns:27px minmax(0,1fr)!important;
    column-gap:7px!important;
  }
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact span{width:26px!important;height:26px!important;font-size:.78rem!important}
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact strong{font-size:.73rem!important}
  body.mp-modern-home .mp-home-benefits.mp-home-benefits--compact small{font-size:.62rem!important}

  body.mp-modern-home .mp-home-preorder-feature{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 122px!important;
    gap:10px!important;
    padding:14px!important;
    border-radius:14px!important;
    margin-bottom:14px!important;
  }
  body.mp-modern-home .mp-home-preorder-feature__visual{grid-column:2;grid-row:1;min-height:0!important;height:178px!important;max-height:178px!important;padding:0!important}
  body.mp-modern-home .mp-home-preorder-feature__visual img{max-height:174px!important;max-width:122px!important}
  body.mp-modern-home .mp-home-preorder-cover-badge{display:none!important}
  body.mp-modern-home .mp-home-preorder-feature__copy{grid-column:1;grid-row:1;align-self:center}
  body.mp-modern-home .mp-home-preorder-kicker{padding:5px 7px!important;margin:0 0 7px!important;font-size:.62rem!important}
  body.mp-modern-home .mp-home-preorder-feature h2{margin:0 0 7px!important;font-size:1.25rem!important;line-height:1.08!important}
  body.mp-modern-home .mp-home-preorder-rule{margin:0 0 6px!important;padding:7px 8px!important;border-left-width:3px!important;font-size:.72rem!important;line-height:1.35!important}
  body.mp-modern-home .mp-home-preorder-desc{display:none!important}
  body.mp-modern-home .mp-home-preorder-shipping{margin:5px 0 0!important;font-size:.68rem!important}
  body.mp-modern-home .mp-home-preorder-price{margin-top:7px!important;font-size:1.15rem!important}
  body.mp-modern-home .mp-home-preorder-points{margin-top:3px!important}
  body.mp-modern-home .mp-home-preorder-points .mp-loyalty-product-points{font-size:.72rem!important}
  body.mp-modern-home .mp-home-preorder-countdown{margin:7px 0 0!important;padding:6px 8px!important}
  body.mp-modern-home .mp-home-preorder-countdown .mp-loyalty-preorder-countdown__label{font-size:.62rem!important}
  body.mp-modern-home .mp-home-preorder-countdown .mp-loyalty-preorder-countdown__value{font-size:.72rem!important}
  body.mp-modern-home .mp-home-preorder-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;margin-top:9px!important}
  body.mp-modern-home .mp-home-preorder-actions .button{width:auto!important;min-height:36px!important;padding:8px 10px!important;font-size:.72rem!important}

  body.mp-modern-home .mp-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.mp-modern-home .mp-home-product-card{border-radius:12px!important}
  body.mp-modern-home .mp-home-product-card__image{margin:7px 7px 0!important;padding:5px!important}
  body.mp-modern-home .mp-home-product-card__body{padding:9px!important}
  body.mp-modern-home .mp-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.mp-modern-home .mp-home-category-card{padding:8px!important;border-radius:11px!important}
  body.mp-modern-home .mp-home-loyalty{margin:24px 0 10px!important;padding:16px!important;border-radius:14px!important}
  body.mp-modern-home .mp-home-loyalty h2{font-size:1.18rem!important}
  body.mp-modern-home .mp-home-loyalty p{font-size:.78rem!important;line-height:1.4!important}

  /* Product page: eliminate the long empty vertical rhythm on phones. */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Loyalty: keep the real plugin drawer, only redesign its launcher into a
     horizontal in-viewport pill. The drawer itself remains untouched. */
  body:not(.woocommerce-checkout) .mp-loyalty-drawer-toggle{
    left:10px!important;
    right:auto!important;
    top:auto!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    max-width:148px!important;
    min-width:0!important;
    min-height:42px!important;
    height:42px!important;
    padding:7px 12px!important;
    border-radius:999px!important;
    flex-direction:row!important;
    transform:none!important;
    box-shadow:0 7px 20px rgba(0,0,0,.16)!important;
  }
  body:not(.woocommerce-checkout) .mp-loyalty-drawer-toggle .mp-loyalty-drawer-toggle-text{
    display:block!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    transform:none!important;
    white-space:nowrap!important;
    font-size:10px!important;
    line-height:1.15!important;
  }
  
  

  /* CallPage button: it remains available, but stays inside the right edge. */
  body:not(.woocommerce-checkout) #callpage .cp-widget-button,
  body:not(.woocommerce-checkout) .cp-button-section.cp-callpage__button,
  body:not(.woocommerce-checkout) .cp-callpage__button{
    max-width:58px!important;
    max-height:58px!important;
  }
  

  /* The legacy sticky-nav surface must never reserve an empty band on mobile. */
  .mp-sticky-nav-surface{display:none!important;height:0!important}
  body.mp-sticky-nav-active{padding-top:0!important}

  /* Leave breathing room for the two floating utilities. */
  body:not(.woocommerce-checkout) .footerbar{padding-bottom:56px!important}
  
}

@media (max-width:420px){
  .mp-mobile-store-header__bar{grid-template-columns:38px minmax(0,1fr) auto;padding-left:8px;padding-right:8px}
  .mp-mobile-logo img{height:36px!important;max-width:136px!important}
  .mp-mobile-action{width:34px;height:36px;padding:7px}
  .mp-mobile-action svg{width:21px;height:21px}
  body.mp-modern-home .mp-home-preorder-feature{grid-template-columns:minmax(0,1fr) 104px!important;padding:12px!important}
  body.mp-modern-home .mp-home-preorder-feature__visual{height:158px!important;max-height:158px!important}
  body.mp-modern-home .mp-home-preorder-feature__visual img{max-height:154px!important;max-width:104px!important}
  body.mp-modern-home .mp-home-preorder-feature h2{font-size:1.14rem!important}
}

/* 3.0.105 — mobile cart navigation */
@media(max-width:767px){
  
  
  
  
  
}


/* ============================================================
   3.0.120 — MOBILE SIDE CART CONVERSION CLEANUP
   CSS only, <=767px.
   One strong red CTA; everything else is quieter.
   ============================================================ */
@media(max-width:767px){

  .mpkp-side-cart__drawer{
    width:min(430px,100vw)!important;
    background:#fff!important;
  }
  .mpkp-side-cart__panel-content{
    padding:12px!important;
  }

  /* Back to shopping = navigation, not a competing red CTA. */
  .mpkp-side-cart__back{
    min-height:40px!important;
    border:1px solid #d9ddda!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#3c4540!important;
    font-size:13px!important;
    font-weight:800!important;
    box-shadow:none!important;
  }

  /* Loyalty = benefit card, not warning/alert. */
  .mpkp-side-cart__pinned-loyalty{
    padding:7px 0 9px!important;
    background:#fff!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-box.is-guest,
  .mpkp-side-cart__pinned-loyalty .mpkp-side-cart__loyalty--actionable .mp-loyalty-redeem{
    margin:0!important;
    padding:10px 11px!important;
    border:1px solid #dce7df!important;
    border-left:1px solid #dce7df!important;
    border-radius:10px!important;
    background:#f8fbf9!important;
    box-shadow:none!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-icon,
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-box .mp-loyalty-mini-cart-icon{
    background:#e8f3ec!important;
    color:#257047!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-benefit-kicker{
    color:#68736c!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-benefit-title,
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>strong{
    color:#243129!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-benefit-value,
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>span,
  .mpkp-side-cart__pinned-loyalty .mpkp-account-checkout-note{
    color:#5c6760!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-actions{
    margin-top:6px!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-actions a,
  .mpkp-side-cart .mp-loyalty-mini-cart-actions .mpkp-account-open{
    color:#425049!important;
    font-size:11.5px!important;
    font-weight:800!important;
    text-decoration:underline!important;
  }

  /* Free-delivery progress: neutral/green. */
  .mpkp-side-cart .mpkp-progress--side,
  .mpkp-side-cart .mpkp-progress--active{
    border:1px solid #dce5df!important;
    background:#f8faf9!important;
    box-shadow:none!important;
  }
  .mpkp-side-cart .mpkp-progress__label{
    color:#526159!important;
  }
  .mpkp-side-cart .mpkp-progress__track{
    background:#e5ebe7!important;
  }
  .mpkp-side-cart .mpkp-progress__track span{
    background:#2d8a58!important;
  }
  .mpkp-side-cart .mpkp-progress__points{
    color:#4b5650!important;
  }
  .mpkp-side-cart .mpkp-progress__points strong{
    color:#2b4e39!important;
  }

  /* Recommendations: no red outline competing with checkout. */
  .mpkp-side-cart .mpkp-more-recs,
  .mpkp-side-cart .mpkp-more-recs--prominent{
    border-color:#d9ddda!important;
    background:#fff!important;
    color:#46504a!important;
    box-shadow:none!important;
  }

  /* Footer: only "Do kasy" is strong red. */
  .mpkp-side-cart__actions{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .mpkp-side-cart__actions .mpkp-side-cart__view-cart{
    order:2!important;
    min-height:42px!important;
    border:1px solid #d9ddda!important;
    background:#fff!important;
    color:#3f4943!important;
    box-shadow:none!important;
  }
  .mpkp-side-cart__actions .mpkp-side-cart__checkout{
    order:1!important;
    min-height:48px!important;
    border:1px solid #d71920!important;
    background:#d71920!important;
    color:#fff!important;
    box-shadow:none!important;
  }
}


/* ============================================================
   3.0.122 — MOBILE SIDE CART: PRODUCTS FIRST
   Client should see what they are buying immediately.
   ============================================================ */
@media(max-width:767px){

  /* Loyalty becomes a thin benefit strip instead of a large fixed card. */
  .mpkp-side-cart__pinned-loyalty{
    padding:7px 12px!important;
    border-bottom:1px solid #e7eae8!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-box{
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    min-height:0!important;
    margin:0!important;
    padding:7px 9px!important;
    border:1px solid #dce7df!important;
    border-radius:9px!important;
    background:#f8fbf9!important;
    box-shadow:none!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-badge{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    flex-basis:24px!important;
    font-size:15px!important;
    background:#e7f1ea!important;
    color:#2c754d!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy{
    min-width:0!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>strong{
    display:inline!important;
    margin:0!important;
    color:#2a342e!important;
    font-size:11.5px!important;
    line-height:1.25!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>span{
    display:inline!important;
    margin-left:4px!important;
    color:#5b655f!important;
    font-size:10.5px!important;
    line-height:1.25!important;
  }
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>small,
  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-actions,
  .mpkp-side-cart__pinned-loyalty .mpkp-account-checkout-note{
    display:none!important;
  }

  /* Free delivery is the only progress shown in the drawer.
     Other bonus thresholds belong to the full cart, not above products. */
  .mpkp-side-cart .mpkp-progress--side{
    margin:8px 0 6px!important;
    padding:8px 10px!important;
    border:1px solid #e0e6e2!important;
    border-radius:9px!important;
    background:#f9fbfa!important;
    box-shadow:none!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-progress__top{
    display:none!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-progress__text,
  .mpkp-side-cart .mpkp-progress--side .mpkp-progress__text--done{
    margin:0!important;
    color:#36413a!important;
    font-size:12px!important;
    line-height:1.3!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-progress__track{
    height:5px!important;
    margin-top:6px!important;
    background:#e5ebe7!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-progress__track span{
    background:#2d8a58!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-benefit-ladder,
  .mpkp-side-cart .mpkp-progress--side .mpkp-benefit-ladder__note,
  .mpkp-side-cart .mpkp-progress--side .mpkp-progress__points{
    display:none!important;
  }

  /* Products begin almost immediately after the two compact benefit lines. */
  .mpkp-side-cart__scroll{
    padding-top:0!important;
  }
  .mpkp-side-cart__items{
    margin-top:0!important;
  }
  .mpkp-side-item{
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
}


/* 3.0.123 — „Zobacz dodatkowe korzyści” in Side Cart */
@media(max-width:767px){
  .mpkp-side-cart .mpkp-progress--side .mpkp-benefit-details{
    display:block!important;
    margin-top:7px!important;
    padding-top:6px!important;
    border-top:1px solid #e3e8e5!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-benefit-details>summary{
    display:inline-flex!important;
    color:#4c5751!important;
    font-size:10.5px!important;
    font-weight:800!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-benefit-details[open] .mpkp-benefit-ladder{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:5px!important;
    margin-top:7px!important;
  }
  .mpkp-side-cart .mpkp-progress--side .mpkp-benefit-details[open] .mpkp-benefit-ladder__note,
  .mpkp-side-cart .mpkp-progress--side .mpkp-benefit-details[open] .mpkp-progress__points{
    display:block!important;
    margin-top:6px!important;
    font-size:9.5px!important;
    line-height:1.3!important;
  }
}


/* ============================================================
   3.0.125 — DESKTOP CART LOYALTY: OPTIONAL BENEFIT, NOT A REQUIREMENT
   Scope: desktop cart only.
   ============================================================ */
@media(min-width:768px){
  

  

  

  

  

  

  

  

  

  /* Login / register are secondary text actions, not primary checkout CTAs. */
  

  

  

  /* Rules are tertiary information; keep them accessible but visually quiet. */
  
}


/* ============================================================
   3.0.126 — MOBILE ACCOUNT ACTIONS RESTORED
   Side Cart: keep login/register visible, but compact.
   ============================================================ */
@media(max-width:767px){

  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>small{
    display:none!important;
  }

  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-actions{
    display:flex!important;
    grid-column:2!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:5px!important;
    margin:4px 0 0!important;
    padding:0!important;
    font-size:10.5px!important;
    line-height:1.2!important;
  }

  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-actions a{
    display:inline!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#3f5147!important;
    font-size:10.5px!important;
    font-weight:800!important;
    text-decoration:underline!important;
    white-space:nowrap!important;
  }

  .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-actions span[aria-hidden="true"]{
    color:#8b948f!important;
  }
}


/* ============================================================
   3.0.127 — FULL CART ACCOUNT ACTIONS MUST STAY VISIBLE
   Desktop + mobile.
   ============================================================ */




@media(max-width:767px){
  
  
  
}


/* ============================================================
   3.0.134 — SAFE DESKTOP MENU ALIGNMENT
   Base: Work 3.0.132 HOME-FIRST-PAINT.
   IMPORTANT: do NOT touch nav.navbar.fixed-top.
   ============================================================ */
@media(min-width:992px){

  /* Normal header only. The sticky navbar keeps its original proven rules. */
  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row{
    align-items:center!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row > .toplogo{
    display:flex!important;
    align-items:center!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row > .toplogo .logo{
    display:flex!important;
    align-items:center!important;
    margin:0!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row > .toplogo .logo img{
    display:block!important;
    width:auto!important;
    height:58px!important;
    max-width:100%!important;
    margin:0!important;
    object-fit:contain!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row > .navbar-parent{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top){
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  /* The duplicate/sticky brand must NEVER appear in the normal header. */
  body.mp-modern-header .mp-header-brand-row nav.navbar:not(.fixed-top) > .navbar-brand.logo{
    display:none!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top) .mp-navigation-collapse{
    min-width:0!important;
    width:100%!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top) .mp-primary-menu{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top) .mp-primary-menu > .menu-item{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top) .mp-primary-menu > .menu-item > .nav-link{
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    min-height:42px!important;
    padding:.48rem .48rem!important;
    margin:0!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }

  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top) .menu-item-has-children > .nav-link::after,
  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top) .dropdown > .nav-link::after{
    position:static!important;
    display:inline-block!important;
    flex:0 0 auto!important;
    margin:1px 0 0 2px!important;
    vertical-align:middle!important;
  }
}

/* If the menu gets crowded, tighten links only — do not move/resize the whole navbar. */
@media(min-width:992px) and (max-width:1279px){
  body.mp-modern-header:not(.mp-sticky-nav-active) .mp-header-brand-row nav.navbar:not(.fixed-top) .mp-primary-menu > .menu-item > .nav-link{
    padding:.46rem .32rem!important;
    font-size:.81rem!important;
  }
}

/* ============================================================
   3.0.135 — CACHE-INDEPENDENT HERO ROTATION + MANUAL RELOAD
   ============================================================ */
body.mp-modern-home .mp-home-hero-refresh{
  position:absolute;
  z-index:6;
  right:58px;
  bottom:9px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:5px 10px;
  border:1px solid #d9dde1;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#555b62;
  font-size:.78rem;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(20,24,31,.06);
}
body.mp-modern-home .mp-home-hero-refresh:hover{
  border-color:#b9bec4;
  color:var(--mp-red);
}
body.mp-modern-home .mp-home-hero-refresh:disabled{
  cursor:wait;
  opacity:.62;
}
body.mp-modern-home .mp-home-hero-refresh.is-loading span{
  display:inline-block;
  animation:mpHeroRefreshSpin .7s linear infinite;
}
@keyframes mpHeroRefreshSpin{to{transform:rotate(360deg)}}

@media(max-width:767px){
  body.mp-modern-home .mp-home-hero-refresh{
    right:12px;
    bottom:8px;
    min-height:28px;
    padding:4px 8px;
    font-size:.72rem;
  }
}

/* ============================================================
   3.0.136 — MOBILE HOMEPAGE PRODUCT CARDS
   Compact horizontal cards on phones. This fixes the previous two-column
   layout where landscape/portrait covers made rows extremely tall and
   visually disconnected price/buttons from their books.
   ============================================================ */
@media(max-width:767px){
  body.mp-modern-home .mp-home-products-grid,
  body.mp-modern-home .mp-home-products-grid.mp-home-products-grid--4{
    grid-template-columns:1fr!important;
    gap:9px!important;
  }

  body.mp-modern-home .mp-home-product-card{
    display:grid!important;
    grid-template-columns:112px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    gap:0!important;
    min-height:154px!important;
    padding:8px!important;
    border-radius:12px!important;
    overflow:hidden!important;
    align-items:stretch!important;
  }

  body.mp-modern-home .mp-home-product-card__image{
    grid-column:1!important;
    grid-row:1!important;
    box-sizing:border-box!important;
    width:112px!important;
    height:154px!important;
    min-height:154px!important;
    max-height:154px!important;
    aspect-ratio:auto!important;
    margin:0!important;
    padding:5px!important;
    border-radius:9px!important;
    align-self:start!important;
  }

  body.mp-modern-home .mp-home-product-card__image img,
  body.mp-modern-home .mp-home-product-card__image img.mp-product-image{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    margin:0!important;
  }

  body.mp-modern-home .mp-home-product-card__image .mp-product-image-fallback{
    inset:5px!important;
    border-radius:7px!important;
  }

  body.mp-modern-home .mp-home-product-card .mp-home-badge{
    left:5px!important;
    right:5px!important;
    top:5px!important;
    width:auto!important;
    max-width:calc(100% - 10px)!important;
    padding:4px 5px!important;
    border-radius:6px!important;
    font-size:.52rem!important;
    line-height:1.15!important;
    text-align:center!important;
    white-space:normal!important;
  }

  body.mp-modern-home .mp-home-product-card__body{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    padding:3px 3px 2px 11px!important;
  }

  body.mp-modern-home .mp-home-product-card h3{
    min-height:0!important;
    margin:0 0 5px!important;
    font-size:.91rem!important;
    line-height:1.22!important;
    font-weight:780!important;
  }

  body.mp-modern-home .mp-home-product-card .mp-card-rating{
    margin:0 0 5px!important;
    min-height:0!important;
  }

  body.mp-modern-home .mp-home-product-card__price{
    margin:2px 0 0!important;
    padding:0!important;
    font-size:1rem!important;
    line-height:1.2!important;
  }

  body.mp-modern-home .mp-home-product-card__points{
    min-height:0!important;
    margin:4px 0 0!important;
    font-size:.72rem!important;
    line-height:1.2!important;
  }

  body.mp-modern-home .mp-home-product-card__points .mp-loyalty-product-points{
    margin:0!important;
    font-size:.72rem!important;
    line-height:1.2!important;
  }

  body.mp-modern-home .mp-home-product-card .button{
    width:auto!important;
    min-width:0!important;
    min-height:34px!important;
    margin:8px 0 0!important;
    padding:7px 10px!important;
    border-radius:8px!important;
    font-size:.76rem!important;
    line-height:1.15!important;
    align-self:flex-start!important;
  }
}

@media(max-width:370px){
  body.mp-modern-home .mp-home-product-card{
    grid-template-columns:98px minmax(0,1fr)!important;
    min-height:140px!important;
  }

  body.mp-modern-home .mp-home-product-card__image{
    width:98px!important;
    height:140px!important;
    min-height:140px!important;
    max-height:140px!important;
  }

  body.mp-modern-home .mp-home-product-card__body{
    padding-left:9px!important;
  }

  body.mp-modern-home .mp-home-product-card h3{
    font-size:.86rem!important;
  }
}


/* ============================================================
   MagnaShop3 3.0.170 — SIDE CART BENEFITS: CALMER PALETTE
   IMPORTANT: this targets the slide-in Koszyk+ side cart, at ALL viewport widths.
   Red is reserved for the final checkout CTA. Benefit modules use neutral/green.
   ============================================================ */

/* Loyalty container in the SIDE CART: remove warning-like red chrome. */
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty{
  background:#fff!important;
}

.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-box,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mpkp-side-cart__loyalty--actionable .mp-loyalty-redeem,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-redeem{
  border:1px solid #dfe5e1!important;
  border-left:1px solid #dfe5e1!important;
  background:#fbfcfb!important;
  box-shadow:none!important;
}

/* Loyalty copy: neutral/dark, not alarm red. */
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-benefit-kicker{
  color:#56635b!important;
}

.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-benefit-title,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>strong{
  color:#202622!important;
}

.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-benefit-value,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-mini-cart-copy>span,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-wallet-limit{
  color:#56605a!important;
}

.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-benefit-value strong,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-wallet-limit strong{
  color:#2d6b47!important;
}

/* Redeem points = benefit action, therefore green instead of a second big red CTA. */
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-form .button,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty button[name="mp_loyalty_redeem"],
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty input[type="submit"].button{
  border-color:#2d7a4d!important;
  background:#2d7a4d!important;
  color:#fff!important;
  box-shadow:none!important;
}

.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-form .button:hover,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-form .button:focus,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty button[name="mp_loyalty_redeem"]:hover,
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty button[name="mp_loyalty_redeem"]:focus{
  border-color:#24653f!important;
  background:#24653f!important;
}

/* Points input stays neutral. */
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-form input[type="number"]{
  border-color:#cfd6d1!important;
  background:#fff!important;
  color:#202522!important;
  box-shadow:none!important;
}
.mpkp-side-cart .mpkp-side-cart__pinned-loyalty .mp-loyalty-form input[type="number"]:focus{
  border-color:#6fa184!important;
  box-shadow:0 0 0 2px rgba(45,122,77,.10)!important;
}

/* Free delivery = positive benefit, consistently green/neutral. */
.mpkp-side-cart .mpkp-progress--side,
.mpkp-side-cart .mpkp-progress--active{
  border:1px solid #d7e3db!important;
  border-left:1px solid #d7e3db!important;
  background:#f8fbf9!important;
  box-shadow:none!important;
  color:#29352e!important;
}

.mpkp-side-cart .mpkp-progress__label{
  color:#2f6f49!important;
}

.mpkp-side-cart .mpkp-progress__target{
  color:#626b65!important;
}

.mpkp-side-cart .mpkp-progress__text,
.mpkp-side-cart .mpkp-progress__text--done{
  color:#27332c!important;
}

.mpkp-side-cart .mpkp-progress__track{
  background:#e4eae6!important;
}

.mpkp-side-cart .mpkp-progress__track span{
  background:#2d8a58!important;
}

.mpkp-side-cart .mpkp-progress__points{
  color:#4d5851!important;
}
.mpkp-side-cart .mpkp-progress__points strong{
  color:#2d6845!important;
}

.mpkp-side-cart .mpkp-benefit-details{
  border-top-color:#e1e7e3!important;
}
.mpkp-side-cart .mpkp-benefit-details>summary{
  color:#46534b!important;
}
.mpkp-side-cart .mpkp-benefit-details>summary:hover,
.mpkp-side-cart .mpkp-benefit-details>summary:focus{
  color:#2d6845!important;
}

/* If Koszyk+ marks the next threshold, keep it benefit-like, not warning-like. */
.mpkp-side-cart .mpkp-benefit-ladder__item.is-next{
  border-color:#c9ded0!important;
  background:#f4faf6!important;
  color:#2d6845!important;
  box-shadow:none!important;
}
.mpkp-side-cart .mpkp-benefit-ladder__item.is-next b{
  color:#245a3b!important;
}

/* Final checkout remains the only large red CTA in the side cart. */
.mpkp-side-cart .mpkp-side-cart__checkout{
  border-color:#d71920!important;
  background:#d71920!important;
  color:#fff!important;
}
