/* PC-DIDI Gift Voucher Pro — GNU GPL v2 or later */
.pcgv-store,.pcgv-receipt{font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#202c3b;max-width:1260px;margin:28px auto 65px;padding:0 16px;box-sizing:border-box}
.pcgv-store *, .pcgv-receipt *,.pcgv-dialog *{box-sizing:border-box}
.pcgv-intro{text-align:center;max-width:760px;margin:0 auto 42px}.pcgv-eyebrow{display:inline-block;color:#b78b3a;font-size:11px;font-weight:800;letter-spacing:3px;text-transform:uppercase;margin-bottom:15px}.pcgv-intro h1{font-size:clamp(30px,4vw,51px);font-weight:780;line-height:1.12;letter-spacing:-1.5px;margin:0 0 14px;color:inherit}.pcgv-intro p{color:#708094;font-size:17px;line-height:1.65}
.pcgv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:28px}.pcgv-item{border:1px solid #e8e9ee;border-radius:24px;background:#fff;box-shadow:0 13px 35px rgba(18,36,58,.06);overflow:hidden;padding:18px;transition:transform .25s,box-shadow .25s}.pcgv-item:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(18,36,58,.12)}
.pcgv-card{--panel-start:#08172b;--panel-end:#213a58;--panel-stroke:#e7bd69;--panel-text:#fff5de;--panel-muted:#edd4a0;aspect-ratio:1.62;border-radius:19px;background:radial-gradient(circle at 74% 12%,rgba(255,255,255,.12),transparent 40%),linear-gradient(132deg,var(--panel-start),var(--panel-end));color:var(--panel-text);border:1px solid var(--panel-stroke);padding:21px;box-shadow:inset 0 0 0 6px rgba(255,255,255,.025),0 18px 22px rgba(0,0,0,.1);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}
.pcgv-card::after{content:"";position:absolute;width:58%;height:135%;top:-20%;right:-12%;border:1px solid var(--panel-stroke);border-radius:50%;transform:rotate(-27deg);opacity:.24;pointer-events:none}.pcgv-card::before{content:"✧";position:absolute;font-family:Georgia,serif;font-size:180px;top:-76px;right:8px;color:var(--panel-stroke);opacity:.10;pointer-events:none}
.pcgv-card-top,.pcgv-card-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:2.8px;font-weight:750;position:relative;z-index:1}.pcgv-card-bottom{letter-spacing:1.7px;opacity:.8}.pcgv-card-symbol{font-size:23px;color:var(--panel-stroke)}.pcgv-card-main{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;position:relative;z-index:1}.pcgv-card-main>span{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;opacity:.85}.pcgv-card-main>strong{font-family:Georgia,serif;font-weight:400;font-size:clamp(37px,4vw,53px);letter-spacing:-1px;line-height:1.0}
.pcgv-theme-alpine{--panel-start:#16342a;--panel-end:#66867e;--panel-stroke:#d9e8d8;--panel-text:#f4ffef;--panel-muted:#d9e8d8}.pcgv-theme-rose{--panel-start:#71475c;--panel-end:#ce9da9;--panel-stroke:#f5dbd7;--panel-text:#fff8f5;--panel-muted:#ffe7ec}.pcgv-theme-modern{--panel-start:#042c42;--panel-end:#157d91;--panel-stroke:#a2f7ff;--panel-text:#f0ffff;--panel-muted:#b4f1f3}.pcgv-theme-christmas{--panel-start:#0e3d33;--panel-end:#7b1c35;--panel-stroke:#e2ba6d;--panel-text:#fff5e5;--panel-muted:#edc47d}
.pcgv-item-info{padding:19px 5px 4px;display:flex;flex-direction:column;gap:15px;justify-content:space-between}.pcgv-item-info h2{font-size:20px;margin:0 0 6px;color:#24354a}.pcgv-item-info p{font-size:14px;margin:0;color:#718094;min-height:38px;line-height:1.6}.pcgv-item-info button,.pcgv-pay,.pcgv-download{border:0;background:#102943;color:#fff!important;font-weight:700;text-decoration:none!important;padding:14px 20px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;transition:transform .2s,background .2s}.pcgv-item-info button:hover,.pcgv-pay:hover,.pcgv-download:hover{background:#b78b3a;transform:translateY(-2px)}.pcgv-empty{text-align:center;padding:65px 25px;border:1px dashed #cdd5df;border-radius:18px;color:#718094}
.pcgv-dialog{width:min(610px,calc(100vw - 28px));max-height:min(92vh,860px);border:0;border-radius:24px;box-shadow:0 36px 100px rgba(0,0,0,.42);background:#fff;color:#1a293b;padding:0;z-index:2147483000;overflow:auto;position:fixed}.pcgv-dialog::backdrop{background:rgba(6,17,31,.77);backdrop-filter:blur(7px)}.pcgv-purchase-form{padding:30px 36px 33px;display:grid;gap:17px}.pcgv-dialog-heading{display:flex;justify-content:space-between;align-items:start}.pcgv-dialog-heading h2{font-size:27px;line-height:1.17;color:#19293a;margin:0 0 5px}.pcgv-dialog-heading p{margin:0;color:#9a742f;font-weight:700}.pcgv-close{background:#f3f5f8!important;color:#21324a!important;border:0;border-radius:100%;width:40px;height:40px;font-size:24px;cursor:pointer}.pcgv-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.pcgv-dialog label{display:grid;gap:6px;font-size:12px;font-weight:750;color:#24384e!important}.pcgv-dialog input,.pcgv-dialog textarea{width:100%;background:#f8fafc!important;color:#17283c!important;border:1px solid #cfd7e1!important;border-radius:9px;padding:12px 11px;font:inherit;font-weight:400;outline:0}.pcgv-dialog input:focus,.pcgv-dialog textarea:focus{border-color:#c99b4e!important;box-shadow:0 0 0 3px #b78b3a22}.pcgv-legal,.pcgv-sandbox{color:#687a8d;font-size:12px;line-height:1.5;margin:0}.pcgv-sandbox{text-align:center;font-size:11px}.pcgv-honey{position:absolute;left:-99999px;width:1px!important;height:1px!important;opacity:0!important}.pcgv-form-error{color:#a31524;font-weight:700;font-size:13px}.pcgv-pay{background:#102943;font-size:15px;padding:17px 20px}.pcgv-pay:disabled{opacity:.65;cursor:wait}
.pcgv-receipt .pcgv-receipt-card{margin-top:20px;display:grid;grid-template-columns:minmax(280px,1fr) minmax(290px,1fr);gap:34px;align-items:center;border-radius:23px;border:1px solid #e5e9ef;padding:26px;background:#fff}.pcgv-receipt-card .pcgv-card{max-width:660px}.pcgv-receipt-info h1{font-size:28px;margin:0 0 15px}.pcgv-msg{white-space:normal;line-height:1.6;color:#536579}.pcgv-qr{background:#fff;display:inline-flex;padding:10px;border:1px solid #d9e0e8;border-radius:12px;margin:13px 0}.pcgv-qr svg{display:block}.pcgv-download{max-width:360px;margin-top:18px}
@media(max-width:720px){.pcgv-form-grid,.pcgv-receipt .pcgv-receipt-card{grid-template-columns:1fr}.pcgv-dialog .pcgv-purchase-form{padding:22px}.pcgv-grid{gap:20px}.pcgv-receipt-card{padding:14px!important}.pcgv-card{padding:16px}.pcgv-card-main>strong{font-size:37px}}

/* 1.0.1 – premium module controls + checkout payment choices */
.pcgv-store{--pcgv-cols:3;--pcgv-gap:24px;--pcgv-pad:18px;--pcgv-radius:20px;--pcgv-btn-bg:#102943;--pcgv-btn-color:#fff;--pcgv-item-bg:#fff;--pcgv-heading:#24354a}
.pcgv-store .pcgv-grid{grid-template-columns:repeat(var(--pcgv-cols),minmax(0,1fr));gap:var(--pcgv-gap)}
.pcgv-store .pcgv-item{padding:var(--pcgv-pad);border-radius:var(--pcgv-radius);background:var(--pcgv-item-bg)}
.pcgv-store .pcgv-item-info h2{color:var(--pcgv-heading)}
.pcgv-store .pcgv-item-info button{background:var(--pcgv-btn-bg);color:var(--pcgv-btn-color)!important}
.pcgv-store .pcgv-item-info button:hover{background:var(--pcgv-accent);color:#fff!important}
.pcgv-store.pcgv-style-spotlight .pcgv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.pcgv-store.pcgv-style-spotlight .pcgv-card{aspect-ratio:1.72}
.pcgv-store.pcgv-style-compact .pcgv-grid{grid-template-columns:repeat(var(--pcgv-cols),minmax(0,1fr))}
.pcgv-store.pcgv-style-compact .pcgv-item{padding:12px}
.pcgv-store.pcgv-style-compact .pcgv-item-info{padding:12px 2px 4px;gap:10px}
.pcgv-store.pcgv-style-compact .pcgv-card{padding:13px}
.pcgv-store.pcgv-style-compact .pcgv-card-main>strong{font-size:33px}
.pcgv-store.pcgv-style-list .pcgv-grid{grid-template-columns:1fr}
.pcgv-store.pcgv-style-list .pcgv-item{display:grid;grid-template-columns:minmax(210px,40%) 1fr;gap:24px;align-items:center}
.pcgv-store.pcgv-style-list .pcgv-item-info{padding:0;align-self:stretch}
.pcgv-dialog .pcgv-payment-options{border:1px solid #dbe4ef;border-radius:12px;padding:12px 14px;background:#f8fafc;display:flex;flex-wrap:wrap;gap:8px}
.pcgv-dialog .pcgv-payment-options legend{color:#182b42;font-size:13px;font-weight:800;padding:0 6px}
.pcgv-dialog .pcgv-payment-choice{display:flex!important;align-items:center;gap:10px;border:1px solid #dce4ec;border-radius:10px;background:#fff;padding:12px 14px;font-weight:750!important;cursor:pointer;flex:1 1 130px}
.pcgv-dialog .pcgv-payment-choice:has(input:checked){border-color:#ac873f;background:#fff9ef;box-shadow:0 0 0 2px #c49b5a2a}
.pcgv-dialog .pcgv-payment-choice input{width:17px!important;height:17px!important;min-width:17px!important;margin:0;accent-color:#ae813e}
.pcgv-dialog .pcgv-cash-result{background:#e9f7f0;border:1px solid #addac5;color:#144a34;line-height:1.6;font-weight:650;padding:18px;border-radius:12px}
.pcgv-dialog .pcgv-cash-result[hidden]{display:none}
@media(max-width:900px){.pcgv-store .pcgv-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.pcgv-store .pcgv-grid{grid-template-columns:1fr!important}.pcgv-store.pcgv-style-list .pcgv-item{grid-template-columns:1fr}.pcgv-dialog .pcgv-payment-options{display:grid;grid-template-columns:1fr}}
.pcgv-dialog [hidden]{display:none!important}

/* 1.0.2 – truly centered native modal in Joomla, Helix Ultimate and Page Builder */
html body dialog.pcgv-dialog[open] {
  display:block!important;
  position:fixed!important;
  inset:auto!important;
  top:50%!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  translate:none!important;
  width:min(690px,calc(100dvw - 28px))!important;
  min-width:0!important;
  max-width:690px!important;
  max-height:calc(100dvh - 32px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  border:1px solid rgba(232,196,126,.5)!important;
  border-radius:24px!important;
  background:#fff!important;
  color:#10243a!important;
  box-shadow:0 35px 125px rgba(2,13,26,.58)!important;
  z-index:2147483646!important;
  overscroll-behavior:contain;
}
html body dialog.pcgv-dialog[open]::backdrop{background:rgba(2,13,29,.78)!important;backdrop-filter:blur(9px)}
html body dialog.pcgv-dialog .pcgv-purchase-form{padding:26px 32px 30px!important;gap:15px!important;margin:0!important}
html body dialog.pcgv-dialog .pcgv-modal-ornament{text-align:center;letter-spacing:2.5px;font-size:10px;font-weight:800;color:#ab7b32;padding:2px 0 13px;border-bottom:1px solid #e8d7b9}
html body dialog.pcgv-dialog .pcgv-dialog-heading{align-items:start;padding-bottom:2px}
html body dialog.pcgv-dialog .pcgv-dialog-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(23px,3vw,31px)}
html body dialog.pcgv-dialog .pcgv-dialog-heading .pcgv-dialog-price{font-size:18px}
html body dialog.pcgv-dialog .pcgv-close{flex-shrink:0;background:#f3f5f9!important;border-radius:100%;color:#24374e!important}
html body dialog.pcgv-dialog .pcgv-modal-trustline{display:flex;justify-content:space-evenly;gap:6px;background:#f5f7f9;border-radius:10px;padding:10px;color:#52657a;font-size:11px;font-weight:700}
html body dialog.pcgv-dialog.pcgv-modal-midnight[open]{background:#0c1d31!important;color:#fff!important;border-color:#c5a363!important}
html body dialog.pcgv-dialog.pcgv-modal-midnight .pcgv-purchase-form{background:linear-gradient(140deg,#10263b,#0a1929)}
html body dialog.pcgv-dialog.pcgv-modal-midnight .pcgv-dialog-heading h2,html body dialog.pcgv-dialog.pcgv-modal-midnight label{color:#fff!important}
html body dialog.pcgv-dialog.pcgv-modal-midnight .pcgv-modal-trustline{background:#203951;color:#e2ecf7}
html body dialog.pcgv-dialog.pcgv-modal-midnight .pcgv-legal,html body dialog.pcgv-dialog.pcgv-modal-midnight .pcgv-sandbox{color:#b8c9d8}
html body dialog.pcgv-dialog.pcgv-modal-pearl[open]{border-color:#e4c8b4!important;background:#fffaf7!important}
html body dialog.pcgv-dialog.pcgv-modal-pearl .pcgv-purchase-form{background:linear-gradient(155deg,#fffaf6,#fff)}
html body dialog.pcgv-dialog.pcgv-modal-minimal[open]{border:1px solid #e8e9eb!important;border-radius:10px!important}
html body dialog.pcgv-dialog.pcgv-modal-minimal .pcgv-purchase-form{background:#fff}
/* Seven extra visual voucher styles; all themes remain independent of the site template. */
.pcgv-theme-champagne{--panel-start:#7d604a;--panel-end:#e2cbb0;--panel-stroke:#fff3d9;--panel-text:#fffaf2;--panel-muted:#fff4df}
.pcgv-theme-midnight{--panel-start:#0b1134;--panel-end:#293b85;--panel-stroke:#b6d2ff;--panel-text:#edf3ff;--panel-muted:#cbd8f6}
.pcgv-theme-spa{--panel-start:#285355;--panel-end:#a5c0bb;--panel-stroke:#dcefe8;--panel-text:#f8fffc;--panel-muted:#d9ebe7}
.pcgv-theme-floral{--panel-start:#74394b;--panel-end:#e3acba;--panel-stroke:#fbe5df;--panel-text:#fff6f8;--panel-muted:#f9dfe7}
.pcgv-theme-sunset{--panel-start:#7b3126;--panel-end:#e9a05a;--panel-stroke:#fbe1b7;--panel-text:#fff9ef;--panel-muted:#fce8cb}
.pcgv-theme-minimal{--panel-start:#ece7de;--panel-end:#fffaf1;--panel-stroke:#bca886;--panel-text:#4a392b;--panel-muted:#78614c}
.pcgv-theme-aurora{--panel-start:#142d4e;--panel-end:#437b82;--panel-stroke:#c6dded;--panel-text:#effaff;--panel-muted:#d9e6ed}
/* Eight selectable module layouts. */
.pcgv-store .pcgv-item{border:var(--pcgv-border-width,1px) solid var(--pcgv-border-color,#e8e9ee)}
.pcgv-store.pcgv-shadow-none .pcgv-item{box-shadow:none}
.pcgv-store.pcgv-shadow-deep .pcgv-item{box-shadow:0 22px 60px rgba(10,32,54,.2)}
.pcgv-store.pcgv-hover-none .pcgv-item:hover{transform:none;box-shadow:inherit}
.pcgv-store.pcgv-hover-glow .pcgv-item:hover{box-shadow:0 0 0 2px var(--pcgv-accent,#b78b3a),0 25px 55px rgba(16,39,66,.22)}
.pcgv-store.pcgv-align-left .pcgv-intro{text-align:left;margin-left:0}.pcgv-store.pcgv-align-left .pcgv-item-info{text-align:left}
.pcgv-store.pcgv-btn-gradient .pcgv-item-info button{background:linear-gradient(120deg,var(--pcgv-btn-bg),var(--pcgv-accent))}
.pcgv-store.pcgv-btn-outline .pcgv-item-info button{background:transparent;color:var(--pcgv-btn-bg)!important;border:2px solid var(--pcgv-btn-bg)}
.pcgv-store.pcgv-btn-outline .pcgv-item-info button:hover{background:var(--pcgv-btn-bg);color:#fff!important}
.pcgv-store.pcgv-style-editorial .pcgv-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.pcgv-store.pcgv-style-editorial .pcgv-item:first-child{grid-column:span 2;display:grid;grid-template-columns:1.15fr .85fr;gap:25px;align-items:center}
.pcgv-store.pcgv-style-editorial .pcgv-item:first-child .pcgv-card{aspect-ratio:1.3}
.pcgv-store.pcgv-style-editorial .pcgv-item:first-child .pcgv-item-info h2{font-size:27px}
.pcgv-store.pcgv-style-showcase .pcgv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.pcgv-store.pcgv-style-showcase .pcgv-item{background:linear-gradient(160deg,#f9f7f1,#fff);padding:26px}
.pcgv-store.pcgv-style-showcase .pcgv-item:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.25fr .75fr;gap:32px;align-items:center;background:linear-gradient(120deg,#f5efe1,#fff)}
.pcgv-store.pcgv-style-showcase .pcgv-card{aspect-ratio:1.75}
.pcgv-store.pcgv-style-floating .pcgv-grid{grid-template-columns:repeat(var(--pcgv-cols),minmax(0,1fr));gap:34px}
.pcgv-store.pcgv-style-floating .pcgv-item{background:rgba(255,255,255,.85);border:1px solid rgba(198,174,131,.35);border-radius:28px;box-shadow:0 23px 60px rgba(8,29,47,.17);backdrop-filter:blur(9px)}
.pcgv-store.pcgv-style-floating .pcgv-card{transform:rotate(-2deg);box-shadow:0 12px 24px rgba(0,0,0,.15)}
.pcgv-store.pcgv-style-floating .pcgv-item:nth-child(even) .pcgv-card{transform:rotate(2deg)}
.pcgv-store.pcgv-style-gallery .pcgv-grid{grid-template-columns:repeat(var(--pcgv-cols),minmax(0,1fr));gap:17px}
.pcgv-store.pcgv-style-gallery .pcgv-item{padding:10px;background:#f9f9fb;border-radius:17px}
.pcgv-store.pcgv-style-gallery .pcgv-card{border-radius:12px;aspect-ratio:1.52}
.pcgv-store.pcgv-style-gallery .pcgv-item-info{padding:13px 5px 6px;gap:8px}
.pcgv-store.pcgv-style-gallery .pcgv-item-info h2{font-size:17px}
@media(max-width:900px){
 .pcgv-store.pcgv-style-editorial .pcgv-grid,.pcgv-store.pcgv-style-gallery .pcgv-grid,.pcgv-store.pcgv-style-floating .pcgv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pcgv-store.pcgv-style-editorial .pcgv-item:first-child,.pcgv-store.pcgv-style-showcase .pcgv-item:first-child{display:flex;flex-direction:column;grid-column:1/-1}
}
@media(max-width:620px){
 html body dialog.pcgv-dialog[open]{width:calc(100dvw - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:16px!important}
 html body dialog.pcgv-dialog .pcgv-purchase-form{padding:17px 16px 22px!important;gap:11px!important}
 html body dialog.pcgv-dialog .pcgv-form-grid{grid-template-columns:1fr}
 .pcgv-store.pcgv-style-editorial .pcgv-grid,.pcgv-store.pcgv-style-showcase .pcgv-grid,.pcgv-store.pcgv-style-floating .pcgv-grid,.pcgv-store.pcgv-style-gallery .pcgv-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){.pcgv-store .pcgv-item,.pcgv-store .pcgv-item:hover{transition:none!important;transform:none!important}}
