/* Launch controls preserve the existing WineDeals visual system. */
.cookie-panel[hidden], .cookie-settings[hidden] { display: none !important; }
.cookie-panel { width: min(100% - 32px, 1280px); margin: 16px auto; padding: 20px; border: 1px solid #b8c3d9; background: #f5f7fb; color: #152239; display: flex; gap: 24px; align-items: center; }
.cookie-copy { flex: 1; }
.cookie-copy h2 { font-size: 20px; margin: 0 0 8px; }
.cookie-copy p { font-size: 14px; line-height: 1.55; margin: 6px 0; }
.cookie-panel a { color: #012169; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button { min-height: 44px; padding: 10px 15px; border: 1px solid #012169; background: #fff; color: #012169; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 5px; }
.cookie-actions button:hover { background: #e5ebf5; }
.cookie-actions button:focus-visible, .cookie-settings:focus-visible { outline: 3px solid #c8102e; outline-offset: 3px; }
.cookie-settings { display: inline-block; background: transparent; color: inherit; font: inherit; border: 0; padding: 8px 0; min-height: 44px; text-decoration: underline; cursor: pointer; text-align: left; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.legal-content { max-width: 850px; line-height: 1.75; overflow-wrap: anywhere; }
.legal-content h2 { margin: 1.8em 0 .6em; font-size: clamp(21px, 3vw, 27px); line-height: 1.25; }
.legal-content p { margin: .8em 0; }
.legal-content ul { padding-left: 1.4em; list-style: disc; margin: 1em 0; }
.legal-content li { margin: .6em 0; }
.legal-content address { font-style: normal; }
.legal-content a { text-decoration: underline; }
.legal-related { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #c9d0da; }
body[data-email-enabled="0"] [data-sub-open],
body[data-email-enabled="0"] .heart,
body[data-email-enabled="0"] .wine-keep { display: none !important; }
.hero-grid > * { min-width: 0; }
.hero-search { width: 100%; }
.dotd-card { min-width: 0; }
.dotd-card > * { min-width: 0; }
.site-header .header-search { min-width: 0; height: 44px; }
.site-header .postcode-btn { flex-shrink: 0; min-height: 44px; }
.site-header .main-nav a { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 768px) and (max-width: 1279px) {
  .site-header .header-row { flex-wrap: wrap; height: auto; gap: 8px 18px; padding-top: 10px; padding-bottom: 4px; }
  .site-header .header-search { max-width: none; }
  .site-header .main-nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 0; }
  .site-header .main-nav a { display: inline-flex; padding: 8px 10px; font-size: 14px; }
}
@media (min-width: 1280px) {
  .site-header .header-row { gap: 16px; }
  .site-header .main-nav a { padding: 8px; font-size: 14px; }
}
@media (max-width: 767px) {
  .site-header .header-row { gap: 8px; min-height: 56px; }
  .site-header .brand { flex: 0 1 227px; min-width: 0; min-height: 44px; display: flex; align-items: center; }
  .site-header .logo-img { display: block; width: 100%; height: auto; max-height: 34px; object-fit: contain; object-position: left; }
  .site-header .mobile-search-btn { width: 44px; height: 44px; flex-shrink: 0; }
}
@media (max-width: 420px) {
  .site-header .header-row { padding-left: 12px; padding-right: 12px; }
  .site-header .postcode-btn { width: 44px; padding: 0; justify-content: center; }
  .site-header .postcode-btn span { display: none; }
  .dotd-card { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .dotd-card img { width: 80px; height: 120px; }
}
@media (max-width: 650px) {
  .cookie-panel { display: block; padding: 16px; width: calc(100% - 24px); }
  .cookie-actions { margin-top: 12px; }
  .cookie-actions button { flex: 1 1 130px; }
}
