:root {
    --primary-red: #E31E24;
    --golden: #FFD200;
    --dark-red: #B71C1C;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --gray: #666666;
    --whatsapp: #25D366;
    --body-bg: #F0F2F5; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', system_ui, sans-serif; 
    color: var(--dark); 
    background-color: var(--body-bg); 
    line-height: 1.7; 
    overflow-x: hidden; 
}

/* Floating Architecture */
.floating-section { margin: 1rem; border-radius: 1.5rem; background: var(--white); box-shadow: 0 10px 40px rgba(0,0,0,0.03); overflow: hidden; position: relative; }
@media (min-width: 768px) { .floating-section { margin: 1.5rem; border-radius: 2rem; } }
@media (min-width: 992px) { .floating-section { margin: 2rem 2.5rem; border-radius: 2.5rem; } }
@media (min-width: 1400px) { .floating-section { margin: 2.5rem 4rem; } }

/* Typography */
h1, h2, h3, h4, h5 { font-family: 'Outfit', 'Poppins', sans-serif; font-weight: 600; line-height: 1.2; color: var(--dark); }
.section-title { font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 800; margin-bottom: 1.2rem; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 60px; height: 4px; background: linear-gradient(to right, var(--golden), #FFB300); border-radius: 4px; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.section-subtitle { font-size: 1.05rem; color: var(--gray); max-width: 650px; margin: 0 auto 3rem; }

/* Buttons */
.btn-premium { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; border: none; border-radius: 50px; cursor: pointer; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); text-decoration: none; overflow: hidden; }
.btn-primary-premium { background: linear-gradient(135deg, #E31E24, #C31419); color: white; box-shadow: 0 10px 25px rgba(227, 30, 36, 0.3); }
.btn-primary-premium:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(227, 30, 36, 0.45); color: white; }
.btn-outline-premium { background: transparent; color: var(--dark); border: 2px solid rgba(0,0,0,0.1); padding: 12px 30px; }
.btn-outline-premium:hover { background: var(--dark); color: white; border-color: var(--dark); }
.btn-whatsapp { background: var(--whatsapp); color: white; font-weight: 600; padding: 12px 24px; font-size: 0.95rem; border-radius: 50px; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25); border: none; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-3px); color: white; box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35); }

/* Header */
.premium-header { position: fixed; top: 1rem; left: 1rem; right: 1rem; z-index: 1000; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); padding: 12px 20px; border-radius: 100px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
@media (min-width: 768px) { .premium-header { left: 1.5rem; right: 1.5rem; padding: 12px 30px; } }
@media (min-width: 992px) { .premium-header { left: 2.5rem; right: 2.5rem; } }
@media (min-width: 1400px) { .premium-header { left: 4rem; right: 4rem; } }
.premium-header.scrolled { top: 0.5rem; background: rgba(255, 255, 255, 0.95); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.premium-header .navbar-brand img { height: 38px; width: auto; transition: 0.3s; }
.nav-link { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--dark) !important; padding: 8px 16px !important; margin: 0 4px; transition: 0.3s; font-size: 0.9rem; border-radius: 50px; }
.nav-link:hover { background: rgba(0,0,0,0.04); color: var(--primary-red) !important; }
.nav-link.active { background: rgba(227,30,36,0.08); color: var(--primary-red) !important; font-weight: 600; }
.contact-cta { background: linear-gradient(135deg, #E31E24, #C31419); color: white !important; padding: 8px 24px !important; margin-left: 10px; }
.contact-cta:hover { background: var(--dark-red); color: white !important; transform: translateY(-2px); }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; background: rgba(10, 10, 10, 0.985); backdrop-filter: blur(40px); z-index: 2000; transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); display: flex; flex-direction: column; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-content { flex: 1; overflow-y: auto; padding: 30px 20px; }
.mobile-menu .nav-link { color: white !important; font-size: 1.3rem; padding: 15px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.05); border-radius: 0; background: transparent; }
.btn-close-mobile { background: rgba(255,255,255,0.1); border: none; width: 40px; height: 40px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; }
.hamburger { width: 24px; height: 18px; position: relative; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; position: absolute; height: 2px; width: 100%; background: var(--dark); border-radius: 2px; transition: 0.3s; }
.hamburger span:nth-child(1) { top: 0; } .hamburger span:nth-child(2) { top: 8px; } .hamburger span:nth-child(3) { top: 16px; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--primary-red); z-index: 10000; transition: width 0.1s; }

