/* :root {
  --primaryColor: #9431ff;
  --secondaryColor: #ffffff;
  --accent: #f0dc00;
  --text: #000000;
  --mainGradient: linear-gradient(45deg, var(--primaryColor), var(--accent));
  
} */
:root {
  --primaryColor: #0d6efd;      /* Main blue */
  --secondaryColor: #ffffff;    /* White */
  --accent: #00bcd4;            /* Teal / cyan */
  --text: #0a2540;              /* Dark blue text */
  --lightBg: #f5f9ff;           /* Soft background */

  --mainGradient: linear-gradient(45deg, var(--primaryColor), var(--accent));
}
/* :root {
  --primaryColor: #E0C79F;
  --secondaryColor: #737373;
  --accent: #D4B590;
  --text: #0E0E0E;
  --mainGradient: linear-gradient(45deg, var(--primaryColor), var(--accent));
  
}
 */
/* ===== CATEGORY CARD FINAL ===== */

.category-card {
  position: relative;
  display: block;
  width: 100%;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f9ff;
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.15);
}

/* IMAGE */
.category-card-image {
  width: 100%;
  height: 100%;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* IMAGE ZOOM ON HOVER */
.category-card:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}

/* TITLE */
.category-card-title {
  position: absolute;
  bottom: 12px;
  left: 15px;
  right: 15px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* ACCENT LINE */
.category-card-title::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 6px;
}

/* ===== RESPONSIVE ===== */

/* TABLET */
@media (max-width: 992px) {
  .category-card {
    height: 200px;
  }

  .category-card-title {
    font-size: 1.2rem;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .category-card {
    height: 180px;
    border-radius: 10px;
  }

  .category-card-title {
    font-size: 1rem;
    bottom: 10px;
  }

  .category-card-title::before {
    width: 35px;
    height: 2px;
  }
}

/* EXTRA SMALL */
@media (max-width: 400px) {
  .category-card {
    height: 160px;
  }

  .category-card-title {
    font-size: 0.9rem;
  }
}
/* .category-card {
/*   display: flex;
  width: auto;
  cursor: pointer;
  aspect-ratio: 1050 / 600;
  max-height: 233px;
  background: var(--mainGradient);
  transition: all .3s;
  position: relative;
  overflow: hidden; */

/*   @media (width<992px) {
   // width: 100%;
    height: auto;
  }
}

//.category-card-image {
  width: 100%;
  height: auto;

  & img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

.category-card-title {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 100%;
  padding-left: 10px;
  text-transform: capitalize;
  font-weight: bold;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  box-shadow: -5px 0px 1px var(--primaryColor), -10px 0px 1px var(--accent);
} */ 

.product-discount-percentage {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--primaryColor);
  color: white;
  padding: 6px;
  font-size: .8rem;
}

.skeleton-card {
    
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%) ;
    background-size: 200% 100%  ;
  }

  @keyframes shimmer {
    from {
      background-position: 200% 0;
    }
    to {
      background-position: -200% 0;
    }
  }


.product-card {
  display: flex;
  flex-direction: column;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "product-image-section"
    "product-details-section";
  outline: 1px solid #c2c2c2;
    
}

.product-image-section {
  grid-area: product-image-section;
}

.product-details-section {
  grid-area: product-details-section;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px -1px 1px #C3C3C3;
  min-height: 180px;
}

.product-card-title {
  font-size: calc(1.25rem);
  display: block;
  width: 100%;
  text-align: center;
}

.product-card {
  width: 100%;
  /*max-width: 270px;|*/
  height: auto;
  position: relative;
  transition: all .3s;
  cursor: pointer;
  border: 1px solid #fff0;
  

}

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  display: grid !important;
  place-items: center;
  position: relative;
  overflow: clip;
  grid-area: product-card-image;

  & .first-image {
    position: absolute;
    display: block;
    transition: .3s ease;
    max-width: 100% !important;

  }

  & .second-image {
    position: absolute;
    opacity: 0;
    scale: 1.1;
    transition: .3s ease;
    max-width: 100% !important;

  }
}

