/* ==========================================================================
   GUESS theme — shell.css
   Announcement bar, header, mega menu, drawers, search overlay, footer.
   ========================================================================== */

/* ==========================================================================
   1. Announcement bar
   ========================================================================== */
.gs-announcement {
	position: relative;
	z-index: var(--gs-z-announcement);
	background: var(--gs-black);
	color: var(--gs-white);
	height: 35px;
	border-bottom: 1px solid var(--gs-border-soft);
	box-sizing: content-box;
}

.gs-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 35px;
	padding: 0 44px;
}

.gs-announcement__list {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 35px;
	margin: 0;
	overflow: hidden;
}

.gs-announcement__item {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	opacity: 0;
	transition: opacity 420ms var(--gs-ease);
	pointer-events: none;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1;
	white-space: nowrap;
}

.gs-announcement__item.is-active {
	opacity: 1;
	pointer-events: auto;
}

.gs-announcement__link,
.gs-announcement__text {
	color: var(--gs-white);
	border-bottom: 1px solid transparent;
}

.gs-announcement__link:hover {
	color: var(--gs-white);
	border-bottom-color: currentColor;
}

.gs-announcement__close {
	position: absolute;
	right: 10px;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--gs-white);
	opacity: 0.85;
	transform: translateY(-50%);
}

.gs-announcement__close:hover {
	opacity: 1;
}

.gs-announcement__close .gs-icon {
	width: 14px;
	height: 14px;
}

/* ==========================================================================
   2. Header
   ========================================================================== */
.gs-header {
	position: sticky;
	top: 0;
	z-index: var(--gs-z-header);
	background: var(--gs-white);
	border-bottom: 1px solid var(--gs-border-soft);
	transition: box-shadow var(--gs-speed) var(--gs-ease);
}

.gs-header.is-scrolled {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.gs-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--gs-header-h);
}

.gs-header__left {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-self: start;
	min-width: 0;
	height: 100%;
}

.gs-header__nav {
	min-width: 0;
}

.gs-header__nav-list {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	height: 100%;
}

.gs-header__nav-item {
	height: 100%;
	display: flex;
	align-items: center;
}

.gs-header__nav-link {
	display: inline-flex;
	align-items: center;
	height: 100%;
	padding: 0;
	background: none;
	border: 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 20px;
	color: var(--gs-ink);
	white-space: nowrap;
}

.gs-header__nav-link:hover,
.gs-header__nav-item.is-open .gs-header__nav-link,
.gs-header__nav-item.is-current .gs-header__nav-link {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
}

.gs-header__logo {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.gs-header__logo img {
	display: block;
	width: auto;
	height: 24px;
}

.gs-header__actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 16px;
}

.gs-header__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 30px;
	color: var(--gs-ink);
}

.gs-header__icon-btn .gs-icon {
	width: 20px;
	height: 20px;
}

.gs-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 30px;
	color: var(--gs-ink);
}

.gs-header__cart .gs-icon {
	width: 20px;
	height: 20px;
}

.gs-header__cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 15px;
	height: 15px;
	padding: 0 3px;
	border-radius: 999px;
	background: var(--gs-black);
	color: var(--gs-white);
	font-family: var(--gs-font-ui);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
}

.gs-header__cart.is-empty .gs-header__cart-count {
	display: none;
}

.gs-header__burger {
	display: none;
	align-items: center;
	justify-content: flex-start;
	width: 22px;
	height: 35px;
	color: var(--gs-ink);
}

.gs-header__icon-btn--search-mobile {
	display: none;
}

.gs-header__burger-icon--close {
	display: none;
}

.gs-header__burger .gs-icon {
	width: 22px;
	height: 22px;
}

/* ==========================================================================
   3. Language switcher (visible DE / EN / IT links)
   ========================================================================== */
.gs-lang-switcher {
	display: inline-flex;
}

.gs-lang-switcher__list {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
}

.gs-lang-switcher__item {
	display: flex;
	align-items: center;
	margin: 0;
}

.gs-lang-switcher__item + .gs-lang-switcher__item::before {
	content: '/';
	display: inline-block;
	margin: 0 5px;
	color: var(--gs-grey-2);
	font-family: var(--gs-font-ui);
	font-size: 11px;
	line-height: 1;
}

