 #live-viewers,
  #sold-count,
  #stock-remaining {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e63946;
  }
.product-description-content {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4 {
  font-weight: 600;
  margin-top: 1rem;
}
.product-description-content {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  max-height: 6.8em; /* roughly 4 lines */
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.product-description-content.expanded {
  max-height: 1000px; /* large enough to show full text */
  transition: max-height 0.5s ease;
}

.product-description-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3em;
  background: linear-gradient(to bottom, transparent, white);
  display: none;
}

.product-description-content:not(.expanded)::after {
  display: block;
}

/* Optional styling for the button */
.product-description-content {
  max-height: 120px;        /* visible height before View More */
  overflow: hidden;
  transition: max-height .3s ease;
}

.product-description-content.expanded {
  max-height: none;         /* unlock full height */
}
  #live-viewers.blink,
  #sold-count.blink {
    animation: blinkAnimation 1s infinite;
  }

  @keyframes blinkAnimation {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.4;
    }
  }

  /* .progress {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
  }

  .progress-bar {
    height: 100%;
    transition: width 0.5s ease;
  } */
  .product-image-gallery {
  position: relative;
}
/* Main Image Wrapper */
.main-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  cursor: crosshair; /* indicates zoom */
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Zoom effect on hover (optional) */
.main-image-wrapper:hover img {
  transform: scale(1.2);
}

/* Zoomed Section on Right */
.zoomed-image {
  display: none; /* shown on hover or via JS */
  position: absolute;
  top: 0;
  left: 105%; /* right side of main image */
  width: 600px;
  height: 600px;
  border: 1px solid #ddd;
  background-size: 200%; /* zoom factor */
  background-repeat: no-repeat;
  background-position: center;
  z-index: 9900;
  border-radius: 5%;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(107, 45, 142, 0.8);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Thumbnail Slider */
.thumbnail-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 5px;
  margin-top: 10px;
}

.thumbnail-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.thumbnail-img:hover,
.thumbnail-img.active {
  border: 2px solid #6b2d8e;
}
/* Fullscreen Modal */
.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  overflow: hidden;
}

.fullscreen-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fullscreen-img {
  max-width: 90%;
  max-height: 70%;
  object-fit: contain;
}

.fullscreen-thumbnails {
  overflow-x: auto;
  white-space: nowrap;
  margin-top: 20px;
}

.fullscreen-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.fullscreen-thumbnail:hover,
.fullscreen-thumbnail.active {
  border: 2px solid #6b2d8e;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 32px;
  cursor: pointer;
}
/* Zoom Buttons at Bottom-Right */
.zoom-controls {
  position: absolute;
  bottom: 15px;      /* bottom corner */
  right: 700px;       /* right corner */
  display: flex;
  gap: 10px;
  z-index: 30;       /* above other elements */
}

/* Zoom Buttons Style */
.zoom-btn {
  font-size: 20px;
  padding: 8px 12px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(107, 45, 142, 0.8);
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  right:20px;
}

.zoom-btn:hover {
  background: rgba(123, 79, 145, 1);
  transform: scale(1.1);
}


/* Fullscreen Button */
.fullscreen-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(107, 45, 142, 0.8);
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
}
/* ✅ Fix spacing: set fixed height for image wrapper */
.product-card .product-img-wrapper {
  height: 240px; /* adjust as needed */
  overflow: hidden;
  position: relative;
}

/* ✅ Ensure swiper images cover area properly */
.product-card .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ✅ Fix swiper slide height */
.product-card .swiper-slide {
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ✅ Remove extra padding gap between slider and content */
.product-card .swiper {
  height: 100%;
}

/* ✅ Fix no-image placeholder alignment */
.no-image-placeholder {
  height: 240px;
  background: #f8f9fa;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-header-1 h4 {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.heading-underline {
  width: 80px;
  height: 3px;
  background: #007bff; /* change color if needed */
  margin: 0.5rem auto 0;
  border-radius: 3px;
}
.product-attributes .accordion-button {
    background: #f8f9fa;
    font-weight: 600;
}
.product-attributes table td {
    padding: 4px 6px;
    vertical-align: top;
}
.product-spec-table {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #e6e6e6;
}

/* Section title with horizontal lines */
.attr-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.attr-title {
  background: #1572E8;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  text-transform: capitalize;
}

.attr-title-wrapper::before,
.attr-title-wrapper::after {
  content: "";
  flex: 1;
  border-bottom: 1.5px solid #d6d6d6;
  margin: 0 10px;
}

/* Table styling */
.spec-table td {
  padding: 10px 18px;
  background: #fafafa;
  border-color: #e4e4e4;
  font-size: 14px;
  min-width: 160px;
  vertical-align: middle;
}

/* Rounded section box */
.attr-block {
  padding: 10px 5px;
  border-radius: 6px;
}
.nav-tabs .nav-link {
  border-radius: 20px;
  padding: 8px 25px;
  font-weight: 600;
  color: #333;
}
.nav-tabs .nav-link.active {
  background: #fff;
  border: 2px solid #1572E8;
  color: #1572E8;
}

.product-spec-table table {
  font-size: 15px;
  background: #fff;
  border-radius: 6px;
}

.attr-table th {
  background: #f8f9fc !important;
  font-size: 16px;
  text-transform: capitalize;
}

.attr-table td {
  padding: 10px 18px;
}
.product-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-btn {
    background: linear-gradient(135deg, #1572E8, #0b4aa8);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease-in-out;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.action-icon-btn {
    background: #f8f9fc;
    border: 1px solid #d9dfe8;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.2s ease-in-out;
}

.action-icon-btn:hover {
    background: #eef3ff;
    transform: scale(1.1);
    border-color: #1572E8;
}
.copy-alert {
    display: none;
    position: absolute;
    top: -35px;
    right: 0;
    background: #1572E8; /* green */
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.product-info-section {
    padding-left: 25px;
}

.product-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}

.rating-row {
    font-size: 14px;
    color: #007185;
    font-weight: 500;
}

.price-box .price-now {
    font-size: 28px;
    font-weight: 700;
    color: #B12704;
}

.price-box .price-old {
    font-size: 15px;
    text-decoration: line-through;
    color: #565959;
    margin-left: 6px;
}

.price-box .price-off {
    color: #0F1111;
    font-size: 15px;
    margin-left: 6px;
}

.tax-text {
    font-size: 13px;
    margin-top: 3px;
    color: #565959;
}

.highlights-box ul {
    padding-left: 18px;
    font-size: 14px;
}

.option-block h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.opt-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 6px;
    margin-right: 6px;
    cursor: pointer;
}

.opt-btn:hover,
.opt-btn.active {
    border-color: #007185;
    background: #eef7ff;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ccc;
    cursor: pointer;
}

.stock-text {
    color: #007600;
    font-weight: 600;
    font-size: 15px;
}

.btn-amz-cart {
    background: #FFD814;
    border: 1px solid #FCD200;
    font-weight: 600;
}

.btn-amz-buy {
    background: #FFA41C;
    border: 1px solid #FF8F00;
    font-weight: 600;
    color: #111;
}

.btn-amz-cart:hover,
.btn-amz-buy:hover {
    opacity: 0.9;
}

.security-info {
    font-size: 14px;
    color: #565959;
}

.copy-alert {
    display: none;
    position: absolute;
    top: -35px;
    right: 0;
    background: #1572E8; /* green */
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* 🔵 Size Buttons */
.size-options .size-btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 6px 14px;
  min-width: 55px;
  transition: all 0.2s ease-in-out;
}

.size-options .size-btn:hover {
  background: #f5f5f5;
  border-color: #007bff;
  color: #007bff;
}

.size-options .size-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* 🎨 Color Circle */
.color-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  transition: all 0.2s;
}

