/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/
/* body, h1, h2, h3, h4, h5, h5, h6, p, a:not(.nasa-bot-icons), span, li:not(.nasa-bot-item) {
    font-family: DIN Next LT Arabic !important;
} */
.checkout-modern-wrap .woocommerce-additional-fields,
.checkout-modern-wrap .woocommerce-additional-fields h3{
	display: block !important;
}
.nasa-badges-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    bottom: 0;
    transform: translateY(50%);
    top: auto;
    padding: 10px;
    direction: ltr !important;
}

.nasa-badges-wrap .badge {
    margin: 0;
}

body .nasa-badges-wrap .badge.sale-label {
    background-color: #ffd2cb;
    color: #A83032;
}

.product-item .product-info-wrap.info {
    text-align: start !important;
    padding: 10px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.product-item .product-img-wrap {
    z-index: 9 !important;
}

.product-item .product-img-wrap .product-img {
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.product-item .product-info-wrap.info .name {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 3em; /* Điều chỉnh dựa trên line-height */
    font-size: 14px;
}

.product-item .product-info-wrap.info .price {
    flex-direction: row-reverse;
}

body .product-item .nasa-product-grid .btn-wishlist {
    box-shadow: none !important;
}

.product-item .product-info-wrap .add-to-cart-grid.btn-link {
    opacity: 1 ;
    visibility: visible;
    transform:  translateY(0);
    color: #af69ee ;
    background-color: transparent;
    text-decoration: none;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 14px;
}

.br_brand_shop_container {
    width: 100%;
    opacity: 0.7;
    margin-bottom: 5px;
}

.br_brand_shop_container .berocket_brand_post_image_name  {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
}

#wrapper {
    background-color: #f5f5f5;
}

body .nasa-product-details-page .product-gallery .main-images .slick-dots{
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
}

body .nasa-product-details-page .nasa-single-product-slide .product-gallery .nasa-badges-wrap {
    bottom: 30px;
    
}

body .nasa-product-details-page .nasa-single-product-slide .product-gallery .nasa-badges-wrap .badge {
    padding: 5px 10px;
}

body .nasa-product-details-page .nasa-single-product-slide .product-gallery .btn-wishlist {
    box-shadow: none;
}
 
.brands_in_title {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.brands_in_title .custom-text-single-brand {
    margin: 0;
}

.brands_in_title .br_brand_product_container a{
    display: flex;
    align-items: center;
    color: #af69ee !important;
}

@media only screen and (min-width: 767px) {
    body .nasa-product-details-page .nasa-single-product-slide .product-gallery .nasa-badges-wrap {
        display: none;
    }

    .category-slider-custom .slick-list {
        margin: 0 -20px !important;
    }

    .category-slider-custom .slick-list {
        padding-right: 0;
        padding-left: 8%;
    }
}

@media only screen and (max-width: 767px) {

    .category-slider-custom .slick-list {
        padding-right: 0;
        padding-left: 12%;
    }

    .nasa-header-mobile-layout .elements-wrapper.mini-icon-mobile {
        gap: 15px;
    }

    body .custom-text-single {
        display: none;
    }

    body.nasa-rtl #nasa-menu-sidebar-content,
    body #nasa-menu-sidebar-content{
        transform: translateY(-100%) !important;
        width: 100%;
        max-width: 100%;
        height: fit-content;
        overflow: hidden;
    }

    body.nasa-rtl #nasa-menu-sidebar-content.nasa-active,
    body #nasa-menu-sidebar-content.nasa-active{
        transform: translateY(0) !important;
    }

    body.nasa-rtl #nasa-menu-sidebar-content .nasa-close-menu-mobile,
    body #nasa-menu-sidebar-content .nasa-close-menu-mobile,
    body.nasa-rtl #nasa-menu-sidebar-content.nasa-active .nasa-close-menu-mobile,
    body #nasa-menu-sidebar-content.nasa-active .nasa-close-menu-mobile{
        transform: rotate(-90deg) !important;
        border: none;
    }

    body .product-type-variable .nasa-product-details-page .product-info .cart .single_variation_wrap,
	body .product.type-product:not(.product-type-variable) .nasa-product-details-page .product-info .cart{
        position: fixed;
		bottom: 62px;
        left: 0;
        width: 100%;
        padding: 10px 10px;
        background: #fff;
        z-index: 9;
        margin: 0;
        box-shadow: 2px 0px 12px 0px rgba(0,0,0,0.2);
    }
}

