/* ============================================================
   OLIVE OIL & HERBS THEME - Complete Design Override
   الغريب لزيت الزيتون والأعشاب
   ============================================================ */

:root {
  --olive-dark: #1B3409;
  --olive-primary: #2D5016;
  --olive-medium: #3A6B1E;
  --olive-light: #4A7C28;
  --olive-bright: #6B9E3A;
  --olive-leaf: #8DBF4A;
  --olive-sage: #A8C686;
  --olive-cream: #F5F0E1;
  --olive-gold: #C4A035;
  --olive-warm: #8B6914;
  --olive-bg: #F8F6F0;
  --olive-soft: #E8F0DC;
  --olive-border: #D4E4C4;
  --olive-text: #1a1c1c;
  --olive-muted: #5f5e5b;
  --olive-white: #fff;
  --olive-shadow: rgba(45,80,22,0.15);
}

/* ---- Global Color Override ---- */
a { color: inherit; }
a:hover { color: var(--olive-primary); }

.text-primary-custom,
.section-link,
.section-link:hover,
.header__lang,
.header__nav a:hover,
.header__nav a.active,
.header__action-btn:hover,
.header__burger:hover,
.header__search-btn:hover,
.woocommerce-breadcrumb a,
.product-card__category a,
.elghareb-sp__category a,
.elghareb-sp__topbar-cat,
.elghareb-account__forgot,
.elghareb-contact__hero-tag,
.elghareb-contact__input-wrap:focus-within i,
.elghareb-qv__title a:hover,
.elghareb-live-search__price,
.elghareb-live-search__price .amount,
.elghareb-search__section-title i,
.elghareb-account__nav .woocommerce-MyAccount-navigation li.is-active a,
.elghareb-account__nav .woocommerce-MyAccount-navigation li a:hover,
.elghareb-account__card-icon,
.elghareb-contact__card-icon,
.elghareb-contact__card-icon--location,
.elghareb-sp__thumb.active { color: var(--olive-primary) !important; }

.header__lang { background: var(--olive-soft) !important; }

.header__logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--olive-primary);
  white-space: nowrap;
  line-height: 1.2;
}
.header__logo-text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--olive-muted);
  margin-top: 2px;
}

.header__logo-img { height: 100px; width: auto; }
@media (max-width: 767.98px) { .header__logo-img { height: 56px; } }

/* ---- Navigation Pill ---- */
.header__nav-pill {
  position: relative;
  background: #fff;
  border-radius: 50px;
  padding: 6px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  order: 2;
  justify-self: center;
  align-self: center;
}
.header__nav-pill .header__nav { flex: none; }
.header__nav-pill .header__nav-list { gap: 24px; }
.header__nav-pill .header__nav a {
  font-size: 18px;
  font-weight: 600;
  color: #1a1c1c;
  padding: 6px 4px;
}
.header__nav-pill .header__nav a:hover { color: var(--olive-primary); }
.header__nav-pill .header__nav a.active { color: var(--olive-primary); }


/* Homepage: override white nav text inside pill */
body.home .header__nav-pill .header__nav a { color: #1a1c1c !important; }
body.home .header__nav-pill .header__nav a:hover { color: var(--olive-primary) !important; }

@media (max-width: 991.98px) {
  .header__nav-pill { display: none; }
}

.footer__logo-img { width: 180px; height: auto; display: block; margin-bottom: 15px; }

.footer__logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--olive-primary);
  display: block;
  margin-bottom: 15px;
}

/* ---- Buttons ---- */
.product-card__add-to-cart,
.elghareb-hero__shop,
.btn-primary,
.hero__nav-btn:hover,
.header__rail-menu:hover,
.elghareb-qv__add-btn,
.elghareb-account__btn,
.elghareb-sp__add-btn,
.elghareb-contact__submit,
.elghareb-search__submit,
.elghareb-account__content button[type="submit"],
.elghareb-account__content .button,
.woocommerce-info .button,
.wc-proceed-to-checkout .checkout-button,
.promo-card--wide .promo-card__content em,
.elghareb-contact__card:hover .elghareb-contact__card-icon,
.elghareb-contact__card:hover .elghareb-contact__card-icon--whatsapp,
.elghareb-contact__card:hover .elghareb-contact__card-icon--email,
.elghareb-contact__card:hover .elghareb-contact__card-icon--location,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button {
  background: var(--olive-primary) !important;
  background-color: var(--olive-primary) !important;
}

