/* ==========================================================================
   Six Five — main stylesheet
   Layout language: 10px page edges, 4px radii, uppercase tight grotesk headings,
   frosted floating header, Six Five navy as the single brand colour.
   ========================================================================== */

:root {
	--brand: #1f3668;
	--brand-deep: #182a50;
	--brand-ink: #1b2742;
	--brand-soft: #36507f;
	--text: #2b3550;
	--muted: #7d8394;
	--line: #dfe1e6;
	--bg: #ffffff;
	--stone: #edecea;
	--img-bg: #eceae8;
	--sale: #e0161f;
	--ok: #36b36b;
	--white: #ffffff;

	--font: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
	--edge: 10px;
	--radius: 4px;
	--header-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1024px) { :root { --header-h: 82px; } }

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--brand-ink); font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.screen-reader-text, .skip-link {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px; background: var(--brand); color: var(--white); padding: 10px 16px; }

.wrap { padding-inline: var(--edge); max-width: 1920px; margin-inline: auto; }
.page-pad { padding-top: 32px; padding-bottom: 80px; }
.container { padding-inline: var(--edge); max-width: 1440px; margin-inline: auto; }

/* ---------- Type scale ---------- */

.h-xl, .h-lg, .h-sm, .hero__title, .tile__title { text-transform: uppercase; font-weight: 700; letter-spacing: -.01em; color: var(--brand-ink); }
.h-xl { font-size: clamp(34px, 4.2vw, 52px); line-height: .98; margin: 0; }
.h-lg { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; }
.h-sm { font-size: 17px; line-height: 1.2; margin-bottom: 14px; }
.display, .display--md { text-transform: uppercase; font-weight: 700; color: var(--brand-ink); font-size: clamp(24px, 3vw, 32px); line-height: 1.05; }
.kicker { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.prose { max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }

/* ---------- Tags / buttons ---------- */

.tag {
	display: inline-block; padding: 3px 7px 2px; border-radius: 2px;
	background: var(--brand); color: var(--white);
	font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}
.tag--light { background: var(--white); color: var(--brand-ink); }
.tag--sale { background: var(--sale); color: var(--white); }
.tag--lg { font-size: 12.5px; padding: 6px 10px 5px; letter-spacing: .18em; }
.pdp-tags .tag--light { background: var(--stone); }

.btn, .button, button.button, input.button, #place_order, .single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 56px; padding: 0 24px; border-radius: var(--radius);
	background: var(--brand); color: var(--white); border: 1px solid var(--brand);
	font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.2;
	cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.btn:hover, .button:hover, #place_order:hover, .single_add_to_cart_button:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--white); color: var(--brand-ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); background: var(--white); color: var(--brand); }
.button.disabled, .single_add_to_cart_button.disabled { opacity: .55; }
.is-loading { position: relative; pointer-events: none; color: transparent !important; }
.is-loading > * { visibility: hidden; }
.is-loading::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
	border: 2px solid var(--white); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite;
}
.card__quick.is-loading::after, .side-cart__item.is-loading::after { border-color: var(--brand); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* White "CTA card": small kicker + bold label + arrow (hero, story, footer). */
.cta-card {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 12px 24px; border-radius: var(--radius);
	background: var(--white); color: var(--brand-ink); font-weight: 700; font-size: 15px; text-transform: uppercase;
	transition: background .2s, color .2s;
}
.cta-card small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .02em; line-height: 1.4; }
.cta-card .icon { flex: none; transition: transform .2s var(--ease); }
.cta-card:hover { background: var(--brand); color: var(--white); }
.cta-card:hover small { color: rgba(255, 255, 255, .7); }
.cta-card:hover .icon { transform: translateX(4px); }

/* ---------- Announcement + header ---------- */

.announce { background: var(--brand); color: var(--white); text-align: center; font-size: 13.5px; font-weight: 600; padding: 11px var(--edge); line-height: 1.45; }
.announce p { margin: 0; }

