@charset "UTF-8";

/* ============================================================
   EILEEN FISHER – Zendesk Help Center Theme
   Matches: locations.eileenfisher.com + eileenfisher.com/help
   ============================================================ */

/* ---- Font Face ---- */
@font-face {
  font-family: "Untitled Sans Regular";
  src: url("{{asset 'UntitledSans-Regular.otf'}}") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Untitled Sans Medium";
  src: url("{{asset 'UntitledSans-Medium.otf'}}") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Untitled Sans Bold";
  src: url("{{asset 'UntitledSans-Bold.otf'}}") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Untitled Sans Light";
  src: url("{{asset 'UntitledSans-Light.otf'}}") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset & Base ---- */
* {
  box-sizing: border-box;
}

body {
  background-color: #f0f0f0;
  color: #000;
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  body > main {
    min-height: 65vh;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  margin-top: 0;
}

h1 { font-size: 25px; font-weight: 500; }
h2 { font-size: 22px; }
h3 { font-size: 18px; font-weight: 500; }
h4 { font-size: 16px; }

a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img { max-width: 100%; }

/* ============================================================
   EF HEADER – matches locations.eileenfisher.com
   ============================================================ */
.ef-page-header {
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
  height: 85px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.ef-navbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 85px;
  padding: 0 24px 12px;
  max-width: 1440px;
  margin: 0 auto;
}

.ef-logo-wrap a {
  display: block;
  line-height: 1;
}
.ef-logo-wrap svg {
  width: 90px;
  height: 62px;
  display: block;
}

.ef-nav-links {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ef-nav-links a {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}
.ef-nav-links a:hover {
  text-decoration: none;
  opacity: 0.7;
}

.ef-header-right {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 2px;
}

.ef-header-right a {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  position: relative;
}

.ef-header-right svg {
  width: 22px;
  height: 22px;
}

.ef-minicart-qty {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #000;
  color: #fff;
  font-size: 9px;
  font-family: "Untitled Sans Medium", sans-serif;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

/* Mobile hamburger */
.ef-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.ef-nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 991px) {
  .ef-nav-links { display: none; }
  .ef-nav-toggle { display: flex; align-items: center; }
  .ef-logo-wrap svg { width: 70px; height: 48px; }
  .ef-navbar { padding: 0 16px 10px; }
}

/* ============================================================
   EF FOOTER – matches locations.eileenfisher.com
   ============================================================ */
.ef-page-footer {
  background-color: #fff;
  padding: 48px 60px 20px;
  margin-top: 60px;
  border-top: 1px solid #e8e8e8;
}

.ef-footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.ef-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #000;
  border-radius: 50%;
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ef-footer-social a:hover { opacity: 0.6; text-decoration: none; }
.ef-footer-social svg { width: 16px; height: 16px; }

.ef-footer-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.ef-footer-nav a {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
}
.ef-footer-nav a:hover { text-decoration: underline; }

.ef-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ef-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ef-footer-legal a {
  font-size: 11px;
  color: #000;
  text-decoration: none;
}
.ef-footer-legal a:hover { text-decoration: underline; }

.ef-footer-copyright {
  font-size: 11px;
  color: #000;
}

.ef-footer-bcorp {
  display: flex;
  align-items: center;
}
.ef-footer-bcorp img {
  height: 48px;
  width: auto;
}

@media (max-width: 768px) {
  .ef-page-footer { padding: 40px 20px 20px; }
  .ef-footer-nav { justify-content: center; text-align: center; }
  .ef-footer-legal { flex-direction: column; align-items: center; text-align: center; }
  .ef-footer-legal-links { justify-content: center; }
}

/* ============================================================
   PAGE LAYOUT WRAPPER
   ============================================================ */
.ef-page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-size: 12px;
  color: #666;
  margin-bottom: 16px;
}
.breadcrumbs li { display: inline; }
.breadcrumbs li + li::before { content: " / "; color: #999; }
.breadcrumbs a { color: #666; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ============================================================
   HOME PAGE – Hero Search
   ============================================================ */
.ef-search-hero {
  background-color: #f0f0f0;
  text-align: center;
  padding: 56px 24px 48px;
}

.ef-search-hero h1 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-container input[type="search"] {
  width: 100%;
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  padding: 10px 40px 10px 0;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  color: #000;
}

.search-container input[type="search"]::placeholder {
  color: #999;
  font-size: 14px;
}

.search-container .search-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.search-container .search-icon svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   HOME PAGE – Category Tiles (4-up grid matching SFCC)
   ============================================================ */
.ef-categories {
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.ef-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ef-category-tile {
  background: #fff;
  border: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  text-decoration: none;
  color: #000;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 140px;
  aspect-ratio: 1;
}
.ef-category-tile:hover {
  border-color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
}

.ef-category-tile svg {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}

.ef-category-tile span {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-align: center;
  color: #000;
  text-underline-offset: 2px;
}

/* Category tile icon circles */
.ef-tile-icon {
  width: 56px;
  height: 56px;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.ef-tile-icon svg {
  width: 26px;
  height: 26px;
  margin: 0;
}

@media (max-width: 768px) {
  .ef-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ef-category-tile { min-height: 120px; padding: 24px 12px; }
}
@media (max-width: 480px) {
  .ef-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ============================================================
   HOME PAGE – Contact Info Card
   ============================================================ */
.ef-contact-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  padding: 32px 40px;
  max-width: 960px;
  margin: 0 auto 32px;
}

.ef-contact-card h2 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

.ef-contact-card p {
  font-size: 14px;
  margin: 8px 0;
}

.ef-contact-card strong {
  font-family: "Untitled Sans Medium", sans-serif;
  font-weight: 500;
}

.ef-contact-card a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   SECTION / CATEGORY PAGES
   ============================================================ */
.section-tree-title,
.category-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 24px;
}

.section-list,
.article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.section-list-item,
.article-list-item {
  border-bottom: 1px solid #e8e8e8;
}

.section-list-item a,
.article-list-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}
.section-list-item a:hover,
.article-list-item a:hover {
  color: #000;
  text-decoration: underline;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-header h1 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 8px;
}

.article-header .article-meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 32px;
}

.article-body {
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

.article-body h2 { font-size: 18px; margin-top: 32px; }
.article-body h3 { font-size: 16px; margin-top: 24px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: #000; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, button[type="submit"] {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
  -webkit-appearance: none;
}
.btn:hover, button[type="submit"]:hover {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}
.btn-secondary:hover {
  background: #000;
  color: #fff;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #000;
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: #000;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-bottom-color: #000;
  outline: none;
}

label {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-results-list { list-style: none; padding: 0; margin: 0; }
.search-results-list-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 20px 0;
}
.search-results-list-item h2 { font-size: 16px; margin-bottom: 6px; }
.search-results-list-item a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.search-results-list-item p { font-size: 14px; color: #444; margin: 0; }

/* ============================================================
   COMMUNITY – Hide community section on home page
   ============================================================ */
.community-section-home {
  display: none;
}

/* ============================================================
   HIDE ZENDESK DEFAULT HERO (we use our own search block)
   ============================================================ */
.hero {
  display: none !important;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .ef-page-content { padding: 32px 16px; }
  .ef-search-hero { padding: 40px 16px 32px; }
  .ef-contact-card { padding: 24px 20px; }
}


/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.ef-mobile-nav {
  display: none;
  position: fixed;
  top: 85px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 24px 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}
.ef-mobile-nav.is-open {
  display: block;
  transform: translateX(0);
}
.ef-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ef-mobile-nav li {
  border-bottom: 1px solid #e8e8e8;
}
.ef-mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #000;
  text-decoration: none;
}
body.ef-nav-open { overflow: hidden; }

/* ============================================================
   ZENDESK AGENT/ADMIN ACCOUNT DROPDOWN STYLING
   ============================================================ */
.ef-account-zd {
  display: flex;
  align-items: flex-end;
}
/* Override Zendesk's default user nav styling to match EF icon look */
.ef-account-zd .user-nav {
  display: flex;
  align-items: center;
}
.ef-account-zd .user-nav a,
.ef-account-zd .user-nav span {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: #000;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.ef-account-zd .user-nav .dropdown-menu {
  border-radius: 0;
  border: 1px solid #d8d8d8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  min-width: 160px;
  right: 0;
  left: auto;
}
.ef-account-zd .user-nav .dropdown-menu li a {
  padding: 10px 16px;
  color: #000;
  font-size: 13px;
}
.ef-account-zd .user-nav .dropdown-menu li a:hover {
  background: #f0f0f0;
  color: #000;
  text-decoration: none;
}

/* Shared icon link style */
.ef-icon-link {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  position: relative;
  line-height: 1;
}
.ef-icon-link svg {
  width: 22px;
  height: 22px;
  display: block;
}
.ef-icon-link:hover { opacity: 0.7; text-decoration: none; }

.ef-cart-link { position: relative; }


/* ============================================================
   EF LOGO IMAGE
   ============================================================ */
.ef-logo-img {
  width: 90px;
  height: auto;
  display: block;
}
@media (max-width: 991px) {
  .ef-logo-img { width: 70px; }
}

/* ============================================================
   NATIVE ZENDESK SEARCH BLOCK – styled to match EF
   ============================================================ */
.ef-search-hero .search {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
}
.ef-search-hero .search input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  color: #000;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
.ef-search-hero .search input[type="search"]::placeholder {
  color: #999;
  font-size: 14px;
}
.ef-search-hero .search input[type="submit"] {
  border: none;
  background: transparent;
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  padding: 10px 0 10px 16px;
  white-space: nowrap;
}
.ef-search-hero .search input[type="submit"]:hover {
  opacity: 0.6;
}
/* Hide the hidden utf8 input visually */
.ef-search-hero .search input[type="hidden"] {
  display: none;
}

/* ============================================================
   ZENDESK USER_INFO – styled to match EF icon look
   ============================================================ */
.ef-account-zd .user-info,
.ef-account-zd {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: #000;
  display: flex;
  align-items: flex-end;
}
.ef-account-zd .dropdown-menu {
  border: 1px solid #d8d8d8;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-size: 13px;
  min-width: 160px;
  right: 0;
  left: auto;
}
.ef-account-zd .dropdown-menu a {
  padding: 10px 16px;
  color: #000;
  font-size: 13px;
  display: block;
}
.ef-account-zd .dropdown-menu a:hover {
  background: #f0f0f0;
  text-decoration: none;
}
/* Hide the large user avatar, show just name */
.ef-account-zd #user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: middle;
}
.ef-account-zd .btn.dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  color: #000;
  font-size: 12px;
  font-family: "Untitled Sans Regular", sans-serif;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   OVERRIDE DEFAULT ZENDESK HEADER/FOOTER (hide old ones)
   ============================================================ */
.header .logo,
.header .nav-wrapper {
  display: none !important;
}
/* Keep our ef-page-header visible */
.ef-page-header { display: block !important; }

/* Hide Zendesk default footer inner, show ours */
.footer .footer-inner { display: none !important; }
.ef-page-footer { display: block !important; }

/* ============================================================
   HIDE ZENDESK DEFAULT HERO SECTION
   ============================================================ */
.section.hero { display: none !important; }

/* ============================================================
   KNOWLEDGE BASE SECTION – hide default category list
   ============================================================ */
.knowledge-base { display: none !important; }

/* ============================================================
   COMMUNITY SECTION – hide on home page
   ============================================================ */
.section.community-list { display: none !important; }


/* ============================================================
   PIXEL-PERFECT HEADER – matches locations.eileenfisher.com
   ============================================================ */

/* Wrapper gives us a clean stacking context */
.ef-navbar-wrap {
  background: #fff;
  position: relative;
  z-index: 200;
}

/* Reset any duplicate header elements Zendesk injects */
.header > *:not(.ef-page-header) { display: none !important; }
.ef-page-header { display: block !important; }

/* Nav layout – bottom-aligned like EF site */
.ef-navbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 85px;
  padding: 0 60px 0 60px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Logo – 90×44px, margin-bottom 16px to bottom-align */
.ef-logo-wrap {
  margin: 0 42px 16px 0;
  flex-shrink: 0;
}
.ef-logo-img {
  width: 90px;
  height: auto;
  display: block;
}

/* Nav links list */
.ef-nav-links {
  display: flex;
  align-items: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: 1;
}

/* Individual nav item */
.ef-nav-item {
  position: static;
}

.ef-nav-link {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  display: block;
  padding: 0 8px 20px;
  white-space: nowrap;
  position: relative;
}

/* Active underline indicator on hover */
.ef-nav-link::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.ef-nav-item:hover .ef-nav-link::after,
.ef-nav-link:hover::after {
  transform: scaleX(1);
}

/* Right icon group */
.ef-header-right {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 16px;
  margin-left: auto;
}

/* Generic icon link */
.ef-icon-link {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  line-height: 1;
}
.ef-icon-link:hover { opacity: 0.6; text-decoration: none; }

.ef-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

/* ============================================================
   MEGAMENU – hover-open, full width, 4 columns
   ============================================================ */
.ef-megamenu {
  display: none;
  position: fixed;
  top: 85px;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  z-index: 199;
  padding: 32px 60px 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Open on hover of the li */
.ef-has-mega:hover .ef-megamenu {
  display: block;
}

/* Keep megamenu open while cursor moves into it */
.ef-megamenu:hover {
  display: block;
}

.ef-mega-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 1fr;
  gap: 0 48px;
  max-width: 1200px;
}

.ef-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ef-mega-heading {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.ef-mega-col a {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: #000;
  text-decoration: none;
  padding: 5px 0;
  line-height: 1.4;
  display: block;
}
.ef-mega-col a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Backdrop dims page content when mega is open */
.ef-mega-backdrop {
  display: none;
  position: fixed;
  top: 85px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.15);
  z-index: 198;
  pointer-events: none;
}
.ef-has-mega:hover ~ .ef-mega-backdrop,
.ef-page-header:has(.ef-has-mega:hover) .ef-mega-backdrop {
  display: block;
}

/* ============================================================
   MOBILE NAV – slide in from left
   ============================================================ */
.ef-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
}

.ef-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  background: #fff;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.12);
}
.ef-mobile-nav.is-open { transform: translateX(0); }

.ef-mobile-nav-inner { padding: 24px 32px; }

.ef-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 32px;
  display: block;
}

