@import url(reset.css);
@import url(font.css);
@import url(common.css);

/* ===== 브랜드 상단 헤더(로고 영역) 컬러 적용 =====
   - 하단 nav(홈/결제하기 등)는 그대로 두기 위해 header 영역만 스타일링
*/
/* section0 - visual 영역 (video) */
#section0 {
    padding: 0;
    overflow: hidden;
    position: relative; /* 비디오 배경을 위한 상대 위치 */
}
#section0 h1{
    font-size: 3rem;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

#section0 .bg {
    width: 100%;
    height: 65rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    color: #fff;
    position: relative; /* 텍스트와 버튼이 비디오 위에 배치되도록 함 */
    z-index: 10; /* 컨텐츠가 비디오 위에 나타나도록 설정 */
    background: linear-gradient(to bottom right, #1866ff 0%, #e0a6ff 100%);
    
    /* #030f49 0%, #003f82 40%, #4ca2b5 60%, #ffd27f 85%, #fdd124 100% ); 그라디언트 유지 */
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5); 
}
#section0 .bg > * {
    opacity: 1; /* 모든 내부 요소는 보이도록 함 */
}
#section0 .bg p {
    font-size: 1.8rem;
    line-height: 2.4rem;
    text-align: center;
}
#section0 .bg p strong {
    color: #ffc24a;
}
/* 비디오를 배경으로 넣기 위한 스타일 */
#section0 .bg_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 비디오가 그라디언트 뒤에 오도록 설정 */
    overflow: hidden;
}
#section0 .bg_box .img_wrap {
    width: 100%;
    height: 100%;
    position: relative;
}
#section0 .bg_box .img_wrap .dim {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    /* background-color: rgba(9, 22, 255, 0.3);  */
}
#section0 .bg_box .img_wrap > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* 비디오가 텍스트와 버튼보다 뒤에 오도록 설정 */
    opacity: 0.12; /* 비디오를 반투명하게 설정 */
}
.floating-button {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    min-width: 18rem;
    height: 4.8rem;
    background-color:#ffc24a;
    color: #00205C;
    border: none;
    border-radius: 1rem;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
    margin-top: 30px;
    cursor: pointer;
}
button.floating-button:hover {
    background-color: #2476fd;
    color: #FFF;
}

/* main) section1 */
#section1>*{opacity: 0;}
#section1{
    row-gap: 3rem;
    background-color: #fff;
}
#section1 h1 {
    font-size:3rem;
    line-height: 1.3;
    color: #00205C;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: normal;
}
#section1 h2 {
    color: #666;
}
#section_process {
    background: #000;
    color: #fff;
    padding: 8.8rem 7% 9.6rem;
}
#section_process > * {
    opacity: 0;
}
#section_process .section-process-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}
#section_process h1 {
    margin: 0;
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.25;
}
#section_process h2 {
    margin: 1.4rem 0 3rem;
    color: #fff;
    font-size: 2.1rem;
    font-weight: 700;
}
#section_process .process-subtitle {
    margin-top: 5.2rem;
}
#section_process .process-carousel {
    overflow: hidden;
}
#section_process .process-track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
#section_process .process-track-wrap::-webkit-scrollbar {
    display: none;
}
#section_process .process-track {
    display: flex;
    gap: 1.6rem;
    width: max-content;
    padding-right: 1.6rem;
}
#section_process .process-card {
    flex: 0 0 clamp(300px, 34vw, 540px);
    scroll-snap-align: start;
}
#section_process .process-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2.4rem;
    display: block;
}
#section_process .process-card h3 {
    margin: 1.4rem 0 0.8rem;
    color: #fff;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.35;
}
#section_process .process-card p {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 550;
    line-height: 1.5;
    word-break: keep-all;
}
#section_process .process-controls {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
#section_process .process-arrows {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
#section_process .process-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: #1f1f22;
    color: #fff;
    position: relative;
    cursor: pointer;
    transition: background-color 0.25s ease, opacity 0.25s ease;
}
#section_process .process-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
#section_process .process-prev::before {
    transform: translate(-42%, -50%) rotate(-135deg);
}
#section_process .process-next::before {
    transform: translate(-58%, -50%) rotate(45deg);
}
#section_process .process-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}
#section_process .process-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
}
#section_process .process-link {
    border: none;
    background: transparent;
    color: #7d7d82;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    text-align: left;
    padding: 0;
}
#section_process .process-link.is-active {
    color: #fff;
    font-weight: 700;
}
#section2 .detailer-compare{
    width: 100%;
    max-width: 920px;
    margin: 30px auto 0;
    text-align: center;
}
#section2 .process_section{
    text-align: center;
}
#section2 .process_section p{
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #00205C;
}
#section2 .detailer-compare h3{
    margin: 0 0 1.2rem;
    line-height: 1.3;
    color: #666;
    font-size: 2.4rem;
}
#section2 .detailer-compare h3 b{
    color: #00205C;
    font-size: 2.8rem;
    font-weight: 800;
}
#section2 .detailer-compare > p{
    margin: 0 0 2.2rem;
    font-size: 1.5rem;
    line-height: 1.45;
    color: #666;
}
#section2 .compare-table{
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid #d9e1ee;
    background: #f4f6fb;
    box-shadow: none;
    --compare-head-h: 58px;
    --compare-row-h: 84px;
}
#section2 .compare-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#section2 .compare-cell{
    min-height: var(--compare-row-h);
    padding: 1.4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
    font-size: 1.6rem;
    word-break: keep-all;
}
#section2 .compare-row + .compare-row .compare-cell{
    border-top: 1px solid #dfe5f0;
}
#section2 .compare-left{
    background: #edf1f7;
    color: #667790;
    font-weight: 600;
    font-size: 1.45rem;
}
#section2 .compare-right{
    background: #ffffff;
    color: #00205C;
    font-weight: 700;
}
#section2 .compare-head{
    min-height: var(--compare-head-h);
    font-size: 1.4rem;
    font-weight: 800;
}
#section2 .compare-head-row .compare-right{
    background: #00205C;
    color: #ffffff;
}
#section2 .compare-vs{
    position: absolute;
    top: calc(var(--compare-head-h) + (var(--compare-row-h) * 1.5));
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #00205C;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
#section1 .feature-items{
    display: grid; /* 그리드 레이아웃 사용 */
    grid-template-columns: repeat(2, 1fr); /* 2개의 열로 나누기 */
    grid-template-rows: repeat(2, 1fr); /* 2개의 행으로 나누기 */
    gap: 2rem; /* 아이템들 사이의 간격 */
}
#section1 .feature-items .item {
    opacity: 0;
    display: flex;
    flex-direction: column;
    row-gap:1rem;
    padding: 3.5rem 10%;
    background-color:#fff;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
}
#section1 .feature-items .item h3 {
    margin-top:1rem;
    font-size: 1.6rem;
    color: #00205C;
    word-break: keep-all;
    overflow-wrap: normal;
}
#section1 .feature-items .item p {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: normal;
}
path {
  stroke: black;
  stroke-width: 0.5;
}

