/* ==========================================================================
   Xiaomi Pakistan — brand layer over main.css
   Xiaomi orange on near-black and white, soft grey product stages, squircle-ish
   corners and pill controls. Big product stories, quiet chrome. Accent and ink
   still come from the Customizer (inline :root rule after this file).
   1. Tokens          5. Homepage sections   9. Footer
   2. Base & buttons  6. Product cards      10. Responsive
   3. Header          7. Shop & product
   4. Hero slider     8. Drawers & misc
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
:root {
	--gn-accent: #ff6900;
	--gn-ink: #191919;
	--gn-text: #3d3d3d;
	--gn-muted: #757575;
	--gn-line: #ebebeb;
	--gn-line-strong: #dcdcdc;
	--gn-soft: #f5f5f5;
	--gn-sale: #e5432b;
	--gn-star: #ff9a2e;
	--gn-radius: 20px;
	--gn-radius-sm: 999px;
	--gn-shadow: 0 16px 36px -18px rgba(0, 0, 0, .22);
	--gn-shadow-lg: 0 28px 64px -24px rgba(0, 0, 0, .3);
	--gn-header-h: 72px;

	--xp-orange: var(--gn-accent);
	--xp-orange-soft: color-mix(in srgb, var(--gn-accent) 9%, #fff);
	--xp-stage: #f5f5f5;
	--xp-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base & buttons ------------------------------------------------------ */
body { font-size: 15px; color: var(--gn-text); font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4, h5, h6 { font-weight: 650; letter-spacing: -.02em; }
::selection { background: color-mix(in srgb, var(--gn-accent) 22%, #fff); }

.gn-section { padding-block: 44px; }
.gn-section__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 650; letter-spacing: -.025em; }
.gn-section__sub { font-size: 15.5px; }
.gn-link-arrow { color: var(--gn-ink); font-weight: 600; }
.gn-link-arrow:hover { color: var(--gn-accent); }
.gn-link-arrow svg { color: var(--gn-accent); }
.gn-eyebrow { color: var(--gn-accent); letter-spacing: .14em; font-weight: 650; }

.gn-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce-page a.button, .woocommerce-page button.button { font-weight: 600; letter-spacing: 0; }
.gn-btn--lg { min-height: 50px; padding: 12px 30px; }
.gn-btn--outline { border-color: var(--gn-ink); color: var(--gn-ink); background: transparent; }
.gn-btn--outline:hover { background: var(--gn-ink); border-color: var(--gn-ink); color: #fff; }
.gn-btn--light { color: var(--gn-ink); }
.gn-btn--light:hover { background: #fff; color: var(--gn-accent); }

.gn-tag { border-radius: 999px; padding: 3px 9px; font-weight: 650; }
.gn-tag--sale { background: var(--gn-accent); }
.gn-tag--hot { background: var(--gn-ink); }
.gn-badge { background: var(--gn-accent); }
.gn-iconbtn { border-radius: 50%; }

/* The bundled logo lockup: Mi mark + "Xiaomi Store / Authorized Reseller". */
.xp-logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; white-space: nowrap; }
.xp-logo .xp-mark { flex: none; }
.xp-logo__word { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: #3d3d3d; }
.xp-logo__word strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--gn-ink); }
.xp-logo--light .xp-logo__word { color: rgba(255, 255, 255, .62); }
.xp-logo--light .xp-logo__word strong { color: #fff; }

/* 3. Header -------------------------------------------------------------- */
.gn-topbar { background: #000; color: rgba(255, 255, 255, .82); font-size: 12.5px; }
.gn-topbar__inner { min-height: 34px; }
.gn-topbar__msg svg { color: var(--gn-accent); }

.gn-header { border-bottom: 1px solid var(--gn-line); }
.gn-header__main { gap: 32px; }
.gn-search { height: 44px; border: 0; border-radius: 999px; background: var(--gn-soft); transition: background-color .15s, box-shadow .15s; }
.gn-search:focus-within { background: #fff; box-shadow: 0 0 0 1.5px var(--gn-ink); border-color: transparent; }
.gn-search .gn-search__input { padding-left: 20px; font-size: 14.5px; }
.gn-search__btn { width: 40px; margin: 2px 4px 2px 0; border-radius: 50%; background: transparent; color: var(--gn-ink); }
.gn-search__btn:hover { background: var(--gn-accent); color: #fff; }
.gn-action { color: var(--gn-ink); }
.gn-action__label small { font-size: 11.5px; }
.gn-action__label strong { font-weight: 600; }

@media (min-width: 960px) {
	.gn-header__main { display: grid; grid-template-columns: auto minmax(0, 560px) auto; justify-content: space-between; min-height: 72px; }
	.gn-search { width: 100%; max-width: none; }
	.gn-actions { gap: 22px; }
	.gn-action--account .gn-action__label small { display: none; }
	.gn-action--cart .gn-action__label { display: none; }

	/* Category bar with a full-width mega panel per item. */
	.gn-nav { position: relative; border-top: 0; }
	.gn-header.is-stuck .gn-nav { display: block; }
	.gn-nav__inner { justify-content: center; min-height: 48px; }
	.gn-menu { flex-wrap: nowrap; gap: 6px; }
	.xp-mega > li { position: static; }
	.gn-nav .gn-menu > li > a { position: relative; padding: 13px 14px; border-radius: 0; background: none; color: var(--gn-ink); font-size: 14.5px; font-weight: 500; }
	.gn-nav .gn-menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gn-accent); transform: scaleX(0); transition: transform .2s var(--xp-ease); }
	.gn-nav .gn-menu > li:hover > a, .gn-nav .gn-menu > li:focus-within > a { color: var(--gn-accent); background: none; }
	.gn-nav .gn-menu > li:hover > a::after, .gn-nav .gn-menu > li:focus-within > a::after { transform: scaleX(1); }
	.gn-nav .gn-menu .is-deal > a { color: var(--gn-accent); font-weight: 650; }

	.xp-mega__panel {
		position: absolute; left: 0; right: 0; top: 100%; z-index: 70; padding: 28px 0 32px; background: #fff;
		border-top: 1px solid var(--gn-line); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .25);
		visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--xp-ease), visibility 0s .18s;
	}
	.xp-mega__item:hover > .xp-mega__panel, .xp-mega__item:focus-within > .xp-mega__panel {
		visibility: visible; opacity: 1; transform: none; transition-delay: .08s, .08s, 0s;
	}
	.xp-mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; }
	.xp-mega__products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
	.xp-mega__panel a { white-space: normal; font-weight: inherit; }
	.xp-mega__products a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 14px; border-radius: 16px; text-align: center; color: var(--gn-ink); transition: background-color .15s; }
	.xp-mega__products a:hover { background: var(--gn-soft); color: var(--gn-ink); }
	.xp-mega__img { display: block; width: 100%; max-width: 140px; aspect-ratio: 1; }
	.xp-mega__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s var(--xp-ease); }
	.xp-mega__products a:hover .xp-mega__img img { transform: scale(1.05); }
	.xp-mega__name { font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.xp-mega__price { font-size: 13px; color: var(--gn-accent); font-weight: 600; }
	.xp-mega__price del { display: none; }
	.xp-mega__price ins { text-decoration: none; }
	.xp-mega__price .gn-from { color: var(--gn-muted); font-weight: 500; }
	.xp-mega__side { padding-left: 32px; border-left: 1px solid var(--gn-line); }
	.xp-mega__title { margin: 4px 0 10px; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--gn-muted); }
	.xp-mega__links { list-style: none; margin: 0 0 18px; padding: 0; }
	.xp-mega__links a { display: block; padding: 6px 0; color: var(--gn-ink); font-size: 15px; font-weight: 600; }
	.xp-mega__links a:hover { color: var(--gn-accent); }
}