.product-card__add-to-cart:hover,
.elghareb-hero__shop:hover,
.elghareb-qv__add-btn:hover,
.elghareb-account__btn:hover,
.elghareb-sp__add-btn:hover,
.elghareb-contact__submit:hover,
.elghareb-search__submit:hover,
.elghareb-account__content button[type="submit"]:hover,
.elghareb-account__content .button:hover,
.woocommerce-info .button:hover,
.wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button:hover {
  background: var(--olive-dark) !important;
  background-color: var(--olive-dark) !important;
}

.elghareb-account__btn--outline,
.elghareb-sp__action-btn:hover,
.back-to-top {
  border-color: var(--olive-primary) !important;
}
.elghareb-account__btn--outline { color: var(--olive-primary) !important; background: transparent !important; }
.elghareb-account__btn--outline:hover { background: var(--olive-primary) !important; color: #fff !important; }
.back-to-top { background-color: var(--olive-primary) !important; box-shadow: 0 4px 16px var(--olive-shadow) !important; }
.back-to-top:hover { background-color: var(--olive-dark) !important; }

/* ---- WooCommerce overrides ---- */
.elghareb-sp__topbar-cat:hover,
.elghareb-account__content .button.alt { background: var(--olive-gold) !important; }
.elghareb-account__content .button.alt:hover { background: var(--olive-warm) !important; }

/* Active/pagination states */
.elghareb-shop-page .woocommerce-pagination ul.page-numbers li span.current,
.elghareb-shop__toolbar .gridlist-toggle button.active,
.elghareb-shop__toolbar .gridlist-toggle button:hover,
.elghareb-sp__thumb.active,
.elghareb-qv__thumbs img:hover,
.elghareb-qv__thumbs img.active {
  background: var(--olive-primary) !important;
  border-color: var(--olive-primary) !important;
  color: #fff !important;
}

/* Input focus */
.elghareb-account__input:focus,
.elghareb-contact__input-wrap:focus-within,
.elghareb-shop__toolbar .woocommerce-ordering select:focus,
.elghareb-account__content .form-row input:focus,
.elghareb-account__content .form-row select:focus,
.elghareb-account__content .form-row textarea:focus,
.elghareb-sp__cart-area .variations select:focus {
  border-color: var(--olive-primary) !important;
}

.elghareb-contact__input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(45,80,22,0.08) !important;
}

/* ---- Hero Section ---- */
.elghareb-hero {
  position: relative;
  min-height: 600px;
  height: 85vh;
  max-height: 750px;
  overflow: hidden;
  margin: 0 64px 0 0;
  border: none;
  background: none !important;
}
.elghareb-hero::before { display: none !important; }
.elghareb-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 3;
  background: url('../img/hero/herb-border.svg') no-repeat bottom center;
  background-size: 100% 100%;
  pointer-events: none;
}
.elghareb-hero__bg {
  position: absolute;
  inset: 0;
  background: 
    url('../img/hero/herb-pattern.svg') repeat,
    linear-gradient(135deg, #1B3409 0%, #2D5016 25%, #3A6B1E 50%, #4A7C28 75%, #6B9E3A 100%) !important;
  background-size: 300px 300px, cover;
  background-position: center, center;
}
.elghareb-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(141,191,74,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(196,160,53,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.elghareb-hero__inner {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center;
  gap: 40px;
  height: 100%;
  min-height: 600px;
  max-height: 750px;
  padding: 0 80px;
}
.elghareb-hero__content {
  text-align: right;
  padding: 40px 0;
  position: static !important;
  width: auto !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}
.elghareb-hero__eyebrow {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin: 0 0 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.elghareb-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.elghareb-hero h1 span {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--olive-leaf);
  margin-top: 8px;
}
.elghareb-hero__lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0 0 30px;
}
.elghareb-hero__shop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--olive-gold) !important;
  color: #fff !important;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(196,160,53,0.4);
}
.elghareb-hero__shop:hover {
  background: var(--olive-warm) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,160,53,0.5);
  color: #fff !important;
}
.elghareb-hero__shop i { font-size: 14px; transition: transform 0.3s ease; }
.elghareb-hero__shop:hover i { transform: translateX(-4px); }

