/* Sahar footer + lower homepage band — sf- namespace only */

.sf-section,
.sf-section *,
.sf-footer,
.sf-footer * {
  box-sizing: border-box;
}

.sf-section {
  --ink: #10182f;
  --pink: #ec0870;
  --muted: #47516b;
  color: var(--ink);
  background: radial-gradient(ellipse at center, #fff, #eff1fa);
  padding-top: 26px;
  line-height: 1.75;
  overflow-x: clip;
  font-family: inherit;
}

.sf-section a {
  color: inherit;
  text-decoration: none;
}

.sf-section button,
.sf-section input {
  font: inherit;
}

.sf-section button {
  cursor: pointer;
}

.sf-section svg,
.sf-footer svg {
  width: 1.35em;
  height: 1.35em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sf-section h2,
.sf-section h3,
.sf-section p,
.sf-footer h3,
.sf-footer p {
  margin: 0;
}

.sf-shell {
  width: 95%;
  max-width: 1620px;
  margin: auto;
}

@media (min-width: 1200px) {
  body.lang-rtl .sf-shell,
  body.lang-rtl .sf-footer-shell {
    width: var(--s26-shell-desktop, min(1778px, max(1140px, 86.3vw)));
    max-width: var(--s26-shell-max, 1778px);
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body.lang-rtl .sf-shell,
  body.lang-rtl .sf-footer-shell {
    width: var(--s26-shell-tablet, min(1778px, 92vw));
    max-width: var(--s26-shell-max, 1778px);
  }
}

.sf-tracking,
.sf-promo,
.sf-card,
.sf-groups {
  box-shadow: 0 10px 20px #28345d15;
  border: 1px solid #fff9;
}

.sf-tracking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 32px;
  padding: 12px 24px;
  background: linear-gradient(100deg, #f8f1fa, #fff, #faeefa);
  margin-bottom: 38px;
}

.sf-track-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.sf-track-copy img {
  width: clamp(70px, 10vw, 140px);
  height: auto;
  border-radius: 24px;
  flex: none;
}

.sf-track-copy h2 {
  font-size: clamp(16px, 1.5vw, 24px);
}

.sf-track-copy p {
  font-size: clamp(12px, 1.1vw, 17px);
  color: var(--muted);
}

.sf-track-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.sf-track-form input {
  min-width: 0;
  width: clamp(160px, 21vw, 320px);
  border: 1px solid #ded9e8;
  border-radius: 99px;
  padding: 9px 16px;
  background: #fff;
  box-shadow: 0 3px 6px #18204015;
}

.sf-pill,
.sf-soft-pill,
.sf-white-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 99px;
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(12px, 1.1vw, 17px);
  padding: 8px 18px;
}

.sf-pill {
  border: 0;
  background: linear-gradient(#f51a76, #970039);
  color: #fff;
}

.sf-track-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.sf-pill--soft {
  background: linear-gradient(110deg, #fae5f2, #fff);
  color: #b60050 !important;
  border: 1px solid #f0c3d8;
  box-shadow: 0 3px 6px #18204010;
}

.sf-pill--soft:hover {
  text-decoration: none;
  filter: brightness(0.98);
}

.sf-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.sf-promo {
  min-height: 154px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  overflow: hidden;
}

.sf-promo img {
  width: 46%;
  max-height: 140px;
  object-fit: contain;
  order: 2;
  border-radius: 10px;
  flex: none;
}

.sf-promo > div {
  flex: 1;
  min-width: 0;
}

.sf-promo h2 {
  font-size: clamp(15px, 1.6vw, 25px);
  line-height: 1.6;
  margin-bottom: 14px;
}

.sf-purple {
  background: linear-gradient(130deg, #311947, #8950ac);
  color: #fff !important;
}

.sf-pink {
  background: linear-gradient(125deg, #d60065, #ff7255);
  color: #fff !important;
}

.sf-support {
  background: linear-gradient(110deg, #fff, #f8eef9);
  text-align: center;
}

.sf-support img {
  order: 0;
  width: 30%;
  max-height: 120px;
}

.sf-support h2 {
  font-size: clamp(14px, 1.35vw, 20px);
  margin-bottom: 5px;
}

.sf-support p,
.sf-support a {
  font-size: clamp(11px, 1.05vw, 16px);
  overflow-wrap: anywhere;
}

.sf-white-pill {
  background: #fff;
  color: #a00048;
  font-size: 12px;
  padding: 6px 12px;
}

.sf-categories {
  margin-bottom: 34px;
}

.sf-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.sf-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(19px, 2vw, 30px);
}

.sf-heading h2 svg,
.sf-card svg,
.sf-groups svg {
  color: var(--pink);
}

.sf-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.sf-actions button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 9px #18204015;
}

.sf-soft-pill {
  background: linear-gradient(110deg, #fae5f2, #fff);
  color: #b60050 !important;
}

.sf-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 70px) / 6);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 3px 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.sf-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  min-width: 0;
  transition: transform 0.2s;
}

.sf-card:hover {
  transform: translateY(-2px);
}

.sf-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.62;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  background: #f3f0f8;
}

.sf-card > div {
  padding: 12px 6px 18px;
}

.sf-card svg {
  width: 30px;
  height: 30px;
}

.sf-card h3 {
  font-size: clamp(12px, 1.25vw, 19px);
  margin-top: 4px;
}

.sf-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ffffffc9;
  border-radius: 25px;
  padding: 24px 12px;
  margin-bottom: 38px;
}

.sf-groups section {
  padding: 0 24px;
  text-align: center;
  min-width: 0;
}

.sf-groups section + section {
  border-inline-start: 1px solid #dce0ed;
}

.sf-groups h3,
.sf-footer h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: clamp(15px, 1.5vw, 22px);
  margin-bottom: 10px;
}

