 .product-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .quantity-control input {
        width: 60px;
        text-align: center;
    }

    .breadcrumb .breadcrumb-item a {
        text-decoration: none !important;
    }

        .comments-section {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f9f9f9;
            border-radius: 8px;
        }

        .section-title {
            font-size: 1.5em;
            margin-bottom: 20px;
            color: #333;
            border-bottom: 2px solid #ddd;
            padding-bottom: 10px;
        }

        .comment-form {
            background-color: #fff;
            padding: 20px;
            border: 1px solid #eaeaea;
            border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .comment-form .form-label {
            font-weight: bold;
            color: #555;
        }

        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }

        .star-rating input[type="radio"] {
            display: none;
        }

        .star-rating label {
            color: #ccc;
            font-size: 1.5em;
            cursor: pointer;
            transition: color 0.2s;
            margin-left: 5px;
            -webkit-text-stroke: 2px #FFA500;
            }

        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input[type="radio"]:checked ~ label {
            color: #ffc107;
        }

        .submit-button {
            background-color: #28a745;
            border: none;
            transition: background-color 0.3s;
        }

        .submit-button:hover {
            background-color: #218838;
        }

        .reviews-list {
            margin-top: 20px;
        }

        .review-item {
            background-color: #fff;
            padding: 15px 20px;
            margin-bottom: 15px;
            border: 1px solid #eaeaea;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .review-user {
            display: flex;
            align-items: center;
            font-size: 1.1em;
            color: #2c3e50;
        }

        .user-icon {
            margin-right: 8px;
            color: #3498db;
            font-size: 1.5em;
        }

        .review-rating {
            color: #ffc107; 
            font-size: 1.2em;
        }

        .review-rating .fa-star {
            margin-right: 2px;
        }

        .review-comment {
            font-size: 1em;
            color: #333;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .review-date {
            font-size: 0.85em;
            color: #999;
        }

        .comments-section a {
            text-decoration: none;
        }

        .review-actions {
            margin-top: 10px;
        }

        .review-actions button {
            background: none;
            border: none;
            cursor: pointer;
            margin-right: 15px;
            font-size: 0.9em;
            display: inline-flex;
            align-items: center;
            transition: color 0.3s;
        }

        .review-actions button:hover {
            color: #1d6fa5;
        }

        .review-actions button i {
            margin-right: 5px;
        }

        .like-button .fa-thumbs-up {
            color: #e74c3c;
        }

        .reply-button .fa-reply {
            color: #2ecc71;
        }

      .reply-form-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.reply-form .form-label {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1em;
}

.reply-form textarea {
    width: 100%;
    resize: vertical;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    background-color: #f7f7f7;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.reply-form textarea:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.replies {
    margin-top: 25px;
    padding-left: 20px;
    border-left: 4px solid #eaeaea;
}

.reply-item {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 5px solid #3498db; 
}

.reply-item:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reply-user {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    color: #2c3e50;
}

.reply-user .user-icon {
    margin-right: 8px;
    color: #3498db;
    font-size: 1.4em;
}

.reply-rating {
    color: #ffc107;
    font-size: 1.2em;
}

.reply-comment {
    font-size: 1.05em;
    color: #555;
    line-height: 1.5;
    margin-top: 15px;
}

