/* QA-059: product page information rows, "The quality checks" carousel and
   their panels (desktop right drawer 600px, phone bottom sheet ≤767px).
   Figma: rows 1711:22130, checks 1711:25242, panels 1711:23316 / 1711:24810 / 1711:25366 / 1728:26158. */

/* ---------- Rows (row look comes from .gm-pdp-perks in gm-pdp.css) ---------- */
.gm-pdp-perks--info li.gm-pdp-perk--btn { padding: 0; }
.gm-pdp-perk { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px; border: 0; border-radius: 8px; background: #f5f7f8; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.gm-pdp-perk:hover { background: #eceff1; }
.gm-pdp-perk:focus-visible { outline: none; box-shadow: var(--gm-focus-ring, 0 0 0 3px rgba(13,27,42,.35)); }
.gm-pdp-perk .gm-pdp-perks__text { flex: 1 1 auto; min-width: 0; }
.gm-pdp-perk__chev { flex: none; display: block; width: 28px; height: 28px; margin-right: 12px; }
.gm-pdp-perks--info .gm-pdp-perks__ic img[width="24"] { width: 24px; height: 25.48px; }

/* ---------- The quality checks (1711:25242) ---------- */
.gm-qc { display: flex; flex-direction: column; gap: 20px; width: 100%; min-width: 0; }
.gm-qc__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gm-qc__h { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: #000; }
.gm-qc__nav { display: flex; gap: 24px; flex: none; }
.gm-qc__arrow { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 999px; background: var(--gm-color-bg-inverse, #0d1b2a); cursor: pointer; transition: opacity .2s; }
.gm-qc__arrow img { display: block; width: 24px; height: 24px; }
.gm-qc__arrow--next img { transform: rotate(180deg); }
.gm-qc__arrow:disabled { opacity: .5; cursor: default; } /* Same disabled look as the other carousels (QA-033). */
.gm-qc__arrow:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0d1b2a; }
.gm-qc__viewport { position: relative; min-width: 0; }
.gm-qc__track { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gm-qc__track::-webkit-scrollbar { display: none; }
.gm-qc__track > li { flex: none; display: flex; scroll-snap-align: start; }
.gm-qc__track > li:last-child { scroll-snap-align: end; } /* The last card can rest at the end (QA-059 r2). */
.gm-qc__card { display: flex; flex-direction: column; align-items: flex-start; width: 200px; min-height: 116px; padding: 10px 14px; border: 0; border-radius: var(--gm-radius-md, 12px); font: inherit; text-align: left; cursor: pointer;
	background: #ececec url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 116' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><g transform='matrix(-10 3.5515e-16 -3.1628e-15 -29.959 100 58)' opacity='1'><rect height='36.784' width='190' fill='url(%23grad)' id='quad' shape-rendering='crispEdges'/><use href='%23quad' transform='scale(1 -1)'/><use href='%23quad' transform='scale(-1 1)'/><use href='%23quad' transform='scale(-1 -1)'/></g><defs><linearGradient id='grad' gradientUnits='userSpaceOnUse' x2='5' y2='5'><stop stop-color='rgba(244,244,244,1)' offset='0'/><stop stop-color='rgba(230,230,230,1)' offset='1'/></linearGradient></defs></svg>") center / 100% 100% no-repeat;
	transition: box-shadow .2s, transform .2s; }
.gm-qc__card:hover { box-shadow: 0 6px 18px rgba(13,27,42,.12); }
.gm-qc__card:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0d1b2a; }
.gm-qc__ic { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; }
.gm-qc__ic img { display: block; }
.gm-qc__label { font-size: 20px; line-height: 28px; font-weight: 600; color: #0d1b2a; }
/* Edge fades (1711:25102 left 36px, 1711:25229 right 229px); shown only where more cards are hidden. */
.gm-qc__fade { position: absolute; top: 0; bottom: 0; pointer-events: none; transition: opacity .2s; }
.gm-qc__fade--l { left: 0; width: 36px; background: linear-gradient(to right, #fff 39.4%, rgba(255,255,255,0)); opacity: 0; }
.gm-qc__fade--r { right: 0; width: 96px; background: linear-gradient(to right, rgba(255,255,255,0), #fff 85%); } /* Figma 1711:25229 fades card 3 out at the column edge. */
.gm-qc.is-start .gm-qc__fade--l { opacity: 0; }
.gm-qc:not(.is-start) .gm-qc__fade--l { opacity: 1; }
.gm-qc.is-end .gm-qc__fade--r { opacity: 0; }

/* ---------- Panels ---------- */
.gm-info-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(7,11,24,.55); opacity: 0; transition: opacity 280ms ease; }
.gm-info-overlay.is-open { opacity: 1; }
.gm-info { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001; display: flex; flex-direction: column; width: 600px; max-width: 100%; background: #fff; border-radius: var(--gm-radius-xl, 24px) 0 0 var(--gm-radius-xl, 24px); box-shadow: -8px 0 32px rgba(7,11,24,.12); transform: translateX(100%); transition: transform 280ms cubic-bezier(.2,.8,.2,1); outline: none; will-change: transform; }
.gm-info:not(.is-open) { transition-timing-function: cubic-bezier(.4,0,1,1); } /* Exit eases in, entry eases out. */
.gm-info.is-open { transform: none; }
.gm-info[hidden], .gm-info-overlay[hidden] { display: none; }
.gm-info__head { position: relative; display: flex; align-items: center; justify-content: center; flex: none; min-height: 81px; padding: 16px 40px; border-bottom: 1px solid var(--gm-color-border-default, #d5d9dc); }
.gm-info__grab { display: none; }
.gm-info__title { margin: 0; padding: 0 48px; font-size: 20px; line-height: 28px; font-weight: 600; color: #62676c; text-align: center; }
.gm-info__close { position: absolute; top: 50%; right: 40px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -24px; margin-right: -10px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.gm-info__close:hover { background: #f5f7f8; }
.gm-info__close:focus-visible { outline: none; box-shadow: 0 0 0 3px #0d1b2a; }
.gm-info__close img { display: block; width: 28px; height: 28px; }
.gm-info__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* Returns and warranty (1711:23316) */
.gm-info-block { display: flex; flex-direction: column; gap: 24px; padding: 40px; }
.gm-info-block + .gm-info-block { border-top: 1px solid var(--gm-color-border-default, #d5d9dc); }
.gm-info-block__h { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.2px; color: #000; }
.gm-info-items { display: flex; flex-direction: column; gap: 32px; margin: 0; padding: 0; list-style: none; }
.gm-info-items--pad { padding: 0 40px; }
.gm-info-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
.gm-info-item__ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: -4px; }
.gm-info-item__ic img { display: block; width: 24px; height: 24px; }
.gm-info-item__text { display: flex; flex-direction: column; gap: 16px; }
.gm-info-item__t { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: #454a4f; }
.gm-info-item__text p { margin: 0; font-size: 18px; line-height: 28px; font-weight: 400; color: #80858a; }

/* Guaranteed by GlobeMarket (1711:24810) */
.gm-info__body--guarantee { display: flex; flex-direction: column; gap: 40px; padding-top: 40px; }
.gm-info-brand { display: flex; align-items: center; justify-content: center; gap: 2px; flex: none; height: 240px; margin: 0 40px; border-radius: var(--gm-radius-lg, 16px); background: var(--gm-color-bg-inverse, #0d1b2a); }
.gm-info-brand img { display: block; height: auto; }
.gm-info-brand img:first-child { width: 100.195px; }
.gm-info-brand img:last-child { width: 118.242px; }
.gm-info__foot { margin-top: auto; padding: 40px; border-top: 1px solid var(--gm-color-border-default, #d5d9dc); }
.gm-info__cta { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border-radius: var(--gm-radius-md, 12px); background: var(--gm-color-bg-inverse, #0d1b2a); color: #fff; font-size: 18px; line-height: 24px; font-weight: 600; text-decoration: none; transition: background-color .2s; }
.gm-info__cta:hover { background: #1b2d42; color: #fff; }
.gm-info__cta:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0d1b2a; }

/* Quality checks (1711:25366 collapsed / 1728:26158 expanded) */
.gm-info__body--quality { padding: 40px 30px; }
.gm-qa { margin: 0; padding: 0; list-style: none; }
.gm-qa__row { padding: 20px 16px; border-bottom: 1px solid var(--gm-color-border-default, #d5d9dc); }
.gm-qa__row:last-child { border-bottom: 0; }
.gm-qa__h { margin: 0; font: inherit; }
.gm-qa__btn { display: flex; align-items: center; gap: 16px; width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; border-radius: 4px; }
.gm-qa__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px #0d1b2a; }
.gm-qa__ic { display: flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; }
.gm-qa__ic img { display: block; }
.gm-qa__t { flex: 1 1 auto; min-width: 0; font-size: 18px; line-height: 28px; font-weight: 700; color: #0a0a0a; }
.gm-qa__arrow { flex: none; display: block; width: 24px; height: 24px; transform: rotate(180deg); transition: transform .25s; } /* Collapsed: ^ (Figma). */
.gm-qa__btn[aria-expanded="true"] .gm-qa__arrow { transform: none; } /* Expanded: v (Figma). */
.gm-qa__p p { margin: 0; padding-top: 24px; font-size: 18px; line-height: 28px; font-weight: 400; color: #80858a; } /* Spacing inside the region, so the height animation starts from 0. */

html.gm-info-lock, html.gm-info-lock body { overflow: hidden; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.gm-qc { max-width: 100%; }
}

/* ---------- Phones: rows, carousel and bottom sheet ---------- */
@media (max-width: 767px) {
	.gm-pdp-perk { gap: 13px; padding: 8px; }
	.gm-pdp-perk__chev { width: 24px; height: 24px; margin-right: 4px; }
	.gm-pdp-perks--info .gm-pdp-perks__ic img[width="24"] { width: 20px; height: 21.23px; }

	.gm-qc { gap: 16px; }
	.gm-qc__h { font-size: 18px; line-height: 26px; }
	.gm-qc__nav { gap: 12px; }
	.gm-qc__arrow { width: 40px; height: 40px; }
	.gm-qc__card { width: 160px; min-height: 100px; padding: 10px 12px; }
	.gm-qc__label { font-size: 16px; line-height: 24px; }
	.gm-qc__fade--r { width: 56px; }
	.gm-qc__fade--l { width: 24px; }

	.gm-info { top: auto; left: 0; width: 100%; max-height: calc(100vh - 48px); border-radius: var(--gm-radius-xl, 24px) var(--gm-radius-xl, 24px) 0 0; box-shadow: 0 -8px 32px rgba(7,11,24,.12); transform: translateY(100%); }
	@supports (height: 100dvh) { .gm-info { max-height: calc(100dvh - 48px); } }
	.gm-info.is-open { transform: none; }
	.gm-info__head { min-height: 64px; padding: 20px 20px 12px; }
	.gm-info__grab { display: block; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d5d9dc; }
	.gm-info__title { padding: 0 44px; font-size: 18px; line-height: 26px; }
	.gm-info__close { right: 20px; margin-right: -12px; width: 44px; height: 44px; margin-top: -18px; }
	.gm-info__body { padding-bottom: env(safe-area-inset-bottom, 0px); }
	.gm-info-block { gap: 20px; padding: 24px 20px; }
	.gm-info-block__h { font-size: 20px; line-height: 28px; }
	.gm-info-items { gap: 24px; }
	.gm-info-items--pad { padding: 0 20px; }
	.gm-info-item { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; }
	.gm-info-item__ic { width: 24px; height: 28px; margin-top: 0; }
	.gm-info-item__text { gap: 8px; }
	.gm-info-item__t { font-size: 16px; line-height: 24px; }
	.gm-info-item__text p { font-size: 14px; line-height: 22px; }
	.gm-info__body--guarantee { gap: 24px; padding-top: 24px; }
	.gm-info-brand { height: 160px; margin: 0 20px; }
	.gm-info__foot { padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
	.gm-info__body--guarantee { padding-bottom: 0; }
	.gm-info__cta { height: 52px; font-size: 16px; }
	.gm-info__body--quality { padding: 8px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
	.gm-qa__row { padding: 16px 0; }
	.gm-qa__btn { gap: 12px; }
	.gm-qa__t { font-size: 16px; line-height: 24px; }
	.gm-qa__p p { padding-top: 12px; font-size: 14px; line-height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.gm-info, .gm-info-overlay, .gm-qa__arrow, .gm-qc__fade, .gm-pdp-perk, .gm-qc__card, .gm-qc__arrow { transition: none; }
	.gm-qc__track { scroll-behavior: auto; }
}
