:root {
  --ink: #111111;
  --paper: #f7f4ed;
  --white: #ffffff;
  --lime: #d7ff2f;
  --pink: #ff4f9b;
  --blue: #2857ff;
  --orange: #ff6633;
  --line: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Arial, sans-serif; }
body:not(.admin-body) { padding-top: 112px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { top: 16px; }

.site-header {
  height: 112px; padding: 0 clamp(20px, 4vw, 72px); display: flex; align-items: center; justify-content: space-between;
  border-bottom: var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); position: fixed; inset: 0 0 auto; z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 14px; font-family: "Archivo Black", Impact, sans-serif; font-size: 1.75rem; letter-spacing: -.04em; text-decoration: none; }
.brand > span:last-child { display: inline-block; white-space: nowrap; }
.brand-logo { width: 58px; height: 58px; display: block; flex: 0 0 auto; background: #000; overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; transform: none; display: block; filter: none; mix-blend-mode: normal; }
.brand-lockup { width: 220px; height: 94px; object-fit: cover; object-position: center; display: block; }
nav { display: flex; gap: clamp(20px, 4vw, 48px); }
nav a { font-weight: 700; font-size: .9rem; text-decoration: none; position: relative; }
nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -6px; background: var(--ink); transition: right .2s; }
nav a:hover::after { right: 0; }
.icon-button { border: 0; background: none; padding: 7px; cursor: pointer; }
.icon-button svg, .search-field svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero { min-height: calc(100vh - 112px); display: grid; grid-template-columns: 1.05fr .95fr; border-bottom: var(--line); overflow: hidden; }
.hero-copy { padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { font-weight: 800; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 22px; }
.hero h1, .section-heading h2, .brand-story h2 { font-family: "Archivo Black", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.065em; line-height: .88; margin: 0; }
.hero h1 { font-size: clamp(4.2rem, 9.5vw, 9.5rem); }
.hero h1 span { color: var(--blue); -webkit-text-stroke: 2px var(--ink); text-shadow: 5px 5px 0 var(--lime); }
.hero-text { max-width: 540px; font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.55; margin: 32px 0; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: var(--line); background: var(--ink); color: white; padding: 16px 22px; text-decoration: none; font-weight: 800; cursor: pointer; box-shadow: 5px 5px 0 var(--lime); transition: transform .15s, box-shadow .15s; }
.primary-button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--lime); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 48px; font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.hero-proof span::before { content: "●"; color: var(--blue); margin-right: 8px; }

.hero-art { min-height: 640px; background: var(--blue); position: relative; border-left: var(--line); overflow: hidden; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 44px 44px; }
.hero-logo { position: absolute; z-index: 1; width: min(72%, 580px); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-7deg); overflow: hidden; border: 3px solid var(--ink); background: #000; box-shadow: 14px 14px 0 var(--pink); }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); display: block; }
.hero-orbit { position: absolute; z-index: 2; border: 3px solid var(--ink); border-radius: 50%; }
.orbit-one { width: 76%; aspect-ratio: 1; left: 12%; top: 12%; transform: rotate(28deg) scaleY(.34); }
.orbit-two { width: 100%; aspect-ratio: 1; left: -3%; top: -2%; transform: rotate(-48deg) scaleY(.42); border-color: white; }
.floating-tag { position: absolute; z-index: 3; border: var(--line); background: var(--paper); padding: 13px 18px; font-family: "Archivo Black"; line-height: .9; box-shadow: var(--shadow); transform: rotate(-5deg); }
.tag-one { top: 15%; left: 8%; }
.tag-two { right: 8%; bottom: 17%; background: var(--pink); transform: rotate(7deg); }
.hero-code { position: absolute; bottom: 24px; left: 28px; color: white; font-weight: 800; letter-spacing: .15em; }

.shop-section { padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 72px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(3.1rem, 6vw, 6.6rem); }
.section-heading > p { font-size: .8rem; font-weight: 800; text-transform: uppercase; padding-bottom: 10px; }
.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 42px; }
.category-card { min-height: 122px; border: var(--line); background: white; padding: 20px; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; transition: transform .16s, box-shadow .16s; }
.category-card strong { font-family: "Archivo Black"; font-size: clamp(1.05rem, 1.8vw, 1.55rem); text-transform: uppercase; }
.category-card span { font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.category-card:hover, .category-card.active { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--ink); }
.category-card.active { background: var(--lime); }
.category-men { background: var(--orange); }
.category-sport { background: var(--blue); color: white; }
.category-women { background: var(--pink); }