.custom-text-single {
    margin: 10px 0;
    font-size: 50%;
    width: fit-content;
    padding: 5px 10px;
    background: #00a32a;
    border-radius: 50px;
    color: #fff;
}


.header-icons .nasa-icon-wishlist .icon-wrap {
    position: relative;
}

.header-type-9 .nasa-elements-wrap .icons-wrapper,
.header-type-9 .nasa-elements-wrap .wide-nav {
    width: auto !important;
}

.category-slider-custom-page .product-category a img{
    aspect-ratio: 1/1;
    object-fit: cover;
}

.category-slider-custom-page .product-category a .header-title{
    left: 0;
    width: 100%;
    bottom: 0;
}

.category-slider-custom-page .product-category a .nasa-cat-thumb:after {
    width: 100%;
    height: 100%;
    content: '';
    background: linear-gradient(180deg, rgba(9, 9, 121, 0) 35%, rgb(255 255 255 / 86%) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

label[for="coupon_code"] {
    display: none;
}

.nasa-modern-2 .product-item:hover .nasa-product-grid .btn-link:hover {
    background-color: transparent !important;
}

.product-item .product-info-wrap .star-rating {
    display: none;
}

.category-slider-custom .nasa-category-horizontal-4  .nasa-cat-thumb img {
    object-fit: cover;
    aspect-ratio: 1/1;
}

.category-slider-custom .nasa-category-horizontal-4  .view-more {
    position: relative;
}

.category-slider-custom .nasa-category-horizontal-4  .view-more .nasa-cat-thumb {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 10px;
}

.category-slider-custom .nasa-category-horizontal-4  .view-more .nasa-cat-thumb img {
    opacity: 0;
    visibility: hidden;
}

.category-slider-custom .nasa-category-horizontal-4  .view-more h3.header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;

}

.woocommerce-cart-form table .product-subtotal,
.page-shopping-cart .free-shipping-message {
    display: none;
}

.page-shopping-cart .woocommerce-cart-form table .coupon {
    margin-bottom: 20px;
}

.nasa-ajax-store-wrapper .nasa_shop_description {
    display: none;
}

.wc-empty-cart-message.nasa-empty-shopping-cart {
    display: none;
}

.page-shopping-cart .nasa-cart-content .shipheading,
.page-shopping-cart .nasa-cart-content .woocommerce-shipping-destination,
.page-shopping-cart .nasa-cart-content .shipnamecl {
	display: none;
}

.page-shopping-cart .nasa-cart-content .woocommerce-shipping-totals,
.page-shopping-cart .nasa-cart-content .woocommerce-shipping-totals > td{
	background: transparent !important;
	padding: 20px 0 !important;
}

.nasa-promotion-close {
display: none;
}

.product-details .nasa-content-description .nasa-content-panel strong  {
	font-weight: 600 !important;
}

a.nasa-bold,
a.button {
	font-weight: 500 !important;
}

.btn-add-new-review {
	padding: 5px !important;
    height: auto;
}

.nasa-category-horizontal-4 .nasa-cat-title {
    line-height: 20px;
}

.category-slider-custom .nasa-category-horizontal-4 .nasa-cat-title {
    font-weight: 400 !important;
    color: #333 !important;
}

.nasa-bottom-bar .nasa-bot-item .cart-link {
    flex-direction: column !important;
}

.nasa-bottom-bar .nasa-bot-item .cart-link .nasa-cart-count,
.nasa-bottom-bar .nasa-bot-item .wishlist-link .nasa-wishlist-count {
    right: 50%;
    transform: translateX(20px);
}

.nasa-bottom-bar .nasa-bot-item svg {
    margin-bottom: 0px;
    height: 23px;
}

.nasa-bottom-bar .nasa-bot-item .icon-text {
    font-weight: 600 !important;
}

.nasa-bottom-bar .nasa-bot-item * {
    max-height: 23px !important;
}

.nasa-bottom-bar-icons .wishlist-link.nasa-wishlist-link {
    display: block !important;
    position: relative;
}

.nasa-bottom-bar-icons .wishlist-link .icon-wrap {
    display: block;
    line-height: 1;
}

.woocommerce-notices-wrapper {
	bottom: 100px !important;
}

.woocommerce-account .woocommerce-notices-wrapper, 
.woocommerce-cart .woocommerce-notices-wrapper, 
.woocommerce-checkout .woocommerce-notices-wrapper {
	bottom: auto !important;
}

/* .woocommerce-notices-wrapper .woocommerce-info:not(.cart-empty):not(:empty), 
.woocommerce-notices-wrapper #yith-wcwl-message:not(.cart-empty):not(:empty), */
.woocommerce-notices-wrapper .woocommerce-message:not(.cart-empty):not(:empty) {
    opacity: 1 !important;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    justify-content: flex-start;
	gap: 10px;
	border-bottom: 3px solid var(--message-message-icon-color,#95ac3c);
}

@media only screen and (max-width: 767px) { 
	body .nasa-product-details-page .product-info .cart {
		position: static;
		background: transparent;
		box-shadow: none;
		padding: 0;
		margin-bottom: 20px;
	}
	
	.nasa-tip .nasa-attr-text {
		display: none;
	}
	
	.breadcrumb-row {
		height: auto !important;
	}
	
	.category-slider-custom .nasa-category-horizontal-4  .nasa-cat-thumb {
    width: 68px;
	margin: auto;
}


.nasa-product-details-page .nasa-attr-ux .nasa-attr-bg {
	height: 30px;
	width: 30px;
}

.nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image .nasa-attr-ux {
	display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100px;
}

	
/* .nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image .nasa-attr-ux.nasa-disable .nasa-attr-text:after {
  content: "غير متوفر";
  color: black;
  position: absolute;
  left: 0;
  top: 0;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}
	
.nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image .nasa-attr-ux.nasa-disable .nasa-attr-text{
	color: transparent !important;
	transition: none !important;
} */
	
.nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image .nasa-attr-ux .nasa-attr-bg-img {
    width: 70px;
    height: 70px;
}

.nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image .nasa-attr-ux .nasa-attr-bg-img img{
    width: 100%;
    height: 100%;
}
.nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image .nasa-attr-ux .nasa-attr-text {
	 display: block;
    position: relative;
    font-size: 90%;
    text-align: center;
}
	
	.nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image .nasa-attr-ux.selected .nasa-attr-text {
	color: #af69ee;
}

.nasa-product-details-page .variations_form .nasa-attr-ux_wrap.type-nasa_image {
	 display: flex;
    overflow: scroll;
}

.nasa-product-details-page .variations_form table.variations {
	table-layout: fixed;
}
	
	}


.nasa-attr-ux.hilwa-disable .nasa-attr-bg-img:before,
.nasa-attr-ux.hilwa-disable .nasa-attr-bg-img:after,
.nasa-attr-ux.hilwa-disable .nasa-attr-bg:before,
.nasa-attr-ux.hilwa-disable .nasa-attr-bg:after {
  content: "" !important;
  height: 1px !important;
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  border: none !important;
  right: 0 !important;
  border-top: 1px solid #fff !important;
}

.nasa-attr-ux.hilwa-disable .nasa-attr-bg-img:before,
.nasa-attr-ux.hilwa-disable .nasa-attr-bg:before {
  transform: translateY(-50%) rotate(45deg) !important;
}

.nasa-attr-ux.hilwa-disable .nasa-attr-bg-img:after,
.nasa-attr-ux.hilwa-disable .nasa-attr-bg:after {
  transform: translateY(-50%) rotate(-45deg) !important;
}

.nasa-attr-ux.hilwa-disable {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .div-cats-special {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .div-cats-special > div {
    flex: 0 0 21% !important; /* 4 item = 100% */
  }

  .div-cats-special::-webkit-scrollbar {
    display: none;
  }
}

.cart-collaterals #shipping_method li label {
	display: flex;
    width: 100%;
    justify-content: space-between;
	font-weight: 600 !important;
}

#shipping_method li {
	display: flex;
}

/* .woocommerce-notices-wrapper .woocommerce-message[role="alert"][tabindex="-1"], */
.page-shopping-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .hide-for-checkout {
	display: none;
}

.page-shopping-cart .woocommerce-notices-wrapper.hilwa-avail {
	display: block;
}

.nasa-category-slider-horizontal-5 .nasa-cat-thumb img {
	border-radius: 50%;
}

.nasa-category-horizontal-5 .header-title {
	margin-top: 15px;
    font-size: 100%;
}

/**
 * Brand list - CSS
 */
.hw-brand-search {
	margin-bottom: 30px;
}

.hw-brand-search .hw-brand-search-wrap {
    overflow: hidden;
    display: flex;
    border-radius: 20px; 
}

.hw-brand-search .hw-brand-search-wrap input {
    flex:1;
    border: none;
    padding: 10px;
}

.hw-brand-search .hw-brand-search-wrap button {
    flex:1;
    max-width: 20%;
    border-radius: 0px;
    border: none;
    display: flex;
    gap: 10px;
    text-transform: capitalize;
    font-size: 100%
}

/**
 * Brand Name Page
 */
.hw-brand-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -25px;
	margin-right: -25px;
}
.hw-brand-item {
	width: 20%;
	padding: 25px;
}

