/*
 * متجر الفاروق — تخصيص ثيم رائد — الإصدار 10
 * يوضع هذا الملف كاملًا في: تخصيص الثيم > CSS مخصص
 */

:root {
  --farouq-red: #e31e24;
  --farouq-red-dark: #b91016;
  --farouq-black: #090909;
  --farouq-ink: #171717;
  --farouq-soft: #f5f5f6;
  --farouq-white: #ffffff;
  --farouq-muted: #707070;
  --farouq-line: #e8e8ea;
  --farouq-radius: 24px;
  --farouq-shadow: 0 22px 60px rgba(0, 0, 0, 0.1);
}

/* إخفاء البحث من الهيدر لأن المتجر يحتوي على منتج واحد */
header[data-testid="store-header"] .header-search,
header[data-testid="store-header"] salla-search[data-testid="store-header-search"],
.store-header .header-search,
.store-header salla-search[data-testid="store-header-search"],
.farouq-header-search-hidden {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* إبراز شعار المتجر في الهيدر */
.farouq-logo-row {
  position: relative !important;
  min-height: 88px !important;
}

header[data-testid="store-header"] .farouq-logo-link,
.store-header .farouq-logo-link {
  min-width: 72px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  z-index: 8 !important;
}

header[data-testid="store-header"] img.farouq-store-logo,
.store-header img.farouq-store-logo {
  width: auto !important;
  height: auto !important;
  max-width: 92px !important;
  max-height: 76px !important;
  object-fit: contain !important;
}

/* إخفاء فوتر سلة الأصلي ومنع ازدواجه مع الفوتر الجديد */
.store-footer:not(#farouq-custom-footer),
.farouq-native-footer-hidden,
body.farouq-enhanced footer:not(#farouq-custom-footer) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* واجهة المنتج الواحد في الرئيسية */
body.index .farouq-single-product {
  position: relative;
  margin: 18px auto 12px !important;
  padding: 34px 0 30px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(227, 30, 36, 0.075), transparent 28%),
    linear-gradient(180deg, #fafafa 0%, #f3f3f4 100%);
}

/* تثبيت توسيط المنتج وحذف زر السلة مباشرة في قسم المنتج */
body.index [data-testid="store-home-featured-products-tabs"] .swiper-wrapper,
body.index [data-testid="store-home-featured-products-tabs"] .s-slider-swiper-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, min(100%, 560px)) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  gap: 0 !important;
  transform: none !important;
}

body.index [data-testid="store-home-featured-products-tabs"] .s-products-slider-card,
body.index [data-testid="store-home-featured-products-tabs"] .swiper-slide,
body.index [data-testid="store-home-featured-products-tabs"] custom-salla-product-card,
body.index [data-testid="store-home-featured-products-tabs"] .s-product-card-entry {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  inset: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

body.index [data-testid="store-home-featured-products-tabs"] salla-add-product-button,
body.index [data-testid="store-home-featured-products-tabs"] [data-testid="add-product-button"],
body.index [data-testid="store-home-featured-products-tabs"] [class*="add-product-button"] {
  display: none !important;
}

body.index .farouq-single-product::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 0.8px, transparent 0.8px);
  background-size: 17px 17px;
  opacity: 0.65;
}

body.index .farouq-single-product > .container {
  position: relative;
  z-index: 1;
  width: min(100%, 620px) !important;
  max-width: 620px !important;
  margin-inline: auto !important;
  padding-inline: 14px !important;
}

/* عبارة الثقة ثم رابط الاستعلام */
.farouq-trust-section {
  position: relative;
  z-index: 2;
  width: min(930px, calc(100% - 28px));
  margin: 34px auto 18px;
  padding: 30px 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.065);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(227, 30, 36, 0.09), transparent 30%),
    #ffffff;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.085);
  text-align: center;
  direction: rtl;
}

.farouq-trust-section::after {
  content: "";
  position: absolute;
  left: -65px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(227, 30, 36, 0.05);
  pointer-events: none;
}

.farouq-trust-section__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.farouq-trust-section__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--farouq-red), var(--farouq-red-dark));
  box-shadow: 0 13px 28px rgba(227, 30, 36, 0.24);
}

