/* SAMR_REDESIGN_20261130
   الواجهة الجديدة لسمر: طبقة مظهر فقط فوق style.css.
   لا تغيّر أي معرّف (id) ولا وظيفة؛ كل الأزرار الجديدة تستدعي الأزرار الأصلية عبر samr-home-sections.js. */

:root{
  --samr-green:#164d35;
  --samr-green-dark:#0f3826;
  --samr-gold:#b88732;
  --samr-gold-soft:#f3e7cf;
  --samr-gold-text:#8a6326;
  --samr-ink:#1f2f27;
  --samr-muted:#5f6f66;
  --samr-line:#ece5d8;
  --samr-shadow:0 12px 32px rgba(22,77,53,.08);
}

/* ===== الشريط العلوي ===== */
html body>header{
  position:sticky;top:0;z-index:30;
  gap:14px;padding:14px clamp(14px,4vw,56px);
  background:#fff!important;border-bottom:1px solid var(--samr-line)!important;
}
html body>header .brand img{height:76px;width:auto;display:block}
html body>header .menu-toggle{
  width:52px;height:52px;padding:0;border-radius:14px;
  border:1px solid var(--samr-line);background:#fff;color:var(--samr-green);font-size:24px;
}
html body>header nav{align-items:center}
html body>header #account,
html body>header #home,
html body>header #admin,
html body>header #owner-management,
html body>header #supervisor-dashboard{
  min-height:52px;padding:0 24px;border-radius:999px;
  background:var(--samr-green);color:#fff;font-weight:700;font-size:16px;
}
html body>header #notification-bell{
  min-width:52px;height:52px;padding:0 12px;border-radius:999px;
  border:1px solid var(--samr-line);background:#fff;color:var(--samr-green);
}
html body>header .header-tagline{color:var(--samr-muted);font-size:15px}

/* ===== الواجهة الرئيسية ===== */
html body>main>.hero{padding:40px clamp(14px,4vw,56px) 24px}
.hero .hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.hero .samr-eyebrow{
  display:inline-block;padding:7px 16px;border-radius:999px;
  background:var(--samr-gold-soft);color:#6e4c16;font-size:15px;font-weight:700;
}
.hero h1{
  font-family:'El Messiri',Tajawal,sans-serif!important;font-weight:700;
  color:var(--samr-ink)!important;letter-spacing:0;
}
.hero .hero-gold{align-self:stretch;text-align:start;color:var(--samr-gold)}
.hero .hero-copy p{color:var(--samr-muted);font-size:21px;line-height:1.8;margin:0}
.hero .hero-photo,
.hero .samr-hero-ad-link{
  border-radius:240px 240px 28px 28px!important;
  border:6px solid #fff;box-shadow:0 30px 60px rgba(22,77,53,.16);box-sizing:border-box;
}

/* صندوق البحث */
html body .hero .search{
  background:#fff!important;border:1px solid var(--samr-line)!important;
  border-radius:26px!important;box-shadow:0 18px 44px rgba(22,77,53,.10)!important;
}
.hero .search label{color:var(--samr-muted);font-weight:700;font-size:14px}
.hero .search input,.hero .search select,.hero .search .select-trigger{
  background:#faf8f4!important;border:1px solid #e2d8c6!important;border-radius:12px!important;color:var(--samr-ink);
}
.hero .search input:focus{outline:2px solid var(--samr-gold);outline-offset:1px}
.hero .search .search-actions>button{border-radius:12px!important;font-weight:700}
.hero .search #search-button,.hero .search #restaurant-search{background:var(--samr-gold-text)!important;color:#fff!important}

/* أزرار التبويب السريعة */
.hero .quick-filters{margin-top:6px}
.hero .quick-filters button,
#quick-my-bookings #bookings{
  min-height:46px;border:1px solid #e2d8c6!important;border-radius:999px!important;
  background:#fff!important;color:var(--samr-green)!important;font-weight:700;
  box-shadow:0 4px 12px rgba(22,77,53,.05);
}
.hero .quick-filters button[aria-pressed=true]{
  background:var(--samr-green)!important;color:#fff!important;border-color:var(--samr-green)!important;
}

/* بطاقات القاعات */
#content>h2{font-family:'El Messiri',Tajawal,sans-serif;font-weight:700;color:var(--samr-ink)}
#content .card{
  background:#fff!important;border:1px solid var(--samr-line)!important;border-radius:24px!important;
  box-shadow:var(--samr-shadow)!important;transition:transform .2s,box-shadow .2s;
}
#content .card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(22,77,53,.13)!important}
#content .card .price{color:var(--samr-gold-text)!important;font-weight:800}

/* ===== أقسام الرئيسية الجديدة ===== */
.samr-home-extras{display:flex;flex-direction:column;gap:72px;padding:56px clamp(14px,4vw,56px) 80px;color:var(--samr-ink)}
.hero[hidden]~.samr-home-extras,
html[data-samr-route] .samr-home-extras,
body.viewing-place .samr-home-extras{display:none!important}
.samr-home-extras h2{font-family:'El Messiri',Tajawal,sans-serif;font-size:clamp(30px,3.4vw,44px);font-weight:700;margin:0;line-height:1.35}
.samr-home-extras p{margin:0}
.samr-section-head{display:flex;flex-direction:column;gap:8px;text-align:center;align-items:center}
.samr-section-head p{color:var(--samr-muted);font-size:18px}

