:root {
    --celeste-claro: #E0F7FA;
    --celeste: #4DD0E1;
    --celeste-oscuro: #00ACC1;
    --azul-claro: #B3E5FC;
    --azul: #039BE5;
    --azul-oscuro: #0277BD;
    --verde-claro: #A5D6A7;
    --verde: #66BB6A;
    --verde-oscuro: #43A047;
    --verde-agua: #26C6DA;
    --turquesa: #00BCD4;
    --turquesa-oscuro: #0097A7;
    --rojo: #EF5350;
    --rojo-oscuro: #C62828;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --gris: #BDBDBD;
    --gris-oscuro: #424242;
    --negro: #212121;
    --sombra-suave: 0 2px 8px rgba(0, 0, 0, 0.1);
    --sombra-media: 0 4px 16px rgba(0, 0, 0, 0.15);
    --sombra-fuerte: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transicion-rapida: 0.3s ease;
    --transicion-media: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--celeste-claro) 0%, var(--azul-claro) 100%);
    color: var(--gris-oscuro);
    line-height: 1.6;
    min-height: 100vh;
}

.main-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    overflow-x: hidden;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--blanco);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--sombra-fuerte);
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-gallery {
    position: relative;
}

.main-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
    background: linear-gradient(135deg, var(--celeste-claro), var(--azul-claro));
    margin-bottom: 1.5rem;
    cursor: zoom-in;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transicion-media);
}

.main-image:hover img {
    transform: scale(1.1);
}

.main-image.zoomed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    border-radius: 0;
    cursor: zoom-out;
    background: rgba(0, 0, 0, 0.95);
}

.main-image.zoomed img {
    object-fit: contain;
    transform: scale(1);
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all var(--transicion-rapida);
    box-shadow: var(--sombra-suave);
}

.thumbnail:hover {
    border-color: var(--celeste);
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.thumbnail.active {
    border-color: var(--azul);
    box-shadow: 0 0 20px rgba(3, 155, 229, 0.4);
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-details h1 {
    font-size: 2.5rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--turquesa-oscuro), var(--turquesa));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInRight 0.6s ease;
    line-height: 1.2;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.brand, .sku {
    font-size: 1rem;
    color: var(--gris-oscuro);
    font-weight: 500;
}

.availability {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
    color: var(--blanco);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.3);
    width: fit-content;
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(239, 83, 80, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(239, 83, 80, 0.5);
    }
}

.pricing-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.product-btn {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--turquesa), var(--verde-agua));
    color: var(--blanco);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transicion-rapida);
    box-shadow: 0 4px 15px rgba(38, 198, 218, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.product-btn:hover::before {
    width: 400px;
    height: 400px;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(38, 198, 218, 0.5);
    background: linear-gradient(135deg, var(--turquesa-oscuro), var(--turquesa));
}

.product-btn:active {
    transform: translateY(-1px);
}

.product-btn#btn-12oz {
    background: linear-gradient(135deg, var(--celeste), var(--azul));
    box-shadow: 0 4px 15px rgba(77, 208, 225, 0.3);
}

.product-btn#btn-12oz:hover {
    background: linear-gradient(135deg, var(--azul), var(--azul-oscuro));
    box-shadow: 0 6px 25px rgba(77, 208, 225, 0.5);
}

.product-btn#btn-16oz {
    background: linear-gradient(135deg, var(--verde), var(--verde-oscuro));
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.product-btn#btn-16oz:hover {
    background: linear-gradient(135deg, var(--verde-oscuro), #2E7D32);
    box-shadow: 0 6px 25px rgba(102, 187, 106, 0.5);
}

.specific-pricing {
    background: linear-gradient(135deg, var(--blanco) 0%, var(--celeste-claro) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--sombra-media);
    border: 2px solid var(--turquesa);
    animation: slideDown 0.5s ease;
    margin-top: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

.specific-pricing.hidden {
    display: none;
}

.specific-pricing.visible {
    display: block;
}

.specific-pricing h2 {
    font-size: 1.5rem;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--turquesa-oscuro), var(--celeste));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-align: center;
}

.specific-pricing ul {
    list-style: none;
    padding: 0;
}

.specific-pricing ul li {
    padding: 1rem 1.5rem;
    margin: 0.8rem 0;
    background: var(--blanco);
    border-radius: 12px;
    border-left: 5px solid var(--turquesa);
    font-size: 1.1rem;
    color: var(--gris-oscuro);
    transition: all var(--transicion-rapida);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--sombra-suave);
    font-weight: 500;
}

.specific-pricing ul li:hover {
    transform: translateX(10px);
    box-shadow: var(--sombra-media);
    border-left-color: var(--verde);
}

