.product-gallery-main {
    height: 600px;
    background: #f8f9fa;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-gallery-main img {
    max-height: 100%;
    object-fit: contain;
    transition: transform .45s ease;
}

.product-gallery-main:hover img {
    transform: scale(1.08);
}

.thumb-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.product-thumb {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f8f9fa;
    transition: .25s ease;
    flex-shrink: 0;
}

.product-thumb.active {
    border-color: #000;
}

.product-thumb:hover {
    transform: translateY(-2px);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.price-main {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.price-main.offer {
    color: #d62828;
}

.price-old {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.stock-badge {
    font-size: .95rem;
    font-weight: 600;
}

.product-badge {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.badge-offer {
    background: #ffe9e9;
    color: #d62828;
}

.badge-stock {
    background: #edf7ed;
    color: #2d6a4f;
}

.badge-out {
    background: #f1f1f1;
    color: #666;
}

.product-description p {
    line-height: 1.9;
    color: #666;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 999px;
    overflow: hidden;
    width: max-content;
    background: #fff;
}

.quantity-btn {
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    font-size: 1.3rem;
    font-weight: 600;
    transition: .2s ease;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

.quantity-input {
    width: 60px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
    box-shadow: none;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn-cart {
    height: 60px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .3px;
    transition: all .25s ease;
}

.btn-cart:hover {
    transform: translateY(-2px);
}

.btn-favorite {
    height: 54px;
    border-radius: 999px;
    font-weight: 600;
    transition: all .25s ease;
    background: #fff;
}

.btn-favorite:hover {
    background: #111;
    color: #fff;
}

.product-accordion {
    border-top: 1px solid #eee;
}

.product-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
}

.product-accordion .accordion-button {
    padding: 22px 0;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    box-shadow: none;
}

.product-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #111;
    box-shadow: none;
}

.product-accordion .accordion-button:focus {
    box-shadow: none;
}

.product-accordion .accordion-body {
    padding: 0 0 24px 0;
    color: #666;
    line-height: 1.9;
}

/* =========================================
   STICKY MOBILE CART
========================================= */

.sticky-mobile-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #eee;
    padding: 12px 16px;
    z-index: 1050;
}

.sticky-cart-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sticky-cart-price {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sticky-cart-price small {
    color: #777;
    font-size: .75rem;
}

.sticky-cart-price strong {
    font-size: 1.1rem;
}

.sticky-cart-btn {
    height: 50px;
    border-radius: 14px;
    padding: 0 22px;
    font-weight: 600;
    flex-shrink: 0;
}
@media(max-width: 991px) {

    .product-gallery-main {
        height: 420px;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .price-main {
        font-size: 2rem;
    }

    /* ESPACIO EXTRA MOBILE */
    body {
        padding-bottom: 90px;
    }

}