.catalog-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.filters { position: sticky; top: 105px; }
.mobile-filter-head { display: none; }
.search-field { display: block; margin-bottom: 28px; }
.search-field > span, .price-filter > span { display: block; margin-bottom: 10px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.search-field div { position: relative; }
.search-field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; }
.search-field input { width: 100%; height: 44px; border: var(--line); background: white; padding: 0 12px 0 40px; border-radius: 0; }
fieldset { border: 0; border-top: var(--line); margin: 0 0 24px; padding: 20px 0 0; }
legend { padding: 0 0 14px; font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
fieldset label { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; font-size: .87rem; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--blue); width: 17px; height: 17px; }
.price-filter { display: block; border-top: var(--line); padding-top: 20px; }
.price-filter span { display: flex; justify-content: space-between; }
input[type="range"] { width: 100%; accent-color: var(--blue); }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; margin-top: 16px; background: transparent; font-weight: 700; cursor: pointer; }
.catalog-toolbar { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 18px; min-height: 44px; }
.filter-trigger { display: none; }
.sort-control { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.sort-control select { border: var(--line); background: white; padding: 9px 30px 9px 10px; border-radius: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 14px; }
.product-card { min-width: 0; }
.product-visual { width: 100%; aspect-ratio: 4/5; border: var(--line); background: var(--card-color); position: relative; display: grid; place-items: center; cursor: pointer; overflow: hidden; transition: transform .16s, box-shadow .16s; }
.product-visual:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.product-visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 2px solid rgba(17,17,17,.5); border-radius: 50%; transform: scaleY(.35) rotate(-32deg); }
.product-visual::after { content: attr(data-code); position: absolute; bottom: 12px; right: 13px; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.product-visual.has-photo::before { display: none; }
.product-photo { width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.garment-svg { width: 69%; z-index: 1; filter: drop-shadow(7px 9px 0 rgba(17,17,17,.18)); transition: transform .22s; }
.product-visual:hover .garment-svg { transform: rotate(-3deg) scale(1.04); }
.product-badge { position: absolute; z-index: 2; left: 10px; top: 10px; background: var(--ink); color: white; padding: 7px 9px; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.sale-badge { position: absolute; z-index: 3; right: 10px; top: 10px; background: var(--pink); color: var(--ink); border: 2px solid var(--ink); padding: 7px 9px; font-size: .7rem; font-weight: 900; }
.product-info { padding: 13px 3px 0; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
.product-info button { text-align: left; border: 0; padding: 0; background: transparent; font-weight: 800; cursor: pointer; line-height: 1.3; }
.product-info button:hover { text-decoration: underline; }
.product-info strong { font-size: .92rem; }
.product-info span { grid-column: 1/-1; font-size: .72rem; text-transform: uppercase; color: #555; }
.price-stack { display: flex; align-items: baseline; gap: 6px; }
.price-stack del { color: #777; font-size: .7rem; font-weight: 600; }
.product-info .card-price { grid-column: 2; grid-row: 1; justify-content: flex-end; }
.product-info .card-price strong { color: #db185d; }
.product-info .card-price del { grid-column: auto; text-transform: none; }
.empty-state { border: var(--line); padding: 70px 24px; text-align: center; background: white; }
.empty-state > span { display: inline-block; background: var(--pink); border: var(--line); padding: 7px 10px; transform: rotate(-4deg); font-weight: 800; }
.empty-state h3 { font-family: "Archivo Black"; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); margin: 20px 0 8px; }
.empty-state .primary-button { margin-top: 16px; }

.brand-story { border-block: var(--line); background: var(--lime); padding: clamp(56px, 8vw, 100px) clamp(20px, 6vw, 96px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 8vw, 120px); align-items: center; position: relative; overflow: hidden; }
.brand-story::after { content: "UNIFIT"; position: absolute; right: -30px; bottom: -45px; font-family: "Archivo Black"; font-size: 9rem; color: rgba(17,17,17,.08); }
.brand-story h2 { font-size: clamp(3rem, 6vw, 6.6rem); }
.brand-story > p { max-width: 600px; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.7; margin: 0; }
.brand-story > a { justify-self: end; grid-column: 2; font-weight: 800; text-decoration-thickness: 2px; z-index: 1; }
footer { padding: 34px clamp(20px, 4vw, 72px); background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-logo { width: 46px; height: 46px; }
.footer-brand .brand-logo img, .admin-header .brand-logo img { filter: none; mix-blend-mode: normal; }
footer p { font-size: .75rem; }
footer > div { display: flex; gap: 16px; font-size: .75rem; }

.product-dialog { width: min(960px, calc(100% - 32px)); padding: 0; border: var(--line); box-shadow: 12px 12px 0 rgba(17,17,17,.65); background: var(--paper); overflow: visible; }
.product-dialog::backdrop { background: rgba(17,17,17,.72); backdrop-filter: blur(4px); }
.product-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dialog-close { position: absolute; z-index: 5; right: -12px; top: -12px; width: 42px; height: 42px; border: var(--line); border-radius: 50%; background: var(--lime); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dialog-art { min-height: 560px; background: var(--blue); display: grid; place-items: center; border-right: var(--line); overflow: hidden; position: relative; }
.dialog-art::before { content: ""; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); transform: scaleY(.4) rotate(30deg); }
.dialog-art.has-photo::before { display: none; }
.dialog-art .product-photo { position: absolute; inset: 0; }
.dialog-art .garment-svg { width: 72%; }
.dialog-content { padding: clamp(28px, 4vw, 54px); align-self: center; }
.dialog-content h2 { font-family: "Archivo Black"; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .95; text-transform: uppercase; margin: 0 0 8px; }
.dialog-code { font-weight: 800; font-size: .72rem; letter-spacing: .12em; margin: 0 0 22px; }
.dialog-price { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; margin: 0 0 20px; }
.dialog-price .price-stack { display: inline-flex; }
.dialog-price .price-stack strong { color: #db185d; }
.dialog-price .price-stack del { font-size: .95rem; }
.dialog-discount { display: inline-block; background: var(--pink); border: 2px solid var(--ink); padding: 5px 8px; font-size: .65rem; text-transform: uppercase; }
.dialog-description { line-height: 1.6; color: #444; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.size-row button { min-width: 42px; height: 40px; border: var(--line); background: white; font-weight: 800; cursor: pointer; }
.size-row button.active { background: var(--lime); }
.marketplace-label { display: flex; justify-content: space-between; align-items: end; gap: 10px; font-size: .7rem; text-transform: uppercase; font-weight: 800; margin-bottom: 10px; }
.marketplace-label em { color: #666; font-style: normal; font-weight: 600; font-size: .62rem; }
.marketplace-links { display: grid; gap: 8px; }
.marketplace { min-height: 45px; border: var(--line); padding: 0 14px; display: flex; align-items: center; justify-content: space-between; font-weight: 800; cursor: pointer; }
.shopee { background: #ff5c35; }
.lazada { background: #3949d8; color: white; }
.tiktok { background: #111; color: white; }
.marketplace:hover { filter: brightness(1.07); }
.toast { position: fixed; z-index: 80; left: 50%; bottom: -100px; transform: translateX(-50%); background: var(--ink); color: white; border: 2px solid white; padding: 13px 18px; box-shadow: 5px 5px 0 var(--lime); font-size: .82rem; font-weight: 700; transition: bottom .22s; }
.toast.show { bottom: 26px; }
.filter-backdrop { display: none; }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 560px; }
}

@media (max-width: 760px) {
  body:not(.admin-body) { padding-top: 92px; }
  .site-header { height: 92px; padding-inline: 14px; }
  .site-header .brand { gap: 0; }
  .brand-lockup { width: 190px; height: 81px; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 570px; }
  .hero h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .hero-art { min-height: 520px; border-left: 0; border-top: var(--line); }
  .hero-logo { width: min(72%, 380px); }
  .hero-proof { margin-top: 38px; }
  .section-heading { align-items: start; }
  .section-heading > p { white-space: nowrap; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 105px; }
  .catalog-layout { display: block; }
  .filters { position: fixed; z-index: 61; inset: 0 auto 0 0; width: min(330px, 88vw); background: var(--paper); padding: 24px; transform: translateX(-110%); transition: transform .2s; overflow-y: auto; }
  .filters.open { transform: translateX(0); }
  .mobile-filter-head { display: flex; justify-content: space-between; align-items: center; font-family: "Archivo Black"; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 24px; }
  .mobile-filter-head button { border: 0; background: transparent; font-size: 2rem; }
  .filter-backdrop { position: fixed; display: block; z-index: 60; inset: 0; background: rgba(17,17,17,.65); }
  .filter-backdrop[hidden] { display: none; }
  .catalog-toolbar { justify-content: space-between; }
  .filter-trigger { display: flex; align-items: center; gap: 30px; border: var(--line); background: var(--lime); padding: 9px 12px; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
  .brand-story { grid-template-columns: 1fr; }
  .brand-story > a { grid-column: 1; justify-self: start; }
  footer { flex-direction: column; text-align: center; }
  .product-dialog[open] { grid-template-columns: 1fr; max-height: calc(100vh - 30px); overflow-y: auto; }
  .dialog-art { min-height: 330px; border-right: 0; border-bottom: var(--line); }
}

@media (max-width: 480px) {
  .hero-copy { padding-inline: 20px; }
  .hero-art { min-height: 420px; }
  .hero-proof { flex-direction: column; }
  .category-strip { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .category-card { min-width: 175px; scroll-snap-align: start; }
  .product-grid { gap: 24px 10px; }
  .product-info { grid-template-columns: 1fr; }
  .product-info strong { grid-row: 2; }
  .product-info .card-price { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .product-info span { grid-column: 1; }
  .sort-control { font-size: 0; }
  .sort-control select { font-size: .72rem; max-width: 160px; }
  .dialog-content { padding: 28px 22px; }
  .marketplace-label { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
