/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ******************************************************* */
/* START GLOBAL STYLE */
body {
	overflow-x: hidden;
}
/* MAIN BUTTON */
.main-btn a {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.main-btn a::after {
    content: '';
    position: absolute;
    inset: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(102, 102, 102, 0.00) 14.42%, #000 26.92%);
    transition: 0.5s;
    z-index: -1;
}
.main-btn a:hover::after {
    width: 125%;
}
/* TEXT START */
.text-start,
.text-start * {
	text-align: start !important;
}
/* FLIP ICON */
:dir(ltr) .flip-icon * svg {
	transform: scaleX(-1);
}
/* TEXT LIMIT (1) */
.text-limit-1 ,
.text-limit-1 * {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* TEXT LIMIT (2) */
.text-limit-2,
.text-limit-2 * {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* TEXT LIMIT (3) */
.text-limit-3,
.text-limit-3 * {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* CURRENCY */
.woocommerce-Price-currencySymbol {
  color: #ffffff00 !important;
  position: relative;
}
.woocommerce-Price-currencySymbol::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(50%, -50%);
  width: 20px;
  height: 20px;
  background: url("https://thanks.sa/wp-content/uploads/2025/09/Saudi_Riyal_Symbol-1.png");
  background-repeat: no-repeat;
  background-size: contain;
}
/* CART CONTAINER */
.woocommerce-checkout .site-content.col-lg-12 .alignwide,
.woocommerce-cart .site-content.col-lg-12 .alignwide {
  margin-right: 0;
  margin-left: 0;
  max-width: 100%;
}
/* END GLOBAL STYLE */

/* START HEADER */
.whb-header .whb-main-header li .nav-link-text {
	font-size: 20px;
    font-weight: 400;
}
/* ICONS */
.whb-general-header-inner .wd-tools-custom-icon img {
	max-width: 30px;
}
/* END HEADER */
/* START CUSTOM PRODUCT */
 .onsale.product-label,
 .product-grid-item .wd-buttons .wd-add-btn.wd-action-btn,
 .wd-product-cats,
 .hover-img {
    display: none !important;
}
 .product-element-top.wd-quick-shop .wd-buttons {
    opacity: 1;
    transform: none;
    visibility: visible;
    background-color: unset;
    box-shadow: unset;
}
 .product-element-top.wd-quick-shop .woocommerce-Price-amount.amount {
    color: #A4003B;
    font-size: 14px;
}
.product-element-top.wd-quick-shop img {
    height: 330px;
    object-fit: contain;
}
.product-element-top.wd-quick-shop {
	overflow: visible;
}
.product-element-top.wd-quick-shop .wd-buttons {
	height: calc(100% + 50px);
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
	justify-content: space-between;
}
.product-element-top.wd-quick-shop .wd-buttons .wd-add-btn.wd-action-btn {
    display: block !important;
}
/* END CUSTOM PRODUCT */

/* START CONTACT FORM */
.with-upload form input[type="file"] {
  padding-block: 20px;
  position: relative;
  width: 100%;
  height: 190px;
  border: 1px solid rgba(73, 91, 110, 0.20);
  cursor: pointer;
  background-image: url('https://wordpress.aait-sa.com/noua-store/wp-content/uploads/2025/10/file-upload.svg');
  background-repeat: no-repeat;
  background-position: center 30px;
}
.elementor-form-fields-wrapper #form-field-mFileUpload::before,
.elementor-form-fields-wrapper #form-field-mFileUpload::after {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(50%, -50%);
  color: #000000;
}
.elementor-form-fields-wrapper #form-field-mFileUpload::before {
  content: "صورة (أختياري)";
  inset-block-start: 50%;
font-size: 20px;
  font-weight: 400;
}
:dir(ltr) .elementor-form-fields-wrapper #form-field-mFileUpload::before {
    content: "Image (optional)";
}
.elementor-form-fields-wrapper #form-field-mFileUpload::after {
  content: "ارفاق صورة أو ملف";
  inset-block-start: 80%;
  background-color: #000000;
  color: white;
  font-size: 20px;
  font-weight: 400;
  padding: 7px 10px;
  border-radius: 6px;
}
:dir(ltr) .elementor-form-fields-wrapper #form-field-mFileUpload::after {
    content: 'Attach an image or file';
}
.elementor-file-field::-webkit-file-upload-button,
.elementor-upload-field::-webkit-file-upload-button {
  visibility: hidden;
  opacity: 0;
}
/* MAP */
/* MAP */
.contact-section .map, 
.contact-section .map .elementor-custom-embed,
.contact-section .map iframe {
    height: 100%;
}
/* END CONTACT FORM */

/* START FOOTER */
.footer a {
	width: fit-content;
}
/* FORM */
.email-sub .elementor-form-fields-wrapper {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
}
.email-sub .elementor-form-fields-wrapper .e-form__buttons {
    margin-inline-start: -10px;
    width: fit-content;
}
.email-sub .elementor-form-fields-wrapper input {
    border-radius: 0px 8px 8px 0;
}
.email-sub .elementor-form-fields-wrapper button {
    padding: 8px;
    border-radius: 8px 0px 0px 8px;
}
/* END FOOTER */