:root {
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-heading: 'Lora', serif;

    --color-title: #0C4464;
    --color-text: #353c46;
    --color-white: #ffffff;
    --background: #F8FAFC;
    --border: #ABBAF050;
    --background-gradient: linear-gradient(135deg, #5B8CFF, #7AA2FF);

    --font-size-36: 36px;
    --font-size-24: 24px;
    --font-size-20: 20px;
    --font-size-18: 18px;
    --font-size-16: 16px;
    --font-size-14: 14px;
    --font-size-12: 12px;

    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.2;
    background: var(--background);
    color: var(--color-text);
}

.wrapp-product-list {
    width: 100%;
    overflow-x: hidden;
    margin-top: 70px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
}

/*  ******************************* OFFER HEADER FILTER ******************************* */
.product-list-section {
    width: 100%;
    margin-top: 20px;
}

.offer-header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid var(--border);
}

.offer-title {
    font-size: 26px;
    font-weight: 700;
    padding: 20px 15px 15px 30px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #066191 0%, #2799d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#offer-filter-form {
    padding: 24px 32px;
    background: #f9fafb;
    border-radius: 16px;
}

.offer-filter-row {
    display: grid;
    grid-template-columns: 2fr auto 1fr 1fr 1fr;
    gap: 12px;
    align-items: center;
}


.offer-search {
    width: 100%;
    position: relative;
}

.offer-filter-item {
    width: 100%;
}

.offer-search input {
    width: 100%;
    height: 35px;
    border-radius: 4px 12px 12px 4px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    background: var(--color-white);
    font-size: 15px;
    outline: none;
}

/* BUTTON */
.btn-search {
    position: absolute;
    right: 0;
    top: 0;
    transition: .9s ease;
    padding: 9px;
    background-color: #044264db;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-search:hover,
.btn-reset:hover {
    border-radius: 6px;
    transform: scale(1.1);
    background-color: #044264;
}

/* RESET */
.btn-reset {
    padding: 9px;
    text-decoration: none;
    background-color: #044264db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}


.offer-filter-item select {
    width: 100%;
    height: 40px;
    border-radius: 12px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
}

input::placeholder {
    color: var(--color-text);
    opacity: 0.7;
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
    font-size: 14px;
}

.select2-search__field {
    background: transparent !important;
    color: #0f172a;
}

.select2-container--default .select2-selection--multiple {
    padding: 5px !important;
}

.select2-container--default .select2-results__option--selected {
    background: var(--color-white) !important;
    color: var(--color-text) !important;
}

.offer-toolbar {
    background: #f8fafc;
    border-radius: 14px;
    padding: 0 32px 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-result label {
    font-size: 13px;
    color: #64748b;
}

.offer-result span {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.offer-sort select {
    color: #94a3b8;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: var(--color-white);
}

/*  ******************************* OFFER LIST  ******************************* */

.offer-list-section {
    padding: 40px 0;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.offer-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.offer-grid .offer-card-hover:nth-child(2n+1) {
    border-left: 4px solid rgba(25, 135, 84, 0.6) !important;
    background-color: #66f09742 !important;
}

.offer-grid .offer-card-hover:nth-child(2n) {
    border-left: 4px solid #265c79 !important;
    background-color: #75c5f04d !important;
}

.offer-card-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}

/* LOGO */
.offer-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.offer-logo img {
    max-width: 80%;
    max-height: 80%;
}

/* CONTENT */
.offer-content {
    flex: 1;
}

/* META TAGS */
.offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}

.offer-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* TITLE */
.offer-title-text {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

/* PAYOUT */
.offer-payout {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer-payout img {
    width: 20px;
    height: auto;
}

/* ACTION */
.offer-action {
    align-self: flex-start;
}

.offer-action button {
    background: #0f3d57;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.offer-action button:hover {
    opacity: 0.9;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #044264 0%, #086494 100%);
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    border: none;
}

.pagination .page-item {
    margin: 0 4px;
    list-style: none;
    transition: transform 0.3s ease;
}

.pagination .page-item .page-link,
.pagination .page-item a {
    background: linear-gradient(135deg, #066191 0%, #2799d8 100%);
    color: #fff !important;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

@media (min-width: 1620px) {
    .container {
        max-width: 1400px;
    }

    .offer-toolbar {
        padding: 0 32px 32px 32px;
    }

    .offer-search input {
        height: 40px;
        font-size: var(--font-size-18);
    }

    .btn-search {
        font-size: var(--font-size-16);
        padding: 10px;
    }

    .offer-filter-item select {
        font-size: 18px;
        height: 40px !important;
    }

    .offer-result label,
    .offer-meta,
    .offer-payout {
        font-size: var(--font-size-16);
    }

    .offer-title-text {
        font-size: var(--font-size-18);
        width: 130%;
    }

    .offer-action {
        margin-top: -10px;
    }

    .offer-logo {
        width: 75px;
        height: 80px;
    }

}