/* 4. Hero slider --------------------------------------------------------- */
.xp-hero { position: relative; overflow: hidden; background: #000; }
.xp-hero__track { display: grid; }
.xp-slide {
	grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(500px, 44vw, 620px);
	opacity: 0; visibility: hidden; transition: opacity .7s var(--xp-ease), visibility 0s .7s;
}
.xp-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--xp-ease), visibility 0s; z-index: 1; }
.xp-slide--dark { background: radial-gradient(900px 520px at 72% 55%, #3a2214, transparent 70%), radial-gradient(600px 400px at 100% 0%, #241812, transparent 70%), #050505; color: #fff; }
.xp-slide--light { background: radial-gradient(800px 520px at 75% 55%, #ffffff, transparent 70%), linear-gradient(180deg, #e9f0f8, #dfe8f3); }
.xp-slide--warm { background: radial-gradient(800px 520px at 75% 55%, #ffffff, transparent 70%), linear-gradient(180deg, #fff3ea, #fde4d2); }
.xp-slide--mint { background: radial-gradient(800px 520px at 75% 55%, #ffffff, transparent 70%), linear-gradient(180deg, #eef8f1, #d9efe2); }
.xp-slide--poco { background: radial-gradient(760px 520px at 74% 56%, #fff7cf, transparent 70%), linear-gradient(180deg, #ffe45c, #ffd400); }
.xp-slide--poco .xp-slide__eyebrow { color: #000; }
.xp-slide--poco .xp-slide__text { color: rgba(0, 0, 0, .72); }
.xp-slide--poco .gn-btn--primary { background: #000; border-color: #000; color: #ffd400; }
.xp-slide--poco .gn-btn--primary:hover { background: #222; border-color: #222; color: #ffd400; }
.xp-slide__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 24px; padding-block: 48px 92px; }
.xp-slide__eyebrow { display: inline-block; margin: 0 0 14px; color: var(--gn-accent); font-size: 15px; font-weight: 650; letter-spacing: .02em; }
.xp-slide__title { margin: 0 0 16px; font-size: clamp(38px, 5vw, 68px); font-weight: 650; line-height: 1.02; letter-spacing: -.035em; color: var(--gn-ink); }
.xp-slide__text { max-width: 470px; margin: 0 0 14px; font-size: 18px; line-height: 1.5; color: var(--gn-text); }
.xp-slide__price { margin: 0 0 28px; font-size: 18px; font-weight: 650; color: var(--gn-ink); }
.xp-slide--dark .xp-slide__title, .xp-slide--dark .xp-slide__price { color: #fff; }
.xp-slide--dark .xp-slide__text { color: rgba(255, 255, 255, .72); }
.xp-slide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.xp-slide__more { display: inline-flex; align-items: center; gap: 2px; color: var(--gn-ink); font-weight: 600; }
.xp-slide__more:hover { color: var(--gn-accent); }
.xp-slide--dark .xp-slide__more { color: #fff; }
.xp-slide__media { display: grid; place-items: center; }
.xp-slide__media img { width: 100%; max-height: 500px; object-fit: contain; transform: translateY(16px) scale(.97); opacity: 0; transition: transform 1s var(--xp-ease), opacity .8s; }
.xp-slide.is-active .xp-slide__media img { transform: none; opacity: 1; }
.xp-slide__content > * { transform: translateY(14px); opacity: 0; transition: transform .7s var(--xp-ease), opacity .7s; }
.xp-slide.is-active .xp-slide__content > * { transform: none; opacity: 1; }
.xp-slide.is-active .xp-slide__content > :nth-child(2) { transition-delay: .06s; }
.xp-slide.is-active .xp-slide__content > :nth-child(3) { transition-delay: .12s; }
.xp-slide.is-active .xp-slide__content > :nth-child(4) { transition-delay: .18s; }
.xp-slide.is-active .xp-slide__content > :nth-child(5) { transition-delay: .24s; }

.xp-hero__controls { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 14px; transform: translateX(-50%); padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .3); }
.xp-hero__arrow { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--gn-ink); cursor: pointer; }
.xp-hero__arrow:hover { background: #fff; }
.xp-hero__dots { display: flex; gap: 6px; }
.xp-hero__dot { position: relative; width: 26px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .18); overflow: hidden; cursor: pointer; transition: width .3s var(--xp-ease); }
.xp-hero__dot[aria-selected="true"] { width: 46px; }
.xp-hero__dot span { position: absolute; inset: 0; border-radius: inherit; background: var(--gn-accent); transform: scaleX(0); transform-origin: left; }
.xp-hero__dot[aria-selected="true"] span { animation: xp-progress 6.5s linear forwards; }
.xp-hero.is-paused .xp-hero__dot[aria-selected="true"] span { animation: none; transform: scaleX(1); }
@keyframes xp-progress { to { transform: scaleX(1); } }

/* 5. Homepage sections --------------------------------------------------- */
/* Ecosystem strip: product shots on round grey stages. */
.gn-cats { padding-top: 40px; }
.gn-cats .gn-section__head { justify-content: center; text-align: center; }
.gn-cats .gn-section__head .gn-link-arrow { display: none; }
.gn-cats__grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; }
.gn-cat { gap: 10px; padding: 8px 4px 12px; border: 0; border-radius: 20px; background: transparent; }
.gn-cat:hover { box-shadow: none; }
.gn-cat__media, .gn-cat__media--photo { width: 100px; height: 100px; margin: 0; border: 0; border-radius: 50%; background: var(--xp-stage); color: var(--gn-ink); transition: background-color .2s, transform .25s var(--xp-ease); }
.gn-cat__media--photo img { padding: 14px; mix-blend-mode: multiply; }
.gn-cat:hover .gn-cat__media { background: var(--xp-orange-soft); transform: translateY(-4px); }
.gn-cat__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.gn-cat__count { display: none; }

/* Series: headline families as large cards with their logo and phones breaking
   out of the corner, the rest as logo tiles with their best sellers. */
.xp-series__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xp-series__grid--1 { grid-template-columns: 1fr; }
.xp-series__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xp-series__card { position: relative; display: flex; min-height: 380px; overflow: hidden; border-radius: 28px; padding: 32px; color: var(--gn-ink); isolation: isolate; transition: transform .3s var(--xp-ease), box-shadow .3s; }
.xp-series__card:hover { transform: translateY(-4px); box-shadow: var(--gn-shadow-lg); color: var(--gn-ink); }
.xp-series__card--dark { background: radial-gradient(420px 320px at 90% 100%, #3a2214, transparent 70%), #0d0d0d; color: #fff; }
.xp-series__card--dark:hover { color: #fff; }
.xp-series__card--blue { background: radial-gradient(420px 320px at 90% 100%, #fff, transparent 70%), #e3edf8; }
.xp-series__card--yellow { background: radial-gradient(420px 320px at 90% 100%, #fff, transparent 70%), #fff1c2; }
.xp-series__card--light { background: var(--xp-stage); }
.xp-series__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 58%; }
.xp-series__body .xp-logo { margin-bottom: 10px; }
.xp-series__tagline { font-size: 16px; font-weight: 600; color: var(--gn-accent); }
.xp-series__text { font-size: 14px; line-height: 1.5; opacity: .75; }
.xp-series__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 600; }
.xp-series__cta svg { color: var(--gn-accent); transition: transform .2s; }
.xp-series__card:hover .xp-series__cta svg { transform: translateX(4px); }
.xp-series__media { position: absolute; z-index: 0; right: -2%; bottom: -9%; width: 48%; transition: transform .45s var(--xp-ease); }
.xp-series__media img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .28)); }
.xp-series__card:hover .xp-series__media { transform: translateY(-10px) rotate(-2deg); }

/* Series logos: a square mark beside the name, or the wordmark on its own. */
.xp-logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.xp-logo__img { display: block; width: auto; height: 34px; }
.xp-logo--mark .xp-logo__img { width: 44px; height: 44px; }
.xp-logo__name { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.xp-logo--poco .xp-logo__img { height: 40px; border-radius: 6px; }
.xp-logo--1more .xp-logo__img { height: 22px; }
.xp-logo--yeelight .xp-logo__img { height: 20px; }
.xp-logo--text { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.xp-series__card--dark .xp-logo--word .xp-logo__img { filter: invert(1); }

.xp-series__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.xp-brand { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 22px; border: 1px solid var(--gn-line); border-radius: 24px; background: #fff; color: var(--gn-ink); transition: transform .3s var(--xp-ease), box-shadow .3s, border-color .3s; }
.xp-brand:hover { transform: translateY(-4px); box-shadow: var(--gn-shadow-lg); border-color: transparent; color: var(--gn-ink); }
.xp-brand__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 36px; }
.xp-brand .xp-logo { min-height: 36px; }
.xp-brand .xp-logo--mark .xp-logo__img { width: 36px; height: 36px; }
.xp-brand .xp-logo__name { font-size: 22px; }
.xp-brand .xp-logo--text { font-size: 21px; }
.xp-brand__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13.5px; }
.xp-brand__tagline { font-weight: 600; }
.xp-brand__count { color: var(--gn-muted); }
.xp-brand__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.xp-brand__img { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--xp-stage); }
.xp-brand__img img { width: 100%; height: 100%; padding: 8px; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--xp-ease); }
.xp-brand:hover .xp-brand__img img { transform: scale(1.06); }
.xp-brand__go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--xp-stage); color: var(--gn-ink); transition: background-color .2s, color .2s; }
.xp-brand:hover .xp-brand__go { background: var(--gn-accent); color: #fff; }

/* Hot picks: grey stage behind the rail, pill tabs. */
.xp-hot { background: var(--xp-stage); }
.gn-tabs { gap: 4px; padding: 4px; border-radius: 999px; background: #fff; }
.gn-tab { padding: 9px 18px; border-radius: 999px; font-weight: 600; color: var(--gn-muted); }
.gn-tab:hover { color: var(--gn-ink); }
.gn-tab[aria-selected="true"] { background: var(--gn-ink); color: #fff; box-shadow: none; }

/* Spotlight bento: one tall story on the left, three on the right. */
.xp-spot__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xp-spot__grid--4 { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(260px, auto)); }
.xp-spot__grid--4 .xp-spot__tile--1 { grid-row: 1 / 3; }
.xp-spot__grid--4 .xp-spot__tile--2 { grid-column: 2 / 4; }
.xp-spot__grid--3 { grid-template-columns: 1.2fr 1fr; }
.xp-spot__grid--3 .xp-spot__tile--1 { grid-row: 1 / 3; }
.xp-spot__tile { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 8px; overflow: hidden; padding: 28px; border-radius: 28px; background: var(--xp-stage); color: var(--gn-ink); transition: box-shadow .3s; }
.xp-spot__tile:hover { color: var(--gn-ink); box-shadow: var(--gn-shadow); }
.xp-spot__tile--1 { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; background: linear-gradient(180deg, #fbfbfb, #ededed); }
.xp-spot__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.xp-spot__cat { font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--gn-muted); }
.xp-spot__name { font-size: 22px; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.xp-spot__tile--1 .xp-spot__name { font-size: clamp(28px, 2.6vw, 38px); }
.xp-spot__text { max-width: 360px; margin-top: 4px; color: var(--gn-muted); }
.xp-spot__price { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--gn-ink); }
.xp-spot__price del { color: var(--gn-muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.xp-spot__price ins { text-decoration: none; color: var(--gn-accent); }
.xp-spot__cta { display: inline-flex; align-items: center; gap: 2px; margin-top: 12px; width: fit-content; padding: 8px 16px 8px 18px; border-radius: 999px; background: var(--gn-ink); color: #fff; font-size: 13.5px; font-weight: 600; transition: background-color .15s; }
.xp-spot__tile:hover .xp-spot__cta { background: var(--gn-accent); }
.xp-spot__media { display: grid; place-items: center; }
.xp-spot__media img { width: 100%; max-height: 240px; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--xp-ease); }
.xp-spot__tile--1 .xp-spot__media img { max-height: 420px; }
.xp-spot__tile:hover .xp-spot__media img { transform: scale(1.04); }

/* Promo: dark stage with an orange glow. */
.gn-promo {
	border-radius: 32px; padding: 52px 56px; isolation: isolate;
	background: radial-gradient(520px 380px at 85% 60%, color-mix(in srgb, var(--gn-accent) 38%, transparent), transparent 70%), radial-gradient(400px 300px at 0% 0%, #2a2a2a, transparent 70%), #0b0b0b;
}
.gn-promo .gn-eyebrow { color: var(--gn-accent); opacity: 1; }
.gn-promo__title { font-weight: 650; letter-spacing: -.03em; }
.gn-promo__text { color: rgba(255, 255, 255, .72); }
.gn-promo .gn-btn--light { color: var(--gn-ink); }
.gn-promo .gn-btn--light:hover { background: var(--gn-accent); color: #fff; }
.gn-promo__media img { max-height: 340px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.gn-countdown__unit { border-radius: 14px; background: rgba(255, 255, 255, .08); }
.xl-promo__upto { display: flex; width: fit-content; align-items: baseline; gap: 8px; margin: -6px 0 24px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; }
.xl-promo__upto strong { color: var(--gn-accent); font-size: 24px; line-height: 1; }
.xl-promo--deals { grid-template-columns: .9fr 1.1fr; }
.xl-deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.xl-deal { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px 12px 16px; border-radius: 22px; background: #fff; color: var(--gn-ink); transition: transform .25s var(--xp-ease); }
.xl-deal:hover { color: var(--gn-ink); transform: translateY(-4px); }
.xl-deal__off { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: var(--gn-accent); color: #fff; font-size: 12px; font-weight: 650; }
.xl-deal__img { display: block; aspect-ratio: 1; margin-bottom: 10px; border-radius: 16px; overflow: hidden; background: var(--xp-stage); }
.xl-deal__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.xl-deal__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.xl-deal__price { margin-top: auto; font-size: 15px; font-weight: 650; }
.xl-deal__price del { display: block; font-size: 12px; font-weight: 400; color: var(--gn-muted); }
.xl-deal__price ins { text-decoration: none; color: var(--gn-accent); }

/* Smart home showcase: pitch and range links beside a bento of flagships. */
.xp-sh { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding: 48px; border-radius: 32px; background: radial-gradient(600px 420px at 0% 0%, #fff, transparent 70%), linear-gradient(135deg, #f7f3ee, #ece5dc); color: var(--gn-ink); }
.xp-sh--solo .xp-sh__media img { max-height: 360px; margin-inline: auto; }
.xp-sh__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--gn-accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.xp-sh__title { margin: 0 0 14px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 650; line-height: 1.05; letter-spacing: -.035em; }
.xp-sh__text { max-width: 440px; margin: 0 0 20px; font-size: 16.5px; line-height: 1.55; color: var(--gn-text); }
.xp-sh__upto { display: flex; width: fit-content; align-items: baseline; gap: 6px; margin: 0 0 24px; padding: 8px 16px; border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .25); }
.xp-sh__upto strong { color: var(--gn-accent); font-size: 22px; line-height: 1; }
.xp-sh .gn-countdown { margin-bottom: 24px; }
.xp-sh__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.xp-sh__links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--gn-ink); font-size: 13.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.xp-sh__links a:hover { background: #fff; color: var(--gn-accent); }
.xp-sh__links svg { color: var(--gn-accent); }

.xp-sh__tiles { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 460px; }
.xp-sh__tiles--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.xp-sh__tiles--2 { grid-template-rows: 1fr; }
.xp-sh__tile { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 18px; border-radius: 24px; background: #fff; color: var(--gn-ink); box-shadow: 0 14px 40px -28px rgba(60, 40, 20, .45); transition: transform .3s var(--xp-ease), box-shadow .3s; }
.xp-sh__tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(60, 40, 20, .5); color: var(--gn-ink); }
.xp-sh__tile--lead { grid-row: 1 / -1; padding: 24px; }
.xp-sh__img { display: grid; flex: 1; min-height: 0; place-items: center; }
.xp-sh__img img { width: 100%; height: 100%; max-height: 150px; object-fit: contain; transition: transform .45s var(--xp-ease); }
.xp-sh__tile--lead .xp-sh__img img { max-height: 300px; }
.xp-sh__tile:hover .xp-sh__img img { transform: scale(1.05); }
.xp-sh__info { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.xp-sh__range { color: var(--gn-accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.xp-sh__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.xp-sh__tile--lead .xp-sh__name { font-size: 19px; letter-spacing: -.01em; }
.xp-sh__price { font-size: 14.5px; font-weight: 650; }
.xp-sh__price del { margin-left: 6px; color: var(--gn-muted); font-size: 12.5px; font-weight: 400; }
.xp-sh__price ins { text-decoration: none; color: var(--gn-accent); }
.xp-sh__off { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; background: var(--gn-accent); color: #fff; font-size: 12px; font-weight: 700; }

/* Phones by budget. */
.gn-budget__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gn-budget__item { justify-content: flex-start; gap: 12px; min-height: 76px; padding: 16px 20px; border: 0; border-radius: 20px; background: var(--xp-stage); font-weight: 600; font-size: 16px; transition: background-color .2s, color .2s; }
.gn-budget__item svg { color: var(--gn-accent); }
.gn-budget__item span { flex: 1; }
.gn-budget__item .gn-budget__go { color: var(--gn-muted); transition: transform .2s, color .2s; }
.gn-budget__item:hover { background: var(--gn-ink); color: #fff; border-color: transparent; }
.gn-budget__item:hover .gn-budget__go { color: #fff; transform: translateX(3px); }
.gn-budget__item--photo { position: relative; flex-direction: column; align-items: stretch; gap: 8px; min-height: 0; padding: 20px 20px 0; overflow: hidden; }
.gn-budget__item--photo span { flex: none; }
.gn-budget__head { display: flex; flex-direction: column; gap: 2px; }
.gn-budget__item--photo .gn-budget__head { padding-right: 28px; }
.gn-budget__label { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.gn-budget__count { color: var(--gn-muted); font-size: 13px; font-weight: 500; transition: color .2s; }
.gn-budget__img { display: block; height: 200px; margin: auto -6px 0; }
.gn-budget__img img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; transform: translateY(14px); transition: transform .4s var(--xp-ease); }
.gn-budget__item--photo .gn-budget__go { position: absolute; top: 22px; right: 18px; }
.gn-budget__item--photo:hover { background: var(--xp-orange-soft); color: var(--gn-ink); }
.gn-budget__item--photo:hover .gn-budget__go { color: var(--gn-accent); }
.gn-budget__item--photo:hover .gn-budget__img img { transform: translateY(4px); }

/* Why buy here: four cards on white. */
.xl-steps { padding-block: 48px; }
.xl-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.xl-steps__item { padding: 28px 24px; border-radius: 24px; background: var(--xp-stage); }
.xl-steps__marker { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: #fff; color: var(--gn-accent); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .3); }
.xl-steps__num { display: none; }
.xl-steps__item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 650; }
.xl-steps__item p { margin: 0; color: var(--gn-muted); font-size: 14px; line-height: 1.55; }

.gn-reviews { background: var(--xp-stage); }
.gn-review { border: 0; border-radius: 24px; }
.gn-review__avatar { background: var(--gn-ink); color: #fff; }
.gn-reviews__score { font-weight: 700; }

/* 6. Product cards ------------------------------------------------------- */
.woocommerce ul.products li.product.gn-card, .woocommerce-page ul.products li.product.gn-card, ul.products li.product.gn-card {
	border: 0; border-radius: 22px; background: #fff; transition: box-shadow .3s, transform .3s var(--xp-ease);
}
.woocommerce ul.products li.product.gn-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .28); }
/* On white sections the card needs a stage of its own. */
.gn-shop__main ul.products li.product.gn-card, .related.products li.product.gn-card, .upsells.products li.product.gn-card, .gn-new li.product.gn-card, .gn-grid li.product.gn-card { background: var(--xp-stage); }
.gn-shop__main .gn-card__media, .related .gn-card__media, .upsells .gn-card__media, .gn-new .gn-card__media, .gn-grid .gn-card__media { background: transparent; }
.gn-card__media { background: #fff; }
.gn-card__img { padding: 18px !important; transition: opacity .25s, transform .4s var(--xp-ease) !important; }
.gn-card:hover .gn-card__img { transform: scale(1.04); }
.gn-card__body { gap: 2px; padding: 4px 18px 18px; text-align: center; align-items: center; }
.gn-card__brand { color: var(--gn-accent); font-size: 11px; font-weight: 650; letter-spacing: .1em; }
.woocommerce ul.products li.product .gn-card__title, .gn-card__title { font-size: 15px; font-weight: 600; text-align: center; min-height: calc(2 * 1.4em); }
.gn-card__rating { min-height: 16px; }
.gn-card__price, .woocommerce ul.products li.product .gn-card__price { justify-content: center; margin: 4px 0 12px; font-size: 16px; font-weight: 650; color: var(--gn-ink); }
.gn-card__price ins { color: var(--gn-accent); }
.gn-card__actions { width: 100%; }
.woocommerce ul.products li.product .gn-card__actions .button, .gn-card__actions .button {
	min-height: 38px; border: 0; border-radius: 999px; background: var(--gn-ink); color: #fff; font-weight: 600; font-size: 13.5px; opacity: .92;
}
.woocommerce ul.products li.product .gn-card__actions .button:hover { background: var(--gn-accent); color: #fff; opacity: 1; }
.woocommerce ul.products li.product .gn-card__actions .button.added { background: var(--gn-accent); color: #fff; }
.gn-card__badges { top: 14px; left: 14px; }
.gn-wish--card { top: 12px; right: 12px; box-shadow: none; background: var(--gn-soft); }
.gn-rail__btn:hover { color: #fff; border-color: var(--gn-accent); background: var(--gn-accent); }

/* 7. Shop & product ------------------------------------------------------ */
.gn-chip { border-radius: 999px; }
.gn-chip.is-active { background: var(--gn-ink); border-color: var(--gn-ink); color: #fff; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 50%; min-width: 42px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--gn-ink); border-color: var(--gn-ink); }

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport { border-radius: 28px; background: var(--xp-stage); }
.woocommerce div.product div.images img { mix-blend-mode: multiply; }
.woocommerce div.product .product_title { font-weight: 650; letter-spacing: -.03em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--gn-ink); }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { color: var(--gn-accent); text-decoration: none; }
.gn-single__brand { color: var(--gn-accent); letter-spacing: .14em; }
.woocommerce div.product form.cart .button { border-radius: 999px; }
.quantity, .gn-wish--inline { border-radius: 999px; }
.gn-swatch { border-radius: 999px; }
.gn-trust li { border-radius: 16px; background: var(--xp-stage); border: 0; }
.gn-trust svg { color: var(--gn-accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--gn-ink); }

/* Specs table shipped in product descriptions. */
.xp-specs { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: 14.5px; }
.xp-specs th, .xp-specs td { padding: 12px 16px; border-bottom: 1px solid var(--gn-line); text-align: left; vertical-align: top; }
.xp-specs th { width: 34%; color: var(--gn-muted); font-weight: 500; }
.xp-specs td { color: var(--gn-ink); font-weight: 500; }
.xp-specs tr:nth-child(odd) { background: var(--xp-stage); }

.wc-block-components-button:not(.is-link), .wp-block-woocommerce-cart .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { border-radius: 999px !important; }
.gn-minicart .woocommerce-mini-cart__buttons .button { border-radius: 999px; }
.gn-freeship__bar span { background: var(--gn-accent); }

/* 8. Drawers & misc ------------------------------------------------------ */
.gn-catmenu__icon, .gn-mnav__icon { border-radius: 50%; background: var(--xp-orange-soft); color: var(--gn-accent); }
.gn-toast { border-radius: 999px; background: var(--gn-ink); }

/* 9. Footer -------------------------------------------------------------- */
.gn-footer { margin-top: 0; background: #0b0b0b; color: rgba(255, 255, 255, .6); }
.xp-promises { background: #fff; border-top: 1px solid var(--gn-line); }
.xp-promises__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0 auto; padding-block: 28px 76px; }
.xp-promises__list li { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gn-ink); }
.xp-promises__list li + li { border-left: 1px solid var(--gn-line); }
.xp-promises__list svg { color: var(--gn-accent); }
.xp-promises__list strong { display: block; font-size: 15px; font-weight: 650; }
.xp-promises__list small { display: block; color: var(--gn-muted); font-size: 13px; }

.xl-help {
	position: relative; top: -44px; margin-bottom: -20px; display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-radius: 26px; color: #fff;
	background: radial-gradient(360px 200px at 100% 100%, #ff9a4d, transparent 70%), var(--gn-accent);
	box-shadow: 0 24px 44px -24px color-mix(in srgb, var(--gn-accent) 90%, transparent);
}
.xl-help__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.xl-help__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.xl-help__text strong { font-size: 19px; font-weight: 650; }
.xl-help__text span { opacity: .92; }
.gn-footer .xl-help .gn-btn { flex: none; color: var(--gn-ink); }
.gn-footer .xl-help .gn-btn:hover { color: var(--gn-accent); }

.gn-footer__grid { padding-top: 24px; }
.gn-footer__logo { display: inline-block; line-height: 0; }
.gn-footer__logo img { width: auto; height: 44px; }
.gn-footer__title { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gn-footer a { color: rgba(255, 255, 255, .62); }
.gn-footer a:hover { color: var(--gn-accent); }
.gn-contact svg { color: var(--gn-accent); }
.gn-social a { border-radius: 50%; }
.gn-social a:hover { background: var(--gn-accent); }

/* 10. Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
	.gn-cats__grid { grid-template-columns: none; grid-auto-columns: 112px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
	.gn-cats__grid::-webkit-scrollbar { display: none; }
	.xp-mega__products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.xp-mega__products li:nth-child(6) { display: none; }
	.gn-nav .gn-menu > li > a { padding-inline: 10px; font-size: 14px; }
}

@media (max-width: 1023px) {
	.xp-series__card { min-height: 320px; padding: 24px; }
	.xp-series__body .xp-logo__name { font-size: 26px; }
	.xp-series__more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xp-spot__grid--4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.xp-spot__grid--4 .xp-spot__tile--1 { grid-row: auto; grid-column: 1 / -1; }
	.xp-spot__grid--4 .xp-spot__tile--2 { grid-column: auto; }
	.xp-spot__tile--1 { grid-template-columns: 1fr 1fr; grid-template-rows: none; align-items: center; }
	.xl-steps__list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 959px) {
	:root { --gn-header-h: 60px; }
	.gn-section { padding-block: 30px; }
	.xp-logo__word { gap: 3px; font-size: 10.5px; }
	.xp-logo__word strong { font-size: 17px; }
	.xp-logo .xp-mark { width: 34px; height: 34px; }
	.gn-search { height: 42px; }

	.xp-slide { min-height: 0; align-items: stretch; }
	.xp-slide__inner { grid-template-columns: 1fr; gap: 4px; padding-block: 32px 84px; text-align: center; }
	.xp-slide__content { display: flex; flex-direction: column; align-items: center; }
	.xp-slide__eyebrow { margin-bottom: 8px; font-size: 13.5px; }
	.xp-slide__title { margin-bottom: 10px; font-size: clamp(32px, 9vw, 44px); }
	.xp-slide__text { margin-bottom: 8px; font-size: 15px; }
	.xp-slide__price { margin-bottom: 18px; font-size: 16px; }
	.xp-slide__actions { justify-content: center; gap: 16px; }
	.xp-slide__media { order: 2; margin-top: 12px; }
	.xp-slide__media img { max-height: 280px; }
	.xp-hero__controls { bottom: 18px; }

	.gn-cats__grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; }
	.gn-cats .gn-section__head { justify-content: flex-start; text-align: left; }
	.gn-cat { padding: 4px 0 8px; }
	.gn-cat__media, .gn-cat__media--photo { width: 84px; height: 84px; }
	.gn-cat__media--photo img { padding: 10px; }
	.gn-cat__name { font-size: 12.5px; }

	.xp-series__grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
	.xp-series__grid::-webkit-scrollbar { display: none; }
	.xp-series__card { min-height: 300px; scroll-snap-align: start; border-radius: 24px; }
	.xp-series__body { max-width: 68%; }
	.xp-series__body .xp-logo__img { height: 28px; }
	.xp-series__body .xp-logo--mark .xp-logo__img { width: 36px; height: 36px; }
	.xp-series__body .xp-logo--poco .xp-logo__img { height: 32px; }
	.xp-series__more { gap: 10px; margin-top: 12px; }
	.xp-brand { gap: 16px; padding: 16px; border-radius: 20px; }
	.xp-brand__go { top: 16px; right: 16px; width: 28px; height: 28px; }
	.xp-brand .xp-logo__name { font-size: 19px; }
	.xp-brand__meta { font-size: 12.5px; }
	.xp-brand__tagline { display: none; }
	.xp-series__tagline { font-size: 14.5px; }
	.xp-series__text { font-size: 13px; }
	.xp-series__media { width: 46%; bottom: -60px; }

	.gn-tabs { width: 100%; background: #fff; }
	.gn-tab { padding: 8px 12px; font-size: 13.5px; }

	.xp-spot__grid, .xp-spot__grid--3, .xp-spot__grid--4 { grid-template-columns: 1fr; }
	.xp-spot__grid .xp-spot__tile--1 { grid-row: auto; grid-column: auto; }
	.xp-spot__tile, .xp-spot__tile--1 { grid-template-columns: 1.1fr .9fr; padding: 20px; border-radius: 22px; }
	.xp-spot__name, .xp-spot__tile--1 .xp-spot__name { font-size: 19px; }
	.xp-spot__text { display: none; }
	.xp-spot__media img, .xp-spot__tile--1 .xp-spot__media img { max-height: 150px; }

	.gn-promo { padding: 28px 22px; border-radius: 24px; }
	.xp-sh { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; border-radius: 24px; }
	.xp-sh__tiles { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
	.xp-sh__tile--lead { grid-row: auto; grid-column: 1 / -1; }
	.xp-sh__tile { padding: 14px; border-radius: 18px; }
	.xp-sh__img img { max-height: 110px; }
	.xp-sh__tile--lead .xp-sh__img img { max-height: 200px; }
	.xp-sh__tile--lead .xp-sh__name { font-size: 16px; }
	.xp-sh__name { font-size: 13px; }
	.xp-sh__links { margin-top: 20px; }
	.xl-promo--deals { grid-template-columns: 1fr; }
	.xl-deals { gap: 8px; }
	.xl-deal { padding: 8px 8px 10px; border-radius: 16px; }
	.xl-deal__name { font-size: 12px; }
	.xl-deal__price { font-size: 13px; }

	.gn-budget__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.gn-budget__item { min-height: 60px; padding: 12px 14px; font-size: 14px; border-radius: 16px; }
	.gn-budget__item .gn-budget__go { display: none; }
	.gn-budget__item--photo { padding: 14px 14px 0; }
	.gn-budget__label { font-size: 14.5px; }
	.gn-budget__count { font-size: 12px; }
	.gn-budget__img { height: 120px; }

	.xl-steps { padding-block: 32px; }
	.xl-steps__list { gap: 10px; }
	.xl-steps__item { padding: 18px 16px; border-radius: 20px; }
	.xl-steps__marker { width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px; }
	.xl-steps__item h3 { font-size: 15px; }
	.xl-steps__item p { font-size: 13px; }

	.gn-card__body { padding: 2px 12px 14px; }
	.gn-card__img { padding: 10px !important; }

	.xp-promises__list { grid-template-columns: 1fr 1fr; gap: 18px 0; padding-block: 22px 64px; }
	.xp-promises__list li { justify-content: flex-start; padding-inline: 8px; }
	.xp-promises__list li + li { border-left: 0; }
	.xp-promises__list strong { font-size: 13.5px; }
	.xp-promises__list small { font-size: 12px; }
	.xl-help { flex-wrap: wrap; top: -36px; padding: 18px; gap: 12px; }
	.xl-help__icon { width: 44px; height: 44px; }
	.xl-help__text { flex-basis: calc(100% - 60px); }
	.xl-help__text strong { font-size: 16px; }
	.xl-help__text span { font-size: 13.5px; }
	.gn-footer .xl-help .gn-btn { width: 100%; }

	/* Tab bar floats as a rounded pill above the bottom edge. */
	body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
	.gn-tabbar { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding-bottom: 0; border: 0; border-radius: 22px; box-shadow: 0 0 0 1px var(--gn-line), 0 14px 30px -12px rgba(0, 0, 0, .3); }
	.gn-tabbar > a, .gn-tabbar > button { height: 58px; }
	.gn-wa { bottom: calc(84px + env(safe-area-inset-bottom)); }
	.gn-toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
	.woocommerce ul.products li.product .gn-card__title, .gn-card__title { font-size: 13.5px; }
	.xp-slide__actions .gn-btn { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.xp-slide__media img, .xp-slide__content > * { transform: none !important; opacity: 1 !important; }
	.xp-hero__dot span { transform: scaleX(1); }
}
