@media (max-width: 1024px) {
  :root { --lm-container: min(100% - 32px, 960px); }
  .lm-header__main { grid-template-columns: auto 1fr auto; gap: 18px; }
  .lm-header__actions a:first-child span { display: none; }
  .lm-nav ul { gap: 18px; }
  .lm-category-grid { grid-template-columns: repeat(3, 1fr); }
  .lm-product-grid { grid-template-columns: repeat(3, 1fr); }
  .lm-footer__grid { grid-template-columns: 1.3fr repeat(2, 1fr); }.lm-footer__grid > div:last-child { grid-column: 1/-1; }
}

@media (max-width: 767px) {
  :root { --lm-container: min(100% - 20px, 700px); }
  body.lomay-site { padding-bottom: calc(70px + env(safe-area-inset-bottom)); font-size: 14px; }
  .lm-announcement .lm-container { justify-content: center; text-align: center; }.lm-announcement a { display: none; }
  .lm-header { position: sticky; top: 0; }
  .lm-header__main { min-height: 116px; grid-template-columns: 1fr auto; gap: 6px 12px; padding-block: 5px 8px; }
  .lm-brand { min-height: 52px; }.lm-brand__name { font-size: 23px; }.lm-brand__mark { transform: scale(.86); transform-origin: left center; }
  .lm-search { grid-column: 1/-1; grid-row: 2; width: 100%; height: 46px; }
  .lm-header__actions a:first-child { display: none; }.lm-menu-toggle { display: inline-flex; order: -1; }.lm-header__actions { flex-direction: row-reverse; }
  .lm-menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }.lm-menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }.lm-menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .lm-nav { position: fixed; inset: 150px 0 auto; max-height: calc(100dvh - 150px); overflow-y: auto; background: var(--lm-flour); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform .25s, opacity .15s; }.lm-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .lm-nav .lm-container, .lm-nav ul { display: grid; align-items: stretch; }.lm-nav .lm-container { padding-block: 14px; }.lm-nav ul { gap: 0; }.lm-nav li a { min-height: 50px; border-bottom: 1px solid var(--lm-line); font-size: 16px; }.lm-nav__order { margin-top: 8px; }
  .lm-section { padding: 20px 0; }
  .lm-hero { padding: 10px 0; }.lm-hero__banner { min-height: 184px; border-radius: 16px; }.lm-hero__banner > img { object-position: 65% center; }.lm-hero__banner::after { background: linear-gradient(90deg, rgba(128,24,34,.96), rgba(128,24,34,.7) 48%, transparent 78%); }.lm-hero__copy { width: 68%; padding: 24px 18px; }.lm-hero__copy > p { margin-bottom: 5px; font-size: 8px; }.lm-hero h1 { margin-bottom: 5px; font-size: clamp(28px, 9vw, 38px); }.lm-hero__copy > span { margin-bottom: 9px; font-size: 10px; }.lm-hero__copy > span strong { font-size: 20px; }.lm-hero .lm-button { min-height: 44px; width: auto; padding-inline: 13px; font-size: 10px; }.lm-hero__badge { top: 12px; right: 10px; width: 54px; height: 54px; border-width: 1px; }.lm-hero__badge strong { font-size: 12px; }.lm-hero__badge span { font-size: 6px; }
  .lm-panel { padding: 18px 12px 16px; border-radius: 17px; }.lm-compact-head { margin-bottom: 14px; }.lm-compact-head h2 { font-size: 17px; }.lm-compact-head p { font-size: 11px; }.lm-compact-head > span { font-size: 20px; }
  .lm-category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }.lm-category { min-height: 94px; gap: 5px; padding: 8px 4px; border-radius: 10px; }.lm-category > span { width: 48px; height: 48px; }.lm-category strong { font-size: 8px; line-height: 1.25; }
  .lm-shelf-head { align-items: center; margin-bottom: 12px; }.lm-shelf-head h2 { font-size: 17px; }.lm-shelf-head > a { min-height: 44px; font-size: 10px; }.lm-shelf-head svg { width: 14px; }
  .lm-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 8px; }.lm-product { border-radius: 12px; }.lm-product__image { aspect-ratio: 1; }.lm-product__image > span { top: 7px; left: 7px; padding: 3px 6px; font-size: 7px; }.lm-product__body { min-height: 155px; padding: 10px 52px 10px 9px; }.lm-product__body h3 { font-size: 12px; }.lm-product__body h3 a { min-height: 44px; }.lm-product__body > p { min-height: 31px; font-size: 9px; }.lm-product__body > strong { font-size: 12px; }.lm-product__meta { display: grid; gap: 0; margin-top: 4px; font-size: 8px; }.lm-product__add { right: 7px; bottom: 9px; width: 44px; height: 44px; font-size: 20px; }
  .lm-product-grid--featured .lm-product:nth-child(n+3), .lm-product-grid:not(.is-expanded):not(.lm-product-grid--featured):not(.lm-product-grid--drinks) .lm-product:nth-child(n+5) { display: none; }.lm-product-grid.is-expanded .lm-product { display: block !important; }
  .lm-campaign__grid { min-height: 180px; grid-template-columns: 1fr .9fr; border-radius: 16px; }.lm-campaign__copy { padding: 22px 16px; }.lm-campaign__copy > p { font-size: 9px; }.lm-campaign__copy h2 { font-size: 18px; }.lm-campaign__copy > span { margin-bottom: 10px; font-size: 10px; }.lm-campaign__copy > span strong { font-size: 27px; }.lm-campaign .lm-button { min-height: 44px; padding-inline: 14px; font-size: 9px; }.lm-campaign__images { grid-template-columns: 1fr; }.lm-campaign__images img:last-child { display: none; }
  .lm-trust { padding-block: 11px; }.lm-trust__grid { gap: 0; }.lm-trust__grid > div { min-height: 96px; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 7px 4px; text-align: center; }.lm-trust b { font-size: 21px; }.lm-trust strong { margin-top: 4px; font-size: 8px; }.lm-trust span { font-size: 7px; line-height: 1.35; }
  .lm-promise__card { min-height: 310px; grid-template-columns: 1.2fr .8fr; border-radius: 16px; }.lm-promise__card > div { position: relative; z-index: 2; padding: 24px 8px 24px 16px; }.lm-promise h2 { font-size: 25px; }.lm-promise p { font-size: 10px; }.lm-promise ul { margin: 14px 0; }.lm-promise li { padding: 4px 0 4px 22px; font-size: 10px; }.lm-promise li::before { width: 15px; height: 15px; }.lm-promise img { object-position: 63% center; }.lm-promise .lm-button { min-height: 44px; padding-inline: 13px; font-size: 9px; }
  .lm-order { padding: 32px 0; }.lm-order__grid { grid-template-columns: 1fr; gap: 20px; }.lm-order h2 { font-size: 36px; }.lm-order-form { grid-template-columns: 1fr; gap: 10px; padding: 16px; border-radius: 16px; }.lm-field--wide, .lm-form-alert { grid-column: 1; }
  .lm-journal-grid { display: flex; margin-right: -10px; padding-right: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }.lm-journal article { min-width: 78%; scroll-snap-align: start; }.lm-journal article > a { aspect-ratio: 1.6; }.lm-journal h3 { font-size: 14px; }
  .lm-subscribe { padding: 26px 0; }.lm-subscribe .lm-container { grid-template-columns: 1fr; gap: 14px; text-align: center; }.lm-subscribe h2 { font-size: 20px; }.lm-subscribe p { font-size: 11px; }.lm-subscribe form { height: 48px; }.lm-subscribe button { min-width: 100px; font-size: 10px; }
  .lm-footer { padding-top: 44px; }.lm-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }.lm-footer__grid > div:first-child, .lm-footer__grid > div:last-child { grid-column: 1/-1; }.lm-footer h2 { font-size: 12px; }.lm-footer a { min-height: 44px; font-size: 11px; }.lm-footer span { min-height: 32px; font-size: 11px; }.lm-footer__bottom { align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 28px; }
  .lm-mobile-bar { position: fixed; left: 8px; right: 8px; bottom: calc(7px + env(safe-area-inset-bottom)); z-index: var(--lm-z-mobile); min-height: 62px; display: grid; grid-template-columns: repeat(3,1fr); padding: 5px; border-radius: 20px; background: var(--lm-cocoa); box-shadow: 0 14px 38px rgba(51,35,31,.3); color: #fff; }.lm-mobile-bar a { min-height: 52px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; border-radius: 15px; font-size: 9px; }.lm-mobile-bar__primary { background: var(--lm-wine); }.lm-mobile-bar svg { width: 19px; height: 19px; }
}

@media (max-width: 374px) {
  :root { --lm-container: min(100% - 14px, 360px); }
  .lm-brand__name small { display: none; }.lm-hero__copy { width: 72%; padding-left: 14px; }.lm-category strong { font-size: 7px; }.lm-product__body { min-height: 149px; }.lm-promise__card { grid-template-columns: 1fr; }.lm-promise img { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
