@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--red:#e50919;--red2:#b8000d;--ink:#101114;--muted:#70727b;--line:#e8e8ec;--paper:#f7f7f9;--green:#138a54;--radius:18px;--shadow:0 12px 34px rgba(16,17,20,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.btn{border:0;border-radius:12px;background:var(--red);color:#fff;padding:12px 17px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}button:hover,.btn:hover{background:var(--red2);transform:translateY(-1px)}.btn.dark{background:var(--ink)}.btn.light{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.small{padding:8px 11px;font-size:13px}.wrap{width:min(1200px,calc(100% - 36px));margin:auto}.topline{background:var(--ink);color:#fff;text-align:center;font-size:12px;padding:9px}.nav{position:sticky;top:0;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);z-index:10;border-bottom:1px solid var(--line)}.nav-inner{display:flex;align-items:center;gap:24px;min-height:76px}.brand{display:flex;align-items:center;gap:10px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.6px;white-space:nowrap}.brand img{width:45px;height:45px;object-fit:contain}.brand b{color:var(--red)}.navlinks{display:flex;gap:20px;font-size:14px;font-weight:700}.navlinks a:hover{color:var(--red)}.search{display:flex;flex:1;max-width:390px;margin-left:auto;background:var(--paper);border:1px solid var(--line);border-radius:13px;overflow:hidden}.search input{border:0;background:transparent;padding:12px;width:100%;outline:none}.search button{border-radius:0;padding:0 15px}.nav-actions{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:700}.hero{padding:48px 0 35px;background:radial-gradient(circle at 85% 15%,#ffdfe1 0,transparent 30%),linear-gradient(135deg,#fff 30%,#fff5f5)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}.eyebrow{display:inline-flex;background:#ffe8ea;color:var(--red2);border-radius:99px;padding:8px 12px;font-size:12px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}.hero h1{font-family:Manrope,sans-serif;font-size:clamp(42px,5.3vw,70px);line-height:1.02;letter-spacing:-3px;margin:20px 0}.hero h1 span{color:var(--red)}.hero p{color:#5f6068;font-size:17px;line-height:1.7;max-width:570px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hero-art{min-height:380px;border-radius:32px;background:linear-gradient(145deg,#e50919,#96000b);padding:25px;position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero-art:before{content:"";position:absolute;width:300px;height:300px;border:55px solid rgba(255,255,255,.12);border-radius:50%;right:-55px;top:-70px}.hero-art-card{position:absolute;background:#fff;border-radius:22px;padding:22px;box-shadow:0 20px 40px #52000844}.hero-art-card.one{width:63%;left:8%;top:17%;transform:rotate(-7deg)}.hero-art-card.two{width:52%;right:5%;bottom:10%;transform:rotate(6deg)}.art-tag{font-size:11px;color:var(--red);font-weight:800}.art-product{display:flex;align-items:center;gap:12px;margin-top:12px}.art-product .emoji{font-size:50px}.art-product strong{display:block}.art-product small{color:var(--muted)}.section{padding:36px 0 48px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:22px}.section-head h2{font:800 clamp(24px,3vw,34px) Manrope,sans-serif;letter-spacing:-1px;margin:0}.section-head p{color:var(--muted);margin:8px 0 0}.categories{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.category{border:1px solid var(--line);border-radius:16px;padding:18px 8px;text-align:center;font-size:12px;font-weight:700;transition:.2s}.category:hover{border-color:var(--red);transform:translateY(-3px);box-shadow:var(--shadow)}.category .emoji{display:block;font-size:27px;margin-bottom:10px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.22s;background:#fff;min-width:0}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{height:220px;background:#f4f4f6;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.product-image img{width:100%;height:100%;object-fit:cover}.product-placeholder{font-size:70px}.product-info{padding:15px}.product-info .category-label{color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.6px}.product-info h3{font-size:15px;line-height:1.35;margin:7px 0;min-height:40px}.price{font:800 20px Manrope,sans-serif}.price small{font:500 11px 'DM Sans',sans-serif;color:var(--muted)}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px}.stock{font-size:11px;color:var(--green)}.shop-card{border:1px solid var(--line);padding:20px;border-radius:18px;display:flex;gap:14px;align-items:center}.shop-avatar{width:56px;height:56px;display:grid;place-items:center;background:#ffe8ea;color:var(--red);font-size:24px;border-radius:16px}.shop-card p{margin:5px 0;color:var(--muted);font-size:13px}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.banner{background:var(--ink);color:#fff;border-radius:24px;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.banner h2{font:800 28px Manrope,sans-serif;margin:0 0 8px}.banner p{color:#c4c4cb;margin:0}.footer{margin-top:35px;background:#101114;color:#fff;padding:42px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer p,.footer a{color:#c4c4cb;font-size:13px;line-height:1.8}.footer h4{margin:0 0 10px}.copyright{border-top:1px solid #303137;margin-top:25px;padding-top:18px;color:#999;font-size:12px}.flash-wrap{padding-top:12px}.flash{padding:12px 15px;border-radius:12px;margin:8px 0;background:#eef9f1;color:#146c3b;font-size:14px}.flash.error{background:#fff0f0;color:#a5000c}.flash.info{background:#eef5ff;color:#174a8b}.page-head{padding:35px 0 18px}.page-head h1{font:800 34px Manrope,sans-serif;letter-spacing:-1px;margin:0 0 7px}.page-head p{color:var(--muted)}.auth-layout{min-height:65vh;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;padding:35px 0}.auth-promo{background:linear-gradient(145deg,#e50919,#94000b);color:#fff;border-radius:25px;padding:36px;min-height:360px;display:flex;flex-direction:column;justify-content:end}.auth-promo h2{font:800 38px Manrope,sans-serif;line-height:1.1}.form-card{border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:var(--shadow);background:#fff}.form-card h2{margin-top:0;font:800 26px Manrope,sans-serif}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px;margin:13px 0}.field label{font-size:13px;font-weight:700}.field input,.field select,.field textarea{width:100%;border:1px solid #dedee4;border-radius:11px;padding:12px 13px;background:#fff;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--red);box-shadow:0 0 0 3px #e5091915}.muted{color:var(--muted)}.dashboard-layout{display:grid;grid-template-columns:230px 1fr;gap:25px;padding:28px 0 50px}.sidebar{background:#111216;color:#fff;border-radius:20px;padding:18px;height:max-content;position:sticky;top:95px}.sidebar .side-label{color:#999;font-size:10px;font-weight:800;letter-spacing:1.4px;margin:17px 10px 8px}.sidebar a{display:block;padding:11px 12px;border-radius:10px;color:#dedee3;font-size:13px;font-weight:700;margin:3px 0}.sidebar a:hover,.sidebar a.active{background:var(--red);color:#fff}.dash-content{min-width:0}.dash-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:22px}.dash-title h1{font:800 30px Manrope,sans-serif;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:22px}.stat{border:1px solid var(--line);border-radius:16px;padding:17px;background:#fff}.stat small{color:var(--muted);font-size:12px}.stat strong{display:block;font:800 25px Manrope,sans-serif;margin-top:9px}.panel{border:1px solid var(--line);border-radius:17px;padding:20px;margin-bottom:20px;min-width:0}.panel h3{margin:0 0 15px;font:800 18px Manrope,sans-serif}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;min-width:600px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px 10px;vertical-align:middle}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.6px}td form{display:inline-flex;gap:5px}td select{padding:7px;border:1px solid var(--line);border-radius:8px}.badge{display:inline-flex;border-radius:99px;background:#f1f1f4;padding:5px 8px;font-size:11px;font-weight:800}.badge.good{background:#e3f7eb;color:#167341}.badge.red{background:#ffe7e9;color:#b0000d}.order-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}.timeline-step{padding:13px 8px;background:#f3f3f5;border-radius:12px;text-align:center;font-size:12px}.timeline-step.active{background:#ffe5e8;color:#b0000d;font-weight:800}.empty{padding:45px 20px;text-align:center;border:1px dashed #d8d8df;border-radius:18px;color:var(--muted)}.empty .emoji{font-size:40px}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:38px;padding:35px 0}.detail-image{min-height:420px;background:var(--paper);border-radius:24px;display:grid;place-items:center;overflow:hidden}.detail-image img{width:100%;height:100%;max-height:560px;object-fit:contain}.detail-info h1{font:800 34px Manrope,sans-serif;line-height:1.15}.detail-price{font:800 32px Manrope,sans-serif;color:var(--red);margin:18px 0}.mobile-menu{display:none}
@media(max-width:1000px){.nav-inner{gap:14px}.navlinks{gap:12px}.categories{grid-template-columns:repeat(4,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-layout{grid-template-columns:190px 1fr}.hero-grid{gap:22px}.hero-art{min-height:330px}}
@media(max-width:720px){.wrap{width:min(100% - 24px,600px)}.nav-inner{min-height:65px;flex-wrap:wrap;padding:10px 0;gap:10px}.brand{font-size:14px}.brand img{width:35px;height:35px}.navlinks{order:3;width:100%;overflow:auto;gap:17px;padding:4px 0}.navlinks a{white-space:nowrap;font-size:12px}.search{order:4;max-width:none;flex-basis:100%;margin:0}.nav-actions{margin-left:auto}.nav-actions .hide-mobile{display:none}.hero{padding:30px 0}.hero-grid{grid-template-columns:1fr}.hero h1{letter-spacing:-2px}.hero-art{min-height:300px}.categories{grid-template-columns:repeat(4,1fr);gap:8px}.category{padding:13px 4px;font-size:10px}.category .emoji{font-size:23px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:160px}.product-info{padding:11px}.product-info h3{font-size:13px;min-height:35px}.price{font-size:17px}.product-bottom{align-items:stretch;flex-direction:column}.product-bottom .btn{width:100%;font-size:12px}.shop-grid{grid-template-columns:1fr}.banner{align-items:flex-start;flex-direction:column;padding:24px}.footer-grid{grid-template-columns:1fr;gap:15px}.auth-layout{grid-template-columns:1fr;padding:20px 0}.auth-promo{min-height:220px;padding:25px}.auth-promo h2{font-size:29px}.form-grid{grid-template-columns:1fr}.dashboard-layout{grid-template-columns:1fr;gap:15px}.sidebar{position:static;display:flex;gap:5px;overflow:auto;padding:10px}.sidebar .side-label{display:none}.sidebar a{white-space:nowrap;margin:0;padding:10px}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stat{padding:13px}.stat strong{font-size:21px}.dash-title{align-items:flex-start;flex-direction:column}.product-detail{grid-template-columns:1fr;gap:22px}.detail-image{min-height:300px}.detail-info h1{font-size:28px}.order-timeline{grid-template-columns:repeat(2,1fr)}.panel{padding:14px}.section{padding:25px 0 35px}.section-head{align-items:flex-start;flex-direction:column}}
/* Inline SVG icons (replace emoji) */
.icon{display:inline-block;vertical-align:-0.2em;flex:none}
.btn .icon,.sidebar a .icon,.navlinks a .icon{vertical-align:-0.2em}
.sidebar a .icon{margin-right:8px;opacity:.9}
.emoji .icon,.product-placeholder .icon{display:block;margin:0 auto}
.category .emoji{color:var(--red)}
.art-product .emoji{display:grid;place-items:center;color:var(--red)}
.empty .emoji{color:var(--muted);margin-bottom:6px}
.product-placeholder{color:#b9b9c2;display:grid;place-items:center}
.shop-avatar .icon{display:block}
#modal-icon svg{width:52px;height:52px}
.topline .icon{vertical-align:-2px;margin-right:4px}

/* ===== Product-first layout ===== */
.chips{display:flex;gap:8px;overflow-x:auto;padding:14px 0 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.chips.wrap{flex-wrap:wrap;overflow:visible}
.chip{display:inline-flex;align-items:center;gap:7px;flex:none;padding:9px 15px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:700;background:#fff;white-space:nowrap;transition:.15s}
.chip .icon{color:var(--red)}
.chip:hover{border-color:var(--red)}
.chip.on{background:var(--ink);border-color:var(--ink);color:#fff}
.section.tight{padding:14px 0 26px}
.section-head.slim{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.section-head.slim h2{font:800 22px Manrope,sans-serif;letter-spacing:-.5px;margin:0}
.section-head.slim a{font-size:13px;font-weight:700;color:var(--red)}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}
.pcard{position:relative;min-width:0}
.pcard-img{display:block;position:relative;aspect-ratio:1/1;background:var(--paper);border-radius:16px;overflow:hidden}
.pcard-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.pcard:hover .pcard-img img{transform:scale(1.04)}
.pcard-empty{position:absolute;inset:0;display:grid;place-items:center;color:#b9b9c2}
.pcard-badge{position:absolute;left:10px;bottom:10px;background:var(--ink);color:#fff;font-size:11px;font-weight:800;padding:4px 9px;border-radius:999px}
.pcard-like{position:absolute;top:10px;right:10px;margin:0}
.pcard-like button{width:34px;height:34px;padding:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);display:grid;place-items:center;box-shadow:0 2px 8px #0002}
.pcard-like button:hover{color:var(--red)}
.pcard-body{padding:10px 2px 0}
.pcard-name{display:block;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcard-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
.pcard-row form{margin:0}
.pcard-price{font:800 17px Manrope,sans-serif;letter-spacing:-.3px}
.add-btn{width:38px;height:38px;padding:0;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center}
.add-btn:disabled{background:#d4d4da;cursor:not-allowed}
.empty.slim{text-align:center;padding:48px 0;color:var(--muted)}
.empty.slim p{margin:10px 0 16px}
.sellbar{display:flex;justify-content:space-between;align-items:center;margin:8px 0 36px;padding:16px 20px;background:var(--ink);color:#fff;border-radius:16px;font-weight:800}
.shop-bar{display:flex;align-items:center;gap:12px;justify-content:space-between}
.shop-bar .chips{flex:1;min-width:0}
.sort select{border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:#fff;font-size:13px}
.result-line{margin:6px 0 12px;font-size:13px}
.shop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:26px 0 4px}
.shop-head h1{font:800 28px Manrope,sans-serif;letter-spacing:-1px;margin:0}
.linkbtn{display:inline-flex;align-items:center;gap:6px;background:none;color:var(--ink);padding:8px 4px;font-size:13px;font-weight:700;border:0;cursor:pointer}
.linkbtn:hover{color:var(--red)}
/* product page */
.pdp{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:36px;padding:26px 0 48px;align-items:start}
.pdp-image{aspect-ratio:1/1;background:var(--paper);border-radius:22px;overflow:hidden;position:relative;display:grid;place-items:center;color:#b9b9c2}
.pdp-image img{width:100%;height:100%;object-fit:contain;background:#fff}
.pdp-info h1{font:800 30px Manrope,sans-serif;letter-spacing:-1px;line-height:1.15;margin:0 0 10px}
.pdp-price{font:800 32px Manrope,sans-serif;color:var(--red);letter-spacing:-1px;margin-bottom:10px}
.pdp-desc{color:#55575f;line-height:1.6;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:12px 0 18px}
.pdp-buy{display:flex;gap:10px;align-items:stretch;margin:16px 0}
.pdp-buy input{width:80px;padding:12px;border:1px solid var(--line);border-radius:12px;font-size:16px}
.pdp-buy .btn{flex:1;justify-content:center}
.btn.big{padding:15px 22px;font-size:16px}
.pdp-links{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.pdp-links form{margin:0}
@media(max-width:1000px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
  .pcard-img{border-radius:12px}
  .pcard-name{font-size:13px}.pcard-price{font-size:15px}
  .add-btn{width:34px;height:34px}
  .pdp{grid-template-columns:1fr;gap:18px;padding-top:12px}
  .pdp-image{border-radius:14px;margin:0 -12px;border-radius:0}
  .pdp-info h1{font-size:24px}.pdp-price{font-size:26px}
  .shop-bar{flex-direction:column;align-items:stretch;gap:0}
  .sort{align-self:flex-end;margin-bottom:6px}
}
.section-head.slim{flex-direction:row!important;text-align:left!important;align-items:center!important}
.pdp-image{max-width:640px;width:100%}
.pdp{grid-template-columns:minmax(0,640px) minmax(0,1fr)}
@media(max-width:720px){.pdp{grid-template-columns:1fr}.pdp-image{max-width:none}.section-head.slim h2{font-size:20px}}

/* GEOPRAM CONTROL: compact tabbed administration workspace */
.admin-tab-panel[hidden]{display:none!important}
.geopram-admin-layout{grid-template-columns:248px minmax(0,1fr);gap:22px;align-items:start}
.geopram-admin-sidebar{max-height:calc(100vh - 112px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border:1px solid #27282e;box-shadow:0 12px 30px #11121612}
.geopram-admin-sidebar .side-label{font-size:12px;color:#fff;letter-spacing:1.8px;margin:6px 10px 20px}
.geopram-admin-sidebar .admin-nav-caption{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#85858e;margin:18px 10px 7px}
.geopram-admin-sidebar a{display:flex;align-items:center;gap:11px;min-height:42px;border:1px solid transparent;transition:background .15s,border-color .15s}
.geopram-admin-sidebar a:hover{background:#292a31;border-color:#3a3b44;color:#fff}
.geopram-admin-sidebar a.active{background:linear-gradient(100deg,#e50919,#b9000d);box-shadow:0 5px 14px #e509192e;color:#fff}
.geopram-admin-sidebar a svg{flex:0 0 16px}
.geopram-admin-layout .dash-content{min-width:0}
.geopram-admin-layout .dash-title{padding:7px 2px 18px;border-bottom:1px solid var(--line)}
.geopram-admin-layout .dash-title h1{font-size:clamp(24px,2.4vw,32px);letter-spacing:-.8px}
.geopram-admin-layout .panel{box-shadow:0 5px 18px #11121606}
@media(max-width:1000px){.geopram-admin-layout{grid-template-columns:205px minmax(0,1fr);gap:15px}.geopram-admin-sidebar{top:88px;padding:12px}}
@media(max-width:720px){.geopram-admin-layout{grid-template-columns:minmax(0,1fr);gap:15px;padding-top:15px}.geopram-admin-sidebar{position:relative;top:auto;max-height:none;overflow:visible;padding:12px;border-radius:15px}.geopram-admin-sidebar .side-label{margin:3px 8px 10px}.geopram-admin-sidebar .admin-nav-caption{margin:12px 8px 5px}.geopram-admin-sidebar a{display:inline-flex;width:calc(50% - 5px);vertical-align:top;margin:2px 1px;padding:9px 10px;min-height:40px;font-size:12px}.geopram-admin-layout .dash-title{align-items:flex-start}.geopram-admin-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.geopram-admin-layout .stat{padding:13px}.geopram-admin-layout .stat strong{font-size:21px}}


/* GEOPRAM CONTROL responsive workspace v2 */
body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 48px);max-width:1600px;margin-left:auto;margin-right:auto}
.geopram-admin-layout{width:100%;grid-template-columns:252px minmax(0,1fr);gap:24px;align-items:start}
.geopram-admin-sidebar{position:sticky;top:18px;max-height:calc(100dvh - 36px);border-radius:20px;padding:18px 14px}
.geopram-admin-layout .dash-content{width:100%;min-width:0}
.geopram-admin-layout .admin-tab-panel{width:100%;min-width:0;animation:gpFadeIn .16s ease-out}
.geopram-admin-layout .panel{width:100%;min-width:0;padding:clamp(18px,2vw,30px);border-radius:18px;overflow-wrap:anywhere}
.geopram-admin-layout .panel h3{font-size:clamp(18px,1.5vw,22px);margin-top:0}
.geopram-admin-layout .panel form:not([class]){width:100%}
.geopram-admin-layout label{display:grid;gap:7px;font-weight:650;color:var(--ink);margin:0;min-width:0}
.geopram-admin-layout input:not([type=checkbox]),.geopram-admin-layout select,.geopram-admin-layout textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px 12px;font:inherit;background:#fff;color:var(--ink)}
.geopram-admin-layout input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--red)}
.geopram-admin-layout form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;line-height:1.5}
.geopram-admin-layout .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.geopram-admin-layout table{width:100%;min-width:760px}
.geopram-admin-layout .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.geopram-admin-layout .stat{min-width:0;overflow-wrap:anywhere}
.geopram-admin-layout .dash-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.geopram-admin-sidebar a{width:100%;box-sizing:border-box;text-decoration:none}
@keyframes gpFadeIn{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 80px)}.geopram-admin-layout{grid-template-columns:270px minmax(0,1fr);gap:28px}}
@media(max-width:1000px){body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 32px)}.geopram-admin-layout{grid-template-columns:210px minmax(0,1fr);gap:16px}.geopram-admin-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.geopram-admin-sidebar{top:12px;max-height:calc(100dvh - 24px)}}
@media(max-width:700px){body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 24px)}.geopram-admin-layout{grid-template-columns:minmax(0,1fr);gap:14px}.geopram-admin-sidebar{position:relative;top:auto;max-height:none;overflow:visible;padding:14px;border-radius:16px}.geopram-admin-sidebar .side-label{font-size:13px;margin:3px 8px 12px}.geopram-admin-sidebar .admin-nav-caption{margin:13px 8px 6px}.geopram-admin-sidebar a{display:inline-flex;width:calc(50% - 5px);min-height:44px;margin:2px 1px;padding:10px;font-size:12px;white-space:normal}.geopram-admin-layout .panel{padding:17px}.geopram-admin-layout .dash-title{padding-bottom:14px}.geopram-admin-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.geopram-admin-layout .stat{padding:12px}.geopram-admin-layout .stat strong{font-size:clamp(17px,5vw,23px)}.geopram-admin-layout .panel form[style*="grid"]{grid-template-columns:minmax(0,1fr)!important}.geopram-admin-layout .panel button.btn{width:100%;justify-content:center}.geopram-admin-layout .panel form button.btn{width:auto}.geopram-admin-layout table{min-width:700px}}
@media(max-width:380px){.geopram-admin-sidebar a{width:100%}.geopram-admin-layout .stats{grid-template-columns:1fr 1fr}}

/* Geopram responsive quality pass: protect every page from flex/grid overflow. */
*,*::before,*::after{box-sizing:border-box}
img,video,canvas,svg{max-width:100%;height:auto}
input,select,textarea,button{max-width:100%;font:inherit}
.wrap,.container,.dash-content,.dashboard-layout,.panel,.card,.product-grid,.footer-grid{min-width:0}
body{overflow-wrap:break-word}
main.wrap{width:min(100% - 40px,1500px);margin-inline:auto}
.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.notification-stack{min-width:0;width:100%}
.notification-row{display:flex;align-items:flex-start;gap:12px;min-width:0;width:100%;flex-wrap:nowrap}
.notification-row>.notification-dot{flex:0 0 9px}
.notification-row>div:not(.notification-dot){flex:1 1 240px!important;min-width:0!important;width:auto;overflow-wrap:anywhere;word-break:normal;white-space:normal}
.notification-row>div:not(.notification-dot) b,.notification-row>div:not(.notification-dot) p{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.5}
.notification-row>form,.notification-row>span{flex:0 0 auto;max-width:100%}
.notification-row button{white-space:normal;min-height:40px}
#gp-notice-fab{max-width:none;max-height:none}
#gp-notice-drawer{box-sizing:border-box;max-width:calc(100vw - 20px)}
#gp-notice-content{min-width:0;overflow-wrap:anywhere}
#gp-notice-drawer *{min-width:0}
#gp-notice-drawer button,#gp-notice-drawer a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:900px){
 main.wrap{width:calc(100% - 28px)}
 .nav-inner{flex-wrap:wrap;gap:12px}
 .search{min-width:0;max-width:100%}
 .dashboard-layout,.geopram-admin-layout{grid-template-columns:minmax(0,1fr)}
 .dash-content,.admin-tab-panel,.panel{min-width:0;max-width:100%}
 .notification-row{flex-wrap:wrap}
 .notification-row>div:not(.notification-dot){flex:1 1 calc(100% - 30px)!important}
 .notification-row>form{margin-left:21px}
}
@media(max-width:600px){
 main.wrap{width:calc(100% - 20px)}
 .topline{text-align:center;padding:7px 10px;font-size:11px}
 .nav-inner{align-items:stretch}
 .brand{flex:1 1 150px;min-width:0}
 .navlinks{display:flex;flex-wrap:wrap;gap:8px 12px;max-width:100%}
 .search{width:100%;flex:1 1 100%}
 .nav-actions{display:flex;flex-wrap:wrap;gap:8px 12px;max-width:100%}
 .footer-grid{grid-template-columns:1fr!important}
 .stats,.admin-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .notification-row{padding:12px;gap:9px}
 .notification-row>div:not(.notification-dot){flex-basis:calc(100% - 20px)!important}
 .notification-row>form{margin-left:18px;width:calc(100% - 18px)}
 .notification-row>form button{width:100%}
 #gp-notice-fab{right:12px;bottom:12px;width:50px;height:50px}
 #gp-notice-drawer{left:10px!important;right:10px!important;top:auto!important;bottom:72px!important;width:auto;max-height:70dvh;border-radius:17px}
}
@media(max-width:360px){
 main.wrap{width:calc(100% - 14px)}
 .stats,.admin-overview-stats{grid-template-columns:minmax(0,1fr)!important}
 .nav-actions{font-size:12px}
}

/* GEOPRAM UX PASS — accessible drawer, stronger bag, payout forms and charts */
.mobile-menu{width:42px;height:42px;flex:0 0 42px;padding:10px;border-radius:13px;background:#15161a;display:none;align-items:center;justify-content:center;flex-direction:column;gap:4px;box-shadow:0 5px 14px #10111420}
.mobile-menu span{display:block;width:19px;height:2px;border-radius:3px;background:#fff}
.gp-drawer-scrim[hidden]{display:none!important}
.gp-drawer-scrim{position:fixed;inset:0;background:rgba(10,12,18,.56);backdrop-filter:blur(2px);z-index:10020}
.gp-side-drawer{position:fixed;inset:0 auto 0 0;width:min(340px,88vw);height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:#fff;z-index:10021;box-shadow:20px 0 60px #0002;transform:translateX(-105%);transition:transform .25s ease;padding:16px;display:flex;flex-direction:column;gap:20px;visibility:hidden}
.gp-side-drawer.is-open{transform:translateX(0);visibility:visible}
.gp-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.gp-drawer-head .brand img{width:42px;height:42px}
.gp-drawer-close{width:40px;height:40px;padding:0;border-radius:12px;background:#f1f2f5;color:#191a20;font-size:27px}
.gp-drawer-links{display:grid;gap:6px}
.gp-drawer-links a{display:flex;align-items:center;gap:13px;padding:13px 12px;border-radius:12px;background:#f8f8fa;font-weight:700;font-size:14px;min-height:47px}
.gp-drawer-links a svg{color:var(--red);flex:0 0 auto}
.gp-drawer-links a:hover{background:#fff0f1;color:var(--red)}
.gp-drawer-links a b{margin-left:auto;background:var(--red);color:#fff;border-radius:999px;min-width:24px;text-align:center;padding:3px 7px;font-size:12px}
.gp-drawer-foot{margin-top:auto;padding:14px 4px 4px;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}
body.gp-drawer-open{overflow:hidden}
.nav-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.bag-link{display:inline-flex;align-items:center;gap:8px;padding:7px 10px 7px 8px!important;border:1px solid #ffd66b;border-radius:14px;background:#fff9e8;color:#7c2d12;font-weight:800;white-space:nowrap;box-shadow:0 4px 14px #f59e0b1a}
.bag-link:hover{background:#fff0c2;color:#7c2d12}
.bag-symbol{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#ffb11b,#ff8a00);color:#fff;box-shadow:0 3px 8px #c56b0038}
.bag-symbol svg{width:23px;height:23px;stroke-width:2.4}
.bag-label{font-size:13px}
.bag-count{display:inline-grid;place-items:center;min-width:30px;height:24px;padding:0 7px;border-radius:8px;background:#ffe2a0;color:#7c2d12;font-size:12px;font-variant-numeric:tabular-nums}
.payout-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.payout-form-grid label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:700;color:#353640}
.payout-form-grid input,.payout-form-grid select{width:100%;min-width:0;min-height:44px;border:1px solid #dfe1e8;border-radius:10px;padding:10px 12px;background:#fff;color:var(--ink);outline:none}
.payout-form-grid input:focus,.payout-form-grid select:focus{border-color:var(--red);box-shadow:0 0 0 3px #e5091918}
.payout-form-grid>div{grid-column:1/-1}
#payout-settings{padding:clamp(16px,2.2vw,26px);overflow:hidden}
#payout-settings h3,#payout-history h3{font-size:clamp(17px,1.5vw,21px);margin-top:0}
#payout-settings>p.muted{line-height:1.55;font-size:13px;max-width:1000px}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.panel-heading h3{margin:0}
.gp-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gp-chart-card{min-width:0;border:1px solid #e9eaf0;border-radius:16px;padding:15px;background:linear-gradient(150deg,#fff,#fbfbfe);box-shadow:0 6px 18px #16172208}
.gp-chart-card h4{font-size:14px;margin:0 0 12px}
.gp-chart-card canvas{width:100%!important;height:230px!important;max-height:260px}
.gp-admin-analytics .gp-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gp-admin-analytics{margin-top:18px}
.dashboard-layout{width:100%;max-width:none;grid-template-columns:230px minmax(0,1fr);gap:clamp(14px,2vw,26px)}
.dash-content{min-width:0}
.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:1000px){
 .nav-inner{gap:10px}.brand{gap:6px}.navlinks{gap:10px;font-size:12px}.search{max-width:280px}
 .gp-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .mobile-menu{display:flex;order:0}
 .nav-inner{width:calc(100% - 20px);display:flex;flex-wrap:wrap;gap:9px;padding:9px 0}
 .brand{order:1;margin-right:auto}.brand img{width:36px;height:36px}.brand span{font-size:14px}.brand small{font-size:7px!important;letter-spacing:1.2px!important}
 .navlinks{display:none}
 .nav-inner>.search{order:3;flex:1 1 100%;max-width:none;margin:0}
 .nav-actions{order:2;gap:7px}.nav-actions>a:not(.bag-link){display:none}
 .bag-link{gap:5px;padding:4px 6px!important}.bag-symbol{width:33px;height:33px}.bag-label{font-size:12px}.bag-count{min-width:24px;height:22px;font-size:11px}
 .dashboard-layout{display:block;padding:14px 0 28px}
 .dashboard-layout>.sidebar{display:none}
 .dash-title{align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}.dash-title h1{font-size:23px}
 .dash-title .btn{font-size:12px;padding:9px 11px}
 .stats{gap:8px;margin-bottom:14px}.stat{padding:12px;border-radius:13px}.stat small{font-size:11px}.stat strong{font-size:20px;margin-top:5px;overflow-wrap:anywhere}
 .panel{padding:14px;border-radius:14px;margin-bottom:12px}
 .payout-form-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .payout-form-grid>div{grid-column:auto}
 .gp-chart-grid,.gp-admin-analytics .gp-chart-grid{grid-template-columns:minmax(0,1fr)}
 .gp-chart-card canvas{height:220px!important}
 .panel-heading{align-items:flex-start}
 .table-wrap table{min-width:600px}
}
@media(min-width:721px) and (max-width:1000px){
 .dashboard-layout{grid-template-columns:185px minmax(0,1fr)}
 .sidebar{padding:12px}.sidebar a{padding:10px;font-size:12px}
 .payout-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){
 .brand span{font-size:12px}.brand img{width:32px;height:32px}
 .bag-label{display:none}.bag-link{padding:4px!important}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Admin/campaign studio navigation polish: persistent drawer access and profile icon */
.mobile-menu{display:flex}
.account-link{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.account-link svg{width:18px;height:18px;flex:0 0 auto;color:var(--ink);stroke-width:2.2}
.account-link:hover svg{color:var(--red)}
.gp-side-drawer{z-index:10041}
.gp-drawer-scrim{z-index:10040}
.gp-side-drawer{padding-bottom:max(16px,env(safe-area-inset-bottom))}
.gp-drawer-links{overflow-y:auto;overscroll-behavior:contain;min-height:0}
.gp-drawer-links a{flex-shrink:0}
@media(min-width:721px){
 .nav-inner{gap:clamp(10px,1.1vw,18px)}
 .mobile-menu{order:0}
 .brand{order:1}
 .navlinks{order:2}
 .nav-inner>.search{order:3}
 .nav-actions{order:4}
}
@media(max-width:720px){
 .mobile-menu{display:flex}
 .nav-actions .account-link{display:none}
}


/* Marketplace finish: G-logo menu on desktop, sticker colors and compact safety info */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.desktop-logo-menu{display:flex;align-items:center;justify-content:center;order:0;flex:0 0 46px;width:46px;height:46px;padding:3px;border:1px solid transparent;border-radius:13px;background:transparent;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.desktop-logo-menu img{display:block;width:40px;height:40px;object-fit:contain}
.desktop-logo-menu:hover,.desktop-logo-menu:focus-visible{background:#fff0f1;border-color:#ffd1d5;transform:translateY(-1px);outline:none}
.nav-inner>.brand{order:1}
.navlinks{order:2}
.nav-inner>.search{order:3}
.nav-actions{order:4}
.mobile-menu{display:none}
.gp-side-drawer .brand img{display:block}
.pcard-img{position:relative}
.pcard-stickers{position:absolute;left:9px;top:9px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:calc(100% - 58px);pointer-events:none}
.product-sticker{display:inline-flex;align-items:center;max-width:100%;width:max-content;padding:5px 9px;border-radius:7px;color:#fff;font-size:10px;line-height:1.15;font-weight:850;letter-spacing:.15px;box-shadow:0 2px 7px #0002;overflow-wrap:anywhere}
.sticker-new{background:#2563eb}
.sticker-promo{background:#e50919}
.sticker-hot{background:#f97316}
.sticker-alert{background:#b45309}
.sticker-sold{background:#374151}
.sticker-tag{background:#0f766e}
.product-detail-stickers{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px}
.gp-info-note{margin:10px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.gp-info-note summary{display:inline-flex;align-items:center;gap:7px;list-style:none;cursor:pointer;font-weight:750;color:var(--ink);min-height:30px}
.gp-info-note summary::-webkit-details-marker{display:none}
.gp-info-icon{width:20px;height:20px;display:inline-grid;place-items:center;border-radius:50%;background:#e8f0ff;color:#1d4ed8;font-size:12px;font-weight:900;border:1px solid #c7d8ff}
.gp-info-note[open] summary{margin-bottom:6px}
.gp-info-note p{margin:4px 0 0;max-width:70ch;line-height:1.55;font-size:12px}
.gp-payment-info{border-top:0;margin:12px auto;max-width:520px;text-align:left}
.gp-payment-info summary{margin:0 auto}
.gp-payment-wave{display:flex;align-items:center;justify-content:center;gap:4px;height:24px;margin:8px auto 4px}
.gp-payment-wave span{display:block;width:4px;height:8px;border-radius:5px;background:#16a34a;animation:gp-wave 1s ease-in-out infinite}
.gp-payment-wave span:nth-child(2){animation-delay:.12s}.gp-payment-wave span:nth-child(3){animation-delay:.24s}.gp-payment-wave span:nth-child(4){animation-delay:.36s}.gp-payment-wave span:nth-child(5){animation-delay:.48s}
@keyframes gp-wave{0%,100%{height:6px;opacity:.55}50%{height:21px;opacity:1}}
@media(prefers-reduced-motion:reduce){.gp-payment-wave span{animation:none;height:8px}.desktop-logo-menu{transition:none}}
@media(max-width:720px){
 .desktop-logo-menu{display:none}
 .mobile-menu{display:flex;order:0}
 .nav-inner>.brand{order:1}
 .pcard-stickers{left:6px;top:6px;gap:4px;max-width:calc(100% - 48px)}
 .product-sticker{font-size:9px;padding:4px 7px;border-radius:6px}
}

/* Responsive advertising, terms and compact image-only brand mark */
.nav-inner .brand{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.nav-inner .brand img{display:block;width:clamp(86px,8vw,132px);height:44px;max-width:100%;object-fit:contain}
.gp-drawer-head .brand img{width:124px;height:44px;object-fit:contain}
.footer .brand img{width:124px;height:46px;object-fit:contain}
.gp-featured-ad{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,34%);gap:22px;align-items:center;max-width:1320px;margin:22px auto;padding:clamp(18px,3vw,34px);border:1px solid #f1d7b3;border-radius:22px;background:linear-gradient(120deg,#fff8ec,#fff 65%,#fff0e8);box-sizing:border-box;overflow:hidden}
.gp-ad-copy{min-width:0}.gp-ad-eyebrow{display:inline-flex;padding:5px 9px;border-radius:99px;background:#fff0d8;color:#9a4d05;font-size:10px;font-weight:900;letter-spacing:1px}
.gp-featured-ad h2{font-size:clamp(22px,3vw,34px);line-height:1.1;margin:10px 0}.gp-featured-ad p{font-size:14px;line-height:1.6;color:#52645a;white-space:pre-line;overflow-wrap:anywhere}
.gp-featured-ad img{width:100%;max-height:230px;object-fit:contain;border-radius:14px}
.gp-terms{max-width:980px!important;padding:20px 16px 48px;box-sizing:border-box}
.gp-terms-hero{padding:clamp(22px,4vw,42px);border-radius:22px;background:linear-gradient(125deg,#101f18,#176b42);color:white;margin:8px 0 18px}
.gp-terms-hero>span{font-size:10px;font-weight:850;letter-spacing:1.5px;color:#ffc66b}.gp-terms-hero h1{font-size:clamp(28px,5vw,44px);line-height:1.1;margin:12px 0}.gp-terms-hero p{line-height:1.6;color:#e3f0e8;max-width:60ch}.gp-terms-hero small{color:#c7ded0}
.gp-terms-nav{position:sticky;top:4px;z-index:5;display:flex;gap:8px;overflow-x:auto;padding:10px;margin-bottom:16px;border:1px solid #e4ebe6;border-radius:14px;background:#ffffffed;backdrop-filter:blur(8px)}
.gp-terms-nav a{white-space:nowrap;padding:8px 10px;border-radius:9px;background:#f1f7f3;color:#18543a;font-size:12px;font-weight:750}
.gp-terms section{padding:20px 0;border-bottom:1px solid #e5ebe7;scroll-margin-top:78px}.gp-terms section h2{font-size:clamp(18px,2.5vw,23px);margin:0 0 9px}.gp-terms section p{font-size:14px;line-height:1.75;color:#435249;max-width:80ch}
.gp-edit-campaign form{margin-top:12px}
@media(max-width:720px){
 .nav-inner .brand img{width:82px;height:38px}
 .gp-featured-ad{grid-template-columns:1fr;gap:12px;margin:14px 0;padding:18px;border-radius:16px}
 .gp-featured-ad img{max-height:170px;grid-row:1}
 .gp-terms{padding:12px 10px 34px}
 .gp-terms-nav{margin-left:-2px;margin-right:-2px}
}
@media(max-width:380px){.gp-featured-ad{padding:14px}.gp-featured-ad p{font-size:13px}.gp-terms section p{font-size:13px}}


/* Official Geopram wordmark: one logo only, no duplicate G and no green theme */
@media(min-width:721px){
  .desktop-logo-menu{
    display:flex!important;
    width:clamp(155px,17vw,220px);
    height:58px;
    flex:0 1 clamp(155px,17vw,220px);
    padding:4px 0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .desktop-logo-menu img{
    width:100%;
    height:100%;
    object-fit:contain;
  }
  .desktop-logo-menu:hover,.desktop-logo-menu:focus-visible{
    background:transparent;
    border-color:transparent;
    transform:none;
    opacity:.88;
  }
  .nav-inner>.brand{display:none!important}
}
@media(max-width:720px){
  .desktop-logo-menu{display:none!important}
  .mobile-menu{display:flex!important}
  .nav-inner>.brand{display:flex!important;flex:0 1 auto;min-width:0}
  .nav-inner .brand img{width:clamp(108px,30vw,154px);height:43px;object-fit:contain}
}
.gp-drawer-head .brand img,.footer .brand img{
  width:clamp(130px,36vw,190px);
  height:52px;
  object-fit:contain;
}
/* Replace incidental green accents with Geopram red, charcoal and neutral tones */
.product-sticker.sticker-tag{background:#374151}
.gp-payment-wave span{background:#e50919}
.gp-terms-hero{background:linear-gradient(125deg,#151515,#8f0610)}
.gp-terms-hero>span{color:#ffc3c7}
.gp-terms-hero p{color:#f7e7e8}
.gp-terms-hero small{color:#e9c9cb}
.gp-terms-nav{border-color:#eee;background:#ffffffed}
.gp-terms-nav a{background:#fff0f1;color:#9f0713}
.gp-terms section{border-bottom-color:#e9e9e9}
.gp-terms section p{color:#52525b}
.gp-featured-ad{border-color:#f2c8cb;background:linear-gradient(120deg,#fff1f2,#fff 65%,#fff5f5)}
.gp-ad-eyebrow{background:#fff0f1;color:#a30713}
.gp-featured-ad p{color:#52525b}


/* Product cards: soft, restrained blurred color glow behind each item */
.pcard{position:relative;isolation:isolate;border:1px solid #e8e9ed;border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(20,25,40,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.pcard::before{content:"";position:absolute;z-index:-1;inset:9px -5px -7px;border-radius:22px;background:linear-gradient(135deg,rgba(229,9,25,.19),rgba(255,174,82,.16) 38%,rgba(81,113,235,.13) 72%,rgba(229,9,25,.12));filter:blur(17px);opacity:.72;pointer-events:none}
.pcard:hover{transform:translateY(-3px);border-color:#f2c8cc;box-shadow:0 12px 28px rgba(20,25,40,.11)}
.pcard-img{display:block;position:relative;overflow:hidden;border-radius:16px 16px 0 0;background:linear-gradient(145deg,#fdf1f2,#f6f7fb 48%,#fff5e9)}
.pcard-img img{position:relative;z-index:1;display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;mix-blend-mode:normal}
.pcard-stickers{z-index:2}
.pcard-like{position:absolute;z-index:4;top:10px;right:10px}
.pcard-like button{min-width:43px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border:1px solid #ffffffc9;border-radius:999px;background:rgba(255,255,255,.92);color:#e50919;box-shadow:0 3px 12px #1112;backdrop-filter:blur(8px);cursor:pointer}
.pcard-like button:hover{background:#fff0f1;transform:scale(1.04)}
.pcard-like-count{font-size:11px;font-weight:800;color:#20212a;line-height:1;font-variant-numeric:tabular-nums}
.pcard-body{position:relative;z-index:1;background:rgba(255,255,255,.94);border-radius:0 0 16px 16px;padding:11px 12px 13px}
.pcard-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;font-weight:750;line-height:1.3}
.pcard-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
.pcard-price{font-weight:850;font-size:clamp(13px,1.2vw,16px);font-variant-numeric:tabular-nums}
.pdp-like-button{display:inline-flex;align-items:center;gap:6px}
.pdp-like-button span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff0f1;color:#e50919;font-size:11px;font-weight:850}
.admin-likes-field{padding:12px;border:1px solid #f3c7cb;border-radius:12px;background:#fff8f8}
@media(min-width:1100px){
 .grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px 20px}
}
@media(max-width:900px){
 .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:18px 15px}
}
@media(max-width:520px){
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px}
 .pcard{border-radius:13px}
 .pcard-img{border-radius:12px 12px 0 0}
 .pcard-body{padding:9px 9px 11px}
 .pcard-like{top:7px;right:7px}
 .pcard-like button{min-width:38px;min-height:32px;padding:5px 7px}
 .pcard-like-count{font-size:10px}
 .pcard::before{filter:blur(11px);inset:7px -3px -5px}
}

/* GEOPRAM RESPONSIVE FINISH — unified footer, seller dashboard and brand palette */
:root{--green:#e50919;--brand-red:#e50919;--brand-charcoal:#101114}
.footer{width:100%;overflow:hidden;background:#101114!important;color:#fff;padding:clamp(26px,4vw,46px) 0 18px}
.footer>.wrap{width:min(1240px,calc(100% - 40px));max-width:1240px}
.footer-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr) minmax(140px,1fr);gap:clamp(18px,3vw,38px);align-items:start}
.footer-grid>div{min-width:0;overflow-wrap:anywhere}
.footer-grid>div:first-child .brand{display:inline-flex;max-width:100%;margin-bottom:8px}
.footer-grid>div:first-child .brand img{width:clamp(100px,11vw,145px);height:auto;max-height:48px;object-fit:contain}
.footer-grid>div:first-child p{max-width:46ch;margin:8px 0;line-height:1.65;overflow-wrap:anywhere}
.footer-grid>div:first-child p b{color:#ff3340}
.footer h4{font-size:14px;margin:0 0 10px;color:#fff}
.footer-grid a{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.copyright{line-height:1.6;overflow-wrap:anywhere}
/* Any legacy green campaign/admin hero becomes Geopram charcoal and red. */
.hero,.gp-terms-hero,.student-control,.premium-control-panel,.student-note,.premium-rules{background:linear-gradient(125deg,#111114 0%,#29292f 62%,#b80716 100%)!important;border-color:#e5bfc2!important}
.hero,.gp-terms-hero{color:#fff!important}
.hero p,.gp-terms-hero p,.student-control p{color:#f3e8e9!important}
.eyebrow,.student-head h2{color:#e50919}
.student-emblem,.premium-mark{background:linear-gradient(145deg,#e50919,#111114)!important;color:#fff!important}
.premium-save,.btn.green{background:linear-gradient(100deg,#e50919,#a90010)!important;color:#fff!important}
.student-switch,.premium-toggle,.premium-settings-grid input:not([type=checkbox]),.premium-settings-grid textarea{border-color:#e8c9cc!important}
/* Seller dashboard: full-width fluid content, compact cards, no clipped form controls. */
.dashboard-layout{width:100%;max-width:none;grid-template-columns:clamp(190px,19vw,240px) minmax(0,1fr);gap:clamp(14px,2vw,26px)}
.dash-content,.dash-title,.panel,.stat,.gp-chart-grid,.gp-chart-card,.payout-form-grid{min-width:0;max-width:100%}
.dash-title{flex-wrap:wrap;align-items:flex-start}
.dash-title h1{font-size:clamp(23px,2.4vw,30px);overflow-wrap:anywhere}
.dash-title>.btn{flex:0 0 auto}
.payout-form-grid label{overflow-wrap:anywhere}
.panel{overflow-wrap:anywhere}
.panel code,td code{white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.gp-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gp-chart-card canvas{display:block;width:100%!important;max-width:100%;height:220px!important}
/* Avoid layout overflow when admin pages contain long forms, tables or charts. */
main.wrap,.wrap,.container,.dashboard-layout,.dash-content,.admin-tab-panel,.studio,.footer-grid{min-width:0}
img,canvas,video,iframe{max-width:100%}
@media(max-width:900px){
 .dashboard-layout{display:block!important;padding:16px 0 30px}
 .dashboard-layout>.sidebar{position:static;display:flex;gap:6px;overflow-x:auto;max-width:100%;white-space:nowrap;padding:10px;margin:0 0 16px;border-radius:14px;scrollbar-width:thin}
 .dashboard-layout>.sidebar .side-label{display:none}
 .dashboard-layout>.sidebar a{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;margin:0;padding:10px 12px}
 .dash-content{width:100%}
 .footer-grid{grid-template-columns:minmax(0,1.5fr) minmax(120px,1fr) minmax(120px,1fr);gap:18px}
 .gp-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .footer{padding:28px 0 16px}
 .footer>.wrap{width:calc(100% - 28px)}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
 .footer-grid>div:first-child{grid-column:1/-1}
 .footer-grid>div:first-child p{max-width:60ch}
 .footer-grid>div:nth-child(2),.footer-grid>div:nth-child(3){align-self:start}
 .copyright{margin-top:18px;padding-top:14px;font-size:11px}
 .dashboard-layout{padding-top:12px}
 .dashboard-layout>.sidebar{margin-bottom:12px}
 .dash-title{gap:10px;margin-bottom:14px}
 .dash-title>.btn{min-height:42px}
 .stats,.admin-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
 .stat{padding:13px;border-radius:13px}
 .stat strong{font-size:clamp(18px,5vw,24px);overflow-wrap:anywhere}
 .panel{padding:clamp(13px,4vw,18px);margin-bottom:13px;border-radius:14px}
 .payout-form-grid{grid-template-columns:minmax(0,1fr)}
 .payout-form-grid>div{grid-column:auto}
 .gp-chart-grid{grid-template-columns:minmax(0,1fr)}
 .gp-chart-card canvas{height:210px!important}
 .table-wrap table{min-width:620px}
 .hero{padding:20px!important;border-radius:16px!important}
 .studio{margin:14px auto 30px!important;width:calc(100% - 24px)}
 .grid,.two,.premium-settings-grid{grid-template-columns:minmax(0,1fr)!important}
 .student-head{align-items:flex-start;flex-wrap:wrap}
}
@media(max-width:380px){
 .footer-grid{grid-template-columns:minmax(0,1fr)}
 .footer-grid>div:first-child{grid-column:auto}
 .stats,.admin-overview-stats{grid-template-columns:minmax(0,1fr)!important}
 .dashboard-layout>.sidebar a{font-size:12px;padding:9px 10px}
 .dash-title>.btn{width:100%}
}


/* GEOPRAM COMPACT FOOTER + PRODUCT GRID FIX */
.footer-brand-block{min-width:0}
.footer-brand-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.footer-brand-row .brand{display:inline-flex;align-items:center;min-width:0;margin:0!important}
.footer-brand-row .brand img{display:block;width:clamp(110px,13vw,160px);height:auto;max-height:52px;object-fit:contain}
.footer-info{position:relative;flex:0 0 auto}
.footer-info summary{list-style:none;display:grid;place-items:center;width:24px;height:24px;border:1px solid #a9abb4;border-radius:50%;color:#fff;font:700 14px/1 Arial,sans-serif;cursor:pointer;user-select:none}
.footer-info summary::-webkit-details-marker{display:none}
.footer-info[open] summary,.footer-info summary:hover{background:#e50919;border-color:#e50919}
.footer-info-popover{position:absolute;left:0;bottom:calc(100% + 10px);z-index:20;width:min(270px,calc(100vw - 48px));padding:12px 14px;border:1px solid #383940;border-radius:12px;background:#202126;color:#f7f7f8;font-size:12px;line-height:1.5;box-shadow:0 12px 28px #0005}
.footer-grid>div:first-child p{display:none!important}
/* Product tiles stay compact and show two items per row on phone screens. */
@media(max-width:640px){
 .grid:has(.pcard){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 9px!important}
 .grid:has(.pcard) .pcard-img{aspect-ratio:4/3!important}
 .grid:has(.pcard) .pcard-body{padding:8px!important}
 .grid:has(.pcard) .pcard-name{font-size:12px;line-height:1.25;min-height:2.5em}
 .grid:has(.pcard) .pcard-price{font-size:clamp(12px,3.4vw,15px)}
 .grid:has(.pcard) .add-btn{width:31px;height:31px;min-width:31px}
 .grid:has(.pcard) .pcard-stickers{left:6px;top:6px;gap:3px;max-width:calc(100% - 46px)}
 .grid:has(.pcard) .product-sticker{font-size:9px;padding:4px 6px}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}
 .footer-grid>div:first-child{grid-column:1/-1!important}
 .footer-grid>div:first-child p{display:none!important}
 .footer-brand-row .brand img{width:clamp(112px,35vw,150px)}
}
@media(max-width:380px){
 .grid:has(.pcard){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 8px!important}
 .grid:has(.pcard) .pcard-img{aspect-ratio:1/1!important}
 .grid:has(.pcard) .pcard-body{padding:7px!important}
 .grid:has(.pcard) .pcard-row{gap:4px}
 .grid:has(.pcard) .pcard-price{font-size:12px}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* GEOPRAM MOBILE HEADER + ALWAYS-VISIBLE INFO POPOVER FIX (2026-10) */
@media(max-width:600px){
  .nav-inner{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 88px!important;
    grid-template-areas:"menu brand account" "search search bag";
    align-items:center!important;
    gap:9px 8px!important;
    padding-top:8px!important;
    padding-bottom:10px!important;
    min-height:0!important;
  }
  .mobile-menu{grid-area:menu;display:flex!important;width:42px;height:42px}
  .desktop-logo-menu{display:none!important}
  .nav-inner>.brand{grid-area:brand;min-width:0!important;flex:initial!important;max-width:100%;}
  .nav-inner>.brand img{width:clamp(118px,36vw,150px)!important;height:auto!important;max-height:42px;object-fit:contain}
  .navlinks{display:none!important}
  .nav-inner>.search{grid-area:search;width:100%!important;max-width:none!important;min-width:0!important;flex:initial!important;margin:0!important;height:46px}
  .nav-inner>.search input{min-width:0!important;padding:10px 11px!important;font-size:14px!important}
  .nav-inner>.search button{flex:0 0 46px;padding:0!important}
  .nav-actions{display:contents!important}
  .nav-actions>.bag-link{grid-area:bag;justify-self:stretch;align-self:stretch;display:flex!important;justify-content:center;gap:5px!important;min-width:0;padding:4px!important;border-radius:12px!important;min-height:46px;box-shadow:0 3px 10px #f59e0b20}
  .nav-actions>.bag-link .bag-symbol{width:32px;height:32px;flex:0 0 32px;border-radius:9px}
  .nav-actions>.bag-link .bag-symbol svg{width:20px;height:20px}
  .nav-actions>.bag-link .bag-label{font-size:11px}
  .nav-actions>.bag-link .bag-count{min-width:22px;height:22px;padding:0 5px;font-size:11px}
  .nav-actions>.account-link{grid-area:account;justify-self:end;align-self:center;display:flex!important;align-items:center;justify-content:center;gap:0!important;width:42px;height:42px;border-radius:50%;border:1px solid #e2e4e9;background:#fff;color:#17181d;box-shadow:0 2px 8px #1111110d}
  .nav-actions>.account-link svg{width:21px;height:21px}
  .nav-actions>.account-link span{display:none!important}
  .nav-actions>.hide-mobile:not(.account-link){display:none!important}
  .nav-actions>.account-link.hide-mobile{display:flex!important}
  .footer{position:relative;z-index:1}
  .footer-grid{overflow:visible!important}
  .footer-brand-block,.footer-brand-row,.footer-info{overflow:visible!important}
  .footer-info{position:static!important}
  .footer-info-popover{position:fixed!important;left:12px!important;right:12px!important;bottom:74px!important;top:auto!important;width:auto!important;max-width:420px;margin:0 auto;padding:14px 16px!important;z-index:10050!important;border:1px solid #55565e!important;border-radius:14px!important;background:#202126!important;color:#fff!important;box-shadow:0 18px 50px #0008!important;font-size:13px!important;line-height:1.55!important}
  .footer-info[open] summary{position:relative;z-index:10051;background:#e50919!important;border-color:#fff!important}
}
@media(max-width:360px){
  .nav-inner{grid-template-columns:38px minmax(0,1fr) 78px!important;gap:8px 6px!important}
  .mobile-menu{width:38px;height:40px;flex-basis:38px}
  .nav-inner>.brand img{width:clamp(108px,34vw,128px)!important}
  .nav-actions>.bag-link .bag-label{display:none!important}
  .nav-actions>.bag-link{gap:3px!important}
}

/* GEOPRAM CONTROL: clean white admin navigation to match the workspace */
.geopram-admin-sidebar{
  background:#fff!important;
  color:var(--ink,#17181c)!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
}
.geopram-admin-sidebar .side-label{color:#64748b!important;font-size:10px!important;letter-spacing:1.5px!important;margin:5px 10px 14px!important}
.geopram-admin-sidebar .admin-nav-caption{color:#64748b!important;margin-top:20px!important}
.geopram-admin-sidebar a{color:#344054!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;min-height:42px;padding:10px 12px!important;line-height:1.35}
.geopram-admin-sidebar a svg{color:#667085!important}
.geopram-admin-sidebar a:hover{background:#f8fafc!important;border-color:#e5e7eb!important;color:#b9000d!important}
.geopram-admin-sidebar a:hover svg{color:#e50919!important}
.geopram-admin-sidebar a.active{background:#fff0f1!important;border-color:#ffd5d9!important;color:#c90010!important;box-shadow:inset 3px 0 0 #e50919!important;font-weight:800}
.geopram-admin-sidebar a.active svg{color:#e50919!important}
@media(max-width:720px){
  .geopram-admin-sidebar{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:16px!important;padding:12px!important;box-shadow:0 5px 18px rgba(15,23,42,.05)!important}
  .geopram-admin-sidebar a{background:#fff!important;width:calc(50% - 5px)!important;min-height:42px!important;border:1px solid #edf0f3!important;border-radius:10px!important;color:#344054!important}
  .geopram-admin-sidebar a.active{background:#fff0f1!important;border-color:#ffd5d9!important;color:#c90010!important;box-shadow:inset 3px 0 0 #e50919!important}
}

/* GEOPRAM ADMIN DASHBOARD POLISH — 2026-10-24
   Use the available desktop width, improve visual hierarchy, and keep all admin controls readable. */
body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 32px)!important;max-width:none!important;margin-left:16px!important;margin-right:16px!important}
.geopram-admin-layout{grid-template-columns:clamp(232px,18vw,286px) minmax(0,1fr)!important;gap:clamp(16px,1.6vw,26px)!important;align-items:start}
.geopram-admin-sidebar{position:sticky!important;top:92px!important;max-height:calc(100dvh - 108px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.geopram-admin-layout .dash-content{min-width:0;width:100%}
.geopram-admin-layout .admin-tab-panel{min-width:0;width:100%}
.geopram-admin-layout .dash-title{padding:10px 0 18px;margin-bottom:18px;gap:14px}
.geopram-admin-layout .dash-title p{line-height:1.5}
.geopram-admin-layout .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.geopram-admin-layout .stat{position:relative;border:1px solid #e6e8ee;border-radius:15px;box-shadow:0 4px 14px rgba(16,17,20,.035);padding:18px;min-width:0}
.geopram-admin-layout .stat:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:4px;background:#e50919}
.geopram-admin-layout .stat strong{overflow-wrap:anywhere;font-size:clamp(20px,2vw,28px)}
.geopram-admin-layout .panel{background:#fff;border:1px solid #e5e7eb;box-shadow:0 6px 22px rgba(16,17,20,.045);color:#17181c}
.geopram-admin-layout .panel p,.geopram-admin-layout .panel label,.geopram-admin-layout .panel small{line-height:1.5}
.geopram-admin-layout .gp-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.geopram-admin-layout .gp-chart-card{border:1px solid #edf0f4;border-radius:15px;padding:16px;background:linear-gradient(180deg,#fff,#fcfcfd);min-width:0}
.geopram-admin-layout .gp-chart-card h4{margin:0 0 12px;font-size:14px}
/* Student demo panel: clean white surface and accessible labels (no black text on dark gradients). */
.geopram-admin-layout .student-control{background:#fff!important;color:#17181c!important;border:1px solid #e5e7eb!important;border-radius:18px!important;box-shadow:0 8px 26px rgba(16,17,20,.055)!important}
.geopram-admin-layout .student-control p,.geopram-admin-layout .student-control .muted{color:#667085!important}
.geopram-admin-layout .student-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.geopram-admin-layout .student-head h2{color:#17181c!important;font-size:clamp(22px,2.1vw,30px);margin:12px 0}
.geopram-admin-layout .student-head .eyebrow{background:#fff0f1!important;color:#c90010!important}
.geopram-admin-layout .student-emblem{flex:0 0 auto;background:#fff0f1!important;color:#e50919!important;border:1px solid #ffd5d9;border-radius:14px;padding:12px 16px;font-weight:900}
.geopram-admin-layout .student-control .stats .stat{background:#fff!important;color:#17181c!important}
.geopram-admin-layout .student-control .stats .stat small{color:#667085!important}
.geopram-admin-layout .student-control .stats .stat strong{color:#17181c!important}
.geopram-admin-layout .student-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.geopram-admin-layout .student-switch{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #e5e7eb!important;border-radius:13px;background:#fff!important;color:#17181c!important;min-width:0}
.geopram-admin-layout .student-switch input[type=checkbox]{width:18px;height:18px;flex:0 0 auto;accent-color:#e50919;margin-top:2px}
.geopram-admin-layout .student-switch b{display:block;color:#17181c!important;font-size:13px;margin-bottom:4px}
.geopram-admin-layout .student-switch small{display:block;color:#667085!important;font-size:12px;line-height:1.5}
.geopram-admin-layout .student-note{grid-column:1/-1;background:#fff8f8!important;border:1px solid #ffdadd!important;border-radius:13px;padding:14px;color:#34343a!important}
.geopram-admin-layout .student-note b{color:#b9000d!important}
.geopram-admin-layout .student-note p{color:#5e4144!important;margin-bottom:0}
.geopram-admin-layout .student-control .btn.light{background:#fff!important;color:#17181c!important;border:1px solid #e5e7eb!important}
.geopram-admin-layout a.btn[href*="admin_delivery_map"]{background:#e50919!important;color:#fff!important;border-radius:11px!important;box-shadow:0 5px 14px rgba(229,9,25,.14)}
@media(max-width:1100px){
 body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 24px)!important;margin-left:12px!important;margin-right:12px!important}
 .geopram-admin-layout{grid-template-columns:220px minmax(0,1fr)!important;gap:14px!important}
 .geopram-admin-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
 .geopram-admin-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding-top:12px}
 .geopram-admin-sidebar{position:relative!important;top:auto!important;max-height:none!important;overflow:visible!important}
 .geopram-admin-layout .student-control-grid{grid-template-columns:minmax(0,1fr)}
 .geopram-admin-layout .student-note{grid-column:auto}
 .geopram-admin-layout .gp-chart-grid{grid-template-columns:minmax(0,1fr)}
 .geopram-admin-layout .panel{padding:15px}
 .geopram-admin-layout .dash-title{align-items:flex-start}
}

/* GEOPRAM ADMIN SYSTEM PASS — consistent white/red dashboard across admin modules */
body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 40px)!important;max-width:1680px!important;margin:0 auto!important}
.geopram-admin-layout{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:22px!important;align-items:start!important;width:100%!important;padding:22px 0 48px!important}
.geopram-admin-layout>.geopram-admin-sidebar{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;position:sticky!important;top:94px!important;max-height:calc(100dvh - 112px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:14px!important;border-radius:16px!important;background:#fff!important;color:#17181c!important}
.geopram-admin-sidebar a{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:3px 0!important}
.geopram-admin-sidebar a svg{flex:0 0 17px!important}
.geopram-admin-layout>.dash-content{display:block!important;min-width:0!important;width:100%!important;max-width:none!important;overflow-wrap:anywhere}
.geopram-admin-layout .admin-tab-panel[hidden]{display:none!important}
.geopram-admin-layout .panel{min-width:0!important;max-width:100%!important;border-radius:16px!important}
.geopram-admin-layout form{min-width:0;max-width:100%}
.geopram-admin-layout input:not([type=checkbox]):not([type=radio]),.geopram-admin-layout select,.geopram-admin-layout textarea{max-width:100%;min-width:0}
.geopram-admin-layout .table-wrap{max-width:100%;overflow-x:auto}
.geopram-admin-layout .gp-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.geopram-admin-layout .stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.geopram-admin-sidebar .admin-nav-caption{font-size:10px!important;font-weight:800!important;letter-spacing:1.1px!important;padding:0 10px!important}
.geopram-admin-sidebar .side-label{padding:0 10px!important}
@media(max-width:1120px){
 body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 28px)!important}
 .geopram-admin-layout{grid-template-columns:220px minmax(0,1fr)!important;gap:15px!important}
 .geopram-admin-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 body:has(.geopram-admin-layout) main.wrap{width:calc(100% - 20px)!important}
 .geopram-admin-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:14px 0 30px!important}
 .geopram-admin-layout>.geopram-admin-sidebar{position:relative!important;top:auto!important;max-height:260px!important;overflow-y:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start;gap:4px!important}
 .geopram-admin-sidebar .side-label,.geopram-admin-sidebar .admin-nav-caption{grid-column:1/-1!important}
 .geopram-admin-sidebar a{font-size:12px!important;min-height:40px!important;padding:9px!important}
 .geopram-admin-layout .gp-chart-grid{grid-template-columns:minmax(0,1fr)!important}
 .geopram-admin-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .geopram-admin-layout .student-control-grid{grid-template-columns:minmax(0,1fr)!important}
 .geopram-admin-layout .student-note{grid-column:auto!important}
 .geopram-admin-layout .dash-title{flex-wrap:wrap;align-items:flex-start!important}
}
@media(max-width:420px){
 .geopram-admin-sidebar{grid-template-columns:minmax(0,1fr)!important}
 .geopram-admin-sidebar .side-label,.geopram-admin-sidebar .admin-nav-caption{grid-column:1!important}
 .geopram-admin-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .geopram-admin-layout .stat{padding:12px!important}
 .geopram-admin-layout .panel{padding:13px!important}
}

/* Ads / forms / polls share the same compact Geopram admin design language. */
.campaign-dashboard .hero{background:linear-gradient(120deg,#fff 0%,#fff8f8 72%,#ffe9eb 100%)!important;color:#17181c!important;border:1px solid #f0dadd!important;box-shadow:0 10px 30px rgba(25,20,25,.055)!important}
.campaign-dashboard .hero h1{color:#17181c!important;letter-spacing:-1.1px!important}
.campaign-dashboard .hero small{display:inline-flex;color:#c50919!important;background:#fff0f1!important;border-radius:99px;padding:7px 10px;letter-spacing:1px;font-weight:850}
.campaign-dashboard .hero p{color:#555965!important;max-width:760px!important}
.campaign-dashboard .hero .btn.light{background:#fff!important;color:#17181c!important;border:1px solid #e5e7eb!important;box-shadow:0 3px 10px #11111108}
.campaign-dashboard .overview-card{box-shadow:0 5px 18px rgba(15,23,42,.035)!important}
.campaign-dashboard .panel h2,.campaign-dashboard .panel h3{color:#17181c!important}
.campaign-dashboard .panel label{display:grid;gap:7px;min-width:0;font-size:13px;font-weight:700;line-height:1.4}
.campaign-dashboard .panel input:not([type=checkbox]):not([type=radio]),.campaign-dashboard .panel select,.campaign-dashboard .panel textarea{width:100%;min-width:0;max-width:100%;padding:11px 12px;border:1px solid #dfe3e8;border-radius:10px;background:#fff;color:#17181c}
.campaign-dashboard .panel form{display:grid;gap:13px;min-width:0}
.campaign-dashboard .panel .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.campaign-dashboard .campaign-dashboard .hero{min-width:0}
@media(max-width:760px){.campaign-dashboard .hero{display:flex;flex-direction:column;align-items:flex-start!important}.campaign-dashboard .hero .btn{align-self:flex-start!important}.campaign-dashboard .panel .two{grid-template-columns:minmax(0,1fr)!important}}

/* Compact, mobile-first checkout and clear M-Pesa amount presentation */
.gp-checkout-layout{grid-template-columns:minmax(0,1.45fr) minmax(280px,.85fr);align-items:start;gap:18px}
.gp-checkout-layout>.panel{min-width:0}
.gp-checkout-summary-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.gp-checkout-summary-head h3,.gp-checkout-summary-head p{margin-bottom:4px}
.gp-checkout-total{font-size:clamp(24px,3vw,34px);font-weight:850;line-height:1.15;letter-spacing:-.04em;white-space:nowrap}
.gp-checkout-mini-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:10px;margin-top:12px;font-size:13px}
.gp-checkout-safety{margin:10px 0 14px!important}
.gp-info-note{border:1px solid #e4e9e7;border-radius:12px;padding:10px 12px;background:#fbfdfc}
.gp-info-note>summary{display:flex;align-items:center;gap:9px;min-height:30px;cursor:pointer;list-style:none;font-size:12px;font-weight:750;color:var(--text,#17212b)}
.gp-info-note>summary::-webkit-details-marker{display:none}
.gp-info-icon{display:inline-grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border:1px solid #b8c9bf;border-radius:50%;font-size:12px;font-weight:800;color:#176b42;background:#fff}
.gp-info-hint{margin-left:auto;color:#7b8792;font-size:10px;font-weight:600}
.gp-info-note>p{margin:9px 2px 2px;color:#526357;font-size:12px;line-height:1.6}
.gp-checkout-pay{min-height:50px;font-weight:800;box-shadow:0 8px 18px #e509191c}
.seller-order-status-form{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}
.seller-order-status-form select{max-width:170px;min-width:0;padding:7px;border:1px solid var(--line);border-radius:9px;background:var(--card,#fff);color:var(--text,#111);font:inherit;font-size:12px}
.seller-order-status-form .btn{white-space:nowrap}
.gp-payment-amount{max-width:460px;margin:18px auto 12px;padding:22px 18px;border:1px solid #dbe8e0;border-radius:20px;background:linear-gradient(145deg,#f4fbf6,#fff);text-align:center;box-shadow:0 12px 34px #153d2410}
.gp-payment-amount>span{display:block;color:#5d7165;font-size:11px;font-weight:800;letter-spacing:1.4px}
.gp-payment-amount>strong{display:block;margin:5px 0 8px;color:#10291b;font-size:clamp(30px,7vw,42px);line-height:1.1;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}
.gp-payment-amount>div{display:flex;align-items:center;justify-content:center;gap:7px;color:#356247;font-size:12px;font-weight:700}
.gp-payment-amount-dot{width:7px;height:7px;border-radius:50%;background:#16a34a}
.gp-payment-amount details{margin-top:14px;padding-top:12px;border-top:1px solid #dce9e0;text-align:left}
.gp-payment-amount details summary{display:flex;justify-content:center;align-items:center;gap:8px;cursor:pointer;list-style:none;color:#344a3b;font-size:12px;font-weight:750;min-height:30px}
.gp-payment-amount details summary::-webkit-details-marker{display:none}
.gp-payment-cost-lines{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:12px;color:#526357;font-size:12px}
.gp-payment-cost-lines b,.gp-payment-cost-lines code{color:#15291d;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:760px){.gp-checkout-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px}.gp-checkout-layout>.panel{padding:15px}.gp-checkout-summary-head{align-items:flex-start}.gp-checkout-total{font-size:27px}.gp-checkout-layout .table-wrap{margin-inline:-4px}.gp-checkout-layout table{min-width:0;width:100%}.gp-checkout-layout table thead{display:none}.gp-checkout-layout table tbody{display:grid;gap:10px}.gp-checkout-layout table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,auto);gap:8px 12px;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--card,#fff)}.gp-checkout-layout table tbody td{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border:0;text-align:right;min-width:0;font-size:13px}.gp-checkout-layout table tbody td:first-child{grid-column:1/-1;text-align:left;justify-content:flex-start;font-size:14px}.gp-checkout-layout table tbody td::before{content:attr(data-label);color:var(--muted,#64748b);font-size:11px;font-weight:700;text-align:left}.gp-checkout-layout table tbody td:first-child::before{display:none}.gp-checkout-layout table tbody td form{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.gp-checkout-layout table tbody td input{max-width:62px!important}.gp-checkout-layout table tbody td .btn{padding:6px 8px;font-size:11px}.gp-payment-amount{padding:18px 14px;margin:14px auto 10px}.seller-order-status-form select{flex:1;max-width:100%}}
@media(max-width:420px){.gp-checkout-layout>.panel{padding:12px}.gp-checkout-summary-head{gap:8px}.gp-checkout-total{font-size:24px}.gp-payment-amount>strong{font-size:32px}}
.gp-order-progress{padding:4px 0 18px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.gp-order-progress-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.gp-order-progress-head p{font-size:12px;margin:4px 0 0}
.gp-order-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:17px}
.gp-order-progress-steps span{position:relative;border-radius:9px;background:var(--surface,#f4f6f7);padding:10px 7px;text-align:center;font-size:11px;font-weight:750;color:var(--muted);border:1px solid var(--line)}
.gp-order-progress-steps span.is-done{background:#edf9f0;color:#166534;border-color:#b7e4c2}.gp-order-progress-steps span.is-current{border-color:#e50919;color:#b91c1c;background:#fff5f5}
@media(max-width:480px){.gp-order-progress-steps{gap:4px}.gp-order-progress-steps span{padding:9px 3px;font-size:10px}.gp-order-progress-head{align-items:center}}

/* GEOPRAM Fluent-inspired system polish: compact floating navigation + expandable long copy. */
.dashboard-layout>.sidebar,
.geopram-admin-layout>.geopram-admin-sidebar{
  background:#171719!important;color:#fff!important;border:1px solid rgba(255,255,255,.08)!important;
  border-radius:20px!important;padding:14px!important;box-shadow:0 14px 36px rgba(17,17,20,.12)!important;
}
.dashboard-layout>.sidebar .side-label,
.geopram-admin-sidebar .side-label,.geopram-admin-sidebar .admin-nav-caption{
  color:#c6c6cb!important;font-size:10px!important;letter-spacing:1.25px!important;font-weight:800!important;padding:8px 10px 12px!important;
}
.dashboard-layout>.sidebar a,.geopram-admin-sidebar a{
  color:#f7f7f8!important;border:1px solid transparent!important;border-radius:11px!important;
  min-height:40px;padding:10px 11px!important;gap:9px!important;font-weight:650!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease!important;
}
.dashboard-layout>.sidebar a:hover,.geopram-admin-sidebar a:hover{background:#2a2a2e!important;border-color:#3b3b40!important;transform:translateX(2px)}
.dashboard-layout>.sidebar a.active,.geopram-admin-sidebar a.active{background:#e50919!important;color:#fff!important;border-color:#ff4a55!important;box-shadow:0 6px 16px rgba(229,9,25,.2)!important}
.dashboard-layout>.sidebar a svg,.geopram-admin-sidebar a svg{flex:0 0 17px!important}
.dash-content>.panel,.geopram-admin-layout .panel{border-radius:18px!important;box-shadow:0 8px 28px rgba(18,20,26,.045)!important}
.stat{border-radius:16px!important;transition:transform .18s ease,box-shadow .18s ease}
.stat:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(18,20,26,.07)}
.gp-long-copy{position:relative;min-width:0}
.gp-long-copy-text{min-width:0;overflow-wrap:anywhere}
.gp-long-copy.is-collapsed .gp-long-copy-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.gp-long-copy-toggle{display:inline-flex;align-items:center;gap:5px;margin:5px 0 0;padding:3px 7px;border:0;border-radius:7px;background:transparent;color:#c90010;font-family:inherit;font-size:11px;font-weight:700;line-height:1.4;cursor:pointer}
.gp-long-copy-toggle:hover{background:#fff0f1}
.gp-long-copy-toggle svg{width:13px;height:13px;transition:transform .18s ease}
.gp-long-copy.is-expanded .gp-long-copy-toggle svg{transform:rotate(180deg)}
.gp-long-copy-info{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:800;line-height:1;flex:0 0 auto}
@media(max-width:900px){
 .dashboard-layout>.sidebar{position:sticky!important;top:72px!important;z-index:20;display:flex!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;padding:7px!important;border-radius:14px!important;scrollbar-width:thin}
 .dashboard-layout>.sidebar a{min-height:34px!important;padding:7px 9px!important;font-size:12px!important;gap:6px!important}
 .dashboard-layout>.sidebar a svg{width:14px!important;height:14px!important}
 .geopram-admin-layout>.geopram-admin-sidebar{position:sticky!important;top:72px!important;z-index:20;display:flex!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;max-height:none!important;white-space:nowrap!important;padding:7px!important;border-radius:14px!important;scrollbar-width:thin}
 .geopram-admin-sidebar .side-label,.geopram-admin-sidebar .admin-nav-caption{display:none!important}
 .geopram-admin-sidebar a{flex:0 0 auto!important;width:auto!important;min-height:34px!important;padding:7px 9px!important;font-size:12px!important;white-space:nowrap!important}
}
@media(max-width:480px){
 .dashboard-layout>.sidebar,.geopram-admin-layout>.geopram-admin-sidebar{top:62px!important}
 .dashboard-layout>.sidebar a,.geopram-admin-sidebar a{font-size:11px!important;padding:6px 8px!important;min-height:32px!important}
 .gp-long-copy-toggle{min-height:28px;padding:4px 7px}
}
@media(prefers-reduced-motion:reduce){.dashboard-layout>.sidebar a,.geopram-admin-sidebar a,.stat,.gp-long-copy-toggle svg{transition:none!important}}


/* Cart quantity controls: obvious +/- and compact mobile Update button */
.gp-cart-qty{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:3px;border:1px solid #d9dee7;border-radius:12px;background:#f8fafc;vertical-align:middle}
.gp-cart-qty button{display:inline-grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#111827;font-size:23px;line-height:1;font-weight:800;cursor:pointer;box-shadow:0 1px 2px #0000000a;touch-action:manipulation}
.gp-cart-qty .qty-plus{background:#e8f7ee;border-color:#9bd4b0;color:#087443}
.gp-cart-qty .qty-minus{background:#fff0f0;border-color:#f0b1b1;color:#b4232f}
.gp-cart-qty button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.gp-cart-qty input[type=number]{width:42px;min-width:0;height:34px;padding:0 2px;border:0;background:transparent;text-align:center;font-weight:750;font-size:14px;appearance:textfield;-moz-appearance:textfield}
.gp-cart-qty input::-webkit-outer-spin-button,.gp-cart-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.gp-cart-qty button:active{transform:scale(.96)}
.gp-cart-qty+.btn,.gp-cart-qty~.btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin:5px 0 0;padding:6px 11px;border-radius:9px;font-size:12px;line-height:1.1;white-space:nowrap}
.gp-remove-btn{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 7px;font-size:11px;line-height:1.1}
@media(max-width:600px){
 .gp-cart-qty{gap:3px;padding:2px;border-radius:10px}
 .gp-cart-qty button{width:30px;height:30px;min-width:30px;font-size:22px;border-radius:8px}
 .gp-cart-qty input[type=number]{width:30px;height:30px;font-size:13px}
 .gp-cart-qty+.btn,.gp-cart-qty~.btn{min-height:28px;margin:4px 0 0;padding:5px 8px;font-size:11px;border-radius:8px}
 .gp-remove-btn{min-height:25px;padding:3px 5px;font-size:10px}
 .gp-checkout-layout .table-wrap{overflow-x:visible}
 .gp-checkout-layout table,.gp-checkout-layout tbody,.gp-checkout-layout tr,.gp-checkout-layout td{max-width:100%;box-sizing:border-box}
 .gp-checkout-layout td[data-label="Quantity"]{min-width:0}
}
@media(max-width:380px){.gp-cart-qty button{width:27px;height:28px;min-width:27px;font-size:20px}.gp-cart-qty input[type=number]{width:25px;height:28px}.gp-cart-qty+.btn,.gp-cart-qty~.btn{padding:4px 6px;font-size:10px}}
