:root {
    --fire: #c62828;
    --fire-dark: #8e0000;
    --fire-orange: #ff6f00;
    --ink: #1c1c1e;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: #333;
    background: #fff;
}

.text-fire { color: var(--fire) !important; }
.bg-fire { background: var(--fire) !important; }

.btn-fire {
    background: var(--fire);
    border-color: var(--fire);
    color: #fff;
}
.btn-fire:hover, .btn-fire:focus {
    background: var(--fire-dark);
    border-color: var(--fire-dark);
    color: #fff;
}
.btn-outline-fire {
    border-color: var(--fire);
    color: var(--fire);
}
.btn-outline-fire:hover {
    background: var(--fire);
    color: #fff;
}

/* Top bar + nav */
.topbar {
    background: var(--fire);
    color: #fff;
    font-size: .85rem;
    padding: 6px 0;
}
.navbar .nav-link { font-weight: 500; }
.navbar .nav-link.active { color: var(--fire-orange) !important; }

/* Banner slider */
.hero-carousel .carousel-item {
    height: 560px;
    background: var(--ink);
}
.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.1) 100%);
}
.hero-carousel .carousel-caption {
    z-index: 2;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    left: 10%;
    right: 10%;
    text-align: left;
    max-width: 640px;
}
.hero-carousel .carousel-caption h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-carousel .carousel-caption p { font-size: clamp(1rem, 1.6vw, 1.25rem); }
.hero-carousel .carousel-item.active .carousel-caption > * {
    animation: slideUp .8s ease both;
}
.hero-carousel .carousel-item.active .carousel-caption > *:nth-child(2) { animation-delay: .15s; }
.hero-carousel .carousel-item.active .carousel-caption > *:nth-child(3) { animation-delay: .3s; }
.hero-carousel .carousel-indicators { z-index: 3; }
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { z-index: 3; width: 6%; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .hero-carousel .carousel-item { height: 380px; }
    .hero-carousel .carousel-caption { left: 8%; right: 8%; }
}

.static-hero {
    background: linear-gradient(135deg, var(--fire-dark), var(--fire) 60%, var(--fire-orange));
    color: #fff;
    padding: 110px 0;
}

/* Page header for inner pages */
.page-header {
    background: linear-gradient(135deg, rgba(28,28,30,.92), rgba(142,0,0,.88)), var(--ink);
    color: #fff;
    padding: 70px 0;
}
.page-header .breadcrumb-item a { color: #ffb74d; text-decoration: none; }
.page-header .breadcrumb-item.active, .page-header .breadcrumb-item::before { color: #ddd; }

/* Sections */
.section { padding: 70px 0; }
.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--fire);
    transform: translateX(-50%);
}
.section-title.text-start::after { left: 0; transform: none; }

.feature-box {
    padding: 30px 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    height: 100%;
    transition: transform .25s;
}
.feature-box:hover { transform: translateY(-5px); }
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(198,40,40,.1);
    color: var(--fire);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.category-tile {
    display: block;
    text-decoration: none;
    color: var(--ink);
    padding: 28px 16px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: all .25s;
    height: 100%;
}
.category-tile:hover {
    background: var(--fire);
    color: #fff;
    border-color: var(--fire);
}
.category-tile i { font-size: 2.2rem; color: var(--fire); transition: color .25s; }
.category-tile:hover i { color: #fff; }

/* Product cards */
.product-card {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.product-card .card-img-top {
    height: 220px;
    object-fit: contain;
    background: #f7f7f7;
    padding: 12px;
}
.product-card .price { color: var(--fire); font-weight: 600; }
.product-detail-img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 20px;
}

.cta-band {
    background: linear-gradient(135deg, var(--fire-dark), var(--fire));
    color: #fff;
    padding: 50px 0;
}

.stat-number { font-size: 2.4rem; font-weight: 700; color: var(--fire); }

/* Footer */
.site-footer {
    background: var(--ink);
    color: #aaa;
}
.site-footer a { color: #aaa; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 6px; }

/* Fixed call + WhatsApp buttons */
.contact-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    transition: transform .2s;
}
.contact-float-btn:hover { color: #fff; transform: scale(1.08); }
button.contact-float-btn { border: 0; padding: 0; cursor: pointer; }

.wa-group { position: relative; display: flex; }
.wa-menu {
    position: absolute;
    right: 70px;
    bottom: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    overflow: hidden;
}
.wa-menu[hidden] { display: none; }
.wa-menu-title {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    padding: 10px 16px;
}
.wa-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    border-top: 1px solid #eee;
}
.wa-menu a:hover { background: #f0fdf4; }
.wa-menu a i { color: #25d366; font-size: 1.3rem; }
.contact-float-btn span { display: none; }
.contact-float-btn.call { background: var(--fire); }
.contact-float-btn.whatsapp { background: #25d366; animation: pulse 2s infinite; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* On phones: full-width bar fixed to the bottom */
@media (max-width: 767px) {
    body { padding-bottom: 56px; }
    .contact-float {
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: row;
        gap: 0;
    }
    .contact-float-btn {
        flex: 1;
        width: auto;
        height: 56px;
        border-radius: 0;
        font-size: 1.1rem;
        gap: 8px;
        box-shadow: none;
        animation: none;
    }
    .contact-float-btn:hover { transform: none; }
    .wa-group { flex: 1; }
    .wa-group .contact-float-btn { width: 100%; }
    .wa-menu { right: 8px; bottom: 64px; }
    .contact-float-btn span { display: inline; font-weight: 600; }
}

.pagination .page-link { color: var(--fire); }
.pagination .active > .page-link { background: var(--fire); border-color: var(--fire); color: #fff; }
.form-control:focus, .form-select:focus {
    border-color: #e57373;
    box-shadow: 0 0 0 .2rem rgba(198,40,40,.15);
}
