.aafe-product-features-wrapper h1,
.aafe-product-features-wrapper h2,
.aafe-product-features-wrapper h3,
.aafe-product-features-wrapper h4,
.aafe-product-features-wrapper h5,
.aafe-product-features-wrapper h6 {
    font-family: 'Inter Tight', sans-serif;
}
.aafe-product-features-wrapper p,
.aafe-product-features-wrapper span,
.aafe-product-features-wrapper li,
.aafe-product-features-wrapper a,
.aafe-product-features-wrapper .aafe-product-features__desc {
    font-family: 'Inter', sans-serif;
}

.aafe-product-features__item {
    display: flex;
    flex-direction: column;
    transition: all var(--aafe-transition, 300ms) cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    color: inherit;
    will-change: transform;
}
a.aafe-product-features__item {
    cursor: pointer;
}

.aafe-product-features-wrapper {
    width: 100%;
}

.aafe-product-features__header {
    text-align: center;
    margin-bottom: 60px;
}
.aafe-product-features__heading {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    color: #333;
    line-height: 1.3;
}
.aafe-product-features__header-desc {
    margin-top: 15px;
    font-size: 16px;
    color: #666;
}

/* --- Desktop / Base Grid Setup --- */
.aafe-product-features__grid {
    display: grid;
    gap: var(--aafe-gap, 40px);
    align-items: center;
}

.aafe-product-features__column {
    display: flex;
    flex-direction: column;
}

/* 3 Columns Layout (Default) */
.aafe-product-features-wrapper.aafe-layout-3col .aafe-product-features__grid,
.aafe-product-features-wrapper:not([class*="aafe-layout-"]) .aafe-product-features__grid {
    grid-template-columns: 1fr auto 1fr;
}
.aafe-product-features-wrapper.aafe-layout-3col .aafe-product-features__column--center,
.aafe-product-features-wrapper:not([class*="aafe-layout-"]) .aafe-product-features__column--center {
    grid-column: auto;
    order: 0;
}

/* 2 Columns Layout */
.aafe-product-features-wrapper.aafe-layout-2col .aafe-product-features__grid {
    grid-template-columns: 1fr 1fr;
}
.aafe-product-features-wrapper.aafe-layout-2col .aafe-product-features__column--center {
    grid-column: 1 / -1;
    order: -1;
}

/* 1 Column Layout */
.aafe-product-features-wrapper.aafe-layout-1col .aafe-product-features__grid {
    grid-template-columns: 1fr;
}
.aafe-product-features-wrapper.aafe-layout-1col .aafe-product-features__column--center {
    grid-column: 1 / -1;
    order: -1;
}

.aafe-product-features__item--left {
    align-items: flex-end;
    text-align: right;
}

.aafe-product-features__item--right {
    align-items: flex-start;
    text-align: left;
}

.aafe-product-features__column--center {
    align-items: center;
    justify-content: center;
}

.aafe-product-features__center-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.aafe-product-features__icon-wrap {
    margin-bottom: 15px;
    color: #000;
    display: inline-flex;
    transition: all var(--aafe-transition, 300ms) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.aafe-product-features__icon-wrap svg,
.aafe-product-features__icon-wrap path {
    transition: all var(--aafe-transition, 300ms) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.aafe-product-features__icon-wrap img {
    width: 50px;
    height: auto;
    object-fit: contain;
}
.aafe-product-features__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 50px;
}
.aafe-product-features__icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.aafe-product-features__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--aafe-transition, 300ms) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.aafe-product-features__desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    transition: all var(--aafe-transition, 300ms) cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover Effects */
.aafe-product-features__item[data-hover="lift"]:hover {
    transform: translateY(-6px);
}
.aafe-product-features__item[data-hover="scale"]:hover {
    transform: scale(var(--aafe-hover-scale, 1.03));
}
.aafe-product-features__item[data-hover="glow"]:hover {
    text-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.aafe-product-features__item[data-hover="border-pop"]:hover {
    transform: scale(var(--aafe-hover-scale, 1.02));
}

/* --- Tablet Layout Overrides --- */
@media (max-width: 1024px) {
    .aafe-product-features-wrapper.aafe-layout-tablet-3col .aafe-product-features__grid {
        grid-template-columns: 1fr auto 1fr;
    }
    .aafe-product-features-wrapper.aafe-layout-tablet-3col .aafe-product-features__column--center {
        grid-column: auto;
        order: 0;
    }

    .aafe-product-features-wrapper.aafe-layout-tablet-2col .aafe-product-features__grid,
    .aafe-product-features-wrapper:not([class*="aafe-layout-tablet-"]) .aafe-product-features__grid {
        grid-template-columns: 1fr 1fr;
    }
    .aafe-product-features-wrapper.aafe-layout-tablet-2col .aafe-product-features__column--center,
    .aafe-product-features-wrapper:not([class*="aafe-layout-tablet-"]) .aafe-product-features__column--center {
        grid-column: 1 / -1;
        order: -1;
    }

    .aafe-product-features-wrapper.aafe-layout-tablet-1col .aafe-product-features__grid {
        grid-template-columns: 1fr;
    }
    .aafe-product-features-wrapper.aafe-layout-tablet-1col .aafe-product-features__column--center {
        grid-column: 1 / -1;
        order: -1;
    }

    /* Fallback Alignment for responsive stacking */
    .aafe-product-features__item--left,
    .aafe-product-features__item--right {
        align-items: center;
        text-align: center;
    }
    .aafe-product-features__heading {
        font-size: 26px;
    }
}

/* --- Mobile Layout Overrides --- */
@media (max-width: 767px) {
    .aafe-product-features-wrapper.aafe-layout-mobile-3col .aafe-product-features__grid {
        grid-template-columns: 1fr auto 1fr;
    }
    .aafe-product-features-wrapper.aafe-layout-mobile-3col .aafe-product-features__column--center {
        grid-column: auto;
        order: 0;
    }

    .aafe-product-features-wrapper.aafe-layout-mobile-2col .aafe-product-features__grid {
        grid-template-columns: 1fr 1fr;
    }
    .aafe-product-features-wrapper.aafe-layout-mobile-2col .aafe-product-features__column--center {
        grid-column: 1 / -1;
        order: -1;
    }

    .aafe-product-features-wrapper.aafe-layout-mobile-1col .aafe-product-features__grid,
    .aafe-product-features-wrapper:not([class*="aafe-layout-mobile-"]) .aafe-product-features__grid {
        grid-template-columns: 1fr;
    }
    .aafe-product-features-wrapper.aafe-layout-mobile-1col .aafe-product-features__column--center,
    .aafe-product-features-wrapper:not([class*="aafe-layout-mobile-"]) .aafe-product-features__column--center {
        grid-column: 1 / -1;
        order: -1;
    }
}
