.ksc-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    font-size: 15px;
    color: #333;
}


.ksc-back {
    margin-bottom: 20px;
}
.ksc-back a {
    font-size: 16px;
    color: #b17b14;
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
}
.ksc-back a:hover { color: #111; }
 

.ksc-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #ebebeb;
    transition: opacity .2s;
}
.ksc-item.is-loading { opacity: .45; pointer-events: none; }

.ksc-item-img {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    background: #f6f6f6;
    border-radius: 6px;
    overflow: hidden;
}
.ksc-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ksc-item-info {
    flex: 1;
    padding-top: 4px;
}
.ksc-item-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.4;
    margin-bottom: 8px;
	color:#666;
}
.ksc-item-vars {

	font-size: 1.125rem;
    color: #666;
}
.ksc-item-vars b{color:#000;}
.ksc-item-vars .ksc-variation { margin-right: 10px; }

.ksc-item-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.ksc-item-price {
    font-size: 19px;
    font-weight: 700;
    color: #c0392b;
}
.ksc-item-price .woocommerce-Price-amount { color: inherit; }


.ksc-qty {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    align-items: center;
}
.ksc-qty-btn {
    width: 36px;
    height: 36px;
    background: #f4f4f4;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
	margin-bottom:0px;
}
.ksc-qty-btn:hover { background: #e5e5e5; }
.ksc-qty-val {
    width: 44px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    user-select: none;
}

.ksc-remove {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #f1ba47;
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s, color .2s;
    white-space: nowrap;
    background-color: #f1ba47;
}
.ksc-remove:hover { background-color: #f1ba47; color: #fff; }


.ksc-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 15px;
}

.ksc-totals {
    padding: 18px 0;
    border-bottom: 2px solid #ddd;
}
.ksc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 20px;
    color: #1f2937;
}
.ksc-total-final {
    margin-top: 4px;
    font-size: 20px;
    color: #000;
	font-weight:700;
}
.ksc-total-row span.amount{font-weight:normal;font-size:20px;}
.ksc-total-price span.amount{
    color: #c0392b;
    font-size: 24px;
    font-weight: 700;
}


.ksc-coupon-section {
    padding: 20px 0;
    border-bottom: 2px solid #ddd;
}
.ksc-coupon-trigger {
    text-align: right;
    font-size: 18px;
    color: #b17b14;
    margin-bottom: 12px;
    font-weight: 500;
}
.ksc-coupon-row {
    display: flex;
    justify-content: flex-end;
}
.ksc-coupon-row input {
    max-width: 480px!important;
    padding: 10px 14px!important;
    border: 1px solid #ddd!important;
    border-right: none!important;
    border-radius: 4px 0 0 4px!important;
    font-size: 16px!important;
    outline: none!important;
    transition: border-color .2s!important;
	height:48px!important;
	margin-bottom:0px!important;
}
.ksc-coupon-row input:focus { border-color: #aaa; }
.ksc-btn-red {
    background-color: #cc2338;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;margin-bottom:0px;height:48px!important;
}
.ksc-btn-red:hover { background: #a83228; }
.ksc-btn-red:disabled { background: #ccc; cursor: not-allowed; }
.ksc-coupon-note {
    text-align: right;
    font-size: 18px;
    color: #1f2937;
    margin: 8px 0 0;
	font-style:italic;
}


.ksc-msg {
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}
.ksc-msg.is-success { color: #27ae60; }
.ksc-msg.is-error   { color: #c0392b; }


.ksc-form-section { padding-top: 28px; }
.ksc-form-section input,.ksc-form-section select{height:48px!important;background:#fff;border-radius:8px!important;box-shadow:unset!important;font-size:20px;}
.ksc-gender-row {
    display: flex;
    gap: 28px;
    margin-bottom: 18px;
}


.ksc-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}
.ksc-radio input[type="radio"] { display: none; }
.ksc-radio-dot {
    width: 20px;
    height: 20px;
    border: 2px solid #bbb;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-color .2s;
}
.ksc-radio input[type="radio"]:checked ~ .ksc-radio-dot,
.ksc-radio input[type="radio"]:checked + .ksc-radio-dot {
    border-color: #333;
}
.ksc-radio input[type="radio"]:checked ~ .ksc-radio-dot::after,
.ksc-radio input[type="radio"]:checked + .ksc-radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ksc-radio--orange input[type="radio"]:checked + .ksc-radio-dot { border-color: #e67e22; }
.ksc-radio--orange input[type="radio"]:checked + .ksc-radio-dot::after { background: #e67e22; }


.ksc-row { margin-bottom: 12px; }
.ksc-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.ksc-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s;
    font-family: inherit;
}
.ksc-input:focus { border-color: #aaa; }
.ksc-input::placeholder { color: #bbb; }
.ksc-input.is-error { border-color: #c0392b; }


.ksc-select-wrap { position: relative; }
.ksc-select-wrap::after {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #888;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.ksc-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    appearance: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .2s;
}
.ksc-select:focus { border-color: #aaa; }


.ksc-section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .6px;
    color: #222;
    margin: 24px 0 16px;
}


.ksc-payment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}


.ksc-badge {
    background: #1a3c8f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: .4px;
    vertical-align: middle;
}


.ksc-delivery-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
}
.ksc-delivery-types {
    display: flex;
    gap: 28px;
    margin-bottom: 14px;
}


.ksc-terms-row { margin: 24px 0 20px; }
.ksc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #000;
    user-select: none;
}
.ksc-checkbox input[type="checkbox"] { display: none; }
.ksc-checkbox-box {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
}
.ksc-checkbox input[type="checkbox"]:checked + .ksc-checkbox-box {
    background: #333;
    border-color: #333;
}
.ksc-checkbox input[type="checkbox"]:checked + .ksc-checkbox-box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}


.ksc-submit-row { text-align: center; }
.ksc-btn-submit {
    background: #444;
    color: #fff;
    border: none;
    padding: 15px 70px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
    min-width: 220px;
    font-family: inherit;
}
.ksc-btn-submit:disabled { background: #bbb; cursor: not-allowed; }
.ksc-btn-submit:not(:disabled):hover { background: #222; }
.ksc-btn-submit.is-loading { background: #999; cursor: wait; }

#ksc-form-msg {
    text-align: center;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
}
#ksc-form-msg.is-success { background: #eafbf0; color: #1e8449; }
#ksc-form-msg.is-error   { background: #fdf2f2; color: #c0392b; border: 1px solid #f5c6cb; }


@media (max-width: 640px) {
    .ksc-item { flex-wrap: wrap; }
    .ksc-item-img {
        flex: 0 0 100px;
        width: 100px;
        height: 100px;
    }
    .ksc-item-right {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    .ksc-row-2 { grid-template-columns: 1fr; }
    .ksc-coupon-row { flex-direction: column; align-items: stretch; }
    .ksc-coupon-row input {
        width: 100%;
        border-right: 1px solid #ddd;
        border-bottom: none;
        border-radius: 4px 4px 0 0;
    }
    .ksc-btn-red { border-radius: 0 0 4px 4px; padding: 12px; }
    .ksc-delivery-types { flex-direction: column; gap: 12px; }
    .ksc-btn-submit { width: 100%; padding: 15px 20px; }
}