/**
 * KRM Enterprises - Master Theme Fixes & UI/UX Perfection
 *
 * Scope:
 * 1. Dynamic Header Navigation & Primary Menu Active Indicators (no stuck states)
 * 2. "Shop by Category" Elementor Widget / Grid (SVG circular rings, rounded cards, script headers)
 * 3. Modern 2-Column Checkout Overhaul (60% billing/payment, 40% sticky summary with badge counts & savings)
 * 4. Related Products & Archive Grid (uniform 1:1 aspect-ratio, floating circular "Sale!" badge, uniform typography & buttons)
 * 5. Floating WhatsApp Button (compact pill lock, preventing 100% full-width expansion)
 *
 * @package KRM_Enterprises
 * @version 2.0.0
 */

/* ==========================================================================
   1. DYNAMIC HEADER & PRIMARY MENU ACTIVE STATE
   ========================================================================== */

/* Clean reset on navigation container */
.header-nav-row .main-nav,
.header-nav-row ul.main-nav {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav-row .main-nav li {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav-row .main-nav li::before,
.header-nav-row .main-nav li::after {
  display: none !important;
  content: none !important;
}

/* Nav Link Anchors */
.header-nav-row .main-nav li > a,
.header-nav-row .nav-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 12px 14px !important;
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Expanding Bottom Underline Indicator */
.header-nav-row .main-nav li > a::after,
.header-nav-row .nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0 !important;
  height: 2.8px !important;
  background-color: var(--primary-green, #15803d) !important;
  border-radius: 3px !important;
  transition: width 0.24s cubic-bezier(0.4, 0, 0.2, 1), left 0.24s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: none !important;
}

/* Hover State */
.header-nav-row .main-nav li > a:hover,
.header-nav-row .nav-link:hover {
  color: var(--primary-green, #15803d) !important;
}

.header-nav-row .main-nav li > a:hover::after,
.header-nav-row .nav-link:hover::after {
  width: 100% !important;
  left: 0 !important;
}

/* DYNAMIC ACTIVE STATE: Attached exclusively to current page / active indicators */
.header-nav-row .main-nav li.current-menu-item > a,
.header-nav-row .main-nav li.current_page_item > a,
.header-nav-row .main-nav li.current-page-ancestor > a,
.header-nav-row .main-nav li.current-menu-ancestor > a,
.header-nav-row .main-nav li.current-menu-parent > a,
.header-nav-row .main-nav li > a.active,
.header-nav-row .main-nav li > a[aria-current="page"] {
  color: var(--primary-green, #15803d) !important;
}

.header-nav-row .main-nav li.current-menu-item > a::after,
.header-nav-row .main-nav li.current_page_item > a::after,
.header-nav-row .main-nav li.current-page-ancestor > a::after,
.header-nav-row .main-nav li.current-menu-ancestor > a::after,
.header-nav-row .main-nav li.current-menu-parent > a::after,
.header-nav-row .main-nav li > a.active::after,
.header-nav-row .main-nav li > a[aria-current="page"]::after {
  width: 100% !important;
  left: 0 !important;
}

/* ==========================================================================
   PRIMARY NAVIGATION CTA (DESKTOP): SINGLE "TRACK ORDER" PILL
   (WhatsApp Support completely removed as requested)
   ========================================================================== */
.nav-extra-cta {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.nav-extra-cta .nav-track-order-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background-color: #059669 !important;
  color: #FFFFFF !important;
  border: 1px solid #059669 !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  font-family: var(--font-heading, 'Outfit', 'Inter', sans-serif) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

.nav-extra-cta .nav-track-order-link .nav-track-truck-icon {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, color 0.3s ease, stroke 0.3s ease !important;
}

.nav-extra-cta .nav-track-order-link:hover,
.nav-extra-cta .nav-track-order-link:focus {
  background-color: #F0FDF4 !important;
  color: #065F46 !important;
  border-color: #BBF7D0 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.nav-extra-cta .nav-track-order-link:hover .nav-track-truck-icon,
.nav-extra-cta .nav-track-order-link:focus .nav-track-truck-icon {
  color: #059669 !important;
  stroke: #059669 !important;
  transform: scale(1.1) !important;
}

/* Obsolete WhatsApp support button completely removed from primary nav */
.nav-extra-cta .nav-whatsapp-link,
.nav-whatsapp-link {
  display: none !important;
}

/* ==========================================================================
   MOBILE DRAWER FOOTER: SINGLE FULL-WIDTH "TRACK ORDER" BUTTON
   (Phone & WhatsApp contact pills completely removed as requested)
   ========================================================================== */
.mobile-drawer-footer {
  margin-top: auto !important;
  padding: 16px 20px 24px !important;
  border-top: 1px solid #E2E8F0 !important;
  background-color: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.mobile-track-order-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  background: #059669 !important;
  border: 1.5px solid #059669 !important;
  border-radius: 12px !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading, 'Outfit', 'Inter', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
  text-align: center !important;
}

.mobile-track-order-btn .mobile-track-truck-icon {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, color 0.3s ease, stroke 0.3s ease !important;
}

.mobile-track-order-btn:hover,
.mobile-track-order-btn:active,
.mobile-track-order-btn:focus {
  background: #F0FDF4 !important;
  color: #065F46 !important;
  border-color: #A7F3D0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.mobile-track-order-btn:hover .mobile-track-truck-icon,
.mobile-track-order-btn:active .mobile-track-truck-icon,
.mobile-track-order-btn:focus .mobile-track-truck-icon {
  color: #059669 !important;
  stroke: #059669 !important;
  transform: scale(1.1) !important;
}

/* Obsolete phone and WhatsApp contact pills completely removed from mobile drawer */
.mobile-contact-row,
.mobile-contact-pill,
.mobile-wa-pill {
  display: none !important;
}

/* ==========================================================================
   2. "SHOP BY CATEGORY" ELEMENTOR WIDGET / GRID
   ========================================================================== */

.krm-category-section {
  padding: 60px 0 50px !important;
  background-color: #fbfdfc !important;
  position: relative !important;
  overflow: hidden !important;
}

.krm-cat-container {
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Section Header Container */
.krm-cat-header-wrap {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 40px !important;
  position: relative !important;
}

/* Left Script Accent */
.krm-cat-corner-left {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding-bottom: 10px !important;
}

.krm-script-badge {
  font-family: 'Caveat', cursive !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #16a34a !important;
  line-height: 1.15 !important;
  display: block !important;
}

.krm-script-curve {
  width: 110px !important;
  height: 16px !important;
  margin-top: 4px !important;
}

/* Center Title Block */
.krm-cat-center-block {
  flex: 1 1 auto !important;
  text-align: center !important;
}

.krm-cat-pill {
  display: inline-block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #16a34a !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.krm-cat-main-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  margin: 0 0 10px !important;
}

.krm-cat-title-green {
  color: #16a34a !important;
}

.krm-cat-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: #64748b !important;
  max-width: 580px !important;
  margin: 0 auto !important;
  line-height: 1.5 !important;
}

/* Right Quote & Button */
.krm-cat-corner-right {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding-bottom: 10px !important;
}

.krm-script-quote {
  font-family: 'Caveat', cursive !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #16a34a !important;
  white-space: nowrap !important;
}

.krm-cat-catalog-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #15803d !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.25) !important;
  white-space: nowrap !important;
}

.krm-cat-catalog-btn:hover {
  background-color: #166534 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.35) !important;
}

/* Category Cards Grid */
.krm-cat-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--desktop-cols, var(--krm-cat-cols-desktop, 5)), minmax(0, 1fr)) !important;
  column-gap: var(--cat-gap-x, var(--krm-cat-gap, 20px)) !important;
  row-gap: var(--cat-gap-y, 24px) !important;
}

@media (max-width: 1099px) {
  .krm-cat-cards-grid {
    grid-template-columns: repeat(var(--tablet-cols, var(--krm-cat-cols-tablet, 3)), minmax(0, 1fr)) !important;
    column-gap: var(--cat-gap-x, 16px) !important;
    row-gap: var(--cat-gap-y, 20px) !important;
  }
}

@media (max-width: 640px) {
  .krm-cat-cards-grid:not(.krm-mobile-carousel) {
    grid-template-columns: repeat(var(--mobile-cols, var(--krm-cat-cols-mobile, 2)), minmax(0, 1fr)) !important;
    column-gap: var(--cat-gap-x, 12px) !important;
    row-gap: var(--cat-gap-y, 16px) !important;
  }
}

/* Rounded White Card */
.krm-cat-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 34px 18px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.krm-cat-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.2) !important;
}

/* Also style native template part .cat-capsule-card for complete parity */
.cat-capsule-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 34px 18px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.cat-capsule-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.2) !important;
}

