/* STELLA Staff only — Monogram House adapted for phones and tablets.
   Inherits and preserves the live desktop layout >=1024px. No React/DOM changes. */
@media (max-width: 1023px) {
  .stella-store .store-footer {
    padding: 0 !important;
    background: #0b0b0c;
    border-color: #303034;
  }
  .stella-store .store-footer .footer-layout {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 clamp(16px, 5vw, 34px) !important;
  }
  /* Horizontal mobile counterpart of the desktop S sidebar. */
  .stella-store .store-footer .footer-layout::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    height: 106px;
    background: #151517;
    pointer-events: none;
  }
  .stella-store .store-footer .footer-layout > .footer-main {
    position: static;
    display: grid;
    order: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 129px 0 22px !important;
    border: 0;
  }
  .stella-store .store-footer .footer-main > .footer-wordmark {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: clamp(20px, 5vw, 37px);
    display: block;
    overflow: hidden;
    width: 64px;
    height: 92px;
    aspect-ratio: 250 / 380;
    padding: 0;
    margin: 0;
    grid-column: auto;
    grid-row: auto;
  }
  .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;
    padding: 0;
  }
  .stella-store .store-footer .footer-main > .staff-footer-listino-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid #302e2e;
    padding: 16px 0 0;
    margin: 0;
  }
  .stella-store .store-footer .footer-main h2 {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .12em;
  }
  .stella-store .store-footer .footer-main .footer-menu > a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 9px 0;
    color: #cbc7c7;
    font-size: 13px;
    line-height: 1.42;
    overflow-wrap: anywhere;
  }
  .stella-store .store-footer .footer-layout > .stay-in-touch {
    position: static;
    order: 1;
    width: 100%;
    margin: 0;
    padding: 19px 0 21px;
    border-top: 1px solid #373337;
    background: transparent;
  }
  .stella-store .store-footer .stay-in-touch-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 17px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .stella-store .store-footer .stay-in-touch-copy .eyebrow {
    color: #c9a99a;
    font-size: 10px;
    letter-spacing: .13em;
    margin: 0 0 8px;
  }
  .stella-store .store-footer .stay-in-touch-copy h2 {
    color: #f8f4f0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: normal;
    font-size: clamp(28px, 6.8vw, 36px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.05em;
    margin: 0 0 7px;
    white-space: normal;
  }
  .stella-store .store-footer .stay-in-touch-copy > p:last-child {
    max-width: none;
    color: #aaa6a6;
    font-size: 12px;
    line-height: 1.5;
  }
  .stella-store .store-footer .stay-in-touch-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    width: 100%;
    min-width: 0;
    align-items: center;
  }
  .stella-store .store-footer .stay-in-touch-form label {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: 1 / -1;
  }
  .stella-store .store-footer .stay-in-touch-form input {
    min-height: 46px;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #38363a;
    border-radius: 8px;
    background: #141416;
    color: #fff;
    font-size: 16px; /* Prevent iOS Safari focus zoom on mobile form fields. */
  }
  .stella-store .store-footer .stay-in-touch-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 49px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f5f0ec;
    color: #171719;
    font-size: 14px;
    letter-spacing: .025em;
    font-weight: 750;
  }
  .stella-store .store-footer .stay-in-touch-form button svg {display:none;}
  /* Original four working social links, at the right of the authentic S. */
  .stella-store .store-footer .stay-social {
    position: absolute;
    z-index: 2;
    top: 33px;
    right: clamp(16px, 5vw, 34px);
    left: auto;
    display: flex;
    width: auto;
    grid-column: auto;
    grid-row: auto;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    border: 0;
    gap: 0;
    background: transparent;
  }
  .stella-store .store-footer .stay-social > span {display:none;}
  .stella-store .store-footer .stay-social .social-links {
    display:flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 7px;
  }
  .stella-store .store-footer .stay-social .social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: 1px solid #555357;
    border-radius: 50%;
  }
  .stella-store .store-footer .stay-social .social-links svg {width:17px;height:17px;}
  .stella-store .store-footer .footer-layout > .footer-bottom {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 15px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 15px 0 18px;
    border-top: 1px solid #373337;
    font-size: 10px;
    line-height: 1.45;
    color: #999597;
    overflow-wrap: anywhere;
  }
  .stella-store .store-footer .footer-bottom > * {max-width: 100%;}
  .stella-store .store-footer .footer-bottom > span:last-child {
    width: 100%;
    margin-left: 0;
  }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .stella-store .store-footer .footer-layout::before {height: 116px;}
  .stella-store .store-footer .footer-main > .footer-wordmark {top: 13px;width:70px;height:99px;}
  .stella-store .store-footer .stay-social {top:40px;}
  .stella-store .store-footer .footer-layout > .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
    padding-top: 144px !important;
  }
  .stella-store .store-footer .footer-main > .staff-footer-listino-menu {
    grid-column: 3;
    grid-row: 1;
    border: 0;
    padding: 0;
  }
  .stella-store .store-footer .stay-in-touch-inner {
    grid-template-columns: .8fr 1.4fr;
    column-gap: clamp(18px,3vw,36px);
    row-gap: 0;
  }
  .stella-store .store-footer .stay-in-touch-form {gap:8px;}
  .stella-store .store-footer .stay-in-touch-copy h2 {font-size:clamp(28px,3.6vw,38px);}
}
@media (max-width: 350px) {
  .stella-store .store-footer .footer-main > .footer-wordmark {width:58px;height:83px;top:15px;}
  .stella-store .store-footer .stay-social .social-links {gap:5px;}
  .stella-store .store-footer .stay-social .social-links a {width:31px;height:31px;min-width:31px;}
  .stella-store .store-footer .footer-main .footer-menu > a {font-size:12px;}
}