/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.woocommerce div.product p.price ins, .woocommerce div.product span.price ins{
    color: #262D2E !important;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #262D2E !important;
		font-weight: 500;
}

.woocommerce div.product p.price del, .woocommerce div.product span.price del {
    opacity: 1;
}




   .mega_menu_product_content .matress-hardness {
  position: absolute;
  left: 7px;
  top: 20px !important;
}

.matress-hardness {
  width: 44px !important;
  height: 44px !important;
  background-color: #FFAE00;
  border-radius: 95px 95px 0px 95px;
  border: 0.85px solid white;
  transform: rotate(-180deg);
  display: none;
  align-items: center;
  justify-content: center;
}

.matress-hardness span {
  color: white;
  font-weight: bold;
  font-size: 12px;
  line-height: 10px;
  text-align: center;
  transform: rotate(180deg);
  unicode-bidi: bidi-override;
}

/* תצוגת מספרים */
.hardness {
  display: none;
  direction: ltr !important;
}
.ltr {
  direction: ltr;
  unicode-bidi: plaintext;
}

/* הצגה לפי מזהי מוצר */
.post-4553 .matress-hardness,
.post-9961 .matress-hardness,
.post-28815 .matress-hardness,
.post-9221 .matress-hardness {
  display: flex;
}
.post-4553 .hardness-6,
.post-9961 .hardness-7,
.post-28815 .hardness-75,
.post-9221 .hardness-8 {
  display: inline;
}
input#first_name_98977624 , input#email_98977625 , input#first_name_98977782 , input#email_98977783{
    text-align: right !important;
	padding-right:10px !important;
}
button.button.wcf-submit-coupon.wcf-btn-small {
    font-size: 0px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height:100%
}

button.button.wcf-submit-coupon.wcf-btn-small:before {
    content: "החל קופון" !important;
    font-size: 14px;
    font-family: 'fbextaza';
    display: block;
    margin: auto;
}
/* 👇 שיפור ספציפי למובייל */
@media (max-width: 768px) {
  .matress-hardness span {
    font-size: 10px !important;
    line-height: 10px !important;
  }
  .mega_menu_product_content .matress-hardness {
    top: 25px !important;
    left: 7px !important;
  }
}

/* Initially collapsed state, showing only 4 lines */
.text-content {
    position: relative;
    overflow: hidden;
    max-height: 10.5em;               /* height for 4 lines */
    transition: max-height 0.5s ease; /* animate the height change */
    font-family: "fbeleganti" !important;
}

/* Fade-out gradient at the bottom */
.text-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5em;
    background: linear-gradient(
      to bottom,
      rgba(231, 238, 239, 0) 0%,
      rgba(231, 238, 239, 1) 100%
    );
    transition: opacity 0.5s ease;
}

/* Expanded state: enough to show all content */
.text-content.expanded {
    max-height: 100%; /* adjust if your content is taller */
}

/* Hide the fade gradient when expanded */
.text-content.expanded::after {
    opacity: 0;
}