.cat-hero-stage {
  position: relative !important;
  width: 124px !important;
  height: 124px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

.cat-accent-ring-svg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: rotate(-90deg) !important;
  transition: transform 0.6s ease !important;
}

.cat-capsule-card:hover .cat-accent-ring-svg {
  transform: rotate(0deg) !important;
}

.cat-circular-avatar {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #f8fafc !important;
  z-index: 1 !important;
}

.cat-circular-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
}

.cat-capsule-card:hover .cat-circular-avatar img {
  transform: scale(1.08) !important;
}

.cat-floating-icon {
  display: none !important;
}

.cat-capsule-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}

.cat-capsule-count {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}

/* Circular Stage with SVG Ring */
.krm-cat-ring-stage {
  position: relative !important;
  width: 124px !important;
  height: 124px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

.krm-cat-svg-ring {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: rotate(-90deg) !important;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.krm-cat-card:hover .krm-cat-svg-ring {
  transform: rotate(0deg) !important;
}

.krm-cat-avatar-wrap {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #f8fafc !important;
  z-index: 1 !important;
}

.krm-cat-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
}

.krm-cat-card:hover .krm-cat-img {
  transform: scale(1.08) !important;
}

.krm-cat-card-details {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.krm-cat-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease !important;
}

.krm-cat-card:hover .krm-cat-name {
  color: #15803d !important;
}

.krm-cat-count {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   3. WOOCOMMERCE CHECKOUT PAGE OVERHAUL (2-COLUMN MODERN ARCHITECTURE)
   ========================================================================== */

@media (min-width: 1025px) {
  .krm-checkout-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 80px;
  }

  .krm-checkout-header {
    margin-bottom: 28px;
  }

  /* 2-Column Grid (60% / 40%) */
  .krm-checkout-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* Sections on Left Column */
.krm-checkout-section {
  margin-bottom: 32px !important;
}

.krm-section-title-wrap {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}

.krm-checkout-section-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 !important;
}

.krm-login-prompt {
  font-size: 14px !important;
  color: #64748b !important;
}

.krm-login-prompt a {
  color: #15803d !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* Input Fields & Floating Labels */
.krm-checkout-left-col .form-row {
  margin-bottom: 16px !important;
}

.krm-checkout-left-col label {
  display: block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-bottom: 6px !important;
}

.krm-checkout-left-col input[type="text"],
.krm-checkout-left-col input[type="email"],
.krm-checkout-left-col input[type="tel"],
.krm-checkout-left-col select,
.krm-checkout-left-col textarea,
.krm-coupon-input {
  width: 100% !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 13px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.krm-checkout-left-col input:focus,
.krm-checkout-left-col select:focus,
.krm-checkout-left-col textarea:focus,
.krm-coupon-input:focus {
  border-color: #15803d !important;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12) !important;
}

/* Payment options alert box */
.woocommerce-checkout-payment {
  background: transparent !important;
  padding: 0 !important;
}

/* ==========================================================================
   WOOCOMMERCE NOTICES - MODERN DESIGN SYSTEM & FIXES
   ========================================================================== */

.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout {
  width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 20px !important;
}

/* 1. Success Notice / Added to Cart Banner (.woocommerce-message) */
.woocommerce-message {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 12px 16px !important;
  background: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
  border-left: 5px solid #00A859 !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  margin: 0 0 24px 0 !important;
  box-shadow: 0 4px 16px -2px rgba(0, 168, 89, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  color: #14532D !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  list-style: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Neutralize default WooCommerce pseudo font icon & render crisp SVG checkmark */
.woocommerce-message::before {
  content: "" !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  width: 24px !important;
  height: 24px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A859'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M7.5 12.5l3 3 6-6'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  order: -1 !important;
}

/* Modern "View Cart" Pill Button */
.woocommerce-message .button,
.woocommerce-message a.button,
.woocommerce-message .button.wc-forward {
  order: 2 !important;
  margin-left: auto !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #00A859 !important;
  color: #FFFFFF !important;
  border: 1px solid transparent !important;
  border-radius: 9999px !important;
  padding: 8px 20px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 168, 89, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-message .button.wc-forward:hover {
  background: #064E3B !important;
  color: #FFFFFF !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.3) !important;
}

.woocommerce-message .button:focus,
.woocommerce-message a.button:focus {
  outline: 2px solid #00A859 !important;
  outline-offset: 2px !important;
}

.woocommerce-message .button:active,
.woocommerce-message a.button:active {
  transform: translateY(0) !important;
}

/* 2. Info / Coupon Toggle Notice (.woocommerce-info) */
.woocommerce-info {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-left: 4px solid #00A859 !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  margin: 0 0 16px 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  color: #334155 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  list-style: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Eliminate Broken Font Icon Tofu & Insert Crisp Coupon SVG Tag Icon */
.woocommerce-info::before {
  content: "" !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A859' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2z'/%3E%3Cline x1='12' y1='8' x2='12' y2='16' stroke-dasharray='2 2'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  position: static !important;
  margin: 0 2px 0 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  order: -1 !important;
}

.woocommerce-info a {
  color: #00A859 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.woocommerce-info a:hover {
  color: #064E3B !important;
}

/* 3. Error Notices (.woocommerce-error) */
.woocommerce-error {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  border-left: 4px solid #EF4444 !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  margin: 0 0 16px 0 !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.04) !important;
  color: #991B1B !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  list-style: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.woocommerce-error::before {
  content: "" !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  order: -1 !important;
}

.woocommerce-error li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile Responsiveness for Notices */
@media (max-width: 768px) {
  .woocommerce-message {
    padding: 12px 16px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

  .woocommerce-message .button,
  .woocommerce-message a.button,
  .woocommerce-message .button.wc-forward {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 6px !important;
    text-align: center !important;
    padding: 10px 16px !important;
  }

  .woocommerce-info,
  .woocommerce-error {
    padding: 12px 14px !important;
    font-size: 13.5px !important;
  }
}

/* Order notes toggle checkbox */
.krm-notes-summary {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  user-select: none !important;
  margin-bottom: 12px !important;
}

.krm-notes-checkbox {
  width: 18px !important;
  height: 18px !important;
  accent-color: #15803d !important;
}

.krm-checkout-terms-note {
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 16px 0 20px !important;
}

/* Place Order Button */
#place_order,
.woocommerce-checkout #payment #place_order {
  width: 100% !important;
  background-color: #00875A !important;
  color: #ffffff !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 16px 24px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.28) !important;
}

#place_order:hover,
.woocommerce-checkout #payment #place_order:hover {
  background-color: #00704A !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 135, 90, 0.35) !important;
}

#place_order.is-submitting,
.woocommerce-checkout #payment #place_order.is-submitting {
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.88 !important;
  transform: none !important;
}

/* RIGHT COLUMN: Sticky Order Summary Card */
.krm-sticky-summary-container {
  position: sticky !important;
  top: 100px !important;
}

.checkout-summary-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

.checkout-summary-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 18px !important;
}

/* Checkout Items List */
.checkout-items-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}

.checkout-item-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* Product Thumbnail with Count Badge Overlay */
.checkout-item-thumb-stage {
  position: relative !important;
  width: 68px !important;
  height: 68px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #f8fafc !important;
}

.checkout-item-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 7px !important;
  display: block !important;
}

.checkout-item-badge {
  position: absolute !important;
  top: -8px !important;
  left: -8px !important;
  background-color: #1e293b !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

/* Item Info Details */
.checkout-item-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.checkout-item-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 4px !important;
}

.checkout-item-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.checkout-item-total {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  white-space: nowrap !important;
}

.checkout-item-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 4px !important;
}

.checkout-price-original {
  font-size: 13px !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

.checkout-price-current {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

.checkout-save-pill {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
}

.checkout-item-vendor {
  font-size: 11px !important;
  color: #64748b !important;
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.checkout-vendor-gst {
  color: #94a3b8 !important;
}

/* Coupon Accordion */
.checkout-coupon-accordion {
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 14px !important;
  margin-bottom: 14px !important;
}

.checkout-coupon-summary {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  user-select: none !important;
  list-style: none !important;
}

.checkout-coupon-summary::-webkit-details-marker {
  display: none !important;
}

.coupon-chevron {
  transition: transform 0.2s ease !important;
}

.checkout-coupon-details[open] .coupon-chevron {
  transform: rotate(180deg) !important;
}

.checkout-coupon-body {
  margin-top: 10px !important;
}

.krm-coupon-input-group {
  display: flex !important;
  gap: 8px !important;
}

.krm-coupon-apply-btn {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.krm-coupon-apply-btn:hover {
  background-color: #0f172a !important;
}

/* Totals Rows */
.checkout-totals-summary {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.checkout-summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 14px !important;
  color: #475569 !important;
}

.checkout-summary-row .row-value {
  font-weight: 600 !important;
  color: #1e293b !important;
}

.checkout-summary-row.row-grand-total {
  border-top: 1.5px solid #e2e8f0 !important;
  margin-top: 8px !important;
  padding-top: 14px !important;
  font-size: 18px !important;
}

.checkout-summary-row.row-grand-total .row-label,
.checkout-summary-row.row-grand-total .row-value {
  font-weight: 800 !important;
  color: #0f172a !important;
}

/* ==========================================================================
   4. RELATED PRODUCTS & ARCHIVE PRODUCT CARD GRID
   ========================================================================== */

/* Uniform Product Loop Grid */
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 30px 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

/* Product Card Capsule */
.woocommerce ul.products li.product,
li.product {
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #f1f5f9 !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.woocommerce ul.products li.product:hover,
li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06) !important;
  border-color: #e2e8f0 !important;
}

/* 1:1 Aspect-Ratio Product Image Wrapper */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
li.product a.woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product a img,
li.product img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  display: block !important;
  margin: 0 0 14px !important;
  background-color: #f8fafc !important;
}

/* Floating Circular "Sale!" Badge on Top Right */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
span.onsale {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  background-color: #738b00 !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 42px !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
li.product .woocommerce-loop-product__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.4 !important;
  margin: 4px 0 8px !important;
  min-height: 42px !important;
}

/* Price Tags (strikethrough regular + olive green sale) */
.woocommerce ul.products li.product .price,
li.product .price {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  margin: 0 0 14px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.woocommerce ul.products li.product .price del,
li.product .price del {
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.woocommerce ul.products li.product .price ins,
li.product .price ins {
  color: #738b00 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

/* Clean Rounded Action Buttons ("Add to cart" / "Read more") */
.woocommerce ul.products li.product .button,
li.product .button {
  background: #ebe9eb !important;
  color: #334155 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: auto !important;
  width: fit-content !important;
  transition: all 0.2s ease !important;
}

.woocommerce ul.products li.product .button:hover,
li.product .button:hover {
  background: #15803d !important;
  color: #ffffff !important;
}

/* ==========================================================================
   5. FLOATING WHATSAPP SUPPORT WIDGET (EXPANDED CAPSULE / MOBILE CIRCLE)
   ========================================================================== */

.floating-whatsapp-wrap,
#floating-whatsapp-wrap {
  position: fixed !important;
  bottom: 16px !important;
  left: 16px !important;
  right: auto !important;
  width: auto !important;
  max-width: fit-content !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.floating-whatsapp-wrap.is-hidden,
#floating-whatsapp-wrap.is-hidden,
.floating-whatsapp-wrap.scrolled-down,
#floating-whatsapp-wrap.scrolled-down {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  pointer-events: none !important;
}

/* Desktop & Tablet: Expanded Capsule Pill */
.floating-whatsapp-capsule,
a.floating-whatsapp-capsule,
.floating-whatsapp-btn,
a.floating-whatsapp-btn {
  display: flex !important;
  align-items: center !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid rgba(0, 168, 89, 0.22) !important;
  border-radius: 9999px !important;
  padding: 6px 8px 6px 6px !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0, 168, 89, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
  user-select: none !important;
  cursor: pointer !important;
}

.floating-whatsapp-capsule:hover,
a.floating-whatsapp-capsule:hover,
.floating-whatsapp-btn:hover,
a.floating-whatsapp-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 34px rgba(0, 168, 89, 0.28), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 168, 89, 0.45) !important;
}

/* Avatar Wrap with Headset Agent */
.fwa-avatar-wrap {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.fwa-avatar-svg {
  width: 44px !important;
  height: 44px !important;
  display: block !important;
  border-radius: 50% !important;
}

/* Subtle Vertical Divider Line */
.fwa-divider {
  width: 1px !important;
  height: 28px !important;
  background-color: #E2E8F0 !important;
  margin: 0 14px 0 10px !important;
  flex-shrink: 0 !important;
}

/* Text Container */
.fwa-text-area {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
  padding-right: 16px !important;
}

.fwa-title {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1.25 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
}

.fwa-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  line-height: 1.2 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

/* Vibrant Green Action Arrow Button */
.fwa-arrow-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #00A859 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.floating-whatsapp-capsule:hover .fwa-arrow-btn,
.floating-whatsapp-btn:hover .fwa-arrow-btn {
  background: #008f4c !important;
  transform: scale(1.06) !important;
}

.fwa-arrow-btn svg {
  display: block !important;
  transform: translateX(1px) !important;
}

/* Tablet (768px - 1023px): Slightly more compact capsule */
@media (min-width: 768px) and (max-width: 1023px) {
  .floating-whatsapp-capsule,
  a.floating-whatsapp-capsule {
    padding: 5px 6px 5px 5px !important;
  }
  .fwa-avatar-wrap {
    width: 40px !important;
    height: 40px !important;
  }
  .fwa-avatar-svg {
    width: 40px !important;
    height: 40px !important;
  }
  .fwa-divider {
    height: 24px !important;
    margin: 0 10px 0 8px !important;
  }
  .fwa-title {
    font-size: 14px !important;
  }
  .fwa-subtitle {
    font-size: 11px !important;
  }
  .fwa-arrow-btn {
    width: 32px !important;
    height: 32px !important;
  }
}

/* Mobile View: Minimalist Circular Floating Action Button (< 768px) */
@media (max-width: 767px) {
  .floating-whatsapp-wrap,
  #floating-whatsapp-wrap {
    bottom: 16px !important;
    left: 16px !important;
    right: auto !important;
  }

  .floating-whatsapp-capsule,
  a.floating-whatsapp-capsule,
  .floating-whatsapp-btn,
  a.floating-whatsapp-btn {
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #FFFFFF !important;
    border: 2px solid rgba(0, 168, 89, 0.28) !important;
    box-shadow: 0 8px 24px rgba(0, 168, 89, 0.24), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }

  .fwa-avatar-wrap {
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
  }

  .fwa-avatar-svg {
    width: 44px !important;
    height: 44px !important;
  }

  /* Completely hide text, divider, and chevron on screens < 768px */
  .fwa-divider,
  .fwa-text-area,
  .fwa-arrow-btn {
    display: none !important;
  }
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (DESKTOP 1440px, TABLET 768px-1024px, MOBILE 375px-480px)
   ========================================================================== */

@media (max-width: 1024px) {
  .krm-cat-header-wrap {
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .krm-cat-corner-left,
  .krm-cat-corner-right {
    display: none !important;
  }

  .krm-sticky-summary-container {
    position: static !important;
  }
}

@media (max-width: 768px) {
  .krm-cat-main-title {
    font-size: 30px !important;
  }

  /* Mobile Touch Swipeable Carousel matching Image 2 with Peeking Card */
  .krm-cat-cards-grid,
  .cat-cards-track,
  #home-category-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 12px 20px 24px 20px !important;
    margin: 0 -20px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-behavior: smooth !important;
    grid-template-columns: none !important;
    width: calc(100% + 40px) !important;
  }

  .krm-cat-cards-grid::-webkit-scrollbar,
  .cat-cards-track::-webkit-scrollbar {
    display: none !important;
  }

  .krm-cat-tall-card,
  .cat-capsule-card,
  .krm-cat-card {
    flex: 0 0 255px !important;
    width: 255px !important;
    max-width: 78vw !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    border-radius: 36px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 28px 18px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .krm-cat-circular-stage,
  .cat-hero-stage,
  .krm-cat-ring-stage {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 16px !important;
  }

  .krm-cat-img-avatar,
  .cat-circular-avatar,
  .krm-cat-avatar-wrap {
    width: 92px !important;
    height: 92px !important;
  }

  .krm-cat-floating-icon,
  .cat-floating-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 15px !important;
    bottom: 4px !important;
    left: 8px !important;
  }

  .krm-cat-title,
  .cat-capsule-title,
  .krm-cat-name {
    font-size: 20px !important;
    margin: 0 0 6px !important;
  }

  .krm-cat-desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
    min-height: 38px !important;
    margin: 0 0 8px !important;
  }

  .krm-cat-view-count,
  .cat-capsule-count,
  .krm-cat-count {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .krm-cat-arrow-btn,
  .cat-bottom-arrow-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
  }

  /* Carousel Dots at the bottom */
  .cat-carousel-dots,
  .krm-cat-carousel-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 16px !important;
    padding: 8px 0 12px !important;
    width: 100% !important;
  }

  .cat-dot-btn {
    width: 8px !important;
    height: 8px !important;
    border-radius: 9999px !important;
    background-color: #cbd5e1 !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .cat-dot-btn.active {
    width: 24px !important;
    background-color: #15803d !important;
    border-radius: 9999px !important;
  }

  .floating-whatsapp-wrap,
  #floating-whatsapp-wrap {
    bottom: 16px !important;
    left: 16px !important;
    right: auto !important;
  }
}

@media (max-width: 480px) {
  .krm-checkout-container {
    padding: 20px 14px 60px !important;
  }

  .checkout-summary-card {
    padding: 18px 16px !important;
  }

  .checkout-item-thumb-stage {
    width: 54px !important;
    height: 54px !important;
  }
}

/* ==========================================================================
   GLOBAL PRODUCT SHOWCASE GRID & CARD RESPONSIVENESS (REFERENCE MATCH)
   ========================================================================== */

/* Universal Product Card Consistency */
.krm-product-card,
.woodmart-product-card {
  background: #ffffff !important;
  border: 1px solid #eef2f5 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02) !important;
  position: relative !important;
}

.krm-product-card:hover,
.woodmart-product-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07) !important;
  border-color: #e2e8f0 !important;
}

