/* Page Loader*/
.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f6fa;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #114680;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#page-content-loader-wrapper {
    position: relative;
}
/* END Page Loader*/

.custom-header-style{
    position: absolute;
    width: 600px;
    background: #e0ecfb;
    height: 100%;
    margin-left: -141px;
    border-bottom: 3px solid #1c2b46;
    border-bottom-right-radius: 30px;
    /* border-radius: 100px; */
    /* clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%); */

    /* transform: skewX(-15deg);
    transform-origin: top left; */

    /* clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0% 100%); */

    /* border-bottom: 3px solid #1c2b46;
    clip-path: path("M 0 0 H 569 Q 542 74 400 100 H 0 Z"); */
    
}

.show-below-1200 {
  display: block;
}

/* Hide for screens >= 1200px */
@media (min-width: 1200px) {
  .show-below-1200 {
    display: none;
  }
}

@media (max-width: 1480px) {
    .custom-header-style {
        width: 500px;
    }

    .logo-img {
        max-width: 325px;
    }
}

@media (max-width: 768px) {
    .custom-header-style {
        width: 380px;
    }
}

@media (max-width: 400px) {
    .custom-header-style {
        width: 310px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-width: 215px;
    }
}

@media (max-width: 400px) {
    .logo-img {
        max-width: 150px;
    }
}

.card-aside {
    min-height: 10vh !important;
}

.card-aside-left {
    border-right: 0px solid #e5e9f2;
}

.home-h2-title{
    font-size: clamp(18px, 2.5vw, 25px);
}

.home-text-box-div{
    padding: clamp(20px, 5vw, 80px);
}

.footer-title{
    color:#cbcbcb ;
}

.footer-column{
    padding: 20px;
}

.footer-icons{
    font-size: 35px;
}

.footer-phone-highlight{
    font-size: 16px;
}

.footer-ul-lh{
    line-height: 1.8;
}

.section-light{
    background-color: #fdfdfd;
}

.cart-icon{
    top: -10px !important;
    right: 5px !important;
}

.category-card-box{
    display: flex; 
    align-items: center;
    background: #f2f5f4;
    
}

