/*!
 * Thrift Core storefront: header, footer, shop, product page, dialogs, wishlist.
 * Builds on tc-base.css (tokens and components). Logical properties keep it RTL-ready.
 */

/* ----------------------------------------------- Theme isolation (canvas) */
.tc-site { min-height: 100vh; display: flex; flex-direction: column; }
.tc-site .tc-main { flex: 1 0 auto; padding-block: 24px 64px; }
.tc-canvas { margin: 0; background: var(--tc-white); }
:where(.tc-root) :is(h1, h2, h3, h4, p, ul, ol, figure, fieldset, legend) { margin: 0; padding: 0; }
:where(.tc-root) :is(ul, ol) { list-style: none; }
:where(.tc-root) :is(h1, h2, h3, h4) { font-weight: 400; }
.tc-root button { cursor: pointer; }
:where(.tc-root) a { text-decoration: none; }
:where(.tc-root) a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tc-root .tc-btn:hover, .tc-root .tc-card__title a:hover { text-decoration: none; }
.tc-skip-link { position: absolute; inset-inline-start: -9999px; inset-block-start: 0; z-index: 100; padding: 10px 14px; color: #fff; background: #000; }
.tc-skip-link:focus { inset-inline-start: 0; }

/* ---------------------------------------------------------------- Header */
.tc-announcement { padding: 9px 16px; text-align: center; background: var(--tc-black); }
.tc-announcement .tc-label { color: var(--tc-white); }
.tc-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--tc-white); background: color-mix(in srgb, var(--tc-white) 94%, transparent); border-block-end: 1px solid var(--tc-border); box-shadow: 0 5px 22px rgba(0, 0, 0, .045); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tc-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.tc-header__logo { display: inline-flex; align-items: center; min-width: 0; color: var(--tc-black); transition: opacity var(--tc-ease), transform var(--tc-ease); }
.tc-header__logo:hover { opacity: .82; transform: translateY(-1px); text-decoration: none !important; }
.tc-header__logo-text { font-family: var(--tc-font-display); font-size: 16px; font-weight: 800; letter-spacing: .06em; }
.tc-header__logo-img { display: block; width: auto; max-height: 44px; object-fit: contain; }
.tc-header__toggle { display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; color: var(--tc-black); background: var(--tc-soft); border: 1px solid var(--tc-border); border-radius: 13px; cursor: pointer; transition: color var(--tc-ease), background var(--tc-ease), border-color var(--tc-ease), transform var(--tc-ease); }
.tc-header__toggle:hover, .tc-header.is-open .tc-header__toggle { color: var(--tc-black); background: var(--tc-accent); border-color: var(--tc-accent); }
.tc-header__toggle:active { transform: scale(.95); }
.tc-header__nav { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 1px); display: none; padding: 10px; background: var(--tc-white); border: 1px solid var(--tc-border); border-block-start: 0; border-radius: 0 0 18px 18px; box-shadow: 0 16px 32px rgba(0, 0, 0, .11); }
.tc-header.is-open .tc-header__nav { display: block; animation: tc-rise 220ms var(--tc-ease-out) both; }
.tc-menu { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tc-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--tc-black); background: transparent; border-radius: 12px; font-family: var(--tc-font-body); font-size: 14px; font-weight: 550; text-transform: none; letter-spacing: 0; text-decoration: none; transition: color var(--tc-ease), background var(--tc-ease), transform var(--tc-ease); }
.tc-menu a:hover, .tc-menu a:focus-visible { color: var(--tc-black); background: var(--tc-soft); text-decoration: none !important; }
.tc-menu .current-menu-item > a, .tc-menu .current_page_item > a, .tc-menu .current-menu-ancestor > a { color: var(--tc-black); background: var(--tc-accent); font-weight: 650; }
.tc-menu .current-menu-item > a:hover, .tc-menu .current_page_item > a:hover, .tc-menu .current-menu-ancestor > a:hover { background: var(--tc-accent); }
.tc-header__actions { display: flex; align-items: center; gap: 8px; }
.tc-header__icon { position: relative; display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; color: var(--tc-black); background: var(--tc-soft); border: 1px solid transparent; border-radius: 13px; cursor: pointer; transition: color var(--tc-ease), background var(--tc-ease), border-color var(--tc-ease), transform var(--tc-ease), box-shadow var(--tc-ease); }
.tc-header__icon:hover { color: var(--tc-black); background: var(--tc-accent); border-color: var(--tc-accent); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); transform: translateY(-1px); text-decoration: none !important; }
.tc-header__icon:active { transform: scale(.94); }
.tc-header__icon:focus-visible, .tc-header__toggle:focus-visible { outline: 2px solid var(--tc-black); outline-offset: 3px; }
.tc-header__icon .tc-count { position: absolute; inset-block-start: -5px; inset-inline-end: -5px; display: flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; color: #111; background: var(--tc-accent); border: 2px solid var(--tc-white); border-radius: 999px; font-size: 10px; font-weight: 750; line-height: 1; }
.tc-header__icon .tc-count[hidden] { display: none; }
@media (min-width: 768px) {
	.tc-header__inner { display: grid; grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr); gap: 20px; min-height: 78px; }
	.tc-header__logo { grid-column: 1; grid-row: 1; }
	.tc-header__toggle { display: none; }
	.tc-header__nav { position: static; display: block; grid-column: 2; grid-row: 1; justify-self: center; padding: 4px; background: var(--tc-soft); border: 1px solid var(--tc-border); border-radius: 999px; box-shadow: none; }
	.tc-menu { flex-direction: row; align-items: center; gap: 3px; }
	.tc-menu a { min-height: 42px; padding-inline: clamp(12px, 1.5vw, 20px); border-radius: 999px; font-size: 13px; }
	.tc-header__actions { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (max-width: 767px) {
	.tc-header__inner { min-height: 66px; }
	.tc-header__logo { order: 1; margin-inline-end: auto; }
	.tc-header__logo-img { max-height: 38px; }
	.tc-header__nav { order: 2; }
	.tc-header__toggle { order: 3; }
	.tc-header__actions { order: 4; gap: 5px; }
	.tc-header__icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; }
	.tc-header__toggle { flex-basis: 40px; width: 40px; height: 40px; }
}

/* --------------------------------------------------------- Header motion */
@keyframes tc-header-enter { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tc-header-item-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.tc-header__inner { animation: tc-header-enter 520ms cubic-bezier(.22, .61, .36, 1) both; }
.tc-header__toggle .tc-icon { transition: transform 280ms cubic-bezier(.22, .61, .36, 1); }
.tc-header.is-open .tc-header__toggle .tc-icon--menu { transform: rotate(90deg); }
.tc-header__icon .tc-icon { transition: transform 220ms cubic-bezier(.22, .61, .36, 1); }
.tc-header__icon:hover .tc-icon { transform: scale(1.12); }
.tc-header .tc-menu a { transition: color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease; }
.tc-header .tc-menu a:hover { transform: translateY(-1px); }
@media (min-width: 768px) {
	.tc-header__nav { animation: tc-header-item-in 600ms 70ms cubic-bezier(.22, .61, .36, 1) both; }
	.tc-header .tc-menu li { animation: tc-header-item-in 520ms both; }
	.tc-header .tc-menu li:nth-child(1) { animation-delay: 80ms; }
	.tc-header .tc-menu li:nth-child(2) { animation-delay: 130ms; }
	.tc-header .tc-menu li:nth-child(3) { animation-delay: 180ms; }
	.tc-header .tc-menu li:nth-child(4) { animation-delay: 230ms; }
	.tc-header .tc-menu li:nth-child(n+5) { animation-delay: 280ms; }
}
@media (max-width: 767px) {
	.tc-header.is-open .tc-menu li { animation: tc-header-item-in 280ms both; }
	.tc-header.is-open .tc-menu li:nth-child(1) { animation-delay: 40ms; }
	.tc-header.is-open .tc-menu li:nth-child(2) { animation-delay: 80ms; }
	.tc-header.is-open .tc-menu li:nth-child(3) { animation-delay: 120ms; }
	.tc-header.is-open .tc-menu li:nth-child(4) { animation-delay: 160ms; }
	.tc-header.is-open .tc-menu li:nth-child(n+5) { animation-delay: 200ms; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-header__inner, .tc-header__nav, .tc-header .tc-menu li { animation: none !important; }
	.tc-header, .tc-header *, .tc-header *::before, .tc-header *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.tc-footer { padding-block: 40px 28px; border-block-start: 1px solid var(--tc-border); }
.tc-footer__top { display: grid; gap: 24px; margin-block-end: 28px; }
@media (min-width: 900px) { .tc-footer__top { grid-template-columns: 1.4fr 1fr; } }
.tc-footer__brand { font-size: 14px; letter-spacing: .08em; margin-block-end: 8px; }
.tc-footer__about p { max-width: 46ch; }
.tc-footer .tc-menu { flex-direction: column; gap: 0; }
.tc-footer__copy { padding-block-start: 16px; border-block-start: 1px solid var(--tc-border); }

/* ------------------------------------------------------------------ Shop */
.tc-shop-hero { margin-block-end: 40px; padding-block: 36px 52px; background: var(--tc-soft); box-shadow: 0 0 0 100vmax var(--tc-soft); clip-path: inset(0 -100vmax); }
.tc-shop__title { margin-block: 0; font-size: clamp(36px, 6.4vw, 64px); }
.tc-shop__subtitle { margin: 14px 0 0; max-width: 64ch; font-size: var(--tc-fs-md); color: var(--tc-muted); }
.tc-shop-hero__chips { margin-block-start: 22px; gap: 8px; }
.tc-shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 18px; }
.tc-shop__tools { display: flex; align-items: center; gap: 8px; }
.tc-select--sm { width: auto; min-height: 36px; padding-block: 6px; font-size: var(--tc-fs-sm); }
.tc-view-toggle { display: inline-flex; overflow: hidden; border: 1px solid var(--tc-border); border-radius: var(--tc-radius); }
.tc-view-toggle__btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; color: var(--tc-black); background: var(--tc-white); border: 0; transition: background var(--tc-ease), color var(--tc-ease); }
.tc-view-toggle__btn:hover { background: var(--tc-soft); }
.tc-view-toggle__btn[aria-pressed="true"], .tc-view-toggle__btn[aria-pressed="true"]:hover { color: var(--tc-white); background: var(--tc-black); }
.tc-shop__count { margin: 0; font-size: var(--tc-fs-sm); color: var(--tc-muted); min-height: 1.5em; }
.tc-shop__more { display: flex; min-height: 1px; align-items: center; justify-content: center; gap: 10px; margin-block-start: 4px; color: var(--tc-muted); font-size: var(--tc-fs-sm); }
.tc-shop__more.is-loading, .tc-shop__more.is-error { min-height: 54px; margin-block-start: 18px; }
.tc-shop__more-spinner { display: none; width: 20px; height: 20px; border: 2px solid var(--tc-border); border-top-color: var(--tc-black); border-radius: 50%; }
.tc-shop__more.is-loading .tc-shop__more-spinner { display: inline-block; animation: tc-shop-spin 700ms linear infinite; }
.tc-shop__more.is-error { color: var(--tc-danger); }
.tc-shop__more [hidden] { display: none !important; }
@keyframes tc-shop-spin { to { transform: rotate(360deg); } }
.tc-shop__more[hidden] { display: none; }
.tc-pagination { display: flex; gap: 8px; justify-content: center; margin-block-start: 24px; }

/* Filters */
.tc-filters__toggle { margin-block-end: 8px; }
.tc-filters__panel { display: none; }
.tc-filters__panel.is-open { display: block; animation: tc-rise 260ms var(--tc-ease-out) both; }
.tc-filters .tc-input, .tc-filters .tc-select { min-height: 38px; padding-block: 7px; font-size: var(--tc-fs-sm); }
.tc-filter__head { display: flex; align-items: baseline; justify-content: space-between; }
.tc-filter__unit { padding: 2px 8px; font-family: var(--tc-font-body); font-size: var(--tc-fs-2xs); font-weight: 600; letter-spacing: .06em; color: var(--tc-black); background: var(--tc-white); border: 1px solid var(--tc-border); border-radius: var(--tc-radius-xs); box-shadow: var(--tc-shadow-sm); cursor: pointer; }
.tc-reset { min-height: 38px; }

@media (min-width: 900px) {
	.tc-filters__toggle { display: none; }
	.tc-filters__panel { display: block; }
}

/* Grid / list view */
.tc-grid { transition: opacity var(--tc-ease); }
.tc-grid[aria-busy="true"] { opacity: .6; }
.tc-grid--list .tc-card__media { margin-block-end: 0; }
.tc-grid--list .tc-card { row-gap: 2px; }
.tc-grid--list .tc-card__details .tc-card__actions { max-width: 260px; }

/* Card extras */
.tc-card__noimg { display: block; width: 100%; height: 100%; background: var(--tc-media-bg); }
.tc-card--skeleton { pointer-events: none; }
.tc-skel-line { display: block; height: 12px; margin-block-start: 8px; }
.tc-skel-line--short { width: 40%; }
.tc-skel-line--mid { width: 70%; }
.tc-card__wish svg { pointer-events: none; }
.tc-card__wish[aria-pressed="true"] svg, .tc-btn--icon[aria-pressed="true"] svg { fill: currentColor; }

/* Empty state */
.tc-empty { grid-column: 1 / -1; padding: 56px 16px; text-align: center; background: var(--tc-soft); border: 1px dashed var(--tc-border); border-radius: var(--tc-radius-lg); }
.tc-empty__title { margin-block-end: 6px; font-size: var(--tc-fs-md); font-weight: 600; }
.tc-empty .tc-btn { margin-block-start: 16px; }
.tc-empty[hidden] { display: none; }
.tc-notice__retry { margin-inline-start: 12px; }

/* --------------------------------------------------------------- Product */
.tc-product { padding-block-start: 8px; }
.tc-product__breadcrumb { display: flow-root; margin-block-end: 24px; }
.tc-product__summary { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tc-product__brand a { color: inherit; }
.tc-product__title { margin: 0; }
.tc-product__price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 6px; }
.tc-product__desc { max-width: 56ch; color: var(--tc-muted); font-size: var(--tc-fs-md); line-height: 1.6; }

.tc-gallery__main { position: relative; }
.tc-gallery__open { display: block; width: 100%; height: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; }
.tc-gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 160ms ease-out; }
@media (hover: hover) and (pointer: fine) {
	.tc-gallery__main.is-zooming .tc-gallery__img { transform: scale(1.9); transform-origin: var(--tc-zx, 50%) var(--tc-zy, 50%); }
}

.tc-sizefield { margin: 6px 0 0; padding: 0; border: 0; min-width: 0; }
.tc-sizefield__head { display: flex; align-items: baseline; justify-content: space-between; margin-block-end: 10px; }
.tc-sizefield__head legend { float: none; width: auto; }
.tc-sizefield__head .tc-link-underline { padding: 0; color: var(--tc-black); background: none; border: 0; cursor: pointer; }
.tc-sizefield .tc-field__error { margin-block-start: 8px; }
.tc-product__actions { display: flex; gap: 8px; }
@media (max-width: 899px) {
	.tc-product__actions { position: sticky; inset-block-end: 0; z-index: 5; padding-block: 12px; background: linear-gradient(to top, var(--tc-white) 72%, rgba(255, 255, 255, 0)); }
}
.tc-product__actions .tc-btn--block { flex: 1; min-height: 48px; }
.tc-product__actions .tc-btn--icon { flex: 0 0 48px; width: 48px; height: 48px; }
.tc-info-row svg { margin-block-start: 2px; }

.tc-related { margin-block-start: 72px; }
.tc-related__title { margin-block-end: 24px; font-size: clamp(18px, 3vw, 26px); }

/* --------------------------------------------------------- Dialogs, toast */
.tc-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; color: var(--tc-black); background: var(--tc-white); border: 0; border-radius: var(--tc-radius-xl); box-shadow: var(--tc-shadow-lg); overflow: auto; }
.tc-dialog[open] { animation: tc-pop 320ms var(--tc-ease-spring) both; }
.tc-dialog::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tc-dialog[open]::backdrop { animation: tc-fade 240ms ease both; }
@keyframes tc-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tc-fade { from { opacity: 0; } to { opacity: 1; } }
.tc-dialog__inner { padding: 20px; font-family: var(--tc-font-body); }
.tc-dialog__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 14px; }
.tc-dialog__close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; color: var(--tc-black); background: none; border: 0; border-radius: 50%; transition: background var(--tc-ease), transform var(--tc-ease); }
.tc-dialog__close:hover { background: var(--tc-soft); transform: rotate(90deg); }
.tc-picker__name { margin-block-end: 14px; font-weight: 500; }
.tc-picker .tc-sizes { margin-block-end: 16px; }
.tc-picker .tc-field__error { margin-block-end: 12px; }
.tc-table-wrap { overflow-x: auto; margin-block-end: 12px; max-height: 50vh; border: 1px solid var(--tc-border); border-radius: var(--tc-radius); }
.tc-table { width: 100%; border-collapse: collapse; font-size: var(--tc-fs-sm); }
.tc-table th, .tc-table td { padding: 8px 10px; text-align: start; border-block-end: 1px solid var(--tc-border); }
.tc-table th { font-family: var(--tc-font-display); font-size: var(--tc-fs-2xs); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; color: var(--tc-muted); }

