/**
 * Ecopest Guard WP - main.css
 * Custom styles that complement Tailwind Play CDN.
 * Brand palette: #00271B (ink), #006C49 (emerald), #F9F9FF (cream).
 * Fonts: Plus Jakarta Sans (body), Space Grotesk (display).
 */

:root {
  --brand-ink: #00271B;
  --brand-emerald: #006C49;
  --brand-light: #6CF8BB;
  --brand-cream: #F9F9FF;
  --brand-amber: #FFFFFF;
}

/* ===== Base typography ===== */
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', 'Anek Bangla', system-ui, -apple-system, sans-serif;
  background: #F9F9FF;
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.font-display { font-family: 'Space Grotesk', 'Anek Bangla', system-ui, sans-serif; }
.font-jakarta { font-family: 'Space Grotesk', 'Anek Bangla', system-ui, sans-serif; }

/* Bengali text - use Anek Bangla for better rendering */
[lang="bn"], .bengali, :lang(bn) {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif !important;
}

/* ===== Selection ===== */
::selection { background: #006C49; color: #fff; }
::-moz-selection { background: #006C49; color: #fff; }

/* ===== Focus ring ===== */
:focus-visible { outline: 2px solid #006C49; outline-offset: 2px; border-radius: 4px; }

/* ===== Custom scrollbar (matches emerald theme) ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 6px; border: 2px solid #F1F5F9; }
::-webkit-scrollbar-thumb:hover { background: #006C49; }

/* ===== Line clamp utility (Tailwind v3 includes it; v4 CDN has it too, but we keep this fallback) ===== */
.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

/* ===== Subtle entrance animation ===== */
@keyframes ecopest-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ecopest-zoom-in-95 { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes ecopest-slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.animate-in { animation-duration: .2s; animation-fill-mode: both; }
.fade-in { animation-name: ecopest-fade-in; }
.zoom-in-95 { animation-name: ecopest-zoom-in-95; }
.slide-in-from-top-2 { animation-name: ecopest-slide-down; }

/* ===== Cart drawer slide-over animation ===== */
[data-cart-panel-inner] { transition: transform .3s cubic-bezier(.22,1,.36,1); }
[data-cart-panel-inner].translate-x-full { transform: translateX(100%); }

/* ===== WooCommerce overrides ===== */

/* Hide WooCommerce's default price suffix (we render our own BDT prefix). */
.woocommerce-Price-amount { white-space: nowrap; }
.woocommerce-Price-currencySymbol { font-weight: 700; }

/* Single product page: arrange image gallery + summary side-by-side. */
.single-product .product .images { width: 100%; }
.single-product .product .summary { width: 100%; }
@media (min-width: 1024px) {
  .single-product .product {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    align-items: start;
  }
}

/* Hide WooCommerce's default quantity input - we render our own. */
.single-product .quantity { display: none !important; }

/* WooCommerce variation select - keep accessible but visually subtle. */
.single-product .variations { display: block; margin-bottom: 1rem; }
.single-product .variations td { padding: .25rem 0; }
.single-product .variations select {
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  background: #fff;
}

/* WooCommerce notices - green themed toasts. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px;
  border: 1px solid #006C49;
  background: #D2F8E7;
  color: #00271B;
  padding: 12px 16px;
  margin-bottom: 16px;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}
.woocommerce-error { border-color: #C92A2A; background: #FFE4E4; color: #5C0E0E; }
.woocommerce-message::before,
.woocommerce-info::before { color: #006C49; }
.woocommerce-error::before { color: #C92A2A; }

/* WooCommerce cart table - flatten the default. */
.woocommerce-cart table.cart,
.woocommerce-checkout table.cart {
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100%;
}
.woocommerce-cart table.cart th,
.woocommerce-checkout table.cart th {
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #475569;
}
.woocommerce-cart table.cart td,
.woocommerce-checkout table.cart td {
  background: #fff;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 14px;
  vertical-align: middle;
}
.woocommerce-cart table.cart td:first-child,
.woocommerce-checkout table.cart td:first-child { border-left: 1px solid #E2E8F0; border-radius: 12px 0 0 12px; }
.woocommerce-cart table.cart td:last-child,
.woocommerce-checkout table.cart td:last-child { border-right: 1px solid #E2E8F0; border-radius: 0 12px 12px 0; }

/* Cart totals card. */
.woocommerce .cart_totals,
.woocommerce-checkout .checkout-review-order {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.woocommerce .cart_totals h2,
.woocommerce-checkout .checkout-review-order-title {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #00271B;
  margin-bottom: 12px;
}

/* WooCommerce buttons - match brand. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: #006C49;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  transition: background .15s ease, transform .15s ease;
  cursor: pointer;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #005236;
  transform: translateY(-1px);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: #00271B;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #004732;
}

/* WooCommerce product tabs - flatten. */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0;
  display: inline-block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #00271B;
  color: #fff;
  border-color: #00271B;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-size: 11px;
  font-weight: 800;
  color: inherit;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs .panel {
  border: none;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs .panel {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

/* WooCommerce checkout - two-column layout. */
.woocommerce-checkout .checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .woocommerce-checkout .checkout {
    grid-template-columns: 1fr 400px;
  }
}
.woocommerce-checkout .form-row { width: 100%; padding: 0; margin-bottom: 12px; }
.woocommerce-checkout .form-row label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
  display: block;
}
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  font-size: 13px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  outline: none;
  border-color: #006C49;
  box-shadow: 0 0 0 1px #006C49;
}

/* Payment methods. */
.woocommerce-checkout-payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.woocommerce-checkout-payment ul.payment_methods li {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.woocommerce-checkout-payment ul.payment_methods li input { accent-color: #006C49; }
.woocommerce-checkout-payment ul.payment_methods li label { font-weight: 700; color: #00271B; }

/* Place order button. */
.woocommerce-checkout #place_order {
  width: 100%;
  background: #006C49;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.woocommerce-checkout #place_order:hover { background: #005236; transform: translateY(-1px); }

/* WooCommerce single product gallery thumbnails. */
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  width: 80px;
  list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s;
}
.woocommerce div.product div.images .flex-control-thumbs img:hover { border-color: #006C49; }

/* WooCommerce product meta - hide SKU/categories clutter. */
.single-product .product_meta { display: none; }

/* WooCommerce related products grid - 4 columns. */
.woocommerce .related.products ul.products,
.woocommerce .up-sells ul.products {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .woocommerce .related.products ul.products,
  .woocommerce .up-sells ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .woocommerce .related.products ul.products,
  .woocommerce .up-sells ul.products { grid-template-columns: repeat(4, 1fr); }
}
.woocommerce .related.products h2,
.woocommerce .up-sells h2 {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #00271B;
  margin-bottom: 12px;
}

/* WooCommerce pagination. */
.woocommerce nav.woocommerce-pagination ul {
  border: none;
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 32px;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none;
  list-style: none;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: #00271B;
  color: #fff;
  border-color: #00271B;
}

/* WooCommerce messages - non-blocking top toast. */
.woocommerce-message,
.woocommerce-info {
  position: relative;
  padding-right: 40px;
}
.woocommerce-message::after,
.woocommerce-info::after {
  content: '✕';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 12px;
  color: #00271B;
  opacity: .6;
}

/* My account page. */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active,
.woocommerce-account .woocommerce-MyAccount-navigation ul li:hover {
  background: #00271B;
  color: #fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li:hover a {
  color: inherit;
}

/* Hide WC's default store-wide notice bar (we use our own hero banner). */
.woocommerce-store-notice { display: none !important; }

/* Elementor compatibility - ensure full-width sections. */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 80rem; }

/* Mobile-only: keep WC's add-to-cart button visible & readable. */
.single-product .single_add_to_cart_button {
  background: #000000 !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  width: 100%;
  margin-top: 8px;
}

/* Ensure the "Order Now (COD)" button shows below add to cart. */
.single-product button[data-buybox-buy-now] { width: 100%; margin-top: 8px; }

/* ============================================================ */
/* SHOP / ARCHIVE PAGE                                          */
/* ============================================================ */

/* Match the React Shop page header (dark hero strip on shop page only). */
.woocommerce.archive .site-main,
.woocommerce.archive #main { padding-top: 0; }

/* Shop page product grid - 4 columns on desktop. */
.woocommerce.archive ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .woocommerce.archive ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .woocommerce.archive ul.products { grid-template-columns: repeat(4, 1fr); }
}

/* Product card wrapper - keep our custom rounded-3xl card layout. */
.woocommerce.archive ul.products li.product {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 16px;
  margin: 0 !important;
  width: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s;
}
.woocommerce.archive ul.products li.product:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* Product image area */
.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.woocommerce.archive ul.products li.product img {
  margin-bottom: 0;
  border-radius: 16px;
  background: #F8FAFC;
  padding: 12px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  width: 100%;
  height: auto;
}

/* Product card title */
.woocommerce.archive ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #0F172A;
  margin: 8px 0 4px;
  padding: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.woocommerce.archive ul.products li.product:hover .woocommerce-loop-product__title { color: #006C49; }

/* Star rating - smaller */
.woocommerce.archive ul.products li.product .star-rating {
  float: none;
  margin: 4px 0;
  font-size: 10px;
  width: 6em;
  color: #F59E0B;
}

/* Price */
.woocommerce.archive ul.products li.product .price {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #0F172A;
  margin: 6px 0;
  display: block;
}
.woocommerce.archive ul.products li.product .price del {
  color: #94A3B8;
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
}
.woocommerce.archive ul.products li.product .price ins {
  background: none;
  text-decoration: none;
}

/* Add to cart button on cards */
.woocommerce.archive ul.products li.product .button {
  width: 100%;
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-top: 8px;
  transition: background .15s, transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.woocommerce.archive ul.products li.product .button:hover {
  background: #10481C;
  transform: translateY(-1px);
  color: #fff;
}

/* Sale badge */
.woocommerce.archive ul.products li.product .onsale {
  background: #D2F8E7;
  color: #006C49;
  border: none;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  top: 12px;
  left: 12px;
  min-width: auto;
  min-height: auto;
  text-transform: uppercase;
}

/* ============================================================ */
/* CART PAGE                                                    */
/* ============================================================ */

.woocommerce-cart-form .cart .product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border: 1px solid #E2E8F0;
}

.woocommerce-cart-form .cart .quantity .qty {
  width: 60px;
  padding: 6px 10px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.woocommerce-cart-form .cart .product-remove a.remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #B91C1C;
  font-size: 16px;
  line-height: 1;
  text-indent: 0;
}
.woocommerce-cart-form .cart .product-remove a.remove:hover {
  background: #DC2626;
  color: #fff;
}

/* Coupon row on cart */
.woocommerce-cart-form .coupon {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.woocommerce-cart-form .coupon input#coupon_code {
  flex: 1;
  min-width: 180px;
  padding: 8px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 12px;
}

/* ============================================================ */
/* CHECKOUT PAGE                                                */
/* ============================================================ */

/* Two-column layout */
@media (min-width: 1024px) {
  .woocommerce-checkout #customer_details {
    width: 100%;
  }
  .woocommerce-checkout .woocommerce-checkout-review-order {
    position: sticky;
    top: 100px;
  }
}

/* Billing form rows - 2 columns where possible */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: 48% !important;
  display: inline-block;
  vertical-align: top;
}
.woocommerce-checkout .form-row-first { margin-right: 4%; }
@media (max-width: 768px) {
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100% !important;
    margin-right: 0;
  }
}

/* Billing section header */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #00271B;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
  border: none;
  border-collapse: collapse;
  width: 100%;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
  padding: 10px 12px;
  font-size: 12px;
  text-align: left;
}
.woocommerce-checkout-review-order-table thead th {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #475569;
  border-bottom: 2px solid #00271B !important;
}
.woocommerce-checkout-review-order-table .product-name {
  font-weight: 700;
  color: #0F172A;
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-size: 14px;
  font-weight: 800;
  color: #00271B;
  border-bottom: none !important;
  padding-top: 14px;
}
.woocommerce-checkout-review-order-table .order-total td .woocommerce-Price-amount {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-size: 18px;
  color: #00271B;
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 12px;
  margin-top: 12px;
}
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.woocommerce-checkout #payment ul.payment_methods li {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.woocommerce-checkout #payment ul.payment_methods li input { accent-color: #006C49; }
.woocommerce-checkout #payment ul.payment_methods li label {
  font-weight: 700;
  color: #00271B;
  font-size: 12px;
  flex: 1;
  cursor: pointer;
}

/* Place order button - big emerald */
.woocommerce-checkout #place_order {
  width: 100%;
  background: #006C49;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, transform .15s;
  margin-top: 8px;
}
.woocommerce-checkout #place_order:hover {
  background: #005236;
  transform: translateY(-1px);
}

/* ============================================================ */
/* RELATED PRODUCTS                                            */
/* ============================================================ */

.woocommerce .related.products,
.woocommerce .up-sells {
  margin-top: 40px;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.woocommerce .related.products > h2,
.woocommerce .up-sells > h2,
.related-products-title {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #00271B;
  margin-bottom: 16px;
  text-align: center;
}

/* Related products grid - 4 columns (matches category page) */
.woocommerce .related.products ul.products,
.woocommerce .up-sells ul.products,
.related-products-section ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 20px !important;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .woocommerce .related.products ul.products,
  .woocommerce .up-sells ul.products,
  .related-products-section ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 1024px) {
  .woocommerce .related.products ul.products,
  .woocommerce .up-sells ul.products,
  .related-products-section ul.products { grid-template-columns: repeat(4, 1fr) !important; }
}

/* Related products cards - same style as shop archive cards */
.woocommerce .related.products ul.products li.product,
.woocommerce .up-sells ul.products li.product,
.related-products-section ul.products li.product {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 16px;
  margin: 0 !important;
  width: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s;
  list-style: none;
}
.woocommerce .related.products ul.products li.product:hover,
.woocommerce .up-sells ul.products li.product:hover,
.related-products-section ul.products li.product:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Force inner card div to use flex layout */
.woocommerce .related.products ul.products li.product > div,
.related-products-section ul.products li.product > div {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100%;
}

/* ============================================================ */
/* BREADCRUMB                                                   */
/* ============================================================ */

.ecopest-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
}
.ecopest-breadcrumb > div {
  padding-top: 10px;
  padding-bottom: 10px;
}
/* When breadcrumb is inside a product page (after the header), don't add bg/border */
.woocommerce div.product + .ecopest-breadcrumb,
.ecopest-breadcrumb.standalone {
  background: transparent;
  border-bottom: none;
}

