/* STELLA Staff footer concept 04 — Monogram House (desktop only).
   Reuses the real Stella wordmark image and original functional links/form/socials.
   CSS-only reorder: no React DOM moves, no CMS/public/visitor changes. */
@media (min-width: 1024px) {
  .stella-store .store-footer {
    --stella-monogram-rail: clamp(184px, 16.6vw, 254px);
    --stella-monogram-pad: clamp(28px, 3.1vw, 54px);
    background: #0b0b0c;
    padding: 0 !important;
    border-color: #201b1b;
  }
  .stella-store .store-footer .footer-layout {
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 300px;
    padding: 0 var(--stella-monogram-pad) 0
      calc(var(--stella-monogram-rail) + var(--stella-monogram-pad));
  }
  .stella-store .store-footer .footer-layout::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: 0;
    left: 0;
    width: var(--stella-monogram-rail);
    background: #151517;
    pointer-events: none;
  }
  /* Primary navigation forms the upper-right horizontal block. */
  .stella-store .store-footer .footer-layout > .footer-main {
    position: static;
    order: 0;
    display: grid;
    grid-template-columns: 1fr 1fr minmax(0, 1.25fr);
    gap: clamp(17px, 2.8vw, 54px);
    width: 100%;
    max-width: none;
    align-items: start;
    border: 0;
    margin: 0;
    padding: clamp(24px, 2.2vw, 34px) 0 clamp(21px, 2.2vw, 30px);
  }
  /* Original Stella logo asset, cropped to reveal the authentic S. */
  .stella-store .store-footer .footer-main > .footer-wordmark {
    position: absolute;
    top: clamp(28px, 2.8vw, 44px);
    left: calc((var(--stella-monogram-rail) - clamp(106px, 9vw, 140px))/2);
    z-index: 2;
    display: block;
    overflow: hidden;
    width: clamp(106px, 9vw, 140px);
    height: auto;
    aspect-ratio: 250 / 380;
    padding: 0;
    margin: 0;
    border: 0;
  }
  .stella-store .store-footer .footer-main > .footer-wordmark > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 675%;
    max-width: none;
    height: auto;
    object-fit: initial;
  }
  .stella-store .store-footer .footer-main > .footer-menu {
    min-width: 0;
  }
  .stella-store .store-footer .footer-main > .footer-menu:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }
  .stella-store .store-footer .footer-main > .footer-menu:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
  .stella-store .store-footer .footer-main > .staff-footer-listino-menu {
    grid-column: 3;
    grid-row: 1;
  }
  .stella-store .store-footer .footer-main h2 {
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 750;
  }
  .stella-store .store-footer .footer-main .footer-menu > a {
    display: block;
    margin: 7px 0;
    font-size: clamp(11px, 1.02vw, 14px);
    line-height: 1.35;
    white-space: normal;
    color: #c7c2c1;
  }

  /* Newsletter sits beneath navigation, not above it. */
  .stella-store .store-footer .footer-layout > .stay-in-touch {
    position: static;
    order: 1;
    width: 100%;
    margin: 0;
    padding: 15px 0 17px;
    border-top: 1px solid #3b3332;
    background: transparent;
  }
  .stella-store .store-footer .stay-in-touch-inner {
    position: static;
    display: grid;
    grid-template-columns: minmax(150px, .69fr) minmax(0, 2fr);
    gap: clamp(14px, 2vw, 30px);
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .stella-store .store-footer .stay-in-touch-copy .eyebrow {
    color: #d0aa95;
    font-size: 9px;
    letter-spacing: .12em;
    margin: 0 0 5px;
  }
  .stella-store .store-footer .stay-in-touch-copy h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(22px, 2.2vw, 31px);
    font-weight: 400;
    font-style: normal;
    letter-spacing: -.04em;
    white-space: nowrap;
    line-height: 1.04;
    margin: 0 0 5px;
  }
  .stella-store .store-footer .stay-in-touch-copy > p:last-child {
    color: #aca6a5;
    font-size: 10px;
    line-height: 1.35;
  }
  .stella-store .store-footer .stay-in-touch-form {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr) minmax(108px,.82fr);
    align-items: center;
    gap: clamp(6px, .8vw, 11px);
    width: 100%;
    min-width: 0;
  }
  .stella-store .store-footer .stay-in-touch-form label:nth-child(3),
  .stella-store .store-footer .stay-in-touch-form > button {
    grid-column: auto;
  }
  .stella-store .store-footer .stay-in-touch-form input,
  .stella-store .store-footer .stay-in-touch-form button {
    min-height: 42px;
    height: 42px;
    font-size: 11px;
    border-radius: 6px;
  }
  .stella-store .store-footer .stay-in-touch-form input {padding: 9px 11px;}
  .stella-store .store-footer .stay-in-touch-form button {
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 14px;
    letter-spacing: .02em;
  }
  .stella-store .store-footer .stay-in-touch-form > button > svg {display: none;}

  /* Original social links occupy the foot of the logo rail. */
  .stella-store .store-footer .stay-social {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 27px;
    display: flex;
    width: var(--stella-monogram-rail);
    justify-content: center;
    align-items: center;
    gap: 0;
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    padding: 0 10px;
    border: 0;
    background: none;
  }
  .stella-store .store-footer .stay-social > span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    white-space: nowrap;
    clip-path: inset(50%);
  }
  .stella-store .store-footer .stay-social .social-links {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 7px;
  }
  .stella-store .store-footer .stay-social .social-links a {
    width: clamp(27px, 2.35vw, 32px);
    height: clamp(27px, 2.35vw, 32px);
    flex: 0 0 auto;
  }
  .stella-store .store-footer .stay-social .social-links svg {
    width: 16px;
    height: 16px;
  }
  /* Legal links follow the newsletter in a slim right-hand band. */
  .stella-store .store-footer .footer-layout > .footer-bottom {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px clamp(9px, 1.2vw, 18px);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 0 16px;
    border-top: 1px solid #393231;
    color: #9b9695;
    font-size: clamp(9px, .75vw, 11px);
    line-height: 1.35;
  }
  .stella-store .store-footer .footer-bottom > span:last-child {
    width: auto;
    margin-left: auto;
  }
}
