/* cc956-zara-menu 20260722.10: mobile-only Zara-style full-screen navigation. */
.cc956-zara-menu {
	display: none;
}

@media (max-width: 768px) {
	body.zara-menu-open {
		position: fixed;
		inset-inline: 0;
		width: 100%;
		overflow: hidden !important;
	}

	/* Keep the PDP purchase UI intact while closed, but remove it from paint and hit-testing for the full menu lifecycle. */
	body.single-product.zara-menu-open > #jose956-bottom-bar {
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	.cc956-zara-menu {
		--cc956-zara-menu-motion: 450ms;
		--cc956-zara-menu-ease: ease-in-out;
		position: fixed;
		inset: 0;
		z-index: 1200;
		display: flex;
		flex-direction: column;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		background: transparent;
		color: #111;
		font-family: inherit;
		visibility: hidden;
		pointer-events: none;
		transition: visibility 0s linear var(--cc956-zara-menu-motion);
	}

	.cc956-zara-menu[hidden] {
		display: none !important;
	}

	.cc956-zara-menu.is-open {
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}

	.cc956-zara-menu.is-closing {
		visibility: visible;
	}

	.cc956-zara-menu,
	.cc956-zara-menu * {
		box-sizing: border-box;
	}

	.cc956-zara-menu a {
		color: #111;
		text-decoration: none;
	}

	.cc956-zara-menu a:focus-visible,
	.cc956-zara-menu button:focus-visible {
		outline: 2px solid #111;
		outline-offset: 3px;
	}

	.cc956-zara-menu__close.is-focus-silent:focus-visible {
		outline: none;
	}

	.cc956-zara-menu .is-sale,
	.cc956-zara-menu .is-sale a {
		color: #9c2c2c;
	}

	.cc956-zara-menu__toolbar {
		position: relative;
		z-index: 5;
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: space-between;
		min-height: calc(55px + env(safe-area-inset-top));
		padding: env(safe-area-inset-top) 0 0;
		background: #fff;
		border-bottom: 1px solid #e5e5e5;
	}

	.cc956-zara-menu__close {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 55px;
		height: 55px;
		padding: 0;
		border: 0 !important;
		border-radius: 0 !important;
		background-color: transparent !important;
		background-image: none !important;
		box-shadow: none !important;
		color: #181818 !important;
		-webkit-appearance: none;
		appearance: none;
		touch-action: manipulation;
		transition: opacity 120ms ease-out;
	}

	.cc956-zara-menu__close span,
	.cc956-zara-menu__close span::before,
	.cc956-zara-menu__close span::after {
		position: absolute;
		display: block;
		width: 16px;
		height: 1px;
		background: currentColor;
		content: "";
	}

	.cc956-zara-menu__close span {
		transform: translate(.5px, 2.5px);
		transition:
			background-color 100ms linear 300ms,
			transform var(--cc956-zara-menu-motion) var(--cc956-zara-menu-ease);
	}

	.cc956-zara-menu__close span::before,
	.cc956-zara-menu__close span::after {
		top: 0;
		left: 0;
		transform-origin: center;
		transition: transform var(--cc956-zara-menu-motion) var(--cc956-zara-menu-ease);
	}

	.cc956-zara-menu__close span::before {
		transform: translateY(-8px);
	}

	.cc956-zara-menu__close span::after {
		transform: translateY(8px);
	}

	.cc956-zara-menu.is-open .cc956-zara-menu__close span {
		background-color: transparent;
		transform: translate(0, 0);
		transition:
			background-color 100ms linear,
			transform var(--cc956-zara-menu-motion) var(--cc956-zara-menu-ease);
	}

	.cc956-zara-menu.is-open .cc956-zara-menu__close span::before {
		transform: translateY(0) rotate(45deg);
	}

	.cc956-zara-menu.is-open .cc956-zara-menu__close span::after {
		transform: translateY(0) rotate(-45deg);
	}

	.cc956-zara-menu__close:active {
		opacity: .55;
	}

	.cc956-zara-menu__actions.right-column {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 0;
		width: auto;
		min-width: 132px;
		height: 55px;
		margin-right: 6px !important;
		text-align: initial;
	}

	.cc956-zara-menu__actions.right-column > div {
		display: block;
		width: 44px;
		height: 44px;
		margin: 0;
	}

	.cc956-zara-menu__actions a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px !important;
		min-height: 44px;
		padding: 0;
		color: #111 !important;
		touch-action: manipulation;
		transition: opacity 120ms ease, transform 120ms cubic-bezier(.23, 1, .32, 1);
	}

	.cc956-zara-menu__actions a:active {
		opacity: .55;
		transform: scale(.96);
	}

	.cc956-zara-menu__account ul,
	.cc956-zara-menu__account li {
		width: 44px;
		height: 44px !important;
		margin: 0;
	}

	.cc956-zara-menu__account li::after {
		display: none;
	}

	.cc956-zara-menu__account li:first-child > a::before {
		width: 24px;
		height: 24px;
		font-size: 19px;
		line-height: 24px;
	}

	.cc956-zara-menu__search a .fa-search {
		font-size: 18px;
		line-height: 1;
	}

	.cc956-zara-menu__cart > a .basel-cart-totals {
		position: absolute;
		inset: 0;
		display: block;
		width: 44px;
		height: 44px;
		font-size: 0;
		line-height: 0;
	}

	.cc956-zara-menu__cart > a .basel-cart-number {
		top: 4px;
		left: 27px;
		display: block;
		width: 14px;
		height: 14px;
		font-size: 9px;
		line-height: 14px;
		background: #111;
	}

	.cc956-zara-menu__scroll {
		position: relative;
		flex: 1 1 auto;
		min-height: 0;
		background: #fff;
		opacity: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overflow-anchor: none; /* cc956-zara-menu 20260721.1: stop scroll anchoring from yanking the list back after tab-jump */
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		transition: opacity var(--cc956-zara-menu-motion) var(--cc956-zara-menu-ease);
		will-change: opacity;
	}

	.cc956-zara-menu.is-open .cc956-zara-menu__scroll {
		opacity: 1;
	}

	.cc956-zara-menu.is-closing .cc956-zara-menu__scroll {
		opacity: 0;
	}

	.cc956-zara-menu__cards {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		padding: 24px 16px 34px;
	}

	.cc956-zara-menu__card {
		display: block;
		min-width: 0;
		touch-action: manipulation;
	}

	.cc956-zara-menu__card-media {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		aspect-ratio: 2 / 3;
		overflow: hidden;
		background: #f1f1f1;
	}

	.cc956-zara-menu__card-image {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.cc956-zara-menu__card-fallback {
		padding: 8px;
		font-size: 11px;
		line-height: 1.4;
		text-align: center;
	}

	.cc956-zara-menu__card-label {
		display: block;
		margin-top: 8px;
		font-size: 10px;
		font-weight: 500;
		line-height: 1.35;
		letter-spacing: .07em;
		text-align: center;
		text-transform: uppercase;
	}

	.cc956-zara-menu__sections {
		border-top: 1px solid #111;
	}

	.cc956-zara-menu__direct {
		border-bottom: 1px solid #d9d9d9;
	}

	.cc956-zara-menu__direct > a {
		display: flex;
		align-items: center;
		min-height: 74px;
		padding: 16px;
		font-size: clamp(20px, 5.4vw, 24px);
		font-weight: 400;
		line-height: 1.2;
		letter-spacing: -.025em;
		text-transform: uppercase;
		touch-action: manipulation;
	}

	.cc956-zara-menu__group {
		display: grid;
		grid-template-columns: minmax(94px, 30%) minmax(0, 1fr);
		gap: 18px;
		padding: 28px 16px 30px;
		border-bottom: 1px solid #111;
	}

	.cc956-zara-menu__group-key {
		display: flex;
		align-items: flex-start;
		gap: 8px;
		padding-top: 4px;
		font-size: 10px;
		font-weight: 500;
		line-height: 1.45;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.cc956-zara-menu__group-key > span {
		flex: 0 0 auto;
		font-variant-numeric: tabular-nums;
	}

	.cc956-zara-menu__group-key > a {
		min-width: 0;
	}

	.cc956-zara-menu__group-links h3 {
		margin: 0 0 12px;
		font-size: 22px;
		font-weight: 400;
		line-height: 1.25;
		letter-spacing: -.015em;
		text-transform: uppercase;
	}

	.cc956-zara-menu__group-links li {
		margin: 0;
	}

	.cc956-zara-menu__group-links li > a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 7px 0;
		font-size: 16px;
		font-weight: 400;
		line-height: 1.35;
		letter-spacing: .01em;
		text-transform: uppercase;
		touch-action: manipulation;
	}

	.cc956-zara-menu__footer {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 28px;
		padding: 28px 16px calc(32px + env(safe-area-inset-bottom));
		background: #fff;
	}

	.cc956-zara-menu__footer a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font-size: 13px;
		font-weight: 400;
		line-height: 1.4;
		letter-spacing: .04em;
		text-transform: uppercase;
		touch-action: manipulation;
	}
}

