/* =====================================================================
   GiftPayly V10.0 — the brand layer
   Loaded last on the storefront (never on admin pages). The palette
   itself lives in paylo.css (the --gp-* variables); this sheet holds
   what a variable cannot say: the navigation bar, the purple action
   buttons, the tinted surfaces and the small brand details.

   white #FFFFFF · soft background #F7F8FF · lavender #EDE7FF
   electric purple #5915F5 → royal violet #7028F8 · navy ink #091439
   success #16B981 · Bitcoin orange #FFAA19
   ===================================================================== */

/* ---------- base ---------- */
html[data-surface="storefront"] body{font-family:var(--gp-font);font-weight:450;font-feature-settings:"ss01" 0;letter-spacing:-.003em}
html[data-surface="storefront"] :where(h1,h2,h3,.display){font-weight:800;letter-spacing:-.028em}
html[data-surface="storefront"] :where(b,strong){font-weight:750}
html[data-surface="storefront"] :focus-visible{outline:3px solid rgba(112,40,248,.55);outline-offset:2px}
html[data-surface="storefront"] ::selection{background:var(--gp-brand);color:#fff}
:where(html[data-surface="storefront"]) :where(.gp-main,.gp-foot) a:not([class]){color:var(--gp-moss)}

/* ---------- navigation ---------- */
.gy-head{position:sticky;top:0;z-index:60;background:transparent;border:0;transition:none;padding:0 clamp(0px,1.4vw,24px)}
.gy-head.is-scrolled{border:0;box-shadow:none}
.gy-bar{position:relative;max-width:1680px;margin:0 auto;height:80px;padding:0 clamp(14px,2.2vw,34px);display:flex;align-items:center;gap:clamp(12px,1.5vw,26px);
  background:rgba(255,255,255,.9);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);
  border-radius:0 0 26px 26px;box-shadow:0 1px 0 rgba(89,21,245,.05),0 14px 34px -22px rgba(64,38,160,.38);transition:box-shadow .25s,background .25s}
.gy-head.is-scrolled .gy-bar{background:rgba(255,255,255,.96);box-shadow:0 1px 0 rgba(89,21,245,.07),0 16px 34px -18px rgba(64,38,160,.42)}
html[data-surface="storefront"]:not([data-theme="light"]) .gy-bar{background:rgba(13,19,48,.88);box-shadow:0 1px 0 rgba(167,123,255,.14),0 14px 34px -20px rgba(0,0,0,.9)}