.gs-lang-switcher__link {
	display: inline-block;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-xs);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1;
	color: var(--gs-grey);
	text-transform: uppercase;
}

.gs-lang-switcher__link:hover {
	color: var(--gs-ink);
}

.gs-lang-switcher__link.is-active {
	color: var(--gs-ink);
	font-weight: 700;
}

.gs-header .gs-lang-switcher {
	display: none;
}

.gs-footer .gs-lang-switcher__link {
	font-size: var(--gs-fs-sm);
	letter-spacing: 0.02em;
	color: var(--gs-ink);
}

.gs-footer .gs-lang-switcher__link.is-active {
	font-weight: 700;
}

.gs-mobile-drawer__footer .gs-lang-switcher {
	margin-top: 4px;
}

.gs-mobile-drawer__footer .gs-lang-switcher__link {
	font-size: var(--gs-fs-sm);
	color: var(--gs-ink);
}

/* ==========================================================================
   4. Mega menu (left category rail + subcategory columns)
   ========================================================================== */
.gs-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: var(--gs-z-mega);
	background: var(--gs-white);
	border-top: 1px solid var(--gs-line);
	border-bottom: 1px solid var(--gs-line);
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.07);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--gs-speed) var(--gs-ease), transform var(--gs-speed) var(--gs-ease), visibility var(--gs-speed) var(--gs-ease);
	pointer-events: none;
	max-height: calc(100vh - var(--gs-header-h) - var(--gs-announcement-h) - 20px);
	overflow-y: auto;
}

.gs-mega.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.gs-mega__panel[hidden],
.gs-mega__group[hidden] {
	display: none !important;
}

.gs-mega__inner {
	position: relative;
	display: grid;
	grid-template-columns: 432px minmax(0, 1fr);
	gap: 24px 48px;
	align-items: stretch;
	min-height: 668px;
	box-sizing: border-box;
	padding-top: 16px;
	padding-bottom: 16px;
}

.gs-mega__inner::before {
	content: '';
	position: absolute;
	left: 472px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--gs-border-soft);
}

.gs-mega__rail {
	min-width: 0;
	padding-right: 24px;
	border-right: 0;
}

.gs-mega__rail-list {
	margin: 0;
}

.gs-mega__rail-item {
	margin: 0;
}

.gs-mega__rail-link {
	display: block;
	width: 100%;
	padding: 4px 0;
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-base);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 24px;
	color: var(--gs-grey-2);
	cursor: pointer;
}

.gs-mega__rail-link:hover,
.gs-mega__rail-link.is-active {
	font-weight: 500;
	color: var(--gs-black);
}

.gs-mega__viewall {
	display: inline-block;
	margin-top: 20px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	letter-spacing: var(--gs-ls);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gs-mega__content {
	min-width: 0;
}

.gs-mega__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 24px 40px;
	align-items: start;
}

.gs-mega__col {
	min-width: 0;
}

.gs-mega__title {
	margin: 0 0 12px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 16px;
	color: var(--gs-footer-title);
}

.gs-mega__list {
	margin: 0;
}

.gs-mega__item {
	margin: 0;
}

.gs-mega__link {
	display: inline-block;
	padding: 2px 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 20px;
	color: var(--gs-ink);
	white-space: nowrap;
}

.gs-mega__link:hover {
	color: var(--gs-grey);
}

.gs-mega__link.is-view-all {
	font-weight: 600;
}

.gs-mega__link.is-disabled,
.gs-mega__rail-link.is-disabled {
	color: var(--gs-grey-2);
	cursor: default;
	pointer-events: none;
}

/* ==========================================================================
   5. Drawers (mobile menu + cart drawer)
   ========================================================================== */
.gs-drawer {
	position: fixed;
	inset: 0;
	z-index: var(--gs-z-drawer);
}

.gs-overlay {
	position: absolute;
	inset: 0;
	background: var(--gs-overlay);
	opacity: 0;
	transition: opacity var(--gs-speed) var(--gs-ease);
	border: 0;
	cursor: pointer;
}