.ef-mobile-nav ul {
  list-style: none;
  margin: 0; padding: 0;
}
.ef-mobile-nav li { border-bottom: 1px solid #e8e8e8; }
.ef-mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #000;
  text-decoration: none;
}
.ef-mobile-divider { margin-top: 16px; }

body.ef-nav-open { overflow: hidden; }

@media (max-width: 1024px) {
  .ef-nav-links { display: none; }
  .ef-nav-toggle { display: flex; align-items: flex-end; margin-bottom: 18px; }
  .ef-navbar { padding: 0 24px; }
  .ef-logo-wrap { margin-right: 0; }
}

/* ============================================================
   ZENDESK USER_INFO – pixel-matched to EF icon size
   ============================================================ */
.ef-account-zd {
  display: flex;
  align-items: center;
}
/* Strip Zendesk's default btn styling */
.ef-account-zd .btn.dropdown-toggle,
.ef-account-zd .dropdown-toggle {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: "Untitled Sans Regular", sans-serif !important;
  font-size: 12px !important;
  color: #000 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
#user-avatar.user-avatar {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50%;
  display: block;
}
.ef-account-zd .dropdown-menu {
  border: 1px solid #d8d8d8 !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
  min-width: 160px;
  right: 0;
  left: auto;
  top: 100%;
}
.ef-account-zd .dropdown-menu a {
  padding: 10px 16px;
  font-size: 13px;
  color: #000;
  display: block;
}
.ef-account-zd .dropdown-menu a:hover {
  background: #f0f0f0;
  text-decoration: none;
}

