/* ==========================================================================
   GUESS — catalogue (cards / PLP / PDP / search / 404)
   Geometry from recon: recon/raw/capture-plp-shirts.json (+ screenshots)
     • page edges 80px at 1440 → 1280 content
     • PLP grid: 4 × 290px columns, 40px column gap
     • card image 2:3 (290×435), title 16/20, price 14/18
     • discount badge + sale price blue #336bcc, struck price #999
   Depends on tokens from base.css; every var() has a safe fallback.
   ========================================================================== */

.gs-main {
	font-family: var(--gs-font-ui, 'Urbanist', 'Helvetica Neue', Arial, sans-serif);
	color: var(--gs-ink, #1d1d1d);
	background: var(--gs-white, #fff);
}

.gs-main .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

.gs-page-width {
	--gs-edge: clamp(20px, 5.5vw, 80px);
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--gs-container, 1280px) + 160px);
	margin-inline: auto;
	padding-inline: var(--gs-edge);
}

.gs-plp-page,
.gs-pdp-page,
.gs-search-page,
.gs-404-page {
	padding-bottom: clamp(48px, 6vw, 96px);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.gs-breadcrumb {
	margin: 40px 0 12px;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 12px;
	font-weight: 400;
	line-height: 14px;
	letter-spacing: 0.7px;
	color: #333333;
}

.gs-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gs-breadcrumb__item {
	display: inline-flex;
	align-items: center;
}

.gs-breadcrumb__item:not(:last-child)::after {
	content: '/';
	padding: 0 6px;
	color: #333333;
}

.gs-breadcrumb__link {
	color: inherit;
	text-decoration: none;
}

.gs-breadcrumb__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gs-breadcrumb__current {
	color: #333333;
}

/* PDP breadcrumb: leading slash, no brand crumb. */
.gs-breadcrumb--pdp .gs-breadcrumb__item:first-child::before {
	content: '/';
	padding-right: 8px;
	color: var(--gs-grey, #767676);
}

/* --------------------------------------------------------------------------
   Product grid
   -------------------------------------------------------------------------- */
/* Featured (editorial) product tile: spans 2 columns, 620×930 image (2:3),
   taller body — reference PLP mixes these into the 4-column grid. */
.gs-card--featured {
	grid-column: span 2;
	grid-row: span 2;
}

.gs-grid .gs-card {
	align-self: start;
}

.gs-card--featured .gs-card__media {
	aspect-ratio: 2 / 3;
}

.gs-card--featured .gs-card__body {
	min-height: 168px;
}

.gs-card--featured .gs-card__title {
	font-size: 16px;
	line-height: 22px;
}

.gs-card--featured .gs-card__price {
	font-size: 14px;
	line-height: 22px;
}

.gs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gs-grid--2col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   Product card — reference: tile 290×583 (image 435 + 148 body), title +
   "+" quick-add on one row, price, colour dots, blue discount badge.
   -------------------------------------------------------------------------- */
.gs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.gs-card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: #f0f0f0;
}

.gs-card__media-link {
	display: block;
	width: 100%;
	height: 100%;
}

.gs-card__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.35s ease, transform 0.6s ease;
}

.gs-card__img--hover {
	opacity: 0;
}

.gs-card:hover .gs-card__img--hover,
.gs-card:focus-within .gs-card__img--hover {
	opacity: 1;
}