/* Hero Section */
.hero { height: calc(100dvh - 2rem); min-height: 600px; max-height: 900px; display: flex; align-items: center; background: #000; margin-top: 1rem !important; }
@media (min-width: 768px) { .hero { height: calc(100dvh - 3rem); margin-top: 1.5rem !important; } }
@media (min-width: 992px) { .hero { height: calc(100dvh - 4rem); margin-top: 2rem !important; } }
.custom-hero-slider { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active img { animation: kenBurns 8000ms ease-out forwards; }
@keyframes kenBurns { 0% { transform: scale(1.0); } 100% { transform: scale(1.12); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%); z-index: 2; }
@media (max-width: 991px) { .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%); } }
.hero-content { position: relative; z-index: 3; width: 100%; max-width: 850px; padding: 0 5%; margin-top: 4rem; }
@media (max-width: 991px) { .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-bottom: 4rem; } }
.premium-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 6px 18px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem; }
.premium-badge-light { background: rgba(227,30,36,0.08); color: var(--primary-red); border: none; }
.hero h1 { font-size: clamp(2.2rem, 5vw + 1rem, 5rem); font-weight: 800; line-height: 1.1; color: white; margin-bottom: 1.25rem; }
.hero p { font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem); color: rgba(255,255,255,0.9); max-width: 600px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 2.5rem; }
.hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; z-index: 20; transition: 0.3s; cursor: pointer; }
.hero-nav-btn:hover { background: var(--primary-red); border-color: var(--primary-red); transform: translateY(-50%) scale(1.1); }
.hero-prev { left: 20px; } .hero-next { right: 20px; }
@media (max-width: 767px) { .hero-nav-btn { display: none; } }
.hero-pagination { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 20; }
.hero-pagination-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: 0.3s; }
.hero-pagination-dot.active { background: var(--golden); width: 24px; border-radius: 4px; }

.section-padding { padding: 4rem 1.5rem; }
@media (min-width: 992px) { .section-padding { padding: 6rem 3rem; } }

/* MODERN SMALL CATEGORY CARDS */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1200px) { .categories-grid { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; } }

