/*
Theme Name: ShopCart Premium
Theme URI: https://example.com/shopcart-premium
Author: Custom Theme Studio
Description: Lightweight, responsive WooCommerce theme starter with AJAX search, product wishlist, and Customizer settings.
Version: 1.0.8
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shopcart-premium
*/
:root{--sc-primary:#176b45;--sc-primary-dark:#104e33;--sc-ink:#17212f;--sc-muted:#667085;--sc-line:#e6e9ed;--sc-soft:#f6f8f7;--sc-white:#fff;--sc-radius:14px;--sc-shadow:0 8px 28px rgba(20,32,45,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--sc-ink);background:#fff;font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--sc-primary)}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}button,.button,.wp-element-button{cursor:pointer;border:0;border-radius:9px;background:var(--sc-primary);color:#fff;padding:11px 16px;font-weight:650}button:hover,.button:hover,.wp-element-button:hover{background:var(--sc-primary-dark);color:#fff}.container{width:min(1200px,calc(100% - 36px));margin-inline:auto}.site-topbar{background:#f5f7f6;font-size:12px;padding:7px 0;color:#44505c}.topbar-inner,.header-main,.header-actions,.main-nav-inner,.section-heading,.product-card-actions,.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:18px}.header-main{padding:18px 0}.site-branding{display:flex;align-items:center;gap:10px;min-width:190px}.site-logo{width:36px;height:36px;border:3px solid var(--sc-primary);border-radius:9px 9px 5px 5px;display:grid;place-items:center;color:var(--sc-primary);font-weight:800}.site-title{font-size:27px;font-weight:800;letter-spacing:-1px}.site-title a:hover{color:var(--sc-ink)}.site-description{display:none}.search-wrap{position:relative;flex:1;max-width:560px}.search-form{display:flex;border:1px solid #d9dfe3;border-radius:10px;overflow:hidden;background:#fff}.search-form input{width:100%;min-width:0;border:0;padding:13px 15px;outline:0}.search-form button{border-radius:0;padding:0 18px}.search-results{position:absolute;z-index:50;top:calc(100% + 7px);left:0;right:0;background:#fff;border:1px solid var(--sc-line);border-radius:12px;box-shadow:var(--sc-shadow);overflow:hidden}.search-result{display:flex;align-items:center;gap:12px;padding:10px 13px;border-bottom:1px solid #f0f1f2}.search-result:last-child{border:0}.search-result img{width:48px;height:48px;object-fit:contain;border-radius:8px;background:var(--sc-soft)}.search-result small{display:block;color:var(--sc-muted)}.header-action{font-size:13px;text-align:center;min-width:54px}.header-action span{display:block;font-size:20px}.main-navigation{border-top:1px solid var(--sc-line);border-bottom:1px solid var(--sc-line)}.main-nav-inner{justify-content:flex-start;min-height:48px;flex-wrap:wrap}.main-nav-inner a{padding:12px 13px;font-size:14px;font-weight:650}.main-nav-inner a:first-child{padding-left:0}.main-nav-inner .sale-link{margin-left:auto;color:#d92d40}.menu-toggle{display:none}.hero{margin:22px auto 28px;border-radius:18px;overflow:hidden;min-height:320px;background:linear-gradient(100deg,#f4eee5 0%,#f4eee5 44%,#e4d5c2 100%);display:grid;grid-template-columns:1fr 1fr;align-items:center}.hero-copy{padding:42px clamp(22px,5vw,70px)}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--sc-primary);font-weight:800}.hero h1{font-size:clamp(32px,4.3vw,56px);line-height:1.04;letter-spacing:-2px;margin:10px 0 14px;max-width:520px}.hero p{color:#475467;max-width:450px;margin:0 0 22px}.hero-art{height:320px;display:grid;place-items:center;font-size:100px;background:radial-gradient(circle at 55% 55%,#fff8 0 15%,transparent 16%),linear-gradient(135deg,#e6d7c6,#cdb79e)}.hero-art span{filter:drop-shadow(0 16px 14px #0002)}.category-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:28px 0}.category-tile{padding:17px 10px;border:1px solid var(--sc-line);border-radius:13px;text-align:center;background:#fff}.category-tile:hover{box-shadow:var(--sc-shadow);transform:translateY(-2px)}.category-icon{width:58px;height:58px;border-radius:50%;background:#f1f5f2;display:grid;place-items:center;margin:0 auto 9px;font-size:26px}.category-tile strong{font-size:13px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--sc-line);background:#fafbfa;border-radius:13px;padding:20px;margin:26px 0 34px;gap:14px}.benefit{display:flex;gap:12px;align-items:center}.benefit-icon{font-size:26px;color:var(--sc-primary)}.benefit strong,.benefit small{display:block}.benefit small{color:var(--sc-muted);font-size:12px}.section-heading{margin:30px 0 16px}.section-heading h2{font-size:26px;letter-spacing:-.7px;margin:0}.section-heading a{font-weight:700;font-size:14px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{position:relative;border:1px solid var(--sc-line);border-radius:13px;padding:13px;min-width:0;transition:box-shadow .2s,transform .2s;background:#fff}.product-card:hover{box-shadow:var(--sc-shadow);transform:translateY(-3px)}.product-card-image{aspect-ratio:1/1;background:#f8f9f8;border-radius:9px;display:grid;place-items:center;overflow:hidden;margin-bottom:12px}.product-card-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-card h3{font-size:14px;line-height:1.4;margin:5px 0 7px}.product-brand{color:var(--sc-muted);font-size:12px}.price{font-weight:800;font-size:17px}.price del{font-size:12px;color:#98a2b3;font-weight:500;margin-left:5px}.price ins{text-decoration:none}.rating{font-size:12px;color:#e58a18;margin:4px 0}.badge-sale{position:absolute;top:22px;left:22px;background:var(--sc-primary);color:#fff;border-radius:5px;padding:4px 7px;font-size:11px;font-weight:800}.wishlist-button{position:absolute;right:20px;top:20px;background:#fff;color:#344054;border:1px solid var(--sc-line);width:34px;height:34px;border-radius:50%;padding:0;font-size:18px;z-index:2}.wishlist-button.is-saved{color:#d92d40}.product-card .button{display:block;text-align:center;font-size:13px;padding:9px;margin-top:10px}.shop-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;margin:28px 0}.shop-sidebar{border:1px solid var(--sc-line);border-radius:13px;padding:18px;height:max-content}.shop-sidebar h3{margin:0 0 14px;font-size:17px}.filter-group{padding:14px 0;border-top:1px solid var(--sc-line)}.filter-group label{display:block;font-size:13px;margin:7px 0}.filter-group input[type=number]{width:100%;padding:8px;border:1px solid var(--sc-line);border-radius:7px;margin:5px 0}.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.shop-toolbar select{padding:9px;border:1px solid var(--sc-line);border-radius:8px;background:#fff}.page-header{padding:28px 0 8px}.page-header h1{margin:0;font-size:34px}.content-area{padding:24px 0 48px}.entry-content{max-width:820px}.site-footer{margin-top:55px;background:#101d19;color:#e8efeb;padding:42px 0 20px}.footer-grid{align-items:flex-start;display:grid;grid-template-columns:2fr 1fr 1fr 1fr}.site-footer h3{color:#fff;font-size:15px}.site-footer a{color:#d5e1da}.footer-bottom{border-top:1px solid #ffffff22;margin-top:28px;padding-top:18px;font-size:12px;color:#b4c3ba}.notice{padding:12px 15px;background:#effaf3;border:1px solid #c8e8d2;border-radius:9px;margin:15px 0}.pagination{display:flex;gap:7px;margin:25px 0}.pagination a,.pagination span{padding:8px 12px;border:1px solid var(--sc-line);border-radius:7px}.pagination .current{background:var(--sc-primary);color:#fff}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--sc-muted)}.woocommerce div.product .product_title{font-size:32px;line-height:1.2}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--sc-ink)}.woocommerce div.product form.cart .button{padding:13px 24px}.woocommerce input,.woocommerce select,.woocommerce textarea{border:1px solid #d7dde1;border-radius:7px;padding:10px}.woocommerce-message,.woocommerce-info{border-top-color:var(--sc-primary)}.woocommerce-message::before,.woocommerce-info::before{color:var(--sc-primary)}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.empty-state{text-align:center;padding:40px 16px;background:var(--sc-soft);border-radius:13px;color:var(--sc-muted)}
@media(max-width:900px){.header-main{flex-wrap:wrap}.site-branding{min-width:auto}.search-wrap{order:3;flex-basis:100%;max-width:none}.category-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.benefits{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{grid-template-columns:1fr}.hero-art{display:none}.shop-layout{grid-template-columns:190px minmax(0,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:min(100% - 24px,1200px)}.site-topbar .topbar-inner>span:last-child{display:none}.header-main{gap:12px;padding:13px 0}.site-title{font-size:22px}.header-action{min-width:35px;font-size:11px}.header-action span{font-size:18px}.main-nav-inner{gap:0}.main-nav-inner a{padding:10px 9px;font-size:12px}.main-nav-inner .sale-link{margin-left:0}.hero{min-height:280px;margin-top:14px}.hero-copy{padding:28px 23px}.hero h1{font-size:37px;letter-spacing:-1.2px}.category-strip{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.category-tile{padding:12px 5px}.category-icon{width:48px;height:48px}.benefits{padding:13px;gap:17px}.benefit{align-items:flex-start;gap:8px}.benefit-icon{font-size:21px}.benefit strong{font-size:12px}.benefit small{font-size:10px}.section-heading h2{font-size:22px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:8px}.product-card h3{font-size:12px}.product-card .price{font-size:15px}.badge-sale{top:14px;left:14px}.wishlist-button{top:13px;right:13px;width:30px;height:30px}.shop-layout{grid-template-columns:1fr}.shop-sidebar{order:2}.shop-toolbar{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.page-header h1{font-size:28px}}

/* Theme settings: hero artwork, responsive split layout and custom accent */
:root{--sc-accent:#d97745;--sc-page-bg:#fff}
.hero{position:relative;background-image:linear-gradient(90deg,#f4eee5 0%,rgba(244,238,229,.97) 34%,rgba(244,238,229,.2) 67%,rgba(244,238,229,.03) 100%),var(--sc-hero-image);background-size:cover;background-position:center right}
.hero-art{background:transparent;opacity:0;pointer-events:none}
.hero-copy{position:relative;z-index:1}
.button:hover{filter:brightness(.94)}
@media(max-width:620px){.hero{background-image:linear-gradient(90deg,rgba(244,238,229,.96),rgba(244,238,229,.76)),var(--sc-hero-image);background-position:center;background-size:cover}.hero-copy{padding:28px 20px}.hero h1{max-width:330px}}

/* WooCommerce native shortcode product grid */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;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(--sc-line);border-radius:13px;padding:13px;min-width:0}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:#f8f9f8;border-radius:9px}
@media(max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product{padding:8px}}

/* Configurable homepage hero slideshow */
.shopcart-hero-slider{min-height:var(--sc-hero-height,420px);height:auto;position:relative;isolation:isolate;background:var(--sc-hero-overlay,#f4eee5);}
.shopcart-hero-slider .hero-slides{position:absolute;inset:0;z-index:-1;overflow:hidden}
.shopcart-hero-slider .hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .7s ease;}
.shopcart-hero-slider .hero-slide.is-active{opacity:1}
.shopcart-hero-slider:before{content:"";position:absolute;inset:0;z-index:0;background:var(--sc-hero-overlay,#f4eee5);opacity:var(--sc-hero-overlay-opacity,.75);pointer-events:none}
.shopcart-hero-slider .hero-copy{width:100%;text-align:var(--sc-hero-text-align,left);}
.shopcart-hero-slider[style*="--sc-hero-text-align:center"] .hero-copy{margin-inline:auto;}
.shopcart-hero-slider[style*="--sc-hero-text-align:right"] .hero-copy{margin-left:auto;}
.shopcart-hero-slider .hero-copy p{margin-left:0;margin-right:0}
.shopcart-hero-slider[style*="--sc-hero-text-align:center"] .hero-copy p{margin-left:auto;margin-right:auto}
.shopcart-hero-slider[style*="--sc-hero-text-align:right"] .hero-copy p{margin-left:auto}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;padding:0;border-radius:50%;background:#fff;color:#17212f;box-shadow:0 2px 12px #0002;font-size:30px;line-height:1}
.hero-prev{left:16px}.hero-next{right:16px}.hero-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:4}
.hero-dot{width:9px;height:9px;min-width:9px;padding:0;border-radius:50%;background:#ffffff99;border:1px solid #555;box-shadow:0 1px 3px #0002}.hero-dot.is-active{background:var(--sc-primary);transform:scale(1.25)}
@media(max-width:620px){.shopcart-hero-slider{min-height:max(280px,var(--sc-hero-height,360px))}.hero-arrow{width:34px;height:34px;font-size:24px}.hero-prev{left:8px}.hero-next{right:8px}}


/* ShopCart checkout, account dashboard and polished header icons */
.header-actions{gap:20px;flex-shrink:0}.header-action{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:52px;color:var(--sc-ink);font-size:12px;white-space:nowrap}.header-action b{font-weight:650}.action-icon{display:grid!important;place-items:center;width:25px;height:25px;color:var(--sc-ink)}.action-icon svg,.search-submit svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.header-action:hover .action-icon{color:var(--sc-primary)}.cart-count{position:absolute;top:-5px;right:5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:var(--sc-primary);color:#fff;font-size:10px;font-weight:800}.search-submit{display:grid;place-items:center;min-width:52px}.search-submit svg{width:22px;height:22px}
/* Checkout: customer details on the left and order summary on the right */
body.woocommerce-checkout .content-area{max-width:1240px;margin-inline:auto}.woocommerce-checkout #customer_details{width:57%;float:left;padding:25px;border:1px solid var(--sc-line);border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(20,32,45,.04)}.woocommerce-checkout #order_review_heading{width:39%;float:right;margin:0 0 12px;padding:0;font-size:24px;letter-spacing:-.5px}.woocommerce-checkout #order_review{width:39%;float:right;clear:right;padding:22px;border:1px solid #d9dfe3;border-radius:15px;background:#fff;box-shadow:0 8px 28px rgba(20,32,45,.05)}.woocommerce-checkout form.checkout:after{content:"";display:block;clear:both}.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:100%}.woocommerce-checkout #customer_details .col-2{margin-top:24px;padding-top:22px;border-top:1px solid var(--sc-line)}.woocommerce-checkout #customer_details h3{font-size:20px;margin:0 0 18px}.woocommerce-checkout .form-row{margin-bottom:15px}.woocommerce-checkout .form-row label{font-size:13px;font-weight:650;margin-bottom:6px}.woocommerce-checkout .input-text,.woocommerce-checkout select{width:100%;min-height:44px;padding:11px 12px;border:1px solid #d7dde1;border-radius:9px;background:#fff}.woocommerce-checkout #order_review table{border:0;border-collapse:collapse;width:100%;font-size:13px}.woocommerce-checkout #order_review th,.woocommerce-checkout #order_review td{padding:13px 4px;border-bottom:1px solid #edf0f2}.woocommerce-checkout #order_review .order-total th,.woocommerce-checkout #order_review .order-total td{font-size:19px;font-weight:800;border-bottom:0}.woocommerce-checkout #payment{margin-top:18px;border-radius:11px;background:#f7f9f8}.woocommerce-checkout #payment ul.payment_methods{padding:15px}.woocommerce-checkout #payment .place-order{padding:15px}.woocommerce-checkout #place_order{width:100%;min-height:48px;border-radius:10px;background:var(--sc-primary);font-weight:750}.woocommerce-checkout #place_order:hover{background:var(--sc-primary-dark)}.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{border:1px solid #dfe8e2;border-radius:10px;background:#f8fbf9}.woocommerce-checkout .woocommerce-form-coupon{padding:16px;border:1px solid var(--sc-line);border-radius:12px;margin-bottom:20px}
/* My Account: modern dashboard navigation and clear content panels */
.woocommerce-account .content-area{max-width:1200px;margin-inline:auto;min-height:420px}.woocommerce-account .woocommerce h1,.woocommerce-account .entry-title{font-size:36px;font-weight:800;letter-spacing:-1px;margin:4px 0 28px}.woocommerce-account .woocommerce{display:flow-root}.woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:245px;padding:12px;border:1px solid var(--sc-line);border-radius:15px;background:#fff;box-shadow:0 5px 22px rgba(20,32,45,.04)}.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.woocommerce-account .woocommerce-MyAccount-navigation li{margin:3px 0}.woocommerce-account .woocommerce-MyAccount-navigation a{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:9px;font-size:14px;font-weight:650;color:#344054;transition:background .15s,color .15s}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#edf6f0;color:var(--sc-primary)}.woocommerce-account .woocommerce-MyAccount-content{float:right;width:calc(100% - 275px);min-height:245px;padding:26px;border:1px solid var(--sc-line);border-radius:15px;background:#fff;box-shadow:0 5px 22px rgba(20,32,45,.04);line-height:1.8}.woocommerce-account .woocommerce-MyAccount-content p:first-child{margin-top:0}.woocommerce-account .woocommerce-MyAccount-content a{color:var(--sc-primary);font-weight:650;text-decoration:underline;text-underline-offset:3px}.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,.woocommerce-account .woocommerce-MyAccount-content button{color:#fff;text-decoration:none}.woocommerce-account table.shop_table{border-collapse:collapse;border:1px solid var(--sc-line);border-radius:10px;overflow:hidden;font-size:13px}.woocommerce-account table.shop_table th,.woocommerce-account table.shop_table td{padding:12px;border-color:var(--sc-line)}.woocommerce-account .woocommerce-Address,.woocommerce-account .woocommerce-customer-details{padding:18px;border:1px solid var(--sc-line);border-radius:12px}.woocommerce-account form .form-row{margin-bottom:15px}.woocommerce-account input.input-text,.woocommerce-account select,.woocommerce-account textarea{width:100%;padding:11px;border:1px solid #d7dde1;border-radius:9px}.woocommerce-account .woocommerce-info,.woocommerce-account .woocommerce-message{border-radius:10px;background:#f8fbf9}
@media(max-width:800px){.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{float:none;width:100%}.woocommerce-checkout #order_review_heading{margin-top:24px}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:18px}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:4px}.woocommerce-account .woocommerce-MyAccount-navigation a{padding:9px 10px}.woocommerce-account .woocommerce-MyAccount-content{padding:18px}}
@media(max-width:620px){.header-actions{gap:10px}.header-action{min-width:36px;font-size:10px}.action-icon{width:22px;height:22px}.action-icon svg{width:21px;height:21px}.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{padding:16px}.woocommerce-checkout #order_review_heading{font-size:21px}.woocommerce-account .woocommerce h1,.woocommerce-account .entry-title{font-size:29px}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Single product page polish: gallery left, product details right, wishlist and related products. */
.woocommerce div.product {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(28px,5vw,64px);row-gap:34px;align-items:start;margin-top:20px;margin-bottom:38px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;margin:0;min-width:0}
.woocommerce div.product div.images{background:#fafaf8;border:1px solid var(--sc-line);border-radius:16px;padding:18px;overflow:hidden}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{margin:0}
.woocommerce div.product div.images img{border-radius:10px;mix-blend-mode:multiply}
.woocommerce div.product div.summary{padding:6px 0}
.woocommerce div.product .product_title{font-size:clamp(27px,3vw,38px);font-weight:800;letter-spacing:-.8px;line-height:1.16;margin:0 0 16px}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:25px;font-weight:800;margin:0 0 10px}
.woocommerce div.product .woocommerce-product-details__short-description{color:#536170;line-height:1.75;margin:16px 0 20px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;border-top:1px solid var(--sc-line);padding-top:20px;margin-top:20px}
.woocommerce div.product form.cart .quantity{margin:0}
.woocommerce div.product form.cart .quantity .qty{min-height:46px;width:78px;border:1px solid var(--sc-line);border-radius:8px;background:#fff}
.woocommerce div.product form.cart .single_add_to_cart_button{min-height:46px;flex:1;border-radius:999px;background:var(--sc-primary);font-weight:750}
.woocommerce div.product .shopcart-single-wishlist-wrap{margin:12px 0 18px}
.woocommerce div.product .shopcart-single-wishlist{display:inline-flex;align-items:center;gap:9px;background:#fff;color:var(--sc-ink);border:1px solid var(--sc-line);border-radius:999px;padding:10px 16px;font-size:14px;font-weight:700;box-shadow:none}
.woocommerce div.product .shopcart-single-wishlist span{font-size:21px;line-height:1;color:#d92d40}
.woocommerce div.product .shopcart-single-wishlist.is-saved{border-color:#f1b6bf;background:#fff7f8;color:#b42336}
.woocommerce div.product .product_meta{border-top:1px solid var(--sc-line);padding-top:16px;margin-top:18px;color:var(--sc-muted);font-size:13px}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;width:100%;margin-top:0}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1;width:100%;margin-top:12px;padding-top:28px;border-top:1px solid var(--sc-line)}
.woocommerce div.product .related>h2,.woocommerce div.product .upsells>h2{font-size:27px;font-weight:800;letter-spacing:-.5px;margin:0 0 20px}
.woocommerce div.product .related ul.products,.woocommerce div.product .upsells ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}
.woocommerce div.product .related ul.products::before,.woocommerce div.product .related ul.products::after,.woocommerce div.product .upsells ul.products::before,.woocommerce div.product .upsells ul.products::after{display:none}
.woocommerce div.product .related ul.products li.product,.woocommerce div.product .upsells ul.products li.product{float:none;width:auto;margin:0;border:1px solid var(--sc-line);border-radius:13px;padding:12px;overflow:hidden}
.woocommerce div.product .related ul.products li.product a img,.woocommerce div.product .upsells ul.products li.product a img{border-radius:9px;background:#f8f9f8;margin:0 0 12px}
.woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,.woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title{font-size:14px;font-weight:700;padding:0 0 7px}
.woocommerce div.product .related ul.products li.product .price,.woocommerce div.product .upsells ul.products li.product .price{font-size:15px;color:var(--sc-ink)}
.woocommerce div.product .related ul.products li.product .button,.woocommerce div.product .upsells ul.products li.product .button{border-radius:8px;font-size:12px}
@media(max-width:760px){.woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:22px}.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1}.woocommerce div.product .related ul.products,.woocommerce div.product .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce div.product .product_title{font-size:29px}}

/* Checkout layout correction: billing/shipping left, order summary right. */
@media(min-width:801px){
 body.woocommerce-checkout form.checkout.woocommerce-checkout{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);grid-template-areas:"customer heading" "customer review";column-gap:28px;row-gap:12px;align-items:start;}
 body.woocommerce-checkout form.checkout #customer_details{grid-area:customer;float:none!important;width:100%!important;min-width:0;}
 body.woocommerce-checkout form.checkout #order_review_heading{grid-area:heading;float:none!important;clear:none!important;width:100%!important;margin:0!important;align-self:end;}
 body.woocommerce-checkout form.checkout #order_review{grid-area:review;float:none!important;clear:none!important;width:100%!important;min-width:0;margin:0!important;}
}
/* WooCommerce Checkout Block support */
@media(min-width:801px){
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr)!important;gap:28px!important;align-items:start;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-main{grid-column:1!important;width:100%!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{grid-column:2!important;width:100%!important;}
}
@media(max-width:800px){
 body.woocommerce-checkout form.checkout.woocommerce-checkout{display:flex!important;flex-direction:column!important;gap:18px!important;}
 body.woocommerce-checkout form.checkout #customer_details,body.woocommerce-checkout form.checkout #order_review_heading,body.woocommerce-checkout form.checkout #order_review{float:none!important;clear:both!important;width:100%!important;}
 body.woocommerce-checkout form.checkout #order_review_heading{order:2;margin-top:4px!important;}
 body.woocommerce-checkout form.checkout #order_review{order:3;}
 body.woocommerce-checkout form.checkout #customer_details{order:1;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{display:flex!important;flex-direction:column!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-main{order:1;width:100%!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{order:2;width:100%!important;}
}


/* Checkout Block responsive cleanup (mobile and narrow screens) */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout{width:100%;max-width:1240px;margin-left:auto;margin-right:auto;font-size:14px;line-height:1.5;}
body.woocommerce-checkout .wc-block-checkout *{box-sizing:border-box;}
body.woocommerce-checkout .wc-block-components-order-summary__button{font-size:14px!important;min-height:42px!important;}
body.woocommerce-checkout .wc-block-components-order-summary__button .wc-block-components-order-summary__button-text{font-size:14px!important;}
body.woocommerce-checkout .wc-block-components-order-summary{border:1px solid #dce2e6;border-radius:12px;padding:14px!important;background:#fff;}
body.woocommerce-checkout .wc-block-components-order-summary__content{font-size:13px;}
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-checkout__order-summary{border-color:#e3e7ea;}
body.woocommerce-checkout .wc-block-components-checkout-step{padding:0 0 20px!important;}
body.woocommerce-checkout .wc-block-components-checkout-step__title{font-size:18px!important;font-weight:750!important;margin-bottom:14px!important;}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select{min-height:44px!important;border-radius:8px!important;font-size:14px!important;}
body.woocommerce-checkout .wc-block-components-button:not(.is-link){min-height:48px;border-radius:10px;font-weight:750;}
@media(max-width:800px){
 body.woocommerce-checkout .wp-block-woocommerce-checkout,body.woocommerce-checkout .wc-block-checkout{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{display:flex!important;flex-direction:column!important;gap:22px!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-main{order:1!important;width:100%!important;min-width:0!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{order:2!important;width:100%!important;min-width:0!important;}
 body.woocommerce-checkout .wc-block-components-order-summary__button{width:100%!important;justify-content:space-between!important;padding:12px 14px!important;}
 body.woocommerce-checkout .wc-block-components-order-summary{width:100%!important;margin:0!important;}
}

/* Final checkout block fix: remove the duplicate compact summary toggle on narrow screens. */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout{width:100%!important;max-width:1240px!important;margin-inline:auto!important;min-width:0!important;font-size:15px!important;}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{width:100%!important;max-width:100%!important;}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{min-width:0!important;}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-order-summary__button{font-size:14px!important;}
@media(max-width:800px){
 body.woocommerce-checkout .wp-block-woocommerce-checkout{padding:0 12px!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{display:flex!important;flex-direction:column!important;gap:20px!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-main{order:1!important;width:100%!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{order:2!important;width:100%!important;}
 /* The native collapsed summary bar duplicates the full summary below it on mobile. */
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-order-summary__button{display:none!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-order-summary{display:block!important;width:100%!important;margin:0!important;padding:14px!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-order-summary__content{display:block!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-step__title{font-size:18px!important;}
}
@media(min-width:801px){
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr)!important;gap:28px!important;align-items:start!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-main{grid-column:1!important;}
 body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{grid-column:2!important;}
}

/* ShopCart definitive desktop checkout layout: target WooCommerce Blocks even when the block wrapper differs by version. */
@media (min-width: 801px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr) !important;
    grid-template-areas: "main sidebar" !important;
    align-items: start !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin-inline: auto !important;
  }
  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-main {
    grid-area: main !important;
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    order: initial !important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar {
    grid-area: sidebar !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    order: initial !important;
    align-self: start !important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar .wc-block-components-order-summary {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary__button {
    display: flex !important;
    width: 100% !important;
  }
}
@media (max-width: 800px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-main { order: 1 !important; width: 100% !important; }
  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar { order: 2 !important; width: 100% !important; }
}

/* ShopCart definitive desktop Checkout Block layout: customer form left, order summary right. */
@media screen and (min-width: 801px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr) !important;
    grid-template-areas: "main sidebar" !important;
    column-gap: 32px !important;
    row-gap: 0 !important;
    align-items: start !important;
    width: 100% !important;
  }
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-main {
    grid-area: main !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 0 !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar {
    grid-area: sidebar !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: 0 !important;
    float: none !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    align-self: start !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary__button { display: none !important; }
  body.woocommerce-checkout .wc-block-components-order-summary,
  body.woocommerce-checkout .wc-block-checkout__order-summary { display: block !important; width: 100% !important; }
}
