/* WorldPride 2030 — estilos limitados al shortcode; no modifica estilos globales de Avada. */
.cwpca, .cwpca * { box-sizing: border-box; }
.cwpca { --cwpca-ink:#090909; --cwpca-muted:#555765; --cwpca-border:#dbdfe8; width:100%; max-width:100%; color:var(--cwpca-ink); font-family:inherit; line-height:1.4; }
.cwpca__gradient { display:grid; grid-template-columns:minmax(0, 0.38fr) minmax(0, 0.62fr); align-items:stretch; gap:clamp(16px, 2vw, 32px); padding:clamp(14px, 1.6vw, 24px); width:100%; min-height:0; border-radius:22px; background:linear-gradient(105deg,#fa697f 0%,#ffc66d 18%,#ffff67 35%,#5bdf70 48%,#36aefa 63%,#9b5df7 79%,#f1b6d9 91%,#86c7ff 100%); overflow:hidden; }
.cwpca__story { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(10px, 2vw, 34px); min-width:0; }
.cwpca__eyebrow { font-size:clamp(13px, 1.05vw, 17px); font-weight:700; letter-spacing:.015em; line-height:1.4; color:#080808; }
.cwpca h2.cwpca__title { margin:15px 0 14px; padding:0; color:#050505; font-size:clamp(31px, 3vw, 51px); font-weight:850; letter-spacing:-.038em; line-height:1.06; text-transform:none; border:0; }
.cwpca p.cwpca__intro { margin:0; padding:0; color:#111; font-size:clamp(15px, 1.18vw, 18px); line-height:1.5; font-weight:500; }
.cwpca__stroke { display:block; height:4px; width:46px; border-radius:8px; margin:24px 0 24px; background:#141414; }
.cwpca a.cwpca__zip { display:inline-flex; align-items:center; gap:10px; border-radius:40px; background:#fff; color:#111; padding:13px 18px; border:1px solid rgba(0,0,0,.06); box-shadow:0 4px 12px rgba(0,0,0,.12); text-decoration:none; font-size:14px; font-weight:750; line-height:1.4; transition:transform .15s, box-shadow .15s; }
.cwpca a.cwpca__zip:hover { color:#000; transform:translateY(-2px); box-shadow:0 9px 18px rgba(0,0,0,.15); text-decoration:none; }
.cwpca a.cwpca__zip:focus-visible, .cwpca button:focus-visible, .cwpca input:focus-visible, .cwpca select:focus-visible { outline:3px solid #1664ff; outline-offset:3px; }
.cwpca__zip svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.cwpca__widget { display:grid; grid-template-columns:minmax(205px, .41fr) minmax(0, .59fr); align-items:stretch; min-width:0; height:560px; min-height:0; background:rgba(255,255,255,.98); border-radius:17px; padding:13px; box-shadow:0 2px 18px rgba(13,18,54,.09); }
.cwpca__filters { padding:clamp(14px, 1.55vw, 26px); display:flex; flex-direction:column; align-items:stretch; justify-content:center; min-width:0; }
.cwpca__label { display:block; font-weight:800; color:#111; font-size:clamp(16px,1.2vw,19px); margin-bottom:19px; line-height:1.25; }
.cwpca__search-wrap { position:relative; margin-bottom:13px; }
.cwpca__search-wrap svg { width:19px; height:19px; position:absolute; left:12px; top:50%; transform:translateY(-50%); fill:none; stroke:#585e69; stroke-width:2; pointer-events:none; }
.cwpca input.cwpca__search, .cwpca select.cwpca__select { display:block; width:100%; max-width:100%; height:48px; box-shadow:none; border-radius:9px; background:#fff; color:#141414; font-size:14px; line-height:1.2; margin:0; }
.cwpca input.cwpca__search { padding:0 12px 0 39px; border:1px solid #ccd1db; }
.cwpca input.cwpca__search::placeholder { color:#717781; opacity:1; }
/* Chevron uniforme i separat del marge (Avada pot alterar els selects natius). */
.cwpca__select-wrap { position:relative; width:100%; min-width:0; }
.cwpca select.cwpca__select { padding:0 49px 0 13px !important; border:1.5px solid #2764ef; font-weight:650; cursor:pointer; appearance:none !important; -webkit-appearance:none !important; -moz-appearance:none !important; background-image:none !important; text-overflow:ellipsis; }
.cwpca__select-wrap .cwpca__select-arrow { position:absolute; top:50%; right:18px; width:18px; height:18px; transform:translateY(-50%); stroke:#13151a; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; fill:none; pointer-events:none; z-index:1; }
.cwpca__select-wrap:has(select:disabled) .cwpca__select-arrow { opacity:.45; }
.cwpca p.cwpca__count { margin:14px 0 0; font-size:13px; color:#616573; font-weight:450; }
.cwpca p.cwpca__no-matches { margin:12px 0 0; font-size:13px; color:#a52e40; }
/* Visor compacto, independiente del tema Avada. La carta original se muestra
   con background-size:contain; no se recorta ni depende de estilos globales <img>. */
.cwpca__preview { position:relative; display:block; width:100%; min-width:0; height:100%; min-height:0 !important; overflow:hidden; border-radius:12px; background:linear-gradient(145deg,#f5f6f9,#e9ebf1); padding:0 !important; }
.cwpca__image-frame.cwpca__image { position:absolute !important; display:block !important; inset:52px 52px 42px !important; width:auto !important; height:auto !important; min-width:0 !important; min-height:0 !important; max-width:none !important; max-height:none !important; margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background-color:transparent !important; background-repeat:no-repeat !important; background-position:center center !important; background-size:contain !important; box-shadow:none !important; }
.cwpca__tools { position:absolute; top:12px; right:12px; z-index:2; display:flex; gap:9px; }
.cwpca button.cwpca__icon, .cwpca a.cwpca__icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:39px; height:39px; min-height:39px; padding:0; background:#fff; border:1px solid #e2e5eb; border-radius:50%; color:#111; box-shadow:0 3px 10px rgba(0,0,0,.12); text-decoration:none; line-height:1; cursor:pointer; transition:transform .15s, background .15s; }
.cwpca button.cwpca__icon:hover, .cwpca a.cwpca__icon:hover { color:#111; background:#fff; transform:scale(1.05); }
.cwpca .cwpca__icon:disabled, .cwpca .cwpca__disabled { opacity:.42; cursor:default; pointer-events:none; }
.cwpca .cwpca__icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.cwpca button.cwpca__nav { position:absolute; top:48%; transform:translateY(-50%); z-index:1; width:43px; height:43px; }
.cwpca button.cwpca__nav:hover { transform:translateY(-50%) scale(1.05); }
.cwpca__previous { left:10px; } .cwpca__next { right:10px; }
.cwpca__position { position:absolute; bottom:12px; left:16px; right:16px; display:flex; justify-content:space-between; gap:10px; align-items:center; pointer-events:none; font-size:12px; color:#565b66; }
.cwpca__position-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600; }
.cwpca__position-count { font-variant-numeric:tabular-nums; white-space:nowrap; }
.cwpca p.cwpca__empty { margin:0; max-width:270px; text-align:center; color:#6f7482; font-size:15px; }
.cwpca__dialog { width:min(93vw,1100px); height:min(94vh,1200px); max-height:94vh; max-width:93vw; padding:0; border:0; border-radius:15px; background:#fff; box-shadow:0 20px 65px rgba(0,0,0,.30); color:#111; }
.cwpca__dialog::backdrop { background:rgba(8,10,19,.8); }
.cwpca__dialog[open] { display:flex; flex-direction:column; }
.cwpca__dialog-top { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #e7e8ec; padding:12px 18px; }
.cwpca__dialog-title { font-size:16px; font-weight:750; }
.cwpca__dialog-actions { display:flex; align-items:center; gap:12px; }
.cwpca a.cwpca__dialog-download { text-decoration:underline; font-size:13px; color:#1458c7; font-weight:650; }
.cwpca button.cwpca__dialog-close { border:0; border-radius:50%; background:#f0f1f5; color:#111; font-size:26px; font-weight:400; width:38px; height:38px; line-height:1; padding:0; cursor:pointer; }
.cwpca__dialog-body { display:flex; flex:1; min-height:0; overflow:auto; align-items:flex-start; justify-content:center; padding:16px; background:#f4f5f8; }
.cwpca__dialog-body img { display:block; width:auto; height:auto; max-width:100%; max-height:none; box-shadow:0 4px 16px rgba(0,0,0,.14); }
@media (max-width:1120px) { .cwpca__gradient { grid-template-columns:1fr; } .cwpca__story { padding:22px clamp(14px,4vw,36px); } .cwpca__widget { height:550px; min-height:0; } .cwpca h2.cwpca__title { max-width:660px; } .cwpca p.cwpca__intro { max-width:800px; } }
@media (max-width:680px) { .cwpca__gradient { padding:11px; border-radius:16px; gap:16px; } .cwpca__story { padding:16px 10px; } .cwpca h2.cwpca__title { font-size:clamp(32px,9vw,43px); margin:13px 0; } .cwpca__stroke { margin:20px 0; } .cwpca__widget { grid-template-columns:1fr; height:auto; min-height:0; padding:10px; border-radius:13px; } .cwpca__filters { padding:15px 10px 18px; } .cwpca__label { margin-bottom:12px; } .cwpca__preview { height:430px; min-height:0 !important; } .cwpca__image-frame.cwpca__image { inset:51px 42px 39px !important; } .cwpca__dialog { width:98vw; max-width:98vw; height:96vh; max-height:96vh; } }
@media (prefers-reduced-motion:reduce) { .cwpca *, .cwpca *::before, .cwpca *::after { transition:none !important; } }

/* La altura queda controlada por el widget, no por elementos de Avada. */
@media (min-width:1121px) { .cwpca__gradient { height:auto !important; min-height:0 !important; align-items:stretch; } .cwpca__widget { height:560px !important; min-height:0 !important; } }
@media (min-width:681px) and (max-width:1120px) { .cwpca__widget { height:550px !important; min-height:0 !important; } }
@media (max-width:680px) { .cwpca__gradient { min-height:0 !important; } .cwpca__widget { height:auto !important; } }