.site-header { position: sticky; top: 0; z-index: 50; padding: 10px var(--edge) 0; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header__bar {
	height: var(--header-h); border-radius: var(--radius);
	display: flex; align-items: center; gap: 16px; padding: 0 16px 0 18px;
	background: var(--brand); color: var(--white); border: 1px solid transparent;
	transition: background .3s, border-color .3s, backdrop-filter .3s;
}
@media (min-width: 1024px) { .site-header__bar { padding: 0 32px; } }
/* Over a hero image the header floats as a frosted panel, then turns solid once scrolled. */
.site-header--overlay .site-header__bar {
	background: rgba(40, 44, 54, .28); border-color: rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.site-header--overlay.is-scrolled .site-header__bar,
.site-header--overlay:focus-within .site-header__bar,
.site-header--overlay:hover .site-header__bar { background: var(--brand); border-color: transparent; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex: none; }
.brand:hover { color: var(--white); }
.brand__mark { width: 48px; height: 48px; filter: brightness(0) invert(1); }
@media (min-width: 1024px) { .brand__mark { width: 62px; height: 62px; } }

.nav { display: none; flex: 1; justify-content: center; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hbtn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius);
	color: var(--white); position: relative; transition: background .2s, color .2s;
}
.hbtn:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.hbtn--boxed { border: 1px solid rgba(255, 255, 255, .45); }
.hbtn--cart { background: var(--white); color: var(--brand); }
.hbtn--cart:hover { background: rgba(255, 255, 255, .85); color: var(--brand); }
.site-header:not(.site-header--overlay) .hbtn--cart, .site-header.is-scrolled .hbtn--cart { background: var(--brand-soft); color: var(--white); }
.cart-toggle [data-cart-count] {
	position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--sale); color: var(--white); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-toggle [data-cart-count]:empty { display: none; }
.site-header__sep { width: 1px; height: 40px; background: rgba(255, 255, 255, .3); margin: 0 10px; }
.hide-md { display: none; }

@media (min-width: 1180px) {
	.nav { display: flex; }
	.site-header__burger { display: none; }
	.hide-md { display: inline-grid; }
	.site-header__sep.hide-md { display: block; }
	.site-header__actions { margin-left: 0; gap: 8px; }
	.nav .nav__list { display: flex; align-items: center; gap: 34px; list-style: none; }
	.nav .nav__list > li { position: relative; }
	.nav .nav__list > li > a {
		display: flex; align-items: center; gap: 4px; padding: 8px 0;
		font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--white);
	}
	.nav .nav__list > li > a:hover { opacity: .75; }
	.nav .menu-item-has-children > a::after {
		content: ""; width: 6px; height: 6px; margin: -3px 0 0 4px;
		border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
	}
	.nav .menu-sale > a { background: var(--sale); border-radius: var(--radius); padding: 7px 12px 7px 14px; }
	.nav .menu-sale > a:hover { opacity: 1; background: #c30f17; }
	.nav .sub-menu {
		position: absolute; top: calc(100% + 26px); left: -24px; min-width: 240px; list-style: none;
		background: var(--white); border-radius: var(--radius); padding: 14px 24px; box-shadow: 0 18px 40px rgba(20, 30, 60, .18);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
	}
	.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
	.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.nav .sub-menu a { display: block; padding: 7px 0; color: var(--brand-ink); font-weight: 600; font-size: 14px; text-transform: uppercase; }
	.nav .sub-menu a:hover { color: var(--brand-soft); }
}

.search-panel { margin-top: 8px; }
.search-panel__form {
	display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: var(--radius);
	background: var(--white); color: var(--brand-ink); box-shadow: 0 14px 40px rgba(20, 30, 60, .16);
}
.search-panel input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 18px; font-weight: 500; padding: 8px 0; outline: none; }

/* Pages without hero: leave room below the sticky header. */
.no-hero .site-main { padding-top: 10px; }

/* ---------- Hero ---------- */

