/* ================================================================
   evov footer (2026)

   The footer is a WoodMart HTML block built in Elementor from classic
   containers and widgets. Each part carries one of these classes (container:
   Advanced > CSS Classes; widget: Advanced > CSS Classes):

     evov-ft3          root container: dot field + cursor light (WoodMart
                       Layout > Container stretch: Stretch container, so it
                       spans past the footer's .container)
     evov-ft3-inner    the header's content box
     evov-ft3-top      newsletter card + link columns
     evov-ft3-news     frosted newsletter card
       evov-ft3-news-title / -news-text / -form / -fine
     evov-ft3-col      link column (+ evov-ft3-col-company on the last)
       evov-ft3-col-title / -list
     evov-ft3-bar      frosted bottom bar
       evov-ft3-copy / -legal / -pay / -social

   The one effect: a faint dot field whose dots light up in the brand
   gradient around the pointer (pjax-nav.js sets --mx / --my on mouse
   devices; elsewhere the light rests top right). It steps back while a
   column link is pointed at.

   Every part's rule is scoped under .evov-ft3, one class above Elementor's
   and WoodMart's own (.elementor img, widget margins, field heights): the
   load order differs between guests (shared bundle) and logged-in visitors,
   so an equal-specificity tie would come out differently for each.

   Elementor containers are styled through their own variables (--padding-*,
   --gap, --width) so the editor's defaults never fight these values, and
   the root's pseudo-elements are fully reset because Elementor uses
   .e-con::before for background overlays.
   ================================================================ */

.wd-footer:has(.evov-ft3) {
  padding: 0 !important;
  background: #0B0D14 !important;
}

.e-con.evov-ft3 {
  --g1: var(--wd-primary-color);
  --g3: var(--wd-alternative-color);
  --grad: linear-gradient(90deg, var(--g1), var(--g3));
  --ink: rgba(255, 255, 255, .92);
  --ink-2: rgba(255, 255, 255, .6);
  --ink-3: rgba(255, 255, 255, .36);
  --surf: rgba(255, 255, 255, .04);
  --mx: 78%;
  --my: 0%;
  --padding-top: 56px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --gap: 0px;
  --row-gap: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink-2);
  font-family: var(--wd-text-font);
}

