/**
Theme Name: Astra Child
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: astra-child
Template: astra
*/
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@700&family=Tajawal:wght@400;500;700&display=swap');
:root {
    --primary-grad: linear-gradient(180deg, #00470d 0%, #2d9600 100%);
	--secondary-grad: linear-gradient(164deg, #00470d -45%, #2d9600 55%);
    --yellow: #facd18;
    --dark: #002b08;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
	/* الخطوط - Font Families */
    --title-font: 'Almarai', sans-serif;
    --body-font: 'Tajawal', sans-serif;

    /* أحجام العناوين (Almarai Bold) */
    --h1-size: 64px !important;
    --h2-size: 32px;
    --h3-size: 26px;
    --h4-size: 22px;
    --h5-size: 18px;
    --h6-size: 16px;

    /* أحجام النصوص والفقرات (Tajawal) */
    --body-text-size: 16px;
    --sub-text-size: 14px;
    --button-text-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font) !important;
    font-weight: 700; /* Bold */
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 , p , span , label , input , textarea {
	direction:rtl !important;
}
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }

p, span, li, label {
    font-family: var(--body-font);
    font-weight: 400; /* Regular */
    font-size: var(--body-text-size);
    line-height: 1.6; /* مسافة مريحة للعين */
    color: #555555;
}

/* 3. تنسيق الأزرار (Buttons) */
button, 
.button, 
input[type="submit"], 
.rev-btn {
    font-family: var(--body-font) !important;
    font-weight: 500; /* Medium */
    font-size: var(--button-text-size) !important;
    letter-spacing: 0px !important;
    text-transform: none !important;
}

/* 4. إعدادات النصوص البرمجية لـ Slider Revolution */
.tp-caption {
    font-family: var(--body-font);
}
/*sections*/
.row-container-box {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 0;
}
/*SECTION TITLE BLOC*/
.section-title-block {
	margin-bottom:20px;
}
.section-title-block .vc_column-inner {
	padding:0;
}
.section-title-block .wpb_text_column {
	margin-bottom:0;
}
.section-title-block .wpb_wrapper {
    display: flex;
    flex-direction: column-reverse;
	align-items:end;
}
.section-title-block-center .wpb_wrapper {
	align-items:center;
}
.sous-titre p {
    width: fit-content;
    color: #000;
    padding: 5px;
    font-size: 20px;
    margin-bottom: 10px;
    background-color: #f2af1e7a;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}
.sous-titre.centrer p {
	margin:0 auto 10px;
}
.centrer , .centrer h2 , .centrer p {
	text-align:center !important;
}
.section-description-center p, .section-description-center h3 {
	width:100%;
	max-width:800px;
	margin:0 auto 20px !important;
	text-align:center !important;
}
.section-description {
	margin-bottom:20px !important;
}
/*SECTION TITLE BLOC*/
.section-colored {
	background-color: #f1f1f130;
    background-image: url(https://soilactive.shop/wp-content/uploads/2026/01/section-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
/*sections*/
/*menu*/
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: unset;
}
.ast-logo-title-inline .site-logo-img {
    padding-right: 0;
}
.ast-logo-title-inline .ast-site-identity {
    padding: 0;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item a {
    font-family: var(--title-font);
    font-size: 22px;
    line-height: 1.5;
}
.ast-primary-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    background: transparent;
}
.header-scrolled {
    background-color: #ffffff !important; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}
.header-scrolled .main-header-bar-navigation a,
.header-scrolled .ast-site-identity-logo a {
    color: #333 !important;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item a {
    color: #fff;
}

.ast-desktop .header-scrolled .main-header-menu > .menu-item a {
    color: #000;
}
.ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
    margin-top: 0;
}
/*menu*/

/*menu mobile*/
@media screen and (max-width: 599px) {
.ast-mobile-header-content {
    width: 100%;
    height: 100vh;
    position: fixed;
}
.ast-mobile-header-content ul.main-header-menu {
    text-align: right;
    padding-top: 100px;
    width: 90%;
    margin: 0 auto;
}
.ast-header-break-point .main-navigation .stack-on-mobile li:not(:last-child) {
    margin-bottom: 20px;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .menu-toggle {
    margin-top: 0;
}
.ast-builder-layout-element .ast-site-identity {
    margin-top:0;
}

/*titlebar mobile*/
.title-bar-section .wpb_wrapper {
    padding: 0 20px;
}
h1 {
	font-size:32px !important;
}
h2 {
	font-size:26px !important;
}
/*footer mobile*/
.site-primary-footer-wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
}
/*titlebar mobile*/

/*menu mobile*/

/*footer*/
footer h3 , footer p , footer li , footer a {
	color:#fff !important;
}
footer li {
	text-align:right;
}
/*footer*/
.product-lander {
    max-width: 500px;
    margin: 0 auto;
    background: var(--primary-grad);
    font-family: 'Almarai', sans-serif;
    color: var(--white);
    padding-bottom: 120px;
    direction: rtl;
    line-height: 1.6;
}
.title-bar-section {
	background-image:url('https://soilactive.shop/wp-content/uploads/2026/01/titlebar-bg.jpg');
	background-repeat:no-repeat;
	padding:60px 0;
	position:relative;
	z-index:0;
	background-size:cover;
}
.title-bar-section::before {
    content: "";
    position: absolute;
    background-color: #000000ab;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}
.title-bar-section::after {
    content:url('https://soilactive.shop/wp-content/uploads/2026/01/golden-plant.png');
    position: absolute;
    left: 0;
    top: 50%;
	transform:translatey(-50%);
    z-index: 2;
}
.title-bar-section .wpb_text_column {
	margin-bottom:0;
}
.title-bar-section .wpb_text_column .wpb_wrapper {
    text-align: right;
}
.page-store .title-bar-section .wpb_text_column .wpb_wrapper {
    display: flex;
    justify-content: end;
}
.page-store .title-bar-section .vc_column-inner {
	padding-right:0;
}
.title-bar-section h1 {
	margin-bottom:20px !important;
}
.title-bar-section h1 , .title-bar-section p , .title-bar-section span {
	color:#fff;
	width:100%;
	max-width:800px;

}
.title-bar-section .row-container-box {
    position: relative;
    z-index: 4;
}
/*------------------------------------------------------------------------------------------------------------------------*/
/*Section faq*/
.vc_toggle {
    background-color: #e7e7e7;
    padding: 20px;
    border-radius: 20px;
}
.vc_toggle_title {
	text-align:right;
}
.vc_toggle_size_md.vc_toggle_default .vc_toggle_title .vc_toggle_icon {
	left:auto;
	right:0;
}
.vc_toggle_size_md.vc_toggle_default .vc_toggle_title {
    padding-left:auto;
	padding-right: 24.2px;
}
.vc_toggle_title>h4 {
    font-size: 24px;
}
/* Titles */
.main-title { font-size: 2.2rem; color: var(--yellow); text-align: center; font-weight: 800; padding: 20px; }
.section-title { font-size: 1.8rem; color: var(--yellow); text-align: center; margin: 20px 0; }

/* Section Containers */
.section-block {
    margin: 20px 15px;
    padding: 25px 15px;
    background: var(--glass);
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

/* Image Fitting Logic - Requested Object Fit Cover */
.image-wrapper {
    margin: 15px auto;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-img { width: 95%; height: 380px; }
.section-img, .step-img { width: 90%; height: 260px; }
.gallery-img { width: 100%; height: 200px; margin: 10px 0; }

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Container to handle centering and spacing */
.urgency-badge-container {
    text-align: center;
    padding: 40px 10px;
    position: relative;
    overflow: visible;
}

.urgency-badge {
    position: relative;
    display: inline-block;
    background: #ffba08; 
    color: #ffba08; 
    font-family: 'Almarai', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    padding: 12px 35px;
    z-index: 5;
    transform: rotate(-3deg); /* The main tilt */
    box-shadow: 8px 8px 0px #d90429; /* Red solid shadow */
    text-transform: uppercase;
}

/* The Red Layer behind the yellow box */
.urgency-badge::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -8px;
    width: 100%;
    height: 100%;
    background: #dc2f02; 
    z-index: -1;
    transform: rotate(5deg);
}
/* Optional: Subtle pulse animation to catch the eye */
@keyframes badge-shake {
    0%, 100% { transform: rotate(-3deg) scale(1); }
    50% { transform: rotate(-3deg) scale(1.05); }
}

.urgency-badge {
    animation: badge-shake 2.5s infinite ease-in-out;
}
/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: space-around;
    background: var(--dark);
    padding: 15px 5px;
    font-size: 0.85rem;
}
.trust-item img { width: 30px; height: 30px; filter: brightness(0) invert(1); margin-bottom: 5px; }

/* Pricing */
.pricing-container { text-align: center; margin: 20px 0; }
.price-new { font-size: 3rem; font-weight: 800; color: var(--yellow); display: block; }
.price-old { font-size: 1.4rem; text-decoration: line-through; opacity: 0.6; }

/* Offer Cards - Dark Green Text on White Bg */
.offer-card {
    background: var(--white);
    color: var(--dark);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-align: center;
    border: 4px solid transparent;
}
.offer-card.is-popular { border-color: var(--yellow); transform: scale(1.02); }
.offer-card h3 { color: var(--dark); font-weight: 800; margin: 0; }
.off-new { font-size: 1.8rem; color: #d90429; font-weight: 800; }

/* Sticky Button */
/* 1. Shared Pulse Animation - Works for both */
@keyframes pulse {
  from { transform: translateX(-50%) scale(0.975); }
  to { transform: translateX(-50%) scale(1.025); }
}

/* 2. The Floating CTA (Sticky at the bottom) */
.sticky-footer-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); /* Base position */
    width: 90%;
    max-width: 400px;
    background: var(--secondary-grad, #27ae60); /* fallback color */
    color: #fff !important;
    padding: 15px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    z-index: 10000;
    display: block;
    animation: pulse 1s infinite ease-in-out alternate;
}

/* 3. The Inline Button (Stays inside the content flow) */
.lander-btn {
    display: block;
    margin: 20px auto; 
    width: 80%;
    background: var(--secondary-grad, #27ae60);
    color: #fff !important;
    padding: 20px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
	border:2px solid #fff;
    animation: simplePulse 1s infinite ease-in-out alternate;
}

/* Simple pulse for non-fixed buttons */
@keyframes simplePulse {
  from { transform: scale(0.98); }
  to { transform: scale(1.05); }
}



/*---------------*/
/*single prduit css*/
/*---------------*/
/*form css*/
.gform_heading {
	display:none !important;
	
}
.gform-theme--framework .gform_validation_errors {
    background-color: #970101 !important;
    border-radius: 20px !important;
	border-color: #fff !important;
}
.gform-theme--framework .gform_validation_errors .gform_submission_error {
    color: #fff !important;
}
.gform-theme--framework .gform_validation_errors .gform-icon {
    border-color: #fff !important;
    color: #fff !important;
}
#order-section .gfield_label {
    color: #ffffff !important;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    margin-bottom: 8px !important;
    display: block;
}
#order-section input[type="text"],
#order-section input[type="tel"],
#order-section input[type="email"],
#order-section select {
    border: none !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    background-color: #ffffff !important;
    font-family: 'Tajawal', sans-serif;
    width: 100% !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1rem;
}
#order-section .gform_footer input[type="submit"],
#order-section .gform_button {
    background: var(--secondary-grad) !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 20px !important;
    border-radius: 20px !important;
	border:2px solid #fff !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer;
    text-align: center;
    margin-top: 20px !important;
    display: block !important;
    transition: transform 0.3s ease;
}
#order-section .gform_footer input[type="submit"]:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
#order-section .gform_wrapper.gravity-theme .gfield {
    margin-bottom: 20px !important;
}
#order-section .gfield_required {
    color: #ffcfcf !important;
}
.gform-theme--framework .gform-field-label--type-inline {
    color: #fff !important;
}
#order-section input[type="text"].ginput_total {
	background: none !important;
    box-shadow: none;
    color: #fff;
    padding: 0 !important;
    font-size: 26px;
}
.gform_confirmation_message p {
	color:#fff !important;
}