/* ============================================================
   FOOTER – pixel-perfect match to locations.eileenfisher.com
   ============================================================ */
.ef-page-footer {
  background: #fff;
  padding: 60px 60px 20px;
  border-top: 1px solid #e8e8e8;
  margin-top: 80px;
}

/* Social row – centered circles */
.ef-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.ef-footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.ef-footer-social a:hover { opacity: 0.5; text-decoration: none; }
.ef-footer-social svg { width: 15px; height: 15px; }

/* Primary nav row */
.ef-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 32px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}
.ef-footer-nav a {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
}
.ef-footer-nav a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Legal row */
.ef-footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ef-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.ef-footer-legal a {
  font-size: 11px;
  color: #000;
  text-decoration: none;
}
.ef-footer-legal a:hover { text-decoration: underline; }
.ef-footer-copyright { font-size: 11px; color: #000; }

@media (max-width: 768px) {
  .ef-page-footer { padding: 40px 20px 20px; }
  .ef-footer-nav { justify-content: center; text-align: center; gap: 16px; }
  .ef-footer-legal { flex-direction: column; align-items: center; text-align: center; }
  .ef-mega-inner { grid-template-columns: 1fr 1fr; gap: 24px 24px; }
}


/* ============================================================
   HEADER PIXEL-PERFECT FIXES
   ============================================================ */

/* Logo: match locations.eileenfisher.com exactly
   logo bottom edge = 85px - 16px margin = 69px from top
   nav text baseline = ~65px from top (85px - 20px padding)
   Add a small extra bottom-margin nudge to align baselines */
.ef-logo-wrap {
  margin: 0 42px 12px 0 !important;
}
.ef-logo-img {
  width: 90px;
  height: auto;
  display: block;
}

/* Nav link bottom padding to match locations (text sits ~20px from bottom) */
.ef-nav-link {
  padding: 0 8px 22px !important;
}
.ef-nav-link::after {
  bottom: 16px !important;
}

/* Header right – align to same baseline as nav */
.ef-header-right {
  padding-bottom: 18px !important;
}

/* Account icon: show EF account SVG inline as fallback when user_info is empty.
   Script will hide this once Zendesk populates user_info on live site. */
.ef-account-zd:empty::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 60' fill='%23000'%3E%3Cpath d='M33 2.186c-6.82 0-12.37 5.549-12.37 12.369 0 6.817 5.55 12.366 12.37 12.366 6.817 0 12.366-5.549 12.366-12.366 0-6.82-5.549-12.37-12.366-12.37zm0 20.235c-4.339 0-7.87-3.527-7.87-7.866s3.531-7.87 7.87-7.87 7.866 3.531 7.866 7.87S37.34 22.42 33 22.42zm29.25 34.065a1.2 1.2 0 01-1.2 1.2h-2.1a1.2 1.2 0 01-1.2-1.2v-4.768c0-5.506-4.464-9.97-9.97-9.97H18.22c-5.484 0-9.97 4.487-9.97 9.97v4.768a1.2 1.2 0 01-1.2 1.2h-2.1a1.2 1.2 0 01-1.2-1.2v-4.812c0-7.967 6.458-14.426 14.426-14.426H47.78c7.958 0 14.47 6.512 14.47 14.47v4.768z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
/* Link the empty account div to EF login */
.ef-account-zd:empty {
  cursor: pointer;
}

/* Cart icon: size matches locations (bag outline ~22px) */
.ef-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* ============================================================
   MEGAMENU REFINEMENTS
   ============================================================ */

/* Column heading underline border should span full width */
.ef-mega-heading {
  width: 100%;
}

/* First link in Featured is bold (New Arrivals = featured) */
.ef-mega-col:first-child a:first-of-type {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}

/* ============================================================
   FOOTER OVERRIDES – ensure no Zendesk default shows through
   ============================================================ */
.footer { display: none !important; }
footer.ef-page-footer { display: block !important; }

/* "Powered by Zendesk" badge – hide it */
.powered-by-zendesk,
[class*="powered-by"] {
  display: none !important;
}


/* ============================================================
   MEGAMENU VARIANTS
   ============================================================ */

/* 2-column: A Simple Wardrobe */
.ef-mega-2col {
  grid-template-columns: 1fr 1fr;
  max-width: 480px;
  gap: 0 64px;
}

/* Visual tiles: A Sustainable Life */
.ef-megamenu-visual .ef-mega-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 8px 0;
}