/* ============================================================ */
/* SHOP TOOLBAR - Search + Sort + Category pills               */
/* ============================================================ */

.ecopest-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ecopest-toolbar-left {
  flex: 1;
  min-width: 200px;
}
.ecopest-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ecopest-search-form {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 360px;
}
.ecopest-search-input {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  font-size: 13px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.ecopest-search-input:focus {
  outline: none;
  border-color: #006C49;
  box-shadow: 0 0 0 3px rgba(0, 108, 73, 0.1);
}
.ecopest-search-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748B;
  padding: 6px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.ecopest-search-btn:hover {
  background: #F1F5F9;
  color: #006C49;
}

.ecopest-sort-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ecopest-sort-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}
.ecopest-sort-select {
  padding: 8px 32px 8px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.ecopest-sort-select:focus {
  outline: none;
  border-color: #006C49;
}

/* Category filter pills */
.ecopest-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.ecopest-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #fff;
  border: 1px solid #E2E8F0;
  transition: all .15s;
  text-decoration: none;
}
.ecopest-cat-pill:hover {
  border-color: #006C49;
  color: #006C49;
  background: #F0FDF4;
}
.ecopest-cat-pill.is-active {
  background: #00271B;
  color: #fff;
  border-color: #00271B;
}
.ecopest-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(0,0,0,0.08);
}
.ecopest-cat-pill.is-active .ecopest-cat-count {
  background: rgba(255,255,255,0.2);
}

/* ============================================================ */
/* PRODUCT TABS - make tabs always visible                      */
/* ============================================================ */

/* Force tabs to be visible (fixes the "tabs appear then disappear" issue) */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 32px;
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  display: flex !important;
  gap: 6px;
  flex-wrap: wrap;
  visibility: visible !important;
  opacity: 1 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #00271B;
  color: #fff;
  border-color: #00271B;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-size: 11px;
  font-weight: 800;
  color: inherit;
  text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs .panel {
  border: none;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  display: block !important;
}

/* ============================================================ */
/* PRODUCT SIZES & PACKS - tablet-style buttons                 */
/* ============================================================ */

.ecopest-sizes-block {
  margin: 16px 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.ecopest-sizes-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 8px;
}
.ecopest-sizes-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ecopest-size-pill {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  min-width: 120px;
  text-align: left;
  font-family: inherit;
}
.ecopest-size-pill:hover {
  border-color: #94A3B8;
  transform: translateY(-1px);
}
.ecopest-size-pill.is-active {
  border-color: #006C49;
  background: #F0FDF4;
  box-shadow: 0 0 0 3px rgba(0, 108, 73, 0.1);
}
.ecopest-size-pill.is-popular::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  background: #006C49;
  border-radius: 50%;
}
.ecopest-size-pill-name {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}
.ecopest-size-pill.is-active .ecopest-size-pill-name {
  color: #00271B;
}
.ecopest-size-pill-price {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}
.ecopest-size-pill.is-active .ecopest-size-pill-price {
  color: #006C49;
}
.ecopest-size-pill-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 5px;
  background: #6CF8BB;
  color: #002113;
  border-radius: 3px;
  margin-top: 2px;
}

/* ============================================================ */
/* CHECKOUT NOTICES - match container width                    */
/* ============================================================ */

.ecopest-notices-wrapper {
  width: 100%;
}
.ecopest-notices-wrapper .woocommerce-message,
.ecopest-notices-wrapper .woocommerce-info,
.ecopest-notices-wrapper .woocommerce-error {
  max-width: 100%;
}