/* Thumbnail Stage & Floating Badges */
.krm-pcard-stage,
.product-thumb-wrap {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  overflow: hidden !important;
  background-color: #f8fafc !important;
  border-top-left-radius: 13px !important;
  border-top-right-radius: 13px !important;
}

.aspect-4-5 .krm-pcard-stage,
.aspect-4-5 .product-thumb-wrap,
.krm-pcard-stage.aspect-4-5 {
  aspect-ratio: 4 / 5 !important;
}

.krm-pcard-img-link,
.product-thumb-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.krm-pcard-img,
.product-card-img,
.product-thumb-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
  display: block !important;
}

.krm-product-card:hover .krm-pcard-img,
.woodmart-product-card:hover .product-card-img,
.woodmart-product-card:hover .product-thumb-link img {
  transform: scale(1.04) !important;
}

/* Sale / Discount Pill Badge */
.krm-pcard-discount-pill,
.product-badge.badge-discount,
.product-badge.badge-sale {
  position: absolute !important;
  top: 9px !important;
  left: 9px !important;
  z-index: 3 !important;
  background-color: #e53935 !important;
  color: #ffffff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3.5px 10px !important;
  border-radius: 9999px !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.32) !important;
  line-height: 1.35 !important;
  border: none !important;
}

/* Category Label */
.krm-pcard-category,
.product-category {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #718096 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 5px !important;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Product Title Clamping (2 Lines Max) */
.krm-pcard-title,
.product-title {
  font-family: 'Outfit', -apple-system, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  min-height: 38px !important;
  height: 2.7em !important;
  margin: 0 0 5px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.krm-pcard-title a,
.product-title a {
  color: #0f172a !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.krm-pcard-title a:hover,
.product-title a:hover {
  color: #00A859 !important;
}

/* 5 Gold Star Presentation */
.krm-pcard-rating,
.product-rating-wrap {
  color: #f59e0b !important;
  font-size: 13.5px !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 7px !important;
  display: flex !important;
  align-items: center !important;
  min-height: 18px !important;
  line-height: 1 !important;
}

.krm-stars,
.star-rating-placeholder {
  color: #f59e0b !important;
  line-height: 1 !important;
}

/* Pricing Row */
.krm-pcard-price-row,
.product-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  margin-bottom: 7px !important;
  min-height: 24px !important;
  flex-wrap: wrap !important;
}

.krm-pcard-reg-price,
.product-price-row del,
.product-price-row del .woocommerce-Price-amount {
  font-size: 13px !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
}

.krm-pcard-sale-price,
.product-price-row ins,
.product-price-row ins .woocommerce-Price-amount,
.product-price-row > .woocommerce-Price-amount {
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: #00A859 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  text-decoration: none !important;
}

/* Stock Status Indicator */
.krm-pcard-stock,
.product-stock-status {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  color: #00A859 !important;
}

.krm-pcard-stock.out-of-stock,
.product-stock-status.out-of-stock {
  color: #dc2626 !important;
}

.krm-stock-pulse-dot,
.stock-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background-color: #00A859 !important;
  box-shadow: 0 0 0 0 rgba(0, 168, 89, 0.7) !important;
  animation: krmPulse 2s infinite !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.krm-pcard-stock.out-of-stock .krm-stock-pulse-dot,
.product-stock-status.out-of-stock .stock-dot {
  background-color: #dc2626 !important;
  animation: none !important;
  box-shadow: none !important;
}

/* Solid Brand Green Add to Cart CTA with Stroke Cart Icon */
.krm-pcard-cta-wrap,
.product-card-cta {
  margin-top: auto !important;
  width: 100% !important;
}

.krm-pcard-btn-cart,
.woodmart-product-card .btn-add-to-cart,
.btn-add-to-cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  background-color: #00A859 !important;
  color: #ffffff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(0, 168, 89, 0.18) !important;
  line-height: 1.4 !important;
}

.krm-pcard-btn-cart:hover,
.woodmart-product-card .btn-add-to-cart:hover,
.btn-add-to-cart:hover {
  background-color: #00914c !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 168, 89, 0.28) !important;
}

.krm-btn-cart-svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #ffffff !important;
  fill: none !important;
  flex-shrink: 0 !important;
}