.hw-brand-item > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	justify-content: center;
}

.hw-brand-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;

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

	background: #fff;
}
.hw-brand-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.hw-brand-name {
	text-align: center;
	font-size: 110%;
	line-height: 1.5;
	font-weight: bold;
}

@media only screen and (max-width: 767px) {
	.hw-brand-item {
		width: 33.3333%;
		padding: 15px 10px;
	}
	.hw-brand-grid {
		margin-left: 5px;
		margin-right: 5px;
	}
}

.product-info .stock.in-stock {
	display: none;
}

html body.nasa-rtl .nasa-product-details-page .product-info .entry-title {
	padding-left: 0;
}

.nasa-list-brand .posted_in {
	text-overflow: initial; */
    overflow: initial;
    white-space: initial;
}

.nasa-list-brand .posted_in strong {
	display: none;
}

#nasa-billing-detail-wrap {
	display: none !important;
}

/* .product-item .info .name, */
.product-item .info .price {
	margin-top: 7px;
}
body .product-item .info .nasa-list-brand {
	margin-top: 7px;
	margin-bottom: -1px;
	line-height: 1.4;
}

body #nasa-billing-info .customer-info-left {
	width: 105px;
}

.show-password-input {
	display: none;
}

body.nasa-rtl .badge{
	direction: ltr;
}

/* body, h1, h2, h3, h4, h5, h5, h6, p, a:not(.nasa-bot-icons), span, li:not(.nasa-bot-item) {
    font-family: DIN Next LT Arabic !important;
} */

#billing_email-description,
#shipping_phone-description {
	display: block !important;
}

@media only screen and (max-width: 767px) {
    .mobile-menu .mini-icon-mobile {
        width: auto;
    }
}
