/* Gamer Store: quotes (forms + My Account list). Uses the base variables from gsx-base.css. */

/* Premium card */
.gsx-quote--premium {
	background: linear-gradient(160deg, #17142c, #2a1f5c); color: #f4f4f8;
	border: 1px solid var(--gsx-amber, #e8b84a); border-radius: 20px; padding: 24px;
	display: flex; flex-direction: column; gap: 14px;
}
.gsx-quote__tag {
	align-self: flex-start; background: var(--gsx-amber, #e8b84a); color: var(--gsx-on-amber, #2a1d00);
	font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px;
}
.gsx-quote__heading { margin: 0; font-family: 'Sora', inherit; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: inherit; }
.gsx-quote__lead { margin: 0; opacity: .85; line-height: 1.55; }
.gsx-quote--premium .gsx-field label { color: #f4f4f8; }
.gsx-quote--login { text-align: left; }
.gsx-quote--login.gsx-quote--custom { background: var(--gsx-surface); border: 1px dashed var(--gsx-border); border-radius: 20px; padding: 18px 20px; }
.gsx-quote--login.gsx-quote--custom .gsx-quote__lead { color: var(--gsx-muted); opacity: 1; }
.gsx-quote--login .gsx-quote__lead { margin-bottom: 12px; }

.gsx-quote__checks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; }
.gsx-quote__checks li { display: flex; gap: 10px; align-items: center; }
.gsx-quote__checks li::before {
	content: ""; flex: 0 0 18px; height: 18px; background: var(--gsx-mint, #12b886);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Custom box */
.gsx-quote--custom:not(.gsx-quote--login) { background: var(--gsx-surface); border: 1px dashed var(--gsx-border); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.gsx-quote__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gsx-quote__headtext { min-width: 0; flex: 1 1 220px; }
.gsx-quote__title { font-weight: 700; }
.gsx-quote__sub { color: var(--gsx-muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.gsx-quote__panel[hidden] { display: none; }

/* Form messages */
.gsx-quote__msg:empty { display: none; }
.gsx-quote__msg { padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14px; margin: 0 0 14px; background: var(--gsx-surface2); color: var(--gsx-text); }
.gsx-quote__msg.is-ok { border-left: 4px solid var(--gsx-mint); }
.gsx-quote__msg.is-error { border-left: 4px solid var(--gsx-coral); }
.gsx-quote__msg a { color: var(--gsx-primary); font-weight: 700; }

/* My Account list */
.gsx-quotes { display: flex; flex-direction: column; gap: 16px; }
.gsx-quote-item__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.gsx-quote-item__title { margin: 0 0 2px; font-size: 18px; }
.gsx-quote-item__price { font-size: 24px; font-weight: 700; margin: 6px 0; }
.gsx-quote-item__msg { background: var(--gsx-surface2); border-radius: 14px; padding: 4px 16px; margin: 10px 0; }
.gsx-quote-item__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.gsx-quote-decline { margin: 0; }
.gsx-quote-item__chat { margin-top: 16px; border-top: 1px solid var(--gsx-border); padding-top: 12px; }
.gsx-quote-item__chat > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }

.gsx-quote-status { flex: 0 0 auto; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: var(--gsx-surface2); color: var(--gsx-text); }

@media (max-width: 480px) {
	.gsx-quote--premium { padding: 18px; }
	.gsx-quote__heading { font-size: 22px; }
}

/* Selected items shown above the message box */
.gsx-quote__sel { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--gsx-surface2); border: 1px solid var(--gsx-border); font-size: 14px; }
.gsx-quote__selh { font-weight: 700; margin: 0 0 8px; }
.gsx-quote__selrow { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.gsx-quote__selrow b { white-space: nowrap; }
.gsx-quote__selrow--total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--gsx-border); font-weight: 700; }

/* After sending: only the thank-you message stays */
.gsx-quote-form.is-sent > :not(.gsx-quote__msg) { display: none !important; }

/* Pay page: quote details card */
.gsx-paycard { background: var(--gsx-surface, #0b120d); border: 1px solid var(--gsx-border, #1b2a1f); border-radius: 12px; padding: 20px; margin: 0 0 22px; color: var(--gsx-text, #f1f7f2); }
.gsx-paycard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gsx-paycard__img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.gsx-paycard__tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gsx-primary, #2ee66b); }
.gsx-paycard__title { margin: 2px 0 0; font-size: 22px; line-height: 1.2; }
.gsx-paycard__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 18px; margin: 0 0 4px; padding: 14px 0 0; border-top: 1px solid var(--gsx-border, #1b2a1f); }
.gsx-paycard__grid dt { font-size: 12px; color: var(--gsx-muted, #8fa596); margin: 0 0 2px; }
.gsx-paycard__grid dd { margin: 0; font-weight: 700; }
.gsx-paycard__block { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gsx-border, #1b2a1f); }
.gsx-paycard__block h3 { margin: 0 0 8px; font-size: 14px; }
.gsx-paycard__block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.gsx-paycard__block li { background: var(--gsx-surface2, #111b14); border-radius: 6px; padding: 8px 12px; font-size: 14px; }
.gsx-paycard__block p { margin: 0; color: var(--gsx-muted, #8fa596); line-height: 1.55; }
.gsx-paycard__block--team p { color: var(--gsx-text, #f1f7f2); }
.gsx-paycard__foot { margin: 14px 0 0; font-size: 13px; }
.gsx-pay-quote table.shop_table tfoot tr:first-child { display: none; }

