/*
Theme Name: Felpuditos Dic25
Theme URI: https://felpuditos.com
Author: Felpuditos
Author URI: https://felpuditos.com
Description: Tema ligero, animado y funcional.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: felpuditos
*/
/* Fuentes */
body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
    font-family: "Playfair", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/* Generales */
a {
    text-decoration: none;
    color: inherit;
}

.btn {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/* Colores */
.bg-dgr-azul {
    /* Degradado de deepskyblue a #0ba4c8 */
    background: linear-gradient(to right, deepskyblue, #47d0ff);
}

.text-azul {
    color: #0ba4c8;
}

.bg-azul {
    background-color: #0ba4c8;
}

.bg-azul-2 {
    background-color: deepskyblue;
}

.bg-azul-claro {
    background-color: rgb(240, 251, 255);
}

.text-marron {
    color: #e48e47;
}

.bg-marron {
    background: #e48e47;
}

/* Header */
.logo {
    width: 135px;
}

.cinta-ofertas {
    letter-spacing: 0.15em;
}

/* Slider & Snow Effect */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.snowflake {
    color: #fff;
    font-size: 1.5em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
    position: absolute;
    top: -10%;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}

@keyframes snowflakes-fall {
    0% {
        top: -10%;
    }

    100% {
        top: 100%;
    }
}

@keyframes snowflakes-shake {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(80px);
    }

    100% {
        transform: translateX(0px);
    }
}

.snowflake:nth-of-type(1) {
    left: 1%;
    animation-delay: 0s, 0s;
}

.snowflake:nth-of-type(2) {
    left: 10%;
    animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(3) {
    left: 20%;
    animation-delay: 6s, .5s;
}

.snowflake:nth-of-type(4) {
    left: 30%;
    animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(5) {
    left: 40%;
    animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(6) {
    left: 50%;
    animation-delay: 8s, 3s;
}

.snowflake:nth-of-type(7) {
    left: 60%;
    animation-delay: 6s, 2s;
}

.snowflake:nth-of-type(8) {
    left: 70%;
    animation-delay: 2.5s, 1s;
}

.snowflake:nth-of-type(9) {
    left: 80%;
    animation-delay: 1s, 0s;
}

.snowflake:nth-of-type(10) {
    left: 90%;
    animation-delay: 3s, 1.5s;
}

/* Floating Animation */
.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Carousel Controls Fix */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    width: 5%;
}

/* Tamaño de titulo */
.titulo-slider {
    font-size: 9rem;
    font-weight: 900;
    font-style: italic;
    line-height: 0.8em;

}

.subtitulo-slider {
    font-size: 5em;
    font-weight: 900;
    font-style: italic;
    line-height: 0.8em;
}

@media (max-width: 1400px) {
    .titulo-slider {
        font-size: 8rem;
    }
}

@media (max-width: 1200px) {
    .titulo-slider {
        font-size: 7rem;
    }
}

@media (max-width: 992px) {
    .titulo-slider {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .titulo-slider {
        font-size: 4rem;
    }

    .contenido-slider {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .titulo-slider {
        font-size: 3rem;
    }
}

/* Category Colors */
.bg-cat-section {
    background-color: deepskyblue;
}

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

/* Product Card Styles */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.product-overlay {
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card .btn-light {
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Soft Backgrounds for Offers */
.bg-soft-blue {
    background-color: #e3f2fd;
}

.bg-soft-orange {
    background-color: #fff3e0;
}

.bg-soft-green {
    background-color: #e8f5e9;
}

.bg-soft-purple {
    background-color: #f3e5f5;
}



/* Floating Animation */
.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Carousel Controls Fix */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    width: 5%;
}

/* Tamaño de titulo */
.titulo-slider {
    font-size: 9rem;
    font-weight: 900;
    font-style: italic;
    line-height: 0.8em;

}

.subtitulo-slider {
    font-size: 5em;
    font-weight: 900;
    font-style: italic;
    line-height: 0.8em;
}

@media (max-width: 1400px) {
    .titulo-slider {
        font-size: 8rem;
    }
}

@media (max-width: 1200px) {
    .titulo-slider {
        font-size: 7rem;
    }
}

@media (max-width: 992px) {
    .titulo-slider {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .titulo-slider {
        font-size: 4rem;
    }

    .contenido-slider {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .titulo-slider {
        font-size: 3rem;
    }
}



.offer-card-lg,
.offer-card-sm {
    transition: transform 0.3s ease;
}

.offer-card-lg:hover,
.offer-card-sm:hover {
    transform: translateY(-5px);
}

/* Utilities for Values Section */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}


/* Support Section Styles */
.support-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.support-card:hover,
.support-card:focus {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Fix Contact Form 7 Footer Styles */
.suscribe-wrapper br {
    display: none;
}

.suscribe-wrapper form p {
    display: flex !important;
    gap: 0;
    margin: 0;
    width: 100%;
}

.suscribe-wrapper .wpcf7-form-control-wrap {
    flex-grow: 1;
    display: block;
}

.suscribe-wrapper input.form-control {
    width: 100% !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.suscribe-wrapper button.btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    white-space: nowrap;
}

/* WooCommerce Price Styling Overrides */
.product-card .price del,
.product-card .product-price-container del,
.product-card del {
    color: #6c757d !important;
    font-size: 0.875rem !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
    opacity: 0.8;
}

.product-card .price ins,
.product-card .product-price-container ins,
.product-card ins {
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #0ba4c8 !important;
    background: transparent !important;
}

.product-card .product-price-container del {
    display: block;
    margin-bottom: 0px;
    margin-right: 0 !important;
}

/* WooCommerce Purple Overrides */
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(to right, deepskyblue, #47d0ff) !important;
    color: #fff !important;
    border: none !important;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: linear-gradient(to right, #0ba4c8, deepskyblue) !important;
}

.woocommerce span.onsale {
    background-color: #e48e47 !important;
    /* Mantener coherencia con badge marron */
}

/* Input qty woocommerce */
.woocommerce-page .quantity .qty {
    line-height: 1.9em;
}

/* Columnas destacados woocommerce */
@media (max-width: 768px) {

    .woocommerce ul.products[class*="columns-"],
    .woocommerce-page ul.products[class*="columns-"],
    ul.products[class*="columns-"],
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .woocommerce ul.products[class*="columns-"] li.product,
    .woocommerce-page ul.products[class*="columns-"] li.product,
    ul.products[class*="columns-"] li.product,
    .woocommerce ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        flex: unset !important;
    }
}

/* Comentarios blog */
.comment-form-comment {
    display: flex;
    flex-direction: column;
}

/* Comment Submit Button Styling */
#respond input#submit,
input.submit {
    background: linear-gradient(to right, deepskyblue, #47d0ff) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50rem;
    /* pill shape like others */
    font-weight: 500;
    transition: all 0.3s ease;
}

#respond input#submit:hover,
input.submit:hover {
    background: linear-gradient(to right, #0ba4c8, deepskyblue) !important;
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

/* Configuraci�n inicial para animaciones WOW */
.wow {
    visibility: hidden;
}

/* --- PRELOADER --- */
#preloader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Clase para bloquear el scroll mientras carga */
body.loading {
    overflow: hidden !important;
}

/* Hover men�: Color Azul */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .current-menu-item>.nav-link {
    color: #0ba4c8 !important;
    /* bg-azul */
    transition: color 0.3s ease;
}


/* Efecto hover logo header */
.navbar-brand img.logo {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img.logo {
    transform: scale(1.1);
    /* Crece 10% */
}


/* Efecto hover iconos header (user y cart) */
.d-flex.align-items-center.gap-3.wow.animate__fadeInRight a i {
    transition: color 0.3s ease;
}

.d-flex.align-items-center.gap-3.wow.animate__fadeInRight a:hover i {
    color: #0ba4c8;
    /* bg-azul */
}


/* Mini Carrito Hover */
.cart-dropdown:hover .cart-dropdown-content {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

.cart-dropdown-content {
    top: 100%;
    margin-top: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 10px;
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

header .attachment-woocommerce_thumbnail {
    max-width: 40px;
    height: auto;
}

header .product_list_widget {
    list-style: none;
    padding: 0;
    font-size: 0.8em;
}

/* boton whats app */
.boton-flotante {
    width: 70px;
    height: 70px;
    font-size: 2.9em;
    padding: 0.02em;

}

.boton-whatsapp {
    right: 25px;
    bottom: 30px;
}

/* Efecto hover logo header */
.boton-whatsapp {
    transition: transform 0.3s ease;
}

.boton-whatsapp:hover {
    transform: scale(1.1);
    /* Crece 10% */
}

/* Corrección botón eliminar mini-carrito */
.widget_shopping_cart_content .mini_cart_item {
    position: relative !important;
    padding-right: 25px !important;
    /* Espacio para el boton de eliminar */
    padding-left: 0 !important;
}

.widget_shopping_cart_content .mini_cart_item a.remove {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 0 !important;
    left: auto !important;
    color: #dc3545 !important;
    /* Rojo bootstrap */
    font-weight: bold;
    background: none !important;
    border: none !important;
    z-index: 10;
}

/* Estilos botones mini-carrito */
.widget_shopping_cart_content .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.widget_shopping_cart_content .buttons a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Ver Carrito (Estilo secundario) */
.widget_shopping_cart_content .buttons a:not(.checkout) {
    background-color: white;
    border: 2px solid #17a2b8;
    /* Color info similar */
    color: #17a2b8;
}

.widget_shopping_cart_content .buttons a:not(.checkout):hover {
    background-color: #17a2b8;
    color: white;
}

/* Finalizar Compra (Estilo primario) */
.widget_shopping_cart_content .buttons a.checkout {
    background-color: #17a2b8;
    border: 2px solid #17a2b8;
    color: white;
}

.widget_shopping_cart_content .buttons a.checkout:hover {
    background-color: #138496;
    border-color: #138496;
}

/* Efecto Hover Blog Card */
.blog-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}