.products-links {
    padding: 10px 0 10px 0;
    width: 70%;
    margin: auto;
    height: 140px;
    display: flex;
    align-items: first baseline;
    border-bottom: 1px solid black;
    overflow-x: auto;
    overflow-y: hidden;
}

.product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 0;
    border-radius: 100%;
}

.product-link-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.2);
}

.product-link-name {
    color: #121212;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    font-size: 14px;
}

/* -------------------------- MACHINES SHOWCASE -------------------------- */

.machines-showcase {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-top: 20px;
}

.machines-left-box,
.machines-left-slider {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machines-left-box:hover,
.machines-left-slider:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.machines-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 15px;
}

.machines-left-slider {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.3);
    position: relative;
}

.machines-left-slider-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.machines-left-slider-text {
    font-size: 32px;
    color: white;
    text-align: center;
    line-height: 1.2;
    position: absolute;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 10px rgba(0, 0, 0);
    width: 60%;
}

.machines-left-box {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    column-gap: 20px;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.3);
    border-radius: 15px;
}

.machines-left-box2 {
    height: 350px;
}

.machines-left-box-img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 0 0 15px;
}

.machines-left-box-img2 {
    height: 350px;
}

.machines-left-box-texts {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.machines-left-box-texts-header {
    font-size: 28px;
    color: #682f2f;
}

.machines-left-box-texts-desc {
    color: #6d6d6d;
    font-size: 17px;
}

.machines-left-box-texts-link {
    height: 45px;
    width: 150px;
    margin-top: 10px;
    border-radius: 10px;
    background-color: #682f2f;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.machines-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 15px;
}



.some-products {
    width: 70%;
    margin: auto;
}

.some-products-header {
    font-size: 30px;
    text-align: center;
    line-height: 1.2;
    color: #49292a;
}

.some-products-header-container {
    position: relative;
    width: 500px;
    margin: auto;
    margin: 60px auto 10px auto;
}

.some-products-header::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 150px;
    left: -100px;
    top: 50%;
    background-color: #682f2f;
}

.some-products-header::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 150px;
    right: -100px;
    top: 50%;
    background-color: #4d4d4d;
}




.some-products {
    position: relative;
    padding-bottom: 40px;
}

.product-boxes-container {
    display: flex;
    column-gap: 10px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 20px;
}

