.gqw-buttons-wrap {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Shop Loop Context */
.gqw-buttons-loop {
    flex-direction: column;
}

/* Single Product Context */
.gqw-buttons-single {
    flex-direction: row;
    flex-wrap: wrap;
    clear: both;
}

/* Quote Button */
.gqw-quote-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: #ffffff;
    color: #b45309 !important;
    border: 1.5px solid #fcd34d;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    flex-shrink: 0;
    text-decoration: none !important;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.gqw-quote-btn:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    transform: translateY(-2px);
    color: #b45309 !important;
}

/* WhatsApp Button */
.gqw-whatsapp-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: #25D366;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-family: inherit;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.gqw-whatsapp-btn:hover {
    background: #1fbc55;
    transform: translateY(-2px);
    color: #fff !important;
}

/* Make single product buttons width auto so they sit side by side */
.gqw-buttons-single .gqw-quote-btn,
.gqw-buttons-single .gqw-whatsapp-btn {
    width: auto;
    flex: 1;
    min-width: 150px;
}

/* Read More Button (Auto-generated by WooCommerce) */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
a.add_to_cart_button,
a.product_type_simple,
a.product_type_variable,
a.product_type_grouped,
a.product_type_external {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: #f8f9fa;
    color: #333 !important;
    border: 1.5px solid #dee2e6;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-family: inherit;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .button:hover,
a.add_to_cart_button:hover,
a.product_type_simple:hover,
a.product_type_variable:hover,
a.product_type_grouped:hover,
a.product_type_external:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-2px);
    color: #000 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure proper spacing in shop loop */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product .gqw-buttons-wrap {
    margin-top: auto;
}

/* Hide original add to cart button completely */
.woocommerce ul.products li.product .add_to_cart_button.added {
    display: none !important;
}

/* Style the "Read More" text specifically */
.woocommerce ul.products li.product .button.product_type_simple,
.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .button.product_type_grouped,
.woocommerce ul.products li.product .button.product_type_external {
    background: #f8f9fa;
    color: #333 !important;
    border: 1.5px solid #dee2e6;
}

.woocommerce ul.products li.product .button.product_type_simple:hover,
.woocommerce ul.products li.product .button.product_type_variable:hover,
.woocommerce ul.products li.product .button.product_type_grouped:hover,
.woocommerce ul.products li.product .button.product_type_external:hover {
    background: #e9ecef;
    color: #000 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {

    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .added_to_cart,
    a.add_to_cart_button,
    a.product_type_simple,
    a.product_type_variable,
    a.product_type_grouped,
    a.product_type_external {
        width: 100%;
    }
}

/* =========================================
   Cart Page Buttons - After Checkout
   ========================================= */

/* Cart buttons container */
.gqw-buttons-cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

/* Divider line */
.gqw-cart-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4e5f7, transparent);
    margin-bottom: 10px;
}

/* Cart buttons full width */
.gqw-buttons-cart .gqw-quote-btn,
.gqw-buttons-cart .gqw-whatsapp-btn {
	display: block !important;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9rem;
}