.krm-btn-cart-text {
  white-space: nowrap !important;
}

/* Responsive Grid Layout Rules across Breakpoints */
@media (min-width: 1025px) {
  .krm-grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .krm-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .krm-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .krm-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .krm-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 1024px) {
  .krm-showcase-grid {
    grid-template-columns: repeat(var(--pgrid-cols-tablet, 3), minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  .krm-grid-tab-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .krm-grid-tab-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .krm-grid-tab-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Mobile Breakpoints: STRICT 2-COLUMN SIDE-BY-SIDE (NO STRETCHING) */
@media (max-width: 768px) {
  html body .elementor-element .krm-showcase-grid,
  html body .elementor .krm-showcase-grid,
  html body .krm-showcase-grid,
  .krm-showcase-grid,
  .product-grid,
  .shop-products-grid,
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(var(--pgrid-cols-mobile, 2), minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  html body .elementor-element .krm-showcase-grid.krm-grid-mob-2,
  html body .krm-showcase-grid.krm-grid-mob-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .elementor-element .krm-showcase-grid.krm-grid-mob-1,
  html body .krm-showcase-grid.krm-grid-mob-1 { grid-template-columns: 1fr !important; }

  /* Compact 2-column mobile card styling */
  .krm-product-card,
  .woodmart-product-card {
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  }

  .krm-pcard-body,
  .product-card-body {
    padding: 10px 10px 12px !important;
  }

  .krm-pcard-stage,
  .product-thumb-wrap {
    border-top-left-radius: 11px !important;
    border-top-right-radius: 11px !important;
  }

  .krm-pcard-discount-pill,
  .product-badge.badge-discount,
  .product-badge.badge-sale {
    top: 7px !important;
    left: 7px !important;
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

  .krm-pcard-category,
  .product-category {
    font-size: 10.5px !important;
    margin-bottom: 3px !important;
  }

  .krm-pcard-title,
  .product-title {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    height: 2.6em !important;
    min-height: 35px !important;
    margin: 0 0 4px !important;
  }

  .krm-pcard-rating,
  .product-rating-wrap {
    font-size: 12px !important;
    letter-spacing: 1px !important;
    margin-bottom: 4px !important;
    min-height: 16px !important;
  }

  .krm-pcard-price-row,
  .product-price-row {
    gap: 4px !important;
    margin-bottom: 5px !important;
    min-height: 20px !important;
  }

  .krm-pcard-reg-price,
  .product-price-row del {
    font-size: 12px !important;
  }

  .krm-pcard-sale-price,
  .product-price-row ins,
  .product-price-row > .woocommerce-Price-amount {
    font-size: 15px !important;
  }

  .krm-pcard-stock,
  .product-stock-status {
    font-size: 11.5px !important;
    margin-bottom: 8px !important;
    gap: 5px !important;
  }

  .krm-stock-pulse-dot,
  .stock-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .krm-pcard-btn-cart,
  .woodmart-product-card .btn-add-to-cart,
  .btn-add-to-cart {
    font-size: 12.5px !important;
    padding: 8.5px 8px !important;
    border-radius: 7px !important;
    gap: 6px !important;
  }

  .krm-btn-cart-svg {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 480px) {
  /* Enforce 2 columns even on ultra-compact mobile (320px - 480px) */
  html body .elementor-element .krm-showcase-grid,
  html body .elementor .krm-showcase-grid,
  html body .krm-showcase-grid,
  .krm-showcase-grid,
  .product-grid,
  .shop-products-grid,
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(var(--pgrid-cols-mobile, 2), minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  html body .elementor-element .krm-showcase-grid.krm-grid-mob-2,
  html body .krm-showcase-grid.krm-grid-mob-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .elementor-element .krm-showcase-grid.krm-grid-mob-1,
  html body .krm-showcase-grid.krm-grid-mob-1 { grid-template-columns: 1fr !important; }

  .krm-pcard-body,
  .product-card-body {
    padding: 8px 8px 10px !important;
  }

  .krm-pcard-title,
  .product-title {
    font-size: 12.5px !important;
    min-height: 32px !important;
  }

  .krm-pcard-btn-cart,
  .woodmart-product-card .btn-add-to-cart,
  .btn-add-to-cart {
    font-size: 11.5px !important;
    padding: 8px 6px !important;
    gap: 5px !important;
  }

  .krm-btn-cart-svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* ==========================================================================
   GLOBAL MINI-CART LIVE STEPPER & MODERN QUANTITY CONTROLS
   ========================================================================== */
.quantity.krm-quantity-stepper,
.pdp-actions-wrap .quantity,
.woocommerce .quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 48px !important;
  background-color: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex: 0 0 auto !important;
  min-width: 120px !important;
}

.quantity.krm-quantity-stepper:focus-within,
.pdp-actions-wrap .quantity:focus-within {
  border-color: #00A651 !important;
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12) !important;
  background-color: #FFFFFF !important;
}

.quantity .qty-btn,
.quantity button.qty-btn,
.quantity .krm-qty-btn-minus,
.quantity .krm-qty-btn-plus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 40px !important;
  min-width: 36px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 7px !important;
  color: #475569 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}

.quantity .qty-btn:hover:not(:disabled),
.quantity button.qty-btn:hover:not(:disabled) {
  background-color: #E2E8F0 !important;
  color: #0F172A !important;
}

.quantity .qty-btn:active:not(:disabled),
.quantity button.qty-btn:active:not(:disabled) {
  transform: scale(0.92) !important;
}

.quantity .qty-btn:disabled,
.quantity .qty-btn.disabled,
.quantity button.qty-btn:disabled {
  opacity: 0.28 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: transparent !important;
}

.quantity input.qty,
.quantity input.krm-qty-input {
  width: 44px !important;
  height: 40px !important;
  min-height: 40px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: #0F172A !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Mini-Cart Drawer Interactive Inline Stepper */
.mini-cart-action-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 6px !important;
}

.mini-cart-stepper,
.mini-cart-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  height: 28px !important;
  padding: 2px !important;
  box-sizing: border-box !important;
}

.mini-cart-stepper-btn,
.mini-cart-qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  color: #475569 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.15s ease !important;
}

.mini-cart-stepper-btn:hover,
.mini-cart-qty-btn:hover {
  background-color: #E2E8F0 !important;
  color: #0F172A !important;
}

.mini-cart-stepper-btn:active,
.mini-cart-qty-btn:active {
  transform: scale(0.9) !important;
}

.mini-cart-stepper-qty,
.mini-cart-qty-val,
.mini-cart-qty-num {
  min-width: 24px !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  color: #0F172A !important;
  user-select: none !important;
}

.mini-cart-multiply {
  font-size: 0.85rem !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

.mini-cart-drawer .widget_shopping_cart_content {
  transition: opacity 0.2s ease !important;
}

/* ==========================================================================
   SINGLE PRODUCT ACTION AREA & SPACING REFINEMENTS
   ========================================================================== */
.pdp-short-desc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: #334155 !important;
  margin-top: 14px !important;
  margin-bottom: 24px !important;
}

.pdp-actions-wrap {
  margin-top: 8px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  flex-direction: column !important;
}

.pdp-actions-wrap form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  margin-bottom: 14px !important;
  width: 100% !important;
}

.pdp-actions-wrap .quantity,
.pdp-actions-wrap .quantity.krm-quantity-stepper {
  height: 48px !important;
  border-radius: 10px !important;
  border: 1.5px solid #E2E8F0 !important;
  background-color: #F8FAFC !important;
  flex: 0 0 125px !important;
  min-width: 120px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

button.single_add_to_cart_button {
  height: 48px !important;
  padding: 0 20px !important;
  background-color: var(--brand-green, #006633) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  border: none !important;
  font-size: 0.98rem !important;
  flex: 1 1 50% !important;
  min-width: 140px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 102, 51, 0.15) !important;
}

button.single_add_to_cart_button:hover {
  background-color: #004D26 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 51, 0.25) !important;
}

button.krm-single-buy-now-btn {
  height: 48px !important;
  padding: 0 20px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  border: none !important;
  font-size: 0.98rem !important;
  flex: 1 1 50% !important;
  min-width: 140px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25) !important;
}

button.krm-single-buy-now-btn:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(217, 119, 6, 0.35) !important;
}

.pdp-btn-whatsapp,
.btn-whatsapp-outline.pdp-btn-whatsapp {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 48px !important;
  background-color: #FFFFFF !important;
  color: #128C7E !important;
  border: 1.5px solid #128C7E !important;
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-top: 14px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(18, 140, 126, 0.08) !important;
}

.pdp-btn-whatsapp:hover,
.btn-whatsapp-outline.pdp-btn-whatsapp:hover {
  background-color: #128C7E !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   RELATED PRODUCTS SECTION REDESIGN
   ========================================================================== */
.pdp-related-section,
.pdp-related-products-section,
.related.products {
  margin-top: 50px !important;
  margin-bottom: 60px !important;
  padding-top: 20px !important;
}

.pdp-related-header {
  margin-bottom: 24px !important;
  position: relative !important;
}

.pdp-related-heading,
.related.products > h2,
.related.products h2 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.5px !important;
  text-transform: none !important;
}

.pdp-related-divider {
  width: 48px !important;
  height: 3.5px !important;
  background-color: var(--brand-green, #006633) !important;
  border-radius: 3px !important;
}

/* Related Products Grid - 4 Columns Desktop, 3 Columns Tablet, 2 Columns Mobile */
.pdp-related-grid,
.krm-related-grid,
.related ul.products,
.pdp-related-section .product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  .pdp-related-grid,
  .krm-related-grid,
  .related ul.products,
  .pdp-related-section .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .pdp-wrapper {
    padding: 14px 0 36px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .pdp-wrapper .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pdp-hero-grid {
    grid-template-columns: 100% !important;
    padding: 14px 12px !important;
    gap: 16px !important;
    border-radius: 14px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .pdp-gallery-wrap,
  .pdp-details-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .woocommerce-product-gallery,
  .woocommerce-product-gallery__wrapper,
  .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 360px !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }

  .flex-control-thumbs,
  .flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
  }

  .flex-control-thumbs li,
  .flex-control-nav.flex-control-thumbs li {
    flex: 0 0 calc(25% - 6px) !important;
    max-width: calc(25% - 6px) !important;
    width: calc(25% - 6px) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    aspect-ratio: 1 / 1 !important;
  }

  .flex-control-thumbs img,
  .flex-control-nav.flex-control-thumbs img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1.5px solid #E2E8F0 !important;
    box-sizing: border-box !important;
    display: block !important;
    padding: 2px !important;
    background-color: #FAFAFA !important;
  }

  .pdp-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin: 6px 0 8px !important;
  }

  .pdp-short-desc {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin-top: 10px !important;
    margin-bottom: 16px !important;
  }

  .pdp-price-panel {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 14px !important;
    border-radius: 10px !important;
  }

  .pdp-price-current {
    display: inline-flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }

  .pdp-price-current del {
    font-size: 1.1rem !important;
  }

  .pdp-price-current ins {
    font-size: 1.55rem !important;
  }

  .pdp-price-savings {
    font-size: 0.76rem !important;
    padding: 3px 8px !important;
    white-space: nowrap !important;
  }

  /* Mobile Actions Row: Row 1 = Stepper + Add to Cart, Row 2 = Buy Now */
  .pdp-actions-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 6px !important;
    margin-bottom: 18px !important;
  }

  .pdp-actions-wrap form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
  }

  .pdp-actions-wrap .quantity,
  .pdp-actions-wrap .quantity.krm-quantity-stepper {
    flex: 0 0 110px !important;
    max-width: 115px !important;
    min-width: 0 !important;
    height: 46px !important;
    box-sizing: border-box !important;
  }

  .quantity input.qty,
  .quantity input.krm-qty-input {
    width: 36px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
  }

  button.single_add_to_cart_button {
    flex: 1 1 calc(100% - 120px) !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: 0 12px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
  }

  button.krm-single-buy-now-btn {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: 0 14px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    margin-top: 2px !important;
  }

  .pdp-btn-whatsapp,
  .btn-whatsapp-outline.pdp-btn-whatsapp {
    width: 100% !important;
    height: 46px !important;
    font-size: 0.9rem !important;
    margin-top: 6px !important;
    box-sizing: border-box !important;
  }

  .pdp-trust-box {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pdp-related-grid,
  .krm-related-grid,
  .related ul.products,
  .pdp-related-section .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Card Structure & Rounded Borders */
.pdp-related-grid .woodmart-product-card,
.pdp-related-grid .krm-product-card,
.related ul.products li.product {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pdp-related-grid .woodmart-product-card:hover,
.pdp-related-grid .krm-product-card:hover,
.related ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
  border-color: #CBD5E1 !important;
}

/* 1:1 Aspect Ratio Image Container */
.pdp-related-grid .product-thumb-wrap,
.pdp-related-grid .krm-pcard-stage,
.related ul.products li.product .woocommerce-LoopProduct-link {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  overflow: hidden !important;
  background-color: #F8FAFC !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.pdp-related-grid .product-thumb-link,
.pdp-related-grid .krm-pcard-img-link {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
}

.pdp-related-grid .product-card-img,
.pdp-related-grid .krm-pcard-img,
.related ul.products li.product img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  transition: transform 0.35s ease !important;
}

.pdp-related-grid .woodmart-product-card:hover .product-card-img,
.pdp-related-grid .woodmart-product-card:hover .krm-pcard-img,
.related ul.products li.product:hover img {
  transform: scale(1.05) !important;
}

/* Brand Red Savings Pill Badge ("SAVE X% TODAY") */
.pdp-related-grid .krm-pcard-discount-pill,
.pdp-related-grid .product-badge.badge-discount,
.related ul.products li.product .onsale {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 4 !important;
  background: #E53935 !important;
  color: #FFFFFF !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  box-shadow: 0 3px 8px rgba(229, 57, 53, 0.35) !important;
  border: none !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.2 !important;
}

/* Product Card Body */
.pdp-related-grid .product-card-body,
.pdp-related-grid .krm-pcard-body {
  padding: 14px 16px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  background: #FFFFFF !important;
}

/* Subtle Uppercase Gray Category */
.pdp-related-grid .product-category,
.pdp-related-grid .krm-pcard-category {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #94A3B8 !important;
  margin-bottom: 4px !important;
  display: block !important;
}

/* Clean Bold Title clamped to 2 lines */
.pdp-related-grid .product-title,
.pdp-related-grid .krm-pcard-title,
.related ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #0F172A !important;
  margin: 0 0 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 40px !important;
  text-decoration: none !important;
}