.category-small-card { background: var(--white); border-radius: 1.25rem; padding: 1.5rem 1rem; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); cursor: pointer; display: flex; flex-direction: column; align-items: center; height: 100%; }
@media (max-width: 575px) { .category-small-card { padding: 1.25rem 0.75rem; border-radius: 1rem; } }
.category-small-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(227,30,36,0.12); border-color: rgba(227,30,36,0.15); }
.cat-thumb-wrapper { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 1.25rem; padding: 4px; background: linear-gradient(135deg, rgba(227,30,36,0.15), rgba(255,210,0,0.15)); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@media (max-width: 575px) { .cat-thumb-wrapper { width: 70px; height: 70px; margin-bottom: 1rem; } }
.category-small-card:hover .cat-thumb-wrapper { transform: scale(1.1) rotate(5deg); }
.cat-thumb { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.cat-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; transition: color 0.3s; }
@media (max-width: 575px) { .cat-title { font-size: 0.95rem; } }
.category-small-card:hover .cat-title { color: var(--primary-red); }
.cat-desc { font-size: 0.8rem; color: var(--gray); line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575px) { .cat-desc { font-size: 0.75rem; } }

/* Products (Swiper) */
.products-swiper { padding: 10px 0 40px; overflow: hidden; }
.product-card { background: white; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.05); transition: 0.4s; border: 1px solid rgba(0,0,0,0.03); height: 100%; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,0.12); border-color: rgba(255, 210, 0, 0.3); }
.product-image-wrapper { position: relative; aspect-ratio: 1 / 0.9; overflow: hidden; }
.product-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.product-card:hover .product-image-wrapper img { transform: scale(1.08); }
.category-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); color: white; font-size: 0.7rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; }
.product-info { padding: 1.25rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-desc { color: var(--gray); font-size: 0.9rem; margin-bottom: 1.25rem; flex-grow: 1; }
.swiper-nav-buttons { display: flex; gap: 10px; }
.custom-slider-btn { width: 44px; height: 44px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 1px solid #eee; cursor: pointer; transition: 0.3s; z-index: 10; color: var(--dark); }
.custom-slider-btn:hover { background: var(--primary-red); color: white; border-color: var(--primary-red); transform: translateY(-3px); }

/* BENTO BOX GALLERY */
.gallery-grid { display: grid; gap: 15px; grid-template-columns: repeat(1, 1fr); grid-auto-rows: 250px; }
@media (min-width: 576px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; } }
@media (min-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .gallery-item:nth-child(4) { grid-column: span 2; }
    .gallery-item:nth-child(5) { grid-column: span 2; }
    .gallery-item:nth-child(6) { grid-column: span 2; }
}
.gallery-item { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: block; background: #000; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: 0.7s ease; opacity: 0.9; }
.gallery-item:hover img { transform: scale(1.1); opacity: 0.5; filter: blur(3px); }
.gallery-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: 0.4s ease; transform: scale(0.9); pointer-events: none; }
.gallery-item:hover .gallery-overlay { opacity: 1; transform: scale(1); }
.gallery-icon-wrap { width: 55px; height: 55px; background: var(--primary-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; margin-bottom: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* Contact */
.contact-wrap { background: var(--body-bg); border-radius: 1.5rem; padding: 2rem; }
@media (min-width: 992px) { .contact-wrap { padding: 3rem; } }
.contact-form .form-control { border: 1px solid rgba(0,0,0,0.08); border-radius: 1rem; padding: 14px 18px; font-size: 0.95rem; background: white; transition: 0.3s; }
.contact-form .form-control:focus { border-color: var(--primary-red); box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1); outline: none; }

/* DARK PREMIUM FOOTER */
.premium-footer { background: #0D0D0D !important; color: #A3A3A3; padding: 5rem 2rem 2rem; }
.premium-footer h5 { color: #FFFFFF; font-weight: 600; margin-bottom: 1.25rem; font-size: 1.1rem; }
.premium-footer a { color: #A3A3A3; text-decoration: none; transition: 0.3s; }
.premium-footer a:hover { color: var(--golden); }
.premium-footer .social-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 50%; margin-right: 10px; transition: 0.3s; color: #FFF; }
.premium-footer .social-icon:hover { background: var(--primary-red); transform: translateY(-3px); }

/* Utils */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: var(--dark); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 999; transition: 0.3s; opacity: 0; visibility: hidden; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-red); transform: translateY(-3px); }
.toast-notification { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--dark); color: white; padding: 12px 24px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 10px; z-index: 9999; font-size: 0.9rem; opacity: 0; visibility: hidden; transition: 0.4s; }
.toast-notification.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* ========================================================
   PREMIUM GLOBAL LOADER
   ======================================================== */
#global-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--body-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
}

#global-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 55px;
    height: 55px;
    border: 3px solid transparent;
    border-top-color: var(--primary-red);
    border-bottom-color: var(--golden);
    border-radius: 50%;
    animation: loader-spin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.loader-logo {
    margin-top: 24px;
    height: 32px;
    animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-spin {
    100% { transform: rotate(360deg); }
}

@keyframes loader-pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}