:root {
  --bg: #f7f6f2;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #6d6a64;
  --line: #ded8cc;
  --accent: #b5ff2a;
  --dark: #151515;
  --shadow: 0 10px 26px rgba(23, 20, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

body::selection {
  background: var(--accent);
  color: var(--ink);
}

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

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
}

.top-strip {
  border-bottom: 1px solid var(--line);
  padding: 8px 18px;
  background: var(--dark);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.nav,
.hero,
.section,
.feature-grid,
.size-section,
.cta-panel,
.footer {
  max-width: 1240px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.category-main,
.category-hero,
.home-shop {
  max-width: 1500px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.home-shop {
  padding-top: 70px;
  padding-bottom: 70px;
}

.home-breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 58px;
  color: var(--muted);
  font-size: 15px;
}

.home-breadcrumb strong {
  color: var(--ink);
}

.home-heading {
  margin-bottom: 44px;
}

.home-heading h1 {
  margin-bottom: 18px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
  text-transform: none;
}

.home-heading p {
  color: var(--muted);
  font-size: 18px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-row button,
.filter-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.55);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
}

.filter-row button.active,
.filter-row button:hover,
.filter-row a.active,
.filter-row a:hover {
  background: var(--ink);
  color: #fff;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  max-width: 1580px;
  gap: 24px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 42px;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  font-size: 24px;
  letter-spacing: -0.12em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(17, 17, 17, 0.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle,
.nav-cta,
.button,
.toolbar button,
.product-info button,
.wishlist {
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  background: transparent;
  padding: 9px 14px;
}

.nav-cta,
.button.primary,
.product-info button {
  background: var(--ink);
  color: var(--paper);
}

.nav-cta {
  border-color: rgba(17, 17, 17, 0.35);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: end;
  padding-top: 54px;
  padding-bottom: 64px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-media img {
  height: min(72vw, 700px);
  min-height: 440px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.86);
  padding: 18px;
  backdrop-filter: blur(14px);
}

.hero-badge span,
.eyebrow,
.product-info p,
.feature span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-badge strong {
  font-size: 22px;
  text-transform: uppercase;
}

.hero-copy {
  padding-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8.5vw, 118px);
  line-height: 0.83;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5.4vw, 74px);
  line-height: 0.9;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-copy p:not(.eyebrow),
.intro > p,
.size-copy p,
.section-heading > p,
.cta-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
  background: var(--paper);
}

.category-bar button,
.category-bar a {
  min-width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-bar button.active,
.category-bar a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.section {
  padding-top: 96px;
  padding-bottom: 42px;
}

.intro,
.section-heading,
.cta-panel,
.size-section {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 36px;
  align-items: end;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 54px;
}

.feature {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--dark);
}

.feature.large {
  grid-row: span 2;
  min-height: 680px;
}

.feature img {
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
  content: "";
}

.feature div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  color: var(--paper);
}

.feature h3 {
  margin: 6px 0 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
}

.catalog {
  padding-top: 76px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0;
}

.search-box {
  display: grid;
  min-width: min(100%, 420px);
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-box input,
.size-picker select,
.admin-card input,
.admin-card select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  min-height: 48px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.shop-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

.product-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-gallery {
  position: relative;
}

.main-product-image {
  height: 340px;
  background: #f1f1f1;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.product-card:hover .main-product-image {
  transform: scale(1.04);
}

.product-card.tall {
  grid-row: span 2;
}

.product-card.tall .main-product-image {
  height: 500px;
}

.wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.product-info {
  padding: 18px 18px 20px;
}

.product-info p {
  margin-bottom: 8px;
}

.product-info h3 {
  min-height: 46px;
  color: #14284a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.product-brand {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.product-info span {
  display: block;
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 900;
}

.product-info small {
  display: block;
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.view-product {
  display: inline-flex;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.view-product:hover {
  color: var(--ink);
}

.size-picker {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.size-picker span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-info button {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
}

.category-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 66px;
  padding-bottom: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 20px;
  text-transform: uppercase;
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 900;
}

.category-tools {
  display: flex;
  align-items: end;
  gap: 20px;
}

.category-tools p {
  margin: 0 0 12px;
  color: var(--muted);
}

.search-box.compact {
  min-width: 260px;
}

.category-catalog {
  max-width: 1500px;
  padding-top: 0;
}

.category-order {
  max-width: 1500px;
}

.product-detail {
  max-width: 1680px;
  margin: 0 auto;
  padding: 72px 34px 42px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 42px;
  align-items: start;
}

.detail-thumbs {
  display: grid;
  gap: 24px;
}

.detail-thumb {
  overflow: hidden;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  opacity: 0.45;
  padding: 0 0 0 12px;
}

.detail-thumb.active {
  border-left-color: var(--ink);
  opacity: 1;
}

.detail-thumb img {
  height: 140px;
  object-fit: contain;
}

.detail-image-panel {
  display: grid;
  min-height: 720px;
  place-items: center;
  background: #fff;
}

.detail-image-panel img {
  max-height: 760px;
  object-fit: contain;
}

.detail-info {
  padding-top: 12px;
}

.detail-brand,
.detail-category,
.detail-deposit {
  color: var(--muted);
}

.detail-brand {
  margin-bottom: 4px;
  font-size: 22px;
}

.detail-info h1 {
  max-width: 640px;
  margin-bottom: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: none;
}

.detail-category {
  margin-bottom: 22px;
  font-size: 18px;
}

.detail-price {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.detail-deposit {
  margin-bottom: 56px;
  font-weight: 800;
}

.detail-size {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.detail-size select {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.42);
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 56px;
  padding: 0 16px;
}

.detail-add {
  width: 100%;
  border: 0;
  background: #232323;
  color: #fff;
  cursor: pointer;
  min-height: 58px;
  font-size: 18px;
  font-weight: 900;
}

.detail-shipping {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
}

.detail-shipping span,
.detail-shipping strong,
.detail-shipping p {
  display: block;
}

.detail-shipping span {
  color: var(--muted);
  margin-bottom: 4px;
}

.detail-shipping strong {
  margin-bottom: 12px;
}

.detail-shipping p {
  color: var(--muted);
  line-height: 1.55;
}

.detail-note {
  background: #f0f0f0;
  margin-top: 30px;
  padding: 22px;
  color: #333;
  font-size: 18px;
  line-height: 1.45;
}

.detail-feedback {
  min-height: 24px;
  margin-top: 16px;
  font-weight: 900;
}

.detail-feedback a {
  text-decoration: underline;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 72px;
  color: var(--muted);
}

.detail-breadcrumb strong {
  color: var(--ink);
}

.product-info button:disabled {
  border-color: var(--line);
  background: #ddd8cf;
  color: var(--muted);
  cursor: not-allowed;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: var(--paper);
  padding: 28px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.size-section {
  align-items: center;
  padding-top: 74px;
  padding-bottom: 74px;
}

.size-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.size-table div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.size-table div:last-child {
  border-bottom: 0;
}

.size-table span,
.size-table strong {
  padding: 18px;
}

.size-table strong {
  background: var(--dark);
  color: var(--paper);
}

.cta-panel {
  align-items: center;
  margin-bottom: 74px;
  border: 1px solid var(--ink);
  border-radius: 34px;
  background: var(--accent);
  padding-top: 34px;
  padding-bottom: 34px;
}

.cta-panel .eyebrow,
.cta-panel p {
  color: #293000;
}

.cta-panel h2 {
  max-width: 760px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
}

.footer .brand {
  color: var(--ink);
}

.footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.admin-page {
  background: var(--bg);
}

.admin-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 18px 70px;
}

.admin-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.admin-head h1 {
  margin: 0 0 6px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(38px, 7vw, 74px);
  letter-spacing: -0.08em;
  line-height: 0.9;
  text-transform: uppercase;
}

.admin-head p {
  margin: 0;
  color: var(--muted);
}

.admin-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  padding: 22px;
  box-shadow: var(--shadow);
}

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

.admin-card label,
.admin-card legend {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-card fieldset {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 0;
  padding: 16px;
}

.upload-zone {
  grid-column: 1 / -1;
  min-height: 170px;
  border: 2px dashed var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.7);
  cursor: pointer;
  justify-content: center;
  padding: 22px;
  text-align: center;
}

.upload-zone.dragging {
  border-color: var(--ink);
  background: var(--accent);
}

.upload-zone input {
  max-width: 360px;
  margin: 0 auto;
}

.upload-zone span {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.upload-preview {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.upload-preview div {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.upload-preview .preview-item {
  cursor: grab;
}

.upload-preview .preview-item.dragging {
  opacity: 0.55;
}

.remove-image {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

.upload-preview img {
  height: 120px;
  object-fit: cover;
}

.upload-preview span {
  display: block;
  overflow: hidden;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-library {
  display: grid;
  grid-column: 1 / -1;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  padding: 18px;
}

.media-library strong,
.media-library small,
.media-library p {
  display: block;
}

.media-library strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-library small,
.media-library p {
  color: var(--muted);
  margin-top: 4px;
  font-weight: 800;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.media-grid button {
  position: relative;
  grid-column: auto;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 18px;
  background: var(--paper);
  cursor: pointer;
  min-height: 0;
  padding: 0;
  text-align: left;
  text-transform: none;
}

.media-grid button.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--ink);
}

.media-grid button.selected::after {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  content: "Seleccionada";
  font-size: 10px;
  font-weight: 900;
  padding: 5px 7px;
  text-transform: uppercase;
}

.media-grid img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.media-grid span {
  display: block;
  overflow: hidden;
  padding: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-card fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0;
}

.admin-card > button,
.product-form > button {
  grid-column: 1 / -1;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  min-height: 52px;
  font-weight: 900;
  text-transform: uppercase;
}

.notice {
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 900;
}

.notice.success {
  background: var(--accent);
}

.notice.error {
  background: #ffd7d7;
}

.notice.edit-notice {
  background: #fff2bd;
}

.current-images {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
}

.current-images strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.current-images div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.current-images img {
  width: 92px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 18px;
  object-fit: cover;
}

.cancel-edit {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  min-height: 48px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-list {
  margin-top: 34px;
}

.admin-list h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.admin-list article {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.edit-product,
.delete-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #8c1f1f;
  border-radius: 999px;
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.edit-product {
  border-color: var(--ink);
  background: var(--accent);
  color: var(--ink);
}

.delete-product {
  background: #ffe1e1;
  color: #8c1f1f;
}

.admin-list img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

.admin-list strong,
.admin-list span,
.admin-list small {
  display: block;
}

.admin-list span,
.admin-list small {
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 920px) {
  .nav {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .intro,
  .section-heading,
  .size-section,
  .cta-panel,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    padding-top: 34px;
  }

  .hero-copy {
    grid-row: 1;
    padding-bottom: 0;
  }

  .feature.large,
  .feature {
    min-height: 420px;
  }

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

  .product-card.tall {
    grid-row: auto;
  }

  .product-card.tall .main-product-image,
  .main-product-image {
    height: 390px;
  }

  .product-detail {
    padding-top: 34px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .detail-thumbs {
    display: flex;
    order: 2;
    overflow-x: auto;
  }

  .detail-thumb {
    flex: 0 0 92px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    padding: 0 0 8px;
  }

  .detail-thumb.active {
    border-bottom-color: var(--ink);
  }

  .detail-thumb img {
    height: 96px;
  }

  .detail-image-panel {
    order: 1;
    min-height: 440px;
  }

  .detail-image-panel img {
    max-height: 500px;
  }

  .detail-info {
    order: 3;
  }
}

@media (max-width: 620px) {
  .top-strip {
    font-size: 10px;
    line-height: 1.5;
  }

  .nav,
  .hero,
  .section,
  .feature-grid,
  .size-section,
  .cta-panel,
  .footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nav {
    gap: 12px;
  }

  .brand {
    font-size: 36px;
  }

  .nav-cta {
    display: none;
  }

  .hero-media img {
    height: 500px;
    min-height: 0;
  }

  .hero-badge {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 64px;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .main-product-image,
  .product-card.tall .main-product-image {
    height: 230px;
  }

  .product-status {
    top: 8px;
    left: 8px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .product-info {
    padding: 12px;
  }

  .product-info p {
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .product-info h3 {
    min-height: 48px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.25;
  }

  .product-info span,
  .product-info small,
  .view-product {
    font-size: 12px;
  }

  .product-form,
  .admin-head {
    grid-template-columns: 1fr;
  }

  .admin-card fieldset,
  .admin-card > button,
  .product-form > button,
  .upload-zone,
  .upload-preview,
  .media-library,
  .current-images,
  .cancel-edit {
    grid-column: auto;
  }

  .admin-list article {
    grid-template-columns: 76px 1fr;
  }

  .admin-list article form {
    grid-column: 1 / -1;
  }

  .admin-actions {
    display: grid;
  }

  .delete-product,
  .edit-product {
    width: 100%;
  }

  .size-table span,
  .size-table strong {
    padding: 14px 10px;
    font-size: 14px;
  }

  .product-detail {
    padding-right: 16px;
    padding-left: 16px;
  }

  .detail-image-panel {
    min-height: 360px;
  }

  .detail-image-panel img {
    max-height: 380px;
  }

  .detail-deposit {
    margin-bottom: 32px;
  }

  .detail-note {
    font-size: 16px;
  }
}
