/* Desktop marketplace entry and shared partnership/footer sections. */
.entry-categories { display: none; }
.entry-home-actions { margin-inline-start: auto; }
.entry-header-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; border-radius: 999px; padding: .45rem .9rem; background: #fff;
  color: #102044; font-size: 1rem; font-weight: 740;
}
.entry-header-pill:hover { background: #f1f7ff; color: var(--blue); }
.entry-account span { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry-partners {
  display: none;
  position: relative; isolation: isolate; background: linear-gradient(180deg,#e1eeff 0%,#fff 100%);
  color: #102044; text-align: center; margin-top: clamp(48px,7vw,110px); padding-bottom: clamp(36px,5vw,80px);
}
.entry-partner-wave {
  position: absolute; inset: auto 0 calc(100% - 1px); width: 100%; height: clamp(42px,6.4vw,90px);
  fill: #e1eeff; z-index: -1; pointer-events: none;
}
.entry-partner-inner { width: min(100% - 40px,1320px); margin: 0 auto; padding: .15rem 0 1rem; }
.entry-together { width: clamp(75px,8vw,130px); height: auto; display: block; margin: -45px auto .85rem; }
.entry-partners h2 { margin: 0 0 clamp(1.6rem,3.9vw,3.8rem); font-size: clamp(1.95rem,3.5vw,3.4rem); letter-spacing: -.045em; }
.entry-partner-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px,4vw,76px); }
.entry-partner-grid article { min-width: 0; }
.entry-partner-photo { position: relative; isolation: isolate; width: min(84%,290px); margin: 0 auto 1.2rem; }
.entry-partner-photo::before {
  content: ''; position: absolute; z-index: -1; inset: -3% 3% 4% -6%;
  border-radius: 61% 39% 52% 48% / 47% 53% 47% 53%; background: #0a55cc; transform: rotate(-15deg);
}
.entry-partner-grid article:nth-child(2) .entry-partner-photo::before { inset: -4% -6% 1% 4%; transform: rotate(15deg); }
.entry-partner-grid article:nth-child(3) .entry-partner-photo::before { inset: -5% 7% 3% -6%; transform: rotate(-24deg); }
.entry-partner-photo img {
  width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: center 41%;
  border-radius: 58% 42% 46% 54% / 49% 50% 50% 51%;
}
.entry-partner-grid article:nth-child(2) img { border-radius: 59% 41% 49% 51% / 53% 45% 55% 47%; }
.entry-partner-grid article:nth-child(3) img { border-radius: 44% 56% 53% 47% / 54% 54% 46% 46%; }
.entry-partner-grid h3 { font-size: clamp(1.32rem,2.3vw,2.4rem); line-height: 1.17; margin: 0; }
.entry-partner-grid p { color: #314d76; font-size: 1rem; margin: .65rem auto .95rem; max-width: 32ch; }
.entry-cta { display: inline-flex; align-items: center; justify-content: center; font-weight: 720; border: 1px solid #b7cef3; color: #0a55cc; background: #fff; border-radius: 999px; min-height: 44px; padding: .5rem 1.05rem; }
.entry-cta:hover { border-color: #0a55cc; background: #eff5ff; }
.entry-footer { position: relative; isolation: isolate; margin-top: clamp(48px,7vw,110px); background: #0b234f; color: #fff; }
.entry-footer::before {
  content: ''; position: absolute; z-index: -1; inset: auto 0 calc(100% - 1px); height: clamp(27px,4.3vw,74px);
  border-radius: 50% 50% 0 0/100% 100% 0 0; background: #0b234f; pointer-events: none;
}
.entry-footer-inner { width: min(100% - 48px,1480px); margin: auto; padding: 2rem 0 2.5rem; }
.entry-footer-logo { display: inline-flex; width: clamp(112px,10vw,165px); border-radius: 10px; background: #fff; padding: .45rem .7rem; }
.entry-footer-logo img { height: auto; }
.entry-footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; margin-top: clamp(1.9rem,4vw,4.8rem); text-align: center; }
.entry-footer-grid section { display: grid; justify-items: center; align-content: start; gap: .7rem; min-width: 0; }
.entry-footer h2 { color: #fff; font-size: clamp(1rem,1.45vw,1.36rem); line-height: 1.15; margin: 0 0 .25rem; }
.entry-footer-grid button:not(.landing-pill),.entry-footer-grid a:not(.entry-header-pill),.entry-footer-grid p { padding: .2rem 0; color: #e5efff; font-size: .96rem; }
.entry-footer-grid button:hover,.entry-footer-grid a:hover { text-decoration: underline; text-underline-offset: .22em; }
.entry-footer-grid .entry-footer-shop { font-weight: 740; }
.entry-footer-tagline { text-align: center; color: #d4e5ff; margin-top: 2.25rem; font-size: .875rem; }
.entry-dialog { width: min(440px,calc(100% - 28px)); border: 0; }
.entry-dialog .modalbody { padding: clamp(19px,5vw,28px); }
.entry-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .85rem; }
.entry-dialog-head h2 { margin: 0; font-size: clamp(1.4rem,4.5vw,1.9rem); line-height: 1.15; }
.entry-dialog-head .circle { flex: none; }
.entry-dialog .field { margin: 1.1rem 0; }
.entry-dialog .field input,.entry-dialog .field select { font-size: 1rem; min-height: 46px; }
.entry-dialog .primary { border-radius: 999px; min-height: 45px; }
@media (max-width: 600px) {
  .entry-partner-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .entry-partner-photo { width: min(53%,210px); }
  .entry-footer-inner { width: calc(100% - 40px); }
  .entry-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); text-align: start; gap: 1.75rem 1rem; }
  .entry-footer-grid section { justify-items: start; }
}
@media (min-width: 850px) {
  .landing .entry-partners { display: block; }
  .shopper.page-home .topbar,.page-home .market-welcome { background: #dceaff; }
  .shopper.page-home .topbar-inner { max-width: 1740px; gap: clamp(14px,4vw,65px); }
  .shopper.page-home .topbar .mobilelogo { width: clamp(104px,10vw,160px); }
  .shopper.page-home .topbar .location { display: flex; background: #fff; color: #102044; font-size: 1.02rem; padding: .6rem .95rem; }
  .shopper.page-home .topbar .location small,.shopper.page-home .topbar .location br { display: none; }
  .shopper.page-home .topbar .location > svg:last-child { transform: rotate(90deg); }
  .entry-home-actions { display: flex; align-items: center; gap: .55rem; }
  .page-home .market-welcome { padding-top: clamp(80px,8.4vw,152px); padding-bottom: clamp(115px,10vw,192px); }
  .page-home .market-welcome h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .page-home .market-welcome .catgrid { display: none; }
  .entry-categories { width: min(100%,1315px); margin: 0 auto; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(.3rem,2vw,2rem); }
  .entry-category { min-width: 0; display: flex; flex-direction: column; align-items: center; color: #102044; }
  .entry-medallion {
    display: grid; place-items: center; width: clamp(86px,9vw,158px); aspect-ratio: 1;
    background: white; border: 2px solid #9fbff0; border-radius: 52% 48% 46% 54% / 48% 51% 49% 52%;
    box-shadow: 0 0 0 clamp(4px,.55vw,10px) #c4dbfc;
  }
  .entry-category:nth-child(even) .entry-medallion { border-radius: 48% 52% 54% 46% / 46% 50% 50% 54%; }
  .entry-category svg { width: 66%; height: auto; }
  .entry-category strong {
    position: relative; margin-top: -10px; border: 2px solid #9fbff0; border-radius: 999px; background: white;
    max-width: 100%; padding: .38rem .65rem; font-weight: 640; font-size: clamp(.8rem,1.18vw,1.18rem); line-height: 1.16;
  }
  .entry-category:hover .entry-medallion,.entry-category:hover strong { border-color: #0a55cc; }
  .page-home .market-welcome::after { height: clamp(26px,3.5vw,64px); }
  .page-home .market-home-search {
    display: flex; position: absolute; bottom: 4px; left: 50%; translate: -50% 0; z-index: 1;
    align-items: center; gap: .65rem; width: min(86%,850px); max-width: 850px; margin: 0;
  }
  .market-home-search .search { flex: 1; min-height: clamp(45px,4.5vw,68px); background: #f4f7fc; }
  .market-home-search .search input { font-size: clamp(1rem,1.5vw,1.35rem); }
  .market-home-search .primary { border-radius: 999px; min-height: clamp(42px,3.7vw,55px); padding-inline: 1.3rem; }
  .page-home main > .entry-partners { margin-inline: -24px; max-width: none; }
  .page-home .basefoot { display: none; }
}
@media (min-width: 850px) {
  .entry-medallion { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .entry-category strong { transition: transform .25s ease, border-color .25s ease; }
  .entry-category svg { transform-origin: 50% 75%; animation: entry-icon-float 3s ease-in-out 2; }
  .entry-category:nth-child(2) svg { animation-delay: .15s; }
  .entry-category:nth-child(3) svg { animation-delay: .3s; }
  .entry-category:nth-child(4) svg { animation-delay: .45s; }
  .entry-category:nth-child(5) svg { animation-delay: .6s; }
  .entry-category:nth-child(6) svg { animation-delay: .75s; }
  .entry-category:focus-visible .entry-medallion { transform: translateY(-6px); border-color: var(--blue); }
  .entry-category:focus-visible svg { animation: entry-icon-wave .65s ease-in-out; }
}
@media (min-width: 850px) and (hover: hover) and (pointer: fine) {
  .entry-category:hover .entry-medallion { transform: translateY(-6px) rotate(-3deg); box-shadow: 0 0 0 8px #b6d4fc, 0 12px 22px #12397418; }
  .entry-category:nth-child(even):hover .entry-medallion { transform: translateY(-6px) rotate(3deg); }
  .entry-category:hover strong { transform: translateY(-2px); }
  .entry-category:hover svg { animation: entry-icon-wave .65s ease-in-out; }
}
@keyframes entry-icon-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(2deg); }
}
@keyframes entry-icon-wave {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-9deg); }
  65% { transform: rotate(7deg); }
}
@media (prefers-reduced-motion: reduce) {
  .entry-category, .entry-category .entry-medallion, .entry-category strong { transition: none; transform: none; }
  .entry-category svg { animation: none !important; }
}
.reduce-motion .entry-category svg { animation: none !important; }
.reduce-motion .entry-category .entry-medallion, .reduce-motion .entry-category strong { transition: none; transform: none; }
