/* ==========================================================
   RESPONSIVE BREAKPOINTS
   AISUBIO v3.0
========================================================== */

/*

XXL : 1600+
XL  : 1400
LG  : 1200
MD  : 992
SM  : 768
XS  : 576
XXS : 420

*/

/* ==========================================================
   1400px
========================================================== */

@media (max-width:1400px){

:root{

    --container-width:1180px;

}

.hero-grid{

    gap:60px;

}

.hero-left{

    max-width:620px;

}

.hero-card{

    max-width:480px;

}

.offer-slider{

    grid-auto-columns:310px;

}

.offers-grid{

    grid-template-columns:

        repeat(auto-fill,minmax(300px,1fr));

}

.section-header{

    gap:32px;

}

}

/* ==========================================================
   1200px
========================================================== */

@media (max-width:1200px){

:root{

    --container-width:1000px;

    --section-space:100px;

}

.hero-grid{

    gap:48px;

}

.hero-left h1{

    font-size:4rem;

}

.hero-left p{

    font-size:1.05rem;

}

.search-wrapper{

    grid-template-columns:1fr;

}

.search-wrapper select{

    width:100%;

}

.offer-slider{

    grid-auto-columns:300px;

}

.offers-grid{

    grid-template-columns:

        repeat(3,minmax(0,1fr));

}

.hero-card{

    max-width:450px;

}

}

/* ==========================================================
   992px
========================================================== */

@media (max-width:992px){

:root{

    --section-space:90px;

    --container-padding:24px;

}

/* ==========================================================
   HEADER
========================================================== */

.header{

    height:78px;

}

.header.scrolled{

    height:68px;

}

.desktop-nav{

    display:none;

}

.mobile-menu-btn{

    display:grid;

}

.navbar{

    gap:18px;

}

/* ==========================================================
   HERO
========================================================== */

.hero-section{

    padding-top:130px;

    padding-bottom:90px;

}

.hero-grid{

    grid-template-columns:1fr;

    gap:70px;

}

.hero-left{

    max-width:100%;

    text-align:center;

}

.hero-left p{

    margin-inline:auto;

    max-width:700px;

}

.hero-buttons{

    justify-content:center;

}

.hero-stats{

    justify-content:center;

}

.hero-right{

    justify-content:center;

}

.hero-card{

    max-width:560px;

    margin-inline:auto;

}

/* ==========================================================
   SEARCH
========================================================== */

.search-section{

    margin-top:-30px;

}

.search-wrapper{

    grid-template-columns:1fr;

    gap:18px;

    padding:22px;

}

/* ==========================================================
   SECTION HEADER
========================================================== */

.section-header{

    flex-direction:column;

    align-items:flex-start;

    gap:22px;

}

.section-navigation{

    width:100%;

    justify-content:flex-end;

}

/* ==========================================================
   OFFER SLIDER
========================================================== */

.offer-slider{

    grid-auto-columns:320px;

    gap:24px;

}

/* ==========================================================
   OFFER GRID
========================================================== */

.offers-grid{

    grid-template-columns:

        repeat(2,minmax(0,1fr));

    gap:26px;

}

/* ==========================================================
   FOOTER
========================================================== */

.footer-grid{

    grid-template-columns:

        repeat(2,1fr);

    gap:40px;

}

}

/* ==========================================================
   768px
========================================================== */

@media (max-width:768px){

:root{

    --section-space:72px;

    --container-padding:20px;

    --header-height:74px;

}

/* ==========================================================
   GLOBAL
========================================================== */

section{

    padding-block:var(--section-space);

}

.container{

    width:min(
        calc(100% - 40px),
        100%
    );

}

/* ==========================================================
   HERO
========================================================== */

.hero-section{

    padding-top:110px;

    padding-bottom:72px;

}

.hero-grid{

    gap:56px;

}

.hero-left h1{

    font-size:3rem;

    line-height:1.08;

}

.hero-left p{

    font-size:1rem;

    line-height:1.75;

}

.hero-buttons{

    flex-direction:column;

    align-items:stretch;

    gap:16px;

}

.hero-buttons .btn{

    width:100%;

}

.hero-stats{

    justify-content:space-between;

    gap:20px;

}

.hero-stat{

    flex:1;

    min-width:120px;

    text-align:center;

}

/* ==========================================================
   HERO CARD
========================================================== */

.hero-card{

    padding:30px;

    border-radius:26px;

}

.reward-badge{

    top:20px;

    left:20px;

}

.gift-box{

    margin-top:48px;

}

.gift-box img{

    max-width:260px;

}

.countdown{

    font-size:1.65rem;

}

/* ==========================================================
   SEARCH
========================================================== */

.search-section{

    margin-top:0;

}

.search-wrapper{

    padding:20px;

    gap:16px;

    border-radius:24px;

}

.search-box input{

    height:60px;

    padding-right:140px;

}

.search-box button{

    height:44px;

    padding:0 18px;

}

/* ==========================================================
   SECTION HEADER
========================================================== */

.section-header{

    margin-bottom:42px;

}

.section-header h2{

    font-size:2.2rem;

}

.section-header p{

    font-size:1rem;

}

/* ==========================================================
   SLIDER
========================================================== */

.offer-slider{

    grid-auto-columns:285px;

    gap:20px;

}

/* ==========================================================
   GRID
========================================================== */

.offers-grid{

    grid-template-columns:1fr;

    gap:24px;

}

/* ==========================================================
   CARD
========================================================== */

.offer-content{

    padding:24px;

}

.offer-title{

    font-size:1.2rem;

}

.offer-footer{

    flex-direction:column;

    align-items:stretch;

    gap:16px;

}

.offer-action{

    width:100%;

}

/* ==========================================================
   FOOTER
========================================================== */

.footer-grid{

    grid-template-columns:1fr;

    gap:36px;

}

.footer-bottom{

    text-align:center;

}

}

