
/* =============================================================
   ARAFA CNC — CLEAN SHARED LAYOUT
   Header | Navigation | Mobile Drawer | Footer
============================================================= */

:root {
  --arafa-navy: #061b2b;
  --arafa-orange: #ff5a12;
  --arafa-border: #e5ebf0;
}

/* =============================================================
   01 — HEADER
============================================================= */

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #051825;
  box-shadow: 0 6px 18px rgba(5,24,37,.12);
}

.site-header { position: relative; width: 100%; }

.header-topbar {
  background: #fff;
  color: var(--text, #142d40);
  border-bottom: 1px solid #edf0f3;
  font-size: 12px;
}

.header-topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-topbar__meta,
.header-topbar__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-topbar__meta > * {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.header-topbar__meta i { color: var(--arafa-orange); }
.header-topbar__tools { gap: 8px; }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--arafa-navy);
  color: #fff;
}

.header-tool {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 15px;
}

.header-tool--cart[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: default;
  font: inherit;
}

.header-tool--cart[aria-disabled="true"] { opacity: 1; }

.header-tool--cart small {
  position: absolute;
  top: -1px;
  inset-inline-end: -3px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--arafa-orange);
  color: #fff;
  font-size: 9px;
  pointer-events: none;
}

.header-main {
  position: relative;
  z-index: 10;
  background: #051825;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 74px;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 110px;
  min-width: 0;
  height: 74px;
  color: #fff;
  text-decoration: none;
}

.site-logo__image {
  display: block;
  width: 100%;
  height: 66px;
  object-fit: contain;
}

.site-logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--arafa-orange);
  font-size: 31px;
}

.site-logo__text { font-size: 20px; letter-spacing: .6px; }
.site-logo__text b { color: var(--arafa-orange); }

.layout-load-error {
  padding: 10px 16px;
  background: #fff3ed;
  color: #8d2f00;
  border-bottom: 1px solid #ffd2bd;
  font-size: 13px;
  text-align: center;
}


/* =============================================================
   02 — DESKTOP NAVIGATION
============================================================= */

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 17px;
  margin-inline: auto;
  font-size: 13px;
  font-weight: 700;
}

.main-nav > a,
.nav-mega__toggle,
.nav-dropdown__toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 74px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  white-space: nowrap;
}

.main-nav > a::after,
.nav-mega::after,
.nav-dropdown::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: var(--arafa-orange);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after,
.nav-mega:hover::after,
.nav-mega.is-active::after,
.nav-dropdown:hover::after,
.nav-dropdown.is-active::after {
  transform: scaleX(1);
}

.nav-mega,
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-mega__toggle > i,
.nav-dropdown__toggle > i { font-size: 9px; }


/* =========================
   MEGA MENUS
========================= */

.mega-menu,
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  z-index: 600;
  background: #fff;
  color: #172e41;
  border: 1px solid var(--arafa-border);
  box-shadow: 0 18px 40px rgba(3,20,33,.20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s;
}

.mega-menu { width: 310px; }
.nav-dropdown__menu { width: 190px; }

.nav-mega:hover > .mega-menu,
.nav-mega.is-open > .mega-menu,
.nav-dropdown:hover > .nav-dropdown__menu,
.nav-dropdown.is-open > .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf0f3;
  background: #f9fafb;
}

.mega-menu__title strong { font-size: 13px; }
.mega-menu__title a { color: var(--arafa-orange); font-size: 10px; }
.mega-menu__list { list-style: none; margin: 0; padding: 0; }
.mega-menu__item { position: relative; }

.mega-menu__item > a,
.mega-flyout a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 17px;
  border-bottom: 1px solid #f0f2f4;
  background: #fff;
}

.mega-menu__item > a:hover,
.mega-menu__item:hover > a,
.mega-flyout a:hover,
.nav-dropdown__menu a:hover {
  color: var(--arafa-orange);
  background: #fff8f4;
}

.mega-menu__item > a i { font-size: 9px; }

html[dir="ltr"] .mega-menu__item > a i {
  transform: rotate(180deg);
}