.hero { position: relative; height: calc(100svh - var(--announce-h, 42px)); min-height: 560px; max-height: 1000px; display: flex; color: var(--white); background: var(--brand-ink); overflow: hidden; margin-top: calc((var(--header-h) + 10px) * -1); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
/* Slides stack and crossfade; the active one also gets a slow zoom. */
.hero__slide { position: absolute; inset: 0; display: flex; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide picture { position: absolute; inset: 0; overflow: hidden; }
.hero__slide .hero__img { transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .5) 100%); }
.hero__slide .hero__title, .hero__slide .hero__cta { opacity: 0; transform: translateY(18px); transition: opacity .7s .35s, transform .7s .35s var(--ease); }
.hero__slide.is-active .hero__title, .hero__slide.is-active .hero__cta { opacity: 1; transform: none; }
.hero__slide.is-active .hero__cta { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide * { transition: none !important; transform: none !important; } }
.hero__controls { position: absolute; z-index: 3; left: var(--edge); right: var(--edge); bottom: 112px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero__bars { display: flex; gap: 6px; flex: 1; max-width: 260px; }
.hero__bar { flex: 1; height: 24px; display: flex; align-items: center; }
.hero__bar span { display: block; width: 100%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero__bar span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done span::after { transform: scaleX(1); }
.hero__bar.is-active span::after { animation: heroBar var(--hero-delay, 6500ms) linear forwards; }
.hero.is-paused .hero__bar.is-active span::after { animation-play-state: paused; }
@keyframes heroBar { to { transform: scaleX(1); } }
.hero__arrows { display: none; gap: 6px; }
.hero__arrow { width: 56px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius); color: var(--white); transition: background .2s, color .2s; }
.hero__arrow:hover { background: var(--white); color: var(--brand-ink); }
@media (min-width: 1024px) {
	.hero__controls { left: auto; right: 42px; bottom: 42px; width: 420px; }
	.hero__arrows { display: flex; }
}
.hero__inner {
	position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
	padding: calc(var(--header-h) + 30px) var(--edge) 28px;
}
.hero[data-hero-autoplay] .hero__inner { padding-bottom: 28px; }
@media (max-width: 1023px) { .hero[data-hero-autoplay] .hero__title { margin-bottom: 36px; } }
.hero__title { color: var(--white); font-size: clamp(44px, 5.2vw, 76px); line-height: .98; margin: 0; max-width: 11ch; text-wrap: balance; }
@media (min-width: 1024px) {
	.hero__inner { justify-content: space-between; padding: calc(var(--header-h) + 44px) 42px 42px; }
	.hero__cta { width: 380px; }
}

/* ---------- USP strip ---------- */

.usp-strip { background: var(--stone); display: grid; padding: 18px 30px; }
.usp-strip__item { text-align: center; padding: 14px 0; }
.usp-strip__item + .usp-strip__item { border-top: 1px solid #c9cbd1; }
.usp-strip__item small, .usp-card small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; line-height: 1.4; }
.usp-strip__item strong, .usp-card strong { display: block; font-size: 18px; font-weight: 700; color: var(--brand-ink); text-transform: uppercase; line-height: 1.25; }
@media (min-width: 768px) {
	.usp-strip { grid-template-columns: repeat(3, 1fr); padding: 20px 0; }
	.usp-strip__item { padding: 6px 0; }
	.usp-strip__item + .usp-strip__item { border-top: 0; border-left: 1px solid #c9cbd1; }
}

/* ---------- Intro + tiles ---------- */

.intro { padding-top: 72px; padding-bottom: 36px; display: grid; gap: 20px; text-align: center; }
.intro__text { max-width: 600px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
@media (min-width: 900px) {
	.intro { grid-template-columns: 1fr 1fr; text-align: left; padding-top: 84px; padding-bottom: 80px; }
	.intro__title { max-width: 13ch; }
	.intro__text { margin: 120px 0 0; justify-self: end; font-size: 18px; }
}

.tiles { display: grid; gap: 10px; }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--img-bg); aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .tile { aspect-ratio: 3 / 2; } }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 40%); }
.tile:hover img { transform: scale(1.035); }
.tile__title { position: absolute; z-index: 1; top: 24px; left: 32px; right: 32px; color: var(--white); font-size: clamp(34px, 3.4vw, 48px); line-height: 1; }

/* ---------- Sliders ---------- */

.slider { padding-top: 80px; }
@media (min-width: 768px) { .slider { padding-top: 110px; } }
.slider-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 40px; }
.slider-head__text p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; }
.slider-head--center { display: grid; justify-items: center; text-align: center; }
.slider-head--center .slider-head__text { max-width: 560px; }
@media (min-width: 900px) {
	.slider-head--center { grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: end; }
	.slider-head--center .slider-head__text { grid-column: 2; }
	.slider-head--center .slider-nav { grid-column: 3; justify-self: end; }
}
.slider-nav { display: flex; align-items: center; gap: 6px; }
.slider-nav__count { font-size: 15px; color: var(--muted); margin-right: 12px; }
.slider-nav__count b { color: var(--brand-ink); font-weight: 600; }
.slider-nav__btn { width: 56px; height: 40px; display: grid; place-items: center; border: 1px solid var(--brand-ink); border-radius: var(--radius); color: var(--brand-ink); transition: background .2s, color .2s, opacity .2s; }
.slider-nav__btn:hover:not(:disabled) { background: var(--brand); color: var(--white); border-color: var(--brand); }
.slider-nav__btn:disabled { opacity: .3; cursor: default; }