/* Ensure the Select box is tall enough and text is centered/visible */
.gfield--type-select select.gfield_select {
    display: block !important;
    width: 100% !important;
    height: 50px !important; /* Increased height */
    padding: 10px 30px !important;
    font-size: 16px !important;
    font-family: 'Tajawal', sans-serif !important;
    color: #333 !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 20px !important;
    direction: rtl !important; /* Ensure Arabic stays on the right */
    -webkit-appearance: menulist !important; /* Forces the browser dropdown arrow */
    -moz-appearance: menulist !important;
    appearance: menulist !important;
    line-height: normal !important;
}

/* Fix for mobile where height sometimes collapses */
@media (max-width: 600px) {
   .gfield--type-select select.gfield_select {
        height: 45px !important;
        font-size: 15px !important;
    }
}

/* Ensure options are not white-on-white */
.gfield_select option {
    background-color: #fff !important;
    color: #000 !important;
    padding: 10px !important;
}

/*offers style*/
.gfield_radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.gfield_radio .gchoice {
    margin-bottom: 10px !important;
}
.gfield_radio label {
    display: block !important;
    padding: 10px 20px !important;
    margin:0 !important;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%;
}
.gfield_radio label:hover {
    background-color: #e2e2e2;
	color:darkgreen !important;
}
.gfield_radio input[type="radio"]:checked + label {
    border: 2px solid white;
    box-shadow: 0 0 0 2px #2d9600;
}
.gform-theme--framework input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    display: none !important;
}
.gfield--type-quantity .gfield_description {
	display:none !important;
}
#order-section .gfield--type-total input[type="text"] {
	border-radius:0 !important;
}

