.category-row-grid{
    display:flex;
    flex-wrap:wrap;
    margin:0 -6px;
    list-style:none;
    background:white;
    padding:6px 6px 10px 6px;
    border-radius:7px 7px 0 0;
}

.category-row-grid .category-tile{
    flex:0 0 20%;
    padding:6px;
    box-sizing:border-box;
    list-style:none;
}

.category-row-grid .category-tile a{
    display:flex;
    flex-direction:column;
    height:100%;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    text-decoration:none;
    color:#333;
    overflow:hidden;
    position:relative;
    transition:all .18s ease;
}

.category-row-grid .tile-image{
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
    background:#fff;
    overflow:hidden;
    border-bottom:1px solid #ececec;
}

.category-row-grid .tile-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

/* PIN IMAGE TILES */
.category-row-grid .category-tile.is-pin .tile-image{
    padding:0;
    height:200px;
}

.category-row-grid .category-tile.is-pin .tile-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* MUTED TILES */
.category-row-grid .category-tile.is-muted .tile-image{
    background:#ececec;
}

.category-row-grid .category-tile.is-muted .tile-image img{
    mix-blend-mode:multiply;
}

/* NEW RIBBON */
.category-row-grid .cat-ribbon{
    position:absolute;
    top:11px;
    right:-33px;
    z-index:5;
    width:104px;
    text-align:center;
    background:#eb0100;
    color:#fff;
    font-size:10px;
    font-weight:700;
    line-height:1;
    padding:10px 6px 8px 11px;
    text-transform:uppercase;
    letter-spacing:.5px;
    transform:rotate(45deg);
    box-shadow:0 1px 4px rgba(0,0,0,.18);
    pointer-events:none;
}

.category-row-grid .tile-title{
    text-align:center;
    padding:8px 6px 12px;
    font-weight:600;
    font-size:15px;
    color:#333;
    line-height:1.25;
}

.category-row-grid .category-tile a:hover .tile-title{
    color:#000;
}

.category-row-grid .category-tile a:hover{
    transform:translateY(-1px);
    border-color:#b8c5d6;
    box-shadow:0 10px 22px rgba(0,0,0,.12);
    text-decoration:none;
}

/* ------------------------------------------------------------
   DESKTOP GRID WITH BRAND SPOTLIGHT
------------------------------------------------------------ */

.category-row-grid.has-spotlight{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:12px;
    margin:0;
    padding:6px 6px 10px 6px;
}

.category-row-grid.has-spotlight .category-tile{
    padding:0;
    min-width:0;
}

.category-row-grid.has-spotlight .brand-spotlight{
    grid-column:5;
    grid-row:1 / span 2;
    list-style:none;
    min-width:0;
}

.category-row-grid .spotlight-card{
    position:relative;
    display:flex;
    flex-direction:column;
    height:100%;
    min-height:452px;
    border:1px solid #ddd;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 1px 2px rgba(0,0,0,.04);
}

.category-row-grid .spotlight-media{
    position:relative;
    overflow:hidden;
    background:#f7f7f7;
    border-bottom:1px solid #ececec;
    max-height:261px;
}

.category-row-grid .spotlight-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.category-row-grid .spotlight-label{
    position:absolute;
    top:12px;
    left:12px;
    z-index:2;
    background:rgba(0,0,0,.74);
    color:#fff;
    font-size:10px;
    font-weight:700;
    line-height:1;
    letter-spacing:.8px;
    text-transform:uppercase;
    padding:8px 10px;
    border-radius:999px;
}

.category-row-grid .spotlight-body{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:14px 14px 16px;
    flex:1 1 auto;
}

.category-row-grid .spotlight-logo{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    min-height:34px;
}

.category-row-grid .spotlight-logo img{
    display:block;
    max-width:180px;
    max-height:34px;
    width:auto;
    height:auto;
}

.category-row-grid .spotlight-brand{
    font-size:22px;
    line-height:1.08;
    font-weight:700;
    color:#111;
    margin:0;
}

.category-row-grid .spotlight-text{
    color:#444;
    font-size:12px;
    line-height:1.45;
    overflow:hidden;

    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
}

.category-row-grid .spotlight-text p{
    margin:0 0 8px;
}

.category-row-grid .spotlight-text p:last-child{
    margin-bottom:0;
}

.category-row-grid .spotlight-cta{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 14px;
    border-radius:7px;
    background:#111;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
}

