/* 🎟️ Coupons Showcase Styles */

.coupons-showcase-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    margin-top: 3rem;
}

.coupons-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.coupons-section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #92400E;
    margin-bottom: 1rem;
}

.coupons-section-header p {
    font-size: 1.125rem;
    color: #78350F;
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Coupon Card */
.coupon-card {
    background: white;
    border: 3px dashed #F59E0B;
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
}

.coupon-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.25);
    border-color: #D97706;
}

/* Coupon Header */
.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.coupon-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 800;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.coupon-type-badge {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 2px solid #F59E0B;
    color: #92400E;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Coupon Title */
.coupon-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

/* Coupon Description */
.coupon-description {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Discount Display */
.discount-display {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    border: 2px solid #DC2626;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.discount-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #991B1B;
    line-height: 1;
}

.discount-label {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.25rem;
}

/* Coupon Code Section */
.coupon-code-section {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 2px dashed #9CA3AF;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.coupon-code-label {
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.coupon-code-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.coupon-code-text {
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: 2px;
}

.copy-code-btn {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.copy-code-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.copy-code-btn.copied {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Coupon Details */
.coupon-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.coupon-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4B5563;
}

.coupon-detail-item svg {
    width: 1rem;
    height: 1rem;
    color: #10B981;
}

/* Coupon Footer */
.coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px dashed #E5E7EB;
}

.coupon-validity {
    font-size: 0.875rem;
    color: #6B7280;
}

.coupon-validity strong {
    color: #DC2626;
    font-weight: 700;
}

.use-coupon-btn {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.use-coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* Expired Coupon Overlay */
.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
}

.expired-label {
    background: #DC2626;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    transform: rotate(-15deg);
}

/* Active/Limited Badges */
.limited-badge {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    animation: pulse 2s infinite;
}

.new-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .coupons-showcase-section {
        padding: 2rem 0;
    }

    .coupons-section-header h2 {
        font-size: 1.875rem;
    }

    .coupons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .coupon-card {
        padding: 1.25rem;
    }

    .coupon-badge {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
    }

    .discount-amount {
        font-size: 1.5rem;
    }

    .coupon-code-text {
        font-size: 1rem;
    }

    .copy-code-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .coupons-section-header h2 {
        font-size: 1.5rem;
    }

    .coupon-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .coupon-title {
        font-size: 1.125rem;
    }

    .coupon-code-display {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-code-btn {
        width: 100%;
    }

    .coupon-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .use-coupon-btn {
        width: 100%;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .coupon-card {
        page-break-inside: avoid;
        border: 2px solid #000;
    }

    .copy-code-btn,
    .use-coupon-btn {
        display: none;
    }
}
