/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(248, 249, 250, 0.1);
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #f8f9fa;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #141414 100%);
    color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: hidden; /* Prevent scrolling during load */
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

/* Header */
.header {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.98) 0%, rgba(18, 18, 18, 0.95) 100%);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(248, 249, 250, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 44px;
    height: 44px;
    background: linear-gradient(45deg, #ff0000, #ff6b6b, #ff8787);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
}


.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: #e9ecef;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-list a:hover {
    color: #f8f9fa;
    background: rgba(248, 249, 250, 0.08);
    transform: translateY(-1px);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-list a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {

    padding: 300px 0 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 0, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(248, 249, 250, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    padding-top:100px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-shadow: 0 4px 16px rgba(248, 249, 250, 0.1);
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.hero-subtitle {
    font-size: 20px;
    color: #adb5bd;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #ff6b6b;
    text-align: center;
    margin-top: -40px;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Pole Position Section */
.pole-position {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #585858 50%, #0f0f0f 0%);
    position: relative;
}

.pole-position::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(248, 249, 250, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.product-category h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
}

.category-subtitle {
    font-size: 16px;
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card {
    background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(248, 249, 250, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(255, 0, 0, 0.1);
    border-color: rgba(248, 249, 250, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #333, #555);
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #444, #222);
    border: 4px solid #666;
    border-radius: 50%;
}

.product-card h4 {
    color: #f8f9fa;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.product-description {
    color: #adb5bd;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    min-height: 40px;
    display: block;
}

.product-card p {
    color: #adb5bd;
    font-size: 14px;
    line-height: 1.5;
}

/* Rines Section */
.rines {
    padding: 30px 0;
        background: linear-gradient(135deg, #0f0f0f 0%, #585858 50%, #0f0f0f 0%);
    position: relative;
}

.rines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.rines-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    margin-top: 50px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ff0000 #2a2a2a;
}

.rines-grid::-webkit-scrollbar {
    height: 8px;
}

.rines-grid::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.rines-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 4px;
}

.rines-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
}

.rin-item {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 3px 3px 48px 3px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    color: #000000;
    min-width: calc(50% - 15px);
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Desktop: mostrar 2 items */
@media (min-width: 769px) {
    .rines-grid {
        scroll-snap-type: x mandatory;
    }
    
    .rin-item {
        min-width: calc(50% - 15px);
    }
}

/* Mobile: mostrar 1 item */
@media (max-width: 768px) {
    .rines-grid {
        scroll-snap-type: x mandatory;
        padding: 20px 10px;
    }
    
    .rin-item {
        min-width: calc(100% - 60px);
        max-width: calc(100% - 60px);
        padding: 30px 20px;
    }
}

.rin-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(248, 249, 250, 0.1);
}

.rin-image {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #444, #222);
    border: 6px solid #666;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.rin-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #888;
    border-radius: 50%;
}

.rin-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #000000;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rin-item p {
    color: #333333;
    font-size: 15px;
    line-height: 1.5;
}

.price {
    color: #000000 !important;
    font-weight: 700;
    font-size: 24px !important;
}

/* F1 Team Section */
.f1-team {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-5px);
}

.team-image {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #444, #222);
    border: 4px solid #666;
    border-radius: 50%;
    margin: 0 auto 15px;
    position: relative;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #888;
    border-radius: 50%;
}

.team-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffffff;
}

.team-item .product-description {
    color: #adb5bd;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    min-height: 40px;
    display: block;
}

.team-item p {
    color: #cccccc;
    font-size: 12px;
}

/* Piloto Section */
.piloto {
    padding: 100px 0;
    background: linear-gradient(135deg, #080808 0%, #000000 50%, #0a0a0a 100%);
    position: relative;
}

.piloto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.piloto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.piloto-item {
    background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(248, 249, 250, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.piloto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.piloto-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(255, 0, 0, 0.1);
    border-color: rgba(248, 249, 250, 0.15);
}

.piloto-item:hover::before {
    opacity: 1;
}

.piloto-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #333, #555);
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.piloto-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #444, #222);
    border: 4px solid #666;
    border-radius: 50%;
}

.piloto-item h4 {
    color: #f8f9fa;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.piloto-item p {
    color: #adb5bd;
    font-size: 14px;
    line-height: 1.5;
}

/* Experiencias Section */
.experiencias {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.experiencias-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.experiencia-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
}

.experiencia-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.exp-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #333, #555);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.exp-image:hover {
    transform: scale(1.02);
}

/* Aliados Section */
.aliados {
    padding: 80px 0;
    background-color: #000000;
}

.aliados-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.aliado-logo {
    width: 100%;
    height: 80px;
    background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.aliado-logo:hover {
    transform: scale(1.05);
}

/* Shopping Cart Styles */
.cart-icon-fixed {
    position: fixed !important;
    top: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, rgba(8, 8, 8, 0.95), rgba(26, 26, 26, 0.9));
    border: 1px solid rgba(248, 249, 250, 0.15);
    border-radius: 14px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9998 !important; /* Higher than loader */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(255, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    animation: cartFloat 3s ease-in-out infinite;
}

.cart-icon-fixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.cart-icon-fixed:hover {
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.15), rgba(26, 26, 26, 0.95));
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(248, 249, 250, 0.25);
}

.cart-icon-fixed:hover::before {
    opacity: 1;
}

.cart-icon-fixed:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

.cart-icon-fixed.bounce {
    animation: cartBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.15); }
    50% { transform: scale(1.05); }
    70% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* Floating animation for cart icon */