.woocommerce-order-received .woocommerce-order {
  max-width: 720px;
  margin: 0 auto;
}
.woocommerce-order-received .woocommerce-order-overview {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.woocommerce-order-received .woocommerce-order-overview li {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 11px;
}
.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  font-size: 13px;
  color: #00271B;
  margin-top: 2px;
}

/* ============================================================ */
/* OUT-OF-STOCK NOTICE                                         */
/* ============================================================ */

.woocommerce div.product .stock.out-of-stock,
.woocommerce div.product p.stock {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin: 8px 0;
}

/* Variations form - ensure dropdowns + add-to-cart visible */
.woocommerce div.product form.cart .variations {
  margin-bottom: 16px;
  width: 100%;
}
.woocommerce div.product form.cart .variations td {
  padding: 6px 8px;
  vertical-align: middle;
}
.woocommerce div.product form.cart .variations select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 12px;
  background: #fff;
}
.woocommerce div.product form.cart .single_variation_wrap .single_variation {
  margin: 12px 0;
  padding: 12px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-Price-amount {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #00271B;
}

/* ============================================================ */
/* MESSAGES                                                    */
/* ============================================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #006C49;
  background: #D2F8E7;
  color: #00271B;
}
.woocommerce-error {
  border-color: #C92A2A;
  background: #FFE4E4;
  color: #5C0E0E;
}
.woocommerce-message::before,
.woocommerce-info::before { color: #006C49; }
.woocommerce-error::before { color: #C92A2A; }

/* Message button (Continue Shopping etc) */
.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  background: #00271B !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  margin-top: -2px;
}

/* ============================================================ */
/* PDP - VARIATION RADIO CARDS (replaces dropdowns)             */
/* ============================================================ */

/* Hide the default WooCommerce variation form completely - we render our own. */
.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .single_variation_wrap,
.woocommerce div.product .woocommerce-variation-add-to-cart {
  display: none !important;
}

/* Container for radio cards */
.ecopest-variation-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin: 20px 0 16px;
}
@media (min-width: 640px) {
  .ecopest-variation-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Individual radio card - mirrors AmazonBuyBox.tsx radio card */
.ecopest-variation-card {
  cursor: pointer;
  padding: 14px;
  border-radius: 16px;
  border: 2px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all .15s ease;
  position: relative;
  min-height: 140px;
}
.ecopest-variation-card:hover {
  border-color: #94A3B8;
  background: #F1F5F9;
}
.ecopest-variation-card.is-selected {
  background: #fff;
  border-color: #006C49;
  box-shadow: 0 4px 12px rgba(0, 108, 73, 0.15);
  outline: 2px solid rgba(0, 108, 73, 0.2);
  outline-offset: -2px;
}

/* Card header (name + radio) */
.ecopest-variation-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ecopest-variation-card-name {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ecopest-variation-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}
.ecopest-variation-card.is-selected .ecopest-variation-card-title {
  color: #00271B;
}
.ecopest-popular-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: #6CF8BB;
  color: #002113;
}
.ecopest-variation-radio {
  accent-color: #006C49;
  cursor: pointer;
}

/* SKU meta */
.ecopest-variation-card-meta {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 500;
}

/* Pricing row */
.ecopest-variation-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ecopest-variation-card-price {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #00271B;
}
.ecopest-variation-card-regular {
  font-size: 11px;
  color: #94A3B8;
  text-decoration: line-through;
}

/* Savings label */
.ecopest-variation-card-savings {
  font-size: 10px;
  font-weight: 800;
  color: #006C49;
  display: block;
}

/* ============================================================ */
/* PDP - QTY STEPPER + ADD TO CART + COD BUTTONS                */
/* ============================================================ */