@media (max-width: 768px){
    #section_process {
        padding-top: 7.6rem;
        padding-bottom: 7.2rem;
    }
    #section_process h1 {
        font-size: 2.6rem;
    }
    #section_process h2 {
        font-size: 1.8rem;
        margin-bottom: 2.4rem;
    }
    #section_process .process-subtitle {
        margin-top: 4.2rem;
    }
    #section_process .process-track {
        gap: 1.2rem;
    }
    #section_process .process-card {
        flex: 0 0 76vw;
    }
    #section_process .process-card h3 {
        font-size: 1.6rem;
    }
    #section_process .process-card p {
        font-size: 1.35rem;
    }
    #section_process .process-controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.2rem;
    }
    #section_process .process-link {
        font-size: 1.45rem;
    }

    #section2 .detailer-compare{
        margin-top: 24px;
        padding: 3.6rem 1.6rem;
    }
    #section2 .detailer-compare h3{
        font-size: 2rem;
    }
    #section2 .detailer-compare > p{
        font-size: 1.5rem;
    }
    #section2 .compare-cell{
        min-height: 70px;
        font-size: 1.3rem;
        padding: 1rem 0.8rem;
    }
    #section2 .compare-head{
        min-height: 48px;
        font-size: 1.15rem;
    }
    #section2 .compare-vs{
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    #section2 .compare-table{
        --compare-head-h: 48px;
        --compare-row-h: 70px;
    }
}

/* main) section2 */
#section2{
    margin-top:0;
    background-color:#f5f5f7;
}
#section2 > *{opacity: 0;}
#section2 > div{
    background-color:rgba(255,255,255,0.5);
    border-radius:2rem;
    margin-top:30px;
    padding:5rem 2rem;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
}
#section2 h2{
    line-height: 1.3;
    text-align: center;
    color:#666;
    font-size:2.4rem;
}
#section2 h2 b{
    color:#00205C;
    font-size:2.8rem
}
#section2 .contents{
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
}
#section2 .contents .item{
    display:flex;
    flex-direction: column; 
    align-items: center;
    justify-content: end;
    row-gap:10px;
}
#section2 .contents .item p{
    font-size:1.4rem;
    color:#777;
    line-height: 1.4;
}
#section2 .contents .item p strong{
    font-size:1.4rem;
    color:#00205C;
}
#section2 .contents .item p span{
    color:#00a7e9;
}
#section2 .contents .item ul{
    margin-bottom:2rem;
}
#section2 .contents .item ul li{
    font-size:1.3em;
    margin-top:1rem;
    display:flex;
    align-items: center;
    column-gap:0.5rem;
}
#section2 .imgbox {
    width: 75%;
    margin-top:4rem;
}
#section2 .imgbox img{
    width:100%;
}

.sticky:hover {
    background: linear-gradient(180deg, rgba(0,32,92,0.17) 0%, rgba(0,32,92,0.10) 100%);
    color: #00205C;

}
.sticky {
    position: fixed;
    bottom: 9rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem); /* 좌우 여백을 더 주기 위해 너비를 줄임 */
    max-width: 600px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.3rem 2rem; /* 상하 1.3rem, 좌우 2rem 여백 */
    background: linear-gradient(180deg, rgba(255,255,255,0.54) 0%, rgba(255,255,255,0.31) 100%);
    border-radius: 1rem;
    border: none;
    font-size: 1.8em;
    font-weight: bold;
    color: #00205C;
    transition: opacity 0.3s ease;
    box-shadow: 0 14px 32px rgba(0, 15, 40, 0.2);
    cursor: pointer;
    opacity: 0;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
}

/* footer 위에서는 가독성을 위해 배경 투명도를 낮춘 고대비 모드 */
.sticky.sticky-on-footer {
    color: #00205C;
    box-shadow: 0 16px 34px rgba(0, 15, 40, 0.26);
}
.sticky.sticky-on-footer:active {
    color: #ffffff;
}
.sticky.sticky-on-footer:hover {
    color: #ffffff;
}
@media (min-width: 450px){
    #section2 .contents .item p{
        font-size: 1.6rem;
    }
    #section2 .contents .item ul{
        background: #e8f3f8;
        padding:1rem 2rem 2rem;
        border-radius: 1.5rem;
    }
    #section2 .contents .item ul li{
        font-size:1.4em;
        margin-top:1rem;
        display:flex;
        align-items: center;
        column-gap:1rem;
    }
} 
/* 데스크탑 환경에서의 여백 조정 */
@media (min-width: 601px) {
    .sticky {
        max-width: 500px; /* 최대 너비 600px 유지 */
        padding: 1.3rem 20rem; /* 좌우 여백을 더 넓게 조정 */
        bottom: 10rem;
    }
}

/* main) best reviews (home) */
#best_reviews{
    padding: 7rem 7%;
    background-color:#f5f5f7;
}
#best_reviews .best-review-wrap{
    width:100%;
    max-width:1100px;
    margin:0 auto;
    padding:0;
}
#best_reviews .best-review-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:1.6rem;
    margin-bottom:1.8rem;
}
#best_reviews .best-review-head h2{
    margin:0;
    font-size:3.4rem;
    line-height:1.15;
    letter-spacing:-0.05rem;
    color:#00205C;
}
#best_reviews .best-review-head a{
    text-decoration:none;
    color:#00205C;
    font-size:1.8rem;
}

/* marquee */
#best_reviews .best-review-marquee{
    position:relative;
    overflow:hidden;
    border-radius:1.8rem;
}
#best_reviews .best-review-track{
    display:flex;
    gap:1.8rem;
    width:max-content;
    animation: bestReviewMarquee 28s linear infinite;
    will-change: transform;
}
#best_reviews .best-review-track:hover{
    animation-play-state: paused;
}

