/* ==========================================================================
   Vae Victis - editorial header + hero (index.html).
   Monochrome, grid-lined, product-first. Everything is scoped under .vx-*
   so the rest of the storefront (styles.css) is untouched.
   ========================================================================== */

:root {
  --vx-ink:      #111111;
  --vx-ink-2:    #333333;
  --vx-muted:    #6B6B6B;
  --vx-muted-2:  #8A8A86;
  --vx-bg:       #F7F7F5;
  --vx-surface:  #FFFFFF;
  --vx-panel:    #F1F1EF;
  --vx-panel-2:  #ECEBE7;
  --vx-sand:     #E7E2D8;
  --vx-border:   rgba(0,0,0,.08);
  --vx-line:     rgba(0,0,0,.06);
  --vx-dot:      rgba(0,0,0,.12);
  --vx-wrap:     1320px;
  --vx-gutter:   clamp(16px, 3vw, 40px);
  --vx-ease:     cubic-bezier(.2,.7,.2,1);
  --vx-sans:     'Inter Tight', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --vx-serif:    'Instrument Serif', 'Times New Roman', serif;

  /* crest accent - sampled from the Vae Victis mark (column + olive wreath) */
  --vx-gold:      #8B7452;
  --vx-gold-deep: #6B5637;
  --vx-olive:     #4A5238;
}

body.vx-page { background: var(--vx-bg); color: var(--vx-ink); font-family: var(--vx-sans); }
body.vx-page ::selection { background: rgba(17,17,17,.12); }
body.vx-page :focus-visible { outline: 2px solid var(--vx-ink); outline-offset: 3px; border-radius: 2px; }

.vx-wrap { width: min(100% - 2 * var(--vx-gutter), var(--vx-wrap)); margin-inline: auto; }

.vx-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------- header */
.vx-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,247,245,.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--vx-line);
  transition: background .3s var(--vx-ease), box-shadow .3s var(--vx-ease);
}
.vx-header.is-stuck { background: rgba(255,255,255,.86); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 24px -18px rgba(0,0,0,.18); }
.vx-header__inner { height: 72px; display: flex; align-items: center; gap: 1.5rem; }

.vx-brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.vx-brand img { width: 32px; height: 32px; transition: transform .6s var(--vx-ease); }
.vx-brand:hover img { transform: rotate(-8deg) scale(1.04); }
.vx-brand__word {
  font-weight: 800; font-size: 1.02rem; letter-spacing: .32em; line-height: 1;
  margin-right: -.32em; /* optical: cancel trailing tracking */
  color: var(--vx-gold-deep);
}

.vx-nav { display: flex; gap: .3rem; margin-inline: auto; }
.vx-nav a {
  position: relative; padding: .5rem .8rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--vx-muted); transition: color .2s var(--vx-ease);
}
.vx-nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 1px;
  background: var(--vx-ink); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--vx-ease);
}
.vx-nav a:hover, .vx-nav a.is-active { color: var(--vx-ink); }
.vx-nav a:hover::after, .vx-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.vx-actions { display: flex; align-items: center; gap: .35rem; flex: none; }

/* search - reuses search.js (#navSearch / #searchInput / #searchResults) */
.vx-header .nav-search { flex: none; width: 250px; max-width: none; min-width: 0; margin: 0 .4rem 0 0; }
.vx-header .nav-search__field {
  border-radius: 999px; padding: .55rem .95rem; gap: .55rem;
  border: 1px solid var(--vx-border); background: rgba(255,255,255,.7);
}
.vx-header .nav-search__field:focus-within { border-color: rgba(0,0,0,.28); background: #fff; box-shadow: 0 6px 18px -12px rgba(0,0,0,.3); }
.vx-header .nav-search__field svg { color: var(--vx-muted); width: 15px; height: 15px; }
.vx-header .nav-search input { font-size: .8rem; color: var(--vx-ink); }
.vx-header .nav-search input::placeholder { color: var(--vx-muted-2); }
.vx-header .nav-search__results { border-radius: 14px; border-color: var(--vx-border); box-shadow: 0 24px 60px -24px rgba(0,0,0,.28); }

.vx-icon {
  position: relative; width: 40px; height: 40px; display: inline-grid; place-items: center;
  border: 0; background: none; border-radius: 999px; cursor: pointer; color: var(--vx-ink-2);
  transition: background .2s var(--vx-ease), color .2s var(--vx-ease);
}
.vx-icon:hover { background: rgba(0,0,0,.05); color: var(--vx-ink); }
.vx-icon svg { width: 19px; height: 19px; }
.vx-icon__badge {
  position: absolute; top: 5px; right: 4px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 99px; background: var(--vx-ink); color: #fff;
  font-size: .56rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--vx-ease);
}
.vx-icon__badge.is-visible { transform: scale(1); }
.vx-search-toggle { display: none; }

