/* 
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
*/

/* -------------------------------------------------------------
   S-MAN LUXURY PRODUCT PAGE - CSS INJECTION
------------------------------------------------------------- */

/* 1. כפתור 'הוסף לסל' יוקרתי ונקי (Zara/Shopify Style) */
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 0 !important; /* קצוות חדים */
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #000 !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* 2. כפתור הוסף לסל 'דביק' בתחתית המסך במובייל (מעלה המרות) */
@media (max-width: 767px) {
    .woocommerce div.product form.cart .button.single_add_to_cart_button {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99999;
        margin: 0 !important;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    }
    
    /* מרווח למטה כדי שהכפתור הדביק לא יסתיר תוכן */
    body.single-product {
        padding-bottom: 70px !important;
    }
}

/* 3. ניקוי מסגרות מהאייקונים ועיצוב נקי יותר */
.elementor-widget-icon-box .elementor-icon-box-wrapper {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 10px 0 !important;
}
.elementor-widget-icon-box {
    border: none !important;
    box-shadow: none !important;
}

/* 4. עיצוב המחיר - נקי, גדול ובולט מתחת לכותרת */
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
    display: block;
}

/* 5. סידור שדות ה- Variations (במידה ויש שדות בחירה) */
.woocommerce div.product table.variations {
    width: 100%;
    margin-bottom: 20px;
    border: none !important;
}
.woocommerce div.product table.variations th, 
.woocommerce div.product table.variations td {
    display: block;
    border: none !important;
    text-align: right;
    padding: 0 0 10px 0 !important;
}
.woocommerce div.product table.variations th {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* 6. ריווח ו'אוויר' כללי בין האלמנטים בעמוד המוצר המרכזי */
.elementor-widget-woocommerce-product-title .product_title {
    font-weight: 400 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
}

/* 7. מבנה תמונות במחשב - תמונות אחת מתחת לשנייה (Stacked) בצד ימין, והמידע דביק בשמאל */
@media (min-width: 1024px) {
    .woocommerce-product-gallery .flex-control-nav {
        display: none !important;
    }
    .woocommerce-product-gallery figure.woocommerce-product-gallery__wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .woocommerce-product-gallery .woocommerce-product-gallery__image {
        width: 100% !important;
        position: relative !important;
        float: none !important;
        margin: 0 !important;
    }
    
    .elementor-widget-woocommerce-product-data-tabs,
    .elementor-element.elementor-widget-woocommerce-product-price,
    .elementor-element.elementor-widget-woocommerce-product-title,
    .elementor-element.elementor-widget-woocommerce-product-add-to-cart {
        position: sticky;
        top: 100px;
    }
}

/* -------------------------------------------------------------
   S-MAN WISHLIST BUTTONS (CRITICAL CSS - NO FLICKER ON F5)
------------------------------------------------------------- */
.sman-product-card {
    position: relative !important;
}

.sman-product-card .sman-wishlist-btn {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100 !important;
    padding: 0 !important;
    color: #111111 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    pointer-events: auto !important;
}

.sman-single-wishlist-btn {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #ffffff !important;
    border: 1px solid #111111 !important;
    border-radius: 0px !important;
    color: #111111 !important;
    padding: 14px 24px !important;
    height: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    z-index: 1 !important;
}

/* -------------------------------------------------------------
   S-MAN LUXURY CONTENT & ABOUT PAGE STYLING
------------------------------------------------------------- */
.sman-page-main {
    width: 100%;
    min-height: 60vh;
    background: #ffffff;
}

.sman-about-wrapper {
    max-width: 960px;
    margin: 50px auto 100px;
    padding: 0 24px;
    direction: rtl;
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111111;
    box-sizing: border-box;
}

/* Hero */
.sman-about-hero {
    text-align: center;
    margin-bottom: 60px;
}
.sman-about-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #888888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.sman-about-title {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #000000;
    margin: 0 0 24px;
}
.sman-about-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #444444;
    font-weight: 400;
    max-width: 780px;
    margin: 0 auto;
}

/* Vision Card */
.sman-about-vision-card {
    background: #fbfbfb;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    padding: 40px 36px;
    text-align: center;
    margin-bottom: 70px;
}
.sman-vision-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.sman-about-heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px;
    letter-spacing: 0.5px;
}
.sman-vision-text {
    font-size: 16px;
    line-height: 1.85;
    color: #444444;
    margin: 0;
    max-width: 760px;
    margin: 0 auto;
}

/* Section Title */
.sman-about-section-title {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 36px;
    letter-spacing: 0.5px;
}

/* Features 4-Grid */
.sman-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}
.sman-feature-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 32px 28px;
    text-align: right;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sman-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #000000;
}
.sman-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f7f7f7;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.25s, color 0.25s;
}
.sman-feature-card:hover .sman-feature-icon {
    background: #000000;
    color: #ffffff;
}
.sman-feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #000000;
}
.sman-feature-card p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555555;
    margin: 0;
}

/* Why Section */
.sman-why-section {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 48px 36px;
    margin-bottom: 70px;
    text-align: center;
}
.sman-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 820px;
    margin: 0 auto 30px;
}
.sman-why-item {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 3px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
    font-size: 14.5px;
    font-weight: 500;
    color: #111111;
}
.sman-why-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sman-why-footer-quote {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Journey */
.sman-journey-card {
    border-right: 3px solid #000000;
    padding: 20px 30px;
    margin-bottom: 70px;
    background: #ffffff;
}
.sman-journey-text {
    font-size: 16px;
    line-height: 1.85;
    color: #444444;
    margin: 0;
}

/* CTA */
.sman-about-cta {
    text-align: center;
    background: #000000;
    color: #ffffff;
    border-radius: 4px;
    padding: 56px 30px;
}
.sman-about-cta h2 {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 14px;
    letter-spacing: 1px;
}
.sman-about-cta p {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 600px;
}
.sman-about-cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000 !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 2px;
    transition: background-color 0.25s, color 0.25s, transform 0.2s;
}
.sman-about-cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sman-about-wrapper { margin-top: 30px; }
    .sman-about-title { font-size: 30px; }
    .sman-about-lead { font-size: 16px; }
    .sman-features-grid { grid-template-columns: 1fr; gap: 16px; }
    .sman-why-grid { grid-template-columns: 1fr; gap: 12px; }
    .sman-about-vision-card, .sman-why-section { padding: 30px 20px; }
    .sman-journey-card { padding: 15px 20px; }
    .sman-about-cta { padding: 40px 20px; }
}

