
.h-5 {
  height: 1.25rem;
}
.w-5 {
  width: 1.25rem;
}
.w-px {
    width: 1px;
}
.h-4 {
    height: 1rem;
}
.h-0 {
    height: 0px;
}
.bg-line {
    background-color: #e9e9e9;
}
.filter-category-block .tab-item {
    border-bottom: 1px solid transparent;
}
.filter-category-block .tab-item.active {
    border-bottom-color: var(--primary-color) !important;
    color: #000 !important;
}
.filter-category-block .tab-item:hover {
    border-bottom-color: var(--primary-color) !important;
    color: #000 !important;
    cursor: pointer;
}
.list-color .color-item .tag-action,
.list-color-image .color-item .tag-action {
  position: absolute;
  right: unset;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 1;
  transition: all ease 0.5s;
}
.list-color .color-item .tag-action::before,
.list-color-image .color-item .tag-action::before {
  content: "";
  position: absolute;
  top: unset;
  right: unset;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  bottom: -4px;
  height: 14px;
  width: 14px;
  z-index: -1;
  background-color:  #000;
}
.product-image .pro-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.cust-check:hover {
    border: 1px solid black !important;
}
.shop-header{
    display: none !important;
}
.shop-product-wrap .list-product #skeCont{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}


/* Toggle Switch Styles */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: 0.4s;
}

.toggle-switch input:checked+.slider {
  background-color:  #000;
  /* Active state color */
}

.toggle-switch input:checked+.slider:before {
  transform: translateX(26px);
}

/* Disabled State */
.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.checkoutPageCoupanSection {
  position: relative;
  /* margin: 2rem 0; */
}
.list-action .list-color li {
    list-style: none;
}
.hidden {
    display: none;
}
.quickview-detail-info .selected_variation_total_price .discount-price::before {
    content: "(";
}
.quickview-detail-info .selected_variation_total_price .discount-price::after{
    content: ")";
}

.text-underline{
  text-decoration: underline;
}


/* quick view skeleton animatoin */

      :root {
        --skeleton: #f2f2f3;
        --skeleton-dark: #ececee;
        --gap: 24px;
      }

      .skeleton-wrap {
        /* width: 1100px;
        max-width: 95vw; */
        display: grid;
        grid-template-columns: 330px 1fr;
        gap: var(--gap);
      }

      /************ LEFT SIDE (updated) *************/
      .left {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .main-card {
        width: 100%;
        height: 380px;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        border-radius: 6px;
        position: relative;
        overflow: hidden;
      }

      .thumbs-bottom {
        display: flex;
        gap: 14px;
        justify-content: flex-start;
      }

      .thumb {
        width: 80px;
        height: 80px;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        border-radius: 6px;
        position: relative;
        overflow: hidden;
      }

      /************ RIGHT SIDE (unchanged) *************/
      .right {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: 22px;
      }

      .line {
        height: 14px;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        border-radius: 6px;
        position: relative;
        overflow: hidden;
      }
      .line.short {
        width: 160px;
        height: 12px;
      }
      .line.long {
        width: 100%;
        height: 16px;
      }
      .line.mid {
        width: 68%;
        height: 14px;
      }

      .pills {
        display: flex;
        gap: 14px;
      }
      .pill {
        width: 120px;
        height: 36px;
        border-radius: 20px;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        position: relative;
        overflow: hidden;
      }
      .pill.sm {
        width: 64px;
      }

      .cards {
        display: flex;
        gap: 18px;
      }
      .card {
        width: 110px;
        height: 120px;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        border-radius: 6px;
        position: relative;
        overflow: hidden;
      }

      .wide-pill {
        width: 100%;
        height: 46px;
        border-radius: 26px;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        position: relative;
        overflow: hidden;
      }
      .thin-line {
        height: 8px;
        width: 48px;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        border-radius: 4px;
      }

      .footer-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .small-circle {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
        position: relative;
        overflow: hidden;
      }
      .dot {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: linear-gradient(
          180deg,
          var(--skeleton),
          var(--skeleton-dark)
        );
      }

      /************ SHIMMER EFFECT *************/
      .main-card::after,
      .thumb::after,
      .line::after,
      .pill::after,
      .card::after,
      .wide-pill::after,
      .thin-line::after,
      .small-circle::after,
      .dot::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
          90deg,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.5) 50%,
          rgba(255, 255, 255, 0) 100%
        );
        transform: translateX(-120%);
        animation: shimmer 1.7s linear infinite;
      }

      @keyframes shimmer {
        0% {
          transform: translateX(-120%);
        }
        100% {
          transform: translateX(120%);
        }
      }

      /* product grid skeleton */
        :root {
        --sk-bg: #f3f4f5;
        --sk-dark: #ececed;
      }

      .product-skeleton-grid {
        width: 100%;
        /* max-width: 1100px; */
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
      }

      .skeleton-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
      }

      .sk-img,
      .sk-line {
        background: linear-gradient(180deg, var(--sk-bg), var(--sk-dark));
        border-radius: 4px;
        position: relative;
        overflow: hidden;
      }

      .sk-img {
        width: 100%;
        height: 350px;
      }

      @media (max-width:786px) {
        .sk-img {
          width: 100%;
          height: 200px;
        }

      }

      .sk-line {
        height: 10px;
        width: 70%;
      }

      .sk-line.small {
        width: 50%;
      }

      /* shimmer animation */
      .sk-img::after,
      .sk-line::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
          90deg,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.5) 50%,
          rgba(255, 255, 255, 0) 100%
        );
        transform: translateX(-120%);
        animation: shimmerr 1.6s infinite linear;
      }




  

  @keyframes shimmerr {
        100% {
          transform: translateX(120%);
        }
      }


.list-skeleton {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}




/* .list-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(20rem, 1fr));
} */
.skeleton-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* space between thumbnail and text */
    padding: 15px;
    /* border-bottom: 1px solid #e0e0e0; */
    width: 100%;
    /* flex-direction: column; */
    flex-basis: 50%;
}

/* Thumbnail skeleton */
.skeleton-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

/* Skeleton shimmer animation */
.skeleton-thumb::after,
.sk-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmerrr 1.5s infinite;
}

@keyframes shimmerrr {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Right side text skeleton container */
.skeleton-list-item > div:not(.skeleton-thumb) {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Text lines skeleton */
.skeleton-list-item .sk-line {
    height: 12px;
    width: 100%;
    max-width: 250px; /* optional for variation */
    border-radius: 6px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

/* Error alert animation */
@keyframes alertShake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes alertGlow {
    0% { box-shadow: 0 0 0px rgba(255, 0, 0, 0.6); }
    100% { box-shadow: 0 0 10px rgba(255, 0, 0, 0.8); }
}

.alert-message.error-active {
    animation: alertShake 0.4s ease, alertGlow 0.6s ease-out;
}


.blog-post img.w-100.img-fluid {
    aspect-ratio: 4/3;
    object-fit: cover;
}


.home-slider {
    /* background: red; */
    /* background-image: url(/erona/assets/image/index4/slider-6.png);
    background-position: 70%;
    background-size: cover;
    background-repeat: no-repeat; */
}

.blog-cat-post .blog-cat a.active {
    border-bottom: 1px solid;
}
.slide-img {
    width: 100%;
    height: calc(100vh - 20vh);
}

.slide-img img {
    /* width: 100%;
    height: 100%;
    object-fit: cover; */
}