/*
 * Farrows Custom CSS
 * Custom styles for Avani Solutions theme
 * Version: 1.0.0
 */

/* Add your custom CSS here */

.woocommerce .cart-collaterals .cross-sells, .woocommerce-page .cart-collaterals .cross-sells {
    width: 100%;
}

/* Header Image Responsive Classes */
.farrows-header-desktop {
    display: none;
}

.farrows-header-mobile {
    display: block;
}

@media (min-width: 768px) {
    .farrows-header-desktop {
        display: block;
    }
    
    .farrows-header-mobile {
        display: none;
    }
}

/* Hero Overlay Classes */
.farrows-hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: var(--overlay-opacity, 0.25); /* Use CSS variable with fallback */
}
.farrows-hero-overlay img {
    height: 100% !important;
}

/* Header Search Form Classes */
.header-search-form {
    bottom: -72px;
    z-index: 1;
}
#header-search-mobile{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.header-search-mobile-form {
    bottom: -72px;
    z-index: 1;
    max-width: 100%;
}
#header-search-mobile input{
    border-bottom: 1px solid #0aa4a6;
}

/* Header Logo Classes */
.header-logo-mobile {
    @media screen and (max-width: 1023px) {
            max-height: 2.5rem !important;
    }
}

/* Post Classes */
.post-content .size-full {
    max-width: 100% !important;
    width: inherit !important;
}

/* Coming Soon Classes */
.wp-block-woocommerce-coming-soon{
    padding: 0 30px;
}

/* WooCommerce Coupon Message Container */
.wc_coupon_message_container {
    margin-top: 1rem;
}
.woocommerce table.shop_table_responsive tr.cart-discount td::before, .woocommerce-page table.shop_table_responsive.cart-discount tr td::before{
    content: attr(data-coupon) "\00a0";
}
@media only screen and (max-width: 768px) {
.woocommerce table.shop_table_responsive tr.cart-discount td::after, .woocommerce-page table.shop_table_responsive tr.cart-discount td::after{
    content: attr(data-title)"";
    font-weight: 700;
    float: left;
    color: #0aa4a6;

}
}
@media only screen and (max-width: 360px) {
.woocommerce table.shop_table_responsive tr.woocommerce-shipping-totals, .woocommerce-page table.shop_table_responsive tr.woocommerce-shipping-totals{
    margin-top: 10px;
}
}

/* Enquire Now Button */
.enquire-now-button {
    position: fixed;
    z-index: 50;
    transition: opacity 0.3s;
    /* Mobile: Fixed to bottom left corner */
    bottom: 0;
    left: 0;
}

.enquire-now-button:hover {
    opacity: 0.9;
}

/* Desktop: Fixed to right side, vertically centered */
@media (min-width: 1024px) {
    .enquire-now-button {
        right: 0;
        left: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
}

.enquire-now-desktop {
    display: none;
    height: 180px !important;
    width: auto;
}

@media (min-width: 1024px) {
    .enquire-now-desktop {
        display: block;
    }
}

.enquire-now-mobile {
    display: block;
    height: 100px !important;
    width: auto;
}

@media (min-width: 1024px) {
    .enquire-now-mobile {
        display: none;
    }
}

/* Footer Mobile Padding */
@media (max-width: 767px) {
    .avani-footer {
        padding-bottom: 6rem !important;
    }
}

.avani-blue{
    color: #0aa4a6;
}
.bold {
    font-weight: bold;
}

.mobile-image-only {
  display: none;
}
@media (max-width: 767px) {
  .mobile-image-only {
    display: inline;
  }
}
  