/* Happy Woofs — cookie consent banner (storefront SPA) */
.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.65rem;
  flex: 0 0 auto;
}

.cookie-consent-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.35rem;
  border-radius: 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid #2e2620;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

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

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

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

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

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

.cookie-consent-actions .cookie-consent-reject:hover {
  background: #fff;
  border-color: #2e2620;
  box-shadow: 3px 3px 0 #2e2620;
}

.cookie-consent-actions .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 .btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
  }
}
