/* SABRA mobile storefront polish — loaded last on purpose. */
@media (max-width: 760px) {
  :root { --mobile-gutter: 14px; }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #fffdfa;
    -webkit-text-size-adjust: 100%;
  }

  .builder-section,
  .nav,
  .hero,
  .features,
  .section,
  .promo,
  .footer {
    max-width: 100%;
  }

  .announce {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 11px;
    line-height: 1.7;
    text-wrap: balance;
  }

  .nav {
    height: 66px;
    padding: 0 14px !important;
    gap: 10px;
  }

  .nav .logo {
    width: auto !important;
    max-width: 116px !important;
    height: 44px !important;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 25px;
    line-height: 1;
  }

  .bag { font-size: 12px; }

  .menu {
    top: 66px;
    padding: 12px 18px 18px;
    gap: 0 !important;
    box-shadow: 0 12px 24px rgba(28, 20, 18, .08);
  }

  .menu a {
    padding: 12px 6px;
    border-bottom: 1px solid #eee7e2;
  }

  .hero {
    min-height: clamp(560px, 72svh, 650px) !important;
  }

  .hero-media {
    min-height: 100% !important;
    background-image: url('uploads/hero-mobile-generated-20260830.webp') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    transform: none !important;
  }

  .hero-copy {
    width: 100%;
    min-height: inherit;
    padding: 28px 18px 30px !important;
    justify-content: flex-end;
    text-align: right !important;
    background: linear-gradient(0deg, rgba(250, 226, 221, .97) 0%, rgba(250, 226, 221, .72) 36%, rgba(250, 226, 221, .12) 73%) !important;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p {
    width: 64%;
    max-width: 64%;
    margin-left: auto;
  }

  .hero-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .5px;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(37px, 10.6vw, 46px) !important;
    line-height: 1.06;
  }

  .hero-copy p {
    margin-top: 0;
    font-size: 13px !important;
    line-height: 1.75;
    color: #4f4542;
  }

  .hero-copy .buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin-top: 14px;
  }

  .hero-copy .btn {
    min-width: 0;
    min-height: 46px;
    padding: 11px 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    border-inline: 0;
  }

  .feature {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 13px 4px !important;
    border: 0;
    border-left: 1px solid #eee7e2;
    border-bottom: 1px solid #eee7e2;
  }

  .feature:last-child { border-left: 0; }
  .feature b { font-size: 10px; line-height: 1.45; }
  .feature span { font-size: 8.5px; line-height: 1.5; }

  .section {
    padding: 46px var(--mobile-gutter);
  }

  .section-head {
    margin-bottom: 24px;
    padding-inline: 8px;
    text-align: center;
  }

  .section-head .kicker {
    margin-bottom: 9px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .section-head h2 {
    margin-bottom: 8px;
    font-family: Tahoma, Arial, sans-serif;
    font-size: clamp(29px, 8vw, 36px);
    font-weight: 800;
    line-height: 1.15;
  }

  .section-head p {
    margin: 0 auto;
    max-width: 320px;
    font-size: 12px;
    line-height: 1.7;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 9px !important;
  }

  .card { min-width: 0; text-align: center; }
  .card .pic { aspect-ratio: 4 / 5; border-radius: 2px; }
  .card img { width: 100%; height: 100% !important; object-fit: cover; }
  .card .meta { padding: 10px 2px 0; text-align: center; }
  .card .name { min-height: 32px; margin-bottom: 5px; font-size: 12px; line-height: 1.45; }
  .rating { margin-bottom: 5px; font-size: 10px; }
  .price { font-size: 12px; line-height: 1.55; }
  .old { display: inline-block; margin: 0 4px; }

  .add {
    min-height: 40px;
    margin-top: 8px;
    padding: 8px 4px;
    font-size: 11px;
  }

  .promo {
    width: auto;
    min-height: 260px !important;
    margin: 4px var(--mobile-gutter) 38px;
    padding: 36px 18px;
  }

  .promo h2 {
    margin-bottom: 13px;
    font-size: 31px !important;
    line-height: 1.18;
  }

  .promo p { margin: 0 auto 20px; max-width: 310px; font-size: 13px; line-height: 1.7; }

  .cats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .cat {
    aspect-ratio: 4 / 5;
    padding: 12px;
    background-position: center top !important;
  }

  .cat span {
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }

  .quotes { gap: 10px !important; }
  .quote { min-height: 0; padding: 22px 18px; text-align: center; }
  .quote p { font-size: 13px; line-height: 1.7; }

  .social-section { padding-inline: var(--mobile-gutter); }

  .social-grid--instagram {
    grid-auto-columns: calc((100% - 8px) / 2) !important;
    gap: 8px !important;
    max-width: none !important;
    scroll-padding-inline: 0;
    scrollbar-width: thin;
  }

  .social-instagram-card,
  .social-fallback-card,
  .social-empty-card {
    height: 430px !important;
    border-radius: 8px;
  }

  .social-instagram-card .instagram-media {
    height: 860px !important;
    min-height: 860px !important;
  }

  .instagram-follow {
    margin-top: 18px;
    padding: 10px 16px;
    text-align: center;
  }

  .footer {
    gap: 26px;
    padding: 44px 22px;
    text-align: center;
  }

  .footer > div,
  .footer > div:first-child { margin-inline: auto; }
  .footer h3 { font-size: 30px; }

  .shopbar {
    padding: 26px var(--mobile-gutter) 12px;
    text-align: center;
  }

  .shopbar h1 { margin-bottom: 16px; font-size: 32px; }
  .filters { justify-content: flex-start; text-align: right; }

  .product-page {
    padding: 18px var(--mobile-gutter) 42px;
    gap: 20px;
  }

  .product-info h1 { margin: 8px 0 12px; font-size: 32px; }
  .product-info .price { margin: 12px 0; font-size: 19px; }

  .cart-shell,
  .account-shell,
  .checkout-layout {
    width: calc(100% - 28px);
  }

  .checkout-layout { gap: 24px; }
  .checkout-form h1 { font-size: 34px; }
  .checkout-summary { padding: 18px; }
}

@media (max-width: 340px) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p {
    width: 72%;
    max-width: 72%;
  }

  .hero-copy .buttons { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 35px !important; }
}
