/*
Theme Name: HWMS Medical Solutions
Theme URI: 
Author: 
Author URI: 
Description: Custom WordPress theme for Health & Wellness Medical Supply WooCommerce store
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hwms
Tags: e-commerce, woocommerce, medical, responsive

This theme, like WordPress, is licensed under the GPL.
*/

/* Fonts are now handled in functions.php via wp_head to ensure correct paths */


body {
  font-family: "Gilroy", sans-serif;
  overflow-x: hidden;
}

.primary-bg {
  background: linear-gradient(301.76deg,
      #288985 -52.67%,
      #1e4846 100.66%);
}

.bg-overlay-section {
  /* Using inline style in templates for background image is often more reliable in WP, 
     but relative path here should work if the CSS is in the theme root. */
  background: url("assets/images/bg-overlay.webp"), #1e4846;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
}

.promo-gradient {
  background: linear-gradient(270deg,
      rgba(217, 217, 217, 0) 0%,
      #038883 100%);
}

.product-card {
  transition: all 0.3s ease-in-out;
}

.product-card:hover {
  transform: translateY(-5px);
}

.swiper-button-next {
  top: 400px !important;
}

.swiper-button-prev {
  top: 400px !important;
  left: 76% !important;
}

.swiper-navigation-icon {
  display: none !important;
}

.swiper-pagination-bullet {
  background-color: transparent !important;
  width: 13px !important;
  height: 13px !important;
  border: 2px solid white !important;
}

.swiper-pagination-bullet-active {
  background-color: white !important;
}

.swiper-pagination {
  top: 88% !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  display: none !important;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  display: none !important;
}

@keyframes bounce-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 4s ease-in-out infinite;
}

@media screen and (max-width: 600px) and (min-width: 300px) {
  .swiper-button-next {
    top: 280px !important;
    right: 30% !important;
  }

  .swiper-button-prev {
    top: 280px !important;
    left: 30% !important;
  }
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 1rem;
  padding: 1rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 72, 70, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 60;
}

li:hover>.submenu,
.group:hover .group-hover\:block {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.submenu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1e4846;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.submenu li a:hover {
  background: #f8fafc;
  color: #2cc4b8;
  padding-left: 1.75rem;
}