/* Hero Image */
.elghareb-hero__image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px 0 !important;
  width: 100% !important;
  min-height: 420px !important;
}
.elghareb-hero__image-frame {
  position: relative !important;
  width: 100% !important;
  max-width: 520px !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.elghareb-hero__image-el {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  position: relative !important;
  z-index: 2 !important;
  max-width: none !important;
  min-width: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
}
.elghareb-hero__image-el[src$=".svg"] {
  width: 100% !important;
  height: 100% !important;
}
.elghareb-hero__image img,
.hero-section img {
  max-width: none !important;
}
.elghareb-hero__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1;
}
.elghareb-hero__image-placeholder i:first-child {
  font-size: 80px;
  color: rgba(255,255,255,0.12);
}
.elghareb-hero__image-placeholder i:last-child {
  font-size: 60px;
  color: rgba(141,191,74,0.2);
  margin-top: -10px;
}

/* Hero decorative elements */
.elghareb-hero__image-frame::before { display: none !important; }

.elghareb-hero__discover {
  position: absolute;
  bottom: 30px;
  left: 20px;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--olive-primary);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.95);
  padding: 18px 14px;
  border-radius: 50px;
  z-index: 6;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(45,80,22,0.2);
  border: 2px solid var(--olive-border);
  transition: all 0.3s ease;
}
.elghareb-hero__discover:hover {
  background: var(--olive-primary);
  color: #fff;
  border-color: var(--olive-primary);
  transform: translateY(-2px);
}
.elghareb-hero__discover span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}
.elghareb-hero__discover i { font-size: 14px; animation: bounce 2s infinite; color: var(--olive-primary); }
.elghareb-hero__discover:hover i { color: #fff; }
@keyframes bounce { 0%,20%,50%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-10px)} 60%{transform:translateY(-5px)} }
.elghareb-hero__dots { display: none; }

@media(max-width:991.98px) {
  .elghareb-hero { height: auto; min-height: 500px; max-height: none; margin: 0; }
  .elghareb-hero__inner { grid-template-columns: 1fr; padding: 100px 24px 60px; min-height: auto; text-align: center; }
  .elghareb-hero__content { text-align: center; padding: 0; }
  .elghareb-hero h1 { font-size: 38px; }
  .elghareb-hero h1 span { font-size: 22px; }
  .elghareb-hero__lead { font-size: 17px; }
  .elghareb-hero__image { padding: 20px 0 0 !important; min-height: auto !important; }
  .elghareb-hero__image-frame { max-width: 360px !important; }
  .elghareb-hero__image-placeholder i:first-child { font-size: 56px; }
  .elghareb-hero__image-placeholder i:last-child { font-size: 42px; }
}
@media(max-width:575.98px) {
  .elghareb-hero { min-height: 450px; }
  .elghareb-hero__inner { padding: 80px 20px 50px; }
  .elghareb-hero h1 { font-size: 30px; }
  .elghareb-hero__shop { padding: 14px 28px; font-size: 14px; }
  .elghareb-hero__image-frame { max-width: 280px !important; }
}

/* ---- Categories Section ---- */
#categories { background: var(--olive-bg); text-align: center; overflow: hidden; }
#categories .section-header { text-align: center; }
#categories .section-header .section-title,
#categories .section-header .section-subtitle { margin-left: auto; margin-right: auto; }
.section-header--products { margin-bottom: 2rem; }
.section-header__bee { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; background: linear-gradient(135deg, #F5D442, #E8A317); font-size: 28px; color: #3A2F0B; }
.section-header__title-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; }
.section-header__branch { font-size: 36px; line-height: 1; }
.section-header__branch--left { color: var(--olive-primary); }
.section-header__branch--right { color: var(--olive-leaf); }
.categories__slider { max-width: 1100px; margin: 0 auto; overflow: hidden; }
.categoriesSwiper { overflow: hidden !important; }
.categoriesSwiper .swiper-slide { height: auto; }
.categories__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--olive-border);
  transition: all 0.3s ease;
  text-decoration: none;
}
.categories__item:hover {
  border-color: var(--olive-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--olive-shadow);
}
.categories__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive-soft), var(--olive-border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--olive-primary);
  transition: all 0.3s ease;
}
.categories__item:hover .categories__icon {
  background: var(--olive-primary);
  color: #fff;
}
.categories__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--olive-text);
}
.categories__count {
  font-size: 13px;
  color: var(--olive-muted);
}