/*quantity arrows*/
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] { -moz-appearance: textfield; }

.sa-quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    margin-top: 5px;
}

.sa-quantity-btn {
    background: #f1f1f1;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.sa-quantity-btn:hover { background: #e0e0e0; }

.sa-quantity-wrapper input#input_1_9 {
    border: none !important;
    text-align: center !important;
    width: 60px !important;
    margin: 0 !important;
    height: 45px !important;
    font-size: 18px !important;
    padding: 0 !important;
    background: #fff !important;
}

/* 5. Mobile adjustment */
@media (max-width: 600px) {
    .gfield_radio label {
        padding: 12px 10px !important;
        font-size: 14px;
    }
	.gfield_radio label:hover {
    background-color: transparent !important;
	color:#fff !important;
	}
}
/*form css*/

.mobile-builder {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 80px;
    background: #fff;
}

/* Remove gaps between images */
.block-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Form Padding */
.block-form {
    padding: 40px 20px;
    background: darkgreen;
    margin: 20px 5px;
    border-radius: 20px;
}
/* Button Block */
.block-button {
    padding: 20px;
    text-align: center;
}

.btn-cta  {
    display: block;
    background: #2d9600;
    color: #fff !important;
    padding: 20px;
    border-radius: 15px;
    font-family: 'Almarai', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
}