/* ==========================================================
   576px
========================================================== */

@media (max-width:576px){

:root{

    --container-padding:18px;

    --section-space:64px;

}

/* ==========================================================
   CONTAINER
========================================================== */

.container{

    width:calc(100% - 36px);

}

/* ==========================================================
   HEADER
========================================================== */

.header{

    height:72px;

}

.logo{

    gap:10px;

}

.logo-icon{

    width:44px;

    border-radius:14px;

}

.logo-text{

    font-size:1.15rem;

}

.theme-toggle,

.mobile-menu-btn{

    width:44px;

    height:44px;

}

/* ==========================================================
   HERO
========================================================== */

.hero-section{

    padding-top:100px;

    padding-bottom:60px;

}

.hero-grid{

    gap:42px;

}

.hero-left h1{

    font-size:2.45rem;

    line-height:1.1;

    letter-spacing:-1px;

}

.hero-left p{

    margin-top:22px;

    font-size:.96rem;

}

.hero-buttons{

    gap:14px;

}

.hero-buttons .btn{

    width:100%;

}

.hero-stats{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.hero-stat{

    min-width:0;

}

.hero-stat h3{

    font-size:1.8rem;

}

/* ==========================================================
   HERO CARD
========================================================== */

.hero-card{

    padding:22px;

    border-radius:22px;

}

.reward-badge{

    top:16px;

    left:16px;

    padding:10px 14px;

    font-size:.78rem;

}

.gift-box{

    margin-top:42px;

}

.gift-box img{

    max-width:220px;

}

.countdown-card{

    margin-top:28px;

    padding:18px;

}

.countdown{

    font-size:1.35rem;

    gap:8px;

}

/* ==========================================================
   SEARCH
========================================================== */

.search-wrapper{

    padding:18px;

    border-radius:20px;

}

.search-box input{

    height:58px;

    padding-left:50px;

    padding-right:18px;

}

.search-box button{

    position:static;

    width:100%;

    margin-top:12px;

    height:50px;

}

.search-wrapper select{

    height:58px;

}

/* ==========================================================
   SECTION
========================================================== */

.section-header{

    margin-bottom:32px;

}

.section-header h2{

    font-size:1.9rem;

}

.section-navigation{

    width:100%;

    justify-content:center;

}

/* ==========================================================
   SLIDER
========================================================== */

.offer-slider{

    grid-auto-columns:86%;

    gap:18px;

    padding-inline:2px;

}

/* ==========================================================
   CARD
========================================================== */

.offer-card{

    border-radius:24px;

}

.offer-content{

    padding:20px;

    gap:16px;

}

.offer-title{

    font-size:1.12rem;

}

.offer-description{

    font-size:.9rem;

}

.offer-reward{

    padding:16px;

}

.reward-value{

    font-size:1.25rem;

}

.offer-footer{

    gap:14px;

}

.offer-action{

    width:100%;

    height:48px;

}

/* ==========================================================
   BUTTON
========================================================== */

.btn{

    width:100%;

    min-width:100%;

}

}

/* ==========================================================
   420px
========================================================== */

@media (max-width:420px){

.hero-left h1{

    font-size:2.1rem;

}

.hero-left p{

    font-size:.92rem;

}

.hero-card{

    padding:18px;

}

.reward-badge{

    position:relative;

    top:auto;

    left:auto;

    margin-bottom:20px;

}

.gift-box{

    margin-top:20px;

}

.gift-box img{

    max-width:190px;

}

.countdown{

    font-size:1.15rem;

}

.section-header h2{

    font-size:1.6rem;

}

.offer-slider{

    grid-auto-columns:92%;

}

.offer-content{

    padding:18px;

}

.offer-category{

    font-size:.72rem;

}

.offer-title{

    font-size:1.05rem;

}

.reward-value{

    font-size:1.1rem;

}

.offer-users{

    font-size:.82rem;

}

.offer-action{

    font-size:.9rem;

    height:46px;

}

.slider-button{

    width:46px;

    height:46px;

}

}

/* ==========================================================
   LANDSCAPE MOBILE
========================================================== */

@media (max-height:600px) and (orientation:landscape){

.hero-section{

    padding-top:90px;

    padding-bottom:50px;

}

.hero-grid{

    gap:30px;

}

}

/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width:1600px){

.offer-slider{

    grid-auto-columns:340px;

}

.hero-grid{

    gap:100px;

}

}