.gs-drawer.is-open .gs-overlay {
	opacity: 1;
}

.gs-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(460px, 100%);
	background: var(--gs-white);
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
	transform: translateX(100%);
	transition: transform 300ms var(--gs-ease);
	outline: none;
}

.gs-drawer.is-open .gs-drawer__panel {
	transform: translateX(0);
}

.gs-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--gs-line);
	flex: none;
}

.gs-drawer__title {
	margin: 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	font-weight: 600;
	letter-spacing: var(--gs-ls-wider);
	text-transform: uppercase;
	line-height: 1.2;
}

.gs-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--gs-ink);
	flex: none;
}

.gs-drawer__close .gs-icon {
	width: 18px;
	height: 18px;
}

.gs-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 20px 24px 24px;
	-webkit-overflow-scrolling: touch;
}

.gs-mobile-drawer__sublist .is-disabled,
.gs-mobile-drawer__account .is-disabled {
	color: var(--gs-grey-2);
}

.gs-drawer__loading {
	margin: 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	color: var(--gs-grey);
}

/* Mobile navigation drawer (slides from the left) */
.gs-drawer--menu .gs-drawer__panel {
	left: 0;
	right: auto;
	width: 100%;
	max-width: none;
	transform: translateX(-100%);
	box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
}

.gs-drawer--menu.is-open .gs-drawer__panel {
	transform: translateX(0);
}

.gs-mobile-drawer__panel {
	display: flex;
	flex-direction: column;
}

.gs-mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border-bottom: 1px solid var(--gs-line);
	flex: none;
}

.gs-mobile-drawer__logo img {
	height: 22px;
	width: auto;
}

.gs-mobile-drawer__nav {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0;
}

.gs-mobile-drawer__list {
	margin: 0;
}

.gs-mobile-drawer__item {
	border-bottom: 1px solid var(--gs-line);
	margin: 0;
}

.gs-mobile-drawer__toggle,
.gs-mobile-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 40px;
	padding: 8px 16px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-base);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 24px;
	text-align: left;
	color: var(--gs-ink);
}

.gs-mobile-drawer__chevron {
	width: 16px;
	height: 16px;
	transition: transform var(--gs-speed) var(--gs-ease);
}

.gs-mobile-drawer__item.is-open .gs-mobile-drawer__chevron {
	transform: rotate(180deg);
}

.gs-mobile-drawer__sub {
	padding: 0 0 16px;
}

.gs-mobile-drawer__sub[hidden] {
	display: none;
}

.gs-mobile-drawer__subtitle {
	margin: 8px 0 8px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-xs);
	font-weight: 600;
	letter-spacing: var(--gs-ls-wider);
	text-transform: uppercase;
	color: var(--gs-grey);
}

.gs-mobile-drawer__sublist {
	margin: 0 0 8px;
}

.gs-mobile-drawer__sublist li {
	margin: 0;
}

.gs-mobile-drawer__sublist a,
.gs-mobile-drawer__sublist span {
	display: block;
	padding: 7px 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	line-height: 1.4;
	color: var(--gs-ink);
}

.gs-mobile-drawer__groups {
	margin: 0;
	padding: 0 0 8px;
}

.gs-mobile-drawer__group {
	border-bottom: 1px solid var(--gs-line);
}

.gs-mobile-drawer__group:last-child {
	border-bottom: 0;
}

.gs-mobile-drawer__group-toggle,
.gs-mobile-drawer__group-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 0;
	padding: 11px 0;
	background: none;
	border: 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	font-weight: 400;
	letter-spacing: var(--gs-ls);
	line-height: 1.3;
	text-align: left;
	color: var(--gs-ink);
}

.gs-mobile-drawer__group-link.is-disabled {
	color: var(--gs-grey-2);
}

.gs-mobile-drawer__group-toggle .gs-mobile-drawer__chevron {
	width: 14px;
	height: 14px;
}

.gs-mobile-drawer__group.is-open .gs-mobile-drawer__chevron {
	transform: rotate(180deg);
}

.gs-mobile-drawer__group .gs-mobile-drawer__sublist {
	padding: 0 0 10px 12px;
}