ul.products.slider__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > .card { scroll-snap-align: start; }
@media (min-width: 640px) { ul.products.slider__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { ul.products.slider__track { grid-auto-columns: calc((100% - 32px) / 3); } }

/* ---------- Product grid & cards ---------- */

ul.products { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
@media (min-width: 1024px) { ul.products { grid-template-columns: repeat(3, 1fr); gap: 44px 16px; } }

.card { position: relative; min-width: 0; }
.card__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--img-bg); }
.card__link { display: block; aspect-ratio: 3 / 4; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .8s var(--ease); }
.card__img--hover { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
	.card:hover .card__img--hover { opacity: 1; }
	.card:hover .card__img { transform: scale(1.02); }
}
.card.outofstock .card__img { opacity: .5; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; pointer-events: none; }
.card__quick {
	position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: var(--radius);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--white); color: var(--brand-ink); font-size: 13px; font-weight: 700; text-transform: uppercase;
	transition: opacity .25s, transform .25s var(--ease), background .2s, color .2s;
}
.card__quick span { display: none; }
.card__quick:hover { background: var(--brand); color: var(--white); }
@media (hover: hover) and (min-width: 1024px) {
	.card__quick { left: 10px; width: auto; justify-content: space-between; padding: 0 18px; opacity: 0; transform: translateY(8px); }
	.card__quick span { display: inline; }
	.card:hover .card__quick, .card__quick:focus-visible { opacity: 1; transform: none; }
}
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; min-height: 20px; }
.card__colors { display: flex; align-items: center; gap: 5px; }
.card__colors span { width: 18px; height: 18px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.card__colors em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--brand-ink); margin-left: 2px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; }
.card__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1.25; margin: 0; color: var(--brand-ink); }
.card__title a:hover { color: var(--brand-soft); }
.card__price { flex: none; font-size: 15px; text-align: right; }
.card__price .price { font-weight: 400; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
@media (min-width: 1024px) {
	.card__title { font-size: 19px; }
	.card__price { font-size: 18px; }
	.card__price .price { flex-direction: row; gap: 8px; }
}
@media (max-width: 639px) {
	ul.products:not(.slider__track) .card__row { flex-direction: column; gap: 2px; }
	ul.products:not(.slider__track) .card__price .price { align-items: flex-start; flex-direction: row; gap: 6px; }
	ul.products:not(.slider__track) .card__colors span { width: 14px; height: 14px; }
	ul.products:not(.slider__track) .card__meta .tag { font-size: 9px; letter-spacing: .1em; }
}

.price { color: var(--brand-ink); }
.price del { color: var(--muted); font-size: .85em; }
.price ins { text-decoration: none; color: var(--sale); }
.price .screen-reader-text { position: absolute !important; }

/* ---------- Story (frosted cards over image) ---------- */

.story { position: relative; margin-top: 90px; display: flex; align-items: flex-end; min-height: 760px; overflow: hidden; }
@media (min-width: 768px) { .story { margin-top: 120px; min-height: 900px; } }
.story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.story__cards { position: relative; width: 100%; display: grid; gap: 10px; padding: 240px var(--edge) var(--edge); }
@media (min-width: 900px) { .story__cards { grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 250px var(--edge) 18px; } }
.glass-card {
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 340px;
	padding: 20px; border-radius: var(--radius);
	background: rgba(236, 238, 242, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
@media (min-width: 900px) { .glass-card { min-height: 488px; } }
.glass-card p { margin: auto 0 0; font-size: 16px; line-height: 1.6; max-width: 62ch; }

/* ---------- Category hero / filters / strip ---------- */

.shop-page { padding: 0 var(--edge) 90px; }
.cat-hero { position: relative; margin: calc((var(--header-h) + 10px) * -1) calc(var(--edge) * -1) 0; min-height: 560px; display: flex; color: var(--white); background: var(--brand-ink); overflow: hidden; }
.cat-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .05) 45%, rgba(0, 0, 0, .55)); }
.cat-hero__inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: calc(var(--header-h) + 34px) var(--edge) 24px; }
.cat-hero .hero__title { font-size: clamp(44px, 5vw, 72px); max-width: none; }
.cat-hero__bottom { display: grid; gap: 20px; align-items: end; }
.cat-hero__desc { max-width: 580px; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .95); }
.cat-hero__desc p { margin: 0; }
.usp-card { display: none; }
@media (min-width: 900px) {
	.cat-hero { min-height: 620px; }
	.cat-hero__inner { padding-bottom: 40px; }
	.cat-hero__bottom { grid-template-columns: 1fr auto; }
	.usp-card { display: grid; grid-template-columns: repeat(3, auto); background: var(--white); border-radius: var(--radius); }
	.usp-card > div { padding: 22px 24px; min-width: 200px; }
	.usp-card > div + div { border-left: 1px solid var(--line); }
	.usp-card strong { font-size: 16.5px; }
}
.search-head { padding: 40px 0 10px; }

