/* Tanakoora — home in the current site's look (R33). */

.tk-home { padding-block: 16px 24px; }

/* Hero (2026-11-13): three slides, each a card in its own tone (tokens --hero-*). Phone: photo stage on top, copy and a
   full-width button under it. Tablet/desktop: copy at the start (right in RTL), stage at the end. The shoe sits on a
   spotlight disc with rings and a floor shadow; product photos have white backgrounds, so they are blended with multiply
   (the slide is the isolated group; the stage and its link must not create a stacking context, or the white shows again).
   Under the card: one tab per slide with a progress line; the line is the timer (theme.js moves on at its end). */
.tk-hero { position: relative; }
.tk-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--shape-overlay); }
.tk-hero__track::-webkit-scrollbar { display: none; }
.tk-hero--sand { --hero-bg: var(--hero-sand); --hero-deep: var(--hero-sand-deep); }
.tk-hero--sky { --hero-bg: var(--hero-sky); --hero-deep: var(--hero-sky-deep); }
.tk-hero--rose { --hero-bg: var(--hero-rose); --hero-deep: var(--hero-rose-deep); }
.tk-hero__slide { --tilt: 8deg; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; position: relative; isolation: isolate; display: grid; align-content: start; background: radial-gradient(120% 70% at 50% 18%, var(--card) 0, transparent 60%), linear-gradient(180deg, var(--hero-bg), color-mix(in srgb, var(--hero-bg) 45%, var(--card))); }

.tk-hero__stage { position: relative; display: grid; place-items: center; aspect-ratio: 6 / 5; }
.tk-hero__stage::before { content: ""; position: absolute; z-index: -1; inline-size: min(76%, 320px); aspect-ratio: 1; border-radius: var(--shape-pill); background: radial-gradient(circle, color-mix(in srgb, var(--hero-deep) 70%, var(--card)) 0 54%, color-mix(in srgb, var(--hero-deep) 40%, transparent) 54% 68%, color-mix(in srgb, var(--hero-deep) 18%, transparent) 68% 82%, transparent 82%); }
.tk-hero__stage::after { content: ""; position: absolute; z-index: -1; inset-block-end: 17%; inline-size: 56%; block-size: 8%; border-radius: var(--shape-pill); background: radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 34%, transparent), transparent); }
.tk-hero__media { display: block; inline-size: min(84%, 340px); }
.tk-hero__media img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transform: rotate(var(--tilt)); transition: transform 400ms var(--ease-out-soft); }
.tk-hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--shape-pill); background: color-mix(in srgb, var(--card) 92%, transparent); box-shadow: var(--depth-surface); font-size: var(--text-xs); font-weight: 700; line-height: var(--leading-control); color: var(--foreground); white-space: nowrap; }
.tk-hero__chip .tk-icon { color: var(--primary); stroke-width: 2; }
.tk-hero__chip--0 { inset-block-start: 10%; inset-inline-start: 16px; }
.tk-hero__chip--1 { inset-block-end: 8%; inset-inline-end: 16px; }

.tk-hero__text { display: grid; justify-items: start; gap: 8px; padding: 4px 20px 24px; }
.tk-hero__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--hero-deep); border-radius: var(--shape-pill); background: var(--card); font-size: var(--text-xs); font-weight: 700; line-height: var(--leading-control); color: var(--brand); }
.tk-hero__kicker::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: var(--shape-pill); background: var(--primary); }
.tk-hero__text h2 { margin: 0; font-size: var(--text-2xl); font-weight: 700; line-height: var(--leading-heading); color: var(--foreground); }
.tk-hero__text p { margin: 0; font-size: var(--text-sm); line-height: var(--leading-reading); color: var(--muted-foreground); max-inline-size: 30rem; }
.tk-hero__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-block-start: 8px; inline-size: 100%; min-block-size: 48px; block-size: auto; padding-inline: 24px; }
.tk-hero__btn .tk-icon { transform: rotate(90deg); }