#best_reviews .best-review-card{
    background-color:rgba(255,255,255,0.5);
    border-radius:1.8rem;
    padding:2.8rem 2.2rem;
    width:46rem;
    min-height:36rem;
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.08);
}
#best_reviews .best-review-avatar{
    width:12rem;
    height:12rem;
    border-radius:999px;
    overflow:hidden;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1.2rem;
}
#best_reviews .best-review-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}
#best_reviews .best-review-name{
    font-size:1.8rem;
    color:#444;
    margin:0.6rem 0 0.6rem;
}
#best_reviews .best-review-stars{
    font-size:1.8rem;
    letter-spacing:0.1rem;
    margin:0.2rem 0 1rem;
}
#best_reviews .best-review-content{
    margin:0;
    font-size:2.2rem;
    line-height:1.45;
    font-weight:600;
    color:#111;
    word-break:break-word;
    white-space:pre-wrap;
}
#best_reviews .best-review-date{
    margin-top:1rem;
    font-size:1.3rem;
    color:#666;
}

/* fade edges */
#best_reviews .best-review-marquee:before,
#best_reviews .best-review-marquee:after{
    content:"";
    position:absolute;
    top:0;
    width:4.8rem;
    height:100%;
    z-index:2;
    pointer-events:none;
}
#best_reviews .best-review-marquee:before{
    left:0;
    background: linear-gradient(90deg, #f5f5f7 0%, rgba(245,245,247,0) 100%);
}
#best_reviews .best-review-marquee:after{
    right:0;
    background: linear-gradient(270deg, #f5f5f7 0%, rgba(245,245,247,0) 100%);
}

@keyframes bestReviewMarquee{
    0%{transform: translateX(0);}
    100%{transform: translateX(-50%);}
}

@media (max-width:820px){
    #best_reviews{padding: 5rem 7%;}
    #best_reviews .best-review-head h2{font-size:2.6rem;}
    #best_reviews .best-review-card{
        width:78vw;
        min-height:0;
        padding:2.2rem 1.8rem;
    }
    #best_reviews .best-review-content{font-size:1.8rem;}
    #best_reviews .best-review-track{animation-duration:22s;}
}

/* main) how_to_use */
#how_to_use > *{
    opacity: 0;
}
#how_to_use{
    padding-top: 7rem;
    background-color: #fff;
}
#how_to_use h2{
    text-align: center;
    color: #00205C;
}
#how_to_use .step-wrap{
    display: flex;
    flex-direction: column;
    margin-top: 8rem;
    row-gap: 4rem;
}
#how_to_use .box{
    opacity: 0;
    position: relative;
    width: 100%;
    padding: 3.5rem;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}
#how_to_use .box:after{
    content: "STEP01";
    display: block;
    position: absolute;
    top: -1rem;
    left: 50%;
    padding: 0.5rem 1.5rem;
    color: #fff;
    background-color: #00a7e9;
    font-size: 1.4rem;
    border-radius: 2rem;
    transform: translateX(-50%);
}
#how_to_use .box:nth-of-type(2):after{
    content: "STEP02";
}
#how_to_use .box:nth-of-type(3):after{
    content: "STEP03";
}
#how_to_use .box .txtbox{
    display: flex;
    justify-content: space-between;
}
#how_to_use .box .tit{
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
    color: #00205C;
}
#how_to_use .box .txtbox .detail{
    font-size: 1.5rem;
    color: #4d5f80;
    line-height: 1.4;
}
#how_to_use .box .ico{
    margin-top: 2rem;
    display: flex;
}
#how_to_use .business-name{
    margin-top: 14rem;
    font-size: 2.2rem;
    font-weight: 600;
    color: #00205C;
}

@media screen and (min-width:500px){
    #how_to_use .step-wrap{
        flex-direction: row;
        justify-content: space-between;
    }
    #how_to_use .box{
        width: calc(100% / 3 - 20px);
        padding: 3rem 1.5rem;
    }
    #how_to_use .box .txtbox{
        flex-direction: column;
        height: 15rem;
        justify-content: space-between;
    }
    #how_to_use .box .txtbox .ico{
        justify-content: end;
    }
}

/* main) section3 */
#section3 > *{opacity: 0;}
#section3{
    padding-top: 7rem;
    background-color: #fff;
}
#section3 .chemical-intro{
    background-color: #fff;
    border-radius: 2rem;
    padding: 4.4rem 2.4rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}
#section3 .chemical-intro h2{
    text-align: center;
    font-size: 3.2rem;
    line-height: 1.3;
    color: #00205C;
    margin: 0;
}
#section3 .chemical-intro h2 b{
    color: #00205C;
}
#section3 .chemical-intro p{
    margin: 2.2rem auto 0;
    max-width: 920px;
    text-align: center;
    font-size: 1.7rem;
    line-height: 1.7;
    color: #324b76;
    word-break: keep-all;
}
#section3 .chemical-logos{
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    align-items: center;
}
#section3 .chemical-logos img{
    width: 100%;
    max-height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 768px){
    #section3 .chemical-intro{
        padding: 3.2rem 1.6rem;
    }
    #section3 .chemical-intro h2{
        font-size: 2.5rem;
    }
    #section3 .chemical-intro p{
        font-size: 1.5rem;
        line-height: 1.6;
    }
    #section3 .chemical-logos{
        gap: 1.2rem;
    }
    #section3 .chemical-logos img{
        max-height: 52px;
    }
}

/* modal - 로그인 &회원가입  */
#myModal{display: none;}
.modal{
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    row-gap: 2.5rem;
    width: 90%;
    height: 40vh;  /*#60vh*/
    border-radius: 1.5rem;
    background-color: #fff;
    justify-content: center;
}
.modal-content .logo{
    text-align: left;
}
.modal-content p{
    text-align: left;
    font-size: 2.2rem;
    line-height: 2.8rem;
    font-weight: bold;
}
/* .modal-content hr{
    margin-top: 1rem;
} */
.close{
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2.8rem;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #333;
}

.kakao-login-button {
    /* margin-top: 1em; */
    background-color: #FEE500;
    color: #3C1E1E;
    width: 100%;
    padding:0.8rem 0;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-family: 'Pretendard-Regular', sans-serif;
    box-shadow: 0 0 7px rgba(0,0,0,0.2);
}
.kakao-login-button img{
    width: 3rem;
}
.sns_login{
    display: flex;
    justify-content: space-around;
}

#purchase h2{
  margin: 18px 0 12px !important;
  padding: 0 6px !important;
  line-height: 1.25;
  color: #00205C;
}
#purchase #car_number{
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 14px 14px 12px 12px;
    font-size: 16px;
    outline: none;
    margin-top: 0 !important;     /* 전역 margin-top 제거 (패널 안 위치 흔들림 원인) */
    line-height: normal !important;/* 전역 line-height:5rem 제거 (텍스트 위치 고정 원인) */
    background: transparent;              /* 박스 제거 */
    border: none;                         /* 기존 테두리 제거 */
    border-bottom: 2px solid #ffffff;     /* 하얀색 밑줄만 */
    color: #ffffff;                      /* 입력 텍스트 색상 */
    border-radius: 0;                     /* 밑줄 모서리 둥글림 제거 */
    /* border-radius: 16px; */
    /* border: 1px solid rgba(0,0,0,0.14); */
    /* background: #e5e6e9; */
}

