.woocommerce nav.woocommerce-pagination {
	text-align: center;
}


.woocommerce form.woocommerce-ordering, 
.woocommerce p.woocommerce-result-count {
    display: none;
}

.woocommerce-breadcrumb {
	text-align: center;
}
.wp-block-woocommerce-add-to-cart-form form.cart {
display: block;
}





/* 1. Force removal of browser arrows */
html body .quantity input::-webkit-outer-spin-button,
html body .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

html body .quantity input[type=number] {
    -moz-appearance: textfield !important;
    appearance: none !important;
}

/* 2. Clear duplicates */
html body .quantity .plus, 
html body .quantity .minus, 
html body .quantity button {
    display: none !important;
}

/* 3. Perfect Centering & Alignment */
html body .quantity {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important; /* Vertically centers everything */
    justify-content: center !important;
    vertical-align: middle !important;
}

/* 4. Minus Symbol Position */
html body .quantity > *:first-child {
    display: flex !important;
    order: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 10px !important;
    line-height: 1 !important; /* Prevents text from floating up */
    cursor: pointer;
}

/* 5. Input Box (The Number) */
html body .quantity input.qty {
    display: block !important;
    order: 2 !important;
    width: 50px !important;
    height: 40px !important; /* Adjust height to match your buttons */
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 40px !important; /* Should match height exactly for vertical centering */
    border: 1px solid #ccc !important;
}

/* 6. Plus Symbol Position */
html body .quantity > *:last-child {
    display: flex !important;
    order: 3 !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 10px !important;
    line-height: 1 !important;
    cursor: pointer;
}








/* 1. FORCE THE CONTAINER TO ALIGN EVERYTHING */
html body .cart {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important; /* Removes gap so they sit flush if preferred */
}

/* 2. SYNC THE QUANTITY BOX HEIGHT */
html body .quantity {
    height: 44px !important; /* Set a specific height */
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #000 !important;
}

html body .quantity input.qty {
    height: 42px !important; /* 2px smaller than container to account for borders */
    border: none !important;
    box-sizing: border-box !important;
}

/* 3. SYNC THE ADD TO CART BUTTON HEIGHT */
html body .single_add_to_cart_button {
    height: 44px !important; /* Must match .quantity height exactly */
    line-height: 44px !important;
    padding: 0 30px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important; /* Initial black border */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important; /* Kill theme animations */
}

/* 4. THE HOVER FIX: 50% BLACK WITH OUTLINE */
html body .single_add_to_cart_button:hover {
    background-color: rgba(0, 0, 0, 0.5) !important; /* 50% Black */
    color: #000000 !important; /* Change text to black so it's visible against 50% shade */
    border: 1px solid #000000 !important; /* Keeps the outline visible */
    opacity: 1 !important;
    visibility: visible !important;
}

/* 5. STOP THE THEME FROM HIDING THE BUTTON */
html body .single_add_to_cart_button:hover:after,
html body .single_add_to_cart_button:hover:before {
    content: none !important;
    display: none !important;
    opacity: 1 !important;
}






/* 1. Add space between Quantity and Add to Cart */
html body .cart {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important; /* This adds the horizontal padding between the two elements */
    flex-wrap: wrap !important; /* Ensures layout stays clean on mobile */
}

/* 2. Ensure no rogue margins are overriding the gap */
html body .quantity {
    margin-right: 0 !important;
}

html body .single_add_to_cart_button {
    margin-left: 0 !important;
}




/* 1. UNIFY MENU WEIGHT (Enfold Specific) */
#top #header .av-main-nav > li > a, 
#top #header .av-main-nav > li > a .avia-menu-text {
    font-weight: 400 !important;
    font-size: 14px !important;
    text-transform: none !important;
}

/* 2. REMOVE BOLD FROM ACTIVE/CURRENT ITEMS */
#top #header .av-main-nav > li.current-menu-item > a .avia-menu-text,
#top #header .av-main-nav > li.current_page_item > a .avia-menu-text {
    font-weight: 400 !important;
}

/* 3. WHITE CART ICON ON HOME PAGE ONLY */
/* The .home class is automatically added to the body tag by WordPress on the homepage */
.home #top #header .cart_dropdown_link {
    color: #ffffff !important;
}

/* 4. KEEP CART ICON BLACK ON ALL OTHER PAGES */
/* (Assuming your header is white/light on other pages) */
body:not(.home) #top #header .cart_dropdown_link {
    color: #000000 !important;
}

/* 5. HOVER STATE FOR CART */
.home #top #header .cart_dropdown_link:hover {
    color: rgba(255,255,255,0.7) !important; /* Slight fade on hover */
}



/* This targets text directly inside the body that isn't wrapped in a tag */
body {
    font-size: 0; /* Shrinks the rogue text to nothing */
}

body * {
    font-size: initial; /* Restores font size for all actual elements */
}
