/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.ca-post-card-product .fusion-image-wrapper {
    height: 370px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ca-post-card-product .fusion-image-wrapper img {
    max-height: 370px;
	width: 100%;
	max-width: 100%;
}

.widget_layered_nav_filters ul li a {
  display: inline-block;
  background-color: #065290;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.widget_layered_nav_filters ul li a:hover {
  background-color: #0a67ba;
}

.stock-badge,
.woocommerce .stock,
.woocommerce-page .stock,
.stock.in-stock,
.availability .stock {
    background-color: #d4edda !important;
    color: #28a745 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid #c3e6cb !important;
}

.stock-badge::before,
.woocommerce .stock.in-stock::before,
.woocommerce-page .stock.in-stock::before,
.availability .stock::before {
    content: "✓" !important;
    font-weight: bold !important;
    font-size: 16px !important;
    color: #28a745 !important;
}

.stock.out-of-stock {
    background-color: #f8d7da !important;
    color: #dc3545 !important;
    border: 1px solid #f5c6cb !important;
}

.stock.out-of-stock::before {
    content: "✗" !important;
    color: #dc3545 !important;
}

@media (max-width: 768px) {
    .stock-badge,
    .woocommerce .stock,
    .woocommerce-page .stock {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}

.fusion-search-form-clean .fusion-search-field input.s {
    border: 2px solid #065290 !important;
    border-radius: 12px !important;
    padding: 10px 14px 10px 38px !important;
    font-size: 16px !important;
    color: #000 !important;
    box-shadow: none !important;
}

.awb-menu__sub-ul.fusion-menu-searchform-dropdown,
.awb-menu__sub-ul.fusion-menu-searchform-dropdown .awb-menu__sub-li,
.awb-menu__sub-ul .fusion-search-form,
.awb-menu__sub-ul .fusion-search-form-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.fusion-search-form-clean input::placeholder {
    color: #15284e !important;
    opacity: 0.6 !important;
}


.ca-category-cards .fusion-post-cards-grid-column .fusion-column-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 300px !important;
}

.ca-category-cards .fusion-post-cards-grid-column .fusion-classic-product-image-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-grow: 1 !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.ca-category-cards .fusion-post-cards-grid-column .fusion-image-wrapper img {
    max-height: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.ca-category-cards .fusion-post-cards-grid-column .fusion-text {
    margin-top: auto !important;
    width: 100% !important;
    text-align: center !important;
}

.ca-collection-card .fusion-post-cards-grid-column {
    height: 400px !important;
    display: flex !important;
}

.ca-collection-card .fusion-column-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
}

.ca-collection-card .fusion-classic-product-image-wrapper {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-height: 280px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}

.ca-collection-card .fusion-image-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.ca-collection-card .fusion-image-wrapper img {
    max-width: 100% !important;
    max-height: 250px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.ca-collection-card .fusion-text {
    flex: 0 0 auto !important;
    text-align: center !important;
    width: 100% !important;
}

.ca-collection-card .fusion-text-6 {
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 5px !important;
}

.ca-collection-card .fusion-text-6 p {
    margin: 0 !important;
    line-height: 1.4 !important;
}

.ca-collection-card .fusion-text-7 {
    margin-top: 5px !important;
    min-height: 20px !important;
}

.ca-collection-card .fusion-text-7 p {
    margin: 0 !important;
}

.fusion-woo-cart-totals-wrapper .wc-proceed-to-checkout .fusion-button {
    --awb-button-color: #ffffff !important;
    color: #ffffff !important;
}

/* Trust Row */
.ca-trust-row img {
	width: 120px;
}

/* Search Icon Header */
@media all and (min-width: 480px) {
	.awb-menu__main-li.custom-menu-search  {
		margin-left: 50px;
	}
}
