.rex-footer-host{
  margin:0!important;
  padding:0!important;
  max-width:none!important;
}
.rex-footer-host>.wp-block-shortcode{margin:0!important}
.rex-site-footer{
  --rf-void:#02070b;
  --rf-deep:#03171e;
  --rf-petrol:#082b38;
  --rf-aqua:#1a899b;
  --rf-gold:#ae8e5b;
  --rf-gold-light:#d2b278;
  --rf-gold-hi:#efd79d;
  --rf-white:#ededd6;
  --rf-muted:#a9b4b6;
  position:relative;
  isolation:isolate;
  margin-top:clamp(72px,8vw,132px);
  background:
    radial-gradient(circle at 50% -12%,rgba(26,137,155,.14),transparent 34%),
    linear-gradient(180deg,rgba(3,23,30,.9),#02070b 64%);
  border-top:1px solid rgba(210,178,120,.2);
  color:var(--rf-white);
  overflow:hidden;
}
.rex-site-footer::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset-inline:0;
  top:-170px;
  height:170px;
  background:linear-gradient(to bottom,transparent,var(--rf-void));
  pointer-events:none;
}
.rex-site-footer__atmosphere{
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 85%,rgba(19,75,93,.12),transparent 24%),
    radial-gradient(circle at 92% 68%,rgba(105,78,42,.1),transparent 25%);
  opacity:.85;
}
.rex-site-footer__container{
  width:min(100% - 64px,1440px);
  margin-inline:auto;
}
.rex-site-footer__desktop{display:block}
.rex-site-footer__mobile{display:none}
.rex-site-footer__main-grid{
  display:grid;
  grid-template-columns:minmax(230px,1.2fr) minmax(125px,.68fr) minmax(130px,.68fr) minmax(140px,.7fr) minmax(280px,1.28fr);
  gap:clamp(24px,3.6vw,64px);
  align-items:start;
  padding-block:clamp(64px,6vw,92px);
}
.rex-site-footer__brand{min-width:0}
.rex-site-footer__logo-link{display:inline-flex;max-width:100%;text-decoration:none}
.rex-site-footer__logo{display:block;width:auto;max-width:210px;max-height:82px;object-fit:contain}
.rex-site-footer__brand-text{display:inline-block;color:var(--rf-white);font-size:28px;font-weight:800}
.rex-site-footer__tagline{max-width:300px;margin:20px 0 0;color:rgba(237,237,214,.72);font-size:14px;line-height:1.95}
.rex-site-footer__micro{display:block;margin-top:8px;color:rgba(169,180,182,.58);font-size:11px;letter-spacing:.02em;direction:ltr;text-align:right}
.rex-site-footer__socials{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.rex-site-footer__socials a{
  width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(210,178,120,.25);border-radius:50%;
  color:var(--rf-white);background:rgba(3,20,27,.24);transition:border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease
}
.rex-site-footer__socials svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rex-site-footer__socials a:hover{border-color:rgba(210,178,120,.65);color:var(--rf-gold-light);transform:translateY(-2px);box-shadow:0 6px 20px rgba(174,142,91,.08)}
.rex-site-footer__trust-badge{width:max-content;max-width:100%;align-items:center}
.rex-site-footer__trust-badge--desktop{display:flex;margin-top:20px}
.rex-site-footer__trust-image{display:block;width:auto;max-width:120px;max-height:72px;object-fit:contain}
a.rex-site-footer__trust-badge{transition:transform .18s ease,opacity .18s ease}
a.rex-site-footer__trust-badge:hover{transform:translateY(-1px);opacity:.92}
.rex-site-footer__group h3{margin:4px 0 9px;color:var(--rf-white);font-size:16px;line-height:1.45}
.rex-site-footer__group-line{display:block;width:32px;height:1px;margin-bottom:21px;background:linear-gradient(90deg,rgba(210,178,120,.1),var(--rf-gold-light))}
.rex-site-footer__links{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.rex-site-footer__links li{margin:0;padding:0}
.rex-site-footer__links a{
  position:relative;display:inline-block;color:rgba(237,237,214,.7);font-size:14px;line-height:1.65;text-decoration:none;
  transition:color .18s ease,transform .18s ease
}
.rex-site-footer__links a::after{
  content:"";position:absolute;inset-inline-start:0;bottom:-3px;width:0;height:1px;background:linear-gradient(90deg,transparent,var(--rf-gold-light));
  transition:width .2s ease
}
.rex-site-footer__links a:hover{color:var(--rf-gold-light);transform:translateX(2px)}
.rex-site-footer__links a:hover::after{width:100%}
.rex-site-footer__club{
  min-height:228px;padding:26px 26px 24px;border:1px solid rgba(210,178,120,.43);border-radius:16px;
  background:linear-gradient(145deg,rgba(8,43,56,.42),rgba(2,7,11,.72));
  box-shadow:inset 0 1px 0 rgba(239,215,157,.06),0 18px 45px rgba(0,0,0,.16)
}
.rex-site-footer__club-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(210,178,120,.3);border-radius:13px;color:var(--rf-gold-light);background:rgba(210,178,120,.05)}
.rex-site-footer__club-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.rex-site-footer__club-copy{margin-top:17px}
.rex-site-footer__club-copy>span{display:block;color:rgba(210,178,120,.68);font-size:9px;font-family:Georgia,serif;letter-spacing:.14em;direction:ltr;text-align:right}
.rex-site-footer__club-copy h3{margin:3px 0 0;color:var(--rf-gold-hi);font-family:Georgia,serif;font-size:clamp(22px,2vw,30px);letter-spacing:.05em;direction:ltr;text-align:right}
.rex-site-footer__club-copy p{margin:10px 0 0;color:rgba(237,237,214,.67);font-size:13px;line-height:1.85}
.rex-site-footer__club-cta{
  min-height:48px;margin-top:19px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--rf-gold);
  border-radius:999px;color:var(--rf-white);text-decoration:none;font-size:13px;font-weight:700;transition:background .18s ease,border-color .18s ease,transform .18s ease
}
.rex-site-footer__club-cta svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.rex-site-footer__club-cta:hover{background:rgba(174,142,91,.1);border-color:var(--rf-gold-light);transform:translateY(-1px)}
.rex-site-footer__bottom{border-top:1px solid rgba(237,237,214,.09)}
.rex-site-footer__bottom-inner{
  min-height:78px;padding-block:23px;display:flex;align-items:center;justify-content:space-between;gap:28px
}
.rex-site-footer__utility{display:flex;flex-wrap:wrap;align-items:center;gap:0}
.rex-site-footer__utility a{color:rgba(169,180,182,.78);font-size:12px;text-decoration:none;transition:color .18s ease}
.rex-site-footer__utility a:hover{color:var(--rf-gold-light)}
.rex-site-footer__utility a+a::before{content:"•";margin-inline:10px;color:rgba(210,178,120,.36)}
.rex-site-footer__copyright{margin:0;color:rgba(169,180,182,.66);font-size:12px;direction:ltr}

