/* ===================================================================
   DOREL FOOTER — scoped under .dorel-footer so nothing here leaks
   into other theme/plugin styles, and nothing from the theme leaks in.
   =================================================================== */

.dorel-footer, .dorel-footer * {
  box-sizing: border-box;
}

.dorel-footer {
  --df-cream:      #F5F1E8;
  --df-cream-dim:  #EAE4D6;
  --df-forest:     #1B2620;
  --df-forest-2:   #223229;
  --df-green:      #7CB342;
  --df-green-dark: #587f2c;
  --df-brown:      #6B4226;
  --df-ink:        #2B2620;
  --df-ink-soft:   rgba(43,38,32,0.68);
  --df-light-soft: rgba(245,241,232,0.68);
  --df-line:       rgba(43,38,32,0.12);
  --df-line-dark:  rgba(245,241,232,0.14);

  font-family: 'Heebo', Arial, sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--df-ink);
  background: var(--df-cream);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  position: relative;
}

.dorel-footer a {
  color: var(--df-green);
  text-decoration: none;
}

.dorel-footer h3.df-heading,
.dorel-footer h4.df-heading {
  font-family: 'Suez One', 'Heebo', serif;
  font-weight: 400;
  margin: 0 0 18px;
  letter-spacing: 0.2px;
}

.dorel-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.df-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.df-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  text-align: center;
  justify-items: center;
}

.df-brand-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dorel-footer .df-logo-img {
  display: block;
  height: 92px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto 16px;
}

.df-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Future-proof social icon: add another anchor with class df-social-icon,
   wrapping an inline SVG. No layout changes needed. */
.df-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--df-cream-dim);
  color: var(--df-brown);
  font-size: 16px;
  border: 1px solid var(--df-line);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.df-social-icon:hover {
  background: var(--df-green);
  color: #fff;
  transform: translateY(-2px);
}

.df-col-title {
  font-size: 18px;
  color: var(--df-brown);
}

.df-col ul li {
  margin-bottom: 11px;
}

.df-col ul li a {
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.df-col ul li a:hover {
  color: var(--df-green-dark);
}

.df-contact li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--df-ink-soft);
}

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

.df-contact li svg {
  color: var(--df-green);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.df-contact a {
  direction: ltr;
  unicode-bidi: plaintext;
}

.df-contact a:hover { color: var(--df-green-dark); }

.df-a11y-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.df-a11y-link svg {
  color: var(--df-green);
  width: 16px;
  height: 16px;
}

.df-bottom {
  background: var(--df-forest);
  color: var(--df-light-soft);
}

.df-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 20px 0;
}

.df-copyright {
  font-size: 13px;
  color: var(--df-light-soft);
}

.df-copyright strong { color: var(--df-cream); font-weight: 500; }

.df-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.df-secure-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.df-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--df-light-soft);
  border: 1px solid var(--df-line-dark);
  border-radius: 20px;
  padding: 6px 12px;
  white-space: nowrap;
}

.df-secure-badge svg {
  color: var(--df-green);
  width: 14px;
  height: 14px;
}

/* Future-proof payment icons: add/remove elements with class df-pay-icon
   entries freely; flex-wrap handles any count gracefully. */
.df-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.df-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 5px;
  height: 26px;
  padding: 0 8px;
  color: #445;
}

.df-pay-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--df-green);
  border-radius: 5px;
  height: 26px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 700;
  color: var(--df-green);
  letter-spacing: 0.2px;
}

.df-pay-text svg {
  width: 18px;
  height: 12px;
  flex-shrink: 0;
  color: var(--df-green);
}

@media (max-width: 860px) {
  .df-columns {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .dorel-footer .df-logo-img { height: 84px !important; }
  .df-columns {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 0 40px;
  }
  .df-col ul li a { font-size: 15px; }
}

@media (max-width: 440px) {
  .df-inner { padding: 0 16px; }
  .df-columns { padding: 36px 0 32px; }
  .dorel-footer .df-logo-img { height: 68px !important; margin-bottom: 14px; }
  .df-social-icon { width: 38px; height: 38px; }
  .df-col-title { font-size: 16.5px; }
  .df-secure-badge { font-size: 11.5px; padding: 5px 10px; }
  .df-pay-icon, .df-pay-text { height: 23px; }
  .df-pay-text { font-size: 10px; padding: 0 7px; }
  .df-trust { gap: 10px; }
  .df-payments { gap: 6px; }
  .df-copyright { font-size: 12px; }
}
