/* Mobile storefront refinements: shared cart and checkout remain unchanged. */
html { -webkit-text-size-adjust:100%; scroll-padding-top:92px; }
button, a, input, select, textarea, summary { touch-action:manipulation; }
@media (max-width:760px) {
  *, *::before, *::after { box-sizing:border-box; }
  body { overflow-wrap:break-word; }
  main, section, article, nav, form, fieldset, .fc-item-text { min-width:0; }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size:16px!important; max-width:100%; }
  button, summary, a.button, a.btn, .hero-link, .nav-cta, .text-link { min-height:44px; }
  button { max-width:100%; }
  :is(.close,.close-dialog,.close-product,.dialog-close,.fc-close) { width:44px; height:44px; min-width:44px; }
  :is(.fcart-qty,.quantity-control) button { width:44px; height:44px; min-width:44px; }
  :is(.fcart-remove,.remove,.fc-policy-link,.fc-consents button) { min-height:44px; }
  :is(.fcart-header,.cart-button) { min-height:44px; flex-shrink:0; }
  dialog, dialog#product-dialog, dialog.fc-dialog { width:calc(100% - 24px); max-width:620px; max-height:calc(100dvh - 24px); margin:auto; border-radius:20px; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  dialog::backdrop { touch-action:none; }
  .fc-head { padding:14px 16px; gap:12px; }
  .fc-body { padding:22px 18px max(22px,env(safe-area-inset-bottom)); }
  .fc-dialog h2 { font-size:25px; line-height:1.35; }
  .fc-steps { flex-wrap:wrap; gap:8px; line-height:1.6; }
  .fc-item { align-items:flex-start; flex-wrap:wrap; gap:12px; }
  .fc-item-text { flex:1 1 120px; }
  .fc-item select { min-height:44px; max-width:100%; }
  .fc-pay-options { grid-template-columns:1fr; gap:8px; }
  .fc-pay label { min-height:48px; justify-content:flex-start; padding:13px 16px; font-size:14px; }
  .fc-consents label { min-height:44px; align-items:flex-start; font-size:13px; padding:6px 0; }
  .fc-consents button { display:inline; }
  .fc-ticket { padding:20px; }
  .fcart-item-controls { flex-wrap:wrap; }
  .fcart-item-content { overflow-wrap:anywhere; }
  .fcart-item .fc-photo { width:52px; height:52px; flex-basis:52px; }
  .fcart-dock { bottom:calc(12px + env(safe-area-inset-bottom)); left:12px; right:12px; max-width:none; gap:12px; }
  .fc-footer-privacy { padding-bottom:calc(155px + env(safe-area-inset-bottom)); }
  .fc-footer-privacy summary { display:flex; align-items:center; }
  .brand-social-footer a { display:inline-flex; align-items:center; min-height:44px; }
  .fcart-card-actions button, .fcart-full-add, .fcart-inline-add { font-size:14px; min-height:46px; }
  .fc-fine, .fc-fine a, .fc-ticket small { line-height:1.8; }
}
@media (max-width:359px) {
  .fc-body { padding-inline:15px; }
  .fc-head { padding-inline:15px; }
  .fc-dialog h2 { font-size:23px; }
  .fc-ticket strong { font-size:44px; }
  .fcart-item { gap:9px; }
  .fcart-qty span { min-width:32px; }
}