.gs-mobile-drawer__group .gs-mobile-drawer__sublist a,
.gs-mobile-drawer__group .gs-mobile-drawer__sublist span {
	padding: 6px 0;
	font-size: var(--gs-fs-md);
}

.gs-mobile-drawer__sublist[hidden] {
	display: none;
}

.gs-mobile-drawer__viewall {
	font-weight: 600 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gs-mobile-drawer__footer {
	flex: none;
	padding: 16px;
	border-top: 1px solid var(--gs-line);
}

.gs-mobile-drawer__account {
	margin: 0 0 16px;
}

.gs-mobile-drawer__account a {
	display: block;
	padding: 6px 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	color: var(--gs-ink);
}

.gs-body.is-menu-open .gs-header__burger-icon--open {
	display: none;
}

.gs-body.is-menu-open .gs-header__burger-icon--close {
	display: block;
}

/* ==========================================================================
   6. Search overlay
   ========================================================================== */
.gs-search {
	position: fixed;
	inset: 0;
	z-index: var(--gs-z-search);
}

.gs-search__panel {
	position: relative;
	z-index: 1;
	background: var(--gs-white);
	padding: 20px 0 32px;
	transform: translateY(-102%);
	transition: transform 320ms var(--gs-ease);
	max-height: 100vh;
	overflow-y: auto;
}

.gs-search.is-open .gs-search__panel {
	transform: translateY(0);
}

.gs-search__form {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gs-ink);
}

.gs-search__label {
	flex: none;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 600;
	letter-spacing: var(--gs-ls-wider);
	text-transform: uppercase;
	color: var(--gs-ink);
}

.gs-search__field {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.gs-search__icon {
	width: 20px;
	height: 20px;
	color: var(--gs-grey);
	flex: none;
}

.gs-search__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 44px;
	border: 0;
	padding: 0;
	background: transparent;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-lg);
	letter-spacing: var(--gs-ls);
	color: var(--gs-ink);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.gs-search__input::placeholder {
	color: var(--gs-grey);
	opacity: 1;
}

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

.gs-search__submit,
.gs-search__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--gs-ink);
	flex: none;
}

.gs-search__submit .gs-icon,
.gs-search__close .gs-icon {
	width: 18px;
	height: 18px;
}

.gs-search__close {
	margin-left: 8px;
}

.gs-search__hint {
	margin: 16px 0 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	color: var(--gs-grey);
}

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

.gs-search__result-list {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px 24px;
}

.gs-search__result {
	margin: 0;
}

.gs-search__result-link {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gs-search__result-image {
	width: 48px;
	height: 64px;
	object-fit: cover;
	background: var(--gs-grey-3);
	flex: none;
}

.gs-search__result-title {
	display: block;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	line-height: 1.35;
}

.gs-search__result-price {
	display: block;
	margin-top: 4px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	color: var(--gs-grey);
}

.gs-search__result-more {
	display: inline-flex;
	margin-top: 20px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.gs-footer {
	margin-top: 64px;
	border-top: 1px solid var(--gs-line);
	background: var(--gs-white);
	color: var(--gs-ink);
}

.gs-footer.has-brands {
	border-top: 0;
}

.gs-footer__brands {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 0 16px 0;
}

.gs-footer__brand {
	position: relative;
	display: block;
	padding: 24px 12px;
	overflow: hidden;
	background: var(--gs-white);
}

.gs-footer__brand-image {
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	display: block;
	transition: transform 500ms var(--gs-ease);
}

.gs-footer__brand:hover .gs-footer__brand-image {
	transform: scale(1.03);
}

.gs-footer__brand-image--placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	background: var(--gs-grey-placeholder);
}

.gs-footer__brand-label {
	position: absolute;
	left: 26px;
	bottom: 36px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 400;
	line-height: 1;
	color: var(--gs-white);
}

.gs-footer__main {
	max-width: none;
	padding-left: 16px;
	padding-right: 16px;
}

.gs-footer__newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	align-items: start;
	padding: 32px 0 28px;
	border-bottom: 1px solid var(--gs-line-solid);
}

.gs-footer__newsletter-copy {
	padding-right: 32px;
}

