/*
Theme Name: Khati Gur Child
Theme URI: https://khatigur.com/
Description: Custom Khati Gur header and navigation for Hello Elementor.
Author: Khati Gur
Template: hello-elementor
Version: 1.0.46
*/

:root {
  --kg-green: #2f7652;
  --kg-orange: #ed8a2b;
  --kg-black: #0b0b0b;
  --kg-border: #e76f24;
  --kg-text: #171717;
}

html { scroll-behavior: smooth; }
body { margin: 0; }
/* Hide only the parent theme's duplicate header; keep the child header visible. */
body > header#site-header,
header#site-header,
#site-header,
.site-header:not(#kg-site-header) { display: none !important; }
/* Remove only the oversized Home title from the homepage content area. */
body.home .page-header .entry-title { display: none !important; }

.kg-site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.kg-topbar {
  min-height: 34px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--kg-black);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.kg-topbar a { color: #fff; text-decoration: none; }
.kg-topbar-left, .kg-topbar-right { display: flex; align-items: center; gap: 10px; }
.kg-topbar-right { gap: 16px; }
.kg-phone-icon { font-size: 17px; }
.kg-socials { display: flex; align-items: center; gap: 9px; font-weight: 700; }

.kg-mainbar {
  max-width: 1480px;
  min-height: 84px;
  margin: 0 auto;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.kg-brand { flex: 0 0 auto; display: flex; align-items: center; min-width: 150px; }
.kg-brand a { display: inline-flex; align-items: center; }
.kg-brand img { max-width: 190px; max-height: 64px; width: auto; height: auto; }
.kg-brand .site-title { color: var(--kg-green); font-size: 28px; font-weight: 800; text-decoration: none; line-height: 1; }

.kg-navigation { flex: 0 1 auto; min-width: 320px; }
.kg-navigation ul { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; }
.kg-navigation li { margin: 0; padding: 0; }
.kg-navigation a { color: var(--kg-text); font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.kg-navigation a:hover, .kg-navigation .current-menu-item > a { color: var(--kg-orange); }

.kg-search { flex: 1 1 360px; min-width: 220px; }
.kg-search form { display: flex; width: 100%; margin: 0; }
.kg-search input[type="search"] { min-width: 0; flex: 1; height: 40px; padding: 0 14px; border: 1px solid #d6d6d6; border-right: 0; border-radius: 0; color: #333; font-size: 14px; outline: none; }
.kg-search input[type="search"]:focus { border-color: var(--kg-orange); }
.kg-search button { width: 48px; height: 40px; border: 0; background: var(--kg-orange); color: #fff; cursor: pointer; font-size: 20px; }

.kg-cart { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding-left: 18px; border-left: 0; }
.kg-cart a { color: var(--kg-black); text-decoration: none; }
.kg-cart-total { font-size: 17px; font-weight: 800; white-space: nowrap; }
.kg-cart-icon { font-size: 25px; line-height: 1; }
.kg-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 50%; background: var(--kg-orange); color: #fff; font-size: 11px; font-weight: 700; vertical-align: top; }

.kg-mobile-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: var(--kg-black); font-size: 27px; cursor: pointer; }

@media (max-width: 1100px) {
  .kg-mainbar { gap: 15px; padding: 10px 18px; }
  .kg-navigation ul { gap: 14px; }
  .kg-navigation a { font-size: 14px; }
  .kg-brand img { max-width: 155px; }
  .kg-cart { padding-left: 10px; }
  .kg-cart-total { font-size: 14px; }
}

@media (max-width: 820px) {
  .kg-topbar { padding: 7px 12px; font-size: 11px; }
  .kg-topbar-right { display: none; }
  .kg-mainbar { min-height: 64px; padding: 9px 14px; flex-wrap: wrap; }
  .kg-brand { min-width: 0; }
  .kg-brand img { max-width: 150px; max-height: 48px; }
  .kg-brand .site-title { font-size: 23px; }
  .kg-mobile-toggle { display: block; }
  .kg-navigation { order: 5; flex-basis: 100%; display: none; padding: 10px 0 2px; border-top: 0; }
  .kg-navigation.is-open { display: block; }
  .kg-navigation ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .kg-navigation a { font-size: 15px; }
  .kg-search { order: 4; flex-basis: 100%; display: none; }
  .kg-search.is-open { display: block; }
  .kg-cart { margin-left: auto; border-left: 0; padding-left: 0; }
  .kg-cart-total { display: none; }
}

/* Amzad-style feature strip and seasonal products heading. */
.kg-feature-strip { max-width: 1240px; margin: 0 auto; padding: 14px 10px 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; }
.kg-feature-card { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 78px; padding: 8px 16px; background: #fff; }
.kg-feature-card + .kg-feature-card { border-left: 1px solid #f1f1f1; }
.kg-feature-icon { flex: 0 0 48px; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: #21644e; }
.kg-feature-icon svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.kg-feature-icon svg path { fill: none; }
.kg-feature-card h3 { margin: 0 0 3px; color: var(--kg-orange); font-size: 16px; line-height: 1.2; font-weight: 800; white-space: nowrap; }
.kg-feature-card p { margin: 0; color: #444; font-size: 10px; line-height: 1.35; white-space: nowrap; }
.kg-seasonal-heading { max-width: 1480px; margin: 0 auto 24px; padding: 0 26px; display: flex; align-items: center; gap: 18px; color: #21644e; }
.kg-seasonal-heading span { flex: 1; height: 2px; background: #4b9650; }
.kg-seasonal-heading h2 { margin: 0; padding: 10px 26px; border: 2px solid #4b9650; border-radius: 16px; background: #fff; color: #21644e; font-size: 26px; line-height: 1.15; white-space: nowrap; }
@media (max-width: 900px) { .kg-feature-strip { grid-template-columns: 1fr; padding: 14px 16px 8px; } .kg-feature-card { justify-content: flex-start; min-height: 70px; padding: 8px 6px; } .kg-feature-card + .kg-feature-card { border-left: 0; border-top: 1px solid #f1f1f1; } .kg-feature-card h3, .kg-feature-card p { white-space: normal; } .kg-seasonal-heading { padding: 0 16px; gap: 10px; } .kg-seasonal-heading h2 { padding: 8px 15px; font-size: 21px; } }
@media (max-width: 520px) { .kg-feature-card h3 { font-size: 18px; } .kg-feature-card p { font-size: 12px; } .kg-feature-icon { flex-basis: 44px; width: 44px; height: 44px; } .kg-feature-icon svg { width: 44px; height: 44px; } .kg-seasonal-heading span { min-width: 20px; } }

/* Product-card actions: Order Now on the left and a compact cart control on the right. */
.woocommerce ul.products li.product > .button:not(.kg-cart-action) { display: none !important; }
.woocommerce ul.products li.product .kg-product-actions { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: 12px; }
.woocommerce ul.products li.product .kg-order-now { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 34px; padding: 7px 14px; border-radius: 4px; background: var(--kg-orange); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; }
.woocommerce ul.products li.product .kg-order-now:hover { background: #c86a16; color: #fff; }
.woocommerce ul.products li.product .kg-cart-action { display: inline-flex !important; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0; padding: 0; border: 1px solid #2f7652; border-radius: 4px; background: #fff; color: #2f7652; font-size: 16px; line-height: 1; text-decoration: none; }
.woocommerce ul.products li.product .kg-cart-action:hover { background: #2f7652; color: #fff; }
/* Keep the footer but remove its old navigation menu. */
.site-footer .site-navigation { display: none !important; }
.site-footer .footer-inner { justify-content: center; }
@media (max-width: 520px) { .woocommerce ul.products li.product .kg-order-now { padding: 7px 11px; font-size: 12px; } .woocommerce ul.products li.product .kg-cart-action { width: 32px; height: 32px; font-size: 15px; } }

/* Product detail page: Khati Gur colors with Amzad-inspired purchase controls. */
.single-product div.product .summary h1.product_title { color: var(--kg-green); font-weight: 800; }
.single-product div.product .summary .price { color: var(--kg-orange); font-size: 24px; font-weight: 800; }
.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 20px; }
.single-product div.product form.cart .quantity { display: inline-flex; align-items: center; margin: 0; }
.single-product div.product form.cart .quantity input.qty { min-height: 44px; border: 1px solid #d9d9d9; }
.single-product div.product form.cart .kg-single-order-button { flex: 1 1 180px; min-height: 44px; border: 0; border-radius: 4px; background: var(--kg-green); color: #fff; font-weight: 800; font-size: 15px; }
.single-product div.product form.cart .single_add_to_cart_button:not(.kg-single-order-button) { flex: 1 1 180px; min-height: 44px; border: 0; border-radius: 4px; background: var(--kg-orange); color: #fff; font-weight: 800; font-size: 15px; }
.single-product div.product form.cart .kg-single-order-button:hover { background: #245d40; }
.single-product div.product form.cart .single_add_to_cart_button:not(.kg-single-order-button):hover { background: #c86a16; }
.single-product div.product .woocommerce-product-gallery { border-radius: 4px; overflow: hidden; }
.single-product div.product .product_meta a { color: var(--kg-green); }
.single-product div.product .woocommerce-tabs ul.tabs li.active a { color: var(--kg-green); }
/* Checkout: spacious two-column Amzad-style form using Khati Gur colors. */
.woocommerce-checkout .woocommerce form.checkout { max-width: 1240px; margin: 0 auto 40px; }
.woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout #order_review_heading { color: var(--kg-green); font-size: 22px; font-weight: 800; }
.woocommerce-checkout .woocommerce form .form-row label { color: #3d3d3d; font-weight: 700; font-size: 14px; }
.woocommerce-checkout .woocommerce form .form-row input.input-text, .woocommerce-checkout .woocommerce form .form-row textarea, .woocommerce-checkout .woocommerce form .form-row select { min-height: 44px; border: 1px solid #d7dfda; border-radius: 4px; padding: 10px 12px; background: #fff; }
.woocommerce-checkout #order_review { padding: 24px; border: 1px solid #d8e4dc; border-top: 3px solid var(--kg-green); border-radius: 4px; background: #fff; }
.woocommerce-checkout #payment { border-radius: 4px; background: #f6faf7; }
.woocommerce-checkout #place_order { width: 100%; min-height: 48px; border: 0; border-radius: 4px; background: var(--kg-orange); color: #fff; font-size: 16px; font-weight: 800; }
.woocommerce-checkout #place_order:hover { background: #c86a16; }
@media (max-width: 768px) { .single-product div.product form.cart .kg-single-order-button, .single-product div.product form.cart .single_add_to_cart_button:not(.kg-single-order-button) { flex-basis: 100%; } .woocommerce-checkout #order_review { margin-top: 20px; padding: 16px; } }

/* Amzad-style cart and checkout progress row. */
.kg-checkout-steps { max-width: 1240px; margin: 18px auto 30px; padding: 0 12px 12px; display: flex; align-items: center; gap: 0; border-bottom: 1px solid #e1e8e3; color: #8b8b8b; font-size: 13px; }
.kg-checkout-steps span { position: relative; padding: 0 20px; }
.kg-checkout-steps span + span::before { content: '›'; position: absolute; left: 3px; color: #b9c4bd; }
.kg-checkout-steps .is-active { color: var(--kg-green); font-weight: 800; }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { max-width: 1240px; margin: 0 auto; }
.woocommerce-cart table.shop_table { border-collapse: collapse; border: 1px solid #e1e8e3; border-radius: 4px; overflow: hidden; }
.woocommerce-cart table.shop_table th { color: var(--kg-green); background: #f6faf7; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.woocommerce-cart table.shop_table td, .woocommerce-cart table.shop_table th { padding: 14px 12px; border-color: #e5ebe7; }
.woocommerce-cart table.shop_table .product-name a { color: var(--kg-green); font-weight: 700; }
.woocommerce-cart table.shop_table .product-remove a { color: #bd3b2f !important; font-size: 20px; }
.woocommerce-cart table.shop_table .quantity { display: inline-flex; align-items: center; gap: 4px; }
.woocommerce-cart table.shop_table .quantity .kg-qty-minus, .woocommerce-cart table.shop_table .quantity .kg-qty-plus { width: 27px; height: 32px; padding: 0; border: 1px solid #d7e1da; background: #f6faf7; color: var(--kg-green); font-size: 17px; line-height: 1; cursor: pointer; }
.woocommerce-cart table.shop_table .quantity input.qty { width: 42px; height: 32px; min-width: 42px; padding: 0 4px; border: 1px solid #d7e1da; text-align: center; }
.woocommerce-cart .actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.woocommerce-cart .kg-continue-shopping { order: 1; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--kg-green); border-radius: 4px; color: var(--kg-green); text-decoration: none; font-weight: 700; }
.woocommerce-cart .coupon { order: 2; display: flex; gap: 6px; }
.woocommerce-cart .actions .button[name="update_cart"] { order: 3; min-height: 40px; background: var(--kg-green); color: #fff; }
.woocommerce-cart .coupon input.input-text { min-height: 40px; border: 1px solid #d7e1da; padding: 8px 10px; }
.woocommerce-cart .coupon button, .woocommerce-cart .coupon .button { min-height: 40px; background: #fff; color: var(--kg-green); border: 1px solid var(--kg-green); }
.woocommerce-cart .cart-collaterals { margin-top: 24px; }
.woocommerce-cart .cart_totals { padding: 22px; border: 1px solid #d8e4dc; border-top: 3px solid var(--kg-green); border-radius: 4px; background: #fff; }
.woocommerce-cart .cart_totals h2 { color: var(--kg-green); font-size: 21px; }
.woocommerce-cart .cart_totals .checkout-button { width: 100%; min-height: 46px; background: var(--kg-orange); color: #fff; font-weight: 800; text-align: center; }
.woocommerce-cart .cart_totals .checkout-button:hover { background: #c86a16; }
@media (max-width: 768px) { .kg-checkout-steps { margin: 14px 12px 22px; font-size: 11px; justify-content: center; } .kg-checkout-steps span { padding: 0 8px; } .kg-checkout-steps span + span::before { left: -3px; } .woocommerce-cart .actions { align-items: stretch; } .woocommerce-cart .kg-continue-shopping, .woocommerce-cart .coupon, .woocommerce-cart .actions .button[name="update_cart"] { width: 100%; justify-content: center; } .woocommerce-cart .coupon input.input-text, .woocommerce-cart .coupon button { flex: 1; } }

/* Exact reference proportions for the checkout screenshot. */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .9fr); column-gap: 40px; align-items: start; }
.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1; width: auto; float: none; }
.woocommerce-checkout form.checkout #customer_details .col-1 { width: 100%; float: none; padding: 0; }
.woocommerce-checkout form.checkout #customer_details .col-2 { display: none; }
.woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 0 0 14px; color: var(--kg-green); font-size: 24px; font-weight: 500; }
.woocommerce-checkout form.checkout > #order_review { grid-column: 2; grid-row: 1; margin-top: 46px; width: auto; padding: 24px 28px 28px; border: 2px solid var(--kg-green); border-radius: 0; background: #fff; }
.woocommerce-checkout .woocommerce-billing-fields { padding-top: 0; border-top: 1px solid #d9dfda; }
.woocommerce-checkout .woocommerce-billing-fields > h3 { margin: 32px 0 22px; color: var(--kg-green); font-size: 24px; font-weight: 500; text-transform: uppercase; }
.woocommerce-checkout .woocommerce-billing-fields .form-row { width: 100%; float: none; margin: 0 0 26px; padding: 0; }
.woocommerce-checkout .woocommerce-billing-fields .form-row label { margin: 0 0 10px; color: #222; font-size: 17px; font-weight: 700; }
.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text { height: 54px; min-height: 54px; border: 1px solid #d7d7d7; border-radius: 0; padding: 12px 14px; font-size: 16px; }
.woocommerce-checkout form.checkout > #order_review table.shop_table { border: 0; margin: 0 0 12px; }
.woocommerce-checkout form.checkout > #order_review table.shop_table th { padding: 0 0 12px; color: #111; font-size: 16px; text-transform: uppercase; }
.woocommerce-checkout form.checkout > #order_review table.shop_table td { padding: 14px 0; border-top: 1px solid #e2e2e2; color: #666; }
.woocommerce-checkout form.checkout > #order_review table.shop_table tfoot th, .woocommerce-checkout form.checkout > #order_review table.shop_table tfoot td { padding: 12px 0; color: #222; border-top: 1px solid #e2e2e2; }
.woocommerce-checkout form.checkout > #order_review .woocommerce-shipping-totals th { color: #666; }
.woocommerce-checkout form.checkout > #order_review .woocommerce-shipping-methods { margin: 0; padding: 4px 0 10px 0; list-style: none; }
.woocommerce-checkout form.checkout > #order_review .woocommerce-shipping-methods li { padding: 6px 0; }
.woocommerce-checkout form.checkout > #order_review .woocommerce-shipping-methods label { color: #555; font-size: 14px; }
.woocommerce-checkout form.checkout > #order_review .woocommerce-checkout-payment { margin-top: 18px; border-radius: 0; background: transparent; }
.woocommerce-checkout form.checkout > #order_review .woocommerce-checkout-payment .payment_box { background: transparent; padding: 8px 0; }
.woocommerce-checkout form.checkout > #order_review #place_order { min-height: 52px; border-radius: 0; background: var(--kg-orange); font-size: 17px; font-weight: 500; }
/* Match the supplied cart reference: leave cart table full width and keep utility controls/totals compact on the left. */
.woocommerce-cart .woocommerce-cart-form { width: 62%; float: left; }
.woocommerce-cart .cart-collaterals { width: 38%; float: right; padding-left: 24px; }
.woocommerce-cart .woocommerce-cart-form .actions { width: 100%; justify-content: flex-start; padding: 16px; background: #f7faf8; }
.woocommerce-cart .woocommerce-cart-form .actions .kg-continue-shopping { order: 1; }
.woocommerce-cart .woocommerce-cart-form .actions .coupon { order: 2; }
.woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"] { order: 3; }
.woocommerce-cart .cart_totals { margin: 0; }
.woocommerce-cart .cart_totals h2 { font-size: 24px; font-weight: 500; }
@media (max-width: 900px) { .woocommerce-checkout form.checkout { display: block; } .woocommerce-checkout form.checkout > #order_review_heading { margin-top: 28px; } .woocommerce-checkout form.checkout > #order_review { margin-top: 0; } .woocommerce-cart .woocommerce-cart-form, .woocommerce-cart .cart-collaterals { width: 100%; float: none; padding-left: 0; } .woocommerce-cart .cart-collaterals { margin-top: 24px; } }

/* User-requested cart alignment: move the totals/options beneath the table on the left. */
@media (min-width: 901px) {
  .woocommerce-cart .woocommerce-cart-form { width: 100%; float: none; }
  .woocommerce-cart .cart-collaterals { width: 62%; float: none; padding-left: 0; margin-top: 24px; }
  .woocommerce-cart .cart_totals { width: 100%; }
}

/* Final screenshot correction: keep cart product details inside the marked left area. */
@media (min-width: 901px) {
  .woocommerce-cart .woocommerce-cart-form { width: 100%; }
  .woocommerce-cart table.shop_table { width: 62%; table-layout: fixed; float: left; }
  .woocommerce-cart table.shop_table .product-thumbnail, .woocommerce-cart table.shop_table th.product-thumbnail { display: none !important; }
  .woocommerce-cart table.shop_table .product-remove { width: 7%; }
  .woocommerce-cart table.shop_table .product-name { width: 45%; }
  .woocommerce-cart table.shop_table .product-price { width: 16%; }
  .woocommerce-cart table.shop_table .product-quantity { width: 16%; }
  .woocommerce-cart table.shop_table .product-subtotal { width: 16%; }
  .woocommerce-cart .woocommerce-cart-form .actions { width: 62%; clear: both; }
  .woocommerce-cart .cart-collaterals { width: 62%; clear: both; }
}
.woocommerce-checkout form.checkout > #order_review { border: 2px solid var(--kg-green); border-radius: 14px; box-shadow: 0 10px 28px rgba(31, 67, 48, .10); padding: 28px 30px 30px; }
.woocommerce-checkout form.checkout > #order_review table.shop_table tr { transition: background .2s ease; }
.woocommerce-checkout form.checkout > #order_review table.shop_table tr:hover { background: #fbfdfb; }
.woocommerce-checkout form.checkout > #order_review #place_order { border-radius: 6px; box-shadow: 0 6px 12px rgba(237, 138, 43, .20); }
@media (max-width: 900px) { .woocommerce-cart table.shop_table { width: 100%; float: none; table-layout: auto; } .woocommerce-cart .woocommerce-cart-form .actions, .woocommerce-cart .cart-collaterals { width: 100%; } }

/* Final Amzad-style refinement: clean checkout background and left-aligned cart controls. */
.woocommerce-checkout form.checkout > #order_review {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff;
  padding: 0 0 28px;
}
.woocommerce-checkout form.checkout > #order_review table.shop_table { width: 100%; }
.woocommerce-checkout form.checkout > #order_review table.shop_table th,
.woocommerce-checkout form.checkout > #order_review table.shop_table td { border-color: #e8e8e8; }
.woocommerce-checkout form.checkout > #order_review .woocommerce-checkout-payment { border-top: 0; }
@media (min-width: 901px) {
  .woocommerce-cart table.shop_table { width: 72%; }
  .woocommerce-cart table.shop_table .product-name { width: 49%; white-space: nowrap; }
  .woocommerce-cart table.shop_table .product-price { width: 15%; white-space: nowrap; }
  .woocommerce-cart table.shop_table .product-quantity { width: 15%; }
  .woocommerce-cart table.shop_table .product-subtotal { width: 14%; white-space: nowrap; }
  .woocommerce-cart .woocommerce-cart-form .actions,
  .woocommerce-cart .cart-collaterals { width: 72%; }
  .woocommerce-cart .woocommerce-cart-form .actions { align-items: center; justify-content: flex-start; gap: 10px; padding: 16px 0; }
  .woocommerce-cart .woocommerce-cart-form .actions .kg-continue-shopping { flex: 0 0 210px; width: 210px; min-width: 210px; justify-content: center; white-space: nowrap; }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon { flex: 0 0 auto; display: flex; gap: 8px; }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon input.input-text { width: 170px; min-width: 170px; }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon .button { min-width: 145px; white-space: nowrap; }
  .woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"] { min-width: 145px; white-space: nowrap; }
}
@media (max-width: 900px) {
  .woocommerce-cart .woocommerce-cart-form .actions { padding: 14px 0; }
  .woocommerce-cart .woocommerce-cart-form .actions .kg-continue-shopping { min-width: 210px; white-space: nowrap; }
  .woocommerce-checkout form.checkout > #order_review { padding-bottom: 20px; }
}

/* Cart correction v1.13: deterministic left-starting controls and totals. */
@media (min-width: 901px) {
  .woocommerce-cart .woocommerce-cart-form .actions {
    display: grid !important;
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;
    width: 72%;
    margin: 0;
    padding: 18px 0 8px;
    gap: 12px;
  }
  .woocommerce-cart .woocommerce-cart-form .actions .kg-continue-shopping {
    display: inline-flex !important;
    width: 250px !important;
    min-width: 250px !important;
    height: 48px;
    margin: 0 !important;
    justify-content: center;
    white-space: nowrap;
  }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon {
    display: flex !important;
    width: 100%;
    margin: 0 !important;
    gap: 10px;
  }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon input.input-text {
    width: 250px !important;
    min-width: 250px !important;
    height: 46px;
  }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon .button,
  .woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"] {
    width: 170px !important;
    min-width: 170px !important;
    height: 46px;
    margin: 0 !important;
    white-space: nowrap;
  }
  .woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"] { justify-self: start; }
  .woocommerce-cart .cart-collaterals {
    width: 72% !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    clear: both;
  }
  .woocommerce-cart .cart_totals { width: 100% !important; margin: 0 !important; }
}
@media (max-width: 900px) {
  .woocommerce-cart .woocommerce-cart-form .actions { display: grid !important; grid-template-columns: 1fr; justify-items: start; gap: 10px; padding: 14px 0; }
  .woocommerce-cart .woocommerce-cart-form .actions .kg-continue-shopping { width: 250px; max-width: 100%; white-space: nowrap; }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon { display: flex; width: 100%; gap: 8px; }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon input.input-text { flex: 1; min-width: 0; }
  .woocommerce-cart .woocommerce-cart-form .actions .coupon .button { white-space: nowrap; }
  .woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"] { justify-self: start; }
  .woocommerce-cart .cart-collaterals, .woocommerce-cart .cart_totals { width: 100% !important; margin-left: 0 !important; }
}

/* Cart correction v1.14: match the marked button sizes and alignment. */
@media (min-width: 901px) {
  .woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"],
  .woocommerce-cart .woocommerce-cart-form .actions button[name="update_cart"] {
    width: 375px !important;
    min-width: 375px !important;
    max-width: 375px !important;
    height: 68px !important;
    padding: 0 20px !important;
    border: 1px solid var(--kg-green) !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: var(--kg-green) !important;
    opacity: 1 !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
  .woocommerce-cart .cart_totals .checkout-button,
  .woocommerce-cart .cart_totals a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 620px !important;
    max-width: 100% !important;
    min-height: 74px !important;
    margin: 14px 0 0 !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
}
@media (max-width: 900px) {
  .woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"],
  .woocommerce-cart .woocommerce-cart-form .actions button[name="update_cart"] {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    background: #fff !important;
    color: var(--kg-green) !important;
    border-color: var(--kg-green) !important;
    opacity: 1 !important;
    text-align: center !important;
  }
  .woocommerce-cart .cart_totals .checkout-button,
  .woocommerce-cart .cart_totals a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 58px !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

/* Remove the duplicate footer logo; keep the header logo unchanged. */
.site-footer .custom-logo-link,
.site-footer img.custom-logo,
footer.site-footer .custom-logo-link,
footer.site-footer img.custom-logo {
  display: none !important;
  visibility: hidden !important;
}

/* Research-informed wholesale Projects page. */
.kg-project-page { --kg-project-ink:#173f2d; --kg-project-muted:#64736b; --kg-project-cream:#f7f4ec; --kg-project-line:#dfe8df; color:var(--kg-project-ink); background:#fff; overflow:hidden; }
.kg-project-page img { display:block; width:100%; height:auto; object-fit:cover; }
.kg-project-page h1,.kg-project-page h2,.kg-project-page h3,.kg-project-page p { margin-top:0; }
.kg-project-hero,.kg-project-audience,.kg-project-pain,.kg-project-story,.kg-project-content,.kg-project-support,.kg-project-cta { max-width:1240px; margin:0 auto; padding-left:28px; padding-right:28px; }
.kg-project-hero { min-height:620px; display:grid; grid-template-columns:1.02fr .98fr; align-items:center; gap:60px; padding-top:70px; padding-bottom:70px; }
.kg-project-hero-copy { max-width:620px; }
.kg-project-kicker,.kg-project-eyebrow { display:inline-block; color:#d97522; font-size:12px; font-weight:900; letter-spacing:1.8px; line-height:1.3; }
.kg-project-hero h1 { margin:18px 0 18px; color:var(--kg-project-ink); font-size:clamp(36px,4.3vw,64px); line-height:1.06; font-weight:900; letter-spacing:-1.5px; }
.kg-project-hero p { max-width:570px; color:#56665d; font-size:18px; line-height:1.75; }
.kg-project-hero-actions,.kg-project-cta-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:28px; }
.kg-project-btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 20px; border-radius:5px; font-size:14px; font-weight:800; line-height:1.2; text-decoration:none; transition:transform .2s ease,background .2s ease; }
.kg-project-btn:hover { transform:translateY(-2px); }
.kg-project-btn-primary { background:#d97825; color:#fff; }
.kg-project-btn-primary:hover { background:#ba5e13; color:#fff; }
.kg-project-btn-light { border:1px solid #2e7652; background:#fff; color:#2e7652; }
.kg-project-btn-light:hover { background:#eef7f0; color:#2e7652; }
.kg-project-proof { display:flex; flex-wrap:wrap; gap:15px 22px; margin-top:25px; color:#54705f; font-size:12px; font-weight:700; }
.kg-project-hero-media { position:relative; min-height:500px; border-radius:18px 18px 18px 70px; overflow:hidden; box-shadow:0 24px 55px rgba(32,72,49,.18); background:#dce8de; }
.kg-project-hero-media img { height:500px; }
.kg-project-photo-tag,.kg-project-content-stamp { position:absolute; left:20px; bottom:20px; padding:10px 14px; border-radius:4px; background:rgba(23,63,45,.9); color:#fff; font-size:11px; font-weight:800; letter-spacing:.3px; }
.kg-project-section-heading { max-width:760px; margin:0 auto 42px; text-align:center; }
.kg-project-section-heading h2 { margin:12px 0 12px; color:var(--kg-project-ink); font-size:clamp(28px,3.2vw,44px); line-height:1.15; font-weight:900; letter-spacing:-.7px; }
.kg-project-section-heading p { margin-bottom:0; color:var(--kg-project-muted); font-size:16px; line-height:1.7; }
.kg-project-audience { padding-top:86px; padding-bottom:92px; }
.kg-project-audience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.kg-project-audience-grid article { min-height:220px; padding:28px; border:1px solid var(--kg-project-line); border-radius:10px; background:#fff; box-shadow:0 10px 25px rgba(31,69,46,.05); }
.kg-project-card-icon { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; margin-bottom:25px; border-radius:50%; background:#e9f2e9; color:#26724d; font-size:12px; font-weight:900; }
.kg-project-audience-grid h3 { margin-bottom:10px; color:var(--kg-project-ink); font-size:21px; }
.kg-project-audience-grid p,.kg-project-pain-item p,.kg-project-story-card p,.kg-project-support-grid p { margin-bottom:0; color:var(--kg-project-muted); font-size:14px; line-height:1.7; }
.kg-project-pain { max-width:none; padding-top:82px; padding-bottom:90px; background:var(--kg-project-cream); }
.kg-project-pain > * { max-width:1184px; margin-left:auto; margin-right:auto; }
.kg-project-pain-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.kg-project-pain-item { padding:22px 20px; border-top:3px solid #d97825; background:#fff; }
.kg-project-pain-item strong { display:block; margin-bottom:9px; color:var(--kg-project-ink); font-size:16px; }
.kg-project-story { padding-top:90px; padding-bottom:96px; }
.kg-project-story-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.kg-project-story-card { overflow:hidden; border:1px solid var(--kg-project-line); border-radius:10px; background:#fff; box-shadow:0 9px 22px rgba(31,69,46,.06); }
.kg-project-story-card img { height:205px; }
.kg-project-story-card > div { padding:18px; }
.kg-project-story-card span { color:#d97825; font-size:11px; font-weight:900; letter-spacing:1px; }
.kg-project-story-card h3 { margin:8px 0 7px; color:var(--kg-project-ink); font-size:19px; }
.kg-project-story-large { grid-column:span 2; grid-row:span 2; }
.kg-project-story-large img { height:285px; }
.kg-project-story-large h3 { font-size:24px; }
.kg-project-content { display:grid; grid-template-columns:1fr 1fr; gap:65px; align-items:center; padding-top:86px; padding-bottom:90px; }
.kg-project-content-media { position:relative; display:grid; grid-template-columns:1.16fr .84fr; gap:12px; align-items:end; }
.kg-project-content-media img:first-child { height:390px; border-radius:12px; }
.kg-project-content-media img:nth-child(2) { height:260px; border-radius:12px; }
.kg-project-content-stamp { left:15px; bottom:16px; right:15px; text-align:center; }
.kg-project-content-copy h2 { margin:12px 0 19px; color:var(--kg-project-ink); font-size:clamp(28px,3.1vw,43px); line-height:1.15; font-weight:900; }
.kg-project-content-copy ul { margin:0 0 20px; padding:0; list-style:none; }
.kg-project-content-copy li { position:relative; margin:0 0 13px; padding-left:28px; color:#40554a; font-size:15px; line-height:1.5; }
.kg-project-content-copy li::before { content:'✓'; position:absolute; left:0; top:0; color:#d97825; font-weight:900; }
.kg-project-content-copy p { color:var(--kg-project-muted); font-size:15px; line-height:1.75; }
.kg-project-support { max-width:none; display:grid; grid-template-columns:.78fr 1.22fr; gap:50px; padding-top:76px; padding-bottom:78px; background:#eef6ef; }
.kg-project-support > * { max-width:1184px; }
.kg-project-support h2 { margin:12px 0 0; color:var(--kg-project-ink); font-size:clamp(28px,3vw,42px); line-height:1.15; font-weight:900; }
.kg-project-support-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.kg-project-support-grid > div { padding:22px; border-left:2px solid #d97825; background:#fff; }
.kg-project-support-grid strong { color:#d97825; font-size:12px; letter-spacing:1px; }
.kg-project-support-grid h3 { margin:8px 0 6px; color:var(--kg-project-ink); font-size:18px; }
.kg-project-cta { max-width:none; display:flex; align-items:center; justify-content:space-between; gap:40px; padding-top:72px; padding-bottom:72px; background:var(--kg-project-ink); color:#fff; }
.kg-project-cta > div:first-child { max-width:760px; }
.kg-project-cta h2 { margin:13px 0 12px; color:#fff; font-size:clamp(28px,3.2vw,45px); line-height:1.15; font-weight:900; }
.kg-project-cta p { margin-bottom:0; color:#dbe9df; font-size:15px; line-height:1.7; }
.kg-project-cta .kg-project-eyebrow { color:#ef9a48; }
.kg-project-phone { color:#fff; font-size:16px; font-weight:800; text-decoration:none; white-space:nowrap; }
@media (max-width:980px) { .kg-project-hero { grid-template-columns:1fr; gap:35px; padding-top:50px; padding-bottom:58px; } .kg-project-hero-copy { max-width:none; } .kg-project-hero-media,.kg-project-hero-media img { min-height:0; height:410px; } .kg-project-pain-grid { grid-template-columns:repeat(2,1fr); } .kg-project-content { gap:35px; } .kg-project-support { grid-template-columns:1fr; } .kg-project-support > * { max-width:none; } }
@media (max-width:680px) { .kg-project-hero,.kg-project-audience,.kg-project-pain,.kg-project-story,.kg-project-content,.kg-project-support,.kg-project-cta { padding-left:16px; padding-right:16px; } .kg-project-hero h1 { font-size:38px; } .kg-project-hero p { font-size:16px; } .kg-project-hero-actions,.kg-project-cta-actions { align-items:stretch; flex-direction:column; } .kg-project-btn { width:100%; } .kg-project-proof { flex-direction:column; gap:8px; } .kg-project-hero-media,.kg-project-hero-media img { height:310px; } .kg-project-hero-media { border-radius:12px 12px 12px 42px; } .kg-project-audience-grid,.kg-project-pain-grid,.kg-project-story-grid,.kg-project-content { grid-template-columns:1fr; } .kg-project-story-large { grid-column:auto; grid-row:auto; } .kg-project-story-large img,.kg-project-story-card img { height:230px; } .kg-project-content-media { grid-template-columns:1fr 1fr; } .kg-project-content-media img:first-child { height:280px; } .kg-project-content-media img:nth-child(2) { height:205px; } .kg-project-support-grid { grid-template-columns:1fr; } .kg-project-cta { flex-direction:column; align-items:flex-start; } .kg-project-cta-actions { width:100%; } .kg-project-phone { align-self:center; } }

/* Keep the custom Projects hero as the first visible page section. */
.page-id-29327 .page-header { display:none !important; }
.page-id-29327 .site-main { margin-top:0 !important; padding-top:0 !important; }

/* Homepage proportions aligned to the supplied Amzad Food reference. */
body.home .kg-mainbar { max-width:1200px; min-height:72px; padding:10px 0; gap:22px; }
body.home .kg-brand { min-width:155px; }
body.home .kg-brand img { max-width:178px; max-height:58px; }
body.home .kg-navigation { min-width:300px; }
body.home .kg-navigation ul { gap:20px; }
body.home .kg-navigation a { font-size:15px; }
body.home .kg-search { flex-basis:350px; }
body.home .kg-search input[type="search"], body.home .kg-search button { height:38px; }
body.home .kg-cart { gap:8px; }
body.home .kg-cart-total { font-size:16px; }
body.home .elementor-element-b6e5e8e { width:min(1200px, calc(100% - 64px)); margin:28px auto 0; }
body.home .elementor-element-b6e5e8e img.wp-image-29097 { display:block; width:100%; max-width:none; height:auto; }
body.home .kg-feature-strip { max-width:1200px; padding:18px 0 14px; gap:14px; }
body.home .kg-feature-card { min-height:92px; padding:12px 18px; gap:14px; }
body.home .kg-feature-icon, body.home .kg-feature-icon svg { width:54px; height:54px; flex-basis:54px; }
body.home .kg-feature-card h3 { font-size:20px; }
body.home .kg-feature-card p { font-size:11px; }
body.home .kg-seasonal-heading { max-width:1200px; margin:12px auto 34px; padding:0; gap:14px; }
body.home .kg-seasonal-heading h2 { padding:8px 24px; font-size:24px; border-radius:14px; }
body.home .woocommerce ul.products { width:min(1200px, calc(100% - 64px)); max-width:none; margin:0 auto 60px; display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
body.home .woocommerce ul.products li.product { width:auto !important; float:none !important; margin:0 !important; padding:0 0 16px; border:1px solid #edf0ed; border-radius:3px; background:#fff; box-shadow:0 3px 12px rgba(37,71,49,.08); overflow:hidden; }
body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display:block; }
body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img { width:100%; height:250px; margin:0 0 12px; object-fit:contain; background:#fff; }
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height:42px; margin:0 14px 6px; color:var(--kg-green); text-align:center; font-size:16px; line-height:1.35; }
body.home .woocommerce ul.products li.product .price { display:block; margin:0 14px; color:var(--kg-orange); text-align:center; font-size:16px; font-weight:800; }
body.home .woocommerce ul.products li.product .kg-product-actions { margin:14px 14px 0; }
@media (max-width:1100px) { body.home .kg-mainbar { padding:10px 18px; } body.home .elementor-element-b6e5e8e, body.home .woocommerce ul.products { width:calc(100% - 36px); } body.home .kg-feature-strip, body.home .kg-seasonal-heading { margin-left:18px; margin-right:18px; } body.home .woocommerce ul.products { gap:14px; } }
@media (max-width:820px) { body.home .kg-mainbar { min-height:64px; padding:9px 14px; } body.home .kg-brand img { max-width:150px; max-height:48px; } body.home .elementor-element-b6e5e8e { width:calc(100% - 28px); margin-top:18px; } body.home .kg-feature-strip { margin-left:14px; margin-right:14px; } body.home .kg-seasonal-heading { margin-left:14px; margin-right:14px; } body.home .woocommerce ul.products { width:calc(100% - 28px); grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img { height:210px; } }
@media (max-width:520px) { body.home .kg-feature-card { min-height:74px; padding:8px 10px; } body.home .kg-feature-icon, body.home .kg-feature-icon svg { width:44px; height:44px; flex-basis:44px; } body.home .kg-feature-card h3 { font-size:17px; } body.home .kg-feature-card p { font-size:11px; } body.home .kg-seasonal-heading h2 { padding:7px 14px; font-size:20px; } body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img { height:175px; } body.home .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height:48px; margin-left:8px; margin-right:8px; font-size:14px; } body.home .woocommerce ul.products li.product .kg-product-actions { margin-left:8px; margin-right:8px; } }

/* Mobile reference header: compact horizontal primary navigation. */
@media (max-width:820px) {
  .kg-mainbar { align-items:center; gap:10px; }
  .kg-brand { flex:1 1 auto; }
  .kg-mobile-toggle { order:2; flex:0 0 52px; width:52px; height:44px; margin-left:0; border:2px solid var(--kg-border); color:var(--kg-black); background:#fff; font-size:25px; line-height:1; }
  .kg-cart { order:3; flex:0 0 auto; margin-left:0; }
  .kg-cart-icon { font-size:24px; }
  .kg-cart-count { min-width:18px; height:18px; font-size:10px; }
  .kg-navigation { order:4; flex-basis:100%; width:100%; padding:10px 0 4px; overflow:hidden; }
  .kg-navigation.is-open { display:block; }
  .kg-navigation ul { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:18px; width:100%; overflow-x:auto; overflow-y:hidden; padding:0 2px 4px; white-space:nowrap; scrollbar-width:none; }
  .kg-navigation ul::-webkit-scrollbar { display:none; }
  .kg-navigation li { flex:0 0 auto; }
  .kg-navigation a { display:block; font-size:14px; line-height:1.2; padding:7px 0; }
  .kg-search { order:5; flex-basis:100%; width:100%; }
  .kg-search.is-open { display:block; }
}
@media (max-width:420px) {
  .kg-mainbar { padding-left:10px; padding-right:10px; gap:7px; }
  .kg-brand img { max-width:125px; }
  .kg-mobile-toggle { flex-basis:46px; width:46px; height:40px; font-size:22px; }
  .kg-navigation ul { gap:14px; }
  .kg-navigation a { font-size:13px; }
}

/* Mobile homepage layout matching the user's hand-drawn reference. */
@media (max-width:820px) {
  body.home .kg-topbar { min-height:38px; padding:0 12px; justify-content:flex-start; }
  body.home .kg-topbar-right { display:none; }
  body.home .kg-topbar-left { gap:8px; font-size:14px; }
  body.home .kg-mainbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-height:0; padding:10px 12px 0; }
  body.home .kg-brand { order:1; flex:0 0 auto; min-width:0; }
  body.home .kg-brand img { max-width:112px; max-height:43px; }
  body.home .kg-mobile-toggle { display:none; }
  body.home .kg-navigation { order:2; display:block; flex:1 1 auto; flex-basis:auto; width:auto; min-width:0; padding:0; overflow:hidden; }
  body.home .kg-navigation ul { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:12px; width:max-content; max-width:none; overflow:visible; padding:0; }
  body.home .kg-navigation li { display:block; flex:0 0 auto; }
  body.home .kg-navigation li:nth-child(n+4) { display:none; }
  body.home .kg-navigation a { font-size:13px; font-weight:700; padding:9px 0; }
  body.home .kg-cart { order:3; flex:0 0 auto; margin-left:0; padding:0; }
  body.home .kg-cart-total { display:none; }
  body.home .kg-cart-icon { font-size:23px; }
  body.home .kg-search { order:4; display:block; flex-basis:100%; width:100%; padding:10px 0 8px; }
  body.home .kg-search form { width:100%; }
  body.home .kg-search input[type="search"], body.home .kg-search button { height:42px; }
  body.home .kg-search button { width:50px; }
  body.home .elementor-element-b6e5e8e { width:calc(100% - 24px); margin:14px auto 0; }
  body.home .kg-feature-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; width:calc(100% - 24px); margin:14px auto 0; padding:8px 0; }
  body.home .kg-feature-card { display:flex; flex-direction:column; justify-content:flex-start; align-items:center; gap:4px; min-height:86px; padding:6px 3px; text-align:center; }
  body.home .kg-feature-card + .kg-feature-card { border-left:1px solid #f0f0f0; border-top:0; }
  body.home .kg-feature-icon, body.home .kg-feature-icon svg { width:34px; height:34px; flex-basis:34px; }
  body.home .kg-feature-card h3 { margin:0; font-size:11px; line-height:1.2; white-space:normal; }
  body.home .kg-feature-card p { margin:0; font-size:8px; line-height:1.25; white-space:normal; }
}
@media (max-width:390px) {
  body.home .kg-brand img { max-width:96px; }
  body.home .kg-navigation ul { gap:8px; }
  body.home .kg-navigation a { font-size:11px; }
  body.home .kg-feature-card h3 { font-size:10px; }
  body.home .kg-feature-card p { font-size:7px; }
}

/* Mobile Amzad-style polish: fixed top rows, tighter gaps, and measured product cards. */
@media (max-width:820px) {
  body { padding-top:154px; }
  .kg-site-header { position:fixed; top:0; left:0; right:0; width:100%; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.10); }
  body.home .kg-site-header { z-index:10000; }
  body.home .kg-mainbar { padding-top:8px; padding-bottom:0; }
  body.home .kg-search { padding-top:8px; padding-bottom:8px; }
  body.home .elementor-element-b6e5e8e { margin-top:10px; }
  body.home .kg-feature-strip { margin-top:10px; padding-top:4px; padding-bottom:4px; }
  body.home .kg-seasonal-heading { margin-top:10px; margin-bottom:18px; padding-left:12px; padding-right:12px; gap:7px; }
  body.home .kg-seasonal-heading h2 { padding:7px 14px; font-size:20px; border-width:2px; border-radius:12px; }
  body.home .woocommerce ul.products { width:calc(100% - 28px); grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:0; margin-bottom:34px; }
  body.home .woocommerce ul.products li.product { display:flex; flex-direction:column; min-height:360px; padding-bottom:12px; border:1px solid #ececec; border-radius:2px; box-shadow:0 3px 10px rgba(0,0,0,.10); }
  body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { flex:0 0 auto; }
  body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img { height:220px; margin:0 0 12px; object-fit:contain; }
  body.home .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height:42px; margin:0 8px 6px; font-size:14px; line-height:1.3; }
  body.home .woocommerce ul.products li.product .price { margin:0 8px; font-size:15px; line-height:1.25; }
  body.home .woocommerce ul.products li.product .kg-product-actions { margin-top:auto; margin-left:8px; margin-right:8px; }
}
@media (max-width:390px) {
  body { padding-top:148px; }
  body.home .woocommerce ul.products { gap:10px; width:calc(100% - 20px); }
  body.home .woocommerce ul.products li.product { min-height:325px; }
  body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img { height:190px; }
}

/* Mobile final correction: full-width sections and non-sticky search. */
.kg-mobile-search { display:none; }
@media (max-width:820px) {
  body { padding-top:0; }
  body.home .kg-site-header { position:relative; box-shadow:none; }
  body.home .kg-topbar { position:fixed; top:0; left:0; right:0; z-index:10001; }
  body.home .kg-mainbar { position:fixed; top:38px; left:0; right:0; z-index:10000; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.08); }
  body.home .kg-search { display:none !important; }
  body.home .kg-mobile-search { display:block; margin-top:108px; padding:8px 10px 8px; background:#fff; }
  body.home .kg-mobile-search form { display:flex; width:100%; margin:0; }
  body.home .kg-mobile-search input[type="search"] { flex:1; min-width:0; height:44px; padding:0 14px; border:1px solid #d6d6d6; border-right:0; background:#fff; font-size:15px; }
  body.home .kg-mobile-search button { width:50px; height:44px; border:0; background:var(--kg-orange); color:#fff; font-size:20px; }
  body.home .elementor-element-b6e5e8e { width:calc(100% - 20px); margin:8px auto 0; }
  body.home .kg-feature-strip { width:100%; margin:8px 0 0; padding:4px 6px; gap:4px; }
  body.home .kg-seasonal-heading { margin:8px 10px 16px; padding:0; }
  body.home .woocommerce ul.products { width:calc(100% - 20px); margin-left:auto; margin-right:auto; gap:10px; }
  body.home .woocommerce ul.products li.product { width:100% !important; }
}
@media (max-width:390px) {
  body.home .kg-mobile-search { padding-left:8px; padding-right:8px; }
  body.home .elementor-element-b6e5e8e { width:calc(100% - 16px); }
  body.home .woocommerce ul.products { width:calc(100% - 12px); gap:8px; }
}

/* Mobile navigation: hamburger beside logo, primary links visible, full menu on toggle. */
@media (max-width:820px) {
  body.home .kg-mobile-toggle {
    display:flex;
    align-items:center;
    justify-content:center;
    order:2;
    flex:0 0 34px;
    width:34px;
    height:38px;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    color:var(--kg-black);
    font-size:25px;
    line-height:1;
  }
  body.home .kg-navigation { order:3; }
  body.home .kg-navigation.is-open {
    display:block;
    flex-basis:100%;
    width:100%;
    padding:10px 0 4px;
    overflow:visible;
    border-top:1px solid #eeeeee;
  }
  body.home .kg-navigation.is-open ul {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    width:100%;
    padding:0;
    overflow:visible;
    white-space:normal;
  }
  body.home .kg-navigation.is-open li,
  body.home .kg-navigation.is-open li:nth-child(n+4) {
    display:block;
    width:100%;
  }
  body.home .kg-navigation.is-open a {
    display:block;
    width:100%;
    padding:10px 4px;
    font-size:15px;
    border-bottom:1px solid #f0f0f0;
  }
  body.home .kg-cart { order:4; }
  body.home .kg-search { order:5; }
}
@media (max-width:420px) {
  body.home .kg-mobile-toggle { flex-basis:32px; width:32px; height:36px; font-size:23px; }
  body.home .kg-navigation.is-open a { font-size:14px; }
}

/* Mobile header consistency on every page: same order, same-tab links, no page-specific hiding. */
@media (max-width:820px) {
  .kg-mainbar {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    min-height:0;
    padding:10px 12px 0;
  }
  .kg-brand { order:1; flex:0 0 auto; min-width:0; }
  .kg-brand img { max-width:112px; max-height:43px; }
  .kg-mobile-toggle {
    display:flex !important;
    align-items:center;
    justify-content:center;
    order:2 !important;
    flex:0 0 32px !important;
    width:32px !important;
    height:36px !important;
    margin:0 !important;
    padding:0;
    border:0;
    background:transparent;
    font-size:23px;
    line-height:1;
  }
  .kg-navigation {
    order:3 !important;
    display:block !important;
    flex:1 1 auto;
    flex-basis:auto;
    width:auto;
    min-width:0;
    padding:0;
    overflow:hidden;
  }
  .kg-navigation ul {
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    width:max-content;
    max-width:none;
    overflow:visible;
    padding:0;
    white-space:nowrap;
  }
  .kg-navigation li { display:block !important; flex:0 0 auto; }
  .kg-navigation li:nth-child(n+4) { display:none !important; }
  .kg-navigation a { font-size:13px; font-weight:700; padding:9px 0; }
  .kg-cart { order:4 !important; flex:0 0 auto; margin-left:0; padding:0; }
  .kg-cart-total { display:none; }
  .kg-cart-icon { font-size:23px; }
  .kg-search { order:5 !important; flex-basis:100%; width:100%; }
  .kg-navigation.is-open {
    display:block !important;
    flex-basis:100%;
    width:100%;
    padding:10px 0 4px;
    overflow:visible;
    border-top:1px solid #eeeeee;
  }
  .kg-navigation.is-open ul {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    width:100%;
    padding:0;
    overflow:visible;
    white-space:normal;
  }
  .kg-navigation.is-open li,
  .kg-navigation.is-open li:nth-child(n+4) {
    display:block !important;
    width:100%;
  }
  .kg-navigation.is-open a {
    display:block;
    width:100%;
    padding:10px 4px;
    font-size:15px;
    border-bottom:1px solid #f0f0f0;
  }
}
@media (max-width:420px) {
  .kg-mainbar { padding-left:10px; padding-right:10px; gap:7px; }
  .kg-brand img { max-width:96px; }
  .kg-navigation ul { gap:8px; }
  .kg-navigation a { font-size:11px; }
  .kg-navigation.is-open a { font-size:14px; }
}

/* Product action row alignment: slightly narrower Order Now and cart kept inside the card. */
.woocommerce ul.products li.product .kg-product-actions {
  justify-content:flex-start;
  gap:8px;
  width:100%;
  overflow:visible;
}
.woocommerce ul.products li.product .kg-order-now {
  flex:0 1 calc(100% - 50px);
  max-width:calc(100% - 50px);
  min-width:0;
}
.woocommerce ul.products li.product .kg-cart-action {
  flex:0 0 34px;
  margin-left:0;
  margin-right:0;
}
@media (max-width:520px) {
  .woocommerce ul.products li.product .kg-order-now {
    flex-basis:calc(100% - 46px);
    max-width:calc(100% - 46px);
  }
  .woocommerce ul.products li.product .kg-cart-action {
    flex-basis:32px;
    width:32px;
  }
}

/* Final cart visibility adjustment: reserve more room so the whole cart button stays inside. */
.woocommerce ul.products li.product .kg-order-now {
  flex-basis:calc(100% - 60px);
  max-width:calc(100% - 60px);
}
.woocommerce ul.products li.product .kg-cart-action {
  flex-shrink:0;
  transform:translateX(-2px);
}
@media (max-width:520px) {
  .woocommerce ul.products li.product .kg-order-now {
    flex-basis:calc(100% - 56px);
    max-width:calc(100% - 56px);
  }
  .woocommerce ul.products li.product .kg-cart-action { transform:translateX(-2px); }
}

/* Custom footer styling. */
.site-footer { display:none !important; }
.kg-custom-footer {
  margin-top:0;
  padding:54px 32px 0;
  background:#fff;
  color:#27302b;
  border-top:1px solid #edf1ee;
}
.kg-footer-grid {
  max-width:1480px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(260px,1.45fr) repeat(2,minmax(170px,.8fr)) minmax(250px,1.1fr);
  gap:42px;
}
.kg-footer-logo img { max-width:235px; max-height:82px; width:auto; height:auto; }
.kg-footer-title { color:var(--kg-green); font-size:32px; font-weight:800; text-decoration:none; }
.kg-footer-brand p { max-width:340px; margin:22px 0 18px; color:#66716a; font-size:16px; line-height:1.65; }
.kg-footer-facebook { display:inline-flex; align-items:center; color:var(--kg-green); font-weight:700; text-decoration:none; }
.kg-footer-column { display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.kg-footer-column h3 { margin:0 0 12px; color:#1d2520; font-size:22px; line-height:1.2; }
.kg-footer-column a, .kg-footer-column p { margin:0; color:#424b45; font-size:16px; line-height:1.45; text-decoration:none; }
.kg-footer-column a:hover, .kg-footer-facebook:hover { color:var(--kg-orange); }
.kg-footer-column a::before { content:'›'; margin-right:10px; color:var(--kg-green); font-weight:800; }
.kg-footer-contact p, .kg-footer-contact a { display:flex; align-items:flex-start; gap:12px; }
.kg-footer-contact p::before, .kg-footer-contact a::before { display:none; }
.kg-footer-contact span { min-width:18px; color:var(--kg-green); font-weight:800; text-align:center; }
.kg-footer-bottom { max-width:1480px; margin:44px auto 0; padding:18px 0 20px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid #edf1ee; color:#7b847e; font-size:13px; }
@media (max-width:820px) {
  .kg-custom-footer { padding:38px 18px 0; }
  .kg-footer-grid { grid-template-columns:1fr 1fr; gap:30px 22px; }
  .kg-footer-brand { grid-column:1 / -1; }
  .kg-footer-brand p { max-width:100%; margin-top:14px; font-size:14px; }
  .kg-footer-logo img { max-width:180px; max-height:64px; }
  .kg-footer-column h3 { font-size:18px; }
  .kg-footer-column a, .kg-footer-column p { font-size:14px; }
  .kg-footer-bottom { margin-top:30px; flex-direction:column; gap:7px; font-size:12px; }
}
@media (max-width:420px) {
  .kg-custom-footer { padding-left:14px; padding-right:14px; }
  .kg-footer-grid { grid-template-columns:1fr; gap:26px; }
  .kg-footer-brand, .kg-footer-column { grid-column:auto; }
}

/* Mobile footer columns: Quick Link, Support, and Contact side by side. */
@media (max-width:820px) {
  .kg-footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 12px; }
  .kg-footer-brand { grid-column:1 / -1; }
  .kg-footer-column { min-width:0; }
  .kg-footer-column h3 { font-size:16px; white-space:nowrap; }
  .kg-footer-column a, .kg-footer-column p { font-size:11px; line-height:1.35; overflow-wrap:anywhere; }
  .kg-footer-column a::before { margin-right:4px; }
  .kg-footer-contact p, .kg-footer-contact a { gap:4px; }
  .kg-footer-contact span { min-width:12px; }
}
@media (max-width:420px) {
  .kg-footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px 8px; }
  .kg-footer-brand { grid-column:1 / -1; }
  .kg-footer-column h3 { font-size:14px; }
  .kg-footer-column a, .kg-footer-column p { font-size:10px; }
}

/* Standalone All Products page. */
.kg-products-page { max-width:1240px; margin:0 auto; padding:54px 28px 70px; color:var(--kg-green); }
.kg-products-intro { max-width:760px; margin:0 auto 34px; text-align:center; }
.kg-products-kicker { display:inline-block; margin-bottom:10px; color:var(--kg-orange); font-size:12px; font-weight:900; letter-spacing:1.6px; }
.kg-products-intro h1 { margin:0 0 12px; color:var(--kg-green); font-size:clamp(32px,4vw,52px); line-height:1.1; font-weight:900; }
.kg-products-intro p { margin:0; color:#64736b; font-size:17px; line-height:1.65; }
.kg-products-list { width:100%; }
.kg-products-list ul.products { width:100%; max-width:none; margin:0; display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.kg-products-list ul.products li.product { width:auto !important; float:none !important; margin:0 !important; }
.woocommerce .kg-products-archive-intro { max-width:760px; margin:48px auto 30px; padding:0 20px; text-align:center; }
@media (max-width:900px) {
  .kg-products-page { padding:38px 16px 54px; }
  .kg-products-list ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .kg-products-intro p { font-size:15px; }
}
@media (max-width:520px) {
  .kg-products-page { padding:28px 14px 42px; }
  .kg-products-intro { margin-bottom:24px; }
  .kg-products-intro h1 { font-size:30px; }
  .kg-products-intro p { font-size:14px; line-height:1.5; }
  .kg-products-kicker { font-size:10px; }
  .kg-products-list ul.products { gap:10px; }
}

/* Right-side cart drawer. */
.kg-cart-overlay { position:fixed; inset:0; z-index:99998; background:rgba(0,0,0,.58); opacity:0; visibility:hidden; transition:opacity .25s ease,visibility .25s ease; }
.kg-cart-drawer { position:fixed; top:0; right:0; z-index:99999; display:flex; flex-direction:column; width:min(430px,92vw); height:100vh; padding:38px 28px 28px; background:#fff; box-shadow:-8px 0 28px rgba(0,0,0,.16); transform:translateX(105%); transition:transform .3s ease; overflow-y:auto; }
body.kg-cart-drawer-open { overflow:hidden; }
body.kg-cart-drawer-open .kg-cart-overlay { opacity:1; visibility:visible; }
body.kg-cart-drawer-open .kg-cart-drawer { transform:translateX(0); }
.kg-cart-drawer-close { position:absolute; top:12px; right:18px; width:42px; height:42px; border:0; background:transparent; color:#737373; font-size:42px; font-weight:300; line-height:1; cursor:pointer; }
.kg-cart-drawer-head { display:flex; flex-direction:column; align-items:center; padding:8px 0 24px; }
.kg-cart-drawer-head h2 { margin:0; color:var(--kg-green); font-size:27px; font-weight:900; letter-spacing:1px; text-transform:uppercase; }
.kg-cart-drawer-head span { display:block; width:54px; height:5px; margin-top:18px; border-radius:4px; background:var(--kg-green); }
.kg-cart-drawer-body { flex:1 1 auto; }
.kg-cart-drawer-items { border-top:1px solid #f0f0f0; }
.kg-cart-drawer-item { position:relative; display:grid; grid-template-columns:108px 1fr 28px; gap:16px; align-items:center; padding:18px 0; border-bottom:1px solid #f0f0f0; }
.kg-cart-drawer-thumb { display:flex; align-items:center; justify-content:center; width:108px; height:108px; background:#fafafa; }
.kg-cart-drawer-thumb img { display:block; width:100%; height:100%; object-fit:contain; }
.kg-cart-drawer-item-info { min-width:0; }
.kg-cart-drawer-item-name { display:block; color:#242b26; font-size:19px; line-height:1.35; text-decoration:none; }
.kg-cart-drawer-item-meta { margin-top:10px; color:#6d756f; font-size:15px; }
.kg-cart-drawer-item-meta strong { color:#333; font-size:16px; }
.kg-cart-drawer-remove { display:flex; align-items:center; justify-content:center; width:28px; height:28px; border:2px solid #d8d8d8; border-radius:50%; color:#aaa; font-size:20px; line-height:1; text-decoration:none; }
.kg-cart-drawer-remove:hover { border-color:var(--kg-orange); color:var(--kg-orange); }
.kg-cart-drawer-subtotal { display:flex; justify-content:space-between; gap:14px; margin-top:20px; padding:18px 0; border-bottom:1px solid #e8e8e8; color:#222; font-size:18px; }
.kg-cart-drawer-subtotal strong { color:#222; font-size:21px; }
.kg-cart-drawer-actions { display:grid; gap:12px; margin-top:25px; }
.kg-cart-drawer-actions a { display:flex; align-items:center; justify-content:center; min-height:58px; color:#fff; font-size:18px; text-decoration:none; }
.kg-cart-drawer-view { background:var(--kg-green); }
.kg-cart-drawer-checkout { background:var(--kg-orange); }
.kg-cart-drawer-actions a:hover, .kg-cart-drawer-empty-link:hover { filter:brightness(.94); color:#fff; }
.kg-cart-drawer-empty { margin:32px 0 22px; color:#68736c; font-size:18px; text-align:center; }
.kg-cart-drawer-empty-link { display:flex; align-items:center; justify-content:center; min-height:54px; color:#fff; text-decoration:none; }
@media (max-width:520px) {
  .kg-cart-drawer { width:calc(100vw - 62px); min-width:0; padding:34px 18px 22px; }
  .kg-cart-drawer-item { grid-template-columns:82px minmax(0,1fr) 26px; gap:10px; padding:15px 0; }
  .kg-cart-drawer-thumb { width:82px; height:82px; }
  .kg-cart-drawer-item-name { font-size:15px; }
  .kg-cart-drawer-item-meta { margin-top:7px; font-size:13px; }
  .kg-cart-drawer-item-meta strong { font-size:14px; }
  .kg-cart-drawer-head h2 { font-size:24px; }
  .kg-cart-drawer-subtotal { font-size:16px; }
  .kg-cart-drawer-subtotal strong { font-size:18px; }
  .kg-cart-drawer-actions a { min-height:52px; font-size:16px; }
}

/* Cart drawer refinement: approximately two-thirds of the viewport, with reference-sized actions. */
.kg-cart-drawer { width:66.6667vw; max-width:720px; min-width:0; padding:38px 28px 28px; }
.kg-cart-drawer-actions { gap:12px; margin-top:25px; }
.kg-cart-drawer-actions a { width:100%; min-height:58px; border-radius:0; font-size:18px; font-weight:600; letter-spacing:.1px; }
.kg-cart-drawer-view { background:var(--kg-green); }
.kg-cart-drawer-checkout { background:var(--kg-orange); }
@media (max-width:520px) {
  .kg-cart-drawer { width:66.6667vw; max-width:none; min-width:0; padding:34px 18px 22px; }
  .kg-cart-drawer-actions a { min-height:58px; font-size:16px; }
}

/* Amzad-style drawer item row: remove, image, details/price, quantity. */
.kg-cart-drawer-item { grid-template-columns:32px 92px minmax(0,1fr) 58px; gap:14px; align-items:center; padding:20px 0; }
.kg-cart-drawer-remove { grid-column:1; grid-row:1; width:30px; height:30px; }
.kg-cart-drawer-thumb { grid-column:2; grid-row:1; width:92px; height:92px; background:#fff; }
.kg-cart-drawer-item-info { grid-column:3; grid-row:1; align-self:center; }
.kg-cart-drawer-item-name { font-size:17px; line-height:1.3; }
.kg-cart-drawer-item-meta { margin-top:8px; font-size:14px; }
.kg-cart-drawer-item-meta strong { font-size:16px; }
.kg-cart-drawer-quantity { grid-column:4; grid-row:1; display:flex; align-items:center; justify-content:center; min-width:54px; min-height:48px; border:1px solid #ddd; background:#fff; color:#333; font-size:16px; }
@media (max-width:520px) {
  .kg-cart-drawer-item { grid-template-columns:30px 76px minmax(0,1fr) 46px; gap:8px; padding:17px 0; }
  .kg-cart-drawer-remove { width:28px; height:28px; }
  .kg-cart-drawer-thumb { width:76px; height:76px; }
  .kg-cart-drawer-item-name { font-size:14px; }
  .kg-cart-drawer-item-meta { margin-top:6px; font-size:12px; }
  .kg-cart-drawer-item-meta strong { font-size:13px; }
  .kg-cart-drawer-quantity { min-width:42px; min-height:42px; font-size:14px; }
}

/* Mobile View Cart: Amzad-style product rows with image, name/price, quantity and subtotal. */
.kg-cart-inline-price { display:none; }
@media (max-width:900px) {
  .woocommerce-cart .woocommerce { padding:0 20px; }
  .woocommerce-cart .woocommerce-cart-form { width:100%; }
  .woocommerce-cart table.shop_table { display:block; width:100%; margin:0; border:0; background:#f7f7f7; }
  .woocommerce-cart table.shop_table thead { display:none; }
  .woocommerce-cart table.shop_table tbody { display:block; }
  .woocommerce-cart table.shop_table tr.cart_item { position:relative; display:grid; grid-template-columns:76px minmax(0,1fr) 78px; grid-template-areas:"remove name quantity" "remove price quantity" "remove subtotal quantity"; align-items:center; gap:0 14px; margin:0 0 14px; padding:18px 14px; border:1px solid #e5e5e5; background:#fafafa; }
  .woocommerce-cart table.shop_table td { display:block; width:auto !important; padding:13px 0; border:0; border-bottom:1px solid #e6e6e6; background:transparent; vertical-align:middle; }
  .woocommerce-cart table.shop_table td.product-remove { grid-area:remove; align-self:start; padding:0; border:0; }
  .woocommerce-cart table.shop_table td.product-remove a { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border:2px solid #d9d9d9; border-radius:50%; color:#bbb !important; font-size:24px; line-height:1; }
  .woocommerce-cart table.shop_table td.product-thumbnail { display:block !important; grid-area:remove; align-self:center; margin-top:50px; padding:0; border:0; }
  .woocommerce-cart table.shop_table td.product-thumbnail a, .woocommerce-cart table.shop_table td.product-thumbnail img { display:block; width:76px; height:76px; margin:0; object-fit:contain; }
  .woocommerce-cart table.shop_table td.product-name { grid-area:name; min-width:0; padding-top:2px; color:#222; font-size:16px; font-weight:700; }
  .woocommerce-cart table.shop_table td.product-name a { color:var(--kg-green); font-weight:800; text-decoration:underline; }
  .woocommerce-cart table.shop_table td.product-name .kg-cart-inline-price { display:block; margin-top:8px; color:#333; font-size:15px; font-weight:500; text-decoration:none; }
  .woocommerce-cart table.shop_table td.product-price { display:none; }
  .woocommerce-cart table.shop_table td.product-quantity { grid-area:quantity; align-self:center; padding:0; border:0; }
  .woocommerce-cart table.shop_table td.product-quantity::before { content:'Quantity:'; display:block; margin-bottom:8px; color:#222; font-size:14px; font-weight:800; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity { display:flex; align-items:center; justify-content:flex-end; gap:0; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-minus, .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-plus { display:none; }
  .woocommerce-cart table.shop_table td.product-quantity input.qty { width:48px; height:44px; min-width:48px; border:1px solid #d8d8d8; background:#fff; font-size:18px; text-align:center; }
  .woocommerce-cart table.shop_table td.product-subtotal { grid-area:subtotal; padding-bottom:2px; border-bottom:0; color:#333; font-size:15px; font-weight:700; }
  .woocommerce-cart table.shop_table td.product-subtotal::before { content:'Subtotal:'; margin-right:8px; color:#222; font-weight:800; }
  .woocommerce-cart .woocommerce-cart-form .actions { display:flex; width:100%; padding:16px 0; background:#fff; }
  .woocommerce-cart .cart-collaterals { margin-top:24px; }
}
@media (max-width:520px) {
  .woocommerce-cart .woocommerce { padding:0 20px; }
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:62px minmax(0,1fr) 64px; gap:0 10px; padding:16px 10px; }
  .woocommerce-cart table.shop_table td.product-thumbnail a, .woocommerce-cart table.shop_table td.product-thumbnail img { width:62px; height:62px; }
  .woocommerce-cart table.shop_table td.product-name { font-size:14px; }
  .woocommerce-cart table.shop_table td.product-name .kg-cart-inline-price { font-size:13px; }
  .woocommerce-cart table.shop_table td.product-quantity::before { font-size:12px; }
  .woocommerce-cart table.shop_table td.product-quantity input.qty { width:42px; min-width:42px; height:40px; font-size:16px; }
}

/* Final mobile cart quantity and row correction. */
@media (max-width:900px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:76px minmax(0,1fr) 124px; grid-template-areas:"remove name quantity" "remove subtotal quantity"; }
  .woocommerce-cart table.shop_table td.product-name::before { display:none !important; content:none !important; }
  .woocommerce-cart table.shop_table td.product-name { white-space:nowrap; overflow:visible; }
  .woocommerce-cart table.shop_table td.product-name a { display:inline-block; max-width:100%; white-space:nowrap; }
  .woocommerce-cart table.shop_table td.product-name .kg-cart-inline-price { display:inline-block; margin:0 0 0 12px; color:#333; font-size:15px; font-weight:500; white-space:nowrap; vertical-align:baseline; }
  .woocommerce-cart table.shop_table td.product-quantity { display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:7px; }
  .woocommerce-cart table.shop_table td.product-quantity::before { display:none; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity { display:flex; align-items:center; justify-content:flex-end; gap:0; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-minus, .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-plus { display:inline-flex; align-items:center; justify-content:center; width:30px; height:42px; padding:0; border:1px solid #d8d8d8; background:#fff; color:#555; font-size:20px; line-height:1; cursor:pointer; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity input.qty { width:42px; min-width:42px; height:42px; border:1px solid #d8d8d8; border-left:0; border-right:0; background:#fff; font-size:17px; text-align:center; }
  .woocommerce-cart table.shop_table td.product-subtotal { grid-area:subtotal; padding-top:10px; }
  .woocommerce-cart table.shop_table td.product-subtotal::before { display:none; }
  .woocommerce-cart table.shop_table td.product-subtotal .amount { font-size:15px; }
}
@media (max-width:520px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:62px minmax(0,1fr) 116px; gap:0 8px; }
  .woocommerce-cart table.shop_table td.product-name { font-size:14px; }
  .woocommerce-cart table.shop_table td.product-name .kg-cart-inline-price { margin-left:8px; font-size:13px; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-minus, .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-plus { width:26px; height:38px; font-size:18px; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity input.qty { width:38px; min-width:38px; height:38px; font-size:15px; }
}

/* Exact requested mobile cart row: line 1 = remove, image, name; line 2 = price, minus, quantity, plus. */
@media (max-width:900px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:62px minmax(0,1fr) 122px; grid-template-areas:"remove thumb name" "remove price quantity"; align-items:center; gap:0 10px; min-height:132px; }
  .woocommerce-cart table.shop_table td.product-remove { grid-area:remove; align-self:start; }
  .woocommerce-cart table.shop_table td.product-thumbnail { display:block !important; grid-area:thumb; align-self:start; margin:0; padding:0; border:0; }
  .woocommerce-cart table.shop_table td.product-thumbnail a, .woocommerce-cart table.shop_table td.product-thumbnail img { width:62px; height:62px; margin:0; object-fit:contain; }
  .woocommerce-cart table.shop_table td.product-name { grid-area:name; align-self:start; min-width:0; padding:4px 0 0; white-space:nowrap; overflow:hidden; font-size:15px; }
  .woocommerce-cart table.shop_table td.product-name::before { display:none !important; content:none !important; }
  .woocommerce-cart table.shop_table td.product-name a { display:block; max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--kg-green); font-weight:800; text-decoration:underline; }
  .woocommerce-cart table.shop_table td.product-name .kg-cart-inline-price { display:none !important; }
  .woocommerce-cart table.shop_table td.product-price { display:block; grid-area:price; align-self:center; padding:8px 0 0; border:0; color:#222; font-size:15px; font-weight:700; white-space:nowrap; }
  .woocommerce-cart table.shop_table td.product-price::before { display:none; }
  .woocommerce-cart table.shop_table td.product-quantity { grid-area:quantity; display:flex; align-items:center; justify-content:flex-end; padding:8px 0 0; border:0; }
  .woocommerce-cart table.shop_table td.product-quantity::before { display:none; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity { display:flex; align-items:center; justify-content:flex-end; gap:0; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-minus, .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-plus { display:inline-flex; align-items:center; justify-content:center; width:28px; height:38px; padding:0; border:1px solid #d8d8d8; background:#fff; color:#555; font-size:20px; line-height:1; cursor:pointer; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity input.qty { width:38px; min-width:38px; height:38px; border:1px solid #d8d8d8; border-left:0; border-right:0; background:#fff; font-size:16px; text-align:center; }
  .woocommerce-cart table.shop_table td.product-subtotal { display:none; }
}
@media (max-width:520px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:56px minmax(0,1fr) 112px; gap:0 8px; min-height:122px; padding:14px 8px; }
  .woocommerce-cart table.shop_table td.product-thumbnail a, .woocommerce-cart table.shop_table td.product-thumbnail img { width:56px; height:56px; }
  .woocommerce-cart table.shop_table td.product-name { font-size:14px; }
  .woocommerce-cart table.shop_table td.product-price { font-size:14px; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-minus, .woocommerce-cart table.shop_table td.product-quantity .quantity .kg-qty-plus { width:25px; height:36px; font-size:18px; }
  .woocommerce-cart table.shop_table td.product-quantity .quantity input.qty { width:36px; min-width:36px; height:36px; font-size:15px; }
}

/* Minimal mobile correction: move remove control beside the quantity controls on the right. */
@media (max-width:900px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:62px minmax(0,1fr) 122px 34px; grid-template-areas:"thumb name name name" "price price quantity remove"; }
  .woocommerce-cart table.shop_table td.product-remove { grid-area:remove; align-self:center; justify-self:end; }
  .woocommerce-cart table.shop_table td.product-thumbnail { grid-area:thumb; }
  .woocommerce-cart table.shop_table td.product-name { grid-area:name; }
  .woocommerce-cart table.shop_table td.product-price { grid-area:price; }
  .woocommerce-cart table.shop_table td.product-quantity { grid-area:quantity; }
}
@media (max-width:520px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:56px minmax(0,1fr) 112px 30px; }
}

/* Mobile cart detail spacing: product name directly above price, no extra gap. */
@media (max-width:900px) {
  .woocommerce-cart table.shop_table tr.cart_item { row-gap:0; }
  .woocommerce-cart table.shop_table td.product-name { align-self:end; margin:0; padding:0 0 1px; line-height:1.15; }
  .woocommerce-cart table.shop_table td.product-name a { line-height:1.15; }
  .woocommerce-cart table.shop_table td.product-price { align-self:start; margin:0; padding:0; line-height:1.15; }
  .woocommerce-cart table.shop_table td.product-price .amount { line-height:1.15; }
}

/* Approved preview layout: image spans both rows; name above price; quantity and remove on the right. */
@media (max-width:900px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:62px minmax(0,1fr) 122px 34px; grid-template-areas:"thumb name name name" "thumb price quantity remove"; column-gap:10px; row-gap:0; align-items:center; min-height:122px; }
  .woocommerce-cart table.shop_table td.product-thumbnail { grid-area:thumb; align-self:center; }
  .woocommerce-cart table.shop_table td.product-name { grid-area:name; align-self:end; padding:0 0 2px; line-height:1.15; }
  .woocommerce-cart table.shop_table td.product-price { grid-area:price; align-self:start; padding:2px 0 0; line-height:1.15; }
  .woocommerce-cart table.shop_table td.product-quantity { grid-area:quantity; align-self:start; padding:2px 0 0; }
  .woocommerce-cart table.shop_table td.product-remove { grid-area:remove; align-self:start; justify-self:end; padding:2px 0 0; }
}
@media (max-width:520px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:56px minmax(0,1fr) 112px 30px; column-gap:8px; min-height:116px; }
}

/* Shared-preview match: keep details in one middle column, quantity beside it, remove at far right. */
@media (max-width:900px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:62px minmax(0,1fr) 122px 34px; grid-template-areas:"thumb name quantity remove" "thumb price quantity remove"; column-gap:10px; row-gap:0; align-items:center; }
  .woocommerce-cart table.shop_table td.product-thumbnail { grid-area:thumb; align-self:center; }
  .woocommerce-cart table.shop_table td.product-name { grid-area:name; align-self:end; padding:0 0 2px; line-height:1.15; }
  .woocommerce-cart table.shop_table td.product-price { grid-area:price; align-self:start; padding:2px 0 0; line-height:1.15; }
  .woocommerce-cart table.shop_table td.product-quantity { grid-area:quantity; align-self:center; padding:0; }
  .woocommerce-cart table.shop_table td.product-remove { grid-area:remove; align-self:center; justify-self:end; padding:0; }
}
@media (max-width:520px) {
  .woocommerce-cart table.shop_table tr.cart_item { grid-template-columns:56px minmax(0,1fr) 112px 30px; column-gap:8px; }
}

/* Homepage-only visual system; all selectors are scoped to .kg-homepage. */
.kg-homepage{--kg-green:#164d3b;--kg-cream:#f7f4ed;--kg-paper:#fffdf9;--kg-brown:#774733;--kg-brown2:#9a6245;--kg-orange:#d88945;--kg-gold:#d9a64e;--kg-ink:#1e2d27;--kg-muted:#6f756e;--kg-line:#ddd9ce;background:var(--kg-paper);color:var(--kg-ink);font-family:'Noto Sans Bengali',sans-serif;line-height:1.65;overflow:hidden}.kg-homepage a{text-decoration:none}.kg-home-eyebrow{display:inline-flex;gap:8px;color:var(--kg-brown2);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.kg-home-eyebrow:before{content:'';width:24px;height:2px;margin-top:10px;background:var(--kg-orange)}.kg-homepage h1,.kg-homepage h2,.kg-homepage h3,.kg-homepage p{overflow-wrap:anywhere}.kg-home-hero{max-width:1240px;margin:28px auto 0;position:relative;aspect-ratio:7/3;background:var(--kg-cream);overflow:hidden}.kg-home-hero-copy{position:relative;z-index:4;width:43%;height:100%;padding:36px 34px 28px 48px;background:var(--kg-cream);overflow:hidden}.kg-home-hero-copy h1{margin:10px 0 14px;color:var(--kg-green);font-size:clamp(38px,4vw,56px);line-height:1.12;letter-spacing:-.04em}.kg-home-hero-copy h1 em,.kg-home-heading h2 em,.kg-home-story-copy h2 em,.kg-home-benefits h2 em,.kg-home-wholesale h2 em,.kg-home-contact h2 em{font-family:Georgia,serif;color:var(--kg-brown2);font-style:italic}.kg-home-hero-copy>p{max-width:470px;margin:0;color:var(--kg-muted);font-size:14px;line-height:1.5}.kg-home-hero-image{position:absolute;z-index:0;inset:0;overflow:hidden}.kg-home-hero-image:after{content:'';position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,var(--kg-cream) 0,var(--kg-cream) 36%,rgba(247,244,237,.08) 58%,transparent 70%),linear-gradient(0deg,rgba(22,77,59,.16),transparent 45%)}.kg-home-hero-image img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.82) contrast(.96)}.kg-home-badge{position:absolute;z-index:3;top:24px;right:22px;width:110px;height:110px;display:grid;place-items:center;text-align:center;border-radius:50%;background:var(--kg-orange);color:#fff;font-weight:800;line-height:1.3;transform:rotate(7deg)}.kg-home-caption{position:absolute;z-index:3;right:28px;bottom:18px;color:#fff;font:700 13px Georgia,serif}.kg-home-caption i{color:#f3c977}.kg-home-actions{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0 22px}.kg-home-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:10px 20px;border-radius:2px;font-weight:800}.kg-home-btn-primary{background:var(--kg-green);color:#fff}.kg-home-btn-dark{background:var(--kg-brown);color:#fff}.kg-home-btn-light{background:#fff;color:var(--kg-green)}.kg-home-text-link{align-self:center;color:var(--kg-green);font-weight:800;font-size:13px}.kg-home-proof{display:flex;flex-wrap:wrap;gap:12px 18px}.kg-home-proof span{display:flex;flex-direction:column;padding-right:16px;border-right:1px solid var(--kg-line);color:var(--kg-muted);font-size:10px}.kg-home-proof span:last-child{border:0}.kg-home-proof b{color:var(--kg-green);font-size:15px}.kg-home-trust{max-width:1184px;margin:auto;padding:20px 24px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--kg-line);border-top:0;background:#fff}.kg-home-trust>div{padding:0 16px;border-right:1px solid var(--kg-line)}.kg-home-trust>div:last-child{border:0}.kg-home-trust b,.kg-home-trust small{display:block}.kg-home-trust b{color:var(--kg-green);font-size:13px}.kg-home-trust small{color:var(--kg-muted);font-size:10px}.kg-home-section,.kg-home-story,.kg-home-benefits,.kg-home-reviews{max-width:1184px;margin:auto;padding:84px 28px 42px}.kg-home-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.kg-home-heading h2,.kg-home-story-copy h2,.kg-home-benefits h2,.kg-home-wholesale h2,.kg-home-contact h2{margin:9px 0 0;color:var(--kg-green);font-size:clamp(30px,4vw,48px);line-height:1.2}.kg-home-heading>a{color:var(--kg-green);font-size:13px;font-weight:800;border-bottom:1px solid var(--kg-green)}.kg-home-products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.kg-home-product{border:1px solid var(--kg-line);background:#fff;overflow:hidden}.kg-home-product-image{height:250px;position:relative;padding:14px;background:var(--kg-cream)}.kg-home-product-image>span{position:absolute;z-index:1;top:12px;left:12px;padding:4px 8px;background:var(--kg-green);color:#fff;font-size:10px}.kg-home-product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.kg-home-add{position:absolute;bottom:10px;left:10px;right:10px;padding:8px;text-align:center;background:#fff;color:var(--kg-green);font-size:12px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.1)}.kg-home-product-info{padding:16px}.kg-home-product-info h3{margin:0 0 5px;font-size:15px}.kg-home-product-info h3 a{color:var(--kg-green)}.kg-home-product-info p{min-height:26px;margin:0 0 12px;color:var(--kg-muted);font-size:11px}.kg-home-product-info>strong{color:var(--kg-brown);font-size:17px}.kg-home-story{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;padding-top:50px}.kg-home-story-image{min-height:480px;overflow:hidden}.kg-home-story-image img{width:100%;height:100%;object-fit:cover;filter:saturate(.72) sepia(.1)}.kg-home-story-copy{display:flex;flex-direction:column;justify-content:center;padding:52px 9%;background:#efe8db;overflow:hidden}.kg-home-story-copy h2{font-size:clamp(31px,4vw,52px)}.kg-home-story-copy p{max-width:420px;margin:22px 0 26px;color:var(--kg-muted);font-size:14px}.kg-home-process{padding:86px 28px 78px;background:var(--kg-cream)}.kg-home-heading-center{max-width:1184px;margin:0 auto 34px;display:block;text-align:center}.kg-home-heading-center .kg-home-eyebrow{justify-content:center}.kg-home-heading-center p{color:var(--kg-muted);font-size:13px}.kg-home-process-grid{max-width:1184px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.kg-home-process-grid>div{min-height:250px;padding:20px;background:#fff;border:1px solid #e7e0d2;overflow:hidden}.kg-home-process-grid>div.active{background:var(--kg-green);color:#fff}.kg-home-process-grid b{display:block;color:var(--kg-orange);font:700 22px Georgia,serif}.kg-home-process-grid strong{display:block;margin:74px 0 4px;color:var(--kg-green);font-size:17px}.kg-home-process-grid p{margin:0;color:var(--kg-muted);font-size:11px}.kg-home-process-grid .active strong,.kg-home-process-grid .active p{color:#fff}.kg-home-process-grid .active b{color:#f3c977}.kg-home-benefits{display:grid;grid-template-columns:35% 65%;gap:55px;padding-top:86px;padding-bottom:86px}.kg-home-benefits>div:first-child p{margin-top:22px;color:var(--kg-muted);font-size:14px}.kg-home-benefit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--kg-line);border:1px solid var(--kg-line)}.kg-home-benefit-grid>div{padding:25px;background:#fff}.kg-home-benefit-grid b{color:var(--kg-orange);font:700 22px Georgia,serif}.kg-home-benefit-grid strong,.kg-home-benefit-grid p{display:block}.kg-home-benefit-grid strong{margin-top:10px;color:var(--kg-green);font-size:16px}.kg-home-benefit-grid p{margin:3px 0 0;color:var(--kg-muted);font-size:11px}.kg-home-wholesale{display:flex;align-items:end;justify-content:space-between;gap:45px;padding:82px max(28px,calc((100% - 1128px)/2));background:var(--kg-green);color:#fff;overflow:hidden}.kg-home-wholesale h2{color:#fff}.kg-home-wholesale h2 em{color:#f3c977}.kg-home-wholesale p{max-width:500px;color:#d9e5dc;font-size:14px}.kg-home-stats{display:flex;flex:0 0 auto}.kg-home-stats span{display:flex;flex-direction:column;padding:0 20px;border-left:1px solid rgba(255,255,255,.25);color:#d9e5dc;font-size:11px}.kg-home-stats b{color:#f3c977;font:700 24px Georgia,serif}.kg-home-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kg-home-review-grid blockquote{margin:0;padding:25px;border-top:3px solid var(--kg-orange);background:#f2eee5;color:var(--kg-green);font-size:13px}.kg-home-review-grid footer{display:block;margin-top:18px;color:var(--kg-muted);font-size:10px}.kg-home-contact{max-width:1128px;margin:0 auto 58px;padding:54px 62px;display:flex;align-items:center;justify-content:space-between;gap:35px;background:#e9dfcf;overflow:hidden}.kg-home-contact p{color:var(--kg-muted);font-size:13px}.kg-home-contact .kg-home-btn{flex:0 0 auto}
@media(max-width:900px){.kg-home-hero-copy{padding-left:30px}.kg-home-products-grid{grid-template-columns:repeat(2,1fr)}.kg-home-benefits{gap:30px}.kg-home-wholesale{padding-left:28px;padding-right:28px}.kg-home-stats span{padding:0 12px}.kg-home-review-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.kg-home-hero{margin:12px 12px 0;aspect-ratio:auto;display:flex;flex-direction:column-reverse}.kg-home-hero-image{position:relative;inset:auto;min-height:240px;aspect-ratio:7/3}.kg-home-hero-image:after{background:linear-gradient(90deg,var(--kg-cream) 0,var(--kg-cream) 42%,transparent 78%),linear-gradient(0deg,rgba(22,77,59,.12),transparent 45%)}.kg-home-hero-copy{width:100%;height:auto;padding:28px 23px 30px}.kg-home-hero-copy h1{font-size:38px}.kg-home-hero-copy>p{font-size:13px}.kg-home-trust{margin:0 12px;padding:15px 8px;grid-template-columns:repeat(2,1fr);gap:14px}.kg-home-trust>div{padding:0 8px;border:0}.kg-home-trust b{font-size:10px}.kg-home-trust small{font-size:8px}.kg-home-section,.kg-home-story,.kg-home-benefits,.kg-home-reviews{padding:62px 18px 28px}.kg-home-heading{display:block}.kg-home-heading>a{display:inline-block;margin-top:14px}.kg-home-products-grid{gap:10px}.kg-home-product-image{height:168px;padding:8px}.kg-home-product-info{padding:10px}.kg-home-product-info h3{font-size:12px}.kg-home-product-info p{font-size:9px;min-height:28px}.kg-home-product-info>strong{font-size:14px}.kg-home-add{font-size:9px;padding:6px}.kg-home-story{display:flex;flex-direction:column;padding-left:12px;padding-right:12px}.kg-home-story-image{min-height:260px}.kg-home-story-copy{padding:34px 24px}.kg-home-story-copy h2{font-size:37px}.kg-home-process{padding:62px 18px}.kg-home-process-grid{grid-template-columns:repeat(2,1fr);gap:9px}.kg-home-process-grid>div{min-height:210px;padding:15px}.kg-home-process-grid strong{margin-top:54px;font-size:14px}.kg-home-process-grid p{font-size:10px}.kg-home-benefits{display:block}.kg-home-benefit-grid{margin-top:25px}.kg-home-benefit-grid>div{padding:17px}.kg-home-benefit-grid strong{font-size:13px}.kg-home-benefit-grid p{font-size:10px}.kg-home-wholesale{display:block;padding:62px 24px}.kg-home-wholesale h2{font-size:36px}.kg-home-stats{margin-top:32px}.kg-home-stats span{padding:0 10px}.kg-home-stats b{font-size:18px}.kg-home-review-grid{display:flex;overflow:auto;margin:25px -18px 0;padding:0 18px}.kg-home-review-grid blockquote{min-width:260px}.kg-home-contact{margin:0 12px 42px;padding:34px 23px;display:block}.kg-home-contact h2{font-size:31px}.kg-home-contact .kg-home-btn{margin-top:22px}}


/* Banner refinement v1.0.44: mobile hero and story image only. */
@media (min-width:681px) {
  .kg-home-story { gap:0; padding-top:64px; }
  .kg-home-story-image { min-height:500px; }
  .kg-home-story-image img { object-position:center center; }
  .kg-home-story-copy { padding:56px clamp(34px,7vw,88px); }
}
@media (max-width:680px) {
  .kg-home-hero { display:flex; flex-direction:column; aspect-ratio:auto; margin:12px 12px 0; }
  .kg-home-hero-image { order:1; width:100%; min-height:230px; height:230px; aspect-ratio:auto; }
  .kg-home-hero-image img { object-position:center center; }
  .kg-home-hero-image:after { background:linear-gradient(0deg,rgba(22,77,59,.18),transparent 60%); }
  .kg-home-hero-copy { order:2; width:100%; padding:30px 22px 28px; }
  .kg-home-hero-copy h1 { font-size:clamp(32px,9vw,40px); line-height:1.15; }
  .kg-home-hero-copy > p { font-size:13px; line-height:1.65; }
  .kg-home-actions { margin-top:18px; margin-bottom:20px; }
  .kg-home-proof { gap:10px 12px; }
  .kg-home-proof span { padding-right:10px; font-size:9px; }
  .kg-home-proof b { font-size:13px; }
  .kg-home-story { padding-top:42px; }
  .kg-home-story-image { min-height:0; height:270px; }
  .kg-home-story-image img { object-position:center center; }
}


/* Mobile banner full-image fit v1.0.46. */
@media (max-width:680px) {
  .kg-home-hero-image {
    min-height:0;
    height:auto;
    aspect-ratio:1536 / 658;
    background:var(--kg-cream);
  }
  .kg-home-hero-image img {
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
  }
}