.product-box {
    border-radius: 10px;
    border: 2px solid #eeeeee;
    width: 254px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box-img {
    border-radius: 10px 10px 0 0;
}

.product-box-name {
    font-size: 18px;
    font-weight: 600;
    margin: 5px 5px 2px 5px;
    color: #121212;
}

.product-box-price {
    font-size: 18px;
    font-weight: 600;
    margin: 0 5px 2px 5px;
    color: #6e4042;
}

.product-box-link {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    width: 96%;
    margin: 5px auto 5px auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #663b3d;
    color: white;
    text-decoration: none;
    transition: 0.2s ease;
}

.product-box-link:hover {
    background-color: #49c061;
    color: white;
    font-size: 18px;
}

.product-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.some-products-AOT {
    position: absolute;
    right: 0;
    bottom: 0;
}

.some-products-AOT-link {
    font-size: 18px;
    color: #3b2021;
    margin-right: 10px;
}



/* -------------------------- CATEGORIES -------------------------- */

.categories {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 15px;
    margin-top: 20px;
    padding-bottom: 10px;
}

.categories-row {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 15px;
}

.categories-card-link {
    width: calc(100% / 3);
    height: 300px;
    text-decoration: none;
    transition: 0.15s ease;
}

.categories-card-link:hover {
    transform: scale(1.03);
}

.categories-card {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 0 5px rgb(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.some-products-header-container2 {
    border-bottom: 3px solid #e6e6e6;
    width: 80%;
}

.some-products-header2 {
    text-align: center;
    font-size: 35px;
    color: #682f2f;
}

.categories-card-dark {
    background-color: rgb(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 0;
    border-radius: 15px;
    transition: 0.4s ease;
}

.categories-card-text {
    z-index: 1;
    font-weight: 600;
    font-size: 28px;
    color: white;
    text-shadow: 0 0 10px black;
    transition: 0.3s ease;
    line-height: 1.2;
}

.categories-card-text2 {
    z-index: 1;
    font-weight: 500;
    font-size: 16px;
    color: #dadada;
    text-shadow: 0 0 5px black;
    transition: 0.3s ease;
    opacity: 0;
    position: relative;
    bottom: -20px;
}

.categories-card:hover .categories-card-text {
    font-size: 35px;
}

.categories-card:hover .categories-card-text2 {
    opacity: 1;
    bottom: 10px;
}

.categories-card:hover .categories-card-dark {
    background-color: rgb(0, 0, 0, 0.5);
}




/* -------------------------- BRANDS CAROUSEL -------------------------- */

.brands-carousel {
    width: 100%;
    padding: 20px 0 60px 0;
    background-color: #ffffff;
}

.brands-carousel-container {
    width: 70%;
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn-left {
    left: -20px;
}

.carousel-btn-right {
    right: -20px;
}

.carousel-btn i {
    color: #4d292b;
    font-size: 16px;
}

.brands-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.brands-carousel-track::-webkit-scrollbar {
    display: none;
}

.brand-logo-item {
    flex: 0 0 auto;
    min-width: 200px;
}

.brand-logo-panel {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 180px;
    max-height: 110px;
}

/* -------------------------- SERVICES SECTION -------------------------- */

.services-section {
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 80px;
}

.services-container {
    width: 70%;
    margin: auto;
    display: flex;
    gap: 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 15px;
    transition: transform 0.3s ease;
    width: 48%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.service-icon i {
    font-size: 36px;
    color: #121212;
    font-weight: 300;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #633537;
    line-height: 1.3;
    margin-bottom: 5px;
}

.service-description {
    font-size: 16px;
    color: #6d6d6d;
    line-height: 1.5;
    max-width: 280px;
}






/* -------------------------- SIMPLE ENTRANCE ANIMATIONS -------------------------- */

@keyframes fadeUpSoft {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSoft {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.machines-showcase,
.some-products,
.brands-carousel,
.services-section,
.footer-inner {
    opacity: 0;
    animation: fadeUpSoft 0.7s ease-out forwards;
}

.some-products {
    animation-delay: 0.1s;
}

.brands-carousel {
    animation-delay: 0.2s;
}

.services-section {
    animation-delay: 0.3s;
}

.footer-inner {
    animation: fadeInSoft 0.8s ease-out forwards;
    animation-delay: 0.35s;
}


@media (max-width: 1024px) {
    .services-container {
        width: 85%;
        row-gap: 25px;
    }
}

@media (max-width: 1024px) {
    .services-container {
        row-gap: 25px;
    }

    .service-item {
        width: 100%;
        padding: 20px 15px;
    }
}

/* -------------------------- RESPONSIVE QUERIES -------------------------- */

@media (max-width: 991px) {

    /* Machines Showcase */
    .machines-showcase {
        flex-direction: column;
        width: 95%;
        row-gap: 30px;
    }

    .machines-left,
    .machines-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        row-gap: 30px;
    }

    .machines-left-slider {
        height: 350px;
        /* Reduced height for mobile */
    }

    .machines-left-box {
        flex-direction: column;
        height: auto;
        padding-bottom: 20px;
    }

    .machines-left-box-image {
        width: 100%;
    }

    .machines-left-box-img {
        width: 100%;
        height: 250px;
        /* Adjusted height */
        border-radius: 15px 15px 0 0;
    }

    .machines-left-box-texts {
        text-align: center;
        padding: 15px;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .machines-left-box-texts-header {
        font-size: 24px;
    }

    .machines-left-box-texts-desc {
        text-align: center;
    }

    /* Adjustments for the slightly taller boxes (right side originally) */
    .machines-left-box2 {
        height: auto;
    }

    .machines-left-box-img2 {
        height: 300px;
        /* Custom height for these specific images */
    }

    /* Product Categories */
    .categories {
        padding: 0 10px;
        box-sizing: border-box;
    }

    .categories-row {
        flex-direction: column;
        width: 100%;
        row-gap: 20px;
    }

    .categories-card-link {
        width: 100% !important;
        /* Forces all cards, including jetpak/bykitchen to be full width */
        height: 300px;
        /* Maintain height */
        margin-bottom: 0;
    }

    /* Titles */
    .some-products-header-container2 {
        width: 95%;
    }

    .some-products-header2 {
        font-size: 28px;
    }

    /* Brands Carousel */
    .brands-carousel-container {
        width: 95%;
    }

    .brand-logo-panel {
        padding: 15px;
        height: 120px;
    }

    .carousel-btn-left {
        left: 0;
    }

    .carousel-btn-right {
        right: 0;
    }

    /* Services Section */
    .services-container {
        flex-direction: column;
        width: 90%;
        gap: 20px;
    }

    .service-item {
        width: 100%;
        padding: 30px 20px;
        box-sizing: border-box;
    }
}