/* Crema Helados - Style CSS */

:root {
    --primary-color: #C70072;
    --secondary-color: #ffc107;
    --text-color: #333;
    --light-bg: #fff5f8;
    --dark-bg: #222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 130px;
}

/* Header Styles */
.main_header_area {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1050;
    background: #fff;
}

.main_header_area.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.top_header_area {
    background: var(--primary-color);
    padding: 10px 0;
    color: #fff;
    position: relative;
    z-index: 9999;
    min-height: 40px;
    display: block;
}

.top_header_area a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.top_header_area a:hover {
    color: var(--secondary-color);
}

.h_social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.h_social li {
    display: inline-block;
    list-style: none;
}

.h_social li a {
    font-size: 18px;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.h_social li a:hover {
    background: #fff;
    color: #C70072 !important;
    transform: scale(1.1);
}

.h_social li a i {
    color: #fff !important;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
}

.main_menu_two {
    background: #fff;
}

.main_menu_two .navbar-brand img {
    max-height: 70px;
}

.enlace-blanco {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: 0.3s;
}

.enlace-blanco:hover {
    color: var(--primary-color) !important;
}

/* Navbar Custom Styles */
.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0;
}

.navbar .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: 0.3s;
    border-radius: 5px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar .nav-link.active {
    background: rgba(237, 6, 140, 0.1);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px;
}

.navbar .dropdown-item {
    border-radius: 5px;
    padding: 0.6rem 1rem;
}

.navbar .dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.navbar-toggler {
    border: 2px solid var(--primary-color) !important;
    border-radius: 5px !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(237, 6, 140, 0.3);
}

/* Button Styles */
.pest_btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.pest_btn:hover {
    background: #c90570;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 6, 140, 0.3);
}

/* Bootstrap Primary Button Override - Use brand pink color */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #c90570 !important;
    border-color: #c90570 !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(237, 6, 140, 0.3) !important;
}

.btn-primary:active {
    background-color: #b00460 !important;
    border-color: #b00460 !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(237, 6, 140, 0.3) !important;
}

.btn-outline-secondary {
    color: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #6c757d !important;
    color: #fff !important;
}

/* Price text - lighter black */
.cake_text h4,
.product-price .display-4,
.price-text {
    color: #4a4a4a !important;
    font-weight: 700;
}

/* Badge override - brand pink color */
.badge.bg-info,
.badge.bg-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.badge {
    color: #fff !important;
}

/* Icons - brand pink color */
.cake_text .fa,
.text-primary,
.contact_d_item h5 .fa,
.s_we_item .fa,
.navbar .nav-link .fa,
.product_details_text .fa {
    color: var(--primary-color) !important;
}

/* Icon button in navbar */
.btn-outline-primary i,
.btn-primary i,
.pest_btn i {
    color: #fff !important;
}

.btn-outline-primary i {
    color: var(--primary-color) !important;
}

/* Section icons */
.section-icon {
    color: var(--primary-color);
}

/* Hero icons */
.hero_buttons .btn i {
    color: #fff;
}

/* Footer icons */
.footer_area .fa {
    color: rgba(255,255,255,0.7);
}

/* Hero Section */
.hero_bento_area {
    padding: 150px 0 100px;
    margin-top: 80px;
}

.hero_text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 20px 0;
}

.hero_text span {
    color: var(--primary-color);
}

.hero_buttons {
    margin-top: 30px;
}

/* Float Promo Button */
.float-promo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(237, 6, 140, 0.4);
    animation: pulse 2s infinite;
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
}

.float-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: botonDestello 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Product Card Styles */
.cake_feature_item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.cake_feature_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cake_img {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.cake_img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.cake_feature_item:hover .cake_img img {
    transform: scale(1.1);
}

.cake_text {
    padding: 20px;
    text-align: center;
}

.cake_text h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cake_text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Welcome Section */
.welcome_bakery_area {
    padding: 80px 0;
}

.main_title {
    text-align: center;
    margin-bottom: 50px;
}

.main_title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.welcome_left_text p {
    font-size: 1.1rem;
    color: #666;
}

/* Service Section */
.service_we_offer_area {
    padding: 80px 0;
    background: #f8f8f8;
}

.s_we_item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: 0.3s;
}

.s_we_item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.s_we_item .media-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.s_we_item .media-body p {
    color: #666;
}

/* Contact Section */
.contact_form_area {
    padding: 80px 0;
}

.contact_d_item {
    margin-bottom: 30px;
}

.contact_d_item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact_d_item p {
    color: #666;
}