.tc-lightbox { width: min(960px, calc(100vw - 16px)); background: #000; border-radius: var(--tc-radius-lg); }
.tc-lightbox__inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50vh; }
.tc-lightbox__img { max-width: 100%; max-height: calc(100vh - 48px); object-fit: contain; }
.tc-lightbox__close { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; z-index: 2; color: #fff; }
.tc-lightbox__nav { position: absolute; inset-block-start: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-block-start: -22px; padding: 0; color: #fff; background: rgba(0, 0, 0, .4); border: 0; border-radius: 50%; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background var(--tc-ease), transform var(--tc-ease); }
.tc-lightbox__nav:hover { background: rgba(0, 0, 0, .7); transform: scale(1.08); }
.tc-lightbox__nav--prev { inset-inline-start: 6px; }
.tc-lightbox__nav--next { inset-inline-end: 6px; }
[dir="rtl"] .tc-lightbox__nav svg { transform: scaleX(-1); }

.tc-toast { position: fixed; inset-block-end: 20px; inset-inline: 16px; z-index: 400; display: flex; justify-content: center; pointer-events: none; }
.tc-toast__msg { padding: 13px 20px; font-size: var(--tc-fs-sm); color: var(--tc-white); background: var(--tc-black); border-inline-start: 4px solid var(--tc-accent); border-radius: var(--tc-radius); box-shadow: var(--tc-shadow-lg); animation: tc-toast-in 380ms var(--tc-ease-spring) both; }
@keyframes tc-toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* Wishlist page */
.tc-wishlist .tc-shop__title { margin-block-end: 24px; }
.tc-wishlist .tc-rule { margin-block-end: 16px; }

/* =========================================================== Phase 3 */
.tc-no-scroll { overflow: hidden; }
.tc-title--md { font-size: clamp(34px, 7vw, 64px); }
.tc-hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tc-linkbtn { padding: 0; color: var(--tc-black); background: none; border: 0; cursor: pointer; }

/* ------------------------------------------------------------ Bag drawer */
.tc-drawer { position: fixed; inset: 0; z-index: 300; }
.tc-drawer[hidden] { display: none; }
.tc-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 300ms ease; }
.tc-drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(420px, 100vw); color: var(--tc-black); background: var(--tc-white); border-start-start-radius: var(--tc-radius-xl); border-end-start-radius: var(--tc-radius-xl); box-shadow: var(--tc-shadow-lg); overflow: hidden; transform: translateX(104%); transition: transform 380ms var(--tc-ease-out); font-family: var(--tc-font-body); }
[dir="rtl"] .tc-drawer__panel { transform: translateX(-104%); }
.tc-drawer.is-open .tc-drawer__overlay { opacity: 1; }
.tc-drawer.is-open .tc-drawer__panel { transform: none; }
.tc-drawer__panel:focus { outline: 0; }
.tc-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-block-end: 1px solid var(--tc-border); }
.tc-drawer__notices { padding-inline: 20px; }
.tc-drawer__notices .tc-notice { margin-block-start: 12px; margin-block-end: 0; }
.tc-drawer__body { flex: 1 1 auto; padding: 8px 20px; overflow-y: auto; overscroll-behavior: contain; }
.tc-drawer__body { transition: opacity var(--tc-ease); }
.tc-drawer__body[aria-busy="true"] { opacity: .5; }
.tc-drawer__foot { display: grid; gap: 10px; padding: 16px 20px 20px; border-block-start: 1px solid var(--tc-border); }
.tc-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; }
.tc-drawer__subtotal strong { font-size: var(--tc-fs-md); }
.tc-bag-empty { padding: 48px 0; text-align: center; }
.tc-bag-empty .tc-btn { margin-block-start: 14px; }

