/* ADHAL - Fakhama draft 2 - reversible UX refinements, 2026-09-23 */
/* Search: separate results clearly from the page behind them. */
.s-search-modal .s-modal-body {
  background: #ffffff !important;
  color: #231f1e !important;
  border-radius: 16px !important;
  height: auto !important;
  max-height: calc(100dvh - 64px) !important;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
}
.s-search-modal .s-search-panel {
  background: #ffffff !important;
  color: #231f1e;
  min-height: 0 !important;
  height: auto !important;
}
.s-search-modal .s-search-idle-section-title,
.s-search-modal .s-search-panel h3,
.s-search-modal .s-search-panel a {
  color: #231f1e !important;
}
.s-search-modal .s-search-input {
  font-size: 16px;
}
/* Retain the existing promotional text, link and brand colors. */
#ATB_sec_1 .anim-txt-bar {
  padding-block: 12px;
}
/* Visible keyboard focus without changing product cards. */
#mainnav a:focus-visible,
#mainnav button:focus-visible,
.f_bottom-menu a:focus-visible,
.f_bottom-menu button:focus-visible {
  outline: 2px solid var(--foreground-color);
  outline-offset: 3px;
}


/* Footer: show these headings only when their lists contain content. */
.store-footer .s-menu-footer-block:has(.s-menu-footer-list:empty),
.store-footer .contact-social:has(.s-social-list:empty) {
  display: none;
}
/* Keep copyright legible on the existing blue background. */
.store-footer__bottom .copyright-text,
.store-footer__bottom .copyright-text p,
.store-footer__bottom .copyright-text a {
  color: var(--foreground-color, #ccffff) !important;
}


/* ADHAL draft 2: consistent hierarchy and calmer presentation. */
body.index .s-block__title h2,
body.index .s-slider-block__title h2 {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
  -webkit-line-clamp: unset;
}
body.index .s-block__title .right-side,
body.index .s-slider-block__title-right {
  text-align: start !important;
  border-inline-start: 3px solid var(--color-primary);
  padding-inline-start: 12px;
}
body.index .s-block__title,
body.index .s-slider-block__title {
  margin-bottom: 20px;
}
body.index .s-block__title p {
  opacity: 1 !important;
  color: #475569 !important;
  font-size: 15px;
  line-height: 1.85;
  margin-top: 8px;
}
body.index #main-content > .s-block:not(#EF_banner_sec_0):not(#ATB_sec_1) {
  margin-top: 28px;
}
#EF_prod_sec_2 .s-block__title {
  padding: 18px 20px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #edf4fc;
}
/* A readable promotional message using the existing link. */
#ATB_sec_1 {
  max-width: 1280px;
  width: calc(100% - 32px);
  margin: 16px auto 28px;
}
#ATB_sec_1 .anim-txt-bar {
  padding: 14px 20px;
  white-space: normal !important;
  background: #edf4fc !important;
  border: 1px solid #dce7f3;
  border-radius: 14px;
}
#ATB_sec_1 .anim-txt-bar p {
  animation: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
  white-space: normal;
  text-align: center;
  color: var(--color-primary) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}
#ATB_sec_1 .anim-txt-bar p:not(:first-child) { display: none; }
#ATB_sec_1 .anim-txt-bar:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
/* Keep the original hero image fully visible. */
#EF_banner_sec_0 .banners { padding-block: 16px; }
#EF_banner_sec_0 .banner { border-radius: 18px; overflow: hidden; }
/* Refine existing trust statistics without changing their values. */
#stat_sec_8 .f_statistics-item {
  padding: 22px 24px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 73, 170, .04);
}
#stat_sec_8 .f_counted-number { color: var(--color-primary); font-size: 30px; line-height: 1.3; }
#stat_sec_8 .f_statistics-item p { color: #475569; font-size: 15px; line-height: 1.7; }
/* Questions remain readable and keep their existing accordion behavior. */
#faq_sec_10 > .container { max-width: 1000px; }
#faq_sec_10 .faqs { gap: 12px; }
#faq_sec_10 .faqs__item {
  padding: 0;
  background: #ffffff;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0;
}
#faq_sec_10 .faqs__item > label { padding: 16px 18px; gap: 14px; align-items: center; }
#faq_sec_10 .faqs__item h3 {
  display: block;
  -webkit-line-clamp: unset;
  white-space: normal;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: #143c6a;
}
#faq_sec_10 .faq-answer { overflow: hidden; }
#faq_sec_10 input:checked + .faqs__item .faq-answer { height: auto; max-height: none; }
#faq_sec_10 .faq-answer p { padding: 0 18px 18px; color: #475569; font-size: 15px; line-height: 1.9; }
/* A compact footer with the original store information. */
.store-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid #dce7f3; background: #f2f6fb; }
.store-footer .about-us-block {
  max-width: 920px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid #dce7f3;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: none;
}
.store-footer .about-us-block > .f_logo {
  width: 80px;
  max-width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.store-footer .about-us-block > div { padding: 0 !important; }
.store-footer .about-us-block p { max-width: 680px; margin-inline: auto; color: #475569; font-size: 15px; line-height: 1.9; }
.store-footer .f_store-name { font-size: 20px; color: var(--color-primary); margin-bottom: 10px; }
.store-footer .s-contacts-item { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary); }
.store-footer__blocks { gap: 28px; margin-top: 28px; padding-bottom: 28px; justify-content: center; }
.store-footer__blocks h3 { color: #143c6a; font-size: 18px; line-height: 1.5; }
@media (min-width: 768px) {
  body.index .s-block__title h2,
  body.index .s-slider-block__title h2 { font-size: 30px; }
  body.index #main-content > .s-block:not(#EF_banner_sec_0):not(#ATB_sec_1) { margin-top: 44px; }
  #EF_banner_sec_0 .banner { height: auto; min-height: 0; background: #ffffff; }
  #EF_banner_sec_0 .banner img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
  .store-footer__blocks > div { flex: 1 1 260px; max-width: 340px; }
}
@media (max-width: 767px) {
  .store-footer .about-us-block { margin-inline: 16px; padding: 24px 18px; }
  #EF_prod_sec_2 .s-block__title { padding: 16px; }
}

/* Keep mobile introductions compact so products remain prominent. */
@media (max-width: 767px) {
  #EF_banner_sec_0 { padding-block: 0; }
  #EF_banner_sec_0 .banners { padding-block: 8px; }
  #ATB_sec_1 { padding: 0; margin-top: 4px; margin-bottom: 20px; }
  #ATB_sec_1 .anim-txt-bar { padding: 10px 16px; }
  body.index #main-content > #EF_prod_sec_2 { margin-top: 20px; }
  #EF_prod_sec_2 .s-block__title { padding: 12px; margin-bottom: 16px; }
}