.farouq-trust-section__icon svg {
  width: 30px;
  height: 30px;
}

.farouq-trust-section h2 {
  margin: 0 0 10px;
  color: var(--farouq-ink);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.4;
  font-weight: 900;
}

.farouq-trust-section h2.farouq-trust-section__closing {
  margin: 17px 0 0;
}

.farouq-trust-section p {
  max-width: 670px;
  margin: 0 auto;
  color: #55555a;
  font-size: 0.95rem;
  line-height: 2;
}

.farouq-trust-section__lookup {
  width: min(100%, 430px);
  min-height: 54px;
  margin: 20px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 15px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--farouq-red), var(--farouq-red-dark));
  box-shadow: 0 13px 30px rgba(227, 30, 36, 0.24);
  text-decoration: none !important;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.45;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.farouq-trust-section__lookup:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 17px 36px rgba(227, 30, 36, 0.31);
}

.farouq-trust-section__lookup svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.farouq-trust-section__lookup-note {
  width: min(100%, 500px);
  margin: 10px auto 0;
  display: block;
  color: #707075;
  font-size: 0.78rem;
  line-height: 1.8;
  font-weight: 700;
}

body.index .farouq-single-product .tabs-wrapper,
body.index .farouq-single-product .tabs__item,
body.index .farouq-single-product .s-products-slider-wrapper,
body.index .farouq-single-product salla-products-slider,
body.index .farouq-single-product salla-slider,
body.index .farouq-single-product .swiper,
body.index .farouq-single-product .s-slider-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.index .farouq-single-product .swiper-wrapper,
body.index .farouq-single-product .s-slider-swiper-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, min(100%, 560px)) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  gap: 0 !important;
  transform: none !important;
}

body.index .farouq-single-product .s-products-slider-card,
body.index .farouq-single-product .swiper-slide {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  inset: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

body.index .farouq-single-product custom-salla-product-card,
body.index .farouq-single-product .s-product-card-entry {
  width: 100% !important;
  max-width: 560px !important;
  margin-inline: auto !important;
  display: block !important;
}

body.index .farouq-single-product .s-product-card-entry {
  border: 1px solid rgba(0, 0, 0, 0.065) !important;
  border-radius: 28px !important;
  background: var(--farouq-white) !important;
  overflow: hidden !important;
  box-shadow: var(--farouq-shadow) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.index .farouq-single-product .s-product-card-entry:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.14) !important;
}

body.index .farouq-single-product .s-product-card-image {
  background: #f0f0f1 !important;
}

body.index .farouq-single-product .s-product-card-image img {
  width: 100% !important;
  object-fit: cover !important;
}

body.index .farouq-single-product .s-product-card-content,
body.index .farouq-single-product .s-product-card-content-main {
  text-align: center !important;
}

body.index .farouq-single-product .s-product-card-content-title {
  display: none !important;
}

/* الزر الأصلي يُخفى فقط بعد نجاح إضافة زر الضمان البديل */
body.index .farouq-single-product .farouq-original-cart-button {
  display: none !important;
}

body.index .farouq-single-product salla-add-product-button,
body.index .farouq-single-product [data-testid="add-product-button"],
body.index .farouq-single-product [class*="add-product-button"] {
  display: none !important;
}

.farouq-warranty-actions {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.farouq-free-warranty-button {
  width: calc(100% - 32px);
  min-height: 52px;
  margin: 14px auto 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 15px;
  color: var(--farouq-white) !important;
  background: linear-gradient(135deg, var(--farouq-red) 0%, var(--farouq-red-dark) 100%);
  box-shadow: 0 12px 28px rgba(227, 30, 36, 0.24);
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.farouq-free-warranty-button:hover {
  color: var(--farouq-white) !important;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(227, 30, 36, 0.32);
}

.farouq-free-warranty-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

/* الفوتر الجديد */
.farouq-footer,
.farouq-footer * {
  box-sizing: border-box;
}

.farouq-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--farouq-white);
  background:
    radial-gradient(circle at 12% 0%, rgba(227, 30, 36, 0.18), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(227, 30, 36, 0.08), transparent 28%),
    linear-gradient(180deg, #111111 0%, #050505 100%);
  border-top: 3px solid var(--farouq-red);
  direction: rtl;
}

.farouq-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.22;
}

