/* getloqta COD: order form, summary, sticky bar, tracking. Uses theme tokens with fallbacks. */
.glcod-form { scroll-margin-top: 84px; margin-top: 8px; }
.glcod-title { font-family: var(--font-display, "Baloo Bhaijaan 2", sans-serif); font-weight: 800; font-size: 26px; margin: 0 0 4px; color: var(--ink, #1E1650); }
.glcod-lead { color: var(--muted, #4A3D8F); margin: 0 0 16px; }

.glcod-field { margin: 0 0 14px; }
.glcod-field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink, #1E1650); }
.glcod-field input,
.glcod-field select {
	display: block; width: 100%; height: 52px; padding: 0 14px;
	border: 2px solid var(--field-border, #8A7ED0); border-radius: 14px;
	background: #fff; color: var(--ink, #1E1650); font: inherit; font-size: 16px;
	appearance: none; -webkit-appearance: none;
}
.glcod-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1650' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 44px;
}
.glcod-field input[dir="ltr"] { text-align: left; }
.glcod-field input[dir="ltr"]::placeholder { text-align: left; }
.glcod-field input:focus, .glcod-field select:focus { outline: none; border-color: var(--violet, #5A2DF5); box-shadow: 0 0 0 3px rgba(90, 45, 245, .18); }
.glcod-field [aria-invalid="true"] { border-color: #B42318; }
.glcod-error { color: #B42318; font-size: 14px; font-weight: 700; margin: 6px 0 0; }
.glcod-alert { background: #FEF3F2; border: 1px solid #FECDCA; color: #912018; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-weight: 700; }

.glcod-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.glcod-summary {
	background: var(--lavender, #F6F2FF); border: 1px solid var(--border-2, #E4DCFF); border-radius: 14px;
	padding: 6px 16px; margin: 18px 0 16px;
}
.glcod-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-2, #E4DCFF); }
.glcod-row:last-child { border-bottom: 0; }
.glcod-row span:first-child { color: var(--ink, #1E1650); }
.glcod-row span:last-child { font-weight: 700; white-space: nowrap; }
.glcod-qty { color: var(--muted-2, #6B6790); font-weight: 700; }
.glcod-row--total span { font-family: var(--font-display, "Baloo Bhaijaan 2", sans-serif); font-weight: 800; font-size: 18px; }
.glcod-row--total span:last-child { color: var(--violet, #5A2DF5); font-size: 22px; }

.glcod-submit {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: 0 16px;
	border: 0; border-radius: 14px; background: var(--violet, #5A2DF5); color: #fff; cursor: pointer;
	font-family: var(--font-display, "Baloo Bhaijaan 2", sans-serif); font-weight: 800; font-size: 19px; line-height: 1.2;
}
.glcod-submit:hover { background: var(--deep-2, #3A1DB0); }
.glcod-submit[disabled] { opacity: .7; cursor: progress; }

/* Sticky bar */
body.has-glcod-bar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.glcod-bar {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	background: #fff; border-top: 1px solid var(--border-2, #E4DCFF);
	box-shadow: 0 -4px 20px rgba(42, 15, 158, .08);
	transition: transform .2s ease;
}
.glcod-bar.is-hidden { transform: translateY(110%); }
.glcod-bar__btn {
	flex: 1; max-width: 240px; display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
	border-radius: 14px; background: var(--lime, #C7F23A); color: var(--ink, #1E1650); text-decoration: none;
	font-family: var(--font-display, "Baloo Bhaijaan 2", sans-serif); font-weight: 800; font-size: 18px;
}
.glcod-bar__btn:hover { color: var(--ink, #1E1650); background: #B8E42A; }
.glcod-bar__price { font-family: var(--font-display, "Baloo Bhaijaan 2", sans-serif); font-weight: 800; font-size: 24px; color: var(--violet, #5A2DF5); white-space: nowrap; }

.glcod-thanks, .glcod-track-result { background: var(--lavender, #F6F2FF); border: 1px solid var(--border, #DCD2FF); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.glcod-thanks p:last-child, .glcod-track-result p:last-child { margin-bottom: 0; }
.glcod-track { max-width: 480px; }

@media (min-width: 960px) {
	body.has-glcod-bar { padding-bottom: 0; }
	.glcod-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .glcod-bar { transition: none; } }