.gs-footer__app {
	padding-left: 32px;
}

.gs-footer__newsletter-title {
	margin: 0 0 16px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-base);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 24px;
}

.gs-footer__newsletter-field {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--gs-border-input);
	background: var(--gs-white);
}

.gs-footer__newsletter-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	outline: none;
}

.gs-footer__newsletter-input::placeholder {
	color: var(--gs-grey);
	opacity: 1;
}

.gs-footer__newsletter-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--gs-ink);
	flex: none;
}

.gs-footer__newsletter-submit .gs-icon {
	width: 14px;
	height: 14px;
}

.gs-footer__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 12px;
	cursor: pointer;
}

.gs-footer__consent-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.gs-footer__consent-box {
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 2px;
	border: 1px solid var(--gs-ink);
	background: var(--gs-white);
}

.gs-footer__consent-input:checked + .gs-footer__consent-box {
	background: var(--gs-black);
}

.gs-footer__consent-input:checked + .gs-footer__consent-box::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 0;
	width: 5px;
	height: 8px;
	border: solid var(--gs-white);
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

.gs-footer__consent-text {
	font-family: var(--gs-font-body);
	font-size: var(--gs-fs-xs);
	line-height: 1.5;
	color: var(--gs-grey);
}

.gs-footer__consent-input:focus-visible + .gs-footer__consent-box {
	outline: 2px solid var(--gs-ink);
	outline-offset: 2px;
}

.gs-footer__newsletter-legal {
	margin: 10px 0 0;
	font-family: var(--gs-font-body);
	font-size: var(--gs-fs-xs);
	line-height: 1.5;
	color: var(--gs-grey);
}

.gs-footer__newsletter-toast {
	margin: 12px 0 0;
	padding: 10px 14px;
	background: var(--gs-grey-3);
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	color: var(--gs-ink);
}

.gs-footer__app-title {
	margin: 0 0 16px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-2xl);
	font-weight: 400;
	letter-spacing: var(--gs-ls);
	line-height: 1.05;
}

.gs-footer__app-text {
	margin: 0 0 20px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-base);
	line-height: 24px;
}

.gs-footer__app-image {
	width: 96px;
	height: 96px;
	object-fit: contain;
}

.gs-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 24px 0 28px;
	border-bottom: 1px solid var(--gs-line-solid);
}

.gs-footer__col-title {
	margin: 0 0 48px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 16px;
	color: var(--gs-footer-title);
}

.gs-footer__col-toggle {
	display: block;
	width: auto;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
	text-align: left;
	pointer-events: none;
	cursor: default;
}

.gs-footer__col-chevron {
	display: none;
}

.gs-footer__list {
	margin: 0;
}

.gs-footer__item {
	margin: 0 0 12px;
	font-size: var(--gs-fs-sm);
	line-height: 16px;
}

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

.gs-footer__link {
	display: inline-block;
	padding: 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 500;
	line-height: 16px;
	color: var(--gs-ink);
}

.gs-footer__link:hover {
	color: var(--gs-grey);
}

.gs-footer__link.is-disabled {
	color: var(--gs-grey-2);
	cursor: default;
	pointer-events: none;
}

.gs-footer__seo {
	padding: 26px 0 28px;
	border-bottom: 1px solid var(--gs-line);
}

.gs-footer__seo-title {
	margin: 0 0 10px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-lg);
	font-weight: 400;
	letter-spacing: var(--gs-ls);
	line-height: 1.3;
}

.gs-footer__seo-text {
	max-width: 1200px;
	margin: 0 0 18px;
	font-family: var(--gs-font-body);
	font-size: var(--gs-fs-sm);
	line-height: 1.55;
	color: var(--gs-ink);
}

.gs-footer__seo-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 36px;
	margin: 0;
}

.gs-footer__seo-links a,
.gs-footer__seo-links span {
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-xs);
	letter-spacing: var(--gs-ls-wide);
	text-transform: uppercase;
	color: var(--gs-ink);
}

.gs-footer__contact {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	padding: 16px 0;
	border-bottom: 1px solid var(--gs-line);
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-xs);
}

.gs-footer__contact-label {
	color: var(--gs-grey);
}