.farouq-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 0;
}

.farouq-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.farouq-footer__brand {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.farouq-footer__brand {
  padding: 25px;
}

.farouq-company-header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.farouq-company-box {
  min-height: 92px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.farouq-company-box--ar {
  align-items: flex-start;
  text-align: right;
}

.farouq-company-box--en {
  align-items: flex-start;
  text-align: left;
  direction: ltr;
}

.farouq-company-box h2 {
  margin: 0 0 7px;
  color: var(--farouq-white);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 900;
}

.farouq-company-box--en h2 {
  font-size: 0.84rem;
  letter-spacing: 0.45px;
}

.farouq-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.farouq-legal-card {
  min-height: 78px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.04);
}

.farouq-legal-card__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 13px;
  color: #ffffff;
  background: rgba(227, 30, 36, 0.15);
  border: 1px solid rgba(227, 30, 36, 0.22);
}

.farouq-legal-card__icon svg {
  width: 23px;
  height: 23px;
}

.farouq-legal-card__icon img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
  background: #ffffff;
}

.farouq-legal-card__label {
  display: block;
  margin-bottom: 4px;
  color: #a9a9ad;
  font-size: 0.72rem;
  font-weight: 700;
}

.farouq-legal-card__number {
  display: block;
  color: #ffffff !important;
  direction: ltr;
  text-align: right;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.farouq-branches {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
}

.farouq-branches__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.farouq-branches__head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.farouq-branches__head span {
  color: #9d9da2;
  font-size: 0.72rem;
  font-weight: 700;
}

.farouq-branches__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.farouq-branch {
  min-height: 54px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  color: #d3d3d6;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.55;
}

.farouq-branch:last-child {
  grid-column: 1 / -1;
  width: calc((100% - 8px) / 2);
  justify-self: center;
}

.farouq-branch__number {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(227, 30, 36, 0.25);
  border-radius: 10px;
  color: #ff777b;
  background: rgba(227, 30, 36, 0.11);
  direction: ltr;
  font-size: 0.66rem;
  font-weight: 900;
}

.farouq-auth {
  margin-bottom: 18px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 30, 36, 0.09), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

.farouq-auth__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.farouq-auth__item {
  min-height: 76px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
}

.farouq-auth__item img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 42px;
  margin: 0 auto;
  object-fit: contain;
  filter: none !important;
}

.farouq-footer__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.farouq-footer__location {
  display: flex;
  align-items: center;
  gap: 12px;
}

.farouq-footer__location-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(227, 30, 36, 0.24);
  border-radius: 14px;
  color: #ff777b;
  background: rgba(227, 30, 36, 0.11);
}

.farouq-footer__location-icon svg {
  width: 23px;
  height: 23px;
}

.farouq-footer__location strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.farouq-footer__location p {
  margin: 0;
  color: #a9a9ad;
  font-size: 0.72rem;
  line-height: 1.7;
}