/* Floating Sticky */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background: #facd18;
    color: #000 !important;
    text-align: center;
    padding: 20px;
    font-family: 'Almarai', sans-serif;
    font-weight: 800;
    z-index: 999;
    text-decoration: none;
}

/*----------------------------------------------------------------------------------------*/
/*----------------------------------  PAGE PRODUITS  -------------------------------------*/
/*----------------------------------------------------------------------------------------*/
.sa-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}
.sa-product-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}
.sa-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-color: #2d5a27;
}
.sa-card-image {
    height: 220px;
    overflow: hidden;
    background: #f4f4f4;
}
.sa-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sa-product-card:hover .sa-card-image img {
    transform: scale(1.1);
}
.sa-card-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.sa-card-title {
    font-family: 'Almarai', sans-serif !important;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.sa-card-excerpt {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}
.sa-card-price {
    font-weight: bold;
    color: #2d5a27;
    font-size: 22px;
    margin-bottom: 15px;
    display: block;
}
.sa-card-btn {
    background-color: #2d5a27;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: auto;
}
.sa-card-btn:hover {
    background-color: #1e3d1a;
}

/*----------------------------------------------------------------------------------------*/
/*---------------------------------  SINGLE PRODUIT  -------------------------------------*/
/*----------------------------------------------------------------------------------------*/
.single-soilactive_produit .ast-container {
	width:100%;
}
.single-soilactive_produit .site-primary-header-wrap {
	width:100%;
	max-width:1200px;
}
.single-soilactive_produit .site-content .ast-container {
    display: contents;
}
.landing-page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/*----------------------------------------------------------------------------------------*/
/*--------------------------------------  MOBILE  ----------------------------------------*/
/*----------------------------------------------------------------------------------------*/
@media screen and (max-width: 600px) {
.grecaptcha-badge {
	visibility:hidden;	
}
.title-bar-section {
	padding:30px 0 0 0 !important;
}
.title-bar-section::after {
	display:none;
}
.wpb_single_image {
    margin: 0;
}
.hover-box-container:not(:last-child) {
	margin-bottom:20px;
}
.section-title-block .sous-titre {
    margin-bottom: 10px;
}
.margin-bottom-mobile-image {
	margin-bottom:20px;
}
.no-margin-bottom-text-mobile {
	margin-bottom:0;
}
}
