@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --bg: #050606;
  --bg-soft: #0b0c0c;
  --panel: #111111;
  --panel-2: #171514;
  --line: #2a2927;
  --line-soft: #1c1c1b;
  --text: #f7f4ef;
  --muted: #aaa39a;
  --faint: #6f6a63;
  --accent: #d4b896;
  --accent-2: #f3dfc6;
  --paper: #f7f3ed;
  --danger: #d87872;
  color: var(--text);
  background: var(--bg);
  font-family: 'Montserrat', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0, rgba(212, 184, 150, 0.055), transparent 32rem),
    var(--bg);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  max-width: 1240px;
  margin: 0 auto;
  border-left: 1px solid rgba(255, 255, 255, 0.035);
  border-right: 1px solid rgba(255, 255, 255, 0.035);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0));
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 6, 6, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 86px;
  padding: 0 3.5rem;
}

.social-row,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--paper);
}

.pin-icon,
.footer-socials span {
  font-family: Georgia, serif;
  font-weight: 700;
}

.brand-lockup,
.admin-brand {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: var(--text);
}

.brand-lockup span,
.footer-brand strong,
.admin-brand span {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 0.95;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-lockup small,
.footer-brand span,
.admin-brand small {
  display: block;
  margin-top: 0.45rem;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.search-wrap {
  justify-self: end;
  width: min(13rem, 100%);
  height: 38px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.75rem;
  border: 1px solid #3a352f;
  color: var(--muted);
}

.search-wrap input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 0.76rem;
}

.nav-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.6rem);
  padding: 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-row button,
.nav-row a,
.public-footer button,
.public-footer a {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav-row button:hover,
.nav-row a:hover,
.public-footer button:hover,
.public-footer a:hover {
  color: var(--accent-2);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(31rem, 48vw, 43rem);
  display: flex;
  align-items: center;
  padding: 5.5rem 6rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center right;
  filter: saturate(0.86) contrast(1.04);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.98) 0%, rgba(5, 6, 6, 0.82) 26%, rgba(5, 6, 6, 0.28) 61%, rgba(5, 6, 6, 0.42) 100%),
    linear-gradient(0deg, rgba(5, 6, 6, 0.88), transparent 32%);
}

.hero-copy {
  width: min(25rem, 100%);
}

.hero h1,
.section-copy h2,
.article-copy h1,
.category-page-head h1,
.mannequin-copy h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 0.98;
}

.hero p,
.section-copy p,
.article-copy p,
.category-page-head p,
.mannequin-copy p,
.newsletter p {
  color: var(--text);
  line-height: 1.75;
}

.hero p {
  width: min(19rem, 100%);
  margin: 2rem 0 1.6rem;
  color: #f1eee9;
}

.outline-button,
.post-card-body button,
.post-card-body a,
.admin-action,
.danger-button,
.editor-head button,
.editor-head a,
.upload-button,
.admin-sidebar-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid #6e5846;
  padding: 0 1.25rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outline-button:hover,
.post-card-body button:hover,
.post-card-body a:hover,
.admin-action:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.slide-dots {
  position: absolute;
  right: 3rem;
  bottom: 2rem;
  display: flex;
  gap: 0.5rem;
}

.slide-dots button {
  width: 2rem;
  height: 3px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--accent);
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem 3.5rem 1.25rem;
}

.section-title span {
  height: 1px;
  background: var(--line);
}

.section-title h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.03rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.popular-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  padding: 0 3.5rem 2rem;
}

.post-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.post-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.post-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  filter: saturate(0.82);
}

.post-card-body {
  padding: 1rem 1.05rem 1.1rem;
}