.gy-head .gp-logo{gap:10px;margin-right:clamp(0px,.6vw,10px)}
.gy-head .gp-logo img.gp-mark{width:44px;height:44px}
.gy-head .gp-word{font:800 1.62rem/1 var(--gp-disp);letter-spacing:-.04em;color:var(--gp-ink)}
.gy-head .gp-word b{font-weight:800;color:var(--gp-brand)}
html[data-surface="storefront"]:not([data-theme="light"]) .gy-head .gp-word b{color:#A77BFF}

.gy-nav{display:flex;align-items:center;gap:clamp(4px,.9vw,16px);flex:none}
.gy-nav>a,.gy-drop>summary{position:relative;display:inline-flex;align-items:center;gap:7px;height:44px;padding:0 10px;border-radius:12px;font:700 .97rem/1 var(--gp-font);letter-spacing:-.012em;color:var(--gp-ink)!important;text-decoration:none!important;white-space:nowrap;cursor:pointer;list-style:none;transition:color .18s,background .18s}
.gy-drop>summary::-webkit-details-marker{display:none}
.gy-nav>a:hover,.gy-drop>summary:hover{color:var(--gp-brand)!important}
.gy-nav>a::after,.gy-drop>summary::after{content:"";position:absolute;left:10px;right:10px;bottom:3px;height:3px;border-radius:3px;background:var(--gp-grad);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.gy-nav>a.on,.gy-drop>summary.on{color:var(--gp-brand)!important}
.gy-nav>a.on::after,.gy-drop>summary.on::after{transform:scaleX(1)}
.gy-nav svg{width:21px;height:21px;flex:none}
.gy-drop{position:relative}
.gy-drop>summary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;margin-left:-2px}
.gy-drop[open]>summary{color:var(--gp-brand)!important}.gy-drop[open]>summary svg{transform:rotate(180deg)}
.gy-drop-pop{position:absolute;left:-14px;top:calc(100% + 14px);z-index:90;width:430px;max-width:calc(100vw - 24px);padding:14px;border-radius:20px;background:var(--gp-paper);box-shadow:0 0 0 1px rgba(89,21,245,.07),0 24px 50px -22px rgba(64,38,160,.45)}
.gy-drop-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.gy-drop-grid a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px;color:var(--gp-text)!important;text-decoration:none!important;font-weight:650;font-size:.92rem}
.gy-drop-grid a:hover{background:var(--gp-lav);color:var(--gp-brand-d)!important}
.gy-drop-grid img{border-radius:3px;flex:none}
.gy-drop-all{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding:11px 12px;border-radius:12px;background:var(--gp-lav);color:var(--gp-brand-d)!important;font-weight:750;font-size:.92rem;text-decoration:none!important}
.gy-drop-all i{font-style:normal;transition:transform .2s}.gy-drop-all:hover i{transform:translateX(3px)}
html[data-surface="storefront"]:not([data-theme="light"]) :is(.gy-drop-grid a:hover,.gy-drop-all){color:#fff!important}

.gy-search{flex:1 1 200px;min-width:150px;max-width:330px;margin-left:auto;height:48px;padding:0 16px;border-radius:999px;background:var(--gp-lav);border:1.5px solid transparent;color:var(--gp-soft);transition:background .2s,border-color .2s,box-shadow .2s}
html[data-surface="storefront"][data-theme="light"] .gy-search{background:#F1EEFF}
.gy-search:focus-within{background:var(--gp-paper);border-color:var(--gp-brand2);box-shadow:0 0 0 4px rgba(112,40,248,.14)}
.gy-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--gp-text);font:500 .95rem/1 var(--gp-font)}
.gy-search input::placeholder{color:var(--gp-muted);opacity:1}
.gy-search>svg{flex:none;color:var(--gp-ink)}
.gy-search .sugg{top:calc(100% + 10px);border-radius:18px}

