body {
  background-color: #ececff;
}
#breadcrumb-main-page,
#breadcrumb-page,
.d-flex.align-items-center span1 {
  font-size: clamp(16px, 2vw, 22px); /* Responsive between 16px–22px */
  color: white;                      /* Ensure white text */
  font-weight: 600;
   white-space: nowrap;
}

.modal-content {
  border-radius: 12px;
}
.modal-header {
  border-bottom: none;
}
.modal-footer {
  border-top: none;
}

  .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s;
  }

  .scroll-btn:hover {
    background-color: #ffc107;
    color: black;
  }

  .scroll-btn.left {
    left: -10px;
  }

  .scroll-btn.right {
    right: -10px;
  }

  .related-items {
    position: relative;
  }

  .scroll-container {
    scroll-behavior: smooth;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .scroll-container::-webkit-scrollbar {
    display: none;
  }


@media (max-width: 576px) {
  #breadcrumb-main-page,
  #breadcrumb-page,
  .d-flex.align-items-center span1 {
    font-size: 16px;
  }
}
.circle {
    width: 90px;
    height: 90px;
    transition: all 0.3s ease;
   
    
    
  }
  .circle:hover .icon-img {
    transform: scale(1.5);
  }
  .circle:hover .label {
    display: none;
  }
  .icon-img {
   
    transition: transform 0.3s ease;
  }
  .wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
  }
  .featured-title {
    position: relative;
    z-index: 1;
  }

  .go-back-btn {
    display: inline-block;
    color: rgba(65,75,210,1);
    text-decoration: none;
    padding: 5px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    margin-left: 5px;
    margin-bottom: 10px;
     border: 1px solid rgba(65,75,210,1);;
  }
  @media (max-width: 768px) {
  .circle {
    width: 90px;
    height: 90px;
  }

  .icon-img {
    width: 20px;
    height: 20px;
  }

  .label {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .circle {
    width: 80px;
    height: 80px;
  }

  .icon-img {
    width: 10px;
    height: 10px;
  }

  .label {
    font-size: 0.5rem;
  }
}

.container {
  margin-top: 7rem;
}

.about-header {
  background: url('/images/product-cover.png') no-repeat center center/cover;
  height: 80vh;
  position: relative;
  color: white;
}

.about-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 70px 50px;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
}

.product-page {
  padding: 2rem;
  background: #ececff;
}

.thumb-img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}
.thumb-img:hover {
  border-color: #007bff;
}
.main-product-img {
  max-height: 300px;
  object-fit: contain;
}

.color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-left: 8px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ccc;
}

.size-group .btn {
  margin-right: 5px;
}

.qty-input {
  height: 35px;
}

.related-items .scroll-container {
  white-space: nowrap;
}

.product-card {
  min-width: 180px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 10px #eee;
  flex: 0 0 auto;
}

.product-card img {
  height: 140px;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
}

@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
  }

  .thumbnails {
    flex-direction: row !important;
    justify-content: center;
  }

  .thumb-img {
    width: 50px;
    height: 50px;
  }

  .main-img {
    max-height: 250px;
  }

  .scroll-container {
    gap: 1rem;
  }
}

.delivery-box {
  max-width: 100%;
  background-color: #f1f1fc00;
  border-radius: 8px;
  border: 1px solid #646262;
}

.delivery-box i {
  width: 40px;
}

.review-box {
  background: #ffffff; /* white background */
  border-radius: 16px;
  padding: 30px;
  color: #333;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1.5px solid #000000; /* black border added */
  transition: all 0.3s ease;
}

.review-box:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.review-box h5 {
  color: #0d6efd; /* Bootstrap primary blue */
  font-size: 22px;
  border-bottom: 2px solid #0d6efd;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.review-input {
  width: 100%;
  background: #f8f9fa; /* light gray input background */
  border: 1.5px solid #dee2e6;
  border-radius: 10px;
  color: #333;
  font-size: 16px;
  padding: 14px 16px 10px 16px;
  outline: none;
  transition: all 0.3s ease;
}

.review-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.2);
}

.review-input::placeholder {
  color: transparent; /* hide placeholder */
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #777;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
  background: #fff; /* match input background */
  padding: 0 4px;
}

.review-input:focus + label,
.review-input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 13px;
  color: #0d6efd;
  font-weight: 500;
}

.review-box .btn-primary {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.review-box .btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}

.submit-note {
  font-size: 14px;
  color: #6c757d;
  margin-top: 10px;
  font-style: italic;
}


.boder-bottom {
  border-bottom: 1px solid #fff; /* contrast ekata white */
}
/* Full-screen overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* page background while loading */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader container */
.square-loader {
  display: flex;
  gap: 10px;
}

.square-loader div {
  width: 30px;
  height: 60px;
  background-color: #0d6efd; /* blue squares */
  animation: squareAnim 1.2s infinite ease-in-out;
}

/* Staggered animation for each square */
.square-loader div:nth-child(1) { animation-delay: 0s; }
.square-loader div:nth-child(2) { animation-delay: 0.2s; }
.square-loader div:nth-child(3) { animation-delay: 0.4s; }
square-loader div:nth-child(4) { animation-delay: 0.6s; }

/* Keyframes: scale up and down */
@keyframes squareAnim {
  0%, 100% { transform: scale(0); opacity: 0.3; }
  50% { transform: scale(1); opacity: 1; }
}

/* Fix for mobile breadcrumb */
@media (max-width: 768px) {
  /* Make breadcrumb wrap properly */
  .d-flex.align-items-center.text-white.small.ms-2 {
    flex-wrap: wrap;
    white-space: normal;
  }
  
  /* Fix for the breadcrumb text */
  #breadcrumb-main-page,
  #breadcrumb-page,
  .d-flex.align-items-center span1 {
    font-size: 14px;
    white-space: normal;
    display: inline;
  }
  
  /* Add some spacing between wrapped lines */
  .d-flex.align-items-center.text-white.small.ms-2 > * {
    margin-bottom: 2px;
  }
  
  /* Adjust logo and breadcrumb layout */
  .navbar-brand + .d-flex.align-items-center.text-white.small.ms-2 {
    margin-left: 0 !important;
    margin-top: 5px;
    width: 100%;
  }
}