.tw-shop { --tw-shop-gap: clamp(1rem, 2vw, 1.5rem); padding-block: var(--tw-space-5); }
.tw-shop__heading { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: var(--tw-space-6); margin-block-end: var(--tw-space-5); padding: clamp(1.25rem, 3vw, 2.25rem); overflow: hidden; border: 1px solid color-mix(in srgb, var(--tw-color-brand) 24%, var(--tw-color-border)); border-radius: clamp(1.5rem, 3vw, 2.25rem); background: linear-gradient(120deg, rgb(255 255 255 / 96%), color-mix(in srgb, var(--tw-color-brand-soft) 55%, #fff)); box-shadow: var(--tw-shadow-md); }
.tw-shop__heading::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgb(225 178 47 / 7%) 1px, transparent 1px), linear-gradient(90deg, rgb(225 178 47 / 7%) 1px, transparent 1px); background-size: 4.5rem 4.5rem; mask-image: linear-gradient(90deg, transparent, #000); content: ""; }
.tw-shop__heading::after { position: absolute; z-index: -1; width: 19rem; aspect-ratio: 1; inset: -13rem auto auto -4rem; border: 1px solid rgb(225 178 47 / 22%); border-radius: 50%; content: ""; }
.tw-shop__heading-copy { max-width: 55rem; }
.tw-shop__eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0 0 .35rem; color: var(--tw-color-focus); font-size: .78rem; font-weight: 700; }
.tw-shop__eyebrow svg { width: 1rem; }
.tw-shop__heading h1 { margin: 0; color: var(--tw-color-ink); font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.4; }
.tw-shop__heading .term-description { max-width: 65ch; margin-block-start: .5rem; color: var(--tw-color-text-muted); font-size: .88rem; }
.tw-shop__heading .term-description > :last-child { margin-block-end: 0; }
.tw-shop__counter { display: flex; align-items: center; gap: .8rem; min-width: 11.5rem; padding: .75rem; border: 1px solid rgb(255 255 255 / 88%); border-radius: 1.2rem; background: rgb(255 255 255 / 68%); box-shadow: 0 1rem 2.5rem rgb(82 62 9 / 8%); }
.tw-shop__counter > span { display: grid; place-items: center; width: 3rem; aspect-ratio: 1; flex: 0 0 auto; border-radius: .9rem; background: var(--tw-color-ink); color: var(--tw-color-brand); transform: rotate(-4deg); }
.tw-shop__counter svg { width: 1.2rem; }
.tw-shop__counter div { display: grid; }
.tw-shop__counter strong { color: var(--tw-color-ink); font-size: 1.35rem; line-height: 1; font-variant-numeric: tabular-nums; }
.tw-shop__counter small { margin-block-start: .35rem; color: var(--tw-color-text-muted); font-size: .68rem; }
.tw-shop__layout { position: relative; display: grid; grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr); align-items: start; gap: var(--tw-shop-gap); }
.tw-shop__filters { position: sticky; z-index: 8; inset-block-start: 6rem; max-height: calc(100dvh - 7rem); overflow: auto; overscroll-behavior: contain; border: 1px solid color-mix(in srgb, var(--tw-color-brand) 18%, var(--tw-color-border)); border-radius: 1.5rem; background: color-mix(in srgb, var(--tw-color-surface) 96%, transparent); box-shadow: var(--tw-shadow-sm); direction: rtl; text-align: right; scrollbar-width: thin; scrollbar-color: var(--tw-color-border-strong) transparent; }
.tw-shop__filters-head { position: sticky; z-index: 2; inset-block-start: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-block-end: 1px solid var(--tw-color-border); background: rgb(255 255 255 / 96%); }
.tw-shop__filters-head > div, .tw-shop__filters-head span { display: flex; align-items: center; gap: .65rem; }
.tw-shop__filters-head span { justify-content: center; width: 2.4rem; aspect-ratio: 1; border-radius: .75rem; background: var(--tw-color-brand-soft); color: var(--tw-color-focus); }
.tw-shop__filters-head svg { width: 1rem; }
.tw-shop__filters-head h2 { margin: 0; font-size: .95rem; }
.tw-shop__filters-head > button { display: none; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--tw-color-ink); box-shadow: none; }
.tw-shop__filters form { display: grid; gap: .2rem; padding: .8rem; }
.tw-shop__search { padding: .45rem .35rem .85rem; }
.tw-shop__search > label { display: block; margin-block-end: .45rem; color: var(--tw-color-ink); font-size: .76rem; font-weight: 700; }
.tw-shop__search > div { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem; align-items: center; overflow: hidden; border: 1px solid var(--tw-color-border); border-radius: .9rem; background: var(--tw-color-surface-subtle); transition: border-color 220ms ease, box-shadow 220ms ease; }
.tw-shop__search > div:focus-within { border-color: var(--tw-color-brand); box-shadow: 0 0 0 3px var(--tw-color-focus-ring); }
.tw-shop__search span { display: grid; place-items: center; color: var(--tw-color-text-muted); }
.tw-shop__search svg { width: 1rem; }
.tw-shop__search input { min-width: 0; height: 3rem; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; font-size: .78rem; }
.tw-shop__search input:focus { border: 0; outline: 0; box-shadow: none; }
.tw-shop__search button { display: grid; place-items: center; width: 2.35rem; min-height: 2.35rem; padding: 0; border: 0; border-radius: .7rem; background: var(--tw-color-ink); color: #fff; box-shadow: none; }
.tw-shop__search button svg { transform: rotate(180deg); }
.tw-shop-filter { margin: 0; padding: .8rem .35rem; border: 0; border-block-start: 1px solid var(--tw-color-border); }
.tw-shop-filter legend { width: 100%; padding: 0; }
.tw-shop-filter legend button { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr) 1.9rem; align-items: center; gap: .55rem; width: 100%; min-height: 44px; padding: .15rem; border: 0; background: transparent; color: var(--tw-color-ink); box-shadow: none; text-align: right; }
.tw-shop-filter legend button > span { display: grid; place-items: center; width: 1.9rem; aspect-ratio: 1; border-radius: .55rem; background: var(--tw-color-brand-soft); color: var(--tw-color-focus); }
.tw-shop-filter legend button > b { font-size: .78rem; font-weight: 700; }
.tw-shop-filter legend button > svg { width: .8rem; justify-self: end; color: var(--tw-color-text-muted); transition: transform 220ms var(--tw-ease-standard); }
.tw-shop-filter legend button[aria-expanded="false"] > svg { transform: rotate(90deg); }
.tw-shop-filter [data-shop-filter-panel]:not([hidden]) { animation: tw-shop-filter-open 240ms var(--tw-ease-enter) both; }
.tw-shop-filter [data-shop-filter-panel][hidden] { display: none; }
.tw-shop-filter__options { display: grid; gap: .2rem; margin-block-start: .55rem; }
.tw-shop-filter__options--scroll { max-height: 12rem; overflow: auto; padding-inline-end: .25rem; scrollbar-width: thin; }
.tw-shop-filter__options label { position: relative; display: block; cursor: pointer; }
.tw-shop-filter__options input { position: absolute; opacity: 0; pointer-events: none; }
.tw-shop-filter__options label > span { display: flex; align-items: center; justify-content: flex-start; gap: .5rem; min-height: 2.55rem; padding: .35rem .55rem .35rem .4rem; border: 1px solid transparent; border-radius: .75rem; color: var(--tw-color-text-muted); font-size: .75rem; text-align: right; transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
.tw-shop-filter__options label > span::before { width: 1.15rem; aspect-ratio: 1; flex: 0 0 auto; border: 1px solid var(--tw-color-border-strong); border-radius: .35rem; background: #fff; content: ""; box-shadow: inset 0 0 0 3px #fff; }
.tw-shop-filter__options input:checked + span { border-color: color-mix(in srgb, var(--tw-color-brand) 28%, var(--tw-color-border)); background: var(--tw-color-brand-soft); color: var(--tw-color-ink); }
.tw-shop-filter__options input:checked + span::before { border-color: var(--tw-color-brand); background: var(--tw-color-brand); }
.tw-shop-filter__options input:focus-visible + span { outline: 3px solid var(--tw-color-focus-ring); outline-offset: 2px; }
.tw-shop-filter__options small { min-width: 1.5rem; margin-inline-start: auto; padding: .1rem .35rem; border-radius: 999px; background: var(--tw-color-surface-subtle); color: var(--tw-color-text-muted); font-size: .6rem; text-align: center; }
.tw-shop__price { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-block-start: .65rem; }
.tw-shop__price label { color: var(--tw-color-text-muted); font-size: .66rem; }
.tw-shop__price input { width: 100%; min-height: 2.75rem; margin-block-start: .25rem; padding: .45rem .6rem; border: 1px solid var(--tw-color-border); border-radius: .7rem; background: var(--tw-color-surface-subtle); font-size: .72rem; }
.tw-shop__filter-actions { position: sticky; inset-block-end: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .65rem; padding: .8rem .35rem .35rem; border-block-start: 1px solid var(--tw-color-border); background: rgb(255 255 255 / 96%); }
.tw-shop__filter-actions .tw-button { min-height: 2.8rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .55rem .8rem; font-size: .75rem; }
.tw-shop__filter-actions svg { width: .9rem; }
.tw-shop__filter-actions > a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .45rem .7rem; border: 1px solid var(--tw-color-border); border-radius: .75rem; background: var(--tw-color-surface); color: var(--tw-color-text-muted); font-size: .68rem; font-weight: 700; text-decoration: none; transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease; }
.tw-shop__results { position: relative; min-width: 0; }
.tw-shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; margin-block-end: var(--tw-shop-gap); padding: .65rem .8rem; border: 1px solid var(--tw-color-border); border-radius: 1.2rem; background: rgb(255 255 255 / 88%); box-shadow: var(--tw-shadow-sm); }
.tw-shop__toolbar-label { display: flex; align-items: center; gap: .6rem; color: var(--tw-color-ink); font-size: .78rem; font-weight: 700; }
.tw-shop__toolbar-label svg { width: 1rem; color: var(--tw-color-focus); }
.tw-shop__toolbar > label { display: flex; align-items: center; gap: .6rem; color: var(--tw-color-text-muted); font-size: .7rem; }
.tw-shop__toolbar select { min-width: 10rem; min-height: 2.75rem; padding: .4rem .7rem; border: 1px solid var(--tw-color-border); border-radius: .75rem; background: var(--tw-color-surface-subtle); color: var(--tw-color-ink); font-size: .75rem; }
.tw-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: var(--tw-shop-gap); transition: opacity 180ms ease, transform 220ms var(--tw-ease-standard); }
.tw-product-card { position: relative; display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid color-mix(in srgb, var(--tw-color-brand) 14%, var(--tw-color-border)); border-radius: 1.45rem; background: rgb(255 255 255 / 94%); box-shadow: 0 1rem 2.8rem rgb(35 30 18 / 6%); transition: transform 280ms var(--tw-ease-standard), border-color 220ms ease, box-shadow 280ms ease; }
.tw-product-card::after { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / 55%) 48%, transparent 68%); content: ""; opacity: 0; transform: translateX(60%); transition: opacity 220ms ease, transform 620ms var(--tw-ease-enter); pointer-events: none; }
.tw-product-card__visual { position: relative; margin: .55rem; overflow: hidden; border-radius: 1.1rem; background: radial-gradient(circle at 50% 45%, #fff 0 26%, color-mix(in srgb, var(--tw-color-brand-soft) 46%, var(--tw-page-background)) 75%); }
.tw-product-card__media { display: block; aspect-ratio: 1 / .9; }
.tw-product-card__media img { width: 100%; height: 100%; padding: clamp(.75rem, 1.5vw, 1.25rem); object-fit: contain; filter: drop-shadow(0 1rem .9rem rgb(42 34 13 / 12%)); transition: transform 360ms var(--tw-ease-enter); }
.tw-product-card__badges { position: absolute; z-index: 2; inset: .7rem .7rem auto; display: flex; justify-content: space-between; gap: .45rem; pointer-events: none; }
.tw-product-card__badges span { display: inline-flex; align-items: center; min-height: 1.75rem; padding-inline: .6rem; border: 1px solid rgb(255 255 255 / 85%); border-radius: 999px; background: rgb(255 255 255 / 85%); color: var(--tw-color-ink); font-size: .66rem; font-weight: 700; box-shadow: var(--tw-shadow-sm); }
.tw-product-card__badges .tw-product-card__sale { margin-inline-start: auto; background: var(--tw-color-brand); }
.tw-product-card.is-out-of-stock .tw-product-card__stock { color: var(--tw-color-text-muted); }
.tw-product-card__body { position: relative; z-index: 1; display: flex; min-height: 12.25rem; padding: .45rem 1rem 1rem; flex: 1; flex-direction: column; gap: .55rem; }
.tw-product-card__category { color: var(--tw-color-focus); font-size: .7rem; font-weight: 700; }
.tw-product-card h2 { display: -webkit-box; min-height: 3.25rem; margin: 0; overflow: hidden; font-size: clamp(0.88rem, 1vw, 1rem); line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tw-product-card h2 a { color: var(--tw-color-ink); text-decoration: none; }
.tw-product-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; min-height: 1.7rem; color: var(--tw-color-text-muted); font-size: .62rem; }
.tw-product-card__meta > span { display: inline-flex; align-items: center; gap: .2rem; min-height: 1.55rem; padding-inline: .45rem; border: 1px solid var(--tw-color-border); border-radius: 999px; background: var(--tw-color-surface-subtle); }
.tw-product-card__meta svg { width: .75rem; color: var(--tw-color-brand-hover); fill: rgb(225 178 47 / 18%); }
.tw-product-card__rating b { color: var(--tw-color-ink); }
.tw-product-card__footer { display: grid; grid-template-columns: minmax(0, 1fr) 2.75rem; align-items: center; gap: .6rem; margin-block-start: auto; padding-block-start: .65rem; border-block-start: 1px solid var(--tw-color-border); }
.tw-product-card__price { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .4rem; color: var(--tw-color-ink); font-size: clamp(.72rem, .95vw, .84rem); font-weight: 800; line-height: 1.7; }
.tw-product-card__price del { color: var(--tw-color-text-muted); font-size: .63rem; font-weight: 500; white-space: nowrap; }
.tw-product-card__price ins { text-decoration: none; white-space: nowrap; }
.tw-product-card__action { display: grid; place-items: center; width: 2.75rem; aspect-ratio: 1; border-radius: .85rem; background: var(--tw-color-ink); color: #fff; text-decoration: none; transition: transform 220ms var(--tw-ease-standard), background-color 220ms ease; }
.tw-product-card__action svg { width: 1rem; transform: rotate(180deg); }
.tw-shop__loader { position: absolute; z-index: 5; inset: 6rem 0 auto; display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 6rem; pointer-events: none; }
.tw-shop__loader[hidden] { display: none; }
.tw-shop__loader i { width: .55rem; aspect-ratio: 1; border-radius: 50%; background: var(--tw-color-brand); animation: tw-shop-loading 850ms ease-in-out infinite alternate; }
.tw-shop__loader i:nth-child(2) { animation-delay: 140ms; }
.tw-shop__loader i:nth-child(3) { animation-delay: 280ms; }
.tw-shop__results[aria-busy="true"] .tw-product-grid { opacity: .28; transform: translateY(.35rem); pointer-events: none; }
.tw-product-card.is-entering { animation: tw-shop-card-in 420ms var(--tw-ease-enter) both; animation-delay: calc(var(--tw-card-index, 0) * 38ms); }
.tw-shop-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 24rem; padding: 2rem; border: 1px dashed var(--tw-color-border-strong); border-radius: 1.5rem; background: var(--tw-color-surface); text-align: center; }
.tw-shop-empty > svg { width: 2rem; color: var(--tw-color-brand-hover); }
.tw-shop-empty h2 { margin: .8rem 0 0; font-size: 1.15rem; }
.tw-shop-empty p { max-width: 38ch; margin: .5rem auto; color: var(--tw-color-text-muted); font-size: .82rem; }
.tw-shop-empty a { color: var(--tw-color-focus); font-size: .8rem; font-weight: 700; }
.tw-shop__pagination { margin-block-start: var(--tw-space-6); }
.tw-shop__pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.tw-shop__pagination a, .tw-shop__pagination span { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid var(--tw-color-border); border-radius: .8rem; background: var(--tw-color-surface); color: var(--tw-color-ink); font-size: .75rem; text-decoration: none; }
.tw-shop__pagination .current { border-color: var(--tw-color-brand); background: var(--tw-color-brand); }
.tw-shop__mobile-tools, .tw-shop__filter-backdrop { display: none; }
.tw-shop button:focus-visible, .tw-shop a:focus-visible, .tw-shop select:focus-visible { outline: 3px solid var(--tw-color-focus-ring); outline-offset: 3px; }
@keyframes tw-shop-loading { to { opacity: .25; transform: translateY(-.4rem); } }
@keyframes tw-shop-card-in { from { opacity: 0; transform: translateY(1rem) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes tw-shop-filter-open { from { opacity: 0; transform: translateY(-.35rem); } to { opacity: 1; transform: none; } }
@media (hover: hover) {
	.tw-product-card:hover { border-color: color-mix(in srgb, var(--tw-color-brand) 42%, var(--tw-color-border)); box-shadow: 0 1.6rem 3.5rem rgb(42 33 7 / 11%); transform: translateY(-5px); }
	.tw-product-card:hover::after { opacity: 1; transform: translateX(-60%); }
	.tw-product-card:hover img { transform: translateY(-.2rem) scale(1.045); }
	.tw-product-card__action:hover { background: var(--tw-color-brand); color: var(--tw-color-ink); transform: rotate(-5deg); }
	.tw-shop-filter__options label:hover > span { color: var(--tw-color-ink); background: var(--tw-color-surface-subtle); }
	.tw-shop__filter-actions > a:hover { border-color: var(--tw-color-brand); background: var(--tw-color-brand-soft); color: var(--tw-color-ink); }
}
@media (max-width: 1100px) { .tw-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
	.tw-shop__heading { align-items: flex-start; flex-direction: column; }
	.tw-shop__counter { min-width: 0; }
	.tw-shop__layout { grid-template-columns: 1fr; }
	.tw-shop__mobile-tools { position: sticky; z-index: 7; inset-block-start: 4.6rem; display: flex; margin-block-end: .75rem; }
	.tw-shop__filter-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .5rem .9rem; border: 1px solid color-mix(in srgb, var(--tw-color-brand) 26%, var(--tw-color-border)); border-radius: .85rem; background: rgb(255 255 255 / 94%); color: var(--tw-color-ink); font-size: .78rem; font-weight: 700; box-shadow: var(--tw-shadow-sm); }
	.tw-shop__filter-toggle svg { width: 1rem; }
	.tw-shop__filter-toggle b { display: grid; place-items: center; min-width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--tw-color-brand); font-size: .62rem; }
	.tw-shop__filter-toggle b[hidden] { display: none; }
	.tw-shop__filters { position: fixed; z-index: 1001; inset: 0 auto 0 0; width: min(23rem, 90vw); max-height: none; border: 0; border-radius: 0 1.5rem 1.5rem 0; box-shadow: 1.5rem 0 4rem rgb(16 17 22 / 20%); transform: translateX(-105%); transition: transform 280ms var(--tw-ease-enter); }
	.tw-shop__filters:not([hidden]) { display: block; transform: translateX(0); }
	.tw-shop__filters-head > button { display: grid; }
	.tw-shop__filter-backdrop:not([hidden]) { position: fixed; z-index: 1000; inset: 0; display: block; background: rgb(12 13 17 / 54%); }
	body.tw-shop-filter-open { overflow: hidden; }
}
@media (min-width: 801px) { .tw-shop__filters[hidden] { display: block; } }
@media (max-width: 540px) {
	.tw-shop { padding-block-start: var(--tw-space-3); }
	.tw-shop__heading { padding: 1.1rem; border-radius: 1.4rem; }
	.tw-shop__heading h1 { font-size: 1.55rem; }
	.tw-shop__heading .term-description { display: none; }
	.tw-shop__counter { width: 100%; }
	.tw-shop__toolbar { align-items: stretch; flex-direction: column; }
	.tw-shop__toolbar > label { justify-content: space-between; }
	.tw-shop__toolbar select { flex: 1; min-width: 0; }
	.tw-product-grid { grid-template-columns: 1fr; }
	.tw-product-card__media { aspect-ratio: 1 / .78; }
	.tw-product-card__body { min-height: 11.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.tw-shop *, .tw-shop *::before, .tw-shop *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