.filter-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin: 38px 0 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius);
}
@media (min-width: 768px) { .filter-bar { padding: 12px 20px; } }
.filter-bar__filters { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 768px) { .filter-bar__filters { gap: 16px; } }
.filter-bar__right { display: flex; gap: 16px; align-items: center; flex: 1; justify-content: flex-end; min-width: 220px; }
.dropdown { position: relative; }
.dropdown__btn {
	list-style: none; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 16px;
	border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; user-select: none;
	font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); white-space: nowrap;
}
.dropdown__btn::-webkit-details-marker { display: none; }
.dropdown__btn .icon { transition: transform .2s; }
.dropdown[open] .dropdown__btn .icon { transform: rotate(180deg); }
.dropdown__btn.is-active, .dropdown[open] .dropdown__btn { border-color: var(--brand); }
.dropdown__panel {
	position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 260px; max-height: 380px; overflow-y: auto;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
	box-shadow: 0 18px 40px rgba(20, 30, 60, .14); display: grid; gap: 4px;
}
.dropdown__panel--size { grid-template-columns: 1fr 1fr; }
.dropdown__panel--size .btn, .dropdown__panel--color .btn { grid-column: 1 / -1; margin-top: 8px; }
.dropdown__panel--price .btn { margin-top: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: 14px; cursor: pointer; border-radius: 2px; }
.check:hover { background: var(--stone); }
.check input { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.check i { width: 16px; height: 16px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range span { display: block; font-size: 11px; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; color: var(--muted); }
.price-range input { min-height: 42px !important; padding: 8px 10px !important; }

.woocommerce-ordering { margin: 0; flex: 1; max-width: 290px; }
.woocommerce-ordering select {
	width: 100%; height: 40px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--white);
	font-size: 14px; color: var(--brand-ink); appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231b2742' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.filter-bar__reset {
	display: none; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius);
	font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.filter-bar__reset.is-active { color: var(--brand-ink); }
@media (min-width: 768px) { .filter-bar__reset { display: inline-flex; } }
@media (max-width: 767px) {
	.filter-bar__right { min-width: 100%; }
	.woocommerce-ordering { max-width: none; }
	.filter-bar__reset.is-active { display: inline-flex; }
}

.cat-strip { margin-bottom: 20px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 768px) { .cat-strip { padding: 12px 20px; } }
.cat-strip__track { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.cat-strip__track::-webkit-scrollbar { display: none; }
.cat-strip__item { flex: 0 0 112px; }
@media (min-width: 768px) { .cat-strip__item { flex-basis: 160px; } }
.cat-strip__img { display: block; aspect-ratio: 160 / 208; background: var(--img-bg); border-radius: 2px; overflow: hidden; }
.cat-strip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-strip__item:hover img { transform: scale(1.04); }
.cat-strip__name { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--brand-ink); }
.cat-strip__item.is-active .cat-strip__name { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.woocommerce-info.woocommerce-no-products-found { margin-top: 20px; }
.woocommerce-pagination { margin-top: 56px; }
.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.woocommerce-pagination .current, .woocommerce-pagination a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* ---------- Single product ---------- */

.breadcrumb { font-size: 12px; color: var(--muted); margin: 6px 0 12px; }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }
@media (min-width: 1024px) { .breadcrumb { display: none; } }

.pdp-page { padding-top: 0; padding-bottom: 0; }
div.product.type-product { display: grid; gap: 24px; padding-top: 10px; }
@media (min-width: 1024px) {
	div.product.type-product { grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; align-items: start; }
	div.product.type-product > .summary { position: sticky; top: calc(var(--header-h) + 20px); padding-top: 26px; }
}
@media (min-width: 1440px) { div.product.type-product { grid-template-columns: minmax(0, 1fr) 500px; } }

.pdp-gallery { position: relative; margin: 0 calc(var(--edge) * -1); }
.pdp-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdp-gallery__track::-webkit-scrollbar { display: none; }
.pdp-gallery__item { flex: 0 0 100%; scroll-snap-align: start; background: var(--img-bg); }
.pdp-gallery__item img { width: 100%; aspect-ratio: 455 / 590; object-fit: cover; }
.pdp-gallery__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pdp-gallery__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(27, 39, 66, .25); transition: width .2s, background .2s; }
.pdp-gallery__dots span.is-active { width: 20px; border-radius: 4px; background: var(--brand); }
@media (min-width: 1024px) {
	.pdp-gallery { margin: 0; }
	.pdp-gallery__track { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; }
	.pdp-gallery__item { border-radius: var(--radius); overflow: hidden; }
	.pdp-gallery__dots { display: none; }
}

.pdp-tags { display: flex; gap: 10px; margin-bottom: 18px; }
.summary .product_title { font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; text-transform: uppercase; line-height: .98; letter-spacing: -.01em; margin: 0 0 22px; }
.pdp-price { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0 22px; margin-bottom: 26px; }
.pdp-price .price { font-size: 24px; font-weight: 700; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pdp-price .price del { font-weight: 500; font-size: 18px; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--text); }
.ticks .icon { color: var(--brand-ink); flex: none; }

