:root {
  --navy: #0b1f5c;
  --navy-deep: #07143a;
  --navy-mid: #14307a;
  --silver: #c5cad3;
  --steel: #e6e9ef;
  --steel-dark: #9aa3b2;
  --paper: #f3f5f8;
  --ink: #121826;
  --muted: #4a5568;
  --yellow: #f0c93a;
  --deal-green: #1f7a3a;
  --deal-yellow: #f2d24b;
  --white: #ffffff;
  --line: rgba(11, 31, 92, 0.12);
  --header-h: 4.5rem;
  --radius: 2px;
  --font-display: "Teko", sans-serif;
  --font-body: "Barlow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(180deg, #dfe3ea 0%, var(--paper) 28%, var(--paper) 100%);
  min-height: 100vh;
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-mid);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, #f7f8fb 0%, #e8ebf1 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
}

.brand {
  text-decoration: none;
  color: var(--navy);
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand:hover {
  color: var(--navy);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: lowercase;
}

.header-search {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--steel-dark);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.header-search:focus-within {
  border-color: var(--navy);
  outline: 2px solid rgba(11, 31, 92, 0.18);
  outline-offset: 1px;
}

.header-search input {
  border: 0;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.98rem;
  background: transparent;
  min-width: 0;
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  border: 0;
  border-left: 1px solid var(--silver);
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  padding: 0 1.1rem;
  cursor: pointer;
}

.header-search button:hover {
  background: var(--navy-mid);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.action-phone {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
}

.action-link {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--navy);
}

.cart-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.15;
  border-left: 1px solid var(--silver);
  padding-left: 0.85rem;
}

.cart-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--steel-dark);
  background: var(--white);
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 0.28rem 0;
}

.primary-nav {
  border-top: 1px solid var(--line);
  background: var(--navy);
}

.nav-list {
  list-style: none;
  margin: 0 auto;
  padding: 0 0.4rem;
  max-width: 1180px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.nav-list > li {
  position: relative;
  flex: 0 0 auto;
}

.has-dropdown {
  position: relative;
}

.primary-nav .nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 0.95rem;
  display: block;
  white-space: nowrap;
}

.primary-nav .nav-link:hover,
.nav-list > li.is-active > .nav-link,
.has-dropdown:hover > .nav-link,
.has-dropdown.is-open > .nav-link {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: max-content;
  min-width: 100%;
  max-width: 16rem;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  box-shadow: 0 10px 22px rgba(7, 20, 58, 0.14);
  z-index: 80;
}

.has-dropdown:hover > .dropdown,
.has-dropdown.is-open > .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--steel);
  color: var(--navy-deep);
}

.dropdown-all {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.15rem;
  padding-bottom: 0.15rem;
}

.dropdown-all a {
  font-weight: 700;
}

.dropdown a[href*="category=dealz"] {
  color: #8a6a00;
}

.nav-caret {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.65rem 0.7rem 0.65rem 0;
  cursor: pointer;
  opacity: 0.9;
}

.has-dropdown:hover > .nav-caret,
.has-dropdown.is-open > .nav-caret {
  background: rgba(255, 255, 255, 0.1);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 20, 58, 0.88) 0%, rgba(7, 20, 58, 0.55) 42%, rgba(7, 20, 58, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 20, 58, 0.55), transparent 45%),
    url("https://images.unsplash.com/photo-1571613316887-6f8d5cbf7ef7?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, -0.8%, 0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.25rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.15rem;
  line-height: 0.9;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: rise 0.7s ease both;
}

.hero-content h1 {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  max-width: 18ch;
  animation: rise 0.7s ease 0.08s both;
}

.hero-copy {
  margin: 0 0 1.4rem;
  max-width: 36ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.7s ease 0.16s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.7s ease 0.24s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--deal-yellow);
  color: var(--navy-deep);
  border-color: var(--deal-yellow);
}

