/**
 * Steelence chrome for WooCommerce pages only.
 * Does not affect Elementor canvas homepage (that page does not load this file).
 */

/* —— WhatsApp FAB —— */
a.float-wa {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 9999 !important;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45) !important;
  text-decoration: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform 0.3s ease;
}

a.float-wa:hover {
  transform: scale(1.08);
  color: #fff !important;
}

a.float-wa svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  display: block !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

/* —— Page shell —— */
body.steelence-woo-chrome {
  font-family: Manrope, sans-serif;
  color: #0B1F33;
  background: #FFFFFF;
}

body.steelence-woo-chrome #content,
body.steelence-woo-chrome .site-main,
body.steelence-woo-chrome main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  box-sizing: border-box;
}

/* —— Product gallery —— */
body.steelence-woo-chrome .woocommerce-product-gallery {
  opacity: 1 !important;
  max-width: 100%;
}

body.steelence-woo-chrome .woocommerce-product-gallery__image img,
body.steelence-woo-chrome .woocommerce-product-gallery img,
body.steelence-woo-chrome .wp-post-image {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  display: block;
  margin-inline: auto;
}

body.steelence-woo-chrome div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

body.steelence-woo-chrome div.product .woocommerce-product-gallery,
body.steelence-woo-chrome div.product .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.steelence-woo-chrome .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

body.steelence-woo-chrome ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.steelence-woo-chrome ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  text-align: center;
  border: 1px solid #DCE5EC;
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
  background: #fff;
}

body.steelence-woo-chrome ul.products li.product img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.75rem;
}

body.steelence-woo-chrome .woocommerce-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: #6B7280;
}

body.steelence-woo-chrome .woocommerce-breadcrumb a {
  color: #0F5D73;
  text-decoration: none;
}

body.steelence-woo-chrome h1.product_title,
body.steelence-woo-chrome .woocommerce-products-header__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #0B1F33;
  margin: 0 0 0.75rem;
}

/* —— Footer —— */
body.steelence-woo-chrome .site-footer.steelence-footer {
  background: #FFFFFF;
  color: #6B7280;
  padding: 2.25rem 0 1.25rem;
  border-top: 1px solid #DCE5EC;
  margin-top: 2rem;
  font-family: Manrope, sans-serif;
}

body.steelence-woo-chrome .steelence-footer .container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

body.steelence-woo-chrome .steelence-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

body.steelence-woo-chrome .steelence-footer .footer-brand .brand-logo {
  height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block;
  filter: none !important;
  margin-bottom: 0.25rem;
}

body.steelence-woo-chrome .steelence-footer .footer-brand p {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  max-width: 28ch;
  color: #6B7280;
  line-height: 1.5;
}

body.steelence-woo-chrome .steelence-footer .footer-col h4 {
  color: #0B1F33;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

body.steelence-woo-chrome .steelence-footer .footer-col a {
  display: block;
  font-size: 0.92rem;
  padding: 0.28rem 0;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.25s;
}

body.steelence-woo-chrome .steelence-footer .footer-col a:hover {
  color: #00A6A6;
}

body.steelence-woo-chrome .steelence-footer .footer-col p {
  color: #6B7280;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0.75rem 0 0;
}

body.steelence-woo-chrome .steelence-footer .footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #DCE5EC;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #6B7280;
}

@media (max-width: 900px) {
  body.steelence-woo-chrome div.product {
    grid-template-columns: 1fr;
  }

  body.steelence-woo-chrome .steelence-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  body.steelence-woo-chrome .steelence-footer .footer-grid,
  body.steelence-woo-chrome ul.products {
    grid-template-columns: 1fr;
  }
}
