body{background:var(--adex-body-bg);font-family:Open Sans,Arial,sans-serif}
.adex-container{max-width:var(--adex-container);margin:0 auto;padding:0 16px;box-sizing:border-box}
.adex-gb-header{background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.08);position:relative;z-index:9999}
.adex-gb-topbar{background:var(--primary-color);color:#fff;text-align:center;padding:7px 12px;font-size:13px}
.adex-gb-header-main{display:flex;align-items:center;gap:18px;padding:14px 16px}
.adex-gb-logo{display:flex;align-items:center;gap:10px;color:var(--title-color);text-decoration:none;font-size:22px}
.adex-gb-logo img{width:48px;height:48px;object-fit:contain}
.adex-gb-search{flex:1;display:flex;position:relative;border:1px solid #ddd;border-radius:5px;overflow:hidden;background:#fff}
.adex-gb-search input{flex:1;border:0;padding:13px 50px 13px 14px;outline:0}
.adex-gb-search button{position:absolute;right:0;top:0;bottom:0;width:48px;border:0;background:var(--primary-color);color:#fff;display:grid;place-items:center}
.adex-gb-icons{display:flex;gap:10px;align-items:center}
.adex-gb-icons a,.adex-gb-icons button{width:42px;height:42px;border:1px solid #e5e7eb;border-radius:50%;background:#fff;color:var(--title-color);display:grid;place-items:center;cursor:pointer}
.adex-gb-header svg{width:18px;height:18px;fill:currentColor}
.adex-gb-menu{background:var(--secondary-color)}
.adex-gb-menu .adex-container{display:flex;align-items:center;gap:24px}
.adex-gb-menu a{color:#fff;padding:11px 0;text-decoration:none;display:flex;align-items:center;gap:7px;font-weight:600}
.adex-gb-menu a:hover{color:var(--primary-color)}
.adex-gb-home{padding-top:18px}
.adex-gb-hero{min-height:230px;background:linear-gradient(135deg,var(--primary-color),#ffb66a);border-radius:8px;margin-bottom:20px;color:#fff;display:flex;align-items:center;padding:30px}
.adex-gb-hero h1{font-size:36px;margin:0 0 8px}
.adex-section-head{border-bottom:1px solid #ddd;margin:22px 0 16px}
.adex-section-head h2{font-size:22px;margin:0 0 10px;color:var(--title-color)}
.adex-gb-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}
.adex-gb-category-card{background:#fff;border:1px solid var(--border-color);border-radius:6px;padding:0 0 0 12px;min-height:80px;display:flex;align-items:center;justify-content:space-between;color:var(--title-color);text-decoration:none;overflow:hidden;transition:.2s}
.adex-gb-category-card:hover{box-shadow:3px 3px 8px rgb(0 0 0 / 16%);color:var(--primary-color)}
.adex-gb-category-card img{height:80px;width:80px;object-fit:contain}
.adex-gb-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.adex-gb-product-card,.woocommerce ul.products li.product{background:var(--adex-card-bg)!important;border:1px solid var(--border-color);border-radius:var(--adex-radius);padding:8px!important;box-shadow:none;transition:.25s;overflow:hidden}
.adex-gb-product-card:hover,.woocommerce ul.products li.product:hover{box-shadow:0 4px 18px rgba(0,0,0,.13);transform:translateY(-2px)}
.adex-gb-product-media img,.woocommerce ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:contain;margin:0!important;transition:.25s}
.adex-gb-product-card:hover img,.woocommerce ul.products li.product:hover img{transform:scale(1.03)}
.woocommerce span.onsale{background:var(--primary-color)!important;color:#fff!important;border-radius:0 0 12px 0!important;padding:4px 7px!important;font-size:10px!important;line-height:1.2!important;min-height:auto!important}
.adex-gb-product-content{padding:8px 4px}
.adex-gb-product-content h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.35!important;margin:0 0 8px!important;color:var(--title-color);font-weight:600!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.adex-gb-product-content h3 a{text-decoration:none;color:var(--title-color)}
.adex-gb-price,.woocommerce ul.products li.product .price{font-size:16px!important;color:var(--primary-color)!important;font-weight:700!important;margin-bottom:8px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.adex-gb-product-content .button,.adex-gb-loop-buy-now,.adex-checkout-btn,.adex-track-order button{display:block;background:var(--primary-color)!important;color:#fff!important;border:0!important;border-radius:4px!important;padding:10px 12px!important;font-weight:700!important;text-align:center!important;text-decoration:none!important;line-height:1.2!important;transition:.2s;margin-top:7px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--secondary-color)!important;color:#fff!important}
.adex-gb-buy-btn,.adex-gb-loop-buy-now,.adex-gb-buy-now-single{background:var(--secondary-color)!important}
.adex-gb-single-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.adex-gb-whatsapp{background:#16a34a!important}
.adex-gb-call{background:#111827!important}
.adex-gb-floating-cart{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:99999;background:var(--primary-color);color:#fff;border:0;border-radius:8px 0 0 8px;padding:12px 9px;display:flex;flex-direction:column;align-items:center;gap:4px;box-shadow:0 8px 26px rgba(0,0,0,.22);cursor:pointer}
.adex-cart-count{background:#fff;color:var(--primary-color);border-radius:50%;min-width:24px;height:24px;display:grid;place-items:center;font-weight:800}
.adex-cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;z-index:99997;transition:.2s}
.adex-cart-drawer{position:fixed;top:0;right:-430px;width:410px;max-width:94vw;height:100vh;background:#fff;z-index:99998;box-shadow:-10px 0 32px rgba(0,0,0,.18);transition:.25s;display:flex;flex-direction:column}
body.adex-cart-open .adex-cart-overlay{opacity:1;visibility:visible}
body.adex-cart-open .adex-cart-drawer{right:0}
.adex-cart-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #eee}
.adex-cart-head h3{margin:0;font-size:20px;color:var(--title-color)}
.adex-close-cart{width:34px;height:34px;border:0;border-radius:50%;background:#f4f4f4;font-size:24px;cursor:pointer}
.adex-cart-content{padding:16px;overflow:auto}
.adex-cart-item{display:grid;grid-template-columns:74px 1fr 28px;gap:10px;border-bottom:1px solid #f0f0f0;padding-bottom:12px;margin-bottom:12px}
.adex-cart-thumb img{width:74px;height:74px;object-fit:contain;border:1px solid #eee;border-radius:6px;background:#fff}
.adex-cart-meta strong{display:block;font-size:14px;color:var(--title-color)}
.adex-cart-meta span{font-size:13px;color:var(--primary-color);font-weight:700}
.adex-qty{display:flex;margin-top:8px}
.adex-qty button{width:28px;height:28px;border:1px solid #ddd;background:#f7f7f7;cursor:pointer}
.adex-qty input{width:36px;height:28px;border:1px solid #ddd;border-left:0;border-right:0;text-align:center}
.adex-remove{font-size:22px;color:#ef4444;text-decoration:none}
.adex-cart-total{display:flex;justify-content:space-between;font-size:18px;border-top:1px solid #eee;padding-top:12px;margin-top:10px}
.adex-mini-products{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.adex-mini-products a{font-size:12px;text-decoration:none;color:var(--title-color)}
.adex-mini-products img{width:100%;aspect-ratio:1/1;object-fit:contain;border:1px solid #eee;border-radius:6px;background:#fff}
.woocommerce-checkout form.checkout{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #ddd;border-radius:6px;padding:12px;background:#fff}
.woocommerce-info,.woocommerce-message{border-top-color:var(--primary-color)!important}
.woocommerce-info::before,.woocommerce-message::before{color:var(--primary-color)!important}
.adex-track-order{max-width:620px;margin:30px auto;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.adex-track-order form{display:grid;gap:12px}
.adex-track-order input{padding:13px;border:1px solid #ddd;border-radius:6px}
.adex-error{color:#ef4444;font-weight:700}
.adex-order-result{background:#fff8f1;border:1px solid var(--primary-color);border-radius:8px;padding:14px;margin-top:14px}
.adex-gb-footer{background:var(--secondary-color);color:#fff;margin-top:35px;padding:34px 0}
.adex-gb-footer a{color:#fff}
.adex-gb-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px}
@media(max-width:991px){.adex-gb-header-main{flex-wrap:wrap}.adex-gb-search{order:3;flex-basis:100%}.adex-gb-product-grid{grid-template-columns:repeat(3,1fr)}.adex-gb-category-grid{grid-template-columns:repeat(2,1fr)}.adex-gb-footer-grid{grid-template-columns:1fr}}
@media(max-width:767px){.adex-gb-product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.adex-gb-hero{min-height:180px}.adex-gb-hero h1{font-size:28px}.adex-gb-menu .adex-container{overflow-x:auto;white-space:nowrap}.adex-cart-drawer{width:390px}}


/* ===== AdExparts Woo Theme v1.0.3 clean layout fixes ===== */
body.adex-clean-layout .wp-site-blocks > header,
body.adex-clean-layout .wp-site-blocks > footer,
body.adex-clean-layout .wp-block-template-part,
body.adex-clean-layout .wp-block-post-title,
body.adex-clean-layout .entry-header{
  display:none!important;
}
body.adex-clean-layout .wp-site-blocks,
body.adex-clean-layout main,
body.adex-clean-layout .entry-content{
  margin-top:0!important;
  padding-top:0!important;
}
body.adex-clean-layout .wp-site-blocks > main{
  max-width:none!important;
}
body.adex-clean-layout .wp-block-group,
body.adex-clean-layout .wp-block-post-content{
  max-width:none!important;
}
body.adex-clean-layout .adex-gb-header{
  position:sticky;
  top:32px;
}
body.admin-bar.adex-clean-layout .adex-gb-header{
  top:32px;
}

/* GhorerBazar-like homepage hero */
.adex-gb-hero-v2{
  display:grid;
  grid-template-columns:70% 30%;
  gap:16px;
  margin:18px 0 24px;
}
.adex-gb-hero-left,
.adex-gb-hero-right{
  min-height:285px;
  border-radius:8px;
  overflow:hidden;
  position:relative;
  display:flex;
  align-items:center;
  padding:32px;
  color:#fff!important;
  text-decoration:none!important;
  background:linear-gradient(135deg,var(--primary-color),#ffb566);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.adex-gb-hero-left img,
.adex-gb-hero-right img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.adex-gb-hero-left:before,
.adex-gb-hero-right:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.04));
  z-index:1;
}
.adex-gb-hero-left div,
.adex-gb-hero-right strong{
  position:relative;
  z-index:2;
}
.adex-gb-hero-left h1{
  margin:0 0 10px;
  font-size:36px;
  line-height:1.15;
  font-weight:800;
}
.adex-gb-hero-left p{
  margin:0;
  font-size:16px;
  font-weight:600;
}
.adex-gb-hero-right{
  justify-content:center;
  text-align:center;
  background:var(--secondary-color);
}
.adex-gb-hero-right strong{
  font-size:24px;
}

/* Better product/card/product-page visual */
.adex-section-head h2{
  font-size:24px!important;
  font-weight:800!important;
}
.adex-gb-product-card .button,
.woocommerce ul.products li.product .button{
  border-radius:6px!important;
}
body.adex-clean-layout.single-product div.product{
  max-width:1200px;
  margin:30px auto!important;
  background:#fff;
  border-radius:14px;
  padding:22px!important;
  box-shadow:0 8px 30px rgba(0,0,0,.06);
}
body.adex-clean-layout.single-product div.product .summary{
  border:1px solid #eee;
  border-radius:12px;
  padding:20px;
}
body.adex-clean-layout.single-product .product_title{
  font-size:34px!important;
  font-weight:800!important;
  line-height:1.15!important;
}
body.adex-clean-layout.single-product div.product p.price,
body.adex-clean-layout.single-product div.product span.price{
  color:var(--primary-color)!important;
  font-size:24px!important;
  font-weight:900!important;
}
body.adex-clean-layout.single-product div.product .woocommerce-product-gallery{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:16px;
}
body.adex-clean-layout.single-product div.product .woocommerce-product-gallery img{
  border-radius:10px;
}
body.adex-clean-layout.single-product .woocommerce-tabs{
  max-width:1200px;
  margin:25px auto!important;
  background:#fff;
  border-radius:14px;
  padding:20px;
  box-shadow:0 8px 30px rgba(0,0,0,.05);
}
body.adex-clean-layout .adex-gb-footer{
  margin-top:0!important;
}

/* Admin builder polish */
.adex-admin h1{
  font-weight:800;
  text-transform:capitalize;
}
.adex-admin .adex-card{
  max-width:920px;
}
.adex-admin .button-primary,
.adex-admin #submit{
  background:var(--primary-color,#f48721)!important;
  border-color:var(--primary-color,#f48721)!important;
  border-radius:6px!important;
  padding:6px 18px!important;
}

@media(max-width:900px){
  .adex-gb-hero-v2{grid-template-columns:1fr}
  .adex-gb-hero-left,.adex-gb-hero-right{min-height:190px}
  .adex-gb-hero-left h1{font-size:28px}
}