.mega-flyout {
  position: absolute;
  top: -1px;
  inset-inline-start: 100%;
  min-width: 245px;
  background: #fff;
  border: 1px solid var(--arafa-border);
  box-shadow: 0 16px 34px rgba(3,20,33,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition:
    opacity .16s ease,
    transform .16s ease;
}

html[dir="rtl"] .mega-flyout {
  transform: translateX(-8px);
}

.mega-menu__item:hover > .mega-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mega-flyout--wide { min-width: 280px; }

.nav-dropdown__menu a {
  display: block;
  padding: 11px 15px;
  border-bottom: 1px solid #f0f2f4;
}


/* =============================================================
   03 — HEADER ACTIONS AND SEARCH
============================================================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--arafa-orange);
  font-size: 22px;
  cursor: pointer;
}

.header-call,
.header-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--arafa-orange);
  border-radius: 6px;
  color: #fff;
  white-space: nowrap;
  font-size: 12px;
}

.header-pdf { border-color: #8ba0af; }

.header-call i,
.header-pdf i {
  color: var(--arafa-orange);
  font-size: 16px;
}

.header-login,
.mobile-menu-toggle { display: none; }

.header-search-panel {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(5,24,37,.10);
  transition: max-height .25s ease;
}

.header-search-panel.is-open {
  max-height: min(80vh, 640px);
  overflow-y: auto;
}

.header-search-panel form {
  display: flex;
  padding: 13px 0;
}

.header-search-panel input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid #dce2e7;
  border-inline-end: 0;
  outline: none;
}

.header-search-panel button {
  width: 52px;
  border: 0;
  background: var(--arafa-orange);
  color: #fff;
}

.header-search-panel .desktop-product-search__results {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  width: min(100% - 28px, 1060px);
  margin-inline: auto;
}


/* =========================
   SEARCH RESULTS
========================= */

.drawer-product-search__results {
  display: grid;
  gap: 8px;
  max-height: min(45vh,430px);
  overflow-y: auto;
  padding: 10px 0;
}

.catalog-search-note {
  margin: 0;
  padding: 12px 8px;
  color: #617587;
  font-size: 13px;
  line-height: 1.8;
}

.catalog-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px;
  border: 1px solid #e6ecf0;
  border-radius: 10px;
  background: #fff;
  color: #0c283c;
  text-align: start;
  text-decoration: none;
  transition:
    border-color .2s ease,
    background .2s ease;
}

.catalog-search-item:hover,
.catalog-search-item:focus-visible {
  border-color: var(--arafa-orange);
  background: #fff6f0;
}

.catalog-search-item img {
  width: 60px;
  height: 52px;
  flex: 0 0 60px;
  object-fit: contain;
  border-radius: 7px;
  background: #f6f8fa;
}

.catalog-search-item__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-wrap: anywhere;
}

.catalog-search-item__copy strong { font-size: 13px; }
.catalog-search-item__copy small { color: #738497; font-size: 11px; }


/* =============================================================
   04 — MEDIA FALLBACK
============================================================= */

.smart-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#eef2f5,#fff);
}

.smart-media > img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.smart-media__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 7px;
  color: #81909d;
  text-align: center;
}

.smart-media__placeholder i {
  color: var(--arafa-orange);
  font-size: 38px;
}

.smart-media__placeholder small {
  font-size: 10px;
  direction: ltr;
}

.smart-bg {
  position: relative;
  background-image:
    linear-gradient(rgba(7,29,45,.06),rgba(7,29,45,.06)),
    var(--bg-image);
  background-size: cover;
  background-position: center;
}

.smart-bg__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: #7c8995;
  text-align: center;
}

.smart-bg__placeholder i {
  color: var(--arafa-orange);
  font-size: 45px;
}


/* =============================================================
   05 — FOOTER
============================================================= */

.site-footer {
  position: relative;
  background: #051825;
  color: #fff;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns:
    minmax(170px,1.2fr)
    minmax(140px,1fr)
    minmax(170px,1fr)
    minmax(210px,1.1fr);
  align-items: start;
  gap: 34px;
  padding: 64px 0 54px;
}

.footer-brand {
  min-width: 0;
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo__image {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.9;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.footer-column h3 {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 13px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 36px;
  height: 3px;
  border-radius: 10px;
  background: var(--arafa-orange);
}

.footer-column a,
.footer-column > span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color .2s ease,
    transform .2s ease;
}

.footer-column a:hover {
  color: var(--arafa-orange);
  transform: translateX(-3px);
}

html[dir="ltr"] .footer-column a:hover {
  transform: translateX(3px);
}

.footer-column i {
  flex: 0 0 18px;
  width: 18px;
  color: var(--arafa-orange);
  text-align: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--arafa-orange);
  background: var(--arafa-orange);
}

