/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com/demo/
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.nasa-rtl #shipping_method li input[type="radio"] {
    float: right !important;
    margin-right: 0 !important;
    margin-left: 5px !important;
}
body.nasa-rtl #shipping_method li label {
    display: inline-block;
    text-align: right;
    direction: rtl;
}

@charset "utf-8";
/* CSS Document */

/* Styles for Desktop */
@media only screen and (min-width: 768px) {
 /* Add other desktop styles here */
	
	.digits-form_page.digits-auto-theme {
  width: 50%;
  margin: auto;
  border-radius: 8%;
  max-height: 65vh;
  background: transparent;
}

.digits-form_container.digits {
  padding: 4px;
  margin: auto;
    margin-top: auto;
  width: 400px;
  max-width: 65%;
  border-radius: 5%;
  margin-top: 23%;
}

.digits-cancel {
  cursor: pointer;
  position: absolute;
  z-index: 10;
  width: 24px;
  height: 24px;
  right: 35%;
  top: 20%;
}

.digits-form_heading {
  text-align: center;
}

#jetpack_protect_answer {
  display: inline;
  margin-top: -11px;
}

.digits_original label {
  display: inline;
  text-align: start;
}

.digits_original p {
  display: table-cell;
  text-align: start;
}

.digits-form_button.digits-form_submit.digits-form_submit-btn {
  background-color: #f0bddb;
}
 
.digits_site_footer_box.digits_site_footer_box_relative {
  display: none;
}

picture {
  display: none;
}

.digits-form_tab-bar .digits-tab_active {
  border-bottom-color: #f0bddb;
  opacity: 1;
  display: none;
}

.digits-form_tab-bar .digits-form_tab-item {
  color: #f097cb;
  margin: auto;
	font-size: 15px;
}
    }


/* Styles for Mobile */
@media only screen and (max-width: 767px) {
/* Add other mobile styles here */
	
.digits-form_heading {
  text-align: center;
}

#jetpack_protect_answer {
  display: inline;
  margin-top: -11px;
}

.digits_original label {
  display: inline;
  text-align: start;
}

.digits_original p {
  display: table-cell;
  text-align: start;
}

.digits-form_button.digits-form_submit.digits-form_submit-btn {
  background-color: #f0bddb;
}
 
.digits_site_footer_box.digits_site_footer_box_relative {
  display: none;
}

picture {
  display: none;
}

.digits-form_tab-bar .digits-tab_active {
  border-bottom-color: #f0bddb;
  opacity: 1;
  display: none;
}

.digits-form_tab-bar .digits-form_tab-item {
  color: #f097cb;
  margin: auto;
	font-size: 15px;
}
	
    }
.digits-form_button_ic {
  display: none;
}
.digits-form_input.digits-form_countrycode.countrycodecontainer.digits_countrycodecontainer {
  direction: ltr;
}

.woocommerce-additional-fields {
    visibility: hidden;
}
input#billing_phone {
    direction: ltr;
}

}
small.woocommerce-price-suffix, {
    display: none;
}
small.woocommerce-price-suffix {
    display: none;
}
div#myModal {
    z-index: 10;
}

.shop_table.my_account_orders tbody td.woocommerce-orders-table__cell-order-actions .button {
    padding: 5px;
}

em.woocommerce-review__verified.verified {
    background-color: #edfd09;
    border-radius: 30px;
    padding-right: 5px;
	font-style: normal;
}

.checkout-modern-wrap #payment .payment_methods .payment_box {
    padding: 0px !important;
}


element.style {
}
.checkout-modern-wrap #payment .payment_methods {
    padding: 5px 5px !important;
}

.payment_box {
    padding: 10px 0px !important;
}

.woocommerce .checkout-group, .woocommerce .order-review {
    padding: 10px 10px 20px !important;
}

.form-row-wide,
.form-row-first,
.form-row-last {
    clear: both !important;
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
}

input.mobile_field.mobile_format.dig-mobmail.dig-mobile_field.mobile_placeholder {
    direction: ltr !important;
    padding-left: 113px !important;
}

input.input-text.countrycode.digits_countrycode.country_code_flag {
    direction: ltr !important;
}


p.woocommerce-shipping-destination {
    visibility: hidden;
}

form.woocommerce-shipping-calculator {
    visibility: hidden;
}

.woocommerce-cart #shipping_method {
    text-align: right;
}

#nasa-before-load{
	display:none!important;
}

.top-bar-wrap {
  background: linear-gradient(135deg, #d89ca4 0%, #b56b77 100%) !important;
  position: relative;
  overflow: hidden;
}
.top-bar-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { to { left: 100%; } }

/* ===== إصلاح عروض فلاش - تداخل النصوص وفقدان الألوان ===== */

/* جعل صفوف المنتجات في قسم عروض الفلاش منتظمة */
.elementor-element-3875b59 .nasa-sc.products.ns-type-grid,
[data-id="79e4e39"] .nasa-sc.products.ns-type-grid {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* جعل كارتات المنتجات بنفس الارتفاع */
[data-id="79e4e39"] .product.type-product {
  display: flex !important;
  flex-direction: column !important;
}

/* إصلاح ارتفاع الـ info-wrap ليكون متساوياً */
[data-id="79e4e39"] .product.type-product .product-info-wrap {
  min-height: 140px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* إصلاح محاذاة نص الماركة والعنوان والسعر */
[data-id="79e4e39"] .product.type-product .product-info-wrap .name {
  min-height: 38px !important;
}

/* إخفاء الماركة في قائمة المنتجات لتجنب التداخل */
[data-id="79e4e39"] .product.type-product .nasa-list-brand {
  display: none !important;
}

/* إصلاح الكارتات في الصف الأول */
[data-id="79e4e39"] .slick-slide > div > ul.products > li.product,
[data-id="79e4e39"] .products > li.product {
  float: none !important;
}

.stock-sold {
    display: none !important;
}

/* ===== Fix: breadcrumb duplicate titles on view-order ===== */
.woocommerce-account .woocommerce-breadcrumb,
.woocommerce-account .nasa-breadcrumb,
.woocommerce-account .breadcrumbs-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== My Account Navigation — 4 أعمدة في صف واحد ===== */
.woocommerce-MyAccount-navigation.nasa-MyAccount-navigation {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -8px !important;
}
.woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
    width: 25% !important;
    padding: 8px !important;
}
.woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #f0e1e7 !important;
    border-radius: 16px !important;
    padding: 22px 12px !important;
    text-align: center !important;
    transition: all 0.25s ease !important;
    min-height: 110px !important;
    box-shadow: 0 2px 8px rgba(181,107,119,0.06) !important;
}
.woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link a:hover,
.woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link.is-active a {
    border-color: #d89ca4 !important;
    background: #fdf5f7 !important;
    box-shadow: 0 6px 20px rgba(181,107,119,0.12) !important;
    transform: translateY(-2px) !important;
}
.woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link .ns-svg-wrap {
    margin-bottom: 8px !important;
}
.woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link .ns-svg-wrap svg {
    width: 32px !important;
    height: 32px !important;
    fill: #b56b77 !important;
    stroke: #b56b77 !important;
}
/* Responsive — 2 columns on mobile */
@media (max-width: 600px) {
    .woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
        width: 50% !important;
    }
    .woocommerce-MyAccount-navigation.nasa-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
        padding: 16px 10px !important;
        min-height: 90px !important;
        border-radius: 12px !important;
    }
}