/* Happy Woofs — cookie consent banner (storefront SPA + static pages) */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 1.1rem 1.25rem;
  background: #fff8ef;
  border-top: 3px solid #2e2620;
  box-shadow: 0 -10px 32px rgba(46, 38, 32, 0.12);
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

.cookie-consent-title {
  margin: 0;
  width: 100%;
  font-weight: 700;
  font-size: 1.05rem;
  color: #2e2620;
  letter-spacing: -0.01em;
}

.cookie-consent-desc {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5c4f42;
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-consent-desc a {
  color: #b4531c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-desc a:hover {
  color: #2e2620;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 0 0 auto;
}

/* Reset native OS button chrome (Windows / Safari) */
.cookie-consent-actions button,
.cookie-consent-actions .btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  margin: 0;
  border-radius: 14px;
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid #2e2620;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cookie-consent-actions button:focus-visible,
.cookie-consent-actions .btn:focus-visible {
  outline: 3px solid #ffb850;
  outline-offset: 2px;
}

.cookie-consent-actions .cookie-consent-accept,
.cookie-consent-actions .btn-primary.cookie-consent-accept {
  background: #ffb850;
  color: #2e2620;
  box-shadow: 4px 4px 0 #2e2620;
}

.cookie-consent-actions .cookie-consent-accept:hover,
.cookie-consent-actions .btn-primary.cookie-consent-accept:hover {
  background: #f0a838;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #2e2620;
}

.cookie-consent-actions .cookie-consent-accept:active,
.cookie-consent-actions .btn-primary.cookie-consent-accept:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #2e2620;
}

.cookie-consent-actions .cookie-consent-reject,
.cookie-consent-actions .btn-secondary.cookie-consent-reject {
  background: #fff;
  color: #2e2620;
  box-shadow: none;
}

.cookie-consent-actions .cookie-consent-reject:hover,
.cookie-consent-actions .btn-secondary.cookie-consent-reject:hover {
  background: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #2e2620;
}

.cookie-consent-actions .cookie-consent-reject:active,
.cookie-consent-actions .btn-secondary.cookie-consent-reject:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #2e2620;
}

@media (max-width: 640px) {
  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions button,
  .cookie-consent-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
    padding: 0 0.75rem;
    font-size: 0.88rem;
  }
}