@keyframes cartFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}


.cart-symbol {
    font-size: 22px;
    color: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cart-icon-fixed:hover .cart-symbol {
    color: #ffffff;
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #ffffff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.cart-count.show {
    display: flex;
    animation: countPulse 0.4s ease-out;
}

.cart-count.updating {
    animation: countUpdate 0.3s ease-in-out;
}

@keyframes countPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes countUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); background: linear-gradient(135deg, #00ff00, #00cc00); }
    100% { transform: scale(1); }
}

/* Cart Modal */
.cart-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important; /* Higher than everything except loader */
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-modal.show {
    display: flex;
    opacity: 1;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.cart-content {
    background-color: #1a1a1a;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    animation: cartSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cart-header {
    background-color: #000000;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff0000;
}

.cart-header h3 {
    color: #ffffff;
    font-size: 20px;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-cart:hover {
    background-color: rgba(255, 0, 0, 0.2);
}

.cart-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff0000 #2a2a2a;
}

.cart-body::-webkit-scrollbar {
    width: 6px;
}

.cart-body::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.cart-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 3px;
}

.cart-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: itemSlideIn 0.3s ease-out;
    margin-bottom: 5px;
}

.cart-item:hover {
    background-color: #333333;
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateX(2px);
}

@keyframes itemSlideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-item-info h4 {
    color: #ffffff;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.cart-item-price {
    color: #ff0000;
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #cc0000;
}

.quantity {
    color: #ffffff;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.remove-btn:hover {
    background-color: rgba(255, 0, 0, 0.2);
}

.empty-cart {
    text-align: center;
    color: #cccccc;
    font-style: italic;
    padding: 40px 20px;
}

.cart-footer {
    background-color: #000000;
    padding: 20px;
    border-top: 1px solid #333;
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 18px;
}

.checkout-btn {
    width: 100%;
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #cc0000;
}

/* Product Price and Add to Cart Button */
.product-price {
    color: #ff0000 !important;
    font-weight: bold !important;
    font-size: 16px !important;
    margin: 10px 0 !important;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ff2020 0%, #e00000 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.25);
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
    border: 1px solid #ff0000;
    border-radius: 12px;
    padding: 12px 18px;
    z-index: 3000;
    transform: translateX(100%) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(255, 0, 0, 0.2);
    border-left: 4px solid #ff0000;
}

.cart-notification.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.cart-notification.hide {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
}

