.product-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.main-image-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.main-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.thumbnails-container {
    margin-top: 1rem;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem;
    scrollbar-width: thin;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    padding: 0;
}

.discount-badge-large {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.discount-badge-large .badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.product-price {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.quantity-input {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.quantity-input .form-control {
    width: 60px;
    text-align: center;
    border: none;
    font-weight: bold;
}

.quantity-input .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    border: none;
    background: #f8f9fa;
    color: var(--primary-color);
}

.quantity-input .btn:hover {
    background: var(--primary-color);
    color: white;
}

.store-card {
    border-radius: 1rem;
    overflow: hidden;
}

.store-logo-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.store-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 1.2rem;
}

.delivery-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 1rem;
}

.delivery-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.delivery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.delivery-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.related-products {
    margin-top: 3rem;
}

.related-product-card {
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-badges .badge {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
}

.add-to-cart-btn {
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Product Description Styles */
.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.product-description p {
    margin-bottom: 1.2rem;
}

.card-body .product-description {
    padding: 1rem;
    background-color: #fcfcfc;
    border-radius: 0.5rem;
}