/* preloader start here  */
/* Preloader Styles */
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-wrapper {
  text-align: center;
}

.logo-text span {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  animation: bounce 1.2s infinite ease-in-out;
}

.logo-text span:nth-child(1) {
  animation-delay: 0s;
}

.logo-text span:nth-child(2) {
  animation-delay: 0.1s;
}

.logo-text span:nth-child(3) {
  animation-delay: 0.2s;
}

.logo-text span:nth-child(4) {
  animation-delay: 0.3s;
}

.logo-text span:nth-child(5) {
  animation-delay: 0.4s;
}

.logo-text span:nth-child(6) {
  animation-delay: 0.5s;
}

.logo-text span:nth-child(7) {
  animation-delay: 0.6s;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }
}

.progress-bar {
  width: 150px;
  height: 5px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
  margin: 15px auto;
}

.progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff595e, #ffca3a, #8ac926, #1982c4, #6a4c93);
  background-size: 300%;
  animation: loadingBar 3s linear forwards;
}

@keyframes loadingBar {
  from {
    width: 0%;
    background-position: 0%;
  }

  to {
    width: 100%;
    background-position: 100%;
  }
}

.loading-text {
  font-size: 14px;
  color: #444;
  font-family: 'Poppins', sans-serif;
}

/* Mobile Friendly */
@media (max-width: 576px) {
  .logo-text span {
    font-size: 1.5rem;
  }
}


.header-search {
  background-color: #f8f8f8;
  outline: rgba(0, 0, 0, 0.388) solid 1px;
  border-radius: 50px;
  padding: 6px 15px;
  display: flex;
  align-items: center;
}

.header-search select,
.header-search input {
  border: none;
  background: transparent;
  outline: none;
  box-shadow: none;
}

.header-search input {
  flex-grow: 1;
}

.header-search .bi-search {
  font-size: 1.2rem;
  color: gray;
  cursor: pointer;
}

/* Desktop Nav */
.main-nav .nav-link {
  color: #000;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.main-nav .nav-link:hover {
  color: #000000;
}

/* MOBILE VIEW ONLY */
@media (max-width: 768px) {

  .desktop-header,
  .desktop-nav {
    display: none !important;
  }

  .mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .mobile-logo img {
    height: 40px;
  }

  .mobile-search {
    flex-grow: 1;
  }

  .mobile-burger {
    flex-shrink: 0;
  }

  .header-search {
    padding: 4px 10px;
  }

  .mobile-shopby {
    text-align: center;
    padding-top: 8px;
  }
}

/* DESKTOP VIEW ONLY */
@media (min-width: 769px) {
  .mobile-header {
    display: none !important;
  }
}



/* navbar end here */

/* why choose us & subscribe */
.subscribe-section input:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

.subscribe-section .btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}


.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* similar products  */

.similar-products img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto;
}

.similar-products .card {
  border-radius: 15px;
}

/* footer starts here */
.footer {
  margin-top: 50px;
  width: 100%;
  background: #fff;
  color: #000;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid #eee;
}

.footer-container {
  width: 100%;
  margin: auto;
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-left {
  flex: 1 1 250px;
}

.footer-logo img {
  width: 150px;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #555;
  transition: all 0.3s ease;
}

.social:hover {
  background: #000;
  color: #fff;
}

.footer-links {
  flex: 3 1 700px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #000;
}

.subscribe-form {
  display: flex;
  margin-top: 10px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
  outline: none;
}

.subscribe-form button {
  background: #111;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background: #000;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 15px 0;
  font-size: 14px;
  color: #555;
}

a {
  text-decoration: none;
  color: #000000 !important;
}



.image-wrapper img {
  width: 100%;
  height: 300px;
}


/* === Our Collection Styling === */

/* Base card design */
.category-card img {
  height: 200px;
  width: 100%;
  object-fit: cover; /* ✅ keeps images uniform */
  border-radius: 8px;
}

.top-categories {
  margin: auto !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  width: 100%;
}

.category-card {
 margin-bottom: 15px;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* === PRICE / SKU === */
.category-card p {
  color: rgb(198, 23, 23);
  font-size: 14px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* ✅ Prevent text overflow (single line ellipsis) */
}

.sku{
  font-size: 10px;
  border-radius: 2px;
  padding: 2px;
  color: black;
}

.price{
  font-size: 20px;
  color:#b11414;
}

.category-card img {
    width: 300px;
    height: 270px;
    object-fit: cover;
  }

/* === TITLE === */
.category-card h5 {
  font-size: 20px;
  margin-top: -10px;
  line-height: 1.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* ✅ show max 2 lines only */
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}

/* === Mobile only styling === */
@media (max-width: 576px) {

  .category-card img {
    width: 300px;
    height: 110px;
    object-fit: cover;
  }

  .image-wrapper img {
    width: 100%;
    object-fit: cover;
  }

  .category-card p {
    margin-top: -10px;
    font-size: 14px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-card h5 {
    font-size: 15px !important;
    margin-top: -9px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* ✅ still show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;  
  }

  .category-card {
    outline: 1px solid rgba(0, 0, 0, 0.062);
    width: 100% !important;
    height: auto !important;
  }
  
}



/* 🌈 Price Range Section */
.price-range-section {
  background: linear-gradient(180deg, #fff8fc, #fff);
}

.section-title {
  color: #ff3c8a;
  letter-spacing: 0.5px;
  font-size: 2rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* 💰 Circle Styles */
.price-circle-wrapper {
  gap: 1.5rem;
}

.price-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.price-circle span {
  position: relative;
  z-index: 2;
}

/* 🎨 Individual Circle Colors */
.circle-1 { background: linear-gradient(135deg, #ff6ec4, #7873f5); }
.circle-2 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.circle-3 { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.circle-4 { background: linear-gradient(135deg, #42e695, #3bb2b8); }

/* ✨ Hover Effect */
.price-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: scale(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.price-circle:hover::before {
  transform: scale(1.2);
}

.price-circle:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 📱 Responsive for Mobile */
@media (max-width: 576px) {
  .price-circle {
    width: 65px;
    height: 65px;
    font-size: 0.56rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .section-subtitle {
    font-size: 0.8rem;
  }
}