@media (max-width: 768px) and (hover: hover) and (pointer: fine) {
	.cc956-zara-menu a:hover {
		opacity: .58;
	}
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
	.cc956-zara-menu {
		--cc956-zara-menu-motion: 120ms;
	}

	.cc956-zara-menu__close span,
	.cc956-zara-menu__close span::before,
	.cc956-zara-menu__close span::after,
	.cc956-zara-menu__actions a {
		transition-duration: 0.01ms !important;
		transition-delay: 0ms !important;
	}
}

/* cc956-zara-menu 20260721.1: toolbar icon visibility fixes — Basel mobile CSS hides .header-links (account) and paints the mobile search glyph white. */
@media (max-width: 768px) {
	.cc956-zara-menu .cc956-zara-menu__account.header-links {
		display: block !important;
	}

	.cc956-zara-menu .cc956-zara-menu__search a .fa-search,
	.cc956-zara-menu .cc956-zara-menu__search a .fa-search::before {
		color: #111 !important;
	}
}

/* cc956-zara-menu 20260721.2: Zara fidelity pass — swap chunky font glyphs for the site's ALD 1px thin-line SVGs, and replace divider lines with whitespace. */
@media (max-width: 768px) {
	.cc956-zara-menu .cc956-zara-menu__account li:first-child > a::before,
	.cc956-zara-menu .cc956-zara-menu__search a .fa-search::before {
		display: block;
		content: "" !important;
		font-size: 0 !important;
		color: transparent !important;
		background-repeat: no-repeat;
		background-position: center;
	}

	.cc956-zara-menu .cc956-zara-menu__account li:first-child > a::before {
		width: 18px !important;
		height: 20px !important;
		flex: 0 0 18px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='20' viewBox='0 0 18 20' fill='none'%3E%3Ccircle cx='9' cy='5.5' r='4.5' stroke='%23181818'/%3E%3Cpath d='M1.5 19C1.5 13.8 4.9 11.5 9 11.5C13.1 11.5 16.5 13.8 16.5 19' stroke='%23181818'/%3E%3C/svg%3E");
		background-size: 18px 20px;
	}

	.cc956-zara-menu .cc956-zara-menu__account ul,
	.cc956-zara-menu .cc956-zara-menu__account li {
		margin: 0 !important;
		padding: 0 !important;
	}

	.cc956-zara-menu .cc956-zara-menu__account a {
		padding: 0 !important;
	}

	.cc956-zara-menu .cc956-zara-menu__search a .fa-search {
		display: block !important;
		width: 17px !important;
		height: 19px !important;
		font-size: 0 !important;
		line-height: 0 !important;
		transform: none !important;
	}

	.cc956-zara-menu .cc956-zara-menu__search a .fa-search::before {
		width: 17px !important;
		height: 19px !important;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='19' viewBox='0 0 17 19' fill='none'%3E%3Ccircle cx='6.66667' cy='6.66667' r='5.66667' stroke='%23181818'/%3E%3Cpath d='M10.0664 11.1992L15.1664 17.9992' stroke='%23181818'/%3E%3C/svg%3E");
		background-size: 17px 19px;
	}

	.cc956-zara-menu .cc956-zara-menu__cart > a {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='21' viewBox='0 0 18 21' fill='none'%3E%3Cpath d='M2 5H16L17 20H1L2 5Z' stroke='%23181818'/%3E%3Cpath d='M6 5V4C6 2.34315 7.34315 1 9 1C10.6569 1 12 2.34315 12 4V5' stroke='%23181818'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 18px 21px;
	}

	.cc956-zara-menu .cc956-zara-menu__cart > a::before {
		display: none;
		content: none !important;
	}

	.cc956-zara-menu .cc956-zara-menu__cart > a .basel-cart-number {
		position: absolute;
		top: 6.5px;
		right: 6px;
		left: auto;
		width: auto;
		min-width: 0;
		height: 9px;
		font-size: 9px;
		font-weight: 400;
		line-height: 9px;
		color: #181818 !important;
		background: transparent;
	}

	/* line diet: Zara separates with whitespace, not rules */
	.cc956-zara-menu__toolbar,
	.cc956-zara-menu__direct {
		border-bottom: 0;
	}

	.cc956-zara-menu__sections {
		border-top: 0;
	}

	.cc956-zara-menu__group {
		border-bottom: 0;
		padding: 30px 16px 26px;
	}

	.cc956-zara-menu__direct > a {
		min-height: 0;
		padding: 0 16px 16px;
	}

	.cc956-zara-menu__direct:first-of-type > a {
		padding-top: 0;
	}
}