/* Tabs + progress (the timer). transform-origin 100% = the start side in RTL (the site is always RTL). */
.tk-hero__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-block-start: 8px; }
.tk-hero__tab { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "num label" "bar bar"; align-content: center; gap: 4px 6px; min-block-size: var(--touch); padding: 6px 2px; border: 0; background: none; font: inherit; font-size: var(--text-xs); line-height: var(--leading-control); text-align: start; color: var(--muted-foreground); cursor: pointer; transition: color var(--motion) var(--motion-ease); }
.tk-hero__num { grid-area: num; font-weight: 700; }
.tk-hero__label { grid-area: label; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-hero__bar { grid-area: bar; display: block; block-size: 3px; border-radius: var(--shape-pill); background: var(--border); overflow: hidden; }
.tk-hero__bar i { display: block; block-size: 100%; background: var(--primary); transform: scaleX(0); transform-origin: 100% 50%; }
.tk-hero__tab:hover, .tk-hero__tab.is-on { color: var(--foreground); }
.tk-hero__tab.is-on .tk-hero__bar i { animation: tk-hero-fill var(--hero-time) linear forwards; }
.tk-hero.is-paused .tk-hero__tab.is-on .tk-hero__bar i { animation-play-state: paused; }
.tk-hero__tab:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: var(--shape-control); }
@keyframes tk-hero-fill { to { transform: scaleX(1); } }

/* A slide that comes into view (never the first one on load: LCP) plays its entrance: shoe swings in, copy rises, chips pop. */
.tk-hero__slide.is-enter img { animation: tk-hero-shoe 700ms var(--ease-out-soft) both; }
.tk-hero__slide.is-enter .tk-hero__text > * { animation: tk-hero-up 500ms var(--ease-out-soft) both; }
.tk-hero__slide.is-enter .tk-hero__text > :nth-child(2) { animation-delay: 60ms; }
.tk-hero__slide.is-enter .tk-hero__text > :nth-child(3) { animation-delay: 120ms; }
.tk-hero__slide.is-enter .tk-hero__text > :nth-child(4) { animation-delay: 180ms; }
.tk-hero__slide.is-enter .tk-hero__chip { animation: tk-hero-pop 500ms var(--ease-spring) 250ms both; }
.tk-hero__slide.is-enter .tk-hero__chip--1 { animation-delay: 350ms; }
@keyframes tk-hero-shoe { from { opacity: 0; transform: translateX(-14%) rotate(calc(var(--tilt) - 12deg)) scale(0.9); } to { opacity: 1; transform: rotate(var(--tilt)); } }
@keyframes tk-hero-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tk-hero-pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .tk-hero__media:hover img { transform: rotate(calc(var(--tilt) - 3deg)) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
	.tk-hero__slide.is-enter *, .tk-hero__media img { animation: none !important; transition: none; }
	.tk-hero__tab.is-on .tk-hero__bar i { animation: none; transform: none; }
}

/* Tablet: two columns, copy at the start. */
@media (min-width: 700px) {
	.tk-hero__slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; min-block-size: 400px; padding-inline: 40px 8px; background: radial-gradient(60% 90% at 30% 50%, var(--card) 0, transparent 70%), linear-gradient(90deg, color-mix(in srgb, var(--hero-bg) 45%, var(--card)), var(--hero-bg)); }
	.tk-hero__text { order: -1; padding: 32px 0; gap: 12px; }
	.tk-hero__btn { inline-size: auto; }
	.tk-hero__stage { aspect-ratio: auto; block-size: 100%; min-block-size: 360px; }
	.tk-hero__stage::before { inline-size: min(82%, 400px); }
	.tk-hero__media { inline-size: min(96%, 440px); }
	.tk-hero__chip--0 { inset-inline-start: 4%; }
	.tk-hero__chip--1 { inset-inline-end: 8%; }
	.tk-hero__tab { gap: 6px 8px; padding: 8px 4px; font-size: var(--text-sm); }
}
/* Desktop: wider card, bigger stage, the copy column holds a fixed measure. */
@media (min-width: 1100px) {
	.tk-hero__slide { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-block-size: 500px; padding-inline: 72px 24px; }
	.tk-hero__text { gap: 16px; max-inline-size: 30rem; }
	.tk-hero__text p { font-size: var(--text-base); }
	.tk-hero__stage { min-block-size: 460px; }
	.tk-hero__stage::before { inline-size: min(80%, 460px); }
	.tk-hero__media { inline-size: min(100%, 540px); }
	.tk-hero__chip { padding: 8px 16px; font-size: var(--text-sm); }
	.tk-hero__nav { gap: 24px; padding-inline: 8px; }
	.tk-hero__num { font-size: var(--text-lg); }
}

