/*div#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  overflow: visible;;
  background: var(--color-1) url("https://michaelpaul.itsprowebsite.com/public/MICHAELPAUL/themeaB9xY12z/assets/images/preloader.gif?v=1") no-repeat center center;
  background-size: 200px !important
}*/
.th-admin-edit {
 position: relative;  
  z-index: 150;
  font-size: var(--bs-body-font-size) !important;
  /* display: flex;
  justify-content: end;
  align-items: end; */
}
.th-admin-edit span {
  position: absolute;
  color: var(--color-3) !important;
  top: -10px;
  right: 0px;
}
.th-admin-edit1 {
  display: inline-flex;
  align-items: center;
}
.th-admin-edit1 span {
  margin-left: 5px;
}

/* Base Header Reset for full-width control */
.hr-header-wrapper {
  font-family: #333333;
  overflow: visible; /* Prevents horizontal scroll from bleed tricks */
  width: 100%;
  position: relative;
  z-index: 999;
}

/* =========================================
   TOP ANNOUNCEMENT BAR (Dark Blue)
=========================================
*/
.hr-announcement-warp {
  background-color: var(--color-2);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  position: relative;
  z-index: 100; /* Higher than brand wrapper's z-index to show contact info */
}
/* Re-refactored flex bar to separate Left/Right lists cleanly */
.hr-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* * THE KEY FIX FOR PROBLEM 1: This pushes the contact list
* Well past the floating gold block, ensuring it's not cut off.
*/
.hr-announcement-left {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 335px; /* Pushes well past the entire gold block tip */
  position: relative;
  z-index: 101; /* Must be higher than gold block z-index */
}
.hr-announcement-left a, .hr-announcement-right a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hr-announcement-left a:hover, .hr-announcement-right a:hover {
  color: var(--color-1);
}
.gold-icon {
  color: var(--color-1);
  font-size: 16px;
}

/* Social icons on the far right */
.hr-announcement-right {
  display: flex;
  align-items: center;
}
.hr-announcement-right .social-icons {
  display: flex;
  gap: 15px;
}

/* =========================================
   MAIN HEADER (White Background)
=========================================
*/
.hr-main-header {
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
  z-index: 100;
}
/* Sticky state for scroll */
.hr-main-header.header-bg {
  position: fixed;
  top: 0; left: 0; width: 100%;
  animation: slideDown 0.5s ease-in-out;
}
@keyframes slideDown { from { top: -100px; } to { top: 0; } }

/* Ensures content in white bar is relative to parent */
.hr-inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* CRUCIAL for floating absolute elements inside */
}

/* -----------------------------------------
   LOGO AREA (Chevron Overlap)
-----------------------------------------
*/
.hr-brand-wrapper {
  position: absolute;
  top: -44px; /* Pulls it up to overlap dark blue bar (adjust to blue bar height) */
  left: 0;
  width: 230px; /* Main rectangular gold area width */
  height: calc(100% + 44px); /* Stretches the height to cover both bars */
  background-color: var(--color-1);
  padding: 15px;
  display: flex; align-items: center; justify-content: center; /* Centers the logo */
  z-index: 10; /* Lower than blue bar contact z-index */
  transition: all 0.3s ease;
}

