/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Styling for the stock status text */
.stock {
    display: block; /* Change the display type to block so it takes the full width of the parent */
    font-size: 16px;
    padding: 3px 8px;
	padding-bottom: 4px;
    border-radius: 3px;
    margin-top: 5px;
    font-weight: bold;
    background-color: white;
    border: 1px solid #ccc;  /* Gray border */
    text-align: center;  /* Centered text within the label */
    line-height: 1.2;  /* Adjust line height for better vertical centering */
    width: fit-content;  /* Only take as much width as necessary */
    margin-left: auto;  /* Center the element */
    margin-right: auto;  /* Center the element */
    border-color: #BC9C22;
}

.stock.available {
    color: #94db21 !important;  /* Green text for available */
}

.stock.not-available {
    color: #ea4335 !important;  /* Red text for not available */
}


.e-coupon-box {
    display: none !important;
}

/* Force 16:9 horizontal YouTube video */
.wc-horizontal-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.wc-horizontal-video iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.woocommerce-checkout-review-order-table th.product-total, .woocommerce-checkout-review-order-table td.product-total {
    text-align: left !important;
}

/* Remove padding from checkout order review table */
.woocommerce-checkout-review-order-table thead tr,
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot tr,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}


tr.recurring-totals,
tr.recurring-total,
tr.cart-subtotal.recurring-total,
tr.order-total.recurring-total {
    display: none !important;
}

.woocommerce-info {
    border-top-color: #BC9C22 !important;
}

.woocommerce-info::before {
    color: #BC9C22 !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button {
    background: #BC9C22 !important;
}
.woocommerce_account_subscriptions .woocommerce-Button {
    display: none !important;
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
background-color: #BC9C22;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
background-color: #BC9C22;
}


:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
	background-color: #9C821C;}

/* Product name color */
.elementor-menu-cart__product-name a {
    color: #BC9C22 !important;
}

/* Hide product price */
.elementor-menu-cart__product-price {
    display: none !important;
}

.elementor-widget-woocommerce-checkout-page a:hover {
    color: #94DB21;
}


.elementor-swiper-button svg
 {
    fill: black !important;
    margin: -8px;
}

.elementor-widget-reviews .elementor-testimonial__title {
color: black !important;
}


.elementor-widget-reviews.elementor-review--has-separator .elementor-testimonial__header {
    border-block-end: none;
}

/* Hide WPML language switcher on desktop */
@media (min-width: 768px) {
    .menu-item.wpml-ls-item {
        display: none !important;
    }
}

.price-breakdown .price-row {
    text-align: left;
}


/* 
 * Sticky Bottom Contact Buttons
 * Add this to your theme's style.css or create a custom CSS file
 */

.sticky-contact-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none; /* Hidden by default on desktop */
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}

/* Show only on mobile devices (up to 768px) */
@media (max-width: 768px) {
    .sticky-contact-buttons {
        display: flex;
    }
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sticky-btn-call {
    background: linear-gradient(135deg, #94db21 0%, #7bc118 100%);
    color: white;
}

.sticky-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
    color: white;
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-text {
    white-space: nowrap;
}

/* Hover effects */
.sticky-btn-call:hover {
    background: linear-gradient(135deg, #7bc118 0%, #69a615 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 219, 33, 0.4);
}

.sticky-btn-whatsapp:hover {
    background: linear-gradient(135deg, #1ea952 0%, #179943 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Active/Press effect */
.sticky-btn:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sticky-contact-buttons {
        gap: 8px;
        padding: 8px;
    }
    
    .sticky-btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .btn-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .sticky-contact-buttons {
        gap: 6px;
        padding: 6px;
    }
    
    .sticky-btn {
        padding: 12px 12px;
        font-size: 13px;
        gap: 8px;
    }
    
    .btn-icon {
        width: 18px;
        height: 18px;
    }
}

/* Very small screens - stack vertically if needed */
@media (max-width: 360px) {
    .btn-text {
        font-size: 12px;
    }
}

/* Add padding to body on mobile only to prevent content overlap */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
}

/* Adjust body padding on smaller mobile screens */
@media (max-width: 480px) {
    body {
        padding-bottom: 70px;
    }
}

/* Optional: Hide on specific pages */
/* 
body.page-id-123 .sticky-contact-buttons {
    display: none;
}
*/

/* Optional: Different position on desktop */
/* 
@media (min-width: 1200px) {
    .sticky-contact-buttons {
        left: auto;
        right: 20px;
        bottom: 20px;
        flex-direction: column;
        max-width: 200px;
    }
}
*/


/* Hide language names and extra text */
.wpml-ls-native,
.wpml-ls-display {
    display: none !important;
}

/* Keep horizontal list spacing */
.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    margin-right: 10px; /* adjust if needed */
}

/* Restore padding around each flag like default horizontal layout */
.wpml-ls-legacy-list-horizontal .wpml-ls-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px; /* similar to WPML default spacing */
}