.specific-pricing .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blanco);
    background: linear-gradient(135deg, var(--verde), var(--verde-oscuro));
    padding: 0.4rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(102, 187, 106, 0.3);
    white-space: nowrap;
}

#pricing-12oz {
    border-color: var(--celeste);
    background: linear-gradient(135deg, var(--blanco) 0%, #E1F5FE 100%);
}

#pricing-12oz ul li {
    border-left-color: var(--celeste);
}

#pricing-12oz .price {
    background: linear-gradient(135deg, var(--celeste), var(--azul));
}

#pricing-16oz {
    border-color: var(--verde);
    background: linear-gradient(135deg, var(--blanco) 0%, #E8F5E9 100%);
}

#pricing-16oz ul li {
    border-left-color: var(--verde);
}

.product-details1 {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--blanco) 0%, var(--celeste-claro) 100%);
    border-radius: 15px;
    box-shadow: var(--sombra-media);
    text-align: center;
}

.info-text {
    font-size: 1.1rem;
    color: var(--gris-oscuro);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-details1 h6 {
    font-size: 1.3rem;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-details1 li {
    list-style: none;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--turquesa), var(--turquesa-oscuro));
    color: var(--blanco);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
    transition: all var(--transicion-rapida);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.6);
    background: linear-gradient(135deg, var(--turquesa-oscuro), #006064);
}

.cta-button:active {
    transform: translateY(-1px);
}

.recommended-products {
    background: var(--blanco);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--sombra-fuerte);
    margin-bottom: 3rem;
    overflow: hidden;
}

.recommended-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.recommended-header h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--celeste-oscuro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
    min-width: 200px;
}

.carousel-controls {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, var(--celeste), var(--azul));
    color: var(--blanco);
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transicion-rapida);
    box-shadow: var(--sombra-suave);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: linear-gradient(135deg, var(--azul), var(--azul-oscuro));
    transform: scale(1.15);
    box-shadow: var(--sombra-media);
}

.carousel-prev:active,
.carousel-next:active {
    transform: scale(0.95);
}

.recommended-grid {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.recommended-item {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 250px;
    max-width: 300px;
}

.recommended-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recommended-item > a {
    background: linear-gradient(135deg, var(--blanco) 0%, var(--celeste-claro) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--sombra-suave);
    transition: all var(--transicion-rapida);
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
    display: block;
}

.recommended-item:hover > a {
    transform: translateY(-10px);
    box-shadow: var(--sombra-fuerte);
    border-color: var(--celeste);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform var(--transicion-media);
}

.recommended-item:hover img {
    transform: scale(1.1);
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        var(--gris-claro) 0%,
        var(--celeste-claro) 20%,
        var(--gris-claro) 40%,
        var(--gris-claro) 100%
    );
    background-size: 1000px 100%;
}

/* ========================================
   RESPONSIVE ULTRA OPTIMIZADO
   ======================================== */

