/*
Theme Name: ARAMBAZ Theme v1.0 — Section 04 Featured Products Build 05.21
Theme URI: https://arambaz.com/
Author: ARAMBAZ
Description: Amazon-inspired marketplace storefront foundation for ARAMBAZ Commerce Core and WooCommerce. Parallel-test build; existing WooCommerce data is preserved.
Version: 1.5.2
Requires at least: 6.1
Requires PHP: 7.4
Text Domain: arambaz-theme-v1
*/

:root{
    --az-navy:#131921;
    --az-navy-2:#1f2a3a;
    --az-orange:#ff9900;
    --az-bg:#eaeded;
    --az-card:#fff;
    --az-text:#172033;
    --az-muted:#667085;
    --az-border:#d5d9d9;
    --az-link:#007185;
    --az-max:1480px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--az-bg);color:var(--az-text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.45;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select{font:inherit}
.site-top{background:var(--az-navy);color:#fff;font-size:13px}
.az-container{width:min(100% - 32px,var(--az-max));margin-inline:auto}
.az-topbar{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.az-topbar span:last-child{text-align:right}
.site-header{background:var(--az-navy);color:#fff}
.az-mainhead{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:12px 0}
.az-brand{font-weight:900;font-size:30px;letter-spacing:-1.5px;white-space:nowrap}
.az-brand em{color:var(--az-orange);font-style:normal;font-size:16px;vertical-align:top}
.az-account,.az-orders,.az-cart{font-weight:700;line-height:1.15;white-space:nowrap}
.az-account small,.az-orders small{display:block;font-weight:400;font-size:12px}
.az-actions{display:flex;align-items:center;gap:20px}
.az-cart-badge{display:inline-flex;min-width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:var(--az-orange);color:#111;font-weight:900;margin-left:5px}
.az-search{display:grid;grid-template-columns:135px 1fr 58px;height:54px;margin-bottom:12px}
.az-search select,.az-search input{border:0;outline:0}
.az-search select{border-radius:8px 0 0 8px;padding:0 14px;background:#f3f3f3;color:#111;border-right:1px solid #ddd}
.az-search input{padding:0 18px;font-size:17px}
.az-search button{border:0;border-radius:0 8px 8px 0;background:var(--az-orange);font-size:24px;cursor:pointer}
.az-nav{background:var(--az-navy-2);color:#fff;position:relative;z-index:1000}
.az-nav-inner{display:flex;align-items:center;gap:30px;min-height:52px;overflow:visible}
.az-nav a{font-weight:700;white-space:nowrap;padding:15px 0}
.az-nav a:first-child,.az-nav-home{font-weight:900}
.az-nav a:hover{text-decoration:underline}
.az-nav-home{background:rgba(255,153,0,.12);padding-inline:10px!important;border-radius:4px}

.site-main{padding:18px 0 45px}
.az-home{min-width:0}
.az-hero{position:relative;min-height:360px;border-radius:10px;overflow:hidden;background:linear-gradient(105deg,#dfe8ef 0%,#fff 52%,#f8d9a0 100%);display:flex;align-items:flex-end;margin-bottom:22px}
.az-hero-copy{padding:42px;max-width:720px;position:relative;z-index:2}
.az-kicker{font-size:14px;font-weight:900;letter-spacing:2px;color:#b45309;text-transform:uppercase}
.az-hero h1{font-size:48px;line-height:1.05;margin:8px 0 14px}
.az-hero p{font-size:20px;max-width:650px;margin:0 0 22px;color:#344054}
.az-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:24px;padding:12px 22px;font-weight:800;cursor:pointer;background:var(--az-orange);color:#111}
.az-btn.alt{background:#fff;border:1px solid #999}
.az-hero-art{position:absolute;right:-30px;bottom:-70px;width:45%;height:90%;background:radial-gradient(circle at 50% 35%,#fff 0 12%,transparent 13%),linear-gradient(135deg,transparent 0 48%,rgba(255,153,0,.18) 49% 100%);transform:skewX(-8deg);opacity:.85}
.az-section{background:#fff;padding:24px;margin-bottom:22px;border-radius:8px}
.az-section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:16px}
.az-section h2{font-size:28px;margin:0}
.az-seeall{color:var(--az-link);font-weight:700;font-size:14px}
.az-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.az-category{border:1px solid var(--az-border);border-radius:6px;padding:18px;min-height:150px;background:#fff}
.az-category-icon{height:82px;border-radius:6px;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);display:flex;align-items:center;justify-content:center;font-size:42px;margin-bottom:12px}
.az-category h3{font-size:17px;margin:0 0 4px}
.az-category p{margin:0;color:var(--az-muted);font-size:13px}
.az-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.az-product{position:relative;border:1px solid var(--az-border);background:#fff;border-radius:6px;padding:12px;min-width:0}
.az-product:hover{box-shadow:0 2px 8px rgba(0,0,0,.12)}
.az-product-image{aspect-ratio:1/1;background:#f7f7f7;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:12px}
.az-product-image img{width:100%;height:100%;object-fit:contain}
.az-sale{position:absolute;top:12px;left:12px;background:#cc0c39;color:#fff;font-weight:800;font-size:12px;padding:5px 8px;border-radius:3px}
.az-product h3{font-size:16px;line-height:1.3;margin:5px 0 8px}
.az-price{font-size:20px;font-weight:900}
.az-old{font-size:13px;color:#667085;text-decoration:line-through;margin-left:5px}
.az-card-btn{display:block;text-align:center;background:#ffd814;border-radius:18px;padding:9px;margin-top:12px;font-weight:700}
.az-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.az-strip-card{padding:24px;border-radius:8px;background:#f7f7f7;border:1px solid var(--az-border)}
.az-strip-card strong{display:block;font-size:20px;margin-bottom:5px}
.az-strip-card span{color:var(--az-muted)}
.az-footer{background:#131a22;color:#fff;padding:34px 0}
.az-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}
.az-footer h3{margin-top:0}
.az-footer p,.az-footer a{color:#ddd;font-size:14px}
.az-backtop{text-align:center;background:#243244;padding:14px;color:#fff;font-weight:700}
.woocommerce .site-main{padding-top:24px}
.woocommerce ul.products{margin:0!important}
.woocommerce .woocommerce-result-count{float:none!important;margin:0 0 12px!important}
.woocommerce .woocommerce-ordering{float:none!important;margin:0 0 18px!important}
@media(max-width:1100px){
    .az-mainhead{grid-template-columns:auto 1fr}
    .az-actions{grid-column:2;justify-content:flex-end}
    .az-products,.az-grid-4{grid-template-columns:repeat(3,1fr)}
    .az-hero h1{font-size:40px}
}
@media(max-width:760px){
    .az-container{width:min(100% - 20px,var(--az-max))}
    .az-topbar{font-size:11px}
    .az-mainhead{display:flex;flex-wrap:wrap}
    .az-actions{width:100%;justify-content:space-between;gap:10px}
    .az-search{grid-template-columns:100px 1fr 50px}
    .az-nav-inner{gap:18px;overflow-x:auto;overflow-y:visible}
    .az-hero{min-height:300px}
    .az-hero-copy{padding:26px}
    .az-hero h1{font-size:34px}
    .az-hero p{font-size:17px}
    .az-hero-art{width:50%;opacity:.45}
    .az-products,.az-grid-4{grid-template-columns:repeat(2,1fr)}
    .az-strip,.az-footer-grid{grid-template-columns:1fr}
    .az-section{padding:16px}
}
@media(max-width:480px){
    .az-products,.az-grid-4{grid-template-columns:1fr}
    .az-account,.az-orders{font-size:13px}
    .az-brand{font-size:25px}
    .az-hero{min-height:330px}
}


/* Foundation Build 05 — clean marketplace homepage */
.az-home-v3{padding-bottom:10px}
.az-market-hero{min-height:390px;margin-bottom:22px;border-radius:10px;overflow:hidden;background:linear-gradient(115deg,#fff 0%,#f7f8fa 55%,#e8edf3 100%);display:grid;grid-template-columns:1.25fr .75fr;align-items:stretch;border:1px solid var(--az-border)}
.az-market-hero-copy{padding:54px 52px;display:flex;flex-direction:column;justify-content:center}
.az-market-hero .az-kicker{font-size:13px;letter-spacing:2.2px;color:#c65d00;font-weight:900}
.az-market-hero h1{font-size:52px;line-height:1.03;margin:9px 0 16px;letter-spacing:-1.5px}
.az-market-hero p{font-size:19px;line-height:1.55;color:#475467;max-width:690px;margin:0 0 24px}
.az-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.az-btn-light{background:#fff;border:1px solid #aab2bd;color:#172033}
.az-market-hero-panel{padding:35px;display:grid;grid-template-columns:1fr;gap:14px;align-content:center;background:linear-gradient(135deg,#eaf0f5,#fff)}
.az-hero-card{background:#fff;border:1px solid var(--az-border);border-radius:9px;padding:20px 22px;box-shadow:0 3px 12px rgba(15,23,42,.06)}
.az-hero-card strong{display:block;font-size:21px;margin-bottom:3px}.az-hero-card span{color:var(--az-muted);font-size:14px}
.az-quick-links{display:grid;grid-template-columns:repeat(4,1fr);padding:0;overflow:hidden}
.az-quick-links a{display:flex;align-items:center;gap:13px;padding:19px;border-right:1px solid var(--az-border);min-width:0}.az-quick-links a:last-child{border-right:0}
.az-quick-links a:hover{background:#f8fafc}.az-quick-links span{font-size:28px}.az-quick-links strong,.az-quick-links small{display:block}.az-quick-links small{font-size:12px;color:var(--az-muted);margin-top:2px}
.az-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.az-category-tile{border:1px solid var(--az-border);border-radius:8px;padding:13px;background:#fff;transition:.15s}.az-category-tile:hover{box-shadow:0 3px 12px rgba(0,0,0,.08);transform:translateY(-1px)}
.az-category-icon{height:105px;border-radius:6px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:48px;margin-bottom:11px}.az-category-tile strong,.az-category-tile small{display:block}.az-category-tile small{font-size:12px;color:var(--az-muted);margin-top:3px}
.az-products-v3 .az-product{border-radius:8px;padding:12px}.az-products-v3 .az-product-image{background:#fff}.az-empty{padding:30px;text-align:center;color:var(--az-muted);grid-column:1/-1}
.az-opportunity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.az-opportunity-grid a{display:flex;gap:15px;padding:22px;border:1px solid var(--az-border);border-radius:8px;background:#fff}.az-opportunity-grid a:hover{box-shadow:0 3px 12px rgba(0,0,0,.08)}.az-opportunity-grid span{font-size:32px}.az-opportunity-grid h3{margin:0 0 5px;font-size:19px}.az-opportunity-grid p{margin:0;color:var(--az-muted);font-size:14px}
body.home .site-main{padding-top:18px}body.home .woocommerce-result-count,body.home .woocommerce-ordering{display:none!important}
@media(max-width:1000px){.az-market-hero{grid-template-columns:1fr}.az-market-hero-panel{grid-template-columns:repeat(3,1fr)}.az-quick-links{grid-template-columns:repeat(2,1fr)}.az-quick-links a:nth-child(2){border-right:0}.az-category-grid{grid-template-columns:repeat(3,1fr)}.az-opportunity-grid{grid-template-columns:1fr}}
@media(max-width:700px){.az-market-hero-copy{padding:34px 25px}.az-market-hero h1{font-size:39px}.az-market-hero p{font-size:17px}.az-market-hero-panel{grid-template-columns:1fr;padding:20px}.az-category-grid{grid-template-columns:repeat(2,1fr)}.az-quick-links{grid-template-columns:1fr}.az-quick-links a{border-right:0;border-bottom:1px solid var(--az-border)}.az-quick-links a:last-child{border-bottom:0}}
@media(max-width:480px){.az-category-grid{grid-template-columns:1fr}}


/* Foundation Build 05 — homepage body cleanup */
.az-foundation-home{max-width:1480px;margin:0 auto;padding:24px 16px 50px}
.az-fh-hero{background:#fff;border:1px solid var(--az-border);border-radius:8px;display:grid;grid-template-columns:1.4fr .6fr;overflow:hidden;margin-bottom:22px}
.az-fh-copy{padding:48px}.az-fh-copy .az-kicker{display:block;margin-bottom:8px}.az-fh-copy h1{font-size:46px;line-height:1.05;margin:0 0 14px}.az-fh-copy p{font-size:18px;color:#475467;max-width:680px;margin:0 0 22px}.az-fh-art{background:linear-gradient(135deg,#e9eef5,#fff 55%,#f8d9a0);display:flex;align-items:center;justify-content:center;padding:28px}.az-fh-art-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:100%;max-width:390px}.az-fh-mini{background:#fff;border:1px solid var(--az-border);border-radius:8px;padding:22px;min-height:115px;box-shadow:0 2px 8px rgba(0,0,0,.06)}.az-fh-mini strong{display:block;font-size:19px;margin-bottom:5px}.az-fh-mini span{font-size:13px;color:var(--az-muted)}
.az-fh-links{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.az-fh-link{background:#fff;border:1px solid var(--az-border);border-radius:8px;padding:18px;display:flex;gap:12px;align-items:center}.az-fh-link:hover{box-shadow:0 3px 12px rgba(0,0,0,.08)}.az-fh-link-icon{font-size:28px}.az-fh-link strong,.az-fh-link small{display:block}.az-fh-link small{color:var(--az-muted);font-size:12px;margin-top:2px}
.az-fh-section{background:#fff;border:1px solid var(--az-border);border-radius:8px;padding:24px;margin-bottom:22px}.az-fh-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.az-fh-head h2{margin:0;font-size:28px}.az-fh-head a{color:var(--az-link);font-weight:700;font-size:14px}.az-fh-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.az-fh-cat{border:1px solid var(--az-border);border-radius:8px;padding:12px}.az-fh-cat-img{height:120px;background:#f5f6f7;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:46px;margin-bottom:10px}.az-fh-cat strong,.az-fh-cat small{display:block}.az-fh-cat small{color:var(--az-muted);font-size:12px;margin-top:3px}
.az-fh-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.az-fh-products .az-product{border-radius:8px}.az-fh-opps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.az-fh-opp{border:1px solid var(--az-border);border-radius:8px;padding:22px}.az-fh-opp h3{margin:0 0 6px}.az-fh-opp p{margin:0;color:var(--az-muted);font-size:14px}
@media(max-width:1000px){.az-fh-hero{grid-template-columns:1fr}.az-fh-art{padding:22px}.az-fh-links{grid-template-columns:repeat(2,1fr)}.az-fh-cats{grid-template-columns:repeat(3,1fr)}.az-fh-products{grid-template-columns:repeat(3,1fr)}.az-fh-opps{grid-template-columns:1fr}}
@media(max-width:700px){.az-foundation-home{padding:15px 10px 35px}.az-fh-copy{padding:30px 24px}.az-fh-copy h1{font-size:36px}.az-fh-copy p{font-size:16px}.az-fh-links,.az-fh-cats{grid-template-columns:repeat(2,1fr)}.az-fh-products{grid-template-columns:repeat(2,1fr)}.az-fh-section{padding:16px}}
@media(max-width:480px){.az-fh-links,.az-fh-cats,.az-fh-products{grid-template-columns:1fr}.az-fh-art-grid{grid-template-columns:1fr}.az-fh-head h2{font-size:23px}}


/* Section 03 — Shop by Category / Amazon-style marketplace cards */
.az-fh-category-section{padding-top:26px;background:var(--az-category-section-bg,#fff)}
.az-fh-category-section .az-fh-head{margin-bottom:20px}
.az-fh-category-section .az-fh-head h2{position:relative;display:inline-block;padding-bottom:8px}
.az-fh-category-section .az-fh-head h2:after{content:"";display:block;width:58px;height:3px;border-radius:2px;margin-top:7px;background:var(--az-shop-heading-accent,#ff9900)}
.az-fh-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.az-fh-category-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--az-border);border-radius:10px;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.az-fh-category-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px var(--az-category-card-hover-shadow,rgba(15,23,42,.10))}
.az-fh-category-media{aspect-ratio:1.35/1;background:#f6f7f8;display:flex;align-items:center;justify-content:center;overflow:hidden}
.az-fh-category-media img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.az-fh-category-card:hover .az-fh-category-media img{transform:scale(1.025)}
.az-fh-category-placeholder{font-size:54px;line-height:1}
.az-fh-category-body{padding:16px 17px 18px;background:var(--az-category-card-bg,#fff)}
.az-fh-category-body strong{display:block;font-size:18px;line-height:1.25}
.az-fh-category-body small{display:block;margin-top:5px;font-size:13px}
.az-fh-category-arrow{display:inline-block;margin-top:12px;font-size:13px;font-weight:800}
.az-fh-category-card:focus-visible{outline:3px solid rgba(255,153,0,.35);outline-offset:2px}
@media(max-width:1000px){.az-fh-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.az-fh-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:480px){.az-fh-category-grid{grid-template-columns:1fr}}


/* Section 02 — Today's Deals */
.az-fh-deals-section{background:#fff;border:1px solid var(--az-border);border-radius:8px;padding:24px;margin-bottom:22px}
.az-fh-deals-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.az-fh-deals-title{display:flex;align-items:center;gap:10px}
.az-fh-deals-title h2{margin:0;font-size:30px;line-height:1.15}
.az-fh-deals-fire{font-size:28px}
.az-fh-deals-sub{margin:4px 0 0;color:var(--az-muted);font-size:14px}
.az-fh-deals-head>a{color:var(--az-link);font-weight:800;font-size:14px;white-space:nowrap}
.az-fh-deals-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.az-fh-deal-card{min-width:0;border:1px solid var(--az-border);border-radius:8px;background:#fff;overflow:hidden;position:relative;transition:transform .15s ease,box-shadow .15s ease}
.az-fh-deal-card:hover{transform:translateY(-2px);box-shadow:0 5px 16px rgba(15,23,42,.10)}
.az-fh-deal-card .az-product-image{height:250px;background:#f7f7f7}
.az-fh-deal-card .az-product-image img{width:100%;height:100%;object-fit:contain}
.az-fh-deal-card h3{font-size:15px;line-height:1.35;margin:12px 14px 7px;min-height:41px}
.az-fh-deal-card .az-price{margin:0 14px;font-size:20px;font-weight:900}
.az-fh-deal-card .az-price del{font-size:13px;font-weight:400;color:var(--az-muted);margin-right:4px}
.az-fh-deal-card .az-price ins{text-decoration:none}
.az-fh-deal-card .az-rating{margin:0 14px 6px;font-size:13px;display:flex;gap:5px;align-items:center}
.az-fh-deal-card .az-stars{letter-spacing:1px}
.az-fh-deal-card .az-review-count{color:var(--az-link)}
.az-discount{display:inline-block;margin:8px 14px 0;background:#cc0c39;color:#fff;border-radius:3px;padding:4px 7px;font-size:12px;font-weight:800}
.az-fh-deal-card .az-card-btn{display:block;margin:12px 14px 14px;text-align:center;background:#ffd814;color:#111;border-radius:20px;padding:9px 12px;font-weight:800;font-size:13px}
.az-fh-deal-card .az-sale{position:absolute;z-index:2;top:10px;left:10px;background:#cc0c39;color:#fff;border-radius:3px;padding:5px 8px;font-size:12px;font-weight:800}
.az-fh-deals-empty{padding:28px;border:1px dashed var(--az-border);border-radius:8px;color:var(--az-muted);text-align:center;grid-column:1/-1}
@media(max-width:1100px){.az-fh-deals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.az-fh-deals-section{padding:16px}.az-fh-deals-head{align-items:flex-start}.az-fh-deals-title h2{font-size:24px}.az-fh-deals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.az-fh-deal-card .az-product-image{height:210px}}
@media(max-width:480px){.az-fh-deals-grid{grid-template-columns:1fr}.az-fh-deal-card .az-product-image{height:250px}}


/* All Categories — frontend hover/focus mega menu v1.1.7 */
.az-nav,
.az-nav-inner,
.az-nav-categories{position:relative}
.az-nav{z-index:99990;overflow:visible!important}
.az-nav-inner{z-index:99991;overflow:visible!important}
.az-nav-categories{align-self:stretch;display:flex;align-items:stretch;position:relative;z-index:99999}
.az-nav-categories-toggle{display:flex!important;align-items:center;height:100%;padding:15px 0!important;position:relative;z-index:100000}
.az-nav-categories:hover .az-nav-categories-toggle,
.az-nav-categories:focus-within .az-nav-categories-toggle,
.az-nav-categories.is-open .az-nav-categories-toggle{background:rgba(255,153,0,.12);text-decoration:none!important}
.az-category-mega{
    position:fixed!important;
    left:10px!important;
    top:100px;
    margin:0;
    width:calc(100vw - 20px)!important;
    max-width:1600px;
    max-height:calc(100vh - 20px);
    overflow:hidden;
    background:#fff;
    color:var(--az-text);
    border:1px solid var(--az-border);
    border-top:3px solid var(--az-orange);
    border-radius:0 0 10px 10px;
    box-shadow:0 12px 30px rgba(15,23,42,.24);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(6px);
    transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
    z-index:2147483000!important;
}
.az-nav-categories:hover .az-category-mega,
.az-nav-categories:focus-within .az-category-mega,
.az-nav-categories.is-open .az-category-mega{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
}
.az-category-mega-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px 14px;border-bottom:1px solid #edf0f2;background:#fff}
.az-category-mega-heading strong{font-size:20px;font-weight:900;color:#172033;line-height:1.2}
.az-category-mega-heading span{font-size:13px;font-weight:600;color:var(--az-muted)}
.az-category-mega-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-height:calc(100vh - 170px);overflow-y:auto;padding:20px 22px}
.az-category-mega-group{min-width:0;padding:0 18px 20px;border-right:1px solid #edf0f2}
.az-category-mega-group:nth-child(4n){border-right:0}
.az-category-mega-title{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:5px 0 9px!important;color:#172033!important;font-size:16px;font-weight:900!important;text-decoration:none!important}
.az-category-mega-title:hover{color:var(--az-link)!important;text-decoration:none!important}
.az-category-mega-title span{font-size:20px;color:var(--az-orange);line-height:1}
.az-category-mega-children{list-style:none;margin:0;padding:0}
.az-category-mega-children li{margin:0;padding:0}
.az-category-mega-children a{display:block!important;padding:4px 0!important;color:#667085!important;font-size:13px;font-weight:600!important;white-space:normal;text-decoration:none!important}
.az-category-mega-children a:hover{color:var(--az-link)!important;text-decoration:underline!important}
.az-category-mega-empty{padding:22px;color:var(--az-muted)}
@media(max-width:1000px){.az-category-mega{width:calc(100vw - 20px)!important;max-width:none}.az-category-mega-inner{grid-template-columns:repeat(3,minmax(0,1fr))}.az-category-mega-group:nth-child(4n){border-right:1px solid #edf0f2}.az-category-mega-group:nth-child(3n){border-right:0}}
@media(max-width:700px){.az-nav-inner{overflow-x:auto;overflow-y:visible}.az-category-mega{left:10px!important;width:calc(100vw - 20px)!important;max-width:none}.az-category-mega-heading{padding:14px 16px 11px}.az-category-mega-heading strong{font-size:17px}.az-category-mega-inner{grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100vh - 150px);padding:15px}.az-category-mega-group{padding:0 12px 16px}.az-category-mega-group:nth-child(3n){border-right:1px solid #edf0f2}.az-category-mega-group:nth-child(2n){border-right:0}}
@media(max-width:480px){.az-category-mega-inner{grid-template-columns:1fr}.az-category-mega-group,.az-category-mega-group:nth-child(3n){border-right:0;border-bottom:1px solid #edf0f2;padding:12px}.az-category-mega-group:last-child{border-bottom:0}}


/* ARAMBAZ v1.2.5 — heading colors are controlled from Appearance > Customize */
.az-fh-category-section .az-fh-head h2,
.az-fh-deals-section .az-fh-deals-title h2,
#az-fh-business .az-fh-head h2 {
    color: var(--az-shop-heading, #172033);
}
.az-fh-category-section .az-fh-head h2::after,
.az-fh-deals-section .az-fh-deals-title h2::after,
#az-fh-business .az-fh-head h2::after {
    background: var(--az-shop-heading-accent, #ff9900);
}


/* Build 05 — Section 03 frontend + responsive polish */
/* Build 05.2 — mobile viewport overflow hardening */
.az-mainhead,.az-search,.az-actions,.az-nav-inner{min-width:0}
.az-search{width:100%;min-width:0}
.az-search select,.az-search input,.az-search button{min-width:0}
@media(max-width:760px){
  .az-mainhead{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0}
  .az-brand{flex:0 0 auto;max-width:100%;font-size:30px}
  .az-search{order:2;flex:1 1 100%;width:100%;margin:0;grid-template-columns:minmax(82px,100px) minmax(0,1fr) 50px}
  .az-search select{width:100%;padding:0 10px}
  .az-search input{width:100%;min-width:0;padding:0 12px}
  .az-search button{width:100%;min-width:0}
  .az-actions{order:3;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:10px}
  .az-account,.az-orders,.az-cart{min-width:0}
  .az-nav{overflow:hidden}
  .az-nav-inner{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .az-nav-inner::-webkit-scrollbar{display:none}
}
@media(max-width:480px){
  .az-container{width:calc(100% - 20px);max-width:100%;min-width:0}
  .az-topbar{gap:6px;min-width:0}
  .az-topbar span{min-width:0;overflow-wrap:anywhere}
  .az-brand{font-size:25px}
  .az-search{grid-template-columns:82px minmax(0,1fr) 48px}
  .az-search input{font-size:15px}
  .az-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px}
  .az-account,.az-orders{font-size:12px;line-height:1.1}
  .az-account small,.az-orders small{font-size:11px}
  .az-cart{font-size:14px}
  .az-cart-badge{min-width:30px;height:30px}
}

.az-fh-category-section{box-sizing:border-box;min-width:0;overflow:hidden}
.az-fh-category-section .az-fh-head{min-width:0}
.az-fh-category-section .az-fh-head h2{min-width:0;overflow-wrap:anywhere}
.az-fh-category-section .az-fh-head>a{flex:0 0 auto;line-height:1.35}
.az-fh-category-grid{align-items:stretch;grid-auto-rows:1fr}
.az-fh-category-card{height:100%;min-height:0;box-sizing:border-box;text-decoration:none}
.az-fh-category-media{width:100%;position:relative}
.az-fh-category-media img{display:block;max-width:100%;object-position:center}
.az-fh-category-body{display:flex;flex-direction:column;min-width:0;flex:1}
.az-fh-category-body strong{overflow-wrap:anywhere}
.az-fh-category-body small{line-height:1.45}
.az-fh-category-arrow{margin-top:auto;padding-top:10px;line-height:1.3}
.az-fh-category-card:focus-visible{outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  .az-fh-category-card,.az-fh-category-media img{transition:none!important}
}
@media (hover:none){
  .az-fh-category-card:hover{transform:none!important;box-shadow:none!important}
  .az-fh-category-card:hover .az-fh-category-media img{transform:none!important}
}
@media(max-width:1000px){
  .az-fh-category-section .az-fh-head{gap:12px}
  .az-fh-category-card{min-width:0}
}
@media(max-width:700px){
  .az-fh-category-section{overflow:visible}
  .az-fh-category-section .az-fh-head{align-items:flex-start;flex-wrap:wrap}
  .az-fh-category-section .az-fh-head h2{flex:1 1 100%;line-height:1.15}
  .az-fh-category-section .az-fh-head>a{margin-left:auto}
  .az-fh-category-grid{gap:var(--az-category-gap,14px)}
  .az-fh-category-body{padding:var(--az-category-body-padding,16px)!important}
}
@media(max-width:480px){
  .az-fh-category-section .az-fh-head{margin-bottom:16px}
  .az-fh-category-section .az-fh-head h2{font-size:clamp(20px,var(--az-category-heading-size,30px),26px)!important}
  .az-fh-category-section .az-fh-head h2:after{margin-left:0}
  .az-fh-category-card{width:100%}
  .az-fh-category-media{aspect-ratio:var(--az-category-image-ratio,1.35)!important}
}
@media(min-width:481px) and (max-width:700px){
  .az-fh-category-media{aspect-ratio:var(--az-category-image-ratio,1.35)!important}
}

/* Build 05.2 — final viewport overflow hardening */
html{max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
body{max-width:100%;overflow-x:clip}
.az-container,.az-mainhead,.az-search,.az-actions,.az-nav,.az-nav-inner,.site-main,.az-foundation-home,.az-fh-hero,.az-fh-copy,.az-fh-art{max-width:100%;min-width:0}
.az-search{box-sizing:border-box}
.az-mainhead > *, .az-fh-hero > *, .az-fh-links > *, .az-fh-section > *, .az-fh-deals-section > *{min-width:0}
.az-category-mega{box-sizing:border-box}
.az-fh-hero h1,.az-fh-hero p{overflow-wrap:anywhere}
@media(max-width:760px){
  .az-mainhead{width:100%;}
  .az-search{flex-basis:100%;max-width:100%;}
  .az-actions{max-width:100%;}
  .az-nav-inner{width:100%;max-width:100%;}
  .az-foundation-home{width:100%;max-width:100%;}
  .az-fh-hero{width:100%;max-width:100%;}
}


/* Build 05.4 — definitive responsive overflow fix */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.site-top,
.site-header,
.az-nav,
.site-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.az-container,
.az-mainhead,
.az-search,
.az-actions,
.az-nav-inner,
.az-foundation-home,
.az-fh-hero,
.az-fh-copy,
.az-fh-art,
.az-fh-links,
.az-fh-section,
.az-fh-deals-section,
.az-fh-category-section {
    min-width: 0;
    max-width: 100%;
}

.az-mainhead > *,
.az-search > *,
.az-actions > *,
.az-nav-inner > *,
.az-fh-hero > *,
.az-fh-links > *,
.az-fh-section > *,
.az-fh-deals-section > * {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 760px) {
    .site-top,
    .site-header,
    .az-nav,
    .site-main {
        overflow-x: hidden;
    }

    .az-container {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .az-mainhead {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .az-brand {
        max-width: 100%;
        flex: 0 1 auto;
    }

    .az-search {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        min-width: 0;
    }

    .az-search select,
    .az-search input,
    .az-search button {
        min-width: 0;
        max-width: 100%;
    }

    .az-actions {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .az-actions > a {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .az-nav-inner {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
    }

    .az-nav-inner::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .az-nav-inner > *,
    .az-nav-inner a {
        flex: 0 0 auto;
        min-width: max-content;
        max-width: none;
    }

    .az-nav-categories {
        flex: 0 0 auto;
    }

    .az-category-mega {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box;
    }

    .az-foundation-home {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .az-fh-hero,
    .az-fh-links,
    .az-fh-section,
    .az-fh-deals-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .az-fh-copy,
    .az-fh-copy h1,
    .az-fh-copy p {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .az-hero-actions {
        max-width: 100%;
    }

    .az-btn,
    .az-btn-light {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .az-container {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }

    .az-topbar {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .az-topbar span {
        min-width: 0;
        max-width: 50%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .az-search {
        grid-template-columns: 78px minmax(0, 1fr) 46px;
    }

    .az-search select {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 14px;
    }

    .az-search input {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 15px;
    }

    .az-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 7px;
    }

    .az-account,
    .az-orders {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .az-cart {
        flex: 0 0 auto;
    }
}

/* Build 05.4 — mobile header/nav fit fix */
@media (max-width: 760px) {
    /* Keep the mobile header entirely inside the viewport. */
    .az-mainhead {
        gap: 10px;
    }

    .az-search {
        grid-template-columns: 90px minmax(0, 1fr) 48px;
    }

    /* Do not create a page-level horizontal overflow just to fit the menu. */
    .az-nav {
        overflow: visible !important;
    }

    .az-nav-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0 4px;
        overflow: visible !important;
        padding-bottom: 0;
    }

    .az-nav-inner > *,
    .az-nav-inner a {
        flex: 0 0 auto;
        min-width: 0;
        max-width: 100%;
        white-space: nowrap;
    }

    .az-nav a {
        padding: 13px 8px;
    }

    .az-nav-home {
        padding-inline: 10px !important;
    }

    .az-nav-categories-toggle {
        padding: 13px 8px !important;
    }

    .az-category-mega {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }
}

@media (max-width: 480px) {
    .az-search {
        grid-template-columns: 90px minmax(0, 1fr) 46px;
    }

    .az-search select {
        font-size: 14px;
        padding-left: 7px;
        padding-right: 5px;
    }

    .az-search input {
        font-size: 15px;
        padding-left: 9px;
        padding-right: 8px;
    }

    .az-nav-inner {
        gap: 0;
    }

    .az-nav a {
        font-size: 15px;
        padding: 12px 7px;
    }

    .az-nav-home {
        padding-inline: 9px !important;
    }

    .az-nav-categories-toggle {
        padding: 12px 7px !important;
    }
}


/* Build 05.5 — compact mobile navigation fit */
@media (max-width: 760px) {
    .az-nav-inner {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
        gap: 0 !important;
        overflow: visible !important;
        width: 100%;
        min-width: 0;
    }

    .az-nav-inner > * {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .az-nav a,
    .az-nav-categories-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 48px;
        padding: 10px 4px !important;
        text-align: center;
        white-space: normal !important;
        line-height: 1.15;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .az-nav-home {
        border-radius: 4px;
    }

    .az-nav-categories {
        min-width: 0;
        width: 100%;
    }

    .az-nav-categories-toggle {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .az-nav-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .az-nav a,
    .az-nav-categories-toggle {
        min-height: 46px;
        padding: 9px 3px !important;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .az-nav a,
    .az-nav-categories-toggle {
        font-size: 12px;
        padding-inline: 2px !important;
    }
}


/* Build 05.6 — Amazon-style mobile responsive header/nav final fix
 * Goals:
 * 1) Use the full mobile viewport.
 * 2) Keep logo + account/orders/cart on one compact row.
 * 3) Put search on its own full-width row.
 * 4) Keep primary navigation in ONE horizontal row with touch scrolling.
 * 5) Never create a fixed-width mobile canvas or multi-row navigation block.
 */
@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .site-top,
    .site-header,
    .site-main,
    .az-nav {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .az-container {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .az-topbar {
        width: 100%;
        min-width: 0;
        min-height: 34px;
        gap: 8px;
        font-size: 12px;
    }

    .az-topbar span {
        min-width: 0;
        max-width: 50%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Mobile header: logo/actions together, search underneath. */
    .az-mainhead {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "search search";
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 10px 0 12px;
        overflow: visible;
    }

    .az-brand {
        grid-area: brand;
        min-width: 0;
        max-width: 100%;
        font-size: 27px;
        letter-spacing: -1.2px;
        overflow: visible;
    }

    .az-actions {
        grid-area: actions;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        width: auto;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }

    .az-account,
    .az-orders,
    .az-cart {
        min-width: 0;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
        line-height: 1.08;
    }

    .az-account,
    .az-orders {
        font-size: 13px;
    }

    .az-account small,
    .az-orders small {
        font-size: 10px;
        line-height: 1.05;
    }

    .az-cart {
        font-size: 15px;
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }

    .az-cart-badge {
        min-width: 30px;
        width: 30px;
        height: 30px;
        margin-left: 3px;
        flex: 0 0 30px;
    }

    .az-search {
        grid-area: search;
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) 48px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 50px;
        margin: 0;
    }

    .az-search select,
    .az-search input,
    .az-search button {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 50px;
    }

    .az-search select {
        padding: 0 8px;
        font-size: 14px;
    }

    .az-search input {
        padding: 0 11px;
        font-size: 15px;
    }

    .az-search button {
        font-size: 22px;
    }

    /* Amazon-like horizontal navigation: one row, touch-scrollable. */
    .az-nav {
        overflow: hidden !important;
    }

    .az-nav-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 48px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .az-nav-inner::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .az-nav-inner > *,
    .az-nav-inner a,
    .az-nav-categories {
        flex: 0 0 auto !important;
        width: auto;
        min-width: max-content;
        max-width: none;
    }

    .az-nav a,
    .az-nav-categories-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        width: auto;
        max-width: none;
        padding: 12px 11px !important;
        font-size: 15px;
        line-height: 1.1;
        white-space: nowrap !important;
        text-align: center;
        overflow: visible;
    }

    .az-nav-home {
        padding-left: 13px !important;
        padding-right: 13px !important;
    }

    .az-nav-categories-toggle {
        padding-left: 11px !important;
        padding-right: 11px !important;
    }

    /* Keep the category mega menu viewport-safe on mobile. */
    .az-category-mega {
        position: fixed !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box;
    }

    /* Homepage must not inherit a desktop/fixed canvas. */
    .az-foundation-home {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 14px 0 32px;
        overflow-x: hidden;
    }

    .az-fh-hero,
    .az-fh-links,
    .az-fh-section,
    .az-fh-deals-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .az-fh-hero {
        grid-template-columns: 1fr;
    }

    .az-fh-copy {
        min-width: 0;
        max-width: 100%;
        padding: 30px 22px;
    }

    .az-fh-copy h1 {
        max-width: 100%;
        font-size: clamp(32px, 9vw, 40px);
        line-height: 1.06;
        overflow-wrap: normal;
        word-break: normal;
    }

    .az-fh-copy p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.45;
    }

    .az-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        max-width: 100%;
    }

    .az-btn,
    .az-btn-light {
        max-width: 100%;
    }
}

@media (max-width: 430px) {
    .az-container {
        width: calc(100% - 12px);
        max-width: calc(100% - 12px);
    }

    .az-brand {
        font-size: 25px;
    }

    .az-actions {
        gap: 7px;
    }

    .az-account,
    .az-orders {
        font-size: 12px;
    }

    .az-account small,
    .az-orders small {
        font-size: 9px;
    }

    .az-cart {
        font-size: 14px;
    }

    .az-cart-badge {
        min-width: 28px;
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .az-search {
        grid-template-columns: 82px minmax(0, 1fr) 46px;
    }

    .az-search input {
        font-size: 14px;
    }

    .az-nav a,
    .az-nav-categories-toggle {
        min-height: 46px;
        padding: 11px 9px !important;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .az-brand {
        font-size: 23px;
    }

    .az-actions {
        gap: 5px;
    }

    .az-account,
    .az-orders {
        font-size: 11px;
    }

    .az-account small,
    .az-orders small {
        font-size: 8px;
    }

    .az-cart {
        font-size: 13px;
    }

    .az-search {
        grid-template-columns: 78px minmax(0, 1fr) 44px;
    }

    .az-nav a,
    .az-nav-categories-toggle {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 13px;
    }
}


/* Build 05.7 — final mobile header fit correction
 * Prevent logo/actions overlap on narrow screens while keeping search on its own row.
 */
@media (max-width: 760px) {
    .az-mainhead {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, auto) !important;
        grid-template-areas:
            "brand actions"
            "search search" !important;
        column-gap: 8px !important;
        row-gap: 9px !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .az-brand {
        grid-area: brand !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        font-size: 27px !important;
        letter-spacing: -1.2px !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }

    .az-actions {
        grid-area: actions !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;
        overflow: hidden !important;
    }

    .az-account,
    .az-orders,
    .az-cart {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        line-height: 1.05 !important;
    }

    .az-account,
    .az-orders { font-size: 11px !important; }
    .az-account small,
    .az-orders small { font-size: 8px !important; }
    .az-cart { font-size: 13px !important; }

    .az-cart-badge {
        min-width: 28px !important;
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
        margin-left: 2px !important;
    }

    .az-search {
        grid-area: search !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .az-container {
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
    }

    .az-mainhead {
        column-gap: 6px !important;
        row-gap: 8px !important;
        padding-top: 8px !important;
        padding-bottom: 10px !important;
    }

    .az-brand { font-size: 24px !important; }
    .az-actions { gap: 5px !important; }
    .az-account,
    .az-orders { font-size: 10px !important; }
    .az-account small,
    .az-orders small { font-size: 7px !important; }
    .az-cart { font-size: 12px !important; }
    .az-cart-badge {
        min-width: 26px !important;
        width: 26px !important;
        height: 26px !important;
        flex-basis: 26px !important;
    }

    .az-search {
        grid-template-columns: 80px minmax(0, 1fr) 44px !important;
        height: 48px !important;
    }
    .az-search select,
    .az-search input,
    .az-search button { height: 48px !important; }
}

@media (max-width: 360px) {
    .az-brand { font-size: 21px !important; }
    .az-account,
    .az-orders { font-size: 9px !important; }
    .az-account small,
    .az-orders small { font-size: 6px !important; }
    .az-cart { font-size: 11px !important; }
    .az-actions { gap: 4px !important; }
}

/* Build 05.7 — mobile header stability + nav scroll reset
 * Keep the mobile header readable at narrow widths.
 * Primary nav remains a single horizontal row and starts at Home.
 */
@media (max-width: 760px) {
    .az-mainhead {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "brand cart"
            "actions actions"
            "search search" !important;
        column-gap: 10px !important;
        row-gap: 10px !important;
        padding: 10px 0 12px !important;
        overflow: visible !important;
    }

    .az-brand {
        grid-area: brand !important;
        display: inline-block !important;
        width: max-content !important;
        max-width: 100% !important;
        font-size: 28px !important;
        letter-spacing: -1.3px !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .az-actions {
        grid-area: actions !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto !important;
        align-items: center !important;
        justify-content: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 12px !important;
        overflow: visible !important;
    }

    .az-account,
    .az-orders,
    .az-cart {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
    }

    .az-account,
    .az-orders {
        font-size: 14px !important;
        line-height: 1.1 !important;
    }

    .az-account small,
    .az-orders small {
        font-size: 11px !important;
        line-height: 1.05 !important;
    }

    .az-cart {
        font-size: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 3px !important;
        width: auto !important;
    }

    .az-cart-badge {
        min-width: 32px !important;
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important;
        margin-left: 3px !important;
    }

    .az-search {
        grid-area: search !important;
        display: grid !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        grid-template-columns: 90px minmax(0, 1fr) 48px !important;
        height: 50px !important;
    }

    .az-search select,
    .az-search input,
    .az-search button {
        min-width: 0 !important;
        max-width: 100% !important;
        height: 50px !important;
    }

    .az-search select { font-size: 14px !important; padding-inline: 8px !important; }
    .az-search input { font-size: 15px !important; padding-inline: 11px !important; }
    .az-search button { font-size: 23px !important; }

    .az-nav-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .az-nav-inner::-webkit-scrollbar { display: none !important; }

    .az-nav-inner > *,
    .az-nav-inner a,
    .az-nav-categories {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
    }

    .az-nav a,
    .az-nav-categories-toggle {
        min-height: 50px !important;
        padding: 13px 12px !important;
        font-size: 15px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        text-align: center !important;
        overflow: visible !important;
    }

    .az-nav-home { padding-inline: 14px !important; }
    .az-nav-categories-toggle { padding-inline: 12px !important; }
}

@media (max-width: 430px) {
    .az-brand { font-size: 25px !important; }
    .az-actions { gap: 9px !important; }
    .az-account,
    .az-orders { font-size: 13px !important; }
    .az-account small,
    .az-orders small { font-size: 10px !important; }
    .az-cart { font-size: 15px !important; }
    .az-cart-badge { min-width: 30px !important; width: 30px !important; height: 30px !important; flex-basis: 30px !important; }
    .az-search { grid-template-columns: 82px minmax(0, 1fr) 46px !important; }
}

@media (max-width: 360px) {
    .az-brand { font-size: 23px !important; }
    .az-actions { gap: 7px !important; }
    .az-account,
    .az-orders { font-size: 12px !important; }
    .az-account small,
    .az-orders small { font-size: 9px !important; }
    .az-cart { font-size: 14px !important; }
    .az-cart-badge { min-width: 28px !important; width: 28px !important; height: 28px !important; flex-basis: 28px !important; }
    .az-search { grid-template-columns: 78px minmax(0, 1fr) 44px !important; }
    .az-search input { font-size: 14px !important; }
}


/* Build 05.8 — final mobile navigation/header correction */
@media (max-width: 760px) {
    body { overflow-x: hidden !important; }

    .az-container {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .az-topbar {
        min-height: 44px !important;
        padding: 7px 0 !important;
        gap: 10px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }
    .az-topbar span {
        min-width: 0 !important;
        max-width: 48% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .site-header .az-mainhead {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "actions"
            "search" !important;
        gap: 10px !important;
        padding: 10px 0 12px !important;
        overflow: visible !important;
    }

    .az-brand {
        grid-area: brand !important;
        justify-self: start !important;
        font-size: 27px !important;
        line-height: 1 !important;
        letter-spacing: -1.2px !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    .az-actions {
        grid-area: actions !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .az-account, .az-orders, .az-cart {
        min-width: 0 !important;
        max-width: none !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }
    .az-account, .az-orders { font-size: 13px !important; line-height: 1.08 !important; }
    .az-account small, .az-orders small { font-size: 10px !important; line-height: 1 !important; }
    .az-cart { font-size: 15px !important; display: inline-flex !important; align-items: center !important; gap: 3px !important; }
    .az-cart-badge { width: 30px !important; min-width: 30px !important; height: 30px !important; flex: 0 0 30px !important; }

    .az-search {
        grid-area: search !important;
        display: grid !important;
        grid-template-columns: 86px minmax(0,1fr) 48px !important;
        width: 100% !important;
        height: 50px !important;
        margin: 0 !important;
        min-width: 0 !important;
    }
    .az-search select, .az-search input, .az-search button {
        min-width: 0 !important;
        max-width: 100% !important;
        height: 50px !important;
    }
    .az-search select { font-size: 14px !important; padding: 0 8px !important; }
    .az-search input { font-size: 15px !important; padding: 0 11px !important; }
    .az-search button { font-size: 23px !important; }

    /* Only the navigation strip scrolls horizontally. It always starts at Home. */
    .az-nav { width: 100% !important; overflow: hidden !important; }
    .az-nav .az-container.az-nav-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        overscroll-behavior-x: contain !important;
        scroll-padding-left: 0 !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .az-nav .az-nav-inner::-webkit-scrollbar { display: none !important; }
    .az-nav .az-nav-inner > *,
    .az-nav .az-nav-inner > a,
    .az-nav .az-nav-inner > .az-nav-categories {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
    }
    .az-nav a, .az-nav-categories-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 52px !important;
        padding: 0 14px !important;
        font-size: 15px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        scroll-snap-align: start !important;
    }
    .az-nav-home { padding-left: 16px !important; padding-right: 16px !important; }
}

@media (max-width: 430px) {
    .az-brand { font-size: 25px !important; }
    .az-actions { grid-template-columns: minmax(0,1fr) minmax(0,.7fr) auto !important; gap: 8px !important; }
    .az-account, .az-orders { font-size: 12px !important; }
    .az-account small, .az-orders small { font-size: 9px !important; }
    .az-cart { font-size: 14px !important; }
    .az-cart-badge { width: 29px !important; min-width: 29px !important; height: 29px !important; flex-basis: 29px !important; }
}

@media (max-width: 360px) {
    .az-container { width: calc(100% - 12px) !important; max-width: calc(100% - 12px) !important; }
    .az-brand { font-size: 23px !important; }
    .az-actions { grid-template-columns: minmax(0,1fr) minmax(0,.65fr) auto !important; gap: 6px !important; }
    .az-account, .az-orders { font-size: 11px !important; }
    .az-account small, .az-orders small { font-size: 8px !important; }
    .az-cart { font-size: 13px !important; }
    .az-cart-badge { width: 28px !important; min-width: 28px !important; height: 28px !important; flex-basis: 28px !important; }
}


/* Build 05.9 / v1.4.0 — Shop by Category polish */
.az-fh-category-section {
    border: 1px solid var(--az-border) !important;
    border-radius: 10px !important;
    margin-bottom: 22px !important;
    box-shadow: 0 2px 10px rgba(15,23,42,.04) !important;
}
.az-fh-category-section .az-fh-head {
    align-items: flex-end !important;
}
.az-fh-category-section .az-fh-head h2 {
    letter-spacing: -.3px !important;
}
.az-fh-category-section .az-fh-head > a {
    white-space: nowrap !important;
    font-weight: 800 !important;
}
.az-fh-category-grid {
    align-items: stretch !important;
}
.az-fh-category-card {
    min-height: 100% !important;
    text-decoration: none !important;
}
.az-fh-category-media {
    background: linear-gradient(180deg,#f8fafc,#eef2f5) !important;
}
.az-fh-category-media img {
    display: block !important;
}
.az-fh-category-body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 112px !important;
}
.az-fh-category-arrow {
    margin-top: auto !important;
    padding-top: 12px !important;
}
@media (max-width:700px) {
    .az-fh-category-section { padding: 18px !important; }
    .az-fh-category-section .az-fh-head { align-items: flex-start !important; }
    .az-fh-category-section .az-fh-head h2 { font-size: 24px !important; }
    .az-fh-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; }
    .az-fh-category-media { aspect-ratio: 1.15 / 1 !important; }
    .az-fh-category-body { padding: 13px !important; min-height: 100px !important; }
    .az-fh-category-body strong { font-size: 15px !important; }
    .az-fh-category-body small { font-size: 12px !important; }
    .az-fh-category-arrow { font-size: 12px !important; }
}
@media (max-width:430px) {
    .az-fh-category-section { padding: 15px !important; }
    .az-fh-category-section .az-fh-head { gap: 8px !important; }
    .az-fh-category-section .az-fh-head > a { font-size: 12px !important; }
    .az-fh-category-grid { gap: 10px !important; }
}


/* Build 05.9 / v1.4.1 — All Categories mega-menu color isolation */
.az-nav .az-category-mega .az-category-mega-title {
    color: #172033 !important;
}
.az-nav .az-category-mega .az-category-mega-title:hover {
    color: #007185 !important;
}
.az-nav .az-category-mega .az-category-mega-children a {
    color: #667085 !important;
}
.az-nav .az-category-mega .az-category-mega-children a:hover {
    color: #007185 !important;
}
.az-nav .az-category-mega .az-category-mega-title span {
    color: #ff9900 !important;
}


/* Section 04 — Featured Products | Build 05.11 */
.az-fh-featured-section{background:#fff;border:1px solid var(--az-border);border-radius:10px;padding:24px;margin-bottom:22px}
.az-fh-featured-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}
.az-fh-featured-eyebrow{display:block;margin:0 0 5px;color:var(--az-orange);font-size:12px;line-height:1.2;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.az-fh-featured-head h2{position:relative;display:inline-block;margin:0;padding-bottom:8px;font-size:30px;line-height:1.15;font-weight:800}
.az-fh-featured-head h2:after{content:"";display:block;width:58px;height:3px;border-radius:2px;margin-top:8px;background:var(--az-orange)}
.az-fh-featured-head>a{color:var(--az-link);font-size:14px;font-weight:800;white-space:nowrap;text-decoration:none}
.az-fh-featured-head>a:hover{text-decoration:underline}
.az-fh-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.az-fh-featured-card{min-width:0}
.az-fh-featured-card .az-product{height:100%;display:flex;flex-direction:column;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.az-fh-featured-card .az-product:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,23,42,.10)}
.az-fh-featured-card .az-product-image{height:260px;aspect-ratio:auto;margin-bottom:12px}
.az-fh-featured-card .az-product-image img{object-fit:contain}
.az-fh-featured-card .az-product h3{margin:5px 0 8px;min-height:42px}
.az-fh-featured-card .az-product h3 a{font-size:16px;line-height:1.3;text-decoration:none}
.az-fh-featured-card .az-rating{margin-bottom:5px}
.az-fh-featured-card .az-price{margin-top:auto;padding-top:4px;font-weight:800}
.az-fh-featured-card .az-card-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;min-height:40px;border-radius:6px;text-decoration:none;font-weight:800}
.az-fh-featured-empty{grid-column:1/-1;padding:32px;border:1px dashed var(--az-border);border-radius:8px;color:var(--az-muted);text-align:center}
@media(max-width:1000px){.az-fh-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.az-fh-featured-section{padding:18px}.az-fh-featured-head{align-items:flex-start}.az-fh-featured-head h2{font-size:24px}.az-fh-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.az-fh-featured-card .az-product-image{height:210px}}
@media(max-width:480px){.az-fh-featured-grid{grid-template-columns:repeat(var(--az-featured-mobile-columns,2),minmax(0,1fr))!important;gap:8px!important}.az-fh-featured-section{padding:12px!important}.az-fh-featured-head{margin-bottom:12px!important;gap:8px!important}.az-fh-featured-head h2{font-size:21px!important;padding-bottom:5px!important}.az-fh-featured-head h2:after{width:42px!important;height:2px!important;margin-top:5px!important}.az-fh-featured-head>a{font-size:11px!important}.az-fh-featured-card .az-product{padding:6px!important;border-radius:7px!important}.az-fh-featured-card .az-product-image{height:108px!important;margin-bottom:5px!important;border-radius:4px!important}.az-fh-featured-card .az-sale{top:6px!important;left:6px!important;font-size:9px!important;line-height:1!important;padding:3px 4px!important;border-radius:3px!important;white-space:nowrap!important}.az-fh-featured-card .az-product h3{margin:2px 0 3px!important;min-height:32px!important;max-height:32px!important;overflow:hidden!important}.az-fh-featured-card .az-product h3 a{font-size:12px!important;line-height:1.32!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}.az-fh-featured-card .az-rating{font-size:10px!important;margin-bottom:2px!important;line-height:1!important;gap:2px!important}.az-fh-featured-card .az-rating .az-review-count{font-size:9px!important}.az-fh-featured-card .az-price{font-size:13px!important;line-height:1.15!important;padding-top:1px!important;white-space:nowrap!important;overflow:hidden!important}.az-fh-featured-card .az-old{font-size:9px!important;margin-left:2px!important}.az-fh-featured-card .az-discount{margin:4px 0 0!important;padding:3px 5px!important;font-size:9px!important;line-height:1!important;border-radius:3px!important;white-space:nowrap!important}.az-fh-featured-card .az-card-btn{font-size:10px!important;padding:6px 4px!important;min-height:28px!important;margin-top:5px!important;border-radius:5px!important;line-height:1!important;white-space:nowrap!important;width:100%!important} }


/* Section 04 — Build 05.21 mobile title and alignment refinement */
@media(max-width:480px){.az-fh-featured-card .az-product h3{height:45px;min-height:45px;max-height:45px;overflow:hidden}.az-fh-featured-card .az-product h3 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.az-fh-featured-card .az-product-image{height:96px}.az-fh-featured-card .az-price{margin-top:0}}

/* Section 04 — Build 05.21: marketplace product-card architecture + mobile price safety */
.az-fh-featured-card .az-product{overflow:hidden;min-width:0}
.az-product-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:12px;color:#667085;background:#f6f7f8}
.az-fh-featured-card .az-product h3{overflow:hidden}
.az-fh-featured-card .az-product h3 a{overflow-wrap:anywhere}
.az-product-attributes{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 6px}
.az-product-attributes span{display:block;background:#f3f4f6;padding:4px 7px;font-size:11px;line-height:1.15;font-weight:600;color:#344054;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.az-bought-text,.az-delivery-text,.az-unit-price{font-size:12px;line-height:1.25;color:#667085;margin-top:4px;overflow-wrap:anywhere}
.az-price{min-width:0;overflow:hidden}
.az-fh-featured-card .az-price del,.az-fh-featured-card .az-price ins{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.az-fh-featured-card .az-price ins{text-decoration:none}
.az-fh-featured-card .az-rating{display:flex;align-items:center;flex-wrap:wrap;min-width:0;overflow:hidden}
.az-fh-featured-card .az-stars{white-space:nowrap}
.az-fh-featured-card .az-review-count{white-space:nowrap}
@media(max-width:480px){
 .az-fh-featured-card .az-product{padding:7px!important;overflow:hidden!important}
 .az-fh-featured-card .az-product-image{height:96px!important;flex:0 0 96px!important}
 .az-fh-featured-card .az-product h3{height:45px!important;min-height:45px!important;max-height:45px!important;margin:4px 0 4px!important}
 .az-fh-featured-card .az-product h3 a{font-size:12px!important;line-height:1.28!important;-webkit-line-clamp:3!important}
 .az-fh-featured-card .az-product-attributes{gap:3px;margin-bottom:4px!important}
 .az-fh-featured-card .az-product-attributes span{font-size:9px!important;padding:3px 4px!important;max-width:100%!important}
 .az-fh-featured-card .az-rating{font-size:10px!important;gap:2px!important;margin-bottom:3px!important;line-height:1.1!important}
 .az-fh-featured-card .az-rating .az-rating-value{font-size:9px!important}
 .az-fh-featured-card .az-rating .az-review-count{font-size:9px!important}
 .az-fh-featured-card .az-bought-text,.az-fh-featured-card .az-delivery-text,.az-fh-featured-card .az-unit-price{font-size:9px!important;line-height:1.2!important;margin-top:3px!important}
 .az-fh-featured-card .az-price{display:block!important;font-size:13px!important;line-height:1.2!important;margin-top:2px!important;padding-top:0!important;white-space:normal!important;overflow:hidden!important}
 .az-fh-featured-card .az-price del,.az-fh-featured-card .az-price ins{display:block!important;font-size:13px!important;line-height:1.15!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
 .az-fh-featured-card .az-price del{font-size:11px!important}
 .az-fh-featured-card .az-discount{display:block!important;width:100%!important;box-sizing:border-box!important;text-align:center!important;margin:4px 0 0!important;padding:4px 4px!important;font-size:9px!important}
 .az-fh-featured-card .az-card-btn{width:100%!important;box-sizing:border-box!important;margin-top:5px!important;min-height:29px!important;padding:7px 4px!important;font-size:10px!important}
}
