#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.swal-toast-title {
    font-weight: 900 !important;  /* or 300, 400, 500, 600, 700, bold */
    font-size: 14px !important;      /* Optional: adjust size */
}

.ripple-loader {
  position: relative;
  width: 80px;
  height: 80px;
}

.ripple-loader div {
  position: absolute;
  border: 4px solid #000;
  border-radius: 50%;
  opacity: 1;
  animation: ripple 1.5s cubic-bezier(0,0.2,0.8,1) infinite;
}

.ripple-loader div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}


 [x-cloak] { display: none !important; }


.custom-video-container {
        position: relative;
        width: 100%;
        height: 100vh; /* Takes up 80% of the screen height */
        overflow: hidden;
        display: grid; /* Grid allows overlapping easily */
        place-items: center; /* Centers everything perfectly */
        background-color: #000; /* Dark fallback */
    }

    /* 2. The Video: Bottom Layer */
    .custom-video-container video {
        grid-area: 1 / 1; /* Force video into the first grid cell */
        width: 100%;
        height: 100%;
        object-fit: cover; /* Keeps video full-screen without shrinking */
        z-index: 1;
    }

    /* 3. The Text: Top Layer */
    .custom-video-container .item-info {
        grid-area: 1 / 1; /* Force text into the SAME grid cell as video */
        z-index: 2; /* Higher than video */
        text-align: center;
        color: white !important; /* Ensure visibility */
        padding: 20px;
        /* Optional: adds a slight dark tint so text pops */
        background: rgba(0, 0, 0, 0.2); 
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Style the text and button for visibility */
    .custom-video-container h2 {
        font-size: clamp(2rem, 5vw, 4rem); /* Responsive font size */
        margin-bottom: 20px;
        text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.7);
        color: #fff;
    }

    .custom-video-container a {
        display: inline-block;
        padding: 12px 30px;
        background: #fff;
        color: #000;
        text-decoration: none;
        font-weight: bold;
        border-radius: 4px;
        transition: transform 0.2s;
    }


    .cart-btn{
  width: 26px;
  height: 26px;
  background: transparent;
  border-radius: 50%;
  border: 1px solid #000;
}

.cart-btn:hover{
  background-color: #000;
  color: #fff;

}

.col-md-6 label {
    display: block;
    margin-bottom: 6px;
}

.light-blue-focus{
  border-color: #818589;
}

.light-blue-focus:focus {
    border-color: #8ec5ff;
    box-shadow: 0 0 0 0.2rem rgba(142, 197, 255, 0.4);
}

.variations button {
    cursor: pointer;
}

.variations button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.variations .color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.variations .color-swatch:hover {
    transform: scale(1.15);
    border-color: #9ca3af;
}

.variations .color-swatch.active {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
}


.back-top {
    display: flex;
    align-items: center;     /* vertical center */
    justify-content: center; /* horizontal center */
}

   .icons-cart {
    display: inline-block;
    line-height: 1;
}

.cart-count {
    /* Adjust these values to fine-tune position */
    transform: translate(-40%, -60%);   /* ← most important line */
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    padding: 0;
    line-height: 18px;
    text-align: center;
}

/* Optional: make number smaller when it's 10+ */
.cart-count:where(:not(:empty)):not(:has(+ *)) {
    font-size: 0.6rem;
}
