@media (max-width: 1300px) {
    #header .nav li {
        width: 140px;
    }

    #gnb ul {
        width: 140px;
    }
}

@media (max-width: 1200px) {
    #header .nav li {
        width: 110px;
    }

    #gnb ul {
        width: 110px;
    }

    #section-01 .wrap {
        gap: 28px;
    }

    #section-01 .item h3 {
        font-size: 21px;
    }

    #section-01 .item p:nth-child(2) {
        font-size: 15px;
    }

    #section-01 .item p:nth-child(3) {
        font-size: 14px;
    }

    #section-02, 
    #section-03, 
    #event,
    #coupon {
        margin-bottom: 180px;
    }
}

@media (max-width:1000px) {
    #header .nav {
        display: none;
    }

    #header .util li:last-child {
        display: flex;
    }

    #header .util li:nth-child(2),
    #header .util li:nth-child(3),
    #header .util li:nth-child(4) {
        display: none;
    }

    #coupon .wrap {
        gap: 40px;
    }
}

@media (max-width: 800px) {
    #section-01 .wrap {
        gap: 30px;
    }

    #header {
        height: 70px;
    }

    #header .logo a {
        width: 60px;
    }
}

@media (max-width: 700px) {
    
    #search .wrap {
        width: 80%;
        transition: 0.2s ease-out;
    }

    #search input {
        width: 130px;
    }

    #main-visual {
        height: 500px;
    }

    #main-visual .text h4 {
        font-size: 20px;
    }

    #main-visual .text h3 {
        font-size: 25px;
    }

    #main-visual .text p {
        font-size: 15px;
        padding: 15px 20px;
    }

    #section-02, 
    #section-03, 
    #event, 
    #coupon {
        margin-bottom: 140px;
    }

    #section-01 .wrap .item p:nth-child(2) {
        display: none;
    }

    #section-01 .item h3 {
        font-size: 20px;
    }

    #section-01 .item p:nth-child(2) {
        font-size: 13px;
    }

    #section-01 .item p:nth-child(3) {
        font-size: 14px;
    }

    #event .item {
        width: 400px;
        height: 100px;
    }

    #event img {
        width: 70px;
        height: 100%;
    }

    #event .text p {
        display: none;
    }

    #event .text h4 {
        font-size: 16px;
    }

    #event .center {
        margin-top: 40px;
    }

    #coupon .center {
        margin-top: 80px;
    }

    #event button,
    #coupon button {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 15px 20px;
    }

    #coupon .item {
        width: 300px;
    }

    #coupon .item p {
        font-size: 14px;
    }

    #coupon .item span {
        font-size: 12px;
    }

    #footer {
        flex-wrap: wrap-reverse;
    }

    #footer .right {
        margin-bottom: 40px;
    }

    #footer .right p {
        text-align: left;
    }
}

@media (max-width: 540px) {
    #header {
        padding: 0 40px;
    }

    #header .logo a {
        width: 50px;
    }

    #main-visual .text {
        bottom: 40px;
        left: 40px;
    }
    #header {
        width: 100vw;
    }

    #section-02, 
    #section-03, 
    #section-04, 
    #event, 
    #coupon {
        margin-bottom: 120px;
    }

    #section-02 .title,
    #section-03 .title,
    #section-04 .title {
        padding: 0 30px;
    }

    .swiper {
        padding: 0 30px !important;
    }
    
    #event,
    #coupon {
        padding: 0 30px;
    }


    #section-01 {
        padding: 80px 0;
    }

    #section-01 .vertical-line {
        height: 20px;
    }

    #section-01 .wrap {
        gap: 24px;
    }

    #section-01 .item h3 {
        font-size: 18px;
    }

    #event .item {
        width: 100%;
    }

    #event .text h4 {
        font-size: 14px;
    }

    #event .text span {
        font-size: 11px;
    }

    #section-02 .title h3,
    #section-03 .title h3,
    #section-04 .title h3 {
        font-size: 20px;
    }

    #section-02 .title p,
    #section-03 .title p,
    #section-04 .title p {
        font-size: 12px;
    }

    /* 공통 sub-text 스타일 */
    #section-02 .sub-text,
    #section-03 .sub-text,
    #section-04 .sub-text {
        font-size: 13px;
        font-weight: 300;
        color: #444;
        margin-bottom: 3px;
    }

    #section-02 .sub-text p:last-child::before,
    #section-03 .sub-text p:last-child::before,
    #section-04 .sub-text p:last-child::before {
        display: none;
    }

    #section-02 .sub-text p:last-child,
    #section-03 .sub-text p:last-child,
    #section-04 .sub-text p:last-child {
        display: none;
    }

    /* 공통 가격 스타일 */
    #section-02 .price,
    #section-03 .price,
    #section-04 .price {
        font-size: 16px;
    }

    /* ------ 섹션 04 할인 ------ */

    #section-04 .swiper-slide .base {
        font-size: 12px;
        font-weight: 300;
    }

    #section-04 h3 span {
        margin-right: 6px;
        color: #C53F3F;
    }

    #coupon .item {
        width: 250px;
    }

    #footer {
        padding: 20px;
    }
}

@media (max-width: 450px) {
    #main-visual .text h4 {
        font-size: 15px;
    }

    #main-visual .text h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    #main-visual .text p {
        font-size: 14px;
        padding: 10px 15px;
    }

    #footer .right {
        margin-bottom: 20px;
    }

    #footer .service {
        flex-wrap: wrap;
        gap: 10px;
    }
}