.farouq-footer__location--full {
  margin-bottom: 18px;
  padding: 20px 24px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.farouq-payments {
  text-align: left;
}

.farouq-payments--full {
  margin-bottom: 25px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.farouq-payments--full .farouq-payments__items {
  justify-content: center;
}

.farouq-payments__label {
  display: block;
  margin-bottom: 9px;
  color: #a9a9ad;
  font-size: 0.71rem;
  font-weight: 700;
}

.farouq-payments__items {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  direction: ltr;
}

.farouq-payment {
  width: 62px;
  height: 40px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: #ffffff;
}

.farouq-payment img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
}

.farouq-footer__bottom {
  width: calc(100% + 32px);
  margin-right: -16px;
  margin-left: -16px;
  padding: 17px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #8d8d92;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .farouq-footer__top,
  .farouq-footer__meta {
    grid-template-columns: 1fr;
  }

  .farouq-auth__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .farouq-branches__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .farouq-payments {
    text-align: right;
  }

  .farouq-payments__items {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .farouq-logo-row {
    min-height: 74px !important;
  }

  header[data-testid="store-header"] .farouq-logo-link,
  .store-header .farouq-logo-link {
    min-width: 58px !important;
  }

  header[data-testid="store-header"] img.farouq-store-logo,
  .store-header img.farouq-store-logo {
    max-width: 72px !important;
    max-height: 62px !important;
  }

  body.index .farouq-single-product {
    margin-top: 12px !important;
    padding: 20px 0 24px !important;
  }

  body.index .farouq-single-product > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 8px !important;
  }

  body.index .farouq-single-product .s-products-slider-card,
  body.index .farouq-single-product .swiper-slide,
  body.index .farouq-single-product custom-salla-product-card,
  body.index .farouq-single-product .s-product-card-entry {
    width: 100% !important;
    max-width: 100% !important;
  }

  .farouq-trust-section {
    width: calc(100% - 16px);
    margin-top: 22px;
    margin-bottom: 12px;
    padding: 22px 14px;
    border-radius: 22px;
  }

  .farouq-trust-section p {
    font-size: 0.86rem;
  }

  .farouq-free-warranty-button {
    width: calc(100% - 24px);
    margin-bottom: 10px;
  }

  .farouq-footer__inner {
    width: calc(100% - 16px);
    padding-top: 26px;
  }

  .farouq-footer__top,
  .farouq-footer__meta {
    gap: 12px;
  }

  .farouq-footer__brand,
  .farouq-branches,
  .farouq-auth {
    padding: 14px;
    border-radius: 18px;
  }

  .farouq-company-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .farouq-company-box--ar,
  .farouq-company-box--en {
    align-items: center;
    text-align: center;
  }

  .farouq-company-box {
    min-width: 0;
    min-height: 76px;
    padding: 10px 6px;
    border-radius: 15px;
  }

  .farouq-company-box h2 {
    margin-bottom: 0;
    font-size: clamp(0.68rem, 3.2vw, 0.82rem);
    line-height: 1.55;
  }

  .farouq-company-box--en h2 {
    font-size: clamp(0.57rem, 2.7vw, 0.7rem);
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .farouq-legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .farouq-legal-card {
    min-width: 0;
    min-height: 96px;
    padding: 9px 5px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    border-radius: 15px;
  }

  .farouq-legal-card__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 11px;
  }

  .farouq-legal-card__label {
    font-size: 0.61rem;
  }

  .farouq-legal-card__number {
    font-size: clamp(0.5rem, 2.45vw, 0.65rem);
    white-space: nowrap;
    letter-spacing: 0;
  }

  .farouq-branches__head {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .farouq-branches__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .farouq-branch {
    min-height: 76px;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    font-size: 0.67rem;
    line-height: 1.5;
  }

  .farouq-branch:last-child {
    width: calc((100% - 7px) / 2);
  }

  .farouq-branch__number {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: 0.62rem;
  }

  .farouq-payment {
    width: 100%;
    max-width: none;
    height: 38px;
  }

  .farouq-payments,
  .farouq-payments__label {
    text-align: center;
  }

  .farouq-payments__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .farouq-auth__item {
    min-width: 0;
    min-height: 68px;
    padding: 7px;
    border-radius: 14px;
  }

  .farouq-auth__item img {
    height: 36px;
  }

  .farouq-footer__bottom {
    width: calc(100% + 16px);
    margin-right: -8px;
    margin-left: -8px;
    padding: 15px 8px;
    font-size: 0.66rem;
  }

  .farouq-footer__location {
    flex-direction: column;
    text-align: center;
  }

  .farouq-footer__location--full,
  .farouq-payments--full {
    padding: 15px 12px;
    border-radius: 17px;
  }

  .farouq-footer__location p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  .farouq-branches,
  .farouq-auth {
    padding: 14px;
  }

  .farouq-branch {
    min-height: 82px;
    font-size: 0.62rem;
  }

  .farouq-payments__items {
    gap: 4px;
  }

  .farouq-payment {
    width: 100%;
    max-width: none;
    padding: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .farouq-footer *,
  .farouq-single-product *,
  .farouq-trust-section * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}