main { 
    background-color: #fff;
}

.total_price_box {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    align-items: center;
    padding: .5em;
    font-size: 1.25em;
    background-color: #f5f5f5;
    margin-top: .5rem;
}
.total_price_box > .label {
}
main .price {
    font-weight: 600;
    color: #e8659e;
}
.double_side_box {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    row-gap: .25em;
}
.double_side_box > * {
    display: flex;
    width: 100%;
    height: auto;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
}
.double_side_box > .left {
    padding-right: .5em;
    border-right: 1px solid #e1e1e1;
}
.double_side_box > .right {
    padding-left: .5em;
    border-left: 1px solid #e1e1e1;
}
.double_side_box .label {
    color: var(--text-08);
    font-weight: 300;
}

#price_pay_box {
    display: flex;
    width: 100%;
    height: auto;
    margin-top: min(30px, max(6vw, 20px));
    flex-wrap: wrap;
    gap: .25em;
}
#price_pay_box > * {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: flex-start;
    align-items: center;
    gap: .25em;
}
#price_pay_box .attr {
    width: 6em;
    color: var(--text-08);
    font-weight: 300;
}
main .qnt_box {
    display: grid;
    width: auto;
    height: auto;
    line-height: 1em;
    grid-template-columns: 1.75em 3em 1.75em;
}
main .qnt_box > a {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    border: 1px solid #AEAEAE;
}
main .qnt_box > a > img {
    display: block;
    width: 100%;
    height: auto;
}
main .qnt_box > input {
    width: 100%;
    height: auto;
    text-align: center;
    padding: .2em 0;
    border-color: transparent;
}

.flower_order_body {
    display: block;
    width: 100%;
    height: auto;
    padding: 2em min(max(4vw, 10px), 20px);
    border-top: 5px solid var(--bg-02);
}
.flower_box {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: min(140px, max(128vw, 110px)) auto;
    gap: min(15px, max(3vw, 10px));
    padding-bottom: 1em;
    margin-bottom: .75em;
    border-bottom: 1px solid #e1e1e1;
}
.flower_box > * {
    display: block;
    width: 100%;
    height: auto;
}
.flower_box > .flower_img_box {
    aspect-ratio: 1;
    overflow: hidden;
}
.flower_box > .flower_img_box > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1.015;
}
.flower_box > .flower_desc_box {
    position: relative;
    padding: min(15px, max(3vw, 10px)) 0;
}
.flower_box .flr_name {
    display: block;
    width: 100%;
    height: auto;
    font-size: 1.25em;
    line-height: 1em;
    font-weight: 600;
    padding-bottom: 1rem;
}
.flower_box .flr_desc, .flower_box .delivery_price {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.5em;
    color: var(--text-desc);
}
.flower_box .sales_price {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1em;
    padding-bottom: min(15px, max(3vw, 10px));
}

.subtitle {
    display: block;
    width: 100%;
    height: auto;
    font-size: 1.25em;
    line-height: 1em;
    font-weight: 600;
    text-align: left;
}
.subtitle.margin_top {
    margin-top: min(40px, max(8vw, 30px));
}
.subtitle2 {
    display: block;
    font-size: 1em;
    line-height: 1em;
    padding-bottom: 1em;
    margin-top: min(30px, max(6vw, 20px));
}

.single_cols_list {
    display: flex;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}
.single_cols_list > * {
    width: 100%;
}
.single_cols_list.required::after {
    content: "*";
    display: block;
    position: absolute;
    top: .05rem;
    right: .25rem;
    font-size: 1.125em;
    color: #f74f4f;
    font-weight: 600;
    z-index: 1;
}

.check_all_box {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-input);
    font-size: 1.125em;
    padding: 1rem;
    margin-top: min(30px, max(6vw, 20px));
}

.checkbox_list {
    margin-top: 2em;
}
.checkbox_list > label, .check_all_box > label {
    gap: .5em;
}

#submit_box {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px min(max(4vw, 10px), 20px);
    position: sticky;
    bottom: 0;
}
#submit_box > input {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.125em;
    padding: .75em 0;
    text-align: center;
    border: 0;
}
#submit_box > input:hover {
    background-color: var(--primary-color-hover);
}

.select_cover label {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .35em .6em;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all .12s ease;
    min-width: 6em;
    flex: 1 1 auto;
}

/* hover effect */
.select_cover label:hover {
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(28, 47, 77, 0.06);
}

/* visual state when checked (uses :has for parent styling) */
.select_cover label:has(input:checked) {
    background: #e9f2ff;
    border-color: #2b7cff;
    color: #0b63d6;
}

.note {
    display: block;
    width: 100%;
    height: auto;
    font-size: 0.875em;
    line-height: 1.5em;
    color: var(--text-08);
}

.checkbox_list.agree_list {
    gap: 5px;
    position: relative;
    border: 1px solid var(--border-input);
    padding: 1em;
}
.checkbox_list.agree_list > a {
    position: absolute;
    right: 1em;
    top: 1em;
    width: 1.5em;
    height: 1.5em;
    z-index: 1;
}
.checkbox_list.agree_list > a > img {
    display: block;
    width: 100%;
    height: 100%;
}
.checkbox_list.agree_list > a.open {
    transform: rotate(180deg);
}
.checkbox_list.agree_list > a.close {
    transform: rotate(0deg);
}
.checkbox_list.agree_list > a:hover {
    transform: scale(1.1);
}

.select_cover.pay_choice > * {
}

.select_cover {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: left;
    gap: .5em;
    flex-wrap: nowrap;
}

.select_cover input[type="checkbox"], .select_cover input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #2b7cff;
    flex: 0 0 auto;
}

#kcp_pay_popup {
    display: block;
    position: fixed;
    width: 100%;
    max-width: 760px;
    height: 100%;
    max-height: 570px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#kcp_pay_popup > iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


@media (max-width:400px) {
    #price_pay_box .attr {
        width: 5em;
    }
    .select_cover label {
        padding: .25em .3em;
    }

}

