/**
Theme Name: CSA 
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: csa
Template: astra
*/

/* =========================================================
   PRODUCT SEARCH RESULTS — MAKE THEM LOOK LIKE CATEGORY ARCHIVE
   ========================================================= */

/* Force WooCommerce product search results into the same
   4-column product grid as the category pages */
body.woocommerce-product-search ul.products,
body.search-results ul.products.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Individual product cards */
body.woocommerce-product-search ul.products li.product,
body.search-results ul.products.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

/* Make sure Astra's product image area behaves normally */
body.woocommerce-product-search ul.products li.product .astra-shop-thumbnail-wrap,
body.search-results ul.products.products li.product .astra-shop-thumbnail-wrap {
    width: 100%;
}

/* Product image */
body.woocommerce-product-search ul.products li.product
.astra-shop-thumbnail-wrap img,
body.search-results ul.products.products li.product
.astra-shop-thumbnail-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product information */
body.woocommerce-product-search ul.products li.product
.astra-shop-summary-wrap,
body.search-results ul.products.products li.product
.astra-shop-summary-wrap {
    width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 921px) {

    body.woocommerce-product-search ul.products,
    body.search-results ul.products.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 25px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 544px) {

    body.woocommerce-product-search ul.products,
    body.search-results ul.products.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

}

