/* =========================================
   DAILYDRAPE STORE BENEFITS
========================================= */

.dd-store-benefits {
    width: 100%;
    padding: 14px 0;
    background: #fff;
    border-top: 1px solid #f2edf0;
    border-bottom: 1px solid #f2edf0;
}

.dd-store-benefits-inner {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 190px), 1fr)
    );
    width: 100%;
}

.dd-store-benefits-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 8px 18px;
}

.dd-store-benefits-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12%;
    right: 0;
    width: 1px;
    height: 76%;
    background: #dedde1;
}

.dd-store-benefits-icon {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.dd-store-benefits-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dd-store-benefits-content {
    min-width: 0;
}

.dd-store-benefits-title {
    margin: 0 0 3px;
    color: #20243a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.dd-store-benefits-description {
    margin: 0;
    color: #656574;
    font-size: 12px;
    line-height: 1.35;
}

/* Tablet */
@media (max-width: 1024px) {
    .dd-store-benefits-item {
        padding: 10px 14px;
    }

    .dd-store-benefits-item::after {
        display: none;
    }
}

/* Mobile: show only the first three in one row */
@media (max-width: 600px) {
    .dd-store-benefits {
        padding: 10px 0;
    }

    .dd-store-benefits-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dd-store-benefits-item {
        display: none;
    }

    .dd-store-benefits-item:nth-child(-n + 3) {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 5px;
        padding: 6px 3px;
        text-align: center;
    }

    .dd-store-benefits-icon {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
    }

    .dd-store-benefits-content {
        width: 100%;
    }

    .dd-store-benefits-title {
        font-size: 11px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .dd-store-benefits-description {
        font-size: 10px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .dd-store-benefits-item::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dd-store-benefits * {
        scroll-behavior: auto;
    }
}
