.product-detail {
    max-width: 1200px;
}

.main-image img {
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

    .main-image img:hover {
        transform: scale(1.03);
    }

.gallery-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

    .gallery-thumbs img:hover,
    .gallery-thumbs img.active {
        border-color: #000;
        transform: scale(1.05);
    }

.price-section .badge {
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 5px;
}

.btn-dark {
    border-radius: 30px;
}

@media (max-width: 767px) {
    .gallery-thumbs img {
        width: 55px;
        height: 55px;
    }

    .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}
/* Related products section */
.related-products {
    background-color: #fafafa;
    border-radius: 12px;
}

.related-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    background: #fff;
}

    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

    .related-card .card-img-top {
        transition: transform 0.3s ease;
    }

    .related-card:hover .card-img-top {
        transform: scale(1.03);
    }

.related-products h4 {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.related-products .btn-outline-dark {
    border-radius: 25px;
}
/* Sticky Add-to-Cart Bar - Mobile Only */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.1);
}

    .sticky-cart-bar .container {
        max-width: 540px;
    }

    .sticky-cart-bar .btn {
        border-radius: 25px;
        font-weight: 600;
    }

/* Add subtle slide-up animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-cart-bar {
    animation: slideUp 0.3s ease-out;
}
    /* Sticky Buy Now Bar */
    .sticky-cart-bar .btn {
        border-radius: 25px;
        font-weight: 600;
    }

    .sticky-cart-bar .btn-outline-dark {
        border-width: 1.6px;
    }

    .sticky-cart-bar .btn-dark {
        background: #000;
        color: #fff;
    }

        .sticky-cart-bar .btn-dark:hover {
            background: #222;
        }

@media (max-width: 576px) {
    .sticky-cart-bar {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