.footer-social--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social--instagram:hover {
  background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
  border-color: transparent;
}

.footer-social--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-social--youtube:hover {
  background: #f00;
  border-color: #f00;
}


/* =========================
   FOOTER COPYRIGHT
========================= */

.footer-bottom {
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  background: #051825;
  color: rgba(255,255,255,.74);
  font-size: 13px;
}

.site-footer .footer-bottom__content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 18px 12px;
  text-align: center;
}

.site-footer .footer-copyright,
.site-footer .footer-developer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  text-align: center;
  line-height: 1.8;
}

.site-footer .footer-developer__link {
  color: #fff;
  font-weight: 700;
}


/* =============================================================
   06 — FLOATING SOCIAL BUTTONS
============================================================= */

.floating-socials {
  position: fixed;
  bottom: 28px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 9px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .25s ease,
    visibility .25s ease;
}

html[dir="rtl"] .floating-socials {
  left: 18px;
  right: auto;
}

html[dir="ltr"] .floating-socials {
  right: 18px;
  left: auto;
}

.floating-socials.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floating-social {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 5px 16px rgba(0,0,0,.16);
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.floating-social:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
}

.floating-social--phone { background: var(--arafa-orange); }
.floating-social--whatsapp { background: #25d366; }
.floating-social--facebook { background: #1877f2; }
.floating-social--instagram {
  background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
}
.floating-social--youtube { background: #f00; }


/* =============================================================
   07 — TABLET HEADER / FOOTER
============================================================= */

@media (max-width: 1180px) {
  .header-actions .header-pdf { display: none; }
  .main-nav { gap: 12px; font-size: 12px; }
}

@media (max-width: 1050px) {

  .header-topbar { display: none; }

  .header-main__inner {
    min-height: 78px;
    gap: 12px;
    padding-block: 8px;
  }

  .site-logo {
    order: 0;
    max-width: 148px;
    width: 148px;
    height: 64px;
  }

  .site-logo__image {
    width: 100%;
    height: 64px;
    object-fit: contain;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 1;
    margin-inline-start: auto;
  }

  .header-actions .header-call,
  .header-actions .header-search,
  .header-actions .header-pdf {
    display: none !important;
  }

  .header-actions .header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 11px;
    background: transparent;
    color: var(--arafa-orange);
    font-size: 20px;
    text-decoration: none;
  }

  .header-search-panel { display: none; }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e4eaf0;
    border-radius: 10px;
    background: #fff;
    color: var(--arafa-navy);
    font-size: 18px;
    cursor: pointer;
  }

  /* Main navigation is moved into drawer by JS */
  .site-header .main-nav { display: none !important; }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 30px 24px;
  }

  .mobile-menu-toggle:focus-visible,
  .mobile-drawer button:focus-visible,
  .mobile-drawer a:focus-visible {
    outline: 2px solid var(--arafa-orange);
    outline-offset: 2px;
  }
}


/* =============================================================
   08 — MOBILE SIDE DRAWER
============================================================= */

.mobile-drawer-backdrop,
.mobile-drawer { display: none; }

