 .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: 10px;
            padding: 10px 15px;
            background-color: #f1f1f1;
            border-radius: 5px;
        }

        .reply-form .form-label {
            font-weight: bold;
        }

        .reply-form textarea {
            resize: vertical;
        }

        .replies {
            margin-top: 15px;
            padding-left: 20px;
            border-left: 2px solid #eaeaea;
        }

        .reply-item {
            background-color: #fff;
            padding: 10px 15px;
            margin-bottom: 10px;
            border: 1px solid #eaeaea;
            border-radius: 5px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }

        .reply-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 5px;
        }

        .reply-user {
            display: flex;
            align-items: center;
            font-size: 1em;
            color: #2c3e50;
        }

        .reply-user .user-icon {
            margin-right: 5px;
            color: #3498db;
            font-size: 1.2em;
        }

        .reply-rating {
            color: #ffc107;
            font-size: 1em;
        }

        .reply-comment {
            font-size: 0.95em;
            color: #555;
            line-height: 1.4;
        }

        .reply-date {
            font-size: 0.8em;
            color: #999;
        }

        @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;
            }
        }

    .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;
  }