:root {
    --primary-color: #1a1a2e;
    --secondary-color: #f39c12;
    --accent-color: #25D366;
    --dark-color: #0f0f23;
    --light-color: #f8f9fa;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light-color);
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .3s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    z-index: 99;
    background: var(--secondary-color);
    border: none;
}

.back-to-top:hover {
    background: var(--primary-color);
}

.nav-bar {
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-bar .navbar-brand {
    padding: 10px 0;
}

.nav-bar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    padding: 15px 20px !important;
    font-weight: 500;
    transition: 0.3s;
}

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

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 60px 0;
    min-height: 500px;
}

.hero-carousel .owl-item img {
    max-height: 400px;
    object-fit: contain;
}

.hero-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: var(--secondary-color) !important;
    color: white !important;
    font-size: 20px !important;
}

.hero-carousel .owl-nav .owl-prev {
    left: 10px;
}

.hero-carousel .owl-nav .owl-next {
    right: 10px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.product-card .product-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.product-card .product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-card .product-badge span {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-card .badge-new {
    background: var(--primary-color);
    color: white;
}

.product-card .badge-sale {
    background: #dc3545;
    color: white;
}

.product-card .badge-free-shipping {
    background: var(--accent-color);
    color: white;
}

.product-card .product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-category {
    color: #6c757d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-card .product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-card .product-price {
    margin-top: auto;
}

.product-card .price-usd {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .price-cup {
    font-size: 14px;
    color: #6c757d;
}

.product-card .btn-whatsapp {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    transition: 0.3s;
}

.product-card .btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.02);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    color: #6c757d;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.category-card i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.category-card h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.category-card span {
    color: #6c757d;
    font-size: 14px;
}

.footer {
    background: var(--dark-color) !important;
}

.footer h4,
.footer h5 {
    color: white !important;
}

.footer p,
.footer a {
    color: rgba(255,255,255,0.7) !important;
}

.footer-link:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

.copyright {
    background: var(--dark-color) !important;
}

.modal-order .modal-header {
    background: var(--primary-color);
    color: white;
}

.modal-order .btn-close {
    filter: invert(1);
}

.variation-btn {
    border: 2px solid #dee2e6;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 3px;
    cursor: pointer;
    transition: 0.3s;
}

.variation-btn:hover {
    border-color: var(--primary-color);
}

.variation-btn.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
}

.variation-color {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid #dee2e6;
    cursor: pointer;
    transition: 0.3s;
}

.variation-color:hover,
.variation-color.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.promo-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e67e22 100%);
    border-radius: 15px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

.services-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.service-item {
    text-align: center;
    padding: 20px 10px;
}

.service-item i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.service-item h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 14px;
}

.service-item p {
    color: #6c757d;
    font-size: 12px;
    margin: 0;
}

.shop-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.shop-sidebar h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.shop-sidebar .category-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: 0.3s;
}

.shop-sidebar .category-item:hover {
    color: var(--secondary-color);
}

.shop-sidebar .category-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb-item.active {
    color: var(--secondary-color);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-carousel .owl-item img {
        max-height: 250px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-card .product-title {
        font-size: 14px;
        min-height: 35px;
    }
    
    .product-card .price-usd {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .nav-bar .navbar-brand img {
        max-height: 40px !important;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-carousel .owl-item img {
        max-height: 200px;
    }
    
    .hero-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px !important;
    }
    
    .product-card .product-body {
        padding: 15px;
    }
    
    .product-card .product-title {
        font-size: 13px;
    }
    
    .product-card .price-usd {
        font-size: 16px;
    }
    
    .product-card .btn-whatsapp {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .service-item {
        padding: 15px 5px;
    }
    
    .service-item i {
        font-size: 24px;
    }
    
    .service-item h6 {
        font-size: 12px;
    }
    
    .service-item p {
        font-size: 10px;
    }
    
    .shop-sidebar {
        margin-bottom: 30px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 30px;
    }
    
    .promo-banner {
        padding: 25px;
    }
    
    .promo-banner h2 {
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .product-card .product-img {
        padding-top: 100%;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .hero-section p {
        font-size: 14px;
    }
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not(.lazy-load) {
    opacity: 1;
}
