/* Finney's - scoped variables & Divi overrides */
.finneys-site {
  --red: #C8272D;
  --red-light: #e8393f;
  --red-dark: #9e1e23;
  --black: #111010;
  --charcoal: #1e1e1e;
  --warm-white: #FAF8F5;
  --cream: #F2EDE5;
  --tan: #D9CEBD;
  --muted: #7a7268;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body.finneys-custom-header #main-header,
body.finneys-custom-header #top-header,
body.finneys-custom-header .et-fixed-header,
body.finneys-homepage #main-header,
body.finneys-homepage #top-header { display: none !important; }
body.finneys-site.finneys-homepage #page-container,
body.finneys-site.finneys-homepage #main-content,
body.finneys-site.finneys-homepage .container { width:100%!important; max-width:none!important; padding:0!important; margin:0!important; }
body.finneys-homepage #main-content .container:before,
body.finneys-homepage #main-content .container:after { display:none!important; }
.finneys-site { font-family: var(--font-body); background: var(--warm-white); color: var(--black); overflow-x: hidden; }
.finneys-site a:not(.btn-primary):not(.loc-btn):not(.loc-btn-primary):not(.lp-btn-primary):not(.lp-more-fill) { text-decoration: none; color: inherit; }

/* Mobile menu – white links on dark overlay (overrides color: inherit above) */
body.finneys-site .mobile-menu .mobile-nav-links a,
body.finneys-site .mobile-menu .mobile-nav-links li a {
  color: rgba(255, 255, 255, 0.88) !important;
}
body.finneys-site .mobile-menu .mobile-nav-links a:hover,
body.finneys-site .mobile-menu .mobile-nav-links a:focus,
body.finneys-site .mobile-menu .mobile-nav-links a:active {
  color: var(--red) !important;
}

body.finneys-custom-header:not(.finneys-homepage) #page-container {
  padding-top: 72px;
}

body.finneys-homepage .main_title,
body.finneys-homepage .entry-title,
body.finneys-homepage .et_pb_post_title {
  display: none !important;
}

