.product-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-slideshow {
    position: relative;
    width: 100%;
}

.slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

/* Updated prev/next button styles */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem 1.2rem;
    border: none;
    cursor: pointer;
    z-index: 2;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slide {
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Updated text colors for product info */
.product-info {
    padding: 1rem;
}

.product-info h1 {
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.product-info h3 {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #000000;
    line-height: 1.6;
}

.price-section, .rating-section, .stock-section, .description-section {
    margin: 1rem 0;
    color: #000000;
}

.original-price del {
    color: #666;
}

.discounted-price strong {
    color: #e44d26;
    font-size: 1.2em;
}

.rating {
    color: #ffd700;
}

.description-section p {
    color: #000000;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.action-section {
    margin-top: 2rem;
}

.add-to-cart-detail {
    width: 100%;
    padding: 1rem;
    font-size: 1.1em;
    background-color: #248277;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-detail:hover {
    background-color: #45a049;
}

.add-to-cart-detail:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.slide-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #717171;
}
.original-price {
    color: #000000;
    font-size: 1.1rem;
}

.original-price del {
    color: #666;
}

.discounted-price {
    color: #000000;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.discounted-price strong {
    color: #e44d26;
    font-size: 1.2em;
}

/* Ensure rupee symbol inherits the same color */
.original-price del::before,
.discounted-price strong::before {
    content: '₹';
    display: inline-block;
    margin-right: 1px;
}

@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }
}