.ecopest-pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .ecopest-pdp-actions > .ecopest-qty-stepper,
  .ecopest-pdp-actions > .ecopest-cart-form {
    display: inline-flex;
    vertical-align: middle;
  }
  .ecopest-pdp-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    align-items: center;
  }
  .ecopest-pdp-actions .ecopest-qty-stepper {
    grid-row: 1;
    grid-column: 1;
  }
  .ecopest-pdp-actions .ecopest-cart-form {
    grid-row: 1;
    grid-column: 2;
  }
  .ecopest-pdp-actions .ecopest-cod-btn {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

/* Qty stepper */
.ecopest-qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 6px 10px;
  width: 110px;
}
.ecopest-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: all .15s;
}
.ecopest-qty-btn:hover { background: #E2E8F0; color: #0F172A; }
.ecopest-qty-display {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
  min-width: 24px;
  text-align: center;
}

/* Add to Cart form/button */
.ecopest-cart-form {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex: 1;
}
.ecopest-add-to-cart-btn {
  flex: 1;
  background: #000000 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  cursor: pointer;
  transition: background .15s, transform .15s;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.ecopest-add-to-cart-btn:hover {
  background: #10481C !important;
  transform: translateY(-1px);
}

/* Order Now (COD) button */
.ecopest-cod-btn {
  background: #006C49;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s, transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 108, 73, 0.2);
}
.ecopest-cod-btn:hover {
  background: #005236;
  transform: translateY(-1px);
}

/* Inline price banner (updates on variant change) */
.ecopest-price-banner {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  margin-top: 16px;
}
.ecopest-price-current {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #00271B;
}
.ecopest-price-regular {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: line-through;
}
.ecopest-price-savings {
  margin-left: auto;
  padding: 4px 10px;
  background: #006C49;
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================================================ */
/* PDP - PRODUCT TABS (Clinical Overview, Application Protocol) */
/* ============================================================ */

/* Hide the default "Additional information" tab - we have our own. */
.woocommerce div.product .woocommerce-tabs ul.tabs li.additional_information_tab {
  display: none;
}

/* Tab content styling for custom tabs */
.ecopest-tab-section {
  padding: 20px 0;
}
.ecopest-tab-section h3 {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #00271B;
  margin-bottom: 12px;
}
.ecopest-tab-section .ecopest-spec-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .ecopest-tab-section .ecopest-spec-grid { grid-template-columns: repeat(3, 1fr); }
}
.ecopest-tab-section .ecopest-spec-card {
  padding: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}
.ecopest-tab-section .ecopest-spec-card h5 {
  font-weight: 800;
  font-size: 12px;
  color: #0F172A;
  margin-bottom: 4px;
}
.ecopest-tab-section .ecopest-spec-card p {
  font-size: 11px;
  color: #64748B;
  line-height: 1.5;
}

/* Application protocol steps */
.ecopest-protocol-steps {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .ecopest-protocol-steps { grid-template-columns: repeat(2, 1fr); }
}
.ecopest-protocol-step {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}
.ecopest-protocol-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00271B;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ecopest-protocol-step-content h5 {
  font-weight: 800;
  font-size: 12px;
  color: #0F172A;
  margin-bottom: 4px;
}
.ecopest-protocol-step-content p {
  font-size: 11px;
  color: #64748B;
  line-height: 1.5;
}

/* ============================================================ */
/* FOOTER - REDESIGNED                                          */
/* ============================================================ */

.ecopest-footer {
  background: #fff;
  color: #64748B;
  padding: 48px 0 48px;
  border-top: 1px solid #E2E8F0;
}
.ecopest-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .ecopest-footer-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .ecopest-footer-inner { padding: 0 32px; } }

.ecopest-faq-banner {
  margin-bottom: 48px;
  padding: 24px;
  border-radius: 24px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
@media (min-width: 640px) { .ecopest-faq-banner { padding: 28px; } }
.ecopest-faq-banner-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}
@media (min-width: 640px) { .ecopest-faq-banner-header { flex-direction: row; align-items: center; justify-content: space-between; } }
.ecopest-faq-banner-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #006C49;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.ecopest-faq-banner-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
.ecopest-faq-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #fff;
  color: #006C49;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid #6EE7B7;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
.ecopest-faq-banner-btn:hover { background: #F0FDF4; }
.ecopest-faq-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 20px;
}
@media (min-width: 768px) { .ecopest-faq-banner-grid { grid-template-columns: repeat(3, 1fr); } }
.ecopest-faq-item-q { font-weight: 700; color: #0F172A; font-size: 13px; margin-bottom: 6px; }
.ecopest-faq-item-a { color: #64748B; font-size: 12px; line-height: 1.6; }

.ecopest-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #E2E8F0;
}
@media (min-width: 768px) { .ecopest-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ecopest-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.ecopest-footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-bottom: 16px; }
.ecopest-footer-logo-icon { width: 32px; height: 32px; border-radius: 8px; background: #006C49; color: #fff; display: flex; align-items: center; justify-content: center; }
.ecopest-footer-logo-text { font-size: 20px; font-weight: 800; color: #0F172A; font-family: 'Space Grotesk', 'Anek Bangla', sans-serif; }
.ecopest-footer-desc { font-size: 12px; color: #64748B; line-height: 1.7; max-width: 360px; margin-bottom: 16px; }
.ecopest-footer-contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ecopest-footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #64748B; }
.ecopest-footer-contact-item i { color: #006C49; }
.ecopest-footer-contact-item a { color: #64748B; text-decoration: none; transition: color .15s; }
.ecopest-footer-contact-item a:hover { color: #006C49; }
.ecopest-footer-social { display: flex; gap: 8px; }
.ecopest-social-icon { width: 32px; height: 32px; border-radius: 8px; background: #F1F5F9; color: #64748B; display: flex; align-items: center; justify-content: center; transition: all .15s; text-decoration: none; }
.ecopest-social-icon:hover { background: #006C49; color: #fff; transform: translateY(-1px); }
.ecopest-footer-col-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #0F172A; margin-bottom: 16px; }
.ecopest-footer-col-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ecopest-footer-col-list a { font-size: 12px; color: #64748B; text-decoration: none; transition: color .15s; }
.ecopest-footer-col-list a:hover { color: #006C49; }
.ecopest-footer-contact-block { display: flex; flex-direction: column; gap: 16px; }
.ecopest-footer-contact-row { display: flex; align-items: center; gap: 12px; }
.ecopest-footer-contact-icon { width: 36px; height: 36px; border-radius: 10px; background: #F0FDF4; color: #006C49; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ecopest-footer-contact-label { font-size: 11px; color: #94A3B8; margin-bottom: 2px; }
.ecopest-footer-contact-value { font-size: 13px; font-weight: 700; color: #0F172A; text-decoration: none; transition: color .15s; }
.ecopest-footer-contact-value:hover { color: #006C49; }
.ecopest-footer-bottom { padding-top: 32px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: #94A3B8; }
@media (min-width: 640px) { .ecopest-footer-bottom { flex-direction: row; } }
.ecopest-footer-bottom p { text-align: center; }
@media (min-width: 640px) { .ecopest-footer-bottom p { text-align: left; } }
.ecopest-footer-bottom-links { display: flex; flex-wrap: wrap; gap: 24px; }
.ecopest-footer-bottom-links a { color: #94A3B8; text-decoration: none; transition: color .15s; }
.ecopest-footer-bottom-links a:hover { color: #64748B; }

/* ============================================================ */
/* BREADCRUMB - PREMIUM WITH GRID TEXTURE                       */
/* ============================================================ */

.ecopest-breadcrumb {
  background: linear-gradient(135deg, #00271B 0%, #003d2a 100%);
  background-image: 
    linear-gradient(135deg, rgba(0,40,27,0.95) 0%, rgba(0,61,42,0.95) 100%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  border-bottom: none;
  padding: 0;
}
.ecopest-breadcrumb > div {
  padding-top: 16px;
  padding-bottom: 16px;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) { .ecopest-breadcrumb > div { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .ecopest-breadcrumb > div { padding-left: 32px; padding-right: 32px; } }

.ecopest-breadcrumb a {
  color: rgba(255,255,255,0.6) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.ecopest-breadcrumb a:hover { color: #6CF8BB !important; }
.ecopest-breadcrumb span {
  font-size: 12px;
  font-weight: 700;
}
.ecopest-breadcrumb span:last-child {
  color: #fff !important;
}
.ecopest-breadcrumb svg {
  color: rgba(255,255,255,0.3) !important;
}

/* Override old breadcrumb styles */
.ecopest-breadcrumb.standalone {
  background: transparent;
  border-bottom: none;
}

/* ============================================================ */
/* CHECKOUT FIX - remove forced grid columns                    */
/* ============================================================ */

@media (min-width: 1024px) {
  .woocommerce-checkout .checkout {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .woocommerce-checkout-review-order {
    width: 100% !important;
  }
}

/* ============================================================ */
/* TRUST BADGES - new style                                     */
/* ============================================================ */

.ecopest-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
}
.ecopest-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E2E8F0;
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
}
.ecopest-trust-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F0FDF4;
  color: #006C49;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================ */
/* CTA SECTION - grid texture background                        */
/* ============================================================ */

.ecopest-cta-section {
  background: linear-gradient(135deg, #00271B 0%, #003d2a 100%);
  background-image: 
    linear-gradient(135deg, rgba(0,40,27,0.95) 0%, rgba(0,61,42,0.95) 100%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  margin: 40px 0;
}
.ecopest-cta-section h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
.ecopest-cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  max-width: 500px;
}
.ecopest-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #006C49;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all .15s;
}
.ecopest-cta-btn:hover { background: #005236; transform: translateY(-1px); }

/* ============================================================ */
/* STATIC PAGE TEMPLATE - privacy, terms, about                 */
/* ============================================================ */

.ecopest-static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
}
@media (min-width: 640px) { .ecopest-static-page { padding: 40px 24px; } }
.ecopest-static-page h1 {
  font-size: 32px;
  font-weight: 800;
  color: #00271B;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  margin-bottom: 24px;
}
.ecopest-static-page h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin-top: 32px;
  margin-bottom: 12px;
}
.ecopest-static-page p {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
}
.ecopest-static-page ul {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 20px;
}
.ecopest-static-page li { margin-bottom: 6px; }

/* Track order page */
.ecopest-track-order {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 16px;
}
.ecopest-track-order h1 {
  font-size: 28px;
  font-weight: 800;
  color: #00271B;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  text-align: center;
  margin-bottom: 8px;
}
.ecopest-track-order p {
  text-align: center;
  font-size: 14px;
  color: #64748B;
  margin-bottom: 24px;
}
.ecopest-track-order .woocommerce {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
}

/* ============================================================ */
/* FIX: Hide ugly "View cart" text after AJAX add to cart       */
/* ============================================================ */

.woocommerce-message .button.wc-forward {
  display: none !important;
}

.woocommerce-message {
  display: flex !important;
  align-items: center;
  gap: 8px;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* ============================================================ */
/* COMBO PAGE - grid texture breadcrumb already applied via     */
/* ecopest_breadcrumb() function                                */
/* ============================================================ */

/* ============================================================ */
/* SHOP FILTERS - premium redesign                               */
/* ============================================================ */

.ecopest-shop-toolbar {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ecopest-search-form {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}
.ecopest-search-input {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  font-size: 13px;
  background: #F8FAFC;
  transition: all .15s;
}
.ecopest-search-input:focus {
  outline: none;
  border-color: #006C49;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 108, 73, 0.08);
}
.ecopest-search-btn {
  position: absolute;
  right: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748B;
  padding: 6px;
  border-radius: 6px;
  transition: all .15s;
}
.ecopest-search-btn:hover { background: #F1F5F9; color: #006C49; }

.ecopest-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ecopest-sort-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}
.ecopest-sort-select {
  padding: 8px 32px 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  font-size: 12px;
  background: #F8FAFC;
  cursor: pointer;
  transition: all .15s;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  font-weight: 600;
  color: #0F172A;
}
.ecopest-sort-select:focus { outline: none; border-color: #006C49; background: #fff; }

.ecopest-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.ecopest-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #fff;
  border: 1px solid #E2E8F0;
  transition: all .15s;
  text-decoration: none;
}
.ecopest-cat-pill:hover {
  border-color: #006C49;
  color: #006C49;
  background: #F0FDF4;
  transform: translateY(-1px);
}
.ecopest-cat-pill.is-active {
  background: #00271B;
  color: #fff;
  border-color: #00271B;
}
.ecopest-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(0,0,0,0.08);
}
.ecopest-cat-pill.is-active .ecopest-cat-count { background: rgba(255,255,255,0.2); }

/* Price filter slider */
.ecopest-price-filter {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ecopest-price-filter-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0F172A;
  margin-bottom: 12px;
}
.ecopest-price-filter-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ecopest-price-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 13px;
  background: #F8FAFC;
  width: 100%;
}
.ecopest-price-input:focus { outline: none; border-color: #006C49; background: #fff; }
.ecopest-price-separator { color: #94A3B8; font-weight: 700; }
.ecopest-price-btn {
  padding: 8px 16px;
  background: #00271B;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.ecopest-price-btn:hover { background: #00422e; }

/* ============================================================ */
/* PAGE BANNER - page title + breadcrumb with grid texture      */
/* ============================================================ */

.ecopest-page-banner {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  padding: 32px 0;
  overflow: hidden;
}
.ecopest-page-banner-grid {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(17, 75, 30, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(17, 75, 30, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, #000 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, #000 100%);
  pointer-events: none;
}
.ecopest-page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .ecopest-page-banner-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .ecopest-page-banner-inner { padding: 0 32px; } }

.ecopest-page-banner-title {
  font-size: 28px;
  font-weight: 800;
  color: #00271B;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
  margin-bottom: 8px;
  line-height: 1.2;
}
@media (min-width: 640px) { .ecopest-page-banner-title { font-size: 36px; } }

.ecopest-page-banner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.ecopest-crumb-link {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  text-decoration: none;
  transition: color .15s;
}
a.ecopest-crumb-link:hover { color: #006C49; }
.ecopest-crumb-current {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
}
.ecopest-crumb-sep {
  color: #CBD5E1;
  flex-shrink: 0;
}

/* Override old breadcrumb styles */
.ecopest-breadcrumb { display: none !important; }

/* ============================================================ */
/* CTA SECTION - use same grid texture                          */
/* ============================================================ */

.ecopest-cta-section {
  position: relative;
  background: #00271B;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  margin: 40px 0;
  overflow: hidden;
}
.ecopest-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center top;
  pointer-events: none;
}
.ecopest-cta-section > * { position: relative; z-index: 1; }
.ecopest-cta-section h3 { color: #fff; font-size: 24px; font-weight: 800; font-family: 'Space Grotesk', 'Anek Bangla', sans-serif; }
.ecopest-cta-section p { color: rgba(255,255,255,0.7); font-size: 14px; max-width: 500px; }
.ecopest-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; background: #006C49; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; transition: all .15s; }
.ecopest-cta-btn:hover { background: #fff; color: #00271B; transform: translateY(-1px); }

/* ============================================================ */
/* FOOTER - simplified                                          */
/* ============================================================ */

.ecopest-footer {
  background: #fff;
  color: #64748B;
  padding: 48px 0 32px;
  border-top: 1px solid #E2E8F0;
}
.ecopest-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .ecopest-footer-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .ecopest-footer-inner { padding: 0 32px; } }

.ecopest-faq-banner {
  margin-bottom: 48px;
  padding: 24px;
  border-radius: 24px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
@media (min-width: 640px) { .ecopest-faq-banner { padding: 28px; } }
.ecopest-faq-banner-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}
@media (min-width: 640px) { .ecopest-faq-banner-header { flex-direction: row; align-items: center; justify-content: space-between; } }
.ecopest-faq-banner-label { display: flex; align-items: center; gap: 8px; color: #006C49; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.ecopest-faq-banner-title { font-size: 18px; font-weight: 800; color: #0F172A; font-family: 'Space Grotesk', 'Anek Bangla', sans-serif; }
.ecopest-faq-banner-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; background: #fff; color: #006C49; font-weight: 700; font-size: 12px; border: 1px solid #6EE7B7; transition: all .15s; text-decoration: none; white-space: nowrap; }
.ecopest-faq-banner-btn:hover { background: #F0FDF4; }
.ecopest-faq-banner-grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
@media (min-width: 768px) { .ecopest-faq-banner-grid { grid-template-columns: repeat(3, 1fr); } }
.ecopest-faq-item-q { font-weight: 700; color: #0F172A; font-size: 13px; margin-bottom: 6px; font-family: 'Space Grotesk', 'Anek Bangla', sans-serif; }
.ecopest-faq-item-a { color: #64748B; font-size: 12px; line-height: 1.6; font-family: 'Space Grotesk', 'Anek Bangla', sans-serif; }

.ecopest-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #E2E8F0;
}
@media (min-width: 768px) { .ecopest-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.ecopest-footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-bottom: 16px; }
.ecopest-footer-logo-icon { width: 32px; height: 32px; border-radius: 8px; background: #006C49; color: #fff; display: flex; align-items: center; justify-content: center; }
.ecopest-footer-logo-text { font-size: 20px; font-weight: 800; color: #0F172A; font-family: 'Space Grotesk', 'Anek Bangla', sans-serif; }
.ecopest-footer-desc { font-size: 12px; color: #64748B; line-height: 1.7; max-width: 360px; margin-bottom: 16px; }
.ecopest-footer-social { display: flex; gap: 8px; }
.ecopest-social-icon { width: 36px; height: 36px; border-radius: 10px; background: #F1F5F9; color: #64748B; display: flex; align-items: center; justify-content: center; transition: all .15s; text-decoration: none; }
.ecopest-social-icon:hover { background: #006C49; color: #fff; transform: translateY(-1px); }

.ecopest-footer-col-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #0F172A; margin-bottom: 16px; }
.ecopest-footer-col-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ecopest-footer-col-list a { font-size: 12px; color: #64748B; text-decoration: none; transition: color .15s; }
.ecopest-footer-col-list a:hover { color: #006C49; }

.ecopest-footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #94A3B8;
}
.ecopest-footer-bottom p { margin: 0; }

/* ============================================================ */
/* PRODUCT TABS - custom (no WooCommerce JS interference)       */
/* ============================================================ */

/* Hide WooCommerce's default tab wrapper completely */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .wc-tabs-wrapper {
  display: none !important;
}

/* Custom tabs container */
.ecopest-custom-tabs {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}
.ecopest-custom-tabs-header {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ecopest-custom-tab-btn {
  padding: 10px 20px;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.ecopest-custom-tab-btn:hover {
  border-color: #006C49;
  color: #006C49;
}
.ecopest-custom-tab-btn.is-active {
  background: #00271B;
  color: #fff;
  border-color: #00271B;
}
.ecopest-custom-tab-panel {
  display: none;
  padding: 16px 0;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
}
.ecopest-custom-tab-panel.is-active {
  display: block;
}
.ecopest-custom-tab-panel h2 {
  font-size: 18px;
  font-weight: 800;
  color: #00271B;
  margin-bottom: 12px;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
.ecopest-custom-tab-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: #00271B;
  margin-top: 20px;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
.ecopest-custom-tab-panel p {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
}
.ecopest-custom-tab-panel ul {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 20px;
}
.ecopest-custom-tab-panel li {
  margin-bottom: 6px;
}

/* Spec grid for Clinical Overview */
.ecopest-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) { .ecopest-spec-grid { grid-template-columns: repeat(3, 1fr); } }
.ecopest-spec-card {
  padding: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}
.ecopest-spec-card h5 {
  font-weight: 800;
  font-size: 13px;
  color: #0F172A;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
.ecopest-spec-card p {
  font-size: 12px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* Protocol steps */
.ecopest-protocol-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) { .ecopest-protocol-steps { grid-template-columns: repeat(2, 1fr); } }
.ecopest-protocol-step {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}
.ecopest-protocol-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00271B;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ecopest-protocol-step-content h5 {
  font-weight: 800;
  font-size: 13px;
  color: #0F172A;
  margin-bottom: 4px;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
.ecopest-protocol-step-content p {
  font-size: 12px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================ */
/* SHOP SIDEBAR LAYOUT                                          */
/* ============================================================ */

.ecopest-shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .ecopest-shop-layout {
    grid-template-columns: 280px 1fr;
  }
}

.ecopest-shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ecopest-sidebar-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.ecopest-sidebar-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0F172A;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

/* Price slider */
.ecopest-price-slider-wrap {
  position: relative;
  padding: 0 4px;
}
.ecopest-price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  margin-bottom: 16px;
}
.ecopest-price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #006C49;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.ecopest-price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #006C49;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.ecopest-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ecopest-price-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 13px;
  background: #F8FAFC;
  width: 100%;
}
.ecopest-price-input:focus { outline: none; border-color: #006C49; background: #fff; }
.ecopest-price-sep { color: #94A3B8; font-weight: 700; }
.ecopest-price-btn {
  width: 100%;
  margin-top: 12px;
  padding: 8px 16px;
  background: #00271B;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.ecopest-price-btn:hover { background: #00422e; }

/* Category filter list */
.ecopest-cat-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ecopest-cat-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: all .15s;
}
.ecopest-cat-filter-item:hover {
  background: #F0FDF4;
  color: #006C49;
}
.ecopest-cat-filter-item.is-active {
  background: #00271B;
  color: #fff;
}
.ecopest-cat-filter-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
}
.ecopest-cat-filter-item.is-active .ecopest-cat-filter-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Shop toolbar (top bar with sort + per page) */
.ecopest-shop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.ecopest-shop-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ecopest-shop-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ecopest-per-page {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ecopest-per-page-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}
.ecopest-per-page-select {
  padding: 6px 28px 6px 10px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 12px;
  background: #F8FAFC;
  cursor: pointer;
  appearance: none;
  font-weight: 600;
  color: #0F172A;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.ecopest-sort-select {
  padding: 6px 28px 6px 10px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 12px;
  background: #F8FAFC;
  cursor: pointer;
  appearance: none;
  font-weight: 600;
  color: #0F172A;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.ecopest-shop-search {
  position: relative;
  width: 200px;
}
.ecopest-shop-search input {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 13px;
  background: #F8FAFC;
}
.ecopest-shop-search input:focus { outline: none; border-color: #006C49; background: #fff; }
.ecopest-shop-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
  padding: 4px;
}

/* Product grid options (columns) */
.ecopest-grid-toggle {
  display: flex;
  gap: 4px;
}
.ecopest-grid-toggle-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all .15s;
}
.ecopest-grid-toggle-btn.is-active {
  background: #00271B;
  border-color: #00271B;
  color: #fff;
}

/* ============================================================ */
/* PREMIUM DESIGN UPDATE v2                                    */
/* ============================================================ */

/* Page banner - brand color background instead of white */
.ecopest-page-banner {
  background: linear-gradient(135deg, #10481C 0%, #0a3215 100%);
  border-bottom: none;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.ecopest-page-banner-grid {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, #000 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, #000 100%);
  pointer-events: none;
}
.ecopest-page-banner-title {
  color: #fff !important;
}
.ecopest-crumb-link {
  color: rgba(255, 255, 255, 0.6) !important;
}
a.ecopest-crumb-link:hover { color: #6CF8BB !important; }
.ecopest-crumb-current {
  color: #fff !important;
}
.ecopest-crumb-sep {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Product grid - 3 columns instead of 4 */
.woocommerce.archive ul.products,
.related-products-section ul.products {
  grid-template-columns: repeat(1, 1fr) !important;
}
@media (min-width: 640px) {
  .woocommerce.archive ul.products,
  .related-products-section ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 1024px) {
  .woocommerce.archive ul.products,
  .related-products-section ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Hide static reviews count on product cards */
.woocommerce.archive ul.products li.product .star-rating,
.related-products-section ul.products li.product .star-rating,
.woocommerce.archive ul.products li.product .rating-text,
.related-products-section ul.products li.product .rating-text {
  display: none !important;
}

/* Standardize button border-radius across site - 10px everywhere */
.ecopest-custom-tab-btn,
.ecopest-cat-pill,
.ecopest-price-btn,
.ecopest-per-page-select,
.ecopest-sort-select,
.ecopest-price-input,
.ecopest-shop-search input,
.ecopest-sidebar-card,
.ecopest-shop-topbar,
.ecopest-faq-banner-btn {
  border-radius: 10px !important;
}

/* Tab buttons - reduce border radius, consistent style */
.ecopest-custom-tab-btn {
  border-radius: 10px !important;
  padding: 10px 20px;
  border: 1px solid #E2E8F0;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}
.ecopest-custom-tab-btn:hover {
  border-color: #10481C;
  color: #10481C;
  transform: translateY(-1px);
}
.ecopest-custom-tab-btn.is-active {
  background: #10481C;
  color: #fff;
  border-color: #10481C;
}

/* Premium card hover effects */
.woocommerce.archive ul.products li.product,
.related-products-section ul.products li.product {
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.woocommerce.archive ul.products li.product:hover,
.related-products-section ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

/* Premium button styles */
.ecopest-cta-btn,
.ecopest-price-btn,
.ecopest-cod-btn {
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ecopest-cta-btn:hover,
.ecopest-price-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
}

/* Smooth fade-in animation for page content */
.ecopest-page-banner,
.ecopest-shop-layout,
.ecopest-footer {
  animation: ecopestFadeIn 0.4s ease-out;
}

@keyframes ecopestFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium card shadows */
.ecopest-sidebar-card,
.ecopest-shop-topbar {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

/* Dual range slider for price */
.ecopest-dual-range {
  position: relative;
  height: 40px;
  margin: 10px 0;
}
.ecopest-dual-range-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
}
.ecopest-dual-range-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #10481C;
  border-radius: 4px;
}
.ecopest-dual-range input[type="range"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  margin: 0;
}
.ecopest-dual-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10481C;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.ecopest-dual-range input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10481C;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: auto;
}
.ecopest-range-tooltip {
  position: absolute;
  bottom: -28px;
  transform: translateX(-50%);
  background: #10481C;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}
.ecopest-range-tooltip::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-bottom-color: #10481C;
}

/* Hide category description on archive pages */
.term-description,
.woocommerce-products-header__description,
.woocommerce .term-description {
  display: none !important;
}

/* Combo page - hide duplicate hero header (page-banner already shows title) */
.page-combos .ecopest-combo-hero {
  display: none !important;
}

/* MY ACCOUNT PAGE - sidebar layout */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  margin-bottom: 24px;
}
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}
@media (min-width: 1024px) {
  .woocommerce-account .u-columns {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 24px;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 280px !important;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #F1F5F9;
  margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 18px !important;
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: all .2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #10481C;
  color: #fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #F0FDF4;
  color: #10481C;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a:hover {
  background: #10481C;
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: #10481C;
  margin-bottom: 16px;
}
.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-account .woocommerce-MyAccount-content table th {
  background: #F8FAFC;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000000;
  padding: 10px 12px;
  border-bottom: 2px solid #E2E8F0;
}
.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 12px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13px;
  color: #000000;
}

/* Change all #64748B text to #000000 */
.ecopest-footer-desc,
.ecopest-footer-contact-item,
.ecopest-footer-contact-item a,
.ecopest-footer-col-list a,
.ecopest-faq-item-a,
.ecopest-footer-bottom p,
.ecopest-footer-bottom-links a {
  color: #000000;
}
.ecopest-footer-bottom,
.ecopest-footer-bottom p,
.ecopest-footer-bottom-links a {
  color: #94A3B8;
}

/* Premium input styling */
.ecopest-shop-search input,
.ecopest-price-input,
.ecopest-per-page-select,
.ecopest-sort-select {
  transition: all .2s ease;
}
.ecopest-shop-search input:focus,
.ecopest-price-input:focus,
.ecopest-per-page-select:focus,
.ecopest-sort-select:focus {
  border-color: #10481C;
  box-shadow: 0 0 0 3px rgba(16, 72, 28, 0.1);
}

/* Smooth scroll animations */
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

/* ============================================================ */
/* NAFA-STYLE PRICE SLIDER WITH ODOMETER TOOLTIPS               */
/* ============================================================ */

.ecopest-price-form {
  padding: 40px 20px 20px;
}
.ecopest-price-slider {
  position: relative;
  height: 36px;
  margin-bottom: 22px;
  transition: margin-bottom .15s ease;
}
.ecopest-price-slider.ecopest-stacked {
  margin-bottom: 40px;
}
.ecopest-price-slider-track {
  position: absolute;
  top: 50%;
  left: 9px;
  right: 9px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
  transform: translateY(-50%);
}
.ecopest-price-slider-range {
  position: absolute;
  top: 50%;
  height: 4px;
  background: linear-gradient(120deg, #10481C, #0a3215);
  border-radius: 4px;
  transform: translateY(-50%);
}
.ecopest-price-slider input[type="range"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.ecopest-price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10481C;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(16,72,28,0.4);
  cursor: pointer;
  margin-top: -7px;
  transition: transform .15s ease;
}
.ecopest-price-slider input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}
.ecopest-price-slider input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10481C;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(16,72,28,0.4);
  cursor: pointer;
  transition: transform .15s ease;
}
.ecopest-price-slider input[type="range"]:active::-moz-range-thumb {
  transform: scale(1.15);
}
.ecopest-price-slider input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 4px;
  background: transparent;
}
.ecopest-price-slider input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}

/* Floating value bubble */
.ecopest-price-bubble {
  position: absolute;
  top: -34px;
  left: 0;
  transform: translateX(-50%);
  background: linear-gradient(120deg, #10481C, #0a3215);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(16,72,28,0.35);
  transition: left .08s linear;
  z-index: 5;
}
.ecopest-price-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #0a3215 transparent transparent transparent;
}
.ecopest-price-bubble-max.ecopest-below {
  top: auto;
  bottom: -34px;
}
.ecopest-price-bubble-max.ecopest-below::after {
  bottom: auto;
  top: -5px;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #0a3215 transparent;
}
.ecopest-price-bubble .ecopest-currency {
  display: inline-block;
  margin-right: 1px;
}

/* Odometer rolling digits */
.ecopest-price-bubble .ecopest-digits {
  display: inline-flex;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.ecopest-digit-cell {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  vertical-align: top;
}
.ecopest-digit-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.ecopest-digit-val {
  display: block;
  height: 1em;
  line-height: 1;
}

/* Min/Max fields */
.ecopest-price-fields {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0 0 6px;
}
.ecopest-price-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ecopest-price-field-label {
  font-size: 11px;
  font-weight: 700;
  color: #10481C;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ecopest-price-field input[type="number"] {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  background: #fff;
  text-align: left;
  cursor: text;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}
.ecopest-price-field input[type="number"]::-webkit-outer-spin-button,
.ecopest-price-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ecopest-price-field input[type="number"]:focus {
  border-color: #10481C;
  box-shadow: 0 0 0 3px rgba(16,72,28,0.12);
}
.ecopest-price-field-sep {
  padding-bottom: 11px;
  color: #CBD5E1;
  font-weight: 700;
}

.ecopest-price-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.ecopest-price-btn {
  flex: 1;
  padding: 12px;
  background: linear-gradient(120deg, #10481C, #0a3215);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}
.ecopest-price-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Hide old dual-range */
.ecopest-dual-range { display: none !important; }

/* ============================================================ */
/* PDP - remove duplicate variation pills (keep only near title)*/
/* ============================================================ */

/* Hide the variation radio cards section (the one below add to cart) */
.ecopest-variation-cards {
  display: none !important;
}
.ecopest-pdp-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 16px !important;
  align-items: center !important;
  width: 100% !important;
}
.ecopest-pdp-actions .ecopest-qty-stepper,
.ecopest-pdp-actions .ecopest-cart-form {
  display: inline-flex !important;
}
.ecopest-pdp-actions .ecopest-qty-stepper {
  flex: 0 0 auto !important;
  width: 110px !important;
}
.ecopest-pdp-actions .ecopest-cart-form {
  flex: 1 1 140px !important;
  min-width: 0 !important;
}
.ecopest-pdp-actions .ecopest-cod-btn {
  flex: 1 1 100% !important;
  width: 100% !important;
  margin-top: 4px !important;
  min-height: 48px !important;
}
.ecopest-price-banner {
  display: none !important;
}

/* ============================================================ */
/* CHECKOUT - premium place order button + bento trust badges   */
/* ============================================================ */

.woocommerce-checkout #place_order {
  position: relative;
  width: 100%;
  height: 54px;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #10481C 0%, #0a3215 100%) !important;
  color: #fff !important;
  border: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(16,72,28,0.3);
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.woocommerce-checkout #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16,72,28,0.4);
}
.woocommerce-checkout #place_order::before {
  display: none !important;
}

/* Checkout trust badges - bento style */
.ecopest-checkout-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
@media (max-width: 640px) {
  .ecopest-checkout-trust {
    grid-template-columns: 1fr;
  }
}
.ecopest-checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.ecopest-checkout-trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F0FDF4;
  color: #10481C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ecopest-checkout-trust-text {
  font-size: 12px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

/* ============================================================ */
/* FOOTER SOCIAL ICONS - brand-specific colors                 */
/* ============================================================ */

.ecopest-social-icon.ecopest-social-fb { background: #1877F2; color: #fff; }
.ecopest-social-icon.ecopest-social-fb:hover { background: #0c5dc7; }
.ecopest-social-icon.ecopest-social-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); color: #fff; }
.ecopest-social-icon.ecopest-social-ig:hover { filter: brightness(1.1); }
.ecopest-social-icon.ecopest-social-wa { background: #25D366; color: #fff; }
.ecopest-social-icon.ecopest-social-wa:hover { background: #1da851; }

/* ============================================================ */
/* SHOP PRODUCT CARDS - variation pills below title             */
/* ============================================================ */

.ecopest-card-variations {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.ecopest-card-variation-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #000;
  border: 1px solid #E2E8F0;
  transition: all .15s;
}
.ecopest-card-variation-pill:hover {
  background: #10481C;
  color: #fff;
  border-color: #10481C;
}

/* ============================================================ */
/* TEXT COLOR FIXES - remove slate-gray, use pure black/white   */
/* ============================================================ */

.ecopest-footer-desc,
.ecopest-footer-contact-item,
.ecopest-footer-contact-item a,
.ecopest-footer-col-list a,
.ecopest-faq-item-a,
.ecopest-footer-bottom p {
  color: #000;
}
.ecopest-footer-bottom,
.ecopest-footer-bottom p {
  color: #94A3B8;
}

/* Product card text colors */
.woocommerce.archive ul.products li.product .price,
.related-products-section ul.products li.product .price {
  color: #000 !important;
}
.woocommerce.archive ul.products li.product h3,
.related-products-section ul.products li.product h3 {
  color: #000 !important;
}
.woocommerce.archive ul.products li.product p,
.related-products-section ul.products li.product p {
  color: #000 !important;
}

/* PDP text colors */
.ecopest-sizes-label,
.ecopest-size-pill-name,
.ecopest-size-pill-price,
.ecopest-custom-tab-panel p,
.ecopest-custom-tab-panel li,
.ecopest-spec-card p,
.ecopest-protocol-step-content p {
  color: #000 !important;
}
.ecopest-custom-tab-panel h2,
.ecopest-custom-tab-panel h3,
.ecopest-spec-card h5,
.ecopest-protocol-step-content h5 {
  color: #10481C !important;
}

/* ============================================================ */
/* CHECKOUT FIXES - COD layout + vertical trust badges         */
/* ============================================================ */

/* Fix COD payment description - stack vertically */
.woocommerce-checkout #payment ul.payment_methods li {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}
.woocommerce-checkout #payment ul.payment_methods li label {
  display: block !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #000 !important;
}
.woocommerce-checkout #payment .payment_box {
  font-size: 12px !important;
  color: #000 !important;
  margin-top: 4px !important;
  padding: 8px 12px !important;
  background: #F8FAFC !important;
  border-radius: 8px !important;
  width: 100% !important;
}

/* Trust badges - vertical layout (icon on top, text below) */
.ecopest-checkout-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 640px) {
  .ecopest-checkout-trust {
    grid-template-columns: 1fr;
  }
}
.ecopest-checkout-trust-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 16px 12px !important;
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  text-align: center !important;
  transition: all .2s ease !important;
}
.ecopest-checkout-trust-item:hover {
  border-color: #10481C !important;
  box-shadow: 0 4px 12px rgba(16,72,28,0.08) !important;
  transform: translateY(-2px) !important;
}
.ecopest-checkout-trust-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7) !important;
  color: #10481C !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.ecopest-checkout-trust-text {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #000 !important;
  line-height: 1.3 !important;
}

/* ============================================================ */
/* MY ACCOUNT - clean nav, no button look, inline content       */
/* ============================================================ */

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #F1F5F9 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #000 !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #F0FDF4 !important;
  color: #10481C !important;
  padding-left: 22px !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active {
  background: transparent !important;
  border-radius: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #10481C !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a:hover {
  padding-left: 18px !important;
}

/* My Account content - show inline, not below */
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  min-height: 400px;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #10481C !important;
  margin-bottom: 16px !important;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif !important;
}
.woocommerce-account .woocommerce-MyAccount-content p {
  font-size: 14px !important;
  color: #000 !important;
  line-height: 1.7 !important;
}
.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.woocommerce-account .woocommerce-MyAccount-content table th {
  background: #F8FAFC !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #000 !important;
  padding: 12px 14px !important;
  border-bottom: 2px solid #E2E8F0 !important;
  text-align: left !important;
}
.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 14px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  font-size: 13px !important;
  color: #000 !important;
}

/* My Account forms */
.woocommerce-account .woocommerce-MyAccount-content form label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin-bottom: 4px !important;
  display: block !important;
}
.woocommerce-account .woocommerce-MyAccount-content form input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="tel"] {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  color: #000 !important;
  background: #F8FAFC !important;
  transition: all .2s ease !important;
}
.woocommerce-account .woocommerce-MyAccount-content form input:focus {
  outline: none !important;
  border-color: #10481C !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(16,72,28,0.1) !important;
}
.woocommerce-account .woocommerce-MyAccount-content form button {
  background: #10481C !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
}
.woocommerce-account .woocommerce-MyAccount-content form button:hover {
  background: #0a3215 !important;
  transform: translateY(-1px) !important;
}

/* ============================================================ */
/* CART DRAWER - remove free shipping bar when no free shipping */
/* ============================================================ */

/* Hide the free delivery progress bar - will be shown via JS only when
   a free shipping method exists in the cart's shipping zone */
.ecopest-cart-progress-wrap {
  display: none;
}
.ecopest-cart-progress-wrap.has-free-shipping {
  display: block;
}

/* ============================================================ */
/* PRODUCT CARD - Add to Cart + Buy Now buttons with icons      */
/* ============================================================ */

.ecopest-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.ecopest-card-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.ecopest-card-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ecopest-card-add {
  background: #000;
  color: #fff;
}
.ecopest-card-add:hover {
  background: #10481C;
  transform: translateY(-1px);
}
.ecopest-card-buy {
  background: #10481C;
  color: #fff;
}
.ecopest-card-buy:hover {
  background: #000;
  transform: translateY(-1px);
}

/* Variation pills on cards - clickable + selectable */
.ecopest-card-variation-pill {
  cursor: pointer;
  user-select: none;
}
.ecopest-card-variation-pill.is-selected {
  background: #10481C;
  color: #fff;
  border-color: #10481C;
}

/* ============================================================ */
/* CART PAGE - modern redesign                                  */
/* ============================================================ */

.woocommerce-cart-form table.cart {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}
.woocommerce-cart-form table.cart th {
  background: transparent !important;
  border: none !important;
  padding: 8px 12px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  color: #000 !important;
}
.woocommerce-cart-form table.cart td {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  padding: 16px !important;
  vertical-align: middle !important;
  font-size: 13px !important;
  color: #000 !important;
}
.woocommerce-cart-form table.cart td:first-child {
  border-left: 1px solid #E2E8F0 !important;
  border-radius: 14px 0 0 14px !important;
}
.woocommerce-cart-form table.cart td:last-child {
  border-right: 1px solid #E2E8F0 !important;
  border-radius: 0 14px 14px 0 !important;
}
.woocommerce-cart-form table.cart .product-thumbnail img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 12px !important;
  object-fit: contain !important;
  background: #fff !important;
  padding: 4px !important;
  border: 1px solid #E2E8F0 !important;
}
.woocommerce-cart-form table.cart .product-name a {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #000 !important;
  text-decoration: none !important;
}
.woocommerce-cart-form table.cart .product-name a:hover {
  color: #10481C !important;
}
.woocommerce-cart-form table.cart .product-quantity .qty {
  width: 60px !important;
  padding: 8px 10px !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #000 !important;
}
.woocommerce-cart-form table.cart .product-remove a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #FEE2E2 !important;
  color: #B91C1C !important;
  font-size: 16px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
}
.woocommerce-cart-form table.cart .product-remove a.remove:hover {
  background: #DC2626 !important;
  color: #fff !important;
}

/* Cart totals */
.cart_totals {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.04) !important;
}
.cart_totals h2 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #10481C !important;
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif !important;
  margin-bottom: 16px !important;
}
.cart_totals table {
  border: none !important;
  border-collapse: collapse !important;
  width: 100% !important;
}
.cart_totals table th {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #000 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
.cart_totals table td {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #000 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  text-align: right !important;
}
.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #10481C !important;
  border-bottom: none !important;
  padding-top: 16px !important;
}
.cart_totals .wc-proceed-to-checkout {
  margin-top: 16px !important;
}
.cart_totals .checkout-button {
  width: 100% !important;
  background: #10481C !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all .2s ease !important;
}
.cart_totals .checkout-button:hover {
  background: #0a3215 !important;
  transform: translateY(-1px) !important;
}

/* Cart coupon */
.woocommerce-cart-form .coupon input#coupon_code {
  flex: 1 !important;
  min-width: 180px !important;
  padding: 10px 14px !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  color: #000 !important;
}
.woocommerce-cart-form .coupon button {
  padding: 10px 20px !important;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
}
.woocommerce-cart-form .coupon button:hover {
  background: #10481C !important;
}
.woocommerce-cart-form button[name="update_cart"] {
  padding: 10px 20px !important;
  background: #F1F5F9 !important;
  color: #000 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
}
.woocommerce-cart-form button[name="update_cart"]:hover {
  background: #E2E8F0 !important;
}

/* ============================================================ */
/* CHECKOUT - reference site exact match                       */
/* ============================================================ */

/* Hide WooCommerce default order review (we use our custom one) */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  display: none !important;
}

/* Place order button - matches reference */
.ecopest-place-order-btn {
  padding: 16px;
  background: linear-gradient(180deg, #10481C 0%, #0a3215 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s ease;
  box-shadow: 0 8px 20px rgba(16,72,28,0.3);
}
.ecopest-place-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16,72,28,0.4);
}
.ecopest-place-order-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Payment method radio cards - match reference design */
.ecopest-payment-methods ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ecopest-payment-methods ul.payment_methods li {
  margin-bottom: 12px !important;
}
.ecopest-payment-label {
  display: block;
  padding: 16px;
  border-radius: 16px;
  border: 2px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  transition: all .2s ease;
}
.ecopest-payment-label:hover {
  border-color: #CBD5E1;
}
.ecopest-payment-label.is-selected {
  border-color: #10481C;
  background: #F0FDF4;
  box-shadow: 0 0 0 1px rgba(16,72,28,0.2);
}
.ecopest-payment-label input[type="radio"] {
  accent-color: #10481C;
  margin-top: 2px;
}
.ecopest-payment-label .payment_box {
  margin-top: 8px;
  font-size: 12px;
  color: #000;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: 8px;
}

/* Billing form fields - match reference styling */
.woocommerce-checkout .form-row {
  padding: 0 !important;
  margin-bottom: 20px !important;
}
.woocommerce-checkout .form-row label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin-bottom: 6px !important;
  display: block !important;
}
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  color: #000 !important;
  background: #F8FAFC !important;
  transition: all .2s ease !important;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  outline: none !important;
  border-color: #10481C !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(16,72,28,0.1) !important;
}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: 48% !important;
  display: inline-block !important;
  vertical-align: top !important;
}
.woocommerce-checkout .form-row-first {
  margin-right: 4% !important;
}
@media (max-width: 768px) {
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100% !important;
    margin-right: 0 !important;
  }
}

/* Billing section headings */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
  display: none !important;
}

/* Shipping zone selection - radio cards like reference */
.woocommerce-checkout .shipping_method {
  display: none !important;
}
.woocommerce-checkout .shipping ul#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-checkout .shipping ul#shipping_method li {
  display: block !important;
  margin-bottom: 10px !important;
}
.woocommerce-checkout .shipping ul#shipping_method li label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px !important;
  border-radius: 16px !important;
  border: 2px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin: 0 !important;
}
.woocommerce-checkout .shipping ul#shipping_method li label:hover {
  border-color: #CBD5E1 !important;
}
.woocommerce-checkout .shipping ul#shipping_method li input:checked + label,
.woocommerce-checkout .shipping ul#shipping_method li:has(input:checked) label {
  border-color: #10481C !important;
  background: #F0FDF4 !important;
  box-shadow: 0 0 0 1px rgba(16,72,28,0.2) !important;
}

/* Hide old trust badges section (we only show helpline now) */
.ecopest-checkout-trust {
  display: none !important;
}

/* Coupon form */
.ecopest-coupon-form {
  margin: 0;
}

/* ============================================================ */
/* CHECKOUT - shipping zone radio cards + helpline pill         */
/* ============================================================ */

.ecopest-shipping-zone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 16px;
  border: 2px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  transition: all .2s ease;
}
.ecopest-shipping-zone-card:hover {
  border-color: #CBD5E1;
}
.ecopest-shipping-zone-card.is-selected {
  border-color: #10481C;
  background: #F0FDF4;
  box-shadow: 0 0 0 1px rgba(16,72,28,0.2);
}
.ecopest-shipping-zone-card input[type="radio"] {
  accent-color: #10481C;
}

/* Helpline pill - premium design */
.ecopest-helpline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10481C, #0a3215);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(16,72,28,0.25);
}
.ecopest-helpline-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,72,28,0.35);
  filter: brightness(1.1);
}
.ecopest-helpline-pill svg {
  flex-shrink: 0;
}

/* Hide WooCommerce default billing fields (we use custom ones) */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  display: none !important;
}

/* Hide old checkout trust badges + old helpline text */
.ecopest-checkout-trust,
.ecopest-footer-bottom-links {
  display: none !important;
}

/* Payment method radio cards */
.ecopest-payment-methods ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ecopest-payment-methods ul.payment_methods li {
  margin-bottom: 12px !important;
}
.ecopest-payment-label {
  display: block;
  padding: 16px;
  border-radius: 16px;
  border: 2px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  transition: all .2s ease;
}
.ecopest-payment-label:hover {
  border-color: #CBD5E1;
}
.ecopest-payment-label.is-selected {
  border-color: #10481C;
  background: #F0FDF4;
  box-shadow: 0 0 0 1px rgba(16,72,28,0.2);
}
.ecopest-payment-label input[type="radio"] {
  accent-color: #10481C;
  margin-top: 2px;
}
.ecopest-payment-label .payment_box {
  margin-top: 8px;
  font-size: 12px;
  color: #000;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: 8px;
}

/* Place order button */
.ecopest-place-order-btn {
  padding: 16px;
  background: linear-gradient(180deg, #10481C 0%, #0a3215 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s ease;
  box-shadow: 0 8px 20px rgba(16,72,28,0.3);
}
.ecopest-place-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16,72,28,0.4);
}

/* Hide old WooCommerce order review */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  display: none !important;
}

/* ============================================================ */
/* CHECKOUT FIXES v2 - helpline gold, focus green, bengali font */
/* ============================================================ */

/* Helpline pill - gold background */
.ecopest-helpline-pill {
  background: #FFD700 !important;
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
}
.ecopest-helpline-pill:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5) !important;
}
.ecopest-helpline-pill svg {
  color: #000 !important;
}

/* Form input focus - light green, NO blue */
.ecopest-form-input:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.ecopest-form-input:focus-visible {
  border-color: #10481C !important;
  box-shadow: 0 0 0 2px rgba(16, 72, 28, 0.15) !important;
  outline: none !important;
  -webkit-box-shadow: 0 0 0 2px rgba(16, 72, 28, 0.15) !important;
}

/* Remove default blue outline everywhere on checkout */
.woocommerce-checkout *:focus {
  outline-color: #10481C !important;
}
.woocommerce-checkout input[type="radio"]:focus,
.woocommerce-checkout input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Bengali text - use Anek Bangla font */
.woocommerce-checkout label,
.woocommerce-checkout h2,
.woocommerce-checkout p,
.woocommerce-checkout span,
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}

/* Specifically for Bengali characters - Anek Bangla takes over */
.woocommerce-checkout input[placeholder*="যেমন"],
.woocommerce-checkout input[placeholder*="বাসা"],
.woocommerce-checkout input[placeholder*="বিকেল"],
.woocommerce-checkout textarea[placeholder*="বাসা"],
.woocommerce-checkout label {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}

/* Payment label - ensure Bengali text uses Anek Bangla */
.ecopest-payment-label .text-xs,
.ecopest-payment-label p,
.ecopest-payment-label span {
  font-family: 'Space Grotesk', 'Anek Bangla', sans-serif;
}
