/* We Art consent — visual refinement approved 09/11/2026.
   Palette/type: design-system-web-ecommerce.tokens.json v1.3.0.
   Rounded controls are the user's scoped exception for this component. */
#wa-consent-banner[hidden], #wa-consent-spacer[hidden] { display: none !important; }
.wa-consent-banner, .wa-consent-dialog, .wa-consent-reopen {
  --wa-consent-gold: #C2A672;
  --wa-consent-gold-soft: #CDB68B;
  --wa-consent-ink: #333333;
  --wa-consent-text: #666666;
  --wa-consent-line: #E6E6E6;
  --wa-consent-white: #FFFFFF;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--wa-consent-text);
}
.wa-consent-banner *, .wa-consent-dialog *, .wa-consent-reopen * { box-sizing: border-box; }
.wa-consent-banner {
  position: fixed;
  z-index: 1100;
  inset: auto 0 0;
  width: 100%;
  max-height: 80vh;
  max-height: 80dvh;
  overflow: auto;
  padding: 32px 32px calc(32px + env(safe-area-inset-bottom));
  background: var(--wa-consent-white);
  border-top: 1px solid var(--wa-consent-line);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .04);
}
.wa-consent-banner__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.wa-consent-banner h2 {
  margin: 0 0 8px;
  color: var(--wa-consent-ink);
  font: 500 20px/1.35 "Montserrat", sans-serif;
  letter-spacing: -.015em;
  text-transform: none;
}
.wa-consent-banner p { margin: 0 0 8px; color: var(--wa-consent-text); font-size: 15px; line-height: 1.65; }
.wa-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(56px, auto) minmax(48px, auto);
  gap: 8px 12px;
  width: 100%;
}
.wa-consent-button {
  appearance: none;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--wa-consent-gold);
  border-radius: 12px;
  background: var(--wa-consent-white);
  color: var(--wa-consent-ink);
  font: 500 14px/1.35 "Montserrat", sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color 180ms, border-color 180ms;
}
.wa-consent-actions [data-wa-consent-action="accept"] {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 56px;
  background: var(--wa-consent-white);
  color: var(--wa-consent-ink);
  font-size: 17px;
}
.wa-consent-actions [data-wa-consent-action="reject"] { grid-column: 1; grid-row: 2; }
.wa-consent-actions [data-wa-open-preferences] { grid-column: 2; grid-row: 2; }
.wa-consent-actions [data-wa-consent-action="reject"],
.wa-consent-actions [data-wa-open-preferences] { border-color: var(--wa-consent-line); color: var(--wa-consent-text); font-size: 12px; font-weight: 400; }
.wa-consent-button:hover { background: #F6F1E9; border-color: var(--wa-consent-gold-soft); }
.wa-consent-actions [data-wa-consent-action="accept"]:hover { background: #F6F1E9; border-color: var(--wa-consent-gold); }
.wa-consent-actions [data-wa-consent-action="reject"]:hover,
.wa-consent-actions [data-wa-open-preferences]:hover { background: var(--wa-consent-white); border-color: var(--wa-consent-line); color: var(--wa-consent-text); }
.wa-consent-dialog button[type="submit"]:hover { background: var(--wa-consent-gold-soft); }
.wa-consent-banner .wa-consent-policy, .wa-consent-dialog .wa-consent-policy, .wa-consent-text-button {
  color: var(--wa-consent-text);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--wa-consent-gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.wa-consent-policy { display: inline-block; font-size: 13px !important; }
.wa-consent-policy:hover, .wa-consent-text-button:hover { color: var(--wa-consent-ink); }
.wa-consent-text-button { appearance: none; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.wa-consent-reopen { padding: 8px 16px; text-align: center; background: var(--wa-consent-white); }
.wa-consent-button:focus-visible, .wa-consent-policy:focus-visible, .wa-consent-text-button:focus-visible,
.wa-consent-close:focus-visible, .wa-consent-dialog input:focus-visible {
  outline: 2px solid var(--wa-consent-ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(194, 166, 114, .2);
}
.wa-consent-spacer { height: var(--wa-consent-banner-height, 0px); }
html.wa-consent-banner-open { scroll-padding-bottom: calc(var(--wa-consent-banner-height, 0px) + 100px); }
html.wa-consent-banner-open .btn-whatsapp { bottom: calc(var(--wa-consent-banner-height, 0px) + var(--wa-consent-purchase-height, 0px) + 16px) !important; }
.wa-consent-dialog {
  position: fixed;
  inset: 0;
  width: min(640px, calc(100% - 32px));
  max-width: 640px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 32px;
  border: 1px solid var(--wa-consent-line);
  border-radius: 20px;
  background: var(--wa-consent-white);
  overflow: auto;
  overscroll-behavior: contain;
}
.wa-consent-dialog:not([open]) { display: none; }
.wa-consent-dialog::backdrop { background: rgba(0, 0, 0, .32); }
html.wa-consent-dialog-open { overflow: hidden; }
.wa-consent-dialog__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.wa-consent-dialog h2 { margin: 0; color: var(--wa-consent-ink); font: 500 22px/1.35 "Montserrat", sans-serif; letter-spacing: -.015em; text-transform: none; }
.wa-consent-dialog h3, .wa-consent-category__name { margin: 0; color: var(--wa-consent-ink); font: 500 16px/1.5 "Montserrat", sans-serif; letter-spacing: 0; text-transform: none; }
.wa-consent-dialog p { margin: 0 0 16px; color: var(--wa-consent-text); font-size: 14px; line-height: 1.7; }
.wa-consent-close { appearance: none; flex: 0 0 auto; min-height: 48px; padding: 8px 12px; border: 1px solid var(--wa-consent-line); border-radius: 10px; background: var(--wa-consent-white); color: var(--wa-consent-text); font: 400 13px/1.4 "Montserrat", sans-serif; cursor: pointer; }
.wa-consent-close:hover { border-color: var(--wa-consent-gold); }
.wa-consent-category { display: block; padding: 24px 0; margin: 0; border-top: 1px solid var(--wa-consent-line); }
.wa-consent-category p { margin: 8px 0 0; }
.wa-consent-category__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.wa-consent-category__title > span:not(.wa-consent-category__name) { flex: 0 0 auto; color: var(--wa-consent-text); font-size: 12px; }
.wa-consent-category--choice { cursor: pointer; font-size: 14px; line-height: 1.7; }
.wa-consent-category input { appearance: auto; position: static; width: 24px; height: 24px; min-width: 24px; margin: 6px; opacity: 1; accent-color: var(--wa-consent-gold); cursor: pointer; }
.wa-consent-dialog__actions { display: grid; gap: 12px; }
.wa-consent-dialog button[type="submit"] { background: var(--wa-consent-gold); }
@media (min-width: 1100px) {
  .wa-consent-banner__inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .wa-consent-banner__inner { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
}
@media (max-width: 767px) {
  .wa-consent-banner { padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
  .wa-consent-banner h2 { font-size: 19px; }
  .wa-consent-banner p { font-size: 14px; line-height: 1.65; }
  .wa-consent-actions { gap: 8px; }
  .wa-consent-actions .wa-consent-button { padding: 10px 8px; font-size: 12px; }
  .wa-consent-actions [data-wa-consent-action="accept"] { font-size: 16px; }
  .wa-consent-dialog { padding: 24px 20px; border-radius: 16px; }
  .wa-consent-dialog h2 { font-size: 20px; }
  html.wa-consent-banner-open .js-btn-fixed-bottom,
  html.wa-consent-banner-open body.template-product .purchase-wrapper,
  html.wa-consent-banner-open .wa-pdp-standard-v2__purchase,
  html.wa-consent-banner-open .wa-pdp__mobile-cta { bottom: var(--wa-consent-banner-height, 0px) !important; }
}
@media (prefers-reduced-motion: reduce) { .wa-consent-button { transition: none; } }
