/**
 * Khan Dry Fruit — Flutter user-app storefront parity + light performance polish.
 * Additive only. Bump ?v= when deploying.
 */
:root {
  --kdf-forest: #0f3d2e;
  --kdf-primary: #166534;
  --kdf-gold: #d4af37;
  --kdf-discount: #e11d48;
  --kdf-deal: #ea580c;
  --kdf-star: #f5b301;
  --kdf-page: #f7f8fa;
  --kdf-text: #222324;
  --kdf-muted: #a7a7a7;
  --kdf-radius: 14px;
  --kdf-radius-sm: 10px;
  --kdf-shadow: 0 2px 10px rgba(15, 61, 46, 0.08);
}

/* ---- Page ---- */
body.toolbar-enabled,
body#demo {
  background-color: var(--kdf-page);
  color: var(--kdf-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Product cards (Flutter ProductCardWidget) ---- */
.product-single-hover,
.flash_deal_product,
.for-featured-product .product-single-hover,
.__product-div,
.category-product,
.inline-page .product-single-hover {
  border-radius: var(--kdf-radius) !important;
  background: #fff !important;
  border: 1px solid rgba(167, 167, 167, 0.12) !important;
  box-shadow: var(--kdf-shadow) !important;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.18s ease;
}

.product-single-hover:hover,
.flash_deal_product:hover {
  box-shadow: 0 8px 22px rgba(15, 61, 46, 0.12) !important;
  transform: translateY(-1px);
}

.product-single-hover img,
.flash_deal_product img,
.__img-125px,
.for-featured-product img {
  object-fit: contain !important;
  background: #fff;
}

.for-discount-value,
.discount-badge {
  background: var(--kdf-discount) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}

.flash-product-price,
.product-price,
.category-single-product-price + span,
span.flash-product-price {
  color: var(--web-primary) !important;
  font-weight: 700 !important;
}

.flash-product-title,
.product-title,
a.flash-product-title {
  color: var(--kdf-text) !important;
  font-weight: 600 !important;
  line-height: 1.3;
}

.tio-star,
.tio-star-half {
  color: var(--kdf-star) !important;
}

/* ---- CTAs ---- */
.btn--primary,
.btn-primary,
.search_button,
.add-to-cart,
.buy_now {
  border-radius: var(--kdf-radius-sm) !important;
}

.btn--primary:hover,
.btn-primary:hover {
  filter: brightness(0.96);
}

.navbar-stuck-menu {
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.12);
}

.search_button {
  border-radius: 0 var(--kdf-radius-sm) var(--kdf-radius-sm) 0 !important;
}

/* ---- Payment (Flutter choose_payment look) ---- */
.cod-for-cart .card,
#cod-for-cart .card,
.checkout_details .card.cursor-pointer {
  border-radius: var(--kdf-radius-sm) !important;
  border: 1.5px solid rgba(22, 101, 52, 0.12) !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cod-for-cart .card:hover,
.checkout_details .card.cursor-pointer:hover {
  border-color: var(--web-primary) !important;
  background: rgba(22, 101, 52, 0.03);
}

.checkout_details .custom-radio:checked,
.checkout_details input[type="radio"]:checked {
  accent-color: var(--web-primary);
}

.checkout_details img[width="20"],
.checkout_details img[width="40"] {
  object-fit: contain;
}

/* Digital gateway tiles */
.checkout_details .payment_method,
.payment-list .card,
.gateway-card {
  border-radius: var(--kdf-radius-sm) !important;
}

/* ---- Address / location ---- */
#location_map_canvas,
#location_map_canvas_billing,
#map,
.map-canvas {
  border-radius: var(--kdf-radius) !important;
  overflow: hidden;
  border: 1px solid rgba(22, 101, 52, 0.12);
}

.checkout_details .form-control,
.account-address .form-control,
#add_new_address .form-control {
  border-radius: 10px !important;
}

.form-control:focus,
.custom-select:focus,
input:focus,
textarea:focus {
  border-color: var(--web-primary) !important;
  box-shadow: 0 0 0 0.15rem rgba(22, 101, 52, 0.18) !important;
}

/* ---- Reliability / promises ---- */
.shipping-method-system .shopping-method-icon {
  box-shadow: var(--kdf-shadow);
  border: 1px solid rgba(22, 101, 52, 0.08);
}

.shipping-method-system p {
  font-weight: 600;
  color: var(--kdf-forest);
}

/* ---- Footer / chrome ---- */
footer,
.footer,
.__footer {
  border-top: 1px solid rgba(22, 101, 52, 0.08);
}

.navbar-tool .navbar-tool-label {
  font-weight: 700;
}

.app-download-popup {
  border-radius: var(--kdf-radius);
  box-shadow: var(--kdf-shadow);
}

/* Keep payment gateways / Stripe widgets unharmed */
.stripe-button-el,
#payment-form,
.razorpay-payment-button {
  border-radius: inherit;
}

/* Instant feel — short transitions only */
a,
.btn,
.card,
.product-single-hover {
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- Flutter-style quick-add (+) — compact, bottom-right of card ---- */
.kdf-price-row {
  min-height: 28px;
  align-items: center !important;
  gap: 4px !important;
}

.kdf-price-accent {
  color: var(--web-primary, var(--kdf-primary)) !important;
  font-weight: 700 !important;
}

.kdf-quick-add {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--web-primary, var(--kdf-primary));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  box-shadow: 0 1px 3px rgba(15, 61, 46, 0.16);
  transition: transform 0.08s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.kdf-quick-add:hover,
.kdf-quick-add:focus {
  filter: brightness(1.05);
  outline: none;
}

.kdf-quick-add:active {
  transform: scale(0.9);
}

.kdf-quick-add__plus {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-top: -1px;
  pointer-events: none;
}

/* Desktop: slightly larger; eye overlay stays */
@media (min-width: 768px) {
  .kdf-quick-add {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 7px;
  }

  .kdf-quick-add__plus {
    font-size: 16px;
  }
}

/* ---- Mobile product cards = Flutter ProductCardWidget ---- */
@media (max-width: 767.98px) {
  /* Hide eye quick-view overlay; + by price is the Flutter CTA */
  .product-single-hover .quick-view > .btn-circle.action-product-quick-view,
  .product-single-hover .quick-view a.action-product-quick-view {
    display: none !important;
  }

  .product-single-hover,
  .flash_deal_product,
  .__product-div,
  .category-product {
    border-radius: 12px !important;
  }

  .product-single-hover .single-product-details,
  .product-single-hover .single-product-details.text-center {
    text-align: left !important;
    padding: 6px 8px 10px !important;
  }

  .product-single-hover .single-product-details h3,
  .product-single-hover .single-product-details h4.text-center,
  .product-single-hover .single-product-details .text-center {
    text-align: left !important;
  }

  .product-single-hover .single-product-details h3 a,
  .product-single-hover .single-product-details h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: var(--kdf-text) !important;
  }

  .product-single-hover .product-price,
  .product-single-hover .kdf-price-accent {
    font-size: 13px !important;
    justify-content: flex-start !important;
  }

  .product-single-hover .rating-show {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .product-single-hover .inline_product img,
  .product-single-hover img.border {
    border-radius: 8px !important;
    border-color: transparent !important;
  }

  .kdf-price-row {
    margin-top: 4px;
  }

  .kdf-quick-add {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    border-radius: 6px;
  }

  .kdf-quick-add__plus {
    font-size: 15px;
  }

  /* Tighter 2-col gaps like Flutter grid */
  .row > [class*="col-6"].product-with-bg,
  .row > .col-6.p-2,
  #ajax-products-view .col-6,
  .products-view .col-6 {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* ---- Flutter-style variation chips (250g / 500g / 1kg) ---- */
.kdf-var-title {
  font-size: 15px;
  color: var(--kdf-text);
}

.kdf-var-selected-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(22, 101, 52, 0.14);
  color: var(--web-primary, var(--kdf-primary));
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.kdf-var-chips {
  width: 100%;
  gap: 8px !important;
}

.kdf-var-chip-item {
  position: relative;
  min-width: 0;
  list-style: none;
}

.kdf-var-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kdf-var-chip {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  width: 100%;
  margin: 0 !important;
  padding: 10px 8px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(167, 167, 167, 0.35) !important;
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.kdf-var-chip__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--kdf-text);
  line-height: 1.15;
}

.kdf-var-chip__price {
  font-size: 12px;
  font-weight: 500;
  color: var(--kdf-muted);
  line-height: 1.1;
}

.kdf-var-chips input:checked + .kdf-var-chip {
  border: 2px solid var(--web-primary, var(--kdf-primary)) !important;
  background: rgba(22, 101, 52, 0.1) !important;
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.14);
}

.kdf-var-chips input:checked + .kdf-var-chip .kdf-var-chip__label,
.kdf-var-chips input:checked + .kdf-var-chip .kdf-var-chip__price {
  color: var(--web-primary, var(--kdf-primary));
  font-weight: 700;
}

.kdf-var-chips input:checked + .kdf-var-chip .kdf-var-chip__label::before {
  content: "✓";
  display: inline-block;
  margin-right: 4px;
  font-size: 12px;
}

.kdf-var-chips input:disabled + .kdf-var-chip,
.kdf-var-chip--oos {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Premium compact Quick Add card (centered, content-sized) ---- */
.kdf-qa-dialog {
  max-width: 380px !important;
  width: calc(100% - 28px) !important;
  margin: 0.75rem auto !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

#quick-view.modal-quick-view {
  padding: 0 !important;
  z-index: 1100 !important;
  pointer-events: none;
}

/* Only visible when Bootstrap adds .show — never force display or page stays stuck */
#quick-view.modal-quick-view.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow-y: auto !important;
  pointer-events: auto;
}

#quick-view.modal-quick-view.show .modal-dialog,
#quick-view.modal-quick-view.show .kdf-qa-content,
#quick-view.modal-quick-view.show .kdf-qa-close {
  pointer-events: auto;
  position: relative;
  z-index: 1101;
}

/* Quick-view overlay only — never raise every Bootstrap backdrop above dialogs */
.modal-backdrop.kdf-qa-backdrop,
.modal-backdrop.kdf-qa-backdrop.show {
  z-index: 1090 !important;
}

.modal-backdrop,
.modal-backdrop.show {
  z-index: 1040;
}

#login-alert-modal {
  z-index: 1210 !important;
  pointer-events: auto;
}

#login-alert-modal .modal-dialog,
#login-alert-modal .modal-content {
  pointer-events: auto;
  position: relative;
  z-index: 1211;
}

#popup-modal {
  z-index: 1120 !important;
}

