/* Estilos personalizados adicionales */
.aspect-w-1 {
    position: relative;
    padding-bottom: 100%;
}

.aspect-w-1 img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animaciones suaves */
.transition-all {
    transition: all 0.3s ease-in-out;
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease-in-out;
}

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

/* Loading states */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Candastore estilos personalizados */
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1 0 auto;
}

header {
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.product-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.product-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.12);
}
.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #f3f3f3;
}
.product-card .p-4 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}
.product-card p {
    color: #666;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}
.product-card .precio {
    color: #1a8917;
    font-size: 1.3rem;
    font-weight: 700;
}
.product-card .stock {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.5rem;
}
.product-card .btn-wsp {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: background 0.2s;
    cursor: pointer;
}
.product-card .btn-wsp:hover {
    background: #128c7e;
}

/*
.swiper.banner-swiper {
    height: 260px;
    border-radius: 1rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}

.swiper.banner-swiper img {
    height: 260px;
    object-fit: cover;
    width: 100%;
}
*/

/* Subfiltros chips */
button.bg-black {
    background: #111 !important;
    color: #fff !important;
}
button.bg-gray-200 {
    background: #f3f3f3 !important;
    color: #222 !important;
}

/* Animación para el botón flotante de WhatsApp */
.fixed.bottom-6.right-6 {
    animation: bounceIn 1s;
}
@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Forzar el ancho de los slides del banner Swiper al 100% */
.banner-swiper .swiper-slide {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
} 