/* Offers Categories Page Styles */

/* Hide standard layout components */
body.offers-categories-body .sticky-header-wrapper,
body.offers-categories-body .topbar,
body.offers-categories-body footer,
body.offers-categories-body .whatsapp-btn {
    display: none !important;
}

body.offers-categories-body {
    background: #ffffff !important;
    overflow-x: hidden;
}

.offers-unlock-wrapper {
    min-height: 100vh;
    width: 100vw;
    background: #ffffff !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.offers-unlock-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 93px 118px 60px 118px;
    box-sizing: border-box;
    background: #ffffff;
}

.offers-categories-sticky-top {
    position: sticky;
    top: 0;
    z-index: 120;
    background: #ffffff;
    padding-bottom: 6px;
    padding-top: 2%;
}

.step-2-header {
    font-family: 'Poppins', sans-serif;
    color: #173158;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin-bottom: 16px;
}

.header-logo img,
.header-logo-img {
    width: 212.76px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.step-2-header .header-date {
    font-size: 12px;
    color: #173158;
    line-height: 1.3;
    font-weight: 500;
    white-space: nowrap;
}

.step-2-header .header-date-break,
.step-2-banner .banner-title-break {
    display: none;
}

.step-2-banner {
    background: linear-gradient(90deg, #173158 0%, #E83161 100%);
    width: 100%;
    height: 120px;
    padding: 0 24px;
    border-radius: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    box-sizing: border-box;
    margin-bottom: 16px !important;
}

.step-2-banner .banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    flex: 1;
}

.step-2-banner .banner-title {
    font-family: 'Poppins', sans-serif;
    width: 282px;
    max-width: 100%;
    min-height: 28px;
    height: auto;
    font-size: 20px;
    font-weight: 400 !important;
    line-height: 28px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: visible;
}

.step-2-banner .banner-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.2;
}

.step-2-banner svg {
    flex-shrink: 0;
    align-self: center !important;
    width: 24px;
    height: 24px;
}

.category-list {
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offers-category-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0;
    margin: 0;
    gap: 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    text-decoration: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.offers-category-card:hover,
.offers-category-card:focus,
.offers-category-card:active {
    background: transparent;
    border-color: transparent;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none;
}

.offers-category-card .offers-category-icon {
    width: 60px;
    height: 60px;
    color: #E83161;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #F7F8F9;
    box-sizing: border-box;
}

.offers-category-card .offers-category-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.offers-category-card .offers-category-name {
    flex: 1;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px;
    background: #F7F8F9;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #173158;
    line-height: 1.2;
    text-align: left;
    box-sizing: border-box;
}

.offers-category-card:hover .offers-category-icon,
.offers-category-card:hover .offers-category-name {
    background: #F7F8F9;
    box-shadow: none !important;
}

.offers-category-card .offers-category-arrow {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Small tablet + tablet */
@media (min-width: 712px) and (max-width: 1223.98px) {
    .offers-unlock-container {
        width: 100%;
        max-width: 100%;
        padding: 68px 40px 50px 40px;
    }

    .step-2-header {
        width: 100%;
        margin-bottom: 12px;
    }

    .header-logo img,
    .header-logo-img {
        width: auto;
        max-width: 200px;
        height: 40px;
    }

    .step-2-banner {
        width: 100%;
        margin-bottom: 12px !important;
        position: relative;
    }

    .step-2-banner .banner-title {
        width: auto;
        max-width: 100%;
        white-space: normal;
    }

    .step-2-banner svg {
        position: absolute;
        top: 21px;
        right: 25px;
        width: 30px;
        height: 30px;
    }

    .category-list {
        width: 100%;
    }

    .offers-category-card {
        width: 100%;
        max-width: 100%;
    }

    .offers-category-card .offers-category-arrow {
        position: absolute;
        top: 10px;
        right: 25px;
    }
}

/* Mobile only */
@media (max-width: 711.98px) {
    .offers-unlock-container {
        width: 322px;
        max-width: 322px;
        align-items: stretch;
        padding: 68px 0px 40px;
    }

    .step-2-header {
        justify-content: space-between;
        gap: 0;
        margin-bottom: 9px;
        width: 100%;
    }

    .step-2-header .header-date {
        font-size: 12px;
        white-space: normal;
        text-align: left;
    }

    .header-logo img,
    .header-logo-img {
        width: 151px;
        height: 34px;
    }

    .step-2-header .header-date-break,
    .step-2-banner .banner-title-break {
        display: block;
    }

    .step-2-banner {
        position: relative;
        width: 322px !important;
        max-width: 322px !important;
        height: 100px;
        padding: 14px 15px 15px 24px;
        gap: 42px !important;
        margin-bottom: 16px !important;
    }

    .step-2-banner .banner-text {
        width: auto;
        flex: 1;
        min-width: 0;
    }

    .step-2-banner .banner-title {
        width: auto;
        max-width: 100%;
        min-height: auto;
        height: auto;
        font-size: 20px;
        line-height: 1.25;
        margin-bottom: 2px;
        white-space: normal;
        overflow: visible;
    }

    .step-2-banner .banner-subtitle {
        font-size: 20px;
        font-weight: 600 !important;
        color: #ffffff !important;
    }

    .step-2-banner svg {
        position: absolute;
        top: 14px;
        right: 15px;
        width: 20px;
        height: 20px;
    }

    .category-list {
        margin-top: 10px;
        width: 100%;
    }

    .offers-category-card {
        width: 100%;
        max-width: 100%;
    }

    .offers-category-card .offers-category-name {
        font-size: 18px;
        padding: 0 0 0 20px;
        position: relative;
    }
}

/* Desktop and Laptop screens (992px and above) */
@media (min-width: 992px) {
    .offers-unlock-container {
        width: 100%;
        max-width: 791px;
        padding: 93px 0 60px;
    }

    .header-logo img,
    .header-logo-img {
        max-width: 212px !important;
        height: 48px;
    }

    .step-2-header .header-date {
        font-size: 14px;
    }

    .step-2-banner {
        position: relative;
        width: 788px !important;
        height: 150px !important;
        margin-bottom: 21px !important;
    }

    .step-2-banner .banner-title {
        font-size: 20px;
    }

    .step-2-banner .banner-subtitle {
        font-size: 36px;
        font-weight: 600 !important;
    }

    .step-2-banner svg {
        position: absolute;
        top: 21px;
        right: 25px;
        width: 30px;
        height: 30px;
    }

    .offers-category-card {
        width: auto;
        display: flex;
        gap: 4px;
    }

    .offers-category-card .offers-category-icon {
        width: 60px;
        height: 60px;
    }

    .offers-category-card .offers-category-img,
    .offers-category-card .offers-category-icon i {
        width: 30px;
        height: 30px;
        font-size: 30px;
    }

    .offers-category-card .offers-category-name {
        width: 727px;
        height: 60px;
        font-size: 24px;
        font-weight: 600;
        padding: 0 0 0 20px;
        position: relative;
        box-sizing: border-box;
    }

    .offers-category-card .offers-category-arrow {
        position: absolute;
        top: 10px;
        right: 25px;
    }
}