/* TechStore Ultimate — Global Styles v3.1 */

/* ── Browser default reset for <ins> tag (WooCommerce sale price uses it) ──
   Browsers render <ins> with yellow background by default — kill it everywhere */
ins {
  background: transparent !important;
  text-decoration: none !important;
}
.wpp-price ins,
.wpp-price-row ins,
.single-product .price ins,
.woocommerce div.product .price ins,
span.price ins,
p.price ins {
  background: none !important;
  background-color: transparent !important;
  text-decoration: none !important;
  color: var(--ts-accent, #f5a623) !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

:root {
  --ts-bg:#0a0a0f;--ts-surface:#12121a;--ts-surface2:#1a1a26;
  --ts-border:rgba(255,255,255,0.08);--ts-border2:rgba(255,255,255,0.15);
  --ts-accent:#f5a623;--ts-accent2:#ff6b35;--ts-accent-dark:#d4881a;
  --ts-text:#f0eee8;--ts-muted:#888892;--ts-green:#22c55e;--ts-red:#ef4444;
  --ts-radius:12px;
}
.ts-announcement-bar{background:linear-gradient(90deg,var(--ts-red),var(--ts-accent));color:#000;text-align:center;padding:7px 16px;font-size:12px;font-weight:700;letter-spacing:.06em}
#ts-site-header{background:rgba(10,10,15,.97);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--ts-border);position:sticky;top:0;z-index:9999;width:100%}
.ts-header-main{background:var(--ts-bg)}
.ts-header-inner{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:20px;height:68px}
.ts-logo{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;color:var(--ts-text)!important;text-decoration:none!important;letter-spacing:.05em;flex-shrink:0}
.ts-logo-icon{width:32px;height:32px;background:var(--ts-accent);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#000}
.ts-logo-icon svg{width:18px;height:18px}
.ts-search-bar{flex:1;max-width:520px}
.ts-search-bar form{display:flex;border:1.5px solid var(--ts-border2);border-radius:8px;overflow:hidden}
.ts-search-bar input[type=text]{flex:1;background:var(--ts-surface)!important;border:none!important;padding:10px 16px!important;color:var(--ts-text)!important;font-size:14px!important;box-shadow:none!important;outline:none!important;margin:0!important}
.ts-search-bar input::placeholder{color:var(--ts-muted)}
.ts-search-bar button{background:var(--ts-accent)!important;border:none!important;padding:0 18px!important;cursor:pointer;display:flex;align-items:center}
.ts-search-bar button svg{width:18px;height:18px;color:#000}
.ts-header-actions{margin-left:auto;display:flex;align-items:center;gap:18px}
.ts-action-link{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:var(--ts-muted)!important;text-decoration:none!important;transition:color .2s}
.ts-action-link:hover{color:var(--ts-accent)!important}
.ts-action-link svg{width:22px;height:22px}
/* FIX: cart badge needs position:relative on the wrapper, not just absolute on badge */
.ts-cart-link-wrap{position:relative;display:inline-flex;align-items:center}
.ts-cart-badge{position:absolute;top:-6px;right:-10px;background:var(--ts-red);color:#fff;font-size:10px;font-weight:700;width:17px;height:17px;border-radius:50%;display:flex;align-items:center;justify-content:center;line-height:1;z-index:1}
.ts-category-nav{background:var(--ts-surface);border-top:1px solid var(--ts-border)}
.ts-nav-inner{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;flex-wrap:wrap;align-items:center}
.ts-nav-link{padding:11px 16px;font-size:13px;font-weight:500;color:var(--ts-muted)!important;text-decoration:none!important;border-bottom:2px solid transparent;transition:all .2s;display:inline-block;white-space:nowrap}
.ts-nav-link:hover,.ts-nav-link.active{color:var(--ts-accent)!important;border-bottom-color:var(--ts-accent)}
/* Category Hero */
.ts-category-hero{background:linear-gradient(135deg,#12121a 0%,#1a0f2e 50%,#0f1a12 100%);padding:48px 0 36px;border-bottom:1px solid var(--ts-border)}
.ts-cat-hero-inner{max-width:1280px;margin:0 auto;padding:0 24px}
.ts-cat-eyebrow{font-size:12px;color:var(--ts-muted);letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}
.ts-cat-title{font-size:52px;font-weight:800;line-height:1;color:var(--ts-text)!important;margin:0 0 12px!important;letter-spacing:.02em}
.ts-cat-desc{color:var(--ts-muted);font-size:16px;max-width:520px;margin-bottom:18px}
.ts-cat-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.ts-chip{background:var(--ts-surface2);border:1px solid var(--ts-border2);border-radius:20px;padding:5px 14px;font-size:12px;color:var(--ts-muted)!important;text-decoration:none!important;transition:all .2s}
.ts-chip:hover,.ts-chip-active{background:rgba(245,166,35,.15)!important;border-color:var(--ts-accent)!important;color:var(--ts-accent)!important}
.ts-cat-meta-box{background:var(--ts-surface);border:1px solid var(--ts-border);border-radius:var(--ts-radius);padding:14px 18px;font-size:13px;color:var(--ts-muted);max-width:680px;line-height:1.7}
.ts-cat-meta-box strong{color:var(--ts-text)}
.ts-shop-btn{display:inline-flex;align-items:center;gap:8px;background:var(--ts-accent);color:#000;font-weight:700;font-size:14px;padding:10px 22px;border-radius:8px;text-decoration:none!important;letter-spacing:.04em;margin-top:18px}
/* Grid Controls */
.ts-grid-controls{display:flex;align-items:center;justify-content:space-between;padding:16px 0;margin-bottom:8px;border-bottom:1px solid var(--ts-border)}
.ts-result-count{font-size:14px;color:var(--ts-muted)}
.ts-result-count strong{color:var(--ts-text)}
.ts-controls-right{display:flex;align-items:center;gap:16px}
.ts-per-page{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ts-muted)}
.ts-pp-btn{background:var(--ts-surface2);border:1px solid var(--ts-border2);border-radius:6px;padding:4px 10px;font-size:12px;color:var(--ts-muted)!important;text-decoration:none!important;transition:all .2s}
.ts-pp-btn.active,.ts-pp-btn:hover{background:rgba(245,166,35,.15);border-color:var(--ts-accent);color:var(--ts-accent)!important}
.ts-style-switcher{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ts-muted)}
.ts-style-btn{background:var(--ts-surface2);border:1px solid var(--ts-border2);border-radius:6px;padding:5px 8px;cursor:pointer;color:var(--ts-muted);display:flex;align-items:center;transition:all .2s}
.ts-style-btn svg{width:16px;height:16px}
.ts-style-btn.active,.ts-style-btn:hover{background:rgba(245,166,35,.15);border-color:var(--ts-accent);color:var(--ts-accent)}

/* ═══ PAGINATION FIX — previously missing ═══ */
.ts-pagination,.woocommerce-pagination{display:flex;justify-content:center;margin:40px 0 20px;width:100%}
.ts-pagination ul,.woocommerce-pagination ul{list-style:none;display:flex;gap:6px;padding:0;margin:0;flex-wrap:wrap;justify-content:center}
.ts-pagination li,.woocommerce-pagination li{display:inline-flex}
.ts-pagination a,.ts-pagination span,
.woocommerce-pagination a,.woocommerce-pagination span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 10px;
  background:var(--ts-surface);border:1px solid var(--ts-border2);
  border-radius:8px;font-size:13px;font-weight:600;
  color:var(--ts-muted)!important;text-decoration:none!important;
  transition:all .2s;line-height:1
}
.ts-pagination a:hover,.woocommerce-pagination a:hover{background:rgba(245,166,35,.15);border-color:var(--ts-accent);color:var(--ts-accent)!important}
.ts-pagination .current,.woocommerce-pagination .current{background:var(--ts-accent)!important;border-color:var(--ts-accent)!important;color:#000!important}
/* Ensure WooCommerce native pagination inherits theme */
.woocommerce nav.woocommerce-pagination ul{border:none!important}
.woocommerce nav.woocommerce-pagination ul li{border:none!important;padding:0!important}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{background:var(--ts-surface)!important;border:1px solid var(--ts-border2)!important;border-radius:8px!important;color:var(--ts-muted)!important;font-weight:600!important;min-width:38px!important;height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 10px!important;margin:0!important;transition:all .2s!important}
.woocommerce nav.woocommerce-pagination ul li a:hover{background:rgba(245,166,35,.15)!important;border-color:var(--ts-accent)!important;color:var(--ts-accent)!important}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ts-accent)!important;border-color:var(--ts-accent)!important;color:#000!important}

/* Product Cards */
ul.products li.product,ul.products li.product.ts-product-card{background:var(--ts-surface)!important;border:1px solid var(--ts-border)!important;border-radius:var(--ts-radius)!important;overflow:hidden;transition:all .25s!important;position:relative}
ul.products li.product:hover{border-color:var(--ts-border2)!important;transform:translateY(-3px)!important;box-shadow:0 12px 40px rgba(0,0,0,.4)!important}
ul.products li.product img{transition:transform .4s ease!important;width:100%!important;aspect-ratio:1/.85;object-fit:cover!important}
ul.products li.product:hover img{transform:scale(1.05)!important}
ul.products li.product .woocommerce-loop-product__title,ul.products li.product h2{color:var(--ts-text)!important;font-size:13px!important;font-weight:500!important;padding:12px 14px 4px!important;margin:0!important;line-height:1.4!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
ul.products li.product .price,ul.products li.product span.price{color:var(--ts-accent)!important;font-size:20px!important;font-weight:700!important;display:block;padding:4px 14px 8px!important}
ul.products li.product .price del{color:var(--ts-muted)!important;font-size:13px!important;opacity:1!important;margin-right:6px}
ul.products li.product .star-rating::before,ul.products li.product .star-rating span::before{color:var(--ts-accent)!important}
ul.products li.product .star-rating{padding:0 14px 4px}
.ts-review-count{display:block;font-size:11px;color:var(--ts-muted);padding:0 14px 2px}
.ts-sold-count{display:block;font-size:11px;color:var(--ts-green);padding:0 14px 6px}
ul.products li.product .button,ul.products li.product a.button{background:transparent!important;border:1.5px solid var(--ts-border2)!important;color:var(--ts-text)!important;border-radius:8px!important;margin:0 14px 14px!important;width:calc(100% - 28px)!important;text-align:center!important;font-size:12px!important;font-weight:700!important;letter-spacing:.06em!important;padding:9px!important;transition:all .2s!important;display:block!important}
ul.products li.product .button:hover{background:rgba(245,166,35,.12)!important;border-color:var(--ts-accent)!important;color:var(--ts-accent)!important}
.ts-badge{position:absolute;top:10px;left:10px;font-size:11px;font-weight:700;padding:3px 9px;border-radius:4px;letter-spacing:.05em;z-index:2}
.ts-badge-sale{background:var(--ts-green);color:#fff}
.ts-badge-hot{background:var(--ts-red);color:#fff}
.ts-badge-new{background:#6366f1;color:#fff}
.ts-wishlist-btn{position:absolute;top:10px;right:10px;width:32px;height:32px;background:rgba(10,10,15,.7);border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;transition:all .2s}
.ts-wishlist-btn:hover{background:rgba(245,166,35,.2)}
.ts-wishlist-btn svg{width:16px;height:16px;color:var(--ts-muted)}
.ts-wishlist-btn.active svg{color:var(--ts-accent);fill:var(--ts-accent)}
/* Grid styles */
ul.products li.product.ts-style-list{display:grid!important;grid-template-columns:200px 1fr!important;width:100%!important;float:none!important;margin:0 0 14px!important}
ul.products li.product.ts-style-list img{aspect-ratio:1!important}
/* Shortcode grid */
.ts-shortcode-grid{display:grid;gap:20px;margin:20px 0}
.ts-cols-2{grid-template-columns:repeat(2,1fr)}.ts-cols-3{grid-template-columns:repeat(3,1fr)}.ts-cols-4{grid-template-columns:repeat(4,1fr)}
.ts-sc-card{background:var(--ts-surface);border:1px solid var(--ts-border);border-radius:var(--ts-radius);overflow:hidden;transition:all .25s;position:relative}
.ts-sc-card:hover{border-color:var(--ts-border2);transform:translateY(-3px);box-shadow:0 12px 40px rgba(0,0,0,.4)}
.ts-sc-img{position:relative;aspect-ratio:1/.85;overflow:hidden;background:#111}
.ts-sc-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.ts-sc-card:hover .ts-sc-img img{transform:scale(1.05)}
.ts-sc-body{padding:14px}
.ts-sc-body h3{font-size:13px;margin-bottom:8px;line-height:1.4}
.ts-sc-body h3 a{color:var(--ts-text)!important;text-decoration:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ts-sc-price{font-size:20px;font-weight:700;color:var(--ts-accent);margin-bottom:10px}
.ts-sc-btn{display:block;text-align:center;background:transparent;border:1.5px solid var(--ts-border2);border-radius:8px;padding:8px;font-size:12px;font-weight:700;letter-spacing:.05em;color:var(--ts-text)!important;text-decoration:none!important;transition:all .2s}
.ts-sc-btn:hover{background:rgba(245,166,35,.12);border-color:var(--ts-accent);color:var(--ts-accent)!important}
/* Category cards */
.ts-cats-grid{display:grid;gap:16px}
.ts-cat-card{background:var(--ts-surface);border:1px solid var(--ts-border);border-radius:var(--ts-radius);overflow:hidden;text-decoration:none!important;transition:all .25s;display:block}
.ts-cat-card:hover{border-color:var(--ts-accent);transform:translateY(-3px)}
.ts-cat-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.ts-cat-card-body{padding:12px 14px}
.ts-cat-card-body strong{display:block;font-size:14px;font-weight:600;color:var(--ts-text);margin-bottom:3px}
.ts-cat-card-body span{font-size:12px;color:var(--ts-muted)}
/* Banner shortcode */
.ts-banner-shortcode{border-radius:var(--ts-radius);margin:24px 0}
.ts-banner-title{font-size:48px!important;font-weight:800!important;color:var(--ts-text)!important;margin:0 0 12px!important;padding:0!important;border:none!important;line-height:1!important}
/* Footer */
#ts-site-footer{background:var(--ts-surface);border-top:1px solid var(--ts-border);margin-top:60px}
.ts-footer-top{max-width:1280px;margin:0 auto;padding:56px 24px 40px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px}
.ts-footer-logo{font-size:20px;margin-bottom:12px!important}
.ts-footer-brand p{font-size:13px;color:var(--ts-muted);line-height:1.7;max-width:240px;margin-bottom:18px}
.ts-footer-socials{display:flex;gap:8px}
.ts-social{width:36px;height:36px;background:var(--ts-surface2);border:1px solid var(--ts-border2);border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .2s;text-decoration:none!important}
.ts-social:hover{background:rgba(245,166,35,.15);border-color:var(--ts-accent)}
.ts-social svg{width:16px;height:16px;color:var(--ts-muted)}
.ts-footer-col h4{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ts-text);margin-bottom:14px;border:none!important}
.ts-footer-col a{display:block;font-size:13px;color:var(--ts-muted)!important;padding:4px 0;text-decoration:none!important;transition:color .2s}
.ts-footer-col a:hover{color:var(--ts-accent)!important}
.ts-footer-bottom-wrap{border-top:1px solid var(--ts-border)}
.ts-footer-bottom{padding:20px 24px;max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}
.ts-footer-bottom p{font-size:12px;color:var(--ts-muted)}
.ts-payment-icons{display:flex;gap:8px}
.ts-payment-icons span{background:var(--ts-surface2);border:1px solid var(--ts-border);border-radius:4px;padding:4px 8px;font-size:10px;font-weight:700;color:var(--ts-muted)}
/* WooCommerce body */
body.woocommerce,body.woocommerce-page,body.post-type-archive-product,body.tax-product_cat,body.single-product{background:var(--ts-bg)!important;color:var(--ts-text)!important}
.woocommerce-breadcrumb{color:var(--ts-muted)!important}
.woocommerce-breadcrumb a{color:var(--ts-accent)!important;text-decoration:none!important}
/* Responsive */
@media(max-width:1024px){.ts-footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:768px){
  .ts-header-inner{flex-wrap:wrap;height:auto;padding:10px 16px;gap:10px}
  .ts-search-bar{order:3;flex:0 0 100%;max-width:100%}
  .ts-cat-title{font-size:32px}
  .ts-footer-top{grid-template-columns:1fr 1fr;gap:24px;padding:32px 16px}
  .ts-grid-controls{flex-direction:column;align-items:flex-start;gap:10px}
  .ts-shortcode-grid.ts-cols-3,.ts-shortcode-grid.ts-cols-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .ts-footer-top{grid-template-columns:1fr}
  .ts-shortcode-grid{grid-template-columns:1fr}
  ul.products li.product.ts-style-list{grid-template-columns:130px 1fr!important}
}

/* ═══════════════════════════════════════════════════════════════════
   TEXT VISIBILITY FIXES
   ═══════════════════════════════════════════════════════════════════ */
.single-product h1,.single-product h1.product_title,.single-product .product_title,
.wpp-page h1,.wpp-page h2,.wpp-page h3,.wpp-page h4,.wpp-page h5,.wpp-page h6,
.wpp-title,.wpp-price,.wpp-meta,.wpp-stock,.wpp-sku,.wpp-desc,.wpp-tab-content,
.wpp-review-name,.wpp-review-date,.wpp-review-text{color:var(--ts-text,#f0eee8)!important;opacity:1!important;visibility:visible!important}
.single-product div.product h1,.single-product div.product h1.product_title,
body.single-product h1,body.single-product .product_title{color:var(--ts-text,#f0eee8)!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
.single-product p.price,.single-product span.price,.single-product .price ins,
.single-product .price ins .amount,.wpp-price,.wpp-price .wpp-price-now{color:var(--ts-accent,#f5a623)!important;opacity:1!important;visibility:visible!important}
.single-product .price del,.single-product .price del .amount,.wpp-price del,.wpp-price .wpp-price-old{color:var(--ts-muted,#888892)!important;opacity:.7!important;visibility:visible!important}
.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.wpp-breadcrumb,.wpp-breadcrumb a{color:var(--ts-muted,#888892)!important;opacity:1!important;visibility:visible!important}
.woocommerce-breadcrumb a:hover,.wpp-breadcrumb a:hover{color:var(--ts-accent,#f5a623)!important}
.woocommerce-Reviews .comment-text,.woocommerce-Reviews .woocommerce-review__author,
.woocommerce-Reviews .woocommerce-review__dash,.woocommerce-Reviews .woocommerce-review__published-date,
.woocommerce-Reviews p,.comment-reply-title,.review_form label,#reviews h2,#reviews h3{color:var(--ts-text,#f0eee8)!important;opacity:1!important}
.woocommerce-tabs .panel h2,.woocommerce-tabs .panel h3,.woocommerce-tabs .panel p,
.woocommerce-tabs .panel li,.woocommerce-tabs ul.tabs li a,.woocommerce-tabs .woocommerce-Tabs-panel p,
.woocommerce-tabs .woocommerce-Tabs-panel li,.woocommerce-product-details__short-description p,
.woocommerce-product-details__short-description li{color:var(--ts-text,#f0eee8)!important;opacity:1!important}
.stock.in-stock,.wpp-stock--instock,p.stock.in-stock{color:var(--ts-green,#22c55e)!important;opacity:1!important}
.stock.out-of-stock,.wpp-stock--outofstock,p.stock.out-of-stock{color:var(--ts-red,#ef4444)!important;opacity:1!important}
.woocommerce-product-details__short-description,.single-product .woocommerce-product-details__short-description,
div.product .woocommerce-product-details__short-description{color:var(--ts-text,#f0eee8)!important;opacity:1!important}
.woocommerce-products-header__title,.woocommerce-products-header h1,.archive .page-title,.ts-cat-title,.ts-banner-title{color:var(--ts-text,#f0eee8)!important;opacity:1!important;visibility:visible!important}
ul.products li.product .woocommerce-loop-product__title,ul.products li.product h2.woocommerce-loop-product__title,
.ts-sc-body h3,.ts-sc-body h3 a{color:var(--ts-text,#f0eee8)!important;opacity:1!important}
.related h2,.upsells h2,.related .products .woocommerce-loop-product__title,.upsells .products .woocommerce-loop-product__title{color:var(--ts-text,#f0eee8)!important;opacity:1!important}
.wpp-page .wpp-title,.wpp-main .wpp-title{color:var(--ts-text,#f0eee8)!important;opacity:1!important;visibility:visible!important;font-weight:700!important}
.wpp-page .wpp-price-now,.wpp-main .wpp-price-now{color:var(--ts-accent,#f5a623)!important;opacity:1!important;visibility:visible!important}
.wpp-page .wpp-meta,.wpp-page .wpp-stock,.wpp-page .wpp-perk,.wpp-page .wpp-tab-content p,
.wpp-page .wpp-tab-content li,.wpp-page .wpp-tab-content h2,.wpp-page .wpp-tab-content h3,
.wpp-page .wpp-acc-body{color:var(--ts-text,#f0eee8)!important;opacity:1!important}
.wpp-page .wpp-acc-head,.wpp-page .wpp-label,.wpp-page .wpp-badge{color:var(--ts-text,#f0eee8)!important;opacity:1!important}
body.tsu-light-theme .wpp-page .wpp-title,body.tsu-light-theme .single-product h1,
body.tsu-light-theme ul.products li.product .woocommerce-loop-product__title,
body.tsu-light-theme .ts-cat-title{color:var(--ts-text,#1a1a2e)!important}
h1,h2,h3,h4,h5,h6{visibility:visible!important;opacity:1!important}
.wpp-info,.wpp-main .wpp-info{background:var(--ts-surface,#12121a)!important}
/* Product title stays white */
.single-product .product h1,.woocommerce div.product h1{color:var(--ts-text,#f0eee8)!important;opacity:1!important;visibility:visible!important}
/* Product price — accent gold (never override with text color) */
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ts-accent,#f5a623)!important;opacity:1!important;visibility:visible!important}
.woocommerce div.product p.price ins,.woocommerce div.product span.price ins,.single-product .price ins{color:var(--ts-accent,#f5a623)!important;font-size:36px!important;font-weight:800!important;text-decoration:none!important}
.woocommerce div.product p.price del,.woocommerce div.product span.price del,.single-product .price del{color:var(--ts-muted,#888892)!important;font-size:18px!important;opacity:.75!important;text-decoration:line-through!important}
.woocommerce div.product .onsale,.single-product span.onsale{background:#ef4444!important;color:#fff!important;font-size:13px!important;font-weight:700!important;border-radius:6px!important;padding:4px 10px!important;min-height:unset!important}

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE HERO
   ═══════════════════════════════════════════════════════════════════ */
.ts-hero{background:linear-gradient(135deg,#0a0a0f 0%,#1a0f2e 45%,#0f1a12 100%);padding:72px 0 60px;border-bottom:1px solid var(--ts-border);position:relative;overflow:hidden}
.ts-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 80% at 70% 50%,rgba(245,166,35,.07),transparent);pointer-events:none}
.ts-hero-inner{max-width:1280px;margin:0 auto;padding:0 24px;position:relative;z-index:1}
.ts-hero-eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ts-accent);margin-bottom:16px}
.ts-hero-headline{font-size:clamp(36px,5vw,64px);font-weight:800;line-height:1.05;color:var(--ts-text)!important;margin:0 0 20px!important;max-width:780px;letter-spacing:.01em}
.ts-hero-sub{font-size:18px;color:var(--ts-muted);max-width:560px;line-height:1.6;margin-bottom:36px}
.ts-hero-ctas{display:flex;gap:14px;flex-wrap:wrap}
.ts-hero-btn-primary{display:inline-flex;align-items:center;gap:8px;background:var(--ts-accent);color:#000!important;font-weight:700;font-size:15px;padding:14px 30px;border-radius:8px;text-decoration:none!important;letter-spacing:.04em;transition:all .2s}
.ts-hero-btn-primary:hover{background:var(--ts-accent-dark);transform:translateY(-1px)}
.ts-hero-btn-secondary{display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--ts-text)!important;font-weight:600;font-size:15px;padding:14px 30px;border-radius:8px;border:1.5px solid var(--ts-border2);text-decoration:none!important;transition:all .2s}
.ts-hero-btn-secondary:hover{border-color:var(--ts-accent);color:var(--ts-accent)!important}
@media(max-width:600px){.ts-hero{padding:48px 0 40px}.ts-hero-sub{font-size:15px}.ts-hero-ctas{flex-direction:column;gap:10px}}

/* ═══════════════════════════════════════════════════════════════════
   TRUST BADGES STRIP
   ═══════════════════════════════════════════════════════════════════ */
.ts-trust-strip{background:var(--ts-surface);border-bottom:1px solid var(--ts-border);padding:20px 0}
.ts-trust-inner{max-width:1280px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ts-trust-badge{display:flex;align-items:center;gap:14px;padding:8px 0}
.ts-trust-badge svg{width:32px;height:32px;flex-shrink:0;color:var(--ts-accent)}
.ts-trust-badge span{font-size:14px;font-weight:600;color:var(--ts-text);line-height:1.3;display:flex;flex-direction:column}
.ts-trust-badge span small{font-size:11px;font-weight:400;color:var(--ts-muted);margin-top:1px}
@media(max-width:768px){.ts-trust-inner{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.ts-trust-inner{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════════════════════════════
   BEST SELLERS SECTION
   ═══════════════════════════════════════════════════════════════════ */
.ts-bestsellers-section{max-width:1280px;margin:60px auto 20px;padding:0 24px}
.ts-bs-header{text-align:center;margin-bottom:32px}
.ts-bs-label{display:inline-block;background:rgba(245,166,35,.12);border:1px solid rgba(245,166,35,.3);border-radius:20px;padding:5px 16px;font-size:12px;font-weight:700;color:var(--ts-accent);letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px}
.ts-bs-title{font-size:32px;font-weight:800;color:var(--ts-text)!important;margin:0!important}
.ts-bs-grid.products{display:grid!important;gap:20px!important;float:none!important;padding:0!important;margin:0!important}
.ts-bs-grid.products.columns-4{grid-template-columns:repeat(4,1fr)!important}
.ts-bs-grid.products.columns-3{grid-template-columns:repeat(3,1fr)!important}
.ts-bs-grid.products.columns-6{grid-template-columns:repeat(6,1fr)!important}
@media(max-width:1024px){.ts-bs-grid.products.columns-4{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:640px){.ts-bs-grid.products{grid-template-columns:repeat(2,1fr)!important}}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORY FILTER BAR
   ═══════════════════════════════════════════════════════════════════ */
.ts-filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:16px 0 20px;margin-bottom:4px;border-bottom:1px solid var(--ts-border)}
.ts-filter-section{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ts-filter-label{font-size:12px;font-weight:700;color:var(--ts-muted);letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.ts-sort-pills{display:flex;gap:6px;flex-wrap:wrap}
.ts-sort-pill{background:var(--ts-surface2);border:1px solid var(--ts-border2);border-radius:20px;padding:5px 13px;font-size:12px;font-weight:500;color:var(--ts-muted)!important;text-decoration:none!important;transition:all .2s;white-space:nowrap}
.ts-sort-pill:hover,.ts-sort-pill.active{background:rgba(245,166,35,.13);border-color:var(--ts-accent);color:var(--ts-accent)!important}
.ts-filter-price{border-left:1px solid var(--ts-border);padding-left:20px}
.ts-price-inputs{display:flex;align-items:center;gap:6px}
.ts-price-prefix{font-size:13px;color:var(--ts-muted)}
.ts-price-sep{font-size:13px;color:var(--ts-muted)}
.ts-price-input{width:72px;background:var(--ts-surface2)!important;border:1px solid var(--ts-border2)!important;border-radius:6px!important;padding:5px 8px!important;font-size:12px!important;color:var(--ts-text)!important;outline:none!important;box-shadow:none!important;-moz-appearance:textfield}
.ts-price-input::-webkit-inner-spin-button,.ts-price-input::-webkit-outer-spin-button{-webkit-appearance:none}
.ts-price-input:focus{border-color:var(--ts-accent)!important}
.ts-price-apply{background:var(--ts-accent);color:#000;border:none;border-radius:6px;padding:5px 13px;font-size:12px;font-weight:700;cursor:pointer;transition:all .2s}
.ts-price-apply:hover{background:var(--ts-accent-dark)}
.ts-filter-clear{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--ts-muted)!important;text-decoration:none!important;margin-left:auto;transition:color .2s;white-space:nowrap}
.ts-filter-clear:hover{color:var(--ts-red)!important}
/* Sale badge % */
.ts-badge-sale{min-width:54px;text-align:center}
@media(max-width:768px){.ts-filter-bar{gap:12px}.ts-filter-price{border-left:none;padding-left:0}}

/* ═══════════════════════════════════════════════════════════════════
   FEATURED CATEGORIES ROW
   ═══════════════════════════════════════════════════════════════════ */
.ts-featured-cats{background:var(--ts-bg);padding:28px 0;border-bottom:1px solid var(--ts-border)}
.ts-featured-cats-inner{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.ts-feat-cat{display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--ts-surface);border:1px solid var(--ts-border2);border-radius:12px;padding:16px 20px;text-decoration:none!important;min-width:120px;transition:all .2s;flex:1;max-width:160px}
.ts-feat-cat:hover{border-color:var(--ts-accent);background:rgba(245,166,35,.06);transform:translateY(-2px)}
.ts-feat-cat-icon{font-size:28px;line-height:1}
.ts-feat-cat-name{font-size:13px;font-weight:600;color:var(--ts-text)!important;text-align:center}
.ts-feat-cat-count{font-size:11px;color:var(--ts-muted)}
@media(max-width:600px){.ts-feat-cat{min-width:100px;padding:12px 14px}}

/* ═══════════════════════════════════════════════════════════════════
   SHARED SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════ */
.ts-section-header{text-align:center;margin-bottom:36px}
.ts-section-eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ts-accent);margin-bottom:10px}
.ts-section-title{font-size:32px;font-weight:800;color:var(--ts-text)!important;margin:0!important}

/* ═══════════════════════════════════════════════════════════════════
   CUSTOMER REVIEWS SECTION
   ═══════════════════════════════════════════════════════════════════ */
.ts-reviews-section{background:var(--ts-surface);border-top:1px solid var(--ts-border);padding:64px 0}
.ts-reviews-inner{max-width:1280px;margin:0 auto;padding:0 24px}
.ts-reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ts-review-card{background:var(--ts-bg);border:1px solid var(--ts-border2);border-radius:12px;padding:28px;display:flex;flex-direction:column;gap:12px}
.ts-review-stars{font-size:20px;color:var(--ts-accent);letter-spacing:2px}
.ts-review-text{font-size:15px;color:var(--ts-muted);line-height:1.6;font-style:italic;margin:0;flex:1}
.ts-review-author{font-size:13px;font-weight:600;color:var(--ts-text)}
@media(max-width:768px){.ts-reviews-grid{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════════ */
.ts-faq-section{background:var(--ts-bg);border-top:1px solid var(--ts-border);padding:64px 0}
.ts-faq-inner{max-width:800px;margin:0 auto;padding:0 24px}
.ts-faq-list{display:flex;flex-direction:column;gap:2px}
.ts-faq-item{border:1px solid var(--ts-border2);border-radius:10px;overflow:hidden;margin-bottom:8px}
.ts-faq-q{width:100%;background:var(--ts-surface);border:none;padding:18px 20px;text-align:left;font-size:15px;font-weight:600;color:var(--ts-text);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;transition:background .2s}
.ts-faq-q:hover{background:var(--ts-surface2)}
.ts-faq-icon{width:18px;height:18px;flex-shrink:0;color:var(--ts-accent);transition:transform .25s}
.ts-faq-a{padding:0 20px 18px;background:var(--ts-surface)}
.ts-faq-a p{font-size:14px;color:var(--ts-muted);line-height:1.7;margin:0}

/* ═══════════════════════════════════════════════════════════════════
   RECENTLY VIEWED
   ═══════════════════════════════════════════════════════════════════ */
.ts-rv-section{background:var(--ts-surface);border-top:1px solid var(--ts-border);padding:56px 0}
.ts-rv-inner{max-width:1280px;margin:0 auto;padding:0 24px}
.ts-rv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:768px){.ts-rv-grid{grid-template-columns:repeat(2,1fr)}}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT CARD — SHORT TITLE + FEATURE BULLETS
   ═══════════════════════════════════════════════════════════════════ */
.ts-card-features{list-style:none!important;margin:6px 0 0!important;padding:0!important;display:flex;flex-direction:column;gap:3px}
.ts-card-features li{font-size:11px;color:var(--ts-muted);line-height:1.4}
.ts-card-features li::before{content:none!important}


/* ═══════════════════════════════════════════════════════════════════
   v3.1.0 FIXES — Logo, colour theme text visibility, banner
   ═══════════════════════════════════════════════════════════════════ */

/* FIX: Logo text was invisible when colour theme changed because
   some themes set --ts-text close to the surface colour.
   Force logo to always use --ts-text with guaranteed fallback. */
.ts-logo,
.ts-logo:visited,
.ts-logo:link {
    color: var(--ts-text, #f0eee8) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}
/* Logo icon always shows accent colour */
.ts-logo-icon {
    background: var(--ts-accent, #f5a623) !important;
    color: #000 !important;
    opacity: 1 !important;
}
/* Light theme: logo needs dark text */
.tsu-light-theme .ts-logo { color: var(--ts-text, #1a1a2e) !important; }

/* FIX: Nav links were inheriting wrong colour on certain themes */
.ts-nav-link,
.ts-nav-link:visited {
    color: var(--ts-muted, #888892) !important;
    opacity: 1 !important;
}
.ts-nav-link:hover,
.ts-nav-link.active {
    color: var(--ts-accent, #f5a623) !important;
}
.tsu-light-theme .ts-nav-link { color: var(--ts-muted, #6b7280) !important; }

/* FIX: Announcement bar text colour — must contrast against gradient bg.
   Dark themes: bg is red→amber gradient, text is black ✓
   Light themes: same gradient — keep text black ✓ */
.ts-announcement-bar { color: #000 !important; }

/* FIX: Search bar input text & placeholder were invisible on light themes */
.tsu-light-theme .ts-search-bar input[type=text] {
    color: var(--ts-text, #1a1a2e) !important;
    background: var(--ts-surface, #fff) !important;
}
.tsu-light-theme .ts-search-bar input::placeholder {
    color: var(--ts-muted, #6b7280) !important;
}

/* FIX: Action link icons (Account, Wishlist, Cart) invisible on light themes */
.tsu-light-theme .ts-action-link {
    color: var(--ts-muted, #6b7280) !important;
}
.tsu-light-theme .ts-action-link:hover { color: var(--ts-accent, #d97706) !important; }

/* ═══ IMPROVED CATEGORY BANNER ═══════════════════════════════════ */

/* Richer gradient + animated accent line under title */
.ts-category-hero {
    background: linear-gradient(135deg, var(--ts-bg,#0a0a0f) 0%, #0e0a20 45%, #06100a 100%);
    padding: 54px 0 38px;
    position: relative;
    overflow: hidden;
}
/* Decorative glow orb behind the banner */
.ts-category-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: 8%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.ts-category-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ts-accent,#f5a623), transparent);
    opacity: 0.6;
}

/* Title gradient treatment */
.ts-cat-title {
    font-size: 52px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -.02em !important;
    color: var(--ts-text, #f0eee8) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Light theme category hero */
.tsu-light-theme .ts-category-hero {
    background: linear-gradient(135deg, var(--ts-bg,#f8f9fa) 0%, #eff3ff 45%, #f0fff8 100%);
}
.tsu-light-theme .ts-category-hero::before {
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 65%);
}
.tsu-light-theme .ts-cat-title { color: var(--ts-text, #1a1a2e) !important; }
.tsu-light-theme .ts-cat-desc  { color: var(--ts-muted, #6b7280) !important; }

/* Eyebrow pulse dot */
.ts-cat-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: var(--ts-accent, #f5a623) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* FIX: meta box was showing with label "SEO Meta:" — remove that via display logic,
   but also ensure the box doesn't visually dominate */
.ts-cat-meta-box {
    display: none !important; /* Hidden from front-end shoppers; only useful in admin context */
}

/* ═══ PRODUCT CARD PRICE — ensure accent colour survives theme changes ═══ */
ul.products li.product .price,
ul.products li.product span.price,
ul.products li.product .price .woocommerce-Price-amount,
.ts-sc-price,
.tsu-el-price {
    color: var(--ts-accent, #f5a623) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ═══ FOOTER LINKS — light theme visibility ═══════════════════════ */
.tsu-light-theme #ts-site-footer {
    background: var(--ts-surface, #fff);
}
.tsu-light-theme .ts-footer-col a { color: var(--ts-muted, #6b7280) !important; }
.tsu-light-theme .ts-footer-col h4,
.tsu-light-theme .ts-footer-logo  { color: var(--ts-text, #1a1a2e) !important; }
.tsu-light-theme .ts-footer-brand p { color: var(--ts-muted, #6b7280) !important; }
.tsu-light-theme .ts-footer-bottom p { color: var(--ts-muted, #6b7280) !important; }

/* ═══ RESULT COUNT + GRID CONTROLS on light theme ════════════════ */
.tsu-light-theme .ts-result-count { color: var(--ts-muted, #6b7280) !important; }
.tsu-light-theme .ts-result-count strong { color: var(--ts-text, #1a1a2e) !important; }
.tsu-light-theme .ts-pp-btn { color: var(--ts-muted, #6b7280) !important; }
.tsu-light-theme .ts-style-btn { color: var(--ts-muted, #6b7280) !important; }
