/*
Theme Name: Craplo Market Hub
Theme URI: https://craplo.com/
Author: Craplo
Description: A mobile-first Amazon-inspired digital marketplace for Craplo.com with compact logo header and WooCommerce product shelves.
Version: 1.0.8
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: craplo-market-hub
*/
:root{--navy:#111827;--blue:#2563eb;--orange:#f97316;--ink:#111827;--muted:#64748b;--bg:#f5f7fb;--border:#e5e7eb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.site-header{background:var(--navy);color:#fff}.header-inner{max-width:1240px;margin:auto;padding:12px 18px;display:flex;align-items:center;gap:14px}.brand{font-size:25px;font-weight:900;color:#fff;white-space:nowrap}.brand span{color:#fb923c}.header-tagline{font-size:11px;color:#cbd5e1;font-weight:500}.header-spacer{flex:1}.header-link{color:white;font-size:13px;font-weight:800;padding:8px}.store-search{display:flex;flex:1;max-width:460px;background:white;border-radius:9px;overflow:hidden}.store-search input[type=search]{border:0;outline:0;padding:10px;min-width:0;flex:1}.store-search button{border:0;background:var(--orange);color:white;padding:0 14px;font-weight:800}.main-nav{max-width:1240px;margin:auto;padding:0 18px 10px;display:flex;gap:8px;overflow:auto;white-space:nowrap}.main-nav a{font-size:13px;color:#e5e7eb;background:#1f2937;padding:7px 11px;border-radius:20px}.site-main{max-width:1240px;margin:auto;padding:16px}.hero-compact{background:linear-gradient(120deg,#111827,#1e3a8a);color:white;border-radius:14px;padding:18px 20px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.hero-compact h1{font-size:clamp(22px,4vw,32px);line-height:1.12;margin:0 0 7px;font-weight:900}.hero-compact p{margin:0;color:#dbeafe;font-size:14px}.hero-cta{background:var(--orange);color:white;border-radius:9px;padding:10px 14px;font-weight:800;white-space:nowrap}.shelf-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:20px 0 11px}.shelf-heading h2{font-size:22px;line-height:1.2;margin:0;font-weight:900}.shelf-heading>a{color:var(--blue);font-size:13px;font-weight:800}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.craplo-product{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 3px 12px #0f172a08}.product-image{aspect-ratio:1/.82;background:#eef2ff;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product-info{padding:11px;display:flex;flex:1;flex-direction:column;gap:7px}.craplo-product h3{font-size:15px;line-height:1.35;margin:0;font-weight:800}.product-price{font-weight:900;font-size:20px;color:#15803d}.product-price del{font-size:12px;color:#94a3b8;font-weight:500;margin-left:5px}.product-price ins{text-decoration:none}.product-actions{display:flex;gap:7px;margin-top:auto}.product-actions a{display:flex;justify-content:center;align-items:center;text-align:center;border-radius:8px;padding:9px 7px;font-size:12px;font-weight:800;flex:1}.btn-buy{background:var(--orange);color:white}.btn-view{border:1px solid var(--border)}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.trust-item{background:white;border:1px solid var(--border);border-radius:11px;padding:11px;font-size:12px}.trust-item strong{display:block;font-size:13px;margin-bottom:2px}.site-footer{background:#0b1220;color:#cbd5e1;margin-top:26px;padding:25px 18px 85px}.footer-inner{max-width:1240px;margin:auto}.footer-inner h2{color:white;font-size:18px;margin:0 0 8px}.footer-inner p{font-size:13px}.footer-links{display:flex;flex-wrap:wrap;gap:14px;font-size:13px}.mobile-bottom{display:none}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--orange);color:white;border-radius:8px;font-weight:800;padding:11px 15px}.woocommerce ul.products li.product{background:white;border:1px solid var(--border);border-radius:13px;padding:9px;overflow:hidden}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:800}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#15803d;font-weight:900}.woocommerce span.onsale{background:#dc2626;border-radius:5px;min-height:auto;min-width:auto;padding:6px 8px;line-height:1}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #cbd5e1;border-radius:8px;padding:10px}.woocommerce-checkout #payment{border-radius:12px}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-tagline{display:none}}
@media(max-width:600px){.header-inner{padding:9px 11px;gap:8px;flex-wrap:wrap}.brand{font-size:22px}.header-spacer{display:none}.header-link{font-size:12px;padding:6px}.store-search{order:3;flex-basis:100%;max-width:none}.main-nav{padding:0 11px 9px}.site-main{padding:11px}.hero-compact{padding:14px;border-radius:12px;align-items:flex-start;flex-direction:column;margin-bottom:13px}.hero-compact h1{font-size:23px}.hero-compact p{font-size:12px}.hero-cta{padding:9px 12px}.shelf-heading{margin:16px 0 9px}.shelf-heading h2{font-size:19px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.craplo-product{border-radius:10px}.product-info{padding:8px;gap:6px}.craplo-product h3{font-size:13px}.product-price{font-size:18px}.product-price del{font-size:11px}.product-actions{flex-direction:column;gap:5px}.product-actions a{padding:8px 5px;font-size:12px}.trust-row{gap:6px}.trust-item{padding:8px;font-size:10px}.trust-item strong{font-size:11px}.mobile-bottom{position:fixed;display:flex;left:0;right:0;bottom:0;z-index:99;background:#fff;border-top:1px solid var(--border);box-shadow:0 -4px 16px #0f172a12;padding:8px 4px calc(8px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-bottom a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;font-weight:800;color:#475569;min-width:50px}.mobile-bottom .nav-icon{font-size:18px;line-height:1.1}.woocommerce ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:7px}.woocommerce ul.products li.product .button{font-size:12px;padding:8px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}}

/* v1.4.0 brand logo and compact storefront refinements */
.brand{display:flex;align-items:center;gap:9px;font-size:0;letter-spacing:0}
.brand-logo{display:block;width:56px;height:56px;object-fit:contain;background:#fff;border-radius:50%;padding:2px;flex-shrink:0}
.brand-wordmark{font-size:23px;font-weight:900;letter-spacing:-.8px;line-height:1;color:#fff}
.brand-wordmark span{color:#fb923c}
.brand .header-tagline{font-size:11px;line-height:1.2;letter-spacing:0;color:#cbd5e1;margin-top:4px}
.brand-copy{display:flex;flex-direction:column}
.hero-compact{padding:15px 18px}
.hero-compact h1{font-size:clamp(20px,3.5vw,28px)}
.hero-compact p{font-size:13px}
.hero-cta{padding:9px 13px;font-size:14px}
@media(max-width:600px){
  .brand-logo{width:42px;height:42px}
  .brand-wordmark{font-size:20px}
  .brand .header-tagline{font-size:10px;margin-top:2px}
  .header-inner{gap:7px;padding:8px 10px}
  .header-link{font-size:11px;padding:6px}
  .hero-compact{padding:12px 13px;gap:8px;margin-bottom:12px}
  .hero-compact h1{font-size:20px;line-height:1.15}
  .hero-compact p{font-size:12px;line-height:1.4}
  .hero-cta{padding:8px 10px;font-size:12px}
  .shelf-heading{margin:14px 0 9px}
  .shelf-heading h2{font-size:18px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .craplo-product .product-image{aspect-ratio:1/0.78}
  .craplo-product .product-info{padding:8px}
  .craplo-product h3{font-size:12px;line-height:1.3}
  .product-price{font-size:17px}
  .product-actions a{font-size:11px;padding:8px 4px}
}

/* v1.5.0: compact marketplace layout, real logo, smaller cards */
.header-inner{padding-top:8px;padding-bottom:8px}
.brand-logo{width:54px;height:54px}
.brand-wordmark{font-size:22px}
.hero-compact{padding:12px 16px;margin-bottom:12px;min-height:0}
.hero-compact h1{font-size:clamp(18px,2.8vw,25px);line-height:1.12;margin-bottom:5px}
.hero-compact p{font-size:12px;line-height:1.35}
.hero-cta{padding:8px 11px;font-size:13px}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.craplo-product .product-image{aspect-ratio:1/0.78}
.craplo-product .product-info{padding:10px}
.craplo-product h3{font-size:14px;line-height:1.3}
.product-price{font-size:18px}
.product-actions{gap:5px}
.product-actions a{font-size:12px;padding:8px 5px}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}}
@media(max-width:600px){
 .header-inner{padding:7px 9px;gap:7px}
 .brand-logo{width:38px;height:38px}
 .brand-wordmark{font-size:18px}
 .brand .header-tagline{font-size:9px}
 .header-link{font-size:10px;padding:5px}
 .store-search input{padding:8px 10px;font-size:14px}
 .store-search button{padding:0 10px;font-size:13px}
 .main-nav{gap:6px;padding:0 9px 7px}
 .main-nav a{font-size:11px;padding:6px 9px}
 .site-main{padding:9px}
 .hero-compact{padding:10px 11px;gap:7px;border-radius:11px;margin-bottom:10px}
 .hero-compact h1{font-size:17px;line-height:1.15}
 .hero-compact p{font-size:11px;line-height:1.35}
 .hero-cta{padding:7px 9px;font-size:11px}
 .shelf-heading{margin:12px 0 8px}
 .shelf-heading h2{font-size:16px}
 .shelf-heading a{font-size:11px}
 .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .craplo-product{border-radius:9px}
 .craplo-product .product-image{aspect-ratio:1/0.82}
 .craplo-product .product-info{padding:6px;gap:5px}
 .craplo-product h3{font-size:10px;line-height:1.25}
 .product-price{font-size:13px;line-height:1.25}
 .product-price del{font-size:9px;margin-left:2px}
 .product-actions{flex-direction:column;gap:4px}
 .product-actions a{font-size:10px;padding:6px 3px;border-radius:6px}
 .trust-row{gap:5px;margin:12px 0}
 .trust-item{font-size:9px;padding:7px}
 .trust-item strong{font-size:10px}
 .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .woocommerce ul.products li.product{padding:5px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:11px}
 .woocommerce ul.products li.product .price{font-size:13px}
 .woocommerce ul.products li.product .button{font-size:10px;padding:7px 4px}
}

/* v1.6.0: fix oversized logo/header on mobile and hide unnecessary account link */
.site-header{overflow:hidden}
.header-inner{min-width:0;max-width:1240px}
.brand{min-width:0;flex:0 0 auto}
.brand-logo{width:46px;height:46px;max-width:46px;object-fit:contain}
.brand-copy{min-width:0}
.header-spacer{min-width:0}
@media(max-width:600px){
  .header-inner{display:flex;flex-wrap:nowrap;align-items:center;padding:7px 9px;gap:8px}
  .brand{gap:6px;max-width:56%;overflow:hidden}
  .brand-logo{width:36px;height:36px;max-width:36px;padding:1px}
  .brand-wordmark{font-size:17px;white-space:nowrap}
  .brand .header-tagline{font-size:9px;white-space:nowrap}
  .header-spacer{display:block;flex:1 1 auto}
  .header-link[href*="my-account"],.header-link[href*="myaccount"]{display:none!important}
  .header-link{white-space:nowrap;font-size:11px;padding:5px 6px}
  .store-search{order:initial;flex:1 1 100%;max-width:100%;min-width:0}
  .store-search input{min-width:0;width:0;flex:1 1 auto}
  .main-nav{max-width:100%;width:100%;overflow-x:auto;overscroll-behavior-x:contain}
  .site-main{width:100%;max-width:100%;min-width:0}
  .hero-compact{width:100%;max-width:100%;box-sizing:border-box}
  .product-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .craplo-product{min-width:0;width:100%}
  .craplo-product img{max-width:100%}
  .woocommerce,.woocommerce-page,.woocommerce-cart,.woocommerce-checkout{width:100%;max-width:100%;min-width:0}
  .woocommerce table.shop_table{width:100%;font-size:12px}
}

/* v1.7.0 mobile-first storefront: no giant logo, no horizontal overflow */
html,body{max-width:100%;overflow-x:hidden}
.site-header{width:100%;max-width:100%;overflow:hidden}
.header-inner{width:100%;max-width:1240px;min-width:0;margin:0 auto}
.brand{min-width:0;max-width:55%;display:flex;align-items:center;overflow:hidden}
.brand-logo{display:block!important;width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;object-fit:contain!important;background:#fff;border-radius:50%;padding:1px;flex-shrink:0}
.brand-wordmark{font-size:20px;white-space:nowrap}
.header-spacer{flex:1 1 auto;min-width:0}
.header-link[href*="my-account"],.header-link[href*="myaccount"]{display:none!important}
.header-link{flex-shrink:0}
.store-search{min-width:0}
.site-main{width:100%;max-width:1240px;min-width:0}
.hero-compact{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.craplo-product{min-width:0;max-width:100%}
@media(max-width:600px){
 .header-inner{display:flex;flex-wrap:wrap;padding:7px 10px;gap:7px}
 .brand{max-width:calc(100% - 100px);flex:1 1 auto}
 .brand-logo{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}
 .brand-wordmark{font-size:18px}
 .header-spacer{display:none}
 .header-link{font-size:11px;padding:5px 7px}
 .store-search{order:3;display:flex;flex:1 1 100%;width:100%;max-width:100%}
 .store-search input{width:0;min-width:0;flex:1 1 auto;padding:9px 10px}
 .store-search button{flex:0 0 auto;padding:0 12px}
 .main-nav{width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto;flex-wrap:nowrap}
 .site-main{padding:10px}
 .hero-compact{padding:11px 12px;margin-bottom:12px;gap:8px}
 .hero-compact h1{font-size:19px;line-height:1.15}
 .hero-compact p{font-size:12px;line-height:1.35}
 .hero-cta{font-size:12px;padding:8px 10px}
 .shelf-heading h2{font-size:17px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .craplo-product .product-image{aspect-ratio:1/0.8}
 .craplo-product .product-info{padding:8px}
 .craplo-product h3{font-size:12px}
 .product-price{font-size:16px}
 .product-actions{flex-direction:column}
 .product-actions a{font-size:11px;padding:7px 4px}
 .trust-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .trust-item{padding:7px;font-size:10px}
 .trust-item strong{font-size:10px}
 .woocommerce,.woocommerce-page,.woocommerce-cart,.woocommerce-checkout{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere}
 .woocommerce table.shop_table{width:100%;font-size:12px}
 .woocommerce ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0}
}

/* v1.8.0 mobile hamburger navigation */
.header-menu-toggle{display:none;border:0;border-radius:8px;background:#253044;color:#fff;width:40px;height:38px;align-items:center;justify-content:center;flex:0 0 40px;cursor:pointer;font-size:25px;line-height:1}
.mobile-menu-panel{display:none;background:#111827;color:#fff;padding:10px 12px;border-top:1px solid #334155}
.mobile-menu-panel.is-open{display:block}
.mobile-menu-panel a{display:block;padding:11px 10px;border-radius:8px;color:#f8fafc;font-weight:700;border-bottom:1px solid #273449}
.mobile-menu-panel a:last-child{border-bottom:0}
@media(max-width:600px){
 .header-inner{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
 .brand{max-width:calc(100% - 50px);flex:1 1 auto}
 .header-menu-toggle{display:flex}
 .header-link{display:none!important}
 .store-search{order:3;flex:1 1 100%;width:100%;max-width:100%}
 .main-nav{display:none!important}
}

/* Craplo Marketplace v2.0.0: Amazon-inspired compact mobile UI */
:root{--craplo-navy:#101b2d;--craplo-orange:#ff7a00;--craplo-bg:#f3f5f8;--craplo-green:#087a35}
html,body{max-width:100%;overflow-x:hidden}
.site-header{background:#101b2d;color:#fff;overflow:visible}
.header-inner{display:flex;align-items:center;gap:10px;padding:10px 14px;max-width:1280px;margin:auto;min-width:0}
.brand{display:flex;align-items:center;gap:7px;max-width:none;min-width:0;overflow:hidden;flex:0 0 auto}
.brand-logo{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;object-fit:contain!important;background:#fff;border-radius:50%;padding:1px;flex-shrink:0}
.brand-wordmark{font-size:20px;white-space:nowrap;color:#fff;letter-spacing:-.5px}
.brand-wordmark span{color:#ff7a00}
.header-spacer{flex:1;min-width:0}
.header-menu-toggle{display:flex;width:38px;height:38px;flex:0 0 38px;background:transparent;border:1px solid #3b4a60;color:#fff;border-radius:8px;align-items:center;justify-content:center;font-size:23px;cursor:pointer}
.header-link{display:flex;align-items:center;color:#fff;font-size:13px;padding:7px 9px;white-space:nowrap}
.store-search{display:flex;max-width:520px;flex:1 1 360px;border-radius:9px;overflow:hidden}
.store-search input{padding:10px 12px;font-size:14px;min-width:0}
.store-search button{background:#ff7a00;padding:0 15px;font-size:14px}
.main-nav{max-width:1280px;margin:auto;padding:0 14px 10px;gap:7px}
.main-nav a{background:#1e2c41;border-radius:7px;padding:7px 11px;font-size:12px}
.mobile-menu-panel{max-width:1280px;margin:auto}
.site-main{max-width:1280px;padding:14px;width:100%;min-width:0}
.hero-compact{padding:16px 18px;border-radius:12px;margin-bottom:14px;min-height:0;background:linear-gradient(110deg,#0b1730,#153b83);display:flex;align-items:center;justify-content:space-between;gap:12px}
.hero-compact h1{font-size:clamp(20px,3vw,29px);line-height:1.15;margin-bottom:6px}
.hero-compact p{font-size:13px;line-height:1.4}
.hero-cta{background:#ff7a00;border-radius:8px;padding:10px 14px;font-size:13px}
.shelf-heading{margin:17px 0 10px}
.shelf-heading h2{font-size:20px}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.craplo-product{border-radius:11px;box-shadow:0 2px 7px rgba(15,23,42,.05)}
.craplo-product .product-image{aspect-ratio:1/0.78;background:#fff}
.craplo-product .product-image img{object-fit:contain;mix-blend-mode:normal}
.craplo-product .product-info{padding:10px;gap:7px}
.craplo-product h3{font-size:13px;line-height:1.35}
.product-price{font-size:18px;color:#087a35}
.product-price del{font-size:12px}
.product-actions a{font-size:12px;padding:9px 7px;border-radius:7px}
.btn-buy{background:#ff7a00}
.btn-view{background:#fff}
.trust-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.trust-item{font-size:12px}
.site-footer{padding-bottom:80px}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}
@media(max-width:900px){
 .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 .header-inner{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:8px 10px}
 .header-menu-toggle{grid-column:1;grid-row:1}
 .brand{grid-column:2;grid-row:1;max-width:100%;min-width:0}
 .brand-logo{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important}
 .brand-wordmark{font-size:18px}
 .header-spacer{display:none}
 .header-link{display:flex;font-size:11px;padding:5px 7px;grid-column:3;grid-row:1}
 .store-search{grid-column:1/-1;grid-row:2;width:100%;max-width:100%;flex:1 1 100%;min-width:0}
 .store-search input{width:0;min-width:0;flex:1 1 auto;padding:10px}
 .store-search button{padding:0 13px}
 .main-nav{display:none!important}
 .mobile-menu-panel{display:none}
 .mobile-menu-panel.is-open{display:block}
 .site-main{padding:10px}
 .hero-compact{padding:12px;gap:9px;align-items:flex-start}
 .hero-compact h1{font-size:19px}
 .hero-compact p{font-size:11px}
 .hero-cta{font-size:11px;padding:8px 10px;white-space:nowrap}
 .shelf-heading{margin:14px 0 9px}
 .shelf-heading h2{font-size:17px}
 .shelf-heading a{font-size:11px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .craplo-product .product-info{padding:8px;gap:6px}
 .craplo-product h3{font-size:12px}
 .product-price{font-size:16px}
 .product-actions{flex-direction:column;gap:5px}
 .product-actions a{font-size:11px;padding:8px 5px}
 .trust-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .trust-item{font-size:11px;padding:9px}
 .trust-item strong{font-size:12px}
 .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .woocommerce ul.products li.product{padding:7px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px}
 .woocommerce ul.products li.product .button{font-size:11px;padding:8px 5px}
 .woocommerce table.shop_table{font-size:12px;width:100%}
 .mobile-bottom{display:flex}
}

/* v1.0.2: mobile-friendly checkout, editable cart and de-duplicated notices */
.woocommerce-checkout .site-main,
.woocommerce-cart .site-main{max-width:980px}
.woocommerce-checkout h1,
.woocommerce-cart h1{font-size:clamp(25px,5vw,38px);margin:14px 0 18px}
.woocommerce-checkout .woocommerce form .form-row{margin:0 0 10px;padding:0}
.woocommerce-checkout .woocommerce form .form-row label{font-size:13px;font-weight:700;margin-bottom:4px}
.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row select,
.woocommerce-checkout .woocommerce form .form-row textarea{min-height:44px;padding:9px 11px;font-size:15px;border-radius:8px}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3{font-size:19px;margin:14px 0 10px}
.woocommerce-checkout #order_review_heading{font-size:19px}
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment{border-radius:10px}
.woocommerce-checkout #place_order{width:100%;min-height:48px;font-size:16px}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:7px}
.woocommerce a.remove{display:inline-flex!important;align-items:center;justify-content:center;min-width:28px;min-height:28px;color:#b91c1c!important;font-size:22px!important}
.woocommerce .cart_item .product-remove{width:34px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:9px;padding:12px 14px 12px 42px;margin:10px 0;font-size:14px;line-height:1.45}
.woocommerce-notices-wrapper+.woocommerce-notices-wrapper{display:none!important}
@media(max-width:600px){
 .woocommerce-checkout .site-main,.woocommerce-cart .site-main{padding:10px}
 .woocommerce-checkout h1,.woocommerce-cart h1{font-size:27px;margin:10px 0 14px}
 .woocommerce-checkout .woocommerce form .form-row{width:100%;float:none;clear:both}
 .woocommerce-checkout .woocommerce form .form-row label{font-size:12px}
 .woocommerce-checkout .woocommerce form .form-row input.input-text,
 .woocommerce-checkout .woocommerce form .form-row select,
 .woocommerce-checkout .woocommerce form .form-row textarea{min-height:43px;font-size:15px;padding:8px 10px}
 .woocommerce-checkout #order_review table.shop_table,
 .woocommerce-cart table.shop_table{font-size:12px;width:100%}
 .woocommerce-checkout #payment .payment_methods li label{font-size:13px}
 .woocommerce-checkout #place_order{min-height:46px}
 .woocommerce-cart .wc-proceed-to-checkout a.checkout-button{width:100%;text-align:center}
 .woocommerce-cart table.cart td.actions .coupon{flex-wrap:wrap}
 .woocommerce-cart table.cart td.actions .coupon .input-text{width:100%!important}
 .woocommerce-cart .cart_item .product-name{font-size:13px}
 .woocommerce-cart .cart_item .product-remove{width:30px}
}

/* v1.0.4: prevent add-to-cart success banners from cluttering product pages */
.woocommerce-notices-wrapper:empty{display:none!important}
.woocommerce-message:has(a.wc-forward){display:none!important}

.craplo-buy-now-form{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
.craplo-qty-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;font-weight:700;color:#334155}
.craplo-qty{width:66px!important;min-height:34px!important;border:1px solid #cbd5e1!important;border-radius:7px!important;background:#fff!important;color:#111827!important;padding:5px!important;font-size:14px!important}
.craplo-buy-now-form .btn-buy{width:100%;border:0;cursor:pointer}
@media(max-width:600px){.craplo-buy-now-form{gap:5px}.craplo-qty-label{font-size:11px}.craplo-qty{width:62px!important;min-height:32px!important}}

/* v1.0.6: keep product cards compact with only Buy Now and Details buttons. */