body.finneys-homepage #left-area,
body.finneys-homepage .entry-content {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html.finneys-smooth-scroll { scroll-behavior: smooth; }

  /* ── NAV ── */
  #navbar.finneys-nav,
  nav#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3rem;
    height: 72px;
    background: rgba(250,248,245,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: background 0.3s var(--ease), box-shadow 0.3s;
  }
  nav#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

  .nav-logo img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  /* fallback text if img fails */
  .nav-logo-fallback {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--black);
    display: none;
  }
  .nav-logo-fallback span { color: var(--red); }

  .nav-links {
    display: flex; align-items: center; gap: 2rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    transition: color 0.2s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute; bottom: -3px; left: 0; right: 0;
    height: 1.5px; background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav-links a:hover { color: var(--red); }
  .nav-links a:hover::after { transform: scaleX(1); }

  /* dropdown */
  .has-dropdown { position: relative; }
  .dropdown {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(0px);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease), transform 0.22s var(--ease);
    /* padding-top bridges the gap so mouse doesn't leave .has-dropdown */
    padding-top: 1rem;
    margin-top: 0;
  }
  /* invisible bridge fills gap between nav link and dropdown panel */
  .dropdown::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1rem;
    background: transparent;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .dropdown a {
    display: block; padding: 0.55rem 1.25rem;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--charcoal);
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
  }
  .dropdown a::after { display: none; }
  .dropdown a:hover { background: var(--cream); color: var(--red); }

  .nav-cta {
    display: flex; align-items: center; gap: 0.75rem;
  }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer; border: none;
    transition: all 0.22s var(--ease);
  }
  .btn-outline {
    border: 1.5px solid var(--black);
    background: transparent; color: var(--black);
  }
  .btn-outline:hover { background: var(--black); color: #fff; }
  .btn-primary {
    background: var(--red); color: #FFFFFF;
    font-size: 0.82rem !important;
    padding: 0.7rem 1.6rem !important;
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(200,39,45,0.25);
  }
  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:active {
    background: var(--red-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200,39,45,0.35);
  }
  .btn-ghost { background: transparent; color: var(--muted); }

  /* Red buttons – white text across all states (overrides Divi + link inherit) */
  body.finneys-site a.btn-primary,
  body.finneys-site button.btn-primary,
  body.finneys-site .loc-btn-primary,
  body.finneys-site a.loc-btn-primary,
  body.finneys-site .lp-btn-primary,
  body.finneys-site a.lp-btn-primary,
  body.finneys-site .lp-more-fill,
  body.finneys-site a.lp-more-fill,
  body.finneys-site button.lp-more-fill,
  body.finneys-site #page-overlay button.finneys-menu-loc-btn.is-active,
  body.finneys-site #page-overlay button.finneys-menu-cat-tab.is-active,
  body.finneys-site #menu button.tab.active {
    color: #FFFFFF !important;
  }

  body.finneys-site a.btn-primary:hover,
  body.finneys-site a.btn-primary:focus,
  body.finneys-site a.btn-primary:active,
  body.finneys-site a.btn-primary:focus-visible,
  body.finneys-site button.btn-primary:hover,
  body.finneys-site button.btn-primary:focus,
  body.finneys-site button.btn-primary:active,
  body.finneys-site button.btn-primary:focus-visible,
  body.finneys-site .loc-btn-primary:hover,
  body.finneys-site .loc-btn-primary:focus,
  body.finneys-site .loc-btn-primary:active,
  body.finneys-site .loc-btn-primary:focus-visible,
  body.finneys-site a.loc-btn-primary:hover,
  body.finneys-site a.loc-btn-primary:focus,
  body.finneys-site a.loc-btn-primary:active,
  body.finneys-site a.loc-btn-primary:focus-visible,
  body.finneys-site .lp-btn-primary:hover,
  body.finneys-site .lp-btn-primary:focus,
  body.finneys-site .lp-btn-primary:active,
  body.finneys-site .lp-btn-primary:focus-visible,
  body.finneys-site a.lp-btn-primary:hover,
  body.finneys-site a.lp-btn-primary:focus,
  body.finneys-site a.lp-btn-primary:active,
  body.finneys-site a.lp-btn-primary:focus-visible,
  body.finneys-site .lp-more-fill:hover,
  body.finneys-site .lp-more-fill:focus,
  body.finneys-site .lp-more-fill:active,
  body.finneys-site .lp-more-fill:focus-visible,
  body.finneys-site a.lp-more-fill:hover,
  body.finneys-site a.lp-more-fill:focus,
  body.finneys-site a.lp-more-fill:active,
  body.finneys-site a.lp-more-fill:focus-visible,
  body.finneys-site button.lp-more-fill:hover,
  body.finneys-site button.lp-more-fill:focus,
  body.finneys-site button.lp-more-fill:active,
  body.finneys-site button.lp-more-fill:focus-visible,
  body.finneys-site #page-overlay button.finneys-menu-loc-btn.is-active:hover,
  body.finneys-site #page-overlay button.finneys-menu-loc-btn.is-active:focus,
  body.finneys-site #page-overlay button.finneys-menu-loc-btn.is-active:active,
  body.finneys-site #page-overlay button.finneys-menu-cat-tab.is-active:hover,
  body.finneys-site #page-overlay button.finneys-menu-cat-tab.is-active:focus,
  body.finneys-site #page-overlay button.finneys-menu-cat-tab.is-active:active,
  body.finneys-site #menu button.tab.active:hover,
  body.finneys-site #menu button.tab.active:focus,
  body.finneys-site #menu button.tab.active:active {
    color: #FFFFFF !important;
  }

  /* hamburger */
  .hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 4px; background: none; border: none;
  }
  .hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--black);
    transition: all 0.3s;
  }