@media (max-width:760px) {
  /* One clear reading order for the meal storefront. */
  body[data-food-brand=deodameun] main { padding:18px 16px 0; }
  body[data-food-brand=deodameun] .header-inner { padding:10px 16px; }
  body[data-food-brand=deodameun] .hero { grid-template-columns:1fr; }
  body[data-food-brand=deodameun] .hero-copy { padding:27px 24px; }
  body[data-food-brand=deodameun] .hero h1 { font-size:clamp(34px,9vw,43px); letter-spacing:-1.8px; }
  body[data-food-brand=deodameun] .hero-copy p { font-size:16px; }
  body[data-food-brand=deodameun] .hero-copy .eyebrow { font-size:12px; }
  body[data-food-brand=deodameun] .hero-link { display:inline-flex; align-items:center; font-size:15px; }
  body[data-food-brand=deodameun] .hero-photo { aspect-ratio:1; }
  body[data-food-brand=deodameun] .hero-label { font-size:12px; right:16px; bottom:16px; }
  body[data-food-brand=deodameun] .hero-label small { font-size:11px; }
  body[data-food-brand=deodameun] .catalog-controls { flex-wrap:wrap; }
  body[data-food-brand=deodameun] .categories { width:100%; gap:6px; }
  body[data-food-brand=deodameun] .categories button { flex:1; padding:10px 8px; min-width:0; font-size:14px; }
  body[data-food-brand=deodameun] .section-heading { flex-wrap:wrap; align-items:start; }
  body[data-food-brand=deodameun] .section-heading h2 { font-size:25px; }
  body[data-food-brand=deodameun] .product-name { min-height:44px; font-size:17px; }
  body[data-food-brand=deodameun] .product-subtitle { font-size:13px; }
  body[data-food-brand=deodameun] .nutrition-row span { font-size:12px; }
  body[data-food-brand=deodameun] .pairing { grid-template-columns:1fr; padding:24px; }
  body[data-food-brand=deodameun] .pairing p { font-size:14px; }
  body[data-food-brand=deodameun] .pair-photos { flex-direction:row; }
  body[data-food-brand=deodameun] .pair-photos>.realistic-photo { width:calc(50% - 5px); margin:0; }
  body[data-food-brand=deodameun] .detail-head { grid-template-columns:1fr; }
  body[data-food-brand=deodameun] .detail-head>.realistic-photo { height:auto; aspect-ratio:1; }
  body[data-food-brand=deodameun] .detail-actions { flex-wrap:wrap; }
  body[data-food-brand=deodameun] .detail-actions select { flex:1 1 110px; }
  body[data-food-brand=deodameun] .detail-actions button { flex:2 1 150px; }
  body[data-food-brand=deodameun] .cart-content { padding:54px 18px 24px; }
  body[data-food-brand=deodameun] .cart-item { flex-wrap:wrap; }
  body[data-food-brand=deodameun] .cart-item-price { margin-left:auto; }
  body[data-food-brand=deodameun] .cart-dock { bottom:calc(12px + env(safe-area-inset-bottom)); }

  /* Dessert cards keep a square food crop and generous, readable controls. */
  body[data-food-brand=plusbite] .wrap { width:calc(100% - 32px); }
  body[data-food-brand=plusbite] .header { padding:14px 0; min-height:0; gap:12px; flex-wrap:wrap; }
  body[data-food-brand=plusbite] .header .brand { font-size:27px; }
  body[data-food-brand=plusbite] .header nav { width:100%; justify-content:space-between; gap:10px; }
  body[data-food-brand=plusbite] .header nav>a.nav-cta { font-size:14px; display:inline-flex; align-items:center; }
  body[data-food-brand=plusbite] .hero { padding:28px 0 32px; gap:24px; }
  body[data-food-brand=plusbite] .hero h1 { font-size:clamp(34px,9vw,46px); line-height:1.3; letter-spacing:-1.8px; }
  body[data-food-brand=plusbite] .hero-description { font-size:16px; line-height:1.8; }
  body[data-food-brand=plusbite] .hero-actions { gap:12px; }
  body[data-food-brand=plusbite] .hero-art, body[data-food-brand=plusbite] .card-image { aspect-ratio:1; }
  body[data-food-brand=plusbite] .section { padding-block:42px; }
  body[data-food-brand=plusbite] .section-heading { display:block; }
  body[data-food-brand=plusbite] .section-heading>p { margin-top:16px; font-size:15px; }
  body[data-food-brand=plusbite] .card-copy { padding:23px 20px; }
  body[data-food-brand=plusbite] .card-copy h3 { font-size:25px; }
  body[data-food-brand=plusbite] .product-detail dl>div { grid-template-columns:90px minmax(0,1fr); gap:12px; }

  /* The three compact food shops now flow naturally, without overlapping art. */
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .storefront { width:100%; max-width:480px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .header { min-height:68px; height:auto; gap:10px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .header>.brand { font-size:25px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .shop-tabs { overflow-x:auto; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .shop-tabs a { min-height:46px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; font-size:14px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero.wrap { display:flex; flex-direction:column; height:auto; padding:28px 22px 20px; gap:18px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero-copy { max-width:100%; width:100%; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero h1 { font-size:clamp(29px,8vw,35px); line-height:1.3; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero-target { max-width:100%; font-size:14px; line-height:1.7; margin-top:14px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero-art { position:relative; right:auto; top:auto; width:100%; height:220px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero-primary { width:64%; max-width:210px; top:3px; right:5%; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero-secondary { width:39%; max-width:132px; left:3%; top:auto; bottom:5px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero-image-note { font-size:10px; bottom:8px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .quick-menu { padding:20px 12px; gap:8px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .quick-menu button { flex:1; min-width:0; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .quick-menu b { font-size:12px; line-height:1.6; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .section-head { flex-wrap:wrap; gap:14px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .pack-tabs button { font-size:13px; min-height:44px; padding:9px 12px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .card h3 { font-size:16px; line-height:1.5; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .card-sub { font-size:13px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .card-chips span { font-size:11px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) :is(.per-unit,.collection-note,.catalog-bottom,.faq-grid p,.product-subtitle) { font-size:12px; line-height:1.7; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .card .btn { font-size:13px; min-height:46px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .bottom-nav { height:calc(64px + env(safe-area-inset-bottom)); max-width:480px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .bottom-nav a { min-height:48px; font-size:12px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .product-cover>.food-photo { aspect-ratio:1; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .radio { min-height:44px; font-size:14px; }

  /* Hanipdeo: text, product, and carousel controls each have their own space. */
  body[data-food-brand=hanipdeo] .header-main { gap:12px; }
  body[data-food-brand=hanipdeo] .header-main>.brand { min-width:0; }
  body[data-food-brand=hanipdeo] .campaign { height:auto; display:flex; flex-direction:column; }
  body[data-food-brand=hanipdeo] .campaign-copy { width:100%; padding:26px 18px 18px; pointer-events:auto; }
  body[data-food-brand=hanipdeo] .campaign h1 { font-size:clamp(26px,7.2vw,34px); line-height:1.4; }
  body[data-food-brand=hanipdeo] .campaign-copy>p:not(.campaign-concept-label) { font-size:15px; }
  body[data-food-brand=hanipdeo] .campaign-copy .campaign-concept-label { max-width:none; font-size:12px; }
  body[data-food-brand=hanipdeo] .campaign-photo { position:relative; width:74%; max-width:280px; height:auto; right:auto; top:auto; bottom:auto; margin:0 auto 18px; }
  body[data-food-brand=hanipdeo] .hero-product { max-width:none; width:100%; }
  body[data-food-brand=hanipdeo] .hero-product>span { font-size:12px; }
  body[data-food-brand=hanipdeo] .campaign-controls { position:relative; left:auto; bottom:auto; right:auto; align-self:center; height:44px; margin:0 0 22px; }
  body[data-food-brand=hanipdeo] .campaign-controls button { width:44px; min-height:44px; font-size:15px; }
  body[data-food-brand=hanipdeo] .concept-tabs { padding-bottom:4px; }
  body[data-food-brand=hanipdeo] .concept-tabs button { font-size:14px; }
  body[data-food-brand=hanipdeo] .card-actions { grid-template-columns:1fr; }
  body[data-food-brand=hanipdeo] .card-actions button { min-height:46px; font-size:14px; }
  body[data-food-brand=hanipdeo] .product-body h3 { font-size:16px!important; line-height:1.5; }
  body[data-food-brand=hanipdeo] .product-description { font-size:14px; line-height:1.75; }
  body[data-food-brand=hanipdeo] .concept-card-goal { font-size:12px; line-height:1.7; }
  body[data-food-brand=hanipdeo] .image-interest { width:44px; height:44px; }
  body[data-food-brand=hanipdeo] .mobile-nav>* { min-height:48px; }
  body[data-food-brand=hanipdeo] .dialog-inner { padding:54px 18px 24px; }
  body[data-food-brand=hanipdeo] .nutrition-table { table-layout:fixed; overflow-wrap:anywhere; }
  body[data-food-brand=hanipdeo] .nutrition-table td:nth-child(2) { white-space:normal; }
  body[data-food-brand=hanipdeo] .detail-facts>div { grid-template-columns:76px minmax(0,1fr); }
}
@media(max-width:359px) {
  body[data-food-brand=deodameun] .product-grid,
  body[data-food-brand=hanipdeo] .product-grid,
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .grid { grid-template-columns:minmax(0,1fr); }
  body[data-food-brand=hanipdeo] :is(.product-description,.concept-card-goal,.concept-card .product-description,.concept-card .product-body h3) { min-height:0; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .header>.brand { font-size:23px; }
  body:is([data-food-brand=deundeun],[data-food-brand=danbaek],[data-food-brand=sogeum]) .hero-art { height:190px; }
  body[data-food-brand=hanipdeo] .bulk-highlights { grid-template-columns:1fr; }
  body[data-food-brand=hanipdeo] .bulk-highlights>div { border:0; padding-left:3px; }
}