table.variations { width: 100%; border-collapse: collapse; }
table.variations tr { display: block; margin-bottom: 22px; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; }
table.variations th.label { margin-bottom: 12px; }
table.variations label { font-size: 17px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); }
.swatch-value { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; margin-left: 6px; }
.swatches__select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; transition: border-color .15s, background .15s, color .15s; }
.swatch--text {
	flex: 0 0 calc((100% - 24px) / 4); min-height: 58px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
	font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); line-height: 1.15;
}
.swatch--text:hover { border-color: var(--brand); }
.swatch--text.is-active { background: var(--brand); color: var(--white); border-color: var(--brand); }
.swatch--color { width: 48px; height: 48px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.swatch--color span { display: block; width: 100%; height: 100%; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.swatch--color:hover { border-color: var(--brand-soft); }
.swatch--color.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.swatch.is-oos { color: var(--muted); }
.swatch--text.is-oos { background: #f6f6f7; text-decoration: line-through; }
.swatch--color.is-oos::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1.5px; background: var(--brand-ink); transform: rotate(45deg); }
.swatch:disabled { opacity: .3; cursor: not-allowed; }
.reset_variations { font-size: 13px; color: var(--muted); text-decoration: underline; display: inline-block; margin-top: 10px; }

.single_variation_wrap .woocommerce-variation-price { display: none; }
.woocommerce-variation-availability .stock, .summary .stock {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink);
}
.stock.in-stock::before, .stock.out-of-stock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.stock.out-of-stock::before { background: var(--sale); }

form.cart { margin-bottom: 8px; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; gap: 10px; }
.quantity { display: none; }
.single_add_to_cart_button { flex: 1; min-height: 64px; font-size: 16px; }
.single_add_to_cart_button::after {
	content: ""; width: 22px; height: 22px; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9h17l-1.6 10.2a1 1 0 0 1-1 .8H6.1a1 1 0 0 1-1-.8L3.5 9Z'/%3E%3Cpath d='M8 9l2-5M16 9l-2-5M9.5 13v3M14.5 13v3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9h17l-1.6 10.2a1 1 0 0 1-1 .8H6.1a1 1 0 0 1-1-.8L3.5 9Z'/%3E%3Cpath d='M8 9l2-5M16 9l-2-5M9.5 13v3M14.5 13v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accordion { margin-top: 24px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion__icon { width: 12px; height: 12px; position: relative; flex: none; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .2s; }
.accordion__icon::after { transform: rotate(90deg); }
.accordion details[open] .accordion__icon::after { transform: rotate(0); }
.accordion__body { padding-bottom: 20px; font-size: 15px; }

.outfit { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.mini { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .mini { grid-template-columns: 160px 1fr; gap: 20px; } }
.mini:last-child { border-bottom: 0; margin-bottom: 0; }
.mini__img { display: block; background: var(--img-bg); border-radius: 2px; overflow: hidden; }
.mini__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mini__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.mini__name { font-size: 17px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); line-height: 1.2; }
.mini__price { font-size: 16px; margin-bottom: auto; }
.mini .btn { margin-top: 10px; min-height: 48px; }

/* Mobile: sticky add-to-cart */
@media (max-width: 1023px) {
	.single-product .woocommerce-variation-add-to-cart, .single-product form.cart:not(.variations_form) {
		position: sticky; bottom: 0; z-index: 20; background: var(--white); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); margin: 0;
	}
	.single_add_to_cart_button { min-height: 56px; }
}

/* ---------- Drawers / modal / side cart ---------- */

.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(20, 28, 48, .45); opacity: 0; transition: opacity .25s; }
.overlay.is-visible { opacity: 1; }
.drawer {
	position: fixed; top: 0; bottom: 0; z-index: 100; width: min(460px, 92vw); background: var(--white);
	display: flex; flex-direction: column; transition: transform .3s var(--ease), visibility .3s; visibility: hidden;
}
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 16px; }
.drawer__title { font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); }
.drawer__head .icon-btn, .modal__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--brand); color: var(--white); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer-nav { padding: 4px 20px 32px; display: flex; flex-direction: column; }
.drawer-nav .nav__list { list-style: none; }
.drawer-nav .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); }
.drawer-nav .sub-menu { list-style: none; padding-left: 14px; }
.drawer-nav .sub-menu a { font-size: 16px; font-weight: 600; padding: 10px 0; }
.drawer-nav .menu-sale > a { color: var(--sale); }
.drawer-nav__account { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--brand-ink); }
.drawer-nav .socials { margin-top: 18px; color: var(--brand-ink); }

