.page {
    /* padding: 0 !important; */
}

.page.home {
    /* background-color: var(--bg-primary); */
    background: #fff;
}

.page.home .page-header {
    background: #fff;
    display: flex;
    padding: 10px 15px 7px 15px !important;
}

.page.home .page-header .bi {
    height: 40px;
    margin: 10px 0;
}

.page.home .page-header .bi img {
    height: 100%;
    /* width: 65%; */
}

.page.home .page-header .btn-wrap {
    position: absolute;
    right: 15px;
    top: 15px;
}

.page.home .page-header .loginBox {
    width: 200px;
    margin: 17px 0 0 0;
    margin-left: auto;
    text-align: right;
    color: gray;

    .login-icon {
        margin-right: 6px;
    }

    p {
        margin-bottom: inherit !important
    }
}

.page.home .page-header .btn-icon .icon.cog {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 2px 3px 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23828D95' d='M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 25px;
}

.page.home .page-content .content-section.today {
    /* padding: 15px 15px 40px; */
}


/* 비회원 or 평가 신청 전 상단 스타일 start */
.page.home .page-content .content-section.today.non-member {}

.page.home .page-content .content-section.today.non-member .ticket {
    color: var(--sub-text);
    font-size: 1.1em;
    line-height: 1.4em;
}

.page.home .page-content .content-section.today.non-member .ticket .container.top {
    padding: 25px 15px;
}

.page.home .page-content .content-section.today.non-member .ticket .container.bottom {
    height: 75px;
}

/* 비회원 or 평가 신청 전 상단 스타일 end */


.page.home .page-content .content-section.today .section-title {
    color: var(--text-primary);
    font-size: 1.6em;
    line-height: 1.2em;
    margin-bottom: 20px;
}

.page.home .page-content .content-section.today .section-title .custom {
    color: var(--sub-text);
    font-size: 0.9em;
    /* font-weight: bold; */
    margin-bottom: 10px;
}

.page.home .page-content .content-section.today .section-title .custom .name {
    font-size: 1.1em;
}



/* ticket style */
.ticket {
    position: relative;
}

.ticket .container {
    width: 100%;
    background-color: #fff;
    border: 1px solid var(--border);

}

.ticket .container.top {
    height: 110px;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 40px 20px 0;
    box-shadow: 0 0 10px 0 var(--shadow);
}

.ticket .container.top .ticket-label {
    position: absolute;
    top: 0;
    left: calc(50% - 50px);
    min-width: 100px;
    height: 26px;
    background-color: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 0 0 10px 10px;
}

.ticket .container.top .ticket-title {
    font-weight: bold;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    line-height: 1.4em;
}

.ticket .container.top .ticket-location {
    color: var(--sub-text);
}

.ticket .container.top .ticket-location .icon.map-marker {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23828D95' d='M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px;
}

.ticket .container.bottom {
    height: 55px;
    border-radius: 0 0 20px 20px;
    border-top: 1px dashed var(--border);
    padding: 15px 20px;
    box-shadow: 0 5px 10px 0 var(--shadow);
}

.ticket .container.bottom .icon.calendar {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%230086FF' d='M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px;
}

.ticket .container.bottom .ticket-date {
    display: inline-block;
    vertical-align: middle;
}

.ticket .circle {
    position: absolute;
    top: 100px;
    width: 10px;
    height: 20px;
    border: 1px solid var(--border);

}

.ticket .circle.left {
    left: 0;
    border-radius: 0 10px 10px 0;
    border-left: none;
    background: linear-gradient(90deg, var(--sub-shadow), var(--shadow));

}

.ticket .circle.right {
    right: 0;
    border-radius: 10px 0 0 10px;
    border-right: none;
    background: linear-gradient(90deg, var(--shadow), var(--sub-shadow));
}



.page.home .page-content .content-section.list-section {
    padding-top: 10px;
    background-color: #ffffff;
}

.page.home .page-content .content-section.list-section .section-title {
    color: var(--text-primary);
    font-size: 1.2em;
    line-height: 1.2em;
    /* margin-bottom: 20px; */
    width: 100%;
    padding: 15px;
}