.gs-footer__contact-email {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gs-footer__bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding: 22px 0 24px;
}

.gs-footer__locale {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	line-height: 18px;
}

.gs-footer__locale-label {
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	line-height: 18px;
	color: var(--gs-footer-title);
	white-space: nowrap;
}

.gs-footer .gs-lang-switcher__toggle {
	font-size: var(--gs-fs-xs);
	font-weight: 500;
	color: var(--gs-ink);
}

.gs-footer__copyright {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 500;
	letter-spacing: 0.24px;
	line-height: 16px;
	color: var(--gs-ink);
	text-align: center;
	white-space: nowrap;
}

.gs-footer__payments {
	grid-column: 3;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

.gs-footer__payments-icons {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.gs-footer__payment {
	height: 22px;
	width: auto;
	max-width: 38px;
	object-fit: contain;
}

/* ==========================================================================
   8. Responsive
   ========================================================================== */
@media (max-width: 1279px) {
	.gs-footer__newsletter {
		grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
		gap: 28px 40px;
	}
}

@media (max-width: 1023px) {
	.gs-header__nav {
		display: none;
	}

	.gs-header__burger {
		display: inline-flex;
	}

	.gs-header__actions {
		gap: 16px;
	}

	.gs-header__icon-btn--account,
	.gs-header__icon-btn--wishlist,
	.gs-header .gs-lang-switcher {
		display: inline-flex;
	}

	.gs-header .gs-lang-switcher {
		display: none;
	}

	.gs-header__icon-btn--search {
		display: none;
	}

	.gs-header__icon-btn--search-mobile {
		display: inline-flex;
	}

	.gs-header__left {
		gap: 16px;
	}

	.gs-header__nav {
		display: none;
	}

	.gs-mega {
		display: none;
	}

	.gs-footer {
		margin-top: 48px;
	}

	.gs-footer__brands {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		padding: 0 6px 6px;
	}

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

	.gs-footer__newsletter {
		grid-template-columns: minmax(0, 1fr);
		padding: 32px 0 28px;
	}

	.gs-footer__app {
		padding-top: 8px;
	}

	.gs-footer__bottom {
		grid-template-columns: 1fr;
		gap: 14px;
		text-align: left;
	}

	.gs-footer__copyright {
		grid-column: 1;
		grid-row: auto;
		text-align: left;
	}

	.gs-footer__payments {
		grid-column: 1;
		grid-row: auto;
		justify-content: flex-start;
	}

	.gs-footer__locale {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (max-width: 767px) {
	:root {
		--gs-header-h: 56px;
		--gs-announcement-h: 36px;
	}

	.gs-announcement__inner {
		padding: 0 36px;
	}

	.gs-announcement__item {
		font-size: 11px;
	}

	.gs-header__actions {
		gap: 16px;
	}

	.gs-header__logo img {
		height: 24px;
	}

	.gs-header__cart-count {
		top: -5px;
		right: -7px;
	}

	.gs-drawer__head {
		padding: 14px 16px;
	}

	.gs-drawer__body {
		padding: 16px;
	}

	.gs-footer > .gs-container {
		padding-top: 32px;
	}

	.gs-footer__brands {
		gap: 20px;
	}

	.gs-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	.gs-footer__newsletter {
		padding: 28px 0;
	}

	.gs-search__panel {
		padding: 14px 0 24px;
	}

	.gs-search__form {
		gap: 12px;
	}

	.gs-search__label {
		display: none;
	}

	.gs-search__input {
		font-size: var(--gs-fs-lg);
	}

	.gs-search__result-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 479px) {
	.gs-footer__columns {
		grid-template-columns: 1fr;
	}

	.gs-footer__brand {
		max-width: 140px;
	}

	.gs-footer__payment {
		height: 20px;
	}
}

/* ==========================================================================
   9. Footer — mobile behaviour (accordion columns, app promo first, 2x2 brands)
   ========================================================================== */
@media (max-width: 1023px) {
	.gs-footer__brands {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 8px;
	}

	.gs-footer__brand {
		padding: 12px 8px;
	}

	.gs-footer__brand-label {
		left: 18px;
		bottom: 22px;
	}

	.gs-footer__main {
		display: flex;
		flex-direction: column;
		padding-left: 16px;
		padding-right: 16px;
	}

	.gs-footer__newsletter {
		order: 1;
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 28px 0 24px;
	}

	.gs-footer__app {
		order: -1;
		padding: 0 0 24px;
	}

	.gs-footer__newsletter-copy {
		padding: 0;
	}

	.gs-footer__seo {
		order: 2;
	}

	.gs-footer__columns {
		order: 3;
		display: block;
		padding: 0;
		border-top: 1px solid var(--gs-line-solid);
		border-bottom: 0;
	}

	.gs-footer__col {
		border-bottom: 1px solid var(--gs-line-solid);
		padding: 0;
	}

	.gs-footer__col-title {
		margin: 0;
		font-size: var(--gs-fs-md);
		font-weight: 500;
		line-height: 24px;
		letter-spacing: 0;
		color: var(--gs-ink);
	}

	.gs-footer__col-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 12px 0;
		pointer-events: auto;
		cursor: pointer;
	}

	.gs-footer__col-chevron {
		display: block;
		width: 16px;
		height: 16px;
		transition: transform var(--gs-speed) var(--gs-ease);
	}

	.gs-footer__col.is-open .gs-footer__col-chevron {
		transform: rotate(180deg);
	}

	.gs-footer__list {
		display: none;
		padding: 0 0 14px;
	}

	.gs-footer__list.is-open {
		display: block;
	}

	.gs-footer__contact {
		order: 4;
	}

	.gs-footer__bottom {
		order: 5;
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px 0 24px;
	}

	.gs-footer__copyright {
		grid-column: 1;
		grid-row: auto;
		text-align: center;
		white-space: normal;
	}

	.gs-footer__payments {
		grid-column: 1;
		grid-row: auto;
		justify-content: center;
	}

	.gs-footer__locale {
		grid-column: 1;
		grid-row: auto;
		justify-content: flex-start;
	}
}

/* Mega featured promo cards (recon menu cards; rendered once site-media mapping exists) */
.gs-mega__featured {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 368px));
	gap: 16px;
	max-width: 760px;
	margin-bottom: 16px;
}

.gs-mega__promo {
	display: block;
	flex: 0 0 336px;
	width: 336px;
	min-width: 0;
}

.gs-mega__promo-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	background: var(--gs-grey-placeholder);
}

