/* Grey Markets — brand store page (ustone-child/dokan/store.php). Loaded only on Dokan store pages. */
.gm-store{ --gm-verify:#1d7cf2; --gm-verify-ink:#0b5ac2; --gm-star:#e5a00d; --gm-star-off:#dcdcd3; --gm-green:#0c7a40; margin:8px 0 64px; }

/* ---------- Header ---------- */
.gm-sh{
	position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:32px;
	padding:32px; background:var(--gm-surface); border:1px solid var(--gm-hair); border-radius:var(--gm-r-lg); box-shadow:var(--gm-shadow);
}
.gm-sh::before{ content:""; position:absolute; inset:0 0 auto 0; height:180px; pointer-events:none;
	background:radial-gradient(640px 180px at 8% -10%,var(--gm-cobalt-50),transparent 72%); }
.gm-sh > *{ position:relative; }
.gm-sh-main{ display:flex; gap:28px; align-items:flex-start; min-width:0; }
.gm-sh-logo{
	flex:0 0 172px; height:172px; display:flex; align-items:center; justify-content:center; padding:16px; overflow:hidden;
	background:var(--gm-ink); border-radius:20px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),var(--gm-shadow-sm);
}
.gm-sh-logo img{ max-width:100%!important; max-height:100%!important; width:auto!important; height:auto!important; object-fit:contain; border-radius:8px; }
.gm-sh-logo .stg-card-mono{ font-size:46px; font-weight:650; font-stretch:115%; color:var(--gm-surface); }
.gm-sh-copy{ display:flex; flex-direction:column; align-items:flex-start; gap:12px; min-width:0; padding-top:2px; }

.gm-sh-name:not(#gm-x){ display:flex; align-items:center; flex-wrap:wrap; gap:.28em; margin:0!important; font-size:clamp(30px,3.5vw,46px)!important; }
.gm-sh-tick{ display:inline-flex; flex:none; width:.74em; height:.74em; color:var(--gm-verify); }
.gm-sh-tick .gm-tick{ width:100%; height:100%; filter:drop-shadow(0 3px 6px rgba(29,124,242,.35)); }

.gm-sh-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px; margin:0!important; padding:0!important; list-style:none!important; font-size:14px; color:var(--gm-mute); }
.gm-sh-meta li{ display:inline-flex; align-items:center; gap:7px; margin:0!important; padding:0; list-style:none!important; }
.gm-sh-meta li::before{ display:none!important; }
.gm-sh-meta svg{ flex:none; width:17px; height:17px; color:var(--gm-faint); }
.gm-sh-meta a{ display:inline-flex; align-items:center; gap:8px; color:inherit!important; text-decoration:none!important; }
.gm-sh-meta a:hover span{ color:var(--gm-cobalt); text-decoration:underline; }
.gm-sh-meta strong{ font-weight:600; color:var(--gm-ink); }
.gm-sh-meta li.gm-pill-verify{ gap:6px; padding:5px 12px 5px 7px; border-radius:999px; background:rgba(29,124,242,.1); box-shadow:inset 0 0 0 1px rgba(29,124,242,.18);
	color:var(--gm-verify-ink); font-size:12.5px; font-weight:600; letter-spacing:.01em; }
.gm-sh-meta li.gm-pill-verify svg{ width:16px; height:16px; color:var(--gm-verify); }

.gm-sh-bio{ margin:2px 0 0!important; max-width:62ch; font-size:15.5px; line-height:1.65; color:var(--gm-ink-2)!important; }
.gm-sh-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
.gm-sh-actions .button{ border-radius:12px!important; }

.gm-sh-facts{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0; align-content:center; }
.gm-sh-facts > div{ display:flex; flex-direction:column; justify-content:center; gap:6px; min-height:100px; padding:16px 18px;
	background:var(--gm-ivory); border:1px solid var(--gm-hair); border-radius:var(--gm-r); }