.gy-tools{margin-left:0;gap:clamp(4px,.6vw,10px);flex:none}
.gy-head .gp-loc>summary{height:48px;padding:0 14px;border:0;border-radius:999px;background:var(--gp-lav);font-size:.95rem;gap:7px}
html[data-surface="storefront"][data-theme="light"] .gy-head .gp-loc>summary{background:#F1EEFF}
.gy-head .gp-loc[open]>summary{box-shadow:0 0 0 4px rgba(112,40,248,.14)}
.gy-head .gp-loc-pop{top:calc(100% + 14px);border:0;box-shadow:0 0 0 1px rgba(89,21,245,.07),0 24px 50px -22px rgba(64,38,160,.45)}
.gy-head .gp-loc-list a:hover{background:var(--gp-lav);color:var(--gp-brand-d)}
.gy-head .gp-loc-list a[aria-current]{background:var(--gp-grad);color:#fff}.gy-head .gp-loc-list a[aria-current] em{color:#fff}
html[data-surface="storefront"]:not([data-theme="light"]) .gy-head .gp-loc-list a:hover{color:#fff}
.gy-head .gp-tool{border-radius:14px;color:var(--gp-ink)!important}
.gy-head .gp-tool:hover{background:var(--gp-lav)}
.gy-head .gp-cart em{background:var(--gp-brand);color:#fff;border-color:#fff}
.gy-login{display:inline-flex;align-items:center;height:46px;padding:0 12px;border-radius:12px;font:700 .97rem/1 var(--gp-font);color:var(--gp-ink)!important;text-decoration:none!important;white-space:nowrap}
.gy-login:hover{color:var(--gp-brand)!important}
.gy-signup{display:inline-flex;align-items:center;height:46px;padding:0 22px;border-radius:14px;background:var(--gp-grad);color:#fff!important;font:750 .97rem/1 var(--gp-font);text-decoration:none!important;white-space:nowrap;box-shadow:0 10px 22px -12px rgba(89,21,245,.85);transition:transform .2s,box-shadow .2s}
.gy-signup:hover{transform:translateY(-2px);box-shadow:0 14px 26px -12px rgba(89,21,245,.95)}
.gy-head .gy-walm,html[data-surface="storefront"] .gy-head .gp-burger{display:none}
html[data-surface="storefront"] .gy-head .wpill{height:46px;padding:0 14px 0 9px;border:0;border-radius:14px;background:var(--gp-lav);color:var(--gp-ink);box-shadow:none}
html[data-surface="storefront"][data-theme="light"] .gy-head .wpill{background:#F1EEFF}
html[data-surface="storefront"] .gy-head .wpill::after{display:none}
html[data-surface="storefront"] .gy-head .wpill .wpill-ic{background:var(--gp-grad);color:#fff;border-radius:9px;width:28px;height:28px;box-shadow:none}
html[data-surface="storefront"] .gy-head .wpill .wpill-amt{color:var(--gp-ink);font-weight:800}
.gy-head .gp-adminlink{height:38px;padding:0 12px;border-radius:10px;background:var(--gp-ink);color:#fff!important;font-weight:750;font-size:.84rem;text-decoration:none}
html[data-surface="storefront"]:not([data-theme="light"]) .gy-head .gp-adminlink{background:#fff;color:#091439!important}

/* 1500 and below: tighter; 1320 and below: the search box becomes a round button that opens over the bar */
@media (max-width:1500px){
  .gy-nav>a,.gy-drop>summary,.gy-login,.gy-signup{font-size:.93rem}
  .gy-nav>a,.gy-drop>summary{padding:0 8px}.gy-nav>a::after,.gy-drop>summary::after{left:8px;right:8px}
  .gy-head .gp-word{font-size:1.48rem}.gy-head .gp-logo img.gp-mark{width:40px;height:40px}
  .gy-signup{padding:0 18px}
}
@media (max-width:1320px){
  .gy-search{flex:none;width:48px;min-width:48px;padding:0;justify-content:center;position:relative}
  .gy-search>svg{pointer-events:none}
  .gy-search input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer;border-radius:999px;padding:0 16px 0 46px}
  .gy-search:focus-within{position:absolute;right:clamp(14px,2.2vw,34px);left:auto;top:16px;width:min(560px,calc(100% - 28px));z-index:5;justify-content:flex-start;padding:0 16px;box-shadow:0 0 0 4px rgba(112,40,248,.14),0 18px 40px -18px rgba(64,38,160,.5)}
  .gy-search:focus-within input{position:static;opacity:1;cursor:text;padding:0}
}
/* the phone and tablet bar: logo left; cart, wallet and menu right; the search below */
@media (max-width:1120px){
  .gy-head{padding:0}
  .gy-bar{height:auto;min-height:64px;flex-wrap:wrap;gap:8px 6px;padding:8px 14px 10px;border-radius:0 0 22px 22px}
  .gy-nav,.gy-login,.gy-signup,.gy-head .gp-loc,.gy-acct,.gy-head .gp-adminlink{display:none!important}
  .gy-tools{margin-left:auto;gap:2px}
  .gy-head .gy-walm,html[data-surface="storefront"] .gy-head .gp-burger{display:inline-grid}
  html[data-surface="storefront"] .gy-head .wpill{display:inline-flex!important;height:40px;padding:0 10px 0 7px}
  .gy-head .gp-word{font-size:1.36rem}.gy-head .gp-logo img.gp-mark{width:38px;height:38px}
  .gy-search,.gy-search:focus-within{order:9;position:relative;inset:auto;flex:1 0 100%;width:100%;max-width:none;min-width:0;height:46px;margin:0;padding:0 16px;justify-content:flex-start;top:auto;right:auto}
  .gy-search input{position:static;opacity:1;cursor:text;padding:0}
}
@media (max-width:380px){.gy-head .gp-word{font-size:1.2rem}.gy-head .gp-logo img.gp-mark{width:34px;height:34px}.gy-head .gp-tool{width:40px}}

/* ---------- actions ---------- */
.gp-btn{border-radius:14px;font-weight:750;letter-spacing:-.01em;transition:transform .22s ease,box-shadow .22s ease,background .2s,border-color .2s}
.gp-btn:hover{transform:translateY(-2px)}
.gp-btn-lime,html[data-surface="storefront"] .btn,html[data-surface="storefront"] .btn.amber{background:var(--gp-grad);color:#fff!important;border-color:transparent;box-shadow:0 12px 24px -14px rgba(89,21,245,.9)}
.gp-btn-lime:hover,html[data-surface="storefront"] .btn:hover,html[data-surface="storefront"] .btn.amber:hover{background:linear-gradient(135deg,#4A0FD6 0%,#6420F0 55%,#8440FF 100%);color:#fff!important;box-shadow:0 16px 28px -14px rgba(89,21,245,1)}
.gp-btn-lime svg,html[data-surface="storefront"] .btn svg{color:#fff}
html[data-surface="storefront"] .btn.ghost,.gp-btn-ghost{background:var(--gp-paper);color:var(--gp-ink)!important;border:1.5px solid var(--gp-line2);box-shadow:0 8px 20px -16px rgba(64,38,160,.5)}
html[data-surface="storefront"] .btn.ghost:hover,.gp-btn-ghost:hover{border-color:var(--gp-brand2);color:var(--gp-brand-d)!important;background:var(--gp-paper)}
html[data-surface="storefront"]:not([data-theme="light"]) :is(.btn.ghost,.gp-btn-ghost):hover{color:#fff!important}
.gp-btn-dark{background:var(--gp-ink);color:#fff!important}
html[data-surface="storefront"]:not([data-theme="light"]) .gp-btn-dark{background:#fff;color:#091439!important}
.gp-link,.gp-more{color:var(--gp-moss)!important}
.gp-hl{background:none;color:inherit;padding:0;margin:0;border-radius:0;background-image:var(--gp-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* ---------- small brand details ---------- */
.gp-pc-badge{background:var(--gp-ink);color:#fff}
html[data-surface="storefront"]:not([data-theme="light"]) .gp-pc-badge{background:#fff;color:#091439}
.gp-off-badge{background:var(--gp-grad);color:#fff;box-shadow:0 8px 16px -8px rgba(89,21,245,.9)}
.gp-cart em{background:var(--gp-brand);color:#fff}

/* ---------- dark islands on the light page: their own text colours win over the site-wide ink ---------- */
html[data-surface="storefront"] .gpl-sell-hero :is(h1,h2,h3){color:var(--gpl-text)}
html[data-surface="storefront"] .gpl-sell-hero :is(p,label,li,span,small){color:inherit}
html[data-surface="storefront"] .gpl-sell-hero .gpl-lede{color:var(--gpl-muted)}
.gpl-sell-hero{background:radial-gradient(120% 90% at 78% 30%,#1A1250 0%,#0D0B2E 40%,#070619 74%)}

/* ---------- card page: the main action is the brand purple ---------- */
.auth-submit,html[data-surface="storefront"][data-theme="light"] .btn:not(.ghost):not(.sm):not(.danger),html[data-surface="storefront"] .btn.amber{background:var(--gp-grad);color:#fff!important;box-shadow:0 12px 24px -14px rgba(89,21,245,.9)}
.auth-submit:hover{filter:none;background:linear-gradient(135deg,#4A0FD6 0%,#6420F0 55%,#8440FF 100%)}
html[data-surface="storefront"] .auth-side{background:linear-gradient(160deg,#2A1A8A 0%,#140F52 46%,#091439 100%);border-color:rgba(167,123,255,.25)}
html[data-surface="storefront"] .auth-side :is(h1,h2,h3){color:#fff}
html[data-surface="storefront"] .auth-side :is(p,li,label){color:inherit}
html[data-surface="storefront"] .auth-side .by{color:#C4ABFF}

/* ---------- account area on the light page ---------- */
html[data-surface="storefront"][data-theme="light"]{--ghw-ok:#0A7D57;--ghw-ok-bg:rgba(22,185,129,.14);--ghw-warn:#8A5A00;--ghw-warn-bg:rgba(255,170,25,.2);--ghw-wait:#5A6388;--ghw-wait-bg:rgba(90,99,136,.12);--ghw-lock:#B3261E;--ghw-lock-bg:rgba(179,38,30,.1)}
html[data-surface="storefront"][data-theme="light"] :is(.ghw-hero,.ghw-hero-main,.acct-hero,.acct-hero-grid){--ghw-ok:#2FE6A6;--ghw-ok-bg:rgba(47,230,166,.14);--ghw-warn:#F5C96A;--ghw-warn-bg:rgba(245,201,106,.14);--ghw-wait:#B5B9D0;--ghw-wait-bg:rgba(111,87,183,.16);--ghw-lock:#FF9BA3;--ghw-lock-bg:rgba(240,97,109,.14)}
html[data-surface="storefront"][data-theme="light"] .wd{--wd-bg:#F7F8FF;--wd-panel:#FFFFFF;--wd-line:#E6E8F6;--wd-amber:#8A5A00;--wd-mint:#0A7D57;--wd-mute:#5A6388;--wd-red:#B3261E}
html[data-surface="storefront"][data-theme="light"] .wd-bal{background:linear-gradient(135deg,#1F1470 0%,#0B1445 70%);border-color:transparent;--wd-amber:#FFCA59;--wd-mint:#65E2B5;--wd-mute:#C7CCE8;--wd-line:rgba(255,255,255,.14)}
html[data-surface="storefront"][data-theme="light"] .wd-bal :is(b,strong,div,span,small,p){color:inherit}
html[data-surface="storefront"][data-theme="light"] .wd-bal{color:#fff}
html[data-surface="storefront"][data-theme="light"] .wd-card{box-shadow:var(--gp-shadow)}
html[data-surface="storefront"][data-theme="light"] .dn-tier{color:var(--gp-moss)}
html[data-surface="storefront"] .gp-drawer-nav2 a.on{color:var(--gp-brand)}
html[data-surface="storefront"]:not([data-theme="light"]) .gp-drawer-nav2 a.on{color:#C4ABFF}

/* ---------- Black Friday rail on the light page: one deep navy block ---------- */
html[data-surface="storefront"][data-theme="light"] body.fest-blackfriday .fest-rail{background:linear-gradient(135deg,#0A0E2C 0%,#170F52 100%)!important;padding:clamp(22px,3vw,40px) 0}
html[data-surface="storefront"][data-theme="light"] body.fest-blackfriday .fest-rail .gp-sdpanel{background:transparent;border:0;box-shadow:none}
html[data-surface="storefront"][data-theme="light"] body.fest-blackfriday .fest-rail :is(h2,.fest-h2){color:#fff}
html[data-surface="storefront"][data-theme="light"] body.fest-blackfriday .fest-rail :is(h2,.fest-h2) .off{background:#A77BFF;color:#091439}
html[data-surface="storefront"][data-theme="light"] body.fest-blackfriday .fest-rail .gp-sdhead p{color:#C7CCE8}
html[data-surface="storefront"][data-theme="light"] .ghw-phead b{color:var(--gp-brand)}
html[data-surface="storefront"] .acct-hero-grid .acct-btn.glass{color:#fff}
html[data-surface="storefront"] .gp-flow-step .card3d b{color:inherit}
html[data-surface="storefront"] .catlist a.on{background:var(--gp-grad);color:#fff;box-shadow:0 10px 20px -14px rgba(89,21,245,.9)}
html[data-surface="storefront"] .catlist a.on :is(span,small,em,b){color:#fff}

/* ---------- footer ---------- */
.gp-social:not(:has(a)){display:none}
.gy-theme{display:inline-flex;align-items:center;gap:8px;height:38px;margin-top:14px;padding:0 14px;border-radius:999px;border:0;background:var(--gp-lav);color:var(--gp-ink);font:650 .84rem/1 var(--gp-font);cursor:pointer}
.gy-theme:hover{background:var(--gp-lav2)}
.gy-theme svg{flex:none}
.gy-search .sugg{left:auto;right:0;width:max(100%,380px);max-width:calc(100vw - 28px)}
@media (max-width:1120px){.gy-search .sugg{left:0;right:0;width:auto}}
