/*===================================== 
YOU CAN WRIGHT CUSTOME CSS 
======================================*/
/* Modern section styling with brand colors */
.offers-section {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.offers-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e51629, #822482);
}

.offers-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.offers-section h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e51629;
    border-radius: 3px;
}

/* Modern card styling */
.offers-section .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    background: white;
    border-top: 3px solid #e51629;
}

.offers-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(229, 22, 41, 0.1),
        0 8px 10px -6px rgba(130, 36, 130, 0.1);
}

/* Card header styling */
.offers-section .card-header {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 1.5rem;
}

.offers-section .card-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #e51629;
    /* Brand red for titles */
    margin: 0;
}

.offers-section .card-header small {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Modern table styling */
.offers-section .table {
    width: 100%;
    margin-bottom: 0;
}

.offers-section .table thead th {
    background-color: #f9fafb;
    color: #374151;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.offers-section .table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.offers-section .table tbody tr:last-child td {
    border-bottom: none;
}

.offers-section .table tbody tr:hover td {
    background-color: rgba(229, 22, 41, 0.05);
    /* Light brand red hover */
}

/* Price styling with brand purple */
.offers-section .table tbody td:nth-child(2) {
    color: #10b981;
    /* Brand purple */
    font-weight: 600;
}

/* Notes section with brand accent */
.offers-section .notes-section {
    background-color: rgba(229, 22, 41, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #822482;
    /* Brand purple */
}

.offers-section .notes-section strong {
    color: #e51629;
    /* Brand red */
}

/* Button styling with brand gradient */
.offers-section .btn-primary {
    background: linear-gradient(135deg, #e51629 0%, #822482 100%);
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(229, 22, 41, 0.3),
        0 2px 4px -2px rgba(130, 36, 130, 0.3);
    transition: all 0.3s ease;
    color: white;
}

.offers-section .btn-primary:hover {
    background: linear-gradient(135deg, #c41424 0%, #6a1d6a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(229, 22, 41, 0.3),
        0 4px 6px -4px rgba(130, 36, 130, 0.3);
    color: white;
}

/* Empty state with brand colors */
.offers-section .alert-info {
    background-color: rgba(229, 22, 41, 0.08);
    color: #e51629;
    border: none;
    border-radius: 8px;
    padding: 1.25rem;
    border-left: 4px solid #822482;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offers-section {
        padding: 2rem 0;
    }

    .offers-section h2 {
        font-size: 1.5rem;
    }

    .offers-section .table thead {
        display: none;
    }

    .offers-section .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid rgba(229, 22, 41, 0.1);
        border-radius: 8px;
        padding: 0.5rem;
    }

    .offers-section .table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0.75rem;
        border-bottom: 1px solid rgba(229, 22, 41, 0.1);
    }

    .offers-section .table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #e51629;
        /* Brand red for labels */
        margin-right: 1rem;
    }

    .offers-section .table tbody td:last-child {
        border-bottom: none;
    }
}


/* Price banner styling */
.price-banner {
    background: linear-gradient(90deg, #e51629 0%, #822482 100%);
    color: white;
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.banner-container {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.banner-item {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-product {
    font-weight: 600;
    margin-right: 0.5rem;
}

.banner-price {
    font-weight: 700;
    color: #10b981;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.price-banner:hover .banner-container {
    animation-play-state: paused;
}