.header-main-layout-1 .ast-main-header-bar-alignment {
     margin-left: 10px;
     margin-right: auto;
     margin-top: 70px;
}
 .ast-site-header-cart .ast-woo-header-cart-info-wrap, .ast-edd-site-header-cart .ast-edd-header-cart-info-wrap {
     font-weight: 300;
     line-height: 2.7;
}
 .ast-site-header-cart, .woocommerce .ast-site-header-cart {
     margin-top: 87px;
}
/* Rounded buttons across the entire site */
 button, input[type="button"], input[type="submit"], input[type="reset"], a.button, .button, .wp-block-button__link {
     border-radius: 50px;
}
 .woocommerce-product-gallery__trigger {
     display: none;
}
 .ast-shop-product-out-of-stock {
     display: none;
}
 .woocommerce-js div.product p.price, .woocommerce-js div.product span.price {
     color: #484c51 !important;
     font-size: 1.2rem;
     font-weight: 300;
     margin: 0 0 1em;
}
 .woocommerce-tabs {
     display: none !important;
}
 .woocommerce #content div.product .woocommerce-tabs, .woocommerce div.product .woocommerce-tabs, .woocommerce-page #content div.product .woocommerce-tabs, .woocommerce-page div.product .woocommerce-tabs {
     clear: both;
}
 .woocommerce-tabs.wc-tabs-wrapper h2 {
     font-size: .9em;
}
/* Desktop product card styling only */
 @media (min-width: 922px) {
    /* Product card */
     .woocommerce ul.products li.product {
         position: relative;
    }
    /* Product image area */
     .woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
         position: relative;
         display: flex;
         align-items: center;
         justify-content: center;
         overflow: hidden;
    }
    /* Product details overlay */
     .woocommerce ul.products li.product .astra-shop-summary-wrap {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         padding: 15px;
         box-sizing: border-box;
         display: flex;
         flex-direction: column;
         align-items: flex-start;
         justify-content: flex-start;
         z-index: 2;
    }
    /* Hide product category */
     .ast-woo-product-category {
         display: none !important;
    }
    /* Product name */
     .woocommerce ul.products li.product .woocommerce-loop-product__title {
         margin: 0 0 5px;
         padding: 0;
    }
    /* Price */
     .woocommerce ul.products li.product .price {
         margin: 0;
    }
    /* Details button - centred at bottom */
     .woocommerce ul.products li.product .astra-shop-summary-wrap .button {
         margin-top: auto !important;
         margin-bottom: 15px !important;
         margin-left: auto !important;
         margin-right: auto !important;
         font-size: 12px !important;
    }
    /* Make product image smaller */
     .woocommerce ul.products li.product .astra-shop-thumbnail-wrap img {
         transform: scale(0.6);
         transform-origin: center center;
    }
}
 .astra-shop-thumbnail-wrap {
     background: #ebebeb;
}
 .woocommerce-loop-category__title {
     display: none;
}
 .products.columns-4 {
     padding: 100px auto;
}
 .up-sells.upsells.products {
     text-align: center;
}
 .up-sells.upsells.products h2 {
     font-size: 1.3em;
}
 .related.products h2 {
     text-align: center;
     font-size: 1.4em;
     padding: 20px 0 20px 
}
 .woocommerce-loop-product__title {
     text-align: left !important;
}
 .stock.special-order-label {
     color: #fff !important;
     font-size: 14px !important;
}
 @media (max-width: 921px) {
    /* Stack the mobile header vertically */
     .ast-mobile-header-wrap .ast-main-header-wrap .ast-primary-header-bar {
         height: auto !important;
    }
     .ast-mobile-header-wrap .ast-builder-grid-row {
         display: flex !important;
         flex-direction: column !important;
         align-items: center !important;
         justify-content: center !important;
    }
    /* Centre the logo */
     .ast-mobile-header-wrap .site-branding {
         margin: 30px auto 0 !important;
         text-align: center !important;
    }
     .ast-mobile-header-wrap .site-logo {
         margin: 0 auto !important;
    }
    /* Put hamburger underneath */
     .ast-mobile-header-wrap .ast-mobile-menu-trigger {
         margin: 10px auto 0 !important;
    }
}
/* Checkout shipping options */
 .woocommerce-checkout td[data-title="Shipment"] #shipping_method {
     list-style: none !important;
     margin: 0 !important;
     padding: 0 !important;
}
/* Each shipping option */
 .woocommerce-checkout td[data-title="Shipment"] #shipping_method li {
     display: block !important;
     position: relative !important;
     margin: 0 0 10px 0 !important;
     padding: 0 !important;
     text-align: left !important;
     line-height: 1.4 !important;
}
/* Radio button */
 .woocommerce-checkout td[data-title="Shipment"] #shipping_method li input[type="radio"] {
     position: static !important;
     display: inline-block !important;
     float: none !important;
     width: 16px !important;
     height: 16px !important;
     margin: 0 8px 0 0 !important;
     padding: 0 !important;
     vertical-align: middle !important;
}
/* Label */
 .woocommerce-checkout td[data-title="Shipment"] #shipping_method li label {
     display: inline !important;
     position: static !important;
     margin: 0 !important;
     padding: 0 !important;
     vertical-align: middle !important;
     text-align: left !important;
}
 .hover-image {
     position: relative;
     display: block;
     overflow: hidden;
}
 .hover-image img {
     display: block;
     width: 100%;
}
 .hover-image .image-hover {
     position: absolute;
     top: 0;
     left: 0;
     opacity: 0;
     transition: opacity 0.3s ease;
}
 .hover-image:hover .image-hover {
     opacity: 1;
}
 .woocommerce .woocommerce-breadcrumb {
     display: none !important;
}
 .woocommerce .woocommerce-products-header {
     display: none !important;
}
 .woocommerce-js ul.products li.product .ast-woo-product-category, .woocommerce-page ul.products li.product .ast-woo-product-category {
     margin-top: 1em;
     display: none;
}
 .wp-block-search__inside-wrapper .wp-block-search__input {
     padding: 23px 10px;
}
 .woocommerce-js ul.products li.product .price {
     color: #282828;
}
 .ast-site-header-cart .ast-woo-header-cart-info-wrap {
     color: #591110;
}
 .ast-stock-detail {
     display: none;
}
/* WooCommerce search results — 3 columns */
 body.search-results.post-type-archive-product ul.products {
     display: grid !important;
     grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
     gap: 30px !important;
     width: 100% !important;
     margin: 0 !important;
     padding: 0 !important;
}
/* Reset Astra's product-list item width/margins */
 body.search-results.post-type-archive-product ul.products li.product {
     width: auto !important;
     margin: 0 !important;
     float: none !important;
}
/* Desktop */
 @media (min-width: 922px) {
     body.search-results.post-type-archive-product ul.products {
         grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
/* Tablet */
 @media (min-width: 545px) and (max-width: 921px) {
     body.search-results.post-type-archive-product ul.products {
         grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
/* Mobile */
 @media (max-width: 544px) {
     body.search-results.post-type-archive-product ul.products {
         grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
/* Mobile */
 @media (max-width: 544px) {
     .header-main-layout-1 .ast-main-header-bar-alignment {
         margin-left: 0;
         margin-right: auto;
         margin-top: 0;
    }
}
 .woocommerce-pagination {
     margin-top: 50px;
}
 @media (max-width: 767px) {
    /* Make the footer a 2-row layout */
     .ast-builder-footer-grid-columns {
         display: grid !important;
         grid-template-columns: 1fr 1fr !important;
         grid-template-rows: auto auto !important;
    }
    /* Copyright = entire first row */
     .site-footer-primary-section-2 {
         grid-column: 1 / -1 !important;
         grid-row: 1 !important;
         width: 100% !important;
    }
    /* Social = bottom left */
     .site-footer-primary-section-1 {
         grid-column: 1 !important;
         grid-row: 2 !important;
         width: 100% !important;
    }
    /* Privacy/Contact = bottom right */
     .site-footer-primary-section-3 {
         grid-column: 2 !important;
         grid-row: 2 !important;
         width: 100% !important;
    }
    /* Facebook + Instagram */
     .footer-social-inner-wrap {
         display: flex !important;
         flex-direction: row !important;
         flex-wrap: nowrap !important;
         width: auto !important;
    }
     .footer-social-inner-wrap .footer-social-item {
         display: inline-flex !important;
         width: auto !important;
         flex: 0 0 auto !important;
    }
    /* Privacy + Contact */
     #astra-footer-menu {
         display: flex !important;
         flex-direction: row !important;
         flex-wrap: nowrap !important;
         width: auto !important;
         justify-content: flex-end !important;
    }
     #astra-footer-menu > li {
         display: inline-flex !important;
         width: auto !important;
         flex: 0 0 auto !important;
         margin-left: 15px !important;
    }
}