.gm-sh-facts dd{ order:-1; display:flex; align-items:center; gap:7px; margin:0; font-size:26px; font-weight:600; font-stretch:112%; letter-spacing:-.02em; line-height:1.05; color:var(--gm-ink); font-variant-numeric:tabular-nums; }
.gm-sh-facts dt{ margin:0; font-size:12.5px; font-weight:500; color:var(--gm-mute); }
.gm-sh-facts .is-escrow{ background:#edf6f0; border-color:rgba(12,122,64,.16); }
.gm-sh-facts .is-escrow dd{ font-size:20px; color:var(--gm-green); }
.gm-sh-facts .is-escrow svg{ flex:none; width:22px; height:22px; }
.gm-sh-facts > div:only-of-type, .gm-sh-facts > div:nth-child(odd):last-child{ grid-column:1 / -1; }

.gm-sh-trust{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:12px 0 0!important; padding:0!important; list-style:none!important; }
.gm-sh-trust li{ display:flex; align-items:center; gap:13px; margin:0!important; padding:14px 16px; list-style:none!important;
	background:rgba(251,251,247,.65); border:1px solid var(--gm-hair); border-radius:var(--gm-r); font-size:13px; line-height:1.45; color:var(--gm-mute); }
.gm-sh-trust li::before{ display:none!important; }
.gm-sh-trust svg{ flex:none; width:38px; height:38px; padding:9px; border-radius:11px; background:var(--gm-cobalt-50); color:var(--gm-cobalt); }
.gm-sh-trust strong{ display:block; margin-bottom:1px; font-size:14px; font-weight:600; color:var(--gm-ink); }

/* ---------- Toolbar spacing ---------- */
.gm-store .stg-store-bar{ margin-top:26px; }

/* ---------- Stars ---------- */
.gm-stars{ position:relative; display:inline-block; flex:none; font-size:15px; line-height:1; letter-spacing:.1em; white-space:nowrap; vertical-align:middle; font-family:system-ui,sans-serif; }
.gm-stars::before{ content:"★★★★★"; color:var(--gm-star-off); }
.gm-stars-fill{ position:absolute; inset:0 auto 0 0; overflow:hidden; }
.gm-stars-fill::before{ content:"★★★★★"; color:var(--gm-star); }

/* ---------- Section heads ---------- */
.gm-sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px 24px; flex-wrap:wrap; margin-bottom:22px; }
.gm-sec-head h2:not(#gm-x){ margin:10px 0 0!important; font-size:clamp(24px,2.5vw,32px)!important; }
.gm-sec-head > a{ font-size:14px; font-weight:600; text-decoration:none!important; white-space:nowrap; }
.gm-sec-head > a:hover{ text-decoration:underline!important; }

/* ---------- Reviews ---------- */
.gm-rv{ margin-top:72px; scroll-margin-top:120px; }
.gm-rv-body{ display:grid; grid-template-columns:290px minmax(0,1fr); gap:18px; align-items:start; }
.gm-rv-sum{ position:sticky; top:120px; padding:26px; background:var(--gm-surface); border:1px solid var(--gm-hair); border-radius:var(--gm-r-lg); box-shadow:var(--gm-shadow-sm); }
.gm-rv-avg{ display:block; font-size:60px; font-weight:600; font-stretch:115%; letter-spacing:-.045em; line-height:1; color:var(--gm-ink); font-variant-numeric:tabular-nums; }
.gm-rv-sum > .gm-stars{ display:block; width:max-content; margin:12px 0 8px; font-size:20px; }
.gm-rv-count{ display:block; font-size:13px; color:var(--gm-mute); }
.gm-rv-dist{ display:grid; gap:9px; margin:20px 0 0!important; padding:18px 0 0!important; border-top:1px solid var(--gm-hair); list-style:none!important; }
.gm-rv-dist li{ display:grid; grid-template-columns:30px 1fr 18px; align-items:center; gap:10px; margin:0!important; list-style:none!important; font-size:12.5px; color:var(--gm-mute); font-variant-numeric:tabular-nums; }
.gm-rv-dist li::before{ display:none!important; }
.gm-rv-dist li > span:last-child{ text-align:right; }
.gm-rv-dist i{ display:block; height:6px; border-radius:99px; background:var(--gm-stone); overflow:hidden; }
.gm-rv-dist b{ display:block; height:100%; border-radius:inherit; background:var(--gm-star); }
.gm-rv-list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.gm-rv-card{ display:flex; flex-direction:column; gap:14px; margin:0; padding:22px; background:var(--gm-surface); border:1px solid var(--gm-hair); border-radius:var(--gm-r);
	transition:border-color .2s var(--gm-ease),box-shadow .2s var(--gm-ease); }
.gm-rv-card:hover{ border-color:var(--gm-hair-2); box-shadow:var(--gm-shadow-sm); }
.gm-rv-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.gm-rv-top time{ font-size:12.5px; color:var(--gm-faint); }
.gm-rv-card p{ flex:1; margin:0!important; font-size:14.5px; line-height:1.65; color:var(--gm-ink-2)!important; }
.gm-rv-by{ display:flex; align-items:center; gap:10px; padding-top:14px; border-top:1px solid var(--gm-hair); }
.gm-rv-av{ flex:none; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--gm-cobalt-50); color:var(--gm-cobalt); font-size:12px; font-weight:650; letter-spacing:.02em; }
.gm-rv-by strong{ font-size:13.5px; font-weight:600; color:var(--gm-ink); }

