  /* Container for the product gallery */
  .product-gallery-section {
    background-color: #f8f9fa;
}

.image-container {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Make sure the images fit the container correctly */
.main-image {
    object-fit: contain;
    background-color: #f8f9fa;
    transition: all 0.5s ease-in-out;
    border-radius: 16px;
    z-index: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Hover effect on the image container */
.image-container:hover .main-image {
    box-shadow: 0 20px 30px rgba(0, 123, 255, 0.4), 0 0 30px rgba(0, 123, 255, 0.1);
    transform: scale(1.015);
    background-color: #ffffff;
}

/* Style for the zoom icon */
.zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.3s;
}



.zoom-icon:hover {
    background-color: rgba(255, 255, 255, 0.9);
}
.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.thumbnail-img {
    cursor: pointer;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: transform 0.2s ease-in-out;
}

.thumbnail-img:hover {
    border-color: #0d6efd;
    transform: scale(1.1);
}

.thumbnail-img.selected {
    border: 3px solid #007bff;
    box-shadow: 0 0 20px rgba(19, 118, 224, 0.5);
}

/* Modal and zoomed image styles */
.modal-body {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 460px;
}

.modal-body img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.1s ease;
    height: 100%;
    object-fit: contain;
}

/* Main Image Styling */
.main-image {
    transition: box-shadow 0.3s ease-in-out;
}

.main-image:hover {
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.5);
}

/* Close button styling for the modal */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px;
    z-index: 2;
    font-size: 1.5rem;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}


/*  right product info section      */

.product-title {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 2rem;
color: #333;
}

.btn:focus {
box-shadow: none;
}

.btn-added {
background-color: #198754 !important;
border-color: #198754 !important;
animation: pulse 0.3s ease;
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.07); }
100% { transform: scale(1); }
}



/*  tabs css  */

/* Base tab styles */
#productDetailTabs .nav-link {
font-weight: 600;
color: #495057;
transition: all 0.3s ease-in-out;
}

#productDetailTabs .nav-link:hover {
color: #0d6efd;
}

#productDetailTabs .nav-link.active {
background-color: #fff;
border-color: #dee2e6 #dee2e6 #fff;
color: #0d6efd;
border-bottom: 3px solid #0d6efd;
}

/* Section container */
.tab-content {
background-color: #ffffff;
border-radius: 0 0 0.75rem 0.75rem;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Description blocks */
.feature-item {
display: flex;
align-items: flex-start;
background-color: #f9fafb;
padding: 1rem;
border-radius: 12px;
margin-bottom: 1rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
transition: transform 0.2s ease;
}

.feature-item:hover {
transform: translateY(-3px);
}

.feature-icon {
font-size: 1.8rem;
margin-right: 1rem;
flex-shrink: 0;
}

.feature-title {
font-weight: 600;
margin-bottom: 0.25rem;
}

.feature-text {
margin: 0;
color: #6c757d;
}

/* Review card */
.review-card {
background-color: #ffffff;
border-left: 4px solid #0d6efd;
padding: 1rem;
border-radius: 10px;
margin-bottom: 1rem;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.review-card strong {
font-size: 1rem;
color: #343a40;
}

.review-card .text-warning {
font-size: 1rem;
}

/* Review form */
.form-control, .form-select {
border-radius: 0.5rem;
border: 1px solid #ced4da;
transition: box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
border-radius: 0.5rem;
font-weight: 600;
box-shadow: 0 3px 6px rgba(0, 123, 255, 0.3);
}

/* Table */
table th, table td {
vertical-align: middle;
}

table thead th {
background-color: #0d6efd;
color: white;
}

/* Responsive image */
.img-fluid {
border-radius: 0.75rem;
max-height: 400px;
object-fit: contain;
}