/* * THE KEY FIX FOR PROBLEM 2: This adds the radial white dot pattern.
* Added pattern and size/position specifications for standard grid.
*/
.hr-brand-wrapper {
  background-image: radial-gradient(#fff 15%, transparent 16%),radial-gradient(#fff 15%, transparent 16%);;
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

/* Pseudo-elements for shape and color bleed */
.hr-brand-wrapper::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -100vw; width: 100vw;
  background-color: var(--color-1);
  /* The bleed also needs the pattern for seamlessness */
  background-image: radial-gradient(#fff 15%, transparent 16%),radial-gradient(#fff 15%, transparent 16%);;
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  z-index: -1;
}
.hr-brand-wrapper::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: -30px; width: 30px; /* Chevron extension size */
  background-color: var(--color-1);
  clip-path: polygon(0 0, 0% 100%, 100% 50%); /* triangle pointing right */
  z-index: -1;
}

/* Resets for sticky scroll to prevent logo breakup */
.hr-main-header.header-bg .hr-brand-wrapper {
  top: 0;
  height: 100%;
}
.hr-brand-link img {
  max-height: 100px;
  width: auto;
  position: relative;
  z-index: 1;
  transition: max-height 0.3s ease-in-out;
}

/* -----------------------------------------
   NAVIGATION MENU AREA
-----------------------------------------
*/
.hr-nav-area {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  padding-left: 275px; /* Pushes the menu items PAST the floating logo */
}
.hr-header-menu .nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.hr-header-menu .nav-item { position: relative; }
.hr-header-menu .nav-link {
  color: var(--color-2);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 25px 0;
  display: flex; align-items: center; gap: 5px;
  transition: 0.3s;
  font-family: var(--font-01);
}
.hr-header-menu .nav-link:hover { color: var(--color-1); }

/* Dropdown Menu Styles */
.hr-inner-dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-top: 3px solid var(--color-1);
  list-style: none; padding: 0; z-index: 100;
}
.hr-header-menu .nav-item:hover > .hr-inner-dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.hr-inner-dropdown .nav-item { border-bottom: 1px solid #eee; }
.hr-inner-dropdown .nav-item:last-child { border-bottom: none; }
.hr-inner-dropdown .nav-link {
  padding: 12px 20px;
  font-size: 16px;
  color: var(--color-2);
}
.hr-inner-dropdown .nav-link:hover {
  background-color: #f9f9f9;
  color: var(--color-1);
  padding-left: 25px;
}

/* -----------------------------------------
   RIGHT ACTION AREA (Icons, Button)
-----------------------------------------
*/
.hr-action-area {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-quote {
  background-color: var(--color-1);
  color: #fff;
  padding: 12px 30px;
  font-weight: 700; 
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: 0.3s;
  line-height: 1.714em;
}
.btn-quote i {
  /* Smooth transition specifically for the rotation */
  transition: transform 0.3s ease; 
}
.btn-quote:hover { background-color: var(--color-2);color: #ffffff }
.btn-quote:hover i {
  /* Rotates the up-right arrow 45 degrees clockwise so it points right */
  transform: rotate(45deg); 
}
.hr-header-auth-icons {
  display: flex; align-items: center; gap: 15px;
}
.hr-header-auth-icons a {
  color: var(--color-2);
  text-decoration: none; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 5px;
  transition: 0.3s;
}
.hr-cart-btn {
  position: relative;
  color: var(--color-2);
  font-size: 18px;
}
.cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background-color: var(--color-1);
  color: #fff;
  font-size: 10px; font-weight: bold;
  height: 18px; width: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}

/* =========================================
   MOBILE & RESPONSIVENESS (Crucial Update)
=========================================
*/
/* The entire announcement bar logic needs to change for mobile */
.hr-mob-menu-btn {
  display: none;
  background: transparent; border: none;
  color: var(--color-2);
  font-size: 24px;
  cursor: pointer;
}

/* Tablet refinements to keep items spaced nicely */
@media screen and (max-width: 1199px) {
  .hr-nav-area { padding-left: 200px; }
  .hr-header-menu .nav { gap: 15px; }
}

@media screen and (max-width: 991px) {
  /* For mobile, the blue top bar hides and the floating logo resets */
  .hr-announcement-warp { display: none; } 
  
  .hr-nav-area, .btn-quote { display: none; }
  .hr-mob-menu-btn { display: block; }
  
  .hr-main-header .hr-inner-header { padding: 10px 0; }
  .hr-brand-wrapper {
    position: relative;
    top: 0;
    height: auto;
    padding-right: 25px;
    width: auto;
  }
  .hr-brand-wrapper::after {
    right: -25px;
    width: 25px;
  }
  .hr-brand-link img { max-height: 50px; }
}

@media screen and (max-width: 575px) {
  .hr-brand-link img { max-height: 40px; }
}

/* Standard Mobile Popup Menu styles */
.hr-mob-menu-pop {
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background-color: var(--color-2);
  z-index: 9999;
  transition: 0.4s ease-in-out;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  overflow-y: auto;
}
.hr-mob-menu-pop.open { right: 0; }
.hr-mob-menu-pop .hr-close {
  background: transparent; border: none;
  color: #fff;
  font-size: 24px;
  float: right; cursor: pointer;
  margin-bottom: 20px;
}
.hr-mob-menu-pop .nav {
  flex-direction: column; gap: 0;
  clear: both;
}
.hr-mob-menu-pop .nav-link {
  color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 16px;
}
.hr-mob-menu-pop .hr-inner-dropdown {
  position: static; opacity: 1; visibility: visible;
  transform: none; box-shadow: none; border: none;
  background: rgba(0,0,0,0.1);
  display: none; 
}
.hr-mob-menu-pop .nav-item:hover > .hr-inner-dropdown { display: block; }
.hr-mob-menu-pop .hr-inner-dropdown .nav-link { padding-left: 20px; border-bottom: none; }