/* هوية أعمال آل شيتو التجارية — أخضر الحقول وذهبي الحصاد */
:root {
  --green: #277B2E;
  --green-2: #33843A;
  --green-dark: #17391F;
  --gold: #DAAB32;
  --bg: #F5F7F1;
  --white: #FFFFFF;
  --text: #27392B;
  --muted: #6B7A6E;
  --border: #E2E9DF;
  --shadow-soft: 0 16px 42px rgba(23, 57, 31, .10);
  --radius: 18px;
}

body { accent-color: var(--green); }
:focus-visible { outline: 3px solid rgba(218, 171, 50, .78); outline-offset: 3px; }

/* متجر الزوار */
.site-header {
  box-shadow: 0 7px 24px rgba(23, 57, 31, .055);
  border-bottom-color: rgba(226, 233, 223, .9);
}
.brand-mark {
  background: linear-gradient(145deg, #33843A, #1D5A25);
  box-shadow: 0 8px 20px rgba(39, 123, 46, .20);
}
.navbar .nav-link.active { color: var(--green); font-weight: 800; }
.navbar .nav-link:hover { color: var(--green-2); }
.btn-primary {
  --bs-btn-bg: #277B2E;
  --bs-btn-border-color: #277B2E;
  --bs-btn-hover-bg: #1F6627;
  --bs-btn-hover-border-color: #1F6627;
  --bs-btn-active-bg: #17391F;
  --bs-btn-active-border-color: #17391F;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(39, 123, 46, .18);
}
.btn-gold { background: #DAAB32; border-color: #DAAB32; border-radius: 12px; }
.site-footer { background: #17391F; }
.page-hero, .shop-hero { background: linear-gradient(118deg, #17391F 0%, #205D29 56%, #277B2E 100%); }
.product-card, .category-card, .info-card, .contact-form,
.cart-panel, .checkout-panel, .cart-empty {
  border-color: var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(23, 57, 31, .055);
}
.product-card, .category-card { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.product-card:hover, .category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(39, 123, 46, .24);
  box-shadow: 0 18px 38px rgba(23, 57, 31, .12);
}
.product-buy { background: #277B2E; border-radius: 11px; }
.product-buy:hover { background: #1F6627; }
.category-chip { transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.category-chip:hover { transform: translateY(-1px); }
.catalog-toolbar, .shop-benefits { border-color: var(--border); border-radius: 16px; }
.nav-cart.is-active { background: #EDF5EA; border-color: rgba(39, 123, 46, .22); }
.site-social-float a[data-social-link="whatsapp"] { background: linear-gradient(135deg, #33843A, #277B2E); }

/* لوحة الإدارة */
body.admin-body, .admin-shell { background: #F4F7F1; }
.admin-sidebar { background: linear-gradient(160deg, #17391F 0%, #205D29 78%, #1A4822 100%); }
.admin-brand-mark { background: rgba(218, 171, 50, .18); color: #F0C44F; }
.admin-nav-link.is-active {
  background: rgba(218, 171, 50, .16);
  box-shadow: inset -3px 0 #DAAB32;
}
.admin-nav-link.is-active > i { color: #F0C44F; }
.admin-topbar { border-bottom-color: #E2E9DF; box-shadow: 0 4px 18px rgba(23, 57, 31, .035); }
.metric-card, .admin-card, .confirm-dialog {
  border-color: #E2E9DF;
  border-radius: 15px;
  box-shadow: 0 7px 22px rgba(23, 57, 31, .045);
}
.metric-icon { background: #EAF3E8; color: #277B2E; }
.admin-primary-button { background: #277B2E; border-radius: 9px; }
.admin-primary-button:hover { background: #1F6627; }
.admin-ghost-button { border-radius: 9px; }
.admin-toast { background: #17391F; }

@media (max-width: 575.98px) {
  .site-header .navbar { box-shadow: none; }
  .product-card:hover, .category-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* تنقل رئيسي أوضح مع أيقونات ثابتة في العربية والإنجليزية */
.site-header .navbar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 12px;
  transition: color .18s ease, background .18s ease;
}
.site-header .navbar .nav-link:hover,
.site-header .navbar .nav-link.active { background: #F1F6ED; }
.nav-link-icon {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 9px;
  background: #EAF3E8;
  color: #277B2E;
  font-size: .84rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.site-header .navbar .nav-link:hover .nav-link-icon,
.site-header .navbar .nav-link.active .nav-link-icon {
  background: #DAAB32;
  color: #17391F;
  transform: translateY(-1px);
}
.site-header .navbar .nav-link > span { white-space: nowrap; }

/* مساحة انتقال مقصودة بين آخر دعوة في صفحة من نحن والتذييل */
.about-cta-section {
  position: relative;
  isolation: isolate;
  padding: 78px 0 108px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7F1 100%);
  border-top: 1px solid #E2E9DF;
}
.about-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: max(calc((100% - 1180px) / 2), 24px);
  width: 82px;
  border-top: 3px solid #DAAB32;
}
.about-cta-section .cta-panel {
  max-width: 1100px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(23, 57, 31, .18);
}
.about-cta-section + .site-footer { border-top: 1px solid rgba(218, 171, 50, .45); }
@media (max-width: 991.98px) {
  .site-header .navbar .nav-link { width: 100%; }
}
@media (max-width: 575.98px) {
  .site-header .navbar .nav-link { min-height: 44px; padding: 8px 10px !important; }
  .about-cta-section { padding: 54px 0 72px; }
  .about-cta-section::before { inset-inline-start: 16px; }
  .about-cta-section .cta-panel { border-radius: 18px; }
}

.about-cta-section .cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 48px;
  background: linear-gradient(125deg, #205D29 0%, #277B2E 68%, #33843A 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.about-cta-section .cta-panel::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  inset-inline-end: 18%;
  top: -175px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .035), 0 0 0 58px rgba(255, 255, 255, .025);
  pointer-events: none;
}
.about-cta-section .cta-panel > div,
.about-cta-section .cta-panel > a { position: relative; z-index: 1; }
.about-cta-section .cta-panel h2 {
  margin: 0 0 8px;
  color: #FFFFFF;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.35;
  font-weight: 800;
}
.about-cta-section .cta-panel h2 em { color: #DAAB32; font-style: normal; }
.about-cta-section .cta-panel p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .92rem; }
@media (max-width: 767.98px) {
  .about-cta-section .cta-panel { display: grid; justify-items: start; gap: 18px; padding: 30px 22px; }
  .about-cta-section .cta-panel .btn { margin: 0; }
}

.page-hero.page-hero--about {
  background: linear-gradient(90deg, rgba(23, 57, 31, .88), rgba(23, 57, 31, .68)),
    url('../images/photos/wheat-field-unsplash.jpg') center 46% / cover;
}
