/* =========================
   OFFERS – Modern cards (CRV theme)
   ========================= */

:root{
    --crv-accent: #01cefd;      /* cyan din brand */
    --crv-dark: #0b5c7a;        /* albastru închis (aprox) */
    --crv-text: #111827;        /* text aproape negru */
    --crv-muted: #6b7280;       /* text secundar */
    --crv-card: #ffffff;
    --crv-button: #df5500;
    --crv-border: rgba(17, 24, 39, 0.08);
}

/* container grid */
.offers-grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    margin-top: 18px;
}

/* 1 col pe mobil, 2 pe desktop */
.offer-card-wrap{ grid-column: span 12; }
@media (min-width: 768px){
    .offer-card-wrap{ grid-column: span 6; }
}

/* CARD */
.offer-card{
    background: var(--crv-card);
    border: 1px solid var(--crv-border);
    border-radius: 22px;
    padding: 22px 22px 18px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* top meta line (optional) */
.offer-kicker{
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--crv-muted);
    margin-bottom: 10px;
}

.active-offer{
    color: green !important;
    font-weight: 600;
}
.inactive-offer{
    color: red !important;
    font-weight: 600;
}

/* title like in screenshot: bold + accent */
.offer-title{
    z-index:9999;
    margin: 0;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.05;
    color: var(--crv-text);
}

.offer-title .accent{
    z-index:9999;
    color: var(--crv-accent);
}

/* price pill */
.offer-price{
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* padding: 8px 12px; */
    /* border-radius: 999px; */
    /* background: rgba(1,206,253,.10); */
    color: #075a78;
    font-weight: 700;
    font-size: 13px;
    z-index:9999;
}

/* description */
.offer-desc{
    margin-top: 14px;
    color: var(--crv-muted);
    line-height: 1.6;
    font-size: 15px;
    min-height: 52px; /* ține cardurile mai uniforme */
}

/* actions */
.offer-actions{
    margin-top: 18px;
    display:flex;
    gap: 12px;
    align-items:center;
}

/* button style (modern) */
.offer-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    /* transition: transform .15s ease, filter .15s ease; */
    border: 1px solid #df5500;
}

.offer-btn-primary{
    background: var(--crv-button);
    color: var(--crv-card);
}

.offer-btn-primary:hover{
    /* filter: brightness(0.97);
    transform: translateY(-1px); */
}

.offer-btn-ghost{
    background: transparent;
    color: var(--crv-text);
    /* border: 1px solid rgba(11,92,122,.25); */
    transition: .3s ease-in-out !important;
}

.offer-btn-ghost:hover{
    /* transform: translateY(-1px); */
    background-color: #df5500;
    color:var(--crv-card);
    transition: .3s ease-in-out !important;
    border: 1px solid #df5500;
}

/* small responsive tune */
@media (max-width: 480px){
    .offer-title{ font-size: 22px; }
    .offer-card{ padding: 18px 18px 16px; border-radius: 18px; }
}

.offers-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

.offer-card{
    border-radius: 22px;
    padding: 22px 22px 20px;
    box-shadow: 0 14px 40px rgba(15,23,42,.10);
    border: 1px solid rgba(15,23,42,.08);
    background: linear-gradient(135deg, #e8f8fd 0%, #ffffff 55%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.offer-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(15,23,42,.14);
}

.offer-card-inactiv{
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 55%);
    opacity: .85;
}

.offer-kicker{
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 800;
    color: #64748b;
    display: flex;
    gap: 10px;
    align-items: center;
}

.active-offer{
    color: #0ea5e9 !important;
    font-weight: 900;
}

.inactive-offer{
    color: #f97316 !important;
    font-weight: 900;
}

.offer-title{
    font-size: 22px;
    font-weight: 900;
    margin: 8px 0 6px;
    color: #0f172a;
}

.offer-desc{
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.offer-actions{
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.offer-btn{
    padding: 9px 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 13px;
    text-decoration: none;
    transition: all .15s ease;
}

.offer-btn-primary{
    background: #ea580c;
    color: #fff;
}

.offer-btn-primary:hover{
    filter: brightness(.95);
}

.offer-btn-ghost{
    border: 1px solid #ea580c;
    color: #ea580c;
    background: transparent;
}

.offer-btn-ghost:hover{
    background: rgba(234,88,12);
}

@media (max-width: 575px){
    .custom-width-575 {
        width:90% !important;
    }
}