/*
Theme Name: JB Hi-Fi Store
Author: HuxenTech
Description: Responsive yellow and black electronics storefront with native WooCommerce shopping, editable catalogue, and reference-inspired promotions.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: jbhifi-store
*/
@font-face{font-family:JBCrazy;src:url('assets/JBCrazy.woff2') format('woff2');font-display:swap}@font-face{font-family:JBPrice;src:url('assets/SmashingPricesJBV5.woff2') format('woff2');font-display:swap}
:root{--yellow:#ffed00;--black:#080808;--green:#008800;--border:#ddd}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:140px}body{margin:0;color:#111;background:#fff;font:16px/1.45 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #0066cb;outline-offset:4px}.container{width:min(1360px,calc(100% - 64px));margin:auto}.skip-link{position:fixed;top:-100px;left:10px;padding:12px;background:white;z-index:999}.skip-link:focus{top:10px}.announcement{background:var(--green);color:white;text-align:center;padding:9px 36px;font-size:14px;position:relative}.announcement a{text-decoration:underline;margin-left:8px}.dismiss-announcement{position:absolute;right:16px;top:4px;background:none;color:white;border:0;font-size:25px}.site-header{background:var(--yellow);position:sticky;top:0;z-index:50}.admin-bar .site-header{top:32px}.header-inner{max-width:1440px;margin:auto;display:flex;gap:44px;align-items:center;padding:20px 48px}.logo{display:inline-flex;flex-direction:column;align-items:center;flex-shrink:0;line-height:1}.logo b{font-family:Impact,'Arial Black',sans-serif;font-weight:1000;font-size:40px;letter-spacing:-2px;transform:scaleX(1.08)}.logo small{font-family:Impact,'Arial Black',sans-serif;font-weight:900;font-size:11px;margin-top:5px;letter-spacing:-.4px}.search-form{position:relative;flex:1;max-width:650px}.search-form input{border:0;background:white;border-radius:4px;width:100%;height:48px;padding:0 52px 0 18px;font-size:14px}.search-form button{position:absolute;right:2px;top:2px;border:0;width:46px;height:44px;background:white;border-radius:4px}.search-form svg{width:23px;height:23px}.header-actions{display:flex;margin-left:auto;gap:28px}.header-actions>a{display:flex;align-items:center;flex-direction:column;gap:3px;white-space:nowrap;font-size:13px}.header-actions svg{height:24px;width:24px}.jb-cart-count{display:inline-grid;place-items:center;background:#000;color:var(--yellow);border-radius:50%;min-width:18px;height:18px;font-size:11px}.main-nav{background:#000;color:white}.nav-inner{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.nav-inner>a{font-weight:700;font-size:15px;padding:13px 0;white-space:nowrap}.nav-inner a:hover{color:var(--yellow)}.nav-inner ul{display:flex;gap:25px;list-style:none;margin:0;padding:12px 0}.mobile-menu{display:none}.category-band{background:var(--yellow);padding:25px 0 12px}.category-scroll{display:flex;gap:26px;overflow-x:auto;scrollbar-width:none;max-width:1440px;margin:auto;padding:0 32px;scroll-behavior:smooth}.category-scroll::-webkit-scrollbar{display:none}.category-scroll>a{flex:0 0 128px;text-align:center;font-size:15px;line-height:1.3}.category-scroll img{display:block;width:100px;height:100px;object-fit:contain;border-radius:50%;margin:0 auto 15px;background:white;transition:transform .2s}.category-scroll a:hover img{transform:translateY(-4px)}.category-controls{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:14px}.category-controls button{border:0;background:none;font-size:22px;padding:0 5px}.category-controls span{width:300px;height:4px;background:#fff7a2;position:relative;border-radius:9px}.category-controls span:before{content:'';position:absolute;width:40%;height:100%;background:#111;border-radius:9px}.hero-section{background:#000;padding:20px 0 10px}.hero-slides{max-width:1360px;margin:auto;position:relative;aspect-ratio:1800/593;overflow:hidden}.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .4s}.hero-slide:first-child,.hero-slide.is-active{opacity:1;visibility:visible}.hero-slides.has-selection .hero-slide:not(.is-active){opacity:0;visibility:hidden}.hero-slide img{display:block;width:100%;height:100%;object-fit:contain}.hero-controls{display:flex;justify-content:center;align-items:center;gap:9px;padding:12px}.hero-controls button{border:0;color:var(--yellow);background:none}.hero-controls .hero-dot{width:46px;height:5px;border-radius:3px;background:#aaa;padding:0}.hero-controls .hero-dot.active{background:var(--yellow)}.section{padding-top:48px;padding-bottom:48px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.section-heading h1,.section-heading h2{font-family:JBCrazy,Impact,'Arial Black',sans-serif;font-size:34px;line-height:1.15;margin:0;font-weight:400}.section-heading>a{font-size:14px;font-weight:bold;text-decoration:underline;text-underline-offset:5px;white-space:nowrap}.promo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.promo-grid a{display:block;overflow:hidden;background:#111}.promo-grid img{width:100%;height:auto;display:block;transition:transform .25s}.promo-grid a:hover img{transform:scale(1.025)}.deals-section{background:#f4f4f4;border-top:1px solid #e8e8e8}.eyebrow{font-size:12px;letter-spacing:1.2px;font-weight:800;margin:0 0 9px}.outline-button{border:1px solid #111;padding:12px 20px;text-decoration:none!important;background:white;box-shadow:2px 2px #111}.deal-tabs{display:flex;gap:12px;overflow-x:auto;margin-bottom:24px;padding:2px 2px 7px}.deal-tabs a{white-space:nowrap;border:1px solid #aaa;padding:9px 20px;border-radius:3px;font-weight:bold;font-size:14px;background:white}.deal-tabs .active,.deal-tabs a:hover{background:#111;color:white;border-color:#111}.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.product-card{background:white;border:1px solid var(--border);display:flex;flex-direction:column;min-width:0;transition:box-shadow .2s}.product-card:hover{box-shadow:0 5px 18px #00000012}.product-image{position:relative;display:flex;align-items:center;justify-content:center;height:210px;padding:24px}.product-image img{width:100%;height:100%;object-fit:contain}.deal-badge{position:absolute;left:10px;top:9px;z-index:1;background:var(--yellow);border:2px solid #111;font-family:JBCrazy,Impact,sans-serif;font-size:18px;line-height:1;padding:10px 7px;transform:rotate(-10deg);box-shadow:2px 2px #111}.product-info{padding:16px;display:flex;flex:1;flex-direction:column}.product-brand{text-transform:uppercase;font-size:12px;letter-spacing:1px;font-weight:900;margin-bottom:9px}.product-name{font-weight:700;font-size:15px;line-height:1.4;min-height:64px}.product-rating{font-size:11px;color:#666;margin:10px 0 18px}.price-ticket{align-self:flex-start;background:var(--yellow);border:1px solid #111;box-shadow:2px 2px #111;padding:7px 12px;margin:auto 0 20px;display:flex;gap:6px;flex-direction:column;line-height:1.1;font-family:JBPrice,Impact,sans-serif;font-size:31px}.price-ticket del{font-family:Arial,sans-serif;font-size:11px}.price-ticket ins{text-decoration:none}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border:1px solid #111;border-radius:2px;background:var(--yellow);color:#111;padding:11px 15px;font-weight:700;text-align:center;line-height:1.4;font-size:14px}.product-info>.button{display:flex;justify-content:space-between;align-items:center;background:#fff}.product-info>.button:hover{background:var(--yellow)}.product-info .added_to_cart{font-size:12px;margin-top:8px;text-decoration:underline}.wide-banner{display:block;margin-bottom:25px;background:#111}.wide-banner img{display:block;width:100%}.value-banner{background:var(--yellow);padding:48px 0}.value-banner>.container{display:flex;justify-content:space-between;align-items:center;gap:50px}.value-banner p{font-weight:bold;font-size:12px;letter-spacing:1px}.value-banner h2{font:44px/1.1 JBCrazy,Impact,sans-serif;margin:14px 0 24px}.white-button{display:inline-block;border:1px solid #111;background:white;padding:12px 25px;box-shadow:3px 3px #111;font-weight:700}.value-icons{display:flex;gap:35px}.value-icons>div{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:170px;gap:10px}.value-icons svg{width:38px;height:38px}.value-icons span{font-size:13px}.brand-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.brand-grid a{min-height:90px;display:grid;place-items:center;border:1px solid var(--border);font-size:21px;font-weight:900;letter-spacing:-.5px}.brand-grid a:hover{background:var(--yellow)}footer{background:#eee;border-top:1px solid #ddd}.footer-top{display:flex;align-items:center;gap:45px;padding-top:35px;padding-bottom:30px}.footer-top p{font-size:14px}.footer-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;padding-top:25px;padding-bottom:40px;border-top:1px solid #ccc}.footer-columns h3{font-size:14px;margin:0 0 18px}.footer-columns a{display:block;font-size:13px;margin:11px 0}.footer-columns a:hover{text-decoration:underline}.footer-columns p,.footer-columns small{font-size:12px;color:#555}.payment-marks{display:flex;gap:8px;font-size:12px;margin-bottom:12px}.payment-marks b{padding:6px;background:white;border:1px solid #ccc}.footer-bottom{padding-top:20px;padding-bottom:20px;border-top:1px solid #ccc;font-size:11px;display:flex;justify-content:space-between;gap:20px}.page-content,.shop-content{padding-top:35px;padding-bottom:60px;min-height:400px}.page-content h1,.shop-content h1{font:36px/1.2 JBCrazy,Impact,sans-serif}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:100%!important;margin:0!important;border:1px solid #ddd;padding:18px;background:white;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{height:220px;object-fit:contain}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:1.45;min-height:70px}.woocommerce ul.products li.product .price{color:#111;font-size:23px;font-weight:800;background:var(--yellow);padding:7px;align-self:flex-start}.woocommerce ul.products li.product .price del{font-size:12px}.woocommerce ul.products li.product .button{margin-top:auto}.woocommerce span.onsale{background:#111;color:var(--yellow);border-radius:0;padding:3px 10px;min-height:30px;line-height:30px}.woocommerce div.product p.price{color:#111;font-size:30px}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--yellow)}.woocommerce div.product form.cart .button{background:var(--yellow);color:#111;min-height:45px}.woocommerce .quantity .qty{height:45px;border:1px solid #aaa}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{padding:12px;border:1px solid #aaa;border-radius:2px}.woocommerce-error,.woocommerce-info,.woocommerce-message{border-top-color:#111;background:#f5f5f5}.woocommerce-info:before,.woocommerce-message:before{color:#111}.woocommerce div.product div.images img{max-height:580px;object-fit:contain}.woocommerce form .form-row label{font-weight:bold}.woocommerce table.shop_table{border-radius:0}.woocommerce .col2-set{margin-bottom:30px}
@media(min-width:1600px){.hero-slides{max-width:1440px}}
@media(max-width:1100px){.header-inner{gap:28px;padding:20px 28px}.header-actions{gap:18px}.nav-inner{overflow:auto;justify-content:flex-start;gap:30px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-grid .product-card:nth-child(5){display:none}.value-icons{gap:18px}.brand-grid{grid-template-columns:repeat(4,1fr)}.category-scroll>a{flex-basis:125px}.product-image{height:185px}}
@media(max-width:767px){.container{width:calc(100% - 32px)}.announcement{font-size:11px;padding:8px 28px}.announcement>a{display:none}.header-inner{padding:14px 16px;gap:16px;flex-wrap:wrap}.mobile-menu{display:block;border:0;background:none;padding:0}.mobile-menu svg{height:24px;width:24px}.logo b{font-size:29px}.logo small{font-size:8px}.header-actions{gap:18px}.header-actions>a{font-size:11px}.header-actions>a:first-child{display:none}.header-actions svg{width:22px;height:22px}.search-form{order:5;flex:0 0 100%;max-width:none}.search-form input{height:43px;font-size:13px}.search-form button{height:39px}.main-nav{display:none}.main-nav.is-open{display:block;position:sticky;top:137px;z-index:49}.nav-inner{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:5px 20px;max-height:65vh;overflow:auto}.nav-inner>a{padding:12px 0;border-bottom:1px solid #333}.nav-inner ul{display:block}.nav-inner li{padding:10px}.category-band{padding:18px 0 10px}.category-scroll{gap:12px;padding:0 12px}.category-scroll>a{flex:0 0 90px;font-size:11px}.category-scroll img{width:70px;height:70px;margin-bottom:10px}.category-controls{margin-top:10px}.category-controls span{width:150px;height:3px}.category-controls button{font-size:16px}.hero-section{padding-top:10px}.hero-slides{aspect-ratio:1.9}.hero-slide img{object-fit:cover;object-position:center}.hero-controls{padding:10px}.section{padding-top:30px;padding-bottom:30px}.section-heading{gap:12px;margin-bottom:19px;align-items:flex-start}.section-heading h1,.section-heading h2{font-size:26px}.section-heading>a{font-size:11px;padding-top:5px}.promo-grid{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;padding-bottom:10px}.promo-grid>a{flex:0 0 42%;scroll-snap-align:start}.eyebrow{font-size:9px}.outline-button{padding:8px 10px!important;font-size:10px!important}.deal-tabs{gap:7px;margin-bottom:17px}.deal-tabs a{padding:8px 13px;font-size:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-grid .product-card:nth-child(5){display:flex}.product-grid .product-card:last-child:nth-child(odd){display:none}.product-image{height:156px;padding:20px 16px}.deal-badge{font-size:13px;padding:7px 5px;border-width:1px}.product-info{padding:12px}.product-brand{font-size:10px}.product-name{font-size:12px;min-height:67px}.product-rating{font-size:9px;margin:7px 0 14px}.price-ticket{font-size:25px;padding:6px 9px;margin-bottom:15px}.product-info>.button{font-size:11px;padding:9px}.wide-banner{margin-bottom:18px}.value-banner{padding:28px 0}.value-banner>.container{flex-direction:column;align-items:flex-start;gap:28px}.value-banner h2{font-size:34px}.value-icons{gap:14px;width:100%;justify-content:space-between}.value-icons>div{flex:1;font-size:12px}.value-icons svg{width:30px;height:30px}.value-icons span{font-size:10px}.brand-grid{grid-template-columns:repeat(4,1fr);gap:8px}.brand-grid a{min-height:62px;font-size:14px}.footer-top{gap:25px}.footer-top p{font-size:11px}.footer-columns{grid-template-columns:repeat(2,1fr);gap:24px;padding-bottom:25px}.footer-columns h3{font-size:12px}.footer-columns a{font-size:12px}.footer-bottom{flex-direction:column;gap:7px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product{padding:12px}.woocommerce ul.products li.product a img{height:145px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px;min-height:78px}.woocommerce ul.products li.product .price{font-size:19px}.woocommerce ul.products li.product .button{font-size:11px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none;font-size:12px}.woocommerce .woocommerce-ordering select{width:100%;margin-bottom:15px}.admin-bar .site-header{top:46px}.page-content h1,.shop-content h1{font-size:29px}.footer-top .logo b{font-size:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;scroll-behavior:auto!important}}
.section-heading h1,.section-heading h2,.value-banner h2,.page-content>h1,.shop-content>.woocommerce-products-header h1{word-spacing:6px}.woocommerce div.product h1.product_title{font:700 28px/1.35 Arial,Helvetica,sans-serif;letter-spacing:-.4px;margin-bottom:22px}.woocommerce div.product p.price ins,.woocommerce ul.products li.product .price ins{text-decoration:none}.wc-block-components-button:not(.is-link){background:var(--yellow);color:#111;border:1px solid #111;border-radius:2px;font-weight:700}.wc-block-components-button:not(.is-link):hover{background:#111;color:var(--yellow)}.promo-grid img{aspect-ratio:5/9;object-fit:cover}@media(max-width:767px){.woocommerce div.product h1.product_title{font-size:23px}.section-heading h1,.section-heading h2,.value-banner h2{word-spacing:4px}}