.sf-section ul,
.sf-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-groups li {
  margin: 3px 0;
  font-size: clamp(12px, 1.15vw, 17px);
}

.sf-groups a:hover,
.sf-footer a:hover {
  text-decoration: underline;
}

/* —— Footer —— */
.sf-footer {
  background: linear-gradient(135deg, #192542, #111a34);
  color: #fff;
  border-radius: 22px 22px 0 0;
  padding: 30px 0 14px;
  overflow-x: clip;
  max-width: 100%;
  font-family: inherit;
  margin-top: 0;
}

.sf-footer a {
  color: inherit;
  text-decoration: none;
}

.sf-footer-shell {
  width: 92%;
  max-width: 1570px;
  margin: auto;
  min-width: 0;
}

.sf-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  text-align: center;
  padding-bottom: 24px;
  min-width: 0;
}

.sf-footer-grid section + section {
  border-inline-start: 1px solid #ffffff30;
  padding-inline-start: 18px;
}

.sf-footer h3 svg {
  color: #f46aa9;
}

.sf-footer p,
.sf-footer li,
.sf-footer a {
  font-size: clamp(12px, 1.1vw, 16px);
}

.sf-footer li {
  margin: 4px 0;
}

.sf-directions,
.sf-social {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.sf-directions a,
.sf-social a {
  border: 1px solid #ffffff55;
  border-radius: 9px;
  padding: 5px 10px;
  background: #ffffff0a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sf-directions a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sf-social a {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 12px;
}

.sf-social svg {
  width: 20px;
  height: 20px;
}

.sf-brand > img {
  width: 90px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: auto;
  background: #fff;
  padding: 6px;
}

.sf-brand strong {
  display: block;
  font-size: 28px;
  line-height: 1.3;
  margin-top: 8px;
}

.sf-brand .sf-enamad {
  display: block;
  margin: 14px auto 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  padding: 0;
}

.sf-brand .sf-enamad img {
  display: block;
  margin: auto;
  max-width: 85px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: none;
  padding: 0;
  border-radius: 0;
}

.sf-footer-bottom {
  border-block: 1px solid #ffffff55;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 8px;
  gap: 24px;
}

.sf-social {
  margin: 0;
}

.sf-copyright {
  text-align: center;
  padding-top: 10px;
  font-size: clamp(12px, 1.05vw, 15px);
  opacity: 0.92;
}

.sf-sr {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sf-section :focus-visible,
.sf-footer :focus-visible {
  outline: 3px solid #ff8ebc;
  outline-offset: 3px;
}

/* Hide legacy footer chrome when sf-footer is active */
body:has(.sf-footer) .footer-top,
body:has(.sf-footer) .footer-container,
body:has(.sf-footer) .sahar-footer-location,
body:has(.sf-footer) .footer-bottom,
body:has(.sf-footer) .sahar-videos,
body:has(.sf-footer) .FooterIFC,
body:has(.sf-footer) #footer .footer-dec-trust {
  display: none !important;
}

@media (min-width: 1500px) {
  .sf-promo {
    min-height: 200px;
  }

  .sf-section {
    padding-top: 36px;
  }

  .sf-tracking,
  .sf-promos,
  .sf-categories,
  .sf-groups {
    margin-bottom: 48px;
  }
}

@media (min-width: 1280px) and (max-width: 1439.98px) {
  .sf-rail {
    grid-auto-columns: calc((100% - 56px) / 5);
  }
}

@media (max-width: 1024px) {
  .sf-rail {
    grid-auto-columns: calc((100% - 42px) / 4);
  }
}

@media (max-width: 900px) {
  .sf-tracking {
    flex-wrap: wrap;
  }

  .sf-track-form {
    width: 100%;
    justify-content: space-between;
  }

  .sf-track-form input {
    flex: 1;
  }

  .sf-promos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-support {
    grid-column: 1 / -1;
  }

  .sf-support img {
    width: 85px;
  }

  .sf-rail {
    grid-auto-columns: calc((100% - 28px) / 3);
  }

  .sf-groups,
  .sf-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .sf-groups section,
  .sf-footer-grid section {
    border: 0 !important;
    padding-inline-start: 0;
  }
}

@media (max-width: 768px) {
  .sf-rail {
    grid-auto-columns: calc((100% - 14px) / 2.2);
  }
}

@media (max-width: 520px) {
  .sf-shell {
    width: 92%;
  }

  .sf-section {
    padding-top: 18px;
  }

  .sf-tracking {
    padding: 14px;
    gap: 12px;
    margin-bottom: 24px;
    border-radius: 24px;
  }

  .sf-track-copy {
    gap: 9px;
  }

  .sf-track-form {
    flex-wrap: wrap;
  }

  .sf-track-form input {
    width: 100%;
    flex-basis: 100%;
  }

  .sf-track-btns {
    width: 100%;
    flex-direction: column;
  }

  .sf-pill {
    width: 100%;
    min-height: 44px;
  }

  .sf-promos {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 26px;
  }

  .sf-promo {
    min-height: 135px;
  }

  .sf-support {
    grid-column: auto;
  }

  .sf-heading {
    flex-wrap: wrap;
    margin-bottom: 15px;
  }

  .sf-rail {
    grid-auto-columns: calc((100% - 14px) / 2);
  }

  .sf-card h3 {
    font-size: 13px;
  }

  .sf-groups {
    padding: 18px 6px;
    gap: 22px 8px;
  }

  .sf-groups section {
    padding: 0 4px;
  }

  .sf-groups h3 {
    font-size: 13px;
  }

  .sf-footer-grid {
    gap: 24px 8px;
  }

  .sf-footer h3 {
    font-size: 14px;
  }

  .sf-brand strong {
    font-size: 22px;
  }

  .sf-brand .sf-enamad {
    margin-top: 12px;
  }

  .sf-footer-bottom {
    gap: 12px;
  }
}

@media (max-width: 390px) {
  .sf-shell,
  .sf-footer-shell {
    width: 94%;
  }

  .sf-rail {
    grid-auto-columns: 72%;
  }

  .sf-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sf-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-card {
    transition: none;
  }
}