.gs-card__badges {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.gs-card__badge {
	padding: 4px 6px;
	color: var(--gs-white, #fff);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1;
}

.gs-card__badge--sale {
	background: var(--gs-promo-blue, #336bcc);
}

.gs-card__badge--info {
	background: var(--gs-black, #000);
}

.gs-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 148px;
	padding: 12px 0 40px;
	box-sizing: border-box;
}

.gs-card__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.gs-card__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	color: var(--gs-ink, #1d1d1d);
}

.gs-card__title-link {
	color: inherit;
	text-decoration: none;
}

.gs-card__title-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gs-card__quickadd {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gs-black, #000);
	cursor: pointer;
	opacity: 1;
}

.gs-card__quickadd:hover {
	opacity: 0.55;
}

.gs-card__quickadd-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.gs-card__quickadd.is-loading {
	opacity: 0.4;
	cursor: default;
}

.gs-card__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 0;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 12px;
	font-weight: 500;
	line-height: 20px;
}

.gs-card__price-now {
	color: var(--gs-ink, #1d1d1d);
}

.gs-card__price-now.is-sale {
	color: var(--gs-promo-blue, #336bcc);
}

.gs-card__price-was {
	color: var(--gs-price-grey, #999);
	text-decoration: line-through;
}

.gs-card__colors {
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: 14px;
	margin-top: 10px;
}

.gs-card__color {
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--gs-swatch, #d9d9d9);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.gs-card__color.is-active {
	outline: 1px solid var(--gs-black, #000);
	outline-offset: 2px;
}

.gs-card__color--empty {
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--gs-line, #e5e5e5);
}

.gs-card__color-more {
	font-size: 10px;
	color: var(--gs-grey, #767676);
}

@media (hover: none) {
	.gs-card__quickadd {
		display: none;
	}

	.gs-card__img--hover {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   PLP header / toolbar
   -------------------------------------------------------------------------- */
.gs-plp__head {
	padding: 0;
}

.gs-plp__title {
	margin: 0 0 24px;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 32px;
	font-weight: 500;
	line-height: 40px;
	letter-spacing: 0;
	color: var(--gs-black, #000);
}

.gs-plp__subcats {
	margin: 0 0 25px;
}

.gs-plp__subcats-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gs-plp__subcat-link {
	display: inline-block;
	color: var(--gs-ink, #1d1d1d);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
	white-space: nowrap;
}

.gs-plp__subcat-link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.gs-plp__subcat-link.is-active {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.gs-plp__filters {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 56px;
	margin: 0 0 0;
}

.gs-plp__filters-left {
	display: flex;
	align-items: center;
	gap: 24px;
}

.gs-plp__filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gs-ink, #1d1d1d);
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	cursor: pointer;
}

.gs-plp__sort {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.gs-plp__sort-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gs-ink, #1d1d1d);
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	cursor: pointer;
}

.gs-plp__sort-select {
	padding: 0 18px 0 0;
	border: 0;
	background: transparent
		url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231d1d1d'/%3E%3C/svg%3E")
		no-repeat right center;
	color: var(--gs-ink, #1d1d1d);
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.gs-plp__filters-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.gs-plp__view-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gs-black, #000);
	opacity: 0.35;
	cursor: pointer;
}

.gs-plp__view-toggle.is-active {
	opacity: 1;
}

.gs-plp__view-toggle svg {
	display: block;
	width: 18px;
	height: 18px;
}

.gs-plp__count {
	margin: 0;
	font-size: 14px;
	line-height: 21px;
	color: var(--gs-grey, #767676);
}

.gs-plp__desc {
	max-width: 72ch;
	margin: 0 0 20px;
	font-family: var(--gs-font-body, 'Open Sans', sans-serif);
	font-size: 13px;
	line-height: 1.6;
	color: var(--gs-grey, #767676);
}

.gs-plp__results {
	/* the filter bar already contributes the 0 gap before the grid */
}

.gs-plp__empty {
	margin: 48px 0;
	font-size: 14px;
	color: var(--gs-grey, #767676);
}

.gs-plp__other-results {
	margin: 0;
	padding: 0 0 0 18px;
	font-size: 14px;
	line-height: 2;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.gs-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 56px;
	font-size: 14px;
}

.gs-pagination__page,
.gs-pagination__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	color: var(--gs-ink, #1d1d1d);
	text-decoration: none;
}

.gs-pagination__page.is-current {
	border-bottom: 1px solid var(--gs-black, #000);
	font-weight: 500;
}

.gs-pagination a:hover {
	opacity: 0.6;
}

/* --------------------------------------------------------------------------
   PDP — reference: 2 × 720px columns at 1440.
     gallery: thumbs 36px at x=21, main image 632px (right aligned, 2:3)
     info:    content 432px, left/right padding 144px
   -------------------------------------------------------------------------- */
.gs-pdp-page {
	padding-bottom: clamp(48px, 6vw, 96px);
}

.gs-pdp {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	width: 100%;
	margin: 0;
}

.gs-pdp__gallery-col {
	position: relative;
	min-width: 0;
}

.gs-pdp-gallery {
	position: relative;
}

.gs-pdp-gallery__thumbs {
	position: absolute;
	top: 0;
	left: 16px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 40px;
}

.gs-pdp-gallery__thumb {
	width: 40px;
	padding: 0;
	border: 1px solid transparent;
	background: #f0f0f0;
	cursor: pointer;
	overflow: hidden;
}

.gs-pdp-gallery__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.gs-pdp-gallery__thumb.is-active {
	border-color: var(--gs-black, #000);
}

.gs-pdp-gallery__stage {
	width: calc(100% - 88px);
	margin-left: auto;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: #f0f0f0;
}

.gs-pdp-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.25s ease;
}

.gs-pdp-gallery__img.is-switching {
	opacity: 0.35;
}

.gs-pdp__info {
	min-width: 0;
	padding: 40px 145px 0;
	box-sizing: border-box;
}

.gs-pdp__info .gs-breadcrumb {
	margin: 0 0 32px;
}

.gs-pdp__name-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 14px;
}

.gs-pdp__title {
	margin: 0;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--gs-ink, #1d1d1d);
}

.gs-pdp__name-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 16px;
	padding-top: 2px;
}

.gs-pdp__name-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gs-black, #000);
	cursor: pointer;
}

.gs-pdp__name-action:hover {
	opacity: 0.6;
}

.gs-pdp__name-action svg {
	display: block;
	width: 20px;
	height: 20px;
}

.gs-pdp__price-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
}

.gs-pdp__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 16px;
	line-height: 24px;
}

.gs-pdp__price-now {
	color: var(--gs-ink, #1d1d1d);
}

.gs-pdp__price-now.is-sale {
	color: var(--gs-promo-blue, #336bcc);
}

.gs-pdp__price-was {
	color: var(--gs-price-grey, #999);
	text-decoration: line-through;
}

.gs-pdp__badge {
	padding: 4px 6px;
	background: var(--gs-promo-blue, #336bcc);
	color: var(--gs-white, #fff);
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
}

.gs-pdp__price-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border: 1px solid var(--gs-black, #000);
	border-radius: 50%;
	font-size: 10px;
	line-height: 1;
	cursor: help;
}

.gs-pdp__divider {
	margin: 18px 0 16px;
	border: 0;
	border-top: 1px solid var(--gs-line, #e5e5e5);
}

.gs-pdp__ref {
	margin: 0 0 18px;
	font-size: 12px;
	line-height: 18px;
	color: var(--gs-grey, #767676);
}

.gs-pdp__option {
	margin: 0 0 22px;
}

.gs-pdp__option-head {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 10px;
}

.gs-pdp__option-label {
	font-size: 14px;
	line-height: 21px;
	color: var(--gs-grey, #767676);
}

.gs-pdp__option-value {
	font-size: 14px;
	line-height: 21px;
	color: var(--gs-ink, #1d1d1d);
}

.gs-pdp__colors {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gs-pdp__color {
	position: relative;
	width: 16px;
	height: 16px;
	padding: 0;
	border: 1px solid transparent;
	background: none;
	cursor: pointer;
}

.gs-pdp__color-swatch {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--gs-swatch, #d9d9d9);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.gs-pdp__color.is-active {
	border-color: var(--gs-black, #000);
}

.gs-pdp__color.is-soldout .gs-pdp__color-swatch {
	opacity: 0.35;
}

.gs-pdp__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gs-pdp__size {
	min-width: 46px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--gs-line, #e5e5e5);
	background: var(--gs-white, #fff);
	color: var(--gs-ink, #1d1d1d);
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 13px;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.gs-pdp__size:hover:not(:disabled) {
	border-color: var(--gs-black, #000);
}

.gs-pdp__size.is-active {
	border-color: var(--gs-black, #000);
	background: var(--gs-black, #000);
	color: var(--gs-white, #fff);
}

.gs-pdp__size.is-hidden {
	display: none;
}

.gs-pdp__size.is-soldout {
	color: var(--gs-grey, #767676);
	text-decoration: line-through;
	cursor: not-allowed;
}

.gs-pdp__size.is-soldout:hover {
	border-color: var(--gs-line, #e5e5e5);
}

.gs-pdp__stock {
	min-height: 18px;
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: var(--gs-grey, #767676);
}

.gs-pdp__stock.is-low {
	color: var(--gs-promo-blue, #336bcc);
}

.gs-pdp__actions {
	margin: 16px 0 0;
}

.gs-pdp__add {
	display: block;
	width: 100%;
	height: 40px;
	border: 1px solid var(--gs-black, #000);
	background: var(--gs-white, #fff);
	color: var(--gs-black, #000);
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.gs-pdp__add:hover:not(:disabled) {
	background: var(--gs-black, #000);
	color: var(--gs-white, #fff);
}

.gs-pdp__add:disabled {
	border-color: var(--gs-line, #e5e5e5);
	background: var(--gs-white, #fff);
	color: var(--gs-grey, #767676);
	cursor: not-allowed;
}

.gs-pdp__add.is-loading {
	opacity: 0.65;
	cursor: default;
}

.gs-pdp__shipping {
	margin: 18px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: var(--gs-ink, #1d1d1d);
}

.gs-pdp__accordions {
	margin-top: 34px;
}

.gs-acc {
	border: 0;
}

.gs-acc__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	list-style: none;
	cursor: pointer;
	color: var(--gs-ink, #1d1d1d);
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.gs-acc__summary::-webkit-details-marker {
	display: none;
}

.gs-acc__icon {
	position: relative;
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 0 4px 5px;
	border-color: transparent transparent transparent var(--gs-black, #000);
	transition: transform 0.15s ease;
}

.gs-acc[open] .gs-acc__icon {
	transform: rotate(90deg);
}

.gs-acc__body {
	padding: 8px 0 14px;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 14px;
	line-height: 21px;
	color: var(--gs-ink, #1d1d1d);
}

.gs-acc__body p {
	margin: 0 0 10px;
}

.gs-acc__body p:last-child {
	margin-bottom: 0;
}

.gs-acc__body ul {
	margin: 0 0 10px;
	padding-left: 18px;
}

.gs-pdp__attr-list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gs-pdp__attr-list li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 5px;
	border-bottom: 1px solid #f2f2f2;
}

.gs-pdp__perks {
	display: grid;
	gap: 6px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	color: var(--gs-grey, #767676);
}

.gs-pdp__perks li::before {
	content: '✓';
	margin-right: 8px;
	color: var(--gs-ink, #1d1d1d);
}

.gs-pdp-page .gs-rail {
	padding-top: clamp(36px, 4.5vw, 64px);
}

/* Mobile PDP gallery: full-width stage, dots overlay, no thumbs column. */
.gs-pdp__gallery-dots {
	display: none;
}

/* --------------------------------------------------------------------------
   Search
   -------------------------------------------------------------------------- */
.gs-search__head {
	margin-top: 24px;
	padding-bottom: 20px;
}

.gs-search__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 500;
	line-height: 36px;
}

.gs-search__count {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--gs-grey, #767676);
}

.gs-search__form {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 520px;
	border-bottom: 1px solid var(--gs-black, #000);
}

.gs-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 2px;
	border: 0;
	background: transparent;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 15px;
}

.gs-search__input:focus {
	outline: none;
}

.gs-search__submit {
	flex: 0 0 auto;
	padding: 12px 4px;
	border: 0;
	background: transparent;
	color: var(--gs-black, #000);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.gs-search__results {
	margin-top: 28px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.gs-404 {
	max-width: 560px;
	margin: clamp(48px, 8vw, 120px) auto 0;
	text-align: center;
}

.gs-404__code {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3em;
	color: var(--gs-grey, #767676);
}

.gs-404__title {
	margin: 0 0 16px;
	font-size: 36px;
	font-weight: 400;
	line-height: 44px;
}

.gs-404__text {
	margin: 0 0 30px;
	font-family: var(--gs-font-body, 'Open Sans', sans-serif);
	font-size: 14px;
	line-height: 1.6;
	color: var(--gs-grey, #767676);
}

.gs-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 40px;
}

.gs-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	height: 44px;
	padding: 0 22px;
	border: 1px solid var(--gs-black, #000);
	background: var(--gs-black, #000);
	color: var(--gs-white, #fff);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.gs-404__btn--ghost {
	background: transparent;
	color: var(--gs-black, #000);
}

.gs-404__search {
	display: flex;
	align-items: center;
	max-width: 380px;
	margin: 0 auto;
	border-bottom: 1px solid var(--gs-black, #000);
}

.gs-404__search input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 2px;
	border: 0;
	background: transparent;
	font-family: var(--gs-font-ui, 'Urbanist', sans-serif);
	font-size: 14px;
}

.gs-404__search input:focus {
	outline: none;
}

.gs-404__search button {
	padding: 12px 4px;
	border: 0;
	background: transparent;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Product rail (home + PDP related)
   -------------------------------------------------------------------------- */
.gs-rail {
	--gs-edge: clamp(20px, 5.5vw, 80px);
	max-width: calc(var(--gs-container, 1280px) + 160px);
	margin-inline: auto;
	padding: clamp(36px, 4.5vw, 64px) var(--gs-edge, 80px) 0;
}

.gs-rail__head {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin-bottom: 20px;
}

.gs-rail__title {
	margin: 0;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 500;
	letter-spacing: 0.01em;
}

.gs-rail__cta {
	margin-left: auto;
	color: var(--gs-ink, #1d1d1d);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.gs-rail__nav {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.gs-rail__cta + .gs-rail__nav {
	margin-left: 16px;
}

.gs-rail__arrow {
	width: 36px;
	height: 36px;
	border: 1px solid var(--gs-line, #e5e5e5);
	background: var(--gs-white, #fff);
	color: var(--gs-black, #000);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

.gs-rail__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.gs-rail__viewport {
	overflow: hidden;
	min-width: 0;
}

.gs-rail__track {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.gs-rail__track::-webkit-scrollbar {
	display: none;
}

.gs-rail__track {
	display: flex;
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
	scroll-snap-type: x mandatory;
}

.gs-rail__slide {
	flex: 0 0 calc((100% - 120px) / 4);
	min-width: 0;
	scroll-snap-align: start;
}

.gs-rail__slide .gs-card__body {
	min-height: 148px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1360px) {
	.gs-page-width,
	.gs-rail {
		--gs-edge: 80px;
	}
}

@media (max-width: 1439px) {
	.gs-pdp__info {
		padding: 32px 40px 0;
	}
}

@media (max-width: 1199px) {
	.gs-grid {
		column-gap: 24px;
	}

	.gs-card__body {
		min-height: 140px;
	}

	.gs-rail__track {
		gap: 24px;
	}

	.gs-rail__slide {
		flex-basis: calc((100% - 72px) / 4);
	}
}

@media (max-width: 1023px) {
	.gs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
	}

	.gs-grid--2col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gs-rail__track {
		gap: 16px;
	}

	.gs-rail__slide {
		flex-basis: calc((100% - 16px) / 2);
	}

	.gs-pdp {
		grid-template-columns: minmax(0, 1fr);
	}

	.gs-pdp__info {
		padding: 24px var(--gs-edge, 20px) 0;
	}

	.gs-pdp-gallery__thumbs {
		display: none;
	}

	.gs-pdp-gallery__stage {
		width: 100%;
	}

	.gs-pdp__gallery-dots {
		position: absolute;
		left: 20px;
		bottom: 16px;
		z-index: 2;
		display: flex;
		gap: 4px;
	}

	.gs-pdp__gallery-dot {
		width: 5px;
		height: 5px;
		border: 0;
		border-radius: 50%;
		background: #c9c9c9;
		padding: 0;
		cursor: pointer;
	}

	.gs-pdp__gallery-dot.is-active {
		background: var(--gs-black, #000);
	}
}

@media (max-width: 767px) {
	/* Shared by home and product details: long translated headings get their
	   own row, with a readable pair of cards and comfortable touch controls. */
	.gs-rail {
		--gs-edge: 20px;
		padding: 36px 20px 0;
	}
	.gs-rail__head {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 8px 16px;
		margin-bottom: 16px;
	}
	.gs-rail__title {
		grid-column: 1 / -1;
		grid-row: 1;
		min-width: 0;
		font-size: 20px;
		line-height: 26px;
		white-space: normal;
	}
	.gs-rail__cta {
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		margin: 0;
		font-size: 13px;
		letter-spacing: 0;
		white-space: nowrap;
	}
	.gs-rail__nav,
	.gs-rail__cta + .gs-rail__nav {
		grid-column: 2;
		grid-row: 2;
		margin: 0;
		gap: 8px;
	}
	.gs-rail__arrow { width: 44px; height: 44px; }
	.gs-rail__slide .gs-card__body { min-height: 116px; }
	.gs-rail .gs-card__title { font-size: 14px; line-height: 20px; }
	.gs-rail .gs-card__price { font-size: 13px; line-height: 18px; flex-wrap: wrap; }

	.gs-breadcrumb {
		margin: 16px 0 14px;
		font-size: 12px;
		line-height: 16px;
	}

	.gs-plp .gs-breadcrumb {
		display: none;
	}

	.gs-plp__head {
		padding-top: 47px;
	}

	.gs-plp__title {
		margin-bottom: 16px;
		font-size: 20px;
		line-height: 28px;
	}

	.gs-plp__subcats {
		margin: 0 -20px 16px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.gs-plp__subcats::-webkit-scrollbar {
		display: none;
	}

	.gs-plp__subcats-list {
		flex-wrap: nowrap;
		padding: 0 20px;
		gap: 0 20px;
	}

	.gs-plp__subcat-link {
		font-size: 13px;
		line-height: 20px;
	}

	.gs-plp__filters {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
		height: auto;
		min-height: 52px;
		margin-bottom: 8px;
	}

	.gs-plp__filter-btn,
	.gs-plp__sort-label,
	.gs-plp__sort-select {
		font-size: 13px;
	}

	.gs-plp__filters-left {
		min-width: 0;
		flex-wrap: wrap;
		gap: 0 12px;
	}

	.gs-plp__filters-right {
		gap: 4px;
	}
	.gs-plp__sort { min-width: 0; max-width: 100%; min-height: 44px; }
	.gs-plp__sort-select { min-width: 0; max-width: 100%; min-height: 44px; font-size: 16px; }
	.gs-plp__sort-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.gs-plp__view-toggle { width: 44px; height: 44px; }
	.gs-plp__count { white-space: nowrap; }
	.gs-search__input { font-size: 16px; }

	.gs-grid {
		column-gap: 10px;
	}

	.gs-card__body {
		min-height: 96px;
		padding: 8px 0 24px;
	}

	.gs-card__title {
		font-size: 13px;
		line-height: 16px;
	}

	.gs-card__price {
		margin-top: 3px;
		font-size: 12px;
		line-height: 15px;
	}

	.gs-card__colors {
		min-height: 11px;
		margin-top: 7px;
	}

	.gs-card__color {
		width: 10px;
		height: 10px;
	}

	.gs-card__badge {
		padding: 3px 5px;
		font-size: 10px;
	}

	.gs-card__badges {
		top: 8px;
		left: 8px;
	}

	.gs-pdp__title {
		font-size: 16px;
		line-height: 22px;
	}

	.gs-pdp__name-row {
		margin-bottom: 8px;
	}

	.gs-pdp__name-actions {
		display: none;
	}

	.gs-pdp__price-row {
		margin-bottom: 12px;
	}

	.gs-pdp__price {
		font-size: 14px;
		line-height: 20px;
	}

	.gs-pdp__add {
		height: 48px;
	}
	.gs-pdp__gallery-dots { left: 8px; bottom: 0; gap: 0; }
	.gs-pdp__gallery-dot { position: relative; width: 44px; height: 44px; background: transparent; }
	.gs-pdp__gallery-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; transform: translate(-50%, -50%); border-radius: 50%; background: #c9c9c9; }
	.gs-pdp__gallery-dot.is-active { background: transparent; }
	.gs-pdp__gallery-dot.is-active::after { background: var(--gs-black, #000); }

	.gs-pdp__accordions {
		margin-top: 24px;
	}

	.gs-pdp__divider {
		margin: 14px 0 12px;
	}

	.gs-pagination {
		margin-top: 36px;
	}

	.gs-404__actions {
		flex-direction: column;
		align-items: stretch;
	}
}
