.product-inquiry-form-wrapper {
    margin-top: 20px;
    padding: 42px;
    padding-top: 28px;
    background: #F6F6F2;
    border: 1px solid #e0e0e0;
}

.inquiry-form-content {
    margin: 0 auto;
}

.inquiry-form-title {
    font-size: 20px;
    line-height: 1.7;
    color: #3A3A32;
    margin-bottom: 10px;
    font-weight: bold;
}

.inquiry-form-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #3A3A32;
    margin-bottom: 30px;
    font-weight: 500;
}

.inquiry-form-fields-container {
    width: 500px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inquiry-form-fields-container.popup-form-box {
    width: 100%;
}

.product-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inquiry-questions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.inquiry-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.inquiry-checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: all 0.2s ease;
}

.inquiry-checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background: #9D0400;
    border-color: #9D0400;
}

.inquiry-checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    flex: 1;
    color: #333333;
    font-weight: 500;
    font-size: 13px;
}

.inquiry-form-group {
    display: flex;
    flex-direction: column;
}

.inquiry-form-group.half {
    flex: 1;
}

.inquiry-form-row {
    display: flex;
    gap: 20px;
}

.inquiry-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.inquiry-input,
.inquiry-select,
.inquiry-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.inquiry-input:focus,
.inquiry-select:focus,
.inquiry-textarea:focus {
    outline: none;
    border-color: #9D0400;
    box-shadow: 0 0 0 3px rgba(171, 173, 100, 0.1);
}

.inquiry-input::placeholder,
.inquiry-textarea::placeholder {
    color: #999;
}

.inquiry-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.inquiry-select:invalid {
    color: #999;
}

.inquiry-textarea {
    min-height: 80px;
    resize: vertical;
}

.inquiry-form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-inquiry-submit {
    width: 100%;
    padding: 14px 24px;
    background: #9D0400;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-inquiry-submit:hover {
    /* background: #9a9c58; */
    transform: translateY(-1px);
}

.btn-inquiry-advice {
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: #9D0400;
    border: 1px solid #9D0400;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-inquiry-advice:hover {
    background: rgba(171, 173, 100, 0.1);
}

.inquiry-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.inquiry-message.success {
    background: #d4edda;
    color: #155724;
}

.inquiry-message.error {
    background: #f8d7da;
    color: #721c24;
}

.product-inquiry-popup-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.product-inquiry-popup-modal.active {
    display: flex;
}

.product-inquiry-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.product-inquiry-popup-content {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 32px;
    background: #fff;
    overflow-y: auto;
    z-index: 1;
}

.product-inquiry-popup-title {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.3;
    color: #333;
}

.product-inquiry-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.product-inquiry-form-popup-wrapper {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.after-sales-options {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.after-sales-option-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 2px;
}

.after-sales-option-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.after-sales-option-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
}

.after-sales-option-text {
    flex: 1;
}

.after-sales-option-title,
.after-sales-option-desc {
    margin: 0;
    color: #333;
}

.after-sales-option-title {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
}

.after-sales-option-desc {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.after-sales-option-title a {
    color: #005AFE;
    text-decoration: none;
}

.after-sales-option-title a:hover {
    text-decoration: underline;
}

.other-inquiries-popup-body {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}
.other-inquiries-popup-body .other-email{
    background: #DFE0C7;
    border-radius: 8px;
    padding: 17px;
    margin: 10px 0;
}

.other-inquiries-popup-body p {
    font-family: Lato;
    line-height: 2;
    margin-bottom: 0;
    color: #333;
}

.other-inquiries-popup-body p:last-child {
    margin-bottom: 0;
}

.other-inquiries-popup-body a {
    color: #005AFE;
    font-weight: 600;
    text-decoration: none;
}

.other-inquiries-popup-body a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .product-inquiry-form-wrapper {
        padding: 24px 16px;
        margin-top: 30px;
    }
    .inquiry-form-desc {
        font-size: 14px;
    }
    .inquiry-form-row {
        flex-direction: column;
        gap: 16px;
    }
    .inquiry-checkbox-item {
        font-size: 13px;
    }
    .inquiry-input,
    .inquiry-select,
    .inquiry-textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
    .btn-inquiry-submit,
    .btn-inquiry-advice {
        padding: 12px 20px;
        font-size: 14px;
    }
    .product-inquiry-popup-content {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 24px 16px;
    }
    .product-inquiry-popup-title {
        padding-right: 28px;
        font-size: 20px;
    }
    .product-inquiry-popup-close {
        top: 12px;
        right: 12px;
        font-size: 28px;
    }
    .after-sales-options {
        margin-bottom: 20px;
        gap: 12px;
    }
    .after-sales-option-item {
        gap: 10px;
        padding-bottom: 12px;
    }
    .after-sales-option-title {
        font-size: 14px;
    }
    .after-sales-option-desc {
        font-size: 13px;
    }
    .other-inquiries-popup-body {
        font-size: 14px;
        line-height: 1.7;
    }
    .other-inquiries-popup-body p {
        margin-bottom: 14px;
    }
}
