/* =========================================================
   INNERJOY EDITORIAL DESKTOP FOOTER — 1.5.0
   Replaces only the desktop/larger-tablet Woodmart footer.
   ========================================================= */

.ijdf {
  display: none;
}

@media (min-width: 769px) {
  body.ijmh-footer-enabled .footer-container,
  body.ijmh-footer-enabled footer.footer-container {
    display: none !important;
  }

  body.ijmh-footer-enabled .scrollToTop,
  body.ijmh-footer-enabled .wd-scroll-top {
    display: none !important;
  }

  .ijdf,
  .ijdf *,
  .ijdf *::before,
  .ijdf *::after {
    box-sizing: border-box;
  }

  .ijdf {
    --ijdf-bg: #071a34;
    --ijdf-bg-deep: #041126;
    --ijdf-panel: rgba(255, 255, 255, .065);
    --ijdf-line: rgba(255, 255, 255, .13);
    --ijdf-text: #f8fbff;
    --ijdf-muted: rgba(235, 244, 255, .64);
    --ijdf-soft: rgba(235, 244, 255, .08);
    --ijdf-accent: #4c98ff;
    --ijdf-accent-soft: #a9cfff;
    --ijdf-button-ink: #071a34;

    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0;
    display: block;
    overflow: hidden;
    border: 0;
    background:
      radial-gradient(circle at 87% 1%, color-mix(in srgb, var(--ijdf-accent) 27%, transparent), transparent 29%),
      linear-gradient(145deg, var(--ijdf-bg) 0%, var(--ijdf-bg-deep) 100%);
    color: var(--ijdf-text);
  }

  body.ijmh-context-women .ijdf {
    --ijdf-bg: #4b2936;
    --ijdf-bg-deep: #2d1720;
    --ijdf-panel: rgba(255, 247, 249, .075);
    --ijdf-line: rgba(255, 229, 236, .15);
    --ijdf-text: #fff8fa;
    --ijdf-muted: rgba(255, 232, 239, .67);
    --ijdf-soft: rgba(255, 232, 239, .09);
    --ijdf-accent: #e49aaf;
    --ijdf-accent-soft: #f7c8d5;
    --ijdf-button-ink: #452431;
  }

  body.ijmh-context-kids .ijdf {
    --ijdf-bg: #102c3c;
    --ijdf-bg-deep: #081d29;
    --ijdf-panel: rgba(255, 255, 255, .075);
    --ijdf-line: rgba(255, 224, 111, .20);
    --ijdf-text: #fffdf4;
    --ijdf-muted: rgba(240, 248, 250, .68);
    --ijdf-soft: rgba(255, 214, 91, .10);
    --ijdf-accent: #ffd557;
    --ijdf-accent-soft: #ffe99b;
    --ijdf-button-ink: #102c3c;
  }

  .ijdf::before,
  .ijdf::after {
    position: absolute;
    z-index: -1;
    border: 1px solid var(--ijdf-line);
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .ijdf::before {
    top: -315px;
    right: -160px;
    width: 620px;
    height: 620px;
  }

  .ijdf::after {
    bottom: -310px;
    left: -250px;
    width: 520px;
    height: 520px;
  }

  .ijdf__accent {
    height: 5px;
    background:
      linear-gradient(90deg, var(--ijdf-accent), var(--ijdf-accent-soft) 47%, transparent 82%);
  }

  .ijdf__inner {
    width: min(100%, 1680px);
    margin: 0 auto;
    padding: clamp(50px, 5.2vw, 84px) clamp(32px, 5.4vw, 92px) 0;
  }

  .ijdf__statement {
    padding-bottom: clamp(43px, 4.6vw, 70px);
    display: grid;
    grid-template-columns: minmax(205px, .75fr) minmax(440px, 1.45fr) auto;
    align-items: end;
    gap: clamp(34px, 5vw, 90px);
    border-bottom: 1px solid var(--ijdf-line);
  }

  .ijdf__brand {
    align-self: start;
  }

  .ijdf__logo {
    width: 198px;
    min-height: 68px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 18px;
    outline: none;
    background: #ffffff;
    box-shadow: none;
  }

  .ijdf__logo img {
    width: 100%;
    max-height: 45px;
    display: block;
    object-fit: contain;
  }

  .ijdf__edition {
    margin-top: 14px;
    display: block;
    color: var(--ijdf-muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.35px;
    text-transform: uppercase;
  }

  .ijdf__eyebrow {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ijdf-accent-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.55px;
    text-transform: uppercase;
  }

  .ijdf__eyebrow::before {
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--ijdf-accent);
    content: "";
  }

  .ijdf__headline h2 {
    max-width: 760px;
    margin: 0 0 17px;
    color: var(--ijdf-text) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(47px, 4.65vw, 76px);
    font-weight: 400;
    line-height: .92;
    letter-spacing: clamp(-3.7px, -.2vw, -2px);
    text-wrap: balance;
  }

  .ijdf__headline p {
    max-width: 650px;
    margin: 0;
    color: var(--ijdf-muted);
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.65;
  }

  .ijdf__shop-link {
    min-height: 54px;
    padding: 0 18px 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    border: 1px solid var(--ijdf-accent-soft);
    border-radius: 999px;
    outline: none;
    background: var(--ijdf-accent);
    color: var(--ijdf-button-ink) !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    transition: transform .28s ease, background-color .28s ease;
  }

  .ijdf__shop-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .28s ease;
  }

  .ijdf__directory {
    display: grid;
    grid-template-columns: .85fr .85fr 1.6fr;
    border-bottom: 1px solid var(--ijdf-line);
  }

  .ijdf__column,
  .ijdf__payments {
    min-width: 0;
    padding: clamp(37px, 3.5vw, 55px) clamp(25px, 3.4vw, 54px) clamp(42px, 4vw, 65px);
    border-right: 1px solid var(--ijdf-line);
  }

  .ijdf__column:first-child {
    padding-left: 0;
  }

  .ijdf__payments {
    padding-right: 0;
    border-right: 0;
  }

  .ijdf__column-index {
    margin-bottom: 20px;
    display: block;
    color: var(--ijdf-accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
  }

  .ijdf__column h3,
  .ijdf__payments h3 {
    margin: 0 0 23px;
    color: var(--ijdf-text) !important;
    font-size: 17px;
    font-weight: 850;
    letter-spacing: -.25px;
  }

  .ijdf__column a {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid transparent;
    color: var(--ijdf-muted) !important;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none !important;
    transition: color .22s ease, border-color .22s ease, padding-left .22s ease;
  }

  .ijdf__column a i {
    color: var(--ijdf-accent);
    font-size: 12px;
    font-style: normal;
    opacity: .8;
  }

  .ijdf__payments > p {
    max-width: 440px;
    margin: -12px 0 24px;
    color: var(--ijdf-muted);
    font-size: 13px;
    line-height: 1.5;
  }

  .ijdf__payment-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    gap: 8px;
  }

  .ijdf__payment {
    min-height: 62px;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid var(--ijdf-line);
    border-radius: 13px;
    background: var(--ijdf-panel);
    color: var(--ijdf-text);
  }

  .ijdf__payment b {
    display: block;
    color: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
  }

  .ijdf__payment small {
    margin-top: 4px;
    color: var(--ijdf-muted);
    font-size: 8px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: .45px;
    text-transform: uppercase;
  }

  .ijdf__payment--mtn {
    border-color: rgba(255, 215, 0, .35);
    background: rgba(255, 215, 0, .10);
  }

  .ijdf__payment--mtn b { color: #ffdc31; }
  .ijdf__payment--telecel b { color: #ff5c64; }
  .ijdf__payment--airteltigo b { color: #74b9ff; }
  .ijdf__payment--visa b { color: #8db7ff; letter-spacing: .9px; }

  .ijdf__payment--mastercard {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .ijdf__payment--mastercard i {
    position: relative;
    width: 25px;
    height: 15px;
    flex: 0 0 25px;
  }

  .ijdf__payment--mastercard i::before,
  .ijdf__payment--mastercard i::after {
    position: absolute;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    content: "";
  }

  .ijdf__payment--mastercard i::before { left: 0; background: #ea3c35; }
  .ijdf__payment--mastercard i::after { right: 0; background: rgba(255, 174, 43, .88); }

  .ijdf__base {
    min-height: 84px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    color: var(--ijdf-muted);
    font-size: 11px;
  }

  .ijdf__base p {
    margin: 0;
    color: inherit;
  }

  .ijdf__base > span {
    color: var(--ijdf-accent-soft);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.25px;
    text-transform: uppercase;
  }

  .ijdf__base button {
    justify-self: end;
    min-height: 40px;
    padding: 0 5px 0 14px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 11px;
    border: 0 !important;
    border-radius: 999px !important;
    outline: none;
    background: transparent !important;
    color: var(--ijdf-muted) !important;
    box-shadow: none !important;
    font-size: 10px;
    font-weight: 800;
    text-transform: none !important;
  }

  .ijdf__base button svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border: 1px solid var(--ijdf-line);
    border-radius: 50%;
    fill: none;
    stroke: var(--ijdf-accent);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  @media (hover: hover) {
    .ijdf__shop-link:hover {
      background: var(--ijdf-accent-soft);
      transform: translateY(-3px);
    }

    .ijdf__shop-link:hover svg {
      transform: translateX(3px);
    }

    .ijdf__column a:hover {
      padding-left: 5px;
      border-color: var(--ijdf-line);
      color: var(--ijdf-text) !important;
    }

    .ijdf__base button:hover {
      color: var(--ijdf-text) !important;
    }
  }

  .ijdf a:focus-visible,
  .ijdf button:focus-visible {
    outline: 2px solid var(--ijdf-accent-soft) !important;
    outline-offset: 4px;
  }
}

@media (min-width: 769px) and (max-width: 1120px) {
  .ijdf__statement {
    grid-template-columns: 190px 1fr;
  }

  .ijdf__shop-link {
    grid-column: 2;
    justify-self: start;
  }

  .ijdf__directory {
    grid-template-columns: .75fr .85fr 1.5fr;
  }

  .ijdf__payment-grid {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
  }
}

@media (max-width: 768px) {
  .ijdf {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ijdf *,
  .ijdf *::before,
  .ijdf *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