.modal {
	position: fixed; z-index: 100; left: 50%; top: 50%; width: min(960px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow-y: auto;
	background: var(--white); border-radius: var(--radius); transform: translate(-50%, -46%); opacity: 0; visibility: hidden;
	transition: transform .3s var(--ease), opacity .25s, visibility .3s;
}
.modal.is-open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (max-width: 767px) {
	.modal { top: auto; bottom: 0; left: 0; width: 100%; max-height: 92svh; border-radius: 12px 12px 0 0; transform: translateY(100%); }
	.modal.is-open { transform: none; }
}
.qv { display: grid; }
.qv__media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 6px; }
.qv__media::-webkit-scrollbar { display: none; }
.qv__img { flex: 0 0 72%; scroll-snap-align: start; background: var(--img-bg); }
.qv__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.qv__summary { padding: 20px 16px 28px; }
.qv__summary > .price { font-size: 20px; font-weight: 700; margin-bottom: 20px; display: flex; gap: 10px; }
.qv__summary .link-arrow { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; font-weight: 700; text-transform: uppercase; font-size: 13px; color: var(--brand-ink); }
.qv .single_add_to_cart_button { min-height: 56px; }
@media (min-width: 768px) {
	.qv { grid-template-columns: 1fr 1fr; }
	.qv__media { flex-direction: column; max-height: calc(100svh - 24px); overflow-y: auto; scroll-snap-type: y mandatory; }
	.qv__img { flex: none; }
	.qv__summary { padding: 36px 32px; }
}

.side-cart { display: flex; flex-direction: column; }
.side-cart__empty { padding: 48px 20px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.side-cart__items { list-style: none; flex: 1; padding: 0 20px; }
.side-cart__item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); position: relative; }
.side-cart__item.is-loading > * { opacity: .3; }
.side-cart__thumb { background: var(--img-bg); border-radius: 2px; overflow: hidden; }
.side-cart__thumb img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; }
.side-cart__name { font-weight: 700; text-transform: uppercase; font-size: 15px; color: var(--brand-ink); display: block; line-height: 1.25; }
.side-cart__meta { font-size: 13px; color: var(--muted); margin: 6px 0 10px; }
.side-cart__meta dl.variation { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 6px; }
.side-cart__meta dt, .side-cart__meta dd { margin: 0; }
.side-cart__meta dd p { margin: 0; }
.side-cart__row { display: flex; justify-content: space-between; align-items: center; }
.side-cart__price { font-weight: 700; color: var(--brand-ink); }
.side-cart__remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 8px; }
.side-cart__foot { position: sticky; bottom: 0; background: var(--white); padding: 18px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.side-cart__total { display: flex; justify-content: space-between; font-size: 17px; text-transform: uppercase; font-weight: 700; color: var(--brand-ink); }
.side-cart__note { font-size: 12px; color: var(--muted); margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 36px; }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--brand-ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }

/* ---------- Notices / toast ---------- */

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius); background: var(--stone); color: var(--brand-ink);
	font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.woocommerce-error { background: #fdecec; display: block; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; font-size: 12px; order: 2; }
.toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); border-radius: var(--radius);
	background: var(--brand); color: var(--white); padding: 14px 20px; font-size: 14px; font-weight: 600;
	opacity: 0; visibility: hidden; transition: .25s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--error { background: var(--sale); }

/* ---------- Forms ---------- */

.input-text, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search]:not(#sf-search), textarea, select:not(.woocommerce-ordering select) {
	width: 100%; min-height: 52px; padding: 12px 14px; background: var(--white); color: var(--brand-ink);
	border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; outline: none; transition: border-color .15s;
}
textarea { min-height: 100px; }
.input-text:focus, input:focus, textarea:focus, select:focus { border-color: var(--brand); }
.form-row { margin: 0 0 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 6px; }
.form-row .required { color: var(--sale); text-decoration: none; }
.form-row .optional { display: none; }
.form-row.is-hidden, .form-row.hidden { display: none !important; }
.woocommerce-invalid input.input-text, .woocommerce-invalid select { border-color: var(--sale); }
.select2-container .select2-selection--single { height: 52px; border: 1px solid var(--line); border-radius: var(--radius); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 50px; padding-left: 14px; color: var(--brand-ink); }
.select2-container .select2-selection--single .select2-selection__arrow { height: 50px; right: 8px; }
.select2-dropdown { border-color: var(--line); border-radius: var(--radius); }
.select2-results__option--highlighted { background: var(--brand) !important; }

/* ---------- Cart / checkout / account ---------- */