@media (max-width: 1050px) {

  html.mobile-drawer-open,
  body.mobile-drawer-open {
    overflow: hidden !important;
  }

  .mobile-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(3,19,31,.64);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity .25s ease,
      visibility .25s ease;
  }

  .mobile-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
    width: min(89vw,380px);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: contain;
    background: #fff;
    color: #0a2537;
    box-shadow: -16px 0 40px rgba(0,0,0,.22);
    transform: translateX(103%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform .28s cubic-bezier(.22,.7,.26,1),
      visibility .28s;
  }

  .mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  html[dir="ltr"] .mobile-drawer {
    left: 0;
    right: auto;
    transform: translateX(-103%);
    box-shadow: 16px 0 40px rgba(0,0,0,.22);
  }

  html[dir="ltr"] .mobile-drawer.is-open {
    transform: translateX(0);
  }


  /* =========================
     DRAWER NAVY HEADER
  ========================= */

  .mobile-drawer__head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    min-height: 67px;
    padding: 12px 18px;
    border-bottom: 2px solid var(--arafa-orange);
    background: var(--arafa-navy);
  }

  .mobile-drawer__brand,
  .mobile-drawer__caption,
  .mobile-drawer .mega-menu__title {
    display: none !important;
  }

  .mobile-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
  }

  .mobile-drawer__close:hover {
    background: var(--arafa-orange);
    border-color: var(--arafa-orange);
  }


  /* =========================
     DRAWER TOOLBAR
     PDF / CART / HEART / LOGIN / LANGUAGE
  ========================= */

  .mobile-drawer__toolbar {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: repeat(5,minmax(0,1fr));
    align-items: center;
    justify-items: center;
    gap: 5px;
    padding: 13px 10px;
    border-bottom: 1px solid #e6edf1;
    background: #fff;
  }

  .mobile-drawer__toolbar .mobile-drawer__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    min-width: 0;
    padding: 0;
    border: 1px solid #e3e9ee;
    border-radius: 10px;
    background: #fff;
    color: #0b2a40;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-drawer__toolbar .mobile-drawer__language {
    width: 48px;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-drawer__toolbar .mobile-drawer__tool:hover,
  .mobile-drawer__toolbar .mobile-drawer__tool.is-active {
    color: var(--arafa-orange);
    background: #fff3ed;
    border-color: var(--arafa-orange);
  }


  /* =========================
     WISHLIST PANEL
  ========================= */

  .mobile-drawer__wishlist-panel[hidden] {
    display: none;
  }

  .mobile-drawer__wishlist-panel {
    flex: 0 0 auto;
    max-height: 190px;
    overflow-y: auto;
    padding: 14px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e6edf1;
  }

  .mobile-drawer__wishlist-panel strong {
    display: block;
    margin-bottom: 8px;
    color: var(--arafa-navy);
  }

  .mobile-drawer__wishlist-panel a,
  .mobile-drawer__wishlist-panel p {
    display: block;
    margin: 0;
    padding: 8px 0;
    color: #263e51;
    font-size: 13px;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  .mobile-drawer__wishlist-panel a:hover {
    color: var(--arafa-orange);
  }


  /* =========================
     DRAWER NAVIGATION
  ========================= */

  .mobile-drawer__nav-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: #fff;
    scrollbar-width: thin;
  }

  .mobile-drawer .main-nav {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    overflow: visible;
  }

  .mobile-drawer .main-nav > a,
  .mobile-drawer .main-nav > .nav-mega,
  .mobile-drawer .main-nav > .nav-dropdown {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
  }

  .mobile-drawer .main-nav > a,
  .mobile-drawer .nav-mega__toggle,
  .mobile-drawer .nav-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 53px;
    padding: 14px 21px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #172e41;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: start;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
  }

  .mobile-drawer .main-nav > a.is-active,
  .mobile-drawer .main-nav > a:hover,
  .mobile-drawer .nav-mega__toggle:hover,
  .mobile-drawer .nav-dropdown__toggle:hover {
    color: var(--arafa-orange);
    background: #fff6f1;
  }

  .mobile-drawer .nav-mega__toggle i,
  .mobile-drawer .nav-dropdown__toggle i {
    color: var(--arafa-orange);
    font-size: 12px;
    transition: transform .2s ease;
  }

  .mobile-drawer .nav-mega.is-open > .nav-mega__toggle i,
  .mobile-drawer .nav-dropdown.is-open > .nav-dropdown__toggle i {
    transform: rotate(180deg);
  }


  /* =========================
     MOBILE DROPDOWN MENUS
  ========================= */

  .mobile-drawer .mega-menu,
  .mobile-drawer .nav-dropdown__menu {
    position: static !important;
    inset: auto !important;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 7px 15px 11px;
    border: 0;
    border-radius: 0;
    background: #f7f9fb;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }

  .mobile-drawer .nav-mega.is-open > .mega-menu,
  .mobile-drawer .nav-dropdown.is-open > .nav-dropdown__menu {
    display: block;
  }

  .mobile-drawer .mega-menu__list {
    display: block;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mobile-drawer .mega-menu__item {
    display: block;
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mobile-drawer .mega-menu__item > a,
  .mobile-drawer .nav-dropdown__menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #2f4655;
    font-size: 13px;
    line-height: 1.5;
    text-align: start;
    text-decoration: none;
  }

  .mobile-drawer .mega-menu__item > a:hover,
  .mobile-drawer .nav-dropdown__menu a:hover {
    color: var(--arafa-orange);
    background: #fff0e8;
  }

  .mobile-drawer .mega-menu__item > a i,
  .mobile-drawer .mega-flyout {
    display: none !important;
  }


  /* =========================
     BOTTOM CONTACT BUTTONS
  ========================= */

  .mobile-drawer__footer {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 9px;
    padding: 12px 16px;
    border-top: 1px solid #edf0f3;
    background: #fff;
  }

  .mobile-drawer__contact-actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    width: 100%;
  }

  .mobile-drawer__contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 43px;
    padding: 8px;
    border-radius: 9px;
    background: var(--arafa-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-drawer__contact-btn--whatsapp {
    background: #168b52;
  }

  .mobile-drawer__contact-btn:hover {
    filter: brightness(.94);
    color: #fff;
  }


  /* =========================
     OPTIONAL MOBILE SEARCH
  ========================= */

  .mobile-drawer__extras[hidden],
  .mobile-drawer__extras form[hidden] { display: none; }

  .mobile-drawer__extras {
    flex: 0 1 auto;
    min-height: 0;
    padding: 14px 16px 9px;
    background: #f8fafc;
    border-bottom: 1px solid #e7edf1;
  }

  .drawer-product-search label {
    display: block;
    margin-bottom: 9px;
    color: #092a3f;
    font-size: 13px;
    font-weight: 800;
  }

  .drawer-product-search__field {
    display: flex;
    gap: 7px;
  }

  .drawer-product-search__field input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d8e2e9;
    border-radius: 9px;
    background: #fff;
    color: #071e2e;
    outline: 0;
  }

  .drawer-product-search__field input:focus {
    border-color: var(--arafa-orange);
    box-shadow: 0 0 0 3px rgba(255,90,18,.10);
  }

  .drawer-product-search__field button {
    flex: 0 0 42px;
    border: 0;
    border-radius: 9px;
    background: var(--arafa-orange);
    color: #fff;
  }

  .mobile-drawer__extras .drawer-product-search__results {
    max-height: min(33vh,260px);
  }
}


