@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* ── Wrapper ── */
.usd-deals-wrapper {
    padding: 2rem 0 3rem;
    font-family: 'Open Sans', sans-serif;
}

/* ── Grid ── */
.usd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 640px) {
    .usd-grid { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 900px) {
    .usd-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Base Card ── */
.usd-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 1.4rem 1.3rem 1.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, transform 0.15s;
    animation: usd-fadein 0.4s ease both;
}

.usd-card:hover {
    border-color: rgba(224, 90, 26, 0.35);
    transform: translateY(-2px);
}

/* staggered fade-in */
.usd-card:nth-child(1) { animation-delay: 0.05s; }
.usd-card:nth-child(2) { animation-delay: 0.10s; }
.usd-card:nth-child(3) { animation-delay: 0.15s; }
.usd-card:nth-child(4) { animation-delay: 0.20s; }
.usd-card:nth-child(5) { animation-delay: 0.25s; }
.usd-card:nth-child(6) { animation-delay: 0.30s; }
.usd-card:nth-child(7) { animation-delay: 0.35s; }

@keyframes usd-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Today card ── */
.usd-card.usd-today {
    background: #1e1208;
    border: 2px solid #e05a1a;
}

.usd-card.usd-today:hover {
    border-color: #e05a1a;
    transform: translateY(-2px);
}

/* ── Today badge ── */
.usd-today-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #e05a1a;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

/* ── Card inner elements ── */
.usd-card-day {
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    color: #777;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.usd-card-price {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #e05a1a;
    margin-bottom: 0.45rem;
    line-height: 1;
}

.usd-card-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
    font-family: 'Open Sans', sans-serif;
}

.usd-card-subtitle {
    font-size: 0.77rem;
    color: #e05a1a;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 0.01em;
}

.usd-card-desc {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.1rem;
}

/* ── Order Now button ── */
.usd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: transparent;
    border: 1.5px solid #e05a1a;
    border-radius: 6px;
    color: #e05a1a;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, opacity 0.15s;
    letter-spacing: 0.04em;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.usd-btn:hover {
    background: #e05a1a;
    color: #fff;
    text-decoration: none;
}

.usd-btn:disabled,
.usd-btn.usd-loading {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.usd-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ── Footer notice ── */
.usd-notice {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #555;
    font-style: italic;
    font-family: 'Open Sans', sans-serif;
}
