.swm-enquiry-btn {
    width: 100%;
    background: #ff6a00;
    color: #fff;
    padding: 14px;
    margin-top: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swm-enquiry-btn:hover {
    background: #e65c00;
    transform: translateY(-1px);
}

.swm-enquiry-btn:active {
    transform: scale(0.98);
}

.swm-enquiry-btn-disabled,
.swm-enquiry-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.swm-enquiry-btn-disabled:hover,
.swm-enquiry-btn:disabled:hover {
    background: #9ca3af;
    transform: none;
}

.swm-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.7);
    z-index: 9999;
    padding: 24px 16px;
    overflow-y: auto;
}

.swm-modal-content {
    background: #fff;
    width: min(980px, 100%);
    margin: 40px auto;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.swm-container {
    display: flex;
    min-height: 560px;
}

.swm-left {
    width: 42%;
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    padding: 32px;
}

.swm-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.swm-product-media {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(251, 146, 60, 0.14);
}

.swm-left img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.swm-product-kicker,
.swm-form-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c2410c;
}

.swm-product-copy h3,
.swm-form-head h3 {
    margin: 0;
    color: #111827;
    line-height: 1.2;
}

.swm-product-price {
    margin-top: 14px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.swm-product-meta,
.swm-product-description {
    margin: 12px 0 0;
    color: #374151;
    line-height: 1.6;
}

.swm-right {
    width: 58%;
    padding: 32px;
}

.swm-form-head {
    margin-bottom: 24px;
}

.swm-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 26px;
}

.swm-progress-dot {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    transition: background 0.2s ease;
}

.swm-progress-dot.active {
    background: #f97316;
}

.swm-step {
    display: none;
}

.swm-step.active {
    display: block;
}

.swm-step label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.swm-step input,
.swm-step textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 16px 0 0 16px;
    padding: 14px 16px;
    font-size: 15px;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.swm-step input:focus,
.swm-step textarea:focus,
.swm-country-trigger:focus,
.swm-country-search:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.swm-step textarea {
    resize: vertical;
    min-height: 130px;
}

.swm-help {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.swm-phone-group {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 12px;
    align-items: stretch;
    margin-top: 8px;
}

.swm-country-picker {
    position: relative;
    align-self: stretch;
}

.swm-country-trigger {
    width: 100%;
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 16px 0 0 16px;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.swm-country-flag {
    font-size: 18px;
    line-height: 1;
}

.swm-country-text {
    font-size: 15px;
    font-weight: 600;
}

.swm-country-caret {
    margin-left: auto;
    color: #6b7280;
    font-size: 12px;
}

#swm_phone_number {
    min-height: 70px;
    border-radius: 0 16px 16px 0;
}

.swm-phone-group .swm-country-picker.is-open .swm-country-trigger,
.swm-phone-group .swm-country-trigger:hover {
    border-color: #f97316;
}

.swm-country-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(340px, 100vw - 48px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
    padding: 12px;
    z-index: 30;
}

.swm-country-search {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 10px;
}

.swm-country-options {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.swm-country-option {
    width: 100%;
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    color: #111827;
}

.swm-country-option:hover,
.swm-country-option.is-selected {
    background: #fff7ed;
}

.swm-country-option-flag {
    font-size: 16px;
}

.swm-country-option-label {
    font-size: 14px;
}

.swm-country-option-code {
    font-size: 13px;
    font-weight: 700;
    color: #c2410c;
}

.swm-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.swm-step-actions button,
.swm-submit-btn {
    min-width: 120px;
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.swm-next-btn,
.swm-submit-btn {
    background: #f97316;
    color: #fff;
}

.swm-next-btn:hover,
.swm-submit-btn:hover {
    background: #ea580c;
}

.swm-back-btn {
    background: #f3f4f6;
    color: #111827;
}

.swm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.swm-error {
    color: #dc2626;
    font-size: 13px;
    min-height: 18px;
    margin: 8px 0 0;
}

.swm-enquiry-notice {
    margin: 16px 0;
    border-left: 4px solid #16a34a;
    background: #f0fdf4;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
}

.swm-enquiry-notice-info {
    border-left-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

@media (max-width: 767px) {
    .swm-modal {
        padding: 12px;
    }

    .swm-modal-content {
        margin: 20px auto;
        border-radius: 16px 0 0 16px;
    }

    .swm-container {
        flex-direction: column;
        min-height: auto;
    }

    .swm-left,
    .swm-right {
        width: 100%;
        padding: 22px;
    }

    .swm-product-media {
        min-height: 200px;
    }

    .swm-step-actions {
        flex-direction: column;
    }

    .swm-phone-group {
        grid-template-columns: 1fr;
    }

    .swm-country-trigger,
    #swm_phone_number {
        border-radius: 16px;
    }

    #swm_phone_number {
    min-height: 70px;
    border-radius: 0 16px 16px 0;
}

.swm-phone-group .swm-country-picker.is-open .swm-country-trigger,
.swm-phone-group .swm-country-trigger:hover {
    border-color: #f97316;
}

.swm-country-dropdown {
        width: 100%;
    }

    .swm-step-actions button,
    .swm-submit-btn {
        width: 100%;
    }
}

