.elementor-kit-10{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-10 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ===================================================
   SmartHome P0/P1 Bug Fixes
   Generated: 2026-03-11
   =================================================== */

/* --- #561: Shop mobile grid — equal height cards, consistent images --- */
@media (max-width: 767px) {
  /* Force equal height product cards */
  .etheme-product-grid:not(.type-slider) {
    align-items: stretch;
  }
  .etheme-product-grid-item {
    display: flex !important;
    flex-direction: column;
  }
  /* Uniform image container */
  .etheme-product-grid-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
  }
  .etheme-product-grid-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  /* Push content to bottom for alignment */
  .etheme-product-grid-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  /* Clamp titles to 2 lines */
  .etheme-product-grid-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  /* Push price to bottom */
  .etheme-product-grid-price-wrapper,
  .etheme-product-grid-item .price {
    margin-top: auto;
  }
}

/* --- #562: Cart page — remove blank white space above cart content --- */
.woocommerce-cart .elementor-element-9d63200 {
  display: none !important;
}

/* --- #563: Product pages — don't show ₵0.00 in mini-cart when cart is empty --- */
.etheme-elementor-off-canvas-zero-quantity-yes .big-coast {
  display: none !important;
}
.etheme-elementor-off-canvas-zero-quantity-yes .etheme-elementor-off-canvas-total-inner {
  display: none !important;
}
/* Also hide cart subtotal line in off-canvas when zero quantity */
.etheme-elementor-off-canvas-zero-quantity-yes .etheme-elementor-off-canvas__totals {
  display: none !important;
}

/* --- #564: Move Add to Cart above fold on mobile --- */
@media (max-width: 767px) {
  /* Reduce product image height on mobile to push ATC above fold */
  .single-product .woocommerce-product-gallery {
    max-height: 280px;
    overflow: hidden;
  }
  .single-product .woocommerce-product-gallery .flex-viewport {
    max-height: 280px !important;
  }
  .single-product .woocommerce-product-gallery img {
    max-height: 280px;
    object-fit: cover;
  }
  /* Ensure ATC section is tight */
  .single-product .product .summary > * {
    margin-bottom: 10px !important;
  }
  .single-product .entry-summary .product_title {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
}

/* --- #565: Sticky Add to Cart bar on mobile --- */
@media (max-width: 767px) {
  .et-sticky-atc-bar {
    position: fixed !important;
    bottom: 56px !important; /* above mobile nav bar */
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15) !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  /* XStore has its own sticky ATC - enable it */
  .etheme-sticky-add-to-cart {
    display: block !important;
    position: fixed !important;
    bottom: 56px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    background: #fff !important;
    padding: 10px 16px !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.12) !important;
  }
}

/* --- #566: Replace quantity input with better mobile UX --- */
@media (max-width: 767px) {
  /* Make quantity stepper larger and easier to tap */
  .quantity .qty {
    width: 50px !important;
    text-align: center !important;
    font-size: 16px !important;
    height: 44px !important;
  }
  .quantity .minus,
  .quantity .plus {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #ddd !important;
    background: #f5f5f5 !important;
    cursor: pointer !important;
    user-select: none !important;
    line-height: 1 !important;
    border-radius: 4px !important;
  }
  .quantity {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  /* Hide the native select dropdown for quantity if present */
  .quantity select.qty {
    -webkit-appearance: none !important;
    appearance: none !important;
    text-align: center !important;
  }
}/* End custom CSS */