/* =======================================================
   COMPONENTS: BUTTONS
   Единен дизайн за всички CTA (Call to Action) бутони
======================================================= */

/* Главен бутон "Добави в количката" (Single Product) */
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    width: 100% !important; flex: 1 1 100% !important; display: flex !important; align-items: center !important; justify-content: center !important;
    gap: clamp(8px, 2vw, 12px) !important; background-color: var(--fiptec-orange) !important; color: var(--fiptec-white) !important;
    font-weight: 900 !important; font-size: clamp(16px, 3vw, 18px) !important; text-transform: uppercase !important; letter-spacing: 0.05em !important;
    padding: clamp(12px, 3vw, 16px) 24px !important; border-radius: var(--fiptec-radius-btn) !important; border: none !important; margin: 0 0 12px 0 !important;
    box-shadow: var(--fiptec-btn-shadow) !important; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; transform: translateY(0) !important;
}
.woocommerce div.product form.cart .button.single_add_to_cart_button::before { content: "\f07a" !important; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important; font-weight: 900 !important; font-size: 1.1em !important; }
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover { background-color: var(--fiptec-orange-hover) !important; box-shadow: var(--fiptec-btn-shadow-hover) !important; transform: translateY(-2px) !important; }
.woocommerce div.product form.cart .button.single_add_to_cart_button:active { background-color: var(--fiptec-orange-active) !important; box-shadow: var(--fiptec-btn-shadow-active) !important; transform: translateY(4px) !important; }

/* Sticky Add To Cart */
.woocommerce .sticky-add-to-cart form.cart .button.single_add_to_cart_button { height: 36px !important; line-height: 1 !important; padding: 0 20px !important; font-size: 12px !important; border-radius: var(--fiptec-radius-md) !important; box-shadow: 0 3px 0px var(--fiptec-orange-active) !important; transform: translateY(0) !important; flex: none !important; width: auto !important; margin: 0 !important; }

/* Бутон в продуктовите карти (Грид) */
.product-small .add-to-cart-button .button { width: 90% !important; margin: 10px auto 0 auto !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: var(--fiptec-radius-md) !important; background-color: var(--fiptec-orange) !important; color: var(--fiptec-white) !important; font-weight: 800 !important; text-transform: uppercase !important; font-size: 12px !important; padding: 8px !important; border: none !important; box-shadow: var(--fiptec-btn-shadow) !important; transition: all 0.3s ease !important; }
.product-small .add-to-cart-button .button:hover { background-color: var(--fiptec-orange-hover) !important; transform: translateY(-2px) !important; }
.product-small .add-to-cart-button .button::before { content: "\f07a" !important; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important; font-weight: 900 !important; margin-right: 6px !important; }

/* Главен бутон за плащане (Checkout / Cart) */
.fiptec-checkout-btn, 
#place_order {
    width: 100% !important;
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.75rem !important;
    background-color: var(--fiptec-orange) !important; color: var(--fiptec-white) !important;
    font-weight: 900 !important; font-size: 1.125rem !important; padding: 1.25rem !important;
    border-radius: var(--fiptec-radius-btn) !important; text-transform: uppercase !important; letter-spacing: 0.025em !important;
    box-shadow: var(--fiptec-btn-shadow) !important; transition: all 0.3s ease !important;
    text-decoration: none !important; border: none !important; margin-bottom: 1rem !important;
}
.fiptec-checkout-btn:hover, 
#place_order:hover { 
    background-color: var(--fiptec-orange-hover) !important; 
    transform: translateY(-4px) !important; 
    box-shadow: var(--fiptec-btn-shadow-hover) !important; 
}

/* FBT Add to Cart Bundle Button */
.fiptec-fbt-action button { background-color: var(--fiptec-blue) !important; color: var(--fiptec-white) !important; font-weight: 700 !important; padding: clamp(0.75rem, 2vw, 0.75rem) clamp(1.5rem, 4vw, 2rem) !important; border-radius: var(--fiptec-radius-md) !important; box-shadow: var(--fiptec-shadow-md) !important; font-size: clamp(0.875rem, 2vw, 1rem) !important; border: none !important; transition: all 0.3s ease !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; }
.fiptec-fbt-action button:hover { background-color: var(--fiptec-blue-hover) !important; transform: translateY(-2px); box-shadow: var(--fiptec-shadow-lg); }
@media (max-width: 640px) { .fiptec-fbt-action button { width: 100%; } }

/* Промо Код Бутон */
.fiptec-coupon-btn, 
.fiptec-coupon-content button { 
    background-color: var(--fiptec-slate-800) !important; 
    color: var(--fiptec-white) !important; 
    padding: 0 1.25rem !important; 
    border-radius: var(--fiptec-radius-md) !important; 
    font-size: 0.875rem !important; 
    font-weight: 700 !important; 
    border: none !important; 
    height: 2.5rem !important; 
    cursor: pointer !important; 
    transition: background 0.2s !important; 
}
.fiptec-coupon-btn:hover, 
.fiptec-coupon-content button:hover { background-color: var(--fiptec-slate-900) !important; }

/* Бутони в Off-canvas количката */
.woocommerce-mini-cart__buttons .button.checkout { background-color: var(--fiptec-orange) !important; color: var(--fiptec-white) !important; border-radius: var(--fiptec-radius-btn) !important; font-weight: 900 !important; text-transform: uppercase !important; padding: 18px !important; font-size: 16px !important; box-shadow: var(--fiptec-btn-shadow) !important; width: 100% !important; margin: 0 !important; transition: all 0.3s ease !important; border: none !important; }
.woocommerce-mini-cart__buttons .button.checkout:hover { background-color: var(--fiptec-orange-hover) !important; transform: translateY(-2px) !important; }
.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) { background-color: var(--fiptec-slate-50) !important; color: var(--fiptec-slate-600) !important; border: 2px solid var(--fiptec-slate-200) !important; border-radius: var(--fiptec-radius-global) !important; font-weight: bold !important; text-transform: uppercase !important; padding: 14px !important; width: 100% !important; margin: 0 !important; box-shadow: none !important; }
.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover { background-color: var(--fiptec-slate-200) !important; color: var(--fiptec-slate-900) !important; }

/* Кръгъл бутон в Cross-sells (Mini Cart) */
.ux-mini-cart-cross-sells__list-item .add_to_cart_button {
    grid-area: btn !important; width: 32px !important; height: 32px !important; min-width: 32px !important; padding: 0 !important;
    border-radius: 50% !important; background-color: var(--fiptec-orange) !important; color: var(--fiptec-white) !important;
    display: flex !important; align-items: center !important; justify-content: center !important; border: none !important;
    box-shadow: var(--fiptec-shadow-sm) !important; transition: all 0.2s ease !important; font-size: 0 !important; 
}
.ux-mini-cart-cross-sells__list-item .add_to_cart_button svg { width: 14px !important; height: 14px !important; display: block !important; fill: currentColor !important; }
.ux-mini-cart-cross-sells__list-item .add_to_cart_button:hover { background-color: var(--fiptec-orange-hover) !important; transform: translateY(-2px) !important; box-shadow: var(--fiptec-shadow-md) !important; color: var(--fiptec-white) !important; }
.ux-mini-cart-cross-sells__list-item .add_to_cart_button.loading { opacity: 0.5 !important; pointer-events: none !important; }
.ux-mini-cart-cross-sells__list-item .add_to_cart_button.added { background-color: var(--fiptec-green) !important; box-shadow: var(--fiptec-shadow-sm) !important; }
.ux-mini-cart-cross-sells__list-item .add_to_cart_button.added::after { display: none !important; }