/* =====================================================
   SITE FOOTER — Beauty Store
===================================================== */

:root {
  --br-1: 4px;
  --br-2: 8px;
  --br-3: 12px;
  --br-4: 16px;
  --br-round: 9999px;
  --fs-2: 0.694rem;
  --fs-2-5: 0.722rem;
  --fs-3: 0.833rem;
  --fs-4: 1rem;
  --fs-5: 1.2rem;

  --f-dark-1: #1c1c21;
  --f-dark-2: #26262c;
  --f-dark-3: #2d2d33;
  --f-dark-4: #3b3b40;
  --f-text-1: #f8f4f7;
  --f-text-2: #b8aeba;
  --f-text-3: #8a8089;
  --f-brand: #b32a65;
  --f-brand-light: #e879a8;
  --f-border: rgba(255, 255, 255, 0.08);
  --f-border-2: rgba(255, 255, 255, 0.14);
}

/* ═══════════════════════════════════════════════════════
   WRAPPER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--f-dark-1);
  color: var(--f-text-2);
  font-family: inherit;
  position: relative;
}

.site-footer a { text-decoration: none; color: inherit; }

.footer-inner {
  width: min(1220px, 94%);
  margin: 0 auto;
  padding: 0 15px;
}

/* ═══════════════════════════════════════════════════════
   BRANDS STRIP (نوار برندها بالای فوتر)
═══════════════════════════════════════════════════════ */
.footer-brands-strip {
  border-bottom: 1px solid var(--f-border);
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.15);
}

.footer-brands-swiper {
  overflow: hidden;
  padding: 4px 0;
}

.footer-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 10px;
  opacity: .55;
  transition: opacity .3s ease;
  filter: grayscale(1) brightness(1.8);
}

.footer-brand-item:hover {
  opacity: 1;
  filter: none;
}

.footer-brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-brand-text {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   MAIN GRID
═══════════════════════════════════════════════════════ */
.footer-main {
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--f-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

/* ═══════════════════════════════════════════════════════
   COLUMN
═══════════════════════════════════════════════════════ */
.footer-col { min-width: 0; }

.footer-title {
  margin: 0 0 20px;
  font-size: var(--fs-4);
  font-weight: 800;
  color: var(--f-text-1);
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--f-brand);
  border-radius: 2px;
}

/* ───── ستون درباره ───── */
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 18px;
  line-height: 1;
}

.footer-logo-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--f-brand-light);
  letter-spacing: -.5px;
}

.footer-logo-sub {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--f-text-3);
  margin-top: 5px;
}

.footer-desc {
  font-size: var(--fs-3);
  line-height: 1.9;
  color: var(--f-text-2);
  margin: 0 0 22px;
  max-width: 32em;
}

/* شبکه‌های اجتماعی */
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--f-dark-3);
  border-radius: 12px;
  color: var(--f-text-2);
  transition: 0.25s ease;
}

.social-link:hover {
  background: var(--f-brand);
  color: #fff;
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ───── لینک‌ها ───── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: var(--fs-3);
  color: var(--f-text-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease, transform .2s ease;
  position: relative;
  padding-right: 0;
}

.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--f-text-3);
  display: inline-block;
  transition: background .2s ease;
  flex-shrink: 0;
  opacity: 0;
  margin-left: -10px;
}

.footer-links a:hover {
  color: var(--f-brand-light);
  transform: translateX(-4px);
}

.footer-links a:hover::before {
  background: var(--f-brand-light);
  opacity: 1;
  margin-left: 0;
}

/* ───── تماس ───── */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--f-dark-3);
  border-radius: 10px;
  color: var(--f-brand-light);
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-label {
  font-size: var(--fs-2-5);
  color: var(--f-text-3);
  margin-bottom: 3px;
  font-weight: 600;
}

.footer-contact-value {
  font-size: var(--fs-3);
  color: var(--f-text-1);
  font-weight: 600;
  transition: color .2s ease;
  display: block;
}

a.footer-contact-value:hover {
  color: var(--f-brand-light);
}

.footer-hours {
  padding: 12px 14px;
  background: rgba(179, 42, 101, 0.12);
  border: 1px solid rgba(179, 42, 101, 0.25);
  border-radius: 10px;
  font-size: var(--fs-2-5);
  color: var(--f-brand-light);
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   BOTTOM BAR
═══════════════════════════════════════════════════════ */
.footer-bottom {
  padding: 22px 0;
  background: rgba(0, 0, 0, 0.25);
}

.footer-bottom .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* نمادها */
.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--f-dark-3);
  border: 1px solid var(--f-border);
  border-radius: 10px;
  transition: 0.25s ease;
}

.footer-badge:hover {
  background: var(--f-dark-4);
  border-color: var(--f-border-2);
}

.badge-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--f-brand-light);
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge-text strong {
  font-size: var(--fs-2-5);
  color: var(--f-text-1);
  font-weight: 700;
}

.badge-text small {
  font-size: var(--fs-2);
  color: var(--f-text-3);
  font-weight: 500;
}

/* کپی‌رایت */
.footer-copy {
  font-size: var(--fs-3);
  color: var(--f-text-3);
  font-weight: 400;
}

.footer-copy strong {
  color: var(--f-brand-light);
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

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

  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-brands-strip {
    padding: 18px 0;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main {
    padding: 32px 0 24px;
  }

  .footer-title {
    margin-bottom: 14px;
  }

  .footer-desc {
    font-size: .82rem;
  }

  .footer-bottom .footer-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .footer-badges {
    justify-content: center;
  }

  .footer-copy {
    padding-top: 12px;
    border-top: 1px solid var(--f-border);
    font-size: .78rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .footer-brand-item {
    height: 44px;
  }
}