/* ---------- Other brands ---------- */
.gm-ob{ margin-top:72px; }
.gm-ob-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.gm-ob-card{ display:flex; align-items:center; gap:14px; min-width:0; padding:14px 16px 14px 14px; background:var(--gm-surface); border:1px solid var(--gm-hair); border-radius:var(--gm-r);
	color:var(--gm-ink)!important; text-decoration:none!important; transition:transform .2s var(--gm-ease),border-color .2s var(--gm-ease),box-shadow .2s var(--gm-ease); }
.gm-ob-card:hover{ transform:translateY(-2px); border-color:rgba(31,58,224,.35); box-shadow:var(--gm-shadow-sm); }
.gm-ob-logo{ flex:none; display:flex; align-items:center; justify-content:center; width:92px; height:58px; padding:8px 10px; overflow:hidden; background:var(--gm-ink); border-radius:12px; }
.gm-ob-logo img{ max-width:100%!important; max-height:100%!important; width:auto!important; height:auto!important; object-fit:contain; border-radius:4px; }
.gm-ob-logo .stg-card-mono{ font-size:17px; font-weight:650; color:var(--gm-surface); }
.gm-ob-txt{ display:flex; flex:1; flex-direction:column; gap:2px; min-width:0; }
.gm-ob-txt strong{ overflow:hidden; font-size:14px; font-weight:600; line-height:1.3; white-space:nowrap; text-overflow:ellipsis; }
.gm-ob-txt em{ font-size:12.5px; font-style:normal!important; color:var(--gm-mute); }
.gm-ob-card b{ flex:none; font-weight:500; color:var(--gm-cobalt); transition:transform .2s var(--gm-ease); }
.gm-ob-card:hover b{ transform:translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width:1100px){
	.gm-sh{ grid-template-columns:1fr; gap:24px; }
	.gm-sh-facts{ grid-template-columns:repeat(4,minmax(0,1fr)); }
	.gm-sh-facts > div:only-of-type, .gm-sh-facts > div:nth-child(odd):last-child{ grid-column:auto; }
	.gm-ob-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:860px){
	.gm-sh-trust{ grid-template-columns:1fr; }
	.gm-rv-body{ grid-template-columns:1fr; }
	.gm-rv-sum{ position:static; }
	.gm-ob-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px){
	.gm-store{ margin-top:4px; }
	.gm-sh{ padding:20px; gap:20px; border-radius:var(--gm-r); }
	.gm-sh-main{ flex-direction:column; gap:16px; }
	.gm-sh-logo{ flex-basis:auto; width:112px; height:112px; padding:10px; border-radius:16px; }
	.gm-sh-meta{ gap:8px 14px; font-size:13.5px; }
	.gm-sh-actions{ width:100%; }
	.gm-sh-actions .button{ flex:1 1 auto; justify-content:center; text-align:center; }
	.gm-sh-facts{ grid-template-columns:1fr 1fr; gap:8px; }
	.gm-sh-facts > div{ min-height:0; padding:14px; }
	.gm-sh-facts dd{ font-size:21px; }
	.gm-sh-facts .is-escrow dd{ font-size:17px; }
	.gm-sh-facts > div:nth-child(odd):last-child{ grid-column:1 / -1; }
	.gm-sh-facts .is-escrow{ flex-direction:row; align-items:center; justify-content:space-between; }
	.gm-sh-trust li{ padding:12px 14px; gap:12px; }
	.gm-sh-trust svg{ width:34px; height:34px; padding:8px; }
	.gm-rv, .gm-ob{ margin-top:52px; }
	.gm-rv-list, .gm-ob-grid{ grid-template-columns:1fr; }
	.gm-rv-avg{ font-size:48px; }
}
@media (prefers-reduced-motion:reduce){ .gm-ob-card, .gm-ob-card b, .gm-rv-card{ transition:none; } .gm-ob-card:hover{ transform:none; } }
