.red-header {
    background: linear-gradient(45deg, #dc3545, #ff4d5a);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.breadcrumb-item a {
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
}

.product-image {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-image:hover {
    transform: scale(1.02);
}

h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rating .text-warning {
    letter-spacing: 2px;
}

.price {
    font-size: 1.5rem;
    margin: 1.5rem 0;
}

.price del {
    font-size: 1.1rem;
}

.badge {
    padding: 8px 12px;
    border-radius: 6px;
}

.share-icons a {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: #6c757d;
    transition: color 0.3s;
}

.share-icons a:hover {
    color: #dc3545;
}

.btn-outline-secondary {
    border-radius: 4px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #34ce57);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.2s;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    border: none;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    background: transparent;
    border-bottom: 3px solid white;
    color: white;
    opacity: 1;
}

.nav-tabs .nav-link:hover {
    opacity: 1;
}

.badge-organic {
    background-color: #28a745;
    color: white;
    font-weight: 500;
}

.text-muted {
    line-height: 1.6;
}

@media (max-width: 768px) {
    .price {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .product-image {
        margin-bottom: 2rem;
    }
}

.user_img{
  max-width: 100%;
  height:auto;
}

/* comment section */
.review-part {
    max-width: 1200px;
    margin: 0 auto;
}

.comment-container {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
}

/* Comment Form Styles */
.nav-tabs .nav-link {
    color: #a9b4c0;
    border: none;
    padding: 15px 25px;
    font-size: 18px;
}

.nav-tabs .nav-link.active {
    color: #8BC34A;
    border-bottom: 2px solid #8BC34A;
    background-color: transparent;
    font-weight: 500;
}

.tab-content {
    padding: 20px 0;
}

/* .form-control {
    border: none;
    border-radius: 0;
    min-height: 200px;
    padding: 15px;
} */

.form-control:focus {
    box-shadow: none;
}

.file-upload-text {
    color: #a9b4c0;
    font-size: 16px;
}

.select-file-link {
    color: #8BC34A;
    text-decoration: none;
    cursor: pointer;
}

.btn-add-comment {
    background-color: #8BC34A !important;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 4px;
}

/* Comment Thread Styles */
.comment {
    display: flex;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 5px;
}

.commenter-name {
    font-weight: 500;
    color: #333;
    margin-right: 10px;
}

.comment-time {
    color: #888;
    font-size: 0.9em;
}

.comment-text {
    color: #555;
    margin-bottom: 0;
    line-height: 1.4;
}

.delete-link {
    color: #007bff;
    margin-left: 10px;
    text-decoration: none;
    font-size: 0.9em;
}

.delete-link:hover {
    text-decoration: underline;
}

.your-comment .commenter-name {
    font-weight: 600;
}

.search-btn{
    border-radius:0px 15px 15px 0px !important; 
    margin-top:0.2em;
}

/* Ensure the tab pane does not leave space when inactive */
.tab-pane {
    display: none; /* Hide all tab contents by default */
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Smooth fade-in transition */
}

.tab-pane.show {
    display: block; /* Show active tab content */
    opacity: 1; /* Fully visible */
}

/* Optional: Remove extra margin and padding */
.tab-content {
    padding: 0;
}

/* Remove extra margins and paddings from .details-container and .owner-container */
.details-container, .owner-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure no space below the content */
.details-container, .owner-container .container {
    margin-bottom: 0 !important;
}


/* If there are any content inside that still creates space, reset those too */
.details-container .row, .owner-container .row {
    margin-bottom: 0 !important;
}
/* Remove up/down arrows from number input */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/* end of comment section */