/* =============================================================
   09 — RESPONSIVE FOOTER / SMALL MOBILE
============================================================= */

@media (max-width: 800px) {

  .site-footer .footer-grid {
    gap: 30px 20px;
    padding-block: 35px;
  }

  .site-footer .footer-brand,
  .site-footer .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-logo__image { max-width: 150px; }
}

@media (max-width: 700px) {

  .site-footer .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px 16px;
  }

  .site-footer .footer-column h3 { font-size: 17px; }
  .site-footer .footer-column a { font-size: 12px; }

  .floating-socials {
    bottom: 14px;
    gap: 7px;
  }

  html[dir="rtl"] .floating-socials { left: 12px; }
  html[dir="ltr"] .floating-socials { right: 12px; }

  .floating-social {
    width: 39px;
    height: 39px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {

  .header-main__inner {
    gap: 8px;
    min-height: 74px;
  }

  .site-logo {
    width: 135px;
    height: 60px;
  }

  .site-logo__image { height: 60px; }
  .header-actions { gap: 5px; }

  .mobile-menu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .mobile-drawer { width: min(90vw,365px); }
  .mobile-drawer__head { padding: 13px 15px; }

  .mobile-drawer__toolbar {
    gap: 4px;
    padding: 10px 8px;
  }

  .mobile-drawer__toolbar .mobile-drawer__tool {
    width: 36px;
    height: 38px;
  }

  .mobile-drawer__toolbar .mobile-drawer__language {
    width: 44px;
    font-size: 11px;
  }

  .mobile-drawer .main-nav > a,
  .mobile-drawer .nav-mega__toggle,
  .mobile-drawer .nav-dropdown__toggle {
    min-height: 49px;
    padding: 12px 16px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-drawer-backdrop { transition: none; }
}

/* ========================= END LAYOUT CSS ========================= */





.footer-developer__link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-developer__link:hover {
  color: #ff5a12;
}