/**
 * Frontend Offers Display - Modern & Professional
 */

/* Simple Offers Display */
.bxgy-offers-simple {
    margin: 32px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.bxgy-offers-simple-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.03em;
}

/* Offers Container */
.bxgy-offers-simple-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
}

/* Individual Offer Item */
.bxgy-offer-simple-item {
    position: relative;
    border: 2px solid transparent;
    border-radius: 12px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #e5e7eb, #d1d5db) border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bxgy-offer-simple-item:hover {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #3b82f6, #2563eb) border-box;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Popular Badge */
.bxgy-popular-badge {
    position: absolute;
    left: 24px;
    top: -10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Offer Content */
.bxgy-offer-simple-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    gap: 24px;
}

/* Text Content */
.bxgy-offer-simple-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bxgy-offer-simple-main {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.bxgy-offer-simple-sub {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

/* Grab Deal Button */
.bxgy-grab-deal-btn {
    padding: 13px 28px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    letter-spacing: 0.02em;
}

.bxgy-grab-deal-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.bxgy-grab-deal-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.35);
}

/* Cart Discount Badge */
.woocommerce-cart .bxgy-discount-badge {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.02em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bxgy-offers-simple {
        margin: 28px 0;
    }

    .bxgy-offers-simple-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .bxgy-offers-simple-container {
        gap: 12px;
        padding: 18px;
    }

    .bxgy-offer-simple-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 22px;
    }

    .bxgy-popular-badge {
        left: 20px;
        top: -10px;
        font-size: 9px;
        padding: 4px 12px;
    }

    .bxgy-offer-simple-main {
        font-size: 16px;
    }

    .bxgy-offer-simple-sub {
        font-size: 12px;
    }

    .bxgy-grab-deal-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .bxgy-offers-simple-container {
        padding: 16px;
    }

    .bxgy-offer-simple-content {
        padding: 18px 20px;
    }
}

/* Print Styles */
@media print {
    .bxgy-grab-deal-btn {
        display: none;
    }

    .bxgy-offers-simple-container {
        border: 2px solid #000;
    }
}
