/*
Theme Name: Amazdealz Shoptimizer Child
Theme URI: https://amazdealz.com/
Description: Premium visual storefront for Amazdealz. Requires Shoptimizer. WooCommerce and plugin functionality remains in the parent/plugins.
Author: Amazdealz
Template: shoptimizer
Version: 3.1.0
Text Domain: amazdealz-shoptimizer-child
*/

:root{
  --az-navy:#071b31;
  --az-navy-2:#0a2a4a;
  --az-blue:#0b75e5;
  --az-blue-dark:#075db8;
  --az-cyan:#39b8ff;
  --az-gold:#f5a000;
  --az-gold-dark:#d88900;
  --az-gold-soft:#fff7df;
  --az-red:#e62e2e;
  --az-green:#0b8f61;
  --az-ink:#101828;
  --az-muted:#667085;
  --az-line:#e5eaf0;
  --az-soft:#f5f7fa;
  --az-card:#fff;
  --az-radius:18px;
  --az-shadow:0 18px 45px rgba(7,27,49,.10);
}
*{box-sizing:border-box}
body.amazdealz-child-active{color:var(--az-ink);background:#fff;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.amazdealz-child-active .col-full{max-width:1240px}
body.amazdealz-child-active a{transition:.2s ease}
body.amazdealz-child-active h1,body.amazdealz-child-active h2,body.amazdealz-child-active h3,body.amazdealz-child-active h4{font-weight:800;letter-spacing:-.035em;color:var(--az-ink)}

/* Premium site chrome */
.amazdealz-child-active .topbar-wrapper{max-width:none;background:var(--az-navy);color:#fff}
.amazdealz-child-active .top-bar{background:transparent;color:#fff}
.amazdealz-child-active .top-bar .col-full{min-height:36px;display:flex;align-items:center;justify-content:center}
.amazdealz-child-active .top-bar *{color:#fff!important;font-size:12.5px;font-weight:650}
.amazdealz-child-active .top-bar .widget{margin:0}
.amazdealz-child-active .site-header{background:#fff;border-bottom:1px solid var(--az-line);box-shadow:none}
.amazdealz-child-active.is-scrolled .site-header{box-shadow:0 9px 28px rgba(7,27,49,.08)}
.amazdealz-child-active .site-header .main-header{min-height:88px;display:flex;align-items:center;gap:26px;padding-top:14px;padding-bottom:14px}
.amazdealz-child-active .site-branding{flex:0 0 210px;margin:0}
.amazdealz-child-active .site-branding .site-title a{font-size:29px;font-weight:900;color:var(--az-navy);letter-spacing:-1.4px}
.amazdealz-child-active .site-branding .site-description{font-size:11px;color:var(--az-muted)}
.amazdealz-child-active .site-header .site-search{flex:1 1 540px;max-width:none;margin:0;order:2}
.amazdealz-child-active .site-search form{position:relative}
.amazdealz-child-active .site-search input[type=search],.amazdealz-child-active .site-search.type-outline input[type=search]{height:50px;border:1px solid #d6dee8;border-radius:10px;background:#f7f9fc;color:var(--az-ink);padding:0 58px 0 17px;box-shadow:none}
.amazdealz-child-active .site-search input[type=search]:focus{border-color:var(--az-blue);background:#fff;box-shadow:0 0 0 3px rgba(11,117,229,.09)}
.amazdealz-child-active .site-search button,.amazdealz-child-active .site-search input[type=submit]{background:var(--az-gold)!important;color:var(--az-navy)!important;border-radius:0 9px 9px 0!important}
.amazdealz-child-active .secondary-navigation{order:3;margin-left:auto}
.amazdealz-child-active .secondary-navigation a,.amazdealz-child-active .shoptimizer-myaccount,.amazdealz-child-active .site-header-cart{font-weight:750;color:var(--az-navy)}
.amazdealz-child-active .site-header-cart .mini-count{background:var(--az-blue);color:#fff}
.amazdealz-child-active .col-full-nav{background:#fff;border-bottom:1px solid var(--az-line);box-shadow:0 4px 16px rgba(7,27,49,.035)}
.amazdealz-child-active .shoptimizer-primary-navigation{background:#fff}
.amazdealz-child-active .main-navigation ul.menu>li.menu-item>a{font-size:13.5px;font-weight:750;color:#25364a;padding:14px 15px}
.amazdealz-child-active .main-navigation ul.menu>li.menu-item:hover>a,.amazdealz-child-active .main-navigation ul.menu>li.current-menu-item>a{color:var(--az-blue)}
.amazdealz-child-active .az-affiliate-menu-item{margin-left:auto}
.amazdealz-child-active .az-affiliate-menu-item>a{color:#576a80!important;font-size:12.5px!important}
.amazdealz-child-active .main-navigation ul.menu>li:not(.full-width)>.sub-menu-wrapper{border:1px solid var(--az-line);border-radius:14px;box-shadow:var(--az-shadow);overflow:hidden}

/* Hide only default front-page page chrome / duplicate legacy blocks */
.amazdealz-child-active.home .archive-header{display:none}
.amazdealz-child-active.home #content>.shoptimizer-archive>.col-full{max-width:none;width:100%;padding:0}
.amazdealz-child-active.home #primary{width:100%;float:none;margin:0}
.amazdealz-child-active.home .content-area{padding:0}
.amazdealz-child-active.home .below-content{display:none}

.az-home{overflow:hidden;background:#fff}
.az-shell{width:min(1180px,calc(100% - 40px));margin:0 auto}

/* Hero */
.az-hero{position:relative;background:radial-gradient(circle at 84% 22%,rgba(44,169,255,.25),transparent 26%),radial-gradient(circle at 64% 90%,rgba(16,103,219,.32),transparent 30%),linear-gradient(123deg,#06192d 0%,#0a2b4d 50%,#075ca8 100%);color:#fff}
.az-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to right,rgba(0,0,0,.7),transparent 78%)}
.az-hero-grid{min-height:520px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:70px;position:relative;z-index:1;padding-top:54px;padding-bottom:54px}
.az-kicker,.az-overline{display:inline-block;font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--az-blue)}
.az-kicker{color:#9ad7ff;margin-bottom:18px}
.az-hero h1{font-size:clamp(48px,6vw,74px);line-height:.98;color:#fff!important;margin:0 0 20px;letter-spacing:-.055em}
.az-hero h1 span{color:#6bc8ff}
.az-hero-copy>p{font-size:18px;line-height:1.7;color:#d7e7f6;max-width:610px;margin:0 0 30px}
.az-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.az-btn{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:0 22px;border-radius:10px;font-size:14px;font-weight:800;text-decoration:none!important}
.az-btn-primary{background:var(--az-gold);color:var(--az-navy)!important;box-shadow:0 12px 25px rgba(245,160,0,.24)}
.az-btn-primary:hover{background:var(--az-gold-dark);color:#fff!important;transform:translateY(-2px)}
.az-btn-ghost{border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.08);color:#fff!important;backdrop-filter:blur(8px)}
.az-btn-ghost:hover{background:rgba(255,255,255,.14)}
.az-btn-light{background:#fff;color:var(--az-navy)!important}
.az-hero-proof{display:flex;gap:20px;flex-wrap:wrap;margin-top:27px;color:#b9d0e4;font-size:12px;font-weight:700}
.az-hero-showcase{position:relative;min-height:390px;display:grid;place-items:center}
.az-glow{position:absolute;border-radius:50%;filter:blur(2px)}
.az-glow-one{width:340px;height:340px;background:rgba(22,140,246,.18);right:10%;top:5%}
.az-glow-two{width:180px;height:180px;background:rgba(90,209,255,.14);left:6%;bottom:4%}
.az-featured-card{position:relative;z-index:2;display:block;width:min(390px,92%);background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.35);border-radius:24px;padding:18px;box-shadow:0 30px 70px rgba(0,0,0,.24);transform:rotate(1.5deg);text-decoration:none!important}
.az-featured-card:hover{transform:rotate(0) translateY(-5px)}
.az-featured-label{position:absolute;left:15px;top:15px;z-index:2;background:var(--red,#e62e2e);background:var(--az-red);color:#fff;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.az-featured-image{height:270px;display:grid;place-items:center;background:linear-gradient(145deg,#f8fafc,#eef3f8);border-radius:17px;overflow:hidden}
.az-featured-image img{width:100%;height:100%;object-fit:contain;padding:14px}
.az-featured-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:16px 4px 3px;color:var(--az-ink)}
.az-featured-meta strong{font-size:14px;line-height:1.35;max-width:70%}
.az-featured-meta>span{font-size:19px;color:var(--az-red);font-weight:900;white-space:nowrap}
.az-featured-meta del{display:none}

/* Benefit strip */
.az-benefit-bar{background:#fff;border-bottom:1px solid var(--az-line);box-shadow:0 8px 26px rgba(7,27,49,.04)}
.az-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.az-benefit-grid>div{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:11px;padding:20px 22px;border-right:1px solid var(--az-line)}
.az-benefit-grid>div:last-child{border-right:0}
.az-benefit-icon{grid-row:1/3;align-self:center;font-size:22px}
.az-benefit-grid b{font-size:13px;color:var(--az-ink)}
.az-benefit-grid small{font-size:11.5px;color:var(--az-muted)}

/* Sections */
.az-section{padding:70px 0}
.az-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.az-section-heading h2{font-size:34px;line-height:1.1;margin:7px 0 8px;color:var(--az-ink)}
.az-section-heading p{margin:0;color:var(--az-muted);font-size:15px}
.az-section-heading>a{font-size:13px;font-weight:800;color:var(--az-blue);white-space:nowrap}
.az-categories{background:#fff}
.az-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.az-category-card{position:relative;min-height:166px;display:flex;flex-direction:column;justify-content:flex-end;background:#f7f9fc;border:1px solid var(--az-line);border-radius:18px;padding:22px;overflow:hidden;text-decoration:none!important}
.az-category-card:before{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-34px;top:-38px;background:rgba(11,117,229,.075)}
.az-category-card:hover{transform:translateY(-4px);border-color:#d1deeb;box-shadow:var(--az-shadow)}
.az-cat-icon{position:absolute;left:22px;top:22px;width:46px;height:46px;border-radius:13px;background:#e5f2ff;color:var(--az-blue);display:grid;place-items:center;font-size:24px;font-weight:900}
.az-category-card b{display:block;font-size:17px;color:var(--az-ink);margin-bottom:4px}
.az-category-card small{display:block;font-size:12px;line-height:1.45;color:var(--az-muted);padding-right:24px}
.az-arrow{position:absolute;right:18px;bottom:20px;color:var(--az-blue);font-size:18px;font-weight:900}
.az-cat-software{background:linear-gradient(145deg,#071d34,#0b3e71);border-color:#123d66}
.az-cat-software:before{background:rgba(75,181,255,.14)}
.az-cat-software .az-cat-icon{background:rgba(255,255,255,.12);color:#8ed7ff}
.az-cat-software b{color:#fff}.az-cat-software small{color:#bed1e2}.az-cat-software .az-arrow{color:#8ed7ff}
.az-deals-section{background:var(--az-soft)}

/* Custom product cards */
.az-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.az-product-grid-four{grid-template-columns:repeat(4,1fr)}
.az-product-card{background:#fff;border:1px solid var(--az-line);border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(7,27,49,.035);display:flex;flex-direction:column;min-width:0}
.az-product-card:hover{transform:translateY(-4px);box-shadow:var(--az-shadow);border-color:#d6e0ea}
.az-product-media{position:relative;background:#fff;padding:12px}
.az-product-media>a{height:224px;display:grid;place-items:center;background:linear-gradient(145deg,#fafbfd,#f2f5f8);border-radius:12px;overflow:hidden}
.az-product-media img{width:100%;height:100%;object-fit:contain;padding:10px;margin:0!important}
.az-sale,.az-instant{position:absolute;z-index:3;top:21px;left:21px;border-radius:999px;padding:5px 8px;font-size:10px;line-height:1;font-weight:850}
.az-sale{background:var(--az-red);color:#fff}
.az-instant{background:#e7fff4;color:#08744e;left:auto;right:21px;border:1px solid #c9f3df}
.az-product-body{display:flex;flex-direction:column;flex:1;padding:6px 16px 16px}
.az-product-body h3{font-size:14px!important;line-height:1.42!important;margin:0 0 8px!important;min-height:40px;font-weight:750!important}
.az-product-body h3 a{color:var(--az-ink)!important;text-decoration:none!important}
.az-rating{height:18px;margin-bottom:6px}.az-rating .star-rating{font-size:12px;margin:0}.az-rating-empty{font-size:11px;color:#98a2b3}
.az-price{font-size:18px;font-weight:900;color:var(--az-red);margin:4px 0 13px}
.az-price del{font-size:12px;color:#98a2b3;font-weight:600;opacity:1}.az-price ins{text-decoration:none;color:var(--az-red)}
.az-buy{margin-top:auto!important;width:100%;min-height:43px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:9px!important;background:var(--az-gold)!important;color:var(--az-navy)!important;font-size:12.5px!important;font-weight:850!important;text-align:center!important;border:0!important;box-shadow:none!important}
.az-buy:hover{background:var(--az-gold-dark)!important;color:#fff!important}
.az-empty{padding:34px;background:#fff;border:1px dashed #ccd6e1;border-radius:15px;color:var(--az-muted);text-align:center}

/* Software band */
.az-software-band{background:radial-gradient(circle at 80% 30%,rgba(66,192,255,.18),transparent 28%),linear-gradient(115deg,#061a2f,#0b3156);color:#fff;padding:54px 0}
.az-software-intro{display:flex;align-items:center;justify-content:space-between;gap:40px}
.az-overline-light{color:#7ed0ff}
.az-software-intro h2{font-size:40px;color:#fff!important;margin:7px 0 10px}
.az-software-intro p{max-width:730px;color:#c8d9e8;font-size:15px;margin:0}
.az-software-products{background:#fff}

/* Confidence */
.az-confidence-section{background:#f7f9fb}
.az-confidence{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.az-confidence-copy h2{font-size:38px;line-height:1.08;margin:8px 0 16px}
.az-confidence-copy p{font-size:15px;line-height:1.8;color:var(--az-muted);max-width:570px}
.az-text-link{display:inline-block;margin-top:8px;color:var(--az-blue)!important;font-size:13px;font-weight:850}
.az-confidence-list{display:grid;gap:12px}
.az-confidence-list>div{display:grid;grid-template-columns:44px 1fr;gap:15px;background:#fff;border:1px solid var(--az-line);border-radius:14px;padding:18px}
.az-confidence-list>div>span{width:44px;height:44px;border-radius:12px;background:#e9f4ff;color:var(--az-blue);display:grid;place-items:center;font-size:11px;font-weight:900}
.az-confidence-list p{margin:0}.az-confidence-list b{display:block;font-size:14px;margin-bottom:3px}.az-confidence-list small{display:block;color:var(--az-muted);font-size:12px}

/* Standard WooCommerce pages */
.amazdealz-child-active:not(.home) .content-area{padding-top:34px}
.amazdealz-child-active .woocommerce-products-header__title,.amazdealz-child-active .page-title,.amazdealz-child-active .entry-title{font-weight:850}
.amazdealz-child-active .woocommerce-breadcrumb{font-size:12px;color:var(--az-muted)}
.amazdealz-child-active ul.products{gap:18px}
.amazdealz-child-active ul.products li.product:not(.product-category){background:#fff;border:1px solid var(--az-line);border-radius:15px;padding:13px 13px 15px;overflow:hidden;box-shadow:0 3px 15px rgba(7,27,49,.035)}
.amazdealz-child-active ul.products li.product:not(.product-category):before{display:none}
.amazdealz-child-active ul.products li.product:not(.product-category):hover{transform:translateY(-3px);box-shadow:var(--az-shadow)}
.amazdealz-child-active ul.products li.product img{border-radius:10px;background:#f7f9fb}
.amazdealz-child-active ul.products li.product .woocommerce-loop-product__title,.amazdealz-child-active ul.products li.product h2{font-size:14px;line-height:1.4;font-weight:750;color:var(--az-ink)}
.amazdealz-child-active ul.products li.product .price{font-size:18px;font-weight:900;color:var(--az-red)}
.amazdealz-child-active ul.products li.product .price del{font-size:12px;color:#98a2b3;opacity:1}.amazdealz-child-active ul.products li.product .price ins{color:var(--az-red);text-decoration:none}
.amazdealz-child-active .star-rating,.amazdealz-child-active .star-rating span:before{color:#f5a000}
.amazdealz-child-active ul.products li.product .button,.amazdealz-child-active ul.products li.product .added_to_cart{width:100%;border-radius:9px;background:var(--az-gold);color:var(--az-navy);font-weight:800;text-align:center;border:0;box-shadow:none}
.amazdealz-child-active ul.products li.product .button:hover,.amazdealz-child-active ul.products li.product .added_to_cart:hover{background:var(--az-gold-dark);color:#fff}
.amazdealz-child-active .onsale,.amazdealz-child-active ul.products li.product .product-label{border-radius:999px;background:var(--az-red);color:#fff;font-weight:800}


/* Affiliate earnings: compact, premium and visible without overpowering the product. */
.az-affiliate-earning{margin:0 0 12px;padding:9px 10px;border:1px solid #dce8f5;background:#f5faff;border-radius:9px;display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center}
.az-affiliate-main{font-size:11.5px;font-weight:850;color:#0a5eab;line-height:1.25}
.az-affiliate-rate{font-size:10px;font-weight:750;color:#66788b;white-space:nowrap}
.az-affiliate-earning>a{grid-column:1/-1;font-size:10px;font-weight:800;color:var(--az-blue)!important;text-decoration:none!important;margin-top:2px}
.az-affiliate-earning>a:hover{text-decoration:underline!important}
.az-featured-meta .az-affiliate-earning{margin:10px 0 0;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);grid-template-columns:1fr auto}
.az-featured-meta .az-affiliate-main,.az-featured-meta .az-affiliate-rate,.az-featured-meta .az-affiliate-earning>a{color:#fff!important}
.az-featured-meta .az-affiliate-rate{opacity:.78}

/* Reduce merchandising clutter but keep affiliate functionality elsewhere. */
.amazdealz-child-active ul.products li.product [class*=commission],
.amazdealz-child-active ul.products li.product [class*=affiliate]{font-size:11px;line-height:1.3;color:#8996a6}

/* Product page */
.amazdealz-child-active.single-product div.product .woocommerce-product-gallery img{border-radius:14px}
.amazdealz-child-active.single-product div.product .summary{background:#fff;border:1px solid var(--az-line);border-radius:16px;padding:25px}
.amazdealz-child-active.single-product div.product .product_title{font-weight:850;line-height:1.15}
.amazdealz-child-active.single-product div.product p.price,.amazdealz-child-active.single-product div.product span.price{color:var(--az-red);font-weight:900}
.amazdealz-child-active.single-product div.product .single_add_to_cart_button{background:var(--az-gold);color:var(--az-navy);border-radius:9px;font-weight:850}
.amazdealz-child-active.single-product div.product .single_add_to_cart_button:hover{background:var(--az-gold-dark);color:#fff}
.amazdealz-child-active.single-product .woocommerce-tabs .panel{border:1px solid var(--az-line);border-radius:13px;padding:24px}

/* Cart / checkout / account */
.amazdealz-child-active input[type=text],.amazdealz-child-active input[type=email],.amazdealz-child-active input[type=tel],.amazdealz-child-active input[type=password],.amazdealz-child-active textarea,.amazdealz-child-active select,.amazdealz-child-active .select2-selection{border-radius:8px;border-color:#d8e0e9}
.amazdealz-child-active button,.amazdealz-child-active input[type=submit],.amazdealz-child-active .woocommerce a.button,.amazdealz-child-active .woocommerce button.button,.amazdealz-child-active .woocommerce input.button{border-radius:8px}
.amazdealz-child-active .woocommerce-message,.amazdealz-child-active .woocommerce-info,.amazdealz-child-active .woocommerce-error{border-radius:10px}

/* Footer */
.amazdealz-child-active .below-content{background:#f6f8fb;border-top:1px solid var(--az-line);border-bottom:1px solid var(--az-line)}
.amazdealz-child-active .site-footer{background:var(--az-navy);color:#d3dfeb;border:0}
.amazdealz-child-active .site-footer .col-full{padding-top:54px;padding-bottom:42px}
.amazdealz-child-active .site-footer h2,.amazdealz-child-active .site-footer h3,.amazdealz-child-active .site-footer h4,.amazdealz-child-active .site-footer .widget-title{color:#fff;font-weight:800}
.amazdealz-child-active .site-footer a{color:#c9d7e5}.amazdealz-child-active .site-footer a:hover{color:#fff}
.amazdealz-child-active .copyright{background:#041424;color:#9fb2c4;border-top:1px solid rgba(255,255,255,.08)}


/* V2.3 — Affiliate Manager premium landing page + dark-banner heading fixes */
.amazdealz-child-active .az-hero h1,
.amazdealz-child-active .az-software-band h2,
.amazdealz-child-active.az-affiliate-page .az-aff-hero h1,
.amazdealz-child-active.az-affiliate-page .az-aff-final h2{
  color:#fff!important;
}

/* Featured hero commission now stays readable on the white product card. */
.az-featured-meta{flex-wrap:wrap}
.az-featured-meta .az-affiliate-earning{
  flex:0 0 100%;width:100%;margin:10px 0 0;
  background:#f5faff;border-color:#dce8f5;
  grid-template-columns:1fr auto;
}
.az-featured-meta .az-affiliate-main{color:#0a5eab!important}
.az-featured-meta .az-affiliate-rate{color:#66788b!important;opacity:1}
.az-featured-meta .az-affiliate-earning>a{color:var(--az-blue)!important}

/* Give this one marketing page a clean full-width canvas without changing its data. */
.amazdealz-child-active.az-affiliate-page .archive-header{display:none}
.amazdealz-child-active.az-affiliate-page #content>.shoptimizer-archive>.col-full{
  width:100%;max-width:none;padding:0;margin:0;
}
.amazdealz-child-active.az-affiliate-page .content-area{padding:0}
.az-aff-page{background:#fff;overflow:hidden}
.az-aff-shell{width:min(1160px,calc(100% - 40px));margin:0 auto}

.az-aff-hero{
  position:relative;overflow:hidden;color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(245,160,0,.20),transparent 23%),
    radial-gradient(circle at 68% 85%,rgba(57,184,255,.17),transparent 31%),
    linear-gradient(122deg,#041426 0%,#092b4c 54%,#0b4f82 100%);
}
.az-aff-hero:after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(90deg,#000,transparent 82%);
}
.az-aff-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;min-height:590px;padding:76px 0}
.az-aff-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#ffd47e;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;margin-bottom:17px}
.az-aff-eyebrow:before{content:"";width:26px;height:2px;background:var(--az-gold);border-radius:2px}
.az-aff-hero h1{font-size:clamp(46px,5.5vw,72px);line-height:1.01;letter-spacing:-.055em;margin:0 0 20px;max-width:720px}
.az-aff-hero h1 span{color:#ffc44d}
.az-aff-hero-copy>p{max-width:650px;font-size:18px;line-height:1.72;color:#d5e3ef;margin:0 0 29px}
.az-aff-actions{display:flex;flex-wrap:wrap;gap:12px}
.az-aff-btn{display:inline-flex;min-height:49px;align-items:center;justify-content:center;padding:0 21px;border-radius:10px;font-size:13px;font-weight:900;text-decoration:none!important;transition:.2s ease}
.az-aff-btn-gold{background:var(--az-gold);color:var(--az-navy)!important;box-shadow:0 14px 28px rgba(245,160,0,.22)}
.az-aff-btn-gold:hover{background:var(--az-gold-dark);color:#fff!important;transform:translateY(-2px)}
.az-aff-btn-outline{color:#fff!important;border:1px solid rgba(255,255,255,.27);background:rgba(255,255,255,.07)}
.az-aff-btn-outline:hover{background:rgba(255,255,255,.13);color:#fff!important}
.az-aff-proof{display:flex;gap:18px;flex-wrap:wrap;margin-top:25px;color:#bcd0e1;font-size:11.5px;font-weight:750}

.az-aff-console{position:relative;background:#fff;border:1px solid rgba(255,255,255,.38);border-radius:22px;padding:14px;box-shadow:0 34px 80px rgba(0,0,0,.28);transform:rotate(1deg)}
.az-aff-console-bar{height:37px;display:flex;align-items:center;gap:6px;padding:0 9px;background:#f4f6f9;border-radius:11px 11px 6px 6px;border-bottom:1px solid #e4e9ef}
.az-aff-console-bar i{display:block;width:8px;height:8px;border-radius:50%;background:#cdd5df}
.az-aff-console-body{padding:20px;background:#f8fafc;border-radius:0 0 12px 12px}
.az-aff-console-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.az-aff-console-top strong{font-size:14px;color:var(--az-navy)}
.az-aff-live{font-size:9px;font-weight:900;text-transform:uppercase;color:#08744e;background:#e8fff4;border:1px solid #c9f3df;padding:5px 8px;border-radius:999px}
.az-aff-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.az-aff-metric{background:#fff;border:1px solid #e6ebf0;border-radius:11px;padding:13px}
.az-aff-metric small{display:block;font-size:9px;color:#7b8794;text-transform:uppercase;font-weight:850;letter-spacing:.05em}
.az-aff-metric b{display:block;color:var(--az-navy);font-size:20px;margin-top:5px}
.az-aff-chart{height:135px;margin-top:10px;background:linear-gradient(180deg,#edf7ff,#fff);border:1px solid #e3edf5;border-radius:12px;position:relative;overflow:hidden}
.az-aff-chart:before{content:"";position:absolute;left:7%;right:7%;bottom:20%;height:62%;border-bottom:3px solid var(--az-gold);transform:skewY(-8deg);border-radius:50%}
.az-aff-table{margin-top:10px;display:grid;gap:7px}
.az-aff-table div{display:grid;grid-template-columns:1.4fr .7fr .7fr;gap:8px;background:#fff;border:1px solid #e8edf2;border-radius:8px;padding:8px 10px;font-size:9px;color:#6f7c8b}
.az-aff-table b{color:var(--az-navy)}

.az-aff-trust{border-bottom:1px solid var(--az-line);background:#fff}
.az-aff-trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.az-aff-trust-grid>div{padding:21px 18px;text-align:center;border-right:1px solid var(--az-line)}
.az-aff-trust-grid>div:last-child{border-right:0}
.az-aff-trust-grid b{display:block;color:var(--az-navy);font-size:13px;margin-bottom:3px}
.az-aff-trust-grid span{font-size:11px;color:var(--az-muted)}

.az-aff-section{padding:76px 0}
.az-aff-soft{background:#f6f8fb}
.az-aff-head{max-width:720px;margin:0 auto 34px;text-align:center}
.az-aff-head .az-aff-eyebrow{justify-content:center;color:#9a6500;margin-bottom:11px}
.az-aff-head h2{font-size:39px;line-height:1.08;margin:0 0 13px;color:var(--az-ink)}
.az-aff-head p{font-size:15px;line-height:1.75;color:var(--az-muted);margin:0}
.az-aff-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.az-aff-feature{background:#fff;border:1px solid var(--az-line);border-radius:16px;padding:24px;box-shadow:0 4px 18px rgba(7,27,49,.035)}
.az-aff-feature-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;background:var(--az-gold-soft);color:#9b6200;font-size:19px;margin-bottom:18px}
.az-aff-feature h3{font-size:17px;margin:0 0 8px;color:var(--az-ink)}
.az-aff-feature p{font-size:13px;line-height:1.7;color:var(--az-muted);margin:0}

.az-aff-split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.az-aff-copy h2{font-size:39px;line-height:1.08;margin:8px 0 15px}
.az-aff-copy>p{font-size:15px;line-height:1.78;color:var(--az-muted);margin:0 0 21px}
.az-aff-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.az-aff-list li{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#465668}
.az-aff-list li:before{content:"✓";flex:0 0 23px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#e9fff4;color:#08744e;font-weight:900;font-size:10px}
.az-aff-shield{background:linear-gradient(145deg,#071b31,#0b3c66);color:#fff;border-radius:24px;padding:31px;box-shadow:0 25px 55px rgba(7,27,49,.18)}
.az-aff-shield-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.az-aff-shield-top b{color:#fff;font-size:17px}
.az-aff-score{font-size:10px;font-weight:900;color:#ffd47e;background:rgba(245,160,0,.11);border:1px solid rgba(245,160,0,.22);padding:6px 8px;border-radius:999px}
.az-aff-risk-list{display:grid;gap:9px}
.az-aff-risk{display:grid;grid-template-columns:34px 1fr auto;gap:11px;align-items:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.09);border-radius:11px;padding:11px}
.az-aff-risk>span:first-child{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.1);display:grid;place-items:center}
.az-aff-risk b{display:block;color:#fff;font-size:12px}.az-aff-risk small{display:block;color:#a9bfd2;font-size:9.5px;margin-top:2px}.az-aff-risk em{font-style:normal;color:#ffc44d;font-size:9px;font-weight:900}

.az-aff-pricing{background:#f6f8fb}
.az-aff-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.az-aff-plan{position:relative;background:#fff;border:1px solid var(--az-line);border-radius:19px;padding:28px;display:flex;flex-direction:column;box-shadow:0 7px 24px rgba(7,27,49,.04)}
.az-aff-plan.is-featured{border:2px solid var(--az-gold);box-shadow:0 22px 55px rgba(7,27,49,.10);transform:translateY(-7px)}
.az-aff-popular{position:absolute;top:-13px;left:50%;transform:translateX(-50%);white-space:nowrap;background:var(--az-gold);color:var(--az-navy);border-radius:999px;padding:6px 11px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.az-aff-plan h3{font-size:20px;margin:0 0 5px}.az-aff-plan>p{font-size:12px;color:var(--az-muted);margin:0 0 20px;min-height:36px}
.az-aff-price{font-size:35px;font-weight:950;color:var(--az-navy);letter-spacing:-.04em;margin-bottom:19px}.az-aff-price small{font-size:11px;color:var(--az-muted);font-weight:700;letter-spacing:0}
.az-aff-plan ul{list-style:none;margin:0 0 25px;padding:0;display:grid;gap:10px;flex:1}.az-aff-plan li{font-size:12.5px;color:#4a5969}.az-aff-plan li:before{content:"✓";color:#08744e;font-weight:900;margin-right:8px}
.az-aff-plan .az-aff-btn{width:100%}

.az-aff-faq{max-width:860px;margin:0 auto;display:grid;gap:10px}
.az-aff-faq details{background:#fff;border:1px solid var(--az-line);border-radius:13px;padding:0 18px}
.az-aff-faq summary{cursor:pointer;padding:17px 0;font-size:13.5px;font-weight:850;color:var(--az-ink);list-style:none}
.az-aff-faq summary::-webkit-details-marker{display:none}
.az-aff-faq details p{margin:-2px 0 17px;font-size:13px;line-height:1.7;color:var(--az-muted)}

.az-aff-final{background:radial-gradient(circle at 80% 20%,rgba(245,160,0,.18),transparent 25%),linear-gradient(120deg,#05182b,#0a345a);color:#fff;padding:65px 0}
.az-aff-final-inner{display:flex;align-items:center;justify-content:space-between;gap:45px}
.az-aff-final h2{font-size:38px;line-height:1.08;margin:0 0 10px}.az-aff-final p{color:#c7d8e7;margin:0;max-width:690px;font-size:14px;line-height:1.7}

@media(max-width:900px){
  .az-aff-hero-grid{grid-template-columns:1fr .8fr;gap:28px;min-height:540px}
  .az-aff-feature-grid{grid-template-columns:repeat(2,1fr)}
  .az-aff-split{gap:35px}.az-aff-price-grid{gap:12px}.az-aff-plan{padding:22px}
}
@media(max-width:768px){
  .az-aff-shell{width:min(100% - 28px,1160px)}
  .az-aff-hero-grid{grid-template-columns:1fr;min-height:auto;padding:58px 0}
  .az-aff-console{display:none}.az-aff-hero h1{font-size:48px}.az-aff-hero-copy>p{font-size:16px}
  .az-aff-trust-grid{grid-template-columns:repeat(2,1fr)}
  .az-aff-trust-grid>div:nth-child(2){border-right:0}.az-aff-trust-grid>div:nth-child(-n+2){border-bottom:1px solid var(--az-line)}
  .az-aff-section{padding:56px 0}.az-aff-head h2,.az-aff-copy h2{font-size:32px}
  .az-aff-split{grid-template-columns:1fr;gap:32px}
  .az-aff-price-grid{grid-template-columns:1fr;max-width:560px;margin:0 auto}.az-aff-plan.is-featured{transform:none;margin-top:10px}
  .az-aff-final-inner{display:block}.az-aff-final .az-aff-actions{margin-top:23px}
}
@media(max-width:520px){
  .az-aff-hero h1{font-size:41px}.az-aff-actions{display:grid;grid-template-columns:1fr}.az-aff-btn{width:100%}
  .az-aff-proof{gap:9px 13px;font-size:10px}.az-aff-feature-grid{grid-template-columns:1fr}
  .az-aff-head{text-align:left}.az-aff-head .az-aff-eyebrow{justify-content:flex-start}.az-aff-head h2{font-size:29px}
  .az-aff-trust-grid>div{padding:16px 8px}.az-aff-trust-grid b{font-size:11.5px}.az-aff-trust-grid span{font-size:9.5px}
  .az-aff-final h2{font-size:31px}
}

/* Responsive */
@media(max-width:1024px){
  .az-hero-grid{grid-template-columns:1fr .8fr;gap:30px;min-height:480px}
  .az-featured-image{height:225px}.az-category-grid{grid-template-columns:repeat(2,1fr)}
  .az-product-grid{grid-template-columns:repeat(3,1fr)}
  .az-product-grid-four{grid-template-columns:repeat(2,1fr)}
  .az-confidence{gap:45px}
  .amazdealz-child-active .site-header .main-header{gap:14px}
  .amazdealz-child-active .site-branding{flex-basis:170px}
}
@media(max-width:768px){
  .az-shell{width:min(100% - 28px,1180px)}
  .amazdealz-child-active .top-bar .col-full{min-height:32px;text-align:center}
  .amazdealz-child-active .site-header .main-header{min-height:68px;padding-top:9px;padding-bottom:9px}
  .amazdealz-child-active .site-branding{flex:1 1 auto}
  .amazdealz-child-active .site-branding img{max-height:40px;width:auto}
  .amazdealz-child-active .site-header .site-search{flex-basis:100%;order:5}
  .amazdealz-child-active .az-affiliate-menu-item{margin-left:0}
  .az-hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:54px;padding-bottom:54px}
  .az-hero h1{font-size:48px}.az-hero-showcase{display:none}.az-hero-copy>p{font-size:16px}
  .az-benefit-grid{grid-template-columns:repeat(2,1fr)}
  .az-benefit-grid>div:nth-child(2){border-right:0}.az-benefit-grid>div:nth-child(-n+2){border-bottom:1px solid var(--az-line)}
  .az-section{padding:54px 0}.az-section-heading{align-items:flex-start}.az-section-heading h2{font-size:29px}
  .az-product-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .az-product-media>a{height:190px}
  .az-software-intro{display:block}.az-software-intro h2{font-size:34px}.az-software-intro .az-btn{margin-top:22px}
  .az-confidence{grid-template-columns:1fr;gap:34px}.az-confidence-copy h2{font-size:32px}
}
@media(max-width:520px){
  .az-hero{background:radial-gradient(circle at 90% 10%,rgba(44,169,255,.20),transparent 26%),linear-gradient(135deg,#06192d,#0a335b)}
  .az-hero h1{font-size:43px}.az-kicker{font-size:9.5px}.az-hero-actions{display:grid;grid-template-columns:1fr 1fr}.az-btn{padding:0 14px;font-size:12.5px}
  .az-hero-proof{gap:9px 14px;font-size:10.5px}
  .az-benefit-grid>div{padding:15px 12px;grid-template-columns:28px 1fr;column-gap:8px}.az-benefit-icon{font-size:18px}.az-benefit-grid b{font-size:11.5px}.az-benefit-grid small{font-size:9.5px}
  .az-section-heading{display:block}.az-section-heading>a{display:inline-block;margin-top:12px}
  .az-category-grid{grid-template-columns:1fr 1fr;gap:10px}.az-category-card{min-height:150px;padding:17px}.az-cat-icon{left:17px;top:17px;width:40px;height:40px}.az-category-card b{font-size:14px}.az-category-card small{font-size:10.5px}.az-arrow{right:14px;bottom:15px}
  .az-product-grid{grid-template-columns:1fr 1fr;gap:9px}.az-product-card{border-radius:12px}.az-product-media{padding:7px}.az-product-media>a{height:145px;border-radius:9px}.az-product-media img{padding:5px}.az-product-body{padding:5px 10px 11px}.az-product-body h3{font-size:12px!important;min-height:34px}.az-price{font-size:15px}.az-buy{min-height:38px!important;font-size:10.5px!important}.az-sale,.az-instant{top:13px;font-size:8px;padding:4px 6px}.az-sale{left:13px}.az-instant{right:13px}
  .az-software-band{padding:42px 0}.az-software-intro h2{font-size:30px}
  .az-confidence-list>div{grid-template-columns:38px 1fr;padding:14px}.az-confidence-list>div>span{width:38px;height:38px}
}

@media(max-width:480px){
  .az-affiliate-earning{grid-template-columns:1fr;padding:7px 8px;margin-bottom:9px;gap:1px}
  .az-affiliate-main{font-size:10px}.az-affiliate-rate{font-size:9px}.az-affiliate-earning>a{font-size:9px}
  .az-featured-meta .az-affiliate-earning{grid-template-columns:1fr}
}


/* V2.2 — Amazdealz gold CTA system */
.amazdealz-child-active .woocommerce a.button:not(.disabled),
.amazdealz-child-active .woocommerce button.button:not(.disabled),
.amazdealz-child-active .woocommerce input.button:not(.disabled),
.amazdealz-child-active .woocommerce #respond input#submit,
.amazdealz-child-active .wc-forward,
.amazdealz-child-active .checkout-button,
.amazdealz-child-active #place_order,
.amazdealz-child-active button[name="apply_coupon"],
.amazdealz-child-active button[name="update_cart"],
.amazdealz-child-active .woocommerce-form-login__submit,
.amazdealz-child-active .woocommerce-form-register__submit {
  background:var(--az-gold)!important;
  color:var(--az-navy)!important;
  border-color:var(--az-gold)!important;
  box-shadow:none!important;
  font-weight:850!important;
}
.amazdealz-child-active .woocommerce a.button:not(.disabled):hover,
.amazdealz-child-active .woocommerce button.button:not(.disabled):hover,
.amazdealz-child-active .woocommerce input.button:not(.disabled):hover,
.amazdealz-child-active .woocommerce #respond input#submit:hover,
.amazdealz-child-active .wc-forward:hover,
.amazdealz-child-active .checkout-button:hover,
.amazdealz-child-active #place_order:hover,
.amazdealz-child-active button[name="apply_coupon"]:hover,
.amazdealz-child-active button[name="update_cart"]:hover,
.amazdealz-child-active .woocommerce-form-login__submit:hover,
.amazdealz-child-active .woocommerce-form-register__submit:hover {
  background:var(--az-gold-dark)!important;
  border-color:var(--az-gold-dark)!important;
  color:#fff!important;
}
.amazdealz-child-active .site-search button:hover,
.amazdealz-child-active .site-search input[type=submit]:hover {
  background:var(--az-gold-dark)!important;
  color:#fff!important;
}
.amazdealz-child-active .site-header-cart .mini-count{background:var(--az-gold);color:var(--az-navy)}

/* =========================================================
   V2.4 — Full-site premium commerce polish
   Presentation only. WooCommerce/plugin actions remain native.
   ========================================================= */

/* Page canvas + typography for all non-home customer pages */
body.amazdealz-child-active:not(.home):not(.az-affiliate-page){background:#f6f8fb}
body.amazdealz-child-active:not(.home):not(.az-affiliate-page) #page{background:#f6f8fb}
body.amazdealz-child-active:not(.home):not(.az-affiliate-page) #content{padding-bottom:58px}
.amazdealz-child-active:not(.home):not(.az-affiliate-page) .content-area{padding-top:36px}
.amazdealz-child-active:not(.home):not(.az-affiliate-page) .archive-header,
.amazdealz-child-active:not(.home):not(.az-affiliate-page) .woocommerce-products-header{
  background:transparent;border:0;margin-bottom:22px;padding-top:0;
}
.amazdealz-child-active:not(.home):not(.az-affiliate-page) .page-title,
.amazdealz-child-active:not(.home):not(.az-affiliate-page) .entry-title,
.amazdealz-child-active:not(.home):not(.az-affiliate-page) .woocommerce-products-header__title{
  color:var(--az-navy);font-size:clamp(30px,4vw,44px);line-height:1.06;font-weight:900;letter-spacing:-.045em;margin-bottom:10px;
}
.amazdealz-child-active .woocommerce-breadcrumb{margin-bottom:18px;color:#7d8b9b;font-weight:650}
.amazdealz-child-active .woocommerce-breadcrumb a{color:#50657a}
.amazdealz-child-active .woocommerce-breadcrumb a:hover{color:var(--az-blue)}

/* Global form system */
.amazdealz-child-active .woocommerce form .form-row label,
.amazdealz-child-active .woocommerce-page form .form-row label,
.amazdealz-child-active .entry-content form label{
  color:#314156;font-size:12.5px;font-weight:800;margin-bottom:7px;
}
.amazdealz-child-active .woocommerce form .form-row .required{color:var(--az-red)}
.amazdealz-child-active input[type=text],
.amazdealz-child-active input[type=email],
.amazdealz-child-active input[type=tel],
.amazdealz-child-active input[type=password],
.amazdealz-child-active input[type=number],
.amazdealz-child-active input[type=search],
.amazdealz-child-active input[type=url],
.amazdealz-child-active textarea,
.amazdealz-child-active select,
.amazdealz-child-active .select2-container .select2-selection--single,
.amazdealz-child-active .select2-container .select2-selection--multiple{
  min-height:48px;border:1px solid #d8e1ea!important;border-radius:10px!important;background:#fff!important;color:var(--az-ink)!important;box-shadow:0 1px 2px rgba(7,27,49,.02)!important;
}
.amazdealz-child-active textarea{min-height:120px;padding:13px 14px}
.amazdealz-child-active input[type=text],
.amazdealz-child-active input[type=email],
.amazdealz-child-active input[type=tel],
.amazdealz-child-active input[type=password],
.amazdealz-child-active input[type=number],
.amazdealz-child-active input[type=url]{padding:0 14px}
.amazdealz-child-active .select2-container .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:14px}
.amazdealz-child-active .select2-container .select2-selection--single .select2-selection__arrow{height:46px;right:7px}
.amazdealz-child-active input:focus,
.amazdealz-child-active textarea:focus,
.amazdealz-child-active select:focus,
.amazdealz-child-active .select2-container--focus .select2-selection{
  border-color:var(--az-gold)!important;box-shadow:0 0 0 3px rgba(245,160,0,.13)!important;outline:0!important;
}
.amazdealz-child-active .woocommerce form .show-password-input{top:1em;color:#64748b}

/* Notices */
.amazdealz-child-active .woocommerce-message,
.amazdealz-child-active .woocommerce-info,
.amazdealz-child-active .woocommerce-error{
  background:#fff;border:1px solid var(--az-line);border-left:4px solid var(--az-blue);border-radius:12px;box-shadow:0 7px 24px rgba(7,27,49,.05);color:#314156;padding:17px 20px 17px 48px;margin-bottom:22px;
}
.amazdealz-child-active .woocommerce-message{border-left-color:var(--az-green)}
.amazdealz-child-active .woocommerce-error{border-left-color:var(--az-red)}
.amazdealz-child-active .woocommerce-message a.button,
.amazdealz-child-active .woocommerce-info a.button{min-height:34px!important;padding:7px 13px!important;font-size:11px!important}

/* ---------- MY ACCOUNT: logged out ---------- */
body.amazdealz-child-active.woocommerce-account:not(.logged-in) .content-area{max-width:1180px;margin:0 auto;padding-top:42px}
body.amazdealz-child-active.woocommerce-account:not(.logged-in) .entry-title,
body.amazdealz-child-active.woocommerce-account:not(.logged-in) .page-title{text-align:center;margin-bottom:30px}
body.amazdealz-child-active.woocommerce-account:not(.logged-in) .entry-title:before,
body.amazdealz-child-active.woocommerce-account:not(.logged-in) .page-title:before{
  content:"WELCOME TO AMAZDEALZ";display:block;margin:0 auto 9px;color:#9a6500;font-size:10px;line-height:1;font-weight:900;letter-spacing:.14em;
}
.amazdealz-child-active #customer_login{
  display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch;max-width:980px;margin:0 auto 36px;
}
.amazdealz-child-active #customer_login .u-column1,
.amazdealz-child-active #customer_login .u-column2{width:auto;float:none;margin:0}
.amazdealz-child-active #customer_login>div{
  position:relative;background:#fff;border:1px solid var(--az-line);border-radius:20px;padding:30px;box-shadow:0 14px 40px rgba(7,27,49,.07);overflow:hidden;
}
.amazdealz-child-active #customer_login>div:before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,var(--az-gold),#ffc94d)}
.amazdealz-child-active #customer_login h2{font-size:25px;color:var(--az-navy);margin:2px 0 20px}
.amazdealz-child-active #customer_login h2:after{display:block;font-size:12px;line-height:1.6;font-weight:550;letter-spacing:0;color:var(--az-muted);margin-top:6px}
.amazdealz-child-active #customer_login .u-column1 h2:after{content:"Access orders, downloads and your account details."}
.amazdealz-child-active #customer_login .u-column2 h2:after{content:"Create an account for a faster checkout experience."}
.amazdealz-child-active #customer_login form.login,
.amazdealz-child-active #customer_login form.register{border:0;padding:0;margin:0;background:transparent}
.amazdealz-child-active #customer_login .woocommerce-form-row{margin-bottom:16px}
.amazdealz-child-active #customer_login .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:7px;font-weight:650;font-size:12px;color:#667085}
.amazdealz-child-active #customer_login .woocommerce-form-login__submit,
.amazdealz-child-active #customer_login .woocommerce-form-register__submit{width:100%;min-height:48px;margin:12px 0 5px}
.amazdealz-child-active #customer_login .lost_password{margin:11px 0 0}
.amazdealz-child-active #customer_login .lost_password a{color:var(--az-blue);font-size:12px;font-weight:800}
.amazdealz-child-active #customer_login .woocommerce-privacy-policy-text{font-size:11px;line-height:1.7;color:#7c8997}

/* ---------- MY ACCOUNT: logged in dashboard ---------- */
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
  width:auto;float:none;background:linear-gradient(155deg,#06192d,#0a345a);border-radius:18px;padding:12px;box-shadow:0 18px 44px rgba(7,27,49,.14);overflow:hidden;
}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation:before{
  content:"MY AMAZDEALZ";display:block;color:#ffd47e;font-size:9px;font-weight:900;letter-spacing:.14em;padding:9px 12px 11px;
}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li{margin:3px 0;border:0}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
  display:flex;align-items:center;min-height:43px;padding:0 12px;border-radius:9px;color:#d7e5f2;font-size:12.5px;font-weight:750;text-decoration:none;
}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a,
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover{background:rgba(255,255,255,.11);color:#fff}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a{box-shadow:inset 3px 0 0 var(--az-gold)}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  width:auto;float:none;min-width:0;background:#fff;border:1px solid var(--az-line);border-radius:18px;padding:28px;box-shadow:0 12px 36px rgba(7,27,49,.06);
}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-content>p:first-child{font-size:15px;line-height:1.75;color:#405267}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-content h3{color:var(--az-navy);margin-top:0}
.amazdealz-child-active .woocommerce-MyAccount-content table.shop_table{border:1px solid var(--az-line);border-radius:12px;overflow:hidden}
.amazdealz-child-active .woocommerce-MyAccount-content table.shop_table th{background:#f7f9fc;color:#42556a;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.amazdealz-child-active .woocommerce-MyAccount-content table.shop_table td{font-size:12.5px}
.amazdealz-child-active .woocommerce-Address{background:#f8fafc;border:1px solid var(--az-line);border-radius:13px;padding:20px}
.amazdealz-child-active .woocommerce-Address-title h3{font-size:17px}
.amazdealz-child-active .woocommerce-Address-title a.edit{color:var(--az-blue);font-size:11px;font-weight:850}
.amazdealz-child-active .woocommerce-Addresses address{color:#5f6f81;font-size:12.5px;line-height:1.8}

/* ---------- SHOP / CATEGORY / SEARCH ---------- */
body.amazdealz-child-active.post-type-archive-product .shoptimizer-sorting,
body.amazdealz-child-active.tax-product_cat .shoptimizer-sorting,
body.amazdealz-child-active.search-results .shoptimizer-sorting{
  background:#fff;border:1px solid var(--az-line);border-radius:13px;padding:12px 14px;margin-bottom:22px;box-shadow:0 5px 18px rgba(7,27,49,.035);
}
.amazdealz-child-active .woocommerce-result-count{color:#718096;font-size:12px;font-weight:650}
.amazdealz-child-active .woocommerce-ordering select{min-height:40px!important;height:40px;border-radius:8px!important;font-size:12px;padding-left:10px}
.amazdealz-child-active .filter-trigger{border-radius:9px!important;background:var(--az-navy)!important;color:#fff!important;font-size:12px;font-weight:800}
.amazdealz-child-active ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;margin-top:0}
.amazdealz-child-active ul.products li.product{width:auto!important;margin:0!important;min-width:0}
.amazdealz-child-active ul.products li.product:not(.product-category){border-radius:17px;padding:12px 12px 14px;box-shadow:0 5px 20px rgba(7,27,49,.045)}
.amazdealz-child-active ul.products li.product:not(.product-category):hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(7,27,49,.11)}
.amazdealz-child-active ul.products li.product .woocommerce-LoopProduct-link{display:block}
.amazdealz-child-active ul.products li.product img{aspect-ratio:1/1;object-fit:contain;padding:5px;background:#f7f9fb}
.amazdealz-child-active ul.products li.product .product-category{font-size:10px;font-weight:800;color:#718096;text-transform:uppercase;letter-spacing:.04em}
.amazdealz-child-active ul.products li.product .woocommerce-loop-product__title,
.amazdealz-child-active ul.products li.product h2{min-height:39px;margin-top:8px;margin-bottom:7px}
.amazdealz-child-active ul.products li.product .star-rating{font-size:11px;margin-bottom:7px}
.amazdealz-child-active ul.products li.product .price{margin:4px 0 8px}
.amazdealz-child-active ul.products li.product form.cart,
.amazdealz-child-active ul.products li.product .variations_form{margin-top:9px}
.amazdealz-child-active ul.products li.product .variations{font-size:10px;margin-bottom:8px}
.amazdealz-child-active ul.products li.product .variations td{padding:3px 0;border:0}
.amazdealz-child-active ul.products li.product .variations select{min-height:35px!important;height:35px;font-size:10px;border-radius:7px!important;padding:0 26px 0 8px}
.amazdealz-child-active ul.products li.product .reset_variations{font-size:9px;color:var(--az-blue)}
.amazdealz-child-active ul.products li.product .quantity{display:none}
.amazdealz-child-active ul.products li.product .single_variation_wrap .woocommerce-variation-price{font-size:12px;margin:5px 0}
.amazdealz-child-active ul.products li.product .button,
.amazdealz-child-active ul.products li.product .added_to_cart{min-height:41px;display:flex;align-items:center;justify-content:center;margin-top:8px;font-size:11.5px}
.amazdealz-child-active nav.woocommerce-pagination ul{border:0;display:flex;gap:7px;justify-content:center}
.amazdealz-child-active nav.woocommerce-pagination ul li{border:0}
.amazdealz-child-active nav.woocommerce-pagination ul li a,
.amazdealz-child-active nav.woocommerce-pagination ul li span{min-width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--az-line);border-radius:9px;background:#fff;color:#405267;font-weight:800}
.amazdealz-child-active nav.woocommerce-pagination ul li span.current,
.amazdealz-child-active nav.woocommerce-pagination ul li a:hover{background:var(--az-navy);border-color:var(--az-navy);color:#fff}

/* Product categories */
.amazdealz-child-active ul.products li.product-category{background:#fff;border:1px solid var(--az-line);border-radius:16px;overflow:hidden;padding:12px;box-shadow:0 5px 20px rgba(7,27,49,.045)}
.amazdealz-child-active ul.products li.product-category h2{font-size:15px!important;margin:12px 2px 4px;min-height:auto;color:var(--az-navy)}
.amazdealz-child-active ul.products li.product-category .count{background:var(--az-gold-soft);color:#936000;border-radius:999px;font-size:9px;padding:3px 7px}

/* ---------- SINGLE PRODUCT ---------- */
/* V2.8 uses Shoptimizer native PDP structure; see safe overrides at end. */

/* ---------- CART ---------- */
body.amazdealz-child-active.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.65fr);gap:24px;align-items:start}
body.amazdealz-child-active.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,
body.amazdealz-child-active.woocommerce-cart .woocommerce>.woocommerce-message,
body.amazdealz-child-active.woocommerce-cart .woocommerce>.woocommerce-info,
body.amazdealz-child-active.woocommerce-cart .woocommerce>.woocommerce-error{grid-column:1/-1}
body.amazdealz-child-active.woocommerce-cart .woocommerce-cart-form{
  width:auto;float:none;background:#fff;border:1px solid var(--az-line);border-radius:18px;padding:18px;box-shadow:0 10px 32px rgba(7,27,49,.055);
}
body.amazdealz-child-active.woocommerce-cart table.shop_table{border:0;margin:0;border-collapse:separate;border-spacing:0}
body.amazdealz-child-active.woocommerce-cart table.shop_table th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#7b8796;background:#f8fafc;border:0;padding:12px}
body.amazdealz-child-active.woocommerce-cart table.shop_table td{border-color:#edf1f5;padding:15px 12px;vertical-align:middle}
body.amazdealz-child-active.woocommerce-cart .product-thumbnail img{width:72px;border-radius:10px;background:#f7f9fb;padding:4px}
body.amazdealz-child-active.woocommerce-cart .product-name a{font-size:13px;font-weight:800;color:var(--az-navy)}
body.amazdealz-child-active.woocommerce-cart .product-price,
body.amazdealz-child-active.woocommerce-cart .product-subtotal{font-weight:850;color:#34465b}
body.amazdealz-child-active.woocommerce-cart .product-remove a{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff2f2;color:var(--az-red)!important;font-size:16px}
body.amazdealz-child-active.woocommerce-cart .coupon{display:flex;gap:7px;max-width:430px}
body.amazdealz-child-active.woocommerce-cart .coupon input{min-width:0;flex:1}
body.amazdealz-child-active.woocommerce-cart .cart-collaterals{width:auto;float:none;margin:0}
body.amazdealz-child-active.woocommerce-cart .cart-collaterals .cart_totals{
  width:auto;float:none;background:linear-gradient(180deg,#fff,#fbfcfe);border:1px solid var(--az-line);border-radius:18px;padding:22px;box-shadow:0 10px 32px rgba(7,27,49,.055);position:sticky;top:115px;
}
body.amazdealz-child-active.woocommerce-cart .cart_totals h2{font-size:23px;color:var(--az-navy);margin:0 0 15px}
body.amazdealz-child-active.woocommerce-cart .cart_totals table{margin-bottom:15px}
body.amazdealz-child-active.woocommerce-cart .cart_totals th,
body.amazdealz-child-active.woocommerce-cart .cart_totals td{font-size:12.5px;padding:12px 5px;border-color:#edf1f5}
body.amazdealz-child-active.woocommerce-cart .cart_totals .order-total th,
body.amazdealz-child-active.woocommerce-cart .cart_totals .order-total td{font-size:16px;color:var(--az-navy)}
body.amazdealz-child-active.woocommerce-cart .checkout-button{min-height:51px;display:flex!important;align-items:center;justify-content:center;font-size:13px!important;border-radius:10px!important}
body.amazdealz-child-active.woocommerce-cart .cart-empty,
body.amazdealz-child-active.woocommerce-cart .return-to-shop{text-align:center}

/* ---------- CHECKOUT ---------- */
body.amazdealz-child-active.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:24px;align-items:start;
}
body.amazdealz-child-active.woocommerce-checkout form.checkout #customer_details{width:auto;float:none;display:block}
body.amazdealz-child-active.woocommerce-checkout form.checkout #customer_details .col-1,
body.amazdealz-child-active.woocommerce-checkout form.checkout #customer_details .col-2{width:auto;float:none;background:#fff;border:1px solid var(--az-line);border-radius:18px;padding:24px;box-shadow:0 10px 32px rgba(7,27,49,.05);margin-bottom:16px}
body.amazdealz-child-active.woocommerce-checkout form.checkout #customer_details h3{font-size:22px;color:var(--az-navy);margin:0 0 18px}
body.amazdealz-child-active.woocommerce-checkout form.checkout #order_review_heading{
  grid-column:2;grid-row:1;margin:0 0 -8px;background:transparent;font-size:22px;color:var(--az-navy);padding:0 4px;
}
body.amazdealz-child-active.woocommerce-checkout form.checkout #order_review{
  grid-column:2;grid-row:1/span 2;margin-top:40px;width:auto;float:none;background:#fff;border:1px solid var(--az-line);border-radius:18px;padding:22px;box-shadow:0 14px 38px rgba(7,27,49,.07);position:sticky;top:115px;
}
body.amazdealz-child-active.woocommerce-checkout #order_review table.shop_table{border:0;margin-bottom:18px}
body.amazdealz-child-active.woocommerce-checkout #order_review table.shop_table th,
body.amazdealz-child-active.woocommerce-checkout #order_review table.shop_table td{font-size:12px;padding:12px 4px;border-color:#edf1f5}
body.amazdealz-child-active.woocommerce-checkout #order_review .order-total th,
body.amazdealz-child-active.woocommerce-checkout #order_review .order-total td{font-size:16px;color:var(--az-navy);font-weight:900}
body.amazdealz-child-active.woocommerce-checkout #payment{background:#f8fafc;border:1px solid var(--az-line);border-radius:13px;padding:14px}
body.amazdealz-child-active.woocommerce-checkout #payment ul.payment_methods{border:0;padding:0;margin:0 0 10px}
body.amazdealz-child-active.woocommerce-checkout #payment ul.payment_methods li{font-size:12px;color:#42556a;padding:5px 0}
body.amazdealz-child-active.woocommerce-checkout #payment div.payment_box{background:#fff;border:1px solid var(--az-line);border-radius:10px;color:#667085;font-size:11.5px;line-height:1.65}
body.amazdealz-child-active.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#fff}
body.amazdealz-child-active.woocommerce-checkout #payment .place-order{padding:10px 0 0;margin:0}
body.amazdealz-child-active.woocommerce-checkout #place_order{width:100%;min-height:52px;font-size:13px!important;border-radius:10px!important}
body.amazdealz-child-active.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.amazdealz-child-active.woocommerce-checkout .woocommerce-form-login-toggle{max-width:1180px;margin-left:auto;margin-right:auto}
body.amazdealz-child-active.woocommerce-checkout form.checkout_coupon,
body.amazdealz-child-active.woocommerce-checkout form.login{background:#fff;border:1px solid var(--az-line);border-radius:14px;padding:18px;box-shadow:0 7px 24px rgba(7,27,49,.04)}

/* ---------- ORDER RECEIVED / ORDER DETAILS ---------- */
body.amazdealz-child-active.woocommerce-order-received .woocommerce-order{
  max-width:920px;margin:0 auto;background:#fff;border:1px solid var(--az-line);border-radius:20px;padding:28px;box-shadow:0 16px 44px rgba(7,27,49,.07);
}
body.amazdealz-child-active.woocommerce-order-received .woocommerce-thankyou-order-received{
  background:#edfff6;border:1px solid #ccefdc;border-radius:12px;padding:17px 18px;color:#08744e;font-size:15px;font-weight:850;
}
body.amazdealz-child-active.woocommerce-order-received ul.order_details{background:#f8fafc;border:1px solid var(--az-line);border-radius:12px;padding:15px;margin:18px 0}
body.amazdealz-child-active.woocommerce-order-received ul.order_details li{font-size:10px;color:#7b8796}
body.amazdealz-child-active.woocommerce-order-received ul.order_details li strong{font-size:13px;color:var(--az-navy);margin-top:4px}
.amazdealz-child-active .woocommerce-order-details,
.amazdealz-child-active .woocommerce-customer-details{margin-top:25px}
.amazdealz-child-active .woocommerce-order-details h2,
.amazdealz-child-active .woocommerce-customer-details h2{font-size:21px;color:var(--az-navy)}
.amazdealz-child-active .woocommerce-order-details table.shop_table,
.amazdealz-child-active .woocommerce-customer-details address{border:1px solid var(--az-line);border-radius:12px;background:#fff}

/* ---------- GENERIC INFORMATION / POLICY / HELP PAGES ---------- */
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) article.type-page{
  max-width:1040px;margin:0 auto;background:#fff;border:1px solid var(--az-line);border-radius:19px;padding:clamp(24px,4vw,44px);box-shadow:0 12px 38px rgba(7,27,49,.055);
}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) article.type-page .entry-header{padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--az-line)}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) .entry-content{color:#536579;font-size:14px;line-height:1.82}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) .entry-content h2{font-size:25px;color:var(--az-navy);margin-top:32px}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) .entry-content h3{font-size:19px;color:#183553;margin-top:25px}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) .entry-content a{color:var(--az-blue);font-weight:700}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) .entry-content table{border:1px solid var(--az-line);border-radius:12px;overflow:hidden}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) .entry-content th{background:#f7f9fc;color:#42556a}
body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) .entry-content blockquote{border-left:4px solid var(--az-gold);background:var(--az-gold-soft);border-radius:0 10px 10px 0;padding:16px 18px;color:#5d5237}

/* Affiliate registration / plugin forms inherit a professional card without altering fields */
.amazdealz-child-active form[class*=affiliate],
.amazdealz-child-active [class*=affiliate] form:not(.cart){border-radius:16px}
.amazdealz-child-active form[class*=affiliate] input[type=submit],
.amazdealz-child-active [class*=affiliate] form:not(.cart) button{background:var(--az-gold)!important;color:var(--az-navy)!important;border:0!important;border-radius:9px!important;font-weight:850!important}

/* Search / no-results / 404 */
body.amazdealz-child-active.search-no-results .site-main,
body.amazdealz-child-active.error404 .site-main{
  max-width:760px;margin:15px auto 0;background:#fff;border:1px solid var(--az-line);border-radius:19px;padding:45px;text-align:center;box-shadow:0 12px 38px rgba(7,27,49,.055);
}
body.amazdealz-child-active.search-no-results .site-main h1,
body.amazdealz-child-active.error404 .site-main h1{color:var(--az-navy);font-size:36px}

/* Mini-cart / drawer */
.amazdealz-child-active .shoptimizer-mini-cart-wrap,
.amazdealz-child-active .site-header-cart .widget_shopping_cart{background:#fff}
.amazdealz-child-active .widget_shopping_cart_content .mini_cart_item{border-bottom:1px solid var(--az-line);padding-top:13px;padding-bottom:13px}
.amazdealz-child-active .widget_shopping_cart_content .mini_cart_item a{color:var(--az-navy);font-size:12px;font-weight:750}
.amazdealz-child-active .widget_shopping_cart_content .woocommerce-mini-cart__total{background:#f8fafc;border:1px solid var(--az-line);border-radius:10px;padding:12px}
.amazdealz-child-active .widget_shopping_cart_content .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.amazdealz-child-active .widget_shopping_cart_content .woocommerce-mini-cart__buttons a{margin:0!important;display:flex;align-items:center;justify-content:center}

/* Better footer transition across inner pages */
body.amazdealz-child-active:not(.home) .below-content{margin-top:15px}

/* Responsive full-site commerce */
@media(max-width:1024px){
  .amazdealz-child-active ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.amazdealz-child-active.woocommerce-cart .woocommerce{grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);gap:16px}
  body.amazdealz-child-active.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:16px}
}
@media(max-width:768px){
  body.amazdealz-child-active:not(.home):not(.az-affiliate-page) #content{padding-bottom:38px}
  .amazdealz-child-active:not(.home):not(.az-affiliate-page) .content-area{padding-top:25px}
  .amazdealz-child-active #customer_login{grid-template-columns:1fr;gap:14px}
  .amazdealz-child-active #customer_login>div{padding:23px;border-radius:16px}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr;gap:14px}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{border-radius:14px;padding:8px;overflow:auto}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation:before{display:none}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{display:flex;gap:5px;min-width:max-content}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li{margin:0}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{min-height:38px;padding:0 11px;font-size:11px}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a{box-shadow:inset 0 -3px 0 var(--az-gold)}
  body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-content{padding:20px;border-radius:15px}
  .amazdealz-child-active ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px!important}
  .amazdealz-child-active ul.products li.product:not(.product-category){padding:9px 9px 12px;border-radius:13px}
  .amazdealz-child-active ul.products li.product .woocommerce-loop-product__title,.amazdealz-child-active ul.products li.product h2{font-size:12px;min-height:34px}
  .amazdealz-child-active ul.products li.product .price{font-size:15px}
  .amazdealz-child-active ul.products li.product .variations select{font-size:9px}
  body.amazdealz-child-active.woocommerce-cart .woocommerce{display:block}
  body.amazdealz-child-active.woocommerce-cart .woocommerce-cart-form{padding:10px;border-radius:15px;margin-bottom:14px;overflow-x:auto}
  body.amazdealz-child-active.woocommerce-cart .cart-collaterals .cart_totals{position:static;padding:19px;border-radius:15px}
  body.amazdealz-child-active.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{display:block}
  body.amazdealz-child-active.woocommerce-checkout form.checkout #customer_details .col-1,
  body.amazdealz-child-active.woocommerce-checkout form.checkout #customer_details .col-2{padding:19px;border-radius:15px}
  body.amazdealz-child-active.woocommerce-checkout form.checkout #order_review_heading{margin:22px 0 12px;padding:0}
  body.amazdealz-child-active.woocommerce-checkout form.checkout #order_review{position:static;margin:0;padding:19px;border-radius:15px}
  body.amazdealz-child-active.woocommerce-order-received .woocommerce-order{padding:20px;border-radius:15px}
  body.amazdealz-child-active.page:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout):not(.az-affiliate-page) article.type-page{padding:24px 20px;border-radius:15px}
}
@media(max-width:480px){
  .amazdealz-child-active:not(.home):not(.az-affiliate-page) .page-title,
  .amazdealz-child-active:not(.home):not(.az-affiliate-page) .entry-title,
  .amazdealz-child-active:not(.home):not(.az-affiliate-page) .woocommerce-products-header__title{font-size:31px}
  .amazdealz-child-active #customer_login>div{padding:20px 16px}
  .amazdealz-child-active ul.products{gap:8px!important}
  .amazdealz-child-active ul.products li.product:not(.product-category){padding:7px 7px 10px}
  .amazdealz-child-active ul.products li.product .button,.amazdealz-child-active ul.products li.product .added_to_cart{min-height:38px;font-size:10px}
  body.amazdealz-child-active.woocommerce-cart .coupon{display:grid;grid-template-columns:1fr;max-width:none}
  body.amazdealz-child-active.woocommerce-cart .coupon button{width:100%}
  body.amazdealz-child-active.woocommerce-checkout #payment{padding:10px}
  body.amazdealz-child-active.woocommerce-order-received .woocommerce-order{padding:16px 12px}
}


/* =========================================================
   V2.5 — Top announcement bar visibility / contrast fix
   Keep this deliberately high-specificity because Shoptimizer
   can output Customizer colors as inline CSS after theme styles.
   ========================================================= */
body.amazdealz-child-active .col-full.topbar-wrapper,
body.amazdealz-child-active .topbar-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071b31 !important;
    background-color: #071b31 !important;
    border: 0 !important;
    border-bottom: 3px solid #f5a000 !important;
    color: #ffffff !important;
}

body.amazdealz-child-active .topbar-wrapper .top-bar,
body.amazdealz-child-active .col-full.topbar-wrapper .top-bar {
    width: 100% !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071b31 !important;
    background-color: #071b31 !important;
    color: #ffffff !important;
}

body.amazdealz-child-active .topbar-wrapper .top-bar > .col-full {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
    min-height: 38px !important;
    margin: 0 auto !important;
    padding: 7px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    background: transparent !important;
}

body.amazdealz-child-active .topbar-wrapper .top-bar *,
body.amazdealz-child-active .topbar-wrapper .top-bar p,
body.amazdealz-child-active .topbar-wrapper .top-bar a,
body.amazdealz-child-active .topbar-wrapper .top-bar span,
body.amazdealz-child-active .topbar-wrapper .top-bar div,
body.amazdealz-child-active .topbar-wrapper .top-bar .textwidget {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

body.amazdealz-child-active .topbar-wrapper .top-bar p {
    margin: 0 !important;
    line-height: 1.45 !important;
}

body.amazdealz-child-active .topbar-wrapper .top-bar .widget,
body.amazdealz-child-active .topbar-wrapper .top-bar .top-bar-left,
body.amazdealz-child-active .topbar-wrapper .top-bar .top-bar-center,
body.amazdealz-child-active .topbar-wrapper .top-bar .top-bar-right {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

body.amazdealz-child-active .topbar-wrapper .top-bar a {
    font-weight: 750 !important;
    text-decoration: none !important;
}

body.amazdealz-child-active .topbar-wrapper .top-bar a:hover {
    color: #f5a000 !important;
    opacity: 1 !important;
}

/* Stop browser/plug-in inherited highlight-like backgrounds on top notice text. */
body.amazdealz-child-active .topbar-wrapper .top-bar strong,
body.amazdealz-child-active .topbar-wrapper .top-bar b,
body.amazdealz-child-active .topbar-wrapper .top-bar mark {
    color: #ffffff !important;
    background: transparent !important;
}

/* Cleaner mobile announcement bar. */
@media (max-width: 992px) {
    body.amazdealz-child-active .col-full.topbar-wrapper:not(.hide-on-mobile) {
        display: block !important;
    }
    body.amazdealz-child-active .topbar-wrapper .top-bar > .col-full {
        width: calc(100% - 24px) !important;
        min-height: 34px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        text-align: center !important;
    }
    body.amazdealz-child-active .topbar-wrapper .top-bar * {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }
}


/* =========================================================
   V2.8 — SAFE PDP FIX
   Preserve Shoptimizer's native product DOM/float layout.
   No display:grid on outer product or product-details-wrapper.
   ========================================================= */

/* Safety reset for any cached/older child CSS cascade. */
body.amazdealz-child-active.single-product .site-main > div.product,
body.amazdealz-child-active.single-product div.product.type-product {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.amazdealz-child-active.single-product .site-content,
body.amazdealz-child-active.single-product .content-area {
    background: #f5f7fa !important;
}

/* Shoptimizer owns the wrapper structure; keep it as a normal containing block. */
body.amazdealz-child-active.single-product .product-details-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 1220px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 30px 24px 42px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.amazdealz-child-active.single-product .product-details-wrapper:after {
    display: table !important;
    clear: both !important;
    content: "" !important;
}

/* Desktop: use Shoptimizer's native left/right floats, only refine proportions. */
@media (min-width: 993px) {
    body.amazdealz-child-active.single-product .product-details-wrapper > .woocommerce-product-gallery,
    body.amazdealz-child-active.single-product .product-details-wrapper > .images {
        display: block !important;
        float: left !important;
        width: 54% !important;
        max-width: 54% !important;
        margin: 0 !important;
    }

    body.amazdealz-child-active.single-product .product-details-wrapper > .summary,
    body.amazdealz-child-active.single-product .product-details-wrapper > .summary.entry-summary {
        display: block !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        float: right !important;
        width: 42% !important;
        max-width: 42% !important;
        margin: 0 !important;
    }
}

/* Gallery card */
body.amazdealz-child-active.single-product .product-details-wrapper .woocommerce-product-gallery,
body.amazdealz-child-active.single-product .product-details-wrapper .images {
    padding: 16px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(7,27,49,.055) !important;
    box-sizing: border-box !important;
}

body.amazdealz-child-active.single-product .woocommerce-product-gallery__wrapper,
body.amazdealz-child-active.single-product .woocommerce-product-gallery .flex-viewport {
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #fff !important;
}

body.amazdealz-child-active.single-product .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    max-height: 570px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    background: #fff !important;
}

body.amazdealz-child-active.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
}
body.amazdealz-child-active.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 64px !important;
    width: 64px !important;
    margin: 0 !important;
}
body.amazdealz-child-active.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 64px !important;
    height: 64px !important;
    padding: 5px !important;
    border: 1px solid #e0e6ed !important;
    border-radius: 9px !important;
    object-fit: contain !important;
    opacity: .72 !important;
}
body.amazdealz-child-active.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: var(--az-gold) !important;
    box-shadow: 0 0 0 2px rgba(245,160,0,.13) !important;
    opacity: 1 !important;
}

/* Buy panel */
body.amazdealz-child-active.single-product .product-details-wrapper > .summary,
body.amazdealz-child-active.single-product .product-details-wrapper > .summary.entry-summary {
    padding: 25px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(7,27,49,.065) !important;
    box-sizing: border-box !important;
}

body.amazdealz-child-active.single-product .product-details-wrapper .summary h1.product_title,
body.amazdealz-child-active.single-product .product-details-wrapper .summary h1.entry-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: var(--az-navy) !important;
    font-size: clamp(27px,2.6vw,36px) !important;
    line-height: 1.14 !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
}

body.amazdealz-child-active.single-product .product-details-wrapper .summary .woocommerce-product-rating {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 0 13px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid #edf0f4 !important;
}

body.amazdealz-child-active.single-product .product-details-wrapper .summary p.price,
body.amazdealz-child-active.single-product .product-details-wrapper .summary > .price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 9px 0 14px !important;
    color: #d92c24 !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
}
body.amazdealz-child-active.single-product .product-details-wrapper .summary .price del {
    color: #98a2ae !important;
    font-size: 15px !important;
    font-weight: 650 !important;
}
body.amazdealz-child-active.single-product .product-details-wrapper .summary .price ins {
    text-decoration: none !important;
}

/* Main add to cart remains native WooCommerce form; only polish controls. */
body.amazdealz-child-active.single-product .product-details-wrapper .summary form.cart {
    margin-top: 18px !important;
    padding-top: 17px !important;
    border-top: 1px solid #edf0f4 !important;
}
body.amazdealz-child-active.single-product .product-details-wrapper .summary form.cart:not(.variations_form) {
    display: flex !important;
    align-items: stretch !important;
    gap: 9px !important;
    flex-wrap: wrap !important;
}
body.amazdealz-child-active.single-product .product-details-wrapper .summary .quantity input.qty {
    min-height: 49px !important;
    border: 1px solid #d8e0e8 !important;
    border-radius: 9px !important;
    background: #fff !important;
    font-weight: 850 !important;
}
body.amazdealz-child-active.single-product .product-details-wrapper .summary .single_add_to_cart_button {
    min-height: 49px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: var(--az-gold) !important;
    color: #071b31 !important;
    box-shadow: 0 8px 18px rgba(245,160,0,.20) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}
body.amazdealz-child-active.single-product .product-details-wrapper .summary .single_add_to_cart_button:hover {
    background: var(--az-gold-dark) !important;
    color: #fff !important;
}

/* Keep metadata inside native summary flow. */
body.amazdealz-child-active.single-product .product_meta {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 17px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #edf0f4 !important;
    box-sizing: border-box !important;
    color: #7c8997 !important;
    font-size: 11px !important;
    line-height: 1.75 !important;
}

/* Product tabs/details: natural flow below the product wrapper. */
body.amazdealz-child-active.single-product .woocommerce-tabs.wc-tabs-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding: 8px 24px 38px !important;
    box-sizing: border-box !important;
}
body.amazdealz-child-active.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 7px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    overflow-x: auto !important;
    border: 0 !important;
}
body.amazdealz-child-active.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
body.amazdealz-child-active.single-product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 10px 15px !important;
    border-radius: 9px !important;
    background: #edf2f6 !important;
    color: #536579 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}
body.amazdealz-child-active.single-product .woocommerce-tabs ul.tabs li.active a {
    background: var(--az-navy) !important;
    color: #fff !important;
}
body.amazdealz-child-active.single-product .woocommerce-tabs .panel {
    margin: 0 !important;
    padding: 25px !important;
    border: 1px solid #e0e6ed !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 8px 25px rgba(7,27,49,.045) !important;
    color: #536579 !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
}

/* Related / upsells: style the EXISTING Shoptimizer section, never reposition it. */
body.amazdealz-child-active.single-product .related-wrapper {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 44px 0 56px !important;
    background: #f0f4f8 !important;
    border-top: 1px solid #e0e6ed !important;
}
body.amazdealz-child-active.single-product .related-wrapper .related.products,
body.amazdealz-child-active.single-product .related-wrapper .upsells.products {
    display: block !important;
    width: 100% !important;
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}
body.amazdealz-child-active.single-product .related-wrapper .related.products + .upsells.products,
body.amazdealz-child-active.single-product .related-wrapper .upsells.products + .related.products {
    margin-top: 38px !important;
}
body.amazdealz-child-active.single-product .related-wrapper section > h2 {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--az-navy) !important;
    font-size: clamp(25px,2.7vw,31px) !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    letter-spacing: -.025em !important;
}
body.amazdealz-child-active.single-product .related-wrapper section > h2:after {
    display: block;
    width: 50px;
    height: 4px;
    margin-top: 9px;
    border-radius: 999px;
    background: var(--az-gold);
    content: "";
}
body.amazdealz-child-active.single-product .related-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 11px 11px 13px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(7,27,49,.05) !important;
    overflow: hidden !important;
}
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product:before {
    display: none !important;
}
body.amazdealz-child-active.single-product .related-wrapper .woocommerce-image__wrapper {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
}
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    object-fit: contain !important;
    transform: none !important;
}
body.amazdealz-child-active.single-product .related-wrapper .woocommerce-card__header {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding: 11px 1px 0 !important;
}
body.amazdealz-child-active.single-product .related-wrapper .woocommerce-loop-product__title,
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product h2 {
    display: -webkit-box !important;
    min-height: 41px !important;
    margin: 0 0 6px !important;
    overflow: hidden !important;
    color: #142d46 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 850 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product .price {
    margin: 4px 0 9px !important;
    color: #d92c24 !important;
    font-size: 17px !important;
    font-weight: 950 !important;
}
/* Variable product controls make related cards huge; product link/select-options remains available. */
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product form.cart,
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product form.variations_form {
    display: none !important;
}
/* Parent theme hides loop CTA until hover on desktop; make it stable here. */
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product .button,
body.amazdealz-child-active.single-product .related-wrapper ul.products li.product .added_to_cart {
    display: flex !important;
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: auto 0 0 !important;
    padding: 0 10px !important;
    opacity: 1 !important;
    border-radius: 8px !important;
    background: var(--az-gold) !important;
    color: #071b31 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    transform: none !important;
}

/* Account icons: gold and visible. */
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a:before {
    background: var(--az-gold) !important;
    background-color: var(--az-gold) !important;
    color: var(--az-gold) !important;
    opacity: 1 !important;
}
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a svg,
body.amazdealz-child-active.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a i {
    color: var(--az-gold) !important;
    fill: var(--az-gold) !important;
    stroke: var(--az-gold) !important;
    opacity: 1 !important;
}

@media (max-width: 1100px) and (min-width: 993px) {
    body.amazdealz-child-active.single-product .product-details-wrapper > .woocommerce-product-gallery,
    body.amazdealz-child-active.single-product .product-details-wrapper > .images { width: 50% !important; max-width: 50% !important; }
    body.amazdealz-child-active.single-product .product-details-wrapper > .summary,
    body.amazdealz-child-active.single-product .product-details-wrapper > .summary.entry-summary { width: 46% !important; max-width: 46% !important; padding: 21px !important; }
    body.amazdealz-child-active.single-product .related-wrapper ul.products { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

@media (max-width: 992px) {
    body.amazdealz-child-active.single-product .product-details-wrapper {
        width: calc(100% - 24px) !important;
        padding: 18px 0 30px !important;
        overflow: visible !important;
    }
    body.amazdealz-child-active.single-product .product-details-wrapper > .woocommerce-product-gallery,
    body.amazdealz-child-active.single-product .product-details-wrapper > .images,
    body.amazdealz-child-active.single-product .product-details-wrapper > .summary,
    body.amazdealz-child-active.single-product .product-details-wrapper > .summary.entry-summary {
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.amazdealz-child-active.single-product .product-details-wrapper > .woocommerce-product-gallery,
    body.amazdealz-child-active.single-product .product-details-wrapper > .images { margin-bottom: 13px !important; padding: 10px !important; }
    body.amazdealz-child-active.single-product .product-details-wrapper > .summary,
    body.amazdealz-child-active.single-product .product-details-wrapper > .summary.entry-summary { padding: 18px 15px !important; }
    body.amazdealz-child-active.single-product .product-details-wrapper .summary h1.product_title,
    body.amazdealz-child-active.single-product .product-details-wrapper .summary h1.entry-title { font-size: 26px !important; }
    body.amazdealz-child-active.single-product .woocommerce-tabs.wc-tabs-wrapper { padding-left: 12px !important; padding-right: 12px !important; }
    body.amazdealz-child-active.single-product .related-wrapper { padding: 34px 0 42px !important; }
    body.amazdealz-child-active.single-product .related-wrapper .related.products,
    body.amazdealz-child-active.single-product .related-wrapper .upsells.products { padding-left: 12px !important; padding-right: 12px !important; }
    body.amazdealz-child-active.single-product .related-wrapper ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; }
    body.amazdealz-child-active.single-product .related-wrapper ul.products li.product { padding: 8px 8px 10px !important; border-radius: 12px !important; }
    body.amazdealz-child-active.single-product .related-wrapper .woocommerce-loop-product__title,
    body.amazdealz-child-active.single-product .related-wrapper ul.products li.product h2 { min-height: 38px !important; font-size: 11.5px !important; }
    body.amazdealz-child-active.single-product .related-wrapper ul.products li.product .price { font-size: 15.5px !important; }
}


/* =========================================================
   V2.9 — Gold Accent Match
   Color-only patch: match primary buttons to the top gold bar.
   No layout or functionality changes.
   ========================================================= */
:root {
    --az-gold: #DC9814 !important;
    --az-gold-dark: #B97B0C !important;
}

/* Primary Amazdealz CTAs */
body.amazdealz-child-active .az-btn-primary,
body.amazdealz-child-active .button,
body.amazdealz-child-active button.button,
body.amazdealz-child-active input.button,
body.amazdealz-child-active .woocommerce a.button,
body.amazdealz-child-active .woocommerce button.button,
body.amazdealz-child-active .woocommerce input.button,
body.amazdealz-child-active .single_add_to_cart_button,
body.amazdealz-child-active #place_order,
body.amazdealz-child-active .checkout-button,
body.amazdealz-child-active .wc-forward,
body.amazdealz-child-active .shoptimizer-sticky-add-to-cart a.button {
    background-color: #DC9814 !important;
    border-color: #DC9814 !important;
}

body.amazdealz-child-active .az-btn-primary:hover,
body.amazdealz-child-active .button:hover,
body.amazdealz-child-active button.button:hover,
body.amazdealz-child-active input.button:hover,
body.amazdealz-child-active .woocommerce a.button:hover,
body.amazdealz-child-active .woocommerce button.button:hover,
body.amazdealz-child-active .woocommerce input.button:hover,
body.amazdealz-child-active .single_add_to_cart_button:hover,
body.amazdealz-child-active #place_order:hover,
body.amazdealz-child-active .checkout-button:hover,
body.amazdealz-child-active .wc-forward:hover,
body.amazdealz-child-active .shoptimizer-sticky-add-to-cart a.button:hover {
    background-color: #B97B0C !important;
    border-color: #B97B0C !important;
}

/* Common gold accent elements */
body.amazdealz-child-active .cart-contents .count,
body.amazdealz-child-active .related-wrapper .onsale,
body.amazdealz-child-active .related-wrapper .product-label {
    background-color: #DC9814 !important;
}


/* =========================================================
   V3.0 — Wider Desktop Search
   Header-only visual patch. No search/WooCommerce logic changed.
   ========================================================= */
@media (min-width: 1025px) {
    body.amazdealz-child-active .site-header .main-header {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }

    body.amazdealz-child-active .site-header .site-search {
        display: block !important;
        flex: 1 1 700px !important;
        width: auto !important;
        min-width: 430px !important;
        max-width: 760px !important;
        margin: 0 auto !important;
    }

    body.amazdealz-child-active .site-header .site-search form,
    body.amazdealz-child-active .site-header .site-search .woocommerce-product-search,
    body.amazdealz-child-active .site-header .site-search form[role="search"] {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    body.amazdealz-child-active .site-header .site-search input[type="search"],
    body.amazdealz-child-active .site-header .site-search input.search-field {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 50px !important;
    }
}

/* Tablet: still broad, but never force header overflow. */
@media (min-width: 769px) and (max-width: 1024px) {
    body.amazdealz-child-active .site-header .site-search {
        flex: 1 1 520px !important;
        width: auto !important;
        min-width: 300px !important;
        max-width: none !important;
    }

    body.amazdealz-child-active .site-header .site-search form,
    body.amazdealz-child-active .site-header .site-search input[type="search"],
    body.amazdealz-child-active .site-header .site-search input.search-field {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Mobile search occupies full available header row. */
@media (max-width: 768px) {
    body.amazdealz-child-active .site-header .site-search {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 8px !important;
    }

    body.amazdealz-child-active .site-header .site-search form,
    body.amazdealz-child-active .site-header .site-search input[type="search"],
    body.amazdealz-child-active .site-header .site-search input.search-field {
        width: 100% !important;
        max-width: none !important;
    }
}


/* =========================================================
   V3.1 — Affiliate Registration Full-Width + Hero Contrast
   Visual-only isolation for /affiliate-register/.
   Affiliate registration, approval and tracking logic untouched.
   ========================================================= */

/* Remove the generic boxed information-page treatment on this page only. */
body.amazdealz-child-active.az-affiliate-register-page,
body.amazdealz-child-active.az-affiliate-register-page #page {
    background: #fff !important;
}

body.amazdealz-child-active.az-affiliate-register-page #content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 58px !important;
    background: #fff !important;
}

body.amazdealz-child-active.az-affiliate-register-page #content > .col-full,
body.amazdealz-child-active.az-affiliate-register-page #primary,
body.amazdealz-child-active.az-affiliate-register-page .content-area,
body.amazdealz-child-active.az-affiliate-register-page .site-main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
}

/* The WordPress page wrapper should not create a white "card" around the landing page. */
body.amazdealz-child-active.az-affiliate-register-page article.type-page,
body.amazdealz-child-active.az-affiliate-register-page .hentry.type-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Keep the normal page title tidy, but let the actual affiliate landing content span full width. */
body.amazdealz-child-active.az-affiliate-register-page article.type-page > .entry-header {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 28px 0 20px !important;
    border: 0 !important;
}

body.amazdealz-child-active.az-affiliate-register-page article.type-page > .entry-header .entry-title,
body.amazdealz-child-active.az-affiliate-register-page .page-title {
    margin: 0 !important;
    color: var(--az-navy) !important;
    font-size: clamp(30px, 4vw, 43px) !important;
    line-height: 1.08 !important;
    font-weight: 950 !important;
    letter-spacing: -.035em !important;
}

body.amazdealz-child-active.az-affiliate-register-page .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #536579 !important;
}

/* Full-width common landing-page wrappers, while preserving their internal content width. */
body.amazdealz-child-active.az-affiliate-register-page .entry-content > section,
body.amazdealz-child-active.az-affiliate-register-page .entry-content > [class*="affiliate"],
body.amazdealz-child-active.az-affiliate-register-page .entry-content > [class*="aff-"] {
    max-width: none;
}

/* Fix dark/navy hero or banner headings being overridden by the generic page heading styles. */
body.amazdealz-child-active.az-affiliate-register-page
.entry-content :is([class*="hero"], [class*="banner"], [class*="masthead"], [class*="intro"]) h1,
body.amazdealz-child-active.az-affiliate-register-page
.entry-content :is([class*="hero"], [class*="banner"], [class*="masthead"], [class*="intro"]) h2,
body.amazdealz-child-active.az-affiliate-register-page
.entry-content :is([class*="hero"], [class*="banner"], [class*="masthead"], [class*="intro"]) h3 {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* Fallback for custom shortcode markup where the first section/div is the dark affiliate hero. */
body.amazdealz-child-active.az-affiliate-register-page .entry-content > section:first-of-type h1,
body.amazdealz-child-active.az-affiliate-register-page .entry-content > section:first-of-type h2,
body.amazdealz-child-active.az-affiliate-register-page .entry-content > section:first-of-type h3,
body.amazdealz-child-active.az-affiliate-register-page .entry-content > div:first-child h1,
body.amazdealz-child-active.az-affiliate-register-page .entry-content > div:first-child h2,
body.amazdealz-child-active.az-affiliate-register-page .entry-content > div:first-child h3 {
    color: #ffffff !important;
}

/* Dark hero eyebrow/accent remains Amazdealz gold. */
body.amazdealz-child-active.az-affiliate-register-page
.entry-content :is([class*="hero"], [class*="banner"], [class*="masthead"], [class*="intro"])
:is(.eyebrow, [class*="eyebrow"], [class*="kicker"], [class*="label"]) {
    color: #DC9814 !important;
}

/* Prevent generic inner-page link styles from making hero CTAs blue. */
body.amazdealz-child-active.az-affiliate-register-page
.entry-content :is([class*="hero"], [class*="banner"], [class*="masthead"], [class*="intro"]) a.button,
body.amazdealz-child-active.az-affiliate-register-page
.entry-content :is([class*="hero"], [class*="banner"], [class*="masthead"], [class*="intro"]) button {
    background: #DC9814 !important;
    border-color: #DC9814 !important;
    color: #071b31 !important;
}

/* Form/apply section: professional but still plugin-native. */
body.amazdealz-child-active.az-affiliate-register-page form[class*="affiliate"],
body.amazdealz-child-active.az-affiliate-register-page [class*="affiliate"] form:not(.cart) {
    width: min(900px, calc(100% - 40px)) !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: clamp(20px, 3vw, 32px) !important;
    border: 1px solid var(--az-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 14px 38px rgba(7,27,49,.07) !important;
}

body.amazdealz-child-active.az-affiliate-register-page form[class*="affiliate"] input[type="submit"],
body.amazdealz-child-active.az-affiliate-register-page [class*="affiliate"] form:not(.cart) button {
    min-height: 48px !important;
    padding: 0 22px !important;
    background: #DC9814 !important;
    border-color: #DC9814 !important;
    color: #071b31 !important;
    font-weight: 900 !important;
}

/* Mobile: true edge-to-edge landing sections, sensible text/form gutters. */
@media (max-width: 768px) {
    body.amazdealz-child-active.az-affiliate-register-page #content {
        padding-bottom: 38px !important;
    }

    body.amazdealz-child-active.az-affiliate-register-page article.type-page > .entry-header {
        width: calc(100% - 28px) !important;
        padding-top: 22px !important;
        padding-bottom: 16px !important;
    }

    body.amazdealz-child-active.az-affiliate-register-page article.type-page > .entry-header .entry-title,
    body.amazdealz-child-active.az-affiliate-register-page .page-title {
        font-size: 31px !important;
    }

    body.amazdealz-child-active.az-affiliate-register-page form[class*="affiliate"],
    body.amazdealz-child-active.az-affiliate-register-page [class*="affiliate"] form:not(.cart) {
        width: calc(100% - 24px) !important;
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
}
