/* Swefood alkoholmeny: information cards (never bought online), the hero tag, the owner's switch and drink list.
   Loaded only while "Jag har serveringstillstånd" is on (and on the settings page). */

/* Menu: same card, but not clickable and without the add button. */
.sf-card.sf-card--info-only{cursor:default}
.sf-card.sf-card--info-only:hover{transform:none}
.sf-card__info-details{margin:.35rem 0 0;color:var(--sf-menu-text,inherit);font-size:.85rem;font-weight:700;line-height:1.35}
.sf-card__info-note{margin:.35rem 0 0;color:var(--sf-menu-muted,#6b7280);font-size:.8rem;line-height:1.4}

/* Hero tag "Serveringstillstånd": the chip itself (size, border, colours) comes from the hero's
   own .sf-home-hero-v2__chips li, like Leverans and Priser inkl. moms. Only the link is added here;
   it covers the whole chip so the full tag is clickable. */
.sf-home-hero-v2__chips li.sf-alcohol-chip{position:relative}
.sf-alcohol-chip a{display:inline-flex;align-items:center;gap:inherit;color:inherit;text-decoration:none;white-space:nowrap}
.sf-alcohol-chip a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.sf-alcohol-chip a:hover,.sf-alcohol-chip a:focus{color:inherit}
.sf-alcohol-chip a:focus{outline:none}
.sf-home-hero-v2__chips li.sf-alcohol-chip:focus-within{outline:3px solid color-mix(in srgb,var(--sf-focus-ring,var(--sf-brand,#0a84ff)) 78%,transparent);outline-offset:2px}

/* Produktinställningar: the switch. */
.sf-alcohol-settings__row{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:720px;padding:14px 16px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}
.sf-alcohol-settings__label{display:grid;gap:2px;cursor:pointer}
.sf-alcohol-settings__label strong{font-size:15px}
.sf-alcohol-settings__label small{color:#6b7280}
.sf-alcohol-settings__confirm{max-width:720px;margin:12px 0 0;padding:14px 16px;border:1px solid #f59e0b;border-radius:16px;background:#fffbeb}
.sf-alcohol-settings__confirm p{margin:0 0 10px;font-weight:600}
.sf-alcohol-settings__buttons{display:flex;flex-wrap:wrap;gap:8px}
.sf-alcohol-settings__status{min-height:1.2em;margin:8px 0 0;color:#15803d;font-weight:600}
.sf-alcohol-settings__status.is-error{color:#b91c1c}
.sf-alcohol-settings__links{display:flex;flex-wrap:wrap;gap:8px}
.sf-alcohol-settings[aria-busy="true"]{opacity:.7}

/* Produktinställningar → Alkohol & dryck: add, edit and list drinks on the same page.
   Fields, image row and buttons reuse the product editor's .sf-inline-editor styles. */
.sf-alcohol-drinks{max-width:720px;margin-top:18px;padding-top:16px;border-top:1px solid #e5e7eb}
.sf-alcohol-drinks__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sf-alcohol-drinks__head h4{margin:0 0 2px;font-size:15px}
.sf-alcohol-drinks__head p{margin:0;color:#6b7280;max-width:460px}
.sf-alcohol-drinks__add{white-space:nowrap}
.sf-alcohol-drinks__form{margin-top:14px;padding:14px 16px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.sf-alcohol-drinks__form h5{margin:0 0 6px;font-size:14px}
.sf-alcohol-drinks__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;align-items:start}
.sf-alcohol-drinks__media,.sf-alcohol-drinks__wide,.sf-alcohol-drinks__visible{grid-column:1/-1}
.sf-alcohol-drinks__media{display:grid;gap:6px;margin-top:4px}
.sf-alcohol-drinks__preview{width:60px;height:60px}
.sf-alcohol-drinks__hint{color:#6b7280;font-weight:400}
.sf-alcohol-drinks__visible{display:flex;align-items:center;gap:8px;margin-top:10px;font-weight:600}
.sf-alcohol-drinks__footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}
.sf-alcohol-drinks__footer .spinner{float:none;margin:0}
.sf-alcohol-drinks__status{min-height:1.2em;margin:10px 0 0;font-weight:600}
.sf-alcohol-drinks__status.is-success{color:#15803d}
.sf-alcohol-drinks__status.is-error{color:#b91c1c}
.sf-alcohol-drinks__list{margin-top:12px}
.sf-alcohol-drinks__empty{margin:0;padding:14px 16px;border:1px dashed #d1d5db;border-radius:16px;color:#6b7280}
.sf-alcohol-drinks__items{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.sf-alcohol-drink{display:flex;align-items:center;gap:12px;margin:0;padding:10px 12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.sf-alcohol-drink.is-editing{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(59,130,246,.12)}
.sf-alcohol-drink.is-saved{border-color:#86efac;box-shadow:0 0 0 3px rgba(34,197,94,.14)}
.sf-alcohol-drink.is-hidden .sf-alcohol-drink__image,.sf-alcohol-drink.is-hidden .sf-alcohol-drink__name{opacity:.6}
.sf-alcohol-drink__image{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;overflow:hidden;border:1px solid rgba(15,23,42,.08);border-radius:12px;background:#f8fafc;color:#9ca3af}
.sf-alcohol-drink__image img{display:block;width:100%;height:100%;object-fit:cover}
.sf-alcohol-drink__body{display:grid;gap:2px;min-width:0;flex:1 1 auto}
.sf-alcohol-drink__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.sf-alcohol-drink__badge{justify-self:start;padding:1px 8px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-size:11px;font-weight:600}
.sf-alcohol-drink__meta{color:#111827;font-weight:600;font-size:13px}
.sf-alcohol-drink__desc{overflow:hidden;color:#6b7280;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}
.sf-alcohol-drink__actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.sf-alcohol-drinks[aria-busy="true"] .sf-alcohol-drinks__list{opacity:.7}
@media (max-width:600px){
  .sf-alcohol-drinks__grid{grid-template-columns:1fr}
  .sf-alcohol-drink{flex-wrap:wrap}
  .sf-alcohol-drink__body{flex-basis:calc(100% - 70px)}
  .sf-alcohol-drink__actions{width:100%;justify-content:flex-end}
}
@media (prefers-reduced-motion:reduce){.sf-alcohol-drink{transition:none}}