.pdp-related-grid .product-title a,
.pdp-related-grid .krm-pcard-title a {
  color: #0F172A !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.pdp-related-grid .woodmart-product-card:hover .product-title a,
.pdp-related-grid .woodmart-product-card:hover .krm-pcard-title a {
  color: var(--brand-green, #006633) !important;
}

/* Price Display Hierarchy */
.pdp-related-grid .product-price-row,
.pdp-related-grid .krm-pcard-price-row,
.related ul.products li.product .price {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
  flex-wrap: wrap !important;
}

.pdp-related-grid .krm-pcard-reg-price,
.related ul.products li.product .price del {
  color: #94A3B8 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
}

.pdp-related-grid .krm-pcard-sale-price,
.related ul.products li.product .price ins,
.related ul.products li.product .price {
  color: var(--brand-green, #006633) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Branded Solid Green Add-to-Cart Button */
.pdp-related-grid .btn-add-to-cart,
.pdp-related-grid .krm-pcard-btn-cart,
.related ul.products li.product .button.add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 100% !important;
  height: 42px !important;
  background-color: var(--brand-green, #006633) !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 102, 51, 0.16) !important;
  margin-top: auto !important;
}

.pdp-related-grid .btn-add-to-cart:hover,
.pdp-related-grid .krm-pcard-btn-cart:hover,
.related ul.products li.product .button.add_to_cart_button:hover {
  background-color: #004D26 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 102, 51, 0.28) !important;
}

.pdp-related-grid .krm-btn-cart-svg {
  flex-shrink: 0 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   INTERACTIVE HIGH-RESOLUTION PRODUCT IMAGE ZOOM & LIGHTBOX
   ========================================================================== */

/* Main Gallery Image Container */
.woocommerce-product-gallery__image,
.pdp-gallery-inner .woocommerce-product-gallery__image {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background-color: #FAFAFA !important;
  border: 1px solid #E2E8F0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: crosshair !important;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  cursor: crosshair !important;
  text-decoration: none !important;
}

/* Base Image - Stabilized & Sharp without pixelated scaling */
.woocommerce-product-gallery__image img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
  transform: none !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translateZ(0) !important;
  transition: opacity 0.2s ease !important;
  pointer-events: none !important;
}

/* Dedicated High-Resolution Magnified Layer (Uncompressed Source File) */
.krm-zoom-magnified-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
  opacity: 0;
  visibility: hidden;
  background-repeat: no-repeat;
  background-color: #FAFAFA;
  border-radius: 14px;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  image-rendering: auto !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 6;
}

.krm-zoom-magnified-layer.is-active,
.woocommerce-product-gallery__image.is-zoomed .krm-zoom-magnified-layer {
  opacity: 1 !important;
  visibility: visible !important;
}

.woocommerce-product-gallery__image.is-zoomed img {
  opacity: 0.12 !important; /* Soft backdrop so the high-res magnified layer is 100% sharp and visible */
}

/* Semi-transparent Cursor Follow Lens */
.krm-zoom-lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(0, 166, 81, 0.85);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  pointer-events: none !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
  will-change: transform;
}

.woocommerce-product-gallery__image.is-zoomed .krm-zoom-lens {
  opacity: 1;
  visibility: visible;
}

/* Subtle "Hover to zoom" Pill Badge */
.krm-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none !important;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 8;
}

.krm-zoom-hint svg {
  display: block;
  flex-shrink: 0;
  stroke: #ffffff;
}

.woocommerce-product-gallery__image.is-zoomed .krm-zoom-hint {
  opacity: 0;
  transform: translateY(4px);
}

/* Fullscreen Expand Trigger Button */
.krm-gallery-expand-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 12;
  padding: 0;
}

