header .member-header{display:flex!important;flex:0 0 auto;margin-left:0;text-align:center;white-space:nowrap;font-size:12px}header .member-header a{display:flex;flex-direction:column;justify-content:center;min-height:44px;padding:4px 10px;border-inline:1px solid #d8d2ca;color:#194e69;text-decoration:none;line-height:1.4}header .member-header strong{font-weight:600}header .member-header small{display:block;font-size:11px;font-weight:400}header .member-header a:focus-visible{outline:2px solid #194e69;outline-offset:3px}@media(max-width:680px){header{gap:8px!important;padding-inline:12px!important}header .brand{width:clamp(76px,25vw,125px);min-width:0;flex:1 1 auto;margin-right:auto}header .brand img{width:100%;max-width:125px;height:auto}header .member-header{font-size:clamp(10px,2.8vw,12px)}header .member-header a{padding-inline:6px}header .member-header small{font-size:10px}header .cart-toggle,header .menu-toggle{flex-shrink:0;font-size:12px;min-height:44px}header .cart-toggle span{margin-left:4px}} 
/* Larger Menu tap target */
header .menu-toggle{background:#194e69!important;color:#fff!important;border:0!important;border-radius:5px;min-width:68px;min-height:48px;padding:12px 14px!important;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;touch-action:manipulation;line-height:1.2}
header .menu-toggle:focus-visible{outline:3px solid #b68d4a;outline-offset:3px}
@media(max-width:680px){header{padding-right:max(16px,env(safe-area-inset-right))!important}header .menu-toggle{min-width:64px;padding:12px 10px!important}}

/* Account label spacing inside the expanded menu */
.mobile-menu [data-member-nav]{display:block;width:100%}
.mobile-menu [data-member-nav] a{display:flex;flex-direction:column;align-items:flex-start;gap:6px;line-height:1.4;min-height:44px}
.mobile-menu [data-member-nav] strong{display:block}
.mobile-menu [data-member-nav] small{display:block;font-size:14px;font-weight:400;line-height:1.4}

/* Account link as dark-blue text, without a filled block; search and menu unchanged. */
header .member-header{min-width:0;white-space:normal}
header .member-header a{color:#194e69!important;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;box-sizing:border-box;text-decoration:none!important}
header .member-header strong{font-size:16px;line-height:1.16;font-weight:700}
header .member-header small{font-size:13px;line-height:1.2;font-weight:600}
header .member-header a:focus-visible{outline:3px solid #b68d4a;outline-offset:3px}
@media(max-width:680px){header .member-header{flex:0 1 132px}header .member-header a{padding-inline:6px}header .member-header strong{font-size:13px}header .member-header small{font-size:12px}}
@media(max-width:360px){header .member-header{flex-basis:118px}header .member-header strong{font-size:12px}header .member-header small{font-size:11px}}

header button.menu-toggle {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 !important;
  background: transparent !important;
  color: #1c343d !important;
  border: 0 !important;
  box-shadow: none;
}
header button.menu-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
}


/* LeeKraftz desktop storefront refinement — 2026-11-06 */
/* Desktop header is now a balanced two-level storefront navigation.
   Phone rules at 700px and below are intentionally untouched. */
@media (min-width:1001px) {
  header {
    height:auto !important;
    min-height:0;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-areas:'logo account cart' 'navigation navigation navigation';
    align-items:center;
    gap:4px 24px;
    padding:12px clamp(24px,5vw,88px) 0;
    background:#fffdf9;
  }
  header > .brand { grid-area:logo; width:184px; max-width:100%; height:72px; margin:0; display:flex; align-items:center; overflow:hidden; }
  header > .brand img { width:184px; max-width:100%; height:auto; object-fit:contain; }
  header > nav[aria-label='Main navigation'] {
    grid-area:navigation;
    width:100%;
    display:flex !important;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:4px clamp(13px,1.5vw,26px) !important;
    min-height:52px;
    padding:11px 6px 13px;
    border-top:1px solid #e7dfd3;
    font-size:12px;
    line-height:1.45;
    text-align:center;
  }
  header > nav[aria-label='Main navigation'] a { display:inline-flex;align-items:center;min-height:30px;font-weight:600; }
  header > .member-header { grid-area:account; justify-self:end; margin:0; }
  header > .cart-toggle { grid-area:cart; justify-self:end; padding:10px 4px; white-space:nowrap; }
  header button.menu-toggle { display:none !important; }
  .site-search-wrap .site-search-row { display:flex; align-items:stretch; }
  .site-search-wrap .site-search-row input,
  .site-search-wrap .site-search-row button { min-height:48px; height:48px; box-sizing:border-box; line-height:1.25; margin:0; }
  .site-search-wrap .site-search-row button { display:inline-flex; align-items:center; justify-content:center; }
  .topline { display:flex;align-items:center;justify-content:center;min-height:34px;padding:7px 14px;line-height:1.4; }
}
/* Homepage-only desktop refinements. */
@media (min-width:701px) {
  .leekraftz-home .welcome-hero {
    width:100%;
    max-width:1440px;
    grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
    gap:clamp(20px,3vw,48px);
    padding:clamp(28px,4vw,56px) clamp(30px,5vw,72px);
    align-items:center;
    box-sizing:border-box;
  }
  .leekraftz-home .welcome-copy { padding:12px 0; }
  .leekraftz-home .welcome-copy h1 { font-size:clamp(42px,4.3vw,68px); max-width:620px; line-height:1.08; }
  .leekraftz-home .welcome-copy p { max-width:525px; }
  .leekraftz-home .welcome-art { width:100%; margin:0; padding:0; min-width:0; }
  .leekraftz-home .welcome-looms-frame { margin:0 auto; max-width:700px; }
  .leekraftz-home .welcome-art .home-account-entry { display:none; }
  .leekraftz-home .welcome-art .home-member-invite { display:none; }
  .leekraftz-home .home-departments,
  .leekraftz-home .home-extras { max-width:1440px; }
  .leekraftz-home .home-departments { padding-top:58px; padding-bottom:52px; }
  .leekraftz-home .department-grid { gap:24px; align-items:stretch; }
  .leekraftz-home .department-grid > .department-card { display:flex; flex-direction:column; min-width:0; min-height:0; }
  .leekraftz-home .department-grid > .department-card:first-child::before {
    content:''; display:block; flex:0 0 225px; height:225px;
    background:#f8f6ef url('assets/home-needles-shuttles.svg') center / contain no-repeat;
    border-bottom:1px solid #eee4d7;
  }
  .leekraftz-home .department-grid .department-photo { height:225px; flex:0 0 225px; }
  .leekraftz-home .department-grid .department-copy { display:flex; flex:1; flex-direction:column; padding:26px 28px; }
  .leekraftz-home .department-grid .department-copy h3 { font-size:clamp(25px,2.2vw,31px); line-height:1.2; }
  .leekraftz-home .department-grid .department-cta { margin-top:auto; }
  .leekraftz-home .home-extras { padding-top:20px; padding-bottom:32px; }
  .leekraftz-home #marketplace-shopping { margin:0; padding-top:12px; }
  .leekraftz-home .home-art-feature { padding-top:55px; padding-bottom:55px; }
  .leekraftz-home .home-quality-note { padding-top:30px; padding-bottom:30px; }
}
@media (min-width:1120px) {
  .leekraftz-home .home-extras .compact-home-links { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
  .leekraftz-home .home-extras .compact-home-links article {
    background:#fffdf9; border:1px solid #e5daca; border-radius:5px;
    min-height:172px; padding:22px; display:flex;flex-direction:column;
  }
  .leekraftz-home .home-extras .compact-home-links article a:first-of-type { align-self:flex-start; margin-top:auto; }
}