.tk-home__intro { text-align: center; margin-block: 16px 0; }
.tk-home__h1 { font-size: var(--text-base); font-weight: 400; color: var(--muted-foreground); margin: 0; line-height: var(--leading-reading); }
.tk-home__intro p { margin: 4px 0 0; font-size: var(--text-sm); }
.tk-home__intro a { color: var(--primary); }


/* Four service boxes */
.tk-boxes { list-style: none; margin-block: 24px 0; padding-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tk-boxes li { display: grid; justify-items: center; gap: 4px; padding: 16px 8px; background: var(--card); border-radius: var(--shape-control); box-shadow: var(--depth-surface); text-align: center; }
.tk-boxes .tk-icon { color: var(--primary); }
.tk-boxes strong { font-size: var(--text-xs); color: var(--muted-foreground); }
.tk-boxes span { font-size: var(--text-xs); color: var(--muted-foreground); }
@media (min-width: 900px) { .tk-boxes { grid-template-columns: repeat(4, 172px); justify-content: space-around; } }

/* Section title with lines on both sides */

/* Horizontal row (newest pairs, articles): swipe on phones, five/three in a row on desktop */
.tk-row, ul.products.tk-row { position: relative; /* keeps absolute children (screen-reader text) inside the scroller */ display: grid; grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; scrollbar-width: thin; }
.tk-row > * { scroll-snap-align: start; }
@media (min-width: 700px) { .tk-row, ul.products.tk-row { grid-template-columns: none; grid-auto-columns: 31%; gap: 20px; } }
@media (min-width: 1100px) { ul.products.tk-row { grid-auto-columns: calc((100% - 80px) / 5); } }

/* Brand columns (owner 2026-11-06): the three brands with most stock, newest four pairs each. Desktop: three columns;
   phone: the columns slide sideways (one and a bit on screen, so it is clear there is more). */
.tk-bcols__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: none; }
.tk-bcols__grid::-webkit-scrollbar { display: none; }
.tk-bcol { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--card); border-radius: var(--shape-surface); box-shadow: var(--depth-surface); overflow: hidden; }
.tk-bcol__head { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(180deg, var(--muted), var(--card)); border-block-end: 1px solid var(--border); color: var(--foreground); }
.tk-bcol__logo { flex: none; display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: var(--shape-pill); background: var(--card); box-shadow: var(--depth-surface); font-weight: 700; font-size: var(--text-xl); }
.tk-bcol__logo img { inline-size: 40px; block-size: 40px; object-fit: contain; }
.tk-bcol__name { display: grid; gap: 2px; flex: 1; min-inline-size: 0; }
.tk-bcol__name strong { font-size: var(--text-lg); }
.tk-bcol__name small { font-size: var(--text-xs); color: var(--muted-foreground); }
.tk-bcol__all { display: inline-flex; align-items: center; gap: 4px; min-block-size: var(--touch); padding-inline: 12px; border-radius: var(--shape-pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); font-size: var(--text-sm); font-weight: 700; color: var(--primary); }
.tk-bcol__all .tk-icon, .tk-gender__go .tk-icon { transform: rotate(90deg); }
.tk-bcol__items { list-style: none; margin: 0; padding: 4px 16px 8px; }
.tk-bcol__items li + li { border-block-start: 1px solid var(--border); }
.tk-bcol__items a { display: flex; gap: 12px; align-items: center; padding: 12px 0; color: var(--foreground); }
.tk-bcol__img { flex: none; display: grid; place-items: center; inline-size: 76px; block-size: 76px; border-radius: var(--shape-surface); background: var(--muted); overflow: hidden; }
.tk-bcol__img img { inline-size: 100%; block-size: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 250ms var(--ease-out-soft); }
.tk-bcol__items a:hover .tk-bcol__img img { transform: scale(1.08) rotate(-4deg); }
.tk-bcol__text { display: grid; gap: 4px; min-inline-size: 0; }
.tk-bcol__pname { font-size: var(--text-sm); line-height: var(--leading-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-bcol__price { font-size: var(--text-sm); font-weight: 700; color: var(--price); }
.tk-bcol__price del { color: var(--muted-foreground); font-weight: 400; margin-inline-end: 4px; }
.tk-bcol__price ins { text-decoration: none; }
@media (min-width: 700px) { .tk-bcols__grid { grid-auto-columns: 48%; } }
@media (min-width: 1000px) { .tk-bcols__grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; } }

/* Salomon feature: three photos with a title and a line each */
.tk-feature { display: none; gap: 16px; margin-block-start: 48px; } /* desktop only, as on the live site */
.tk-feature a { display: grid; gap: 8px; color: var(--foreground); }
.tk-feature img { inline-size: 100%; aspect-ratio: 433 / 622; object-fit: cover; }
.tk-feature h3 { margin: 8px 0 0; font-size: var(--text-lg); color: var(--foreground); }
.tk-feature p { margin: 0; font-size: var(--text-sm); line-height: var(--leading-reading); }
@media (min-width: 700px) { .tk-feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.tk-feature { direction: ltr; } /* owner 2026-11-06: column 1 at the left */
.tk-feature a { direction: rtl; }
.tk-feature img { transition: transform 400ms var(--ease-out-soft); }
.tk-feature a { overflow: hidden; }
.tk-feature a:hover img { transform: scale(1.03); }

/* Men/women cards (owner 2026-11-06): white like the page; two real pairs stand on a soft floor shadow, tilted for depth. */
.tk-gender { display: grid; gap: 16px; margin-block-start: 32px; }
@media (min-width: 700px) { .tk-gender { grid-template-columns: 1fr 1fr; gap: 24px; } }
.tk-gender__card { --a: var(--primary); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 8px; min-block-size: 200px; padding: 24px; background: var(--card); border-radius: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .08); color: var(--foreground); overflow: hidden; isolation: isolate; transition: transform 250ms var(--ease-out-soft), box-shadow 250ms var(--ease-out-soft); }
.tk-gender--women { --a: #a3329b; }
.tk-gender__card::before { content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -12%; inline-size: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 14%, transparent), transparent); z-index: -1; }
.tk-gender__card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 20px 44px rgba(0, 0, 0, .12); }
.tk-gender__text { display: grid; gap: 4px; justify-items: start; }
.tk-gender__text small { font-size: var(--text-sm); color: var(--muted-foreground); }
.tk-gender__text strong { font-size: var(--text-2xl); line-height: var(--leading-heading); color: var(--a); }
.tk-gender__meta { font-size: var(--text-sm); color: var(--foreground); }
.tk-gender__go { display: inline-flex; align-items: center; gap: 4px; margin-block-start: 12px; min-block-size: var(--touch); padding-inline: 16px; border-radius: var(--shape-pill); background: var(--a); color: #fff; font-weight: 700; font-size: var(--text-sm); }
.tk-gender__stage { position: relative; display: block; aspect-ratio: 1.25; }
.tk-gender__stage::after { content: ""; position: absolute; inset-inline: 8%; inset-block-end: 6%; block-size: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .26), transparent); z-index: 0; transition: transform 300ms var(--ease-out-soft); }
.tk-gender__shoe { position: absolute; z-index: 1; display: block; inline-size: 82%; mix-blend-mode: multiply; } /* blend on the transformed box, so white photo backgrounds melt into the card */
.tk-gender__shoe img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; }
.tk-gender__shoe--0 { inset-inline: 9%; margin-inline: auto; inset-block-end: 2%; transform: rotate(-10deg); transition: transform 300ms var(--ease-out-soft); }
.tk-gender__shoe--1 { inset-inline-end: 0; inset-block-end: 20%; inline-size: 62%; transform: rotate(8deg) scale(.95); opacity: .95; z-index: 0; transition: transform 300ms var(--ease-out-soft); }
.tk-gender__card:hover .tk-gender__shoe--0 { transform: translateY(-10px) rotate(-14deg); }
.tk-gender__card:hover .tk-gender__shoe--1 { transform: translateY(-6px) rotate(12deg) scale(.95); }
.tk-gender__card:hover .tk-gender__stage::after { transform: scaleX(.85); }
@media (max-width: 420px) { .tk-gender__card { padding: 16px; min-block-size: 168px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .tk-gender__text strong { font-size: var(--text-lg); white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .tk-gender__card, .tk-gender__card * , .tk-bcol__img img, .tk-feature img { transition: none !important; } }

/* Newest pairs carousel (owner 2026-11-06): moves by itself, pauses on touch/hover/focus, arrows on desktop, swipe on phone. */
.tk-carousel { position: relative; }
.tk-carousel .tk-row, .tk-carousel ul.products.tk-row { scrollbar-width: none; scroll-behavior: smooth; }
.tk-carousel .tk-row::-webkit-scrollbar { display: none; }
/* Article cards (live blog carousel) */
.tk-blog { align-items: start; }
@media (min-width: 1100px) { .tk-blog { grid-auto-columns: calc((100% - 40px) / 3); } }
.tk-blogcard { background: var(--card); border-radius: var(--shape-surface); border: 1px solid var(--border); overflow: hidden; text-align: center; padding-block-end: 16px; }
.tk-blogcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.tk-blogcard__media img { inline-size: 100%; block-size: 100%; object-fit: contain; } /* whole image (owner 2026-11-12); 1200x900 featured images fill it */
.tk-blogcard__date { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; display: grid; justify-items: center; min-inline-size: 50px; padding: 4px 8px; background: var(--card); border-radius: var(--shape-control); font-size: var(--text-xs); color: var(--foreground); line-height: var(--leading-control); }
.tk-blogcard__date strong { font-size: var(--text-lg); color: var(--foreground); }
.tk-blogcard__cat { display: inline-block; position: relative; margin-block-start: -12px; padding: 0 8px; background: var(--primary); color: var(--primary-foreground); border-radius: var(--shape-control); font-size: var(--text-xs); font-weight: 700; }
.tk-blogcard h3 { font-size: var(--text-base); font-weight: 400; margin: 8px 16px 8px; color: var(--foreground); }
.tk-blogcard p { margin: 0 16px 8px; font-size: var(--text-xs); line-height: var(--leading-reading); color: var(--muted-foreground); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tk-blogcard__more { color: var(--primary); font-size: var(--text-xs); font-weight: 700; }

.tk-blogcard__more { display: inline-flex; align-items: center; min-block-size: var(--touch); }


/* Speed (audit package 2, 2026-11-06): sections far below the first screen are laid out only when they come near, which
   cuts the phone's style and layout work on load. The intrinsic size keeps the scrollbar steady (no layout shift). */
.tk-home .tk-bcols, .tk-home .tk-feature, .tk-home .tk-gender, .tk-home .tk-sec:has(.tk-blog) { content-visibility: auto; contain-intrinsic-size: auto 640px; }
/* 2026-11-07: the sections right under the first phone screen too (collections, newest pairs, brand row). Their lazy images
   sat inside Chrome's lazy-load distance on slow connections and started with the hero photo; now they wait until the
   visitor scrolls near them. */
.tk-home > .tk-home__plugin, .tk-home > .tk-sec:has(.tk-carousel) { content-visibility: auto; contain-intrinsic-size: auto 560px; }
