.offer-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
}

.offer-time-box {
    background: #111;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    min-width: 34px;
    text-align: center;
}

.offer-time-box small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    opacity: 0.8;
}

.offer-separator {
    font-weight: bold;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(var(--offer-cols), 1fr);
    gap: var(--offer-gap);
}

/* Tablet */
@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .offer-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.offer-badge {
    display: inline-block;
    background: #e11d48;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.offer-badge-percent {
    background: #16a34a;
}

.offer-badge-flat {
    background: #2563eb;
}

.offer-badge-text {
    background: #9333ea;
}
.offer-product-card {
        background: #ececec;
    border: 1px solid #d4d4d4;
    overflow: hidden;
    transition: box-shadow .2s ease;
    box-sizing: border-box;
    /* border: var(--pbsize) solid var(--pborder); */
    padding: 10px;
    scroll-snap-align: start;
    min-width: 250px !important;
    margin-bottom: 15px;
    border-radius: 4px !important;
}

.offer-product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Image */
.offer-image-wrap {
    position: relative;
}

.offer-image-wrap img {
    width: 100%;
    display: block;
}

/* Badge overlay */
.offer-image-wrap .offer-badge {
      position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    /* width: 20px; */
    /* height: auto; */
    font-size: 14px;
    font-weight: 200;
    background-color: #424242;
}

/* Content */
.offer-content {
    padding: 12px;
}

.offer-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
    text-decoration: none;
}

.offer-price {
    font-size: 14px;
    margin-bottom: 8px;
}

.offer-content .button {
    width: 100%;
    margin-bottom: 8px;
}

/* Timer */
.offer-content .offer-timer {
    justify-content: center;
    margin-top: 10px;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart

{
        border-radius: 4px;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    display: flex;
}