/*
Theme Name: مزارع أوقاف الشيخ صالح الراجحي
Theme URI: https://alrajhi-farms.com
Author: مزارع أوقاف الشيخ صالح الراجحي
Description: ثيم متجر أضاحي عيد الأضحى
Version: 1.1
Text Domain: adahi-rajhi
*/
:root{--navy:#0D1B3E;--navy-light:#162347;--navy-deep:#091229;--gold:#C9A84C;--gold-light:#E2C97E;--gold-pale:#F5EDD6;--white:#FFFFFF;--off-white:#FAF8F3;--text-muted:#5A6A8A;--border:#E0D4B8;--radius:4px;}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Cairo',sans-serif;background:var(--white);color:var(--navy);direction:rtl;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;}
.site,#page,#content,#primary,#main,.site-content,.content-area,.entry-content,.wp-site-blocks,.is-layout-flow,article,.post,.page,.container,.wrapper{max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;float:none!important;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.site-header{background:var(--navy);position:sticky;top:0;z-index:100;border-bottom:1px solid rgba(201,168,76,.15);width:100%;}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:72px;}
.nav-logo{display:flex;align-items:center;gap:12px;}
.logo-box{width:46px;height:46px;border:1.5px solid var(--gold);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.logo-box svg{width:28px;height:28px;fill:var(--gold);}
.logo-text{color:var(--white);font-size:13px;line-height:1.5;font-weight:600;}
.logo-text small{color:var(--gold-light);font-size:11px;font-weight:400;display:block;}
.nav-menu{display:flex;align-items:center;gap:2rem;}
.nav-menu a{color:#AAB8D4;font-size:13px;transition:color .2s;}
.nav-menu a:hover{color:var(--gold-light);}
.nav-track-btn{background:var(--gold);color:var(--navy)!important;font-size:12px;font-weight:700;padding:8px 20px;border-radius:var(--radius);}
.nav-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none;}
.nav-toggle span{width:22px;height:2px;background:var(--white);border-radius:2px;display:block;transition:.3s;}
.nav-toggle.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}
.nav-mobile{display:none;flex-direction:column;background:var(--navy-deep);border-top:1px solid rgba(201,168,76,.1);padding:1rem 2rem 1.5rem;gap:.75rem;width:100%;}
.nav-mobile.open{display:flex;}
.nav-mobile a{color:#AAB8D4;font-size:14px;padding:.4rem 0;border-bottom:1px solid rgba(255,255,255,.05);}
.nav-mobile .nav-track-btn{text-align:center;margin-top:.5rem;border:none;display:block;}
.site-strip{background:var(--gold);padding:.55rem 1rem;display:flex;justify-content:center;align-items:center;gap:2.5rem;flex-wrap:wrap;width:100%;}
.strip-item{color:var(--navy);font-size:12px;font-weight:700;}
.hero{background:var(--navy);padding:5rem 2rem 4rem;text-align:center;position:relative;overflow:hidden;width:100%;}
.hero::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent,transparent 50px,rgba(201,168,76,.03) 50px,rgba(201,168,76,.03) 100px);pointer-events:none;}
.hero-badge{display:inline-block;border:1px solid var(--gold);color:var(--gold-light);font-size:11px;letter-spacing:2px;padding:5px 18px;border-radius:2px;margin-bottom:1.75rem;font-family:'Amiri',serif;position:relative;}
.hero h1{font-family:'Amiri',serif;font-size:clamp(2rem,5vw,3rem);color:var(--white);line-height:1.45;margin-bottom:1.25rem;position:relative;}
.hero h1 em{color:var(--gold-light);font-style:normal;}
.hero-desc{color:#AAB8D4;font-size:14px;max-width:500px;margin:0 auto 2.25rem;line-height:2;position:relative;}
.btn-hero{display:inline-block;background:var(--gold);color:var(--navy);font-size:15px;font-weight:700;padding:15px 40px;border-radius:var(--radius);position:relative;}
.btn-hero:hover{background:var(--gold-light);color:var(--navy);}
.hero-note{color:#6A7A9A;font-size:12px;margin-top:1rem;position:relative;}
.section{padding:4rem 2rem;width:100%;}
.section-inner{max-width:1100px;margin:0 auto;}
.section-label{font-size:11px;color:var(--gold);letter-spacing:2px;text-transform:uppercase;font-weight:600;margin-bottom:.4rem;}
.section-title{font-family:'Amiri',serif;font-size:clamp(1.6rem,3vw,2rem);color:var(--navy);margin-bottom:.4rem;}
.section-title.light{color:var(--white);}
.section-line{width:48px;height:2px;background:var(--gold);margin-bottom:2rem;}
.product-card{border:1px solid var(--border);border-radius:6px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;max-width:800px;margin:0 auto;box-shadow:0 4px 24px rgba(13,27,62,.06);}
.product-img{background:linear-gradient(135deg,#f7f3ea,#ede5d0);display:flex;align-items:center;justify-content:center;min-height:320px;position:relative;}
.product-img-placeholder{text-align:center;padding:2rem;}
.product-img-placeholder .emoji{font-size:90px;display:block;margin-bottom:.5rem;}
.product-img-placeholder p{font-size:11px;color:#8a7a5a;}
.product-badge{position:absolute;top:16px;right:16px;background:var(--navy);color:var(--gold);font-size:11px;font-weight:700;padding:5px 14px;border-radius:2px;}
.product-info{padding:2rem;background:var(--white);}
.product-name{font-family:'Amiri',serif;font-size:1.6rem;color:var(--navy);margin-bottom:.2rem;}
.product-sub{font-size:12px;color:var(--text-muted);margin-bottom:1.5rem;}
.spec-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #F0EBE0;font-size:13px;}
.spec-row:last-of-type{border:none;}
.spec-label{color:var(--text-muted);}
.spec-val{font-weight:700;color:var(--navy);}
.price-box{background:var(--gold-pale);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;margin:1.5rem 0 1.25rem;}
.price-label{font-size:11px;color:var(--text-muted);}
.price-val{font-family:'Amiri',serif;font-size:2.2rem;color:var(--navy);font-weight:700;line-height:1;}
.price-sar{font-size:13px;color:var(--gold);margin-right:4px;}
.price-note{font-size:11px;color:#8a7a5a;text-align:left;}
.btn-order{width:100%;background:var(--navy);color:var(--white)!important;font-family:'Cairo',sans-serif;font-size:14px;font-weight:700;padding:14px;border:none;border-radius:var(--radius);cursor:pointer;display:block;text-align:center;}
.btn-order:hover{background:var(--navy-light);}
.features-section{background:var(--navy);width:100%;}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.feat-card{border:1px solid rgba(201,168,76,.2);border-radius:var(--radius);padding:1.75rem;text-align:center;}
.feat-icon{width:48px;height:48px;border:1px solid var(--gold);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;}
.feat-icon svg{width:24px;height:24px;}
.feat-title{font-size:14px;font-weight:700;color:var(--white);margin-bottom:.5rem;}
.feat-desc{font-size:12px;color:#8899BB;line-height:1.9;}
.delivery-section{background:var(--off-white);width:100%;}
.delivery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;}
.day-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;text-align:center;transition:border-color .2s,box-shadow .2s;}
.day-card:hover{border-color:var(--gold);box-shadow:0 4px 16px rgba(201,168,76,.1);}
.day-num{font-family:'Amiri',serif;font-size:2.5rem;color:var(--gold);font-weight:700;display:block;}
.day-label{font-size:13px;color:var(--text-muted);margin-top:.25rem;}
.about-section{background:var(--navy);text-align:center;width:100%;}
.about-section .section-line{margin:0 auto 1.5rem;}
.about-desc{color:#8899BB;font-size:14px;max-width:600px;margin:0 auto;line-height:2.2;}
.contact-bar{background:var(--gold-pale);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:1.75rem 2rem;width:100%;}
.contact-bar-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.contact-info strong{display:block;color:var(--navy);font-size:14px;margin-bottom:.25rem;}
.contact-info span{font-size:13px;color:var(--text-muted);}
.btn-contact{background:var(--navy);color:var(--white);font-family:'Cairo',sans-serif;font-size:13px;font-weight:600;padding:10px 24px;border:none;border-radius:var(--radius);cursor:pointer;}
.site-footer{background:var(--navy-deep);border-top:1px solid rgba(201,168,76,.1);padding:1.5rem 2rem;width:100%;}
.footer-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;}
.footer-copy{color:#3A4A6A;font-size:11px;}
.footer-brand{color:var(--gold);font-size:11px;font-weight:600;}
.page-header{background:var(--navy);padding:2.5rem 2rem;text-align:center;position:relative;width:100%;}
.page-header::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(201,168,76,.03) 40px,rgba(201,168,76,.03) 80px);pointer-events:none;}
.breadcrumb{font-size:12px;color:#6A7A9A;margin-bottom:.75rem;position:relative;}
.breadcrumb a{color:#8899BB;}
.breadcrumb span{color:var(--gold-light);margin:0 6px;}
.page-header h1{font-family:'Amiri',serif;font-size:2rem;color:var(--white);position:relative;}
.page-header .page-sub{color:#8899BB;font-size:13px;margin-top:.4rem;position:relative;}
.steps-bar{background:var(--gold-pale);border-bottom:1px solid var(--border);padding:1rem 2rem;width:100%;}
.steps{display:flex;align-items:center;justify-content:center;}
.step{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted);}
.step.done .step-n{background:var(--gold);color:var(--navy);border-color:var(--gold);}
.step.active .step-n{background:var(--navy);color:var(--gold);border-color:var(--navy);}
.step-n{width:26px;height:26px;border-radius:50%;border:1.5px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;background:var(--white);flex-shrink:0;}
.step.done,.step.active{color:var(--navy);font-weight:600;}
.step-line{width:48px;height:1px;background:var(--border);margin:0 8px;}
.step-line.done{background:var(--gold);}
.order-layout{display:grid;grid-template-columns:1fr 340px;width:100%;}
.form-side{padding:2.5rem 2rem;border-left:1px solid var(--border);}
.sec-title{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid var(--gold);display:flex;align-items:center;gap:8px;}
.sec-num{width:22px;height:22px;background:var(--navy);color:var(--gold);font-size:11px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;}
.note-box{background:#FFF8E8;border:1px solid #E8D48A;border-radius:var(--radius);padding:1rem;margin-bottom:1.5rem;font-size:12px;color:#7A6010;line-height:1.9;}
.note-box strong{color:#5A4408;display:block;margin-bottom:.25rem;}
.fluent-area{margin-bottom:1.5rem;}
.order-summary{padding:2.5rem 1.5rem;background:var(--off-white);}
.summary-title{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid var(--gold);}
.order-item{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem;margin-bottom:1rem;}
.order-item-top{display:flex;align-items:center;gap:12px;margin-bottom:.75rem;}
.item-thumb{width:54px;height:54px;background:linear-gradient(135deg,#f7f3ea,#ede5d0);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0;}
.item-name{font-family:'Amiri',serif;font-size:1.05rem;color:var(--navy);}
.item-sub{font-size:10px;color:var(--text-muted);}
.item-specs li{display:flex;justify-content:space-between;font-size:11px;padding:.28rem 0;border-bottom:1px solid #F0EBE0;color:var(--text-muted);}
.item-specs li:last-child{border:none;}
.item-specs .v{color:var(--navy);font-weight:600;}
.price-summary{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem;margin-bottom:1rem;}
.pr{display:flex;justify-content:space-between;font-size:13px;padding:.3rem 0;}
.pr.total{border-top:1px solid var(--border);margin-top:.5rem;padding-top:.75rem;font-weight:700;font-size:15px;}
.pr.total .amt{color:var(--gold);font-family:'Amiri',serif;font-size:1.5rem;}
.trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;}
.trust-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:.75rem;text-align:center;font-size:11px;color:var(--text-muted);line-height:1.6;}
.trust-card strong{display:block;color:var(--navy);font-size:12px;margin-bottom:.2rem;}
.pay-layout{display:grid;grid-template-columns:1fr 300px;width:100%;}
.pay-form{padding:2.5rem 2rem;border-left:1px solid var(--border);}
.apple-pay-btn{width:100%;height:52px;background:#000!important;border:none;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:1.5rem;}
.apple-svg{width:18px;height:22px;fill:#fff!important;margin-top:-2px;flex-shrink:0;}
.apple-pay-text{font-size:20px;font-weight:300;color:#fff!important;font-family:-apple-system,'Helvetica Neue',sans-serif;letter-spacing:-0.3px;}
.divider{display:flex;align-items:center;gap:12px;margin-bottom:1.5rem;}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:var(--border);}
.divider span{font-size:12px;color:var(--text-muted);white-space:nowrap;}
.fluent-ph{background:var(--gold-pale);border:2px dashed var(--gold);border-radius:var(--radius);padding:2.5rem 2rem;text-align:center;color:var(--text-muted);font-size:13px;line-height:2;}
.fluent-ph strong{color:var(--navy);display:block;margin-bottom:.5rem;font-size:14px;}
.pay-note{font-size:11px;color:var(--text-muted);text-align:center;margin-top:1rem;line-height:1.8;}
.track-wrap{max-width:520px;margin:3rem auto;padding:0 1.5rem;text-align:center;}
.track-card{background:var(--white);border:1px solid var(--border);border-radius:6px;padding:2.5rem;}
.track-card h2{font-family:'Amiri',serif;font-size:1.6rem;color:var(--navy);margin-bottom:.5rem;}
.track-card>p{font-size:13px;color:var(--text-muted);margin-bottom:1.5rem;line-height:1.9;}
.track-input-row{display:flex;gap:.75rem;margin-bottom:1rem;}
.track-input{flex:1;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);font-family:'Cairo',sans-serif;font-size:14px;color:var(--navy);direction:ltr;text-align:right;}
.track-input:focus{outline:none;border-color:var(--gold);}
.btn-track{background:var(--navy);color:var(--white);font-family:'Cairo',sans-serif;font-size:13px;font-weight:700;padding:12px 20px;border:none;border-radius:var(--radius);cursor:pointer;white-space:nowrap;}
.result-success{background:#F0FFF4;border:1px solid #B8E6C8;border-radius:var(--radius);padding:1.25rem;font-size:13px;color:#166534;line-height:1.9;margin-top:1.25rem;}
.result-success strong{font-size:14px;display:block;margin-bottom:.25rem;}
.result-error{background:#FFF5F5;border:1px solid #FEB2B2;border-radius:var(--radius);padding:1.25rem;font-size:13px;color:#9B1C1C;margin-top:1.25rem;}
.popup-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:200;align-items:center;justify-content:center;}
.popup-overlay.show{display:flex;}
.popup{background:var(--white);border-radius:14px;padding:2rem 1.75rem;max-width:300px;width:90%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.2);position:relative;}
.popup-x{position:absolute;top:12px;left:14px;background:none;border:none;font-size:20px;color:#999;cursor:pointer;}
.popup-apple{display:flex;justify-content:center;margin-bottom:1rem;}
.popup-apple svg{width:32px;height:40px;fill:#000;}
.popup h3{font-family:'Amiri',serif;font-size:1.2rem;color:var(--navy);margin-bottom:.75rem;}
.popup p{font-size:13px;color:var(--text-muted);line-height:1.9;margin-bottom:1.25rem;}
.popup-close{background:var(--navy);color:var(--white);border:none;border-radius:6px;padding:10px;font-family:'Cairo',sans-serif;font-size:13px;font-weight:600;cursor:pointer;width:100%;}
@media(max-width:768px){
  .nav-menu,.nav-track-btn{display:none;}
  .nav-toggle{display:flex;}
  .hero{padding:3rem 1.25rem 2.5rem;}
  .site-strip{gap:1rem;}
  .strip-item{font-size:11px;}
  .product-card{grid-template-columns:1fr;}
  .product-img{min-height:200px;}
  .features-grid{grid-template-columns:1fr;gap:1rem;}
  .delivery-grid{grid-template-columns:1fr;gap:.75rem;}
  .contact-bar-inner{flex-direction:column;text-align:center;}
  .order-layout{grid-template-columns:1fr;}
  .form-side{padding:1.5rem 1rem;border-left:none;}
  .order-summary{padding:1.5rem 1rem;border-top:1px solid var(--border);}
  .pay-layout{grid-template-columns:1fr;}
  .pay-form{padding:1.5rem 1rem;border-left:none;}
  .steps-bar{padding:.75rem 1rem;}
  .step-line{width:20px;}
  .step span{font-size:11px;}
  .track-input-row{flex-direction:column;}
  .footer-inner{flex-direction:column;align-items:center;text-align:center;gap:.5rem;}
  .section{padding:2.5rem 1.25rem;}
}
