﻿
.color-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 4px;
    align-items: center;
}

.color-label {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 2px;
    display: block;
}

.color-bubble {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    outline: none;
    position: relative;
    flex-shrink: 0;
}

    .color-bubble:hover {
        transform: scale(1.18);
        box-shadow: 0 3px 10px rgba(0,0,0,.25);
    }

    .color-bubble.selected {
        border-color: #333;
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
        transform: scale(1.12);
    }

    .color-bubble[title]::after {
        content: attr(title);
        position: absolute;
        bottom: 130%;
        left: 50%;
        transform: translateX(-50%);
        background: #222;
        color: #fff;
        font-size: 10px;
        padding: 3px 7px;
        border-radius: 4px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s;
    }

    .color-bubble:hover::after {
        opacity: 1;
    }

.selected-color-name {
    font-size: 11px;
    color: #667eea;
    font-weight: 600;
    min-height: 16px;
    margin-top: 2px;
}

.hero-section {
    background: #2acdeb;
    color: white;
    padding: 0;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

    .hero-section h1 {
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 18px;
        opacity: 0.95;
    }

    .hero-section .paw-icon {
        font-size: 60px;
        margin-bottom: 15px;
        animation: bounce 2s infinite;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.category-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    background: white;
    border: 2px solid gray;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .category-btn i {
        font-size: 18px;
    }

    .category-btn:hover {
        background: #2acdeb;
        color: white;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    }

    .category-btn.active {
        background: orange;
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        border-color: #667eea;
    }

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f8f9fa;
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.product-description {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 26px;
    font-weight: 700;
    color: #667eea;
}

.product-price-label {
    font-size: 12px;
    color: #999;
    display: block;
}

.btn-add-cart {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

    .btn-add-cart:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

.no-products {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

    .no-products i {
        font-size: 80px;
        margin-bottom: 20px;
        opacity: 0.3;
    }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

    .modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h2 {
        font-size: 24px;
        font-weight: 700;
    }

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.modal-body {
    padding: 30px;
}

.cart-items-list {
    margin-bottom: 25px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 15px;
}

    .cart-item img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 12px;
    }

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 18px;
    color: #667eea;
    font-weight: 700;
}

.cart-item-remove {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

    .cart-item-remove:hover {
        background: #e84050;
        transform: scale(1.05);
    }

.order-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
        font-size: 14px;
    }

    .form-group input {
        width: 100%;
        padding: 14px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 15px;
        transition: all 0.3s ease;
        font-family: 'Poppins', sans-serif;
    }

        .form-group input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

.order-summary {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.order-summary-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.order-summary-total {
    font-size: 36px;
    font-weight: 700;
}

.btn-confirm-order {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

    .btn-confirm-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
    }


.context {
    justify-self: center;
    position: absolute;
    top: 12vh;
}

    .context h1 {
        text-align: center;
        color: #fff;
        font-size: 45px;
    }


.area {
    background: linear-gradient(135deg, #667eea, #764ba2);
    width: 100%;
    height: 40vh;
}

.circles {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 70%;
    height: 40%;
    overflow: hidden;
}

    .circles li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
        animation: animate 25s linear infinite;
        bottom: -150px;
    }

        .circles li:nth-child(1) {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
        }


        .circles li:nth-child(2) {
            left: 10%;
            width: 20px;
            height: 20px;
            animation-delay: 2s;
            animation-duration: 12s;
        }

        .circles li:nth-child(3) {
            left: 70%;
            width: 20px;
            height: 20px;
            animation-delay: 4s;
        }

        .circles li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
            animation-duration: 18s;
        }

        .circles li:nth-child(5) {
            left: 65%;
            width: 20px;
            height: 20px;
            animation-delay: 0s;
        }

        .circles li:nth-child(6) {
            left: 75%;
            width: 110px;
            height: 110px;
            animation-delay: 3s;
        }

        .circles li:nth-child(7) {
            left: 35%;
            width: 150px;
            height: 150px;
            animation-delay: 7s;
        }

        .circles li:nth-child(8) {
            left: 50%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            animation-duration: 45s;
        }

        .circles li:nth-child(9) {
            left: 20%;
            width: 15px;
            height: 15px;
            animation-delay: 2s;
            animation-duration: 35s;
        }

        .circles li:nth-child(10) {
            left: 85%;
            width: 150px;
            height: 150px;
            animation-delay: 0s;
            animation-duration: 11s;
        }



@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* CONTENEDOR LOGO + TEXTO */
.hero-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* LOGO */
.hero-logo {
    width: 150px;
    height: auto;
}

/* TEXTO */
.hero-text {
    text-align: left;
}

/* 📱 MODO CELULAR */
@media (max-width: 768px) {

    .hero-section {
        background: linear-gradient(90deg, rgba(255,157,0,1) 0%, rgba(245,207,125,1) 50%, rgba(255,157,0,1) 100%);
        border-radius: 50px;
        padding: 300px 0;
        margin-bottom: 30px;
    }

    .context {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-section {
        background: none;
        padding-top: 20px;
    }

    .hero-text {
        display: none;
    }

    .hero-logo {
        width: 200px;
    }

    .area {
        display: none; /* 🔥 ocultamos burbujas en móvil */
    }


    /*Nav de menus*/
    .menu-categorias {
        gap: 6px; /* menos espacio entre botones */
        margin-top: 12px;
    }

        .menu-categorias button {
            padding: 5px 11px;
            font-size: 12px;
            border-radius: 18px;
        }

            .menu-categorias button i {
                font-size: 12px;
                margin-right: 4px;
            }
    .category-btn{
        font-size: 14px;
    }
    .menu-categorias {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

        .menu-categorias::-webkit-scrollbar {
            display: none;
        }

}