:root {
    --primary: #FF8C42;
    --primary-hover: #E87A30;
    --secondary: #2B2D42;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-main: #2B2D42;
    --text-muted: #8D99AE;
    --border-color: #EDF2F4;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html,
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #cbd5e1;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.admin-link {
    background: var(--secondary);
    color: white !important;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.admin-link::after {
    display: none;
}

.admin-link:hover {
    background: var(--primary) !important;
    color: white !important;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(255, 140, 66, 0.3);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    padding-top: 80px;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    animation: fadeUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: fadeLeft 1s ease-out;
    aspect-ratio: 4/3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.products-section {
    padding: 8rem 5%;
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.6rem 1.8rem;
    border: 1px solid var(--border-color);
    background: transparent;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 140, 66, 0.2);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    background-color: #f1f5f9;
    transition: transform 0.5s;
}

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

.img-container {
    overflow: hidden;
    position: relative;
}

.product-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    line-height: 1.3;
}

.product-desc-short {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.2rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.9rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.add-to-cart:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

footer {
    background-color: var(--secondary);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
    line-height: 1.8;
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter form {
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.footer-newsletter input {
    padding: 1rem;
    border: none;
    outline: none;
    width: 100%;
    font-family: inherit;
    background: #1e293b;
    color: white;
}

.footer-newsletter input::placeholder {
    color: #64748b;
}

.footer-newsletter button {
    padding: 0 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.footer-newsletter button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.95rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 140px;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem 5%;
        justify-content: space-between;
        gap: 1rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        gap: 1rem;
        flex-wrap: wrap;
        font-size: 0.95rem;
    }

    .logo img {
        height: 35px;
    }

    .cart-icon {
        order: 2;
        margin-top: 5px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .filters {
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
        flex-grow: 1;
        text-align: center;
    }

    .products-section {
        padding: 4rem 5%;
    }

    ::root {
        --radius-lg: 12px;
    }

    /* Footer Mobile Fixes */
    footer {
        padding: 3rem 1rem 1.5rem;
        overflow: hidden;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-newsletter form {
        max-width: 100%;
        flex-direction: column;
        border-radius: var(--radius-sm);
    }

    .footer-newsletter input {
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        text-align: center;
    }

    .footer-newsletter button {
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        padding: 1rem;
    }
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: block;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    color: white;
}