/* Mobile storefront only. Never loaded by or applied to the DIY designer. */
@media (max-width: 780px) {
  body:not(.shanman-designer-view) .store-container { width: calc(100% - 32px); }
  body:not(.shanman-designer-view) .store-announcement { min-height: 24px; padding: 3px 12px; font-size: 10px; letter-spacing: .08em; line-height: 1.8; }
  body:not(.shanman-designer-view) .store-header { height: 60px; padding-inline: 10px; gap: 6px; }
  body:not(.shanman-designer-view) .store-header .store-icon-button { width: 44px; height: 44px; }
  body:not(.shanman-designer-view) .store-header-actions { gap: 0; }
  body:not(.shanman-designer-view) .store-logo a { font-size: 26px; }
  body:not(.shanman-designer-view) .store-logo img { max-width: 140px; max-height: 38px; }
  body:not(.shanman-designer-view) .store-cart-count { right: 1px; top: 3px; }
  body:not(.shanman-designer-view) .store-home p { margin-bottom: 14px; }
  body:not(.shanman-designer-view) .store-home h2 { font-size: clamp(27px, 7vw, 34px); line-height: 1.16; margin-bottom: 12px; }
  body:not(.shanman-designer-view) .store-eyebrow { font-size: 10px !important; letter-spacing: .14em; margin-bottom: 10px !important; }
  body:not(.shanman-designer-view) .store-section { padding-block: 34px; }
  body:not(.shanman-designer-view) .store-section-heading { margin-bottom: 20px; }
  body:not(.shanman-designer-view) .store-section-heading > p,
  body:not(.shanman-designer-view) .store-section-heading > div > p:not(.store-eyebrow) { max-width: none; font-size: 14px; line-height: 1.65; margin-top: 10px; }
  body:not(.shanman-designer-view) .store-section-heading > .store-text-link { margin-top: 8px; }
  body:not(.shanman-designer-view) .store-button { min-height: 46px; padding: 12px 16px; font-size: 14px; gap: 10px; border-radius: 10px; }
  body:not(.shanman-designer-view) .store-text-link { min-height: 44px; align-items: center; padding-block: 6px; font-size: 14px; }

  /* Natural image dimensions, not a tall cover background: show the full frame. */
  body:not(.shanman-designer-view) .store-hero { display: block; min-height: 0; background: #f4f0e8; border-bottom: 1px solid var(--store-line); }
  body:not(.shanman-designer-view) .store-hero-image { position: static; display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center; z-index: auto; }
  body:not(.shanman-designer-view) .store-hero::after { display: none; }
  body:not(.shanman-designer-view) .store-hero-inner { display: block; padding-block: 22px 24px; }
  body:not(.shanman-designer-view) .store-hero-copy { width: 100%; max-width: none; }
  body:not(.shanman-designer-view) .store-hero-copy h1 { font-size: clamp(32px, 8.5vw, 42px); line-height: 1.06; margin-bottom: 12px; }
  body:not(.shanman-designer-view) .store-hero-copy > p:not(.store-eyebrow) { max-width: 38em; font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
  body:not(.shanman-designer-view) .store-hero-copy > small { font-size: 11px; line-height: 1.6; margin-top: 12px; }
  body:not(.shanman-designer-view) .store-hero-copy .store-button-row { gap: 8px 14px; }
  body:not(.shanman-designer-view) .store-hero-copy .store-button { flex: 1 1 170px; }
  body:not(.shanman-designer-view) .store-hero-copy .store-text-link { flex: 0 1 auto; font-size: 13px; }

  body:not(.shanman-designer-view) .store-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  body:not(.shanman-designer-view) .store-collection-card { display: block; min-width: 0; }
  body:not(.shanman-designer-view) .store-image-wrap { border-radius: 10px; }
  body:not(.shanman-designer-view) .store-card-title { display: block; padding-top: 10px; }
  body:not(.shanman-designer-view) .store-card-title > svg { display: none; }
  body:not(.shanman-designer-view) .store-card-title h3 { font-size: clamp(17px, 4.5vw, 21px); line-height: 1.2; margin-bottom: 6px; overflow-wrap: anywhere; }
  body:not(.shanman-designer-view) .store-card-title p { font-size: 12px; line-height: 1.5; }
  body:not(.shanman-designer-view) .store-inspiration-grid { gap: 20px 12px; }
  body:not(.shanman-designer-view) .store-inspiration-product img { margin-bottom: 10px; }
  body:not(.shanman-designer-view) .store-inspiration-product small { font-size: 10px; letter-spacing: .06em; }
  body:not(.shanman-designer-view) .store-inspiration-product h3 { font-size: 15px; margin-block: 6px; }
  body:not(.shanman-designer-view) .store-inspiration-product span { font-size: 13px; }
  body:not(.shanman-designer-view) .store-studio-image img { min-height: 0; height: auto; aspect-ratio: auto; object-fit: contain; }
  body:not(.shanman-designer-view) .store-studio-copy { padding: 28px 16px 32px; }
  body:not(.shanman-designer-view) .store-studio-copy > p:not(.store-eyebrow) { max-width: none; font-size: 14px; line-height: 1.65; }
  body:not(.shanman-designer-view) .store-studio-copy ol { margin-block: 16px 20px; }
  body:not(.shanman-designer-view) .store-studio-copy li { max-width: none; padding-block: 9px; gap: 14px; font-size: 14px; }

  /* One horizontal rail, a visible next-card peek, native scrolling and snap. */
  body:not(.shanman-designer-view) .store-works-grid { display: flex; gap: 12px; overflow-x: auto; max-width: 100%; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-x: contain; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: #a5b09d #eeeee7; align-items: flex-start; }
  body:not(.shanman-designer-view) .store-work-card { flex: 0 0 min(76%, 276px); min-width: 0; scroll-snap-align: start; border: 1px solid var(--store-line); border-radius: 14px; }
  body:not(.shanman-designer-view) .store-work-card > img { aspect-ratio: 1; object-fit: contain; background: #f4f0e8; }
  body:not(.shanman-designer-view) .store-work-card > div { padding: 14px; }
  body:not(.shanman-designer-view) .store-work-card small { display: block; font-size: 10px; line-height: 1.5; letter-spacing: .07em; }
  body:not(.shanman-designer-view) .store-work-card h3 { margin-block: 7px; font-size: 21px; overflow-wrap: anywhere; }
  body:not(.shanman-designer-view) .store-work-card p { font-size: 14px; line-height: 1.6; margin-bottom: 0; }
  body:not(.shanman-designer-view) .store-gallery-toolbar:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  body:not(.shanman-designer-view) .store-gallery-toolbar[hidden],
  body:not(.shanman-designer-view) .store-work-more[hidden] { display: none !important; }
  body:not(.shanman-designer-view) .store-gallery-toolbar > p { font-size: 12px; color: var(--store-muted); margin: 0; }
  body:not(.shanman-designer-view) .store-gallery-buttons { display: flex; gap: 6px; }
  body:not(.shanman-designer-view) .store-gallery-buttons button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: var(--store-paper); color: var(--store-accent); border: 1px solid var(--store-line); border-radius: 50%; cursor: pointer; }
  body:not(.shanman-designer-view) .store-gallery-buttons svg { width: 18px; height: 18px; }
  body:not(.shanman-designer-view) .store-gallery-buttons button:disabled { opacity: .35; cursor: default; }
  body:not(.shanman-designer-view) .store-gallery-buttons button:focus-visible,
  body:not(.shanman-designer-view) .store-work-more:focus-visible,
  body:not(.shanman-designer-view) .store-works-grid:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; }
  body:not(.shanman-designer-view) .store-work-feedback.is-mobile-collapsed { max-height: 6.4em; overflow: hidden; }
  body:not(.shanman-designer-view) .store-work-feedback { font-size: 14px; line-height: 1.6; }
  body:not(.shanman-designer-view) .store-work-more:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; margin-top: 4px; background: transparent; border: 0; color: var(--store-accent); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  body:not(.shanman-designer-view) .store-story { padding: 34px 0; }
  body:not(.shanman-designer-view) .store-story > .store-container { width: calc(100% - 32px); }
  body:not(.shanman-designer-view) .store-story svg { margin-bottom: 12px; }
  body:not(.shanman-designer-view) .store-story p { margin: 14px auto; font-size: 14px; line-height: 1.7; }

  body:not(.shanman-designer-view) .store-page,
  body:not(.shanman-designer-view) .store-commerce { padding-top: 28px; padding-bottom: 36px; }
  body:not(.shanman-designer-view) .store-page-heading { margin-bottom: 24px; }
  body:not(.shanman-designer-view) .store-page h1 { font-size: clamp(30px, 8vw, 38px); margin-bottom: 16px; overflow-wrap: anywhere; }
  body:not(.shanman-designer-view) .store-editor-content h2 { font-size: 25px; margin-top: 26px; }
  body:not(.shanman-designer-view) .store-editor-content h3 { font-size: 21px; margin-top: 22px; }
  body:not(.shanman-designer-view) .store-editor-content p,
  body:not(.shanman-designer-view) .store-editor-content li { font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
  body:not(.shanman-designer-view) .store-blog-grid { gap: 24px; }
  body:not(.shanman-designer-view) .store-blog-grid h2 { font-size: 25px; }
  body:not(.shanman-designer-view) .store-footer { padding-top: 30px; border-top: 1px solid var(--store-line); }
  body:not(.shanman-designer-view) .store-footer-grid { gap: 24px 16px; }
  body:not(.shanman-designer-view) .store-footer-brand { font-size: 28px; }
  body:not(.shanman-designer-view) .store-footer p { margin-block: 12px; font-size: 13px; line-height: 1.65; }
  body:not(.shanman-designer-view) .store-footer h2 { margin-bottom: 12px; font-size: 12px; }
  body:not(.shanman-designer-view) .store-footer li { margin: 0; }
  body:not(.shanman-designer-view) .store-footer li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
  body:not(.shanman-designer-view) .store-footer small { font-size: 10px; }
  body:not(.shanman-designer-view) .store-social { gap: 16px; margin-top: 10px; font-size: 13px; }
  body:not(.shanman-designer-view) .store-footer-bottom { margin-top: 26px; padding-block: 16px; gap: 10px; font-size: 11px; }
  body:not(.shanman-designer-view) .store-dialog { width: calc(100% - 24px); max-width: 440px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 54px 20px 24px; border-radius: 16px; }
  body:not(.shanman-designer-view) .store-dialog h2 { font-size: 30px; }
  body:not(.shanman-designer-view) .store-dialog input { min-height: 46px; font-size: 16px; }
  body:not(.shanman-designer-view) .store-dialog-close { width: 44px; height: 44px; }
  body:not(.shanman-designer-view) .store-menu-dialog .store-menu { margin-block: 4px 20px; }
  body:not(.shanman-designer-view) .store-menu-dialog .store-menu li { padding-block: 4px; }
  body:not(.shanman-designer-view) .store-menu-dialog .store-menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: 24px; }
  body:not(.shanman-designer-view) .store-menu-dialog .sub-menu a { font-size: 18px; }
  body:not(.shanman-designer-view) .store-mobile-account-link:not([hidden]) { display: flex; align-items: center; min-height: 44px; margin-block: 8px 16px; padding-block: 8px; border-top: 1px solid var(--store-line); color: var(--store-accent); font-size: 15px; text-decoration: none; }
  body:not(.shanman-designer-view) .store-mobile-account-link[hidden] { display: none !important; }
}

@media (max-width: 360px) {
  body:not(.shanman-designer-view) .store-hero-copy .store-button-row { display: grid; gap: 4px; }
  body:not(.shanman-designer-view) .store-hero-copy .store-text-link { justify-self: start; }
  body:not(.shanman-designer-view) .store-logo a { font-size: 24px; }
}
