/* QuickCash2 Form Styles */
.quickcash2-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.quickcash2-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.quickcash2-contact-row,
.quickcash2-location-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.quickcash2-field-wrapper {
    flex: 1;
    min-width: 200px;
}

.quickcash2-field-wrapper input,
.quickcash2-field-wrapper select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.quickcash2-attributes {
    margin-top: 20px;
}

.quickcash2-attribute-label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.quickcash2-color-options,
.quickcash2-size-options {
    display: flex;
    gap: 10px;
}

.quickcash2-color-option,
.quickcash2-size-option {
    display: flex;
    align-items: center;
}

.quickcash2-color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    margin-left: 5px;
}

.quickcash2-size-label {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quickcash2-submit-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.quickcash2-submit {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.quickcash2-submit:hover {
    background: #218838;
}

.quickcash2-btn-loader {
    display: none;
    margin-left: 10px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

.quickcash2-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quickcash2-quantity input {
    width: 40px;
    text-align: center;
    border: none;
}

.qty-minus,
.qty-plus {
    padding: 5px 10px;
    cursor: pointer;
    background: #ccc;
}

.quickcash2-order-summary {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f1f1f1;
    cursor: pointer;
    transition: background 0.3s;
}

.summary-header:hover {
    background: #e8e8e8;
}

.summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quickcash2-order-summary-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.toggle-icon {
    font-size: 16px;
    color: #555;
    transition: transform 0.3s;
}

.toggle-icon.active {
    transform: rotate(180deg);
}

.summary-content {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.summary-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.summary-content td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.summary-content td:first-child {
    color: #555;
}

.summary-content td:last-child {
    text-align: right;
    font-weight: 500;
}

.quickcash2-row-total-price td {
    font-weight: 700;
    color: #28a745;
    font-size: 18px;
}

.quickcash2-price,
.quickcash2-subtotal,
.quickcash2-total {
    color: #333;
}

.quickcash2-shipping-cost {
    color: #777;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments for Mobile */
@media (max-width: 600px) {
    .quickcash2-contact-row,
    .quickcash2-location-row {
        flex-direction: column;
    }

    .quickcash2-field-wrapper {
        min-width: 100%;
    }

    .quickcash2-submit-container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }

    .quickcash2-submit,
    .quickcash2-quantity {
        flex: 1;
        max-width: 50%;
    }

    .quickcash2-submit {
        padding: 8px;
        font-size: 14px;
    }

    .quickcash2-quantity {
        justify-content: center;
    }

    .quickcash2-quantity input {
        width: 30px;
        font-size: 14px;
    }

    .qty-minus,
    .qty-plus {
        padding: 5px;
    }

    .quickcash2-order-summary {
        margin-top: 15px;
    }

    .summary-content {
        padding: 15px;
    }

    .summary-content table {
        font-size: 14px;
    }

    .summary-content td {
        padding: 8px 5px;
    }

    .quickcash2-row-total-price td {
        font-size: 16px;
    }
}

/* Desktop: Open summary by default */
@media (min-width: 601px) {
    .quickcash2-order-summary .summary-content {
        display: block;
    }

    .quickcash2-order-summary .toggle-icon {
        display: none;
    }
}
/* إخفاء بيانات المنتج (SKU والتصنيفات) */
.product_meta {
  display: none !important;
}