.samr-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
html body .samr-service{
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:start;
  padding:22px;border-radius:22px;background:#fff;color:var(--samr-ink);
  border:1px solid var(--samr-line);box-shadow:0 6px 18px rgba(22,77,53,.05);font:inherit;cursor:pointer;
  transition:transform .2s,border-color .2s;
}
html body .samr-service:hover{transform:translateY(-3px);border-color:var(--samr-gold)}
.samr-service .samr-ico{width:52px;height:52px;border-radius:16px;background:var(--samr-gold-soft);display:flex;align-items:center;justify-content:center}
.samr-service .samr-ico svg{width:26px;height:26px;stroke:#6e4c16}
.samr-service strong{font-size:18px}
.samr-service span.samr-sub{font-size:15px;color:var(--samr-muted);line-height:1.6}

.samr-invite-band{
  display:flex;flex-wrap:wrap;align-items:center;gap:48px;
  padding:clamp(28px,5vw,64px);border-radius:32px;background:var(--samr-green);color:#fff;
}
.samr-invite-copy{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:16px}
.samr-invite-copy .samr-ruqaa{font-family:'Aref Ruqaa',serif;font-size:32px;color:#e7c983}
.samr-invite-copy p{color:#dbe8e0;font-size:18px;line-height:1.9}
.samr-invite-gallery{flex:1 1 460px;min-width:0;display:flex;justify-content:center;align-items:flex-end;gap:14px}
.samr-invite-gallery img{width:30%;aspect-ratio:9/16;object-fit:cover;border-radius:18px;box-shadow:0 20px 40px rgba(0,0,0,.35)}
.samr-invite-gallery img:nth-child(2){width:36%;margin-bottom:26px}

.samr-btn-row{display:flex;flex-wrap:wrap;gap:12px}
html body .samr-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;
  border-radius:999px;font:inherit;font-weight:700;font-size:16px;cursor:pointer;border:1px solid transparent;
}
html body .samr-btn-gold{background:#e7c983;color:#1f2f27}
html body .samr-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
html body .samr-btn-green{background:var(--samr-green);color:#fff}
html body .samr-btn-outline{background:#fff;color:var(--samr-green);border-color:var(--samr-green)}
html body .samr-btn-brown{background:var(--samr-gold-text);color:#fff}

.samr-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.samr-step{padding:26px;border-radius:22px;background:#fff;border:1px solid var(--samr-line);display:flex;flex-direction:column;gap:10px}
.samr-step b{width:54px;height:54px;border-radius:50%;background:var(--samr-green);color:#fff;font-size:24px;display:flex;align-items:center;justify-content:center}
.samr-step strong{font-size:20px}
.samr-step span{color:var(--samr-muted);font-size:16px;line-height:1.7}

.samr-resale{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}
.samr-resale>div{padding:32px;border-radius:26px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.samr-resale>div:first-child{background:var(--samr-gold-soft)}
.samr-resale>div:last-child{background:#fff;border:1px solid var(--samr-line)}
.samr-resale h3,.samr-owners h3{font-family:'El Messiri',Tajawal,sans-serif;font-size:28px;margin:0}
.samr-resale p,.samr-owners p{color:#4d5c54;font-size:17px;line-height:1.8}

.samr-owners{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:40px;border-radius:28px;background:#fff;border:1px solid var(--samr-line);box-shadow:var(--samr-shadow)}

/* ===== التذييل ===== */
html body>footer.samr-footer{
  background:var(--samr-green-dark)!important;color:#dfe9e3;
  padding:48px clamp(14px,4vw,56px);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 28px;font-size:16px;
}
html body>footer.samr-footer .logo-home{background:#fff!important;border-radius:20px;padding:10px 14px}
html body>footer.samr-footer .footer-logo{height:84px;width:auto;mix-blend-mode:normal!important}
html body>footer.samr-footer>p{margin:0}
html body>footer.samr-footer>p:first-of-type{font-family:'El Messiri',Tajawal,sans-serif;font-size:22px;color:#e7c983;flex-basis:100%;text-align:center}
html body>footer.samr-footer a,
html body>footer.samr-footer button{color:#dfe9e3!important;background:transparent!important;border:0;padding:6px 4px;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}

@media(max-width:750px){
  html body>header .brand img{height:58px}
  html body>header #account{padding:0 14px;font-size:13px;min-height:44px}
  html body>header .menu-toggle,html body>header #notification-bell{width:44px;min-width:44px;height:44px}
  .hero .hero-copy{align-items:center}
  .hero .hero-gold{text-align:center}
  .samr-home-extras{gap:48px;padding-top:36px}
  .samr-invite-gallery{gap:8px}
  .samr-owners{padding:26px}
}
