.error{ color: red!important;}
.seo-tag {display: none; }
/* Floating Widget Container */
.seo-score-floating-widget {
    position: fixed;
    top: 200px;
    right: 20px;
    z-index: 9999; /* Keeps it above your header and page content */
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-score-floating-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Label above the circle */
.seo-widget-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-circle-link {
    text-decoration: none;
    display: inline-block;
}

/* Circular Progress Bar */
.score-circle {
    --size: 70px; /* Slightly larger to fit the /100 text */
    --thickness: 6px;
    
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Uses the color variable passed from PHP */
    background:
        radial-gradient(closest-side, #fff calc(100% - var(--thickness)), transparent 0 99.9%, #fff 0),
        conic-gradient(var(--score-color) calc(var(--score) * 1%), #f0f0f0 0);
}

/* Inner Text Formatting */
.score-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    line-height: 1;
}

.score-total {
    font-size: 10px;
    color: #999;
    font-weight: 600;
    margin-top: 2px;
}
/* Base Header Adjustments - Removed 'position: fixed' so it flows naturally under the announcement bar */
.hr-main-header {
  width: 100%;
  z-index: 1020;
  border-bottom: transparent !important;
  background-color: #000;
  position: relative; /* Removes buggy sticky rules */
}
.th-admin-edit span {
  color: var(--color-1) !important;
  z-index: 9999;
  position: relative;
}
.main_menu.hr-header-menu .fa.fa-pencil {
  color: var(--color-1) !important;
}

/* Sticky top scrolling effect */
.hr-main-header.header-scrolled {
  position: fixed !important;
  top: 0;
  left: 0;
  background-color: #000; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  animation: slideDown 0.3s ease-in-out forwards; /* Smooth entry */
}

/* Fix general dropdown hovers */
.hr-inner-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 200px;
  z-index: 1000;
}
.nav-item:hover > .hr-inner-dropdown {
  display: block;
}

/* NEW MULTI-LEVEL NESTED DROPDOWN */
.nested-dropdown-container {
    min-width: 260px;
    top: 100%;
    left: 0;
    margin-top: 0;
    display: none;
}
.nav-item.dropdown:hover > .nested-dropdown-container {
    display: block;
}
.nested-dropdown-container .dropdown-item {
    font-size: 15px;
    transition: all 0.2s ease-in-out;
}
.nested-dropdown-container .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--color-1, #000) !important;
    padding-left: 25px !important; 
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    min-width: 240px;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.nested-dropdown-container li:last-child {
    border-bottom: none !important;
}

/* Mobile Off-Canvas Menu Styling */
.hr-mob-menu-pop {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background-color: #1a1a1a;
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  padding: 30px 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}
.hr-main-header .hr-header-menu .nav .nav-item .nav-link:hover {
  color: var(--color-1) !important;
}
.hr-mob-menu-pop.show-menu {
  right: 0 !important;
  display: block !important;
}

/* Cart Badge Styling */
.cart-count {
  position: absolute;
  top: 0px;
  right: -5px;
  background: var(--color-1);
  color: #fff;
  font-size: 10px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.hr-main-header .hr-header-menu .nav .nav-item, .hr-main-header .hr-header-menu .nav .nav-item .nav-link {
  font-family: var(--font-03);
  color: #fff;
  font-size: 17px;
  padding: 14px 3px;
}
.user-name-btn {
  padding: 5px;
}
.hr-header-cart i {
  color: #fff;
}
.hr-main-header .hr-brand-link img {
  width: auto;
  object-fit: contain;
  padding-right: 30px;
  max-width: 300px;
}
.main_menu.hr-header-menu .nav {
  column-gap: 5px;
}
.hr-mob-menu .hr-menu-btn{
  color: #fff;
  border: 1px solid #fff;
}
.dropdown-item {
  font-family: var(--font-03);
}
.dropdown-menu span{
  font-size: 12px;
}

/* Announcement Bar Adjustments - Removed .hr-header prefix */
.hr-announcement-warp {
  padding: 9px 0px;
  transition: all 0.3s ease-in-out;
  background: #cda85f;
}
.hr-announcement-warp .hr-announcement-bar {
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hr-announcement-right .nav li .office-address-inner {
    column-gap: 5px;
    display: flex;
    align-items: center;
}
.hr-announcement-bar .nav .nav-item .nav-link {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: var(--weight-400);
    padding: 0;
    margin-right: 0;
    margin-left: 1rem;
    font-size: 18px;
    font-family: var(--font-03);
}
.hr-announcement-bar .nav .nav-item .nav-link.hr-phone {
    font-weight: 400;
    margin-right: 1rem !important;
    margin-left: 1.5rem !important;
}
.hr-announcement-right .nav li .office-address-inner .office-address-content .office-location {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: var(--weight-400);
    padding: 0;
    font-size: 18px;
    font-family: var(--font-03);
}
.hr-announcement-bar .nav .nav-item .nav-link .hr-announcement-icon {
    margin-right: 0.5rem;
}
.hr-announcement-bar .nav .nav-item .nav-link .hr-announcement-icon span {
    font-size: 14px;
    color: #000;
}
.hr-announcement-bar .nav .nav-item:last-child .nav-link {
    margin-right: 0;
}
.hr-announcement-bar .nav .nav-item .nav-link.email {
    text-transform: var(--lower);
    font-weight: 400;
}
.hr-announcement-left .nav .nav-item {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: var(--weight-400);
    padding: 0;
    margin-right: 1.5rem;
    font-size: 15px;
    column-gap: 7px;
    font-family: var(--font-02);
}
.hr-announcement-left .nav .nav-item .social-link {
    color: #fff !important;
    text-decoration: none;
    font-weight: 700 !important;
    background: #000;
    width: 27px;
    height: 27px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@media(max-width:1400px){
  .hr-main-header .hr-header-menu .nav .nav-item, .hr-main-header .hr-header-menu .nav .nav-item .nav-link {
  font-size: 15px;
  padding: 14px 3px;
  }
  .hr-main-header .hr-brand-link img {
    max-height: 50px;
  }
}
@media(max-width:1200px){
  .hr-header-right {
    display: none;
  }
  .hr-mob-menu {
    display: block !important;
  }
}
@media only screen and (min-width: 992px) {
    .nested-dropdown-container::before,
    .hr-inner-dropdown::before {
        content: "";
        position: absolute;
        top: -35px;
        left: 0;
        width: 100%;
        height: 35px;
        background: transparent;
        z-index: 999;
    }
    .dropdown-submenu::after {
        content: "";
        position: absolute;
        top: 0;
        right: -10px;
        width: 10px;
        height: 100%;
        background: transparent;
    }
}
@media (max-width: 992px) {
    .hr-announcement-right .nav li .office-address-inner {
        display: none;
    }
}
@media screen and (max-width: 768px) {
  .hr-announcement-warp .hr-announcement-bar {
      justify-content: center;
  }
  .hr-announcement-warp .hr-announcement-bar .hr-announcement-left {
      display: none;
  }
}
@media(max-width:576px){
  .hr-main-header .hr-brand-link img {
    max-height: 70px;
  }
  .hr-announcement-warp {
      padding: 5px 0px;
  }
  .hr-announcement-bar .nav .nav-item .nav-link {
      font-size: 12px;
      margin: 0 !important;
      color: #fff;
  }
}
@media(max-width:390px){
  .hr-main-header .hr-brand-link img {
    max-height: 60px;
  }
}