.krm-gallery-expand-btn:hover {
  background: #00a651;
  color: #ffffff;
  border-color: #00a651;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 166, 81, 0.35);
}

/* Fullscreen High-Resolution Lightbox Modal */
.krm-pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.krm-pdp-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.krm-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.krm-lightbox-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
}

.krm-lightbox-header,
.krm-lightbox-stage,
.krm-lightbox-thumbs-bar {
  pointer-events: auto;
}

.krm-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #ffffff;
}

.krm-lightbox-counter {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
}

.krm-lightbox-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.krm-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.85);
  transform: rotate(90deg);
}

.krm-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 0;
  gap: 16px;
}

.krm-lightbox-img-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.krm-lightbox-img {
  max-width: 100%;
  max-height: calc(85vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.krm-lightbox-img.is-loading {
  opacity: 0.3;
}

.krm-lightbox-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.krm-lightbox-nav:hover {
  background: #00a651;
  border-color: #00a651;
  transform: scale(1.08);
}

.krm-lightbox-thumbs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.krm-lightbox-thumb-item {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #ffffff;
  padding: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

.krm-lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.krm-lightbox-thumb-item.is-active,
.krm-lightbox-thumb-item:hover {
  border-color: #00a651;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.4);
}

body.krm-lightbox-open {
  overflow: hidden !important;
}

/* Touch & Mobile Fallbacks */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  .woocommerce-product-gallery__image {
    cursor: pointer !important;
  }

  .woocommerce-product-gallery__image a {
    cursor: pointer !important;
  }

  .krm-zoom-lens {
    display: none !important;
  }

  .krm-zoom-hint {
    display: none !important;
  }

  .krm-lightbox-nav {
    display: none !important;
  }

  .krm-lightbox-stage {
    padding: 0;
  }

  .krm-lightbox-img {
    max-height: 70vh;
  }

  .krm-lightbox-thumb-item {
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================================
   GLOBAL WISHLIST REMOVAL & SUPPRESSION (ALL BREAKPOINTS & VIEWPORTS)
   ========================================================================== */
.header-wishlist-btn,
.wishlist-toggle-btn,
.wishlist-count-badge,
.wishlist-badge-count,
#header-wishlist-count,
.nav-icon-btn.header-wishlist-btn,
.header-action-group a[href*="wishlist"],
.header-action-group .wishlist-toggle-btn,
.header-action-group .header-wishlist-btn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}

/* ==========================================================================
   FOOTER MENU LINKS SPACING OPTIMIZATION (CATEGORIES & CUSTOMER SERVICE)
   ========================================================================== */
.footer-col-categories h4,
.footer-col-support h4,
.footer-col h4 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.2px !important;
}

.footer-col-categories .footer-links,
.footer-col-support .footer-links,
.footer-col .footer-links {
  display: flex !important;
  flex-direction: column !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}

.footer-col-categories .footer-links li,
.footer-col-support .footer-links li,
.footer-col .footer-links li {
  list-style: none !important;
  margin: 0 0 9px 0 !important;
  padding: 0 !important;
  line-height: 1.55 !important;
}

.footer-col-categories .footer-links li:last-child,
.footer-col-support .footer-links li:last-child,
.footer-col .footer-links li:last-child {
  margin-bottom: 0 !important;
}

.footer-col-categories .footer-links li a,
.footer-col-support .footer-links li a,
.footer-col .footer-links a {
  display: inline-block !important;
  color: #CBD5E1 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  text-decoration: none !important;
  padding: 1px 0 !important;
  margin: 0 !important;
  transition: color 0.2s ease, transform 0.15s ease !important;
}

.footer-col-categories .footer-links li a:hover,
.footer-col-support .footer-links li a:hover,
.footer-col .footer-links a:hover {
  color: #00A859 !important;
  text-decoration: none !important;
}

/* ==========================================================================
   TRACK ORDER: UNIFIED PHONE INPUT & CTA BUTTON REDESIGN
   ========================================================================== */
.krm-tracker-form {
  max-width: 440px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

.krm-phone-input-box,
.krm-phone-input-pill {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 14px !important;
  padding: 0 16px !important;
  height: 52px !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  width: 100% !important;
}

.krm-phone-input-box:focus-within,
.krm-phone-input-pill:focus-within {
  border-color: #059669 !important;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.14) !important;
}

.krm-phone-country-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  width: auto !important;
  user-select: none !important;
}

.krm-phone-icon {
  width: 20px !important;
  height: 20px !important;
  color: #059669 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.krm-phone-icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #059669 !important;
}

.krm-country-code {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #0F172A !important;
  letter-spacing: 0.2px !important;
  line-height: 1 !important;
}

.krm-code-divider {
  width: 1px !important;
  height: 22px !important;
  background: #E5E7EB !important;
  margin: 0 10px 0 6px !important;
  flex-shrink: 0 !important;
}

.krm-phone-field {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-family: inherit !important;
  color: #0F172A !important;
  font-weight: 500 !important;
  padding: 0 !important;
  height: 100% !important;
  min-width: 0 !important;
  letter-spacing: 0.3px !important;
}

.krm-phone-field::placeholder {
  color: #94A3B8 !important;
  font-weight: 400 !important;
  font-size: 14.5px !important;
}

.krm-btn-track {
  width: 100% !important;
  height: 50px !important;
  background: #059669 !important;
  color: #FFFFFF !important;
  border: none !important;
  outline: none !important;
  border-radius: 12px !important;
  padding: 0 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2) !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.krm-btn-track:hover {
  background: #047857 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28) !important;
}

.krm-btn-track:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2) !important;
}

@media (max-width: 768px) {
  .krm-phone-input-box,
  .krm-phone-input-pill {
    flex-direction: row !important;
    height: 50px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
  }

  .krm-phone-country-group {
    width: auto !important;
  }

  .krm-phone-field {
    width: auto !important;
    padding: 0 !important;
    font-size: 14.5px !important;
  }

  .krm-btn-track {
    width: 100% !important;
    height: 50px !important;
    border-radius: 12px !important;
  }
}