.post-card-body span,
.article-copy span,
.mannequin-copy span,
.admin-topbar span {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-card h3 {
  min-height: 2.9rem;
  margin: 0.35rem 0 1rem;
  color: var(--text);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.post-card.compact h3 {
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card p {
  margin: -0.4rem 0 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.post-card-body button {
  min-height: 34px;
  padding: 0 0.85rem;
  border-color: #4a4038;
  font-size: 0.67rem;
}

.compact .post-card-body {
  text-align: center;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 3.5rem 2rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.category-rail button,
.category-rail a {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.category-rail button:last-child,
.category-rail a:last-child {
  border-right: 0;
}

.category-rail button:hover,
.category-rail a:hover {
  background: rgba(212, 184, 150, 0.06);
}

.category-rail strong {
  max-width: 11rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.category-rail small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.style-cloud {
  padding: 3.2rem 3.5rem 2.5rem;
  background: #f7f5f1;
  color: #050606;
}

.section-copy.centered {
  width: min(42rem, 100%);
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-copy.centered h2 {
  color: #07101d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.section-copy.centered p {
  margin: 0.9rem auto 0;
  width: min(36rem, 100%);
  color: #4c443d;
  line-height: 1.7;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.style-pill {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: #07101d;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.style-pill img {
  width: 108px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 14px 28px rgba(7, 16, 29, 0.15);
  filter: saturate(0.92);
}

.shop-strip {
  padding: 3rem 3.5rem 3.2rem;
  background:
    linear-gradient(90deg, rgba(212, 184, 150, 0.13), transparent 24%, rgba(212, 184, 150, 0.09)),
    #0a0a09;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.shop-strip .section-copy.centered h2,
.shop-strip .section-copy.centered p {
  color: var(--text);
}

.shop-strip .section-copy.centered p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.product-card {
  background: #f7f5f1;
  color: #07101d;
  min-width: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-media span {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  background: #fff;
  color: #07101d;
  padding: 0.38rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-body {
  padding: 1rem;
}

.product-body h3 {
  margin: 0;
  min-height: 2.5rem;
  font-size: 0.98rem;
  line-height: 1.32;
}

.product-body strong {
  display: block;
  margin: 0.65rem 0;
  font-size: 1.05rem;
}

.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-sizes span {
  min-width: 2rem;
  min-height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 16, 29, 0.22);
  color: #07101d;
  font-size: 0.7rem;
  font-weight: 800;
}

.product-sizes.large {
  margin: 1.2rem 0 0.4rem;
}

.product-sizes.large span {
  color: var(--text);
  border-color: #4a4038;
}

.blog-search-panel {
  margin: 2rem 3.5rem 0;
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: #0d0d0d;
}

.blog-search-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.blog-search-panel form {
  display: flex;
  gap: 0.65rem;
}

.blog-search-panel input {
  flex: 1;
  min-height: 44px;
  border: 1px solid #3b332d;
  background: #080808;
  color: var(--text);
  padding: 0 1rem;
}

.blog-search-panel button {
  width: 76px;
  border: 0;
  background: var(--text);
  color: #080808;
  font-weight: 800;
  cursor: pointer;
}

.blog-home-panel {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  padding: 2.8rem 3.5rem;
  background: #f7f5f1;
  color: #07101d;
}

.blog-sidebar {
  align-self: start;
  border: 1px solid #d8d4ce;
  background: #fff;
}

.blog-sidebar h2 {
  margin: 0;
  padding: 1rem;
  border-bottom: 1px solid #d8d4ce;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-sidebar a {
  display: block;
  padding: 0.78rem 1rem;
  border-bottom: 1px solid #eee9e3;
  color: #07101d;
  font-size: 0.92rem;
}

.blog-sidebar a:hover {
  background: #f1ece5;
}

.blog-main-list {
  display: grid;
  gap: 1.8rem;
}

.blog-search-panel.inline {
  margin: 0;
  background: #fff;
  border-color: #d8d4ce;
  color: #07101d;
}

.blog-search-panel.inline input {
  background: #fff;
  border-color: #d8d4ce;
  color: #07101d;
}

.blog-search-panel.inline button {
  background: #111;
  color: #fff;
}

.featured-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.blog-home-panel .post-card {
  background: #fff;
  border-color: #e4ded6;
  color: #07101d;
  box-shadow: 0 18px 34px rgba(7, 16, 29, 0.08);
}

.blog-home-panel .post-card h3,
.blog-home-panel .post-card-body button,
.blog-home-panel .post-card-body a {
  color: #07101d;
}

.blog-home-panel .post-card p {
  color: #3d3935;
}

.blog-home-panel .post-card-body a {
  border-color: #111;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 1.25rem;
}

.article-meta span {
  display: inline-flex;
  width: auto;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.article-rich {
  color: var(--muted);
  line-height: 1.78;
}

.article-rich h2 {
  margin: 1.7rem 0 0.7rem;
  color: var(--text);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 500;
}

.article-rich p {
  margin: 0 0 1rem;
}

.article-rich ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.article-rich li {
  margin: 0.35rem 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
}

.tag-list a {
  border: 1px solid #4a4038;
  padding: 0.42rem 0.7rem;
  color: var(--accent-2);
  font-size: 0.72rem;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) 1.6fr;
  gap: 3rem;
  padding: 1rem 3.5rem 2.5rem;
}

.section-copy {
  align-self: center;
}

.section-copy h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.5rem);
  line-height: 1.12;
}

.section-copy p {
  margin: 1.4rem 0 1.8rem;
}

.latest-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mannequin-section {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 2.5rem;
  align-items: stretch;
  margin: 0 3.5rem 2.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(212, 184, 150, 0.08), transparent 32%),
    #0c0c0b;
}

.mannequin-copy h2 {
  margin-top: 0.45rem;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.05;
}

.mannequin-copy p {
  color: #ded9d2;
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0;
}

.size-row button {
  min-width: 45px;
  height: 38px;
  border: 1px solid #4a4038;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.size-row button.active {
  background: var(--accent);
  color: #17110c;
}

.range-control {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.range-control input {
  accent-color: var(--accent);
}

.mannequin-stage {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(12rem, 0.95fr);
  gap: 1.5rem;
  min-height: 440px;
  align-items: center;
  padding: 1.4rem;
  background: #080808;
  border: 1px solid var(--line-soft);
  position: relative;
}

.outfit-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-self: stretch;
  justify-content: center;
}

.outfit-tabs button {
  width: 100%;
  min-height: 42px;
  border: 1px solid #3b332d;
  background: #11100f;
  color: var(--text);
  cursor: pointer;
  padding: 0 0.9rem;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.35;
}

.outfit-tabs button.active {
  border-color: var(--accent);
  color: var(--accent-2);
}

.fashion-figure {
  --scale: 1;
  --jacket: #111111;
  --top: #f1eee9;
  --bottom: #5f6163;
  --body-width: 98px;
  --hem: 58px;
  width: 210px;
  height: 360px;
  justify-self: center;
  position: relative;
  transform: scale(var(--scale));
  transform-origin: center bottom;
  transition: transform 220ms ease;
}

.figure-head {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 58px;
  height: 67px;
  border-radius: 42% 42% 48% 48%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c79f83, #e3c3aa);
  box-shadow: 0 0 0 10px rgba(21, 16, 12, 0.75);
}

.figure-head::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -11px;
  width: 80px;
  height: 78px;
  border-radius: 48% 48% 42% 42%;
  background: linear-gradient(140deg, #19120f, #3b2b25);
  z-index: -1;
}

.figure-neck {
  position: absolute;
  top: 73px;
  left: 50%;
  width: 28px;
  height: 34px;
  transform: translateX(-50%);
  background: #d8b69a;
}

.figure-torso {
  position: absolute;
  top: 101px;
  left: 50%;
  width: var(--body-width);
  height: 164px;
  transform: translateX(-50%);
}

.top-layer {
  position: absolute;
  inset: 8px 30px 0;
  background: var(--top);
  clip-path: polygon(24% 0, 76% 0, 91% 100%, 9% 100%);
  z-index: 2;
}

.jacket-layer {
  position: absolute;
  inset: 0;
  background: var(--jacket);
  clip-path: polygon(14% 0, 41% 0, 36% 100%, 3% 100%, 0 30%, 12% 8%, 86% 0, 100% 31%, 96% 100%, 63% 100%, 58% 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.jacket-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.13);
}

.pants-layer {
  position: absolute;
  top: 138px;
  left: 17%;
  width: 66%;
  height: 165px;
  background: var(--bottom);
  clip-path: polygon(0 0, 45% 0, 49% 100%, 16% 100%, 8% 35%, 55% 0, 100% 0, 91% 36%, 84% 100%, 52% 100%);
  z-index: 1;
}

.dress-layer {
  position: absolute;
  top: 15px;
  left: 9%;
  width: 82%;
  height: calc(120px + var(--hem));
  background: linear-gradient(90deg, color-mix(in srgb, var(--jacket), #000 12%), var(--jacket));
  clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%);
  z-index: 4;
}

.fashion-figure:not(.dress-mode) .dress-layer,
.dress-mode .jacket-layer,
.dress-mode .pants-layer {
  display: none;
}

.figure-legs {
  position: absolute;
  top: 266px;
  left: 50%;
  width: 92px;
  height: 82px;
  transform: translateX(-50%);
  border-left: 25px solid #d3ad91;
  border-right: 25px solid #d3ad91;
  opacity: 0.84;
}

.dress-mode .figure-legs {
  top: 298px;
  height: 54px;
}

.fit-note {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.fit-note strong {
  color: var(--text);
  font-size: 0.9rem;
}

.instagram-section {
  padding: 0 0 1.3rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.55rem;
  padding: 0 3.5rem;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.82);
}

.newsletter {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 2rem;
  align-items: center;
  margin: 1rem 3.5rem 0;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line-soft);
}

.newsletter h2 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.newsletter form {
  display: flex;
  justify-self: center;
  width: min(26rem, 100%);
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0 1rem;
  outline: 0;
}

.newsletter button {
  width: 92px;
  border: 1px solid #6e5846;
  border-left: 0;
  background: #11100f;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.public-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 2rem;
  padding: 2rem 3.5rem 2.2rem;
  border-top: 1px solid var(--line-soft);
}

.public-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-footer button,
.public-footer a,
.public-footer p {
  display: block;
  margin: 0.35rem 0;
  padding: 0;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

.public-footer small {
  grid-column: 1 / -1;
  color: var(--faint);
  text-align: center;
}

.article-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  padding: 4rem 3.5rem 2.5rem;
}

.article-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.84);
}

.article-copy {
  align-self: center;
}

.article-copy h1,
.category-page-head h1 {
  margin-top: 0.7rem;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  line-height: 0.98;
}

.article-copy .lead {
  color: var(--text);
  font-size: 1.05rem;
}

.article-copy p {
  color: var(--muted);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.related-grid {
  grid-template-columns: repeat(3, 1fr);
}

.category-page-head {
  padding: 4rem 3.5rem 2rem;
  border-bottom: 1px solid var(--line-soft);
}

.category-page-head h1 {
  max-width: 10ch;
}

.category-page-head p {
  width: min(38rem, 100%);
  color: var(--muted);
}

.catalog-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-top: 2.5rem;
}

.to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #151514;
  color: var(--text);
  cursor: pointer;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #070707;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(212, 184, 150, 0.055), transparent 18rem),
    #090909;
  padding: 1.3rem;
}

.admin-brand {
  margin: 0.5rem 0 2rem;
}

.admin-brand span {
  font-size: 2.1rem;
}

.admin-sidebar nav {
  display: grid;
  gap: 0.4rem;
}

.admin-sidebar nav button,
.admin-sidebar nav a,
.admin-sidebar-actions button,
.admin-sidebar-actions a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0 0.8rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.admin-sidebar nav button.active,
.admin-sidebar nav a.active,
.admin-sidebar nav button:hover,
.admin-sidebar nav a:hover {
  border-color: #3b332d;
  background: rgba(212, 184, 150, 0.065);
  color: var(--text);
}

.admin-sidebar-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
}

.admin-sidebar-actions button,
.admin-sidebar-actions a {
  justify-content: flex-start;
  border-color: var(--line);
  font-size: 0.72rem;
}

.admin-main {
  min-width: 0;
  padding: 2rem;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-topbar h1 {
  margin: 0.25rem 0 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.save-state {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0 0.85rem;
  border: 1px solid #3b332d;
  color: var(--accent-2);
  font-size: 0.78rem;
}

.admin-grid {
  display: grid;
  gap: 1.2rem;
}

.admin-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-stack {
  display: grid;
  gap: 1.2rem;
}

.admin-card {
  border: 1px solid var(--line);
  background: #0d0d0d;
  padding: 1.2rem;
}

.admin-card-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.admin-card-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-label input,
.field-label textarea,
.field-label select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #322f2c;
  background: #080808;
  color: var(--text);
  outline: 0;
  padding: 0.72rem 0.8rem;
  resize: vertical;
  text-transform: none;
  letter-spacing: 0;
}

.field-label textarea {
  line-height: 1.55;
}

.color-field input {
  height: 48px;
  padding: 0.25rem;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.8rem 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.checkbox-line input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.image-uploader {
  min-height: 260px;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  border: 1px dashed #4a4038;
  padding: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.image-uploader.dragging {
  border-color: var(--accent);
  background: rgba(212, 184, 150, 0.06);
}

.image-uploader img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

.upload-button {
  position: relative;
  min-height: 40px;
  width: fit-content;
  overflow: hidden;
}

.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.editable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-editors {
  grid-template-columns: 1fr;
}

.editor-card {
  border: 1px solid var(--line);
  background: #090909;
  padding: 1rem;
}

.editor-card.wide {
  padding: 1.1rem;
}

.editor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.editor-head strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.editor-head button,
.editor-head a {
  min-height: 34px;
  padding: 0 0.75rem;
}

.admin-action {
  margin-top: 1rem;
}

.admin-action.full {
  width: 100%;
}

.admin-action.ghost {
  margin-left: 0.6rem;
  border-color: #3b332d;
  color: var(--accent);
}

.danger-button {
  min-height: 38px;
  border-color: rgba(216, 120, 114, 0.45);
  color: #f1b1ad;
}

.admin-note {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.notice {
  margin: 0 0 1rem;
  border: 1px solid rgba(212, 184, 150, 0.32);
  background: rgba(212, 184, 150, 0.08);
  color: var(--accent-2);
  padding: 0.85rem 1rem;
  line-height: 1.5;
}

.notice.error {
  border-color: rgba(216, 120, 114, 0.45);
  color: #f1b1ad;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.95), rgba(5, 6, 6, 0.68)),
    url('/assets/hero-city.jpg') center / cover;
}

.login-card {
  width: min(28rem, 100%);
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.92);
  padding: 2rem;
  backdrop-filter: blur(18px);
}

.login-card h1 {
  margin: 0 0 1.2rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
}

.login-card .admin-brand {
  display: block;
  margin-bottom: 1.4rem;
}

@media (max-width: 1050px) {
  .header-top {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 118px;
    padding: 1rem 1.5rem;
  }

  .social-row {
    display: none;
  }

  .search-wrap {
    justify-self: center;
  }

  .nav-row {
    gap: 1rem;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero {
    padding: 4rem 2rem;
  }

  .popular-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .category-rail,
  .mannequin-section,
  .newsletter {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .section-title,
  .instagram-grid,
  .public-footer,
  .article-layout,
  .category-page-head,
  .blog-home-panel,
  .editorial-split,
  .style-cloud,
  .shop-strip {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .editorial-split,
  .mannequin-section,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .latest-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .style-grid,
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .blog-home-panel {
    grid-template-columns: 1fr;
  }

  .public-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-lockup span,
  .footer-brand strong {
    font-size: 2rem;
  }

  .hero {
    min-height: 34rem;
    align-items: end;
    padding: 3rem 1.2rem;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(5, 6, 6, 0.98) 0%, rgba(5, 6, 6, 0.78) 54%, rgba(5, 6, 6, 0.24) 100%),
      linear-gradient(90deg, rgba(5, 6, 6, 0.6), transparent);
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .popular-grid,
  .catalog-grid,
  .latest-row,
  .category-rail,
  .instagram-grid,
  .admin-grid.two,
  .editable-list,
  .public-footer,
  .newsletter,
  .mannequin-stage,
  .blog-home-panel,
  .featured-blog-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }

  .section-title,
  .popular-grid,
  .catalog-grid,
  .instagram-grid,
  .public-footer,
  .article-layout,
  .category-page-head,
  .blog-home-panel,
  .editorial-split,
  .style-cloud,
  .shop-strip {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .category-rail,
  .mannequin-section,
  .newsletter {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .category-rail button,
  .category-rail a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 126px;
  }

  .category-rail button:last-child,
  .category-rail a:last-child {
    border-bottom: 0;
  }

  .mannequin-section {
    padding: 1rem;
  }

  .mannequin-stage {
    min-height: 610px;
  }

  .outfit-tabs {
    order: 2;
  }

  .fashion-figure {
    order: 1;
  }

  .newsletter form {
    justify-self: stretch;
  }

  .article-media img {
    min-height: 280px;
  }

  .blog-search-panel {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1rem;
  }

  .blog-search-panel form {
    flex-direction: column;
  }

  .blog-search-panel button {
    width: 100%;
    min-height: 42px;
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
