/* Guild & Gryphon Commerce: front-end pieces the theme has no class for.
   Written only with the theme's CSS variables, so light and dark mode follow the theme. */

/* ==========================================================================
   Store operations: order tracking lookup ([gg_track_order]) and back-in-stock form
   ========================================================================== */

.ggc-track { display: flex; flex-direction: column; gap: 32px; }
.ggc-track__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; padding: 24px 28px; }
.ggc-track__hint { margin-top: -16px; font-size: 17px; }
.ggc-track__recent { display: flex; flex-direction: column; gap: 8px; margin-top: -12px; }
.ggc-track__msg { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; }
.ggc-track__result { display: flex; flex-direction: column; gap: 32px; }
.ggc-track__hero { display: flex; flex-direction: column; gap: 24px; padding: 32px 36px; }
.ggc-track__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ggc-track__headline { display: flex; flex-direction: column; gap: 8px; }
.ggc-track__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ggc-track__updates { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ggc-track__updates-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.ggc-track__event { font-weight: 700; }
.ggc-track__place { font-size: 17px; }
.ggc-track__fine { font-size: 17px; }
.ggc-track__box { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.ggc-track__item { display: flex; flex-direction: column; line-height: 21px; min-width: 0; }
.ggc-track__item-sub { font-size: 17px; }
.ggc-track__to { display: flex; flex-direction: column; gap: 6px; }
.ggc-track__help { font-size: 17px; line-height: 24px; }
.ggc-track .gs-thumb img { width: auto; height: 76px; object-fit: contain; }
.ggc-track .gs-chip { text-decoration: none; }

@media (max-width: 960px) {
	.ggc-track__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.ggc-track__form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	.ggc-track__hero { padding: 24px 20px; }
}

/* back-in-stock request, in place of the buy box */
.ggc-notify { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 2px solid var(--brass); border-radius: var(--radius-sm); background: var(--ground-raised); }
.ggc-notify__form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ggc-notify__row { display: flex; gap: 12px; align-items: flex-end; }
.ggc-notify__field { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ggc-notify__btn { min-height: 46px; }
.ggc-notify__done { display: flex; align-items: center; gap: 12px; margin: 0; }
.ggc-notify__seal { width: 34px; }
.ggc-notify__email { font-weight: 700; }
.ggc-notify__error { margin: 0; color: var(--garnet); }
.ggc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
	.ggc-notify__row { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   End of store operations section
   ========================================================================== */