#purchase #car_number::placeholder{
    color: rgba(255,255,255,0.8);     /* 예) 12가3456 텍스트 흰색 */
}

#purchase #car_lookup_status{
    color: #ffffff;
}
#purchase #car_panel .car-input-row{
    display: grid;
    grid-template-columns: 1fr 116px; /* 입력칸은 유지, 버튼만 가로폭 확보 */
    gap: 10px;
    align-items: center;
    width: 100%;
    grid-auto-flow: column;
}

#purchase #car_lookup_btn{
    width: 116px;
    min-width: 116px;
    height: 50px;
    white-space: nowrap;

    background: #00205C !important;
    color: #FFF !important;

    border: none;
    border-radius: 16px;
    box-shadow: none !important;      /* shading 제거 */
    text-shadow: none !important;
    background-image: none !important;
    outline: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin: 0;
}
/* =========================
   선택된 차량 정보 영역
========================= */

#car_lookup_result{
    margin-top: 10px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 14px 14px;
    border: 1px solid rgba(0,0,0,0.08);
}
/* car lookup result: hidden by default, shown after model selection */
#car_lookup_result.hidden {
    display: none;
}

/* "선택된 차량" 제목 */
#car_lookup_result .car-result-title{
    font-size: 18px;          /* ← 타이틀 크기 */
    font-weight: 800;
    color: #00205C;           /* ← 타이틀 색상 */
    margin-bottom: 12px;
}

/* 제조사/모델/차종 그리드 */
#car_lookup_result .car-result-grid{
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px 12px;
}

/* 왼쪽 라벨 (제조사/모델/차종) */
#car_lookup_result .car-result-label{
    font-size: 14px;          /* ← 라벨 텍스트 크기 */
    font-weight: 700;
    color: #6B7280;           /* ← 회색톤 */
}

/* 오른쪽 값 (닛산 / GT-R / 대형차) */
#car_lookup_result .car-result-value{
    font-size: 15px;          /* ← 실제 값 크기 */
    font-weight: 800;
    color: #00205C;           /* ← 진한 텍스트 */
}
#purchase #car_lookup_btn:hover,
#purchase #car_lookup_btn:active,
#purchase #car_lookup_btn:focus{
    background: #FFC24A !important;
    color: #00205C !important; /* hover/클릭 시에도 검정 */
    box-shadow: none !important;
}
#purchase{background-color:var(--sky); padding-bottom: 120px;}
.ott_item{
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap:2rem;
    width: 100%;
    height: auto;
    margin-top:2rem;
    padding:3rem;
    background-color:#00205C;
    border-radius: 3rem;
}
/*  =========================
    제조사 선택 - 카드형 UI (페이지 전체 스크롤)
    - 검색 패널은 Navy 유지, 작게
    - 카드 배경은 흰색, 아이콘은 회색
    ========================= */
#make_select .make-panel{
    background: #00205C;
    border-radius: 16px;
    padding: 8px 12px;
    width: 100%;
}
/* 비활성(차량번호 입력 단계)에서는 패널/그리드 숨김 */
#make_select.step-disabled .make-panel,
#make_select.step-disabled .make-grid{
    display: none;
}
#make_select.step-disabled h2{
    padding-top: 10px !important;
    padding-bottom: 15px !important;

}

/* 검색 영역 */
#make_select .make-search-row{
    display: block;
    width: 100%;
}

#make_select #make_search{
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 12px 12px 10px 10px;
    font-size: 16px;
    outline: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 0;                     /* 밑줄 모서리 둥글림 제거 */
}

#make_select #make_search::placeholder{
    color: rgba(255,255,255,0.8);
}

#make_select #make_search_clear{
    width: 96px;
    min-width: 96px;
    height: 46px;
    white-space: nowrap;
    background: #00205C;
    color: #FFF;
    border: none;
    border-radius: 16px;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    outline: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin: 0;
}

#make_select #make_search_clear:hover,
#make_select #make_search_clear:active,
#make_select #make_search_clear:focus{
    background: #FFC24A;
    color: #00205C;
    box-shadow: none !important;
}

#make_select .make-grid{
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

#make_select .make-card{
    background: #f2f3f5;
    border: 1px solid #f2f3f5;
    border-radius: 14px;
    padding: 16px 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#make_select .make-card:hover{
    border-color: #cfcfcf;
}

#make_select .make-card.active{
    border-color: var(--main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#make_select .make-card-inner{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

#make_select .make-logo{
    height: 24px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#make_select .make-logo img{
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 100%;
}

#make_select .make-logo-fallback{
    width: 36px;
    height: 24px;
    border: 1px dashed #cfcfcf;
    border-radius: 6px;
}

#make_select .make-label{
    font-size: 1.3rem;
    line-height: 1.7rem;
    color: #00205C;
}

/* =========================
   모델 선택 - 패널 + 버튼 스타일
   - 버튼은 유지하되, 긴 모델명은 2줄까지 허용
========================= */
#model_select .model-panel{
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* 모델 버튼: 한 줄에 2개 */
#model_select ul.car_item{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* 비활성(차량번호 입력 단계)에서는 기존처럼 작게 */
#model_select.step-disabled .model-panel{
    padding: 2px;
    background: transparent;
}
#model_select.step-disabled ul.car_item{
    display: none;
}

/* 기본 버튼 색상: E5E6E9 */
#model_select ul.car_item li{
    background: #f2f3f5 !important;
    color: #111;
    box-shadow: none !important;
    border: 1px solid #f2f3f5 !important;
    border-radius: 14px !important;

    /* 버튼 크기 고정(텍스트 때문에 커지지 않도록) */
    padding: 10px 10px !important;
    height: 40px !important;
    overflow: hidden !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
}

/* 선택 시: FFC24A */
#model_select ul.car_item li.active{
    background: #f2f3f5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    border-color: var(--main) !important;
}
#model_select ul.car_item li.active span{
    color: #111 !important;
}

