/**
 * SendThemCare — Mobile & tablet storefront (≤999px)
 * Matches provided mockups: centered header, card grids, promo tiles, dark footer.
 */

/* Hide desktop-only eyebrow/lead until mobile layout kicks in */
.stc-brands__eyebrow,
.stc-brands__lead,
.stc-most-searched__all,
.stc-most-searched__thumb,
.stc-most-searched__arrow,
.landing-promo__badge,
.stc-featured__shop,
.footer__title-icon,
.footer__title-sub,
.footer__aside-sub,
.footer__legal,
.stc-learn__eyebrow,
.stc-back-top {
  display: none;
}

@media screen and (max-width: 999px) {
  :root {
    --stc-mobile-gutter: 16px;
    --stc-card-radius: 16px;
    --stc-pill-radius: 999px;
    --stc-product-gap: 10px;
  }

  /* Product cards: square corners + gutters (mobile/tablet) */
  .product-item,
  .product-item--vertical,
  ul.products li.product,
  ul.products li.product-item,
  .stc-carousel__slide .product-item,
  .stc-featured__slide .product-item,
  .stc-featured__track .product-item,
  .product-list--scrollable .product-item {
    border-radius: 0 !important;
  }

  .stc-carousel__track,
  .stc-featured__track {
    gap: var(--stc-product-gap) !important;
    column-gap: var(--stc-product-gap) !important;
  }

  .stc-featured__track > .stc-carousel__slide,
  .stc-featured__track > .stc-featured__slide {
    border-right: 0 !important;
  }

  ul.products,
  ul.products.columns-4,
  .stc-shop ul.products,
  .stc-shop ul.products.columns-4,
  .product-list--grid {
    gap: var(--stc-product-gap) !important;
    row-gap: var(--stc-product-gap) !important;
    column-gap: var(--stc-product-gap) !important;
  }

  /* Hide announcement bar on tablet + mobile */
  .announcement-shell,
  .announcement-bar {
    display: none !important;
  }

  .container,
  .landing__sections .container,
  .stc-shop .container {
    width: min(100% - 32px, 1400px) !important;
  }

  /* ========== HEADER: hamburger | logo left | search/profile/cart ========== */
  .header-shell,
  .header-shell.header-sticky,
  .header-shell .header,
  .header-shell .container {
    background: var(--stc-blue) !important;
    overflow: visible !important;
  }

  .header.header--inline {
    padding-bottom: 0 !important;
  }

  .header__inner {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 6px 6px !important;
    row-gap: 0 !important;
    min-height: 52px !important;
    padding: 6px 0 4px !important;
    margin: 0 !important;
  }

  .header__mobile-nav {
    display: block !important;
    flex: 0 0 auto !important;
    order: 1 !important;
    position: relative;
    z-index: 3;
    padding-bottom: 0;
  }

  .header__mobile-nav-toggle {
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .header__logo {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    flex: 0 1 auto !important;
    order: 2 !important;
    text-align: left !important;
    z-index: 2;
    pointer-events: auto !important;
    min-width: 0;
    padding-bottom: 0;
  }
  .header__logo-link {
    display: inline-flex !important;
  }
  .header__logo-image {
    max-width: min(150px, 38vw) !important;
    max-height: 42px !important;
    margin: 0 !important;
    width: auto !important;
  }

  /*
   * Search: hidden by default under 999; tablet (641–999) shows inline bar
   * in the tablet media block below; phone (≤640) uses icon + dropdown.
   */
  .header__search-bar-wrapper {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 10 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--stc-blue) !important;
    z-index: 5 !important;
    box-shadow: none !important;
  }
  .header__search-bar-wrapper.is-mobile-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 2px 0 12px !important;
  }
  .header__search-bar-wrapper .search-bar,
  .header__search-bar-wrapper .search-bar__top-wrapper,
  .header__search-bar-wrapper .search-bar__top {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
  }
  .header__search-bar-wrapper .search-bar__filter {
    display: none !important;
  }
  .header__search-bar-wrapper .search-bar__top {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 999px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: none !important;
  }
  .header__search-bar-wrapper .search-bar__input {
    height: 44px !important;
    padding: 0 8px 0 16px !important;
    font-size: 13px !important;
    color: #64748b !important;
  }
  .header__search-bar-wrapper .search-bar__input::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
  }
  .header__search-bar-wrapper .search-bar__submit {
    width: 48px !important;
    background: transparent !important;
    color: #94a3b8 !important;
  }
  .header__search-bar-wrapper .search-bar__submit .icon--search {
    stroke: #94a3b8 !important;
    color: #94a3b8 !important;
  }

  .header__icon-search,
  .header__icon-search.hidden-lap-and-up {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 3 !important;
    flex: 0 0 auto !important;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    color: #fff !important;
    margin-left: auto !important;
    align-self: center;
  }
  .header__icon-search.is-open,
  .header__icon-search[aria-expanded="true"] {
    opacity: 0.85;
  }

  .header__action-list {
    display: flex !important;
    order: 4 !important;
    flex: 0 0 auto !important;
    gap: 2px !important;
    margin-left: 0 !important;
    padding-bottom: 0;
    align-self: center;
  }

  .header__action-item-title,
  .header__action-divider,
  .header__cart-label,
  .header__action-item--account .header__action-item-link span:not(.icon) {
    display: none !important;
  }

  .header__action-item-link,
  .header__action-item {
    color: #fff !important;
  }
  .header__action-item-link {
    padding: 6px !important;
  }

  .header__cart-count {
    background: #fff !important;
    color: var(--stc-blue-deep, #3e86ef) !important;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    top: -8px;
    right: -10px;
  }

  .nav-bar { display: none !important; }

  /* ========== SECTION SPACING ========== */
  .landing__sections {
    padding-top: 8px;
  }
  .section,
  .stc-featured,
  .stc-brands,
  .stc-most-searched,
  .landing-promos,
  .stc-learn {
    margin-left: 0;
    margin-right: 0;
  }

  /* ========== LEARN / REVIEWS ========== */
  .stc-learn {
    background: #f4f8fd !important;
    padding: 32px 0 36px !important;
    margin: 0 0 20px !important;
  }
  .stc-learn__inner {
    max-width: 100% !important;
    padding: 0 12px !important;
  }
  .stc-learn__eyebrow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5b9fff;
  }
  .stc-learn__eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #5b9fff;
    border-radius: 2px;
  }
  .stc-learn__header {
    text-align: center;
    padding: 0 4px;
    margin-bottom: 0;
  }
  .stc-learn__title {
    font-size: clamp(24px, 6vw, 30px) !important;
    line-height: 1.25 !important;
    color: #1a2b48 !important;
    font-weight: 800 !important;
    margin: 0 0 16px !important;
    max-width: 18ch;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .stc-learn__rating {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    margin-bottom: 20px !important;
  }
  .stc-learn__stars {
    color: #22c55e !important;
    letter-spacing: 1px;
    font-size: 18px !important;
  }
  .stc-learn__score {
    color: #1e3a5f !important;
    font-weight: 700;
    font-size: 15px;
  }
  .stc-learn__rating-sep {
    display: inline-block !important;
    width: 1px;
    height: 14px;
    background: #c5d4e8;
  }
  .stc-learn__verified {
    color: #16a34a !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
  }
  .stc-learn__verified svg {
    color: #16a34a;
  }
  .stc-learn__carousel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    max-width: 100% !important;
    grid-template-columns: none !important;
  }
  .stc-learn__arrow {
    display: none !important;
  }
  .stc-learn__viewport {
    width: 100% !important;
    max-width: 100% !important;
  }
  .stc-learn__card {
    background: #fff !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 28px rgba(30, 58, 95, 0.1) !important;
    padding: 28px 24px 26px !important;
    margin: 0 auto !important;
    width: 92% !important;
    max-width: 420px !important;
  }
  .stc-learn__quote {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
  }
  .stc-learn__text {
    text-align: center;
    color: #1e3a5f !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
  }
  .stc-learn__card-stars {
    color: #22c55e !important;
    text-align: center;
    margin: 0 0 10px !important;
    font-size: 16px !important;
  }
  .stc-learn__name {
    text-align: center;
    font-weight: 700;
    color: #1a2b48 !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }
  .stc-learn__check {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 10px;
    line-height: 1;
  }
  .stc-learn__dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
  }
  .stc-learn__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c5d4e8;
    cursor: pointer;
  }
  .stc-learn__dot.is-active {
    background: #3e86ef;
  }

  /* ========== FEATURED (BBQ / Summer Gear) — rounded photo card ========== */
  .stc-featured__layout {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
    gap: 14px;
  }

  .stc-featured__banner {
    position: relative !important;
    width: 100% !important;
    min-height: 230px !important;
    height: auto !important;
    border-radius: var(--stc-card-radius) !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.06) 55%, transparent 100%),
      var(--stc-feat-image) center / cover no-repeat !important;
  }

  .stc-featured__badge-wrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    align-self: flex-start !important;
    background: #fff !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    max-width: min(88%, 300px) !important;
    width: auto !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    z-index: 3 !important;
  }

  .stc-featured__badge,
  .stc-featured .stc-featured__badge {
    display: block !important;
    position: static !important;
    background: transparent !important;
    color: #1a2b48 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    line-height: 1.25 !important;
  }

  .stc-featured__sub,
  .stc-featured .stc-featured__sub {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-radius: 0 !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
  }

  .stc-featured__shop,
  .stc-featured .stc-featured__shop {
    display: inline-flex !important;
    align-items: center;
    align-self: flex-start !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    gap: 6px;
    margin-top: 0 !important;
    padding: 10px 16px;
    border-radius: 10px;
    border: 2px solid #fff !important;
    background: #16a34a !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    text-decoration: none !important;
  }

  .stc-featured__products {
    position: relative !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  .stc-featured__shell {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    grid-template-columns: none !important;
    background: transparent !important;
    border: 0 !important;
  }
  .stc-featured__prev,
  .stc-featured__next,
  .stc-featured .stc-carousel__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dbe5f2 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #1e3a5f !important;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.16) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer;
  }
  .stc-featured .stc-carousel__btn > span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
  .stc-featured .stc-carousel__btn--prev > span {
    transform: translate(0.06em, -0.04em) !important;
  }
  .stc-featured .stc-carousel__btn--next > span {
    transform: translate(-0.06em, -0.04em) !important;
  }
  .stc-featured__prev,
  .stc-featured .stc-carousel__btn--prev {
    left: 4px !important;
    right: auto !important;
  }
  .stc-featured__next,
  .stc-featured .stc-carousel__btn--next {
    right: 4px !important;
    left: auto !important;
  }
  .stc-featured__prev:disabled,
  .stc-featured__next:disabled,
  .stc-featured .stc-carousel__btn:disabled {
    opacity: 0.35 !important;
  }

  .stc-featured__slide,
  .stc-featured__track > .stc-carousel__slide,
  .stc-carousel__slide {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    border-right: 0 !important;
  }

  /* Product cards: smaller badges, tight stock→qty spacing */
  .product-item,
  .product-item--vertical {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
  }
  /* List view ONLY for the main shop product loop — not Summer Collection / carousels */
  .stc-shop[data-stc-view="list"] .stc-shop__main ul.products {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main ul.products > li.product,
  .stc-shop[data-stc-view="list"] .stc-shop__main ul.products > li.product-item {
    display: grid !important;
    flex-direction: unset !important;
    grid-template-columns: 120px minmax(0, 1fr) 140px !important;
    grid-template-rows: auto !important;
    grid-template-areas: "image info actions" !important;
    align-items: center !important;
    gap: 12px 18px !important;
    padding: 14px 4px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    border: 0 !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    overflow: visible !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__image-wrapper {
    grid-area: image !important;
    width: 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
    aspect-ratio: 3 / 4 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    display: block !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__image-wrapper img,
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__primary-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__info {
    grid-area: info !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__title {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #1a2b48 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__price-list .price,
  .stc-shop[data-stc-view="list"] .stc-shop__main .price--highlight {
    color: #e11d2e !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .price--compare {
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    font-size: 13px !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__actions {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: column !important;
    width: 140px !important;
    max-width: 140px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__atc,
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__atc--pill {
    background: #5ba3f7 !important;
    border-color: #5ba3f7 !important;
    color: #fff !important;
    border-radius: 2px !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__qv {
    display: inline-flex !important;
    background: #fff !important;
    border: 1px solid #9dbde8 !important;
    color: #2f6fed !important;
    border-radius: 2px !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__label-list {
    top: 8px !important;
    left: 8px !important;
  }
  /* Force Summer Collection / carousel cards to stay vertical cards */
  .stc-shop[data-stc-view="list"] .stc-featured .product-item,
  .stc-shop[data-stc-view="list"] .stc-featured .product-item--vertical,
  .stc-shop[data-stc-view="list"] .stc-carousel .product-item,
  .stc-shop[data-stc-view="list"] .stc-carousel .product-item--vertical {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    grid-template-rows: none !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .stc-shop[data-stc-view="list"] .stc-featured .product-item__image-wrapper,
  .stc-shop[data-stc-view="list"] .stc-carousel .product-item__image-wrapper {
    grid-area: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
  .stc-shop[data-stc-view="list"] .stc-featured .product-item__info,
  .stc-shop[data-stc-view="list"] .stc-carousel .product-item__info,
  .stc-shop[data-stc-view="list"] .stc-featured .product-item__actions,
  .stc-shop[data-stc-view="list"] .stc-carousel .product-item__actions {
    grid-area: auto !important;
    width: 100% !important;
  }
  .stc-shop[data-stc-view="list"] .stc-featured .product-item__atc,
  .stc-shop[data-stc-view="list"] .stc-carousel .product-item__atc {
    background: #5ba3f7 !important;
    border-color: #5ba3f7 !important;
  }
  .product-item__label-list {
    gap: 3px !important;
    top: 6px !important;
    left: 6px !important;
  }
  .product-label,
  .product-label--new-item,
  .product-label--best,
  .product-label--new,
  .product-label--on-sale,
  .product-label--custom1 {
    font-size: 8px !important;
    font-weight: 700 !important;
    padding: 2px 4px !important;
    line-height: 1.15 !important;
    border-radius: 2px !important;
    letter-spacing: 0.02em !important;
  }
  .product-item__info {
    padding: 6px 4px 2px !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    gap: 4px !important;
  }
  .product-item__title {
    min-height: calc(1.3em * 3) !important;
    max-height: calc(1.3em * 3) !important;
    margin: 0 !important;
  }
  .product-item__inventory,
  .product-item__inventory.inventory {
    margin: 2px 0 0 !important;
    padding-bottom: 0 !important;
  }
  .product-item__actions,
  .product-item__action-list {
    gap: 6px !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 4px 4px 8px !important;
    flex: 0 0 auto !important;
    min-height: calc(36px + 6px + 42px) !important;
    justify-content: flex-end !important;
  }
  .product-item__cart {
    gap: 6px !important;
  }
  .product-item__qty,
  .product-item__qty.spd-qty {
    margin: 0 !important;
  }
  .product-item__atc--pill,
  .product-item__atc {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .product-item,
  .product-item--vertical {
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 0 !important;
  }
  .product-item,
  .product-item--vertical {
    border-radius: 0 !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.08);
    border: 1px solid #e8edf5;
  }
  .stc-brands {
    background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
    border-radius: 20px;
    padding: 24px 14px 20px !important;
    margin: 8px 0 24px !important;
  }
  .stc-brands__header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
    margin-bottom: 18px !important;
  }
  .stc-brands__eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5b9fff;
  }
  .stc-brands__eyebrow-line {
    width: 36px;
    height: 1px;
    background: #9ec4ff;
  }
  .stc-brands__title {
    margin: 0 !important;
    font-size: clamp(24px, 6vw, 30px) !important;
    font-weight: 800 !important;
    color: #1a2b48 !important;
  }
  .stc-brands__lead {
    display: block !important;
    margin: 0;
    color: #64748b;
    font-size: 14px;
  }
  .stc-brands__all { display: none !important; }
  .stc-brands__row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .stc-brands__item {
    background: #fff;
    border-radius: var(--stc-card-radius);
    padding: 16px 12px 14px;
    box-shadow: 0 8px 22px rgba(30, 58, 95, 0.08);
    gap: 10px !important;
  }
  .stc-brands__logo {
    width: 88px !important;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.1);
  }
  .stc-brands__name {
    font-weight: 700 !important;
    color: #1a2b48 !important;
    font-size: 13px !important;
  }
  .stc-brands__arrow {
    color: #3e86ef !important;
  }

  /* ========== MOST SEARCHED — 2-col image cards ========== */
  .stc-most-searched__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    margin-bottom: 14px !important;
  }
  .stc-most-searched__title {
    font-size: clamp(18px, 4.5vw, 22px) !important;
    font-weight: 800 !important;
    color: #1a2b48 !important;
  }
  .stc-most-searched__all {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #3e86ef !important;
    text-decoration: none !important;
    white-space: nowrap;
  }
  .stc-most-searched__bar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .stc-most-searched__link {
    display: grid !important;
    grid-template-columns: 56px 1fr 28px;
    align-items: center;
    gap: 10px;
    min-height: 72px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.08);
    text-align: left !important;
    justify-content: stretch !important;
  }
  .stc-most-searched__thumb {
    display: block !important;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
  }
  .stc-most-searched__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .stc-most-searched__label {
    font-size: 13px;
    font-weight: 700;
    color: #1a2b48;
    line-height: 1.25;
  }
  .stc-most-searched__arrow {
    display: grid !important;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f1ff;
    color: #1e3a5f;
    font-size: 14px;
  }

  /* ========== PROMO TILES (Smokers / Waffles / Ramen…) ========== */
  .landing-promos {
    margin: 8px 0 28px !important;
  }
  .landing-promos__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .landing-promo--image {
    grid-template-columns: 1.05fr 0.95fr !important;
    min-height: 200px !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
  }
  .landing-promo__copy {
    padding: 20px 8px 20px 18px !important;
    justify-content: center !important;
  }
  .landing-promo__badge {
    display: inline-flex !important;
    align-self: flex-start;
    margin: 0 0 10px;
    padding: 5px 10px;
    border-radius: var(--stc-pill-radius);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .landing-promo h3 {
    font-size: clamp(20px, 5vw, 26px) !important;
    margin-bottom: 6px !important;
  }
  .landing-promo p {
    font-size: 13px !important;
    margin-bottom: 14px !important;
    opacity: 0.95;
  }
  .landing-promo__cta,
  .landing-promo__copy > span.landing-promo__cta {
    border-radius: var(--stc-pill-radius) !important;
    padding: 10px 16px !important;
    font-size: 12px !important;
  }
  .landing-promo__media {
    min-height: 180px !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    padding: 8px 4px 0 0;
  }
  .landing-promo__media img {
    max-width: min(200px, 42vw) !important;
    max-height: 190px !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
  }
  .landing-promo--nobg .landing-promo__media img {
    mix-blend-mode: multiply !important;
    filter: none !important;
  }
  .landing-promo--cutout .landing-promo__media img {
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)) !important;
  }
  .landing-promo--cover .landing-promo__media {
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .landing-promo--cover .landing-promo__media img,
  .landing-promo--waffles .landing-promo__media img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    border-radius: 0 20px 20px 0 !important;
    transform: none !important;
  }

  /* ========== PRODUCT CARDS — equal height (tablet + mobile) ========== */
  .stc-carousel__track,
  .stc-featured__track {
    gap: 10px !important;
    align-items: stretch !important;
  }
  .stc-carousel__slide,
  .stc-featured__track > .stc-carousel__slide {
    padding: 0 !important;
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
  }
  .stc-carousel__slide .product-item,
  .stc-featured__slide .product-item,
  .product-item,
  .product-item--vertical,
  ul.products li.product,
  ul.products li.product-item {
    margin: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
  }
  .product-item__info {
    flex: 1 1 auto !important;
    padding: 6px 4px 2px !important;
    margin: 0 !important;
    gap: 4px !important;
  }
  .product-item__title {
    min-height: calc(1.3em * 3) !important;
    max-height: calc(1.3em * 3) !important;
    margin: 0 !important;
  }
  .product-item__inventory,
  .product-item__inventory.inventory,
  .product-item__rating,
  .product-item__price-list {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .product-item__actions,
  .product-item__action-list,
  .stc-contact .product-item__action-list {
    gap: 6px !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 4px 4px 8px !important;
    flex: 0 0 auto !important;
    min-height: calc(36px + 6px + 42px) !important;
    justify-content: flex-end !important;
  }
  .product-item__cart {
    gap: 6px !important;
    margin: 0 !important;
  }
  .product-item__qty,
  .product-item__qty.spd-qty {
    margin: 0 !important;
  }
  .product-item__atc--pill,
  .product-item__atc {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* ========== PRODUCT CARDS ========== */
  .product-item,
  .product-item--vertical,
  ul.products li.product,
  ul.products li.product-item,
  .stc-carousel__slide .product-item,
  .stc-featured__slide .product-item {
    border-radius: 0 !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(30, 58, 95, 0.07);
  }
  .product-item__atc--pill,
  .product-item__atc {
    border-radius: 999px !important;
  }

  /* ========== CALIFORNIA / CTA pill ========== */
  .stc-california__cta,
  .landing-hero__cta {
    border-radius: 12px !important;
  }
  .stc-california {
    margin: 8px 0 20px !important;
  }
  .stc-california__inner {
    border-radius: 16px;
    overflow: hidden;
  }

  /* ========== FOOTER — dark mobile card layout ========== */
  .footer {
    background: #0f172a !important;
    color: #fff !important;
    margin-top: 36px !important;
    padding: 20px 0 88px !important;
    position: relative;
  }
  .footer .container {
    width: min(100% - 20px, 1400px) !important;
    max-width: 100% !important;
  }
  .footer__wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
  }
  .footer__block-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    width: 100% !important;
    grid-template-columns: none !important;
  }
  .footer__block-item,
  .footer__block-item--text,
  .footer__block-item--links,
  .footer__block-item--newsletter {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
  }
  .footer__block-item--text,
  .footer__block-item--links {
    background: #1e293b !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 12px !important;
    padding: 0 12px !important;
    margin: 0 !important;
  }
  .footer__title--toggle {
    display: grid !important;
    grid-template-columns: 36px 1fr 20px !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    text-align: left !important;
    padding: 11px 2px !important;
    margin: 0 !important;
  }
  .footer__title-icon {
    display: grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
  }
  .footer__title-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .footer__title-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  .footer__title-main {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5ba3f7 !important;
    line-height: 1.3;
  }
  .footer__title--toggle {
    color: #5ba3f7 !important;
  }
  .footer__title-sub {
    display: block !important;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
  }
  .footer__plus {
    display: block !important;
    position: relative;
    width: 18px;
    height: 18px;
  }
  .footer__plus::before,
  .footer__plus::after {
    background: #fff !important;
  }
  .footer__collapsible {
    display: none;
    padding: 0 4px 14px 52px;
    color: #cbd5e1;
  }
  .footer__block-item.is-open .footer__collapsible {
    display: block;
  }
  .footer__link-item,
  .footer a {
    color: #e2e8f0 !important;
  }

  .footer__block-item--newsletter {
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer__newsletter-card {
    background: #1e293b !important;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 16px 16px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .footer__newsletter-head {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
  }
  .footer__newsletter-icon {
    display: grid !important;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 2px 0 0 !important;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
  }
  .footer__newsletter-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .footer__newsletter-copy {
    flex: 1 1 auto;
    min-width: 0;
  }
  .footer__newsletter-kicker {
    display: block !important;
    margin: 0 0 2px !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
  }
  .footer__title--newsletter {
    margin: 0 0 3px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.15 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }
  .footer__newsletter-text {
    color: #94a3b8 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }
  .footer__newsletter-form {
    max-width: 100% !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  .footer__newsletter-form .form__field {
    border-radius: 10px !important;
    min-height: 42px;
    padding: 10px 12px !important;
    border: 0 !important;
    font-size: 13px !important;
  }
  .footer__newsletter-form .form__submit,
  .footer__newsletter-form .button {
    width: 100% !important;
    border-radius: 10px !important;
    min-height: 42px;
    padding: 10px 16px !important;
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
  }

  .footer__aside {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    width: 100% !important;
    grid-template-columns: none !important;
  }
  .footer__aside-item--social {
    text-align: left !important;
    justify-self: start !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 0 12px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
    margin: 0 !important;
  }
  .footer__aside-item--payments {
    text-align: left !important;
    justify-self: start !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 0 14px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
    margin: 0 !important;
  }
  .footer__aside-title,
  .footer__aside-title--payments {
    display: block !important;
    text-align: left !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }
  .footer__aside-sub {
    display: block !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }
  .footer .social-media__item-list {
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer .social-media__link,
  .footer a.social-media__link {
    width: 42px !important;
    height: 42px !important;
    background: #334155 !important;
    color: #fff !important;
    border-radius: 50% !important;
    opacity: 1 !important;
  }
  .footer .social-media__link:hover,
  .footer a.social-media__link:hover {
    background: #475569 !important;
    color: #fff !important;
  }
  .footer .social-media__link svg,
  .footer a.social-media__link svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
  }
  .footer .social-media__link svg path,
  .footer a.social-media__link svg path {
    fill: #fff !important;
  }
  .footer .stc-payicons--footer {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .footer .stc-payicons--footer .stc-payicons__row {
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
  }
  .footer .stc-payicons--footer .stc-payicons__item {
    background: #fff !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
  }
  .footer .stc-payicons--footer img {
    height: 18px !important;
    width: auto !important;
    display: block;
  }
  .footer__aside-item--copy {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    text-align: left !important;
    justify-self: start !important;
    width: 100% !important;
    padding: 14px 0 4px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
  }
  .footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    color: #94a3b8 !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    flex: 0 1 auto;
    white-space: normal !important;
  }
  .footer__copyright-line {
    display: block;
  }
  .footer__legal {
    display: block !important;
    margin: 0;
    padding-top: 1px;
    font-size: 12px;
    white-space: nowrap;
    text-align: right;
  }
  .footer__legal a {
    color: #94a3b8 !important;
    text-decoration: none !important;
  }

  .footer__aside-item--social { order: 1; }
  .footer__aside-item--payments { order: 2; }
  .footer__aside-item--copy { order: 3; }

  .stc-back-top {
    display: grid !important;
    place-items: center;
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 400;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #334155;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    cursor: pointer;
  }
  .stc-back-top svg {
    width: 18px;
    height: 18px;
    display: block;
  }
}

/* Tablet refinements (641–999): keep 2-col promos option / brands */
@media screen and (min-width: 641px) and (max-width: 999px) {
  .container {
    width: min(100% - 40px, 1400px) !important;
  }

  .header__inner {
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .header__logo-image {
    max-width: min(170px, 34vw) !important;
    max-height: 46px !important;
  }

  /* Inline search bar in header (not icon dropdown) */
  .header__search-bar-wrapper,
  .header__search-bar-wrapper.is-mobile-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 160px !important;
    order: 3 !important;
    padding: 0 !important;
    margin: 0 4px 0 8px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .header__search-bar-wrapper .search-bar,
  .header__search-bar-wrapper .search-bar__top-wrapper,
  .header__search-bar-wrapper .search-bar__top {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
  }
  .header__search-bar-wrapper .search-bar__filter {
    display: none !important;
  }
  .header__search-bar-wrapper .search-bar__top {
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 4px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(30, 58, 95, 0.1) !important;
  }
  .header__search-bar-wrapper .search-bar__input {
    height: 40px !important;
    padding: 0 10px 0 14px !important;
    font-size: 13px !important;
    color: #1e3a5f !important;
  }
  .header__search-bar-wrapper .search-bar__input::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
  }
  .header__search-bar-wrapper .search-bar__submit {
    width: 44px !important;
    background: transparent !important;
    color: #64748b !important;
  }
  .header__search-bar-wrapper .search-bar__submit .icon--search {
    stroke: #64748b !important;
    color: #64748b !important;
  }
  .header__icon-search,
  .header__icon-search.hidden-lap-and-up {
    display: none !important;
  }
  .header__action-list {
    order: 4 !important;
    margin-left: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Stay Updated — full width on tablet */
  .footer .container {
    width: min(100% - 32px, 1400px) !important;
  }
  .footer__block-list {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .footer__block-item--newsletter {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
  .footer__newsletter-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .footer__newsletter-form {
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer__newsletter-form .form__submit,
  .footer__newsletter-form .button {
    width: 100% !important;
  }

  .landing-promos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .stc-brands__row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .stc-most-searched__bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .stc-featured__layout {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  .stc-featured__banner {
    position: relative !important;
    width: 100% !important;
    min-height: 260px !important;
  }
  .stc-featured__products {
    margin-left: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
  }
  .stc-featured__shell {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    grid-template-columns: none !important;
    border-left: 0 !important;
  }
  .stc-featured__prev,
  .stc-featured__next,
  .stc-featured .stc-carousel__btn {
    display: inline-flex !important;
  }

  .stc-featured__slide,
  .stc-featured__track > .stc-carousel__slide,
  .stc-carousel__slide {
    flex: 0 0 calc((100% - 20px) / 3) !important;
    width: calc((100% - 20px) / 3) !important;
    max-width: calc((100% - 20px) / 3) !important;
    border-right: 0 !important;
  }

  /* Learn about us — slightly narrower than full tablet width */
  .stc-learn__inner {
    max-width: 100% !important;
    padding: 0 12px !important;
  }
  .stc-learn__viewport {
    width: 100% !important;
    max-width: 680px !important;
  }
  .stc-learn__card {
    width: 100% !important;
    max-width: 680px !important;
    padding: 32px 36px 28px !important;
  }

  /* Mosaic: towels + vegetables side-by-side, then mens full-width */
  .stc-mosaic__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 12px !important;
    min-height: 0 !important;
  }
  .stc-mosaic__card {
    min-height: 250px !important;
  }
  .stc-mosaic__card--towels {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .stc-mosaic__card--veggies {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .stc-mosaic__card--tall {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-height: 380px !important;
    align-items: flex-start !important;
  }
  .stc-mosaic__card--chicken {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
  .stc-mosaic__card--snacks {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }
  .stc-mosaic__card--towels .stc-mosaic__copy,
  .stc-mosaic__card--veggies .stc-mosaic__copy {
    max-width: 70% !important;
  }

  /* Spotlight: smaller main image, no top/bottom letterbox gap */
  .stc-spotlight__panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
    gap: 18px !important;
    padding: 14px !important;
  }
  .stc-spotlight__gallery {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 8px !important;
    max-width: 340px !important;
  }
  .stc-spotlight__main {
    aspect-ratio: 1 / 1 !important;
    max-width: 270px !important;
    max-height: 270px !important;
    background: #fff !important;
  }
  .stc-spotlight__main img {
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
    background: #fff !important;
  }

  /* Hero slightly shorter on tablet */
  .landing-hero--summer {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
  }
  .landing-hero--summer .landing-hero__inner {
    padding: 16px 20px 36px !important;
  }

  /* Manoa boots: text left, image right on tablet */
  .stc-split-banner__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) !important;
    gap: 24px 28px !important;
    align-items: center !important;
    padding: 8px 0 !important;
  }
  .stc-split-banner__copy {
    order: 1 !important;
    max-width: none !important;
    gap: 14px !important;
  }
  .stc-split-banner__media {
    order: 2 !important;
    width: 100% !important;
    min-height: 0 !important;
  }
  .stc-split-banner__media img {
    max-height: 320px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .stc-split-banner__title {
    font-size: clamp(24px, 3.4vw, 30px) !important;
  }

  /* Shop California — centered stacked text like reference */
  .stc-california {
    padding: 36px 16px !important;
    margin: 12px 0 28px !important;
  }
  .stc-california__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    text-align: center !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    justify-items: center !important;
  }
  .stc-california__seal img {
    max-width: 240px !important;
    margin: 0 auto !important;
  }
  .stc-california__copy {
    text-align: center !important;
    width: 100% !important;
  }
  .stc-california__copy h2 {
    text-align: center !important;
    text-transform: uppercase !important;
    font-size: clamp(22px, 3.2vw, 28px) !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.25 !important;
    color: #1a2a4a !important;
    margin: 0 0 14px !important;
  }
  .stc-california__copy p {
    text-align: center !important;
    text-transform: uppercase !important;
    font-size: clamp(12px, 1.7vw, 14px) !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.6 !important;
    color: #1a2a4a !important;
    max-width: 54ch !important;
    margin: 0 auto 22px !important;
  }
  .stc-california__cta {
    display: inline-flex !important;
    margin: 0 auto !important;
    border-radius: 999px !important;
    background: #5ba3f7 !important;
    border-color: #5ba3f7 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 14px 28px !important;
    min-height: 48px !important;
  }

  ul.products,
  .stc-shop ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .product-item,
  .product-item--vertical,
  ul.products li.product,
  ul.products li.product-item {
    border-radius: 0 !important;
  }
}

/* Pocket: tighter gutters + 2-col products */
@media screen and (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1400px) !important;
  }

  .header__inner {
    min-height: 50px !important;
    padding: 5px 0 4px !important;
  }

  .header__logo-image {
    max-width: min(148px, 40vw) !important;
    max-height: 40px !important;
  }

  .landing-promo--image {
    min-height: 188px !important;
  }

  .landing-promo__media img {
    max-height: 170px !important;
  }

  ul.products,
  .stc-shop ul.products,
  .product-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .stc-carousel__track,
  .stc-featured__track {
    gap: var(--stc-product-gap, 10px) !important;
    align-items: stretch !important;
  }
  .product-item__actions,
  .product-item__action-list {
    padding: 4px 2px 6px !important;
    gap: 6px !important;
    margin-top: auto !important;
    min-height: calc(34px + 6px + 40px) !important;
  }
  .product-item__cart {
    gap: 6px !important;
  }
  .product-item__info {
    padding: 4px 2px 2px !important;
    flex: 1 1 auto !important;
  }
  .product-item__title {
    min-height: calc(1.3em * 3) !important;
    max-height: calc(1.3em * 3) !important;
  }

  /* Mosaic stacks on phone */
  .stc-mosaic__grid {
    grid-template-columns: 1fr !important;
  }
  .stc-mosaic__card--towels,
  .stc-mosaic__card--snacks,
  .stc-mosaic__card--chicken,
  .stc-mosaic__card--veggies,
  .stc-mosaic__card--tall {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 220px !important;
  }

  /* Manoa: image above text on phone */
  .stc-split-banner__inner {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .stc-split-banner__media {
    order: -1 !important;
  }
  .stc-split-banner__copy {
    order: 2 !important;
  }
  .stc-split-banner__media img {
    max-height: 280px !important;
    margin: 0 auto !important;
  }

  /* Spotlight stacks on phone; tighter main image */
  .stc-spotlight__panel {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
    gap: 14px !important;
  }
  .stc-spotlight__gallery {
    max-width: 100% !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }
  .stc-spotlight__main {
    max-width: 240px !important;
    max-height: 240px !important;
    margin: 0 auto 0 0 !important;
  }
  .stc-spotlight__main img {
    object-fit: cover !important;
    padding: 0 !important;
  }

  /* List view: stack actions under info on narrow phones */
  .stc-shop[data-stc-view="list"] .stc-shop__main ul.products > li.product,
  .stc-shop[data-stc-view="list"] .stc-shop__main ul.products > li.product-item {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    grid-template-areas:
      "image info"
      "image actions" !important;
    align-items: start !important;
    gap: 10px 12px !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__image-wrapper {
    width: 100px !important;
    max-width: 100px !important;
    min-width: 100px !important;
  }
  .stc-shop[data-stc-view="list"] .stc-shop__main .product-item__actions {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Desktop: hide mobile-only chrome; keep Emma desktop structure */
@media screen and (min-width: 1000px) {
  .stc-featured__shop { display: none !important; }
  .landing-promo__badge { display: inline-flex; }
  .stc-brands__eyebrow,
  .stc-brands__lead {
    display: none !important;
  }
  .stc-most-searched__thumb,
  .stc-most-searched__arrow,
  .stc-most-searched__all {
    display: none !important;
  }
  .footer__title-icon,
  .footer__title-sub,
  .footer__aside-sub,
  .footer__legal {
    display: none !important;
  }
  .footer__title-text {
    display: inline;
  }
  .footer__title-main {
    text-transform: none;
    letter-spacing: 0;
    font-size: inherit;
    font-weight: inherit;
  }
  .footer__title--newsletter {
    font-size: inherit !important;
  }
  .footer__aside {
    display: grid !important;
  }
  .footer__aside-item--copy { order: 1; }
  .footer__aside-item--social { order: 2; }
  .footer__aside-item--payments { order: 3; }
  .stc-learn__eyebrow,
  .stc-learn__rating-sep {
    display: none !important;
  }
}

/* ========== Reviews FAB (mobile/tablet) — must win cascade ========== */
@media screen and (max-width: 999px) {
  a.stc-reviews-tab,
  button.stc-reviews-tab,
  body .stc-reviews-tab,
  body.admin-bar .stc-reviews-tab {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 16px !important;
    bottom: 88px !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #3e86ef !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(62, 134, 239, 0.45) !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }
  a.stc-reviews-tab .stc-reviews-tab__inner,
  body .stc-reviews-tab .stc-reviews-tab__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
  }
  a.stc-reviews-tab .stc-reviews-tab__star,
  body .stc-reviews-tab .stc-reviews-tab__star {
    display: block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #fff !important;
  }
  a.stc-reviews-tab .stc-reviews-tab__text,
  body .stc-reviews-tab .stc-reviews-tab__text {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.1 !important;
    color: #fff !important;
    text-transform: none !important;
  }
}