.category-box-title{
    flex: 1; 
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.category-box-image{
    margin-right: 10px;
    max-width: 75px;
    padding: 5px;
}

.form-label-cart {
    font-size: 12px !important;
    font-weight: 500;
    color: #344357;
    margin-bottom: 0 !important;
}

.product-title-grid{
    font-size: 14px;
    text-align: left;
    padding-bottom: 10px;
}

.product-gird-card-body{
    min-height: 280px;
}

.product-image-grid{
    max-width: 75%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.swal2-cancel {
    background-color: #125c13 !important;
    margin-bottom: 5px;
}

.swal2-confirm {
    background-color: #1b5983 !important;
    margin-bottom: 5px;
}

.swal2-close {
    color: #747e93 !important;
}

.button-container {
    display: flex;
    justify-content: flex-end; /* Aligns the button to the right */
    width: 100%; /* Ensures the container takes full width */
}

.btn-cart-qty{
    padding-bottom: 0px!important;
    padding-top: 0px!important;
    margin-bottom: 2px!important;
    margin-top: 2px!important;
}

.cart-item-container{
    display: flex;
    align-items: center;
}

.cart-thumb{
    max-height: 80px;
}

.cart-total {
    color: #526484 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.cart-th {
    color: #526484 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.btn-full-width{
    width: 100%;
}

.product-breadcrumb{
    font-size: 18px !important; 
}

.gst-text{
    font-size: 10px;
    color: #787878;
}

.single-product-price-tag {
    font-size: 20px;
    font-weight: 500;
}

.product-model-label{
    padding-right: 10px;
    margin-bottom: 0 !important; 
}

.accessories-box-img {
    max-width: 200px;
}

.page-title-mobile{
    font-size: 18px;
    padding-bottom: 15px;
}

.page-title-desktop{
    font-size: 24px;
    font-weight: 700;
}

.single-product-price-tag-mobile{
    font-size: 16px;
}

.cus-cart-add-icon{
    padding-left: 10px;
}

.accordion-inner {
    max-height: 450px;
    overflow-y: auto;
}

.accordion-inner table th,
.accordion-inner table td {
  padding: 5px;
}

.product-price{
    font-size: 16px;
    font-weight: 500;
}

.box-hover:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.cart-item-remove{
    text-decoration: underline;
    color: #cd3232;
    padding-left: 15px;
    cursor: pointer;
}

.auth-page-heading{
    text-align: center;
    padding-bottom: 20px;
}

.esm-icons{
    max-height: 100px;
}

.esm-box-heading{
    font-weight: 700;
    font-size: 16px;
}

.esm-para{
    padding-top: 18px;
}

.esm-arrow{
    font-size: 32px;
}

.esm-icons-features{
    max-height: 80px;
}

.section-special{
    background: #363636;
}

.esm-special-box{
    color: #e3e3e3;
    font-size: 16px;
}

.section-padding{
    padding-top: 2%;
    padding-bottom: 1%;
}

.esm-page-image{
    border: 5px solid #c1c1c1;
}

.esm-section-padding{
    padding-left: 2%;
    padding-right: 2%
}

.esm-sub-title{
    font-size: 16px;
    font-weight: 500;
    color: #49616c;
    margin-top: -8px;
}

.esm-main-heading{
    font-size: 32px;
}

.is-theme .nk-quick-nav-icon:before {
    background-color: #1a4376 !important;
}

.footer-social {
    color: #c3c3c3;
}

.sticky-btn {
    position: -webkit-sticky;
    position: sticky;
    top: -17px;
    z-index: 10; /* Ensure it stays on top of other elements */
    background-color: white; /* Optional: To keep the button background consistent */
    padding: 10px 0;
}

.dashboard-main-icon{
    max-width: 40%;
}

.order-details-modal{
    margin-bottom: 0;
}

.cus-table-font{
    font-size: 12px;
}

.cus-table-font tbody tr:hover {
  background-color: #f0f8ff; /* Light blue */
  cursor: pointer; /* Optional: makes it feel interactive */
}

.product-avatar{
   background: #ffffff !important;
}

.instrument-table .product-avatar{
   background: #c1c1c1 !important;
}

.grey-card{
   background: #f9f9f9;
}

/* Hover preview container (using ::after) */
.product-avatar::after {
  content: '';
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 150px;
  height: 150px;
  background-image: var(--preview-url);  /* <-- This line was missing */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: 
    opacity 0.3s ease, 
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

/* Show and animate on hover */
.product-avatar:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.bluedark {
    color: #161594;
    font-weight: bold;
}

.red12b {
    color: #9e311d;
    font-weight: bold;
}

.overdue_cal {
    color: red;
    font-weight: 600;
}

.expiring_soon {
    color: darkorange;
    font-weight: 700;
}

.in_cal_period {
    color: #197b19;
    font-weight: 600;
}

.yellow {
    background-color: #fff000;
}

.cal-recall-result-div{
    background: #f3f3f3;
    padding: 15px;
    margin-bottom: 20px;
}

.cal-recall-result-table-head{
    background: #f3f3f3;
    font-weight: 700;
}

.cal-table-font{
    font-size: 12px;
}

.product-card-qty{
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.min-width-input-cart {
    min-width: 9ch; /* Roughly enough space for 5 characters */
}

.cart-td-align-middle {
    vertical-align: middle !important;
}

.cart-spinner-btn{
    padding: 0px !important;
}

.cart-spinner-input{
    height: 22px !important;
}

.cart-item-responsive-title {
  font-size: 12px;
}

@media (min-width: 768px) {
  .cart-item-responsive-title {
    font-size: 16px;
  }
}

.cart-item-box-bg{
    background: #fdfdfd;
}

.cart-product-img{
    max-width: 100px;
}

.cart-remove-btn {
    position: absolute;
    top: -5px;
    right: 5px;
    color: red;
    font-size: 24px;
    cursor: pointer;
}

.price-tag {
    position: absolute;
    bottom: 5px;
    right: 15px;
    font-size: 18px;
    font-weight: bold;
}

.card + .card {
    margin-top: 15px !important;
}

.cart-spinner-div{
    width: 130px;
}

@media (max-width: 400px) {
    .cart-spinner-div {
         width: 140px;
    }
}

.cart-unit-price{
    color: #646464;
}

.higlighted-div-border{
    border: 4px solid #0a4caf !important;
}

.slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  background: rgba(0,0,0,0.7); /* dark overlay for readability */
  box-sizing: border-box;
}

.overlay-content-1,
.overlay-content-2 {
  width: 50%;
  color: #fff;
  padding: 20px;
}

/* === Single Column Variant === */
.overlay.single-column {
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  text-align: center;      /* center text */
  flex-direction: column;  /* stack content */
}

.overlay.single-column .overlay-content-1 {
  width: 100%;
  max-width: 700px; /* keeps content from stretching too wide */
}

.overlay-content-1 .title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
}

.overlay-content-1 .subtitle {
  font-size: 1.5rem;
  margin: 10px 0;
}

.overlay-content-1 .text {
  font-size: 1rem;
  margin-bottom: 20px;
}


/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .overlay {
    flex-direction: column;
    align-items: center; /* centers horizontally */
    text-align: center;  /* centers text */
  }

  .overlay-content-1,
  .overlay-content-2 {
    width: 100%; /* full width */
  }

  .overlay-content-2 {
    margin-top: 20px; /* spacing between them */
  }
}

.btn-primary-slider {
    color: #fff;
    background-color: #1a3a74 !important;
    border-color: #1a3a74 !important;
}

.light-link{
    color: #dbdbdb !important;
}

.light-link-2{
    color: #a3a3a3 !important;
}

.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
  color: #cfcfcf; /* change to your desired color */
}

.gst-text-product{
    padding-right: 5px;
    padding-bottom: 2px;
    font-size: 10px;
    color: #747474;
}

@media screen and (min-width: 1282px) {
  .nk-menu > li.nk-menu-item > .nk-menu-link {
    font-size: 18px !important;
  }

  .user-name {
    font-size: 15px !important;
  }
}

.nk-header-tools {
    z-index: 1045 !important;
}

/* temp style for tab menu */
@media (min-width: 992px) {
    .nk-menu .nk-menu-item:hover > .nk-menu-sub {
        z-index: 3000 !important;
    }
}