/* 모델명: 2줄까지 허용(버튼 크기 고정), 필요 시 JS가 폰트만 줄임 */
#model_select ul.car_item li span{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;

    font-size: 16px;
    line-height: 1.15;
    max-width: 100%;
}
/* .ott_item::after{
    content: url(../image/arrow-down.png);
    position: absolute;
    top:100%;
    left:50%;
    transform: translateX(-50%);
} */
.ott_item li{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    width: 100%;
    margin:0 auto;
    padding: 1.5rem;
    font-size:2rem;
    background-color:#fff;
    border-radius:2rem;
    box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
}
.ott_item .single_wash.on{
    background:#FFC24A;
    color:#00205C;
    transform: scale(1.05);
    transition: 0.3s;
}
.ott_item .monthly_2.on{
    background:#FFC24A;
    color:#00205C;
    transform: scale(1.05);
    transition: 0.3s;
}
.ott_item .monthly_4.on{
    background:#FFC24A;
    color:#00205C;
    transform: scale(1.05);
    transition: 0.3s;
}
.ott_item .set.on{
    background: #00205C;
    color:#fff;
    transform: scale(1.05);
    transition: 0.3s;
}
.ott_item li img{
    width: 4rem;
    height: 3rem;
    object-fit: contain;
}
/* 반응형 설정 - 모바일 환경에서 요금제 기간 텍스트 크기 조절 */
@media (max-width: 390px) {
    #total_price .price span:first-child {
        font-size: 1.2rem; /* 긴 텍스트에 맞춰 글자 크기를 줄임 */
        white-space: nowrap; /* 줄바꿈 없이 한 줄로 출력 */

    }
}

#wash_type_select{display: none;}
#wash_type_select h2{margin-top:7rem;}
/* #wash_type_select ul{
    display: flex;
    justify-content: space-between;
    column-gap: 1rem;
}
#wash_type_select ul li{
    flex:1;
    padding:1.5rem;
    margin-top:2rem;
    background-color:#fff;
    border-radius: 20px;
    box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
    font-size: 1.43rem;
    font-weight: bold;
    text-align: center;
} */
 /* 수정된 버전 */
#wash_type_select ul{
    display: flex;
    flex-direction: column;   /* 세로 정렬 */
    row-gap: 1rem;            /* 아이템 간 간격 */
}

#wash_type_select ul li{
    flex: 0 0 auto;           /* 높이만 내용만큼 */
    width: 100%;              /* 한 줄 전체 사용 */
    padding:1.5rem;
    margin-top:1rem;
    background-color:#fff;
    border-radius: 20px;
    box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
    font-size: 1.43rem;
    font-weight: 700;
    text-align: center;
}
/* @media (max-width: 768px) { /* 모바일 화면을 기준으로 */
    /* #wash_type_select ul {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    #wash_type_select ul li {
        flex: 0 0 48%; /* 한 줄에 두 개씩 배치되도록 설정 */
        /* margin-bottom: 1rem; /* 아래쪽 간격 추가 */
    /* } */ 
/* } */ 
#wash_type_select ul li span{
    color: var(--main);
}
#wash_type_select ul li.active{
    background-color:var(--main);
}
#wash_type_select ul li.active .plan_period,
#wash_type_select ul li.active .plan_discount{
    color:#fff !important;
}
#wash_type_select ul li.active .plan_price strong{
    color: #FFC24A;
}
#wash_type_select ul li span{
    margin: 0;
    line-height: 1;
}
#wash_type_select ul li img{
    width: 2.4rem;         /* 티켓 아이콘 크기 업 */
}
#wash_type_select ul li strong{
    font-size:2.1rem;
    color:#2476fd;
    margin-top:0;          /* 가격 수직 밀림 제거 */
    display: inline-block;
    line-height: 1;        /* 중앙 정렬 보정 */
}
/* purchase1: plan_price strong 보정 */
#wash_type_select ul li .plan_price strong{
    margin-top: 0;
    line-height: 1;
}
/* purchase1: 보조 텍스트 가독성 업 */
#wash_type_select ul li .plan_period{
    font-size:2.1rem;      /* 가격과 동일 */
    font-weight:600;
}
#wash_type_select ul li .plan_discount{
    font-size:1.5rem;
    font-weight:700;
    color:#FF6060;
    white-space: nowrap;
    justify-self: end;
}

/* 모바일에서 좌측 컬럼 정렬: 티켓 아이콘 기준으로 가격도 좌측 정렬 */
#wash_type_select ul li .plan_tl{
    justify-self: start !important;
    text-align: left !important;
}

/* purchase1.html 인라인 스타일보다 우선 적용 (모바일 레이아웃/간격 보정) */
#wash_type_select ul li .plan_row{
    gap: 10px 12px !important; /* 모바일에서 위/아래 간격 확대 */
}
@media (max-width: 768px){
    #wash_type_select ul li .plan_row{
        grid-template-columns: max-content 1fr !important; /* 좌측은 내용만큼, 우측은 나머지 */
    }
}
.ticket_icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  object-fit: contain;
}
#total_price{
    display: none;
    background-color:#fff;
}
#total_price h2 span{
    position: relative;
    font-size: 1.4rem;
    color: cornflowerblue;
}

#total_price .price{
    display: flex;
    margin-top:2rem;
    column-gap: 2rem;
    align-items: center;
    font-size: 1.4rem;
    font-weight: bold;
}

button {
    cursor: pointer;
}

#total_price .price span:first-of-type{
    flex:1;
    padding:0.3rem 1.5rem;
    background-color:var(--main);
    color:#FFC24A;;
    text-align: center;
    border-radius: 2rem;
    box-shadow:0 0 5px rgba(0, 0, 0, 0.3);

}
#total_price .price_line{
    flex:5;
    display: inline-block;
    height: 0.2rem;
    border-top:2px dashed var(--main);
}
#total_price p{
    margin-top:2rem;
    font-size: 2rem;
    text-align: right;
}
#total_price p span{
    color:var(--main);
    font-weight: bold;
}

/* purchase2 - 구매하기 (이용권 정보) */

.hidden-content {
    display: none;
}

#goods{padding-bottom:2rem;}
.goods_card{
    width: 100%;
    padding:2rem;
    margin-top:2rem;
    border-radius: 1.5rem;
    background: linear-gradient(327deg, rgba(229,168,255,1) 0%, rgba(24,101,255,1) 66%);
    color:#fff;
    box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
}
.pur_header{
    display: flex;
    justify-content: space-between;
    border-bottom:2px dashed #fff;
    align-items: flex-start;
}
.purchase-confirm-page .pur_header{
    border-bottom: none;
}
.pur_header img{
    width: 5rem;
    height: 3rem;
    object-fit: contain;
}
.pur_header .make_logo{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;  /* 우측 끝으로 */
    padding-left: 0;    /* 여백 제거 */
    margin-top: -4px; 
}
.pur_header .make_logo img{
    width: 10.5rem;
    height: 8rem;
    object-fit: contain;
}
.youtube .pur_header img{
    width: 3rem;
}
.product_name{
    display: flex;
    flex-direction: column;
    column-gap: 1.5rem;
    font-size:1.5rem;
}
.product_name p:nth-of-type(2){
    display: flex;
    align-items: center;
    column-gap: 0.3rem;

}
.product_name .ticket_line{
    display: flex;
    align-items: center;
    column-gap: 0.3rem;
}
.product_name img{
    width: 1.6rem;
}
.pur_breakdown ul{
    display: flex;
    padding:1rem 0;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.5rem;
}
.pur_breakdown ul li{
    display: flex;
    justify-content: space-between;

}
#goods ul.notice{
    display: flex;
    flex-direction: column;
    row-gap:1rem;
    padding:0 1rem;
}
#goods ul.notice li{
    position: relative;
    font-size: 1.3rem;
    color:#555;
    text-align: left;
    line-height: 1.8rem;
}

