
/* Phone layout for the front page. The banner and the two looms use the original shop photography. */
.home-banner-link { display: block; width: 100%; height: 100%; }
.mobile-home-label, .mobile-loom-feature { display: none; }

@media (max-width: 700px) {
  .leekraftz-home .homepage-top-banner {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-top: 8px !important;
    aspect-ratio: 3 / 1;
  }
  .leekraftz-home .homepage-top-banner img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 158% !important;
    max-width: none !important;
    height: auto !important;
    transform: translate(-50%, -50%);
  }
  .leekraftz-home .homepage-top-banner::after { display: none; }
  .leekraftz-home .site-search-wrap { padding: 8px 16px; }
  .leekraftz-home .site-search-wrap label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  .leekraftz-home .site-search-row input,
  .leekraftz-home .site-search-row button {
    min-height: 44px; box-sizing: border-box; font-size: 16px;
  }
  .leekraftz-home .site-search-row input { padding: 8px 12px; }
  .leekraftz-home .topline { font-size: 10px; line-height: 1.4; padding: 5px 8px; letter-spacing: .04em; }
  .leekraftz-home header { height: auto; min-height: 54px; gap: 8px; }
  .leekraftz-home header .brand { width: auto; min-width: 44px; flex: 1 1 auto; margin-right: auto; }
  .leekraftz-home header .brand img { display: none; }
  .mobile-home-label {
    display: inline-flex; align-items: center; min-height: 44px;
    font: 600 14px/1.3 Arial, sans-serif; color: #194e69;
  }
  .leekraftz-home header .member-header { flex: 0 1 144px; }
  .leekraftz-home .welcome-art { padding: 12px 16px 0; }
  .welcome-art .welcome-looms-frame {
    width: 100%; aspect-ratio: auto; container-type: normal; overflow: hidden;
    padding: 12px 16px 16px; background: #fff; border: 1px solid #e0d7c9; text-align: center;
  }
  .welcome-art .welcome-looms-frame .welcome-looms-banner { display: none !important; }
  .mobile-loom-feature { display: block; }
  .mobile-loom-pair { display: flex; justify-content: center; gap: 8px; }
  .mobile-loom-pair span {
    display: block; width: clamp(78px,24vw,108px); aspect-ratio: .645;
    background-image: url("https://static.wixstatic.com/media/6429ff_c82822af13e041979ddac3d0237cbabc~mv2.png");
    background-size: auto 100%; background-repeat: no-repeat;
  }
  .mobile-loom-pair span:first-child { background-position: left center; }
  .mobile-loom-pair span:last-child { background-position: right center; clip-path: inset(0 0 0 3%); }
  .mobile-loom-feature h2 {
    margin: 10px auto 6px; color: #153b50;
    font: 600 clamp(24px,6vw,30px)/1.12 Georgia, serif; letter-spacing: -.025em; text-wrap: balance;
  }
  .mobile-loom-feature p {
    margin: 0 auto 14px; max-width: 34ch; color: #40392f; font: 16px/1.45 Arial, sans-serif;
  }
  .welcome-art .welcome-looms-shop-link {
    position: static; width: 100%; height: auto; min-height: 48px; border-radius: 5px;
    padding: 10px 14px; font: 700 16px/1.3 Arial, sans-serif;
    text-transform: none; white-space: normal; gap: 10px;
  }
}

@media (max-width: 700px) {
  .leekraftz-home::before {
    content: "";
    display: block;
    height: 14px;
    background: url("assets/woven-header-strip.svg") center / 100% 100% no-repeat;
    pointer-events: none;
  }
}

.mobile-category-section, .home-cart-icon { display: none; }

@media (max-width: 700px) {
  .leekraftz-home .homepage-top-banner { display: none !important; }
  .leekraftz-home header { padding: 8px 16px !important; min-height: 68px; }
  .leekraftz-home header .brand { height: 48px; }
  .leekraftz-home header .brand picture { display: flex; align-items: center; }
  .leekraftz-home header .brand img { display: block; width: clamp(122px, 36vw, 155px); max-width: 100%; height: auto; }
  .leekraftz-home header .mobile-home-label,
  .leekraftz-home header .member-header { display: none !important; }
  .leekraftz-home .cart-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; color: #1c343d; }
  .home-cart-icon { display: block; }
  .leekraftz-home .cart-toggle .home-cart-label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .leekraftz-home .cart-toggle #cart-count { position: absolute; right: 1px; top: 3px; min-width: 16px; padding: 1px 3px; line-height: 14px; margin: 0; border: none; border-radius: 20px; background: #194b61; color: white; font-size: 10px; }
  .leekraftz-home .site-search-wrap { padding: 6px 16px 10px; background: #fffdf9; }
  .mobile-category-section { display: block; padding: 22px 0 18px; }
  .mobile-category-section h2 { margin: 0 0 12px; color: #153b50; font: 600 clamp(23px, 5.5vw, 28px)/1.15 Georgia, serif; }
  .mobile-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .mobile-category-grid a { color: #193c4b; min-width: 0; display: block; text-decoration: none; text-align: center; }
  .mobile-category-grid img { display: block; width: 100%; aspect-ratio: 22 / 15; height: auto; background: #fff; border: 1px solid #dcd3c6; border-radius: 8px; box-shadow: none; }
  .mobile-category-grid span { display: block; margin-top: 6px; font: 600 15px/1.35 Arial, sans-serif; }
  .mobile-category-grid a:focus-visible { outline: 3px solid #194b61; outline-offset: 3px; border-radius: 8px; }
  .welcome-art .home-member-invite { border-top: 1px solid #d9cdbd; }
}

/* Oak blanks teaser occupies the marked space directly below Misfits on mobile. */
@media (max-width:700px) {
 .mobile-category-grid .lk-misfits-and-oak {min-width:0;display:flex;flex-direction:column;gap:18px;align-self:start;}
 .mobile-category-grid .lk-oak-blanks-preview {min-width:0;text-align:center;color:#193c4b;}
 .mobile-category-grid .lk-oak-blanks-preview img {display:block;width:100%;height:auto;aspect-ratio:22 / 12.5;object-fit:cover;object-position:center;background:#fff;border:1px solid #dcd3c6;border-radius:8px;}
 .mobile-category-grid .lk-oak-blanks-preview strong {display:block;font:600 15px/1.35 Arial,sans-serif;margin-top:6px;}
 .mobile-category-grid .lk-oak-blanks-preview span {display:block;font:500 11px/1.3 Arial,sans-serif;margin-top:2px;}
 .mobile-category-grid .lk-oak-blanks-preview small {display:block;font:600 11px/1.3 Arial,sans-serif;margin-top:5px;color:#52615c;}
}