.notification-content {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-content span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-content span::before {
    content: '✓';
    color: #00ff00;
    font-weight: bold;
    font-size: 16px;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 60px 0 20px;
    border-top: 2px solid #ff0000;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section p {
    color: #cccccc;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

/* Responsive Design */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container > div:first-child img {
        width: 60px !important;
        max-width: 60px;
    }
    
    .mobile-menu-toggle {
        padding: 8px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .rines-grid {
        padding: 20px 5px;
        gap: 20px;
    }
    
    .rin-item {
        min-width: calc(100% - 30px);
        max-width: calc(100% - 30px);
        padding: 25px 15px;
    }
    
    .rin-item h4 {
        font-size: 18px;
    }
    
    .rin-item p {
        font-size: 14px;
    }
    
    .price {
        font-size: 20px !important;
    }
    
    .rin-image {
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
    }
    
    .rin-image::before {
        width: 50px;
        height: 50px;
    }
    
    .add-to-cart-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .team-grid,
    .piloto-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    /* Fixed cart icon mobile adjustments */
    .cart-icon-fixed {
        top: 15px !important;
        right: 15px !important;
        width: 45px;
        height: 45px;
    }
    
    .cart-symbol {
        font-size: 18px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #f8f9fa;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .header .container > div:first-child {
        order: 2;
        width: auto !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .header .container > div:first-child img {
        width: 80px !important;
        max-width: 80px;
    }
    
    .cart-icon-fixed {
        position: fixed !important;
        top: 18px !important;
        right: 20px !important;
        z-index: 1002 !important;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(8, 8, 8, 0.98) 0%, rgba(18, 18, 18, 0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        border-bottom: 2px solid rgba(255, 0, 0, 0.3);
        z-index: 1000;
        order: 3;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(248, 249, 250, 0.1);
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        text-align: left;
        border-radius: 0;
    }
    
    .nav-list a:hover {
        background: rgba(255, 0, 0, 0.1);
        transform: translateX(5px);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-grid,
    .experiencias-content {
        grid-template-columns: 1fr;
    }
    
    .product-images,
    .experiencia-images {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .piloto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rines-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cart Modal Responsive */
    .cart-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .cart-notification.show {
        transform: translateY(0);
    }
}

/* Contact Page Styles */
.contacto-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #141414 100%);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contacto-info {
    background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(248, 249, 250, 0.08);
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border-left: 3px solid #ff0000;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    transform: translateX(5px);
    background: rgba(255, 0, 0, 0.05);
}

.contacto-icon {
    font-size: 32px;
    min-width: 40px;
}

.contacto-details h3 {
    color: #f8f9fa;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.contacto-details p {
    color: #adb5bd;
    font-size: 15px;
    margin: 4px 0;
}

.contacto-details a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-details a:hover {
    color: #ff0000;
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    color: #f8f9fa;
    font-size: 18px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-3px);
}

/* Contact Form */
.contacto-form-container {
    background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(248, 249, 250, 0.08);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #f8f9fa;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(248, 249, 250, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: #f8f9fa;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ff0000;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff2020 0%, #e00000 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #080808 0%, #000000 50%, #0a0a0a 100%);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(145deg, #1a1a1a, #222222);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(248, 249, 250, 0.05);
    margin-top: 40px;
}

.map-placeholder p:first-child {
    font-size: 48px;
    margin-bottom: 10px;
}

/* Contact Notification */
.contact-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
    border: 1px solid #00ff00;
    border-radius: 12px;
    padding: 15px 20px;
    z-index: 3000;
    transform: translateX(100%) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 255, 0, 0.2);
    border-left: 4px solid #00ff00;
}

.contact-notification.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.contact-notification.hide {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
}

/* Responsive Contact Page */
@media (max-width: 968px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacto-info,
    .contacto-form-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .contacto-section {
        padding: 60px 0;
    }
    
    .contacto-info,
    .contacto-form-container {
        padding: 20px;
    }
    
    .contacto-item {
        padding: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .map-placeholder {
        height: 300px;
    }
}
