#calc.content {
    font-family: "Zen Old Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", "Times New Roman", serif;
    background-color: #f7f3ef;
    color: #3a342f;
    padding: 28px;
    max-width: 780px;
    margin: 0 auto;
    letter-spacing: 0.08em;
}

#calc .title {
    font-size: 1.5em;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
    color: #2a241f;
    border-bottom: 1px solid #cbbfb3;
    padding-bottom: 15px;
}

#calc .item {
    margin-bottom: 35px;
}

#calc label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #5c534c;
    font-weight: 600;
    font-family: "Helvetica Neue", Arial, "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

#calc .plan-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

#calc select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1px solid #b9ada2;
    padding: 10px 30px 10px 15px;
    font-size: 0.95em;
    color: #2a241f;
    font-family: inherit;
    border-radius: 0;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M1 3l4 4 4-4' stroke='%235c534c' stroke-width='1.2' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 140px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#calc select:focus {
    outline: none;
    border-color: #8d6e56;
    box-shadow: 0 0 0 3px rgba(141, 110, 86, 0.12);
}

#calc #selected-plan-val {
    font-size: 0.9em;
    color: #8d6e56;
    font-family: "Helvetica Neue", Arial, "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: bold;
}

#calc .slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 15px;
}

#calc .qty-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

#calc #quantity-val {
    font-size: 1.2em;
    color: #2a241f;
    font-family: "Helvetica Neue", Arial, "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 400;
}

#calc input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: #cbbfb3;
    outline: none;
    margin: 15px 0 0 0;
}

#calc input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #8d6e56;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #8d6e56;
    cursor: pointer;
    transition: transform 0.2s;
}

#calc input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

#calc input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #8d6e56;
    border: 2px solid #fff;
    cursor: pointer;
}

#calc .ticks-container {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    margin-top: 8px;
}

#calc .tick {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #4a433d;
    width: 20px;
    font-weight: 500;
    font-family: "Helvetica Neue", Arial, "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

#calc .tick::before {
    content: "";
    width: 1px;
    height: 6px;
    background-color: #8d837a;
    margin-bottom: 5px;
}

#calc .radio-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

#calc .radio-group label {
    font-weight: normal;
    margin: 0;
}

#calc .radio-group input[type="radio"] {
    display: none;
}

#calc .radio-custom {
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #b9ada2;
    font-size: 0.9em;
    color: #4a433d;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
}

#calc .radio-group input[type="radio"]:checked + .radio-custom {
    background-color: #8d6e56;
    border-color: #8d6e56;
    color: #fff;
}

#calc .radio-custom:hover {
    border-color: #8d6e56;
    color: #2a241f;
}

#calc .result {
    margin-top: 20px;
    padding: 18px 16px 16px;
    background-color: #f6f1ec;
    color: #2a241f;
    text-align: center;
    border: none;
    border-top: 1px solid #cbbfb3;
    border-bottom: 1px solid #cbbfb3;
}

#calc .result-label {
    font-size: 0.75em;
    color: #7a716a;
    margin-bottom: 4px;
    font-family: "Helvetica Neue", Arial, "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 600;
    letter-spacing: 0.14em;
}

#calc .breakdown {
    font-family: "Helvetica Neue", Arial, "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    color: #3a342f;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #cbbfb3;
}

#calc .price-display {
    font-family: "Helvetica Neue", Arial, "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 1.25em;
    color: #5c4a3d;
    font-weight: 400; 
    letter-spacing: 0.04em;
}