.page.home .page-content .content-section.list-section .section-ui {
    display: flex;
    justify-content: flex-start;
    color: var(--text-primary);
    font-size: 1.0em;
    line-height: 1.0em;
    /* margin-bottom: 20px; */
    width: 100%;
    padding: 2px 15px 2px 15px;

    .leftBox {
        margin-right: auto;
        padding-top: 8px;
    }

    .btn-sm {
        height: 30px !important;
    }

    .btn-point {
        background-color: #fff
    }

    .active {
        background-color: var(--primary);
        color: #fff;
        border-radius: 5px !important;
    }

    .btn-sort {
        display: inline-block;
        width: 60px;
        margin-right: 1px;
    }
}


/** List start **/
.list {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.list .list-item {
    /* background: #dedede; */
    position: relative;
    width: calc(50% - 5px);
    margin-bottom: 10px;
    border: 1px solid #f3f3f3;
    border-radius: 3px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, .1);
    /* transition: box-shadow .25s ease-in-out; */
    
}

.list .list-item .click-area {
    /* box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05); */
}

.list .list-item .img-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 3px 3px 0px 0px;

}

.list .list-item .img-wrap img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-bottom: 1px solid #f3f3f3;
}

.list .list-item .text-wrap {
    padding: 15px 5px 15px;
    font-size: 0.9em;
    line-height: 1.6em;
    color: var(--sub-text);
}

.list .list-item .text-wrap .item-title {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1em;
    width: 100%;
    height: 38px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    line-height: 1.4em;
}

.list .list-item .text-wrap .item-title-before .box {
    display: inline-block;
    /* background: rgb(170 170 170); */
    background: rgb(176, 222, 52);
    padding: 3px 8px 0px 8px;
    border-radius: 3px;
    color: white;
    font-size: 0.8em;
}

.list .list-item .text-wrap .item-title-before .apply-box {
    display: inline-block;
    /* background: rgb(170 170 170); */
    background: #688fd1;
    padding: 3px 8px 0px 8px;
    border-radius: 3px;
    color: white;
    font-size: 0.8em;
}

.list .list-item .text-wrap .item-title .box-text {
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8em;
}

.list .list-item .text-wrap .item-person-price {
    display: flex;
        justify-content: space-between;
        align-items: center;
        white-space: nowrap;
}

.list .list-item .text-wrap .item-person-num {
    margin-bottom: 0px;
}

.list .list-item .text-wrap .item-price {
    display: inline-block;
    padding: 0px 5px 1px 5px;
    color: gray;
    /* font-size: 1em; */
    border: 1px solid darkgray;
    border-radius: 3px;   
}

.list .list-item .text-wrap .icon {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
}

.list .list-item .text-wrap .icon.map-marker {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23828D95' d='M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px;
}

.list .list-item .text-wrap .icon.calendar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23828D95' d='M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px;
}

.list .list-item .text-wrap .icon.account {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23828D95' d='M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px;
}

/** List end **/

.footer {
    padding: 30px 15px 15px 20px;
    font-size: 0.8em;
    line-height: 1.2em;
    height: 200px;
    background: #000;
    color: #fff;

    a {
        color: #fff;
    }
}

.carousel-image {
    max-width: 100%;
    aspect-ratio: 5 / 3;
    margin: 0 auto;
}

/* 앱 다운로드 레이어 */
.store-layer {
    position: fixed;
    bottom: 80px;
    width: 100%;
    padding: 12px 16px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    box-sizing: border-box;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.header-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.close-button {
    width: 40px;
    height: 40px;
    background: url('/img/icon/close.png') no-repeat center;
    background-size: 30px 30px;
    cursor: pointer;
}

.store-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.store-button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.store-button.ios {
    background-color: #000000;
}

.store-button.android {
    background-color: #34A853;
}

.store-button:hover {
    opacity: 0.85;
}

@media (max-width: 480px) {
    .store-buttons {
        flex-direction: column;
    }

    .store-header {
        flex-direction: row;
    }
}

/* 앱 다운로드 레이어 */