/* WooCommerce block templates share the same page rhythm as the homepage. */
body.woocommerce main.wp-block-group{max-width:1360px;margin:0 auto!important;padding:28px 40px 64px}
body.woocommerce main.wp-block-group>*{max-width:100%}
body.woocommerce main .woocommerce-breadcrumb{font-size:12px;line-height:1.8;color:#737780;margin:0 0 24px;overflow-wrap:anywhere}
body.woocommerce main h1{font-size:36px;line-height:1.18;letter-spacing:-1px;margin-top:0;margin-bottom:24px}
body.woocommerce main .woocommerce-result-count{font-size:13px;color:#626772;margin:0}
body.woocommerce main .woocommerce-ordering{margin:0;float:none}
body.woocommerce main .orderby{font-size:13px;background:#f5f6f8;border:1px solid #e6e8ec;border-radius:8px;min-height:44px;max-width:100%}
body.woocommerce main .wc-block-product-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;padding:0}
body.woocommerce main .wc-block-product{display:flex;flex-direction:column;width:100%!important;max-width:100%;min-width:0;margin:0!important;padding:20px;border:1px solid #e6e8ec;border-radius:12px;background:#fff;gap:0}
body.woocommerce main .wc-block-product .wc-block-components-product-image{margin:0 0 18px}
body.woocommerce main .wc-block-product img{object-fit:contain!important}
body.woocommerce main .wc-block-product .wp-block-post-title{font-size:15px!important;font-weight:600;line-height:1.45!important;text-align:left;margin:0 0 12px;overflow-wrap:anywhere}
body.woocommerce main .wc-block-product .wc-block-components-product-price{text-align:left;font-size:21px!important;font-weight:750;letter-spacing:-.5px}
body.woocommerce main .wc-block-product .wp-block-woocommerce-product-button{margin-top:auto;margin-bottom:0;width:100%}
body.woocommerce main .wc-block-product .wp-block-button__link{width:100%;min-height:44px;font-size:13px;padding:12px 8px;border-radius:7px}
body.single-product main>.wp-block-columns{gap:48px;margin-top:0;margin-bottom:48px;align-items:flex-start}
body.single-product main>.wp-block-columns>.wp-block-column{min-width:0}
body.single-product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
body.single-product .woocommerce-product-gallery .flex-viewport{border:1px solid #e6e8ec;border-radius:14px;background:#fff}
body.single-product .woocommerce-product-gallery__image img:not(.zoomImg){object-fit:contain;aspect-ratio:1;width:100%;height:auto}
body.single-product .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:10px;margin-top:12px!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li{width:64px!important;float:none!important;border:1px solid #e6e8ec;border-radius:7px;overflow:hidden}
body.single-product main>.wp-block-columns .wc-block-components-product-price{font-size:30px!important;font-weight:750;letter-spacing:-.8px}
body.single-product .wp-block-post-excerpt{font-size:14px;line-height:1.75;color:#626772}
body.single-product .wp-block-woocommerce-add-to-cart-form{padding:20px 0;border-top:1px solid #eceef0;border-bottom:1px solid #eceef0}
body.single-product .wp-block-woocommerce-add-to-cart-form .stock{font-size:13px;margin:0}
body.single-product .wp-block-woocommerce-add-to-cart-form form.cart{display:flex;flex-wrap:wrap;gap:12px;margin:0}
body.single-product .single_add_to_cart_button{min-height:48px;flex:1;border-radius:8px!important;font-size:15px!important}
body.single-product .quantity .qty{min-height:48px;width:72px}
body.single-product .wp-block-woocommerce-product-meta{font-size:12px;color:#737780}
body.single-product .wp-block-woocommerce-product-meta .wp-block-group{flex-wrap:wrap;gap:10px 20px}
body.single-product .wp-block-woocommerce-product-details{padding-top:28px;border-top:1px solid #e6e8ec}
body.single-product table.shop_attributes{border:1px solid #e6e8ec;border-radius:10px;border-spacing:0;overflow:hidden;font-size:14px;width:100%;table-layout:fixed}
body.single-product table.shop_attributes th,body.single-product table.shop_attributes td{padding:12px 16px;line-height:1.6;overflow-wrap:anywhere;border:0;border-bottom:1px solid #eceef0}
body.single-product table.shop_attributes th{width:42%;background:#f7f8fa}
body.single-product table.shop_attributes td p{padding:0;margin:0}
body.single-product main .wp-block-woocommerce-product-collection{margin-top:48px}
@media(max-width:781px){
 body.woocommerce main.wp-block-group{padding:20px 18px 40px}
 body.woocommerce main h1{font-size:28px;letter-spacing:-.7px;line-height:1.22;margin-bottom:20px}
 body.woocommerce main .woocommerce-breadcrumb{font-size:11px;margin-bottom:20px}
 body.woocommerce main>.is-layout-flex:not(.wp-block-columns){flex-wrap:wrap!important;gap:12px;margin-bottom:24px}
 body.woocommerce main .wc-block-catalog-sorting{width:100%}
 body.woocommerce main .woocommerce-ordering,body.woocommerce main .orderby{width:100%}
 body.woocommerce main .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body.woocommerce main .wc-block-product{padding:12px;border-radius:10px}
 body.woocommerce main .wc-block-product .wp-block-post-title{font-size:13px!important}
 body.woocommerce main .wc-block-product .wc-block-components-product-price{font-size:18px!important}
 body.single-product main>.wp-block-columns{gap:24px;margin-bottom:32px}
 body.single-product main>.wp-block-columns h1{font-size:26px}
 body.single-product main>.wp-block-columns .wc-block-components-product-price{font-size:28px!important}
 body.single-product table.shop_attributes{font-size:12px}
 body.single-product table.shop_attributes th,body.single-product table.shop_attributes td{padding:10px}
 body.single-product .wp-block-woocommerce-product-details{font-size:14px;overflow-wrap:anywhere}
 body.single-product main h2{font-size:22px;letter-spacing:-.4px}
}
body.woocommerce main .wc-block-product .wp-block-post-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45!important;height:2.9em;min-height:2.9em;max-height:2.9em}
/* Gutenberg catalog with native WooCommerce filters. */
body.woocommerce main.tk-catalog{max-width:1360px}
.tk-catalog-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start;margin-top:28px}
.tk-catalog-sidebar,.tk-catalog-results{min-width:0;margin:0!important}
.tk-catalog-sidebar{padding:20px;background:#f7f8fa;border-radius:10px;font-size:13px;--wp--preset--spacing--30:16px;--wp--preset--spacing--40:20px}
.tk-catalog-sidebar h3{font-size:15px;letter-spacing:0;margin:0 0 14px}
.tk-catalog-sidebar .wc-block-product-filters__overlay-content{gap:24px}
.tk-catalog-sidebar .wc-block-product-filter-checkbox-list{max-height:230px;overflow:auto;padding-right:3px}
.tk-catalog-sidebar input{accent-color:#df0024}
.tk-catalog-sidebar .wc-block-product-filter-price-slider input{font-size:12px;min-width:0}
.tk-catalog-results>.wp-block-group{margin-bottom:24px;gap:16px;flex-wrap:wrap}
body.woocommerce .tk-catalog-results .wc-block-product-template{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.woocommerce .tk-catalog-results .wc-block-product{padding:14px}
body.woocommerce .tk-catalog-results .wc-block-product .wp-block-post-title{font-size:14px!important}
.tk-catalog-results .wp-block-query-pagination{margin:32px 0 0;gap:12px;font-size:14px}
.tk-catalog-results .wp-block-query-pagination-numbers>*{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border:1px solid #e6e8ec;border-radius:6px;margin:3px}
.tk-catalog-results .wp-block-query-pagination-numbers .current{background:#df0024;color:#fff;border-color:#df0024}
@media(min-width:601px){.tk-catalog-sidebar .wc-block-product-filters__overlay-content{padding:0}}
@media(min-width:601px) and (max-width:1100px){
 .tk-catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}
 .tk-catalog-sidebar{padding:16px}
 body.woocommerce .tk-catalog-results .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .tk-catalog-layout{grid-template-columns:minmax(0,1fr);gap:18px;margin-top:20px}
 .tk-catalog-sidebar{padding:0;background:none}
 .tk-catalog-sidebar .wc-block-product-filters{width:100%}
 .tk-catalog-sidebar .wc-block-product-filters__open-overlay{width:100%;min-height:46px;padding:10px 14px;border:1px solid #dfe2e7;border-radius:8px;justify-content:center;font-size:14px;font-weight:600;background:#fff}
 .tk-catalog-sidebar .wc-block-product-filters__overlay-content{padding:20px;gap:26px}
 .tk-catalog-sidebar .wc-block-product-filters__overlay-header{padding:16px 20px}
 .tk-catalog-sidebar .wc-block-product-filters__overlay-footer{padding:16px 20px}
 .tk-catalog-results>.wp-block-group{gap:12px;margin-top:0}
 body.woocommerce .tk-catalog-results .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body.woocommerce .tk-catalog-results .wc-block-product{padding:12px}
 body.woocommerce .tk-catalog-results .wc-block-product .wp-block-post-title{font-size:13px!important}
}
.tk-catalog-sidebar .wc-block-product-filter-price-slider__content{grid-template-columns:minmax(0,1fr) 0 minmax(0,1fr);column-gap:6px}
.tk-catalog-sidebar .wc-block-product-filter-price-slider__content .text{min-width:0}
.tk-catalog-sidebar .wc-block-product-filter-price-slider__content input[type=text]{width:100%;min-width:0;max-width:100%;padding:8px 6px;font-size:12px;border:1px solid #dfe2e7;border-radius:5px;background:#fff}
.tk-catalog-sidebar fieldset{border:0;padding:0;margin:0;min-width:0}
.tk-catalog-sidebar .wp-block-woocommerce-product-filter-checkbox-list{max-height:230px;overflow-y:auto}
.tk-catalog-sidebar .wc-block-product-filter-checkbox-list__label{line-height:1.5}
