/* GLOBAL */
body {
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif, sans-serif;
    background: #ffffff;
    color: #333;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    color: rgb(0, 0, 0);
    padding: 15px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-sizing: border-box;
}

.header a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    font-weight: 500;
}

.header a:hover {
    text-decoration: underline;
}

.logo-img {
    height: 40px;
}

.header::after {
    content: "";
    display: block;
    width: 100%;
    height: 10px; /* thickness of the bar */
    background: #d60000; /* red color */
    position: absolute;
    bottom: 0;
    left: 0;
}

/* SLIDES */
.slide {
    display: none;
    padding: 140px 20px 80px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    font-size: 25px;
}

/* CTA BUTTON */
.cta-btn {
    background: #d60000;
    color: white;
    padding: 12px 30px;
    display: inline-block;
    margin-top: 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
}

.cta-btn:hover {
    background: #b30000;
}

/* Hide all sub-slides initially */
.product-subslide {
    display: none;
    margin-top: 20px;
}

.back-btn {
    background: #d60000;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
}

.sub-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-product {
    padding: 10px;
    border: 1px solid #d60000;
    border-radius: 6px;
}

/*specifications tables*/
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    margin-bottom: 20px; /* spacing below the table */
}

.spec-table th, .spec-table td {
    border: 1px solid #d60000;
    padding: 6px 8px;
    text-align: center;
}

.spec-table th {
    background-color: #d60000;
    color: white;
}

.spec-table td {
    background-color: #fff0f0;
}


/* PRODUCT DETAILS */
.product-type {
    display: none;
    text-align: center;
    margin-top: 20px;
}

/* FOOTER */
.footer {
    background: #d60000;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .header nav {
        width: 100%;
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
    }
    .header a {
        margin: 5px 15px 5px 0;
    }
    .product-nav {
        flex-direction: column;
    }
}