.category-row-grid .spotlight-cta:hover{
    color:#fff;
    text-decoration:none;
    background:#000;
}

@media (max-width:767px){

    .category-row-grid{
        margin:0 -6px;
    }

    .category-row-grid .category-tile{
        flex:0 0 50%;
    }

    .category-row-grid .tile-image{
        height:140px;
    }

    .category-row-grid .category-tile.is-pin .tile-image{
        height:160px;
    }

    .category-row-grid .tile-title{
        font-size:13px;
    }

    .category-row-grid .cat-ribbon{
        top:10px;
        right:-36px;
        width:122px;
        font-size:9px;
        padding:6px 0 5px;
    }

    .category-row-grid.has-spotlight{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:12px;
    }

    .category-row-grid.has-spotlight .brand-spotlight{
        grid-column:1 / -1;
        grid-row:auto;
    }

    .category-row-grid .spotlight-card{
        min-height:0;
    }

    .category-row-grid .spotlight-media{
        height:180px;
    }

    .category-row-grid .spotlight-brand{
        font-size:18px;
    }

    .category-row-grid .spotlight-text{
        font-size:12px;
    }

    .category-row-grid .spotlight-logo img{
        max-width:150px;
        max-height:28px;
    }
}

.eflc-cat-boutique-wrap{
    margin:8px 5px 22px;
    padding:20px;
    background:#fff;
    border:1px solid #e7e7e7;
    border-radius:10px;
}
.eflc-cat-boutique-head{
    margin:0 0 16px;
}
.eflc-cat-boutique-kicker{
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7a7a7a;
    margin:0 0 6px;
}
.eflc-cat-boutique-title{
    font-size:28px;
    line-height:1.1;
    font-weight:800;
    color:#111;
    margin:0 0 8px;
}
.eflc-cat-boutique-subhead{
    font-size:15px;
    line-height:1.45;
    color:#444;
    max-width:900px;
}
.eflc-featured-offers-grid-cat{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.eflc-featured-offers-grid-cat .eflc-offer{
    display:block;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border:1px solid #e7e7e7;
    border-radius:10px;
    overflow:hidden;
    transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
}
.eflc-featured-offers-grid-cat .eflc-offer:hover{
    border-color:#d7d7d7;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transform:translateY(-1px);
}
.eflc-offer-media{
    position:relative;
    background:#fafafa;
}
.eflc-offer-media img{
    display:block;
    width:100%;
    height:auto;
}
.eflc-offer-badge{
    position:absolute;
    top:12px;
    left:12px;
    display:inline-block;
    padding:6px 10px;
    background:#111;
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
    border-radius:999px;
}
.eflc-offer-body{
    padding:16px;
}
.eflc-offer-eyebrow{
    font-size:12px;
    line-height:1.3;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:#7a7a7a;
    margin:0 0 8px;
}
.eflc-offer-name{
    font-size:18px;
    line-height:1.3;
    font-weight:800;
    color:#111;
    margin:0 0 10px;
}
.eflc-offer-condition{
    font-size:12px;
    line-height:1.35;
    font-weight:700;
    color:#5b6776;
    margin:0 0 10px;
    text-transform:uppercase;
}
.eflc-offer-price{
    font-size:22px;
    line-height:1.1;
    font-weight:800;
    color:#111;
    margin:0 0 8px;
}
.eflc-offer-save{
    font-size:13px;
    line-height:1.3;
    font-weight:800;
    color:#c62828;
    margin:0 0 8px;
    text-transform:uppercase;
}
.eflc-offer-urgency{
    font-size:13px;
    line-height:1.35;
    font-weight:700;
    color:#2e7d32;
    margin:0 0 14px;
}
.eflc-offer-cta{
    display:inline-block;
    padding:11px 14px;
    background:#111;
    color:#fff;
    font-size:13px;
    line-height:1;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
    border-radius:6px;
}
@media (max-width: 767px){
    .eflc-cat-boutique-wrap{
        padding:14px;
        margin:0 0 16px;
    }
    .eflc-cat-boutique-title{
        font-size:24px;
    }
    .eflc-cat-boutique-subhead{
        font-size:14px;
    }
    .eflc-featured-offers-grid-cat{
        grid-template-columns:1fr;
        gap:14px;
    }
    .eflc-offer-body{
        padding:14px;
    }
    .eflc-offer-name{
        font-size:16px;
    }
    .eflc-offer-price{
        font-size:20px;
    }
}