.vx-header .cart-btn.vx-bag {
  width: auto; height: 40px; padding: 0 .8rem; gap: .45rem; border: 0; border-radius: 999px;
  background: none; color: var(--vx-ink); box-shadow: none;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.vx-header .cart-btn.vx-bag:hover { background: rgba(0,0,0,.05); color: var(--vx-ink); border: 0; box-shadow: none; }
.vx-header .cart-btn.vx-bag svg { width: 18px; height: 18px; }
.vx-bag__count { font-variant-numeric: tabular-nums; }

.vx-burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: 999px; }
.vx-burger:hover { background: rgba(0,0,0,.05); }
.vx-burger span { display: block; width: 18px; height: 1.5px; background: var(--vx-ink); margin: 4px auto; transition: transform .3s var(--vx-ease), opacity .3s; }
.vx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.vx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ------------------------------------------------------------- buttons */
.vx-btn {
  --bg: var(--vx-gold-deep); --fg: #fff; --bd: var(--vx-gold-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  height: 52px; padding: 0 1.6rem; border: 1px solid var(--bd); border-radius: 2px;
  background: var(--bg); color: var(--fg); cursor: pointer; white-space: nowrap;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -14px rgba(0,0,0,.55);
  transition: transform .25s var(--vx-ease), background .25s var(--vx-ease), box-shadow .25s var(--vx-ease), color .25s;
}
.vx-btn svg { width: 15px; height: 15px; transition: transform .3s var(--vx-ease); }
.vx-btn:hover { transform: translateY(-2px); background: #543F24; box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); }
.vx-btn:hover svg { transform: translateX(3px); }
.vx-btn:active { transform: translateY(0); }
.vx-btn--ghost { --bg: #fff; --fg: var(--vx-ink); --bd: rgba(0,0,0,.18); box-shadow: none; }
.vx-btn--ghost:hover { background: #F2F2EF; border-color: var(--vx-gold-deep); box-shadow: 0 12px 26px -20px rgba(0,0,0,.4); }
.vx-btn--sm { height: 38px; padding: 0 1rem; font-size: .66rem; margin-left: .4rem; }

/* ------------------------------------------------------------- hero frame + grid lines */
.vx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  /* soft studio light from the top, paper grain on top of it */
  background:
    radial-gradient(1200px 520px at 50% -8%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    var(--vx-bg);
}
.vx-hero::before { /* paper texture */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* vertical guides are absolute; horizontal rules sit in the flow so they
   always cross the content at the right place, bleeding into the gutter */
.vx-frame { position: relative; padding: 36px 0 36px; }
.vx-frame > *:not(.vx-lines) { position: relative; z-index: 1; }
.vx-lines { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vx-vline { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--vx-line); }
.vx-vline--l { left: 0; }
.vx-vline--r { right: 0; }
.vx-vline--c { left: 50%; }

.vx-rule { height: 1px; margin-inline: calc(-1 * var(--vx-gutter)); background: var(--vx-line); }
.vx-dot {
  position: absolute; top: 0; width: 9px; height: 9px; margin: -4px 0 0 -4px; border-radius: 50%;
  border: 1px solid var(--vx-dot); background: var(--vx-bg);
}
.vx-dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--vx-dot); }
.vx-rule--end { margin-top: 36px; }

/* ------------------------------------------------------------- hero copy */
.vx-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3rem; align-items: end; padding: 72px clamp(0px, 3vw, 48px) 80px; }

.vx-label {
  display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--vx-ink-2);
}
.vx-label__rule { width: 28px; height: 1px; background: rgba(0,0,0,.25); }
.vx-status { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .7rem .35rem .6rem; border: 1px solid var(--vx-border); border-radius: 999px; background: #fff; letter-spacing: .2em; font-size: .62rem; }
.vx-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--vx-gold); position: relative; }
.vx-status i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--vx-gold); opacity: 0; animation: vx-ping 2.4s var(--vx-ease) infinite; }
@keyframes vx-ping { 0% { transform: scale(.4); opacity: .6; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.vx-title {
  margin: 1.6rem 0 0; font-family: var(--vx-sans); font-weight: 800;
  font-size: clamp(3.1rem, 8.4vw, 8.4rem); line-height: .9; letter-spacing: -.042em; word-spacing: .06em; text-transform: uppercase;
  color: var(--vx-ink);
}
.vx-title__line { display: block; overflow: hidden; padding-bottom: .04em; }
.vx-title__line > span { display: inline-block; animation: vx-rise 1s var(--vx-ease) both; }
.vx-title__line:nth-child(2) > span { animation-delay: .08s; }
.vx-title em { font-family: var(--vx-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; font-size: .92em; }
@keyframes vx-rise { from { transform: translateY(105%); } to { transform: none; } }

.vx-lede { max-width: 550px; margin-top: 1.8rem; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.6; color: #555555; }

.vx-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

.vx-cats { display: flex; flex-wrap: wrap; margin-top: 2.2rem; }
.vx-cats a {
  position: relative; padding: .25rem 1rem; font-size: .66rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--vx-muted); transition: color .2s;
}
.vx-cats a:first-child { padding-left: 0; }
.vx-cats a + a { border-left: 1px solid rgba(0,0,0,.14); }
.vx-cats a:hover { color: var(--vx-ink); }

/* right-hand editorial index */
.vx-aside { padding-bottom: .4rem; }
.vx-quote { font-family: var(--vx-serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; color: var(--vx-ink); letter-spacing: -.01em; }
.vx-quote small { display: block; margin-top: .7rem; font-family: var(--vx-sans); font-style: normal; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--vx-muted); }
.vx-index { margin-top: 2rem; border-top: 1px solid var(--vx-border); }
.vx-index a {
  display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; padding: .95rem 0;
  border-bottom: 1px solid var(--vx-border); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: padding .3s var(--vx-ease);
}
.vx-index a span:first-child { font-size: .62rem; color: var(--vx-gold); letter-spacing: .1em; }
.vx-index a span:nth-child(2) { color: var(--vx-ink); }
.vx-index a span:last-child { font-size: .66rem; color: var(--vx-muted); letter-spacing: .08em; font-weight: 500; text-transform: none; }
.vx-index a svg { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-left: .35rem; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .3s var(--vx-ease); }
.vx-index a:hover { padding-left: .4rem; }
.vx-index a:hover svg { opacity: 1; transform: none; }

/* animated colourway showcase above the quote */
.vx-art {
  position: relative; display: block; overflow: hidden; margin-bottom: 1.6rem;
  height: clamp(200px, 17vw, 250px); border: 1px solid var(--vx-border);
  background: radial-gradient(120% 90% at 50% 38%, var(--vx-surface) 0%, var(--vx-panel) 62%, var(--vx-sand) 140%);
  color: var(--vx-ink); isolation: isolate;
}
.vx-art__stage { position: absolute; inset: 7% 20% 11%; }
.vx-art .vx-art__tee {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; color: #D9D3C7; overflow: visible;
  animation: vx-art-float 6s ease-in-out infinite, vx-art-colour 12s var(--vx-ease) infinite;
  transition: transform .5s var(--vx-ease);
}
.vx-art__print { fill: #1A1A1A; color: #1A1A1A; animation: vx-art-ink 12s var(--vx-ease) infinite; }
.vx-art__shadow {
  position: absolute; left: 22%; right: 22%; bottom: -6%; height: 10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0,0,0,.18), transparent);
  animation: vx-art-shadow 6s ease-in-out infinite;
}
.vx-art:hover .vx-art__tee { animation-play-state: paused; }
.vx-art:hover .vx-art__shadow { animation-play-state: paused; }

.vx-art__corner { position: absolute; z-index: 2; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--vx-muted); }
.vx-art__corner--tl { top: 16px; left: 18px; }
.vx-art__corner--br { right: 18px; bottom: 18px; }
.vx-art__corner small { display: block; font-size: inherit; }
.vx-art__names { position: relative; display: block; height: 1.3rem; margin-top: .3rem; }
.vx-art__names b {
  position: absolute; left: 0; top: 0; font-family: var(--vx-serif); font-style: italic; font-weight: 400;
  font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--vx-ink); opacity: 0;
  animation: vx-art-name 12s var(--vx-ease) infinite;
}
.vx-art__names b:nth-child(2), .vx-art__swatches i:nth-child(2) { animation-delay: -9s; }
.vx-art__names b:nth-child(3), .vx-art__swatches i:nth-child(3) { animation-delay: -6s; }
.vx-art__names b:nth-child(4), .vx-art__swatches i:nth-child(4) { animation-delay: -3s; }

