/* Mobile controls keep their hit area even when the card is narrow. */
@media(max-width:780px){
  :where(main,footer,dialog) :is(button,a[href],summary,select){min-block-size:44px}
  .header .brand{min-block-size:44px}
  .card-stepper button{min-height:44px;min-width:44px}
  .card-stepper{height:auto;min-height:46px}
  .home-product h3,.shop-card .shop-name{margin-bottom:4px}
  .home-product h3 a,.shop-name a,.card-title a{display:flex;align-items:center;min-height:44px}
  .cart-row h2 a,.crumb a,.footer-inner a,.pdp-material a,.detail-copy>a.story-kicker,
  .toast a,.home-category-links a{display:inline-flex;align-items:center;min-height:44px}
  .footer-inner nav{gap:2px 14px}
  .footer-inner nav a,.crumb a{min-width:44px;justify-content:center}
  .text-link{min-height:44px;align-items:center;white-space:normal}
  .real-edit-copy .text-link{min-height:44px}
  .chip,.size,.facet-clear,#catalog-filters select,#catalog-filters input[type=search],.facet-sort select{min-height:44px}
  .size,.facet-clear,.stepper button{min-width:44px}
  .stepper button{min-height:44px;width:44px}
  .stepper{min-height:46px}
  .radio-option{min-height:46px}
  .remove{padding-inline:5px}
  .search-list a,.menu-list a{min-height:46px}
  .search-input{min-height:44px;font-size:16px}

  /* A tap anywhere along each row activates its own category. */
  .savana-home .home-category-edit .section-head{
    align-items:flex-start;flex-direction:column;gap:8px
  }
  .savana-home .home-category-edit .section-head .text-link{
    display:inline-flex;justify-content:center;min-height:44px;margin:0;
    border:0;border-radius:999px;padding:0 13px;background:#eaeaea;font-size:13px
  }
  .home-category-open{min-height:44px;margin-top:5px;font-size:14px;font-weight:600}
  .savana-home .home-category-links{display:grid;gap:0;padding:0}
  .savana-home .home-category-links a{
    display:flex;min-height:48px;min-width:0;padding:9px 12px;
    text-decoration:none;font-size:13px;font-weight:550;overflow-wrap:anywhere
  }
  .home-category-links a+a{border-top:1px solid #e2e2e2}
  .home-category-cover:active>div,.home-category-links a:active{background:#e7e7e7}
  .home-category-tile a:focus-visible{outline-offset:-3px}

  /* Swiping still works, with buttons as an alternative to the gesture. */
  .savana-home .rail-head{display:grid;justify-content:stretch;gap:4px}
  .savana-home .rail-actions{justify-content:space-between}

  .cart-row .remove{min-width:44px;padding-inline:7px}
  .cart-grid>div>.text-link,#checkout-form>.text-link{padding-inline:6px}
  .radio-option{
    min-height:50px;padding:8px 12px;border:1px solid #ddd;border-radius:10px;margin-block:6px
  }
  .radio-option:has(input:checked){border-color:#8a8a8a;background:#f1f1f1}
  #catalog-filters .facet-check{min-height:48px;padding-block:7px;cursor:pointer}
  #catalog-filters input[type=search]{font-size:16px}
  .toast{width:max-content;max-width:calc(100% - 24px)}
}


/* Dialog actions must not shrink when a product has a long title. */
.dialog-head .icon{flex:0 0 44px;width:44px;height:44px;border-radius:50%}
.dialog-head h2{min-width:0;overflow-wrap:anywhere}
@media(max-width:780px){
  .dialog-head{align-items:flex-start;gap:8px}
  .dialog-head h2{font-size:clamp(23px,6vw,30px)}
  .dialog-head .icon{margin-right:0}
}