@media(max-width: 767.98px) {
  .categories__item { padding: 20px 12px; gap: 10px; }
  .categories__icon { width: 52px; height: 52px; font-size: 22px; }
  .categories__name { font-size: 14px; }
  .categories__count { font-size: 12px; }
  #categories .container { overflow: hidden; }
  .categoriesSwiper .swiper-wrapper { max-width: 100%; }
}

/* ---- Promo Showcase (Olive Oil Cards) ---- */
.promo-showcase { background: var(--olive-bg); padding: 50px 0 40px; }
.promo-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.promo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform 0.4s ease;
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card img { display: block; }
.promo-card__shade { display: block; background: rgba(10, 30, 5, 0.60) !important; }
.promo-card--wide .promo-card__shade { background: rgba(10, 30, 5, 0.60) !important; }

.promo-card--small {
  background: none;
}
.promo-card--wide {
  background: none;
}

.promo-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
}
.promo-card__content strong {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 10px;
}
.promo-card__content span {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.promo-card__content em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-width: 120px;
  padding: 0 28px;
  margin-top: 20px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.promo-card:hover .promo-card__content em {
  background: #fff;
  color: var(--olive-primary);
  border-color: #fff;
}
.promo-card__tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

/* Olive leaf decoration */
.promo-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.promo-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Promo icons */
.promo-card--wide .promo-card__content::before {
  content: '\f06c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 48px;
  color: rgba(255,255,255,0.15);
  margin-bottom: 16px;
}

@media(max-width:991.98px) {
  .promo-showcase__grid { grid-template-columns: 1fr; }
  .promo-card { min-height: 280px; }
  .promo-card__content strong { font-size: 24px; }
}
@media(max-width:575.98px) {
  .promo-showcase { padding: 32px 0 24px; }
  .promo-card { min-height: 240px; border-radius: 16px; }
  .promo-card__content { padding: 30px 20px; }
  .promo-card__content strong { font-size: 22px; }
}

/* ---- Creative Vision / About Section ---- */
.creative-vision {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFEFD5 50%, #FFF5E6 100%);
  padding: 60px 0;
}
.creative-vision__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(45,80,22,0.1);
}
.creative-vision__image {
  position: relative;
  min-height: 400px;
  background: linear-gradient(135deg, #C77B12 0%, #E8A317 40%, #F5D442 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creative-vision__image img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.creative-vision__image::before {
  content: '\f6d5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 120px;
  color: rgba(255,255,255,0.15);
  z-index: 0;
}
.creative-vision__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,215,0,0.2) 0%, transparent 50%);
}
.creative-vision__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 50px;
  color: var(--olive-text);
}
.creative-vision__content h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  color: #B8860B;
  margin: 0 0 20px;
}
.creative-vision__content p {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--olive-muted);
  margin: 0 0 28px;
}
.creative-vision__content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--olive-primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.creative-vision__content a:hover { gap: 14px; }
.creative-vision__content a i { font-size: 13px; }

@media(max-width:991.98px) {
  .creative-vision__panel { grid-template-columns: 1fr; min-height: auto; }
  .creative-vision__image { min-height: 280px; }
  .creative-vision__content { padding: 40px 28px; }
}
@media(max-width:575.98px) {
  .creative-vision { padding: 36px 0; }
  .creative-vision__image { min-height: 220px; }
  .creative-vision__content h2 { font-size: 24px; }
  .creative-vision__content p { font-size: 14px; }
}

/* ---- Features Bar ---- */
.features-bar {
  background: var(--olive-bg);
  padding-bottom: 0 !important;
}
.features-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.features-bar__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--olive-border);
  transition: all 0.3s ease;
}
.features-bar__item:hover {
  border-color: var(--olive-primary);
  box-shadow: 0 4px 20px var(--olive-shadow);
  transform: translateY(-2px);
}
.features-bar__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--olive-soft), var(--olive-border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--olive-primary);
  flex-shrink: 0;
}
.features-bar__info h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--olive-text);
  margin: 0 0 4px;
}
.features-bar__info p {
  font-size: 13px;
  color: var(--olive-muted);
  margin: 0;
  line-height: 1.5;
}

@media(max-width:991.98px) {
  .features-bar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:575.98px) {
  .features-bar__grid { grid-template-columns: 1fr; gap: 12px; }
  .features-bar__item { padding: 18px 16px; }
}

