/* =====================================================================
   GiftMintr V22.0 — the brand layer
   Loaded last on the storefront (never on admin pages). The palette
   lives in gp.css (the --gp-* and --gm-* tokens); this sheet holds the
   navigation bar, the cyan buy and purple sell actions and the small
   brand details.

   midnight navy #03071C · technology blue #07132F · deep purple #160C3D
   electric cyan #00E5FF · aqua #00CFFF · neon blue #168BFF
   electric purple #8B3DFF · magenta #D946EF · violet #A78BFA
   ===================================================================== */

/* ---------- base ---------- */
body:not(.adminmode){background:var(--gp-bg)}
body:not(.adminmode) ::selection{background:#00CFFF;color:#03071C}
body:not(.adminmode) :focus-visible{outline:3px solid rgba(0,229,255,.6);outline-offset:2px}

/* ---------- navigation ---------- */
.gm-head{background:rgba(3,7,28,.78);border-bottom:0;border-radius:0 0 26px 26px;box-shadow:0 18px 40px -26px rgba(22,139,255,.55)}
.gm-head::after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(0,229,255,0) 0%,#00E5FF 14%,#168BFF 46%,#8B3DFF 78%,rgba(139,61,255,0) 100%);box-shadow:0 0 14px 1px rgba(22,139,255,.6);pointer-events:none}
html .gm-head .gp-wrap{max-width:1700px;height:84px;gap:clamp(8px,1.2vw,22px);padding:0 clamp(14px,2.2vw,36px)}
.gm-head .gp-logo{gap:11px;font-size:1.68rem;letter-spacing:-.04em;color:#F7FAFF}
.gm-head .gp-logo .mk,.gm-head .gp-logo img{width:46px;height:46px}
.gm-head .gp-logo em{font-style:normal;background:linear-gradient(95deg,#00E5FF 0%,#3C9BFF 46%,#8B3DFF 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#00CFFF}
.gm-nav{gap:clamp(0px,.5vw,10px);margin-left:clamp(0px,.8vw,14px)}
.gm-nav>a,.gm-drop>summary{position:relative;display:inline-flex;align-items:center;gap:7px;height:44px;padding:0 11px;border-radius:12px;color:#F7FAFF;font:600 .98rem/1 var(--gp-body);letter-spacing:-.01em;text-decoration:none;white-space:nowrap;cursor:pointer;list-style:none;background:none;transition:color .18s}
.gm-drop>summary::-webkit-details-marker{display:none}
.gm-nav>a:hover,.gm-nav>a[aria-current=page],.gm-drop>summary:hover,.gm-drop>summary[aria-current=page],.gm-drop[open]>summary{color:#5EEBFF;background:none}
.gm-nav>a::after,.gm-drop>summary::after{content:"";position:absolute;left:11px;right:11px;bottom:2px;height:2.5px;border-radius:3px;background:var(--gm-grad);box-shadow:0 0 10px rgba(0,229,255,.7);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.gm-nav>a[aria-current=page]::after,.gm-drop>summary[aria-current=page]::after{transform:scaleX(1)}
.gm-nav svg{width:21px;height:21px;flex:none}
.gm-drop{position:relative}
.gm-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}
.gm-drop[open]>summary svg{transform:rotate(180deg)}
.gm-drop-pop{position:absolute;left:-14px;top:calc(100% + 18px);z-index:90;width:430px;max-width:calc(100vw - 24px);padding:14px;border-radius:20px;background:#07132F;box-shadow:0 0 0 1px rgba(60,155,255,.28),0 24px 60px -18px rgba(0,0,0,.8),0 0 40px -10px rgba(139,61,255,.4)}
.gm-drop-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.gm-drop-grid a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px;color:#F7FAFF;text-decoration:none;font-weight:600;font-size:.92rem}
.gm-drop-grid a:hover{background:rgba(0,229,255,.1);color:#5EEBFF}
.gm-drop-grid img{border-radius:3px;flex:none}
.gm-drop-all{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding:11px 12px;border-radius:12px;background:rgba(139,61,255,.18);color:#fff;font-weight:700;font-size:.92rem;text-decoration:none}
.gm-drop-all i{font-style:normal;transition:transform .2s}.gm-drop-all:hover i{transform:translateX(3px)}

.gm-head .gp-hsearch{flex:1 1 190px;min-width:150px;max-width:330px}
.gm-head .gp-hsearch input{height:48px;padding:0 16px 0 46px;border-radius:999px;background:rgba(10,22,58,.72);border:1px solid rgba(96,130,220,.32);color:#F7FAFF;font-size:.95rem}
.gm-head .gp-hsearch input::placeholder{color:#B8C5DF;opacity:.85}
.gm-head .gp-hsearch input:focus{outline:0;border-color:#00CFFF;box-shadow:0 0 0 4px rgba(0,207,255,.16)}
.gm-head .gp-hsearch>svg{left:17px;width:19px;height:19px;color:#F7FAFF}
.gm-head .gp-hsearch kbd{display:none}
.gm-head .gp-hacts{gap:clamp(6px,.7vw,12px)}
.gm-head .gp-loc>summary{height:48px;padding:0 14px;border-radius:999px;background:rgba(10,22,58,.72);border:1px solid rgba(96,130,220,.32);color:#F7FAFF;font-size:.95rem;gap:7px}
.gm-head .gp-icobtn{width:44px;height:44px;border-radius:14px;border-color:rgba(96,130,220,.32);color:#F7FAFF}
.gm-head .gp-icobtn:hover{background:rgba(0,229,255,.1);color:#5EEBFF}
.gm-head .gp-icobtn .n{background:#00E5FF;color:#03071C}
.gm-login{display:inline-flex;align-items:center;height:46px;padding:0 10px;color:#F7FAFF;font:600 .98rem/1 var(--gp-body);text-decoration:none;white-space:nowrap}
.gm-login:hover{color:#5EEBFF}
.gm-signup{display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:16px;background:var(--gm-buy);color:#03071C;font:750 .98rem/1 var(--gp-body);text-decoration:none;white-space:nowrap;box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 10px 26px -12px rgba(0,229,255,.9);transition:transform .2s,box-shadow .2s}
.gm-signup:hover{color:#03071C;transform:translateY(-2px);box-shadow:0 0 0 1px rgba(255,255,255,.3) inset,0 14px 34px -10px rgba(0,229,255,1)}
.gm-head .gm-walm{display:none}
.gm-head .gp-wallet{height:46px;border-radius:14px;background:rgba(139,61,255,.2);border:1px solid rgba(167,139,250,.5);color:#fff;box-shadow:none}
.gm-head .gp-wallet .gp-ico{color:#C4B5FD}
.gm-head .gp-hsbtn{border-radius:50%;width:48px;height:48px;background:rgba(10,22,58,.72)}
html[data-theme=light] .gm-head{background:rgba(255,255,255,.9)}
html[data-theme=light] .gm-head .gp-logo,html[data-theme=light] .gm-nav>a,html[data-theme=light] .gm-drop>summary,html[data-theme=light] .gm-login,html[data-theme=light] .gm-head .gp-icobtn,html[data-theme=light] .gm-head .gp-loc>summary,html[data-theme=light] .gm-head .gp-hsearch input,html[data-theme=light] .gm-head .gp-hsearch>svg{color:#07132F}
html[data-theme=light] .gm-head .gp-hsearch input,html[data-theme=light] .gm-head .gp-loc>summary,html[data-theme=light] .gm-head .gp-hsbtn{background:#EEF3FF;border-color:#D5DEF3}
html[data-theme=light] .gm-head .gp-hsearch input::placeholder{color:#5B6788}
html[data-theme=light] .gm-nav>a:hover,html[data-theme=light] .gm-nav>a[aria-current=page],html[data-theme=light] .gm-drop>summary:hover{color:#0B6FE0}
html[data-theme=light] .gm-drop-pop{background:#fff}html[data-theme=light] .gm-drop-grid a{color:#07132F}html[data-theme=light] .gm-drop-all{color:#3B1A8A}
html[data-theme=light] .gm-head .gp-wallet{color:#3B1A8A}

@media(max-width:1500px){
  html .gm-head .gp-wrap{height:78px}
  .gm-head .gp-logo{font-size:1.5rem}.gm-head .gp-logo .mk,.gm-head .gp-logo img{width:42px;height:42px}
  .gm-nav>a,.gm-drop>summary,.gm-login,.gm-signup{font-size:.93rem}
  .gm-nav>a,.gm-drop>summary{padding:0 8px}.gm-nav>a::after,.gm-drop>summary::after{left:8px;right:8px}
  .gm-signup{padding:0 18px;height:46px}
}
/* phones and tablets: logo left; wallet and menu right; the full menu is in the drawer */
@media(max-width:1100px){
  .gm-head{border-radius:0 0 20px 20px}
  .gm-head .gp-nav,.gm-head .gp-hsearch,.gm-head .gp-hsbtn,.gm-head .gp-hacts .desk,.gm-head .gp-loc{display:none!important}
  .gm-head .gp-hamb{display:inline-grid;order:9}
  html .gm-head .gp-wrap{height:64px;gap:8px;padding:0 14px}
  .gm-head .gp-logo{font-size:1.34rem}.gm-head .gp-logo .mk,.gm-head .gp-logo img{width:38px;height:38px}
  .gm-head .gp-hacts{margin-left:auto;gap:6px}
  .gm-head .gm-walm{display:inline-grid}
  .gm-signup{height:40px;padding:0 14px;border-radius:13px;font-size:.88rem}
  .gm-head .gp-wallet{height:40px}
}
@media(max-width:400px){.gm-head .gp-logo{font-size:1.16rem;gap:8px}.gm-head .gp-logo .mk,.gm-head .gp-logo img{width:34px;height:34px}.gm-signup{padding:0 11px;font-size:.84rem}}

/* ---------- actions: cyan buys, purple sells ---------- */
body:not(.adminmode) .gp-btn{background:var(--gm-buy);color:#03071C;border-color:transparent;font-weight:750;box-shadow:0 10px 26px -14px rgba(0,229,255,.9)}
body:not(.adminmode) .gp-btn:hover{background:linear-gradient(100deg,#5EEBFF 0%,#00E5FF 60%,#35C4FF 100%);color:#03071C;transform:translateY(-2px);box-shadow:0 14px 32px -12px rgba(0,229,255,1)}
body:not(.adminmode) .gp-btn.ghost{background:rgba(139,61,255,.14);border-color:rgba(167,139,250,.65);color:#F7FAFF;box-shadow:none}
body:not(.adminmode) .gp-btn.ghost:hover{background:rgba(139,61,255,.28);border-color:#A78BFA;color:#fff;box-shadow:0 12px 28px -14px rgba(139,61,255,.9)}
body:not(.adminmode) .gp-btn.soft{background:var(--gp-surface2);color:var(--gp-ink);border-color:var(--gp-line);box-shadow:none}
body:not(.adminmode) .gp-btn.soft:hover{background:var(--gp-surface3);color:#fff}
body:not(.adminmode) .gp-btn.gold{background:var(--gp-gold);color:#1A1405;box-shadow:0 8px 22px rgba(255,170,34,.2)}
html[data-theme=light] body:not(.adminmode) .gp-btn.ghost{color:#3B1A8A;background:rgba(139,61,255,.08)}
html[data-theme=light] body:not(.adminmode) .gp-btn.soft{color:#07132F}

/* ---------- footer ---------- */
.gm-theme{display:inline-flex;align-items:center;gap:8px;height:38px;margin-top:14px;padding:0 14px;border-radius:999px;border:1px solid var(--gp-line2);background:transparent;color:var(--gp-ink2);font:600 .84rem/1 var(--gp-body);cursor:pointer}
.gm-theme:hover{color:#fff;border-color:#00CFFF}
.gm-theme svg{width:17px;height:17px}

/* V22.0 — every card tile ends in a Buy Now button */
.gp-gc .gm-bn{display:flex;align-items:center;justify-content:center;gap:6px;height:38px;margin:10px 2px 0;border-radius:11px;background:rgba(0,229,255,.08);border:1px solid rgba(0,229,255,.45);color:#9FF4FF;font-weight:800;font-size:.85rem;transition:background .2s,color .2s,border-color .2s}
.gp-gc .gm-bn .gp-ico{width:15px;height:15px}
.gp-gc:hover .gm-bn,.gp-gc:focus-visible .gm-bn{background:var(--gm-buy);border-color:transparent;color:#03071C}
body:not(.adminmode) .gp-brand-card .go{background:rgba(0,229,255,.08);border-color:rgba(0,229,255,.45);color:#9FF4FF;transition:background .2s,color .2s,border-color .2s}
body:not(.adminmode) .gp-brand-card:hover .go,body:not(.adminmode) .gp-brand-card:focus-visible .go{background:var(--gm-buy);border-color:transparent;color:#03071C}
html[data-theme=light] .gp-gc .gm-bn,html[data-theme=light] body:not(.adminmode) .gp-brand-card .go{background:#E6FAFF;border-color:#0891B2;color:#075E73}
body:not(.adminmode) .ptile .view{background:rgba(0,229,255,.08);border-color:rgba(0,229,255,.45);color:#9FF4FF;font-weight:800}
body:not(.adminmode) .ptile:hover .view,body:not(.adminmode) .ptile:focus-visible .view{background:var(--gm-buy);border-color:transparent;color:#03071C}
html[data-theme=light] body:not(.adminmode) .ptile .view{background:#E6FAFF;border-color:#0891B2;color:#075E73}
.gm-head .gp-wallet b{color:#fff}