.color-circle:hover {
  transform: scale(1.1);
  border-color: #007bff;
}

/* 💬 Stock Info */
#sizeStockInfo {
  font-weight: 500;
  transition: all 0.3s;
}
/* ⭐ Discount Badge */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff3b30, #d42016);
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 20;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
}

/* ⭐ Ensure wrapper supports badge */
.product-img-wrapper {
  position: relative;
}

/* ⭐ MOBILE: 2 PRODUCTS PER ROW */
@media (max-width: 576px) {
  .similar-products-wrapper .col-6 {
    padding-right: 8px;
    padding-left: 8px;
  }
}
/* ⭐ Mobile: Add to Cart button text small */
@media (max-width: 576px) {
  .product-actions .btn.btn-primary span,
  .product-actions .btn.btn-primary i {
    font-size: 11px !important;  /* text smaller */
  }

  .product-actions .btn.btn-primary {
    padding: 6px 4px !important;   /* button height adjust */
  }

  /* Wishlist icon also proportional */
  .product-actions .wishlist-btn i {
    font-size: 14px !important;
  }
}
.live-metrics {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.metric-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.metric-box i {
    font-size: 18px;
}

#viewers-count, #sold-number {
    font-weight: 700;
    color: #d9534f;
}

.stock-progress {
    width: 100%;
    height: 8px;
    background: #f2f2f2;
    border-radius: 10px;
    overflow: hidden;
}

#stock-bar {
    width: 70%;
    height: 100%;
    background: #007bff;
    transition: width 0.4s ease;
}

.blink {
    animation: blinkAnim 0.6s linear;
}

@keyframes blinkAnim {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}
/* 🔴 Icon Blink Animation */
.blink-icon {
    animation: blinkIcon 1s infinite alternate;
}

@keyframes blinkIcon {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0.4; transform: scale(1.1); }
}

/* 🟦 Stock Progress Bar Animation (smooth) */
#stock-bar {
    height: 6px;
    background-color: #007bff;
    transition: width 0.8s ease-in-out;
    border-radius: 4px;
}
.img-fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.85);
}

/* Fullscreen image */
.modal-image {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Small zoom animation */
@keyframes zoomIn {
    from {transform: scale(0.7);}
    to   {transform: scale(1);}
}
@keyframes blinkAnim {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.size-btn.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}
/* 🔥 Premium Top-Right Navigation Buttons */
.product-nav-buttons {
    position: absolute;
    top: -10px;
    right: 0;
    display: flex;
    gap: 12px;
    z-index: 50;
}

/* 🔘 Circular buttons */
.product-nav-buttons .nav-btn {
    background: #1572E8;
    border: 1px solid #ddd;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -25px;
    font-size: 20px;
    color: #333;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease-in-out;
}

/* 🔘 Hover Effect */
.product-nav-buttons .nav-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 📱 Responsive (Mobile Adjustments) */
@media (max-width: 768px) {
    .product-nav-buttons {
        top: -5px;
        right: 5px;
    }
    .product-nav-buttons .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
.active-size {
    background-color: #1572E8 !important;
    color: #fff !important;
    border-color: #000 !important;
}
#buyNowModal .modal-content {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.size-row {
    background: #fafafa;
}

.qty-minus, .qty-plus {
    width: 32px;
    height: 32px;
    padding: 0;
}
.review-box {
  background: #fff;
  transition: transform .3s ease;
}

.review-box:hover {
  transform: translateY(-4px);
}

.admin-reply {
  background: #f8f9fa;
  border-left: 4px solid #212529;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
.review-thumb:hover {
  transform: scale(1.05);
  transition: 0.2s;
}

.modal-content {
  background: transparent;
}