/* KGT V10: override earlier versions, keep Woo commerce intact. */
/* Wider, clean and readable category navigation instead of compact blue boxes. */
@media(min-width:761px){
body.woocommerce.sidebar-content .site-inner{max-width:1380px!important;padding-left:28px!important;padding-right:28px!important}
body.woocommerce.sidebar-content .content-sidebar-wrap{display:grid!important;grid-template-columns:270px minmax(0,1fr)!important;gap:34px!important;align-items:start;width:100%!important;max-width:100%!important}
body.woocommerce.sidebar-content .sidebar-primary{width:100%!important;max-width:none!important;min-width:0;float:none!important;grid-column:1!important}
body.woocommerce.sidebar-content .content{width:100%!important;max-width:none!important;min-width:0;float:none!important;grid-column:2!important}
}
body.woocommerce.sidebar-content .sidebar-primary{background:transparent!important;padding:0!important}
body.woocommerce.sidebar-content .sidebar-primary .widget{background:#fff!important;border:1px solid #deebf2!important;border-radius:16px!important;padding:22px 20px!important;box-shadow:0 6px 20px rgba(14,60,89,.035)!important}
body.woocommerce.sidebar-content .sidebar .widget-title{line-height:1.45!important;letter-spacing:0!important;font-size:15px!important}
body.woocommerce.sidebar-content .sidebar ul{margin:0!important;list-style:none!important}
body.woocommerce.sidebar-content .sidebar ul li{border-bottom:0!important;margin:0!important;padding:6px 0!important;overflow-wrap:anywhere}
body.woocommerce.sidebar-content .sidebar ul li a{font-size:14px!important;line-height:1.55!important;display:inline!important}
body.woocommerce.sidebar-content .sidebar ul li ul{padding-left:17px!important;margin-top:5px!important;border-left:1px solid #deedf4}
body.woocommerce.sidebar-content .sidebar ul li a:before{content:none!important}
body.woocommerce.sidebar-content .sidebar ul li.current-cat>a,body.woocommerce.sidebar-content .sidebar ul li.current-cat-ancestor>a{color:#078db1!important;font-weight:800!important}
/* Avoid accidental empty grey rectangles on product thumbnails. */
body.woocommerce ul.products li.product a img{color:transparent}
/* The add-to-cart circle must communicate its action. Native product button remains a link. */
body.woocommerce.archive ul.products li.product .button:before,
body.woocommerce-shop ul.products li.product .button:before,
body.single-product .related.products li.product .button:before{
 content:''!important;display:block!important;width:20px!important;height:20px!important;flex:0 0 20px!important;
 background-color:currentColor!important;
 -webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="9" cy="21" r="1"/%3E%3Ccircle cx="20" cy="21" r="1"/%3E%3Cpath d="M1 1h4l2.4 12.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6"/%3E%3Cpath d="M13 9v4m-2-2h4"/%3E%3C/svg%3E') center /contain no-repeat!important;
 mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="9" cy="21" r="1"/%3E%3Ccircle cx="20" cy="21" r="1"/%3E%3Cpath d="M1 1h4l2.4 12.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6"/%3E%3Cpath d="M13 9v4m-2-2h4"/%3E%3C/svg%3E') center /contain no-repeat!important;
}
/* On details: price right before cart. Avoid its previous aggressive top spacing. */
body.single-product .summary>.price{margin:12px 0 14px!important;font-size:30px!important;line-height:1.3!important}
body.single-product .summary form.cart{margin-top:0!important}
/* If description is the sole product tab, show the content as a simple section, without label / tab border. Other tabs are kept navigable. */
body.single-product .woocommerce-tabs{border-top:0!important;padding-top:0!important}
body.single-product .woocommerce-tabs ul.tabs:has(>li:only-child){display:none!important}
body.single-product .woocommerce-tabs .panel#tab-description h2:first-child{display:none!important}
body.single-product .woocommerce-tabs ul.tabs:has(>li:only-child)+.panel{padding-top:0!important}
body.single-product .woocommerce-tabs .panel{margin-top:0!important}
/* Mobile filter above catalog, collapsible, progressively enhanced. */
.kgt-shop-mobile-filter-button{display:none}
@media(max-width:760px){
body.woocommerce.sidebar-content .content-sidebar-wrap{display:flex!important;flex-direction:column!important;gap:0!important}
body.woocommerce.sidebar-content .sidebar-primary{order:0!important;width:100%!important;margin-bottom:18px!important}
body.woocommerce.sidebar-content .content{order:1!important;width:100%!important}
.kgt-shop-mobile-filter-button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:13px 17px;background:#e9f4ff;border:1px solid #dce9f6;border-radius:14px;color:#0b2847;font-family:inherit;font-size:15px;font-weight:700;line-height:1.4;cursor:pointer;text-align:left}
.kgt-shop-mobile-filter-button:after{content:'⌄';font-size:20px;line-height:1;transition:transform .2s}
.kgt-shop-mobile-filter-button[aria-expanded="true"]:after{transform:rotate(180deg)}
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready>.widget,
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready>.widget-area,
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready>.wrap>.widget{display:none!important}
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready.kgt-shop-filter-open>.widget,
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready.kgt-shop-filter-open>.widget-area,
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready.kgt-shop-filter-open>.wrap>.widget{display:block!important}
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready.kgt-shop-filter-open{padding-bottom:8px!important}
body.woocommerce.sidebar-content .sidebar-primary .widget{margin-top:12px!important;padding:17px!important}
}
@media(min-width:761px) and (max-width:1040px){body.woocommerce.sidebar-content .content-sidebar-wrap{grid-template-columns:230px minmax(0,1fr)!important;gap:20px!important}}

@media(max-width:760px){
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready>.kgt-shop-filters-content{display:none!important}
body.woocommerce.sidebar-content .sidebar-primary.kgt-shop-filter-ready.kgt-shop-filter-open>.kgt-shop-filters-content{display:block!important}
}