body:has(#popup-modal.show) .modal-backdrop {
  z-index: 1110 !important;
}

/* Never block scroll/clicks with the full-page loader overlay */
#loading,
#loading.d-grid,
#loading.d--none {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

#global-loader {
  display: none !important;
  pointer-events: none !important;
}

#quick-view.modal-quick-view.show .modal-dialog.kdf-qa-dialog {
  transform: none !important;
  animation: kdfQaIn 0.18s ease-out;
}

@keyframes kdfQaIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

#quick-view .modal-content.kdf-qa-content,
#quick-view .modal-content {
  border-radius: 16px !important;
  border: 0 !important;
  overflow: hidden;
  max-height: none !important;
  height: auto !important;
  box-shadow: 0 16px 48px rgba(15, 61, 46, 0.22) !important;
}

.kdf-qa-sheet {
  position: relative;
  padding: 18px 16px 14px !important;
  background: #fff;
}

.kdf-qa-handle {
  display: none !important;
}

.kdf-qa-close {
  position: absolute !important;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #0f3d2e !important;
  color: #fff !important;
  z-index: 20 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.25);
  cursor: pointer;
  pointer-events: auto !important;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.kdf-qa-close:hover,
.kdf-qa-close:focus {
  filter: brightness(1.08);
  outline: none;
  transform: scale(1.05);
}

.kdf-qa-close:active {
  transform: scale(0.94);
}

.kdf-qa-product {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  margin: 0 0 10px;
  padding-right: 36px;
  border: 1px solid rgba(167, 167, 167, 0.2);
  border-radius: 12px;
  background: #fafbfa;
}

.kdf-qa-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 101, 52, 0.1);
}

.kdf-qa-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kdf-qa-meta {
  min-width: 0;
  flex: 1;
}

.kdf-qa-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--kdf-text) !important;
  margin-bottom: 2px;
  padding-right: 4px;
}

.kdf-qa-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 1px;
}

.kdf-qa-stock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  position: relative;
}

.kdf-qa-stock-dot::after {
  content: "✓";
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kdf-qa-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  margin-bottom: 1px;
}

.kdf-qa-muted {
  color: var(--kdf-muted);
}

.kdf-qa-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.kdf-qa-price {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--web-primary, var(--kdf-primary)) !important;
}

.kdf-qa-price-old {
  font-size: 11px;
  color: var(--kdf-muted);
}

.kdf-qa-section {
  margin-bottom: 10px;
}

.kdf-var-chips {
  gap: 6px !important;
}

.kdf-var-chip {
  min-height: 52px !important;
  padding: 8px 6px !important;
  border-radius: 12px !important;
}

.kdf-var-chip__label {
  font-size: 13px;
}

.kdf-var-chip__price {
  font-size: 11px;
}

.kdf-qa-qty-box {
  width: 112px;
  height: 34px;
}

.kdf-qa-qty-box .btn-number {
  width: 30px;
  padding: 0;
  height: 100%;
}

.kdf-qa-qty-box .input-number {
  height: 100%;
  font-size: 13px;
  font-weight: 600;
}

.kdf-qa-actions {
  display: flex !important;
  gap: 8px;
  margin-top: 2px;
  padding-top: 2px;
}

.kdf-qa-actions .btn {
  border-radius: 12px !important;
  min-height: 42px;
  font-weight: 700;
}

/* Quick-view loading skeleton (never empty white bar) */
#quick-view-modal .kdf-qa-skeleton {
  min-height: 280px;
  padding: 18px 16px 16px !important;
}

.kdf-qa-skeleton__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.kdf-qa-skeleton__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(90deg, #eef2ef 25%, #e2e8e4 50%, #eef2ef 75%);
  background-size: 200% 100%;
  animation: kdfSkel 1.1s ease-in-out infinite;
}

.kdf-qa-skeleton__lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.kdf-qa-skeleton__lines span {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef2ef 25%, #e2e8e4 50%, #eef2ef 75%);
  background-size: 200% 100%;
  animation: kdfSkel 1.1s ease-in-out infinite;
}

.kdf-qa-skeleton__lines span:nth-child(1) { width: 88%; }
.kdf-qa-skeleton__lines span:nth-child(2) { width: 55%; }
.kdf-qa-skeleton__lines span:nth-child(3) { width: 40%; height: 16px; }

.kdf-qa-skeleton__chips {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.kdf-qa-skeleton__chips span {
  height: 44px;
  flex: 1;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef2ef 25%, #e2e8e4 50%, #eef2ef 75%);
  background-size: 200% 100%;
  animation: kdfSkel 1.1s ease-in-out infinite;
}

.kdf-qa-skeleton__btn {
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(90deg, #cfe3d5 25%, #b7d4c2 50%, #cfe3d5 75%);
  background-size: 200% 100%;
  animation: kdfSkel 1.1s ease-in-out infinite;
}

.kdf-qa-skeleton__hint {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

@keyframes kdfSkel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Quick-add / Add to cart button loading + success */
.product-add-to-cart-button.kdf-atc-is-loading,
.product-add-to-cart-button.kdf-atc-is-success,
#quick-view .product-add-to-cart-button.kdf-atc-is-loading,
#quick-view .product-add-to-cart-button.kdf-atc-is-success {
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

.product-add-to-cart-button.kdf-atc-is-loading {
  background: linear-gradient(90deg, #0f3d2e 0%, #166534 45%, #1a7a42 100%) !important;
  border-color: transparent !important;
}

.product-add-to-cart-button.kdf-atc-is-success {
  background: #15803d !important;
  border-color: #15803d !important;
}

.kdf-atc-loading-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.kdf-atc-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: kdfAtcSpin 0.55s linear infinite;
  flex-shrink: 0;
}

.kdf-atc-basket {
  flex-shrink: 0;
  opacity: 0.95;
  animation: kdfAtcBounce 0.9s ease-in-out infinite;
}

.kdf-atc-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.kdf-atc-loading-text {
  font-size: 14px;
}

@keyframes kdfAtcSpin {
  to { transform: rotate(360deg); }
}

@keyframes kdfAtcBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

#quick-view .product-add-to-cart-button.kdf-atc-is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 45%,
    transparent 60%
  );
  animation: kdfAtcShimmer 1.1s ease-in-out infinite;
}

@keyframes kdfAtcShimmer {
  from { transform: translateX(-60%); }
  to { transform: translateX(60%); }
}

/* Never stretch as empty bottom sheet */
#quick-view.modal-quick-view .modal-dialog.kdf-qa-dialog {
  margin: 0.75rem auto !important;
  max-width: 380px !important;
  width: calc(100% - 28px) !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  transform: none !important;
}

@media (max-width: 767.98px) {
  .kdf-qa-dialog {
    max-width: 360px !important;
  }

  #quick-view .modal-content {
    max-height: none !important;
  }
}

/* ---- Floating View Cart bar (Flutter mini-cart) ---- */
.kdf-mini-cart {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.kdf-mini-cart.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kdf-mini-cart__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 10px;
  border-radius: 16px;
  background: #0f3d2e;
  box-shadow: 0 8px 24px rgba(15, 61, 46, 0.35);
  color: #fff;
}

.kdf-mini-cart__icon-wrap {
  position: relative;
  flex-shrink: 0;
}

.kdf-mini-cart__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d4af37;
  color: #0b3d2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.kdf-mini-cart__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10px;
  background: #166534;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.kdf-mini-cart__text {
  flex: 1;
  min-width: 0;
}

.kdf-mini-cart__title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}

.kdf-mini-cart__total {
  font-size: 12px;
  font-weight: 700;
  color: #d4af37;
  margin-top: 2px;
  line-height: 1.15;
}

.kdf-mini-cart__btn {
  flex-shrink: 0;
  background: #d4af37;
  color: #0b3d2e !important;
  border-radius: 22px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}

.kdf-mini-cart__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

/* Push bar above WhatsApp FAB a bit */
body .floating-btn-grp {
  bottom: 84px;
}

/* Do not use content-visibility here — iOS Safari mis-hit-tests and
   scroll/taps get stuck (page jumps, clicks miss). */

/* Hide global page loader during quick-add interactions */
body.kdf-qa-open #loading {
  display: none !important;
}

