/*
Theme Name: Đặc Sản Public Order
Theme URI: https://example.com/
Author: OpenAI
Description: WooCommerce storefront inspired by the Lite POS Public Order interface: mobile-first, quick shopping, sticky search/categories and bottom-sheet cart.
Version: 1.4.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: dacsan-public-order
*/
:root{--blue:#1267e8;--ink:#172033;--muted:#64748b;--line:#e7edf4;--soft:#f5f7fa;--green:#16a34a;--red:#ef4444;--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f8fa;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.site-wrap{min-height:100vh}.container{width:min(1180px,calc(100% - 28px));margin:auto}
.site-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-logo{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#1267e8,#55a2ff);display:grid;place-items:center;color:#fff;font-weight:900;font-size:20px;overflow:hidden}.brand-logo img{width:100%;height:100%;object-fit:cover}.brand-name{font-weight:850;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-sub{display:block;font-size:11px;color:var(--muted);margin-top:2px}.header-actions{display:flex;align-items:center;gap:8px}.header-actions a,.header-actions button{border:1px solid var(--line);background:#fff;border-radius:12px;width:42px;height:42px;display:grid;place-items:center;color:var(--ink)}
.hero{margin:14px 0;border-radius:20px;overflow:hidden;min-height:290px;position:relative;background:linear-gradient(110deg,#0e54c7,#2186f6);color:#fff;display:flex}.hero-copy{position:relative;z-index:2;width:56%;padding:34px}.hero-kicker{font-size:22px;font-weight:900}.hero h1{font-size:34px;line-height:1.08;margin:6px 0 10px}.hero p{margin:0 0 18px;color:rgba(255,255,255,.9)}.hero-pills{display:flex;gap:7px;flex-wrap:wrap}.hero-pills span{font-size:10px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:7px 9px}.hero-cta{margin-top:18px;border:0;border-radius:11px;background:#fff;color:#0f58c9;font-weight:850;padding:11px 18px}.hero-products{position:absolute;inset:0 0 0 46%;overflow:hidden}.hero-products img{position:absolute;width:180px;height:180px;object-fit:contain;filter:drop-shadow(0 18px 16px rgba(0,0,0,.2));animation:float 5s ease-in-out infinite}.hero-products img:nth-child(1){right:30%;bottom:18%}.hero-products img:nth-child(2){right:-1%;bottom:26%;width:145px;height:145px;animation-delay:.8s}.hero-products img:nth-child(3){right:14%;bottom:-2%;width:150px;height:150px;animation-delay:1.5s}@keyframes float{50%{transform:translateY(-9px) rotate(1deg)}}
.shop-section{padding-bottom:120px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px}.section-head h2{font-size:19px;margin:0}.section-head a{color:var(--blue);font-size:12px;font-weight:800}
.filter{position:sticky;top:72px;z-index:80;background:rgba(255,255,255,.97);padding:8px 0 7px;border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.searchbox{height:48px;background:#f2f5f8;border:1px solid #e8edf3;border-radius:13px;display:flex;align-items:center;padding:0 12px;gap:8px}.searchbox span{font-size:21px;color:#718096}.searchbox input{width:100%;border:0;outline:0;background:transparent;font-size:14px}.search-clear{border:0;background:transparent;color:#718096;font-size:21px}.cat-list{display:flex;gap:7px;overflow:auto;padding:8px 0 2px;scrollbar-width:none}.cat-list::-webkit-scrollbar{display:none}.cat-chip{flex:0 0 auto;border:0;background:#f0f3f7;color:#526075;border-radius:999px;padding:8px 14px;font-size:11px;font-weight:800}.cat-chip.active{background:var(--blue);color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}.product-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;position:relative;box-shadow:0 4px 14px rgba(15,23,42,.04)}.product-thumb{height:210px;background:#f3f5f7;position:relative}.product-thumb img{width:100%;height:100%;object-fit:cover}.sale-badge{position:absolute;left:8px;top:8px;background:var(--red);color:#fff;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900}.heart{position:absolute;right:8px;top:8px;border:0;background:#fff;width:32px;height:32px;border-radius:50%;box-shadow:0 3px 10px rgba(0,0,0,.1)}.product-info{padding:10px}.product-title{font-size:13px;line-height:1.35;font-weight:800;min-height:35px}.product-meta{font-size:10px;color:var(--muted);margin-top:3px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.price{font-size:15px;color:var(--blue);font-weight:900}.old-price{text-decoration:line-through;color:#9aa4b2;font-size:10px;margin-left:3px}.add-btn{width:34px;height:34px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-size:20px;line-height:1}.qty-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden}.qty-control button{width:30px;height:32px;border:0;background:#fff;color:var(--blue)}.qty-control b{width:25px;text-align:center;font-size:12px}
.empty{padding:40px 20px;text-align:center;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:15px}
.cart-bar{position:fixed;z-index:200;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(940px,calc(100% - 28px));background:#0f172a;color:#fff;border-radius:17px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 14px 35px rgba(15,23,42,.28)}.cart-bar small{display:block;color:#b9c2d0;font-size:10px}.cart-bar strong{display:block;font-size:18px;margin-top:2px}.cart-bar button{border:0;background:#fff;color:#111827;border-radius:11px;height:46px;padding:0 24px;font-weight:850}
.sheet-overlay{position:fixed;inset:0;z-index:300;background:rgba(15,23,42,.52);opacity:0;visibility:hidden;transition:.22s}.sheet-overlay.open{opacity:1;visibility:visible}.cart-sheet{position:absolute;left:50%;bottom:0;transform:translate(-50%,105%);width:min(760px,100%);max-height:min(88vh,760px);background:#fff;border-radius:22px 22px 0 0;display:flex;flex-direction:column;transition:.28s ease;overflow:hidden}.sheet-overlay.open .cart-sheet{transform:translate(-50%,0)}.sheet-head{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.sheet-head h2{margin:0;font-size:18px}.close-sheet{border:0;background:#f2f4f7;width:38px;height:38px;border-radius:50%;font-size:22px}.sheet-body{overflow:auto;padding:10px 18px}.cart-line{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f5}.cart-line img{width:58px;height:58px;border-radius:10px;object-fit:cover;background:#f4f6f8}.cart-line-main b{font-size:13px;display:block}.cart-line-main small{color:var(--muted);font-size:10px}.line-right{text-align:right}.line-right>b{font-size:13px}.qty{display:flex;align-items:center;gap:5px;justify-content:flex-end;margin-top:4px}.qty button{width:27px;height:27px;border:1px solid #dbe2ea;border-radius:7px;background:#fff;color:var(--blue)}.qty span{min-width:20px;text-align:center}.sheet-footer{padding:13px 18px;border-top:1px solid var(--line);background:#fff}.sheet-total{display:flex;justify-content:space-between;font-size:13px;margin-bottom:10px}.sheet-total b{font-size:18px;color:var(--blue)}.checkout-btn{display:block;width:100%;height:48px;border:0;border-radius:12px;background:var(--blue);color:#fff;font-weight:900;text-align:center;line-height:48px}
.site-footer{background:#111827;color:#cbd5e1;padding:35px 0;margin-top:30px}.site-footer h3{color:#fff;margin:0 0 8px}.site-footer p{font-size:12px;line-height:1.6}.woocommerce-notices-wrapper{width:min(1180px,calc(100% - 28px));margin:10px auto}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:12px;padding:12px 14px!important}
.woocommerce .site-main,.single-product .site-main{width:min(1180px,calc(100% - 28px));margin:20px auto 80px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px;overflow:hidden}.woocommerce ul.products li.product img{border-radius:10px}.woocommerce div.product{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.woocommerce div.product form.cart .button,.woocommerce button.button,.woocommerce a.button{background:var(--blue);color:#fff;border-radius:10px}.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}
@media(max-width:900px){.product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.product-thumb{height:190px}.hero-copy{width:64%}.hero-products{left:52%}}
@media(max-width:640px){.container{width:calc(100% - 16px)}.header-inner{height:64px}.brand-logo{width:44px;height:44px}.header-actions a,.header-actions button{width:38px;height:38px}.filter{top:64px}.hero{min-height:250px;border-radius:16px}.hero-copy{width:67%;padding:22px 15px}.hero-kicker{font-size:17px}.hero h1{font-size:22px}.hero p{font-size:10px}.hero-pills span{font-size:8px;padding:6px}.hero-cta{font-size:11px;padding:9px 15px;margin-top:12px}.hero-products{left:48%}.hero-products img{width:125px;height:125px}.hero-products img:nth-child(2){width:105px;height:105px}.hero-products img:nth-child(3){width:105px;height:105px}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.product-thumb{height:145px}.product-info{padding:8px}.product-title{font-size:12px}.price{font-size:13px}.product-meta{font-size:9px}.add-btn{width:32px;height:32px}.cart-bar{width:calc(100% - 16px);border-radius:14px;padding:9px 10px}.cart-bar button{height:44px;font-size:12px;padding:0 17px}.shop-section{padding-bottom:115px}.woocommerce .site-main,.single-product .site-main{width:calc(100% - 16px);margin-top:12px}}

/* Public Order inline checkout / payment bottom sheet */
.dpo-checkout-steps{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;background:#fafbfc;border-bottom:1px solid var(--line);font-size:11px;color:#8a94a6}.dpo-checkout-steps>span{color:#c1c8d2}.dpo-step{border:0;background:transparent;color:#8a94a6;font-weight:700;font-size:11px;padding:4px 2px}.dpo-step span{display:inline-flex;width:22px;height:22px;border-radius:50%;align-items:center;justify-content:center;background:#e9edf2;margin-right:4px}.dpo-step.is-active{color:var(--blue)}.dpo-step.is-active span{background:var(--blue);color:#fff}.dpo-checkout-panel{display:none;overflow:auto;padding:12px 18px;flex:1;min-height:0}.dpo-checkout-panel.active{display:block}.dpo-checkout-content .woocommerce{margin:0!important;width:100%!important}.dpo-checkout-content form.checkout{display:block!important}.dpo-checkout-content #customer_details,.dpo-checkout-content #order_review{border:0!important;padding:0!important;background:transparent!important}.dpo-checkout-content .col2-set{display:block!important;width:100%!important;float:none!important}.dpo-checkout-content .col-1,.dpo-checkout-content .col-2{width:100%!important;float:none!important}.dpo-checkout-content .woocommerce-billing-fields,.dpo-checkout-content .woocommerce-shipping-fields,.dpo-checkout-content #order_review{margin:0 0 14px}.dpo-checkout-content h3{font-size:15px!important;margin:8px 0 10px!important}.dpo-checkout-content label{font-size:12px!important;font-weight:700!important;margin-bottom:4px!important}.dpo-checkout-content .form-row{padding:0!important;margin:0 0 9px!important;width:100%!important}.dpo-checkout-content input.input-text,.dpo-checkout-content textarea,.dpo-checkout-content select{width:100%!important;min-height:43px!important;border:1px solid #dce2e9!important;border-radius:10px!important;background:#fff!important;padding:9px 11px!important;font-size:13px!important;box-sizing:border-box}.dpo-checkout-content textarea{min-height:78px!important}.dpo-checkout-content .woocommerce-checkout-review-order-table{font-size:12px;border:1px solid #e5e9ef;border-radius:12px;overflow:hidden;margin:0!important}.dpo-checkout-content .woocommerce-checkout-review-order-table th,.dpo-checkout-content .woocommerce-checkout-review-order-table td{padding:9px!important}.dpo-checkout-content #payment{background:#f7f8fa!important;border-radius:13px!important;padding:12px!important;margin-top:10px}.dpo-checkout-content #payment ul.payment_methods{padding:0!important;margin:0 0 8px!important;border:0!important}.dpo-checkout-content #payment .payment_box{font-size:11px!important;padding:10px!important;margin:7px 0!important}.dpo-checkout-content #payment .place-order{padding:0!important;margin:10px 0 0!important}.dpo-checkout-content #place_order{width:100%!important;height:50px!important;border:0!important;border-radius:12px!important;background:var(--blue)!important;color:#fff!important;font-size:14px!important;font-weight:900!important}.dpo-checkout-content .woocommerce-terms-and-conditions-wrapper{font-size:10px!important}.dpo-checkout-content .woocommerce-privacy-policy-text{font-size:10px!important;color:var(--muted)}.dpo-checkout-content .woocommerce-form-coupon-toggle,.dpo-checkout-content .woocommerce-form-login-toggle{display:none!important}.dpo-checkout-content .woocommerce-notices-wrapper .woocommerce-message,.dpo-checkout-content .woocommerce-notices-wrapper .woocommerce-info{display:none!important}.dpo-checkout-content .woocommerce-notices-wrapper{margin:0!important;padding:0!important}.dpo-checkout-content .woocommerce-NoticeGroup-checkout{margin:0 0 10px!important}.dpo-checkout-content .woocommerce-NoticeGroup-checkout,.dpo-checkout-content .woocommerce-error,.dpo-inline-notice{font-size:11px!important;border-radius:10px!important;padding:10px 12px!important;margin:0 0 10px!important}.dpo-spinner,.dpo-error{padding:25px 10px;text-align:center;color:var(--muted);font-size:12px}.dpo-error,.dpo-inline-notice{color:#a61b1b;background:#fff0f0}.dpo-checkout-footer{display:flex;flex-direction:column;gap:9px}.dpo-checkout-footer[hidden],#dpo-cart-footer[hidden]{display:none!important}.dpo-back-cart{border:0;background:#eef2f6;color:#475467;border-radius:10px;height:40px;font-weight:800}.dpo-checkout-content .woocommerce-checkout-payment .payment_methods li{font-size:12px}.dpo-checkout-content .woocommerce-checkout-payment .payment_method_paypal img{max-height:24px}.dpo-checkout-content .select2-container{width:100%!important}.dpo-checkout-content .select2-container .select2-selection{height:43px!important;border:1px solid #dce2e9!important;border-radius:10px!important}.dpo-checkout-content .select2-container .select2-selection__rendered{line-height:41px!important;font-size:13px!important}.dpo-checkout-content .select2-container .select2-selection__arrow{height:41px!important}.cart-sheet{max-height:min(94vh,900px)}
@media(max-width:640px){.dpo-checkout-steps{gap:4px;padding:8px 7px}.dpo-step{font-size:10px}.dpo-step span{width:20px;height:20px}.dpo-checkout-panel{padding:10px 12px}.cart-sheet{max-height:96vh;border-radius:18px 18px 0 0}.dpo-checkout-content input.input-text,.dpo-checkout-content textarea,.dpo-checkout-content select{font-size:14px!important}.dpo-checkout-content #place_order{height:52px}}

/* v1.2.0 — compact Public Order checkout fields */
.dpo-checkout-content .woocommerce-checkout .col2-set,
.dpo-checkout-content .woocommerce-checkout .woocommerce-billing-fields h3,
.dpo-checkout-content .woocommerce-checkout .woocommerce-shipping-fields,
.dpo-checkout-content .woocommerce-checkout .create-account,
.dpo-checkout-content .woocommerce-checkout .woocommerce-form-login-toggle,
.dpo-checkout-content .woocommerce-checkout .woocommerce-account-fields { display:none; }
.dpo-checkout-content .woocommerce-checkout .woocommerce-billing-fields { margin:0; }
.dpo-checkout-content .woocommerce-checkout .form-row { margin:0 0 12px; padding:0; width:100%; }
.dpo-checkout-content .woocommerce-checkout label { display:block; margin:0 0 6px; font-weight:700; }
.dpo-checkout-content .woocommerce-checkout input,
.dpo-checkout-content .woocommerce-checkout select,
.dpo-checkout-content .woocommerce-checkout textarea { width:100%; box-sizing:border-box; border-radius:12px; padding:13px 14px; }
.dpo-checkout-content #order_comments { min-height:80px; resize:vertical; }
.dpo-checkout-content #payment { margin-top:18px; border-radius:14px; }
.dpo-checkout-content #payment .wc_payment_methods { margin:0; padding:0; list-style:none; }
.dpo-checkout-content #payment .payment_box { margin:8px 0 0; border-radius:10px; }
.dpo-checkout-content #place_order { width:100%; min-height:50px; border-radius:13px; font-size:16px; font-weight:700; }
.dpo-checkout-content .woocommerce-privacy-policy-text { font-size:12px; }
.dpo-checkout-content .woocommerce-terms-and-conditions-wrapper { font-size:12px; }


/* v1.2.2 — keep the checkout bottom sheet fully visible below the mobile viewport/header */
.cart-sheet{
  height:min(900px,calc(100dvh - 10px));
  max-height:calc(100dvh - 10px);
  top:auto;
  bottom:0;
}
@supports not (height: 100dvh){
  .cart-sheet{height:min(900px,calc(100vh - 10px));max-height:calc(100vh - 10px);}
}
.dpo-checkout-panel{
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
@media(max-width:640px){
  .cart-sheet{
    height:calc(100dvh - max(8px,env(safe-area-inset-top)));
    max-height:calc(100dvh - max(8px,env(safe-area-inset-top)));
    border-radius:18px 18px 0 0;
  }
  @supports not (height: 100dvh){
    .cart-sheet{height:calc(100vh - 8px);max-height:calc(100vh - 8px);}
  }
}


/* v1.3.2 — payment dropdown in one-step Public Order popup: cart + customer information + payment */
.dpo-checkout-steps,.dpo-checkout-footer{display:none!important}
.cart-sheet{max-height:min(94dvh,900px)}
.dpo-unified-body{display:block!important;overflow-y:auto;min-height:0;flex:1;padding:12px 18px 18px}
.dpo-cart-section,.dpo-checkout-section{background:#fff}
.dpo-section-title{font-size:15px;font-weight:900;margin:4px 0 10px}
.dpo-cart-section{padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.dpo-checkout-section[hidden]{display:none!important}
.dpo-checkout-panel{display:block!important;overflow:visible!important;padding:0!important;flex:none!important}
.dpo-checkout-content .woocommerce-checkout-review-order-table{display:none!important}
.dpo-checkout-content #order_review{margin:0!important}
.dpo-checkout-content #payment{margin-top:12px!important}
.dpo-unified-footer{display:block!important;position:relative;z-index:5;padding-bottom:max(13px,env(safe-area-inset-bottom));box-shadow:0 -4px 16px rgba(15,23,42,.05)}
.dpo-unified-footer .checkout-btn{height:50px;line-height:50px;font-size:15px}
.dpo-checkout-content #place_order{display:none!important}
.dpo-checkout-content .woocommerce-checkout{margin:0!important}
.dpo-checkout-content .woocommerce-billing-fields{padding:0!important}
@media(max-width:640px){
  .cart-sheet{height:calc(100dvh - max(8px,env(safe-area-inset-top)));max-height:calc(100dvh - max(8px,env(safe-area-inset-top)))}
  .dpo-unified-body{padding:10px 12px 14px}
  .dpo-section-title{font-size:15px}
}
.add-order-btn{width:auto!important;min-width:74px!important;height:34px!important;padding:0 10px!important;display:inline-flex;align-items:center;justify-content:center;font-size:11px!important;font-weight:900;white-space:nowrap}
@media(max-width:640px){.add-order-btn{min-width:68px!important;padding:0 8px!important;font-size:10px!important}}


/* v1.3.2 — compact payment dropdown */
.dpo-checkout-content #payment{background:transparent!important;padding:0!important;margin-top:10px!important;border-radius:0!important}
.dpo-checkout-content #payment .dpo-payment-select-wrap{display:block;margin:0 0 12px!important}
.dpo-checkout-content #payment .dpo-payment-select-wrap label{display:block;font-size:12px!important;font-weight:700!important;margin:0 0 5px!important;color:#1f2937}
.dpo-checkout-content #payment .dpo-payment-select{display:block;width:100%!important;height:43px!important;min-height:43px!important;border:1px solid #dce2e9!important;border-radius:10px!important;background:#fff!important;padding:0 38px 0 11px!important;font-size:13px!important;color:#344054!important;box-sizing:border-box!important}
.dpo-checkout-content #payment ul.payment_methods{display:none!important}
.dpo-checkout-content #payment .payment_box{display:none!important}
.dpo-checkout-content #payment .place-order{padding:0!important;margin:0!important}

/* v1.3.5 — payment dropdown lives outside WooCommerce's replaceable #payment fragment */
.dpo-checkout-content > .dpo-payment-select-wrap{display:block!important;margin:0 0 12px!important}
.dpo-checkout-content > .dpo-payment-select-wrap label{display:block;font-size:12px!important;font-weight:700!important;margin:0 0 5px!important;color:#1f2937}
.dpo-checkout-content > .dpo-payment-select-wrap .dpo-payment-select{display:block;width:100%!important;height:43px!important;min-height:43px!important;border:1px solid #dce2e9!important;border-radius:10px!important;background:#fff!important;padding:0 38px 0 11px!important;font-size:13px!important;color:#344054!important;box-sizing:border-box!important}
/* v1.3.4 — keep one compact custom order-note field */
.dpo-checkout-content .woocommerce-additional-fields{display:none!important}
.dpo-checkout-content #dpo_order_note_field textarea{min-height:72px;resize:none}

/* v1.3.6 — selected delivery time is added to WooCommerce native order notes */

/* v1.3.7 — remove WooCommerce 'Đơn hàng của bạn' heading from unified payment popup */
.dpo-checkout-content #order_review_heading{display:none!important;}


/* v1.3.8 — Grab-style storefront: 4 featured products + list products with inline quantity controls */
.featured-section{padding:2px 0 8px}.featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}.featured-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(15,23,42,.04)}.featured-thumb{height:150px;background:#f3f5f7;position:relative}.featured-thumb img{width:100%;height:100%;object-fit:cover}.featured-info{padding:8px 9px 10px}.featured-title{display:block;font-size:12px;line-height:1.3;font-weight:800;min-height:31px;overflow:hidden}.featured-price{display:block;color:var(--blue);font-size:13px;font-weight:900;margin-top:5px}.product-list{display:flex;flex-direction:column;margin-top:10px;background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.product-list-item{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf1f5;min-height:96px}.product-list-item:last-child{border-bottom:0}.list-thumb-link{display:block}.list-thumb{width:78px;height:78px;border-radius:12px;overflow:hidden;background:#f3f5f7;position:relative}.list-thumb img{width:100%;height:100%;object-fit:cover}.list-thumb .sale-badge{font-size:8px;left:5px;top:5px;padding:3px 5px}.list-info{min-width:0}.list-title{display:block;font-size:14px;line-height:1.35;font-weight:800;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.list-bottom{margin-top:6px}.list-action{display:flex;align-items:center;justify-content:center;min-width:42px}.list-add{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff!important;font-size:25px;line-height:1;font-weight:500;box-shadow:0 4px 10px rgba(18,103,232,.22)}.list-qty{display:flex;align-items:center;gap:0;border:1px solid #dbe3ed;border-radius:20px;overflow:hidden;background:#fff;height:38px}.list-qty button{width:34px;height:36px;border:0;background:#fff;color:var(--blue);font-size:21px;line-height:1}.list-qty b{min-width:24px;text-align:center;font-size:13px;color:#172033}.product-list-item.is-hidden{display:none!important}
@media(max-width:700px){.featured-grid{gap:8px}.featured-thumb{height:105px}.featured-info{padding:7px}.featured-title{font-size:10px;min-height:27px}.featured-price{font-size:11px}.product-list-item{grid-template-columns:70px minmax(0,1fr) auto;gap:10px;padding:9px 10px}.list-thumb{width:70px;height:70px}.list-title{font-size:13px}.list-add{width:36px;height:36px}.list-qty{height:36px}.list-qty button{width:31px;height:34px}.list-qty b{min-width:21px}}


/* v1.3.9 — storefront layout cleanup: homepage is the only storefront */
.woocommerce .site-main{display:none!important}
.dpo-theme.home .woocommerce-notices-wrapper{display:none!important}
.featured-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.product-list{margin-bottom:8px}
.product-list-item{position:relative}
.list-action{align-self:center}
@media(max-width:700px){
  .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .featured-thumb{height:125px}
}
@media(max-width:420px){
  .featured-thumb{height:110px}
  .product-list-item{grid-template-columns:64px minmax(0,1fr) auto;gap:8px}
  .list-thumb{width:64px;height:64px}
}
/* Keep the unified order sheet independent from the standard WooCommerce shop/cart layout. */
.dpo-theme .dpo-checkout-content .woocommerce-notices-wrapper{display:none!important}
.dpo-theme .dpo-checkout-content .woocommerce-form-coupon-toggle,
.dpo-theme .dpo-checkout-content .woocommerce-form-login-toggle{display:none!important}