.btn-primary:hover {
  background: #ffe06a;
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* —— Sections —— */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
  line-height: 1;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.dealz-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  background:
    linear-gradient(120deg, var(--deal-green) 0%, #246b38 55%, #1a5c2e 100%);
  border: 1px solid #165128;
  color: var(--deal-yellow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dealz-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 31, 92, 0.12);
  color: var(--deal-yellow);
}

.dealz-mark {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.dealz-cta {
  font-weight: 700;
  color: var(--white);
}

.product-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-row a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-row a:hover h3 {
  color: var(--navy-mid);
}

.product-thumb {
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  background-color: var(--steel);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.product-thumb.grain {
  background-image: linear-gradient(rgba(11, 31, 92, 0.15), rgba(11, 31, 92, 0.15)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=600&q=80");
}

.product-thumb.hops {
  background-image: linear-gradient(rgba(11, 31, 92, 0.12), rgba(11, 31, 92, 0.12)),
    url("https://images.unsplash.com/photo-1571613316887-6f8d5cbf7ef7?auto=format&fit=crop&w=600&q=80");
}

.product-thumb.keg {
  background-image: linear-gradient(rgba(11, 31, 92, 0.2), rgba(11, 31, 92, 0.2)),
    url("https://images.unsplash.com/photo-1608270586620-248524c67de9?auto=format&fit=crop&w=600&q=80");
}

.product-thumb.clean {
  background-image: linear-gradient(rgba(11, 31, 92, 0.15), rgba(11, 31, 92, 0.15)),
    url("https://images.unsplash.com/photo-1582735689369-4fe89db7114c?auto=format&fit=crop&w=600&q=80");
}

.product-row h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
}

.product-row p {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.notice-panel {
  max-width: 420px;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
}

.notice-panel h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.notice-panel > p {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 0.75rem;
}

.login-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.login-form input {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--steel-dark);
  border-radius: var(--radius);
  background: var(--paper);
}

.login-form input:focus {
  outline: 2px solid rgba(11, 31, 92, 0.25);
  border-color: var(--navy);
}

.notice-links {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.site-footer a {
  color: var(--silver);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: flex-start;
  font-weight: 600;
}

.footer-legal {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  color: var(--steel-dark);
}

/* —— Content pages —— */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
  line-height: 1;
}

.page-header p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 50ch;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
  line-height: 1.1;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose a {
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.contact-form,
.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--steel-dark);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-aside h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-aside p {
  margin: 0.35rem 0;
  color: var(--muted);
}

/* —— Shop —— */
.page-shop {
  max-width: 1100px;
}

.shop-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.shop-header .page-header,
.shop-header {
  margin-bottom: 1rem;
}

.shop-header h1 {
  margin: 0;
}

.shop-header p {
  margin: 0.25rem 0 0;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
}

.shop-toolbar label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.shop-toolbar input,
.shop-toolbar select {
  font: inherit;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--steel-dark);
  border-radius: var(--radius);
  background: var(--white);
}

.shop-search-label input {
  width: min(220px, 50vw);
}

#result-count {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.shop-filters {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-list button {
  border: 1px solid var(--silver);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: var(--radius);
  white-space: nowrap;
}

.filter-list button:hover {
  border-color: var(--navy);
}

.filter-list button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-grid > li {
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 0;
}

.product-grid .product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.65rem;
  position: relative;
}

.product-thumb-wrap {
  position: relative;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.product-grid .product-thumb {
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
}

.btn-add-keg {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  border: 0;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s ease;
  z-index: 2;
}

.product-card:hover .btn-add-keg,
.product-card:focus-within .btn-add-keg {
  opacity: 1;
  transform: translateY(0);
}

.btn-add-keg:hover,
.btn-add-keg.is-added {
  background: var(--navy-mid);
}

@media (hover: none) {
  .btn-add-keg {
    opacity: 1;
    transform: none;
  }
}

.product-grid h3 {
  margin: 0.2rem 0 0.1rem;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.25;
}

.product-grid .price {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-grid .meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--steel-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.shop-empty {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--white);
  border: 1px dashed var(--steel-dark);
  color: var(--muted);
  font-weight: 600;
}

.shop-empty a {
  font-weight: 700;
  margin-left: 0.35rem;
}

/* —— Product detail —— */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.product-gallery .product-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  margin: 0;
}

.product-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.product-crumb a {
  text-decoration: none;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
  line-height: 1;
}

.product-price {
  margin: 0.55rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.product-summary {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: var(--ink);
}

.product-description {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 48ch;
}

.product-form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.product-form fieldset {
  border: 1px solid var(--line);
  margin: 0;
  padding: 0.85rem;
  background: var(--white);
}

.product-form legend {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 0.25rem;
}

.option-list {
  display: grid;
  gap: 0.45rem;
}

.option-chip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--silver);
  background: var(--paper);
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.option-chip:has(input:checked) {
  border-color: var(--navy);
  background: rgba(11, 31, 92, 0.06);
}

.option-chip input {
  accent-color: var(--navy);
}

.option-chip em {
  font-style: normal;
  color: var(--muted);
}

.qty-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--navy);
}

.qty-label input {
  width: 4.5rem;
  font: inherit;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--steel-dark);
  border-radius: var(--radius);
  background: var(--white);
}

.btn-keg {
  justify-self: start;
  min-width: 10rem;
}

.product-toast {
  margin: 0;
  font-weight: 700;
  color: var(--deal-green);
}

/* —— Keg page —— */
.keg-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.keg-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.keg-item .product-thumb {
  aspect-ratio: 1;
  margin: 0;
}

.keg-item h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.keg-item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.keg-item label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.88rem;
}

.keg-qty {
  width: 3.5rem;
  font: inherit;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--steel-dark);
}

.keg-remove {
  border: 1px solid var(--silver);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

.keg-remove:hover {
  border-color: var(--navy);
}

.keg-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.keg-summary p {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-search {
    grid-column: 1 / -1;
    max-width: none;
    order: 3;
  }

  .action-phone {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    justify-content: flex-start;
  }

  .has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .has-dropdown > .nav-shop {
    flex: 1 1 auto;
  }

  .nav-caret {
    display: block;
  }

  .dropdown {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-top: 0;
    background: var(--navy-deep);
  }

  .has-dropdown.is-open > .dropdown {
    display: block;
  }

  .dropdown a {
    color: var(--white);
    padding-left: 1.4rem;
    white-space: normal;
  }

  .dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  .dropdown-all {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .product-row,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .shop-header {
    align-items: stretch;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .keg-item {
    grid-template-columns: 64px 1fr;
  }

  .keg-item label,
  .keg-item .keg-remove {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 1.9rem;
  }

  .cart-meta {
    display: none;
  }

  .product-row,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .dealz-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-brand,
  .hero-content h1,
  .hero-copy,
  .hero-cta,
  .dealz-banner {
    animation: none;
    transition: none;
  }
}