.tc-bagline { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-block-end: 1px solid var(--tc-border); }
.tc-bagline__img { display: block; width: 76px; height: 76px; overflow: hidden; background: var(--tc-media-bg); border-radius: var(--tc-radius); }
.tc-bagline__img img { width: 100%; height: 100%; object-fit: cover; }
.tc-bagline__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tc-bagline__title { font-weight: 500; }
.tc-bagline__title a { color: inherit; }
.tc-bagline__row { display: flex; align-items: center; justify-content: space-between; margin-block-start: 6px; }
.tc-bagline__price { font-weight: 600; }
.tc-bagline__remove { align-self: flex-start; padding: 0; margin-block-start: 4px; font-size: var(--tc-fs-xs); color: var(--tc-muted); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.tc-bagline__remove { transition: color var(--tc-ease); }
.tc-bagline__remove:hover { color: var(--tc-black); }
.tc-qty { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--tc-border); border-radius: var(--tc-radius-pill); }
.tc-qty__btn { width: 34px; height: 34px; padding: 0; font-size: 16px; color: var(--tc-black); background: var(--tc-white); border: 0; cursor: pointer; transition: background var(--tc-ease), transform var(--tc-ease); }
.tc-qty__btn:active:not([disabled]) { transform: scale(.88); }
.tc-qty__btn:hover:not([disabled]) { background: var(--tc-soft); }
.tc-qty__btn[disabled] { color: #b5b5b5; cursor: not-allowed; }
.tc-qty__n { min-width: 28px; text-align: center; font-weight: 600; }

/* -------------------------------------------------------------- Checkout */
.tc-layout--checkout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .tc-layout--checkout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; } }
.tc-checkout__form { display: flex; flex-direction: column; gap: 16px; }
.tc-checkout__legend { margin-block-start: 8px; padding-block-end: 8px; border-block-end: 1px solid var(--tc-border); }
.tc-checkout__notice { padding: 14px 16px; font-size: var(--tc-fs-sm); background: var(--tc-soft); border-inline-start: 3px solid var(--tc-accent); border-radius: var(--tc-radius); }
.tc-checkout__submit { min-height: 52px; }
.tc-payment-options { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tc-payment-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--tc-border); border-radius: var(--tc-radius); background: var(--tc-white); cursor: pointer; transition: border-color var(--tc-ease), box-shadow var(--tc-ease), transform var(--tc-ease); }
.tc-payment-option:hover { border-color: var(--tc-black); box-shadow: var(--tc-shadow-sm); transform: translateY(-1px); }
.tc-payment-option:has(input:checked) { border-color: var(--tc-black); box-shadow: 0 0 0 1px var(--tc-black); }
.tc-payment-option input { flex: 0 0 auto; margin-block-start: 3px; accent-color: var(--tc-accent); }
.tc-payment-option__copy { display: grid; gap: 4px; font-size: var(--tc-fs-sm); }
.tc-payment-option__copy span { color: var(--tc-muted); }
.tc-checkout__summary { position: sticky; inset-block-start: 96px; }
@media (max-width: 899px) { .tc-checkout__summary { position: static; order: -1; } }

