.hh-cookie-consent,
.hh-cookie-consent * { box-sizing: border-box; }

.hh-cookie-consent {
  --hh-cookie-wine: #380f14;
  --hh-cookie-cream: #fbf7f1;
  --hh-cookie-pink: #ffe3e3;
  --hh-cookie-muted: #806b6e;
  --hh-cookie-line: #e6d9da;
  position: relative;
  z-index: 3000;
  color: var(--hh-cookie-wine);
  font-family: Lato, Arial, sans-serif;
}

.hh-cookie-trigger {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 3001;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: white;
  background: var(--hh-cookie-wine);
  box-shadow: 0 12px 32px rgba(56,15,20,.22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hh-cookie-trigger:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(56,15,20,.28); }
.hh-cookie-trigger[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.hh-cookie-trigger:focus-visible,
.hh-cookie-panel button:focus-visible,
.hh-cookie-panel a:focus-visible,
.hh-cookie-option:has(input:focus-visible) { outline: 3px solid #e6a4a8; outline-offset: 3px; }
.hh-cookie-trigger svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hh-cookie-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 3002;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 28px 40px;
  width: min(1180px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  margin: 0 auto;
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--hh-cookie-line);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 90px rgba(56,15,20,.22);
}

.hh-cookie-panel[hidden] { display: none; }
.hh-cookie-close { position: absolute; top: 16px; right: 17px; width: 36px; height: 36px; padding: 0; border: 1px solid var(--hh-cookie-line); border-radius: 50%; color: var(--hh-cookie-wine); background: white; font-size: 23px; line-height: 1; cursor: pointer; }
.hh-cookie-close[hidden] { display: none; }
.hh-cookie-summary { padding-right: 18px; }
.hh-cookie-kicker { display: block; margin-bottom: 10px; font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hh-cookie-summary h2 { margin: 0 0 12px; color: var(--hh-cookie-wine); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.hh-cookie-summary p { max-width: 760px; margin: 0 0 13px; color: var(--hh-cookie-muted); font-size: .92rem; line-height: 1.65; }
.hh-cookie-summary a { color: var(--hh-cookie-wine); font-size: .78rem; font-weight: 800; text-underline-offset: 4px; }

.hh-cookie-preferences { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hh-cookie-preferences[hidden] { display: none; }
.hh-cookie-option { position: relative; display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 16px; padding: 17px; border: 1px solid var(--hh-cookie-line); border-radius: 16px; background: var(--hh-cookie-cream); cursor: pointer; }
.hh-cookie-option.is-required { cursor: default; }
.hh-cookie-option strong { display: block; margin-bottom: 5px; font-size: .86rem; }
.hh-cookie-option div > span { display: block; color: var(--hh-cookie-muted); font-size: .72rem; line-height: 1.45; }
.hh-cookie-required { flex: 0 0 auto; color: var(--hh-cookie-muted); font-size: .62rem; font-weight: 800; text-align: right; text-transform: uppercase; }
.hh-cookie-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hh-cookie-switch { position: relative; flex: 0 0 auto; width: 48px; height: 27px; border-radius: 999px; background: #d4c7c9; transition: background .2s ease; }
.hh-cookie-switch::after { position: absolute; top: 4px; left: 4px; width: 19px; height: 19px; border-radius: 50%; background: white; box-shadow: 0 2px 7px rgba(56,15,20,.2); content: ""; transition: transform .2s ease; }
.hh-cookie-option input:checked + .hh-cookie-switch { background: var(--hh-cookie-wine); }
.hh-cookie-option input:checked + .hh-cookie-switch::after { transform: translateX(21px); }

.hh-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; align-content: end; gap: 10px; }
.hh-cookie-button { min-height: 48px; padding: 12px 16px; border-radius: 11px; font: inherit; font-size: .72rem; font-weight: 900; letter-spacing: .035em; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.hh-cookie-button:hover { transform: translateY(-1px); }
.hh-cookie-button--primary { grid-column: 1 / -1; border: 1px solid var(--hh-cookie-wine); color: white; background: var(--hh-cookie-wine); }
.hh-cookie-button--outline { border: 1px solid var(--hh-cookie-wine); color: var(--hh-cookie-wine); background: white; }
.hh-cookie-button--text { border: 1px solid var(--hh-cookie-line); color: var(--hh-cookie-wine); background: var(--hh-cookie-cream); }
.hh-cookie-save[hidden] { display: none; }
.hh-cookie-panel.is-customizing .hh-cookie-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
.hh-cookie-panel.is-customizing .hh-cookie-save { grid-column: auto; }

@media (max-width: 780px) {
  .hh-cookie-panel { right: 12px; bottom: 12px; left: 12px; grid-template-columns: 1fr; gap: 22px; width: calc(100% - 24px); max-height: calc(100vh - 24px); padding: 26px 20px 20px; border-radius: 20px; }
  .hh-cookie-summary { padding-right: 22px; }
  .hh-cookie-preferences { grid-template-columns: 1fr; }
  .hh-cookie-actions { grid-template-columns: 1fr; }
  .hh-cookie-panel.is-customizing .hh-cookie-actions { grid-template-columns: 1fr; }
  .hh-cookie-button--primary { grid-column: auto; }
  .hh-cookie-trigger { left: 12px; bottom: 12px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .hh-cookie-consent * { scroll-behavior: auto !important; transition: none !important; }
}