.product-card:hover {
  .product-card-image:has(> .second-image) {
    & .second-image {
      opacity: 1;
      scale: 1;
    }

  }
}


.product-card-price {
  grid-area: product-card-price;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: left;
  padding-inline: 10px;
  display: block;
  width: 100%;
  text-align: center;

  @media(width<992px) {
    font-size: 1.2rem;
    width: 100%;
    display: block;
    text-align: center;
  }


  & del {
    color: red;
    opacity: 0.5;
  }
}

.product-card-sub-title {
  text-align: center;
	font-size:0.8rem;
}


.product-card-btn {


  transition: all .3s ease;
  grid-area: product-card-btn;
  text-align: center;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  align-items: end;
  flex-direction: row;
  font-size: 1rem;
  padding: 10px;
  font-weight: bold;

  @media (width < 992px) {
    align-items: center;
  }

  & a {
    background-color: #fdfdfd;
    background-repeat: no-repeat;
    color: #000;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    text-align: center;
    align-content: center;
    transition: all 0.3s ease;

    box-shadow: 0px -5px 1px var(--primaryColor), 0px 5px 1px var(--accent);

    &:hover {
      background: #d6d6d6;
    }

    &:nth-child(1) {
      flex-grow: 1;

      @media (width < 992px) {
        width: 100%;
      }
    }

    &:nth-child(2) {
      aspect-ratio: 1;
      border-radius: 0;
    }

  }

}

.page-banner {

  background: var(--mainGradient);
}

.added_to_cart {
  display: none;
}

.add_to_cart_button.loading {
  animation: loading 0.5s linear infinite;
}

@keyframes loading {
  0% {
    box-shadow: 0px -5px 1px var(--primaryColor), 0px 5px 1px var(--accent);
  }

  100% {
    box-shadow: 5px 5px 1px var(--primaryColor), -5px -5px 1px var(--accent);
  }
}

.star-review {
  background-image: linear-gradient(90deg, rgba(253, 208, 46, 1) 0%, rgba(253, 208, 46, 1) calc((var(--rating)*20)* 1%), rgba(131, 131, 131, 1) calc((var(--rating)*20)* 1%), rgba(131, 131, 131, 1) 100%);
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}






/*---------------------------- animation ---------------------------------*/

.custom-shopping-cart{
  position:fixed;
  top:10%;
  right:00%;
   width:100px;
  height:100px;
	translate:100%;
  border:0px solid red;
}

.card-moving{
  position:fixed;
  transition:all 2s cubic-bezier(.86,.2,.03,.97);
  top:calc(var(--top) * 1px );
  left:calc(var(--left) * 1px );
  scale:var(--scalex,1) var(--scaley,1);
  transform-origin:top left;
  width:369px;
  height:549px;
  background:white;
	z-index:1000000;
	pointer-events:none;
  & img{
    width:100%;
	  z-index:1000000;
  }
}

/* ===== TAB WRAPPER ===== */
.nav.nav-underline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: none;
  margin-bottom: 20px;
}

/* TAB ITEM */
.nav.nav-underline .nav-link {
  position: relative;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: #f5f9ff;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

/* ACTIVE TAB */
.nav.nav-underline .nav-link.active {
  color: #fff;
  background: var(--mainGradient);
}

/* HOVER EFFECT */
.nav.nav-underline .nav-link:hover {
  color: var(--primaryColor);
  background: rgba(13, 110, 253, 0.08);
}

/* ===== TAB CONTENT SPACING ===== */
.tab-content {
  margin-top: 10px;
}


/* ===== RESPONSIVE ===== */

/* MOBILE SCROLL TABS */
@media (max-width: 576px) {
  .nav.nav-underline {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .nav.nav-underline::-webkit-scrollbar {
    height: 4px;
  }

  .nav.nav-underline::-webkit-scrollbar-thumb {
    background: var(--primaryColor);
    border-radius: 10px;
  }

  .nav.nav-underline .nav-link {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 6px 14px;
  }
}



