/* HEADER */
.main-header {
    background: #0D1B2A;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.top-bar {
    background: #1B263B;
    color: #fff;
}

.navbar {
    background: #0D1B2A;
}

.navbar-brand {
    color: #fff !important;
}

.categories-bar {
    background: #1B263B;
}

.categories-bar .nav-link {
    color: #fff;
    padding: 10px 15px;
    transition: 0.3s;
}

.categories-bar .nav-link:hover {
    background: #F77F00;
    color: #fff;
    border-radius: 6px;
}

.cart-badge {
    background: #F77F00;
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    padding: 4px 7px;
    position: absolute;
    top: 0;
    right: -8px;
}


.main-navbar {
    background: #0D1B2A;
    padding: 12px 0;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #F77F00 !important;
}

.cart-badge {
    background: #F77F00;
    color: #fff;
    font-size: 11px;
    border-radius: 50%;
    padding: 4px 6px;
    position: absolute;
    top: -5px;
    right: -10px;
}

.offcanvas {
    background: #0D1B2A;
    color: #fff;
}

.offcanvas .nav-link {
    color: #fff !important;
}

.offcanvas .nav-link:hover {
    color: #F77F00 !important;
}
/* END HEADER */

/* HERO SECTION */
.hero-section {
    background: url('/images/hero-moto.jpg') center center/cover no-repeat;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.75);
}

.hero-slide {
    min-height: 650px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.2) 70%);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 500px;
        text-align: center;
    }

    .hero-slide .col-lg-6 {
        margin: 0 auto;
    }

    .hero-slide h1 {
        font-size: 26px;
    }

    .hero-slide .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
/* END HERO SECTION */

/* SECTION CATEGORY */
.category-card {
    position: relative;
    display: block;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    margin: 10px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.85), transparent);
    text-align: center;
}

.category-overlay h6 {
    color: #fff;
    font-weight: 600;
    margin: 0;
}

/* Espaciado entre slides */
.swiper-slide {
    width: 220px;
}
/* END SECTION CATEGORY */


.swiper {
    width: 100%;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    width: 220px !important;
    flex-shrink: 0;
}




/* CARD BASE */
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    background: #fff;
    position: relative;
}

/* HOVER GENERAL */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* IMAGE WRAPPER */
.product-image-wrapper {
    height: 250px;
    width: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* IMAGE */
.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* IMAGE ZOOM */
.product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

/* CARD BODY */
.product-card .card-body {
    padding: 18px;
}

/* PRODUCT NAME */
.product-card h6 {
    font-size: 15px;
    min-height: 40px;
}

/* BUTTON */
.product-card .btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(247,127,0,0.4);
}


/* FOOTER */
.main-footer {
    background: #0d1117;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #ffc107;
    display: block;
    margin-top: 6px;
}

.footer-description {
    color: #ccc;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffc107;
    padding-left: 5px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 12px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ffc107;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {

    .main-footer {
        text-align: center;
    }

    .footer-title::after {
        margin-left: auto;
        margin-right: auto;
    }

}
/* END FOOTER */


.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff2e2e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.cart-badge.bump {
    transform: scale(1.3);
}

/* MINI CARRITO */
.mini-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mini-cart.open {
    right: 0;
}

.mini-cart-header,
.mini-cart-footer {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mini-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}
/* END MINI CARRITO */

.order-summary {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}



.about-hero {
    background: #0D1B2A;
    height: 200px;
}

.about-stats {
    background: linear-gradient(135deg, #111, #222);
}



.contact-hero {
    height: 200px;
    background: #0D1B2A;
}

.contact-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: all .3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.map-container iframe {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.cta-section {
    background: linear-gradient(135deg, #111, #1B263B);
}