.recommed_area {
    position: relative;
    font-size: 1.3rem;
    color:#555;
    text-align: left;
    line-height: 1.8rem; 
}

#goods ul.notice li:before{
    content:'-';
    position: absolute;
    top:0;
    right: 101%;
    color:inherit;
}
#buyer_info {padding-bottom:3rem;}
#buyer_info h2{
    margin:3rem 0 2rem;
}
#buyer_info h2 a{
    display:inline-block;
    width: 7rem;
    height: 2.5rem;
    font-size: 1.3rem;
    border: 1px solid #ddd;
    border-radius: 0.8rem;
    color:var(--main);
    text-align: center;
    line-height: 2.5rem;
    margin-left:0.6rem;
}

#youtube_email {padding-bottom:3rem;}
#youtube_email  h2{
    margin:0rem 0 2rem;
}

#youtube_email h2 a{
    display:inline-block;
    width: 7rem;
    height: 2.5rem;
    font-size: 1.3rem;
    border: 1px solid #ddd;
    border-radius: 0.8rem;
    color:var(--main);
    text-align: center;
    line-height: 2.5rem;
    margin-left:0.6rem;
}
.blue_txt{
    color:var(--main);
    font-size: 1.4rem;
    line-height: 2rem;
}
/* 기존 .info_card 스타일 유지 */
.info_card {
    width: 100%;
    margin: 2rem 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 1.5rem;
}
.info_card div {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center; /* 수직 가운데 정렬 */
    column-gap: 2rem;
    padding: 1.6rem 5rem;
    font-size: 1.6rem;
}
.info_card div:not(:last-child):after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 81%;
    height: 0.1rem;
    background-color: #ddd;
    transform: translateX(-50%);
}

/* 초고해상도 아이콘(예: 4000x4000) 교체 시에도 입력폼 아이콘 크기 고정 */
.info_card img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* purchase_confirm - 구매자정보 입력란을 제조사 검색 스타일(남색+흰 밑줄)로 통일 */
#buyer_info .info_card{
    background: #00205C;
    border-radius: 16px;
    box-shadow: none;
    margin: 1.2rem 0;
}
#buyer_info .info_card .buyer_row{
    padding: 10px 16px;
    column-gap: 12px;
    display: flex;
    align-items: center;
}
#buyer_info .info_card .buyer_row + .buyer_row{
    border-top: none;
}
#buyer_info .info_card .name,
#buyer_info .info_card .call{
    flex: 1;
}
#buyer_info .info_card div:not(:last-child):after{
    display: none;
}
#buyer_info .info_card input[type="text"]{
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0 8px 0 6px;
    line-height: 40px;
    font-size: 16px;
    outline: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 0;
    transform: translateY(-7px);
}
#buyer_info .info_card input[type="text"]::placeholder{
    color: rgba(255,255,255,0.8);
}
#buyer_info .info_card input[type="text"]:focus{
    border-bottom-color: #FFC24A;
}
#buyer_info .info_card img.icon-name{
    width: 24px;
    height: 24px;
}
#buyer_info .info_card img.icon-call{
    width: 21px;
    height: 21px;
}

 /* 모바일 화면에 대한 이미지 크기 조절 */
@media screen and (max-width: 600px) {
    .info_card img {
        height: 24px; /* 이미지 크기 조정 */
        width: auto; /* 비율에 맞게 조정 */
    }

    .info_card div {
        padding: 1rem 2rem; /* 모바일 패딩 조정 */
        font-size: 1.4rem; /* 폰트 크기 조정 */
        align-items: center; /* 수직 가운데 정렬 */
    }

    /* 인풋 박스 높이에 맞추어 이미지 크기 설정 */
    .info_card input {
        height: 30px; /* 인풋 높이와 동일하게 설정 */
        margin: 0 5px; /* 입력 필드에 약간의 여백 추가 */
    }
}

/*  .info_card .mail_list{display: none;} */
#payment h2{margin-bottom:2rem;}
select#bank, input[type="text"]{
    width: 100%;
    height: 5rem;
    padding:1.3rem;
    margin-top:1rem;
    font-size:1.6rem;
    border:2px solid #ddd;
    border-radius: 0.5rem;
    line-height: 5rem;
}


input[type="checkbox"] {
    transform: scale(1.3); /* 1.5배로 체크박스 크기를 키움 */
    -webkit-transform: scale(1.3); /* Safari 브라우저를 위한 코드 */
    -moz-transform: scale(1.3); /* Firefox 브라우저를 위한 코드 */
    -ms-transform: scale(1.3); /* IE 브라우저를 위한 코드 */
    -o-transform: scale(1.3); /* 구형 Opera 브라우저를 위한 코드 */

}
#payment .blue_txt{margin:2rem 0;}
#payment .radio_btn{
    margin-top:2rem;
}
#payment .radio_btn label{
    font-size: 1.8rem;
    padding-left:1rem;
}
#payment .check_btn{
    margin-top:2rem;
}
#payment .check_btn label{
    padding-left: 1rem;;
    font-size:1.6rem;
}
.receipt_area{
    padding-left:2.5rem;
}

.recommed_area{
    padding-left:2.5rem;
}

