/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 4.0

*/

/* Parent stylesheet should be loaded from functions.php not using @import */


/* Base styling for menu links */
/* 🔸 Ensure menu items look clean */
.hfe-nav-menu a.hfe-menu-item {
  color: #000 !important;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

/* 🔸 Remove Elementor green hover underline/border */
.hfe-nav-menu a.hfe-menu-item:hover {
  border: none !important;
  box-shadow: none !important;
  color: #000 !important;
}

/* Fix Elementor hover border */
.hfe-nav-menu a.hfe-menu-item:hover {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Ensure custom underline still shows */
.hfe-nav-menu a.hfe-menu-item::after {
  background-color: #bfa45a !important; /* remove semicolon from inside */
}

/* 🔸 Underline animation (gold) */
.hfe-nav-menu a.hfe-menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #bfa45a; !important;
  transition: width 0.3s ease;
}
.hfe-nav-menu a.hfe-menu-item:hover::after,
.hfe-nav-menu li.current-menu-item > a.hfe-menu-item::after,
.hfe-nav-menu li.current_page_item > a.hfe-menu-item::after {
  width: 100%;
}

/* 🔸 Submenu items default color */
.hfe-submenu-container li a.hfe-menu-item {
  color: #000 !important;
  font-size: 16px;
  padding: 10px 20px;
  display: block;
  transition: all 0.3s;
}

/* 🔸 Gold hover for submenu */
.hfe-submenu-container li a.hfe-menu-item:hover {
  color: #bfa45a !important;
  background: #f8f8f8;
}

/* 🔸 Replace Elementor's missing icon with ▼ arrow inline */
.hfe-menu-toggle .fa::before {
  content: "▼";
  font-size: 11px;
  color: #000;
  display: inline-block;
  transform: translateY(-1px);
}

a.hfe-sub-menu-item.hfe-sub-menu-item-active {
  color: #bfa45a !important;
}
a.hfe-sub-menu-item.hfe-sub-menu-item-active:hover {
  background-color: #f8f8f8 !important;
}

a.hfe-sub-menu-item:hover,
.hfe-sub-menu-item:hover {
  color: #bfa45a !important;
}

/* Active submenu in gold */
a.hfe-sub-menu-item.hfe-sub-menu-item-active {
  color: #bfa45a !important;
}

/* Optional: add matching hover bg */
a.hfe-sub-menu-item.hfe-sub-menu-item-active:hover {
  background-color: #f8f8f8 !important;
}

/* ///////////////////////////////////////////////////////////////// */
.owp-floating-bar {
  display: none !important;
}

/*____________________________________ */

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    margin: 0 8px !important; /* add spacing between bullets */
    background: #888; /* optional: better contrast */
}

.swiper-pagination-bullet-active {
    background: #000; /* stronger contrast */
}
/*____________________________________ */
/* === Sticky header & top bar === */
#site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: white !important;
  transition: top 0.3s ease;
}

#top-bar-wrap {
  position: relative;
  top: 0;
  z-index: 9998;
  transition: transform 0.3s ease;
}

#top-bar-wrap.hide-on-scroll {
  transform: translateY(-100%);
}

/* === Fix parents so sticky works === */
.elementor-location-header,
.custom-header,
.header-inner,
#wrap {
  overflow: visible !important;
  position: relative !important;
}

/* === Layout fixes === */
body, html {
  margin: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

#main.site-main {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* === Mobile fixes === */
@media (max-width: 768px) {
  #top-bar-wrap {
    font-size: 14px;
    padding: 5px 15px;
  }

  .dmm_package {
	display: none;
    font-size: 1.8rem !important;
    text-align: center;
  }

  .custom-product-page {
    font-size: 1rem !important;
    line-height: 1.4rem !important;
  }

  img.attachment-large.size-large {
    max-height: 50vh;
    width: 100%;
    height: auto;
  }
}








/*______________Menu___________________*/


#menu-item-7319 {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Adjust inner wrapper to not stretch height */
#menu-item-7319 .dgwt-wcas-search-wrapp {
  display: flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
}

/* Align the icon */
#menu-item-7319 .dgwt-wcas-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.dgwt-wcas-ico-magnifier-handler {
	margin-bottom: 0px !important;
}

/*______________Contant___________________*/

.dmm_package {
    display: none;
}