/* ==========================================================================
   GlobeMarket — Cart (Figma "Cart-Checkout" 627:14903)
   Checkout header, cart lines, Summary, "Complete your cart", promises.
   ========================================================================== */

/* ---------- Checkout header (627:14904): logo and account ---------- */
.gm-checkout-header .gm-logo { order: 0; margin-right: auto; }
.gm-checkout-header {
	position: relative; z-index: 10;
	display: flex; align-items: center; justify-content: space-between;
	height: 110px; padding: 0 48.75px 0 48.75px;
	background: #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .02));
}

.gm-cart-page .egs-site { background: var(--gm-color-bg-subtle); }
.gm-cart { overflow-x: clip; font-family: var(--gm-font-sans); color: #0a0a0a; }
.gm-cart p, .gm-cart h1, .gm-cart h2 { margin: 0; }
.gm-cart ul { margin: 0; padding: 0; list-style: none; }
.gm-cart button { font-family: inherit; }
.gm-cart__h { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.4px; color: #0a0a0a; }

/* ---------- Hero: lines + Summary (627:14994) ---------- */
.gm-cart__hero {
	display: grid; grid-template-columns: minmax(0, 963px) 349px; gap: 24px; align-items: start;
	max-width: 1441px; margin: 0 auto; padding: 40px calc(var(--gm-gutter) - 15px) 38px var(--gm-gutter);
}
.gm-cart__list { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.gm-cart__lines { display: flex; flex-direction: column; gap: 32px; }
/* QA-004: stock lowered a quantity. The PDP's "Out of stock" red (QA-009). */
.gm-cart__notice { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 12px; background: #fef3f2; color: #b42318; font-size: 16px; line-height: 24px; font-weight: 500; }
.gm-cart__notice[hidden] { display: none; }

/* Cart line (627:16010) */
.gm-cart-line {
	display: flex; align-items: center; gap: 24px;
	padding: 40px; background: #fff; border-radius: 12px;
}
.gm-cart-line.is-new { animation: gm-cart-in .45s var(--gm-ease, ease) both; }
.gm-cart-line.is-leaving { opacity: 0; transform: translateX(-12px); transition: opacity .25s ease, transform .25s ease; }
@keyframes gm-cart-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.gm-cart-line__img {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 215.28px; height: 276px; overflow: hidden; border-radius: 6.309px;
}
.gm-cart-line__img img { width: 210.927px; height: 261.806px; max-width: none; margin-left: .78px; object-fit: cover; }
.gm-cart-line__details { display: flex; flex-direction: column; gap: 80px; flex: 1 1 643px; min-width: 0; max-width: 643px; }
.gm-cart-line__summary { display: flex; align-items: flex-start; gap: 60px; }
.gm-cart-line__info { display: flex; flex-direction: column; gap: 24px; width: 400px; min-width: 0; }
.gm-cart-line__title { font-size: 28px; line-height: 40px; font-weight: 700; letter-spacing: -.4px; }
/* QA-043: long name + colour wrap inside the info column instead of running under the price or past the card. */
.gm-cart-line__title a { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 0; color: #000; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.gm-cart-line__variant { display: inline-flex; align-items: center; gap: 12px; } /* The dot travels with the colour. */
.gm-cart-line__title a:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.gm-cart-line__title a:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); border-radius: 6px; }
.gm-cart-line__colour { font-weight: 400; }
.gm-cart-line__attrs { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-cart-line__attrs li,
.gm-cart-line__qty,
.gm-cart-line__remove {
	display: flex; align-items: center; justify-content: center;
	height: 46px; padding: 8px 14px;
	border: 1px solid var(--gm-color-border-strong, #a6a9ad); border-radius: 8px;
	font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gm-color-text-secondary, #454a4f); white-space: nowrap;
}
.gm-cart-line__money { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; width: 183px; flex: none; text-align: right; } /* QA-043b: price and Save row end at Remove's right edge. */
.gm-cart-line__price { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.4px; color: #000; }
.gm-cart-line__offer { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.gm-cart-line__offer s { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .1px; color: #000; text-decoration-thickness: from-font; }
.gm-cart-line__save { padding: 2px 5px; border-radius: 4px; background: #59de99; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .1px; color: #000; }
.gm-cart-line__actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 19px; }
.gm-cart-line__qty {
	width: 76px; padding-right: 33px; background: #fff var(--gm-qty-arrow) no-repeat right 15px center / 18px 18px;
	font-family: inherit; font-weight: 700; justify-content: flex-start;
	-webkit-appearance: none; appearance: none; cursor: pointer;
	transition: border-color var(--gm-dur-fast, .15s) ease;
}
.gm-cart-line__qty:hover { border-color: #454a4f; }
.gm-cart-line__remove {
	border-color: var(--gm-color-icon-danger, #9b1c1c); background: #fff;
	color: var(--gm-color-text-danger, #9b1c1c); cursor: pointer;
	transition: background-color var(--gm-dur-fast, .15s) ease, color var(--gm-dur-fast, .15s) ease;
}
.gm-cart-line__remove:hover { background: #9b1c1c; color: #fff; }
.gm-cart-line__qty:focus-visible, .gm-cart-line__remove:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }

.gm-cart__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px; background: #fff; border-radius: 12px; font-size: 18px; line-height: 28px; color: #454a4f; }
.gm-cart__empty[hidden] { display: none; }
.gm-cart__shop { display: flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 12px; background: #ff7a00; font-size: 16px; line-height: 24px; font-weight: 600; color: #0a0a0a; text-decoration: none; }
.gm-cart__shop:hover { background: #f06f00; color: #0a0a0a; }

/* ---------- Summary (627:15584) ---------- */
.gm-cart__summary { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 24px; }
.gm-sum { display: flex; flex-direction: column; gap: 24px; padding: 20px; background: #fff; border-radius: 12px; }
.gm-sum__items { display: flex; flex-direction: column; gap: 24px; }
.gm-sum-item { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 10px 0; }
.gm-sum-item.is-new { animation: gm-cart-in .45s var(--gm-ease, ease) both; }
.gm-sum-item__img {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 49px; height: 62.821px; overflow: hidden; border: .228px solid #000; border-radius: 4px;
}
.gm-sum-item__img img { width: 44.25px; height: 54.924px; max-width: none; object-fit: cover; }
.gm-sum-item__count {
	position: absolute; left: 35px; top: 10px;
	display: flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; border-radius: 16px; background: #d92d20;
	font-size: 14px; line-height: 1; font-weight: 700; color: #fff;
}
.gm-sum-item__details { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.gm-sum-item__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.gm-sum-item__title { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; /* QA-022: full names may wrap to two lines. */ font-size: 14px; line-height: 27px; font-weight: 700; letter-spacing: -.4px; color: #454a4f; }
.gm-sum-item__price { flex: none; font-size: 20px; line-height: 28px; font-weight: 600; color: #000; }
.gm-sum-row { display: flex; align-items: center; justify-content: space-between; color: #454a4f; white-space: nowrap; }
.gm-sum-row > :first-child { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: .1px; }
.gm-sum-row > :last-child { font-size: 16px; line-height: 24px; font-weight: 500; }
.gm-sum__rule { width: 100%; height: 1px; margin: 0; border: 0; background: #dadde0; }
.gm-sum__rows { display: flex; flex-direction: column; gap: 8px; }
.gm-sum__order { display: flex; flex-direction: column; gap: 24px; }
.gm-sum-row--total, .gm-sum-row--total > * { font-weight: 700 !important; color: #0a0a0a; }
.gm-sum__cta {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; padding: 0 20px;
	border: 0; border-radius: 12px; background: #ff7a00;
	font-size: 16px; line-height: 24px; font-weight: 600; color: #0a0a0a; cursor: pointer;
	transition: background-color var(--gm-dur-fast, .15s) ease;
}
.gm-sum__cta:hover { background: #f06f00; }
.gm-sum__cta:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
.gm-sum__confirm { display: flex; flex-direction: column; gap: 24px; }
.gm-sum__terms { font-size: 12px; line-height: 16px; font-weight: 500; color: #62676c; }
/* QA-021: cart delivery row; the service name may wrap on narrow phones. */
.gm-sum-row--delivery { align-items: flex-start; gap: 16px; }
.gm-sum-row--delivery > :first-child { min-width: 0; padding-top: 2px; white-space: normal; }
.gm-sum__terms a { font-weight: 600; color: #0a0a0a; text-decoration: underline; text-decoration-thickness: from-font; }
.gm-sum__terms a:hover { color: var(--gm-color-action-secondary-default, #0858ce); }
/* QA-025: the five badges stay on one line and shrink together (same 50:24 shape, 50 x 24 at most) when the summary is narrower than the row (320px phones). */
.gm-cart .gm-sum__pay { box-sizing: border-box; display: flex; align-items: center; gap: 5px; align-self: flex-start; width: 292px /* 5 x 50 + 4 x 5 + 2 x 10 + 2 x 1: the full-size row */; max-width: 100%; padding: 10px; border: 1px solid #d5d9dc; border-radius: 8px; }
.gm-sum__pay li { box-sizing: border-box; display: flex; align-items: center; justify-content: center; flex: 0 1 50px; min-width: 0; height: auto; aspect-ratio: 50 / 24; }
.gm-sum__visa img { display: block; width: 100%; height: auto; }
.gm-sum__card { overflow: hidden; border: 1px solid #efefef; border-radius: 4px; }
.gm-sum__card > img { max-width: calc(100% - 4px); height: auto; }

/* ---------- Complete your cart (627:15705) ---------- */
.gm-cart__more { max-width: 1441px; margin: 0 auto; padding: 40px var(--gm-gutter) 43px; } /* + the rail's 8px shadow room = Figma 51px */
.gm-cart__more-head, .gm-cart__rail { max-width: 963px; }
.gm-cart__more-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 48px; }
.gm-cart .gm-cart__rail {
	display: flex; gap: 18px; margin-top: 45px; padding: 0 0 8px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gm-cart__rail::-webkit-scrollbar { display: none; }
.gm-cart-card {
	display: flex; flex: none; flex-direction: column; width: 300px; height: auto; min-height: 415px; scroll-snap-align: start; /* Grows with the Black Friday label; cards in one rail stretch to the tallest. */
	background: #fff; border-radius: 12px; filter: drop-shadow(0 2px 2px rgba(17, 15, 21, .05));
}
.gm-cart-card__link { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; color: inherit; text-decoration: none; }
.gm-cart-card__media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 200px; padding: 18px 18px 0; }
.gm-cart-card__img { display: flex; justify-content: center; width: 150px; height: 150px; padding: 0 14.063px; overflow: hidden; }
.gm-cart-card__img img { width: 120.85px; height: 150px; max-width: none; object-fit: cover; transition: transform .4s var(--gm-ease, ease); }
.gm-cart-card:hover .gm-cart-card__img img { transform: scale(1.04); }
.gm-cart-card .gm-pcard__swatches { display: flex; }
.gm-cart-card__sw { display: block; padding: 2px; }
.gm-cart-card__body { display: flex; flex-direction: column; gap: 14px; padding: 0 18px; }
.gm-cart-card__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; line-height: 28px; font-weight: 700; color: #0a0a0a; transition: color var(--gm-dur-fast, .15s) ease; }
.gm-cart-card:hover .gm-cart-card__title { color: var(--gm-color-action-secondary-default); }
.gm-cart-card__link:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); border-radius: 12px; }
.gm-cart-card__add {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 264px; height: 48px; margin: auto 18px 24px; padding: 0 16px; /* Pinned 24px above the card's bottom edge, like the homepage cards. */
	border: 0; border-radius: 12px; background: #ff7a00;
	font-size: 16px; line-height: 24px; font-weight: 600; color: #0a0a0a; cursor: pointer;
	transition: background-color var(--gm-dur-fast, .15s) ease;
}
.gm-cart-card__add:hover { background: #f06f00; }
.gm-cart-card__add:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }

/* ---------- Promises (627:16116) ---------- */
.gm-cart__perks { display: flex; flex-wrap: wrap; gap: 24px; max-width: 1441px; margin: 0 auto !important; padding: 40px var(--gm-gutter) !important; }
.gm-cart__perks li {
	display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 8px; background: #e8ebed;
	font-size: 20px; line-height: 28px; font-weight: 700; color: #454a4f;
}
.gm-cart__perks li:nth-child(1) { width: auto; min-width: 270px; } /* QA-029: at least the Figma 270px, wide enough for "12-month warranty" on one line. */
.gm-cart__perks li:nth-child(2) { width: 289px; }
.gm-cart__perks li:nth-child(3) { width: 344px; }
/* QA-035: on tablets the tiles grow to fill their row (2+1 when they wrap) instead of leaving a ragged gap. */
@media (min-width: 681px) and (max-width: 1024px) { .gm-cart__perks li { flex-grow: 1; } }
.gm-cart__perk-ic { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1340px) {
	.gm-cart__hero { grid-template-columns: minmax(0, 1fr) 349px; }
	.gm-cart-line { padding: 32px; }
	.gm-cart-line__summary { flex-direction: column; gap: 20px; }
	.gm-cart-line__info { width: auto; }
	.gm-cart-line__money { align-self: flex-end; }
	.gm-cart-line__details { gap: 24px; }
}
@media (max-width: 1024px) {
	.gm-cart__hero { grid-template-columns: minmax(0, 1fr); }
	.gm-cart__summary { position: static; }
	.gm-cart__h { font-size: 28px; line-height: 36px; }
}
@media (max-width: 680px) {
	.gm-cart__hero { padding-top: 24px; }
	.gm-cart__list, .gm-cart__lines, .gm-cart__summary { gap: 16px; }
	.gm-cart-line { align-items: flex-start; gap: 16px; padding: 16px; }
	.gm-cart-line__img { width: 88px; height: 113px; }
	.gm-cart-line__img img { width: 86px; height: 107px; margin: 0; }
	.gm-cart-line__details { gap: 16px; }
	.gm-cart-line__summary { gap: 12px; }
	.gm-cart-line__info { gap: 12px; }
	.gm-cart-line__title { font-size: 20px; line-height: 28px; }
	.gm-cart-line__title a { column-gap: 8px; }
	.gm-cart-line__variant { gap: 8px; }
	.gm-cart-line__attrs li, .gm-cart-line__qty, .gm-cart-line__remove { height: 36px; padding: 4px 10px; font-size: 14px; line-height: 20px; }
	.gm-cart-line__qty { width: 64px; padding-right: 28px; background-position: right 10px center; }
	.gm-cart-line__price { font-size: 24px; line-height: 32px; }
	.gm-cart-line__money { align-self: auto; align-items: flex-start; width: auto; text-align: left; } /* Phones keep the left-aligned layout. */
	.gm-cart-line__offer { flex-wrap: wrap; row-gap: 4px; white-space: normal; }
	.gm-cart-line__actions { justify-content: flex-start; gap: 12px; }
	.gm-cart__more { padding-top: 24px; padding-bottom: 32px; }
	.gm-cart__more .gm-navbtns { display: none; }
	.gm-cart .gm-cart__rail { margin-top: 20px; margin-right: calc(-1 * var(--gm-gutter)); padding-right: var(--gm-gutter); }
	.gm-cart-card { width: 260px; }
	.gm-cart-card__add { width: auto; margin-inline: 18px; }
	.gm-cart__perks { gap: 12px; padding-top: 8px !important; }
	.gm-cart__perks li, .gm-cart__perks li:nth-child(n) { flex: 1 1 100%; width: auto; font-size: 16px; line-height: 24px; }
	.gm-checkout-header { height: 72px; padding: 0 var(--gm-gutter); }
}
@media (max-width: 420px) {
	.gm-checkout-header .gm-account__text { display: none; }
	.gm-checkout-header .gm-account { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.gm-cart-line.is-new, .gm-sum-item.is-new { animation: none; }
	.gm-cart-line.is-leaving { transition: none; }
}
.gm-cart__summary[hidden] { display: none; }

/* Summary column: Summary card, then the Ship to / Bill to cards on the checkout. */
.gm-cart__cards { display: flex; flex-direction: column; gap: 24px; }
a.gm-sum__cta { text-decoration: none; }
a.gm-sum__cta:hover { color: #0a0a0a; }

/* ==========================================================================
   Checkout (Figma 627:16159 Address, 635:17206 Delivery, 639:6129 Payment)
   ========================================================================== */
.gm-co .gm-cart__hero { padding-bottom: 40px; }

/* ---------- Steps (635:17121) ---------- */
.gm-co-steps { padding: 40px var(--gm-gutter); }
.gm-co .gm-co-steps ol { --gap: 200px; --w: 100px; display: flex; justify-content: center; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.gm-co-step { position: relative; display: flex; justify-content: center; width: var(--w); }
.gm-co-step:not(:last-child)::after {
	content: ""; position: absolute; top: 18.75px; left: calc(50% + 18.5px);
	width: calc(var(--gap) + var(--w) - 38px); height: 2.5px; background: #a6a9ad;
}
.gm-co-step.is-current::after, .gm-co-step.is-done::after { background: #0d1b2a; }
.gm-co-step__btn {
	position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
}
.gm-co-step__btn:disabled { cursor: default; }
.gm-co-step__num {
	display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border: 2.5px solid #a6a9ad; border-radius: 999px; background: var(--gm-color-bg-subtle);
	font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -.2px; color: #a6a9ad;
	transition: background-color var(--gm-dur, .25s) ease, border-color var(--gm-dur, .25s) ease, color var(--gm-dur, .25s) ease;
}
.gm-co-step__label { font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: -.2px; color: #a6a9ad; white-space: nowrap; }
.gm-co-step.is-next .gm-co-step__num { border-color: #80858a; color: #80858a; }
.gm-co-step.is-next .gm-co-step__label { color: #80858a; }
.gm-co-step.is-current .gm-co-step__num, .gm-co-step.is-done .gm-co-step__num { border-color: #0d1b2a; background: #0d1b2a; color: #fff; }
.gm-co-step.is-current .gm-co-step__label, .gm-co-step.is-done .gm-co-step__label { font-weight: 600; color: #000; }
.gm-co-step.is-done .gm-co-step__btn:hover .gm-co-step__label { text-decoration: underline; text-underline-offset: 4px; }
.gm-co-step__btn:focus-visible { outline: none; }
.gm-co-step__btn:focus-visible .gm-co-step__num { box-shadow: var(--gm-focus-ring); }

/* ---------- Panels ---------- */
.gm-co__main { min-width: 0; }
.gm-co-panel { display: flex; flex-direction: column; gap: 32px; }
.gm-co-panel[hidden] { display: none; }
.gm-co-panel:not([hidden]) { animation: gm-co-in .35s var(--gm-ease, ease) both; }
@keyframes gm-co-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gm-co-panel .gm-cart__h:focus { outline: none; }
.gm-co-card { display: flex; flex-direction: column; gap: 24px; padding: 32px; background: #fff; border-radius: 12px; }
.gm-co-form { align-items: flex-end; }

/* Fields (635:17130) */
.gm-co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.gm-co-grid--card { gap: 24px; }
.gm-co-grid[hidden] { display: none; }
.gm-co-field { display: flex; flex-direction: column; gap: 4px; grid-column: 1 / -1; min-width: 0; }
.gm-co-field--half { grid-column: auto; }
.gm-co-label { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .1px; color: #454a4f; }
.gm-co-input {
	width: 100%; height: 48px; margin: 0; padding: 0 16px;
	border: 1px solid #d5d9dc; border-radius: 12px; background: #fff;
	font: 400 16px/24px var(--gm-font-sans); color: #0a0a0a;
	transition: border-color var(--gm-dur-fast, .15s) ease, box-shadow var(--gm-dur-fast, .15s) ease;
}
.gm-co-input::placeholder, .gm-co-phone input::placeholder { color: #62676c; opacity: 1; }
.gm-co-input:hover { border-color: #a6a9ad; }
.gm-co-input:focus, .gm-co-phone:focus-within { outline: none; border-color: var(--gm-color-border-focus); box-shadow: var(--gm-focus-ring); }
/* Stripe's secure card fields (launch step 1e) sit in the same boxes and take the same states. */
.gm-co-input--stripe { display: flex; align-items: center; }
.gm-co-input--stripe > * { width: 100%; }
.gm-co-input--stripe.StripeElement--focus { outline: none; border-color: var(--gm-color-border-focus); box-shadow: var(--gm-focus-ring); }
.gm-co-field.is-error .gm-co-input--stripe.StripeElement--focus { box-shadow: 0 0 0 3px rgba(217, 45, 32, .2); }
/* PayPal's card fields (cards through PayPal, 2026-10-20): same focus look; its iframe fills the box. */
.gm-co-input--stripe.is-focus { outline: none; border-color: var(--gm-color-border-focus); box-shadow: var(--gm-focus-ring); }
.gm-co-field.is-error .gm-co-input--stripe.is-focus { box-shadow: 0 0 0 3px rgba(217, 45, 32, .2); }
/* PayPal's frame keeps 6px round its input: pull it out so the text lines up with Card holder. */
.gm-co-input--stripe iframe { display: block; width: calc(100% + 12px) !important; margin: 0 -6px; }
.gm-co-select { padding-right: 48px; background: #fff var(--gm-arrow) no-repeat right 16px center / 24px 24px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.gm-co-select:invalid { color: #62676c; }
.gm-co-select option { color: #0a0a0a; }
.gm-co-phone { display: flex; align-items: center; gap: 8px; }
.gm-co-dial {
	height: 46px; padding: 0 40px 0 0; border: 0; background: transparent var(--gm-arrow) no-repeat right 12px center / 20px 20px;
	font: 400 16px/24px var(--gm-font-sans); color: #0a0a0a; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.gm-co-dial:focus { outline: none; }
.gm-co-phone__divider { width: 1px; height: 24px; flex: none; background: #d5d9dc; }
.gm-co-phone input { flex: 1; min-width: 0; height: 46px; padding: 0; border: 0; background: none; font: 400 16px/24px var(--gm-font-sans); color: #0a0a0a; }
.gm-co-phone input:focus { outline: none; }
.gm-co-field.is-error .gm-co-input { border-color: var(--gm-color-border-danger); }
.gm-co-field.is-error .gm-co-input:focus, .gm-co-field.is-error .gm-co-phone:focus-within { box-shadow: 0 0 0 3px rgba(217, 45, 32, .2); }
.gm-co-error { margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--gm-color-text-danger); }
.gm-co-error[hidden] { display: none; }

.gm-co-btn {
	display: flex; align-items: center; justify-content: center; flex: none; width: 203px; height: 56px; padding: 0 20px;
	border: 0; border-radius: 12px; background: #ff7a00;
	font: 600 16px/20px var(--gm-font-sans); letter-spacing: .1px; color: #0a0a0a; cursor: pointer;
	transition: background-color var(--gm-dur-fast, .15s) ease;
}
.gm-co-btn:hover { background: #f06f00; }
.gm-co-btn:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
.gm-co-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.gm-co-note { margin: 0 !important; font-size: 14px; line-height: 20px; font-weight: 600; color: #2e6b1c; }

/* Radios: native input hidden, Figma icons show the state. */
.gm-co-native { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.gm-co-radio { position: relative; display: block; width: 40px; height: 40px; flex: none; border-radius: 50%; }
.gm-co-radio img { position: absolute; left: 10px; top: 2px; }
.gm-co-radio__on, .gm-co-native:checked + .gm-co-radio .gm-co-radio__off { display: none; }
.gm-co-native:checked + .gm-co-radio .gm-co-radio__on { display: block; }
.gm-co-native:focus-visible + .gm-co-radio img { border-radius: 50%; box-shadow: var(--gm-focus-ring); }

/* ---------- Delivery (635:17595) ---------- */
.gm-co-ship { display: flex; flex-direction: column; gap: 32px; }
.gm-co-ship__item { display: flex; align-items: center; gap: 17px; font-size: 14px; line-height: 27px; font-weight: 700; letter-spacing: -.4px; color: #454a4f; }
.gm-co-ship__img { display: flex; align-items: center; justify-content: center; flex: none; width: 40.56px; height: 52px; overflow: hidden; border: .188px solid #000; border-radius: 3.311px; }
.gm-co-ship__img img { width: 36.629px; height: 45.464px; max-width: none; object-fit: cover; }
.gm-co-ship__opts { display: flex; flex-direction: column; gap: 12px; }
.gm-co-opt {
	position: relative; display: flex; align-items: flex-start; gap: 8px; padding: 24px;
	background: #fff; border-radius: 8px; cursor: pointer;
	transition: box-shadow var(--gm-dur-fast, .15s) ease;
}
.gm-co-opt:has(:checked) { border: 1px solid #62676c; }
.gm-co-opt:not(:has(:checked)):hover { box-shadow: inset 0 0 0 1px #d5d9dc; }
.gm-co-opt__text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.gm-co-opt__title { font-size: 16px; line-height: 24px; font-weight: 700; color: #000; }
.gm-co-opt__sub { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .4px; color: #62676c; }
.gm-co-opt__price { flex: none; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .1px; color: #000; }
.gm-co-opt__price.is-free { color: #2e6b1c; }
/* QA-021: dispatch cut-off under the one delivery service (small-print style). */
.gm-co-ship__note { font-size: 12px; line-height: 16px; font-weight: 500; color: #62676c; }

/* ---------- Payment (639:6465) ---------- */
.gm-co-pay { gap: 33px; }
.gm-co-pay__list { display: flex; flex-direction: column; gap: 24px; }
.gm-co-method { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 8px; cursor: pointer; }
.gm-co-method .gm-co-radio img { top: 10px; }
.gm-co-method__name { font-size: 16px; line-height: 24px; font-weight: 700; color: #000; }
.gm-co-method__logos { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.gm-co-logo { display: flex; align-items: center; justify-content: center; width: 50px; height: 24px; overflow: hidden; border: 1px solid #efefef; border-radius: 4px; }
.gm-co-pay__rule { width: 100%; height: 1px; margin: 0; border: 0; background: #dadde0; }

/* ---------- Ship to / Bill to (646:12579) ---------- */
.gm-co-addrs { display: flex; flex-direction: column; gap: 14px; }
.gm-co-addrs:not(:has(.gm-co-addr:not([hidden]))) { display: none; }
.gm-co-addr { display: flex; align-items: flex-start; gap: 10px; padding: 20px; background: #fff; border-radius: 8px; }
.gm-co-addr[hidden] { display: none; }
.gm-co-addr__body { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.gm-co-addr__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; color: #0a0a0a; overflow-wrap: anywhere; }
.gm-co-addr__lines { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 24px; color: #454a4f; overflow-wrap: anywhere; }
.gm-co-addr__edit {
	display: flex; align-items: center; justify-content: center; flex: none; width: 82px; height: 44px; padding: 0 12px;
	border: 1px solid #000; border-radius: 12px; background: transparent;
	font: 500 16px/24px var(--gm-font-sans); color: #0a0a0a; cursor: pointer;
	transition: background-color var(--gm-dur-fast, .15s) ease, color var(--gm-dur-fast, .15s) ease;
}
.gm-co-addr__edit:hover { background: #0a0a0a; color: #fff; }
.gm-co-addr__edit:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }

@media (max-width: 1024px) {
	.gm-co .gm-co-steps ol { --gap: clamp(40px, 14vw, 200px); }
}
@media (max-width: 680px) {
	.gm-co-steps { padding: 24px var(--gm-gutter) 8px; }
	.gm-co .gm-co-steps ol { --gap: clamp(16px, 8vw, 48px); --w: 76px; }
	.gm-co-step__num { width: 32px; height: 32px; font-size: 18px; }
	.gm-co-step:not(:last-child)::after { top: 14.75px; left: calc(50% + 14.5px); width: calc(var(--gap) + var(--w) - 30px); }
	.gm-co-step__label { font-size: 15px; line-height: 22px; }
	.gm-co-panel { gap: 16px; }
	.gm-co-card { padding: 16px; }
	.gm-co-grid, .gm-co-grid--card { grid-template-columns: 1fr; gap: 16px; }
	.gm-co-btn { width: 100%; }
	.gm-co-actions { flex-direction: column-reverse; align-items: stretch; }
	.gm-co-opt { padding: 16px; }
	.gm-co-ship { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.gm-co-panel:not([hidden]) { animation: none; }
}

/* ==========================================================================
   Order confirmed (Figma "Orderd-confirm" 646:12186)
   ========================================================================== */
.gm-oc-thanks { margin: 0 !important; padding: 40px var(--gm-gutter); text-align: center; font-size: 64px; line-height: 72px; font-weight: 800; letter-spacing: -1px; color: #000; }
.gm-oc { display: grid; grid-template-columns: minmax(0, 963px) 388px; gap: 24px; align-items: start; max-width: 1441px; margin: 0 auto; padding: 0 calc(var(--gm-gutter) - 54px) 58px var(--gm-gutter); }
.gm-oc[hidden], .gm-oc-none[hidden] { display: none; }
.gm-oc-card { display: flex; flex-direction: column; align-items: center; gap: 24px; min-width: 0; padding: 32px; background: #fff; border-radius: 12px; }
.gm-oc-head { display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 24px; }
.gm-oc-head__top { display: flex; flex-direction: column; gap: 12px; }
.gm-oc-title { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.4px; color: #0a0a0a; }
.gm-oc-title img { flex: none; }
.gm-oc-sub { font-size: 20px; line-height: 28px; font-weight: 600; color: #0a0a0a; }
.gm-oc-info { display: flex; flex-direction: column; gap: 6px; font-size: 18px; line-height: 28px; color: #454a4f; overflow-wrap: anywhere; }
.gm-oc-info b { font-weight: 600; }
.gm-oc-rule { flex: none; width: 881.75px; max-width: 100%; height: 4px; margin: 0; border: 0; background: linear-gradient(#d5d9dc, #d5d9dc) center / 100% 1px no-repeat; }
.gm-oc-sec { width: 100%; padding: 20px 30px; }
.gm-oc-sec__in { display: flex; flex-direction: column; gap: 28px; width: 458px; max-width: 100%; }
.gm-oc-h { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; color: #000; }
.gm-oc-lines { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 24px; color: #454a4f; overflow-wrap: anywhere; }
.gm-oc-lines--dark { color: #000; }
.gm-oc-label { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; color: #000; }
.gm-oc-pay { display: flex; flex-direction: column; gap: 24px; }
.gm-oc-kv { display: flex; flex-direction: column; gap: 10px; }
.gm-oc-kv__label { margin: 0; font-size: 16px; line-height: 24px; font-weight: 400; color: #000; }
.gm-oc-card-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; color: #454a4f; }
.gm-oc-brand { padding: 7px 10px; border: 1px solid #d5d9dc; border-radius: 5px; background: #fff; font-size: 13px; line-height: normal; font-weight: 700; letter-spacing: .5px; color: #1a1f71; }
.gm-oc-brand.is-paypal { color: #003087; }
.gm-oc-muted { font-size: 16px; line-height: 24px; color: #454a4f; }
.gm-oc-actions { display: flex; justify-content: flex-end; gap: 16px; width: 100%; }
.gm-oc-btn {
	display: flex; align-items: center; justify-content: center; width: 203px; height: 56px; padding: 0 20px;
	border: 1px solid #a6a9ad; border-radius: 12px;
	font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: .1px; text-decoration: none;
	transition: background-color var(--gm-dur-fast, .15s) ease, color var(--gm-dur-fast, .15s) ease, border-color var(--gm-dur-fast, .15s) ease;
}
.gm-oc-btn--ghost { color: #0a0a0a; }
.gm-oc-btn--ghost:hover { border-color: #0a0a0a; color: #0a0a0a; }
.gm-oc-btn--dark { background: #0d1b2a; color: #fff; }
.gm-oc-btn--dark:hover { background: #172a3d; color: #fff; }
.gm-oc-btn:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
.gm-oc-sum { position: sticky; top: 24px; }
.gm-oc-sum .gm-sum { padding: 32px 20px; }
.gm-oc-sum .gm-sum > :not(.gm-cart__h) { width: 308px; max-width: 100%; }
.gm-oc-none { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 640px; margin: 0 auto 80px; padding: 32px; background: #fff; border-radius: 12px; text-align: center; font-size: 18px; line-height: 28px; color: #454a4f; }
.gm-oc-none .gm-oc-actions { justify-content: center; }

@media (max-width: 1240px) {
	.gm-oc { grid-template-columns: minmax(0, 1fr) 349px; padding-right: var(--gm-gutter); }
}
@media (max-width: 1024px) {
	.gm-oc { grid-template-columns: minmax(0, 1fr); }
	.gm-oc-sum { position: static; }
	.gm-oc-thanks { font-size: 48px; line-height: 56px; }
}
@media (max-width: 680px) {
	.gm-oc-thanks { padding: 24px var(--gm-gutter); font-size: 36px; line-height: 44px; }
	.gm-oc-card { padding: 16px; }
	.gm-oc-head { padding: 8px 0; }
	.gm-oc-title { align-items: flex-start; font-size: 24px; line-height: 32px; }
	.gm-oc-sub { font-size: 18px; line-height: 26px; }
	.gm-oc-info { font-size: 16px; line-height: 24px; }
	.gm-oc-sec { padding: 8px 0; }
	.gm-oc-actions { flex-direction: column-reverse; }
	.gm-oc-btn { width: 100%; }
}
.gm-co-note.is-error { color: var(--gm-color-text-danger); }

/* Empty cart: just "Your cart is empty" until the empty-state design arrives (client decision, 2026-10-14). */
.gm-cart.is-empty .gm-cart__summary, .gm-cart.is-empty .gm-cart__more, .gm-cart.is-empty .gm-cart__perks { display: none; }
.gm-cart.is-empty .gm-cart__hero { grid-template-columns: minmax(0, 963px); }

/* ==========================================================================
   Apple Pay (Figma 899:16809): badge, cart express checkout, Scan Code pop-up
   ========================================================================== */
.gm-applepay { display: inline-flex; align-items: center; gap: 4px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--gm-font-sans); font-size: 12px; line-height: 15px; font-weight: 600; color: #0a0a0a; }
.gm-applepay img { width: 12px; height: 15px; flex: none; }
.gm-applepay--light { color: #fff; }
/* Google Pay badge (client 2026-10-24): the Apple Pay badge's size, Google's "G" + "Pay" in Google grey. */
.gm-googlepay { display: inline-flex; align-items: center; gap: 3px; font-family: "Google Sans", Roboto, Arial, var(--gm-font-sans); font-size: 12px; line-height: 15px; font-weight: 500; color: #5f6368; }
.gm-googlepay img { width: 13px; height: 13px; flex: none; }

/* "or express checkout" + "Check out with  Pay" (899:16967, 899:16971) */
.gm-sum__or { display: flex; align-items: center; gap: 8px; margin: -12px 0 -12px !important; font-size: 12px; line-height: 16px; font-weight: 600; color: #62676c; white-space: nowrap; }
.gm-sum__or::before, .gm-sum__or::after { content: ""; flex: 1; height: 1px; background: #d5d9dc; }
.gm-sum__apple {
	display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 56px; padding: 0 20px;
	border: 1px solid #0a0a0a; border-radius: 12px; background: #fff;
	font: 600 16px/24px var(--gm-font-sans); color: #0a0a0a; cursor: pointer;
	transition: background-color var(--gm-dur-fast, .15s) ease;
}
.gm-sum__apple img { width: 15px; height: 18px; flex: none; }
.gm-sum__apple span[aria-hidden], .gm-sum__apple > span:not(.screen-reader-text) { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--gm-font-sans); }
.gm-sum__apple:hover { background: #f5f7f8; }
.gm-sum__apple:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }

/* Scan Code pop-up (899:16741) */
.gm-applepay-scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity var(--gm-dur, .25s) ease; }
.gm-applepay-scrim.is-open { opacity: 1; }
.gm-applepay-modal {
	position: fixed; z-index: 1001; left: 50%; top: 50%;
	display: flex; flex-direction: column; align-items: center; gap: 40px;
	width: 604px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: auto;
	padding-top: 32px; border-radius: 12px; background: #f5f7f8;
	transform: translate(-50%, calc(-50% + 12px)); opacity: 0;
	transition: opacity var(--gm-dur, .25s) ease, transform var(--gm-dur, .25s) var(--gm-ease, ease);
}
.gm-applepay-modal.is-open { opacity: 1; transform: translate(-50%, -50%); }
.gm-applepay-modal:focus { outline: none; }
.gm-applepay-scrim[hidden], .gm-applepay-modal[hidden] { display: none; }
/* Full size (435.7px) when there is room; smaller on short windows so the whole pop-up fits. */
.gm-applepay-modal__code { width: max(160px, min(435.7px, 100% - 48px, 100vh - 292px)); }
.gm-applepay-modal__code img { display: block; width: 100%; height: auto; }
.gm-applepay-modal__copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; align-self: stretch; min-height: 188px; padding: 24px 39px; background: #fff; text-align: center; font-family: -apple-system, BlinkMacSystemFont, "SF Pro", var(--gm-font-sans); }
.gm-applepay-modal__title { margin: 0; font-size: 32px; line-height: 28px; font-weight: 700; color: #000; }
.gm-applepay-modal__text { margin: 0; font-size: 20px; line-height: 28px; color: #62676c; }
html.gm-applepay-lock { overflow: hidden; }
@media (max-width: 680px) {
	.gm-applepay-modal { gap: 24px; }
	.gm-applepay-modal__title { font-size: 24px; line-height: 30px; }
	.gm-applepay-modal__text { font-size: 16px; line-height: 24px; }
	.gm-applepay-modal__copy { min-height: 0; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .gm-applepay-scrim, .gm-applepay-modal { transition: none; } }

/* Shipping shows in the totals only once delivery is chosen: not on the Address step (client 2026-10-21). */
.gm-co[data-step="address"] [data-gm-ship-row] { display: none; }

/* ==========================================================================
   Phones: checkout (Figma "Mobile view" Address 1479:40029, Delivery 1479:40264,
   Payment 1479:40523; client 2026-10-28). The cart page keeps its own look
   (client 2026-10-28); the header stays minimal.
   ========================================================================== */
@media (max-width: 767px) {
	.gm-co .gm-cart__hero { gap: 24px; padding: 24px 16px; }
	.gm-co .gm-cart__h { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: 0; }
	.gm-co .gm-cart__summary { gap: 12px; }
	.gm-co .gm-sum { gap: 24px; padding: 24px 16px; }
	.gm-co .gm-sum__cta { height: 48px; }

	/* Steps, 20px titles, 16px card padding, 48px fields (inputs stay 16px for iOS). */
	.gm-co-steps { padding: 24px 16px 0; }
	.gm-co .gm-co-steps ol { --gap: 40px; --w: 100px; }
	.gm-co-step__num { width: 34px; height: 34px; font-size: 14px; border-width: 2.5px; }
	.gm-co-step:not(:last-child)::after { top: 15.75px; left: calc(50% + 17px); width: calc(var(--gap) + var(--w) - 34px); }
	.gm-co-step__btn { gap: 0; }
	.gm-co-step__label { font-size: 14px; line-height: 32px; letter-spacing: -.2px; }
	.gm-co-panel { gap: 16px; }
	.gm-co-card { gap: 24px; padding: 24px 16px; }
	.gm-co-grid { gap: 16px; }
	.gm-co-input, .gm-co-phone { height: 48px; }
	.gm-co-btn { height: 48px; }
	.gm-co-method__name { font-size: 16px; }
	.gm-co-addr { padding: 16px; }
	.gm-co-addr__title { font-size: 18px; line-height: 26px; }
	.gm-co-addr__lines { font-size: 14px; line-height: 22px; }
}