/* ---- Mobile checkout + payment (Flutter-like) ---- */
@media (max-width: 767.98px) {
  .checkout_details .card {
    border-radius: 12px !important;
    border: 1px solid rgba(22, 101, 52, 0.12) !important;
    box-shadow: none !important;
  }

  .checkout_details .form-control,
  .checkout_details .custom-select,
  .checkout_details select {
    min-height: 44px;
    border-radius: 10px !important;
    font-size: 14px;
  }

  .checkout_details label {
    font-weight: 600;
    font-size: 13px;
  }

  .cod-for-cart .card,
  .checkout_details .digital_payment .card,
  .payment-list .card {
    border-radius: 12px !important;
    border: 1.5px solid rgba(22, 101, 52, 0.14) !important;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .cod-for-cart .card:has(input:checked),
  .checkout_details .digital_payment .card:has(input:checked) {
    border-color: var(--web-primary, #166534) !important;
    background: rgba(22, 101, 52, 0.05);
  }

  .checkout_details .btn--primary,
  .checkout_details .btn-primary {
    min-height: 46px;
    border-radius: 12px !important;
    font-weight: 700;
  }

  .__cart-total,
  .__cart-total_sticky {
    border-radius: 12px;
    border: 1px solid rgba(22, 101, 52, 0.1);
  }
}

.kdf-use-location {
  border: 1px solid rgba(22, 101, 52, 0.22);
  background: rgba(22, 101, 52, 0.06);
  color: var(--web-primary, #166534);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.kdf-use-location:disabled {
  opacity: 0.65;
}

.kdf-use-location-hint,
.kdf-location-cta__hint {
  font-size: 12px;
  color: #4b5563;
  margin: 0;
}

.kdf-use-location-hint.is-error,
.kdf-location-cta__hint.is-error {
  color: #b45309;
}

.kdf-location-cta {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(22, 101, 52, 0.28);
  background: rgba(22, 101, 52, 0.07);
  color: inherit;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 6;
}

.kdf-location-cta:hover,
.kdf-location-cta:focus {
  border-color: var(--web-primary, #166534);
  background: rgba(22, 101, 52, 0.12);
  outline: none;
}

.kdf-location-cta:disabled {
  opacity: 0.7;
  cursor: wait;
}

.kdf-location-cta.is-error {
  border-color: #f0b429;
  background: #fffbeb;
}

.kdf-location-cta__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(22, 101, 52, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.kdf-location-cta__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kdf-location-cta__title {
  font-size: 14px;
  font-weight: 700;
  color: #0f3d2e;
}

.kdf-location-cta__chevron {
  font-size: 22px;
  line-height: 1;
  color: var(--web-primary, #166534);
  flex-shrink: 0;
}

.kdf-checkout-flow .checkout_details .form-group {
  margin-bottom: 12px;
}

.kdf-checkout-flow .checkout_details .__card,
.kdf-checkout-flow .checkout_details .list-group-item {
  border: 1px solid rgba(22, 101, 52, 0.16) !important;
  border-radius: 16px !important;
  background: #fff;
}

.kdf-checkout-flow .checkout_details .list-group-item {
  padding: 16px 16px 12px;
}

.kdf-checkout-flow .checkout_details label {
  font-weight: 600;
  font-size: 13px;
  color: #0f3d2e;
}

.kdf-checkout-flow .checkout_details .form-control,
.kdf-checkout-flow .checkout_details select,
.kdf-checkout-flow .checkout_details textarea,
.kdf-checkout-flow .checkout_details .bootstrap-select > .dropdown-toggle {
  min-height: 46px;
  border-radius: 10px !important;
  border: 1.5px solid #b7c9bc !important;
  background: #f7faf7 !important;
  color: #111827 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

.kdf-checkout-flow .checkout_details .form-control:hover,
.kdf-checkout-flow .checkout_details select:hover,
.kdf-checkout-flow .checkout_details textarea:hover,
.kdf-checkout-flow .checkout_details .bootstrap-select > .dropdown-toggle:hover {
  border-color: #7ea88a !important;
  background: #fff !important;
}

.kdf-checkout-flow .checkout_details .form-control:focus,
.kdf-checkout-flow .checkout_details textarea:focus,
.kdf-checkout-flow .checkout_details select:focus,
.kdf-checkout-flow .checkout_details .bootstrap-select > .dropdown-toggle:focus {
  border-color: var(--web-primary, #166534) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.14) !important;
}

.kdf-checkout-flow .checkout_details textarea.form-control,
.kdf-checkout-flow .checkout_details .kdf-address-box {
  min-height: 88px;
  line-height: 1.45;
}

.kdf-checkout-flow .checkout_details .iti {
  width: 100% !important;
  display: block;
  border: 1.5px solid #b7c9bc !important;
  border-radius: 10px !important;
  background: #f7faf7 !important;
  overflow: hidden;
  pointer-events: auto !important;
  z-index: 3;
}

.kdf-checkout-flow .checkout_details .iti input.form-control {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-height: 46px;
}

.kdf-checkout-flow .checkout_details .iti:hover,
.kdf-checkout-flow .checkout_details .iti:focus-within {
  border-color: var(--web-primary, #166534) !important;
  background: #fff !important;
}

.kdf-checkout-flow .checkout_details input:-webkit-autofill,
.kdf-checkout-flow .checkout_details textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #f7faf7 inset !important;
  border: 1.5px solid #b7c9bc !important;
}

.kdf-checkout-flow .checkout_details .bootstrap-select {
  width: 100% !important;
  pointer-events: auto !important;
  z-index: 3;
}

.kdf-checkout-flow .checkout_details .bootstrap-select .dropdown-menu {
  z-index: 30 !important;
  pointer-events: auto !important;
}

.kdf-checkout-main-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.kdf-checkout-main-row > .col-lg-8 {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.kdf-checkout-main-row > .order-summery-aside {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.kdf-checkout-main-row > .order-summery-aside .__cart-total_sticky,
.kdf-checkout-main-row > .order-summery-aside .kdf-order-summary-card,
.kdf-checkout-main-row > .order-summery-aside a,
.kdf-checkout-main-row > .order-summery-aside button,
.kdf-checkout-main-row > .order-summery-aside input,
.kdf-checkout-main-row > .order-summery-aside select,
.kdf-checkout-main-row > .order-summery-aside textarea,
.kdf-checkout-main-row > .order-summery-aside form {
  pointer-events: auto;
}

.kdf-checkout-flow .floating-btn-grp {
  top: auto;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  right: 10px;
  left: auto;
}

.kdf-checkout-flow .btn-scroll-top,
.kdf-checkout-flow #app-banner {
  display: none !important;
}

.kdf-checkout-flow.kdf-keyboard-open .floating-btn-grp {
  display: none !important;
}

.kdf-checkout-flow .kdf-mini-cart {
  display: none !important;
}

.kdf-checkout-flow .bottom-sticky3 {
  z-index: 1040;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767.98px) {
  .kdf-checkout-flow {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .kdf-checkout-flow .checkout_details,
  .kdf-checkout-flow #cart-summary {
    padding-bottom: 24px;
  }

  .kdf-checkout-flow .checkout_details .form-control,
  .kdf-checkout-flow .checkout_details select,
  .kdf-checkout-flow .checkout_details textarea {
    scroll-margin-bottom: 140px;
  }
}

/* ---- Checkout stepper (dynamic step states) ---- */
.kdf-checkout-stepper__item {
  text-decoration: none !important;
  color: inherit;
}

.kdf-checkout-stepper__item.upcoming {
  pointer-events: none;
  opacity: 0.55;
}

.kdf-checkout-stepper__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--web-primary, #166534);
  line-height: 1;
}

.checkout-steps-custom .step.current .step-circle {
  background: var(--web-primary, #166534);
  border-color: var(--web-primary, #166534);
  box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.12);
}

.checkout-steps-custom .step.current .kdf-checkout-stepper__num {
  color: #fff;
}

.checkout-steps-custom .step.current .kdf-checkout-stepper__label {
  color: var(--web-primary, #166534) !important;
  font-weight: 700 !important;
}

.checkout-steps-custom .step.upcoming .step-circle {
  background: #fff;
  border-color: rgba(22, 101, 52, 0.2);
}

.checkout-steps-custom .step.upcoming .kdf-checkout-stepper__num {
  color: #9ca3af;
}

.checkout-steps-custom .step.upcoming .kdf-checkout-stepper__label {
  color: #9ca3af !important;
}

@media (max-width: 767.98px) {
  .checkout-steps-custom .step {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .checkout-steps-custom .kdf-checkout-stepper__label {
    font-size: 11px !important;
    line-height: 1.2;
    padding: 0 2px;
  }

  .checkout-steps-custom .step-circle {
    width: 26px;
    height: 26px;
  }
}

/* ---- Section headers ---- */
.kdf-checkout-section-head__hint,
.kdf-form-section-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.kdf-form-section-label {
  font-weight: 600;
  color: var(--web-primary, #166534);
  margin-top: 8px;
}

/* ---- Shipping method cards ---- */
.kdf-shipping-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 8;
  pointer-events: auto !important;
}

.kdf-shipping-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1.5px solid rgba(22, 101, 52, 0.16);
  border-radius: 12px;
  background: #fff;
  padding: 11px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  z-index: 9;
  pointer-events: auto !important;
  margin: 0;
  font: inherit;
  color: inherit;
}

.kdf-shipping-card:hover {
  border-color: rgba(22, 101, 52, 0.4);
  background: rgba(22, 101, 52, 0.03);
}

.kdf-shipping-cards .action-set-shipping-id,
.kdf-shipping-cards + .action-set-shipping-id {
  display: none !important;
}

.kdf-shipping-card.is-selected,
.kdf-shipping-card:has(.kdf-shipping-card__input:checked) {
  border-color: var(--web-primary, #166534);
  background: rgba(22, 101, 52, 0.06);
  box-shadow: 0 0 0 1px rgba(22, 101, 52, 0.1);
}

.kdf-shipping-card__input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid rgba(22, 101, 52, 0.28);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
  pointer-events: auto !important;
}

.kdf-shipping-card__input:checked {
  border-color: var(--web-primary, #166534);
  background: radial-gradient(circle, var(--web-primary, #166534) 0 5px, #fff 6px);
}

.kdf-shipping-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kdf-shipping-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.kdf-shipping-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.kdf-shipping-card__meta {
  font-size: 12px;
  color: #6b7280;
}

.kdf-shipping-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--web-primary, #166534);
  margin-left: auto;
  white-space: nowrap;
}

.kdf-shipping-card__badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--web-primary, #166534);
  background: rgba(22, 101, 52, 0.1);
  border-radius: 999px;
  padding: 2px 7px;
  flex-shrink: 0;
}

/* ---- Payment method cards ---- */
.kdf-payment-card-wrap {
  margin-bottom: 0;
}

.kdf-payment-card,
.checkout_details .digital_payment .kdf-payment-card {
  border-radius: 12px !important;
  border: 1.5px solid rgba(22, 101, 52, 0.14) !important;
  background: #fff !important;
  padding: 12px 14px !important;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-shadow: none !important;
  margin: 0 !important;
}

.kdf-payment-card:has(input:checked),
.checkout_details .digital_payment .kdf-payment-card:has(input:checked),
.cod-for-cart .kdf-payment-card:has(input:checked) {
  border-color: var(--web-primary, #166534) !important;
  background: rgba(22, 101, 52, 0.05) !important;
}

.checkout_details .digital_payment .col-sm-6 {
  margin-bottom: 10px;
}

/* ---- Cart polish ---- */
#cart-summary .__card,
#cart-summary .cart_information {
  border-radius: 12px !important;
  border: 1px solid rgba(22, 101, 52, 0.1) !important;
  box-shadow: none !important;
}

#cart-summary .select-method-border {
  border: 1px solid rgba(22, 101, 52, 0.1) !important;
  border-radius: 12px;
  padding: 12px;
}

.kdf-checkout-flow .checkout_details .form-control:focus,
.kdf-checkout-flow .checkout_details textarea:focus,
.kdf-checkout-flow .checkout_details select:focus {
  border-color: var(--web-primary, #166534) !important;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.12) !important;
}

/* ---- Order summary sidebar (premium) ---- */
.kdf-order-summary-card {
  background: #fff !important;
  border: 1px solid rgba(22, 101, 52, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(15, 61, 46, 0.08) !important;
  padding: 16px !important;
  overflow: hidden;
}

.kdf-order-summary__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(22, 101, 52, 0.08);
}

.kdf-order-summary__head-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(22, 101, 52, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.kdf-order-summary__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--kdf-forest, #0f3d2e);
  line-height: 1.2;
}

.kdf-order-summary__subtitle {
  font-size: 12px;
  color: #6b7280;
  margin: 4px 0 0;
  line-height: 1.35;
}

.kdf-order-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kdf-order-summary__row {
  font-size: 14px;
}

.kdf-order-summary__row .cart_title {
  color: #4b5563;
  font-weight: 500;
}

.kdf-order-summary__row .cart_value {
  font-weight: 600;
  color: #111827;
}

.kdf-order-summary__discount {
  color: #059669 !important;
}

.kdf-order-summary__total {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.08), rgba(22, 101, 52, 0.03));
  border: 1px solid rgba(22, 101, 52, 0.12);
}

.kdf-order-summary__total-label {
  font-size: 15px !important;
}

.kdf-order-summary__total-value {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--kdf-forest, #0f3d2e) !important;
}

.kdf-trust-panel {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--kdf-page, #f7f8fa);
  border: 1px solid rgba(22, 101, 52, 0.08);
}

.kdf-trust-panel__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--kdf-forest, #0f3d2e);
  margin: 0 0 12px;
}

.kdf-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kdf-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(22, 101, 52, 0.08);
  border-radius: 12px;
  padding: 10px;
  min-height: 56px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kdf-trust-item:hover {
  border-color: rgba(22, 101, 52, 0.2);
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.06);
}

.kdf-trust-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(22, 101, 52, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kdf-trust-item__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.kdf-trust-item__text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: #374151;
}

.kdf-order-summary__cta {
  min-height: 48px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.22);
  pointer-events: auto !important;
  cursor: pointer;
}

.kdf-mobile-checkout-bar,
.kdf-mobile-checkout-bar .action-checkout-function {
  pointer-events: auto !important;
}

.kdf-order-summary__cta.custom-disabled {
  box-shadow: none;
  opacity: 0.55;
}

.kdf-order-summary__back {
  color: var(--web-primary, #166534) !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
}

.kdf-mobile-checkout-bar {
  border-top: 1px solid rgba(22, 101, 52, 0.1) !important;
  box-shadow: 0 -8px 24px rgba(15, 61, 46, 0.1) !important;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 1040;
}

.kdf-mobile-checkout-bar__amount {
  color: var(--kdf-forest, #0f3d2e);
  font-size: 18px;
}

@media (max-width: 991.98px) {
  .order-summery-aside .kdf-trust-panel {
    margin-top: 12px;
  }

  .kdf-order-summary-card {
    margin-bottom: 88px;
  }
}

@media (min-width: 992px) {
  .kdf-trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Checkout stepper connectors ---- */
.kdf-checkout-stepper.checkout-steps-custom {
  gap: 0;
  padding: 8px 4px 12px;
}

.kdf-checkout-stepper.checkout-steps-custom .step {
  flex: 1;
  width: auto;
  min-width: 0;
}

.kdf-checkout-stepper.checkout-steps-custom .step .step-circle::before {
  width: calc(100% - 36px);
  inset-inline-start: calc(50% + 18px);
  border-top-style: solid;
  border-top-color: rgba(22, 101, 52, 0.15);
}

.kdf-checkout-stepper.checkout-steps-custom .step.completed .step-circle::before {
  border-top-color: var(--web-primary, #166534);
}

.checkout-steps-custom .step.current:not(.completed) .step-circle i {
  display: none !important;
}

.checkout-steps-custom .step.current:not(.completed) .kdf-checkout-stepper__num {
  display: inline !important;
}

.checkout-steps-custom .step.current .step-circle {
  box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.14);
}

/* ---- Homepage marketplace sections ---- */
.kdf-category-section__card {
  border-radius: 16px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: var(--kdf-shadow) !important;
}

.kdf-section-title {
  color: var(--kdf-forest, #0f3d2e) !important;
  font-size: 1.05rem !important;
}

.kdf-section-link {
  font-weight: 600 !important;
  font-size: 13px !important;
}

.kdf-category-chip .__img {
  border-radius: 50%;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(22, 101, 52, 0.08);
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kdf-category-chip:hover .__img {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 61, 46, 0.1);
}

.kdf-category-chip h3 {
  font-weight: 600 !important;
  color: #374151 !important;
}

.__inline-61 .section-card-margin .card,
.__inline-62 .card.__shadow {
  border-radius: 16px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: var(--kdf-shadow) !important;
}

.feature-product-title,
.deal-title,
.h5.fw-bold {
  color: var(--kdf-forest, #0f3d2e);
}

/* Flash deal / hero spacing */
.__inline-61 {
  gap: 16px !important;
}

@media (max-width: 767.98px) {
  .container.py-0.px-0 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ============================================================
   KDF Marketplace — site-wide premium layer (v18)
   ============================================================ */

/* ---- Header & navigation ---- */
.kdf-marketplace .navbar-sticky {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 101, 52, 0.08);
  box-shadow: 0 2px 16px rgba(15, 61, 46, 0.06);
}

.kdf-marketplace .topbar {
  background: var(--kdf-forest, #0f3d2e) !important;
  border-bottom: none;
}

.kdf-marketplace .topbar-link,
.kdf-marketplace .topbar .topbar-link span {
  color: rgba(255, 255, 255, 0.92) !important;
}

.kdf-marketplace .topbar .text-primary {
  color: var(--kdf-gold, #d4af37) !important;
}

.kdf-marketplace .search-bar-input,
.kdf-marketplace .appended-form-control {
  border-radius: 999px !important;
  border: 1.5px solid rgba(22, 101, 52, 0.12) !important;
  min-height: 42px;
  padding-left: 16px !important;
  background: #fff !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kdf-marketplace .search-bar-input:focus {
  border-color: var(--web-primary, #166534) !important;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1) !important;
}

.kdf-marketplace .search_button {
  border-radius: 999px !important;
  background: var(--web-primary, #166534) !important;
  border: none !important;
  min-width: 42px;
  min-height: 42px;
}

/* ---- View all links ---- */
.kdf-marketplace .view-all-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.06);
  color: var(--web-primary, #166534) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.kdf-marketplace .view-all-btn-text:hover {
  background: rgba(22, 101, 52, 0.12);
  transform: translateX(2px);
}

/* ---- Unified section headers ---- */
.kdf-section-head {
  margin-bottom: 4px;
}

.kdf-section-title {
  position: relative;
  color: var(--kdf-forest, #0f3d2e) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.kdf-home-section {
  margin-bottom: 4px;
}

.kdf-home-section .section-card-margin,
.kdf-home-section .__inline-62 > div > .card,
.kdf-deal-wrap,
.kdf-home-section--featured .section-card-margin {
  background: #fff;
  border-radius: 18px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: 0 4px 24px rgba(15, 61, 46, 0.07) !important;
  overflow: hidden;
}

/* ---- Hero banner ----
   Keep categories + banner side-by-side on desktop.
   Border on the menu made the column ~2px wider than flex-basis 254px
   (min-width:auto), so the banner column wrapped underneath. */
.kdf-hero-section > .container > .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

@media (min-width: 1200px) {
  .kdf-hero-section .__top-slider-cate {
    flex: 0 0 254px !important;
    max-width: 254px !important;
    width: 254px !important;
    min-width: 0 !important;
  }

  .kdf-hero-section .__top-slider-images {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
    min-width: 0 !important;
  }
}

body.kdf-home .product-single-hover img,
body.kdf-home img.border.border-black-50,
body.kdf-home .__img-125px {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.kdf-hero-section .__slide-img,
.kdf-hero-section .__top-slider-images .__slide-img {
  border-radius: 18px !important;
  aspect-ratio: auto !important;
  width: 100% !important;
  height: 360px !important;
  max-height: 360px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.kdf-hero-section .category-menu-wrap {
  border-radius: 16px;
  border: 1px solid rgba(22, 101, 52, 0.08);
  box-shadow: var(--kdf-shadow);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 100%;
}

.kdf-hero-section .category-menu {
  background: #fff;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 360px !important;
  height: 360px !important;
  margin-top: 0 !important;
  box-sizing: border-box;
  padding-block: 0.35rem !important;
}

.kdf-hero-section .category-menu > li {
  padding: 0.45rem 0 !important;
}

.kdf-hero-section .category-menu li a {
  transition: background 0.12s ease, padding-inline-start 0.12s ease;
}

.kdf-hero-section .category-menu li:hover > a {
  background: rgba(22, 101, 52, 0.05);
  color: var(--web-primary, #166534) !important;
}

@media (min-width: 1400px) {
  .kdf-hero-section .__slide-img,
  .kdf-hero-section .__top-slider-images .__slide-img {
    height: 380px !important;
    max-height: 380px !important;
  }

  .kdf-hero-section .category-menu {
    max-height: 380px !important;
    height: 380px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .kdf-hero-section .__slide-img,
  .kdf-hero-section .__top-slider-images .__slide-img {
    height: 340px !important;
    max-height: 340px !important;
  }

  .kdf-hero-section .category-menu {
    max-height: 340px !important;
    height: 340px !important;
  }
}

@media (max-width: 767.98px) {
  .kdf-hero-section {
    padding-top: 8px !important;
  }

  .kdf-hero-section > .container > .row {
    flex-wrap: wrap;
  }

  .kdf-hero-section .__slide-img,
  .kdf-hero-section .__top-slider-images .__slide-img {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 14px !important;
  }

  .kdf-hero-section .category-menu {
    height: auto !important;
    max-height: none !important;
  }

  .kdf-hero-section .hero-slider {
    border-radius: 14px;
  }
}

/* ---- Flash deals ---- */
.kdf-flash-deals {
  background: linear-gradient(135deg, #0f3d2e 0%, #166534 55%, #1a7a42 100%) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(15, 61, 46, 0.2) !important;
}

.kdf-flash-deals .flash-deal-text h1,
.kdf-flash-deals .web-text-primary,
.kdf-flash-deals h2,
.kdf-flash-deals h3,
.kdf-flash-deals h5 {
  color: #fff !important;
}

.kdf-flash-deals .view-all-btn-text {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
}

.kdf-flash-deals .view-all-btn-text:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.kdf-flash-deals .countdown-background {
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.kdf-flash-deals .cz-countdown-value {
  font-weight: 800 !important;
  font-size: 1.35rem !important;
}

.kdf-flash-deals .flash-deal-progress-bar {
  background: var(--kdf-gold, #d4af37) !important;
}

.kdf-flash-deals .product-single-hover,
.kdf-flash-deals .flash_deal_product {
  background: #fff !important;
  border-radius: 14px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

/* ---- Deal of the day ---- */
.kdf-home-page .deal_of_the_day {
  border-radius: 18px !important;
  border: 1px solid rgba(22, 101, 52, 0.1) !important;
  background: linear-gradient(180deg, rgba(22, 101, 52, 0.04) 0%, #fff 40%) !important;
  box-shadow: var(--kdf-shadow) !important;
  overflow: hidden;
}

.kdf-home-page .recommended-product-card {
  border-radius: 14px;
}

.kdf-home-page .deal_of_the_day .btn--primary {
  border-radius: 999px !important;
  min-height: 44px;
  font-weight: 700;
  padding-inline: 24px;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.25);
}

.kdf-home-page .for-feature-title {
  color: var(--kdf-forest, #0f3d2e) !important;
  font-weight: 700 !important;
}

/* ---- New arrivals / best selling / top rated ---- */
.kdf-home-section--arrivals .arrival-title {
  color: var(--kdf-forest, #0f3d2e) !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
}

.kdf-home-section--arrivals .section-header {
  padding: 0 4px 8px;
}

.kdf-home-page .__best-selling {
  border-radius: 12px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  padding: 10px !important;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  text-decoration: none !important;
}

.kdf-home-page .__best-selling:hover {
  border-color: rgba(22, 101, 52, 0.2) !important;
  box-shadow: 0 4px 16px rgba(15, 61, 46, 0.08);
  transform: translateY(-1px);
}

.kdf-home-page .new-arrival-section .card.__shadow {
  border-radius: 18px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: var(--kdf-shadow) !important;
}

/* ---- Brands ---- */
.kdf-home-section--brands .__brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(22, 101, 52, 0.08);
  padding: 12px;
  min-height: 72px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kdf-home-section--brands .__brand-item:hover {
  border-color: rgba(22, 101, 52, 0.2);
  box-shadow: 0 4px 16px rgba(15, 61, 46, 0.08);
}

.kdf-home-section--brands .__brand-item img {
  max-height: 48px;
  object-fit: contain;
}

/* ---- Promise / trust strip ---- */
.kdf-promise-strip {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(22, 101, 52, 0.08);
  box-shadow: var(--kdf-shadow);
  padding: 16px 12px;
  margin-top: 8px;
}

.kdf-promise-strip .shopping-method-icon {
  width: 64px !important;
  height: 64px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.06);
}

.kdf-promise-strip .shipping-method-system p {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

/* ---- Footer / promo dual banners (Almonds–Cashews etc.) ---- */
.kdf-home-page .promotional-banner-slider,
.kdf-home-page .container > .row:has(.footer_banner_img) {
  margin-top: 8px;
  margin-bottom: 8px;
}

.kdf-home-page .promotional-banner-slider .owl-stage-outer {
  padding: 4px 2px 10px;
}

.kdf-home-page .promotional-banner-slider .owl-item {
  padding: 0 8px;
}

.kdf-home-page .promotional-banner-slider a.d-block,
.kdf-home-page a.d-block:has(.footer_banner_img) {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f6f4;
  box-shadow: 0 4px 18px rgba(15, 61, 46, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kdf-home-page .promotional-banner-slider a.d-block:hover,
.kdf-home-page a.d-block:has(.footer_banner_img):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.14);
}

.kdf-home-page .footer_banner_img,
.kdf-home-page .footer_banner_img.__inline-63 {
  border-radius: 14px !important;
  width: 100% !important;
  height: 168px !important;
  max-height: 168px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  box-shadow: none !important;
  transition: none;
}

@media (min-width: 1200px) {
  .kdf-home-page .footer_banner_img,
  .kdf-home-page .footer_banner_img.__inline-63 {
    height: 180px !important;
    max-height: 180px !important;
  }
}

@media (max-width: 767.98px) {
  .kdf-home-page .footer_banner_img,
  .kdf-home-page .footer_banner_img.__inline-63 {
    height: 140px !important;
    max-height: 140px !important;
    border-radius: 12px !important;
  }

  .kdf-home-page .promotional-banner-slider .owl-item {
    padding: 0 4px;
  }
}

.kdf-home-page a:hover .footer_banner_img {
  transform: none;
}

/* ---- Footer quick links ---- */
.kdf-marketplace .footer-slide-item {
  border-radius: 14px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: 0 2px 10px rgba(15, 61, 46, 0.05) !important;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.kdf-marketplace .footer-slide-item:hover {
  border-color: rgba(22, 101, 52, 0.18) !important;
  transform: translateY(-2px);
}

/* ---- Product cards (global polish) ---- */
.kdf-marketplace .product-single-hover {
  border-radius: var(--kdf-radius) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.kdf-marketplace .product-single-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.12) !important;
}

.kdf-marketplace .for-discount-value {
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* ---- Product details page ---- */
.kdf-marketplace .__inline-23 .card {
  border-radius: 16px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: var(--kdf-shadow) !important;
}

.kdf-marketplace .pd-img-wrap .swiper-container,
.kdf-marketplace .quickviewSlider2 {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
}

.kdf-marketplace .discount-badge {
  border-radius: 8px !important;
}

.kdf-marketplace .btn--primary,
.kdf-marketplace .btn-primary {
  border-radius: 12px !important;
  font-weight: 700 !important;
}

/* ---- Cart page mobile cards ---- */
.kdf-marketplace .cart_information,
.kdf-marketplace .__cart-item {
  border-radius: 14px !important;
}

.kdf-marketplace .shop-cart-table .media {
  border-radius: 12px;
  border: 1px solid rgba(22, 101, 52, 0.08);
  padding: 10px;
  background: #fff;
}

/* ---- Category-wise product sections ---- */
.kdf-home-page .category-wise-product-slider .section-header,
.kdf-home-page .__category-wise-product .section-header {
  padding: 0 4px;
}

.kdf-home-page .__category-wise-product .card {
  border-radius: 18px !important;
  border: 1px solid rgba(22, 101, 52, 0.08) !important;
  box-shadow: var(--kdf-shadow) !important;
}

/* ---- Owl carousel nav dots ---- */
.kdf-home-page .owl-dots .owl-dot span {
  background: rgba(22, 101, 52, 0.2) !important;
}

.kdf-home-page .owl-dots .owl-dot.active span {
  background: var(--web-primary, #166534) !important;
  width: 22px;
  border-radius: 999px;
}

/* ---- Home page rhythm ---- */
body.kdf-home {
  background: var(--kdf-page, #f7f8fa);
}

.kdf-home-page {
  gap: 20px !important;
  padding-bottom: 24px;
}

@media (max-width: 767.98px) {
  .kdf-home-page {
    gap: 14px !important;
  }

  .kdf-flash-deals {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .kdf-home-section .section-card-margin,
  .kdf-deal-wrap {
    border-radius: 14px !important;
  }

  .kdf-marketplace .mobile-head .navbar-brand img {
    max-height: 36px;
  }
}

/* ---- Empty cart state ---- */
.kdf-marketplace .empty-cart-message,
.kdf-marketplace .__empty-cart {
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(22, 101, 52, 0.2);
  padding: 32px 20px;
}

/* ---- WhatsApp FAB positioning on home ---- */
body.kdf-home:not(.kdf-checkout-flow) .floating-btn-grp {
  bottom: 84px;
}

@media (min-width: 768px) {
  body.kdf-home .kdf-mini-cart {
    max-width: 420px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(18px);
  }

  body.kdf-home .kdf-mini-cart.is-visible {
    transform: translateX(-50%) translateY(0);
  }
}


/* ============================================================
   KDF v21 — Safe mobile fixes (nav drawer + flash only)
   ============================================================ */

.kdf-section-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .kdf-marketplace .navbar-stuck-menu {
    position: relative;
    background: transparent !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .kdf-marketplace .navbar-stuck-menu > .container {
    padding: 0 !important;
    min-height: 0 !important;
  }

  .kdf-marketplace #navbarCollapse:not(.show) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .kdf-marketplace #navbarCollapse.show {
    display: block !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(295px, 88vw) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 999999 !important;
    background: #fff !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 20px !important;
    padding-bottom: 50px !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  }
}

.kdf-marketplace .kdf-quick-add,
.kdf-marketplace .navbar-tool {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767.98px) {
  /* Override __inline-61 flash countdown inline-block (breaks mobile layout) */
  .__inline-61 .kdf-flash-countdown.cz-countdown,
  body.kdf-home .kdf-flash-countdown.cz-countdown {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding-bottom: 0 !important;
    gap: 4px !important;
  }

  .__inline-61 .kdf-flash-countdown .cz-countdown-days:not(.kdf-flash-countdown__val),
  .__inline-61 .kdf-flash-countdown .cz-countdown-hours:not(.kdf-flash-countdown__val),
  .__inline-61 .kdf-flash-countdown .cz-countdown-minutes:not(.kdf-flash-countdown__val),
  .__inline-61 .kdf-flash-countdown .cz-countdown-seconds:not(.kdf-flash-countdown__val),
  body.kdf-home .kdf-flash-countdown .cz-countdown-days:not(.kdf-flash-countdown__val),
  body.kdf-home .kdf-flash-countdown .cz-countdown-hours:not(.kdf-flash-countdown__val),
  body.kdf-home .kdf-flash-countdown .cz-countdown-minutes:not(.kdf-flash-countdown__val),
  body.kdf-home .kdf-flash-countdown .cz-countdown-seconds:not(.kdf-flash-countdown__val) {
    flex: 0 0 auto !important;
    flex-direction: column !important;
    display: flex !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
  }

  .__inline-61 .kdf-flash-countdown .kdf-flash-countdown__val,
  body.kdf-home .kdf-flash-countdown .kdf-flash-countdown__val {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    min-height: 34px !important;
    border-radius: 8px !important;
    background: #0f3d2e !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border: none !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    box-shadow: 0 2px 6px rgba(15, 61, 46, 0.25) !important;
    text-shadow: none !important;
  }

  .__inline-61 .kdf-flash-countdown .kdf-flash-countdown__val .cz-countdown-value,
  body.kdf-home .kdf-flash-countdown .kdf-flash-countdown__val .cz-countdown-value {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-shadow: none !important;
  }

  .__inline-61 .kdf-flash-countdown .kdf-flash-countdown__unit,
  body.kdf-home .kdf-flash-countdown .kdf-flash-countdown__unit {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 42px !important;
  }

  .__inline-61 .kdf-flash-countdown .kdf-flash-countdown__lbl,
  body.kdf-home .kdf-flash-countdown .kdf-flash-countdown__lbl {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    margin-top: 3px !important;
  }

  .__inline-61 .kdf-flash-countdown .kdf-flash-countdown__sep,
  body.kdf-home .kdf-flash-countdown .kdf-flash-countdown__sep {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #166534 !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .__inline-61 .kdf-flash-scroll,
  body.kdf-home .kdf-flash-scroll {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px !important;
    scrollbar-width: none;
    width: 100% !important;
    align-items: stretch !important;
  }

  .__inline-61 .kdf-flash-scroll__item,
  body.kdf-home .kdf-flash-scroll__item {
    flex: 0 0 42% !important;
    width: 42% !important;
    max-width: 155px !important;
    min-width: 130px !important;
    scroll-snap-align: start;
  }

  .__inline-61 .kdf-flash-scroll .product-single-hover,
  body.kdf-home .kdf-flash-scroll .product-single-hover {
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 575.98px) {
  body.kdf-home .kdf-flash-section > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.kdf-home .kdf-flash-deals {
    background: #fff !important;
    border: 1px solid rgba(22, 101, 52, 0.1) !important;
    box-shadow: 0 8px 28px rgba(15, 61, 46, 0.08) !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 18px !important;
  }

  body.kdf-home .kdf-flash-deals::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #0f3d2e, #166534, #d4af37);
  }

  body.kdf-home .kdf-flash-mobile {
    padding: 14px;
  }

  body.kdf-home .kdf-flash-mobile__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  body.kdf-home .kdf-flash-mobile__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--web-primary, #166534);
    background: rgba(22, 101, 52, 0.08);
    border-radius: 999px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }

  body.kdf-home .kdf-flash-mobile__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--kdf-forest, #0f3d2e);
    margin: 0;
    line-height: 1.15;
  }

  body.kdf-home .kdf-flash-countdown-wrap {
    background: rgba(22, 101, 52, 0.05);
    border: 1px solid rgba(22, 101, 52, 0.08);
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 10px;
  }

  body.kdf-home .kdf-flash-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
  }

  body.kdf-home .kdf-flash-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
  }

  body.kdf-home .kdf-flash-countdown__val,
  .__inline-61 .kdf-flash-countdown__val {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    background: var(--kdf-forest, #0f3d2e) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border: none !important;
  }

  body.kdf-home .kdf-flash-countdown__val .cz-countdown-value,
  .__inline-61 .kdf-flash-countdown__val .cz-countdown-value {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  body.kdf-home .kdf-flash-countdown__lbl {
    font-size: 9px;
    font-weight: 600;
    color: #6b7280;
    margin-top: 3px;
  }

  body.kdf-home .kdf-flash-countdown__sep {
    font-size: 14px;
    font-weight: 700;
    color: var(--web-primary, #166534);
    margin-bottom: 12px;
    padding: 0 !important;
  }

  body.kdf-home .kdf-flash-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.kdf-home .kdf-flash-scroll::-webkit-scrollbar {
    display: none;
  }

  body.kdf-home .kdf-flash-scroll__item {
    flex: 0 0 44%;
    max-width: 160px;
    scroll-snap-align: start;
  }

  body.kdf-home .kdf-flash-scroll__item .inline_product img {
    max-height: 88px;
    object-fit: contain;
  }

  body.kdf-home .kdf-flash-scroll__item .single-product-details h3 a {
    font-size: 11px !important;
    line-height: 1.2;
  }
}


/* ============================================================
   KDF cart / checkout stacking + shop-cart layout (v31)
   Fixes: header basket under hero; order summary over cart dropdown
   ============================================================ */

/* Header stacking — do NOT isolation:isolate (traps position:fixed search overlay). */
.kdf-marketplace .navbar-sticky,
.kdf-marketplace .mobile-head {
  position: relative;
  z-index: 2000;
}

@media (min-width: 992px) {
  .kdf-marketplace .navbar-sticky.navbar-stuck {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    z-index: 2000 !important;
    transform: none !important;
  }
}

/* Owl/hero must never paint above header cart.
   Avoid translateZ(0) — it creates a compositor layer that traps iOS scroll. */
.kdf-hero-section .owl-carousel,
.kdf-hero-section .owl-stage-outer,
.kdf-hero-section .owl-stage,
.kdf-hero-section .owl-item,
.kdf-hero-section .owl-item.active {
  z-index: 0 !important;
}

/* Keep product rows visible before Owl JS. Do not apply to seller/brand sliders. */
body.kdf-home .featured_products_listSlide:not(.owl-loaded),
body.kdf-home .new-arrivals-product:not(.owl-loaded),
body.kdf-home .flash-deal-slider:not(.owl-loaded),
body.kdf-home .category-wise-product-slider:not(.owl-loaded) {
  display: flex !important;
  flex-wrap: nowrap;
  overflow: hidden;
  gap: 12px;
}
body.kdf-home .featured_products_listSlide:not(.owl-loaded) > *,
body.kdf-home .new-arrivals-product:not(.owl-loaded) > *,
body.kdf-home .flash-deal-slider:not(.owl-loaded) > *,
body.kdf-home .category-wise-product-slider:not(.owl-loaded) > * {
  flex: 0 0 42%;
  max-width: 220px;
  min-width: 0;
}

.others-store-card .name-area .info {
  width: auto;
  flex: 1 1 auto;
  min-width: 7.5rem;
}
.others-store-card .name-area .info .h5,
.others-store-card .name-area .info h3,
.others-store-card .name-area .info h5 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.others-store-card .info-area {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}
.others-store-card .info-area .info-item {
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  word-break: keep-all !important;
  flex: 1 1 0 !important;
  min-width: 0;
}
.others-store-card .info-area .info-item h5,
.others-store-card .info-area .info-item p {
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  word-break: keep-all !important;
}

@media (max-width: 767.98px) {
  .others-store-slider.owl-carousel:not(.owl-loaded) {
    display: block !important;
  }
  .others-store-slider.owl-carousel:not(.owl-loaded) > a,
  .others-store-slider.owl-carousel:not(.owl-loaded) > .others-store-card {
    display: none;
  }
  .others-store-slider.owl-carousel:not(.owl-loaded) > a:first-child,
  .others-store-slider.owl-carousel:not(.owl-loaded) > .others-store-card:first-child {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }
  .others-store-slider .owl-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
  }
  .others-store-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
}

.kdf-marketplace .navbar-toolbar,
.kdf-marketplace .navbar-stuck-menu,
.kdf-marketplace .navbar-stuck-menu > .container,
.kdf-marketplace #cart_items,
.kdf-marketplace #cart_items .navbar-tool {
  overflow: visible !important;
}

#cart_items,
#cart_items .navbar-tool.dropdown {
  position: relative !important;
  z-index: 1090 !important;
}

/* Cart panel ONLY while hovering #cart_items (basket) — not wishlist/account */
#cart_items .cart-dropdown.dropdown-menu {
  display: none !important;
  position: absolute !important;
  z-index: 3000 !important;
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
  margin-top: 0.5rem !important;
  max-height: min(70vh, 520px);
  overflow: auto;
}

#cart_items:hover .cart-dropdown.dropdown-menu:not(.dismissed) {
  display: block !important;
}

/* Never keep a fixed floating cart card */
.cart-dropdown.kdf-cart-fixed {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
}

.kdf-hero-section,
.kdf-hero-section .hero-slider,
.kdf-hero-section .__top-slider-images,
.kdf-hero-section .__top-slider-cate,
.kdf-home-section--featured,
.flash-deal-section,
.__top-slider-images {
  position: relative;
  z-index: 1 !important;
}

.order-summery-aside,
#cart-summary .order-summery-aside {
  position: relative;
  z-index: 2;
}

.order-summery-aside .__cart-total_sticky,
.order-summery-aside .kdf-order-summary-card {
  z-index: 2;
}

body.kdf-checkout-flow #cart-summary {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

body.kdf-checkout-flow #cart-summary > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

body.kdf-checkout-flow #cart-summary > .row > .col-lg-8 {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside .__cart-total_sticky,
body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside .kdf-order-summary-card,
body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside a,
body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside button,
body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside input,
body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside select,
body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside textarea,
body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside form {
  pointer-events: auto;
}

body.kdf-checkout-flow #cart_items .cart-dropdown {
  display: none !important;
}

@media (max-width: 991.98px) {
  body.kdf-checkout-flow .order-summery-aside .__cart-total_sticky,
  body.kdf-checkout-flow .order-summery-aside .kdf-order-summary-card {
    position: static !important;
    top: auto !important;
    margin-top: 12px;
  }

  body.kdf-checkout-flow #cart-summary > .row > .col-lg-8,
  body.kdf-checkout-flow #cart-summary > .row > .order-summery-aside {
    width: 100%;
    max-width: 100%;
  }

  body.kdf-checkout-flow .kdf-mobile-checkout-bar,
  body.kdf-checkout-flow .bottom-sticky3 {
    z-index: 1040 !important;
  }
}

/* ============================================================
   KDF v34 — Mobile header + product density
   ============================================================ */
@media (max-width: 991.98px) {
  /* overflow-x on BOTH html and body locks iOS vertical scroll / rubber-band. */
  html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body.kdf-marketplace {
    overflow-x: visible;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .kdf-marketplace .topbar {
    display: none !important;
  }

  .kdf-marketplace .search-form-mobile:not(.active) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .kdf-marketplace .search-form-mobile.active {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 4000 !important;
    transform: none !important;
    background: #fff !important;
    padding: 12px 14px !important;
    box-shadow: 0 8px 24px rgba(15, 61, 46, 0.12);
  }

  .kdf-marketplace .navbar-sticky,
  .kdf-marketplace .navbar-sticky.navbar-stuck,
  .kdf-marketplace .mobile-head {
    width: 100% !important;
    max-width: 100vw !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  /* sticky (not fixed + body padding) — fixed header + paddingTop fight
     makes iOS bounce/stick at the top and eat taps */
  .kdf-marketplace .navbar-sticky,
  .kdf-marketplace .navbar-sticky.navbar-stuck {
    position: sticky !important;
    top: 0 !important;
  }

  .kdf-marketplace .navbar-sticky .navbar,
  .kdf-marketplace .navbar-sticky .container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .kdf-marketplace .mobile-head .navbar {
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .kdf-marketplace .navbar-toolbar {
    gap: 4px;
  }

  .product-single-hover:hover,
  .kdf-marketplace .product-single-hover:hover {
    transform: none !important;
  }

  .kdf-home-page .featured_products_listSlide .owl-item,
  .kdf-home-page .new-arrivals-product .owl-item,
  .kdf-home-page .category-wise-product-slider .owl-item {
    max-width: 52vw;
  }

  .kdf-home-page .product-single-hover .inline_product img,
  .kdf-home-page .product-single-hover img.border,
  .kdf-home-page .__img-125px {
    max-height: 140px !important;
    object-fit: contain !important;
  }
}

/* Cookie banner must not cover Add to cart / variation modal */
body.kdf-qa-open #cookie-section,
body.kdf-qa-open .cookie-section,
body.modal-open #cookie-section {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 991.98px) {
  .cookie-section {
    padding: 10px 0 !important;
  }
  .cookie-section .text-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 12px !important;
  }
}

/* ==== KDF mobile product-card layout fix v37 ==== */
/* Stars + price must never wrap/stack */
.flash-product-review,
.kdf-rating-row,
.rating-show,
.rating-show > span {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 2px;
  white-space: nowrap !important;
  min-height: 18px;
  line-height: 1 !important;
}
.flash-product-review i,
.kdf-rating-row i,
.rating-show i {
  flex: 0 0 auto !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
.kdf-rating-row--empty {
  visibility: hidden;
}
.flash-product-price,
.kdf-price-accent,
.category-single-product-price,
.kdf-hcard__price,
.kdf-hcard__price del,
.kdf-hcard__price span {
  white-space: nowrap !important;
  word-break: keep-all !important;
}
.flash_deal_product_details .flash-product-title,
a.flash-product-title {
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  hyphens: none !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  max-width: 100%;
}
.flash_deal_product_details {
  min-width: 0 !important;
  width: auto !important;
  flex: 1 1 auto !important;
}

/* Vertical cards: equal footer alignment */
.product-single-hover .overflow-hidden.position-relative,
.product-single-hover.style--category .overflow-hidden.position-relative {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-single-hover .single-product-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 96px;
}
.product-single-hover .kdf-price-row {
  margin-top: auto !important;
}
.product-single-hover .kdf-price-row .product-price {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  /* Featured Deal / New Arrivals: stack image above text on mobile */
  .kdf-hcard,
  .kdf-home-page .flash_deal_product {
    width: 100%;
  }
  .kdf-hcard__row,
  .kdf-home-page .flash_deal_product > .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .kdf-hcard__media,
  .kdf-home-page .flash_deal_product > .d-flex > .d-flex.align-items-center {
    width: 100% !important;
    padding: 10px 10px 0 !important;
  }
  .kdf-home-page .flash_deal_product .flash-deals-background-image,
  .kdf-hcard .flash-deals-background-image {
    width: 100% !important;
    display: flex;
    justify-content: center;
  }
  .kdf-home-page .flash_deal_product .__img-125px,
  .kdf-hcard .__img-125px {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 150px !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .kdf-hcard__body,
  .kdf-home-page .flash_deal_product_details {
    margin-top: 0 !important;
    padding: 8px 12px 12px !important;
    width: 100% !important;
    flex-grow: 1 !important;
  }
  .kdf-home-page .featured_products_listSlide .owl-item,
  .kdf-home-page .new-arrivals-product .owl-item {
    max-width: 78vw !important;
  }
  .kdf-home-page .category-wise-product-slider .owl-item {
    max-width: 46vw !important;
  }
}

/* ==== KDF product-card layout + premium polish v39 ==== */
/* CRITICAL: body uses .kdf-home; wrapper uses .kdf-home-page — cover BOTH */

.flash-product-review,
.kdf-rating-row,
.rating-show,
.rating-show > span,
body.kdf-home .flash-product-review,
body.kdf-home .kdf-rating-row {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 2px !important;
  white-space: nowrap !important;
  min-height: 18px !important;
  line-height: 1 !important;
  width: auto !important;
  max-width: 100% !important;
}
.flash-product-review i,
.kdf-rating-row i,
.rating-show i,
body.kdf-home .flash-product-review i {
  display: inline-block !important;
  flex: 0 0 auto !important;
  float: none !important;
  font-size: 12px !important;
  line-height: 1 !important;
  width: auto !important;
}
.kdf-rating-row--empty { visibility: hidden !important; }

.flash-product-price,
.kdf-price-accent,
.category-single-product-price,
.kdf-hcard__price,
.kdf-hcard__price del,
.kdf-hcard__price span,
body.kdf-home .flash-product-price {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.flash_deal_product_details .flash-product-title,
a.flash-product-title,
body.kdf-home .flash-product-title {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  word-wrap: normal !important;
  hyphens: none !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  max-width: 100% !important;
}

.flash_deal_product_details {
  min-width: 0 !important;
  width: auto !important;
  flex: 1 1 auto !important;
}

.product-single-hover .overflow-hidden.position-relative,
.product-single-hover.style--category .overflow-hidden.position-relative {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}
.product-single-hover .single-product-details {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto;
  min-height: 96px;
}
.product-single-hover .kdf-price-row { margin-top: auto !important; }

body.kdf-home .flash_deal_product,
body.kdf-home .product-single-hover,
.kdf-hcard {
  border-radius: 14px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 61, 46, 0.07);
}
.kdf-quick-add {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 8px !important;
}
.kdf-quick-add__plus { font-size: 18px !important; }

/* Mobile: stack Featured Deal / New Arrivals (image above text) */
@media (max-width: 991.98px) {
  body.kdf-home .kdf-hcard__row,
  body.kdf-home .flash_deal_product > .d-flex,
  body.kdf-home .flash_deal_product .kdf-hcard__row,
  .kdf-hcard__row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }
  body.kdf-home .kdf-hcard__media,
  body.kdf-home .flash_deal_product > .d-flex > .d-flex.align-items-center {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 10px 0 !important;
  }
  body.kdf-home .flash_deal_product .flash-deals-background-image,
  body.kdf-home .kdf-hcard .flash-deals-background-image,
  body.kdf-home .flash_deal_product .__img-125px,
  body.kdf-home .kdf-hcard .__img-125px {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 150px !important;
    height: auto !important;
    object-fit: contain !important;
  }
  body.kdf-home .kdf-hcard__body,
  body.kdf-home .flash_deal_product_details {
    margin-top: 0 !important;
    padding: 8px 12px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-grow: 1 !important;
  }
  body.kdf-home .featured_products_listSlide .owl-item,
  body.kdf-home .new-arrivals-product .owl-item,
  .kdf-home-page .featured_products_listSlide .owl-item,
  .kdf-home-page .new-arrivals-product .owl-item {
    max-width: 78vw !important;
  }
  body.kdf-home .category-wise-product-slider .owl-item,
  .kdf-home-page .category-wise-product-slider .owl-item {
    max-width: 46vw !important;
  }
}

/* ==== owl-stage safe note v40: do NOT set display:flex on .owl-stage (breaks carousel width) ==== */
body.kdf-home .product-single-hover { height: 100%; }

/* ==== KDF compact product cards v41 — shorter height on mobile ==== */
.product-single-hover .single-product-details {
  min-height: 72px !important;
  padding-top: 6px !important;
  padding-bottom: 8px !important;
}
.product-single-hover .inline_product img,
.product-single-hover .inline_product a > img {
  max-height: 160px;
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}
.kdf-rating-row,
.flash-product-review,
.rating-show {
  min-height: 14px !important;
  margin-bottom: 2px !important;
}
.kdf-rating-row i,
.flash-product-review i,
.rating-show i {
  font-size: 11px !important;
}

@media (max-width: 991.98px) {
  /* Horizontal cards: keep image LEFT (compact) — stacking made cards too tall */
  body.kdf-home .kdf-hcard__row,
  body.kdf-home .flash_deal_product > .d-flex,
  body.kdf-home .flash_deal_product .kdf-hcard__row,
  .kdf-hcard__row,
  .kdf-home-page .flash_deal_product > .d-flex {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }
  body.kdf-home .kdf-hcard__media,
  body.kdf-home .flash_deal_product > .d-flex > .d-flex.align-items-center,
  .kdf-home-page .flash_deal_product > .d-flex > .d-flex.align-items-center {
    width: 92px !important;
    max-width: 92px !important;
    flex: 0 0 92px !important;
    padding: 8px 4px 8px 8px !important;
  }
  body.kdf-home .flash_deal_product .flash-deals-background-image,
  body.kdf-home .kdf-hcard .flash-deals-background-image,
  .kdf-hcard .flash-deals-background-image {
    width: 100% !important;
    max-width: 84px !important;
  }
  body.kdf-home .flash_deal_product .__img-125px,
  body.kdf-home .kdf-hcard .__img-125px,
  .kdf-hcard .__img-125px {
    width: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    height: 84px !important;
    object-fit: contain !important;
  }
  body.kdf-home .kdf-hcard__body,
  body.kdf-home .flash_deal_product_details,
  .kdf-home-page .flash_deal_product_details {
    margin-top: 0 !important;
    padding: 8px 10px 8px 4px !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  body.kdf-home .flash-product-title,
  .kdf-hcard .flash-product-title {
    -webkit-line-clamp: 2 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
  }
  body.kdf-home .featured_products_listSlide .owl-item,
  body.kdf-home .new-arrivals-product .owl-item,
  .kdf-home-page .featured_products_listSlide .owl-item,
  .kdf-home-page .new-arrivals-product .owl-item {
    max-width: 72vw !important;
  }
  body.kdf-home .category-wise-product-slider .owl-item,
  .kdf-home-page .category-wise-product-slider .owl-item {
    max-width: 44vw !important;
  }
  /* Vertical / featured / category cards: shorter image + tighter footer */
  body.kdf-home .product-single-hover .inline_product img,
  body.kdf-home .product-single-hover .inline_product a > img,
  .product-single-hover.style--category .inline_product img {
    max-height: 120px !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
  }
  body.kdf-home .product-single-hover .single-product-details,
  .product-single-hover.style--category .single-product-details {
    min-height: 64px !important;
    padding: 4px 8px 8px !important;
  }
  body.kdf-home .product-single-hover .kdf-price-row,
  .product-single-hover .kdf-price-row {
    margin-top: 4px !important;
  }
  body.kdf-home .kdf-hcard {
    min-height: 0 !important;
  }
}

/* ==== KDF v42 — Flash Deal mobile: stop clipping price / + ATC ==== */
@media (max-width: 575.98px) {
  body.kdf-home .kdf-flash-section {
    overflow: visible !important;
  }
  body.kdf-home .kdf-flash-deals {
    overflow: visible !important;
  }
  body.kdf-home .kdf-flash-mobile {
    overflow: visible !important;
    padding-bottom: 16px !important;
  }
  body.kdf-home .kdf-flash-scroll,
  .__inline-61 .kdf-flash-scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-bottom: 14px !important;
    margin-bottom: 2px !important;
    align-items: stretch !important;
  }
  body.kdf-home .kdf-flash-scroll__item,
  .__inline-61 .kdf-flash-scroll__item {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body.kdf-home .kdf-flash-scroll .product-single-hover,
  .__inline-61 .kdf-flash-scroll .product-single-hover {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 220px !important;
    overflow: visible !important;
  }
  body.kdf-home .kdf-flash-scroll .product-single-hover .overflow-hidden.position-relative,
  .__inline-61 .kdf-flash-scroll .product-single-hover .overflow-hidden.position-relative {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: auto !important;
    overflow: visible !important;
  }
  body.kdf-home .kdf-flash-scroll__item .inline_product {
    flex: 0 0 auto;
  }
  body.kdf-home .kdf-flash-scroll__item .inline_product img {
    max-height: 100px !important;
    width: 100% !important;
    object-fit: contain !important;
  }
  body.kdf-home .kdf-flash-scroll__item .single-product-details,
  .__inline-61 .kdf-flash-scroll__item .single-product-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 78px !important;
    padding: 6px 8px 10px !important;
    overflow: visible !important;
  }
  body.kdf-home .kdf-flash-scroll__item .single-product-details h3 a,
  .__inline-61 .kdf-flash-scroll__item .single-product-details h3 a {
    font-size: 12px !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
  }
  body.kdf-home .kdf-flash-scroll__item .kdf-rating-row,
  body.kdf-home .kdf-flash-scroll__item .rating-show {
    min-height: 14px !important;
  }
  body.kdf-home .kdf-flash-scroll__item .kdf-price-row,
  .__inline-61 .kdf-flash-scroll__item .kdf-price-row {
    margin-top: auto !important;
    padding-top: 4px !important;
    align-items: center !important;
    gap: 6px !important;
  }
  body.kdf-home .kdf-flash-scroll__item .kdf-quick-add,
  .__inline-61 .kdf-flash-scroll__item .kdf-quick-add {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    flex: 0 0 auto !important;
  }
  body.kdf-home .kdf-flash-scroll__item .kdf-price-accent,
  body.kdf-home .kdf-flash-scroll__item .product-price {
    white-space: nowrap !important;
    font-size: 13px !important;
  }
}


/* ==== KDF v43 — Offer/Flash + Featured cards: stop clipping price/+ (desktop+mobile) ==== */
body.kdf-home .kdf-flash-deals,
body.kdf-home .kdf-flash-section {
  overflow: visible !important;
}
body.kdf-home .kdf-flash-deals .product-single-hover,
body.kdf-home .flash-deal-slider .product-single-hover,
body.kdf-home .featured_products_listSlide .product-single-hover,
body.kdf-home .feature-product .product-single-hover {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}
body.kdf-home .kdf-flash-deals .product-single-hover .overflow-hidden.position-relative,
body.kdf-home .flash-deal-slider .product-single-hover .overflow-hidden.position-relative,
body.kdf-home .featured_products_listSlide .product-single-hover .overflow-hidden.position-relative,
body.kdf-home .feature-product .product-single-hover .overflow-hidden.position-relative {
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: auto !important;
}
body.kdf-home .kdf-flash-deals .single-product-details,
body.kdf-home .flash-deal-slider .single-product-details,
body.kdf-home .featured_products_listSlide .single-product-details,
body.kdf-home .feature-product .single-product-details {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 88px !important;
  padding: 8px 10px 12px !important;
  overflow: visible !important;
}
body.kdf-home .kdf-flash-deals .single-product-details h3 a,
body.kdf-home .flash-deal-slider .single-product-details h3 a,
body.kdf-home .featured_products_listSlide .single-product-details h3 a,
body.kdf-home .feature-product .single-product-details h3 a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  font-size: 13px !important;
}
body.kdf-home .kdf-flash-deals .kdf-price-row,
body.kdf-home .flash-deal-slider .kdf-price-row,
body.kdf-home .featured_products_listSlide .kdf-price-row,
body.kdf-home .feature-product .kdf-price-row {
  margin-top: auto !important;
  padding-top: 6px !important;
  padding-bottom: 2px !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 32px !important;
  overflow: visible !important;
}
body.kdf-home .kdf-flash-deals .kdf-quick-add,
body.kdf-home .flash-deal-slider .kdf-quick-add,
body.kdf-home .featured_products_listSlide .kdf-quick-add,
body.kdf-home .feature-product .kdf-quick-add {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 6 !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
}
body.kdf-home .flash-deal-slider .owl-stage-outer,
body.kdf-home .featured_products_listSlide .owl-stage-outer,
body.kdf-home .feature-product .owl-stage-outer {
  overflow: visible !important;
  padding-bottom: 10px !important;
}
body.kdf-home .flash-deal-slider .owl-item,
body.kdf-home .featured_products_listSlide .owl-item {
  height: auto !important;
}
body.kdf-home .kdf-flash-deals .inline_product img,
body.kdf-home .flash-deal-slider .inline_product img {
  max-height: 140px !important;
  object-fit: contain !important;
}

@media (min-width: 768px) {
  body.kdf-home .kdf-flash-deals {
    padding: 22px !important;
    overflow: visible !important;
  }
  body.kdf-home .kdf-flash-deals .product-single-hover,
  body.kdf-home .flash-deal-slider .product-single-hover {
    min-height: 260px !important;
  }
  body.kdf-home .kdf-flash-deals .single-product-details,
  body.kdf-home .flash-deal-slider .single-product-details {
    min-height: 96px !important;
    padding-bottom: 14px !important;
  }
  body.kdf-home .featured_products_listSlide .product-single-hover,
  body.kdf-home .feature-product .product-single-hover {
    min-height: 270px !important;
  }
  body.kdf-home .featured_products_listSlide .single-product-details,
  body.kdf-home .feature-product .single-product-details {
    min-height: 100px !important;
    padding: 10px 12px 14px !important;
  }
}


/* ==== KDF v44 — Flash Deal MOBILE premium cards (title/stars/price/+ always visible) ==== */
@media (max-width: 767.98px) {
  body.kdf-home .kdf-flash-section,
  body.kdf-home .kdf-flash-deals,
  body.kdf-home .kdf-flash-mobile {
    overflow: visible !important;
  }
  body.kdf-home .kdf-flash-deals {
    background: #fff !important;
    border: 1px solid rgba(15, 61, 46, 0.10) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 28px rgba(15, 61, 46, 0.08) !important;
  }
  body.kdf-home .kdf-flash-mobile {
    padding: 14px 14px 18px !important;
  }
  body.kdf-home .kdf-flash-scroll,
  .__inline-61 .kdf-flash-scroll {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    align-items: stretch !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }
  body.kdf-home .kdf-flash-scroll__item,
  .__inline-61 .kdf-flash-scroll__item {
    flex: 0 0 46% !important;
    width: 46% !important;
    max-width: 168px !important;
    min-width: 146px !important;
    height: auto !important;
    display: block !important;
  }
  body.kdf-home .kdf-flash-scroll .product-single-hover,
  .__inline-61 .kdf-flash-scroll .product-single-hover {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 61, 46, 0.08) !important;
    box-shadow: 0 2px 10px rgba(15, 61, 46, 0.06) !important;
    background: #fff !important;
  }
  body.kdf-home .kdf-flash-scroll .product-single-hover .overflow-hidden.position-relative,
  .__inline-61 .kdf-flash-scroll .product-single-hover .overflow-hidden.position-relative {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
  body.kdf-home .kdf-flash-scroll .inline_product,
  .__inline-61 .kdf-flash-scroll .inline_product {
    flex: 0 0 auto !important;
    height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 8px 0 !important;
  }
  body.kdf-home .kdf-flash-scroll .inline_product img,
  body.kdf-home .kdf-flash-scroll .inline_product a > img,
  .__inline-61 .kdf-flash-scroll .inline_product img {
    max-height: 96px !important;
    height: 96px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  body.kdf-home .kdf-flash-scroll .single-product-details,
  .__inline-61 .kdf-flash-scroll .single-product-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 8px 10px 12px !important;
    overflow: visible !important;
    gap: 4px !important;
  }
  body.kdf-home .kdf-flash-scroll .single-product-details h3,
  .__inline-61 .kdf-flash-scroll .single-product-details h3 {
    margin: 0 !important;
    min-height: 32px !important;
  }
  body.kdf-home .kdf-flash-scroll .single-product-details h3 a,
  .__inline-61 .kdf-flash-scroll .single-product-details h3 a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #0f3d2e !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
  }
  body.kdf-home .kdf-flash-scroll .kdf-rating-row,
  body.kdf-home .kdf-flash-scroll .rating-show,
  .__inline-61 .kdf-flash-scroll .kdf-rating-row {
    display: flex !important;
    min-height: 16px !important;
    margin: 0 !important;
    visibility: visible !important;
  }
  body.kdf-home .kdf-flash-scroll .kdf-price-row,
  .__inline-61 .kdf-flash-scroll .kdf-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-top: 4px !important;
    padding: 0 !important;
    min-height: 32px !important;
    overflow: visible !important;
    visibility: visible !important;
  }
  body.kdf-home .kdf-flash-scroll .kdf-price-accent,
  body.kdf-home .kdf-flash-scroll .product-price,
  .__inline-61 .kdf-flash-scroll .product-price {
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    visibility: visible !important;
  }
  body.kdf-home .kdf-flash-scroll .kdf-quick-add,
  .__inline-61 .kdf-flash-scroll .kdf-quick-add {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 8 !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background: #0f3d2e !important;
    color: #fff !important;
  }
}

.rich-editor-html-content .kdf-blog-banner {
  margin: 1.5rem 0 1.75rem;
  border-radius: 14px;
  overflow: hidden;
  background: #0f3d2e;
  border: 1px solid rgba(15, 61, 46, 0.12);
}
.rich-editor-html-content .kdf-blog-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rich-editor-html-content .kdf-blog-banner figcaption {
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem 1rem;
  background: linear-gradient(180deg, #0f3d2e 0%, #145c45 100%);
}
.rich-editor-html-content .kdf-blog-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: #c4a35a;
  color: #0f3d2e !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
}
.rich-editor-html-content .kdf-blog-banner__btn:hover {
  background: #d4b56e;
  color: #0f3d2e !important;
}

/* ============================================================
   KDF v55 — Mobile scroll / tap lock
   iOS: page sticks while scrolling, taps miss, top rubber-bands.
   ============================================================ */
@media (max-width: 991.98px) {
  body.kdf-marketplace {
    padding-top: 0 !important; /* theme.js sets inline padding when navbar-stuck */
    overflow-x: visible !important; /* beats responsive1.css body { overflow-x: hidden !important } */
  }

  body.kdf-marketplace .owl-carousel,
  body.kdf-marketplace .owl-stage-outer,
  body.kdf-marketplace .owl-stage {
    touch-action: pan-y pinch-zoom;
  }

  .kdf-reels-strip {
    touch-action: pan-x pan-y;
  }

  .kdf-marketplace .navbar-sticky,
  .kdf-marketplace .navbar-sticky.navbar-stuck {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
  }
}

/* Leftover Bootstrap lock (popup / quick-view closed but body.modal-open remains) */
body.modal-open:not(:has(.modal.show)):not(:has(.kdf-ag-modal.is-open)) {
  overflow: visible !important;
  padding-right: 0 !important;
}
.modal-backdrop:not(.show) {
  display: none !important;
  pointer-events: none !important;
}
