/* ==========================================================================
   REZISTANCE X - Shop + product category pages, tablet + mobile layout
   Desktop (>= 1200px) is not changed. Same tokens and product-card system
   as homepage-responsive.css: gutter 40 / 32 / 20, image 4:5, card type
   12/15/11/14 (tablet) and 11/14/11/14 (mobile).
   Selectors carry :not(#rx-x) so they outrank the theme's #rx-force-* rules.
   ========================================================================== */

@media (max-width: 1199px) { .rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) { --rx-g: 40px; --rx-sec: 88px; --rx-h2: 26px; --rx-h2-ls: .18em; } }
@media (max-width: 1023px) { .rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) { --rx-g: 32px; --rx-sec: 80px; --rx-h2: 24px; } }
@media (max-width: 767px)  { .rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) { --rx-g: 20px; --rx-sec: 64px; --rx-h2: 20px; --rx-h2-ls: .16em; } }

@media (max-width: 1199px) {
	/* Header */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-header { padding-left: var(--rx-g) !important; padding-right: var(--rx-g) !important; }

	/* Hero copy */
	html:root body.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero h1 { font-size: 32px !important; letter-spacing: .15em !important; line-height: 1.2 !important; font-weight: 300 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__description p { font-size: 15px !important; line-height: 1.6 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__slogan,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__slogan span { font-size: 15px !important; line-height: 1.7 !important; }

	/* Breadcrumb bar, collection tabs, sort: one gutter */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-context-bar,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-product-archive { margin-left: var(--rx-g) !important; margin-right: var(--rx-g) !important; width: auto !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-context-bar__inner { min-height: 56px !important; height: auto !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-breadcrumb { position: static !important; font-size: 12px !important; letter-spacing: .06em !important; }
	/* Tabs: swipe strip (archive-responsive.js lets Swiper use these widths) */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories { display: block !important; position: relative !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories > button { display: none !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories__track { width: 100% !important; margin: 0 !important; padding: 0 !important; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent) !important; mask-image: linear-gradient(90deg, #000 88%, transparent) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories__track .swiper-slide { width: auto !important; flex: 0 0 auto !important; padding: 0 !important; font-size: 13px !important; letter-spacing: .14em !important; min-height: 56px !important; height: 56px !important; display: inline-flex !important; align-items: center !important; white-space: nowrap !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-toolbar { min-height: 64px !important; height: auto !important; padding: 10px 0 !important; display: flex !important; justify-content: flex-end !important; align-items: center !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-sort-trigger { min-height: 44px !important; }

	/* Product grid + cards (homepage card system) */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 !important; width: 100% !important; margin: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card { border: 0 !important; box-shadow: inset -1px 0 0 #e2e2e2, inset 0 -1px 0 #e2e2e2 !important; width: auto !important; height: auto !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__image { position: relative !important; display: block !important; flex: 0 0 auto !important; aspect-ratio: 4 / 5 !important; height: auto !important; min-height: 0 !important; max-height: none !important; background: #fff !important; overflow: hidden !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__image img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain !important; object-position: center !important; transform: none !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__copy { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; padding: 14px 14px 16px !important; height: auto !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__category { font-size: 12px !important; margin: 0 0 6px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__model,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__model a { font-size: 15px !important; letter-spacing: .1em !important; line-height: 1.3 !important; margin: 0 0 6px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__model a { margin: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__color { font-size: 11px !important; letter-spacing: .14em !important; line-height: 1.45 !important; min-height: 2.9em !important; margin: 0 0 8px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__price { font-size: 14px !important; margin-top: auto !important; }

	/* Statement + more collections (homepage tile look) */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-slogan { padding: var(--rx-sec) var(--rx-g) 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-slogan__copy { font-size: 18px !important; letter-spacing: .3em !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections { padding-top: 56px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-heading { padding: 0 var(--rx-g) !important; margin-bottom: 40px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-heading h2 { font-size: var(--rx-h2) !important; letter-spacing: var(--rx-h2-ls) !important; line-height: 1.3 !important; margin: 0 0 10px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-heading p { font-size: 15px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-shell { padding: 0 var(--rx-g) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-nav { display: none !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-track { width: 100% !important; margin: 0 !important; left: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-card { aspect-ratio: 3 / 4 !important; height: auto !important; flex: 0 0 auto !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-card h3 { font-size: 15px !important; letter-spacing: .14em !important; }

	/* Footer gutter (as homepage) */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-grid,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-bottom { padding-left: var(--rx-g) !important; padding-right: var(--rx-g) !important; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-card.swiper-slide { width: calc((100vw - 2 * var(--rx-g) - 32px) / 3) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-grid { display: grid !important; grid-template-columns: 1.4fr repeat(4, 1fr) !important; gap: 32px !important; }
}

@media (max-width: 1023px) {
	/* Hero: full banner at its true ratio, copy below - no crop */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width] {
		display: block !important; aspect-ratio: auto !important; height: auto !important; min-height: 0 !important;
		padding: calc(100% / (var(--rx-archive-hero-ratio)) + 40px) var(--rx-g) 24px !important;
		background-color: #000 !important; background-size: 100% auto !important; background-position: center top !important; background-repeat: no-repeat !important;
	}
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width]::before { height: calc(100vw / (var(--rx-archive-hero-ratio))) !important; bottom: auto !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width] .rx-archive-hero__copy { position: static !important; top: auto !important; left: auto !important; right: auto !important; transform: none !important; width: 100% !important; max-width: 640px !important; margin: 0 !important; padding: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero h1 { margin: 0 0 16px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__description { margin: 0 0 16px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__description p { margin: 0 0 8px !important; }

	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-card.swiper-slide { width: calc((100vw - 2 * var(--rx-g) - 32px) / 2.25) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 48px 32px !important; padding-top: 64px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-brand { grid-column: 1 / -1 !important; width: auto !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-bottom { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center !important; gap: 24px !important; padding-top: 24px !important; padding-bottom: 24px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-bottom > * { margin: 0 !important; }
}

@media (max-width: 767px) {
	/* Header */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-header { padding-top: 12px !important; padding-bottom: 12px !important; --rx-header: 72px !important; min-height: 72px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-header-brand__image,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-header-brand__image img { width: 40px !important; height: 40px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-header-brand p,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-header-brand p a { font-size: 11px !important; }

	/* Hero */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width] { padding-top: calc(100% / (var(--rx-archive-hero-ratio)) + 28px) !important; padding-bottom: 16px !important; }
	html:root body.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero h1 { font-size: 26px !important; letter-spacing: .14em !important; margin-bottom: 14px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__description p { font-size: 14px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__slogan,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-hero__slogan span { font-size: 14px !important; }

	/* Navigation */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-history { display: none !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-context-bar__inner { min-height: 44px !important; justify-content: flex-start !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories__track .swiper-slide { font-size: 12px !important; height: 52px !important; min-height: 52px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-toolbar { min-height: 60px !important; }

	/* Two product columns */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__copy { padding: 12px 12px 14px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__category { font-size: 11px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__model,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-product-card__model a { font-size: 14px !important; letter-spacing: .12em !important; }

	/* Statement + more collections */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-slogan__copy { font-size: 15px !important; letter-spacing: .26em !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-card.swiper-slide { width: calc((100vw - var(--rx-g) - 20px) / 1.45) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-shell { padding-right: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-card h3 { font-size: 12px !important; }

	/* Footer accordion (as homepage; homepage-responsive.js toggles .is-open) */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-grid { display: block !important; padding-top: 56px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-brand { width: 100% !important; max-width: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; margin-bottom: 40px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-brand > * { margin-left: auto !important; margin-right: auto !important; max-width: 300px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-brand figure img { width: 72px !important; height: 72px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-brand .rx-footer-social { justify-content: center !important; max-width: none !important; width: auto !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-column { width: auto !important; border-top: 1px solid rgba(255,255,255,.14) !important; margin: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-column:last-child { border-bottom: 1px solid rgba(255,255,255,.14) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-column h3 { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; min-height: 44px !important; margin: 0 !important; padding: 20px 0 !important; cursor: pointer !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-column h3::after { content: "+"; font-size: 18px; font-weight: 300; letter-spacing: 0; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-column nav { display: none !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-column.is-open h3::after { content: "\2013"; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-column.is-open nav { display: block !important; padding-bottom: 20px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 6px !important; padding-top: 28px !important; padding-bottom: 96px !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-site-footer .rx-footer-credits { justify-content: center !important; }

	/* WhatsApp button */
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-whatsapp-float { right: 16px !important; bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-whatsapp-float__icon { width: 48px !important; height: 48px !important; }
}

/* Search results: the hero is a portrait product photo; show it whole (no taller than 60% of the screen) with the copy below */
@media (max-width: 1199px) {
	.rezistancex-site.search:not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width] { display: block !important; aspect-ratio: auto !important; height: auto !important; min-height: 0 !important; padding: calc(min(100vw / (var(--rx-archive-hero-ratio)), 60vh) + 40px) var(--rx-g) 24px !important; background-color: #000 !important; background-size: auto min(100vw / (var(--rx-archive-hero-ratio)), 60vh) !important; background-position: center top !important; background-repeat: no-repeat !important; }
	.rezistancex-site.search:not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width]::before { height: min(100vw / (var(--rx-archive-hero-ratio)), 60vh) !important; bottom: auto !important; }
	.rezistancex-site.search:not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width] .rx-archive-hero__copy { position: static !important; top: auto !important; left: auto !important; right: auto !important; transform: none !important; width: 100% !important; max-width: 640px !important; margin: 0 !important; padding: 0 !important; }
}
@media (max-width: 767px) {
	.rezistancex-site.search:not(#rx-x) .rx-product-archive-page .rx-archive-hero[data-rx-hero-width] { padding-top: calc(min(100vw / (var(--rx-archive-hero-ratio)), 60vh) + 28px) !important; padding-bottom: 16px !important; }
}

/* Breadcrumb starts on the left gutter like the rest of the copy; the tab
   strip is only as tall as its tabs so the space above and below is equal
   (3px top offsets the caps-only labels + active underline). Phone: the
   next collection card peeks ~64px instead of ~126px. */
@media (max-width: 1199px) {
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-breadcrumb { flex: 1 1 auto !important; max-width: none !important; justify-content: flex-start !important; text-align: left !important; margin: 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories { height: auto !important; min-height: 0 !important; padding: 3px 0 0 !important; }
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories__track,
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-categories__track .swiper-wrapper { height: auto !important; min-height: 0 !important; }
}
@media (max-width: 767px) {
	.rezistancex-site:is(.tax-product_cat,.post-type-archive-product,.search):not(#rx-x) .rx-archive-collections .rx-collection-card.swiper-slide { width: calc((100vw - var(--rx-g)) / 2 + (100vw - 2 * var(--rx-g)) / 2.9) !important; }
}

/* RX atelier keeps its own editorial layout (desktop: 2 white cards per row,
   slogan rows between them, side story). Tablet keeps 2 columns at desktop
   proportions (image 538:410), phone stacks 1 column. */
@media (max-width: 1199px) {
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell { width: 100% !important; max-width: none !important; margin: 0 !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell > .rx-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: clamp(32px, 7vw, 80px) !important; row-gap: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card { background: #fff !important; box-shadow: none !important; margin: 0 0 40px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card__image { aspect-ratio: 538 / 410 !important; height: auto !important; max-height: none !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card__image img { height: 100% !important; max-height: none !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card__copy { padding: 12px 14px 18px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card__category { font-size: 12px !important; margin: 0 0 8px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell :is(.rx-archive-product-card__model, .rx-archive-product-card__model a) { font-size: 17px !important; letter-spacing: .15em !important; line-height: 1.25 !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card__color { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .18em !important; margin: 7px 0 8px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card__price { font-size: 15px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-row-intro--logo { height: 120px !important; margin-bottom: 45px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-row-intro--slogan { min-height: 0 !important; margin: 5px 0 40px !important; font-size: 20px !important; letter-spacing: .2em !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-closing-logo { width: 100% !important; }
}

@media (max-width: 767px) {
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell > .rx-archive-grid { grid-template-columns: minmax(0, 1fr) !important; column-gap: 0 !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card { margin-bottom: 32px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell :is(.rx-archive-product-card__model, .rx-archive-product-card__model a) { font-size: 16px !important; letter-spacing: .14em !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-editorial-shell .rx-archive-product-card__color { font-size: 11px !important; letter-spacing: .16em !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-row-intro--logo { height: 100px !important; margin-bottom: 36px !important; }
	.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-atelier-row-intro--slogan { margin: 4px 0 32px !important; font-size: 16px !important; letter-spacing: .16em !important; line-height: 1.4 !important; }
	html:root body.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-product-archive-page .rx-atelier-side-story .rx-atelier-side-story__rx { font-size: 30px !important; }
	html:root body.rezistancex-site.tax-product_cat.term-rx-atelier:not(#rx-x) .rx-product-archive-page .rx-atelier-side-story :is(.rx-atelier-side-story__atelier, .rx-atelier-side-story__copy) { font-size: 26px !important; letter-spacing: .14em !important; }
}

/* ==========================================================================
   Every other page (manifesto, about, follow, stickers, support, FAQs,
   legal, product, cart, checkout, account): same gutters, header, footer
   and type scale as the homepage and collection pages. Desktop unchanged.
   ========================================================================== */

@media (max-width: 1199px) { html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) { --rx-g: 40px; --rx-h1: 32px; --rx-h1-ls: .15em; --rx-h2: 26px; --rx-h2-ls: .18em; --rx-h3: 22px; --rx-hdr: 112px; } }
@media (max-width: 1023px) { html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) { --rx-g: 32px; --rx-h2: 24px; } }
@media (max-width: 767px)  { html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) { --rx-g: 20px; --rx-h1: 26px; --rx-h1-ls: .14em; --rx-h2: 20px; --rx-h2-ls: .16em; --rx-h3: 18px; --rx-hdr: 88px; } }

@media (max-width: 1199px) {
	/* Header + footer gutters (as homepage) */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-header { padding-left: var(--rx-g) !important; padding-right: var(--rx-g) !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-grid,
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-bottom { padding-left: var(--rx-g) !important; padding-right: var(--rx-g) !important; }

	/* Cart, checkout, account: same side gutter as every page */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) main.rx-inner-page { padding-left: var(--rx-g) !important; padding-right: var(--rx-g) !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .wc-block-components-express-payment__title { font-size: 13px !important; letter-spacing: .14em !important; line-height: 1.4 !important; }

	/* 404: content starts below the fixed header, on the site gutter */
	html:root body.rezistancex-site.error404:not(#rx-x) main { padding: calc(var(--rx-hdr) + 24px) var(--rx-g) 64px !important; }
	html:root body.rezistancex-site.error404:not(#rx-x) main h1 { font-size: var(--rx-h1) !important; line-height: 1.2 !important; margin-bottom: 12px !important; }

	/* Journal: cover banner at its own ratio (1846:685) with the copy below it */
	html:root body.rezistancex-site.page-id-1134:not(#rx-x) .entry-content > .wp-block-group.alignfull:first-child { padding: calc(100% * 685 / 1846) 0 0 !important; background-color: #000 !important; background-size: 100% auto !important; background-position: center top !important; background-repeat: no-repeat !important; }
	html:root body.rezistancex-site.page-id-1134:not(#rx-x) .entry-content > .wp-block-group.alignfull:first-child .wp-block-column { padding: 28px 0 8px !important; }
	html:root body.rezistancex-site.page-id-1134:not(#rx-x) .entry-content > .wp-block-group.alignfull:first-child p { max-width: 560px !important; margin-left: auto !important; margin-right: auto !important; }

	/* Page titles + section headings */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .wp-block-post-title { font-size: var(--rx-h1) !important; letter-spacing: var(--rx-h1-ls) !important; line-height: 1.2 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) main h2:is(.wp-block-heading, .wc-block-components-title, .wc-block-cart__totals-title, .wc-block-components-checkout-step__title):not(.rx-faq-question, .wc-block-components-express-payment__title) { font-size: var(--rx-h2) !important; letter-spacing: var(--rx-h2-ls) !important; line-height: 1.3 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-policy__lead { font-size: 19px !important; line-height: 1.55 !important; }

	/* Join the Rezistance: hero photo at its own ratio (16:9) under the header, copy below it */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-hero { display: block !important; min-height: 0 !important; height: auto !important; padding: calc(var(--rx-hdr) + 100vw * 720 / 1280 + 40px) var(--rx-g) 56px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-hero__image { position: absolute !important; top: var(--rx-hdr) !important; left: 0 !important; right: auto !important; bottom: auto !important; width: 100% !important; height: calc(100vw * 720 / 1280) !important; object-fit: cover !important; object-position: center !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-hero::after { content: none !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-hero__content { position: relative !important; inset: auto !important; transform: none !important; width: auto !important; max-width: 720px !important; margin: 0 !important; padding: 0 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) :is(.rx-mp-intro, .rx-mp-quiz, .rx-mp-verdict__content, .rx-mp-signup) { padding-left: var(--rx-g) !important; padding-right: var(--rx-g) !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-hero h1 { font-size: var(--rx-h1) !important; letter-spacing: var(--rx-h1-ls) !important; line-height: 1.25 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-quiz__header h2 { font-size: var(--rx-h2) !important; letter-spacing: var(--rx-h2-ls) !important; line-height: 1.3 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-question h3 { font-size: var(--rx-h3) !important; letter-spacing: .12em !important; line-height: 1.35 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-verdict h2 { font-size: var(--rx-h2) !important; line-height: 1.3 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-verdict img { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; }

	/* Stickers: hero photo uncropped, headings on the shared scale */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page .rx-signals-hero { grid-template-columns: minmax(0, 1fr) !important; height: auto !important; min-height: 0 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-signals-hero__media { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-signals-hero__media img { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page .rx-signals-hero__slogan { font-size: 20px !important; letter-spacing: .2em !important; line-height: 1.4 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page .rx-signals-anchor-nav { padding: 0 var(--rx-g) !important; gap: 24px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page .rx-signals-anchor-nav a { white-space: nowrap !important; font-size: 13px !important; letter-spacing: .14em !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page h1 { font-size: var(--rx-h1) !important; letter-spacing: var(--rx-h1-ls) !important; line-height: 1.2 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-signals-page h2 { font-size: var(--rx-h2) !important; letter-spacing: var(--rx-h2-ls) !important; line-height: 1.3 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-signals-page h3:not(.rx-collection-card__name) { font-size: calc(var(--rx-h3) - 2px) !important; letter-spacing: .14em !important; line-height: 1.3 !important; }

	/* Product page: title + headings on the shared scale, related row = homepage cards */
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product h1,
	html:root body.rezistancex-site.single-product:not(#rx-x) #wp--skip-link--target .rx-single-product .rx-single-product__summary > h1 { font-size: var(--rx-h1) !important; letter-spacing: var(--rx-h1-ls) !important; line-height: 1.2 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__summary .variations_form { display: block !important; }
	/* Short option sets (sizes) share the row; long sets (designs) keep the desktop swipe row */
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-option-buttons:not(:has(> :nth-child(6))) { max-width: 420px !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-option-buttons:not(:has(> :nth-child(6))) > * { flex: 1 1 0 !important; min-width: 0 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__summary .rx-product-colors { grid-template-columns: minmax(0, 1fr) !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-context-bar { width: auto !important; max-width: none !important; margin-left: var(--rx-g) !important; margin-right: var(--rx-g) !important; }
	/* Breadcrumb on the left, as on the collection pages */
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-context-bar__inner { justify-content: flex-start !important; gap: 16px !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) :is(.rx-product-breadcrumb, .rx-product-breadcrumb ol) { flex: 1 1 auto !important; max-width: none !important; justify-content: flex-start !important; text-align: left !important; margin: 0 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-breadcrumb { min-width: 0 !important; overflow: hidden !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-breadcrumb ol { flex-wrap: nowrap !important; min-width: 0 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-breadcrumb li { flex: 0 0 auto !important; white-space: nowrap !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-breadcrumb li[aria-current] { flex: 0 1 auto !important; min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; }
	/* Summary reads like desktop: left column (collection, title, colour), then the quote beside it, then the purchase rows */
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__summary { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__summary > * { order: 0; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__summary > .rx-product-editorial-quote { order: 1 !important; margin: 28px 0 0 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__summary > .variations_form { order: 2 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__summary > .rx-product-assurances { order: 3 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__top { width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: var(--rx-g) !important; padding-right: var(--rx-g) !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) :is(.rx-product-description, .rx-product-slogan) { width: auto !important; max-width: none !important; margin-left: var(--rx-g) !important; margin-right: var(--rx-g) !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-color-name { font-size: 19px !important; letter-spacing: .18em !important; line-height: 1.35 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) :is(.rx-product-description, .rx-single-related) h2 { font-size: var(--rx-h2) !important; letter-spacing: var(--rx-h2-ls) !important; line-height: 1.3 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-slogan p { font-size: 20px !important; letter-spacing: .18em !important; line-height: 1.45 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-editorial-quote { font-size: 18px !important; line-height: 1.5 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related { padding: 0 var(--rx-g) !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-carousel { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-carousel__controls { display: none !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card { height: auto !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related :is(.rx-product-track, .swiper-wrapper) { height: auto !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__image { aspect-ratio: 4 / 5 !important; height: auto !important; background: #fff !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__image img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: center !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__copy { padding: 14px 14px 16px !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__category { font-size: 12px !important; margin: 0 0 6px !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__model { font-size: 15px !important; letter-spacing: .1em !important; margin: 0 0 6px !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__model a { font-size: inherit !important; letter-spacing: inherit !important; line-height: inherit !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__color { font-size: 11px !important; letter-spacing: .14em !important; line-height: 1.45 !important; min-height: 2.9em !important; margin: 0 0 8px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__price { font-size: 14px !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-track .rx-product-card.swiper-slide { width: calc((100vw - 2 * var(--rx-g) - 4px) / 3.25) !important; flex: 0 0 auto !important; }
}

@media (min-width: 768px) and (max-width: 1199px) {
	/* Product page: desktop arrangement (thumbnail column, image, details beside it), gallery sized by its column */
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__top { display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important; column-gap: 40px !important; align-items: start !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-gallery { display: grid !important; grid-template-columns: 72px minmax(0, 1fr) !important; grid-template-rows: auto !important; column-gap: 12px !important; width: auto !important; max-width: none !important; height: auto !important; align-items: start !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-gallery__viewer { grid-column: 2 !important; grid-row: 1 !important; width: 100% !important; min-width: 0 !important; height: auto !important; max-height: none !important; aspect-ratio: 675 / 1200 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-gallery__viewer > img { width: 100% !important; height: 100% !important; max-height: none !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-thumbnails { grid-column: 1 !important; grid-row: 1 !important; width: auto !important; height: 0 !important; min-height: 100% !important; margin: 0 !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-thumbnails__track { display: flex !important; flex-direction: column !important; gap: 12px !important; height: 100% !important; overflow-x: hidden !important; overflow-y: auto !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-thumbnails__track > * { width: 100% !important; height: auto !important; flex: 0 0 auto !important; aspect-ratio: 675 / 1200 !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-product__top { column-gap: 32px !important; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-grid { display: grid !important; grid-template-columns: 1.4fr repeat(4, 1fr) !important; gap: 32px !important; }
}

@media (max-width: 1023px) {
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 48px 32px !important; padding-top: 64px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-brand { grid-column: 1 / -1 !important; width: auto !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-bottom { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center !important; gap: 24px !important; padding-top: 24px !important; padding-bottom: 24px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-bottom > * { margin: 0 !important; }
}

@media (max-width: 767px) {
	/* Header (as homepage) */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-header { padding-top: 12px !important; padding-bottom: 12px !important; --rx-header: 72px !important; min-height: 72px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-header-brand__image,
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-header-brand__image img { width: 40px !important; height: 40px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-header-brand p,
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-header-brand p a { font-size: 11px !important; }

	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-policy__lead { font-size: 17px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-collection-card__unit { font-size: 11px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-about-log__visual--timer span { font-size: 11px !important; letter-spacing: .08em !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page .rx-signals-hero__slogan { font-size: 17px !important; letter-spacing: .16em !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page .rx-signals-anchor-nav { gap: 8px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) #main-content.rx-signals-page .rx-signals-anchor-nav a { font-size: 12px !important; padding: 0 8px !important; }

	/* Join: intro label above the copy */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-intro { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-mp-hero { padding-top: calc(var(--rx-hdr) + 100vw * 720 / 1280 + 32px) !important; padding-bottom: 48px !important; }

	/* Product page */
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-slogan p { font-size: 16px !important; letter-spacing: .16em !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-color-name { font-size: 16px !important; letter-spacing: .16em !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-context-bar .rx-archive-history { display: none !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-gallery__viewer { margin-left: auto !important; margin-right: auto !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-thumbnails__track { justify-content: safe center !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-editorial-quote { font-size: 17px !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-product-description :is(p, .rx-product-origin-note) { text-align: left !important; hyphens: none !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related h2 { padding-right: var(--rx-g) !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related { padding: 0 0 0 var(--rx-g) !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-track .rx-product-card.swiper-slide { width: calc((100vw - var(--rx-g)) / 1.65) !important; }
	html:root body.rezistancex-site.single-product:not(#rx-x) .rx-single-related .rx-product-card__model { font-size: 14px !important; letter-spacing: .12em !important; }

	/* Footer accordion (as homepage; homepage-responsive.js toggles .is-open) */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-grid { display: block !important; padding-top: 56px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-brand { width: 100% !important; max-width: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; margin-bottom: 40px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-brand > * { margin-left: auto !important; margin-right: auto !important; max-width: 300px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-brand figure img { width: 72px !important; height: 72px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-brand .rx-footer-social { justify-content: center !important; max-width: none !important; width: auto !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-column { width: auto !important; border-top: 1px solid rgba(255,255,255,.14) !important; margin: 0 !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-column:last-child { border-bottom: 1px solid rgba(255,255,255,.14) !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-column h3 { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; min-height: 44px !important; margin: 0 !important; padding: 20px 0 !important; cursor: pointer !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-column h3::after { content: "+"; font-size: 18px; font-weight: 300; letter-spacing: 0; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-column nav { display: none !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-column.is-open h3::after { content: "\2013"; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-column.is-open nav { display: block !important; padding-bottom: 20px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 6px !important; padding-top: 28px !important; padding-bottom: 96px !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-site-footer .rx-footer-credits { justify-content: center !important; }

	/* WhatsApp button */
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-whatsapp-float { right: 16px !important; bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-whatsapp-float__icon { width: 48px !important; height: 48px !important; }
}

/* Stickers: while the selection bar is up, the WhatsApp button sits above it instead of covering "Add signals to cart" */
@media (max-width: 1199px) {
	html:root body.rezistancex-site.rx-signals-page-body:has(.rx-signals-selection.is-visible):not(.home):not(.search):not(#rx-x) .rx-whatsapp-float { bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important; }
	html:root body.rezistancex-site:not(#rx-x) .rx-signals-selection > div > span { font-size: 10px !important; letter-spacing: .08em !important; line-height: 1.3 !important; }
}
@media (max-width: 767px) {
	html:root body.rezistancex-site.rx-signals-page-body:has(.rx-signals-selection.is-visible):not(.home):not(.search):not(#rx-x) .rx-whatsapp-float { bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important; }
	html:root body.rezistancex-site:not(.home):not(.tax-product_cat):not(.post-type-archive-product):not(.search):not(#rx-x) .rx-collection-card__badge { font-size: 11px !important; }
}
