:root{--agc-green:#11872d;--agc-dark:#112334;--agc-red:#e31b23;--agc-line:#e4e7e5}
body.agc-home .whb-header{display:none!important}
body.agc-home .main-page-wrapper{padding-top:0!important;margin-top:0!important}
body.agc-home .site-content{margin-bottom:0!important}
.agc-home-shell{font-family:Arial,Helvetica,sans-serif;color:#121212;background:#fff}
.agc-wrap{width:min(1420px,calc(100% - 64px));margin:0 auto}
.agc-topline{background:var(--agc-dark);color:#fff;font-size:13px}
.agc-topline-inner{height:28px;display:flex;align-items:center;justify-content:space-between}
.agc-head-main{min-height:92px;display:grid;grid-template-columns:280px minmax(390px,1fr) 455px;gap:22px;align-items:center}
.agc-logo{text-decoration:none;color:#111;display:flex;flex-direction:column;line-height:1}
.agc-logo strong{font-size:30px;letter-spacing:-1.4px}.agc-logo strong span{color:var(--agc-green)}.agc-logo small{font-size:17px}.agc-logo em{font-size:13px;font-style:normal;color:#4a4a4a;margin-top:6px}
.agc-head-search{display:flex;border:1px solid #d7d7d7;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.04)}
.agc-head-search input{flex:1;border:0;padding:15px 17px;font-size:14px;outline:0;min-width:0}.agc-head-search button{width:54px;border:0;background:var(--agc-green);color:#fff;font-size:23px}
.agc-head-actions{display:grid;grid-template-columns:1.25fr .8fr 1fr;gap:10px}.agc-head-actions a{text-decoration:none;color:#111;display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:7px;align-items:center;padding-left:10px;border-left:1px solid #eee;min-width:0}.agc-head-actions a:first-child{border-left:0}.agc-head-actions span{font-size:22px;grid-row:1/3}.agc-head-actions b{font-size:13px;white-space:nowrap;line-height:1.2}.agc-head-actions small{font-size:13px;color:#666;white-space:nowrap;line-height:1.2}
.agc-navline{border-top:1px solid #eee;border-bottom:1px solid #ddd;background:#fff}.agc-nav-inner{height:46px;display:flex;align-items:center;gap:24px;white-space:nowrap}.agc-nav-inner a{text-decoration:none;color:#111;font-size:13px;font-weight:600}.agc-shop-cat{background:var(--agc-green);color:#fff!important;padding:11px 18px;border-radius:5px}.agc-nav-spacer{flex:1}
.agc-hero{background:linear-gradient(90deg,#fff8ee,#f4eadb);border-bottom:1px solid #eee}.agc-hero-grid{display:grid;grid-template-columns:1.02fr 1.12fr .52fr;gap:26px;align-items:center;min-height:315px}.agc-hero-copy h1{font-size:46px!important;line-height:1.02;margin:0 0 12px;font-weight:800;letter-spacing:-1.5px}.agc-hero-copy h1 span{color:var(--agc-green);font-size:46px!important;line-height:1.02!important;font-weight:800!important;letter-spacing:-1.5px!important}.agc-hero-copy>p{font-size:17px;margin:0 0 18px}.agc-search{display:flex;background:#fff;border:1px solid #d7d7d7;border-radius:6px;overflow:hidden}.agc-search input{flex:1;border:0;padding:14px 16px;font-size:13px;outline:0;min-width:0}.agc-search button,.agc-primary-btn{background:var(--agc-green);color:#fff;border:0;font-weight:700;padding:0 30px;text-decoration:none}
.agc-popular{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:13px;font-size:13px}.agc-popular a{background:#fff;border:1px solid #ddd;border-radius:16px;padding:5px 9px;color:#111;text-decoration:none}
.agc-hero-products{height:300px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.agc-hero-products img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0}
.agc-benefits{background:#fff;border:1px solid #e5e5e5;border-radius:13px;padding:18px 20px;box-shadow:0 5px 18px rgba(0,0,0,.06)}.agc-benefits>div,.agc-trust-row>div,.agc-how-row>div{display:flex;gap:12px;align-items:flex-start;margin:13px 0}.agc-benefits b,.agc-trust-row b{color:var(--agc-green);font-size:22px}.agc-benefits span,.agc-trust-row span,.agc-how-row span{display:flex;flex-direction:column}.agc-benefits strong{font-size:13px}.agc-benefits small,.agc-trust-row small,.agc-how-row small{color:#666;font-size:13px;margin-top:3px}
.agc-section{padding:14px 0}.agc-section-head{display:flex;align-items:baseline;gap:16px;margin-bottom:10px}.agc-section-head h2{font-size:20px;margin:0}.agc-section-head h2 span{color:var(--agc-red)}.agc-section-head p{font-size:13px;color:#666;margin:0}.agc-section-head>a{margin-left:auto;font-size:13px;color:var(--agc-green);font-weight:700;text-decoration:none}
.agc-card-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.agc-deal-card{position:relative;border:1px solid var(--agc-line);border-radius:8px;padding:30px 11px 11px;display:grid;grid-template-columns:105px 1fr;gap:10px;min-height:150px;background:#fff}.agc-badge{position:absolute;left:8px;top:7px;background:#ff9d00;color:#fff;font-weight:800;font-size:13px;padding:3px 8px;border-radius:15px}.agc-deal-card:first-child .agc-badge{background:var(--agc-green)}.agc-deal-card:nth-child(3) .agc-badge{background:#ee2029}
.agc-product-photo{height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}.agc-product-photo img{max-width:100%;max-height:100%;object-fit:contain}
.agc-deal-info h3{font-size:13px;margin:0 0 3px}.agc-deal-info small{font-size:13px;color:#555}.agc-store{font-size:13px;font-weight:800;margin:6px 0}.agc-price{color:#e11820;font-size:15px}.agc-deal-info del{font-size:13px;color:#777}.agc-deal-info em{font-size:13px;color:#19892b;font-style:normal}
.agc-categories{display:grid;grid-template-columns:repeat(15,1fr);gap:11px}.agc-cat{text-align:center;color:#111;text-decoration:none}.agc-cat span{width:58px;height:58px;border-radius:50%;border:1px solid #ddd;background:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 6px;overflow:hidden;font-size:25px}.agc-cat span img{width:100%;height:100%;object-fit:cover}.agc-cat b{font-size:13px}.agc-flag span{font-size:25px}
.agc-compare-grid{display:grid;grid-template-columns:1.45fr .66fr .9fr;gap:12px}.agc-price-compare,.agc-basket-box,.agc-store-deals{border:1px solid var(--agc-line);border-radius:8px;background:#fff;padding:12px}.agc-section-head.compact h2{font-size:17px}.agc-compare-row{display:grid;grid-template-columns:1.5fr repeat(4,.75fr) .82fr;border-top:1px solid var(--agc-line)}.agc-mini-product,.agc-store-price,.agc-best{padding:9px;border-right:1px solid var(--agc-line)}.agc-mini-product{display:flex;gap:8px;align-items:center}.agc-mini-product>span{width:50px;height:54px;background:#fff;border-radius:5px;display:flex;align-items:center;justify-content:center;overflow:hidden}.agc-mini-product>span img{width:100%;height:100%;object-fit:contain}.agc-mini-product div{display:flex;flex-direction:column}.agc-mini-product small{font-size:13px}.agc-mini-product strong{font-size:13px}.agc-store-price,.agc-best{display:flex;flex-direction:column;justify-content:center;text-align:center}.agc-store-price b{font-size:13px}.agc-store-price strong{font-size:13px;margin:3px 0}.agc-store-price em{font-size:13px;color:#13872b;font-style:normal}.agc-best{border-right:0;color:var(--agc-green)}.agc-best strong{font-size:18px}.agc-outline-btn{display:block;width:max-content;margin:8px auto 0;border:1px solid #72bd7e;border-radius:16px;padding:5px 16px;color:var(--agc-green);font-size:13px;text-decoration:none}
.agc-basket-box h2,.agc-store-deals h2{font-size:17px;margin:0 0 5px}.agc-basket-box p,.agc-store-deals p{font-size:13px;color:#666}.agc-basket-box ul{list-style:none;padding:0;margin:13px 0;font-size:13px;line-height:1.85}.agc-basket-art{text-align:right;font-size:38px}.agc-primary-btn{display:block;padding:9px 10px;text-align:center;border-radius:4px;font-size:13px}.agc-basket-box>small{display:block;text-align:center;margin-top:5px;font-size:13px}
.agc-store-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.agc-store-tiles a{border:1px solid var(--agc-line);border-radius:6px;padding:9px;text-decoration:none;color:#111;display:flex;flex-direction:column;text-align:center;gap:7px}.agc-store-tiles strong{font-size:13px}.agc-store-tiles span{background:#f4f5f4;padding:10px 2px;font-size:30px}.agc-store-tiles small{font-size:13px}.agc-store-tiles small em{color:#e31b23;font-style:normal}.agc-store-tiles b{background:var(--agc-green);color:#fff;padding:7px;border-radius:3px;font-size:13px}
.agc-how{padding:4px 0 12px}.agc-how h2{font-size:17px}.agc-how-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.agc-how-row>div{background:#fafafa;border:1px solid #eee;border-radius:6px;padding:8px;margin:0}.agc-how-row>div>b{width:28px;height:28px;border-radius:50%;background:var(--agc-green);color:#fff;display:flex;align-items:center;justify-content:center}
.agc-trust{background:#f7faf7;border-top:1px solid #eee;padding:10px 0}.agc-trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.agc-trust-row>div{margin:0;padding:3px 10px}.agc-trust-row strong{font-size:13px}
@media(max-width:1200px){.agc-head-main{grid-template-columns:235px minmax(300px,1fr) 390px}.agc-nav-inner{gap:16px}.agc-categories{grid-template-columns:repeat(8,1fr)}.agc-card-row{grid-template-columns:repeat(3,1fr)}.agc-compare-grid{grid-template-columns:1fr}.agc-hero-grid{grid-template-columns:1fr 1fr}.agc-benefits{display:none}}
@media(max-width:767px){.agc-wrap{width:calc(100% - 24px)}.agc-topline{display:none}.agc-head-main{height:auto;padding:10px 0;grid-template-columns:1fr}.agc-head-actions{display:none}.agc-navline{overflow:auto}.agc-nav-inner{width:max-content}.agc-hero-grid{grid-template-columns:1fr;min-height:auto;padding:18px 0}.agc-hero-copy h1{font-size:34px!important}.agc-hero-copy h1 span{font-size:34px!important}.agc-hero-products{height:205px}.agc-card-row{grid-template-columns:1fr 1fr}.agc-categories{grid-template-columns:repeat(4,1fr)}.agc-how-row,.agc-trust-row{grid-template-columns:1fr 1fr}.agc-compare-row{grid-template-columns:1.4fr 1fr 1fr}.agc-store-price:nth-of-type(n+3){display:none}}

/* GLOBAL TYPOGRAPHY RULE — HARD MINIMUM 13PX */
body, body input, body select, body textarea, body button, body label, body small, body em, body a, body span, body p, body li, body td, body th { font-size: 13px; }
body small { font-size: 13px !important; }
.agc-home-shell, .agc-home-shell input, .agc-home-shell select, .agc-home-shell textarea, .agc-home-shell button, .agc-home-shell label, .agc-home-shell small, .agc-home-shell em, .agc-home-shell a, .agc-home-shell span, .agc-home-shell p, .agc-home-shell li, .agc-home-shell td, .agc-home-shell th { font-size: 13px; }

/* v1.0.4 — typography and header regression fixes */
.agc-home-shell *{box-sizing:border-box}
.agc-hero-copy h1,
.agc-hero-copy h1 span{font-size:46px!important}
.agc-head-actions b,
.agc-head-actions small{min-font-size:13px}
@media(max-width:767px){
  .agc-hero-copy h1,
  .agc-hero-copy h1 span{font-size:34px!important}
}

/* v1.0.5 — top category nav font size +2px */
.agc-nav-inner > a:not(:nth-last-child(-n+3)){
  font-size:15px!important;
  font-weight:700!important;
}
.agc-nav-inner > a:nth-last-child(-n+3){
  font-size:13px!important;
}

/* =========================================================
   v1.0.6 DESIGN POLISH
   Hard rules preserved:
   - All text >= 13px
   - Top category nav = 15px
   ========================================================= */

/* Hide default WoodMart footer on homepage; custom footer is used instead. */
body.agc-home .footer-container,
body.agc-home footer.footer-container{display:none!important}

/* Overall rhythm */
.agc-section{padding:18px 0}
.agc-section + .agc-section{border-top:1px solid #f0f1f0}
.agc-section-head{margin-bottom:14px}
.agc-section-head h2{font-size:22px}
.agc-section-head p{font-size:13px}

/* Header refinements */
.agc-custom-header{background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.05);position:relative;z-index:20}
.agc-head-main{padding:2px 0}
.agc-head-search{height:48px}
.agc-head-search input{font-size:14px}
.agc-head-actions a{transition:opacity .2s ease}
.agc-head-actions a:hover{opacity:.72}
.agc-navline{box-shadow:0 1px 2px rgba(0,0,0,.03)}
.agc-nav-inner > a:not(:nth-last-child(-n+3)){font-size:15px!important;font-weight:700!important}
.agc-nav-inner > a:nth-last-child(-n+3){font-size:13px!important}
.agc-shop-cat{padding:12px 18px}

/* Hero */
.agc-hero-grid{min-height:330px}
.agc-hero-copy h1,
.agc-hero-copy h1 span{font-size:46px!important;line-height:1.04!important}
.agc-hero-copy>p{font-size:17px}
.agc-search{height:48px}
.agc-search input{font-size:14px}
.agc-benefits{border-radius:14px}
.agc-benefits strong{font-size:14px}
.agc-benefits small{font-size:13px}

/* Deal cards */
.agc-card-row{gap:14px}
.agc-deal-card{
  border-radius:12px;
  padding:34px 14px 14px;
  min-height:172px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.agc-deal-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.07);border-color:#cfd8d1}
.agc-badge{font-size:13px;padding:4px 9px}
.agc-product-photo{height:120px}
.agc-deal-info h3{font-size:14px;line-height:1.3}
.agc-deal-info small{font-size:13px}
.agc-store{font-size:13px}
.agc-price{font-size:18px}
.agc-deal-info del{font-size:13px}
.agc-deal-info em{font-size:13px}

/* Category cards */
.agc-categories{gap:14px}
.agc-cat span{width:64px;height:64px;transition:transform .18s ease,box-shadow .18s ease}
.agc-cat:hover span{transform:translateY(-2px);box-shadow:0 5px 14px rgba(0,0,0,.08)}
.agc-cat b{font-size:13px}

/* Comparison */
.agc-price-compare,.agc-basket-box,.agc-store-deals{border-radius:12px;padding:16px}
.agc-section-head.compact h2{font-size:20px}
.agc-compare-row{border-radius:7px;overflow:hidden}
.agc-mini-product small{font-size:13px}
.agc-mini-product strong{font-size:14px}
.agc-store-price b{font-size:13px}
.agc-store-price strong{font-size:16px}
.agc-store-price em{font-size:13px}
.agc-best{background:#f0faf3}
.agc-best small{font-size:13px;font-weight:800;letter-spacing:.2px}
.agc-best strong{font-size:22px}
.agc-best b{font-size:13px}
.agc-best em{font-size:13px;font-style:normal;color:#5a6f60;margin-top:3px}
.agc-outline-btn{font-size:13px;padding:7px 18px}

/* Basket CTA */
.agc-basket-box{position:relative;background:linear-gradient(180deg,#fff 0%,#f8fcf9 100%)}
.agc-basket-badge{
  display:inline-block;
  background:#e8f6ec;
  color:var(--agc-green);
  border:1px solid #cde8d4;
  border-radius:20px;
  padding:5px 9px;
  font-size:13px;
  font-weight:800;
  margin-bottom:8px
}
.agc-basket-box h2{font-size:20px}
.agc-basket-box p{font-size:13px}
.agc-basket-box ul{font-size:13px}
.agc-primary-btn{font-size:14px;padding:11px 12px;box-shadow:0 4px 10px rgba(17,135,45,.18)}
.agc-basket-box>small{font-size:13px}
.agc-basket-art{font-size:42px}

/* Store deals */
.agc-store-deals p{font-size:13px}
.agc-store-tiles{gap:10px}
.agc-store-tiles a{border-radius:10px;padding:12px;transition:transform .18s ease,box-shadow .18s ease}
.agc-store-tiles a:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(0,0,0,.06)}
.agc-store-logo{font-size:15px!important}
.agc-store-logo.hmart{color:#e11922}
.agc-store-logo.weee{color:#176ad6}
.agc-store-logo.yamibuy{color:#d4382f}
.agc-store-tiles small{font-size:13px}
.agc-store-tiles b{font-size:13px;padding:9px}

/* How it works */
.agc-how{padding:18px 0}
.agc-how-row{gap:12px}
.agc-how-row>div{padding:14px;border-radius:10px;background:#fff}
.agc-how-row>div>b{width:34px;height:34px;font-size:15px}
.agc-how-row strong{font-size:14px}
.agc-how-row small{font-size:13px}

/* Trust */
.agc-trust{padding:14px 0}
.agc-trust-row strong{font-size:14px}
.agc-trust-row small{font-size:13px}

/* Homepage custom footer */
.agc-custom-footer{background:#102131;color:#fff;margin-top:0}
.agc-footer-grid{display:grid;grid-template-columns:1.8fr repeat(3,1fr);gap:36px;padding:34px 0 30px}
.agc-custom-footer .agc-logo{color:#fff}
.agc-custom-footer .agc-logo strong{font-size:27px}
.agc-custom-footer .agc-logo strong span{color:#46b85d}
.agc-footer-brand p{color:#cbd4da;font-size:13px;line-height:1.6;max-width:390px;margin:12px 0 0}
.agc-custom-footer h3{color:#fff;font-size:15px;margin:0 0 12px}
.agc-custom-footer a:not(.agc-logo){display:block;color:#d6dce0;font-size:13px;text-decoration:none;margin:8px 0}
.agc-custom-footer a:hover{color:#fff}
.agc-footer-bottom{border-top:1px solid rgba(255,255,255,.12)}
.agc-footer-bottom .agc-wrap{min-height:48px;display:flex;align-items:center;justify-content:space-between;color:#bdc8cf}
.agc-footer-bottom span{font-size:13px}

@media(max-width:1200px){
  .agc-footer-grid{grid-template-columns:1.5fr repeat(3,1fr);gap:22px}
}
@media(max-width:767px){
  .agc-card-row{gap:10px}
  .agc-footer-grid{grid-template-columns:1fr 1fr;gap:24px;padding:28px 0}
  .agc-footer-brand{grid-column:1/-1}
  .agc-footer-bottom .agc-wrap{align-items:flex-start;flex-direction:column;justify-content:center;gap:4px;padding:10px 0}
  .agc-hero-copy h1,.agc-hero-copy h1 span{font-size:34px!important}
}

/* v1.0.7 editable homepage settings */
.agc-logo-text{font-size:30px!important;font-weight:800;letter-spacing:-1.4px}
.agc-custom-footer .agc-logo-text{font-size:27px!important;color:#fff}
