/*
 * SOIE v3 — Premium Mobile Skincare
 * Arabic • Clean • Fast • Beautiful
 */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;padding:0;
    font-family:'Cairo',sans-serif;
    color:#1a1a1a;direction:rtl;
    background:#fffcf8;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
}

/* ===== HIDE STOREFRONT ===== */
.site-header,.site-footer,.storefront-primary-navigation,
.entry-header,.entry-footer,.site-branding,.main-navigation,
.site-search,.site-header-cart,.storefront-handheld-footer-bar,
.storefront-breadcrumb{display:none!important}

/* Page container fix - make it render */
.col-full,.content-area,.site-main,.site-content,
article.hentry,.s-main{
    display:block!important;width:100%!important;
    max-width:100%!important;margin:0!important;
    padding:0!important;float:none!important;
    visibility:visible!important;overflow:visible!important;
}

/* ===== MARQUEE ===== */
.s-marquee{
    background:#1a1a1a;color:#ccc;overflow:hidden;
    white-space:nowrap;z-index:102;height:38px;
    display:flex;align-items:center;
}
.s-marquee-inner{
    display:inline-flex;animation:marq 30s linear infinite;
    font-size:11px;letter-spacing:0.5px;
}
.s-marquee-inner span{padding:0 25px;color:#ccc}
.s-marquee-inner a{color:#C8A27A;text-decoration:none;font-weight:600}
.s-marquee-inner a:after{content:" ←"}
@keyframes marq{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ===== HEADER ===== */
.s-hdr{
    display:flex;align-items:center;justify-content:space-between;
    padding:12px 18px;background:#fff;
    border-bottom:1px solid rgba(0,0,0,0.06);
    position:sticky;top:0;z-index:101;
}
.s-hdr-menu{background:none;border:none;cursor:pointer;padding:4px;display:flex;color:#1a1a1a}
.s-hdr-logo{display:flex;position:absolute;left:50%;transform:translateX(-50%)}
.s-logo-img{height:28px;width:auto;display:block}
.s-hdr-cart{display:flex;padding:4px;color:#1a1a1a}

/* ===== NAV ===== */
.s-nav{display:none;position:fixed;top:0;left:0;width:100%;height:100vh;background:rgba(0,0,0,0.3);z-index:200;direction:rtl}
.s-nav.open{display:block}
.s-nav>div{position:absolute;top:0;right:0;width:280px;height:100vh;background:#fff;padding:70px 24px 30px;box-shadow:-4px 0 30px rgba(0,0,0,0.08)}
.s-nav-close{position:absolute;top:18px;left:18px;z-index:201;background:none;border:none;cursor:pointer;color:#1a1a1a;padding:4px}
.s-nav-brand{padding-bottom:16px;border-bottom:1px solid #f0eee8;margin-bottom:16px}
.s-nav a{display:block;padding:14px 0;font-size:14px;font-weight:600;color:#1a1a1a;text-decoration:none;border-bottom:1px solid #f8f6f3}

/* ===== HERO ===== */
.s-hero{position:relative;width:100%;background:#f5f0eb}
.s-hero img{display:block;width:100%;height:auto;min-height:380px;object-fit:cover}
.s-hero-overlay{
    position:absolute;bottom:0;left:0;right:0;
    padding:70px 24px 36px;
    background:linear-gradient(transparent 20%,rgba(0,0,0,0.6));
    text-align:center;
}
.s-hero-overlay h1{margin:0 0 2px;font-family:'Playfair Display',serif;font-size:36px;font-weight:400;letter-spacing:5px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,0.25)}
.s-hero-overlay .sub{margin:0 0 20px;font-size:11px;font-weight:300;letter-spacing:4px;color:rgba(255,255,255,0.8)}
.s-hero-btn{display:inline-block;border:1px solid rgba(255,255,255,0.6);color:#fff;padding:12px 38px;font-size:12px;font-weight:600;letter-spacing:2px;text-decoration:none;background:rgba(255,255,255,0.08);backdrop-filter:blur(4px);border-radius:0;transition:.3s;font-family:'Cairo',sans-serif}
.s-hero-btn:active{background:#fff;color:#1a1a1a}

/* ===== BRAND STORY ===== */
.s-story{padding:40px 24px;text-align:center;background:#fff}
.s-story h2{font-family:'Playfair Display',serif;font-size:22px;font-weight:400;color:#1a1a1a;margin:0 0 10px}
.s-story p{font-size:13px;color:#888;line-height:1.9;margin:0 0 16px;max-width:340px;margin-left:auto;margin-right:auto}
.s-story .sig{font-family:'Playfair Display',serif;font-style:italic;font-size:14px;color:#C8A27A}

/* ===== FEATURES ===== */
.s-feat{padding:32px 20px;background:#faf7f3;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.s-feat-card{text-align:center;padding:18px 10px;background:#fff;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,0.04)}
.s-feat-card svg{width:24px;height:24px;display:block;margin:0 auto 8px;color:#C8A27A}
.s-feat-card h4{margin:0 0 2px;font-size:12px;font-weight:700;color:#1a1a1a}
.s-feat-card p{margin:0;font-size:10px;color:#999}

/* ===== SECTION TITLE ===== */
.s-sec-title{text-align:center;padding:36px 20px 8px;font-family:'Playfair Display',serif;font-size:22px;font-weight:400;color:#1a1a1a;margin:0}
.s-sec-title span{display:block;font-family:'Cairo',sans-serif;font-size:11px;font-weight:400;color:#C8A27A;margin-top:4px;letter-spacing:2px}

/* ===== PRODUCTS GRID (homepage) ===== */
.s-prods{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:8px 16px 24px}
.s-prod{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.04);text-align:center;padding-bottom:14px}
.s-prod:active{transform:scale(0.97)}
.s-prod img{width:100%;aspect-ratio:1;object-fit:cover;background:#f5f3ef;display:block}
.s-prod h3{font-size:11px;font-weight:700;margin:10px 8px 2px}
.s-prod h3 a{text-decoration:none;color:#1a1a1a}
.s-prod .price{display:block;font-size:12px;font-weight:700;color:#C8A27A;margin-bottom:8px}
.s-prod .s-add{display:block;background:#1a1a1a;color:#fff;border:none;padding:8px 12px;margin:0 10px;font-size:10px;font-weight:600;cursor:pointer;font-family:'Cairo',sans-serif;border-radius:4px;text-decoration:none;text-align:center}
.s-prod .s-add:active{background:#C8A27A}

/* ===== INGREDIENTS ===== */
.s-ing{padding:32px 20px;background:#fff}
.s-ing-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.s-ing-card{border:1px solid #f0ece6;border-radius:10px;padding:18px 12px;text-align:center;background:#faf7f3}
.s-ing-card svg{width:24px;height:24px;display:block;margin:0 auto 8px;color:#C8A27A}
.s-ing-card h4{margin:0 0 4px;font-size:12px;font-weight:700;color:#1a1a1a}
.s-ing-card p{margin:0;font-size:10px;color:#999;line-height:1.6}

/* ===== TESTIMONIALS ===== */
.s-tests{padding:36px 20px;background:#faf7f3;text-align:center}
.s-test-card{background:#fff;border-radius:12px;padding:20px 16px;margin-bottom:10px;box-shadow:0 1px 6px rgba(0,0,0,0.04)}
.s-test-card:last-child{margin-bottom:0}
.s-test-card .stars{color:#C8A27A;font-size:13px;margin-bottom:6px;letter-spacing:2px}
.s-test-card h4{font-size:12px;font-weight:700;margin:0 0 4px;color:#1a1a1a}
.s-test-card p{font-size:12px;color:#777;margin:0;line-height:1.7;font-style:italic}

/* ===== NEWSLETTER ===== */
.s-news{padding:40px 24px;text-align:center;background:#fff}
.s-news h3{font-family:'Playfair Display',serif;font-size:18px;font-weight:400;color:#1a1a1a;margin:0 0 6px}
.s-news p{font-size:12px;color:#999;margin:0 0 16px}
.s-news-form{display:flex;gap:8px;max-width:320px;margin:0 auto}
.s-news-form input{flex:1;border:1px solid #e0dcd6;padding:12px 14px;font-size:13px;font-family:'Cairo',sans-serif;border-radius:6px;background:#faf8f5;color:#1a1a1a}
.s-news-form input::placeholder{color:#bbb}
.s-news-form button{background:#1a1a1a;color:#fff;border:none;padding:12px 18px;font-size:12px;font-weight:700;font-family:'Cairo',sans-serif;border-radius:6px;cursor:pointer;white-space:nowrap}

/* ===== FOOTER ===== */
.s-ftr{background:#1a1a1a;color:#ccc;padding:36px 20px 16px;direction:rtl;text-align:right}
.s-ftr-inner{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px}
.s-ftr-col{flex:1;min-width:140px}
.s-ftr-col h4{font-size:11px;font-weight:700;color:#C8A27A;margin:0 0 8px;letter-spacing:2px}
.s-ftr-col p{font-size:12px;color:#999;line-height:1.8;margin:0}
.s-ftr-col a{display:block;font-size:12px;color:#999;text-decoration:none;margin-bottom:4px}
.s-ftr-col a:hover{color:#C8A27A}
.s-ftr-social{display:flex;gap:14px;justify-content:center;margin-bottom:16px}
.s-ftr-social a{display:flex;padding:6px;border-radius:50%;background:rgba(255,255,255,0.05);transition:.2s}
.s-ftr-social a:hover{background:rgba(200,162,122,0.15)}
.s-ftr-social a svg{width:16px;height:16px;color:#999}
.s-ftr-social a:hover svg{color:#C8A27A}
.s-ftr-bot{text-align:center;padding-top:14px;border-top:1px solid rgba(255,255,255,0.08);font-size:10px;color:#555}

/* ===== WOOCOMMERCE PRODUCTS PAGE ===== */
.woocommerce ul.products{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    padding:16px!important;
    margin:0!important;
    list-style:none!important;
}
.woocommerce ul.products li.product{
    background:#fff!important;
    border-radius:10px!important;
    overflow:hidden!important;
    box-shadow:0 2px 8px rgba(0,0,0,0.04)!important;
    text-align:center!important;
    margin:0!important;
    padding:0 0 14px!important;
    border:none!important;
    width:100%!important;
    float:none!important;
    clear:none!important;
}
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after{display:none!important}
.woocommerce ul.products li.product a img{
    width:100%!important;
    aspect-ratio:1!important;
    object-fit:cover!important;
    margin:0!important;
    background:#f5f3ef!important;
    border-radius:0!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:11px!important;
    font-weight:700!important;
    font-family:'Cairo',sans-serif!important;
    padding:10px 8px 2px!important;
    margin:0!important;
}
.woocommerce ul.products li.product .price{
    font-size:12px!important;
    font-weight:700!important;
    color:#C8A27A!important;
    padding:0 8px!important;
}
.woocommerce ul.products li.product .button{
    background:#1a1a1a!important;
    color:#fff!important;
    border-radius:4px!important;
    font-size:10px!important;
    font-weight:600!important;
    font-family:'Cairo',sans-serif!important;
    padding:8px 12px!important;
    margin:8px 10px 0!important;
    display:block!important;
    text-align:center!important;
    width:auto!important;
}
.woocommerce ul.products li.product .button:active{background:#C8A27A!important}
.woocommerce-ordering,.woocommerce-result-count,
.woocommerce-products-header__title,.woocommerce-breadcrumb{display:none!important}

/* ===== FADE-IN ===== */
.s-hero,.s-story,.s-feat-card,.s-prod,.s-ing-card,.s-test-card,.s-news{animation:fadeUp .6s ease forwards;opacity:0}
.s-story{animation-delay:.05s}
.s-feat-card:nth-child(1){animation-delay:.1s}
.s-feat-card:nth-child(2){animation-delay:.15s}
.s-feat-card:nth-child(3){animation-delay:.2s}
.s-feat-card:nth-child(4){animation-delay:.25s}
.s-prod:nth-child(1){animation-delay:.1s}
.s-prod:nth-child(2){animation-delay:.15s}
.s-prod:nth-child(3){animation-delay:.2s}
.s-prod:nth-child(4){animation-delay:.25s}
.s-ing-card:nth-child(1){animation-delay:.1s}
.s-ing-card:nth-child(2){animation-delay:.15s}
.s-ing-card:nth-child(3){animation-delay:.2s}
.s-ing-card:nth-child(4){animation-delay:.25s}
.s-test-card:nth-child(1){animation-delay:.1s}
.s-test-card:nth-child(2){animation-delay:.2s}
.s-test-card:nth-child(3){animation-delay:.3s}
.s-news{animation-delay:.35s}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
