/*
Theme Name: HH Telecom Next
Theme URI: https://hhtelecom.com.pk/
Author: OpenAI
Description: A premium, responsive WooCommerce theme for HH Telecom mobile accessories. Includes a two-banner homepage, category tiles, product carousels, modern shop archive and a conversion-focused product page.
Version: 1.10.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: hh-telecom-next
*/
:root{--hh-ink:#111318;--hh-muted:#707782;--hh-line:#e9ebef;--hh-bg:#f6f7f9;--hh-accent:#fff000;--hh-accent-dark:#d6ca00;--hh-radius:18px;--hh-shadow:0 14px 38px rgba(17,19,24,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--hh-ink);background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:#666}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}button,.button,.wp-element-button{cursor:pointer;border:0;border-radius:999px;background:var(--hh-accent);color:#101114;font-weight:800;padding:12px 20px;transition:.2s ease}button:hover,.button:hover,.wp-element-button:hover{background:var(--hh-accent-dark);color:#101114;transform:translateY(-1px)}.hh-container{width:min(1280px,calc(100% - 40px));margin-inline:auto}.hh-topbar{background:var(--hh-ink);color:#fff;font-size:12px;letter-spacing:.04em}.hh-topbar .hh-container{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.hh-topbar strong{color:var(--hh-accent)}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--hh-line)}.hh-header-main{display:grid;grid-template-columns:190px 1fr auto;align-items:center;gap:32px;padding:16px 0}.custom-logo{width:auto;max-width:180px;max-height:56px;object-fit:contain}.hh-logo-fallback{font-weight:950;font-size:26px;letter-spacing:-1.5px}.hh-logo-fallback span{background:var(--hh-accent);padding:0 5px;border-radius:4px}.hh-search{display:flex;align-items:center;background:#f4f5f7;border:1px solid #eceef1;border-radius:999px;overflow:hidden;min-width:0}.hh-search input[type=search]{width:100%;min-width:0;border:0;background:transparent;padding:13px 18px;outline:none}.hh-search button{border-radius:0;padding:13px 19px;height:100%}.hh-header-actions{display:flex;align-items:center;gap:18px;font-size:13px;font-weight:750}.hh-header-actions a{white-space:nowrap}.hh-action-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#f4f5f7;border-radius:50%;margin-right:5px}.hh-nav{border-top:1px solid #f0f1f3}.hh-nav .hh-container{display:flex;align-items:center;gap:28px;min-height:47px}.hh-nav a{font-size:13px;font-weight:750}.hh-nav a:hover{color:#7b7300}.hh-nav .hh-nav-shop{background:var(--hh-accent);padding:7px 15px;border-radius:999px}.hh-mobile-menu{display:none;background:none;padding:5px;font-size:23px}.hh-hero{padding:26px 0 0}.hh-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.hh-banner{position:relative;min-height:300px;border-radius:24px;overflow:hidden;background:#15171b;isolation:isolate}.hh-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s}.hh-banner:hover img{transform:scale(1.035)}.hh-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.52),rgba(0,0,0,.04));z-index:-1}.hh-banner-copy{position:absolute;left:clamp(22px,4vw,48px);bottom:32px;max-width:360px;color:#fff}.hh-banner-kicker{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--hh-accent);font-weight:900}.hh-banner h1,.hh-banner h2{font-size:clamp(28px,3.3vw,48px);line-height:1.04;letter-spacing:-1.5px;margin:10px 0 15px;font-weight:950}.hh-banner p{color:#f1f1f1;margin:0 0 20px;font-size:14px}.hh-banner .button{display:inline-flex;align-items:center;gap:10px}.hh-banner-small{min-height:300px}.hh-section{padding:68px 0 0}.hh-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.hh-eyebrow{display:block;text-transform:uppercase;letter-spacing:.18em;font-size:10px;font-weight:900;color:#858a92;margin-bottom:7px}.hh-section-title{font-size:clamp(26px,3vw,38px);line-height:1.1;letter-spacing:-1.3px;margin:0;font-weight:950}.hh-section-head p{color:var(--hh-muted);margin:7px 0 0;font-size:14px}.hh-text-link{font-size:13px;font-weight:850;border-bottom:2px solid var(--hh-accent);padding-bottom:4px;white-space:nowrap}.hh-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hh-category-card{position:relative;min-height:235px;border-radius:var(--hh-radius);overflow:hidden;background:#f1f2f4;isolation:isolate}.hh-category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s}.hh-category-card:hover img{transform:scale(1.06)}.hh-category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,0) 75%);z-index:-1}.hh-category-copy{position:absolute;left:24px;right:20px;bottom:20px;color:white}.hh-category-copy h3{font-size:24px;letter-spacing:-.6px;line-height:1.1;margin:0 0 5px;font-weight:900}.hh-category-copy p{font-size:12px;color:#e5e5e5;margin:0}.hh-category-arrow{position:absolute;right:18px;bottom:20px;width:37px;height:37px;border-radius:50%;background:var(--hh-accent);display:grid;place-items:center;color:#111;font-size:20px;font-weight:900}.hh-products-shell{position:relative}.hh-product-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/4);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 16px;scrollbar-width:thin;scrollbar-color:#d7d9de transparent}.hh-product-track::-webkit-scrollbar{height:5px}.hh-product-track::-webkit-scrollbar-thumb{background:#d7d9de;border-radius:8px}.hh-product-card{position:relative;min-width:0;scroll-snap-align:start;border:1px solid var(--hh-line);border-radius:16px;overflow:hidden;background:#fff;transition:transform .25s,box-shadow .25s}.hh-product-card:hover{transform:translateY(-5px);box-shadow:var(--hh-shadow)}.hh-product-image{position:relative;background:#f6f7f8;aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden}.hh-product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .35s;padding:12px}.hh-product-card:hover .hh-product-image img{transform:scale(1.04)}.hh-product-badge{position:absolute;top:12px;left:12px;background:var(--hh-accent);font-size:10px;font-weight:900;text-transform:uppercase;padding:5px 9px;border-radius:999px;z-index:2}.hh-product-info{padding:16px}.hh-product-category{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#8a8f97;font-weight:850}.hh-product-title{font-size:14px;line-height:1.4;font-weight:800;margin:6px 0 10px;min-height:40px}.hh-product-price{font-size:16px;font-weight:950}.hh-product-price del{font-size:12px;color:#999;font-weight:500;margin-right:5px}.hh-product-price ins{text-decoration:none}.hh-product-actions{display:flex;gap:8px;align-items:center;margin-top:14px}.hh-product-actions .button{font-size:11px;padding:10px 13px;flex:1;text-align:center}.hh-quick-view{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--hh-line);border-radius:50%;font-size:17px}.hh-feature-strip{margin-top:68px;background:var(--hh-ink);color:#fff;border-radius:22px;padding:28px 30px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.hh-feature{display:flex;align-items:center;gap:13px}.hh-feature-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:50%;background:var(--hh-accent);color:#111;font-size:19px}.hh-feature strong{display:block;font-size:13px}.hh-feature span{display:block;color:#aeb2ba;font-size:11px;margin-top:2px}.hh-newsletter{margin:68px 0;background:#f5f6f8;border-radius:24px;padding:38px;display:flex;align-items:center;justify-content:space-between;gap:25px}.hh-newsletter h2{margin:0;font-size:28px;letter-spacing:-.8px}.hh-newsletter p{margin:6px 0 0;color:var(--hh-muted);font-size:13px}.hh-newsletter .button{white-space:nowrap}.site-footer{background:#111318;color:#fff;margin-top:70px;padding:55px 0 20px}.hh-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:35px}.hh-footer-brand img{max-width:175px;max-height:65px;object-fit:contain;background:#fff;border-radius:6px;padding:5px}.hh-footer-brand p,.hh-footer-col p{color:#a8adb5;font-size:13px;max-width:300px}.hh-footer-col h3{font-size:12px;letter-spacing:.13em;text-transform:uppercase;margin:0 0 16px}.hh-footer-col ul{list-style:none;margin:0;padding:0}.hh-footer-col li{margin:9px 0;color:#b9bdc4;font-size:13px}.hh-footer-col a:hover{color:var(--hh-accent)}.hh-footer-bottom{border-top:1px solid #2c2f35;margin-top:38px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;color:#8d929a;font-size:11px}.hh-breadcrumb{font-size:12px;color:#8b9098;padding:18px 0}.hh-breadcrumb a{color:#42464d}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:#8b9098;margin:0 0 22px}.woocommerce .woocommerce-breadcrumb a{color:#42464d}.woocommerce-products-header{margin-bottom:25px}.woocommerce-products-header__title,.woocommerce div.product .product_title{font-size:clamp(28px,4vw,44px);line-height:1.1;letter-spacing:-1.5px;font-weight:950}.hh-shop-intro{padding:30px 0 5px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:13px;color:var(--hh-muted)}.woocommerce .woocommerce-ordering select{border:1px solid var(--hh-line);border-radius:999px;padding:10px 15px;background:#fff}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;border:1px solid var(--hh-line);border-radius:16px;padding:0 0 16px;overflow:hidden;position:relative;transition:.25s}.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--hh-shadow)}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:#f6f7f8;margin:0 0 15px;padding:14px;mix-blend-mode:multiply}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 15px;font-size:14px;line-height:1.4;font-weight:800;min-height:40px}.woocommerce ul.products li.product .price{padding:0 15px;font-size:16px;font-weight:900;color:#111;margin:8px 0 14px}.woocommerce ul.products li.product .button{margin:0 15px;font-size:11px;padding:10px 13px}.woocommerce span.onsale{background:var(--hh-accent);color:#111;min-height:0;min-width:0;line-height:1;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:900;top:12px;left:12px;right:auto}.woocommerce .star-rating{color:#c9b900}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:50%;background:#f2f3f5;min-width:38px;line-height:38px;padding:0}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--hh-accent);color:#111}.single-product .site-main{padding-bottom:50px}.single-product div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:50px;align-items:start}.single-product div.product .woocommerce-product-gallery{width:100%!important;float:none!important;position:relative;background:#f6f7f8;border-radius:24px;padding:22px;overflow:hidden}.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img{border-radius:15px;mix-blend-mode:multiply}.single-product div.product .summary{width:100%!important;float:none!important;padding:15px 0}.single-product div.product .product_title{margin:0 0 15px}.single-product div.product p.price,.single-product div.product span.price{font-size:27px;color:#111;font-weight:950;margin:20px 0}.single-product div.product .woocommerce-product-details__short-description{color:#626873;font-size:14px;line-height:1.8}.single-product div.product form.cart{display:flex;align-items:center;gap:12px;margin:25px 0}.single-product div.product form.cart .quantity .qty{height:46px;width:70px;border:1px solid var(--hh-line);border-radius:999px;padding:0 12px}.single-product div.product form.cart .single_add_to_cart_button{min-height:46px;padding:12px 27px}.single-product .product_meta{border-top:1px solid var(--hh-line);padding-top:18px;font-size:12px;color:#7b8089;display:grid;gap:7px}.single-product .product_meta a{color:#17191e;font-weight:700}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:45px 0 0;display:flex;gap:8px;border-bottom:1px solid var(--hh-line)}.woocommerce div.product .woocommerce-tabs ul.tabs:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:transparent;padding:0;margin:0}.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:13px 18px;display:block}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--hh-accent);border-radius:999px;color:#111}.woocommerce div.product .woocommerce-tabs .panel{padding:20px 0;color:#626873;line-height:1.8}.woocommerce-message,.woocommerce-info{border-top-color:var(--hh-accent)}.woocommerce-message:before,.woocommerce-info:before{color:#8e8500}.woocommerce .quantity .qty{border:1px solid var(--hh-line);border-radius:999px;padding:9px}.woocommerce table.shop_table{border:1px solid var(--hh-line);border-radius:14px;overflow:hidden;border-collapse:separate}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:15px}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{font-size:14px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--hh-line);border-radius:10px;padding:13px}.woocommerce .col2-set,.woocommerce-page .col2-set{width:100%}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:48%}.woocommerce .related.products{margin-top:50px}.woocommerce .related.products>h2{font-size:28px;font-weight:950;letter-spacing:-.8px;margin-bottom:22px}.woocommerce .woocommerce-message a.button{padding:9px 15px}.hh-empty{padding:45px;text-align:center;background:#f7f8fa;border-radius:20px}.hh-empty h2{font-size:28px}.hh-mobile-bottom{display:none}
@media(max-width:1000px){.hh-header-main{grid-template-columns:160px 1fr auto;gap:16px}.hh-header-actions .hh-action-label{display:none}.hh-product-track{grid-auto-columns:calc((100% - 48px)/3)}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hh-footer-grid{grid-template-columns:repeat(2,1fr)}.hh-feature-strip{grid-template-columns:repeat(2,1fr)}.single-product div.product{gap:28px}}
@media(max-width:700px){.hh-container{width:min(100% - 28px,1280px)}.hh-topbar .hh-container{justify-content:center;text-align:center}.hh-topbar .hh-topbar-right{display:none}.hh-header-main{grid-template-columns:34px 1fr auto;gap:10px;padding:12px 0}.hh-mobile-menu{display:block}.hh-header-main .custom-logo{max-width:135px;max-height:45px;margin:auto}.hh-logo-fallback{font-size:21px}.hh-search{grid-column:1/-1;grid-row:2}.hh-search input[type=search]{padding:11px 15px}.hh-search button{padding:10px 15px}.hh-header-actions{gap:8px}.hh-header-actions a{font-size:0}.hh-header-actions .hh-action-icon{font-size:15px;margin:0;width:34px;height:34px}.hh-nav{display:none}.hh-nav.is-open{display:block}.hh-nav .hh-container{flex-wrap:wrap;gap:0;padding:8px 0}.hh-nav a{width:50%;padding:10px 8px}.hh-hero{padding-top:14px}.hh-hero-grid{grid-template-columns:1fr;gap:12px}.hh-banner,.hh-banner-small{min-height:270px;border-radius:18px}.hh-banner-copy{left:23px;bottom:23px;max-width:80%}.hh-banner h1,.hh-banner h2{font-size:34px}.hh-section{padding-top:48px}.hh-section-head{align-items:start}.hh-section-title{font-size:28px}.hh-section-head p{font-size:12px}.hh-category-grid{grid-template-columns:1fr;gap:12px}.hh-category-card{min-height:210px}.hh-product-track{grid-auto-columns:calc((100% - 12px)/2);gap:12px}.hh-product-info{padding:12px}.hh-product-title{font-size:12px;min-height:52px}.hh-product-price{font-size:14px}.hh-product-actions .button{font-size:10px;padding:9px 8px}.hh-quick-view{display:none}.hh-feature-strip{margin-top:45px;padding:22px 17px;grid-template-columns:1fr 1fr;gap:20px 10px;border-radius:18px}.hh-feature{align-items:flex-start;gap:9px}.hh-feature-icon{width:35px;height:35px;flex-basis:35px;font-size:16px}.hh-feature strong{font-size:11px}.hh-feature span{font-size:10px;line-height:1.4}.hh-newsletter{margin:45px 0;padding:25px;display:block}.hh-newsletter h2{font-size:24px}.hh-newsletter .button{display:inline-flex;margin-top:18px}.hh-footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.hh-footer-brand{grid-column:1/-1}.hh-footer-bottom{flex-direction:column}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 10px;font-size:12px;min-height:54px}.woocommerce ul.products li.product .price{padding:0 10px;font-size:14px}.woocommerce ul.products li.product .button{margin:0 10px;font-size:10px;padding:9px 8px}.woocommerce .woocommerce-result-count{float:none!important;margin-bottom:10px}.woocommerce .woocommerce-ordering{float:none!important;margin-bottom:20px}.woocommerce .woocommerce-ordering select{max-width:100%}.single-product div.product{grid-template-columns:1fr;gap:18px}.single-product div.product .woocommerce-product-gallery{padding:12px;border-radius:18px}.single-product div.product .summary{padding:0}.single-product div.product .product_title{font-size:29px}.single-product div.product p.price,.single-product div.product span.price{font-size:24px}.single-product div.product form.cart{gap:8px;flex-wrap:wrap}.single-product div.product form.cart .single_add_to_cart_button{flex:1}.woocommerce div.product .woocommerce-tabs ul.tabs{overflow:auto;white-space:nowrap}.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:11px 14px}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%;float:none}.hh-mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:60;background:#fff;border-top:1px solid var(--hh-line);padding:8px 10px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -6px 25px rgba(0,0,0,.06)}.hh-mobile-bottom a{font-size:10px;font-weight:800;display:grid;gap:2px;justify-items:center}.hh-mobile-bottom span{font-size:18px}.site-footer{padding-bottom:85px}}

