/**
Theme Name: edurisenepalastrachildtheme
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: edurisenepalastrachildtheme
Template: astra
*/


/* START header page  */
.site-logo-img img {
    filter: unset !important;
}
.ast-theme-transparent-header #masthead, #masthead {
    position: sticky;   
    top: 0px;
}
.ast-theme-transparent-header #ast-desktop-header > .ast-main-header-wrap > .main-header-bar, .main-header-bar {
    background-color: white ;
    padding-top: 0px;
    padding-bottom: 0px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.ast-theme-transparent-header .main-header-menu .menu-link {
    color: black !important;
    font-weight: 600;
}
body.ast-theme-transparent-header .ast-site-header-cart .ast-woo-header-cart-info-wrap {
    color: black !important;
}
.ast-theme-transparent-header .ast-menu-cart-outline .ast-cart-menu-wrap .count, .ast-theme-transparent-header .ast-menu-cart-outline .ast-addon-cart-wrap {
    color: black !important;
}
.ast-theme-transparent-header .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset svg path:not(.ast-hf-account-unfill), .ast-theme-transparent-header .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset svg circle {
    fill: #222 !important;
}
@media (max-width: 544px) {
    .ast-theme-transparent-header .main-header-bar, .ast-theme-transparent-header.ast-header-break-point .main-header-bar-wrap .main-header-menu, .ast-theme-transparent-header.ast-header-break-point .main-header-bar-wrap .main-header-bar, .ast-theme-transparent-header.ast-header-break-point .ast-mobile-header-wrap .main-header-bar {
        background-color: white  ;
    }
    .ast-header-account-wrap .ast-header-account-type-avatar .avatar {
        width: 38px;
    }
}
@media (max-width: 921px) {
    .ast-builder-menu-2 .main-header-menu, .ast-header-break-point .ast-builder-menu-2 .main-header-menu {
        margin-top: 12px;
    }
    .ast-header-break-point .ast-builder-menu-2 .main-header-menu .menu-item > .menu-link {
        padding-bottom: 6px;
        padding-top: 6px;
    }
    @media (max-width: 921px) {
        .ast-builder-menu-2 .main-header-menu, .ast-header-break-point .ast-builder-menu-2 .main-header-menu {
            margin-top: 10px;
        }
    }
}

/* END header page  */

/* https://localhost/edurisenepal.com/product/science-book-class-2-jan026-campaign/ */

/* Start single page  */
.discount-info {
    color: green;
}
.d-none {
    display: none !important;
}

/* Hides the stock/availability line on the product page */
/* Availability: In stock (can be backordered) */
.woocommerce-js div.product p.ast-stock-detail {
    display: none !important;
}

h1.entry-title {
    display: block !important;
}
.woocommerce-product-details__short-description {
    margin-bottom: 16px;
}
/* END single page  */



/* checkout page  */
.woocommerce-billing-fields__field-wrapper, .user-fields {
    display: block;
    border: 1px solid #e2e2e2;
    padding: 16px;
    border-radius: 8px;
}
.woocommerce-billing-fields__field-wrapper  {
    margin-top: 16px;
}

/* https://edurisenepal.com/demo/store/ */
.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 17px;
}

.woocommerce-js ul.products li.product .price, .woocommerce-page ul.products li.product .price {
    font-size: 16px;
}


/* start card design  */

/* Card container */
li.product {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Image wrapper */
.astra-shop-thumbnail-wrap {
    position: relative;
    overflow: hidden;
}

.astra-shop-thumbnail-wrap img {
    transition: transform 0.4s ease;
}

li.product:hover img {
    transform: scale(1.08);
}

/* Add to cart / Pre-order button */
/* .ast-on-card-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--e-global-color-accent);
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 14px;
    box-shadow: 0 6px 20px rgba(255,122,0,0.35);
    transition: all 0.3s ease;
} */

/* .ast-on-card-button:hover {
    background:var(--e-global-color-accent);
    transform: scale(1.05);
} */

/* Tooltip text */
.ast-card-action-tooltip {
    display: none;
}

/* Product summary */
.astra-shop-summary-wrap {
    padding: 16px 18px 20px;
    text-align: left;
}

/* Title */
.woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

/* Category */
.ast-woo-product-category {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

/* Price */
.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--e-global-color-accent);
}

.ast-on-card-button .ahfb-svg-iconset {
    opacity: 1;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}


/* --Start store page  */
@media (min-width: 1201px) {
    .ast-separate-container .ast-woocommerce-container {
        padding: 2.34em 3.67em;
    }
}
/* --END store page  */
/* END card design  */


/* START news and events short code css  */

.ps-btn {
    background-color: var(--e-global-color-accent);
    padding: 8px 12px;
    /* border-radius: 4px; */
    font-size: 14px;
    color: white;
}
.custom-post-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.grid-card {
    width: calc(33.333% - 20px);
    background: #ffffff;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.grid-thumb {
    /* height: 260px; */
    width: 100%;
   
    overflow: hidden;
}
.grid-thumb img {
    width: 100%; aspect-ratio: 4/3;

    height: auto;
    display: block;
    object-fit: cover;
}

.grid-content {
    padding: 15px;
}

.grid-date {
    font-size: 13px;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

.text-content {
    height: 120px;
}
.grid-title {
    font-size: 18px;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* height: 45px; */
}


.grid-title a {
    font-size: 18px;
    text-decoration: none;
    color: var( --e-global-color-primary );
}

.grid-title a:hover {
    color: var(--e-global-color-accent);
}

.grid-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* height: 45px; */
}



/* start notices child   */
.grid-card-full {
    width: 100%;
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0px 7px 20px 0px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.notice-icon {
    width: 70px;
    height: 70px;
    padding: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    color: #54595F;

    border: 3px solid #69727d;
    border-radius: 50%;

    margin-right: 16px;
    flex-shrink: 0;
    
}

.mb-0 {
    margin-bottom: 0px !important;
}
.mb-1 {
    margin-bottom: 4px !important;
}
/* end notices child   */


/* Responsive */
@media (max-width: 1024px) {
    .grid-card {
        width: calc(50% - 15px);
    }
    .grid-card-full {
        display: block;
    }
    .notice-icon {
        margin-bottom: 8px;
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .grid-card {
        width: 100%;
    }
    .text-content {
        height: unset;
    }
}
/* END news and events short code css  */


/* start checkout page Shipping text Free shipping hiding  */
.woocommerce-shipping-totals {
    display: none !important;
}
/* Street address billing detail 2 */
#billing_address_2 { 
    display: none !important;
}
#billing_postcode_field {
    display: none !important;
}
/* END checkout page Shipping text Free shipping hiding  */

/* START checkout page Highlight Success & Failed Messages */
/* ✅ SUCCESS - Order Received */
.woocommerce-notice--success {
    background: #e6f9f0;
    border-left: 6px solid #28a745;
    color: #155724;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
}

/* ❌ ERROR - Payment Failed */
.woocommerce-notice--error,
.woocommerce-error {
    background: #fdecea;
    border-left: 6px solid #dc3545;
    color: #721c24;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
}


.payment_method_connectips label , .woocommerce-page.woocommerce-checkout #payment div.payment_box, .woocommerce.woocommerce-checkout #payment div.payment_box {    
    font-size: 17px;
}
/* END checkout page Highlight Success & Failed Messages */