/* purchase_confirm - 할인코드 패널을 purchase_new 차량번호 패널 느낌으로 */
#payment .discount_panel{
    padding-left: 0;
    background: #00205C;
    border-radius: 16px;
    padding: 8px 12px 4px;
}
#payment .discount_panel .discount_input_row{
    display: grid;
    grid-template-columns: 1fr 116px;
    gap: 10px;
    align-items: center;
    width: 100%;
}
#payment .discount_panel .discount_code_input{
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 14px 14px 12px 10px;
    font-size: 16px;
    outline: none;
    margin-top: 0 !important;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 0;
    line-height: normal !important;
}
#payment .discount_panel .discount_code_input::placeholder{
    color: rgba(255,255,255,0.8);
}
#payment .discount_panel .discount_apply_btn{
    width: 116px;
    min-width: 116px;
    height: 50px;
    white-space: nowrap;
    background: #00205C !important;
    color: #fff !important;
    border: none;
    border-radius: 16px;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    outline: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin: 0;
}
#payment .discount_panel .discount_apply_btn:hover,
#payment .discount_panel .discount_apply_btn:active,
#payment .discount_panel .discount_apply_btn:focus{
    background: #FFC24A !important;
    color: #00205C !important;
    box-shadow: none !important;
}
#payment .discount_panel #discount_code_message{
    color: #ffffff;
}

form .agree div {
    padding-left: 2.5rem !important; /* 좌측 패딩 추가 */
}
form .btn{
    background-color: var(--main) !important;
}
#purchaseForm{
    padding-bottom: 100px;
}

/* purchase3 - 주문완료 */
#order{
    padding:0;
}
#order .order_bg{
    position: relative;
    margin-top:6rem;
    background-color: var(--sky);
    width: 100%;
    height: calc(120vh - 10rem);
}

@media screen and (max-width: 768px) {
    #order .order_bg{
    height: calc(120vh);
    }

}
#order .completed_card {
    position: absolute;
    top: -3rem;
    left: 50%;
    width: 90%;
    padding: 2rem 2rem 2rem 2rem;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    min-height: 20rem; /* 최소 높이를 설정할 수 있음 */
    height: auto; /* 높이를 자동으로 설정 */
}
#order .contents{
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap:2rem;
    padding-bottom:4rem;
    border-bottom:2px dashed #ddd;
}
#order .contents img{
    width: 6rem;
}
#order .contents p{
    font-size: 2.4rem;
    color:var(--main);
    font-weight: bold;
}
#order .contents div{
    font-size: 1.6rem;
    text-align: center;
    line-height: 2.4rem;
    letter-spacing: -0.7px;
}
#order .details {
    position: relative;
    padding:3rem 5% 1rem;
}
#order .details ul{
    display: flex;
    flex-direction: column;
    row-gap:1.5rem;
}
#order .details ul li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#order .details ul li span{
    font-size: 1.8rem;
    color:#aaa;
}
#order .details ul li em{
    padding-left:1rem;
    font-size: 1.2rem;
    font-style: normal;
}
#order .details ul li strong{
    font-size: 1.6rem;
}
#order .details ul li:nth-of-type(2) strong{color:var(--main);}
#order .details ul li:nth-of-type(4) strong{color:#FF6060;}
#order .details .bubble_talk{
    position: absolute;
    top:100%;
    left:50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 27rem;
    /* height: 5rem; */
    margin:2rem auto;
    line-height: 2.5rem;
    text-align: center;
    color:var(--main);
    font-size: 1.4rem;
    /* background: url(../image/bubbletalk.png)no-repeat center/cover; */
}
#order .details .bubble_talk span{
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    margin-right: 1rem;
    border-radius: 50%;
    border:1px solid var(--main);
    text-align: center;
}

/* 게로 */
/* 텍스트 사이의 여백을 줄이기 위한 추가 스타일 */
#order .details .bubble_talk br {
    margin: 0;
    padding: 0;
    line-height: 1.5rem; /* <br>로 인해 생기는 기본 여백을 줄이기 위해 설정 */
}

/* 마이페이지 */
#mypage h2, #mypage2 h2{
    padding-bottom:2rem;
    margin-left: 0; /* 게로 */
    border-bottom:2px solid #333;
}
#mypage .alert-copy{
    visibility: hidden;
    position: fixed;
    bottom:2rem;
    left:50%;
    transform: translateX(-50%);
    width: 10rem;
    text-align: center;
    line-height: 3rem;
    height: 3rem;
    border-radius: 2rem;
    background-color: #000;
    color:#fff;
    font-size: 1.4rem;
}
#mypage .alert-copy.show {
    visibility: visible;
    animation: fade-in 700ms, fade-out 700ms 2000ms;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fade-out {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
.goods_card.youtube{
    background: linear-gradient(150deg, rgba(255,129,11,1) 0%, rgba(255,211,67,1) 66%);
}
/* .goods_card.set{background: linear-gradient(150deg, rgba(8,173,195,1) 0%, rgba(47,60,207,1) 66%);} */
#product .product_name{
    display: block;
}
#product .product_name p{margin-bottom:1rem;}
#product .product_name div{
    display: flex;
    align-items: center;
    column-gap: 0.4rem;
    font-size: 1.4rem;
}
#product .pur_breakdown{
    padding:1rem 0;
}
#product .pur_breakdown div{
    margin-top:1.5rem;

}
#product .pur_breakdown div p{
    display: inline-flex;
    justify-content: space-between;
}
#product .pur_breakdown div p img{
    width: 1.2rem;
    object-fit: contain;
    transition: 0.3s;
    cursor: pointer;

}

#product .pur_breakdown span{
    display: inline-block;
    width: 5rem;
    font-size: 1.8rem;
}
#product .pur_breakdown p{
    display: inline-block;
    width: 80%;
    padding:1rem 3rem;
    background-color: #fff;
    border-radius: 3rem;
    color:#555;
    font-size: 1.6rem;
}
#product .profile{font-size: 1.6rem;;}
#payment_details{
    margin-top:5rem;
}
.payment_list>p{
    font-size: 1.4rem;
    padding:1.5rem 0;
    border-bottom:2px solid #ddd;
}
.payment_list ul li{
    display: flex;
    padding:2rem 0 2rem 3%;
    align-items: center;
    column-gap: 3rem;
    border-bottom:2px solid #ddd;

}
.payment_list ul li img{
    width: 5rem;
    height: 5rem;
}
.pay_detail p{
    font-size: 2rem;
    margin-bottom:0.7rem;
}
.pay_detail span{
    font-size: 1.4rem;
    color:#888;
}
.pay_detail .state01, .pay_detail .state02{
    background-color: var(--sky);
    border: 1px solid var(--main);
    border-radius:2rem;
    padding:0.2rem 1.5rem;
    color:var(--main);
    font-size: 1.1rem;
    margin-left:2rem;
}
.pay_detail .state02{
    background-color: #F5FFEC;
    color:#4EB500;
    border: 1px solid #4EB500;
}

/* 마이페이지 - 내역 없는 경우 */
.empty_pruduct, .empty_payment{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap:3rem;
    width: 100%;
    height: 17rem;
    border-bottom:2px solid #ddd;
    font-size: 1.6rem;
    color:#888;
}
.empty_pruduct img{
    width: 5rem;
}

