/* Tsunami catalogue: shared storefront and WordPress editor styles. */
.ts-store-intro{display:block;padding:0 0 30px}
.ts-store-intro .ts-back{margin-bottom:24px}
.ts-store-intro h1{max-width:1100px;font-size:clamp(34px,4.2vw,56px);font-weight:600;line-height:1.15;letter-spacing:-1.8px;margin:18px 0}
.ts-store-intro>div>p{max-width:720px;font-size:14px;line-height:1.8;color:var(--muted)}
.ts-store-service{padding:16px 0;gap:18px;font-size:11px}
.ts-store-categories{margin-block:32px 0}
.ts-section-heading{gap:14px;margin-bottom:16px}
.ts-section-heading h2{font-size:22px;font-weight:600;letter-spacing:-.6px;line-height:1.3;margin:0}
.ts-section-link{margin:0;font-size:12px}
.ts-section-link a{color:var(--cyan);text-decoration:none;text-underline-offset:5px}
.ts-section-link a:hover{text-decoration:underline}
.ts-store-category-grid{margin-block:0;font-size:18px;font-weight:500;letter-spacing:-.3px}
.ts-store-category-grid>.wc-block-product-categories-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin:0;padding:0;list-style:none}
.ts-store-category-grid .wc-block-product-categories-list-item{position:relative;list-style:none;margin:0;padding:0;border:1px solid #34312b;border-radius:8px;background:#181817;transition:border-color .18s}
.ts-store-category-grid .wc-block-product-categories-list-item:hover{border-color:var(--blue)}
.ts-store-category-grid .wc-block-product-categories-list-item>a{display:flex;align-items:center;gap:20px;min-height:96px;padding:15px 66px 15px 16px;color:var(--ink);text-decoration:none;line-height:1.4}
.ts-store-category-grid .wc-block-product-categories-list-item__image{display:block;flex:0 0 64px;width:64px;height:64px;max-width:none;margin:0;border:0;border-radius:5px;overflow:hidden;background:#fff}
.ts-store-category-grid .wc-block-product-categories-list-item__image img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;vertical-align:initial}
.ts-store-category-grid .wc-block-product-categories-list-item__name{font:inherit;overflow-wrap:anywhere}
.ts-store-category-grid .wc-block-product-categories-list-item-count{position:absolute;right:20px;top:50%;transform:translateY(-50%);display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:5px;background:#25231e;font-size:11px;font-weight:500;color:var(--cyan);pointer-events:none}
.ts-store-category-grid .wc-block-product-categories-list-item-count:before,.ts-store-category-grid .wc-block-product-categories-list-item-count:after{content:none}
/* One panel contains the title, count, search and native sorting control. */
.ts-catalog-head{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,300px) minmax(190px,224px);align-items:center;gap:20px;margin:32px 0 24px;padding:20px 22px;background:#181817;border:1px solid #30302c;border-radius:8px;scroll-margin-top:120px}
.ts-catalog-title{min-width:0}
.ts-catalog-head h2{font-size:24px;font-weight:600;line-height:1.3;letter-spacing:-.7px;margin:0 0 6px}
.ts-catalog-head .woocommerce-result-count{font-size:11px;line-height:1.5;color:var(--muted);margin:0;float:none}
.ts-catalog-head .wp-block-woocommerce-product-results-count{margin:0}
.ts-product-search{display:flex;width:100%;height:46px;border:1px solid #454038;border-radius:5px;background:#101010;overflow:hidden}
.ts-product-search:focus-within{border-color:var(--blue)}
.ts-product-search input{font:inherit;font-size:12px;color:var(--ink);background:transparent;border:0;min-width:0;width:100%;padding:12px 14px}
.ts-product-search input::placeholder{color:#a29e96;opacity:1}
.ts-product-search input:focus{outline:none}
.ts-product-search button{position:relative;flex:0 0 44px;min-width:44px;padding:0;border:0;background:transparent;color:var(--cyan);font-size:0;cursor:pointer}
.ts-product-search button:before{content:"";position:absolute;width:12px;height:12px;border:1.5px solid currentColor;border-radius:50%;left:12px;top:13px}
.ts-product-search button:after{content:"";position:absolute;width:7px;height:1.5px;background:currentColor;left:23px;top:26px;transform:rotate(45deg);transform-origin:left center}
.ts-catalog-head .woocommerce-ordering{float:none;margin:0;width:100%}
.ts-catalog-head .woocommerce-ordering select{display:block;width:100%;height:46px;max-width:100%;background:#101010;color:var(--ink);border:1px solid #454038;border-radius:5px;font:inherit;font-size:12px;padding:10px 12px}
.ts-catalog-head .wp-block-woocommerce-catalog-sorting{min-width:0;margin:0}
.ts-builder-main :where(a,button,select):focus-visible{outline:2px solid var(--cyan);outline-offset:4px}
/* Explicit tracks honor the editor's column setting without Woo's gap-dependent auto-fill formula. */
.ts-builder-catalog ul.wc-block-product-template{display:grid;grid-template-columns:repeat(var(--ts-catalog-columns,4),minmax(0,1fr));align-items:stretch;column-gap:22px;row-gap:26px;max-width:100%;list-style:none;padding:0;margin:0}
.ts-builder-catalog .wc-block-product-template.columns-1{--ts-catalog-columns:1}
.ts-builder-catalog .wc-block-product-template.columns-2{--ts-catalog-columns:2}
.ts-builder-catalog .wc-block-product-template.columns-3{--ts-catalog-columns:3}
.ts-builder-catalog .wc-block-product-template.columns-4{--ts-catalog-columns:4}
.ts-builder-catalog .wc-block-product-template.columns-5{--ts-catalog-columns:5}
.ts-builder-catalog .wc-block-product-template.columns-6{--ts-catalog-columns:6}
.ts-builder-catalog ul.wc-block-product-template>li.wc-block-product{display:flex;flex-direction:column;min-width:0;width:auto;margin:0;padding:0 0 18px;border:1px solid #30302c;border-radius:9px;overflow:hidden;background:#181817;transition:border-color .18s}
.ts-builder-catalog ul.wc-block-product-template.is-flex-container>li.wc-block-product{width:auto}
.ts-builder-catalog ul.wc-block-product-template>li.wc-block-product:hover{border-color:#75613e}
.ts-builder-catalog .wp-block-woocommerce-product-image{flex-shrink:0;width:100%;margin:0;border:0;border-radius:0;overflow:hidden;background:#fff}
.ts-builder-catalog .wp-block-woocommerce-product-image img{display:block;width:100%;height:auto;margin:0;background:#fff}
.ts-builder-catalog .wp-block-woocommerce-product-image a{display:block}
.ts-builder-catalog .wp-block-post-title{font-size:15px;font-weight:500;line-height:1.5;letter-spacing:-.15px;min-height:4.5em;margin:17px 18px 12px;overflow-wrap:anywhere}
.ts-builder-catalog .wp-block-post-title a{text-decoration:none;color:var(--ink);text-underline-offset:4px}
.ts-builder-catalog .wp-block-post-title a:hover{color:var(--cyan)}
.ts-builder-catalog .wp-block-woocommerce-product-price{font-size:17px;color:var(--cyan);margin:auto 18px 14px}
.ts-builder-catalog .wc-block-components-product-price{font-size:inherit;line-height:1.6}
.ts-builder-catalog .wc-block-components-product-price del{font-size:12px;color:var(--muted);opacity:.8;margin-right:6px}
.ts-builder-catalog .wc-block-components-product-price ins{text-decoration:none}
.ts-builder-catalog .ts-price-pending{font-size:11px;color:var(--muted);font-weight:400}
.ts-builder-catalog .wp-block-woocommerce-product-price:empty{display:none}
.ts-builder-catalog .wp-block-woocommerce-product-button{margin:0 18px;padding:0}
.ts-builder-catalog .wp-block-button.wc-block-components-product-button .wp-block-button__link:not([hidden]){display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin:0;padding:11px 12px;background:transparent;color:var(--cyan);border:1px solid #695535;border-radius:5px;font:inherit;font-size:12px;font-weight:600;line-height:1.5;box-shadow:none;transition:background-color .18s,color .18s,border-color .18s}
.ts-builder-catalog .wp-block-button.wc-block-components-product-button .wp-block-button__link:not([hidden]):hover,.ts-builder-catalog .wp-block-button.wc-block-components-product-button .wp-block-button__link.add_to_cart_button:not([hidden]){background:var(--blue);color:#15120d;border-color:var(--blue)}
.ts-builder-catalog .wc-block-components-product-sale-badge{background:var(--blue);color:#15120d;border:0;border-radius:4px;font-size:10px;font-weight:700;letter-spacing:.03em;padding:6px 9px}
/* Native pagination: separate touch targets and a clear current page. */
.ts-builder-catalog .wp-block-query-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:40px 0 0;padding:24px 0 0;border-top:1px solid var(--line,#30302c);font-size:14px;line-height:1}
.ts-builder-catalog .wp-block-query-pagination-numbers{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0}
.ts-builder-catalog .wp-block-query-pagination :is(.page-numbers,.wp-block-query-pagination-previous,.wp-block-query-pagination-next){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:44px;min-height:44px;margin:0;padding:0 10px;border:1px solid #3b3933;border-radius:6px;background:#191918;color:var(--ink,#f3f2ee);font:inherit;font-size:14px;font-weight:500;line-height:1;text-decoration:none;font-variant-numeric:tabular-nums}
.ts-builder-catalog .wp-block-query-pagination .page-numbers.current{background:#d7b575;border-color:#d7b575;color:#16130d;font-weight:700}
.ts-builder-catalog .wp-block-query-pagination .page-numbers.dots{min-width:24px;padding:0;border-color:transparent;background:transparent;color:var(--muted,#aaa7a1)}
.ts-builder-catalog .wp-block-query-pagination a:hover{background:#24221d;border-color:#a68b59;color:#efd49a}
.ts-builder-catalog .wp-block-query-pagination a:focus-visible{outline:2px solid #efd49a;outline-offset:3px}
.ts-builder-catalog .wp-block-query-pagination :is(.wp-block-query-pagination-previous,.wp-block-query-pagination-next){width:44px;padding:0;font-size:0}
.ts-builder-catalog .wp-block-query-pagination :is(.wp-block-query-pagination-previous,.wp-block-query-pagination-next)::before{content:"";display:block;width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-right:3px}
.ts-builder-catalog .wp-block-query-pagination .wp-block-query-pagination-previous::before{transform:rotate(-135deg);margin-right:0;margin-left:3px}
.ts-sale-intro{padding-bottom:26px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.ts-sale-intro .ts-back{margin:0 0 20px}
.ts-sale-intro h1{font-size:clamp(34px,4.2vw,56px);font-weight:600;letter-spacing:-1.5px;line-height:1.15;margin:0 0 16px}
.ts-sale-intro>p:last-child{color:var(--muted);max-width:640px;font-size:14px;line-height:1.8;margin:0}
.ts-sale-empty{padding:32px 0 60px}
.ts-sale-empty h2{font-size:clamp(24px,3vw,32px);font-weight:500;letter-spacing:-.7px;line-height:1.3;margin:0 0 14px}
.ts-sale-empty p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 24px}
@media(max-width:1100px){
 .ts-builder-catalog .wc-block-product-template:is(.columns-4,.columns-5,.columns-6){--ts-catalog-columns:3}
 .ts-catalog-head{grid-template-columns:minmax(150px,1fr) minmax(180px,240px) minmax(170px,210px);gap:16px;padding:18px}
}
@media(max-width:800px){
 .ts-store-intro{padding-bottom:24px}
 .ts-store-intro h1{letter-spacing:-1.2px}
 .ts-store-service{gap:10px;padding:14px 0}
 .ts-store-categories{margin-top:26px}
 .ts-section-heading h2{font-size:21px}
 .ts-store-category-grid{font-size:16px}
 .ts-store-category-grid .wc-block-product-categories-list-item>a{gap:16px;min-height:88px;padding:13px 58px 13px 14px}
 .ts-store-category-grid .wc-block-product-categories-list-item__image{flex-basis:58px;width:58px;height:58px}
 .ts-store-category-grid .wc-block-product-categories-list-item-count{right:16px}
 .ts-catalog-head{grid-template-columns:minmax(0,1fr) minmax(165px,.8fr);gap:14px;margin:26px 0 20px;scroll-margin-top:100px}
 .ts-catalog-title{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
 .ts-catalog-head h2{font-size:22px;margin:0}
}
@media(max-width:780px){
 .ts-builder-catalog .wc-block-product-template:is(.columns-3,.columns-4,.columns-5,.columns-6){--ts-catalog-columns:2}
 .ts-builder-catalog ul.wc-block-product-template{column-gap:16px;row-gap:20px}
}
@media(max-width:520px){
 .ts-catalog-head{grid-template-columns:minmax(0,1fr);padding:16px}
 .ts-catalog-title{grid-column:auto}
 .ts-catalog-head h2{font-size:21px}
 .ts-builder-catalog ul.wc-block-product-template{column-gap:12px;row-gap:16px}
 .ts-builder-catalog ul.wc-block-product-template>li.wc-block-product{padding-bottom:12px;border-radius:7px}
 .ts-builder-catalog .wp-block-post-title{font-size:13px;line-height:1.5;min-height:4.5em;margin:13px 12px 10px}
 .ts-builder-catalog .wp-block-woocommerce-product-price{margin:auto 12px 12px;font-size:15px}
 .ts-builder-catalog .ts-price-pending{font-size:10px}
 .ts-builder-catalog .wp-block-woocommerce-product-button{margin:0 12px}
 .ts-builder-catalog .wp-block-button.wc-block-components-product-button .wp-block-button__link:not([hidden]){font-size:11px;padding:10px 7px;min-height:40px}
 .ts-builder-catalog .wc-block-components-product-sale-badge{font-size:9px;padding:5px 7px}
 .ts-sale-intro{padding-bottom:22px;margin-bottom:24px}
}
@media(max-width:359px){.ts-builder-catalog .wc-block-product-template[class*="columns-"]{--ts-catalog-columns:1}}
@media(prefers-reduced-motion:reduce){.ts-store-category-grid .wc-block-product-categories-list-item,.ts-builder-catalog .wc-block-product,.ts-builder-catalog .wp-block-button__link{transition:none}}