.reply-date {
    font-size: 0.85em;
    color: #999;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .reply-form-container {
        padding: 12px;
    }

    .reply-form textarea {
        font-size: 0.95em;
    }

    .reply-form button {
        width: 100%;
        padding: 14px;
        font-size: 1.2em;
    }

    .replies {
        padding-left: 15px;
    }

    .reply-item {
        padding: 15px;
    }

    .reply-header {
        flex-direction: column;
        align-items: flex-start;
    }
}


    .similar-products-container {
        display: flex;
        flex-direction: column; 
        gap: 15px; 
        padding: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        overflow-x: auto;
        white-space: nowrap;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .similar-product-item {
        display: flex;
        flex-direction: row; 
        align-items: center;
        gap: 10px; 
        text-align: left; 
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #f9f9f9;
        text-decoration: none;
        color: #000;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        width: auto; 
        min-width: 200px; 
        max-width: 100%; 
    }
    .similar-product-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .similar-product-item img {
        width: 60px; 
        height: 60px; 
        object-fit: cover; 
        border-radius: 4px;
    }
    .similar-product-item .product-info {
        flex-grow: 1; 
        word-wrap: break-word; 
    }
    .similar-product-item .product-info h6 {
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
        color: #343a40;
    }
    .similar-product-item .product-info p {
        font-size: 0.9rem;
        color: #28a745;
        margin: 0;
        font-weight: 500;
    }

    @media (max-width: 600px) {
        .review-header {
            flex-direction: column;
            align-items: flex-start;
        }

        .review-rating {
            margin-top: 5px;
        }

        .comments-section {
            padding: 10px;
        }

        .comment-form {
            padding: 15px;
        }
    }
    .quantity-control .quantity-btn {
        width: 30px;
        height: 30px;
    }

    .quantity-control input {
        text-align: center;
        width: 50px;
    }

    @media (max-width: 768px) {
        .breadcrumb {
            flex-direction: column;
            align-items: flex-start;
        }

        .breadcrumb-item {
            margin-bottom: 5px;
        }

        .breadcrumb-item.d-none.d-md-block {
            display: block;
            margin-top: 10px;
        }

        .breadcrumb-item.active span {
            font-size: 12px;
            padding: 4px 8px;
        }
    }
@media (max-width: 576px) {
  #purchaseModalCard .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #purchaseModalCard .col-md-4,
  #purchaseModalCard .col-md-7 {
    width: 100%;
    padding: 0 !important;
  }

  #productName {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  #productPrice {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .d-flex.align-items-center.gap-2.my-3 {
    justify-content: center;
  }
   .product-info-mobile {
    text-align: center;
  }

  .product-info-mobile .quantity-control {
    justify-content: center;
  }

}
 .custom-green {
  color: #15af15;
  display: inline-block; 
  padding: 2px 6px; 
  border: 2px solid #15af15; 
  border-radius: 6px; 
  font-weight: 600; 
  user-select: none; 
}
.original-price {
  color: #ff0000;
  display: inline-block;
  padding: 2px 6px; 
  border: 2px solid #ff0000;
  border-radius: 6px;
  font-weight: 600;
  user-select: none;
  text-decoration: line-through; 
}
.form-control-plaintext {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

.payment-methods-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment-method-card {
  flex: 1 1 30%;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  position: relative;
}

.payment-method-card:hover {
  border-color: #009cfd;
  background-color: #e6f4ff;
}

.payment-method-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-card input[type="radio"]:checked + .payment-method-icon,
.payment-method-card input[type="radio"]:checked ~ .payment-method-info {
  color: #009cfd;
}

.payment-method-card input[type="radio"]:checked {
  outline: none;
  border-color: #009cfd;
}

.payment-method-card input[type="radio"]:checked ~ .payment-method-icon {
  color: #009cfd;
}

.payment-method-card input[type="radio"]:checked ~ .payment-method-info .payment-method-name {
  font-weight: 700;
  color: #009cfd;
}

.payment-method-card input[type="radio"]:checked ~ .payment-method-icon,
.payment-method-card input[type="radio"]:checked ~ .payment-method-info {
  filter: none;
}

.payment-method-icon {
  font-size: 1.8rem;
  color: #6c757d;
  width: 36px;
  text-align: center;
  transition: color 0.25s ease;
}

.payment-method-info {
  display: flex;
  flex-direction: column;
  transition: color 0.25s ease;
}

.payment-method-name {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

.payment-method-desc {
  font-size: 0.8rem;
  color: #6c757d;
}

.payment-method-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.payment-method-card.disabled .payment-method-icon,
.payment-method-card.disabled .payment-method-name,
.payment-method-card.disabled .payment-method-desc {
  color: #aaa !important;
}

  .compact-qty input {
    max-width: 60px;
  }

  .compact-qty .btn {
    padding: 0.375rem 0.75rem;
  }

  #customFieldsContainer input:focus,
  #customFieldsContainer select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
    outline: none;
  }
   .swal2-popup {
        width: auto !important;
        padding: 20px;
        background-color: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
        font-size: 14px; 
        position: fixed;
        top: 20px; 
        right: 20px; 
        z-index: 9999;
        max-width: 350px; 
        display: flex;
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        flex-direction: column; 
    }

    .swal2-title {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 13px;
        color: #333;
        margin-bottom: 5px;
    }

    .swal2-html-container {
        font-family: 'Arial', sans-serif;
        font-size: 13px !important; 
        color: #555;
        margin-bottom: 10px !important;
    }

    .swal2-success {
        color: #28a745;
    }
    .swal2-error {
        color: #dc3545;
    }

    .swal2-confirm {
        background-color: #28a745 !important;
        color: #fff !important;
        border-radius: 8px !important;
        font-weight: bold;
    }
    .swal2-cancel {
        background-color: #dc3545 !important;
        color: #fff !important;
        border-radius: 8px !important;
        font-weight: bold;
    }
    .favorite-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #dc3545;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.favorite-btn:hover {
  background-color: #dc3545;
  color: white;
}

.nav-tabs {
  border-bottom: 2px solid #f0f0f0!important;
  padding-left: 0!important;
  margin-bottom: -15px!important;
  display: flex!important;
  justify-content: flex-start!important;
}

.nav-tabs .nav-link {
  border: none!important;
  border-radius: 10px!important;
  color: #444!important;
  font-weight: 500!important;
  margin-top: 2px;
  padding: 8px 16px!important;
  background-color: transparent!important;
  transition: color 0.4s ease, background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease!important;
}

.nav-tabs .nav-link:hover {
  color: #009cfd !important;
  background-color: rgba(0, 156, 253, 0.15) !important; 
  transform: translateY(-3px) !important; 
  box-shadow: 0 4px 8px rgba(0, 156, 253, 0.2) !important;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-tabs .nav-link.active {
  color: #fff!important;
  background: linear-gradient(45deg, #009cfd, #00bfff)!important;
  border-radius: 10px!important;
  font-weight: 700!important;
  padding: 8px 16px!important;
  transform: translateY(-2px)!important;
}

.scrolling-tabs::-webkit-scrollbar {
  display: none;
}

.scrolling-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 8px;
}

#usage p {
    margin: 0;
    padding: 0;       
    line-height: 1.5;   
}

#usage {
    margin: 0;
    padding: 0;
}
p {
    margin-top: 0 !important; 
    margin-bottom: 1rem;    
    padding: 0;
}