/*
Theme Name: Mobile Accessories
Theme URI: https://accessoriesmobile.shop/
Author: Mobile Accessories
Description: Production-ready, Italian-first WooCommerce theme for mobile, computer, laptop, travel and electronics accessories.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mobile-accessories
Domain Path: /languages
License: GPL-2.0-or-later
*/
:root{--ma-primary:#18b957;--ma-primary-dark:#0d8b42;--ma-ink:#121212;--ma-muted:#666;--ma-bg:#f6f7f8;--ma-card:#fff;--ma-line:#e5e7eb;--ma-radius:14px;--ma-shadow:0 8px 28px rgba(15,23,42,.07);--ma-max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ma-ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55}body.woocommerce{background:#fff}a{color:inherit;text-decoration:none}a:hover{color:var(--ma-primary-dark)}img{display:block;max-width:100%;height:auto}.container{width:min(var(--ma-max),94%);margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{background:#121212;color:#fff;font-size:12px}.topbar-inner{display:flex;justify-content:space-between;gap:16px;padding:7px 0}.header{background:#fff;border-bottom:1px solid var(--ma-line);position:sticky;top:0;z-index:1000}.header-row{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:22px;padding:14px 0}.brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:20px}.brand-mark{width:42px;height:42px;border-radius:11px;background:#111;color:#fff;display:grid;place-items:center;font-size:13px;letter-spacing:-.04em}.brand small{display:block;color:#777;font-size:10px;font-weight:600}.search-form{display:flex;border:1px solid #d7dbe0;border-radius:10px;overflow:hidden;background:#fff}.search-form input{width:100%;border:0;outline:0;padding:12px 14px;font-size:14px}.search-form button{border:0;background:#111;color:#fff;padding:0 18px;font-size:18px;cursor:pointer}.header-actions{display:flex;align-items:center;gap:13px}.header-action{position:relative;display:grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--ma-line);border-radius:10px;background:#fff}.cart-count{position:absolute;right:-5px;top:-6px;background:var(--ma-primary);color:#fff;border-radius:99px;font-size:10px;min-width:18px;height:18px;display:grid;place-items:center;font-weight:800}.main-nav{border-top:1px solid #f1f2f4}.main-nav .menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;overflow:auto;white-space:nowrap}.main-nav a{display:block;padding:12px 0;font-size:13px;font-weight:750}.mobile-menu-toggle{display:none;border:1px solid var(--ma-line);background:#fff;border-radius:9px;width:40px;height:40px}.hero{margin:20px 0 30px;border-radius:20px;min-height:340px;overflow:hidden;background:linear-gradient(110deg,#eaf7fb 0%,#f9fafb 65%,#eef7f1 100%);display:flex;align-items:center}.hero-copy{padding:48px;max-width:760px}.eyebrow{font-size:12px;color:var(--ma-primary-dark);font-weight:850;text-transform:uppercase;letter-spacing:.08em}.hero h1{font-size:clamp(34px,4vw,56px);line-height:1.03;letter-spacing:-.035em;margin:8px 0 15px}.hero p{max-width:640px;color:#555;margin:0 0 22px;font-size:17px}.button,.button:visited,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:10px;padding:10px 17px;font-weight:800;border:1px solid transparent;background:#111;color:#fff;cursor:pointer}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#333;color:#fff}.button-primary{background:var(--ma-primary);color:#fff}.button-primary:hover{background:var(--ma-primary-dark);color:#fff}.button-outline{background:#fff;color:#111;border-color:#d9dde2}.section{padding:10px 0 36px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}.section-head h2{font-size:26px;line-height:1.2;margin:0;letter-spacing:-.02em}.muted{color:var(--ma-muted)}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.category-card{border:1px solid var(--ma-line);border-radius:13px;background:#fff;text-align:center;padding:16px 8px;transition:.18s}.category-card:hover{transform:translateY(-2px);box-shadow:var(--ma-shadow);border-color:#d8dee5}.category-icon{font-size:27px;line-height:1}.category-card strong{display:block;font-size:13px;margin-top:7px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-card{height:100%;border:1px solid var(--ma-line);border-radius:14px;background:#fff;padding:12px;position:relative;display:flex;flex-direction:column}.product-thumb{position:relative;background:#fafafa;border-radius:11px;overflow:hidden}.product-thumb img{width:100%;aspect-ratio:1/1;object-fit:contain}.badge{position:absolute;left:9px;top:9px;background:#111;color:#fff;border-radius:7px;padding:4px 7px;font-size:10px;font-weight:800}.badge-sale{background:#d7263d}.product-card h3{font-size:15px;line-height:1.35;margin:10px 0 5px}.product-card .price{font-size:18px;font-weight:850;margin-bottom:3px}.product-card .price del{color:#999;font-size:13px;margin-right:5px}.product-card .price ins{text-decoration:none}.stock-status{font-size:12px;color:#168844;font-weight:750}.product-card .button{width:100%;margin-top:auto}.card-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}.wa-button{background:var(--ma-primary)!important;color:#fff!important}.wa-button:hover{background:var(--ma-primary-dark)!important}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:var(--ma-bg);border-radius:15px;padding:20px}.benefit{text-align:center;font-weight:850}.benefit span{display:block;color:#777;font-size:11px;font-weight:500}.feature-banner{border:1px solid var(--ma-line);border-radius:15px;padding:26px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}.feature-banner h2{margin:0 0 5px}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.trust-card{padding:20px;border:1px solid var(--ma-line);border-radius:14px;background:#fff}.newsletter{background:#111;color:#fff;border-radius:17px;padding:30px}.newsletter h2{margin:0 0 7px}.newsletter-form{display:flex;max-width:620px;margin-top:16px}.newsletter-form input{flex:1;border:0;border-radius:9px 0 0 9px;padding:12px}.newsletter-form button{border:0;border-radius:0 9px 9px 0;background:var(--ma-primary);color:#fff;padding:0 18px;font-weight:800}.footer{background:#151515;color:#fff;margin-top:30px;padding:44px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px}.footer h3{font-size:15px}.footer p,.footer li{color:#bbb;font-size:13px}.footer ul{list-style:none;padding:0;margin:0}.footer li{margin:7px 0}.footer-bottom{border-top:1px solid #333;margin-top:28px;padding-top:15px;color:#999;font-size:12px;display:flex;justify-content:space-between;gap:15px}.float-whatsapp{position:fixed;right:18px;bottom:18px;z-index:1200;width:56px;height:56px;border-radius:50%;background:var(--ma-primary);color:#fff;display:grid;place-items:center;font-size:24px;box-shadow:0 8px 25px rgba(0,0,0,.22)}.mobile-bottom{display:none}.breadcrumbs{padding:15px 0;color:#777;font-size:12px}.woocommerce .site-main{padding-bottom:35px}.woocommerce .woocommerce-breadcrumb{margin:0 0 15px;color:#777;font-size:12px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:16px;margin:0!important;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;border:1px solid var(--ma-line);border-radius:14px;background:#fff;padding:12px!important;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{border-radius:11px;background:#fafafa;margin:0 0 10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.35;margin:0 0 6px!important}.woocommerce ul.products li.product .price{font-size:18px!important;font-weight:850!important;color:#111!important}.woocommerce ul.products li.product .button{margin-top:auto;width:100%;text-align:center}.woocommerce nav.woocommerce-pagination ul{border:0}.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 3px}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--ma-line);border-radius:8px;padding:8px 11px}.woocommerce .quantity .qty{min-height:43px;border:1px solid #d7dbe0;border-radius:9px}.woocommerce div.product div.images img{border-radius:14px}.woocommerce div.product .product_title{font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-.025em}.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:26px;font-weight:850;color:#111}.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:9px}.woocommerce div.product form.cart .button{min-height:46px}.woocommerce-tabs{margin-top:25px}.woocommerce-Tabs-panel{border:1px solid var(--ma-line);border-radius:13px;padding:20px}.woocommerce div.product .stock{color:#168844;font-weight:800}.product-meta-box{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.product-meta-item{background:var(--ma-bg);border-radius:10px;padding:11px;font-size:12px}.product-meta-item strong{display:block;font-size:13px}.ma-wa-product{width:100%;margin:10px 0 0!important}.ma-delivery-box{margin-top:16px;border:1px solid #d9f1e1;background:#f2fff6;border-radius:12px;padding:15px;font-size:13px}.ma-cart-wa{margin:12px 0 0}.woocommerce-cart-form,.cart-collaterals .cart_totals,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{border:1px solid var(--ma-line);border-radius:14px;padding:18px;background:#fff}.woocommerce table.shop_table{border:0}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #d7dbe0;border-radius:9px;padding:11px}.woocommerce-checkout #payment{border-radius:12px;background:#f7f8fa}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:10px}.site-main{min-height:45vh}.archive-header{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:18px}.archive-header h1{margin:0;font-size:32px}.filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.filter-chip{border:1px solid var(--ma-line);border-radius:99px;padding:7px 11px;font-size:12px}.search-results-title{font-size:30px;margin:0 0 18px}.not-found{padding:50px 0;text-align:center}.menu-panel{display:none}.mobile-only{display:none}@media(max-width:1000px){.header-row{grid-template-columns:auto 1fr auto}.category-grid{grid-template-columns:repeat(4,1fr)}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,1fr)!important}.footer-grid{grid-template-columns:1fr 1fr}.trust-grid{grid-template-columns:1fr 1fr}.benefit-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.header{position:relative}.header-row{grid-template-columns:auto 1fr auto;gap:9px}.mobile-menu-toggle{display:block}.brand{font-size:17px}.brand-mark{width:36px;height:36px}.brand small{display:none}.header-actions{gap:5px}.header-action{min-width:36px;height:36px}.search-form{grid-column:1/-1;grid-row:2}.main-nav{display:none}.main-nav.open{display:block}.main-nav .menu{display:block;padding-bottom:8px}.main-nav .menu a{padding:10px 0}.mobile-only{display:block}.hero{min-height:280px}.hero-copy{padding:30px 22px}.hero p{font-size:15px}.category-grid{grid-template-columns:repeat(3,1fr);gap:8px}.category-card{padding:13px 6px}.category-card strong{font-size:12px}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important;gap:10px}.product-card{padding:9px}.product-card h3{font-size:13px}.product-card .price,.woocommerce ul.products li.product .price{font-size:16px!important}.benefit-grid{padding:15px}.feature-banner{display:block}.trust-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:7px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:1100;background:#fff;border-top:1px solid var(--ma-line);justify-content:space-around;padding:7px 3px}.mobile-bottom a{text-align:center;font-size:10px}.float-whatsapp{bottom:67px}.woocommerce .site-main{padding-bottom:65px}.woocommerce div.product div.summary{margin-bottom:15px}.product-meta-box{grid-template-columns:1fr 1fr}.newsletter-form{display:block}.newsletter-form input,.newsletter-form button{width:100%;min-height:44px;border-radius:9px;margin-top:7px}.woocommerce-cart-form,.cart-collaterals .cart_totals,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{padding:12px}.archive-header{display:block}.archive-header .woocommerce-ordering{float:none;margin-top:10px}.woocommerce .woocommerce-ordering select{width:100%;padding:9px;border-radius:8px;border:1px solid var(--ma-line)}}
.shop-layout{display:grid;grid-template-columns:minmax(190px,245px) 1fr;gap:20px;align-items:start}.shop-sidebar .widget,.shop-sidebar .ma-widget{border:1px solid var(--ma-line);border-radius:13px;padding:14px;margin-bottom:12px;background:#fff}.shop-sidebar h3{font-size:14px;margin:0 0 10px}.shop-sidebar ul{list-style:none;padding:0;margin:0}.shop-sidebar li{font-size:13px;margin:7px 0}.widget_price_filter .ui-slider{margin:15px 5px}.widget_price_filter .ui-slider .ui-slider-handle{background:var(--ma-primary);border-radius:50%}.widget_price_filter .price_slider_amount{font-size:12px}.widget_price_filter .button{min-height:38px;padding:7px 12px;font-size:12px}
@media(max-width:760px){.shop-layout{grid-template-columns:1fr}.shop-sidebar{order:2}.shop-layout>section{order:1}}
.custom-brand-logo{width:42px;height:42px;object-fit:contain;border-radius:10px}.brand .custom-brand-logo{flex:none}

.product-image-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:1/1;background:#f4f5f6;color:#a0a4a8;font-size:42px;border-radius:11px}.product-thumb img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;object-fit:contain}.woocommerce ul.products li.product a img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;object-fit:contain}

/* Product gallery / image viewer */
.woocommerce div.product div.images .woocommerce-product-gallery__image a{display:block;cursor:zoom-in}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{background:#fafafa;object-fit:contain}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:9px;overflow-x:auto;margin-top:10px;padding:2px 0;scrollbar-width:thin}
.woocommerce div.product div.images .flex-control-thumbs li{float:none!important;width:78px!important;min-width:78px!important;margin:0!important}
.woocommerce div.product div.images .flex-control-thumbs li img{border:1px solid var(--ma-line);border-radius:9px;padding:3px;background:#fff;opacity:.72;cursor:pointer;transition:.15s}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover{opacity:1;border-color:var(--ma-primary)}
.woocommerce div.product div.images .flex-direction-nav a{background:#111;color:#fff;border-radius:50%;width:38px;height:38px;display:grid;place-items:center}
.product-image-placeholder{display:grid;place-items:center;aspect-ratio:1/1;background:#f5f6f7;color:#a0a5ab;font-size:48px}

/* 2.0.3 layout/banner fixes */
.hero-wrap{width:100%;padding:22px 0 10px;background:#f5f7f8}.hero{min-height:430px;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:stretch;background:linear-gradient(135deg,#f0f7f3 0%,#ffffff 55%,#eef5f1 100%);border:1px solid var(--ma-line);box-shadow:var(--ma-shadow);position:relative}.hero-copy{padding:62px 58px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative;z-index:2}.hero-copy h1{font-size:clamp(38px,5vw,66px);line-height:1.03;letter-spacing:-.045em;margin:12px 0 18px;max-width:720px}.hero-copy p{font-size:18px;color:#5d646b;max-width:650px;margin:0 0 24px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.button-light{background:#fff!important;color:#111!important;border:1px solid #d9dde2!important}.hero-visual{min-height:430px;position:relative;overflow:hidden;background:radial-gradient(circle at 70% 30%,rgba(24,185,87,.25),transparent 32%),linear-gradient(145deg,#e9f8ef,#dfeee7);display:block}.hero-visual:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-80px;top:-80px;background:rgba(24,185,87,.12)}.hero-visual:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;left:-90px;bottom:-90px;background:rgba(0,0,0,.05)}.hero-device{position:absolute;z-index:2;display:grid;place-items:center;border:1px solid rgba(255,255,255,.8);box-shadow:0 24px 45px rgba(0,0,0,.14);background:rgba(255,255,255,.82);backdrop-filter:blur(8px)}.hero-phone{width:150px;height:270px;border-radius:28px;font-size:76px;right:23%;top:16%;transform:rotate(7deg)}.hero-charger{width:110px;height:110px;border-radius:24px;font-size:48px;right:58%;top:48%;transform:rotate(-10deg)}.hero-earbuds{width:120px;height:120px;border-radius:50%;font-size:48px;right:8%;bottom:12%;transform:rotate(8deg)}.hero-orb{position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(24,185,87,.12);right:18%;top:20%;z-index:1}.hero-visual-title{position:absolute;left:34px;bottom:32px;z-index:3;font-size:16px;color:#314038;line-height:1.25}.hero-visual-title strong{font-size:26px;color:#111}.category-card{min-width:0}.product-card .product-thumb{min-height:230px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fafafa;border-radius:12px}.product-card .product-thumb img{width:100%;height:230px;object-fit:contain}.product-image-placeholder{min-height:230px;width:100%;display:grid;place-items:center;font-size:54px;color:#aeb5bb;background:#f5f6f7}.woocommerce ul.products li.product .product-thumb{min-height:230px;display:flex;align-items:center;justify-content:center;overflow:hidden}.woocommerce ul.products li.product .product-thumb img{width:100%;height:230px;object-fit:contain}.woocommerce ul.products li.product .product-thumb:has(.product-thumb){padding:0}.main-nav{overflow:visible}.main-nav .menu{max-width:100%;overflow-x:auto;white-space:nowrap}.main-nav .menu::-webkit-scrollbar{height:0}@media(max-width:760px){.hero-wrap{padding:10px 0}.hero{grid-template-columns:1fr;min-height:0;border-radius:16px}.hero-copy{padding:34px 22px 24px}.hero-copy h1{font-size:38px}.hero-copy p{font-size:15px}.hero-visual{min-height:260px}.hero-phone{width:100px;height:190px;font-size:52px;right:20%;top:12%}.hero-charger{width:78px;height:78px;font-size:34px;right:56%;top:42%}.hero-earbuds{width:82px;height:82px;font-size:34px;right:8%;bottom:10%}.hero-orb{width:190px;height:190px;right:12%;top:18%}.hero-visual-title{left:18px;bottom:18px}.hero-visual-title strong{font-size:21px}.product-card .product-thumb,.product-image-placeholder,.woocommerce ul.products li.product .product-thumb{min-height:180px}.product-card .product-thumb img,.woocommerce ul.products li.product .product-thumb img{height:180px}}

/* Mobile Accessories 2.1 final visual fixes */
.hero-wrap{width:100%;padding:28px 0 18px;background:#f5f7f8}
.hero-wrap>.container{width:min(1240px,94%);margin:0 auto}
.hero{width:100%;max-width:1240px;margin:0 auto;min-height:430px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.hero-copy{min-width:0}
.hero-visual{min-width:0;display:flex;align-items:center;justify-content:center}
.hero-visual img.hero-custom-image{display:block;width:min(88%,520px);height:340px;object-fit:contain;object-position:center;margin:auto;filter:drop-shadow(0 22px 30px rgba(0,0,0,.14));position:relative;z-index:4}
.hero-visual.has-custom-image:before,.hero-visual.has-custom-image:after{display:none}
.hero-visual.has-custom-image{background:linear-gradient(145deg,#e9f8ef,#dfeee7)}
@media(max-width:760px){
 .hero-wrap{padding:10px 0}
 .hero-wrap>.container{width:94%}
 .hero{grid-template-columns:1fr;min-height:0}
 .hero-visual{min-height:280px;padding:18px}
 .hero-visual img.hero-custom-image{width:min(92%,420px);height:240px}
}

/* 2.1.1 featured + final hero centering */
.hero-wrap > .container{margin-left:auto!important;margin-right:auto!important;width:min(1240px,94%)!important}
.hero{margin-left:auto!important;margin-right:auto!important}
.hero-visual.has-custom-image{display:flex!important;align-items:center!important;justify-content:center!important}
.hero-visual.has-custom-image .hero-custom-image{margin:0 auto!important}


/* =========================================================
   MOBILE ACCESSORIES 2.1.2 - FINAL HERO CENTER FIX
   ========================================================= */
.hero-wrap{
  width:100% !important;
  box-sizing:border-box !important;
}
.hero-wrap > .container{
  width:min(1240px,94vw) !important;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}
.hero{
  width:100% !important;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}
.hero-copy{
  box-sizing:border-box !important;
}
.hero-visual{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  box-sizing:border-box !important;
}
.hero-visual.has-custom-image .hero-custom-image{
  display:block !important;
  width:min(88%,520px) !important;
  max-width:520px !important;
  height:340px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
}
@media (max-width: 768px){
  .hero-wrap > .container{
    width:94vw !important;
    max-width:94vw !important;
  }
  .hero{
    width:100% !important;
  }
  .hero-visual{
    min-height:280px !important;
    padding:18px !important;
  }
  .hero-visual.has-custom-image .hero-custom-image{
    width:min(92%,420px) !important;
    max-width:420px !important;
    height:240px !important;
  }
}


/* =========================================================
   MOBILE ACCESSORIES 2.1.3 - COMPACT TEMU-STYLE PRODUCT CARDS
   Original compact marketplace-inspired layout (not copied assets)
   ========================================================= */
.product-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
}
.product-card{
  min-width:0 !important;
  padding:8px !important;
  border-radius:12px !important;
  box-shadow:0 2px 10px rgba(15,23,42,.05) !important;
}
.product-card .product-thumb{
  min-height:165px !important;
  height:165px !important;
  border-radius:10px !important;
  background:#f7f8f9 !important;
}
.product-card .product-thumb img{
  height:165px !important;
  width:100% !important;
  object-fit:contain !important;
}
.product-image-placeholder{
  min-height:165px !important;
  height:165px !important;
  font-size:38px !important;
}
.product-card-body{padding:7px 3px 2px !important}
.product-card h3{
  font-size:14px !important;
  line-height:1.28 !important;
  margin:4px 0 5px !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
  min-height:36px !important;
}
.product-card .price{
  font-size:17px !important;
  line-height:1.15 !important;
  margin:2px 0 !important;
}
.product-card .stock-status{
  font-size:11px !important;
  line-height:1.2 !important;
  margin:3px 0 7px !important;
}
.card-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:5px !important;
}
.card-actions .button{
  width:100% !important;
  min-height:34px !important;
  height:34px !important;
  padding:6px 4px !important;
  border-radius:8px !important;
  font-size:11px !important;
  white-space:nowrap !important;
}
@media(max-width:1000px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:11px !important}
}
@media(max-width:760px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important}
  .product-card{padding:6px !important;border-radius:11px !important}
  .product-card .product-thumb{min-height:145px !important;height:145px !important;border-radius:9px !important}
  .product-card .product-thumb img{height:145px !important}
  .product-image-placeholder{min-height:145px !important;height:145px !important;font-size:32px !important}
  .product-card-body{padding:5px 2px 1px !important}
  .product-card h3{
    font-size:12px !important;
    line-height:1.25 !important;
    min-height:30px !important;
    -webkit-line-clamp:2 !important;
    margin:3px 0 4px !important;
  }
  .product-card .price{font-size:15px !important}
  .product-card .stock-status{font-size:10px !important;margin:2px 0 5px !important}
  .card-actions{gap:4px !important}
  .card-actions .button{min-height:32px !important;height:32px !important;font-size:10px !important;padding:5px 2px !important}
}


/* =========================================================
   MOBILE ACCESSORIES 2.1.5 - EXTRA COMPACT MARKETPLACE GRID
   ========================================================= */
.product-grid{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  align-items:start !important;
}
.product-grid > .product-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
  padding:6px !important;
  margin:0 !important;
}
.product-card .product-thumb{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:125px !important;
  min-height:125px !important;
  overflow:hidden !important;
}
.product-card .product-thumb img{
  width:100% !important;
  height:125px !important;
  max-height:125px !important;
  object-fit:contain !important;
}
.product-image-placeholder{
  width:100% !important;
  height:125px !important;
  min-height:125px !important;
}
.product-card-body{
  padding:5px 2px 1px !important;
}
.product-card h3{
  font-size:13px !important;
  line-height:1.22 !important;
  height:32px !important;
  min-height:32px !important;
  max-height:32px !important;
  margin:3px 0 4px !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
}
.product-card .price{
  font-size:15px !important;
  line-height:1.1 !important;
  min-height:17px !important;
  margin:2px 0 !important;
}
.product-card .stock-status{
  font-size:9px !important;
  line-height:1.1 !important;
  margin:2px 0 4px !important;
}
.card-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:3px !important;
}
.card-actions .button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-width:0 !important;
  min-height:29px !important;
  height:29px !important;
  padding:3px 2px !important;
  border-radius:7px !important;
  font-size:9px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
}
@media (max-width: 1000px){
  .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:9px !important;
  }
  .product-card .product-thumb,
  .product-card .product-thumb img,
  .product-image-placeholder{
    height:115px !important;
    min-height:115px !important;
    max-height:115px !important;
  }
}
@media (max-width: 760px){
  .section .container{
    width:calc(100% - 24px) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .product-grid{
    display:grid !important;
    width:100% !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
  }
  .product-grid > .product-card{
    width:100% !important;
  }
  .product-card{
    border-radius:9px !important;
    padding:5px !important;
  }
  .product-card .product-thumb,
  .product-card .product-thumb img,
  .product-image-placeholder{
    height:108px !important;
    min-height:108px !important;
    max-height:108px !important;
  }
  .product-card h3{
    font-size:11px !important;
    line-height:1.2 !important;
    height:27px !important;
    min-height:27px !important;
    max-height:27px !important;
    margin:3px 0 3px !important;
  }
  .product-card .price{
    font-size:14px !important;
    min-height:16px !important;
  }
  .product-card .stock-status{
    font-size:8px !important;
    margin:1px 0 3px !important;
  }
  .card-actions .button{
    min-height:27px !important;
    height:27px !important;
    font-size:8px !important;
    border-radius:6px !important;
  }
}

/* v2.1.6: euro symbol before amount */
.product-card .price, .woocommerce .price, .woocommerce div.product p.price, .woocommerce div.product span.price { direction:ltr; unicode-bidi:plaintext; }