.gs-mega__promo-label {
	display: block;
	margin-top: 8px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	line-height: 20px;
	color: var(--gs-ink);
}

/* Mega: brand logo rail (Discover by Brand) */
.gs-mega__brands {
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px solid var(--gs-border-soft);
	max-width: none;
}

.gs-mega__brands-title {
	margin: 0 0 10px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 16px;
	color: var(--gs-grey);
}

.gs-mega__brands-list {
	margin: 0;
}

.gs-mega__brands-item {
	margin: 0 0 8px;
}

.gs-mega__brands-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 40px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	font-weight: 400;
	line-height: 20px;
	color: var(--gs-ink);
}

.gs-mega__brands-logo {
	width: auto;
	height: 40px;
	max-width: 180px;
	object-fit: contain;
	background: transparent;
	flex: none;
}

/* The bag edit keeps the reference columns / campaign cards without an empty
   department rail. Both collections are directly clickable in the header. */
.gs-bags .gs-header__nav-link { text-decoration: none; }
.gs-bags .gs-mega__inner {
	display: block;
	min-height: 0;
	max-height: calc(100dvh - 94px);
	overflow-y: auto;
	padding: 32px clamp(24px, 5.5vw, 80px) 40px;
}
.gs-bags .gs-mega__inner::before,
.gs-bags .gs-mega__rail { display: none; }
.gs-bags .gs-mega__group { gap: clamp(24px, 4vw, 64px); }
.gs-bags .gs-mega__cols {
	flex: 0 0 44%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.gs-bags .gs-mega__featured { overflow: visible; gap: 20px; }
.gs-bags .gs-mega__promo { flex: 1 1 0; width: 0; }
.gs-bags .gs-mega__promo-image { aspect-ratio: 3 / 4; object-fit: cover; }
.gs-bags .gs-mega__title { margin-bottom: 16px; }
.gs-bags .gs-mega__link { padding-block: 5px; }
.gs-bags .gs-footer__brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gs-bags .gs-footer__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gs-bags .gs-mobile-drawer__groups > li > .gs-mobile-drawer__group-link { padding-inline: 24px; }

@media (max-width: 1023px) {
	.gs-bags .gs-header__inner { padding-inline: 12px; }
	.gs-bags .gs-header__left, .gs-bags .gs-header__actions { gap: 8px; }
	.gs-bags .gs-header__burger,
	.gs-bags .gs-header__icon-btn,
	.gs-bags .gs-header__cart { flex: 0 0 44px; width: 44px; height: 44px; justify-content: center; }
	.gs-bags .gs-header__icon-btn--wishlist,
	.gs-bags .gs-header__icon-btn--search { display: none; }
	.gs-bags .gs-header__cart-count { top: 0; right: 0; }
	.gs-bags .gs-drawer__close, .gs-bags .gs-search__close { width: 44px; height: 44px; }
	/* Native iOS form controls keep the page scale when focused. */
	body.gs-bags input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
	body.gs-bags select,
	body.gs-bags textarea { font-size: 16px; }
	body.gs-bags .select2-selection__rendered { font-size: 16px; }
}

@media (max-width: 359px) {
	.gs-bags .gs-header__logo img { height: 22px; }
}

@media (max-width: 767px) {
	.gs-bags .gs-footer__brands { padding-inline: 16px; gap: 12px; }
	.gs-bags .gs-footer__brand { max-width: none; min-width: 0; padding: 0; }
	.gs-bags .gs-footer__brand-label { left: 10px; right: 10px; bottom: 10px; font-size: 12px; line-height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.gs-bags *, .gs-bags *::before, .gs-bags *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* Mega: featured grid exact 752 (2 x 368 + 16) */
.gs-mega__featured {
	grid-template-columns: repeat(2, 368px);
	gap: 16px;
	max-width: none;
}

.gs-mega__cols {
	margin-top: 20px;
}

/* ==========================================================================
   10. Mega menu — final layout (columns left + featured side, reference panel 668)
   ========================================================================== */
.gs-mega__inner {
	position: relative;
	display: grid;
	grid-template-columns: 432px minmax(0, 1fr);
	gap: 24px 48px;
	align-items: stretch;
	min-height: 668px;
	box-sizing: border-box;
	padding-top: 16px;
	padding-bottom: 16px;
}

.gs-mega__inner::before {
	content: '';
	position: absolute;
	left: 472px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--gs-border-soft);
}

.gs-mega__rail {
	min-width: 0;
	padding-right: 24px;
	border-right: 0;
}

.gs-mega__group {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 48px;
}

.gs-mega__cols {
	flex: 0 1 auto;
	min-width: 0;
	margin-top: 0;
	display: grid;
	grid-template-columns: max-content max-content max-content;
	gap: 24px 32px;
	align-items: start;
	justify-content: start;
}

.gs-mega__featured {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	max-width: none;
	display: flex;
	flex-direction: row;
	gap: 16px;
	margin-bottom: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

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

.gs-mega__promo {
	flex: 0 0 336px;
	width: 336px;
	min-width: 0;
}

.gs-mega__promo-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: cover;
	background: var(--gs-grey-placeholder);
}

.gs-mega__brands {
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px solid var(--gs-border-soft);
	max-width: none;
}

.gs-mega__brands-title {
	margin: 0 0 8px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-sm);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 16px;
	color: var(--gs-grey);
}

.gs-mega__brands-item {
	margin: 0 0 6px;
}

.gs-mega__brands-item:last-child {
	margin-bottom: 0;
}

.gs-mega__brands-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 40px;
	font-family: var(--gs-font-ui);
	font-size: var(--gs-fs-md);
	font-weight: 400;
	line-height: 20px;
	color: var(--gs-ink);
}

.gs-mega__brands-logo {
	width: auto;
	height: 40px;
	max-width: 180px;
	object-fit: contain;
	background: transparent;
	flex: none;
}