.tc-summary { padding: 24px; border: 1px solid var(--tc-border); border-radius: var(--tc-radius-lg); box-shadow: var(--tc-shadow-sm); }
.tc-summary__head { display: flex; align-items: baseline; justify-content: space-between; margin-block-end: 8px; }
.tc-summary__items { margin: 0 0 12px; }
.tc-summary__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding-block: 12px; border-block-end: 1px solid var(--tc-border); }
.tc-summary__img { display: block; width: 56px; height: 56px; overflow: hidden; background: var(--tc-media-bg); border-radius: var(--tc-radius); }
.tc-summary__img img { width: 100%; height: 100%; object-fit: cover; }
.tc-summary__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-weight: 500; }
.tc-summary__price { font-weight: 600; white-space: nowrap; }
.tc-summary__totals { margin: 0; }
.tc-summary__totals > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; }
.tc-summary__totals dt { color: var(--tc-muted); }
.tc-summary__totals dd { margin: 0; text-align: end; }
.tc-summary__totals .is-total { margin-block-start: 6px; padding-block-start: 12px; border-block-start: 1px solid var(--tc-black); font-size: var(--tc-fs-md); font-weight: 600; }
.tc-summary__totals .is-total dt { color: var(--tc-black); }

/* ------------------------------------------ Confirmation, tracking, timeline */
.tc-confirmation .tc-notice, .tc-confirmation .tc-order-details, .tc-track__result .tc-order-details { max-width: 720px; }
.tc-confirmation__number { display: flex; flex-direction: column; gap: 6px; margin-block: 8px 20px; }
.tc-confirmation__code { font-size: clamp(22px, 5vw, 36px); letter-spacing: .04em; }
.tc-order-details { margin-block-start: 24px; }
.tc-order-details__address { margin-block-start: 6px; color: var(--tc-muted); }
.tc-track__form { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.tc-track__form .tc-btn { align-self: flex-start; }

.tc-timeline { position: relative; display: flex; flex-direction: column; gap: 0; max-width: 520px; margin: 8px 0 24px; padding: 0; list-style: none; }
.tc-timeline__step { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 14px; padding-block-end: 22px; }
.tc-timeline__step:last-child { padding-block-end: 0; }
.tc-timeline__step::before { content: ""; position: absolute; inset-block: 18px 0; inset-inline-start: 8px; width: 2px; background: var(--tc-border); }
.tc-timeline__step:last-child::before { display: none; }
.tc-timeline__dot { grid-row: 1 / span 2; width: 18px; height: 18px; margin-block-start: 1px; background: var(--tc-white); border: 2px solid var(--tc-border); border-radius: 50%; z-index: 1; transition: background var(--tc-ease), border-color var(--tc-ease); }
.tc-timeline__label { font-weight: 500; }
.tc-timeline__date { grid-column: 2; }
.tc-timeline__step.is-done .tc-timeline__dot { background: var(--tc-black); border-color: var(--tc-black); }
.tc-timeline__step.is-done::before { background: var(--tc-black); }
.tc-timeline__step.is-current .tc-timeline__dot { background: var(--tc-accent); border-color: var(--tc-black); box-shadow: 0 0 0 3px var(--tc-white), 0 0 0 4px var(--tc-black); }
.tc-timeline__step.is-upcoming .tc-timeline__label { color: var(--tc-muted); font-weight: 400; }
.tc-timeline__step.is-ended .tc-timeline__dot { background: var(--tc-danger); border-color: var(--tc-danger); box-shadow: none; }
.tc-timeline__step.is-ended .tc-timeline__label { color: var(--tc-danger); }


/* --------------------------------------------------- [tc_featured] (home page) */
.tc-sketchfab { width:100%; height:var(--tc-sketchfab-height,clamp(360px,42vw,620px)); min-height:320px; }
.tc-sketchfab__frame { width:100%; height:100%; overflow:hidden; background:var(--tc-media-bg,#f1f1f1); border:1px solid color-mix(in srgb,var(--tc-border,#d9d9d9) 72%,transparent); border-radius:24px; box-shadow:0 18px 44px rgba(0,0,0,.10); }
.tc-sketchfab__frame iframe { display:block; width:100%; height:100%; border:0; }
.tc-sketchfab__credit { margin:8px 4px 0; color:var(--tc-muted,#666); font-size:11px; line-height:1.5; }
.tc-sketchfab__credit a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
@media (max-width:639px) { .tc-sketchfab { height:var(--tc-sketchfab-height,clamp(340px,100vw,500px)); min-height:340px; } .tc-sketchfab__frame { border-radius:18px; } }

.tc-featured { margin-block: 44px; }
.tc-featured__head { position:relative; display:flex; align-items:center; justify-content:center; min-height:58px; gap:24px; margin-bottom:10px; text-align:center; }
.tc-featured__title { margin:0; font-size:clamp(34px,5vw,56px); line-height:1.03; letter-spacing:-.045em; font-weight:800; }
.tc-featured__shop-all { position:absolute; inset-inline-end:0; top:50%; display:inline-flex; align-items:center; gap:10px; flex:none; color:inherit; text-decoration:none; font-size:14px; font-weight:600; transform:translateY(-50%); }
.tc-featured__shop-all:hover { text-decoration:underline; text-underline-offset:4px; }
.tc-featured__shop-all span { font-size:20px; line-height:1; }
.tc-featured__tabs { display:flex; align-items:center; justify-content:center; gap:6px; overflow-x:auto; border-bottom:1px solid #d9d9d9; margin-bottom:10px; padding:0 0 10px; scrollbar-width:thin; }
.tc-featured__tabs a { display:inline-flex; align-items:center; min-height:36px; padding:0 16px; border-radius:10px; color:inherit; text-decoration:none; white-space:nowrap; font-size:14px; font-weight:500; }
.tc-featured__tabs a:hover { background:#f3f3f3; }
.tc-featured__tabs a.is-active { background:#bef51e; color:#101010; box-shadow:0 2px 4px rgba(0,0,0,.12); }
.tc-featured__card-grid { margin-block-start:42px; }
.tc-featured__grid-title { margin:0 0 16px; color:var(--tc-black); font-family:var(--tc-font-display); font-size:clamp(20px,2.5vw,28px); font-weight:750; letter-spacing:-.035em; }
.tc-featured .tc-grid--products { --tc-cols:2; gap:12px; }
@media (min-width:640px) { .tc-featured .tc-grid--products { gap:20px; } }
@media (min-width:900px) {
	.tc-featured--cols-3 .tc-grid--products { --tc-cols:3; }
	.tc-featured--cols-4 .tc-grid--products { --tc-cols:4; }
}
.tc-featured .tc-card__title { overflow-wrap:anywhere; }
.tc-featured .tc-grid .tc-card__sizes { display:block; }
.tc-featured .tc-card .tc-urgency { display:inline-flex; }
.tc-featured__revolver { --tc-revolver-step: clamp(105px,20vw,245px); --tc-revolver-far-step: clamp(210px,40vw,490px); }
.tc-featured__revolver-track { position:relative; height:clamp(330px,39vw,450px); overflow:hidden; perspective:1200px; transform-style:preserve-3d; touch-action:pan-y; }
.tc-featured__shoe { position:absolute; top:50%; left:50%; display:flex; width:clamp(165px,23vw,270px); flex-direction:column; gap:0; padding:10px; color:var(--tc-black); background:var(--tc-white); border:1px solid color-mix(in srgb,var(--tc-border) 72%,transparent); border-radius:22px; box-shadow:0 14px 38px rgba(0,0,0,.13); text-decoration:none; transform-origin:center center; backface-visibility:hidden; transition:transform 760ms cubic-bezier(.2,.72,.22,1),opacity 560ms ease,filter 560ms ease,box-shadow 560ms ease; }
.tc-featured__shoe:hover { color:var(--tc-black); text-decoration:none; }
.tc-featured__shoe:focus-visible { z-index:8; outline:3px solid var(--tc-accent); outline-offset:5px; }
.tc-featured__shoe.is-center { z-index:5; opacity:1; filter:none; transform:translate(-50%,-50%) translateZ(90px) scale(1); }
.tc-featured__shoe.is-prev { z-index:4; opacity:.88; filter:saturate(.88); transform:translate(calc(-50% - var(--tc-revolver-step)),-50%) rotateY(20deg) scale(.82); }
.tc-featured__shoe.is-next { z-index:4; opacity:.88; filter:saturate(.88); transform:translate(calc(-50% + var(--tc-revolver-step)),-50%) rotateY(-20deg) scale(.82); }
.tc-featured__shoe.is-far-prev { z-index:2; opacity:.48; filter:saturate(.72); transform:translate(calc(-50% - var(--tc-revolver-far-step)),-50%) rotateY(30deg) translateZ(-90px) scale(.64); }
.tc-featured__shoe.is-far-next { z-index:2; opacity:.48; filter:saturate(.72); transform:translate(calc(-50% + var(--tc-revolver-far-step)),-50%) rotateY(-30deg) translateZ(-90px) scale(.64); }
.tc-featured__shoe.is-hidden { z-index:0; visibility:hidden; opacity:0; pointer-events:none; transform:translate(-50%,-50%) scale(.55); }
.tc-featured__shoe-media { display:block; aspect-ratio:1.08; overflow:hidden; background:var(--tc-media-bg); border-radius:15px; }
.tc-featured__shoe-image { display:block; width:100%; height:100%; padding:8px; object-fit:contain; transition:transform 500ms cubic-bezier(.2,.72,.22,1); }
.tc-featured__shoe.is-center:hover .tc-featured__shoe-image { transform:scale(1.045); }
.tc-featured__shoe-caption { display:grid; gap:4px; min-width:0; padding:11px 5px 4px; }
.tc-featured__shoe-brand { overflow:hidden; color:var(--tc-muted); font-size:9px; font-weight:750; letter-spacing:.14em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
.tc-featured__shoe-caption strong { display:-webkit-box; overflow:hidden; color:var(--tc-black); font-family:var(--tc-font-display); font-size:clamp(12px,1.2vw,15px); font-weight:750; line-height:1.25; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.tc-featured__revolver-controls { display:flex; align-items:center; justify-content:center; gap:12px; margin-block-start:4px; }
.tc-featured__revolver-button,.tc-featured__revolver-toggle { display:inline-flex; align-items:center; justify-content:center; min-width:42px; min-height:42px; padding:0 13px; color:var(--tc-black); background:var(--tc-white); border:1px solid var(--tc-border); border-radius:999px; box-shadow:0 3px 10px rgba(0,0,0,.06); font:600 12px/1 var(--tc-font-body); cursor:pointer; transition:background 180ms ease,border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease; }
.tc-featured__revolver-button:hover,.tc-featured__revolver-toggle:hover { background:var(--tc-accent); border-color:var(--tc-accent); box-shadow:0 5px 14px rgba(0,0,0,.1); transform:translateY(-1px); }
.tc-featured__revolver-status { min-width:48px; color:var(--tc-muted); font-size:12px; font-variant-numeric:tabular-nums; text-align:center; }
.tc-featured__revolver[data-paused="true"] .tc-featured__revolver-toggle { background:var(--tc-accent); border-color:var(--tc-accent); }
.tc-featured__empty { display:grid; justify-items:center; gap:14px; min-height:190px; align-content:center; padding:28px 18px; color:var(--tc-muted); background:var(--tc-soft); border:1px solid var(--tc-border); border-radius:20px; text-align:center; }
.tc-featured__empty p { margin:0; }
.tc-featured__empty a { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding-inline:18px; color:var(--tc-black); background:var(--tc-accent); border-radius:11px; font-size:13px; font-weight:700; text-decoration:none; transition:transform 180ms ease,box-shadow 180ms ease; }
.tc-featured__empty a:hover { text-decoration:none; box-shadow:0 5px 14px rgba(0,0,0,.1); transform:translateY(-1px); }
@media (max-width: 639px) {
	.tc-featured { margin-block:32px; }
	.tc-featured__head { min-height:50px; align-items:center; gap:12px; }
	.tc-featured__title { font-size:clamp(30px,9vw,42px); }
	.tc-featured__shop-all { top:auto; bottom:-27px; font-size:12px; transform:none; }
	.tc-featured__tabs { justify-content:flex-start; gap:2px; margin-bottom:8px; padding-inline:2px; }
	.tc-featured__tabs a { min-height:34px; padding-inline:13px; font-size:13px; }
	.tc-featured__card-grid { margin-block-start:32px; }
	.tc-featured__grid-title { margin-bottom:12px; }
	.tc-featured__revolver { --tc-revolver-step:clamp(112px,34vw,148px); --tc-revolver-far-step:clamp(220px,68vw,296px); }
	.tc-featured__revolver-track { height:310px; }
	.tc-featured__shoe { width:min(210px,62vw); padding:8px; border-radius:18px; }
	.tc-featured__shoe.is-far-prev,.tc-featured__shoe.is-far-next { opacity:0; visibility:hidden; }
	.tc-featured__shoe-media { border-radius:12px; }
	.tc-featured__shoe-caption { padding:9px 4px 3px; }
	.tc-featured__shoe-caption strong { font-size:12px; }
	.tc-featured__revolver-controls { gap:8px; }
	.tc-featured__revolver-button,.tc-featured__revolver-toggle { min-width:38px; min-height:38px; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-featured__shoe,.tc-featured__shoe-image,.tc-featured__revolver-button,.tc-featured__revolver-toggle { transition:none !important; }
	.tc-featured__shoe.is-center { transform:translate(-50%,-50%); }
	.tc-featured__shoe.is-prev { transform:translate(calc(-50% - var(--tc-revolver-step)),-50%); }
	.tc-featured__shoe.is-next { transform:translate(calc(-50% + var(--tc-revolver-step)),-50%); }
	.tc-featured__shoe.is-far-prev { transform:translate(calc(-50% - var(--tc-revolver-far-step)),-50%); }
	.tc-featured__shoe.is-far-next { transform:translate(calc(-50% + var(--tc-revolver-far-step)),-50%); }
}

/* App-style mobile storefront navigation */
.tc-mobile-nav{display:none}
.tc-mobile-search-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;overflow:auto;border:1px solid color-mix(in srgb,var(--tc-border) 75%,transparent);border-radius:26px;background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--tc-accent) 17%,transparent),transparent 42%),var(--tc-white);box-shadow:0 28px 80px rgba(0,0,0,.24)}
.tc-mobile-search-dialog::backdrop{background:rgba(10,12,8,.56);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.tc-mobile-search-form{display:grid;gap:20px;padding:clamp(22px,5vw,32px);font-family:var(--tc-font-body)}
.tc-mobile-search-form__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.tc-mobile-search-form__intro{min-width:0}
.tc-mobile-search-form__eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--tc-muted);font-size:10px;font-weight:750;letter-spacing:.16em;line-height:1.4}
.tc-mobile-search-form__eyebrow::before{width:8px;height:8px;content:"";background:var(--tc-accent);border-radius:50%;box-shadow:0 0 0 4px color-mix(in srgb,var(--tc-accent) 24%,transparent)}
.tc-mobile-search-form__head h2{margin:9px 0 5px;color:var(--tc-black);font-family:var(--tc-font-display);font-size:clamp(23px,5vw,30px);font-weight:800;letter-spacing:-.045em;line-height:1.08}
.tc-mobile-search-form__head p{color:var(--tc-muted);font-size:14px;line-height:1.5}
.tc-mobile-search-form .tc-mobile-search-form__close{display:inline-flex;flex:0 0 42px;align-items:center;justify-content:center;width:42px;height:42px;padding:0;color:var(--tc-black);background:color-mix(in srgb,var(--tc-white) 78%,var(--tc-soft));border:1px solid var(--tc-border);border-radius:14px;transition:background var(--tc-ease),border-color var(--tc-ease),transform var(--tc-ease)}
.tc-mobile-search-form .tc-mobile-search-form__close:hover{background:var(--tc-accent);border-color:var(--tc-accent);transform:rotate(90deg)}
.tc-mobile-search-form__field{display:flex;align-items:center;gap:12px;min-height:60px;padding-inline:16px;color:var(--tc-muted);background:var(--tc-white);border:1px solid var(--tc-border);border-radius:15px;box-shadow:0 2px 6px rgba(0,0,0,.025);transition:border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease}
.tc-mobile-search-form__field:focus-within{border-color:color-mix(in srgb,var(--tc-accent) 72%,var(--tc-black));box-shadow:0 0 0 4px color-mix(in srgb,var(--tc-accent) 25%,transparent),0 8px 20px rgba(0,0,0,.06);transform:translateY(-1px)}
.tc-mobile-search-form__field>.tc-icon{flex:none;color:var(--tc-black)}
.tc-mobile-search-form__field .tc-input{width:100%;min-width:0;min-height:56px;padding:0;color:var(--tc-black);background:transparent;border:0;border-radius:0;box-shadow:none;font-size:16px}
.tc-mobile-search-form__field .tc-input:focus{border:0;outline:0;box-shadow:none}
.tc-mobile-search-form__field .tc-input::placeholder{color:var(--tc-muted);opacity:.86}
.tc-mobile-search-form .tc-mobile-search-form__submit{position:relative;justify-content:center;min-height:56px;padding-inline:22px;color:#111;background:var(--tc-accent);border:1px solid var(--tc-accent);border-radius:15px;box-shadow:0 8px 20px color-mix(in srgb,var(--tc-accent) 28%,transparent);font-size:14px;font-weight:750;transition:transform 180ms ease,box-shadow 180ms ease,filter 180ms ease}
.tc-mobile-search-form .tc-mobile-search-form__submit:hover{color:#111;filter:brightness(.97);box-shadow:0 12px 26px color-mix(in srgb,var(--tc-accent) 38%,transparent);transform:translateY(-2px)}
.tc-mobile-search-form .tc-mobile-search-form__submit:active{transform:scale(.985)}
.tc-mobile-search-form__submit .tc-icon{position:absolute;inset-inline-end:18px;transition:transform 180ms ease}
.tc-mobile-search-form__submit:hover .tc-icon{transform:translateX(3px)}
.tc-mobile-search-dialog[open]{position:fixed;top:50%;left:50%;margin:0;transform:translate(-50%,-50%);animation:tc-mobile-search-in 300ms var(--tc-ease-out) both}
@media(max-width:767px){
	body.tc-has-mobile-nav{padding-block-end:calc(76px + env(safe-area-inset-bottom))}
	.tc-mobile-nav{position:fixed;inset-inline:0;inset-block-end:0;z-index:80;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;min-height:72px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--tc-white) 96%,transparent);border-block-start:1px solid var(--tc-border);box-shadow:0 -8px 28px rgba(0,0,0,.09);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
	.tc-mobile-nav__item{position:relative;display:flex;min-width:0;min-height:56px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px 2px;color:var(--tc-black);background:transparent;border:0;border-radius:12px;font-family:var(--tc-font-body);font-size:11px;font-weight:600;line-height:1.15;text-decoration:none;text-align:center;cursor:pointer;transition:color 180ms ease,background 180ms ease,transform 180ms ease}
	.tc-mobile-nav__item:hover,.tc-mobile-nav__item:focus-visible{color:var(--tc-black);background:var(--tc-soft);text-decoration:none}
	.tc-mobile-nav__item:active{transform:scale(.94)}
	.tc-mobile-nav__item.is-current{color:#577800}
	.tc-mobile-nav__item.is-current .tc-icon{stroke-width:2}
	.tc-mobile-nav__item .tc-icon{width:25px;height:25px;flex:none}
	.tc-mobile-nav__cart .tc-mobile-nav__count{position:absolute;inset-block-start:0;inset-inline-start:calc(50% + 5px);display:flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 6px;color:#fff;background:#171717;border:2px solid var(--tc-white);border-radius:999px;font-size:12px;font-weight:750;line-height:1}
	.tc-mobile-nav__cart .tc-mobile-nav__count[hidden]{display:none}
}
@keyframes tc-mobile-search-in{from{opacity:0;transform:translate(-50%,-46%) scale(.97)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(prefers-reduced-motion:reduce){.tc-mobile-nav__item,.tc-mobile-search-dialog,.tc-mobile-search-form__field,.tc-mobile-search-form__submit,.tc-mobile-search-form__close,.tc-mobile-search-form__submit .tc-icon{transition:none!important;animation:none!important}.tc-mobile-search-dialog[open]::backdrop{animation:none!important}}
/* ------------------------------------------------------ Unified storefront finish */
.tc-site .tc-main { padding-block: clamp(20px, 3.5vw, 40px) clamp(56px, 6vw, 76px); }
.tc-root .tc-header { box-shadow: 0 4px 18px rgba(0, 0, 0, .055); }
.tc-root .tc-shop-hero { margin-block-end: clamp(24px, 4vw, 40px); padding-block: clamp(28px, 4vw, 44px) clamp(30px, 4vw, 44px); }
.tc-root .tc-shop__title { letter-spacing: -.045em; line-height: .98; }
.tc-root .tc-shop__subtitle { max-width: 58ch; line-height: 1.65; }
.tc-root .tc-shop-hero__chips { gap: 8px; }
.tc-root .tc-shop-hero__chips .tc-chip { min-height: 40px; padding-inline: 17px; border-radius: 12px; font-size: 13px; }
.tc-root .tc-shop-hero__chips .tc-chip[aria-pressed="true"] { box-shadow: 0 3px 8px rgba(0, 0, 0, .12); }
.tc-root .tc-shop__bar { min-height: 48px; padding-block-end: 12px; border-block-end: 1px solid var(--tc-border); }
.tc-root .tc-shop__tools .tc-select { min-height: 40px; border-radius: 12px; }
.tc-root .tc-filters__panel { padding: 16px; background: var(--tc-soft); border: 1px solid var(--tc-border); border-radius: var(--tc-radius-lg); }
.tc-root .tc-filter { padding-block-end: 18px; }
.tc-root .tc-card { border-radius: 20px; box-shadow: 0 3px 14px rgba(0, 0, 0, .045); }
.tc-root .tc-card__media { margin-block-end: 8px; }
.tc-root .tc-card__brand { margin-block-start: 3px; }
.tc-root .tc-card__title a { color: var(--tc-black); }
.tc-root .tc-card__title a:hover { color: var(--tc-black); opacity: .72; }
.tc-root .tc-card__price { margin-block-start: 2px; }
.tc-root .tc-card__actions { margin-block-end: 14px; }
.tc-root .tc-card__actions .tc-btn { min-height: 44px; border-radius: 11px; font-size: 13px; font-weight: 650; }
.tc-root .tc-card__wish { width: 40px; height: 40px; }
.tc-root .tc-card__wish[aria-pressed="true"] { color: #171717; background: var(--tc-accent); }
.tc-root .tc-product__breadcrumb { margin-block-end: clamp(16px, 2.5vw, 28px); }
.tc-root .tc-product__summary { gap: 16px; }
.tc-root .tc-product__summary a { color: inherit; }
.tc-root .tc-product__title { max-width: 18ch; letter-spacing: -.045em; }
.tc-root .tc-product__price { padding-block: 4px; }
.tc-root .tc-product__desc { line-height: 1.75; }
.tc-root .tc-gallery__main { box-shadow: 0 8px 24px rgba(0, 0, 0, .055); }
.tc-root .tc-size { min-width: 54px; border-radius: 12px; }
.tc-root .tc-size.is-active, .tc-root .tc-size:has(input:checked) { border-color: var(--tc-black); }
.tc-root .tc-product__actions .tc-btn { min-height: 52px; border-radius: 12px; }
.tc-root .tc-product__actions .tc-btn--icon { border-radius: 12px; }
.tc-root .tc-related { padding-block-start: 40px; border-block-start: 1px solid var(--tc-border); }
.tc-root .tc-summary { border-radius: 20px; box-shadow: 0 8px 28px rgba(0, 0, 0, .055); }
.tc-root .tc-summary__totals .is-total { border-color: var(--tc-border); }
.tc-root .tc-checkout__form { padding: clamp(16px, 3vw, 28px); background: var(--tc-white); border: 1px solid var(--tc-border); border-radius: 20px; box-shadow: 0 6px 24px rgba(0, 0, 0, .045); }
.tc-root .tc-checkout__legend { margin-block-start: 8px; padding-block-end: 12px; font-size: 11px; letter-spacing: .16em; }
.tc-root .tc-checkout__submit { min-height: 54px; border-radius: 12px; font-size: 14px; }
.tc-root .tc-input, .tc-root .tc-select, .tc-root .tc-textarea { box-shadow: none; }
.tc-root .tc-input:focus, .tc-root .tc-select:focus, .tc-root .tc-textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc-accent) 48%, transparent); }
.tc-root .tc-empty { border-radius: 20px; }
.tc-root .tc-toast { inset-block-end: max(20px, env(safe-area-inset-bottom)); }

@media (hover: hover) and (pointer: fine) {
	.tc-root .tc-card:hover { border-color: color-mix(in srgb, var(--tc-black) 22%, var(--tc-border)); box-shadow: 0 18px 38px rgba(0, 0, 0, .14); transform: translateY(-5px) scale(1.012); }
	.tc-root .tc-header__icon:hover, .tc-root .tc-header__toggle:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .1); }
}

@media (min-width: 900px) {
	.tc-root .tc-product__summary { position: sticky; inset-block-start: 104px; align-self: start; }
}

@media (max-width: 767px) {
	.tc-site .tc-main { padding-block-start: 18px; }
	.tc-root .tc-header__inner { min-height: 62px; }
	.tc-root .tc-header__actions { gap: 4px; }
	.tc-root .tc-header__icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; }
	.tc-root .tc-shop-hero { padding-block: 24px 28px; }
	.tc-root .tc-shop__title { font-size: clamp(34px, 10vw, 48px); }
	.tc-root .tc-shop-hero__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; padding-block: 3px 8px; scrollbar-width: none; }
	.tc-root .tc-shop-hero__chips::-webkit-scrollbar { display: none; }
	.tc-root .tc-shop__bar { align-items: flex-start; flex-wrap: wrap; }
	.tc-root .tc-shop__tools { margin-inline-start: auto; }
	.tc-root .tc-grid--products { gap: 12px; }
	.tc-root .tc-card { border-radius: 16px; }
	.tc-root .tc-card > :not(.tc-card__media):not(.tc-card__discount) { margin-inline: 11px; }
	.tc-root .tc-card__media { margin-block-end: 5px; }
	.tc-root .tc-card__badges { inset-block-start: 8px; inset-inline-start: 8px; gap: 3px; }
	.tc-root .tc-card__badges .tc-badge { padding: 4px 6px; font-size: 9px; }
	.tc-root .tc-card__wish { inset-block-end: 8px; inset-inline-end: 8px; width: 36px; height: 36px; }
	.tc-root .tc-card__brand { font-size: 9px; }
	.tc-root .tc-card__title { font-size: 13px; }
	.tc-root .tc-card__price .tc-price__current { font-size: 14px; }
	.tc-root .tc-card__actions { margin-block-end: 11px; }
	.tc-root .tc-card__actions .tc-btn { min-height: 40px; padding-inline: 6px; border-radius: 9px; font-size: 11px; }
	.tc-root .tc-grid--list .tc-card { grid-template-columns: minmax(104px, 34%) minmax(0, 1fr); column-gap: 12px; }
	.tc-root .tc-grid--list .tc-card > :not(.tc-card__media):not(.tc-card__discount) { margin-inline: 0; }
	.tc-root .tc-grid--list .tc-card__media { aspect-ratio: auto; margin: 0; }
	.tc-root .tc-grid--list .tc-card__details { gap: 6px; padding-block: 12px; }
	.tc-root .tc-grid--list .tc-card__details .tc-card__actions { width: 100%; max-width: none; margin-block: auto 0; padding-block-start: 5px; }
	.tc-root .tc-product__breadcrumb { overflow-x: auto; margin-inline: -16px; padding-inline: 16px; }
	.tc-root .tc-product__summary { gap: 13px; }
	.tc-root .tc-product__title { max-width: none; font-size: clamp(30px, 8vw, 42px); }
	.tc-root .tc-product__actions { inset-block-end: calc(78px + env(safe-area-inset-bottom)); padding-block: 10px; }
	.tc-root .tc-checkout__form { padding: 16px; border-radius: 16px; }
	.tc-root .tc-summary { padding: 18px; }
	.tc-root .tc-mobile-nav__item.is-current { color: var(--tc-black); background: color-mix(in srgb, var(--tc-accent) 30%, transparent); }
	.tc-root .tc-toast { inset-block-end: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
	.tc-root .tc-grid--products { gap: 9px; }
	.tc-root .tc-card > :not(.tc-card__media):not(.tc-card__discount) { margin-inline: 9px; }
	.tc-root .tc-card__title { font-size: 12px; }
	.tc-root .tc-card__actions .tc-btn { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.tc-root .tc-card, .tc-root .tc-card__media img { animation: none !important; transition-duration: .01ms !important; }
}
