/* Shared phone controls: independent of page, footer and store styling. */
#fs-phone-actions { display: none; }
@media (max-width: 650px) {
  #fs-phone-actions {
    box-sizing: border-box;
    position: fixed;
    inset: auto 0 0;
    z-index: 110;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid #c6d0d6;
    background: #fff;
    box-shadow: 0 -4px 18px #13283214;
    font-family: var(--body, 'DM Sans', sans-serif);
  }
  #fs-phone-actions.phone-actions--with-chat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #fs-phone-actions > a,
  #fs-phone-actions > #farm-assistant-launch {
    box-sizing: border-box;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    height: auto;
    margin: 0;
    padding: 8px 6px;
    border: 1px solid #c6d0d6;
    border-left: 0;
    border-radius: 0;
    background: #fff;
    color: #132832;
    box-shadow: none;
    font: 700 1rem/1.3 var(--body, 'DM Sans', sans-serif);
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
  }
  #fs-phone-actions > a:first-child { border-left: 1px solid #c6d0d6; }
  #fs-phone-actions > .phone-call { background: #f5c344; color: #132832; }
  #fs-phone-actions > #farm-assistant-launch { background: #14603d; color: #fff; }
  #fs-phone-actions > a:hover { background: #e8eef1; }
  #fs-phone-actions > .phone-call:hover { background: #ffdb76; }
  #fs-phone-actions > #farm-assistant-launch:hover { background: #0d4c2e; }
  #fs-phone-actions > :focus-visible { outline: 3px solid #277bb0; outline-offset: -4px; }
  body:has(input:focus, textarea:focus, select:focus) #fs-phone-actions { display: none; }
}
@media print { #fs-phone-actions { display: none !important; } }