/* 자주 묻는 질문 */
#qna{
    padding-bottom: 10rem;
}
#qna h2{
    margin-bottom: 2.8rem;
    word-break: keep-all;
    overflow-wrap: normal;
}
#qna h3{
    display: flex;
    align-items: center;
    font-size:1.8rem ;
    margin:4rem 0 2rem;
    word-break: keep-all;
    overflow-wrap: normal;
}
#qna h3 img{
    width: 2.5rem;
    margin-right: 1.5rem;
}
.accordion{
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 0 1rem rgba(0,0,0,0.3);
    overflow: hidden;
}
.accordion div{
    width: 100%;
}
.accordion .question{
    position: relative;
    font-size: 1.4rem;
    padding: 2rem 4.5rem;
    border-bottom:1px solid #ddd;
    color: #00205C;
    font-weight: 700;
    word-break: keep-all;
    overflow-wrap: normal;
}
.accordion .question:after{
    content:'^';
    position: absolute;
    top:50%;
    right:1.5rem;
    transform:translateY(-50%) rotate(180deg);
    border:1px solid #ddd;
    width: 2rem;
    height: 2rem;
    border-radius: 2rem;
    text-align: center;
    line-height: 2.5rem;
}
.accordion .question::before{
    content: "Q. ";
}
.accordion .answer{
    display: block;
    position: relative;
    font-size: 1.4rem;
    padding: 2rem 4.5rem;
    background-color: var(--sky);
    border-left:4px solid var(--main);
    color: #00205C;
    font-weight: 550;
    word-break: keep-all;
    overflow-wrap: normal;
}
.accordion .answer:after{
    content:'^';
    position: absolute;
    top:1rem;
    right:1.5rem;
    background-color: var(--main);
    width: 2rem;
    height: 2rem;
    border-radius: 2rem;
    text-align: center;
    line-height: 2.5rem;
    color:#fff;
}

/* QnA는 아코디언 접기 없이 항상 전체 표시 */
#qna .accordion .question:after,
#qna .accordion .answer:after{
    display: none;
}

.go-home-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7rem;  /* 버튼 위에 여백 추가 */
}

.go-home-btn .btn {
    background-color: #6ad367; /* 버튼 색상 */
    color: white;  /* 텍스트 색상 */
    padding: 12.5px; /* 상하 크기를 20px로 증가 */
    border: none;
    border-radius: 25px;  /* 둥근 모서리 */
    text-decoration: none;  /* 링크 밑줄 제거 */
    font-size: 1.6rem;
}


/* .go-home-btn .btn:hover {
    background-color: #6ad367; 
    -webkit-transition: background-color 0.3s ease; 
    transition: background-color 0.3s ease;
    } */



/* 단일인데 결합으로 하는 경우 */
/* 동의 모달 스타일 */
/* .confirm-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    
}

.confirm-modal-content {
    border-radius: 15px;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    text-align: center;

}
.confirm-modal-content > p {
    font-size: 18px;
    margin-top: 30px;
}
.btn {
    padding: 10px 20px;
    margin: 10px;
}

.btn_wrapper {
    margin-top: 4rem;
    display: flex;
    justify-content: center; 
    column-gap: 0.5rem; 
} */



@media screen and (min-width:380px){
    .pc_only{display:block;}
}

/* 440px 이상인 경우  */
@media screen and (min-width:440px){
    #section0 .bg{
        width: 100%;
        /* border-radius: 1.5rem; */
        padding:2rem;
    }
}

/* 700px 이상인 경우 = 모달  */
@media screen and (min-width:700px){
    .modal-content {
        padding: 2rem 7rem;
        width: 45em;
        height: 40vh;
    }
    .sns_login{
        justify-content: center;
        column-gap: 3rem;
    }
}



.loading {
    background-color: #ccc;
    cursor: not-allowed;
}


/* =========================
   purchase1 공통(기존 인라인 <style>에서 이동)
   - 인라인 중복 제거 / new_style.css에서만 관리
========================= */

/* NOTE: 로컬 개발/세차 상품 전환 단계에서는 상품 클릭을 막지 않습니다. */
.single_wash{
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
}

/* 월 2회/4회 옵션 리스트는 기본 숨김(스크립트로 노출) */
ul.monthly_2_price,
ul.monthly_4_price{
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

ul.monthly_2_price li,
ul.monthly_4_price li{
    display: block !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

ul.monthly_2_price li + li,
ul.monthly_4_price li + li{
    margin-top: 8px;
}

/* Step gating (차종 선택 전에는 2/3단계 비활성화) */
.step-disabled{
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.2);
}

/* 1단계: 차량번호 입력 카드 */
#car_select{margin-bottom: 18px;}
#car_select h2{margin-top: 0; margin-bottom: 12px;}
#car_panel{
    background: #00205C;
    border-radius: 18px;
    padding: 16px 14px;
}

/* 구매기간/가격 표기: 티켓/상품 + 가격만 노출 */
#wash_type_select ul li .plan_row{
    display: grid;
    align-items: center;
    width: 100%;
    padding: 8px 12px;   /* 모바일에서 티켓이 너무 좌측으로 붙는 문제 해결 */
    gap: 10px 12px;
    box-sizing: border-box;
}

#wash_type_select ul li .plan_tl{
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#wash_type_select ul li .plan_tl img.ticket_icon{
    width: 2.4rem;
    height: auto;
    flex: 0 0 auto;
}

/* 모바일/데스크탑 공통: 한 줄 */
#wash_type_select ul li .plan_row{
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "tl discount price";
}
#wash_type_select ul li .plan_tl{ grid-area: tl; }
#wash_type_select ul li .plan_discount{ grid-area: discount; }
#wash_type_select ul li .plan_price{ grid-area: price; }
#wash_type_select ul li .plan_price{ justify-self: end; }

@media (max-width: 768px){
    #wash_type_select ul li .plan_row{
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "tl discount"
            "tl price" !important;
        column-gap: 8px;
        row-gap: 1px;
        padding: 8px 10px;
    }
    #wash_type_select ul li .plan_tl{
        align-self: center;
    }
    #wash_type_select ul li .plan_discount{
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.1;
    }
    #wash_type_select ul li .plan_period{
        font-size: 1.8rem;
        white-space: nowrap;
    }
    #wash_type_select ul li .plan_price,
    #wash_type_select ul li .plan_price strong{
        white-space: nowrap;
        font-size: 1.9rem;
    }
}

/* total_price 요약 영역: 기간/가격 줄바꿈 방지 */
#total_price .price span:first-child,
#total_price .price span:last-child{
    white-space: nowrap;
}
