/* TOOL4ME Quick Order Form */
.t4m-quick-order-wrapper {
    margin: 20px 0;
    padding: 25px;
    border-radius: 20px;
    border: 2px solid #eee;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.t4m-qo-price-display {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #fff5f5, #fff);
    border-radius: 16px;
    border: 2px dashed #ff4757;
}

.t4m-qo-current-price {
    font-size: 32px;
    font-weight: 800;
    color: #ff4757;
}

.t4m-qo-regular-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.t4m-qo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.t4m-qo-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.t4m-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    transition: all 0.2s;
}

.t4m-qty-btn:hover {
    background: #ff4757;
    color: #fff;
}

#t4m-qo-qty {
    width: 55px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    background: #fff;
}

.t4m-qo-btn-main {
    flex: 1;
    padding: 14px 28px;
    border: none;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

.t4m-qo-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.t4m-qo-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    margin-top: 20px;
}

.t4m-qo-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.t4m-qo-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t4m-qo-field label {
    font-size: 15px;
    font-weight: 700;
    color: #444;
}

.t4m-qo-field label small {
    color: #ff4757;
    font-weight: 400;
}

.t4m-required {
    color: #ff4757;
}

.t4m-qo-field input,
.t4m-qo-field select,
.t4m-qo-field textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s;
}

.t4m-qo-field input:focus,
.t4m-qo-field select:focus,
.t4m-qo-field textarea:focus {
    outline: none;
    border-color: #ff4757;
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.1);
}

.t4m-phone-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.t4m-qo-summary {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.t4m-qo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.t4m-qo-row:last-child {
    border-bottom: none;
}

.t4m-qo-coupon {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.t4m-qo-coupon-input {
    display: flex;
    gap: 10px;
    width: 100%;
}

.t4m-qo-coupon-input input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
}

.t4m-qo-btn-small {
    padding: 10px 20px;
    border: 2px solid #ff4757;
    background: #fff;
    color: #ff4757;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    transition: all 0.2s;
}

.t4m-qo-btn-small:hover {
    background: #ff4757;
    color: #fff;
}

.t4m-qo-payment h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #333;
}

.t4m-qo-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    width: 100%;
    transition: all 0.2s;
}

.t4m-qo-payment-option:hover {
    border-color: #ff4757;
}

.t4m-qo-payment-option input {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #ff4757;
}

.t4m-qo-total {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    background: #fff5f5;
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
}

.t4m-qo-btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.t4m-qo-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.t4m-qo-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.t4m-btn-loader {
    display: flex;
    align-items: center;
    gap: 10px;
}

.t4m-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: t4m-spin 0.8s linear infinite;
}

@keyframes t4m-spin {
    to { transform: rotate(360deg); }
}

#t4m-qo-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    display: none;
}

#t4m-qo-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
    border: 1px solid #a5d6a7;
}

#t4m-qo-message.error {
    background: #ffebee;
    color: #c62828;
    display: block;
    border: 1px solid #ef9a9a;
}

@media (max-width: 480px) {
    .t4m-qo-header {
        flex-direction: column;
    }
    .t4m-qo-btn-main {
        width: 100%;
    }
    .t4m-current-price {
        font-size: 28px;
    }
}