.hh-cart-count{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--hh-accent);color:#111;font-size:9px;font-weight:900;vertical-align:top;margin-left:-5px;margin-top:-7px}.hh-branding>a,.hh-footer-brand>a{display:inline-block}.hh-footer-brand img{background:#fff}.entry-content{line-height:1.8;color:#4f555e}.entry-content img{border-radius:12px}

/* HH Telecom refinement pass */
.hh-header-main{grid-template-columns:170px minmax(240px,1fr) auto;gap:24px;padding:10px 0}
.hh-search{height:40px;max-width:720px;box-shadow:0 2px 8px rgba(0,0,0,.025)}
.hh-search input[type=search]{height:38px;padding:8px 15px;font-size:13px}
.hh-search button{height:38px;padding:0 16px;font-size:12px}
.hh-nav{background:#111318;border-top:0;border-bottom:3px solid var(--hh-accent)}
.hh-nav .hh-container{min-height:52px;gap:8px}
.hh-nav a{color:#fff;font-size:13px;font-weight:850;padding:11px 17px;border-radius:8px;transition:background .2s,color .2s}
.hh-nav a:hover,.hh-nav a:focus{color:#111;background:var(--hh-accent)}
.hh-nav .current-menu-item>a,.hh-nav .current_page_item>a{color:#111;background:var(--hh-accent)}
.hh-nav .hh-nav-shop{background:var(--hh-accent);color:#111}
.hh-hero-slider{position:relative;padding-top:22px}
.hh-hero-slides{position:relative;min-height:390px;border-radius:24px;overflow:hidden;background:#111318}
.hh-hero-slide{position:absolute;inset:0;min-height:390px;width:100%;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease,visibility .55s}
.hh-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.hh-hero-slide img{object-fit:cover;object-position:center;width:100%;height:100%}
.hh-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:42px;padding:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#111;font-size:28px;line-height:1;box-shadow:0 5px 20px rgba(0,0,0,.15)}
.hh-slider-arrow:hover{transform:translateY(-50%);background:var(--hh-accent)}
.hh-slider-prev{left:14px}.hh-slider-next{right:14px}
.hh-slider-dots{position:absolute;z-index:6;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.hh-slider-dots button{width:9px;height:9px;min-width:0;padding:0;border-radius:99px;background:rgba(255,255,255,.65);box-shadow:none}
.hh-slider-dots button.is-active{width:26px;background:var(--hh-accent)}
.hh-category-card{min-height:250px;background:#f5f6f7}
.hh-category-card img{object-fit:contain;object-position:center;padding:12px 12px 42px;z-index:-1}
.hh-category-card:after{background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.04) 66%)}
.hh-category-copy{z-index:1;right:65px}
.hh-category-arrow{z-index:2}
.woocommerce .related.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.woocommerce .related.products ul.products li.product{width:auto!important;margin:0!important;float:none!important}
.woocommerce .related.products ul.products li.product a img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.single-product div.product form.cart{flex-wrap:wrap;align-items:center}
.single-product div.product form.cart .single_add_to_cart_button,.single-product div.product form.cart .hh-buy-now{min-height:48px;padding:13px 24px;font-size:13px;font-weight:900;flex:1 1 150px}
.single-product div.product form.cart .hh-buy-now{background:#111318;color:#fff;border:2px solid #111318}
.single-product div.product form.cart .hh-buy-now:hover{background:var(--hh-accent);color:#111;border-color:var(--hh-accent)}
.single-product div.product form.cart .quantity{flex:0 0 auto}
.woocommerce ul.products li.product a img{width:100%;height:auto;min-height:0}
.woocommerce ul.products li.product .button{display:inline-flex;justify-content:center;align-items:center}
.woocommerce-shop .site-main,.tax-product_cat .site-main{padding-bottom:45px}
@media(max-width:1000px){.hh-header-main{grid-template-columns:145px minmax(180px,1fr) auto;gap:14px}.hh-nav .hh-container{gap:2px}.hh-nav a{padding:10px 12px}.hh-hero-slides,.hh-hero-slide{min-height:340px}.woocommerce .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.hh-header-main{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:8px 0}.hh-search{height:36px;grid-column:1/-1;grid-row:2;max-width:none}.hh-search input[type=search]{height:34px;padding:6px 12px;font-size:12px}.hh-search button{height:34px;padding:0 13px;font-size:11px}.hh-nav{border-bottom-width:2px}.hh-nav .hh-container{padding:7px 0;gap:3px}.hh-nav a{width:auto;flex:1 1 44%;padding:11px 10px;background:#1b1d22;border:1px solid #2c2f35;font-size:12px;text-align:center}.hh-nav .current-menu-item>a,.hh-nav .current_page_item>a{background:var(--hh-accent);border-color:var(--hh-accent)}.hh-hero-slider{padding-top:14px}.hh-hero-slides,.hh-hero-slide{min-height:300px;border-radius:18px}.hh-banner-copy{max-width:76%;bottom:28px}.hh-banner h1,.hh-banner h2{font-size:32px}.hh-slider-arrow{width:34px;height:34px;font-size:23px}.hh-slider-prev{left:8px}.hh-slider-next{right:8px}.hh-slider-dots{bottom:10px}.hh-category-card{min-height:220px}.hh-category-card img{padding:10px 10px 45px;object-fit:contain}.woocommerce .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.single-product div.product form.cart .single_add_to_cart_button,.single-product div.product form.cart .hh-buy-now{flex:1 1 42%;padding:12px 12px;font-size:12px}.single-product div.product form.cart .quantity{flex-basis:100%}}
.hh-category-card{isolation:isolate}
.hh-category-card img{z-index:0}
.hh-category-card:after{z-index:1;pointer-events:none}
.hh-category-copy,.hh-category-arrow{z-index:2}

/* HH Telecom v1.2: banner images stay at their original aspect ratio; no text or overlay */
.hh-hero-slider{padding-top:18px;padding-bottom:0}
.hh-hero-slides{position:relative;min-height:0;height:auto;overflow:visible;border-radius:0;background:transparent}
.hh-hero-slide{position:relative;inset:auto;display:none;width:100%;min-height:0;height:auto;opacity:1;visibility:visible;pointer-events:auto;overflow:hidden;border-radius:0;background:transparent;line-height:0}
.hh-hero-slide.is-active{display:block}
.hh-hero-slide img{position:relative;inset:auto;display:block;width:100%;height:auto;max-width:100%;object-fit:contain;object-position:center;transform:none!important;border-radius:0}
.hh-hero-slide:after,.hh-hero-slide .hh-banner-copy{display:none!important;content:none!important}
.hh-slider-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:12px 0 0}
.hh-slider-arrow{position:static;transform:none;width:32px;height:32px;min-width:32px;padding:0;box-shadow:none;background:#111318;color:#fff;font-size:22px}
.hh-slider-arrow:hover{transform:none;background:var(--hh-accent);color:#111}
.hh-slider-dots{position:static;transform:none;display:flex;align-items:center;gap:7px}
.hh-slider-dots button{width:8px;height:8px;min-width:8px;padding:0;background:#b8bbc1;box-shadow:none}
.hh-slider-dots button.is-active{width:22px;background:#111318}

/* Category photography is fully visible with no card box, crop, overlay, or hover zoom */
.hh-category-grid{align-items:start;gap:24px}
.hh-category-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:14px;min-height:0;height:auto;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center;isolation:auto}
.hh-category-card:hover{transform:none;box-shadow:none;color:var(--hh-ink)}
.hh-category-image{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(170px,22vw,280px);padding:0;margin:0;background:transparent;border:0;border-radius:0;overflow:visible}
.hh-category-image img,.hh-category-card img{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;padding:0;margin:0;border:0;border-radius:0;background:transparent;transform:none!important;z-index:auto}
.hh-category-card:after,.hh-category-copy,.hh-category-arrow{display:none!important;content:none!important}
.hh-category-card h3{position:static;margin:0;font-size:15px;font-weight:850;color:#111318}

/* Icon-only yellow benefits on a clean black strip */
.hh-feature-strip.hh-icon-strip{display:flex;align-items:center;justify-content:space-evenly;gap:22px;margin-top:64px;padding:18px 24px;border:0;border-radius:0;background:#111318;box-shadow:none}
.hh-icon-strip .hh-feature-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--hh-accent);font-size:27px;line-height:1}

/* Compact header, accessible mobile menu, and stronger navigation */
.hh-search{height:36px}
.hh-search input[type=search]{height:34px;padding:6px 13px}
.hh-search button{height:34px;padding:0 14px}
.hh-nav .hh-container{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.hh-nav .hh-container>ul{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:100%;margin:0;padding:0;list-style:none}
.hh-nav .hh-container>ul>li{margin:0;padding:0;list-style:none}
.hh-nav a{display:block}
.hh-mobile-menu{color:#111318}
.hh-nav.is-open{display:block!important}

/* Product page buttons, image zoom controls and no pagination beneath product detail */
.single-product div.product form.cart .single_add_to_cart_button{background:#111318!important;color:#fff!important;border:2px solid #111318!important}
.single-product div.product form.cart .single_add_to_cart_button:hover{background:#292c32!important;color:#fff!important;border-color:#292c32!important}
.single-product div.product form.cart .hh-buy-now{background:var(--hh-accent)!important;color:#111318!important;border:2px solid var(--hh-accent)!important}
.single-product div.product form.cart .hh-buy-now:hover{background:#e8dc00!important;border-color:#e8dc00!important}
.single-product .woocommerce-pagination,.single-product nav.woocommerce-pagination,.single-product .page-numbers{display:none!important}
.single-product div.product .woocommerce-product-gallery{position:relative;overflow:hidden}
.hh-gallery-zoom-controls{position:absolute;top:14px;right:14px;z-index:30;display:flex;gap:6px}
.hh-gallery-zoom-controls button{display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;border:1px solid #e7e7e7;border-radius:50%;background:#fff;color:#111318;font-size:20px;line-height:1;box-shadow:0 3px 12px rgba(0,0,0,.09)}
.hh-gallery-zoom-controls button:hover{background:var(--hh-accent);color:#111318;transform:none}
.single-product div.product .woocommerce-product-gallery__image img{transition:transform .2s ease;transform-origin:center center}

/* Cleaner shop and related-product grids */
.woocommerce-shop .hh-shop-intro,.tax-product_cat .hh-shop-intro{padding-top:32px}
.woocommerce-shop .woocommerce-products-header__title,.tax-product_cat .woocommerce-products-header__title{font-size:clamp(28px,3vw,40px);font-weight:900;letter-spacing:-1px;margin:0 0 18px}
.woocommerce-shop ul.products,.tax-product_cat ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:20px!important}
.woocommerce-shop ul.products:before,.woocommerce-shop ul.products:after,.tax-product_cat ul.products:before,.tax-product_cat ul.products:after{display:none!important}
.woocommerce-shop ul.products li.product,.tax-product_cat ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:0 0 16px!important;border:1px solid #eceef1;border-radius:14px;overflow:hidden;background:#fff;transition:box-shadow .2s ease,transform .2s ease}
.woocommerce-shop ul.products li.product:hover,.tax-product_cat ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(17,19,24,.09)}
.woocommerce-shop ul.products li.product a img,.tax-product_cat ul.products li.product a img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;padding:14px;margin:0;background:#fff}
.woocommerce-shop ul.products li.product .button,.tax-product_cat ul.products li.product .button{margin:8px 14px 0;background:#111318;color:#fff}
.woocommerce-shop ul.products li.product .button:hover,.tax-product_cat ul.products li.product .button:hover{background:var(--hh-accent);color:#111318}
.woocommerce .related.products{clear:both;margin-top:44px}
.woocommerce .related.products h2{font-size:clamp(24px,2.5vw,32px);font-weight:900;margin-bottom:20px}
.woocommerce .related.products ul.products li.product{border:1px solid #eceef1;border-radius:14px;overflow:hidden;padding-bottom:14px!important}
.woocommerce .related.products ul.products li.product .button{background:#111318;color:#fff}
.woocommerce .related.products ul.products li.product .button:hover{background:var(--hh-accent);color:#111318}
@media(max-width:1000px){.woocommerce-shop ul.products,.tax-product_cat ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .hh-hero-slider{padding-top:12px}
 .hh-hero-slides{min-height:0!important}
 .hh-hero-slide,.hh-hero-slide.is-active{min-height:0!important;height:auto!important;border-radius:0!important}
 .hh-hero-slide img{height:auto!important;width:100%;object-fit:contain!important}
 .hh-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .hh-category-image{height:clamp(95px,28vw,155px)}
 .hh-category-card h3{font-size:11px;line-height:1.35}
 .hh-feature-strip.hh-icon-strip{margin-top:42px;padding:14px 12px;gap:12px}
 .hh-icon-strip .hh-feature-icon{width:32px;height:32px;flex-basis:32px;font-size:23px}
 .hh-nav{display:none}
 .hh-nav.is-open{display:block!important;max-height:70vh;overflow-y:auto;background:#111318}
 .hh-nav .hh-container{display:block;padding:8px 0}
 .hh-nav .hh-container>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .hh-nav .hh-container>ul>li{width:auto;min-width:0}
 .hh-nav .hh-container>a{display:inline-flex;width:calc(50% - 5px);margin:3px 2px;padding:12px 10px;align-items:center;justify-content:center;background:#1b1d22;border:1px solid #30333a;border-radius:8px;color:#fff;text-align:center}
 .hh-nav .hh-container>ul>li>a{display:flex;min-height:42px;align-items:center;justify-content:center;padding:10px 8px;background:#1b1d22;border:1px solid #30333a;border-radius:8px;color:#fff;text-align:center;font-size:12px}
 .hh-nav .hh-container>ul>li.current-menu-item>a,.hh-nav .hh-container>ul>li.current_page_item>a{background:var(--hh-accent);border-color:var(--hh-accent);color:#111318}
 .hh-nav .hh-container>ul>li ul{display:none}
 .woocommerce-shop ul.products,.tax-product_cat ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .woocommerce-shop ul.products li.product a img,.tax-product_cat ul.products li.product a img{padding:8px}
 .hh-gallery-zoom-controls{top:8px;right:8px;gap:4px}
 .hh-gallery-zoom-controls button{width:30px;height:30px;min-width:30px}
}

/* v1.3 corrections from live product-page review */
/* Mobile category tiles: one full-width category per row, preserving complete image ratio. */
@media(max-width:700px){
 .hh-category-grid{grid-template-columns:minmax(0,1fr)!important;gap:26px!important}
 .hh-category-card{width:100%;align-items:stretch!important}
 .hh-category-image{height:auto!important;aspect-ratio:auto!important;min-height:0!important;width:100%!important}
 .hh-category-image img,.hh-category-card img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
 .hh-category-card h3{font-size:15px!important;text-align:center;margin-top:4px!important}
}
/* Stack purchase actions vertically on desktop too, avoiding side-by-side buttons. */
.single-product div.product form.cart{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.single-product div.product form.cart .quantity{width:100%;margin:0 0 2px!important}
.single-product div.product form.cart .quantity input.qty{min-height:48px}
.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product form.cart .hh-buy-now{display:flex!important;align-items:center;justify-content:center;width:100%!important;max-width:none!important;min-height:50px;flex:0 0 auto!important;margin:0!important}
/* Suppress pagination/navigation controls accidentally rendered inside single product content. */
.single-product .woocommerce-pagination,
.single-product nav.woocommerce-pagination,
.single-product .page-numbers,
.single-product .post-navigation,
.single-product nav.post-navigation,
.single-product .posts-navigation{display:none!important}


/* v1.4: premium single-product layout; remove sidebar and give product area full width */
.single-product #secondary,
.single-product .widget-area,
.single-product aside.sidebar,
.single-product .sidebar,
.single-product .site-sidebar,
.single-product .content-sidebar,
.single-product .woocommerce-sidebar,
.single-product .product-sidebar,
.single-product .shop-sidebar,
.single-product .col-lg-3:has(>.widget),
.single-product .sidebar-main {display:none!important}
.single-product #primary,
.single-product #main,
.single-product .content-area,
.single-product .site-main,
.single-product .woocommerce-page .content-area,
.single-product .site-content .container,
.single-product .site-content .hh-container {width:100%!important;max-width:100%!important;float:none!important;margin-left:auto!important;margin-right:auto!important}
.single-product .site-content .container,
.single-product .site-content .hh-container {padding-left:clamp(16px,3vw,42px);padding-right:clamp(16px,3vw,42px)}
.single-product div.product:not(.product-type-grouped):not(.product-type-external){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);column-gap:clamp(28px,5vw,72px);row-gap:30px;align-items:start}
.single-product div.product div.images,
.single-product div.product .woocommerce-product-gallery{width:100%!important;max-width:none!important;float:none!important;margin:0!important}
.single-product div.product div.summary{width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:clamp(18px,3vw,36px);background:#fff;border:1px solid #eceef1;border-radius:18px;box-shadow:0 12px 34px rgba(17,19,24,.045)}
.single-product div.product .product_title{font-size:clamp(27px,3vw,42px);font-weight:850;line-height:1.12;letter-spacing:-.7px;color:#111318;margin:0 0 14px}
.single-product div.product p.price,.single-product div.product span.price{font-size:clamp(23px,2.5vw,32px);font-weight:800;color:#111318;margin:16px 0}
.single-product div.product .woocommerce-product-details__short-description{font-size:15px;line-height:1.8;color:#555b64;margin:18px 0 22px}
.single-product div.product .woocommerce-product-gallery__wrapper{background:#fff;border:1px solid #eceef1;border-radius:18px;overflow:hidden}
.single-product div.product .woocommerce-product-gallery__image img{width:100%;height:auto;object-fit:contain;padding:clamp(12px,2vw,28px)}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:10px;margin-top:12px;padding:0;overflow-x:auto}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li{float:none!important;width:76px!important;min-width:76px;border:1px solid #eceef1;border-radius:9px;overflow:hidden;padding:4px;background:#fff}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img{width:100%;height:66px;object-fit:contain;opacity:.75}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;border-color:#111318}
.single-product div.product form.cart{margin-top:22px!important;padding-top:20px;border-top:1px solid #eceef1}
.single-product div.product .product_meta{display:grid;gap:8px;padding-top:18px;margin-top:20px;border-top:1px solid #eceef1;font-size:13px;color:#6b7078}
.single-product div.product .product_meta a{color:#111318;text-decoration:none}
.single-product .woocommerce-tabs{grid-column:1/-1;margin-top:10px;padding:clamp(18px,3vw,34px);border:1px solid #eceef1;border-radius:16px;background:#fff}
.single-product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 24px!important;border-bottom:1px solid #eceef1;display:flex;gap:8px;flex-wrap:wrap}
.single-product .woocommerce-tabs ul.tabs:before,.single-product .woocommerce-tabs ul.tabs li:before,.single-product .woocommerce-tabs ul.tabs li:after{display:none!important;content:none!important}
.single-product .woocommerce-tabs ul.tabs li{border:0!important;background:#f4f5f6!important;border-radius:8px 8px 0 0!important;margin:0!important;padding:0!important}
.single-product .woocommerce-tabs ul.tabs li a{padding:13px 18px!important;color:#333!important;font-weight:700!important}
.single-product .woocommerce-tabs ul.tabs li.active{background:#111318!important}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#fff!important}
.single-product .related.products,.single-product .up-sells.products{grid-column:1/-1;margin-top:12px!important;padding-top:28px;border-top:1px solid #eceef1}
.single-product .related.products ul.products,.single-product .up-sells.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0!important}
.single-product .related.products ul.products:before,.single-product .related.products ul.products:after{display:none!important}
.single-product .related.products ul.products li.product,.single-product .up-sells.products ul.products li.product{float:none!important;width:auto!important;margin:0!important}
@media(max-width:760px){
 .single-product div.product:not(.product-type-grouped):not(.product-type-external){grid-template-columns:minmax(0,1fr);gap:22px}
 .single-product div.product div.summary{padding:20px 16px;border-radius:14px}
 .single-product div.product .woocommerce-product-gallery__wrapper{border-radius:14px}
 .single-product .woocommerce-tabs{grid-column:1;padding:18px 14px}
 .single-product .related.products,.single-product .up-sells.products{grid-column:1}
 .single-product .related.products ul.products,.single-product .up-sells.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

/* HH Telecom v1.5: product layout, original-ratio categories, search */
.hh-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.hh-category-card{display:block;min-height:0!important;height:auto!important;background:#fff!important;border:1px solid #e8eaee;border-radius:18px;overflow:hidden;isolation:auto;box-shadow:0 6px 20px rgba(0,0,0,.04)}
.hh-category-card:after{display:none!important}
.hh-category-card .hh-category-image{display:block;width:100%;height:auto;overflow:hidden}
.hh-category-card .hh-category-image img{display:block!important;position:static!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important}
.hh-category-card h3{position:static!important;color:#17191e!important;font-size:19px!important;margin:0!important;padding:15px 18px 18px!important;line-height:1.3}
.hh-search{display:flex!important;align-items:stretch!important;width:100%;min-width:0;min-height:48px;background:#fff!important;border:1.5px solid #d9dde4!important;border-radius:12px!important;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,.035)}
.hh-search:focus-within{border-color:#c3b500!important;box-shadow:0 0 0 3px rgba(255,240,0,.18)}
.hh-search input[type=search]{flex:1;min-width:0;width:100%;height:auto!important;border:0!important;box-shadow:none!important;outline:none!important;border-radius:0!important;background:transparent!important;padding:12px 16px!important;font-size:14px!important;color:#16181d!important}
.hh-search button{flex:0 0 auto;align-self:stretch;height:auto!important;min-height:46px;border-radius:0!important;background:#fff000!important;color:#111!important;padding:0 22px!important;font-size:13px;font-weight:800;white-space:nowrap;transform:none!important}
.hh-search button:hover{background:#e9db00!important}
.single-product .widget-area,.single-product aside.sidebar,.single-product #secondary,.single-product .woocommerce-sidebar{display:none!important}
.single-product .woocommerce .product .summary form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.single-product .woocommerce .product .summary form.cart .quantity{float:none!important;margin:0!important}
.single-product .woocommerce .product .summary form.cart .single_add_to_cart_button{float:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:12px 26px!important;margin:0!important;flex:1 1 180px}
.single-product .woocommerce .product .summary form.cart .hh-buy-now{min-height:48px;margin:0!important;flex:1 1 130px}
.single-product .related.products{display:none!important}
@media(max-width:767px){.hh-category-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px}.hh-category-card{width:100%}.hh-header-main{gap:10px}.hh-search{min-width:0}.hh-search button{padding:0 13px!important}.single-product .woocommerce .product .summary form.cart{gap:10px}}

/* v1.6: full-width WooCommerce shop and product taxonomy pages, no blog widgets */
body.woocommerce-shop #secondary, body.woocommerce-shop .widget-area, body.woocommerce-shop aside.sidebar,
body.woocommerce-shop .sidebar, body.woocommerce-shop .site-sidebar, body.woocommerce-shop .woocommerce-sidebar,
body.woocommerce-shop .shop-sidebar, body.woocommerce-shop .sidebar-main,
body.tax-product_cat #secondary, body.tax-product_cat .widget-area, body.tax-product_cat aside.sidebar,
body.tax-product_cat .sidebar, body.tax-product_cat .site-sidebar, body.tax-product_cat .woocommerce-sidebar,
body.tax-product_cat .shop-sidebar, body.tax-product_cat .sidebar-main,
body.tax-product_tag #secondary, body.tax-product_tag .widget-area, body.tax-product_tag aside.sidebar,
body.tax-product_tag .sidebar, body.tax-product_tag .site-sidebar, body.tax-product_tag .woocommerce-sidebar,
body.tax-product_tag .shop-sidebar, body.tax-product_tag .sidebar-main {display:none!important}
body.woocommerce-shop #primary, body.woocommerce-shop .content-area, body.woocommerce-shop .site-main,
body.tax-product_cat #primary, body.tax-product_cat .content-area, body.tax-product_cat .site-main,
body.tax-product_tag #primary, body.tax-product_tag .content-area, body.tax-product_tag .site-main {width:100%!important;max-width:100%!important;float:none!important}

/* v1.7 mobile header, category sizing, and text-only footer branding */
.hh-footer-brand .hh-footer-hh{display:inline-block;font-size:42px;font-weight:950;letter-spacing:-2px;line-height:1;color:inherit;text-decoration:none}
@media(max-width:767px){
 .hh-header-main{grid-template-columns:36px minmax(0,1fr) 84px!important;position:relative}
 .hh-branding{grid-column:2;grid-row:1;display:flex;justify-content:center;align-items:center;min-width:0;text-align:center}
 .hh-branding>a{display:flex;justify-content:center;align-items:center}
 .hh-header-main .custom-logo{display:block;max-width:120px!important;max-height:44px!important;margin:0 auto!important}
 .hh-mobile-menu{grid-column:1;grid-row:1;justify-self:start}
 .hh-header-actions{grid-column:3;grid-row:1;justify-self:end}
 .hh-search{grid-column:1/-1;grid-row:2}
 .hh-category-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;justify-items:center}
 .hh-category-card{width:min(100%,320px)!important;margin-inline:auto!important}
 .hh-category-card .hh-category-image{width:100%!important;height:auto!important}
 .hh-category-card .hh-category-image img{width:100%!important;height:auto!important;object-fit:contain!important}
 .hh-category-card h3{font-size:15px!important;padding:10px 12px 13px!important}
}

/* v1.8: exact viewport-centered mobile logo, independent of unequal side icons */
@media (max-width:767px) {
  .site-header .hh-header-main {
    position:relative!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) 84px!important;
    grid-template-rows:52px auto!important;
    column-gap:8px!important;
    row-gap:12px!important;
    align-items:center!important;
    padding:10px 0 12px!important;
  }
  .site-header .hh-header-main .hh-branding {
    position:absolute!important;
    top:10px!important;
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    transform:translateX(-50%)!important;
    margin:0!important;
    padding:0!important;
    width:130px!important;
    height:52px!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:3!important;
  }
  .site-header .hh-branding a {
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
  }
  .site-header .hh-branding img.custom-logo {
    display:block!important;
    width:auto!important;
    max-width:125px!important;
    max-height:48px!important;
    height:auto!important;
    margin:0 auto!important;
  }
  .site-header .hh-mobile-menu {grid-column:1!important;grid-row:1!important;justify-self:start!important;z-index:4!important;}
  .site-header .hh-header-actions {grid-column:3!important;grid-row:1!important;justify-self:end!important;z-index:4!important;}
  .site-header .hh-search {grid-column:1/-1!important;grid-row:2!important;margin:0!important;}
}

/* v1.9: stable two-row mobile header; equal side tracks center logo precisely */
@media (max-width:767px) {
  .site-header .hh-header-main {
    display:grid!important;
    grid-template-columns:minmax(78px,1fr) minmax(0,140px) minmax(78px,1fr)!important;
    grid-template-rows:60px auto!important;
    align-items:center!important;
    column-gap:0!important;
    row-gap:10px!important;
    height:auto!important;
    min-height:0!important;
    padding:10px 0 14px!important;
    position:relative!important;
  }
  .site-header .hh-header-main .hh-branding {
    position:static!important;
    grid-column:2!important;
    grid-row:1!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:140px!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    justify-self:center!important;
    align-self:center!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    z-index:1!important;
  }
  .site-header .hh-branding a {display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;}
  .site-header .hh-branding img.custom-logo {display:block!important;width:auto!important;max-width:125px!important;max-height:48px!important;height:auto!important;margin:0 auto!important;object-fit:contain!important;}
  .site-header .hh-mobile-menu {grid-column:1!important;grid-row:1!important;position:static!important;justify-self:start!important;align-self:center!important;margin:0!important;transform:none!important;z-index:2!important;}
  .site-header .hh-header-actions {grid-column:3!important;grid-row:1!important;position:static!important;justify-self:end!important;align-self:center!important;margin:0!important;transform:none!important;z-index:2!important;}
  .site-header .hh-search {grid-column:1/-1!important;grid-row:2!important;position:static!important;transform:none!important;justify-self:stretch!important;width:100%!important;max-width:100%!important;margin:0!important;z-index:1!important;}
}

/* v2.0: mobile logo is centered across the full header width (independent of menu/cart icon widths); icons stay on the sides */
@media (max-width:767px){
  .site-header .hh-header-main{position:relative!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 84px!important;grid-template-rows:56px auto!important;column-gap:8px!important;row-gap:10px!important;align-items:center!important;padding:10px 0 12px!important;}
  .site-header .hh-header-main .hh-branding{position:absolute!important;top:10px!important;left:0!important;right:0!important;width:auto!important;height:56px!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;grid-column:auto!important;grid-row:auto!important;display:flex!important;justify-content:center!important;align-items:center!important;transform:none!important;pointer-events:none!important;z-index:1!important;}
  .site-header .hh-branding a{pointer-events:auto!important;display:flex!important;justify-content:center!important;align-items:center!important;width:auto!important;margin:0 auto!important;}
  .site-header .hh-branding img.custom-logo{display:block!important;width:auto!important;max-width:125px!important;max-height:48px!important;height:auto!important;margin:0!important;object-fit:contain!important;}
  .site-header .hh-mobile-menu{grid-column:1!important;grid-row:1!important;position:relative!important;justify-self:start!important;align-self:center!important;margin:0!important;transform:none!important;z-index:2!important;}
  .site-header .hh-header-actions{grid-column:3!important;grid-row:1!important;position:relative!important;justify-self:end!important;align-self:center!important;margin:0!important;transform:none!important;z-index:2!important;}
  .site-header .hh-search{grid-column:1/-1!important;grid-row:2!important;position:relative!important;justify-self:stretch!important;width:100%!important;max-width:100%!important;margin:0!important;transform:none!important;z-index:1!important;}
}
