.beer-explorer [hidden] { display: none !important; }
.beer-explorer { scroll-margin-top: 32px; }
.beer-eyebrow { display: block; margin-bottom: 18px; color: var(--amber); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.beer-explorer__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 20px; border-top: 1px solid var(--line); }
.beer-explorer__toolbar p { margin: 0; font-size: .9rem; font-weight: 800; }
.beer-explorer__toolbar p span { margin-left: 8px; color: var(--ink-soft); font-weight: 400; }
.beer-arrows { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.beer-arrows span { color: var(--sand); font-size: .74rem; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.beer-arrows button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--cream); font: inherit; cursor: pointer; }
.beer-arrows button:hover { background: var(--cream); color: var(--ink); }
.beer-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.beer-choice { position: relative; min-width: 0; padding: 0 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #241a14; color: var(--cream); text-align: left; cursor: pointer; font: inherit; transition: border-color .2s, background .2s, transform .2s; }
.beer-choice:hover { border-color: var(--beer-accent); transform: translateY(-3px); }
.beer-choice[aria-selected="true"] { border-color: var(--beer-accent); background: #36271d; box-shadow: inset 0 -3px var(--beer-accent); }
.beer-choice__photo { position: relative; display: block; height: 190px; overflow: hidden; margin-bottom: 18px; }
.beer-choice__photo::after { position: absolute; content: ''; inset: 0; background: linear-gradient(180deg, transparent 65%, #241a14); pointer-events: none; }
.beer-choice__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; transition: transform .3s; }
.beer-choice:hover img { transform: scale(1.04); }
.beer-choice__index { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border: 1px solid #f7efe22b; background: #16110e9c; color: var(--cream); font-size: .65rem; letter-spacing: .1em; }
.beer-choice__name, .beer-choice__style, .beer-choice__status { display: block; margin-inline: 17px; }
.beer-choice__name { font-family: 'Anton', sans-serif; font-size: clamp(1.2rem, 2.1vw, 1.65rem); font-weight: 400; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; }
.beer-choice__style { min-height: 2.8em; margin-top: 8px; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
.beer-choice__status { margin-top: 12px; color: var(--beer-accent); font-size: .72rem; font-weight: 800; line-height: 1.5; letter-spacing: .02em; }
.beer-choice__status::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.beer-choice__status.is-soldout { color: #c8bdb1; }
.beer-detail { display: grid; grid-template-columns: .82fr 1.18fr; margin-bottom: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #241b16; scroll-margin-top: 28px; }
.beer-detail__visual { position: relative; min-height: 590px; background: #17110e; }
.beer-detail__visual > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.beer-detail__edition { position: absolute; left: 22px; bottom: 22px; padding: 10px 15px; border: 1px solid #f7efe238; border-radius: 50px; background: #16110ecc; color: var(--cream); font-size: .72rem; font-weight: 800; backdrop-filter: blur(8px); }
.beer-detail__copy { padding: clamp(24px, 3vw, 42px); background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--beer-accent) 12%, transparent), transparent 65%); }
.beer-detail__copy h3 { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; margin: 16px 0 20px; font-size: clamp(2.8rem, 4.5vw, 4.3rem); font-weight: 400; line-height: 1.18; text-transform: uppercase; }
.beer-detail__name { min-width: 0; text-wrap: balance; }
.beer-explorer .section-head p { max-width: 58ch; text-wrap: pretty; }
.product__kicker { color: var(--beer-accent); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.beer-detail__copy > p { max-width: 58ch; margin: 0 0 24px; color: var(--sand); font-size: 1rem; line-height: 1.75; text-wrap: pretty; }
.product__icon { width: 64px; height: 48px; object-fit: contain; }
.product__icon-badge { padding: 8px; border: 1px solid var(--beer-accent); color: var(--beer-accent); font-size: 1rem; }
.beer-story { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.beer-story summary { display: flex; justify-content: space-between; gap: 12px; padding: 17px 0; font-size: .85rem; font-weight: 800; cursor: pointer; list-style: none; }
.beer-story summary::-webkit-details-marker { display: none; }
.beer-story summary::after { content: '+'; color: var(--beer-accent); font-size: 1.2rem; line-height: 1; }
.beer-story[open] summary::after { content: '−'; }
.beer-story p { max-width: 62ch; margin: 0 0 22px; color: var(--ink-soft); font-size: .95rem; line-height: 1.8; text-wrap: pretty; }
.product__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 22px 0; }
.info-card { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 16px; }
.info-card h4 { margin: 3px 0 0; color: var(--beer-accent); font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.info-card p { max-width: 58ch; margin: 0; color: var(--ink-soft); font-size: .9375rem; line-height: 1.7; text-wrap: pretty; }
.product__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.product__price span { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.product__price strong { font-size: 1.55rem; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; color: var(--cream); }
.product__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.product__actions .button { min-height: 46px; padding: 12px 17px; font-size: .8125rem; line-height: 1.45; text-align: center; }
.beer-unavailable { color: #c8bdb1; font-size: .8rem; }
.beer-explorer__footnote { display: flex; justify-content: space-between; gap: 20px; padding-top: 2px; color: var(--ink-soft); font-size: .8125rem; line-height: 1.7; }
.beer-explorer__footnote a { color: var(--sand); text-decoration: underline; text-underline-offset: 4px; }
.beer-explorer :focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
.beer-detail:focus-visible { outline-offset: 3px; }
@media (max-width: 900px) {
  .beer-shelf { gap: 8px; }
  .beer-choice__photo { height: 150px; }
  .beer-choice__name, .beer-choice__style, .beer-choice__status { margin-inline: 10px; }
  .beer-detail { grid-template-columns: .8fr 1.2fr; }
  .beer-detail__visual { min-height: 550px; }
  .info-card { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 600px) {
  .beer-explorer__toolbar p { font-size: .8rem; }
  .beer-explorer__toolbar p span { display: block; margin: 5px 0 0; font-size: .7rem; }
  .beer-arrows { gap: 10px; }
  .beer-arrows button { width: 36px; height: 36px; }
  .beer-shelf { grid-template-columns: repeat(5, 150px); overflow-x: auto; padding: 6px 5px 16px; margin-inline: -5px; scroll-snap-type: x proximity; }
  .beer-choice { scroll-snap-align: start; }
  .beer-choice__photo { height: 150px; }
  .beer-choice__name { font-size: 1.25rem; }
  .beer-detail { grid-template-columns: 1fr; }
  .beer-detail__visual { min-height: 340px; height: 340px; }
  .beer-detail__visual > img { object-position: center 55%; }
  .beer-detail__copy { padding: 25px; }
  .beer-detail__copy h3 { gap: 10px; font-size: clamp(2.15rem, 8.5vw, 3rem); }
  .product__icon { width: 42px; height: 36px; }
  .info-card { grid-template-columns: 1fr; gap: 5px; }
  .beer-explorer__footnote { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beer-choice, .beer-choice img { transition: none; }
}
