:root {
  --hvg-cream: #f7f3e9;
  --hvg-paper: #fffdf8;
  --hvg-forest: #0d4035;
  --hvg-deep: #062d25;
  --hvg-lime: #d7f450;
  --hvg-coral: #f06445;
  --hvg-muted: #6b7c75;
}

.footer-newsletter.hv-footer-card-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.footer-socials a:nth-child(n+3) { display: none; }
.footer-newsletter.hv-footer-card-cta > p { margin-bottom: 12px; }
.footer-newsletter.hv-footer-card-cta h3 { margin-bottom: 20px; }
.hv-footer-card-button { display: inline-flex; min-height: 52px; align-items: center; gap: 15px; padding: 0 18px; border-radius: 14px; color: var(--hvg-deep) !important; background: var(--hvg-lime); font-size: 12px; font-weight: 900; box-shadow: 7px 8px 0 rgba(255,255,255,.09); transition: transform .25s ease, background .25s ease; }
.hv-footer-card-button:hover { color: var(--hvg-deep) !important; background: #fff; transform: translateY(-3px); }
.hv-footer-card-button svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom .hv-footer-privacy-links { display: flex; align-items: center; justify-content: center; gap: 15px; }
.footer-bottom .hv-footer-privacy-links a,
.footer-bottom button[data-hv-open-consent] { width: auto; padding: 0; color: rgba(232,237,207,.65); border: 0; background: none; font: inherit; cursor: pointer; }
.footer-bottom .hv-footer-privacy-links a:hover,
.footer-bottom button[data-hv-open-consent]:hover { color: #fff; }

body.woocommerce-checkout .hv-commerce-footer,
body.woocommerce-cart .hv-commerce-footer { position: relative; z-index: 2; width: 100%; margin-top: clamp(54px,7vw,100px); }

.hv-consent { position: fixed; z-index: 999998; right: 22px; bottom: 22px; left: 22px; display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 24px; align-items: center; width: min(1180px, calc(100% - 44px)); margin-inline: auto; overflow: hidden; padding: 22px; border: 1px solid rgba(215,244,80,.25); border-radius: 25px; color: #fff; background: rgba(6,45,37,.97); box-shadow: 0 30px 95px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translateY(30px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); backdrop-filter: blur(18px); isolation: isolate; }
.hv-consent.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.hv-consent__pattern { position: absolute; z-index: -1; inset: 0; opacity: .16; background-image: radial-gradient(rgba(215,244,80,.85) 1px, transparent 1px); background-size: 14px 14px; mask-image: linear-gradient(90deg, transparent 25%, #000); animation: hvConsentPattern 18s linear infinite; }
.hv-consent__icon { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 21px; color: var(--hvg-deep); background: var(--hvg-lime); transform: rotate(-4deg); }
.hv-consent__icon svg { width: 43px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.hv-consent__copy p { margin: 0 0 5px; color: var(--hvg-lime); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hv-consent__copy h2 { margin: 0; color: #fff; font-family: Newsreader, Georgia, serif; font-size: clamp(26px,3vw,39px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.hv-consent__copy > span { display: block; max-width: 650px; margin-top: 8px; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.55; }
.hv-consent__copy > a { display: inline-block; margin-top: 8px; color: var(--hvg-lime); font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hv-consent__actions { display: grid; grid-template-columns: repeat(2,minmax(130px,1fr)); gap: 8px; width: min(370px,31vw); }
.hv-consent__actions button { min-height: 48px; padding: 0 15px; border: 1px solid rgba(255,255,255,.25); border-radius: 13px; color: #fff; background: rgba(255,255,255,.055); font-size: 11px; font-weight: 850; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.hv-consent__actions button:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.hv-consent__actions button.is-primary { color: var(--hvg-deep); border-color: var(--hvg-lime); background: var(--hvg-lime); }
.hv-consent__actions button[data-hv-consent-customize] { grid-column: 1 / -1; min-height: 40px; }

.hv-consent-modal { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 22px; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.hv-consent-modal.is-open { opacity: 1; pointer-events: auto; }
.hv-consent-modal__backdrop { position: absolute; inset: 0; background: rgba(3,24,20,.78); backdrop-filter: blur(10px); }
.hv-consent-modal__panel { position: relative; width: min(720px,100%); max-height: min(820px,calc(100vh - 44px)); overflow-y: auto; padding: 42px; border: 1px solid rgba(13,64,53,.15); border-radius: 30px; color: var(--hvg-deep); background: var(--hvg-paper); box-shadow: 0 45px 120px rgba(0,0,0,.42); transform: translateY(20px) scale(.98); transition: transform .3s ease; }
.hv-consent-modal.is-open .hv-consent-modal__panel { transform: none; }
.hv-consent-modal__close { position: absolute; top: 17px; right: 17px; display: grid; width: 43px; height: 43px; place-items: center; border: 0; border-radius: 14px; color: var(--hvg-deep); background: #edf2dd; font-size: 28px; line-height: 1; cursor: pointer; }
.hv-consent-modal__kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; color: #789321; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hv-consent-modal__kicker span { width: 35px; height: 3px; background: var(--hvg-lime); }
.hv-consent-modal h2 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(41px,6vw,60px); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.hv-consent-modal__panel > p:not(.hv-consent-modal__kicker) { margin: 18px 0 26px; color: var(--hvg-muted); font-size: 15px; line-height: 1.65; }
.hv-consent-options { display: grid; gap: 10px; }
.hv-consent-options > div { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 17px; align-items: center; min-height: 98px; padding: 15px; border: 1px solid rgba(13,64,53,.12); border-radius: 20px; background: #faf8f0; }
.hv-consent-options__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; color: var(--hvg-deep); background: var(--hvg-lime); }
.hv-consent-options__icon svg { width: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.hv-consent-options p { margin: 0; }
.hv-consent-options strong,
.hv-consent-options small { display: block; }
.hv-consent-options strong { font-size: 15px; }
.hv-consent-options small { margin-top: 5px; color: var(--hvg-muted); font-size: 11px; line-height: 1.45; }
.hv-consent-switch { display: grid; justify-items: end; gap: 5px; cursor: pointer; }
.hv-consent-switch input { position: absolute; opacity: 0; pointer-events: none; }
.hv-consent-switch span { position: relative; width: 52px; height: 29px; border-radius: 30px; background: #d7ddd4; transition: background .2s ease; }
.hv-consent-switch span::after { position: absolute; top: 4px; left: 4px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.16); content: ''; transition: transform .2s ease; }
.hv-consent-switch input:checked + span { background: var(--hvg-forest); }
.hv-consent-switch input:checked + span::after { transform: translateX(23px); }
.hv-consent-switch b { color: var(--hvg-muted); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.hv-consent-switch.is-locked { cursor: default; }
.hv-consent-modal__actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
.hv-consent-modal__actions button { min-height: 54px; padding: 0 22px; border: 0; border-radius: 15px; color: #fff; background: var(--hvg-forest); font-size: 12px; font-weight: 900; cursor: pointer; }
.hv-consent-modal__actions a { color: var(--hvg-forest); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
body.hv-consent-lock { overflow: hidden; }

@keyframes hvConsentPattern { to { background-position: 70px 35px; } }

@media (max-width: 900px) {
  .hv-consent { grid-template-columns: 58px 1fr; }
  .hv-consent__icon { width: 58px; height: 58px; border-radius: 18px; }
  .hv-consent__icon svg { width: 35px; }
  .hv-consent__actions { grid-column: 1 / -1; width: 100%; grid-template-columns: repeat(3,1fr); }
  .hv-consent__actions button[data-hv-consent-customize] { grid-column: auto; min-height: 48px; }
}

@media (max-width: 600px) {
  .footer-bottom { padding-block: 20px; justify-content: center; text-align: center; }
  .footer-bottom .hv-footer-privacy-links { width: 100%; flex-wrap: wrap; }
  .hv-consent { right: 10px; bottom: 10px; left: 10px; grid-template-columns: 48px 1fr; width: calc(100% - 20px); gap: 13px; padding: 15px; border-radius: 20px; }
  .hv-consent__icon { width: 48px; height: 48px; border-radius: 15px; }
  .hv-consent__icon svg { width: 29px; }
  .hv-consent__copy h2 { font-size: 27px; }
  .hv-consent__copy > span { font-size: 11px; }
  .hv-consent__actions { grid-template-columns: 1fr 1fr; }
  .hv-consent__actions button { min-height: 45px; font-size: 10px; }
  .hv-consent__actions button[data-hv-consent-customize] { grid-column: 1 / -1; min-height: 38px; }
  .hv-consent-modal { padding: 10px; }
  .hv-consent-modal__panel { max-height: calc(100vh - 20px); padding: 33px 17px 22px; border-radius: 23px; }
  .hv-consent-modal__close { top: 10px; right: 10px; }
  .hv-consent-modal h2 { font-size: 43px; }
  .hv-consent-options > div { grid-template-columns: 49px 1fr; gap: 12px; min-height: 110px; padding: 13px; }
  .hv-consent-options__icon { width: 49px; height: 49px; }
  .hv-consent-options__icon svg { width: 29px; }
  .hv-consent-switch { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; }
  .hv-consent-modal__actions { align-items: stretch; flex-direction: column; }
  .hv-consent-modal__actions button { width: 100%; }
  .hv-consent-modal__actions a { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-consent *, .hv-consent-modal * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
