.jcb-customizer {
    width: 100%;
    flex: 1 0 100%;
    margin: 16px 0 20px;
    font-size: 14px;
    color: #121212;
}
.jcb-field-group {
    margin-bottom: 16px;
}
.jcb-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.jcb-label {
    display: block;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}
.jcb-label-row .jcb-label {
    margin-bottom: 0;
}
.jcb-req {
    color: #e02b27;
    margin-left: 2px;
}
.jcb-selected-val {
    font-weight: 600;
    color: #333;
}
.jcb-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.jcb-opt-btn {
    appearance: none;
    background: #fff;
    color: #111;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.2;
}
.jcb-opt-btn[hidden] {
    display: none;
}
.jcb-opt-btn:hover {
    border-color: #111;
}
.jcb-opt-btn.is-active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.jcb-compare-row {
    margin-top: 10px;
}
.jcb-compare-btn {
    background: #fff;
    color: #111;
    border: 1px solid #1f4f99;
    border-radius: 4px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.jcb-text-input {
    width: 100%;
    max-width: 440px;
    height: 40px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
}
.jcb-text-input:disabled {
    background: #f2f2f2;
    color: #999;
    cursor: not-allowed;
}
.jcb-logo-upload-box {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed #bbb;
    border-radius: 4px;
    background: #fafafa;
    max-width: 440px;
}
.jcb-logo-upload-box[hidden],
.jcb-upload-preview[hidden],
.jcb-upload-error[hidden],
.jcb-add-logo-wrap[hidden],
.jcb-form-error[hidden] {
    display: none;
}
.jcb-upload-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.jcb-upload-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}
.jcb-upload-status {
    font-size: 12px;
    color: #1d8348;
    font-weight: 600;
}
.jcb-upload-error,
.jcb-form-error {
    margin-top: 6px;
    color: #d93025;
    font-size: 13px;
    font-weight: 500;
}
.jcb-form-error:focus {
    outline: none;
}
.jcb-add-logo-wrap {
    margin: 12px 0;
}
.jcb-add-logo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #222;
    border: 2px solid #333;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.jcb-remove-slot-btn {
    margin-left: auto;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}
.jcb-price-banner {
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    max-width: 520px;
    color: #333;
}
.jcb-addon-amount {
    color: #188038;
    font-weight: 700;
}
.jcb-size-guide-trigger {
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    text-decoration: underline;
}
/* Modals */
.jcb-modal[hidden] {
    display: none !important;
}
.jcb-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.jcb-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.jcb-modal-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 6px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.jcb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.jcb-modal-header h3 {
    margin: 0;
    font-size: 16px;
}
.jcb-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.jcb-sg-toolbar,
.jcb-cm-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.jcb-sg-tabs,
.jcb-sg-units {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.jcb-sg-tab,
.jcb-unit-btn,
.jcb-cm-tab {
    background: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.jcb-sg-tab.is-active,
.jcb-unit-btn.is-active,
.jcb-cm-tab.is-active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.jcb-sg-note {
    font-size: 12px;
    color: #555;
    margin: 0 0 12px;
}
.jcb-sg-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.jcb-sg-table th,
.jcb-sg-table td {
    border: 1px solid #e0e0e0;
    padding: 8px;
    font-size: 13px;
}
.jcb-sg-table th {
    background: #f8f8f8;
}
.jcb-cm-panel h4 {
    margin: 0 0 6px;
    font-size: 15px;
}
.jcb-cm-panel p {
    margin: 0;
    line-height: 1.55;
    color: #333;
}
/* Comparing Methods modal styling matching Fansidea PREMIUM DESIGN OPTIONS */
.jcb-cm-dialog {
    padding: 0;
    overflow: hidden;
    max-width: 600px;
}
.jcb-cm-header {
    background: #000;
    color: #fff;
    padding: 12px 18px;
    margin-bottom: 0;
    border-bottom: none;
    justify-content: center;
    position: relative;
}
.jcb-cm-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-align: center;
}
.jcb-cm-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}
.jcb-cm-body {
    padding: 14px 16px 18px;
}
.jcb-cm-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.jcb-cm-tab {
    background: #f0f0f0;
    color: #222;
    border: none;
    border-radius: 0;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.jcb-cm-tab.is-active {
    background: #2b78b8;
    color: #fff;
}
.jcb-cm-stage {
    position: relative;
    background: #111;
    border-radius: 2px;
    overflow: hidden;
}
.jcb-cm-slide[hidden] {
    display: none;
}
.jcb-cm-media {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    background: #111;
}
.jcb-cm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.78);
    color: #222;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.jcb-cm-arrow:hover {
    background: #fff;
}
.jcb-cm-prev {
    left: 10px;
}
.jcb-cm-next {
    right: 10px;
}
.jcb-cm-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 4px;
}
.jcb-cm-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #d8d8d8;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    padding: 0;
    cursor: pointer;
}
.jcb-cm-dot.is-active {
    background: #e85d04;
    color: #fff;
}
.jcb-cm-caption {
    margin-top: 10px;
    padding: 0 2px;
}
