/* ==============================================
   DVSpecials - Embeddable Incentive Widget Styles
   ============================================== */

.dvs-container {
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
        sans-serif;
    color: #1a1a2e;
    -webkit-font-smoothing: antialiased;
}

/* Grid Layout */
.dvs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
}

/* Card */
.dvs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
    width: 100%;
    max-width: 400px;
}

.dvs-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.dvs-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ffffff;
}

.dvs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Card Content */
.dvs-card-content {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title */
.dvs-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a1a2e;
    line-height: 1.3;
}

/* Divider */
.dvs-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0 0 16px 0;
}

/* Offer Details */
.dvs-offer-details {
    margin-bottom: 16px;
    min-height: 70px;
}

.dvs-offer-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 4px;
}

.dvs-offer-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.dvs-offer-secondary {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
}

.dvs-asterisk {
    font-size: 0.7em;
    vertical-align: super;
}

/* Expiration */
.dvs-expiration {
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
}

/* Disclaimer */
.dvs-disclaimer-toggle {
    margin-bottom: 8px;
}

.dvs-disclaimer-link {
    font-size: 14px;
    color: #1a1a2e;
    text-decoration: underline;
    cursor: pointer;
    font-style: italic;
}

.dvs-disclaimer-link:hover {
    color: #3b3bcc;
}

.dvs-disclaimer-content {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
}

.dvs-disclaimer-content p {
    margin: 0 0 6px 0;
}

/* Action Buttons */
.dvs-card-actions {
    padding: 0 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.dvs-btn {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
    cursor: pointer;
    border: none;
}

.dvs-btn:hover {
    transform: translateY(-1px);
}

.dvs-btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
    text-decoration: none !important;
}

.dvs-btn-primary:hover {
    background-color: var(--primaryhover);
    color: #ffffff;
}

.dvs-btn-secondary {
    background-color: var(--secondary);
    color: #ffffff !important;
    text-decoration: none !important;
}

.dvs-btn-secondary:hover {
    background-color: var(--secondaryhover);
    color: #ffffff;
}

/* Empty State */
.dvs-empty {
    text-align: center;
    padding: 48px 24px;
    font-size: 16px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .dvs-grid {
        gap: 16px;
    }

    .dvs-card {
        max-width: 100%;
    }

    .dvs-card-title {
        font-size: 20px;
    }

    .dvs-offer-amount {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .dvs-card {
        max-width: calc(33.333% - 16px);
    }
}
