body {
    background: #f5f7fb;
}

.bg-qm {
    background: #d60000;
}

.footer {
    background: #fff;
    border-top: 1px solid #e6e9ef;
}

.page-header {
    background: #fff;
    border-bottom: 1px solid #e6e9ef;
    padding: 1.5rem 0;
}

.banner-bg {
    background: linear-gradient( to bottom, rgba(205,20,23,.80) 0%, rgba(205,20,23,.80) 77%, rgba(153,13,15,.92) 100% );
}

.banner {
    min-height: 200px;
    background: linear-gradient( to bottom, rgba(205,20,23,.80) 0%, rgba(205,20,23,.80) 76.92%, rgba(153,13,15,.92) 100% ), url("../images/building.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.navbar-home {
    background: #d71920;
    padding: 18px 0;
}

.logo-qm img {
    height: clamp(38px, 5vw, 58px);
    width: auto;
}

.nav-home .nav-link {
    color: #fff !important;
    margin: 0 14px;
    font-weight: 700;
}

.login-btn {
    background: #fff;
    color: #d60000 !important;
    border-radius: 4px;
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.login-btn:hover {
    color: #d60000 !important;
    text-decoration: none;
}

.nav-home a {
    color: #fff;
    margin: 0 18px;
    font-weight: 700;
    text-decoration: none;
}


.hero-content {
    padding: 0;
    width: auto;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
}

.hero-lady {
    width: 100%;
    height: auto;
}

/* ==== benefits section */
.benefits {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 0;
}

.benefit {
    text-align: center;
    padding: 16px 10px;
    border-right: 2px solid #ef2b2b;
}

.benefit:last-child {
    border-right: none;
}

.benefit-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
}

.benefit strong {
    display: block;
    color: #111;
}

.benefit span {
    color: #444;
    font-size: 14px;
}

.business-section {
    position: relative;
    background: linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.78)), url("https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=1600&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    padding: 5px 8%;
    min-height: 410px;
    overflow: hidden;
}

.business-content {
    max-width: 620px;
}

.business-content h2 {
    color: #13509a;
    font-size: 38px;
    font-weight: 900;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: #d71920;
    font-weight: 800;
}

.price-line .price {
    font-size: 64px;
    line-height: 1;
}
.business-person {
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {

    .business-person {
        display: none;
    }
}

/*.business-photo-card {
    position: absolute;
    right: 10%;
    bottom: 0;
    width: 360px;
    height: 360px;
    overflow: hidden;
}

*/

.product-card {
    border: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.product-img {
    height: 210px;
    object-fit: cover;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-row img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-lady {
        display: none;
    }
}


/* ===== QATUNA TIENDA / CARRITO MASTER STYLE ===== */

.store-hero {
    min-height: 330px;
    background: linear-gradient(90deg, rgba(215,25,32,.97), rgba(215,25,32,.72)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
}

.store-hero h1 {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.05;
}

.store-hero p {
    font-size: 18px;
    max-width: 560px;
}

.store-panel {
    margin-top: -45px;
    position: relative;
    z-index: 2;
}

.search-box,
.cart-summary,
.cart-empty {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

.product-card {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: .25s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(0,0,0,.14);
    }

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eee;
}

.product-price {
    color: #d71920;
    font-size: 26px;
    font-weight: 900;
}

.stock-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 700;
    background: #eef4ff;
    color: #124f98;
}

.stock-zero {
    background: #ffe7e7;
    color: #d71920;
}

.category-chip {
    display: inline-block;
    background: #f4f4f4;
    color: #555;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    margin-bottom: 8px;
}

.cart-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    margin-bottom: 18px;
}

.cart-item-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #eee;
}

.cart-total-label {
    font-size: 18px;
    color: #555;
}

.cart-total-price {
    color: #d71920;
    font-size: 34px;
    font-weight: 900;
}

@media (max-width: 768px) {
    #homeNavbar {
        background: #d71920;
        padding: 16px 0;
        margin-top: 12px;
    }

    .nav-home {
        align-items: flex-start;
    }

        .nav-home .nav-link {
            color: #fff !important;
            margin: 8px 0;
            padding: 8px 0;
            display: block;
        }

    .login-btn {
        display: inline-block;
        padding: 10px 18px !important;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit {
        border-right: 1px solid #ef2b2b;
        border-bottom: 1px solid #ef2b2b;
    }

    .benefit-icon img {
        width: 55px;
        height: 55px;
    }
}


/* ===== FINANCING STEPS SECTION ===== */

.financing-steps-section {
    background: #fff;
    padding: 35px 0 30px;
}

.financing-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 980px;
    margin: 0 auto;
}

.financing-steps::before {
    content: "";
    position: absolute;
    top: 54px;
    left: 12%;
    right: 12%;
    height: 9px;
    background: #1f4f9c;
    border-radius: 999px;
    z-index: 1;
}

.financing-step {
    position: relative;
    z-index: 2;
    width: 33.333%;
    text-align: center;
    color: #1f4f9c;
}

.financing-icon {
    width: 108px;
    height: 108px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #1f4f9c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.financing-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.financing-step p {
    margin: 0;
    color: #1f4f9c;
    font-size: 21px;
    line-height: 1.15;
}

.financing-step strong {
    font-weight: 900;
}

.timeline-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #2350a4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.timeline-circle img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

@media (max-width: 768px) {

    .financing-steps {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .financing-steps::before {
        top: 54px;
        bottom: 54px;
        left: 50%;
        right: auto;
        width: 7px;
        height: auto;
        transform: translateX(-50%);
    }

    .financing-step {
        width: 100%;
    }

    .financing-icon {
        width: 96px;
        height: 96px;
    }

    .financing-icon img {
        width: 50px;
        height: 50px;
    }

    .financing-step p {
        font-size: 18px;
    }

}


/* location map*/

.location {
    min-height: 300px;
    background: url("../images/localizadion.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

/* ===== FOOTER ===== */

.qatuna-footer {
    background: #2450a4;
    color: #fff;
    padding: 45px 0;
    position: relative;
    overflow: hidden;
}

.qatuna-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: radial-gradient(circle at 20% 20%, #fff 1px, transparent 1px), radial-gradient(circle at 80% 40%, #fff 1px, transparent 1px);
    background-size: 120px 120px;
}

.qatuna-footer .container {
    position: relative;
    z-index: 2;
}

.qatuna-footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
}

.footer-phone {
    font-size: 24px;
}

.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.25;
}

.footer-location img {
    width: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}
.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}
.social-icons a {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