.vx-art__badge { position: absolute; z-index: 2; top: 10px; right: 10px; width: 64px; height: 64px; color: var(--vx-gold); animation: vx-art-spin 22s linear infinite; }

.vx-art__swatches { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: flex; gap: 8px; }
.vx-art__swatches i {
  width: 12px; height: 12px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12); animation: vx-art-swatch 12s var(--vx-ease) infinite;
}

@keyframes vx-art-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes vx-art-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.82); opacity: .6; } }
@keyframes vx-art-spin { to { transform: rotate(360deg); } }
@keyframes vx-art-colour {
  0%, 20% { color: #D9D3C7; } 25%, 45% { color: #1E1E1F; }
  50%, 70% { color: #262E3D; } 75%, 95% { color: #4A5238; } 100% { color: #D9D3C7; }
}
@keyframes vx-art-ink {
  0%, 20% { fill: #1A1A1A; color: #1A1A1A; } 25%, 95% { fill: #EDE8DE; color: #EDE8DE; } 100% { fill: #1A1A1A; color: #1A1A1A; }
}
@keyframes vx-art-name { 0%, 20% { opacity: 1; transform: none; } 25% { opacity: 0; transform: translateY(-6px); } 95% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
@keyframes vx-art-swatch { 0%, 20% { box-shadow: 0 0 0 1px var(--vx-bg), 0 0 0 2.5px var(--vx-ink); } 25%, 95% { box-shadow: 0 0 0 1px rgba(0,0,0,.12); } 100% { box-shadow: 0 0 0 1px var(--vx-bg), 0 0 0 2.5px var(--vx-ink); } }

/* ------------------------------------------------------------- showcase */
.vx-showcase { padding-top: 28px; }
.vx-show-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem;
  font-size: .66rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #777777;
}
.vx-show-head b { color: var(--vx-ink); font-weight: 700; }

.vx-stage { display: grid; grid-template-columns: 1fr 1.42fr 1fr; gap: 12px; align-items: stretch; }

.vx-panel {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--vx-panel); border: 1px solid rgba(0,0,0,.04);
  transition: transform .5s var(--vx-ease), box-shadow .5s var(--vx-ease);
}
.vx-panel:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.vx-panel__media {
  position: relative; flex: 1; display: grid; place-items: center; min-height: 420px; padding: 56px 28px 16px;
  /* studio sweep: warm light top, floor falloff bottom */
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.035));
}
.vx-panel__media > a { display: grid; place-items: center; width: 100%; }
.vx-panel--hero { background: var(--vx-panel-2); }
.vx-panel--hero .vx-panel__media { min-height: 600px; padding-top: 72px; }