@media(max-width:1279px) and (min-width:1024px){
  .rex-site-footer__container{width:min(100% - 48px,1440px)}
  .rex-site-footer__main-grid{grid-template-columns:minmax(205px,1.05fr) repeat(3,minmax(112px,.62fr)) minmax(250px,1.15fr);gap:22px}
  .rex-site-footer__logo{max-width:185px}
  .rex-site-footer__club{padding-inline:20px}
}
@media(max-width:1023px){
  .rex-site-footer{margin-top:72px}
  .rex-site-footer__desktop{display:none}
  .rex-site-footer__mobile{display:block}
  .rex-site-footer__container{width:min(100% - 40px,720px)}
  .rex-site-footer__mobile-inner{padding-top:56px;padding-bottom:31px}
  .rex-site-footer__brand--mobile{text-align:center}
  .rex-site-footer__brand--mobile .rex-site-footer__logo-link{display:flex;justify-content:center;margin-inline:auto}
  .rex-site-footer__brand--mobile .rex-site-footer__logo{max-width:180px;max-height:75px}
  .rex-site-footer__brand--mobile .rex-site-footer__tagline{margin:17px auto 0;max-width:330px;font-size:14px;line-height:1.9}
  .rex-site-footer__brand--mobile .rex-site-footer__socials{justify-content:center;margin-top:19px}
  .rex-site-footer__trust-badge--mobile{display:flex;justify-content:center;margin:20px auto 24px;min-width:48px;min-height:48px}
  .rex-site-footer__trust-badge--mobile .rex-site-footer__trust-image{max-width:105px;max-height:68px}
  .rex-site-footer__accordions{display:grid;gap:10px;margin-top:26px}
  .rex-site-footer__accordion{border:1px solid rgba(237,237,214,.14);border-radius:14px;background:rgba(3,20,27,.28);overflow:hidden}
  .rex-site-footer__accordion.is-open{border-color:rgba(210,178,120,.4);background:rgba(8,43,56,.34)}
  .rex-site-footer__accordion-button{
    all:unset;box-sizing:border-box;width:100%;min-height:64px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;color:var(--rf-white)
  }
  .rex-site-footer__accordion-title{display:flex;align-items:center;gap:11px}
  .rex-site-footer__accordion-title i{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(210,178,120,.17);border-radius:11px;color:var(--rf-gold-light)}
  .rex-site-footer__accordion-title svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
  .rex-site-footer__accordion-title b{font-size:14px}
  .rex-site-footer__accordion-chevron{display:grid;place-items:center;color:rgba(210,178,120,.68);transition:transform .18s ease}
  .rex-site-footer__accordion-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
  .rex-site-footer__accordion.is-open .rex-site-footer__accordion-chevron{transform:rotate(180deg)}
  .rex-site-footer__accordion-panel{padding:0 18px 16px}
  .rex-site-footer__links--mobile{gap:0;border-top:1px solid rgba(237,237,214,.07)}
  .rex-site-footer__links--mobile li+li{border-top:1px solid rgba(237,237,214,.055)}
  .rex-site-footer__links--mobile a{width:100%;min-height:44px;display:flex;align-items:center;font-size:13px}
  .rex-site-footer__club--mobile{min-height:118px;margin-top:18px;padding:19px;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:12px;align-items:start}
  .rex-site-footer__club--mobile .rex-site-footer__club-copy{margin:0}
  .rex-site-footer__club--mobile .rex-site-footer__club-copy h3{font-size:22px}
  .rex-site-footer__club--mobile .rex-site-footer__club-copy p{font-size:12px}
  .rex-site-footer__club--mobile .rex-site-footer__club-cta{grid-column:1/-1;margin-top:15px}
  .rex-site-footer__bottom-inner{min-height:0;padding:21px 0 calc(28px + env(safe-area-inset-bottom));display:grid;justify-items:center;gap:11px;text-align:center}
  .rex-site-footer__utility{justify-content:center}
  .rex-site-footer__copyright{font-size:12px;text-align:center}
}
@media(max-width:420px){
  .rex-site-footer__container{width:min(100% - 32px,720px)}
  .rex-site-footer__mobile-inner{padding-top:50px}
}
@media(prefers-reduced-motion:reduce){
  .rex-site-footer *, .rex-site-footer *::before, .rex-site-footer *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* =========================================================
   REX Theme 3.9.44 — Compact footer + mobile text repair
   ========================================================= */

/* Never allow the template-part/block wrapper to stretch the footer. */
.rex-footer-host,
.rex-footer-host > .wp-block-shortcode,
.wp-block-template-part:has(.rex-footer-host),
footer.wp-block-template-part:has(.rex-footer-host),
.rex-site-footer,
.rex-site-footer__desktop,
.rex-site-footer__mobile{
  min-height:0!important;
  height:auto!important;
}

/* ---------- Desktop: remove artificial empty vertical area ---------- */
@media (min-width:1024px){
  .rex-site-footer{
    margin-top:clamp(42px,5vw,72px)!important;
  }

  .rex-site-footer__main-grid{
    padding-top:42px!important;
    padding-bottom:34px!important;
    gap:clamp(22px,3vw,48px)!important;
    align-items:start!important;
    min-height:0!important;
    height:auto!important;
  }

  .rex-site-footer__brand{
    align-self:start!important;
  }

  .rex-site-footer__logo{
    max-width:188px!important;
    max-height:68px!important;
  }

  .rex-site-footer__tagline{
    margin-top:14px!important;
    font-size:13px!important;
    line-height:1.8!important;
  }

  .rex-site-footer__micro{
    margin-top:5px!important;
    font-size:10px!important;
  }

  .rex-site-footer__socials{
    margin-top:16px!important;
    gap:8px!important;
  }

  .rex-site-footer__socials a{
    width:36px!important;
    height:36px!important;
  }

  .rex-site-footer__trust-badge--desktop{
    margin-top:14px!important;
  }

  .rex-site-footer__trust-image{
    max-width:108px!important;
    max-height:62px!important;
  }

  .rex-site-footer__group h3{
    margin-top:2px!important;
    margin-bottom:7px!important;
    font-size:15px!important;
  }

  .rex-site-footer__group-line{
    margin-bottom:15px!important;
  }

  .rex-site-footer__links{
    gap:10px!important;
  }

  .rex-site-footer__links a{
    font-size:13px!important;
    line-height:1.55!important;
  }

  .rex-site-footer__club{
    min-height:0!important;
    height:auto!important;
    padding:20px!important;
  }

  .rex-site-footer__club-icon{
    width:38px!important;
    height:38px!important;
  }

  .rex-site-footer__club-copy{
    margin-top:12px!important;
  }

  .rex-site-footer__club-copy h3{
    font-size:25px!important;
  }

  .rex-site-footer__club-copy p{
    margin-top:7px!important;
    font-size:12px!important;
    line-height:1.7!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }

  .rex-site-footer__club-cta{
    min-height:42px!important;
    margin-top:14px!important;
    font-size:12px!important;
  }

  .rex-site-footer__bottom-inner{
    min-height:56px!important;
    height:auto!important;
    padding-top:13px!important;
    padding-bottom:13px!important;
  }

  .rex-site-footer__utility a,
  .rex-site-footer__copyright{
    font-size:11px!important;
  }
}

/* ---------- Mobile / tablet text repair + tighter rhythm ---------- */
@media (max-width:1023px){
  .rex-site-footer{
    margin-top:48px!important;
  }

  .rex-site-footer__mobile,
  .rex-site-footer__mobile *{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }

  .rex-site-footer__mobile{
    direction:rtl!important;
    text-align:right;
  }

  .rex-site-footer__mobile-inner{
    padding-top:36px!important;
    padding-bottom:20px!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__logo{
    max-width:165px!important;
    max-height:66px!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__tagline{
    width:min(100%,330px)!important;
    max-width:330px!important;
    margin:13px auto 0!important;
    padding-inline:4px!important;
    font-size:13px!important;
    line-height:1.85!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    text-align:center!important;
    direction:rtl!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__socials{
    margin-top:15px!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__socials a{
    width:38px!important;
    height:38px!important;
  }

  .rex-site-footer__trust-badge--mobile{
    margin-top:15px!important;
    margin-bottom:18px!important;
    min-height:0!important;
  }

  .rex-site-footer__accordions{
    width:100%!important;
    margin-top:18px!important;
    gap:9px!important;
  }

  .rex-site-footer__accordion,
  .rex-site-footer__accordion-button,
  .rex-site-footer__accordion-title,
  .rex-site-footer__accordion-title b,
  .rex-site-footer__accordion-panel,
  .rex-site-footer__links--mobile,
  .rex-site-footer__links--mobile li,
  .rex-site-footer__links--mobile a{
    min-width:0!important;
    max-width:100%!important;
  }

  .rex-site-footer__accordion-button{
    min-height:58px!important;
    padding:0 14px!important;
    flex-wrap:nowrap!important;
  }

  .rex-site-footer__accordion-title{
    flex:1 1 auto!important;
    min-width:0!important;
  }

  .rex-site-footer__accordion-title i{
    width:32px!important;
    height:32px!important;
    flex:0 0 32px!important;
  }

  .rex-site-footer__accordion-title b{
    display:block!important;
    width:auto!important;
    font-size:13px!important;
    line-height:1.6!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    direction:rtl!important;
    text-align:right!important;
  }

  .rex-site-footer__accordion-chevron{
    flex:0 0 20px!important;
  }

  .rex-site-footer__accordion-panel{
    padding:0 16px 12px!important;
  }

  .rex-site-footer__links--mobile a{
    min-height:40px!important;
    padding-block:6px!important;
    font-size:12.5px!important;
    line-height:1.7!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    direction:rtl!important;
    text-align:right!important;
  }

  /* Keep the club card horizontal and readable instead of squeezing words. */
  .rex-site-footer__club--mobile{
    min-height:0!important;
    height:auto!important;
    margin-top:14px!important;
    padding:16px!important;
    grid-template-columns:38px minmax(0,1fr) auto!important;
    column-gap:10px!important;
    row-gap:8px!important;
    align-items:center!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-icon{
    width:38px!important;
    height:38px!important;
    grid-column:1!important;
    grid-row:1 / span 2!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-copy{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    min-width:0!important;
    margin:0!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-copy>span{
    font-size:8px!important;
    white-space:nowrap!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-copy h3{
    margin-top:1px!important;
    font-size:18px!important;
    line-height:1.35!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-copy p{
    margin-top:3px!important;
    font-size:11px!important;
    line-height:1.65!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    direction:rtl!important;
    text-align:right!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-cta{
    grid-column:3!important;
    grid-row:1 / span 2!important;
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0!important;
    justify-content:center!important;
    border-radius:16px!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-cta span{
    display:none!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-cta svg{
    width:19px!important;
    height:19px!important;
  }

  .rex-site-footer__bottom-inner{
    padding-top:16px!important;
    padding-bottom:calc(20px + env(safe-area-inset-bottom))!important;
    gap:9px!important;
  }

  .rex-site-footer__utility{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:0!important;
    width:100%!important;
  }

  .rex-site-footer__utility a{
    display:inline-block!important;
    width:auto!important;
    max-width:100%!important;
    font-size:11.5px!important;
    line-height:1.65!important;
    white-space:nowrap!important;
    word-break:normal!important;
    direction:rtl!important;
  }

  .rex-site-footer__copyright{
    width:100%!important;
    margin:0!important;
    font-size:11px!important;
    line-height:1.6!important;
    white-space:normal!important;
    direction:ltr!important;
    text-align:center!important;
  }
}

@media(max-width:420px){
  .rex-site-footer__container{
    width:min(100% - 28px,720px)!important;
  }

  .rex-site-footer__mobile-inner{
    padding-top:32px!important;
  }

  .rex-site-footer__club--mobile{
    grid-template-columns:36px minmax(0,1fr) 44px!important;
    padding:14px!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-copy h3{
    font-size:16px!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-copy p{
    font-size:10.5px!important;
  }

  .rex-site-footer__club--mobile .rex-site-footer__club-cta{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
  }

  .rex-site-footer__utility a{
    font-size:11px!important;
  }
}


/* =========================================================
   REX 3.9.46 — Footer density revision
   ========================================================= */

/* Desktop footer must hug its content instead of filling a tall visual zone. */
@media (min-width:1024px){
  .rex-footer-host,
  .rex-footer-host > .wp-block-shortcode,
  .wp-block-template-part .rex-footer-host,
  .rex-site-footer,
  .rex-site-footer__desktop{
    display:block!important;
    height:max-content!important;
    min-height:0!important;
    max-height:none!important;
  }

  .rex-site-footer{
    margin-top:36px!important;
  }

  .rex-site-footer__main-grid{
    height:max-content!important;
    min-height:0!important;
    grid-auto-rows:max-content!important;
    align-content:start!important;
    align-items:start!important;
    padding-top:26px!important;
    padding-bottom:22px!important;
  }

  .rex-site-footer__club{
    min-height:0!important;
    height:auto!important;
    padding:17px 18px!important;
  }

  .rex-site-footer__club-icon{
    width:34px!important;
    height:34px!important;
  }

  .rex-site-footer__club-icon svg{
    width:18px!important;
    height:18px!important;
  }

  .rex-site-footer__club-copy{
    margin-top:9px!important;
  }

  .rex-site-footer__club-copy>span{
    font-size:8px!important;
  }

  .rex-site-footer__club-copy h3{
    margin-top:1px!important;
    font-size:22px!important;
    line-height:1.25!important;
  }

  .rex-site-footer__club-copy p{
    margin-top:5px!important;
    font-size:11px!important;
    line-height:1.6!important;
    -webkit-line-clamp:2!important;
  }

  .rex-site-footer__club-cta{
    min-height:38px!important;
    margin-top:11px!important;
    padding-inline:14px!important;
    font-size:11px!important;
  }

  .rex-site-footer__bottom{
    margin:0!important;
  }

  .rex-site-footer__bottom-inner{
    min-height:46px!important;
    height:auto!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
  }

  .rex-site-footer__group-line{
    margin-bottom:12px!important;
  }

  .rex-site-footer__links{
    gap:8px!important;
  }
}

/* Mobile: club is now a normal accordion. Kill any leftover promo-card styling. */
@media (max-width:1023px){
  .rex-site-footer__club--mobile{
    display:none!important;
  }

  .rex-site-footer__accordions{
    margin-bottom:0!important;
  }

  .rex-site-footer__accordion[data-rex-footer-accordion]:last-child{
    margin-bottom:0!important;
  }

  /* Crown accordion uses the exact same visual language as the other groups. */
  .rex-site-footer__accordion-title i{
    background:rgba(210,178,120,.025)!important;
  }

  .rex-site-footer__accordion.is-open .rex-site-footer__accordion-title i{
    background:rgba(210,178,120,.06)!important;
    border-color:rgba(210,178,120,.34)!important;
  }
}


/* =========================================================
   REX Theme 3.9.48 — Fixed footer logo slot
   Uploading/changing the logo must never move the footer grid.
   ========================================================= */
@media (min-width:1024px){
  /* Keep the brand column geometry independent of image intrinsic size. */
  .rex-site-footer__brand{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
  }

  .rex-site-footer__logo-link{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:260px!important;
    max-width:100%!important;
    height:90px!important;
    min-height:90px!important;
    overflow:hidden!important;
    flex:0 0 auto!important;
  }

  .rex-site-footer__logo{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:right center!important;
    margin:0!important;
  }

  /* Prevent any uploaded logo from changing column sizing. */
  .rex-site-footer__main-grid{
    grid-template-columns:
      minmax(260px,1.15fr)
      minmax(125px,.66fr)
      minmax(130px,.66fr)
      minmax(140px,.68fr)
      minmax(270px,1.18fr)!important;
  }
}

@media (max-width:1279px) and (min-width:1024px){
  .rex-site-footer__logo-link{
    width:230px!important;
    height:82px!important;
    min-height:82px!important;
  }
}

@media (max-width:1023px){
  .rex-site-footer__brand--mobile .rex-site-footer__logo-link{
    width:210px!important;
    max-width:78vw!important;
    height:76px!important;
    min-height:76px!important;
    margin-inline:auto!important;
    overflow:hidden!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0!important;
  }
}


/* =========================================================
   REX Theme 3.9.49 — Square footer logo slot
   ========================================================= */
@media (min-width:1280px){
  .rex-site-footer__logo-link{
    width:120px!important;
    height:120px!important;
    min-width:120px!important;
    min-height:120px!important;
    aspect-ratio:1 / 1!important;
    justify-content:center!important;
  }

  .rex-site-footer__logo{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media (max-width:1279px) and (min-width:1024px){
  .rex-site-footer__logo-link{
    width:110px!important;
    height:110px!important;
    min-width:110px!important;
    min-height:110px!important;
    aspect-ratio:1 / 1!important;
    justify-content:center!important;
  }

  .rex-site-footer__logo{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media (max-width:1023px){
  .rex-site-footer__brand--mobile .rex-site-footer__logo-link{
    width:100px!important;
    height:100px!important;
    min-width:100px!important;
    min-height:100px!important;
    max-width:none!important;
    aspect-ratio:1 / 1!important;
    justify-content:center!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__logo{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media (max-width:420px){
  .rex-site-footer__brand--mobile .rex-site-footer__logo-link{
    width:92px!important;
    height:92px!important;
    min-width:92px!important;
    min-height:92px!important;
  }
}


/* =========================================================
   REX Theme 3.9.50 — Larger square footer logo slot
   The slot is visibly larger but never changes the grid.
   ========================================================= */
@media (min-width:1280px){
  .rex-site-footer__brand{
    min-width:280px!important;
  }

  .rex-site-footer__logo-link{
    width:180px!important;
    height:180px!important;
    min-width:180px!important;
    min-height:180px!important;
    max-width:180px!important;
    max-height:180px!important;
    aspect-ratio:1 / 1!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    margin:0!important;
  }

  .rex-site-footer__logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .rex-site-footer__main-grid{
    grid-template-columns:
      minmax(280px,1.15fr)
      minmax(125px,.66fr)
      minmax(130px,.66fr)
      minmax(140px,.68fr)
      minmax(270px,1.18fr)!important;
  }
}

@media (max-width:1279px) and (min-width:1024px){
  .rex-site-footer__logo-link{
    width:160px!important;
    height:160px!important;
    min-width:160px!important;
    min-height:160px!important;
    max-width:160px!important;
    max-height:160px!important;
    aspect-ratio:1 / 1!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
  }

  .rex-site-footer__logo{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media (max-width:1023px){
  .rex-site-footer__brand--mobile .rex-site-footer__logo-link{
    width:132px!important;
    height:132px!important;
    min-width:132px!important;
    min-height:132px!important;
    max-width:132px!important;
    max-height:132px!important;
    aspect-ratio:1 / 1!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__logo{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media (max-width:420px){
  .rex-site-footer__brand--mobile .rex-site-footer__logo-link{
    width:120px!important;
    height:120px!important;
    min-width:120px!important;
    min-height:120px!important;
    max-width:120px!important;
    max-height:120px!important;
  }
}


/* =========================================================
   REX Theme 3.9.51 — Correct target: square TRUST BADGE slot
   Previous 3.9.48–3.9.50 patches targeted the brand wordmark.
   This override restores the brand logo and squares the site badge.
   ========================================================= */

/* Restore the regular REX wordmark/logo behavior. */
@media (min-width:1024px){
  .rex-site-footer__brand{
    min-width:0!important;
  }

  .rex-site-footer__logo-link{
    display:inline-flex!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    overflow:visible!important;
    margin:0!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }

  .rex-site-footer__logo{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:188px!important;
    max-height:68px!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .rex-site-footer__main-grid{
    grid-template-columns:
      minmax(230px,1.2fr)
      minmax(125px,.68fr)
      minmax(130px,.68fr)
      minmax(140px,.7fr)
      minmax(280px,1.28fr)!important;
  }

  /* The actual site-symbol / trust-badge slot is square. */
  .rex-site-footer__trust-badge--desktop{
    width:128px!important;
    height:128px!important;
    min-width:128px!important;
    min-height:128px!important;
    max-width:128px!important;
    max-height:128px!important;
    aspect-ratio:1 / 1!important;
    display:grid!important;
    place-items:center!important;
    margin-top:14px!important;
    overflow:hidden!important;
    flex:0 0 128px!important;
  }

  .rex-site-footer__trust-badge--desktop .rex-site-footer__trust-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media (max-width:1279px) and (min-width:1024px){
  .rex-site-footer__logo{
    max-width:175px!important;
    max-height:64px!important;
  }

  .rex-site-footer__trust-badge--desktop{
    width:116px!important;
    height:116px!important;
    min-width:116px!important;
    min-height:116px!important;
    max-width:116px!important;
    max-height:116px!important;
    flex-basis:116px!important;
  }
}

@media (max-width:1023px){
  .rex-site-footer__brand--mobile .rex-site-footer__logo-link{
    display:flex!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    overflow:visible!important;
    margin-inline:auto!important;
    justify-content:center!important;
  }

  .rex-site-footer__brand--mobile .rex-site-footer__logo{
    width:auto!important;
    height:auto!important;
    max-width:165px!important;
    max-height:66px!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .rex-site-footer__trust-badge--mobile{
    width:112px!important;
    height:112px!important;
    min-width:112px!important;
    min-height:112px!important;
    max-width:112px!important;
    max-height:112px!important;
    aspect-ratio:1 / 1!important;
    display:grid!important;
    place-items:center!important;
    margin:16px auto 18px!important;
    overflow:hidden!important;
  }

  .rex-site-footer__trust-badge--mobile .rex-site-footer__trust-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media (max-width:420px){
  .rex-site-footer__trust-badge--mobile{
    width:104px!important;
    height:104px!important;
    min-width:104px!important;
    min-height:104px!important;
    max-width:104px!important;
    max-height:104px!important;
  }
}


/* =========================================================
   REX Theme 3.9.52 — Desktop footer alignment reset
   Lock every desktop block to a named physical column.
   ========================================================= */
@media (min-width:1024px){
  .rex-site-footer__container.rex-site-footer__main-grid{
    width:min(1360px,calc(100vw - 80px))!important;
    max-width:1360px!important;
    margin-left:auto!important;
    margin-right:auto!important;

    display:grid!important;
    direction:ltr!important;
    grid-template-columns:
      280px
      150px
      150px
      150px
      300px!important;
    grid-template-areas:"club support rex shop brand"!important;
    justify-content:center!important;
    align-items:start!important;
    column-gap:44px!important;
    row-gap:0!important;

    padding:26px 0 22px!important;
    min-height:0!important;
    height:auto!important;
  }

  .rex-site-footer__main-grid > .rex-site-footer__brand{
    grid-area:brand!important;
    direction:rtl!important;
    text-align:right!important;
    width:300px!important;
    min-width:0!important;
    max-width:300px!important;
    justify-self:stretch!important;
  }

  .rex-site-footer__main-grid > nav.rex-site-footer__group:nth-of-type(1){
    grid-area:shop!important;
  }

  .rex-site-footer__main-grid > nav.rex-site-footer__group:nth-of-type(2){
    grid-area:rex!important;
  }

  .rex-site-footer__main-grid > nav.rex-site-footer__group:nth-of-type(3){
    grid-area:support!important;
  }

  .rex-site-footer__main-grid > nav.rex-site-footer__group{
    direction:rtl!important;
    text-align:right!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    justify-self:stretch!important;
  }

  .rex-site-footer__main-grid > .rex-site-footer__club{
    grid-area:club!important;
    direction:rtl!important;
    width:280px!important;
    min-width:280px!important;
    max-width:280px!important;
    justify-self:start!important;
    align-self:start!important;
  }

  /* Brand assets can never push or resize the grid. */
  .rex-site-footer__brand .rex-site-footer__logo-link{
    width:auto!important;
    max-width:220px!important;
    height:auto!important;
    min-height:0!important;
    margin-left:auto!important;
    margin-right:0!important;
    overflow:visible!important;
  }

  .rex-site-footer__brand .rex-site-footer__logo{
    width:auto!important;
    height:auto!important;
    max-width:190px!important;
    max-height:68px!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .rex-site-footer__brand .rex-site-footer__tagline{
    width:100%!important;
    max-width:300px!important;
    margin:13px 0 0!important;
  }

  .rex-site-footer__brand .rex-site-footer__micro{
    width:100%!important;
    max-width:300px!important;
  }

  .rex-site-footer__brand .rex-site-footer__socials{
    justify-content:flex-start!important;
  }

  .rex-site-footer__trust-badge--desktop{
    width:128px!important;
    height:128px!important;
    min-width:128px!important;
    min-height:128px!important;
    max-width:128px!important;
    max-height:128px!important;
    margin:14px 0 0 auto!important;
    justify-self:auto!important;
  }

  .rex-site-footer__trust-badge--desktop .rex-site-footer__trust-image{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
  }

  /* Keep the bottom row aligned with exactly the same centered width. */
  .rex-site-footer__bottom-inner{
    width:min(1360px,calc(100vw - 80px))!important;
    max-width:1360px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    display:grid!important;
    grid-template-columns:1fr auto 1fr!important;
    align-items:center!important;
    min-height:46px!important;
    padding:9px 0!important;
  }

  .rex-site-footer__utility{
    grid-column:3!important;
    justify-self:end!important;
    direction:rtl!important;
  }

  .rex-site-footer__copyright{
    grid-column:2!important;
    justify-self:center!important;
    margin:0!important;
  }
}

@media (max-width:1279px) and (min-width:1024px){
  .rex-site-footer__container.rex-site-footer__main-grid{
    width:min(1160px,calc(100vw - 48px))!important;
    max-width:1160px!important;
    grid-template-columns:250px 132px 132px 132px 250px!important;
    column-gap:34px!important;
  }

  .rex-site-footer__main-grid > .rex-site-footer__brand{
    width:250px!important;
    max-width:250px!important;
  }

  .rex-site-footer__main-grid > nav.rex-site-footer__group{
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
  }

  .rex-site-footer__main-grid > .rex-site-footer__club{
    width:250px!important;
    min-width:250px!important;
    max-width:250px!important;
  }

  .rex-site-footer__bottom-inner{
    width:min(1160px,calc(100vw - 48px))!important;
    max-width:1160px!important;
  }
}


/* =========================================================
   REX Theme 3.9.53 — Copyright block + rights line
   ========================================================= */
.rex-site-footer__copyright-block{
  display:grid;
  gap:3px;
  justify-items:center;
  text-align:center;
}

.rex-site-footer__rights{
  margin:0;
  color:rgba(169,180,182,.52);
  font-size:10px;
  line-height:1.65;
  direction:rtl;
  text-align:center;
}

@media (min-width:1024px){
  .rex-site-footer__copyright-block{
    grid-column:2!important;
    justify-self:center!important;
    max-width:520px;
  }

  .rex-site-footer__copyright{
    grid-column:auto!important;
    justify-self:auto!important;
  }
}

@media (max-width:1023px){
  .rex-site-footer__copyright-block{
    width:100%;
    max-width:560px;
    margin-inline:auto;
    gap:4px;
  }

  .rex-site-footer__rights{
    padding-inline:12px;
    font-size:10.5px;
  }
}


/* =========================================================
   REX Theme 3.9.54 — Desktop footer rights on one line
   ========================================================= */
@media (min-width:1024px){
  .rex-site-footer__copyright-block{
    width:max-content!important;
    max-width:none!important;
    justify-items:center!important;
  }

  .rex-site-footer__rights{
    width:max-content!important;
    max-width:none!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-wrap:nowrap!important;
    line-height:1.55!important;
  }
}

/* On mobile/tablet the text may wrap naturally. */
@media (max-width:1023px){
  .rex-site-footer__rights{
    width:auto!important;
    max-width:100%!important;
    white-space:normal!important;
    text-wrap:wrap!important;
  }
}


/* =========================================================
   REX Theme 3.9.55 — Centered + highlighted footer terms links
   ========================================================= */
@keyframes rexFooterUtilityGlow {
  0%,100% {
    box-shadow: 0 0 0 rgba(210,178,120,0), inset 0 0 0 1px rgba(210,178,120,0.05);
    border-color: rgba(210,178,120,0.26);
  }
  50% {
    box-shadow: 0 0 16px rgba(210,178,120,0.14), inset 0 0 0 1px rgba(210,178,120,0.08);
    border-color: rgba(210,178,120,0.52);
  }
}

@keyframes rexFooterUtilityDot {
  0%,100% {
    transform: scale(1);
    opacity: .82;
    box-shadow: 0 0 0 rgba(210,178,120,0);
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
    box-shadow: 0 0 10px rgba(210,178,120,0.52);
  }
}

.rex-site-footer__utility{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}

.rex-site-footer__utility a{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:38px!important;
  padding:8px 18px!important;
  border:1px solid rgba(210,178,120,0.28)!important;
  border-radius:999px!important;
  color:var(--rf-gold-hi)!important;
  background:linear-gradient(180deg, rgba(210,178,120,0.10), rgba(210,178,120,0.03))!important;
  text-decoration:none!important;
  font-weight:600!important;
  line-height:1.2!important;
  transition:transform .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease!important;
  animation:rexFooterUtilityGlow 3.4s ease-in-out infinite!important;
}

.rex-site-footer__utility a::before{
  content:""!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:var(--rf-gold-light)!important;
  flex:0 0 7px!important;
  animation:rexFooterUtilityDot 2.4s ease-in-out infinite!important;
}

.rex-site-footer__utility a::after{
  content:""!important;
  position:absolute!important;
  left:16px!important;
  right:16px!important;
  bottom:6px!important;
  height:1px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg, rgba(210,178,120,0), rgba(210,178,120,0.85), rgba(210,178,120,0))!important;
  opacity:.62!important;
}

.rex-site-footer__utility a+a::before{
  content:""!important;
  margin:0!important;
}

.rex-site-footer__utility a:hover,
.rex-site-footer__utility a:focus-visible{
  color:var(--rf-gold-hi)!important;
  border-color:rgba(210,178,120,0.68)!important;
  background:linear-gradient(180deg, rgba(210,178,120,0.16), rgba(210,178,120,0.06))!important;
  transform:translateY(-2px)!important;
  box-shadow:0 10px 26px rgba(210,178,120,0.16)!important;
  outline:none!important;
}

@media (min-width:1024px){
  .rex-site-footer__bottom-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    align-items:center!important;
    gap:10px!important;
    min-height:auto!important;
    padding-top:14px!important;
    padding-bottom:16px!important;
  }

  .rex-site-footer__utility{
    grid-column:auto!important;
    justify-self:center!important;
    width:100%!important;
    order:1!important;
  }

  .rex-site-footer__copyright-block{
    grid-column:auto!important;
    justify-self:center!important;
    order:2!important;
  }

  .rex-site-footer__copyright{
    grid-column:auto!important;
    justify-self:center!important;
  }
}

@media (max-width:1023px){
  .rex-site-footer__bottom-inner{
    gap:12px!important;
  }

  .rex-site-footer__utility a{
    min-height:36px!important;
    padding:7px 16px!important;
    font-size:11.5px!important;
  }
}


/* =========================================================
   REX Theme 3.9.62 — Mobile footer compact row reset
   Built from stable 3.9.58 footer; replaces the failed 3.9.59–3.9.61 layout patches.
   ========================================================= */
@media (max-width:1023px){
  .rex-site-footer__accordions{
    display:grid!important;
    gap:10px!important;
    margin-top:18px!important;
  }

  .rex-site-footer__accordion{
    position:relative!important;
    min-height:0!important;
    height:auto!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }

  .rex-site-footer__accordion-panel[hidden]{
    display:none!important;
  }

  .rex-site-footer__accordion-button{
    position:relative!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    height:66px!important;
    min-height:66px!important;
    margin:0!important;
    padding:0 16px 0 50px!important;
    border:0!important;
    background:transparent!important;
    color:var(--rf-white)!important;
    font:inherit!important;
    line-height:1!important;
    direction:rtl!important;
    text-align:right!important;
    cursor:pointer!important;
  }

  .rex-site-footer__accordion-title{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    color:var(--rf-white)!important;
    opacity:1!important;
    visibility:visible!important;
    direction:rtl!important;
  }

  .rex-site-footer__accordion-title i{
    display:grid!important;
    place-items:center!important;
    flex:0 0 36px!important;
    width:36px!important;
    height:36px!important;
    margin:0!important;
    border:1px solid rgba(210,178,120,.24)!important;
    border-radius:11px!important;
    background:rgba(210,178,120,.035)!important;
    color:var(--rf-gold-light)!important;
    opacity:1!important;
    visibility:visible!important;
  }

  .rex-site-footer__accordion-title i svg{
    display:block!important;
    width:19px!important;
    height:19px!important;
    opacity:1!important;
    visibility:visible!important;
  }

  .rex-site-footer__accordion-title b{
    display:block!important;
    flex:0 1 auto!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    color:var(--rf-white)!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1.4!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    opacity:1!important;
    visibility:visible!important;
    text-align:right!important;
  }

  .rex-site-footer__accordion-chevron{
    position:absolute!important;
    left:17px!important;
    top:50%!important;
    display:grid!important;
    place-items:center!important;
    width:18px!important;
    height:18px!important;
    margin:0!important;
    color:rgba(210,178,120,.80)!important;
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(-50%)!important;
  }

  .rex-site-footer__accordion-chevron svg{
    display:block!important;
    width:15px!important;
    height:15px!important;
    opacity:1!important;
    visibility:visible!important;
  }

  .rex-site-footer__accordion.is-open .rex-site-footer__accordion-chevron{
    transform:translateY(-50%) rotate(180deg)!important;
  }

  .rex-site-footer__accordion-panel{
    padding:0 16px 13px!important;
  }

  .rex-site-footer__links--mobile a{
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    font-size:12.5px!important;
  }
}

@media (max-width:420px){
  .rex-site-footer__accordion-button{
    height:62px!important;
    min-height:62px!important;
    padding-right:14px!important;
    padding-left:46px!important;
  }

  .rex-site-footer__accordion-title{
    gap:9px!important;
  }

  .rex-site-footer__accordion-title i{
    flex-basis:34px!important;
    width:34px!important;
    height:34px!important;
  }

  .rex-site-footer__accordion-title i svg{
    width:18px!important;
    height:18px!important;
  }

  .rex-site-footer__accordion-title b{
    font-size:13.5px!important;
  }

  .rex-site-footer__accordion-chevron{
    left:15px!important;
  }
}


/* =========================================================
   REX Theme 3.9.63 — Mobile footer compact fix + remove Care link
   ========================================================= */
@media (max-width:1023px){
  .rex-site-footer__accordions{gap:12px!important;}

  .rex-site-footer__accordion{
    min-height:64px!important;
    height:auto!important;
    border-radius:18px!important;
  }

  .rex-site-footer__accordion:not(.is-open){
    height:64px!important;
    min-height:64px!important;
  }

  .rex-site-footer__accordion.is-open{
    height:auto!important;
  }

  .rex-site-footer__accordion-button{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    height:64px!important;
    min-height:64px!important;
    padding:0 16px!important;
  }

  .rex-site-footer__accordion-title{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    flex:1 1 auto!important;
  }

  .rex-site-footer__accordion-title i{
    order:0!important;
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
  }

  .rex-site-footer__accordion-title b{
    order:1!important;
    font-size:13px!important;
    line-height:1.35!important;
    white-space:nowrap!important;
  }

  .rex-site-footer__accordion-chevron{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    flex:0 0 18px!important;
    width:18px!important;
    height:18px!important;
    margin-inline-end:2px!important;
  }

  .rex-site-footer__accordion.is-open .rex-site-footer__accordion-chevron{
    transform:rotate(180deg)!important;
  }

  .rex-site-footer__accordion-panel{
    padding:0 16px 14px!important;
  }

  .rex-site-footer__links--mobile{
    margin-top:0!important;
  }

  .rex-site-footer__links--mobile a{
    min-height:42px!important;
    padding-inline:0!important;
  }

  /* Remove 'تغذیه و سلامت' from mobile footer shop list. */
  .rex-site-footer__accordions > .rex-site-footer__accordion:first-child .rex-site-footer__links > li:nth-child(3){
    display:none!important;
  }
}

@media (max-width:420px){
  .rex-site-footer__accordion,
  .rex-site-footer__accordion:not(.is-open){
    min-height:60px!important;
    height:60px!important;
  }

  .rex-site-footer__accordion.is-open{
    height:auto!important;
  }

  .rex-site-footer__accordion-button{
    height:60px!important;
    min-height:60px!important;
    padding:0 14px!important;
  }

  .rex-site-footer__accordion-title i{
    flex-basis:36px!important;
    width:36px!important;
    height:36px!important;
  }
}

@media (min-width:1024px){
  /* Remove 'تغذیه و سلامت' from desktop footer shop list. */
  .rex-site-footer__main-grid .rex-site-footer__group:first-of-type .rex-site-footer__links > li:nth-child(3){
    display:none!important;
  }
}