@media (max-width: 1400px) {
    .main-container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .recommended-item {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: 220px;
    }
    
    .product-container {
        gap: 2.5rem;
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    .product-container {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .product-details h1 {
        font-size: 2.2rem;
    }
    
    .main-image {
        height: 450px;
    }
    
    .product-btn {
        font-size: 1rem;
        padding: 1.1rem 1.8rem;
    }
    
    .specific-pricing {
        padding: 1.8rem;
    }
    
    .specific-pricing h2 {
        font-size: 1.4rem;
    }
    
    .specific-pricing ul li {
        font-size: 1.05rem;
        padding: 0.9rem 1.3rem;
    }
    
    .specific-pricing .price {
        font-size: 1.3rem;
    }
    
    .recommended-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 200px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 48px;
        height: 48px;
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }
    
    .product-container {
        padding: 1.5rem;
        border-radius: 15px;
        gap: 1.5rem;
    }
    
    .main-image {
        height: 380px;
    }
    
    .product-details h1 {
        font-size: 1.9rem;
    }
    
    .thumbnail {
        width: 85px;
        height: 85px;
    }
    
    .thumbnail-gallery {
        gap: 0.8rem;
    }
    
    .product-btn {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
    }
    
    .specific-pricing {
        padding: 1.5rem;
    }
    
    .specific-pricing h2 {
        font-size: 1.3rem;
    }
    
    .specific-pricing ul li {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .specific-pricing .price {
        font-size: 1.2rem;
        padding: 0.35rem 1rem;
    }
    
    .product-details1 {
        padding: 1.8rem;
    }
    
    .info-text {
        font-size: 1.05rem;
    }
    
    .product-details1 h6 {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 0.95rem 2.8rem;
        font-size: 1.15rem;
    }
    
    .recommended-products {
        padding: 1.8rem 1.2rem;
    }
    
    .recommended-header h2 {
        font-size: 1.8rem;
    }
    
    .recommended-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 170px;
    }
    
    .product-image,
    .product-image img {
        height: 170px;
    }
}

@media (max-width: 640px) {
    .main-container {
        margin: 1.2rem auto;
    }
    
    .product-container {
        padding: 1.3rem;
    }
    
    .main-image {
        height: 320px;
    }
    
    .product-details h1 {
        font-size: 1.7rem;
    }
    
    .thumbnail {
        width: 75px;
        height: 75px;
    }
    
    .product-btn {
        font-size: 0.9rem;
        padding: 0.95rem 1.3rem;
    }
    
    .specific-pricing ul li {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .specific-pricing .price {
        font-size: 1.15rem;
    }
    
    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .product-container {
        padding: 1.2rem;
        gap: 1.3rem;
    }
    
    .main-image {
        height: 300px;
        border-radius: 12px;
    }
    
    .product-details h1 {
        font-size: 1.6rem;
    }
    
    .brand, .sku {
        font-size: 0.95rem;
    }
    
    .availability {
        font-size: 0.85rem;
        padding: 0.45rem 1.3rem;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .thumbnail-gallery {
        gap: 0.7rem;
    }
    
    .pricing-buttons {
        gap: 0.8rem;
    }
    
    .product-btn {
        font-size: 0.85rem;
        padding: 0.9rem 1.2rem;
    }
    
    .specific-pricing {
        padding: 1.3rem;
    }
    
    .specific-pricing h2 {
        font-size: 1.2rem;
    }
    
    .specific-pricing ul li {
        font-size: 0.9rem;
        padding: 0.7rem 0.9rem;
    }
    
    .specific-pricing .price {
        font-size: 1.1rem;
        padding: 0.3rem 0.9rem;
    }
    
    .product-details1 {
        padding: 1.5rem 1.2rem;
    }
    
    .info-text {
        font-size: 1rem;
        margin-bottom: 1.3rem;
    }
    
    .product-details1 h6 {
        font-size: 1.15rem;
        margin-bottom: 1.3rem;
    }
    
    .cta-button {
        padding: 0.85rem 2.2rem;
        font-size: 1.05rem;
        width: 100%;
    }
    
    .recommended-products {
        padding: 1.5rem 1rem;
    }
    
    .recommended-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .recommended-header h2 {
        font-size: 1.6rem;
        width: 100%;
    }
    
    .carousel-controls {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .recommended-item {
        flex: 0 0 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    .product-image,
    .product-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 0.8rem;
        margin: 1rem auto;
    }
    
    .product-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .product-details h1 {
        font-size: 1.45rem;
    }
    
    .brand, .sku {
        font-size: 0.9rem;
    }
    
    .availability {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
    
    .main-image {
        height: 260px;
    }
    
    .thumbnail {
        width: 62px;
        height: 62px;
    }
    
    .thumbnail-gallery {
        gap: 0.6rem;
    }
    
    .product-btn {
        font-size: 0.8rem;
        padding: 0.85rem 1.1rem;
    }
    
    .specific-pricing {
        padding: 1.2rem;
    }
    
    .specific-pricing h2 {
        font-size: 1.15rem;
    }
    
    .specific-pricing ul li {
        font-size: 0.85rem;
        padding: 0.65rem 0.8rem;
    }
    
    .specific-pricing .price {
        font-size: 1.05rem;
        padding: 0.3rem 0.8rem;
    }
    
    .product-details1 {
        padding: 1.3rem 1rem;
    }
    
    .info-text {
        font-size: 0.95rem;
    }
    
    .product-details1 h6 {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.8rem;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .recommended-products {
        padding: 1.3rem 0.9rem;
        border-radius: 15px;
    }
    
    .recommended-header h2 {
        font-size: 1.45rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 46px;
        height: 46px;
        font-size: 1.65rem;
    }
    
    .product-image,
    .product-image img {
        height: 185px;
    }
}

@media (max-width: 400px) {
    .product-details h1 {
        font-size: 1.35rem;
    }
    
    .main-image {
        height: 240px;
    }
    
    .thumbnail {
        width: 58px;
        height: 58px;
    }
    
    .product-btn {
        font-size: 0.78rem;
        padding: 0.8rem 1rem;
    }
    
    .specific-pricing ul li {
        font-size: 0.82rem;
    }
    
    .specific-pricing .price {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 44px;
        height: 44px;
        font-size: 1.55rem;
    }
    
    .product-image,
    .product-image img {
        height: 170px;
    }
}

@media (max-width: 360px) {
    .product-details h1 {
        font-size: 1.3rem;
    }
    
    .main-image {
        height: 220px;
    }
    
    .thumbnail {
        width: 55px;
        height: 55px;
    }
    
    .product-btn {
        font-size: 0.75rem;
        padding: 0.75rem 0.9rem;
    }
    
    .specific-pricing {
        padding: 1rem;
    }
    
    .specific-pricing h2 {
        font-size: 1.1rem;
    }
    
    .specific-pricing ul li {
        font-size: 0.8rem;
        padding: 0.6rem 0.7rem;
    }
    
    .specific-pricing .price {
        font-size: 0.95rem;
        padding: 0.25rem 0.7rem;
    }
    
    .product-details1 {
        padding: 1.2rem 0.9rem;
    }
    
    .cta-button {
        padding: 0.65rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 42px;
        height: 42px;
        font-size: 1.45rem;
    }
    
    .recommended-header h2 {
        font-size: 1.3rem;
    }
    
    .product-image,
    .product-image img {
        height: 160px;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .product-details h1 {
        font-size: 1.2rem;
    }
    
    .main-image {
        height: 200px;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .product-btn {
        font-size: 0.72rem;
        padding: 0.7rem 0.8rem;
    }
    
    .specific-pricing .price {
        font-size: 0.9rem;
    }
    
    .cta-button {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }
}
/* ============================
   PRODUCTOS RECOMENDADOS - CARRUSEL MEJORADO
   ============================ */

.recommended-products {
    background: var(--blanco);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--sombra-fuerte);
    margin-bottom: 3rem;
    overflow: hidden;
}

.recommended-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.recommended-header h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--celeste-oscuro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
    min-width: 200px;
}

.carousel-controls {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, var(--celeste), var(--azul));
    color: var(--blanco);
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transicion-rapida);
    box-shadow: var(--sombra-suave);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: linear-gradient(135deg, var(--azul), var(--azul-oscuro));
    transform: scale(1.15);
    box-shadow: var(--sombra-media);
}

.carousel-prev:active,
.carousel-next:active {
    transform: scale(0.95);
}

/* Wrapper del carrusel (por si lo usas) */
.recommended-grid-wrapper {
    position: relative;
    width: 100%;
}

/* Contenedor de ítems: carrusel horizontal con snap */
.recommended-grid {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 0.75rem;
    will-change: transform;
    overflow-x: auto;              /* Scroll horizontal */
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Snap por ítem */
}

/* Tarjetas recomendadas */
.recommended-item {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 250px;
    max-width: 300px;
    scroll-snap-align: center;     /* Se centra cada card al hacer scroll */
}

.recommended-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recommended-item > a {
    background: linear-gradient(135deg, var(--blanco) 0%, var(--celeste-claro) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--sombra-suave);
    transition: all var(--transicion-rapida);
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
    display: block;
}

.recommended-item:hover > a {
    transform: translateY(-10px);
    box-shadow: var(--sombra-fuerte);
    border-color: var(--celeste);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform var(--transicion-media);
}

.recommended-item:hover img {
    transform: scale(1.1);
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
}

/* Efecto shimmer opcional */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        var(--gris-claro) 0%,
        var(--celeste-claro) 20%,
        var(--gris-claro) 40%,
        var(--gris-claro) 100%
    );
    background-size: 1000px 100%;
}

/* Scrollbar del carrusel */
.recommended-grid::-webkit-scrollbar {
    height: 8px;
}

.recommended-grid::-webkit-scrollbar-track {
    background: var(--gris-claro);
    border-radius: 10px;
}

.recommended-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--celeste), var(--azul));
    border-radius: 10px;
}

.recommended-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--azul), var(--azul-oscuro));
}

/* ===== Ajustes RESPONSIVE específicos del carrusel ===== */

/* Tablets: 2–3 cards visibles */
@media (max-width: 992px) {
    .recommended-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 220px;
    }
}

/* Teléfonos: una card centrada por “pantalla” */
@media (max-width: 576px) {
    .recommended-grid {
        gap: 1rem;
        padding: 0.5rem 0.25rem 1rem;
        scroll-snap-type: x mandatory;
    }

    .recommended-item {
        flex: 0 0 85%;        /* O 90% si quieres más margen */
        min-width: 85%;
        max-width: 420px;
        margin: 0 auto;
    }

    .product-image,
    .product-image img {
        height: 200px;
    }
}

/* Muy pequeños */
@media (max-width: 400px) {
    .recommended-item {
        flex: 0 0 90%;
        min-width: 90%;
    }

    .product-image,
    .product-image img {
        height: 180px;
    }
}
