.feature-background {
    background-color: #f4f7f6;
    width: 100%;
    /* vertical spacing for the section */
}

.feature-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background-color: #f4f7f6;
    /* remove inner grey */
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

/* Text */
.feature-title {
    font-family: 'Abel', sans-serif;
    font-size: 46px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.feature-title span {
    color: #9c6b3d;
}

.feature-text p {
    font-family: 'Abel', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    max-width: 420px;
    padding-bottom: 25px;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* Order CTA specific for hero section */
.hero-content .home-order-cta {
    margin: 0;
}


/* Small product icons */
.feature-icon {
    width: 50px;
    margin-left: 15px;
    vertical-align: middle;
}

/* Images */
.feature-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 40px 16px 60px;
        text-align: center;
    }

    .feature-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        margin-bottom: 60px;
        width: 100%;
    }

    /* Ensure text content is centered */
    .feature-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .feature-title {
        font-size: 36px;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .feature-text p {
        font-size: 16px;
        line-height: 1.6;
        max-width: 100%;
        text-align: center;
        padding: 0 10px 20px;
        margin: 0 auto;
    }

    /* Center the images */
    .feature-image {
        width: 100%;
        display: flex;
        justify-content: center;
        order: 2;
        /* Makes image appear after text on mobile */
    }

    .feature-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Center buttons */
    .feature-text .order-online-btn {
        margin: 0 auto;
        display: inline-block;
        width: auto;
        min-width: 180px;
    }

    /* Optional: Add visual separation between rows */
    .feature-row:not(:last-child) {
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(156, 107, 61, 0.2);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .feature-section {
        padding: 30px 12px 50px;
    }

    .feature-title {
        font-size: 32px;
    }

    .feature-text p {
        font-size: 15px;
        line-height: 1.5;
        padding: 0 5px 15px;
    }

    .feature-row {
        margin-bottom: 50px;
        gap: 25px;
    }

    .feature-image img {
        border-radius: 12px;
    }

    .feature-text .order-online-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .feature-title {
        font-size: 28px;
    }

    .feature-text p {
        font-size: 14px;
    }
}

/* Optional: Add a nice hover effect for images on mobile */
@media (max-width: 768px) {
    .feature-image {
        transition: transform 0.3s ease;
    }

    .feature-image:hover {
        transform: scale(1.02);
    }
}

/* Ensure buttons look good on mobile */
@media (max-width: 768px) {
    .order-online-btn {
        padding: 14px 28px;
        font-size: 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .order-online-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Add some spacing between sections */
@media (max-width: 768px) {
    .feature-background+.subhero-section {
        margin-top: 40px;
    }
}