:root {
    --primary-blue: #0267B1;
    --primary-white: #fff9f9;
    --primary-black: #232321;
    --accent-grey: #e2e2e2;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--primary-black);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Domine', serif;
}

.content-container {
    padding: 0 80px;
    max-width: 1920px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background-color: #FFFFFF;
    position: relative;
    max-width: 1920px;
    height: auto;
    min-height: min(977px, 55vw);
    margin: 0 auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-card {
    background-color: var(--primary-blue);
    border-radius: 5px;
    padding: 40px;
    position: absolute;
    bottom: 130px;
    left: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card h1 {
    color: var(--primary-white);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 0px;
}

.hero-card p {
    color: var(--primary-white);
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Button row */
.hero-card-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-brochure {
    background-color: var(--primary-white) !important;
    color: var(--primary-blue) !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 12px;
    width: 168px;
    height: 40px;
    padding: 7px 26px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-inquiry {
    background-color: transparent;
    color: var(--primary-white) !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 12px;
    width: 168px;
    height: 40px;
    padding: 7px 26px;
    border-radius: 5px;
    border: 1.5px solid var(--primary-white);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-inquiry:hover {
    background-color: rgba(255,255,255,0.15);
}

.hero-thumbnails {
    position: absolute;
    bottom: 80px;
    right: 80px;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.hero-thumbnail {
    width: 214px;
    height: 214px;
    object-fit: cover;
    border-radius: 8px;
}

/* Product Description */
.product-section {
    padding: 20px 0;
}

.product-title {
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--primary-black);
    margin-bottom: 42px;
}

.product-description {
    margin-bottom: 80px;
}

.product-description ul {
    list-style: none;
    padding: 0;
}

.product-description li {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: var(--primary-black);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    margin-left: 0;
}

.product-description li:before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-size: 24px;
}

.see-all-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    width: 168px;
    height: 40px;
    padding: 7px 26px;
    border-radius: 5px;
    border: none;
}

/* More Machines Section */
.more-machines {
    padding: 80px 0;
    background-color: var(--primary-white);
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 56px;
    color: var(--primary-black);
    margin: 0;
}

.product-card-row {
    display: flex;
    justify-content: flex-start;
    gap: 21px;
}

.product-card {
    width: 424px;
    height: 466px;
    background-color: var(--accent-grey);
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-card .title-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 8px 8px;
}

.product-card .title-strip h3 {
    color: var(--primary-white);
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
}

/* Modal — let Bootstrap handle positioning, just fix z-index */
.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1040 !important;
}

/* Contain all TinyMCE-generated content in specifications */
.product-section .row img {
    float: none !important;
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.product-section .row table {
    clear: both;
    width: 100%;
}

/* ============================
   MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 991.98px) {

    body,
    .hero-section,
    .more-machines,
    .content-container,
    .product-main-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto !important;
        min-height: unset;
        padding-top: 2rem;
        padding-bottom: 0.5rem;
        background: none !important;
        background-image: none !important;
    }

    .mobile-hero-image {
        display: block !important;
        padding-top: 20px;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .mobile-hero-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .hero-section img.main-hero-image {
        display: none !important;
    }

    .hero-card {
        position: static !important;
        width: 100%;
        height: auto;
        padding: 1.5rem;
        border-radius: 8px;
        background: var(--primary-blue);
        color: #fff;
        align-self: center;
    }

    .hero-card h1 {
        font-size: 26px;
        margin-bottom: 0.75rem;
    }

    .hero-card p {
        font-size: 14px;
    }

    .hero-card-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-brochure,
    .btn-inquiry {
        width: 100%;
        font-size: 13px;
    }

    .hero-thumbnails {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-bottom: 1.5rem;
    }

    .hero-thumbnail {
        width: 130px;
        height: 130px;
        border-radius: 8px;
        overflow: hidden;
    }

    .more-machines {
        padding: 40px 16px;
    }

    .section-title-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .section-title {
        font-size: 32px;
    }

    .product-card-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .product-card {
        width: calc(100% - 20px) !important;
        height: auto;
        margin: 0 auto 20px auto !important;
    }

    .product-card img {
        height: auto;
    }

    .product-card .title-strip h3 {
        font-size: 18px;
    }
}

@media (min-width: 992px) {
    .mobile-hero-image {
        display: none !important;
    }
}