/* Ensure button wrapper with cart icon is flex to display items side by side */
.elementor-button-wrapper:has(.cwc-cart-icon-wrapper) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* Cart icon before consultation button - ALL SCREEN SIZES */
.ctaheader a.cwc-cart-icon-wrapper,
a.cwc-cart-icon-wrapper {
    width: 30px !important;
    margin-right: 15px !important;
    position: relative !important;
    cursor: pointer !important;
    order: -1 !important; /* Force it to appear first (left) in flex container */
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.cwc-cart-icon-wrapper:hover {
    opacity: 0.7 !important;
}

.cwc-cart-icon {
    width: 24px !important;
    height: 24px !important;
    transition: none !important;
}

.cwc-cart-icon path {
    stroke: currentColor !important;
    fill: none !important;
    transition: none !important;
}

.cwc-cart-badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: #000 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    transition: none !important;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .ctaheader a.cwc-cart-icon-wrapper,
    a.cwc-cart-icon-wrapper {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Hide additional information section on checkout */
.woocommerce-checkout .woocommerce-additional-fields {
    display: none !important;
}

/* Hide coupon code section on checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}

