*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,"Noto Sans Bengali",sans-serif;color:var(--text);background:var(--page-bg)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.container{width:min(1320px,calc(100% - 40px));margin:auto}.topbar{padding:17px 0 10px}.topbar-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;font-size:14px}.desktop-logo{display:flex;align-items:center;gap:8px;font-size:24px}.desktop-logo img,.mobile-logo img{height:38px;width:auto}.logo-mark{width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:900}.top-icons{justify-self:end;display:flex;gap:22px;font-size:21px}.badge{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:#111;color:#fff;font-size:10px;vertical-align:top}.nav{border-bottom:1px solid #f2f2f2}.nav-inner{display:flex;justify-content:center;gap:42px;padding:15px 0;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.nav a:hover{color:var(--brand)}.mobile-head,.mobile-menu,.mobile-bottom{display:none}.hero-wrap{padding-top:0}.hero{min-height:460px;border-radius:10px;background:var(--hero-bg);display:flex;align-items:center;padding:60px;background-size:cover;background-position:center}.hero-copy{max-width:580px}.hero h1{font-size:58px;line-height:1.03;margin:12px 0 20px}.hero p{font-size:18px;line-height:1.7;color:var(--muted)}.eyebrow{color:var(--brand);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.btn{appearance:none;border:1px solid #ddd;background:#fff;border-radius:8px;padding:11px 18px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{filter:brightness(.94)}.btn.outline{border-color:var(--brand);color:var(--brand);background:#fff}.btn.full{width:100%}.btn.small{padding:7px 12px;font-size:13px}.btn.large{padding:14px 24px}.section{padding:54px 0}.section-title{font-size:24px;text-align:center;margin:0 0 30px}.section-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.section-row .section-title{margin:0;text-align:left}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}.category-card{background:var(--category-bg);border-radius:8px;padding:24px;text-align:center;min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.04)}.category-icon{font-size:42px;margin-bottom:12px}.category-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:8px}.category-links a{font-size:12px;color:#4b5563}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{border-radius:14px;background:var(--card-bg);overflow:hidden;box-shadow:0 8px 28px rgba(22,34,51,.08);display:flex;flex-direction:column;min-width:0}.product-image{position:relative;aspect-ratio:1/1;overflow:hidden;background:#f6f6f6}.product-image img{width:100%;height:100%;object-fit:cover;transition:.25s}.product-card:hover .product-image img{transform:scale(1.025)}.image-placeholder{height:100%;display:grid;place-items:center;color:#999;background:linear-gradient(135deg,#f3f4f6,#fff)}.sale-badge{position:absolute;left:12px;top:12px;background:var(--sale);color:#fff;font-size:12px;padding:5px 8px;border-radius:6px}.product-body{padding:14px;display:flex;flex-direction:column;gap:12px;flex:1}.product-name{font-weight:700;line-height:1.35;min-height:42px}.price-row{display:flex;gap:8px;align-items:center;justify-content:center}.price-row strong{font-size:17px}.price-row del{color:#9ca3af;font-size:13px}.breadcrumb{background:#f8f8f8;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:15px 0;color:#666;font-size:13px}.breadcrumb span{margin:0 10px;color:#bbb}.shop-layout{display:grid;grid-template-columns:260px 1fr;gap:34px;padding:34px 0 60px}.category-sidebar{border-right:1px solid #eee;padding-right:22px;display:flex;flex-direction:column;gap:11px}.category-sidebar h3{margin:0 0 8px}.category-sidebar b{margin-top:8px}.category-sidebar a{font-size:14px;color:#444;padding-left:10px}.category-sidebar a:hover{color:var(--brand)}.page-title{margin:0 0 4px;font-size:28px}.pagination{display:flex;gap:8px;justify-content:center;margin-top:28px}.pagination a,.pagination span,.pagination strong{min-width:36px;height:36px;border:1px solid #ddd;border-radius:7px;display:grid;place-items:center}.pagination strong{background:var(--brand);color:#fff;border-color:var(--brand)}.product-detail{display:grid;grid-template-columns:1.05fr 1fr;gap:42px;padding:30px 0 40px}.gallery{display:grid;grid-template-columns:78px 1fr;gap:12px}.thumbs{display:flex;flex-direction:column;gap:10px;max-height:650px;overflow:auto}.thumb{padding:0;border:2px solid transparent;background:#fff;border-radius:7px;overflow:hidden;cursor:pointer}.thumb.active{border-color:var(--brand)}.thumb img{width:76px;height:76px;object-fit:cover}.main-media{aspect-ratio:1/1;background:#f5f6f7;border-radius:10px;overflow:hidden}.main-media img{width:100%;height:100%;object-fit:contain}.product-info{padding-top:8px}.product-info h1{font-size:32px;line-height:1.25;margin:0 0 15px}.stock{display:inline-block;padding:6px 10px;border-radius:6px;font-size:13px;background:#eefbf2;color:#087f37}.stock.out{background:#fff0f0;color:#a41313}.detail-price{font-size:29px;font-weight:800;margin:22px 0}.detail-price del{font-size:16px;color:#999;margin-left:8px}.short-desc{font-size:16px;line-height:1.65;color:#444}.order-bar{display:flex;gap:14px;margin:26px 0 16px}.qty{display:flex;border:1px solid #ddd;border-radius:7px;overflow:hidden}.qty button{width:42px;border:0;background:#fff;cursor:pointer}.qty input{width:46px;border:0;text-align:center}.grow{flex:1}.trust-line{background:#f4fff7;border-radius:8px;padding:13px;color:#315b3d;font-size:14px}.product-description{padding:18px 0 54px}.description-tabs{border:1px solid #e5e7eb;border-radius:8px 8px 0 0;padding:16px;background:#fafafa}.rich-content{font-size:16px;line-height:1.85;padding:25px 4px;overflow-wrap:anywhere}.rich-content img,.rich-content video,.rich-content iframe{max-width:100%;height:auto;border-radius:8px}.rich-content iframe{aspect-ratio:16/9;width:100%}.product-video{width:min(820px,100%);margin:24px auto;display:block;border-radius:10px}.narrow{max-width:850px}.empty-state,.success-card{text-align:center;border:1px solid #eee;border-radius:14px;padding:50px;background:#fff}.cart-list{display:flex;flex-direction:column;border:1px solid #eee;border-radius:12px;overflow:hidden}.cart-line{display:flex;gap:14px;align-items:center;padding:15px;border-bottom:1px solid #eee}.cart-line:last-child{border-bottom:0}.cart-line img{width:76px;height:76px;object-fit:cover;border-radius:8px}.inline-form{display:flex;gap:6px}.mini-input{width:65px;padding:8px;border:1px solid #ddd;border-radius:6px}.remove-btn{width:32px;height:32px;border:0;border-radius:50%;background:#fff0f0;color:#e11d48;cursor:pointer}.cart-summary{margin-left:auto;margin-top:22px;width:min(380px,100%);border:1px solid #eee;border-radius:12px;padding:18px}.cart-summary>div{display:flex;justify-content:space-between;margin-bottom:16px}.checkout-bg{background:rgba(33,20,20,.88);padding:26px 15px;min-height:70vh}.checkout-card{width:min(560px,100%);margin:auto;background:#fff;border-radius:13px;padding:18px}.checkout-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding-bottom:12px}.checkout-head h1{font-size:22px;margin:0}.checkout-head a{font-size:28px;color:#777}.form-icon-row{display:grid;grid-template-columns:44px 1fr;border:1px solid #ddd;border-radius:8px;overflow:hidden;margin:10px 0}.form-icon-row span{display:grid;place-items:center;background:#f6f6f6}.form-icon-row input,.form-icon-row textarea{border:0;padding:12px;outline:0}.form-icon-row textarea{min-height:70px;resize:vertical}.checkout-lines>div,.totals>div,.shipping-choice{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eee}.totals .grand{font-size:20px;border-bottom:0}.shipping-choice{border:1px solid #ddd;border-radius:8px;padding:12px;margin:8px 0;cursor:pointer}.field{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;margin:12px 0;min-height:70px}.checkout-submit{font-size:16px;padding:15px}.success-icon{width:70px;height:70px;border-radius:50%;background:var(--brand);color:#fff;font-size:42px;display:grid;place-items:center;margin:0 auto 18px}.footer{background:var(--brand-dark);color:#fff;padding:44px 0 0;margin-top:40px}.footer-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:45px}.footer h3{font-size:15px;margin:0 0 18px;text-transform:uppercase}.footer p,.footer-link,.socials a{display:block;color:#f4f7f8;font-size:14px;line-height:1.7;margin:8px 0}.copyright{text-align:center;padding:30px;border-top:1px solid rgba(255,255,255,.1);margin-top:30px;font-size:13px}.socials{display:flex;gap:12px}.socials a{display:inline-block}.menu-label{font-weight:800;margin-top:10px}
@media(max-width:1000px){.nav-inner{gap:18px}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:44px}.shop-layout{grid-template-columns:220px 1fr}}
@media(max-width:720px){body{padding-bottom:62px}.desktop-nav,.topbar{display:none}.mobile-head{position:sticky;top:0;z-index:60;height:58px;display:grid;grid-template-columns:50px 1fr 50px;align-items:center;padding:0 12px;background:#fff;border-bottom:1px solid #eee}.mobile-logo{justify-self:center}.mobile-logo img{height:30px}.icon-btn{border:0;background:transparent;font-size:22px}.mobile-menu{display:flex;position:fixed;z-index:70;top:58px;left:0;bottom:62px;width:min(300px,85vw);background:#fff;transform:translateX(-105%);transition:.2s;box-shadow:10px 0 30px rgba(0,0,0,.12);padding:16px;overflow:auto;flex-direction:column;gap:13px}.menu-open .mobile-menu{transform:translateX(0)}.mobile-bottom{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:80;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #ddd;height:62px}.mobile-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;gap:2px}.mobile-bottom span{font-size:20px}.container{width:min(100% - 24px,680px)}.hero-wrap{width:100%}.hero{min-height:310px;border-radius:0;padding:32px 20px;background-image:none!important}.hero h1{font-size:34px}.hero p{font-size:15px}.section{padding:34px 0}.category-grid{grid-template-columns:repeat(2,1fr);gap:12px}.category-card{padding:14px;min-height:118px}.category-icon{font-size:33px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-body{padding:10px}.product-name{font-size:13px;min-height:38px}.price-row strong{font-size:15px}.btn{padding:10px 12px}.shop-layout{display:block;padding:20px 0 35px}.category-sidebar{display:none}.breadcrumb{white-space:nowrap;overflow:auto}.product-detail{display:block;padding-top:18px}.gallery{grid-template-columns:42px 1fr;gap:7px}.thumb img{width:40px;height:52px}.main-media{border-radius:4px}.product-info h1{font-size:17px;margin-top:16px}.detail-price{font-size:22px;margin:16px 0}.short-desc{font-size:14px}.order-bar{gap:8px;margin:16px 0}.qty button{width:30px}.qty input{width:30px}.trust-line{font-size:12px}.product-description{padding-bottom:30px}.rich-content{font-size:14px}.footer{display:none}.cart-line{align-items:flex-start;flex-wrap:wrap}.inline-form{margin-left:90px}.checkout-bg{padding:8px;min-height:calc(100vh - 120px)}.checkout-card{border-radius:10px;padding:12px}.checkout-head h1{font-size:18px}.footer-grid{grid-template-columns:1fr}.page-title{font-size:22px}}

/* Rich product content v1.4 */
.rich-content-short{font-size:16px;line-height:1.65;color:#444;overflow-wrap:anywhere}.rich-content-short>*:first-child{margin-top:0}.rich-content-short>*:last-child{margin-bottom:0}.rich-content-short img,.rich-content-short video,.rich-content-short iframe,.rich-content img,.rich-content video,.rich-content iframe{max-width:100%}.rich-content-short img,.rich-content img{height:auto}.rich-content-short iframe,.rich-content iframe{width:100%;aspect-ratio:16/9;border:0}.rich-content-short video,.rich-content video{width:100%;height:auto}.rich-content-short table,.rich-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.rich-content-short th,.rich-content-short td,.rich-content th,.rich-content td{border:1px solid #e3e7eb;padding:8px}.rich-content-short blockquote,.rich-content blockquote{margin:18px 0;padding:10px 16px;border-left:4px solid var(--brand);background:#f7faf8}

.rich-content-short .editor-media,.rich-content .editor-media{margin:18px 0}.rich-content-short .editor-video-wrap,.rich-content .editor-video-wrap{width:min(900px,100%);margin:18px auto}.rich-content-short .editor-video-wrap iframe,.rich-content .editor-video-wrap iframe,.rich-content-short .editor-video-wrap video,.rich-content .editor-video-wrap video{display:block;width:100%;border:0;border-radius:8px;background:#000}.rich-content-short figure,.rich-content figure{max-width:100%}

/* Quick order + popup checkout v1.6.1 */
.quick-checkout-modal{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:28px}.quick-checkout-modal.open{display:flex}.quick-checkout-backdrop{position:absolute;inset:0;border:0;background:rgba(16,24,28,.68);cursor:pointer;backdrop-filter:blur(2px)}.quick-checkout-sheet{position:relative;z-index:1;width:min(980px,calc(100vw - 56px));max-height:calc(100vh - 56px);overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.28);animation:quickCheckoutPop .2s ease-out}.quick-checkout-loading{padding:32px;font-weight:700}.quick-checkout-sheet-inner{min-height:100%;padding:20px 22px 24px}.quick-checkout-head{position:sticky;top:0;z-index:5;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:-20px -22px 18px;padding:18px 22px 15px;background:#fff;border-bottom:1px solid #e7eaec;border-radius:16px 16px 0 0}.quick-checkout-head h2{margin:0;font-size:22px}.quick-checkout-head p{margin:5px 0 0;color:#667085;font-size:13px}.quick-checkout-close{width:36px;height:36px;flex:0 0 36px;border:0;border-radius:50%;background:#f2f4f5;color:#475467;font-size:25px;line-height:1;cursor:pointer}.quick-checkout-close:hover{background:#e9edef}.quick-checkout-errors{margin:0 0 14px;padding:12px 14px;border:1px solid #f7b9b9;border-radius:8px;background:#fff2f2;color:#a71919;font-size:13px}.quick-checkout-errors ul{margin:7px 0 0;padding-left:20px}.quick-checkout-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:24px;align-items:start}.quick-checkout-customer,.quick-checkout-order-summary{min-width:0}.quick-checkout-order-summary{position:sticky;top:76px;padding:16px;border:1px solid #e8ebee;border-radius:12px;background:#fafbfb}.quick-panel-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:10px}.quick-panel-title h3,.quick-cart-title h3,.shipping-title{margin:0;font-size:15px}.quick-panel-title span,.quick-cart-title span{font-size:12px;color:#667085}.quick-checkout-fields .form-icon-row{margin:9px 0}.quick-cart-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 9px}.quick-cart-items{border:1px solid #e6e8eb;border-radius:10px;overflow:hidden;background:#fff;max-height:300px;overflow-y:auto}.quick-cart-item{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #eceef0}.quick-cart-item:last-child{border-bottom:0}.quick-cart-image{width:62px;height:62px;border-radius:7px;overflow:hidden;background:#f6f7f8}.quick-cart-image img{width:100%;height:100%;object-fit:cover}.quick-cart-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.quick-cart-copy b{font-size:13px;line-height:1.35}.quick-cart-copy small{font-size:10px;color:#98a2b3;overflow:hidden;text-overflow:ellipsis}.quick-cart-copy span{font-size:12px;color:#475467}.quick-cart-item>strong{font-size:13px;white-space:nowrap}.quick-checkout-totals{margin:12px 0 14px;border:1px solid #e6e8eb;border-radius:10px;padding:3px 12px;background:#fff}.quick-checkout-totals>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #eef0f2}.quick-checkout-totals>div:last-child{border-bottom:0}.quick-checkout-totals .grand{font-size:18px}.quick-checkout-form .shipping-choice span{display:flex;align-items:center;gap:8px}.quick-note{min-height:72px}.quick-checkout-submit{margin-top:8px;padding:14px 16px;font-size:15px}.quick-order-error{position:fixed;left:50%;bottom:28px;z-index:260;transform:translateX(-50%);max-width:min(520px,calc(100vw - 28px));padding:12px 16px;border-radius:8px;background:#991b1b;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.2)}body.quick-checkout-open{overflow:hidden}@keyframes quickCheckoutPop{from{transform:translateY(14px) scale(.985);opacity:.4}to{transform:translateY(0) scale(1);opacity:1}}

.mobile-sticky-order{display:none}

@media(max-width:900px) and (min-width:721px){.quick-checkout-sheet{width:min(720px,calc(100vw - 40px))}.quick-checkout-layout{grid-template-columns:1fr}.quick-checkout-order-summary{position:static}.quick-cart-items{max-height:none}}

@media(max-width:720px){
  .quick-checkout-modal{align-items:flex-end;justify-content:center;padding:0}
  .quick-checkout-sheet{width:100%;height:auto;max-height:calc(100vh - 10px);border-radius:16px 16px 0 0;box-shadow:0 -15px 40px rgba(0,0,0,.25);animation:quickCheckoutUp .22s ease-out}
  .quick-checkout-sheet-inner{padding:14px 12px 16px}
  .quick-checkout-head{margin:-14px -12px 12px;padding:14px 12px 12px;border-radius:16px 16px 0 0}
  .quick-checkout-head h2{font-size:18px}
  .quick-checkout-head p{font-size:11px}
  .quick-checkout-layout{display:block}
  .quick-checkout-order-summary{position:static;padding:0;border:0;background:#fff;margin-top:16px}
  .quick-checkout-fields .form-icon-row{margin:8px 0}
  .quick-cart-items{max-height:none}
  .quick-cart-item{grid-template-columns:52px minmax(0,1fr) auto;padding:8px}
  .quick-cart-image{width:52px;height:52px}
  .quick-checkout-submit{position:sticky;bottom:-1px;z-index:4;margin-top:12px;box-shadow:0 -8px 18px rgba(255,255,255,.9)}
  .mobile-sticky-order{position:fixed;left:0;right:0;bottom:62px;z-index:75;display:flex;align-items:center;gap:10px;padding:8px 12px;background:rgba(255,255,255,.98);border-top:1px solid #e5e7eb;box-shadow:0 -8px 22px rgba(0,0,0,.08);transform:translateY(130%);opacity:0;pointer-events:none;transition:transform .2s ease,opacity .2s ease}
  .mobile-sticky-order.visible{transform:translateY(0);opacity:1;pointer-events:auto}
  .mobile-sticky-price{display:flex;flex-direction:column;min-width:88px}
  .mobile-sticky-price small{font-size:10px;color:#667085}
  .mobile-sticky-price strong{font-size:16px}
  .mobile-sticky-order-button{flex:1;padding:12px 16px;font-weight:800}
  body.quick-checkout-open .mobile-sticky-order{transform:translateY(130%);opacity:0;pointer-events:none}
}
@keyframes quickCheckoutUp{from{transform:translateY(100%)}to{transform:translateY(0)}}

/* Trendy Deal BD logo size fix */
.desktop-logo img{
    height:62px;
    width:auto;
    max-width:280px;
    object-fit:contain;
}

@media(max-width:720px){
    .mobile-logo img{
        height:40px;
        width:auto;
        max-width:190px;
        object-fit:contain;
    }
}


/* Dynamic multi-store theme palette */
.product-card,.checkout-card,.empty-state,.success-card,.quick-checkout-sheet,.quick-checkout-order-summary{background:var(--card-bg)}
.hero{background-color:var(--hero-bg)}
.category-card{background:var(--category-bg)}
body,.product-name,.page-title,.section-title,.product-info h1{color:var(--text)}
.hero p,.category-links a,.short-desc,.quick-panel-title span,.quick-cart-title span{color:var(--muted)}
.sale-badge{background:var(--sale)}
.badge{background:var(--accent)}
.nav a:hover,.category-sidebar a:hover,.eyebrow{color:var(--brand)}


/* Storefront product search */
.storefront-search-section{padding:28px 0 0}
.storefront-search-form{width:100%}
.storefront-search-form>small{display:block;margin-top:7px;color:var(--muted);font-size:12px}
.storefront-search-box{display:flex;align-items:center;width:100%;min-height:52px;border:1px solid #dfe3e8;border-radius:12px;background:var(--card-bg);box-shadow:0 6px 20px rgba(22,34,51,.05);overflow:hidden}
.storefront-search-icon{flex:0 0 46px;display:grid;place-items:center;color:var(--muted);font-size:22px}
.storefront-search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:13px 8px;font-size:15px;color:var(--text)}
.storefront-search-box input::placeholder{color:#98a2b3}
.storefront-search-box .btn{margin:5px;border-radius:9px;min-width:92px}
.storefront-search-clear{flex:0 0 34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#667085;background:#f2f4f7;font-size:21px;margin-right:2px}
.shop-results{min-width:0}
.shop-toolbar{display:grid;grid-template-columns:minmax(150px,.45fr) minmax(320px,1fr);align-items:center;gap:22px;margin-bottom:26px}
.shop-result-count{font-size:15px}
.shop-result-count span{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.shop-search-form{max-width:680px;justify-self:end}
.shop-search-empty{margin-top:10px}
@media(max-width:900px){
  .shop-toolbar{grid-template-columns:1fr;gap:12px}
  .shop-search-form{max-width:none;justify-self:stretch}
}
@media(max-width:720px){
  .storefront-search-section{padding:18px 0 0}
  .storefront-search-box{min-height:48px;border-radius:10px}
  .storefront-search-icon{flex-basis:38px;font-size:19px}
  .storefront-search-box input{padding:11px 4px;font-size:13px}
  .storefront-search-box .btn{min-width:auto;padding:10px 13px}
  .shop-toolbar{margin-bottom:18px}
}


/* Modern storefront search redesign */
.modern-search-form{max-width:760px;margin:0 auto}
.modern-search-box{
  display:flex;
  align-items:center;
  width:100%;
  min-height:60px;
  padding:6px;
  border:1px solid color-mix(in srgb,var(--brand) 22%,#dfe3e8);
  border-radius:18px;
  background:color-mix(in srgb,var(--card-bg) 96%,var(--brand) 4%);
  box-shadow:0 12px 34px color-mix(in srgb,var(--brand) 12%,transparent);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease;
}
.modern-search-box:focus-within{
  border-color:var(--brand);
  box-shadow:0 16px 42px color-mix(in srgb,var(--brand) 20%,transparent);
  transform:translateY(-1px);
  background:var(--card-bg);
}
.modern-search-icon{
  flex:0 0 48px;
  display:grid;
  place-items:center;
  color:var(--brand);
}
.modern-search-input{
  min-width:0;
  flex:1;
  height:46px;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  padding:0 10px!important;
  color:var(--text);
  font-size:15px;
  line-height:1.2;
}
.modern-search-input::placeholder{color:color-mix(in srgb,var(--muted) 72%,white)}
.modern-search-btn{
  height:48px;
  padding:0 24px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--brand),color-mix(in srgb,var(--brand) 78%,var(--brand-dark)));
  color:#fff;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 8px 20px color-mix(in srgb,var(--brand) 22%,transparent);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.modern-search-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px color-mix(in srgb,var(--brand) 28%,transparent);filter:brightness(.98)}
.modern-search-help{display:block;margin:9px 4px 0!important;color:var(--muted)!important;font-size:13px!important}
.shop-search-form{max-width:760px}
.shop-search-form .modern-search-box{min-height:56px;border-radius:16px}
.shop-search-form .modern-search-input{height:42px}
.shop-search-form .modern-search-btn{height:44px}
.storefront-search-clear{
  flex:0 0 36px;
  width:36px;
  height:36px;
  margin-right:4px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:color-mix(in srgb,var(--muted) 10%,white);
  color:var(--muted);
  font-size:22px;
  line-height:1;
}
.storefront-search-clear:hover{background:color-mix(in srgb,var(--brand) 10%,white);color:var(--brand)}
@media(max-width:720px){
  .modern-search-form{max-width:none}
  .modern-search-box{min-height:54px;padding:5px;border-radius:15px}
  .modern-search-icon{flex-basis:40px}
  .modern-search-input{height:42px;font-size:14px;padding:0 6px!important}
  .modern-search-btn{height:42px;padding:0 16px;border-radius:12px}
  .modern-search-help{font-size:12px!important;margin-top:7px!important}
}


/* Search UI v1.8 - robust fallback + polished layout */
.storefront-search-section{
  padding:28px 0 8px;
}
.storefront-search-section .modern-search-form{
  max-width:820px;
  margin:0 auto;
  padding:16px;
  border:1px solid #eceff3;
  border-radius:22px;
  background:var(--card-bg);
  box-shadow:0 14px 38px rgba(15,23,42,.08);
}
.storefront-search-section .modern-search-box,
.shop-search-form .modern-search-box{
  display:flex;
  align-items:center;
  width:100%;
  min-height:58px;
  padding:6px;
  border:2px solid #edf0f3;
  border-radius:16px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.storefront-search-section .modern-search-box:focus-within,
.shop-search-form .modern-search-box:focus-within{
  border-color:var(--brand);
  box-shadow:0 10px 30px rgba(15,23,42,.10);
  transform:translateY(-1px);
}
.storefront-search-section .modern-search-icon,
.shop-search-form .modern-search-icon{
  flex:0 0 46px;
  display:grid;
  place-items:center;
  color:var(--brand);
}
.storefront-search-section .modern-search-input,
.shop-search-form .modern-search-input{
  flex:1;
  min-width:0;
  height:44px;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  padding:0 10px!important;
  color:var(--text);
  font-size:15px;
}
.storefront-search-section .modern-search-input::placeholder,
.shop-search-form .modern-search-input::placeholder{
  color:#98a2b3;
}
.storefront-search-section .modern-search-btn,
.shop-search-form .modern-search-btn{
  height:46px;
  padding:0 24px;
  border:0;
  border-radius:12px;
  background:var(--brand);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(15,23,42,.10);
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}
.storefront-search-section .modern-search-btn:hover,
.shop-search-form .modern-search-btn:hover{
  transform:translateY(-1px);
  filter:brightness(.95);
  box-shadow:0 10px 22px rgba(15,23,42,.14);
}
.storefront-search-section .modern-search-help{
  display:block;
  margin:9px 4px 0!important;
  text-align:left;
  color:var(--muted)!important;
  font-size:12px!important;
}
.shop-search-form{
  max-width:720px;
}
.shop-search-form .modern-search-box{
  min-height:54px;
}
.shop-search-form .modern-search-input{
  height:40px;
}
.shop-search-form .modern-search-btn{
  height:42px;
}
@media(max-width:720px){
  .storefront-search-section{
    padding:18px 0 4px;
  }
  .storefront-search-section .modern-search-form{
    padding:10px;
    border-radius:16px;
  }
  .storefront-search-section .modern-search-box,
  .shop-search-form .modern-search-box{
    min-height:50px;
    padding:4px;
    border-radius:13px;
  }
  .storefront-search-section .modern-search-icon,
  .shop-search-form .modern-search-icon{
    flex-basis:38px;
  }
  .storefront-search-section .modern-search-input,
  .shop-search-form .modern-search-input{
    height:40px;
    font-size:13px;
    padding:0 6px!important;
  }
  .storefront-search-section .modern-search-btn,
  .shop-search-form .modern-search-btn{
    height:40px;
    padding:0 14px;
    border-radius:10px;
    font-size:13px;
  }
}


/* Duplicate-order protection UI */
.checkout-blocked-title{font-size:15px;font-weight:800;color:#8a1c1c;margin-bottom:6px}
.checkout-blocked-message{font-size:13px;line-height:1.55;color:#7a2727}
.checkout-contact-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.checkout-contact-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:9px;text-decoration:none;font-weight:800;font-size:13px}
.checkout-contact-btn.whatsapp{background:#25d366;color:#fff}
.checkout-contact-btn.call{background:var(--brand);color:#fff}
@media(max-width:720px){.checkout-contact-actions{display:grid}.checkout-contact-btn{width:100%}}