/* Footer */
.footer_area {
    background: var(--dark-bg);
    color: #fff;
    padding: 30px 0;
}

.copyright_text {
    color: #aaa;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px;
}

.modal-body {
    padding: 20px;
}

.modal-title {
    font-weight: 700;
    color: var(--primary-color);
}

.btn-close {
    padding: 10px;
}

/* Quantity Box */
.quantity_box {
    margin-bottom: 15px;
}

.quantity_box label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.quantity_box .qty {
    width: 70px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

/* Product Details */
.product_details_area {
    padding: 120px 0 80px;
}

.product_img {
    text-align: center;
}

.product_details_text h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product_details_text h5 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product_details_text h5 span {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

/* Product Area */
.product_area {
    padding: 120px 0 80px;
}

.left_sidebar_area {
    position: sticky;
    top: 100px;
}

.l_w_title {
    margin-bottom: 20px;
}

.l_w_title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.widgets_inner ul {
    list-style: none;
    padding: 0;
}

.widgets_inner ul li {
    margin-bottom: 10px;
}

.widgets_inner ul li a {
    color: #666;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    border-radius: 5px;
    transition: 0.3s;
}

.widgets_inner ul li a:hover,
.widgets_inner ul li a.active {
    background: var(--primary-color);
    color: #fff;
}

/* Form Styles */
.form-control {
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 12px;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(237, 6, 140, 0.1);
}

/* Badges */
.badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

/* Alert Styles */
.alert {
    border-radius: 5px;
    padding: 12px 20px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card-header {
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* Stats Cards */
.stats-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stats-card p {
    color: #666;
    font-weight: 500;
}

/* Sidebar Admin */
.admin-sidebar {
    min-height: 100vh;
    background: var(--dark-bg);
    padding: 20px;
}

.admin-sidebar .nav-link {
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: 0.3s;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--primary-color);
}

.admin-sidebar .nav-link i {
    margin-right: 10px;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibility - Visually Hidden */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Accessibility - Focus Visible */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Accessibility - Skip Link */
.skip-link:focus {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 1rem;
    background: #000;
    color: #fff;
    text-decoration: none;
}
    
    .cake_img img {
        height: 200px;
    }
    
    .left_sidebar_area {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero_text h1 {
        font-size: 2rem;
    }
    
    .main_menu_two .navbar-brand img {
        width: 180px;
    }
    
    .cake_feature_item {
        margin-bottom: 20px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


.btn-iniciar-sesion {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e31c79;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(227, 28, 121, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-iniciar-sesion::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: botonDestello 4s infinite ease-in-out;
}

@keyframes botonDestello {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}
.btn-iniciar-sesion:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(227, 28, 121, 0.3);
}

/* ==================== HERO SLIDER ==================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e31c79 0%, #ff6b9d 100%);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(227, 28, 121, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #e31c79 0%, #ff6b9d 100%);
    color: #fff;
    border: none;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(227, 28, 121, 0.5);
    color: #fff;
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-btn-secondary:hover {
    background: #fff;
    color: #333;
    transform: translateY(-3px);
}

.hero-slide.active .hero-badge {
    animation: slideUp 0.8s ease forwards;
}

.hero-slide.active .hero-content h1 {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-content p {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-buttons {
    animation: slideUp 0.8s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: #e31c79;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(227, 28, 121, 0.6);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    background: #e31c79;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .hero-slider-section { height: 70vh; min-height: 500px; }
    .hero-content h1 { font-size: 40px; }
    .hero-content p { font-size: 18px; }
}

@media (max-width: 576px) {
    .hero-slider-section { height: 60vh; min-height: 450px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .hero-btn { padding: 12px 25px; font-size: 14px; }
    .hero-arrows { display: none; }
}

/* ==================== ANIMACIï¿½N FLOAT ==================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==================== GANADORES SLIDER ==================== */
.ganadores-slider-section {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fff8 0%, #e8fff0 100%);
}

.ganador-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.ganador-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.ganador-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    text-align: center;
    color: #333;
    padding: 20px;
}

.ganador-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #333;
}

.ganador-content .recompensa-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.ganador-content .fecha {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.ganador-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #C70072;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ganador-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ganador-slide.active .ganador-content h1 {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.ganador-slide.active .ganador-content .recompensa-badge {
    animation: slideUp 0.8s ease 0.1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.ganador-slide.active .ganador-content .ganador-avatar {
    animation: slideUp 0.8s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.ganador-slide.active .ganador-content .fecha {
    animation: slideUp 0.8s ease 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.ganadores-slider-section .hero-dots {
    bottom: 20px;
}

.ganadores-slider-section .hero-dot {
    background: rgba(40, 167, 69, 0.4);
}

.ganadores-slider-section .hero-dot.active {
    background: #28a745;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.6);
}

.ganadores-slider-section .hero-arrow {
    background: rgba(40, 167, 69, 0.2);
}

.ganadores-slider-section .hero-arrow:hover {
    background: #28a745;
}

@media (max-width: 768px) {
    .ganadores-slider-section { height: 55vh; min-height: 450px; }
    .ganador-content h1 { font-size: 24px; }
    .ganador-avatar { width: 80px; height: 80px; }
}

/* ==================== SWEETALERT Z-INDEX FIX ==================== */
.swal2-container {
    z-index: 99999 !important;
}
.swal2-backdrop-show {
    z-index: 99999 !important;
}
.swal2-popup {
    z-index: 100000 !important;
}

/* ===================================================================
   TIENDA REDESIGN â€” 3-SCREEN GRID NAVIGATION
   =================================================================== */

/* --- Store Section --- */
.store-section {
    padding: 40px 0 80px;
    min-height: 60vh;
    font-family: 'Outfit', sans-serif;
}

.store-hero {
    background: linear-gradient(135deg, #C70072 0%, #ff6b35 100%);
    padding: 60px 20px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.store-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: heroShift 20s linear infinite;
}

@keyframes heroShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.store-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
    animation: fadeInUp 0.6s ease both;
}

.store-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 0.6s ease 0.15s both;
}

.store-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.store-section-sub {
    color: #888;
    font-size: 0.95rem;
}

.store-subsection-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 3px solid #C70072;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

/* --- Breadcrumb --- */
.breadcrumb-crema {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.breadcrumb-crema a {
    color: #C70072;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.breadcrumb-crema a:hover {
    opacity: 0.7;
}

.breadcrumb-crema .sep {
    color: #ccc;
    font-size: 0.7rem;
}

.breadcrumb-crema .current {
    color: #888;
    font-weight: 600;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   CATEGORY CARDS
   =================================================================== */
.cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 32px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    min-height: 220px;
    background: linear-gradient(135deg, #ffb3d1, #C70072);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-decoration: none;
}

.cat-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.5s ease;
}

.cat-card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: botonDestello 4s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.cat-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../imagenes/logo1.png') no-repeat center / 260px auto;
    opacity: 0.6;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.cat-card:hover .cat-card-bg {
    transform: scale(1.08);
}

.cat-card-icon {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.cat-card:hover .cat-card-icon {
    transform: scale(1.15);
}

.cat-card-title {
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cat-card-count {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 10px;
    padding: 4px 14px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.cat-card-arrow {
    position: absolute;
    bottom: 16px;
    right: 20px;
    z-index: 1;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.cat-card:hover .cat-card-arrow {
    transform: translateX(6px);
    color: #fff;
}

/* Category-specific gradients */
.cat-card-bg {
    background: linear-gradient(135deg, #ffb3d1, #C70072);
}

/* ===================================================================
   GROUP CARDS
   =================================================================== */
.group-card {
    text-decoration: none;
    display: block;
}

.group-card:hover {
    text-decoration: none;
}

.group-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #ffb3d1, #C70072);
    border-radius: 18px;
    border: none;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: botonDestello 4s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.group-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../imagenes/logo1.png') no-repeat center / 260px auto;
    opacity: 0.35;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.group-card:hover .group-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(237, 6, 140, 0.25);
}

.group-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.group-card-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ===================================================================
   PRODUCT CARDS
   =================================================================== */
.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: botonDestello 4s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.product-card-img {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f5 100%);
    aspect-ratio: 3 / 4;
    padding: 12px;
    z-index: 2;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 3;
}

.product-card-badge-combo {
    left: auto;
    right: 16px;
    background: #ffc107 !important;
    color: #1a1a2e !important;
}

.product-card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    background: #fff;
}

.product-card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #C70072;
    margin-bottom: 4px;
}

.product-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    flex-grow: 1;
}

.product-card-stock {
    font-size: 0.8rem;
    color: #999;
    margin: 0 0 12px;
}

.product-card-actions {
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.product-card-components {
    margin: 6px 0 8px;
    line-height: 1.3;
}
.product-card-components .badge {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    background: #f8f9fa !important;
    color: #555 !important;
    border: 1px solid #e8e8e8 !important;
}

/* --- Nav pills override for pink tabs --- */
.store-section .nav-pills .nav-link {
    background: transparent;
    color: #C70072;
    border: 2px solid #C70072;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.store-section .nav-pills .nav-link:hover {
    background: rgba(237, 6, 140, 0.08);
}

.store-section .nav-pills .nav-link.active {
    background: #C70072;
    border-color: #C70072;
    color: #fff;
}

/* --- Staggered fade-in for grid items --- */
@media (min-width: 768px) {
    .row.g-4 > [class*="col-"] {
        animation: fadeInUp 0.5s ease both;
    }
    .row.g-4 > [class*="col-"]:nth-child(1) { animation-delay: 0s; }
    .row.g-4 > [class*="col-"]:nth-child(2) { animation-delay: 0.05s; }
    .row.g-4 > [class*="col-"]:nth-child(3) { animation-delay: 0.1s; }
    .row.g-4 > [class*="col-"]:nth-child(4) { animation-delay: 0.15s; }
    .row.g-4 > [class*="col-"]:nth-child(5) { animation-delay: 0.2s; }
    .row.g-4 > [class*="col-"]:nth-child(6) { animation-delay: 0.25s; }
    .row.g-4 > [class*="col-"]:nth-child(7) { animation-delay: 0.3s; }
    .row.g-4 > [class*="col-"]:nth-child(8) { animation-delay: 0.35s; }
    .row.g-4 > [class*="col-"]:nth-child(9) { animation-delay: 0.4s; }
    .row.g-4 > [class*="col-"]:nth-child(10) { animation-delay: 0.45s; }
    .row.g-4 > [class*="col-"]:nth-child(11) { animation-delay: 0.5s; }
    .row.g-4 > [class*="col-"]:nth-child(12) { animation-delay: 0.55s; }
}

/* ==================== MORPH LOGIN OVERLAY ==================== */
.morph-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1070;
    justify-content: center;
    align-items: center;
}

.morph-overlay.show {
    display: flex;
}

.morph {
    width: 180px;
    height: 60px;
    border-radius: 40px;
    background: linear-gradient(135deg, #ffb3d1, #C70072);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .6s cubic-bezier(.68, -0.55, .27, 1.55);
    box-shadow: 0 15px 30px rgba(237, 6, 140, 0.25);
    color: #fff;
}

.morph.active {
    width: 360px;
    height: 420px;
    border-radius: 20px;
    cursor: default;
}

.morph-lg.active {
    height: 600px;
}

.morph .btn-text {
    font-size: 18px;
    font-weight: bold;
    transition: .4s;
    pointer-events: none;
}

.morph.active .btn-text {
    opacity: 0;
    transform: scale(.5);
}

.morph .form {
    position: absolute;
    top: 75px;
    width: 80%;
    opacity: 0;
    transform: translateY(30px);
    transition: .6s;
    pointer-events: none;
}

.morph.active .form {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.morph .input-box {
    position: relative;
    margin: 25px 0;
}

.morph .input-box input {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 14px;
}

.morph .input-box label {
    position: absolute;
    left: 10px;
    top: 12px;
    font-size: 13px;
    color: #aaa;
    transition: .3s;
    pointer-events: none;
}

.morph .input-box input:focus + label,
.morph .input-box input:valid + label {
    top: -14px;
    font-size: 11px;
    color: #fff;
}

.morph .input-box input:focus {
    box-shadow: 0 0 10px rgba(237, 6, 140, 0.6);
}

.morph .input-box input:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.morph .submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #c2185b;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: .3s;
    font-size: 14px;
}

.morph .submit:hover {
    transform: scale(1.05);
}

.morph .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    opacity: 0;
    cursor: pointer;
    color: #fff;
    z-index: 2;
    transition: opacity .3s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.morph.active .close {
    opacity: 1;
}

.morph-logo {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 100px;
    height: auto;
    opacity: 0;
    z-index: 3;
    transition: opacity .4s;
    pointer-events: none;
}

.morph.active .morph-logo {
    opacity: 1;
}

.morph-lg .form {
    top: 65px;
}

.morph-lg .input-box {
    margin: 15px 0;
}

/* Particles */
.morph-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C70072;
    pointer-events: none;
    animation: morphExplode 1s ease-out forwards;
    z-index: 1071;
}

@keyframes morphExplode {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--mx), var(--my)) scale(.2);
    }
}

/* --- Reduced motion override --- */
@media (prefers-reduced-motion: reduce) {
    .store-hero::before,
    .cat-card,
    .cat-card-bg,
    .cat-card-icon,
    .cat-card-arrow,
    .group-card-inner,
    .product-card,
    .product-card-img img,
    .row.g-4 > [class*="col-"] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
