@charset "UTF-8";

/* Price Menu CSS */
#main {
    padding-bottom: 60px;
    background-color: #f7f5ef; /* Soft background color matching the screenshots */
}

/* Page Title Adjustment */
#main h2.headLine01 {
    margin-bottom: 40px;
    text-align: center;
}

#main .course-section {
    background-color: #f1ebd8; /* Pearl course background */
    padding: 50px 20px;
    margin-bottom: 50px;
}

#main .course-section.stain-peel {
    background-color: #eee9d1; /* Slight variation for stain peel course */
}

.course-title {
    text-align: center;
    color: #6a6a6a;
    margin-bottom: 30px;
}

.course-title h3 {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.course-title .subtitle {
    font-size: 24px;
    color: #888;
    letter-spacing: 0.2em;
}

/* Popular Badge Title */
.popular-title {
    text-align: center;
    color: #6a6a6a;
    margin-bottom: 20px;
}
.popular-title h4 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 5px;
}
.popular-title h3 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
}

.course-badge {
    background-color: #4b6a8a;
    color: #fff;
    display: inline-block;
    padding: 10px 40px;
    font-size: 24px;
    border-radius: 4px;
    border: 2px solid #3c546e;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    margin: 0 auto;
}
.course-badge::before, .course-badge::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.course-badge::before { left: 10px; }
.course-badge::after { right: 10px; }

.time-info {
    text-align: center;
    font-size: 18px;
    color: #777;
    margin-bottom: 20px;
}

/* Flex Container for Top Section of Pearl */
.pearl-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pearl-main-img {
    width: 100%;
    max-width: 400px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.pearl-main-img img {
    width: 100%;
    display: block;
}

/* Price Box */
.price-box {
    background: #fff;
    border: 2px solid #e1d5c2;
    border-radius: 10px;
    padding: 20px 30px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.price-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.price-box li {
    font-size: 22px;
    color: #555;
    margin-bottom: 10px;
}
.price-box li:last-child {
    margin-bottom: 0;
}
.price-box li .price {
    font-size: 28px;
    font-weight: bold;
    color: #8c4b53; /* Reddish price color */
}
.price-box li .tax {
    font-size: 16px;
}

/* Horizontal Price Box for Peeling */
.price-box-horizontal {
    background-color: #274463;
    color: #fff;
    text-align: center;
    padding: 15px;
    border: 2px solid #1f3650;
    margin: 30px auto 0;
    max-width: 800px;
}
.price-box-horizontal p {
    font-size: 20px;
    margin-bottom: 5px;
}
.price-box-horizontal .price {
    font-size: 28px;
    font-weight: bold;
}
.price-box-horizontal .tax {
    font-size: 14px;
}
.price-box-horizontal .note {
    font-size: 14px;
    color: #ffdcb5;
}

/* Step Flow Layout */
.step-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    background-color: #e8e2d0;
    padding: 30px;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 900px;
}

.step-container.no-bg {
    background-color: transparent;
    padding: 0;
}

.step-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.step-col-vertical {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-item {
    text-align: center;
    width: 140px;
}
.step-item img {
    width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    display: block;
    margin-bottom: 8px;
}
.step-item.small img {
    border: none;
    box-shadow: none;
}
.step-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.arrow-right {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #c35c6e;
    margin-top: 50px; /* Align with images */
}

.arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 10px 0 10px;
    border-color: #c35c6e transparent transparent transparent;
    margin: 10px 0;
}

/* Multiple choice row wrapper */
.choice-wrapper {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #c9c3b8;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.choice-or {
    font-size: 18px;
    font-weight: bold;
    color: #666;
}

/* Bottom align step - used in peeling for the bottom row */
.bottom-row-wrapper {
    display: flex;
    justify-content: flex-end; /* Align to right */
    gap: 15px;
    width: 100%;
    max-width: 900px;
    margin: 20px auto 0;
}

.row-bridge {
    text-align: right;
    width: 100%;
    max-width: 850px;
    padding-right: 150px;
}
.arrow-large {
    border-width: 20px 15px 0 15px !important;
    border-top-color: #a8475c !important;
}

/* Media Queries for SP */
@media screen and (max-width: 768px) {
    .pearl-top {
        flex-direction: column;
    }
    
    .price-box {
        width: 100%;
        max-width: 400px;
    }
    
    .course-title h3 {
        font-size: 24px;
    }
    .course-title .subtitle {
        font-size: 18px;
    }
    .popular-title h3 {
        font-size: 18px;
    }
    .course-badge {
        font-size: 18px;
        padding: 8px 30px;
    }
    
    .step-container {
        padding: 15px 0;
        gap: 10px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .step-item {
        width: 75%;
        max-width: 300px;
    }
    .step-item p {
        font-size: 16px;
    }
    .arrow-right {
        margin: 15px 0 !important;
        border-width: 15px 10px 0 10px !important;
        border-color: #c35c6e transparent transparent transparent !important;
        transform: none !important;
    }
    .choice-wrapper {
        flex-direction: column;
        padding: 15px;
    }
    .bottom-row-wrapper {
        justify-content: center;
        flex-direction: column-reverse; /* Stacks 6, then 7, then 8 visually down */
        align-items: center;
        margin: 0;
        gap: 10px;
    }
    .row-bridge {
        text-align: center;
        padding-right: 0;
    }
}