.wc-page .page-head { margin-bottom: 28px; }
.wc-page .page-head .display { font-size: clamp(36px, 4.5vw, 56px); }
table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
table.shop_table th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cart .product-thumbnail img { width: 80px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; background: var(--img-bg); }
table.cart .product-remove a { font-size: 22px; color: var(--muted); }
table.cart .product-name a { font-weight: 700; text-transform: uppercase; color: var(--brand-ink); }
table.cart td.actions { padding-top: 20px; }
table.cart .coupon { display: flex; gap: 8px; margin-bottom: 10px; max-width: 460px; }
table.cart button[name=update_cart] { background: var(--white); color: var(--brand-ink); border-color: var(--line); }
.cart-collaterals { max-width: 480px; margin-left: auto; }
.cart_totals h2 { font-size: 26px; text-transform: uppercase; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
@media (max-width: 767px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; grid-template-columns: 80px 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive td { border: 0; padding: 0; }
	table.cart .product-thumbnail { grid-row: span 4; }
	table.cart .product-remove { grid-column: 3; grid-row: 1; }
	table.cart td[data-title]::before { content: attr(data-title) " : "; font-size: 11px; color: var(--muted); text-transform: uppercase; }
	table.cart td.product-name::before, table.cart td.product-thumbnail::before, table.cart td.product-remove::before { display: none; }
	table.cart td.actions { grid-column: 1 / -1; }
	table.cart .coupon { flex-direction: column; }
}

form.checkout { display: grid; gap: 32px; }
@media (min-width: 1024px) {
	form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
	form.checkout > #order_review_heading, form.checkout > #order_review { grid-column: 2; }
	form.checkout > #customer_details { grid-row: 1 / span 2; }
	#order_review { position: sticky; top: calc(var(--header-h) + 30px); }
}
form.checkout h3, #order_review_heading { font-size: 24px; text-transform: uppercase; margin-bottom: 18px; }
#order_review_heading { margin: 0; }
#order_review { background: var(--stone); padding: 24px; border-radius: var(--radius); }
#order_review table.shop_table td, #order_review table.shop_table th { padding: 10px 0; border-color: #d6d6d9; }
#order_review .order-total { font-size: 19px; color: var(--brand-ink); }
.woocommerce-shipping-methods { list-style: none; }
#payment ul.payment_methods { list-style: none; padding: 16px 0; }
#payment .payment_box { font-size: 13px; color: var(--muted); padding: 6px 0 0 24px; }
#payment .payment_box p { margin: 0; }
#place_order { width: 100%; min-height: 64px; font-size: 16px; justify-content: center; }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted); }
.checkout_coupon { display: flex; gap: 8px; margin-bottom: 20px; }
.checkout_coupon p { margin: 0; }
.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 20px 0 32px; }
.woocommerce-order-overview li { background: var(--stone); border-radius: var(--radius); padding: 16px; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; color: var(--brand-ink); font-size: 16px; text-transform: none; margin-top: 4px; }
.woocommerce-thankyou-order-received { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; text-transform: uppercase; color: var(--brand-ink); line-height: 1.05; }

.woocommerce-account .woocommerce { display: grid; gap: 32px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 240px 1fr; } }
.woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--brand-ink); }
.woocommerce-MyAccount-navigation .is-active a { color: var(--brand-soft); }
.u-columns.col2-set { display: grid; gap: 32px; }
@media (min-width: 768px) { .u-columns.col2-set { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */

.site-footer { margin-top: 110px; background: var(--brand-ink); color: #aab3c6; font-size: 14.5px; }
.site-footer__inner { max-width: 1440px; margin: 0 auto; padding: 56px 20px 24px; }
@media (min-width: 1024px) { .site-footer__inner { padding: 84px 90px 28px; } }
.site-footer a:hover { color: var(--white); }
.site-footer__top { display: grid; gap: 48px; padding-bottom: 56px; }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 512px 1fr; gap: 120px; } }
.site-footer__cta .h-lg { color: var(--white); margin-bottom: 14px; }
.site-footer__cta p { font-size: 17px; line-height: 1.65; margin-bottom: 30px; }
.site-footer__cta .cta-card { max-width: 512px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer__title { color: var(--white); font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__cols ul { list-style: none; display: grid; gap: 6px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.site-footer__copy { color: var(--white); font-size: 14px; }
.socials { display: flex; gap: 4px; margin-left: -8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; color: inherit; }
.site-footer .socials { color: var(--white); }

.wa-float {
	position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
	background: #25d366; color: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); transition: transform .2s;
}
.wa-float:hover { color: var(--white); transform: scale(1.05); }
.wa-float { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, visibility .25s, transform .25s; }
body.is-scrolled .wa-float { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 1023px) { .single-product .wa-float { bottom: 92px; } }

/* ---------- Misc pages ---------- */

.page-head { margin-bottom: 24px; }
.page-head .display { font-size: clamp(36px, 4.5vw, 56px); }
.notfound .display--xxl { font-size: clamp(56px, 9vw, 120px); line-height: .95; }
.notfound .btn { margin-top: 12px; }
.post-list { display: grid; gap: 24px; }

/* Tablet: two gallery images per swipe instead of one oversized image. */
@media (min-width: 768px) and (max-width: 1023px) {
	.pdp-gallery__track { gap: 6px; }
	.pdp-gallery__item { flex-basis: calc(50% - 3px); }
}
