/* IKOKETSO v4.6.14 visual refinements.
 * Only targeted WooCommerce notice/card accents and short-page footer layout.
 * Avoids global typography, header, menu and product layout overrides.
 */

/* Empty-cart notice: neutral border, no default WooCommerce accent stripe or overlapping icon. */
body.woocommerce-cart .cart-empty.woocommerce-info,
body.woocommerce-cart p.cart-empty.woocommerce-info,
body.woocommerce-cart .woocommerce .cart-empty.woocommerce-info {
  box-sizing: border-box !important;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: 18px auto 20px !important;
  padding: 18px 20px !important;
  border: 1px solid #DCE4EF !important;
  border-top: 1px solid #DCE4EF !important;
  border-radius: 14px !important;
  background: #F7F9FC !important;
  color: #536177 !important;
  box-shadow: none !important;
  line-height: 1.55 !important;
}
body.woocommerce-cart .cart-empty.woocommerce-info::before,
body.woocommerce-cart p.cart-empty.woocommerce-info::before {
  content: none !important;
  display: none !important;
}

/* The return-to-shop action aligns with the same content grid as the notice. */
body.woocommerce-cart .return-to-shop {
  box-sizing: border-box !important;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: 0 auto 36px !important;
  text-align: left !important;
}
body.woocommerce-cart .return-to-shop .button,
body.woocommerce-cart .return-to-shop a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid #F4B942 !important;
  border-radius: 10px !important;
  background: #F4B942 !important;
  color: #0C1733 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
body.woocommerce-cart .return-to-shop .button:hover,
body.woocommerce-cart .return-to-shop a.button:hover {
  border-color: #0C1733 !important;
  background: #0C1733 !important;
  color: #FFFFFF !important;
}

/* Remove decorative colour strips from advertising catalogue cards. */
.ik-ad-store .ad-store-card::before,
.ik-ad-store .ad-store-item .ad-store-card::before {
  content: none !important;
  display: none !important;
  height: 0 !important;
  background: none !important;
}
body.ikoketso-page .ik-ad-store .ad-store-item[data-ad-group] .ad-store-card {
  border-top: 1px solid #DCE4EE !important;
}

/* Keep short pages at least viewport-height so the footer group sits at the viewport bottom.
   Desktop only: mobile uses the fixed bottom navigation and its own spacing rules. */
@media (min-width: 768px) {
  html { min-height: 100%; }
  body.ikoketso-page {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.ikoketso-page > * { flex-shrink: 0; }
  body.ikoketso-page > footer.construct#contact { margin-top: auto !important; }
  body.ikoketso-page > #bottom-bar.construct { flex: 0 0 auto !important; }
}

@media (max-width: 767px) {
  body.woocommerce-cart .cart-empty.woocommerce-info,
  body.woocommerce-cart p.cart-empty.woocommerce-info,
  body.woocommerce-cart .return-to-shop {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }
  body.woocommerce-cart .return-to-shop .button,
  body.woocommerce-cart .return-to-shop a.button { min-height: 44px !important; }
}