.vx-garment {
  width: 100%; max-width: 330px; height: auto; overflow: visible;
  filter: drop-shadow(0 22px 22px rgba(0,0,0,.14)) drop-shadow(0 4px 5px rgba(0,0,0,.08));
  transition: transform .8s var(--vx-ease); will-change: transform;
}
.vx-panel--hero .vx-garment { max-width: 500px; }
.vx-panel:hover .vx-garment { transform: scale(1.045) translateY(-4px); }
.vx-floor { /* contact shadow */
  position: absolute; left: 22%; right: 22%; bottom: 22px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.14), rgba(0,0,0,0)); filter: blur(4px); pointer-events: none;
}

.vx-tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .7rem; background: rgba(255,255,255,.88); border: 1px solid var(--vx-border);
  font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--vx-ink-2); white-space: nowrap;
  box-shadow: 0 8px 20px -16px rgba(0,0,0,.35);
  animation: vx-float 6s ease-in-out infinite;
}
.vx-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--vx-gold); }
.vx-tag--dark { background: var(--vx-ink); color: #fff; border-color: var(--vx-ink); }
.vx-tag--dark::before { background: #fff; }
@keyframes vx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.vx-panel__index {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--vx-muted-2);
}

/* quick actions */
.vx-quick { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.vx-qbtn {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid var(--vx-border); color: var(--vx-ink); cursor: pointer;
  opacity: 0; transform: translateX(8px);
  transition: opacity .3s var(--vx-ease), transform .35s var(--vx-ease), background .2s, color .2s;
}
.vx-qbtn:nth-child(2) { transition-delay: .03s; }
.vx-qbtn:nth-child(3) { transition-delay: .06s; }
.vx-qbtn svg { width: 16px; height: 16px; fill: none; }
.vx-qbtn:hover { background: var(--vx-ink); color: #fff; }
.vx-panel:hover .vx-qbtn, .vx-card:hover .vx-qbtn, .vx-qbtn:focus-visible, .vx-qbtn.is-active { opacity: 1; transform: none; }
.vx-qbtn[data-wishlist].is-active { color: #fff; background: var(--vx-ink); }
.vx-qbtn[data-wishlist].is-active svg { fill: currentColor; animation: vx-heart .45s var(--vx-ease); }
@keyframes vx-heart { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.vx-qbtn.is-added { background: var(--vx-ink); color: #fff; opacity: 1; transform: none; }
@media (hover: none) { .vx-qbtn { opacity: 1; transform: none; } }

/* product meta */
.vx-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 18px 20px 20px; background: var(--vx-surface); border-top: 1px solid rgba(0,0,0,.05); }
.vx-meta__name { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vx-ink); line-height: 1.3; }
.vx-meta__cat { margin-top: .25rem; font-size: .78rem; color: var(--vx-muted); }
.vx-meta__right { text-align: right; flex: none; }
.vx-meta__price { font-size: .95rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.vx-stars { margin-top: .25rem; font-size: .62rem; letter-spacing: .12em; color: var(--vx-ink-2); white-space: nowrap; }
.vx-stars span { color: var(--vx-muted-2); letter-spacing: .04em; margin-left: .25rem; }

.vx-panel--hero .vx-meta { padding: 22px 24px 24px; align-items: center; }
.vx-panel--hero .vx-meta__name { font-size: .92rem; }
.vx-panel__caption { font-family: var(--vx-serif); font-style: italic; font-size: 1.35rem; color: var(--vx-ink); line-height: 1; margin-bottom: .55rem; letter-spacing: -.01em; }

.vx-addbtn {
  display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 1.1rem; border: 0; border-radius: 2px;
  background: var(--vx-ink); color: #fff; cursor: pointer;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  transition: background .25s, transform .25s var(--vx-ease);
}
.vx-addbtn svg { width: 15px; height: 15px; }
.vx-addbtn:hover { background: #2a2a2a; transform: translateY(-1px); }
.vx-addbtn.is-added { background: var(--vx-olive); }

/* small cards row */
.vx-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
/* tall card: image -> details -> full-width Quick Add pinned to the bottom */
.vx-card {
  position: relative; display: flex; flex-direction: column; background: var(--vx-surface); border: 1px solid var(--vx-border);
  transition: transform .35s var(--vx-ease), box-shadow .35s var(--vx-ease), border-color .3s;
}
.vx-card:hover { transform: translateY(-4px); border-color: rgba(0,0,0,.14); box-shadow: 0 26px 48px -34px rgba(0,0,0,.45); }
.vx-card__media { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--vx-panel); overflow: hidden; }
.vx-card__media .vx-garment { width: 78%; max-width: none; filter: drop-shadow(0 14px 14px rgba(0,0,0,.14)); }
.vx-card:hover .vx-garment { transform: scale(1.06); }
.vx-card__wish { position: absolute; top: 12px; right: 12px; z-index: 2; }
.vx-card__body { flex: 1; padding: 16px 16px 14px; }
.vx-card .vx-meta__name { font-size: .72rem; }
.vx-card .vx-meta__cat { font-size: .74rem; }
.vx-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-top: .7rem; }
.vx-card .vx-meta__price { font-size: .88rem; }
.vx-card .vx-stars { margin-top: 0; }
.vx-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.vx-quickadd {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; height: 46px; margin-top: auto; border: 0; border-top: 1px solid var(--vx-border);
  background: var(--vx-surface); color: var(--vx-ink); cursor: pointer;
  font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: background .25s var(--vx-ease), color .25s var(--vx-ease);
}
.vx-quickadd svg { width: 14px; height: 14px; transition: transform .3s var(--vx-ease); }
.vx-quickadd:hover, .vx-card:hover .vx-quickadd { background: var(--vx-ink); color: #fff; border-top-color: var(--vx-ink); }
.vx-quickadd:hover svg { transform: rotate(90deg); }
.vx-quickadd.is-added { background: var(--vx-olive); color: #fff; }

/* footer strip inside hero */
.vx-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--vx-border); }
.vx-strip div { padding: 1.1rem 1.2rem 0; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--vx-muted); }
.vx-strip div + div { border-left: 1px solid var(--vx-border); }
.vx-strip b { display: block; margin-bottom: .3rem; color: var(--vx-ink); font-size: .7rem; }

/* entrance */
.vx-in { animation: vx-fade .9s var(--vx-ease) both; }
.vx-in--2 { animation-delay: .12s; }
.vx-in--3 { animation-delay: .22s; }
.vx-in--4 { animation-delay: .32s; }
@keyframes vx-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- drawer (restyled for this page) */
body.vx-page .drawer__panel { border-radius: 0; }
body.vx-page .drawer__panel a.drawer__link { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
body.vx-page .drawer__panel a.drawer__link:hover { color: var(--vx-ink); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1520px) {
  .vx-header .nav-search { width: 220px; }
  .vx-btn--sm { display: none; }
  .vx-nav a { padding: .5rem .55rem; letter-spacing: .12em; }
  .vx-nav a::after { left: .55rem; right: .55rem; }
}

@media (max-width: 1080px) {
  .vx-nav { display: none; }
  .vx-burger { display: inline-block; }
  .vx-actions { margin-left: auto; }
  .vx-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .vx-aside { max-width: 560px; }
  .vx-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* tablet: centre product full width, supporting pieces two-up */
  .vx-stage { grid-template-columns: 1fr 1fr; }
  .vx-panel--hero { grid-column: 1 / -1; order: -1; }
  .vx-panel--hero .vx-panel__media { min-height: 520px; }
  .vx-panel__media { min-height: 360px; }
  .vx-strip { grid-template-columns: repeat(2, 1fr); }
  .vx-strip div:nth-child(3) { border-left: 0; }
  .vx-strip div:nth-child(n+3) { padding-top: 1.1rem; }
}

@media (max-width: 760px) {
  .vx-header__inner { height: 60px; gap: .5rem; }
  .vx-brand img { width: 28px; height: 28px; }
  .vx-brand__word { font-size: .88rem; letter-spacing: .26em; }
  .vx-search-toggle { display: inline-grid; }
  .vx-hide-sm { display: none !important; }
  .vx-header .cart-btn.vx-bag { padding: 0 .55rem; }
  .vx-bag__label { display: none; }
  .vx-header .nav-search {
    position: absolute; left: 0; right: 0; top: 100%; width: auto; margin: 0; padding: 10px var(--vx-gutter);
    background: rgba(255,255,255,.96); border-bottom: 1px solid var(--vx-line);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .3s var(--vx-ease);
  }
  .vx-header.is-searching .nav-search { opacity: 1; transform: none; pointer-events: auto; }
  .vx-header .nav-search__results { left: var(--vx-gutter); right: var(--vx-gutter); }

  /* keep text off the frame's vertical guide lines: equal breathing room each side */
  .vx-intro { padding: 48px 20px 56px; }
  .vx-show-head { padding-left: 20px; padding-right: 20px; }
  .vx-title { font-size: clamp(2.9rem, 15vw, 4.6rem); }
  .vx-ctas .vx-btn { flex: 1 1 100%; }
  /* category links: a tidy 3 x 2 grid of equal boxes instead of ragged wrapped rows */
  .vx-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .vx-cats a, .vx-cats a:first-child {
    display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem .3rem;
    text-align: center; white-space: nowrap; font-size: clamp(.56rem, 2.6vw, .66rem); letter-spacing: clamp(.06em, .6vw, .14em);
    border: 1px solid rgba(0,0,0,.12); background: rgba(255,255,255,.55);
    transition: color .2s, border-color .2s, background .2s;
  }
  .vx-cats a + a { border-left: 1px solid rgba(0,0,0,.12); }
  .vx-cats a:active { background: #fff; border-color: var(--vx-ink); color: var(--vx-ink); }
  .vx-show-head span:last-child { display: none; }
  .vx-stage { grid-template-columns: 1fr; }
  .vx-panel--hero .vx-panel__media { min-height: 440px; padding-top: 64px; }
  .vx-panel__media { min-height: 380px; }
  .vx-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vx-card__body { padding: 12px 12px 10px; }
  .vx-card__foot { flex-direction: column; gap: .2rem; }
  .vx-quickadd { height: 42px; letter-spacing: .14em; }
  .vx-vline--c, .vx-rule .vx-dot:nth-child(2) { display: none; }
  .vx-panel--hero .vx-meta { flex-wrap: wrap; }
}

@media (max-width: 340px) {
  .vx-brand__word { display: none; }
  /* smallest phones: two columns so the longest labels keep their breathing room */
  .vx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------- devices */
/* notched phones in landscape: keep the frame clear of the cutout */
.vx-wrap { width: min(100% - 2 * var(--vx-gutter) - env(safe-area-inset-left) - env(safe-area-inset-right), var(--vx-wrap)); }

/* tablet (iPad portrait, Android tablets): tee panel beside the quote instead of a narrow column */
@media (min-width: 761px) and (max-width: 1080px) {
  .vx-aside { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; align-items: start; }
  .vx-art { grid-row: 1 / span 2; margin-bottom: 0; height: 100%; min-height: 240px; }
  .vx-index { margin-top: 1.4rem; }
}

/* compact product imagery on tablets and phones */
@media (max-width: 900px) {
  .vx-panel--hero .vx-panel__media { min-height: 440px; }
  .vx-panel--hero .vx-garment { max-width: 360px; }
  .vx-panel__media { min-height: 320px; }
  .vx-garment { max-width: 280px; }
  .vx-card__media { aspect-ratio: 1 / 1; }
}
@media (max-width: 760px) {
  .vx-panel--hero .vx-panel__media { min-height: 360px; padding-top: 56px; }
  .vx-panel--hero .vx-garment { max-width: 300px; }
  .vx-panel__media { min-height: 280px; padding: 48px 20px 12px; }
  .vx-garment { max-width: 240px; }
  .vx-art { height: 210px; }
  .vx-card__media { aspect-ratio: 4 / 5; }
  .vx-card__media .vx-garment { width: 74%; }
}
@media (max-width: 360px) {
  .vx-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vx-card__body { padding: 10px 10px 8px; }
  .vx-art__corner--br { display: none; }
}

@media (pointer: coarse) {
  .vx-cats a { padding-top: .6rem; padding-bottom: .6rem; }
}

/* touch screens: hover lifts would stick after a tap */
@media (hover: none) {
  .vx-panel:hover, .vx-card:hover { transform: none; box-shadow: none; }
  .vx-panel:hover .vx-garment, .vx-card:hover .vx-garment { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vx-title__line > span, .vx-in, .vx-tag, .vx-status i::after,
  .vx-art__tee, .vx-art__print, .vx-art__shadow, .vx-art__badge, .vx-art__swatches i { animation: none !important; }
  .vx-art__names b:not(:first-child) { display: none; }
  .vx-art__names b:first-child { animation: none !important; opacity: 1; }
  .vx-panel, .vx-garment, .vx-card, .vx-btn { transition: none !important; }
}