.ef-mega-visual {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 8px 0;
}

.ef-visual-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000;
  gap: 12px;
  transition: opacity 0.2s;
}
.ef-visual-tile:hover { opacity: 0.7; text-decoration: none; }

/* Circular image container – matches the white-bg-circle on locations */
.ef-visual-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #e8e4df;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

/* White inner cutout circle (locations uses this layered effect) */
.ef-visual-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
}

/* Individual circle bg tones to differentiate (neutral tones matching EF palette) */
.ef-visual-circle--journal    { background-color: #c9b99a; }
.ef-visual-circle--firstlife  { background-color: #b8c4b8; }
.ef-visual-circle--renew      { background-color: #c4bcb0; }
.ef-visual-circle--waste      { background-color: #d4cfc8; }

.ef-visual-label {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  text-align: center;
  margin: 0;
}
.ef-visual-sublabel {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: -8px 0 0;
}

/* ============================================================
   MEGAMENU GRID OVERRIDES – precise column ratios per nav item
   ============================================================ */

/* Shop: 4 cols with wider Clothing column */
.ef-mega-4col {
  grid-template-columns: 0.8fr 1.4fr 1.1fr 0.8fr;
  gap: 0 56px;
  max-width: 1100px;
}

/* ============================================================
   PIXEL-PERFECT HEADER SPACING FIXES
   ============================================================ */

/* Ensure sticky header sits above megamenu */
.ef-page-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

/* Zendesk preview toolbar offset – push content down so our header isn't hidden */
body { padding-top: 0; }

/* Megamenu should appear directly below the 85px header */
.ef-megamenu {
  top: 85px;
}

/* Active nav link underline state */
.ef-nav-item:hover > .ef-nav-link {
  text-decoration: none;
}
.ef-nav-item:hover > .ef-nav-link::after {
  transform: scaleX(1);
}

/* ============================================================
   HEADER SPACING – match locations.eileenfisher.com exactly
   85px total height, logo bottom-aligned with nav text
   ============================================================ */
.ef-navbar {
  height: 85px;
  padding: 0 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Logo: 90px wide, sits with 16px margin from bottom = bottom at 69px */
.ef-logo-wrap {
  margin: 0 42px 16px 0;
  flex-shrink: 0;
}

/* Nav links bottom-align: 20px padding-bottom so text baseline at ~65px */
.ef-nav-links {
  flex: 1;
  display: flex;
  align-items: flex-end;
  list-style: none;
  margin: 0; padding: 0;
}
.ef-nav-link {
  padding: 0 8px 20px;
}

/* Right icons: 18px from bottom */
.ef-header-right {
  padding-bottom: 18px;
  margin-left: auto;
}

/* ============================================================
   SEARCH RESULT PAGE + ARTICLE PAGE FIXES
   ============================================================ */
.page-header + * { margin-top: 0; }

/* Breadcrumbs */
nav.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
  gap: 6px;
  font-size: 12px;
  color: #666;
}
nav.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #999; }
nav.breadcrumbs a { color: #666; text-decoration: none; }
nav.breadcrumbs a:hover { text-decoration: underline; }


/* ============================================================
   MOBILE RESPONSIVE – FINAL OVERRIDES (must be last)
   These !important rules override any earlier base declarations
   ============================================================ */

/* Hide desktop nav links on mobile, show hamburger */
@media (max-width: 1024px) {
  .ef-nav-links {
    display: none !important;
  }
  .ef-nav-toggle {
    display: flex !important;
    align-items: center;
    margin-bottom: 16px;
  }
  .ef-navbar {
    padding: 0 20px !important;
    height: 70px !important;
  }
  .ef-logo-wrap {
    margin: 0 0 10px 0 !important;
  }
  .ef-logo-img {
    width: 72px !important;
  }
  .ef-header-right {
    padding-bottom: 12px !important;
    gap: 16px !important;
  }
  /* Megamenu never shows on mobile (use drawer instead) */
  .ef-megamenu {
    display: none !important;
  }
  /* Mobile nav full height from header bottom */
  .ef-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 85vw;
    max-width: 320px;
  }
}

/* Phones (max 767px) - tighten spacing further */
@media (max-width: 767px) {
  .ef-navbar {
    height: 65px !important;
  }
  /* Tile grid: 2 columns on phone */
  .ef-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 16px !important;
  }
  /* Contact card */
  .ef-contact-card {
    margin: 0 16px !important;
    padding: 24px 20px !important;
  }
  /* Search hero */
  .ef-search-hero {
    padding: 32px 16px 24px !important;
  }
  /* Footer */
  .ef-page-footer {
    padding: 40px 20px 20px !important;
  }
  .ef-footer-nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center !important;
  }
  .ef-footer-legal {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .ef-footer-legal-links {
    justify-content: center !important;
    gap: 12px !important;
  }
  .ef-footer-social {
    gap: 10px !important;
  }
  .ef-footer-social a {
    width: 32px !important;
    height: 32px !important;
  }
}

/* Restore desktop nav on wide screens */
@media (min-width: 1025px) {
  .ef-nav-links {
    display: flex !important;
  }
  .ef-nav-toggle {
    display: none !important;
  }
  .ef-mobile-nav {
    display: none !important;
  }
  .ef-mobile-nav.is-open {
    display: block !important;
  }
}


/* ============================================================
   ARTICLE PAGE – On-brand EF layout
   ============================================================ */

/* Page wrapper */
.ef-article-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 60px 80px;
}

/* Breadcrumbs */
.ef-breadcrumbs {
  margin-bottom: 32px;
  font-size: 12px;
  color: #666;
}
.ef-breadcrumbs ol, .ef-breadcrumbs ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.ef-breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.ef-breadcrumbs li + li::before { content: "/"; color: #ccc; }
.ef-breadcrumbs a { color: #666; text-decoration: none; }
.ef-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 2px; }
.ef-breadcrumbs [aria-current="page"] { color: #000; }

/* 2-column layout: sidebar left, article right */
.ef-article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 64px;
  align-items: start;
}

/* Sidebar */
.ef-article-sidebar {
  position: sticky;
  top: 100px;
}
.ef-sidebar-heading {
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e8e8;
}
.ef-sidebar-list {
  list-style: none;
  padding: 0; margin: 0;
}
.ef-sidebar-item {
  border-bottom: 1px solid #f0f0f0;
}
.ef-sidebar-item a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  line-height: 1.4;
}
.ef-sidebar-item a:hover { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.ef-sidebar-item.is-active a {
  color: #000;
  font-family: "Untitled Sans Medium", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}

/* Article */
.ef-article {
  min-width: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 48px 56px;
}

/* Article title */
.ef-article-title {
  font-family: "Untitled Sans Regular", "Helvetica Neue", Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: #000;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

/* Meta – author + date, small and subtle */
.ef-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
  margin-bottom: 36px;
}
.ef-article-sep { color: #ccc; }
.ef-article-author { font-family: "Untitled Sans Regular", sans-serif; }
.ef-article-date, .ef-article-updated { }

/* Article body */
.ef-article-body {
  font-size: 15px;
  line-height: 1.75;
  color: #222;
}
.ef-article-body p { margin: 0 0 18px; }
.ef-article-body h2 {
  font-family: "Untitled Sans Medium", sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin: 36px 0 14px;
  color: #000;
}
.ef-article-body h3 {
  font-family: "Untitled Sans Medium", sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin: 28px 0 10px;
  color: #000;
}
.ef-article-body ul, .ef-article-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}
.ef-article-body li { margin-bottom: 8px; }
.ef-article-body a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ef-article-body a:hover { opacity: 0.6; }
.ef-article-body strong, .ef-article-body b {
  font-family: "Untitled Sans Medium", sans-serif;
  font-weight: 500;
}
.ef-article-body hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 32px 0;
}

/* Article footer – vote + follow */
.ef-article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ef-article-vote, .ef-article-follow {
  font-size: 13px;
  color: #666;
}
/* Style the default Zendesk vote buttons */
.ef-article-vote .article-vote { display: flex; gap: 12px; align-items: center; }
.ef-article-vote .button-vote {
  font-family: "Untitled Sans Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ef-article-vote .button-vote:hover { background: #000; color: #fff; }
/* Style the Follow button */
.ef-article-follow .button { 
  font-family: "Untitled Sans Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  background: transparent;
  border: 1px solid #ccc;
  color: #666;
  padding: 8px 16px;
  cursor: pointer;
}

/* Comments */
.ef-article-comments { margin-top: 48px; }
.ef-article-comments .comments-list { list-style: none; padding: 0; margin: 0; }
.ef-article-comments .comment {
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  line-height: 1.6;
}

/* Hide Zendesk default article layout elements */
.article-container .article-sidebar { display: block !important; }
.article-container .article:not(.ef-article) { padding: 0 !important; }
.sidenav-title { display: block !important; }
.collapsible-sidebar { display: block !important; }
.article-header { display: none !important; }
.article-author { display: none !important; }

/* Mobile */
@media (max-width: 768px) {
  .ef-article-page { padding: 24px 16px 60px; }
  .ef-article-layout { grid-template-columns: 1fr; gap: 0; }
  .ef-article-sidebar { position: static; margin-bottom: 32px; }
  .ef-article { padding: 28px 24px; }
  .ef-article-title { font-size: 22px; }
  .ef-article-body { font-size: 14px; }
}