/* ---- Footer ---- */
.footer {
  background: linear-gradient(180deg, #1a1c1c 0%, #0d1114 100%);
  color: #fff;
  padding: 48px 0 0;
  border-top: 3px solid var(--olive-primary);
}
.footer__grid.footer__grid--reference {
  gap: 40px;
}
.footer__col h4 {
  color: var(--olive-leaf) !important;
  font-size: 16px;
  margin-bottom: 20px !important;
}
.footer__col p { color: rgba(255,255,255,0.75) !important; }
.footer__links li a { color: rgba(255,255,255,0.7) !important; }
.footer__links li a:hover { color: var(--olive-leaf) !important; }
.footer__contact li { color: rgba(255,255,255,0.8) !important; }
.footer__contact li span { color: rgba(255,255,255,0.8) !important; }
.footer__contact li i {
  background: rgba(45,80,22,0.3) !important;
  color: var(--olive-leaf) !important;
}
.footer__social a { color: rgba(255,255,255,0.6) !important; }
.footer__social a:hover { color: var(--olive-leaf) !important; }
.footer__badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer__badge-title { color: var(--olive-leaf) !important; }
.footer__badge-desc { color: rgba(255,255,255,0.7) !important; }
.footer__bottom {
  border-top-color: rgba(255,255,255,0.1) !important;
}
.footer__copyright { color: rgba(255,255,255,0.5) !important; }

/* ---- Product Cards ---- */
.product-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--olive-border);
  transition: all 0.3s ease;
  background: #fff;
}
.product-card:hover {
  border-color: var(--olive-primary);
  box-shadow: 0 8px 32px var(--olive-shadow);
  transform: translateY(-4px);
}
.product-card__body {
  padding: 16px;
}
.product-card__category {
  font-size: 12px;
  font-weight: 600;
  color: var(--olive-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card__title a {
  color: var(--olive-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.product-card__title a:hover { color: var(--olive-primary); }
.product-card__rating i.active { color: var(--olive-gold); }
.product-card__add-to-cart {
  background: var(--olive-primary) !important;
  color: #fff !important;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.product-card__add-to-cart:hover {
  background: var(--olive-dark) !important;
  transform: translateY(-1px);
}

/* ---- Shop Banner ---- */
.elghareb-shop__banner {
  background: linear-gradient(135deg, var(--olive-bg) 0%, var(--olive-soft) 40%, var(--olive-border) 100%) !important;
}

/* ---- Account Banner ---- */
.elghareb-account__banner {
  background: linear-gradient(135deg, var(--olive-bg) 0%, var(--olive-soft) 40%, var(--olive-border) 100%) !important;
}

/* ---- Contact Banner ---- */
.elghareb-contact__hero {
  background: var(--olive-bg) !important;
}
.elghareb-contact__hero-bg {
  background: linear-gradient(135deg, var(--olive-bg) 0%, var(--olive-soft) 40%, var(--olive-border) 100%) !important;
}
.elghareb-contact__hero-tag {
  background: var(--olive-soft) !important;
  color: var(--olive-primary) !important;
}
.elghareb-contact__cards-section {
  background: var(--olive-soft) !important;
}
.elghareb-contact__card-icon {
  background: var(--olive-soft) !important;
  color: var(--olive-primary) !important;
}
.elghareb-contact__card:hover .elghareb-contact__card-icon {
  background: var(--olive-primary) !important;
  color: #fff !important;
}
.elghareb-contact__submit {
  background: linear-gradient(135deg, var(--olive-primary), var(--olive-light)) !important;
}
.elghareb-contact__submit:hover {
  background: linear-gradient(135deg, var(--olive-dark), var(--olive-primary)) !important;
  box-shadow: 0 8px 25px var(--olive-shadow) !important;
}
.elghareb-contact__features {
  background: var(--olive-soft) !important;
}

/* ---- Search Banner ---- */
.elghareb-search__banner {
  background: linear-gradient(135deg, var(--olive-bg) 0%, var(--olive-soft) 40%, var(--olive-border) 100%) !important;
}
.elghareb-search__input-wrap:focus-within {
  border-color: var(--olive-primary) !important;
}

/* ---- Quick View ---- */
.elghareb-qv__add-btn {
  background: var(--olive-primary) !important;
}
.elghareb-qv__add-btn:hover {
  background: var(--olive-dark) !important;
}

/* ---- Live Search ---- */
.elghareb-live-search__price,
.elghareb-live-search__price .amount { color: var(--olive-primary) !important; }

/* ---- Breadcrumb ---- */
.woocommerce-breadcrumb-wrap {
  background: var(--olive-bg) !important;
}
.woocommerce-breadcrumb a { color: var(--olive-primary) !important; }

/* ---- Back to Top ---- */
#backToTop {
  background-color: var(--olive-primary) !important;
  box-shadow: 0 4px 16px var(--olive-shadow) !important;
}
#backToTop:hover {
  background-color: var(--olive-dark) !important;
}

/* ---- Mobile Sidebar ---- */
.mobile-sidebar__header {
  background: var(--olive-primary) !important;
}
.mobile-sidebar__menu li a:hover,
.mobile-sidebar__menu li.current-menu-item a {
  color: var(--olive-primary) !important;
}

/* ---- Single Product ---- */
.elghareb-sp__add-btn {
  background: var(--olive-primary) !important;
}
.elghareb-sp__add-btn:hover {
  background: var(--olive-dark) !important;
}
.elghareb-sp__action-btn:hover {
  color: var(--olive-primary) !important;
  border-color: var(--olive-primary) !important;
}

/* ---- Checkout ---- */
.wc-proceed-to-checkout .checkout-button {
  background: var(--olive-primary) !important;
}
.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--olive-dark) !important;
}