.e-con.evov-ft3::before,
.e-con.evov-ft3::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: 0;
  mix-blend-mode: normal;
}
.e-con.evov-ft3::before {
  background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px) 0 0 / 18px 18px;
  opacity: 1;
}
.e-con.evov-ft3::after {
  background: var(--grad);
  background-position: -8px -8px;
  -webkit-mask: radial-gradient(circle 2px, #000 96%, transparent) 0 0 / 18px 18px, radial-gradient(circle 140px at var(--mx) var(--my), #000 5%, transparent 70%);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 2px, #000 96%, transparent) 0 0 / 18px 18px intersect, radial-gradient(circle 140px at var(--mx) var(--my), #000 5%, transparent 70%);
  opacity: .55;
  transition: opacity .4s;
}
.e-con.evov-ft3:has(.evov-ft3-col a:hover)::after {
  opacity: .2;
}

.evov-ft3 {
  --wd-link-decor: none;       /* WoodMart underlines links through these */
  --wd-link-decor-hover: none;
}
.evov-ft3 a {
  color: inherit;
  text-decoration: none;
}

/* Same content box as the header: WoodMart's container width with 15px gutters. */
.e-con.evov-ft3-inner {
  --width: 100%;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 15px;
  --padding-right: 15px;
  --gap: 0px;
  --row-gap: 0px;
  box-sizing: border-box;
  max-width: var(--wd-container-w, 1279px);
  margin-inline: auto;
}

.e-con.evov-ft3-top {
  --padding-top: 0px;
  --padding-bottom: 44px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: grid !important;
  grid-template-columns: minmax(420px, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.e-con.evov-ft3-top > .e-con {
  --width: auto;
  min-width: 0;
}

/* ── Newsletter, on a frosted card ─────────────────────────────── */
.e-con.evov-ft3-news {
  --padding-top: clamp(20px, 2.2vw, 28px);
  --padding-bottom: clamp(20px, 2.2vw, 28px);
  --padding-left: clamp(20px, 2.2vw, 28px);
  --padding-right: clamp(20px, 2.2vw, 28px);
  --gap: 0px;
  --row-gap: 0px;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--wd-brd-radius, 15px) + 6px);
  background: rgba(18, 20, 32, .4);
  -webkit-backdrop-filter: blur(10px) saturate(1.5);
  backdrop-filter: blur(10px) saturate(1.5);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .32), 0 8px 24px -18px rgba(0, 0, 0, .18);
}
.evov-ft3 .evov-ft3-news-title .elementor-heading-title {
  margin: 0 0 6px;
  font-family: var(--wd-entities-title-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
}
.evov-ft3 .evov-ft3-news-text,
.evov-ft3 .evov-ft3-news-text p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
/* The gap under the intro sits on its paragraph: Elementor zeroes widget
   margins in containers (.e-con .elementor-widget.elementor-widget). */
.evov-ft3 .evov-ft3-news-text { margin-bottom: 0; }
.evov-ft3 .evov-ft3-fine,
.evov-ft3 .evov-ft3-fine p {
  margin: 10px 4px 0;
  font-size: 12px;
  color: var(--ink-3);
}
.evov-ft3 .evov-ft3-fine p { margin: 0; }

/* The Elementor Pro form as one pill: email field + WoodMart's accented button. */
.evov-ft3 .evov-ft3-form .elementor-form-fields-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 440px;
  margin: 0 !important;
  padding: 6px;
  border-radius: var(--wd-form-brd-radius, 30px);
  background: rgba(255, 255, 255, .06);
  transition: box-shadow .2s;
}
.evov-ft3 .evov-ft3-form .elementor-form-fields-wrapper:focus-within {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--g1) 70%, transparent);
}
.evov-ft3 .evov-ft3-form .elementor-field-group {
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}
.evov-ft3 .evov-ft3-form .elementor-field-type-email { flex: 1 1 auto; min-width: 0; }
.evov-ft3 .evov-ft3-form .e-form__buttons { flex: 0 0 auto; }
.evov-ft3 .evov-ft3-form .elementor-field-textual {
  height: 44px;
  min-height: 0;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font: inherit;
  font-size: 15px;
  outline: 0;
}
.evov-ft3 .evov-ft3-form .elementor-field-textual::placeholder { color: var(--ink-3); }
.evov-ft3 .evov-ft3-form .elementor-button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  min-height: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--wd-form-brd-radius, 30px);
  background: var(--btn-accented-bgcolor, var(--wd-primary-color));
  color: var(--btn-accented-color, #fff);
  box-shadow: var(--btn-accented-box-shadow, none);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, background-color .2s, color .2s, box-shadow .2s;
}
/* WoodMart's accented button colours (Theme Settings > Buttons) */
.evov-ft3 .evov-ft3-form .elementor-button[type="submit"]:hover {
  background: var(--btn-accented-bgcolor-hover, var(--btn-accented-bgcolor));
  color: var(--btn-accented-color-hover, #fff);
  box-shadow: var(--btn-accented-box-shadow-hover, none);
}
.evov-ft3 .evov-ft3-form .elementor-button[type="submit"]:active { transform: scale(.97); }
.evov-ft3 .evov-ft3-form .elementor-button-text { padding: 0; }
.evov-ft3 .evov-ft3-form .elementor-button-content-wrapper::after {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.evov-ft3 .evov-ft3-form .elementor-button-content-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.evov-ft3 .evov-ft3-form .elementor-button[type="submit"]:hover .elementor-button-content-wrapper::after { transform: translateX(3px); }
.evov-ft3 .evov-ft3-form .elementor-message {
  margin: 10px 4px 0;
  font-size: 13px;
  color: var(--ink);
}

/* ── Link columns ─────────────────────────────────────────────── */
.e-con.evov-ft3-col {
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --gap: 0px;
  --row-gap: 0px;
}
.evov-ft3 .evov-ft3-col-title .elementor-heading-title {
  margin: 4px 0 16px;
  font-family: var(--wd-entities-title-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.evov-ft3 .evov-ft3-list .wd-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.evov-ft3 .evov-ft3-list .wd-list li { margin: 0 !important; } /* WoodMart adds 10px under each li */
.evov-ft3 .evov-ft3-list a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .15s, gap .2s;
}
.evov-ft3 .evov-ft3-list a::before {
  content: '';
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width .2s;
}
.evov-ft3 .evov-ft3-list a:hover { color: var(--ink); gap: 8px; }
.evov-ft3 .evov-ft3-list a:hover::before { width: 10px; }

/* ── Bottom bar, on the same frosted card ─────────────────────── */
.e-con.evov-ft3-bar {
  --flex-direction: row;
  --flex-wrap: wrap;
  --align-items: center;
  --padding-top: 14px;
  --padding-bottom: 14px;
  --padding-left: 22px;
  --padding-right: 22px;
  --gap: 12px 24px;
  --row-gap: 12px;
  --column-gap: 24px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--ink-3);
  border-radius: calc(var(--wd-brd-radius, 15px) + 6px);
  background: rgba(18, 20, 32, .4);
  -webkit-backdrop-filter: blur(10px) saturate(1.5);
  backdrop-filter: blur(10px) saturate(1.5);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .32), 0 8px 24px -18px rgba(0, 0, 0, .18);
}
.evov-ft3 .evov-ft3-copy, .evov-ft3 .evov-ft3-copy p { margin: 0; }
.evov-ft3 .evov-ft3-legal { margin-right: auto; }
.evov-ft3 .evov-ft3-legal .wd-list {
  display: flex;
  flex-direction: row; /* .wd-list is a column by default */
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.evov-ft3 .evov-ft3-legal .wd-list li { margin: 0 !important; }
.evov-ft3 .evov-ft3-legal a { font-size: 12.5px; color: var(--ink-3); transition: color .15s; }
.evov-ft3 .evov-ft3-legal a:hover { color: var(--ink); }
.evov-ft3 .evov-ft3-pay img { display: block; height: 20px; width: auto; max-width: 100%; opacity: .8; }

/* WoodMart's social buttons on the footer's tint, with WoodMart's accented
   button hover colours. */
.evov-ft3 .evov-ft3-social .wd-social-icons {
  --wd-social-size: 32px;
  --wd-social-icon-size: 14px;
  --wd-social-bg: var(--surf);
  --wd-social-color: var(--ink);
}
.evov-ft3 .evov-ft3-social .wd-social-icons > a {
  --wd-social-bg: var(--surf);
  --wd-social-bg-hover: var(--btn-accented-bgcolor-hover, var(--wd-primary-color));
  --wd-social-color-hover: var(--btn-accented-color-hover, #fff);
}

/* ── Breakpoints ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .e-con.evov-ft3-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .e-con.evov-ft3-news { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .e-con.evov-ft3 { --padding-top: 40px; --padding-bottom: 64px; }
  .e-con.evov-ft3-top { grid-template-columns: 1fr 1fr; row-gap: 32px; --padding-bottom: 32px; }
  .e-con.evov-ft3-col-company { grid-column: 1 / -1; }
  .evov-ft3 .evov-ft3-col-company .evov-ft3-list .wd-list { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); } /* same columns as Shop / Help above */
  /* phone bar: links, then payments, then the copyright with social on its right */
  .e-con.evov-ft3-bar {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas: "legal legal" "pay pay" "copy social";
    align-items: center;
    gap: 14px 12px;
    --padding-top: 16px;
    --padding-bottom: 16px;
    --padding-left: 18px;
    --padding-right: 18px;
  }
  .evov-ft3 .evov-ft3-legal { grid-area: legal; margin: 0; }
  .evov-ft3 .evov-ft3-pay { grid-area: pay; justify-self: start; max-width: 100%; }
  .evov-ft3 .evov-ft3-pay img { height: auto; max-height: 22px; }
  .evov-ft3 .evov-ft3-copy { grid-area: copy; font-size: 12px; }
  .evov-ft3 .evov-ft3-social { grid-area: social; }
}
@media (prefers-reduced-motion: reduce) {
  .evov-ft3 *, .e-con.evov-ft3::after { transition: none !important; }
}
