/* Shared Newegg-style store shell for WooCommerce pages. */
body.tfs-ne-store-pages{background:#f1f1f1;color:#242431;font-family:Arial,Helvetica,sans-serif;font-size:14px}
body.tfs-ne-store-pages #header,
body.tfs-ne-store-pages .hero-section,
body.tfs-ne-store-pages [data-hero],
body.tfs-ne-store-pages .page-header,
body.tfs-ne-store-pages .entry-header,
body.tfs-ne-store-pages .ct-breadcrumbs{display:none!important}
body.tfs-ne-store-pages a{color:inherit}
.tfs-store-container{width:min(1240px,calc(100% - 48px));margin:0 auto}
.tfs-store-icon{display:inline-block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.tfs-store-topline{background:#151522;color:#cac9d1;font-size:11px}
.tfs-store-topline .tfs-store-container{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.tfs-store-topline nav{display:flex;gap:20px}.tfs-store-topline a:hover{color:#fff}
.tfs-store-header{background:#242331;color:#fff;position:sticky;top:0;z-index:100;box-shadow:0 3px 12px rgba(18,15,28,.18)}
.tfs-store-header-main{min-height:76px;display:flex;align-items:center;gap:17px}
.tfs-store-logo{display:flex;flex:0 0 148px;align-items:center;padding:0;background:transparent}.tfs-store-logo img{display:block;width:128px;height:auto}
.tfs-store-location{display:flex;min-width:116px;align-items:center;gap:8px}.tfs-store-location>span{display:grid;width:27px;height:27px;place-items:center;border:1px solid #656474;border-radius:50%;color:#e2a9e4;font-size:18px}.tfs-store-location small{color:#bdbcc5;font-size:10px;line-height:1.2}.tfs-store-location strong{display:block;color:#fff;font-size:12px}
.tfs-store-search{height:42px;display:flex;flex:1;overflow:hidden;border-radius:3px;background:#fff}.tfs-store-search select{width:145px;flex:0 0 145px;padding:0 10px;border:0;border-right:1px solid #dddde1;background:#f5f5f7;color:#555;font-size:12px;outline:0}.tfs-store-search input{width:100%;min-width:0;padding:0 14px;border:0;outline:0;font:inherit;font-size:13px}.tfs-store-search button{display:flex;width:48px;align-items:center;justify-content:center;border:0;background:#964e9a;color:#fff;cursor:pointer}
.tfs-store-actions{display:flex;align-items:center;gap:14px}.tfs-store-actions>a{display:flex;align-items:center;gap:7px;color:#fff}.tfs-store-actions>a:hover{color:#e6b2e8}.tfs-store-actions small{color:#bdbcc5;font-size:10px;line-height:1.2}.tfs-store-actions strong{display:block;color:#fff;font-size:12px}.tfs-store-action-icon .tfs-store-icon{width:23px;height:23px}.tfs-store-action-heart{padding:4px}.tfs-store-cart-icon{position:relative;display:inline-flex}.tfs-store-cart-icon .tfs-store-icon{width:24px;height:24px}.tfs-store-cart-icon b{position:absolute;right:-8px;top:-7px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#e5b0e7;color:#2b2430;font-size:10px;line-height:17px;text-align:center}
.tfs-store-header-social{display:flex;align-items:center;gap:7px;flex:0 0 auto}.tfs-store-header-social a{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);transition:all .2s ease}.tfs-store-header-social a:hover{background:#964e9a;color:#fff;border-color:#e4b3e6}.tfs-store-header-social .tfs-store-icon{width:16px;height:16px}
.tfs-store-nav-row{min-height:46px;display:flex;align-items:center;gap:14px;border-top:1px solid rgba(255,255,255,.1)}
.tfs-store-departments{position:relative;flex:0 0 215px}
.tfs-store-departments summary{display:flex;height:46px;align-items:center;justify-content:space-between;padding:0 14px;background:#964e9a;color:#fff;cursor:pointer;list-style:none;font-size:13px;font-weight:700}
.tfs-store-departments summary::-webkit-details-marker{display:none}
.tfs-store-department-menu{position:absolute;top:100%;left:0;z-index:90;width:260px;max-height:480px;overflow-y:auto;box-shadow:0 10px 24px rgba(20,18,30,.2);border:1px solid #dddde5;background:#fff;color:#2c2b36}
.tfs-store-department-heading{padding:11px 14px 7px;border-bottom:1px solid #eeedf3;color:#858392;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.tfs-store-department-menu a{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;border-bottom:1px solid #f3f3f7;color:#353443;font-size:12px}
.tfs-store-department-menu a:hover{background:#faf3fb;color:#964e9a}
.tfs-store-department-menu .tfs-store-icon{width:13px}
.tfs-store-nav-row>nav{display:flex;align-items:center;gap:16px}
.tfs-store-nav-row>nav a{color:#e0dfec;font-size:12px;font-weight:600}
.tfs-store-nav-row>nav a:hover{color:#fff}
.tfs-store-help{display:flex;align-items:center;gap:6px;margin-left:auto;color:#eedaf0;font-size:12px}

/* Hierarchy in Sidebar & Nav */
.tfs-store-nav-group{border-bottom:1px solid #eeedf3}
.tfs-store-parent-link{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f9f8fc;font-weight:700;color:#242331;font-size:12.5px}
.tfs-store-parent-link:hover{background:#f2e6f4;color:#964e9a}
.tfs-store-sub-links{padding:4px 0 6px;background:#fff}
.tfs-store-child-link{display:flex!important;align-items:center;justify-content:space-between;padding:6px 14px 6px 24px!important;color:#555462!important;font-size:11.5px!important;border-bottom:none!important}
.tfs-store-child-link:hover{color:#964e9a!important;background:#faf5fb!important}
.tfs-store-child-link small{color:#9896a4;font-size:10px}

/* Compact 1-line Category Header Bar */
.tfs-store-archive-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;margin:0 0 12px;background:#fff;border:1px solid #dddde4;border-radius:3px}
.tfs-store-archive-title{margin:0;font-size:17px;font-weight:750;color:#242331;line-height:1.2}
.tfs-store-archive-crumbs{font-size:11.5px;color:#888696}
.tfs-store-archive-crumbs a{color:#555364;text-decoration:none}
.tfs-store-archive-crumbs a:hover{color:#964e9a}

/* Product Grid & Layout */
body.tfs-ne-store-pages .site-main{width:min(1240px,calc(100% - 48px));margin:0 auto;padding-top:10px!important}
.tfs-store-archive-layout{display:grid;grid-template-columns:250px 1fr;gap:18px;align-items:start}
.tfs-store-filter-panel{border:1px solid #dddde4;background:#fff}
.tfs-store-filter-heading{padding:11px 14px;border-bottom:1px solid #eeedf3;color:#858392;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.tfs-store-filter-panel a{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;border-bottom:1px solid #f3f3f7;color:#353443;font-size:12px}
.tfs-store-filter-panel a:hover{background:#faf3fb;color:#964e9a}
.tfs-store-filter-panel .tfs-store-icon{width:13px}

body.tfs-ne-store-pages ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important;list-style:none!important}
body.tfs-ne-store-pages ul.products li.product{display:flex!important;flex-direction:column!important;margin:0!important;padding:14px!important;border:1px solid #dddde4!important;background:#fff!important;box-shadow:none!important}
body.tfs-ne-store-pages ul.products li.product a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column!important;flex:1!important;text-decoration:none!important}
body.tfs-ne-store-pages ul.products li.product a img{width:100%!important;height:185px!important;margin:0 0 10px!important;object-fit:contain!important}
body.tfs-ne-store-pages ul.products li.product .woocommerce-loop-product__title{min-height:38px!important;margin:0 0 8px!important;color:#242431!important;font-size:13px!important;line-height:1.45!important;font-weight:600!important}
body.tfs-ne-store-pages ul.products li.product .star-rating{margin:0 0 8px!important;font-size:11px!important}
body.tfs-ne-store-pages ul.products li.product .price{margin-top:auto!important;margin-bottom:10px!important;color:#242431!important;font-size:18px!important;font-weight:800!important}
body.tfs-ne-store-pages ul.products li.product .price del{color:#95949e!important;font-size:11px!important;font-weight:400!important}
body.tfs-ne-store-pages ul.products li.product .price ins{text-decoration:none!important}
body.tfs-ne-store-pages ul.products li.product .button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;margin:0!important;padding:9px!important;border:1px solid #964e9a!important;border-radius:2px!important;background:#fff!important;color:#713575!important;font-size:11px!important;font-weight:700!important}
body.tfs-ne-store-pages ul.products li.product .button:hover{background:#964e9a!important;color:#fff!important}

/* Product Single & Extra */
.tfs-store-product-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0;padding:14px;border:1px solid #e2dce4;background:#faf6fb}
.tfs-store-product-trust>div{display:flex;align-items:center;gap:10px}
.tfs-store-product-trust .tfs-store-icon{width:24px;height:24px;color:#964e9a}
.tfs-store-product-trust strong{display:block;font-size:12px;color:#242431}
.tfs-store-product-trust small{display:block;font-size:10px;color:#777583}
.tfs-store-product-extra{margin-top:35px;padding:24px;border:1px solid #e0dfeb;background:#fff}
.tfs-store-product-extra h2{margin:0 0 16px;font-size:20px;color:#242331}
.tfs-store-product-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.tfs-store-product-extra h3{margin:0 0 10px;font-size:14px;color:#964e9a}
.tfs-store-product-extra p,.tfs-store-product-extra li{color:#555462;font-size:13px;line-height:1.6}
.tfs-store-product-extra ul{margin:8px 0;padding-left:18px}

@media(max-width:1120px){
    body.tfs-ne-store-pages ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:800px){
    .tfs-store-archive-layout{grid-template-columns:1fr}
    .tfs-store-filter-panel{display:none}
    body.tfs-ne-store-pages ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
    body.tfs-ne-store-pages ul.products{gap:8px!important}
    body.tfs-ne-store-pages ul.products li.product{padding:10px!important}
    body.tfs-ne-store-pages ul.products li.product a img{height:130px!important}
}