/* ---- WooCommerce Notices ---- */
.woocommerce-MyAccount-content .woocommerce-info {
  background: var(--olive-soft) !important;
  color: var(--olive-primary) !important;
  border-color: var(--olive-border) !important;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--olive-bg); }
::-webkit-scrollbar-thumb { background: var(--olive-sage); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--olive-primary); }

/* ---- Selection ---- */
::selection { background: var(--olive-soft); color: var(--olive-dark); }
::-moz-selection { background: var(--olive-soft); color: var(--olive-dark); }

/* ---- Footer Badge Icons (replacing images) ---- */
.footer__badge-icon-text {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(45,80,22,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--olive-leaf);
  flex-shrink: 0;
}
.footer__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.footer__badge:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.footer__badge-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--olive-leaf);
  display: block;
}
.footer__badge-desc {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  display: block;
}
.footer__badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

/* ---- Decorative Patterns ---- */
.promo-card--small::before {
  content: '\f5e6';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 80px;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}
.promo-card--wide::before {
  content: '\f06c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 80px;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

/* ---- Hero Decorative Leaves ---- */
.elghareb-hero__bg::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 40%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(141,191,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- WhatsApp Order Button & Modal ---- */
.elghareb-wa__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 12px; padding: 14px 24px;
  background: #25D366; color: #fff; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
}
.elghareb-wa__btn:hover { background: #1DA851; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.elghareb-wa__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.elghareb-wa__overlay.active { opacity: 1; visibility: visible; }
.elghareb-wa__modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); z-index: 10000; background: #fff; border-radius: 20px; width: 90%; max-width: 520px; max-height: 85vh; overflow-y: auto; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.elghareb-wa__modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.elghareb-wa__modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #25D366; color: #fff; border-radius: 20px 20px 0 0; position: sticky; top: 0; z-index: 2; }
.elghareb-wa__modal-header h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.elghareb-wa__close { background: rgba(255,255,255,0.2); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.elghareb-wa__close:hover { background: rgba(255,255,255,0.35); }
.elghareb-wa__modal-body { padding: 4px 20px 20px; }
.elghareb-wa__section { margin-bottom: 18px; }
.elghareb-wa__section-title { font-size: 14px; font-weight: 700; color: #2D5016; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid #e8e8e8; }
.elghareb-wa__section-title i { color: #25D366; font-size: 14px; }
.elghareb-wa__field { margin-bottom: 10px; }
.elghareb-wa__field label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 4px; }
.elghareb-wa__field label i { color: #25D366; width: 16px; text-align: center; margin-left: 2px; }
.elghareb-wa__field input, .elghareb-wa__field textarea, .elghareb-wa__field select { width: 100%; padding: 10px 12px; border: 2px solid #E8E8E8; border-radius: 10px; font-size: 13px; font-family: inherit; transition: border-color 0.3s; background: #FAFAFA; }
.elghareb-wa__field input:focus, .elghareb-wa__field textarea:focus, .elghareb-wa__field select:focus { border-color: #25D366; outline: none; background: #fff; }
.elghareb-wa__coupon-row { display: flex; gap: 8px; }
.elghareb-wa__coupon-row input { flex: 1; }
.elghareb-wa__coupon-btn { background: #2D5016; color: #fff; border: none; padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.3s; }
.elghareb-wa__coupon-btn:hover { background: #3A6B1E; }
.elghareb-wa__file-hint { display: block; font-size: 10px; color: #999; margin-top: 3px; }

/* Summary */
.elghareb-wa__summary { background: #F8F6F0; border-radius: 12px; padding: 14px 16px; }
.elghareb-wa__summary .elghareb-wa__section-title { margin-bottom: 8px; border-bottom-color: #d9d9d9; }
.elghareb-wa__summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; color: #555; }
.elghareb-wa__summary-row .elghareb-wa__product-name { font-weight: 600; color: #1A1C1C; text-align: left; max-width: 60%; }
.elghareb-wa__total-price, .elghareb-wa__discount { font-weight: 700; color: #2D5016; }
.elghareb-wa__discount-row .elghareb-wa__discount, .elghareb-wa__prepay-row .elghareb-wa__discount { color: #E53935; }
.elghareb-wa__summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: 8px; border-top: 2px solid #2D5016; font-size: 15px; font-weight: 800; color: #2D5016; }
.elghareb-wa__final-price { font-size: 18px; }

/* Payment Radio */
.elghareb-wa__radio { display: flex; align-items: flex-start; gap: 10px; padding: 12px; margin-bottom: 8px; border: 2px solid #E8E8E8; border-radius: 10px; cursor: pointer; transition: all 0.3s; }
.elghareb-wa__radio:has(input:checked) { border-color: #25D366; background: #F0FFF4; }
.elghareb-wa__radio input[type="radio"] { width: auto; margin-top: 3px; accent-color: #25D366; }
.elghareb-wa__radio-content strong { display: block; font-size: 13px; color: #1A1C1C; margin-bottom: 2px; }
.elghareb-wa__radio-content small { font-size: 11px; color: #888; }
.elghareb-wa__bank-info { background: #FFF8E7; border: 1px solid #F0D9A0; border-radius: 10px; padding: 12px; margin-top: 10px; font-size: 13px; }
.elghareb-wa__bank-info p { margin: 0 0 4px; }
.elghareb-wa__copy-box { display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; border: 2px solid #25D366; border-radius: 12px; padding: 14px 20px; cursor: pointer; transition: all 0.3s; }
.elghareb-wa__copy-box span { font-size: 22px; font-weight: 800; color: #128C7E; direction: ltr; letter-spacing: 2px; }
.elghareb-wa__copy-box i { color: #25D366; font-size: 20px; }
.elghareb-wa__copy-box:hover { background: #E8F5E9; }
.elghareb-wa__copy-box.copied { background: #D4EDDA; border-color: #28A745; }
.elghareb-wa__copy-box.copied span { color: #155724; }
.elghareb-wa__copy-box.copied i { color: #28A745; }
.elghareb-wa__amount-to-pay { color: #E53935; font-weight: 700; margin-top: 6px; }
.elghareb-wa__amount-to-pay strong { color: #E53935; font-size: 15px; }

/* Upload Zone */
.elghareb-wa__upload-zone { position: relative; border: 2px dashed #ccc; border-radius: 12px; padding: 24px; text-align: center; cursor: pointer; transition: all 0.3s; }
.elghareb-wa__upload-zone:hover { border-color: #25D366; background: #F0FFF4; }
.elghareb-wa__upload-zone i { font-size: 32px; color: #25D366; margin-bottom: 8px; display: block; }
.elghareb-wa__upload-zone span { font-size: 12px; color: #888; }
.elghareb-wa__upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Submit */
.elghareb-wa__submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: #25D366; color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 6px; transition: all 0.3s ease; }
.elghareb-wa__submit:hover { background: #1DA851; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,0.3); }

@media(max-width:575.98px) {
  .elghareb-wa__modal { max-width: 95%; max-height: 90vh; }
  .elghareb-wa__modal-body { padding: 4px 12px 16px; }
  .elghareb-wa__section-title { font-size: 13px; }
}
