:root {
  --brand: #b68a63;
  --brand-dark: #8f6748;
  --ink: #252525;
  --muted: #6e6e6e;
  --line: #e8e3df;
  --paper: #fff;
  --soft: #f7f5f3;
  --dark: #151515;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto Slab", Georgia, serif;
  line-height: 1.65;
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(21, 21, 21, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo img { width: 200px; }

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.menu a {
  padding: 12px 0;
  opacity: 0.92;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--brand);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.25s ease;
}

.menu a:hover,
.menu a.active { color: var(--brand); opacity: 1; }
.menu a:hover::after, .menu a.active::after { scale: 1 1; }

.search {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-size: 19px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.search:hover { background: var(--brand); transform: translateY(-2px); }

.hamburger, #menu-toggle { display: none; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 410px;
  padding-top: 82px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), var(--hero) center / cover no-repeat;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .78;
  mix-blend-mode: screen;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  animation: fadeUp 0.75s ease both;
}

.breadcrumb {
  margin: 0;
  color: rgba(255,255,255,.78);
  animation: fadeUp 0.75s 0.12s ease both;
}

.section { padding: 76px 0; }
.section.soft { background: var(--soft); }

.section-heading {
  text-align: center;
  margin: 0 auto 42px;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}

.divider {
  width: 82px;
  height: 8px;
  object-fit: cover;
  margin: 20px auto 24px;
  opacity: 0.65;
}

.lead { color: var(--muted); font-size: 17px; margin: 0; }

.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.copy p { color: var(--muted); margin: 0 0 18px; }

.media-frame {
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.media-frame img {
  width: 100%;
  transition: scale .45s ease;
}

.media-frame:hover img { scale: 1.05; }

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.workshop-card,
.product-card,
.blog-card,
.info-card,
.form-panel {
  background: #fff;
  box-shadow: 0 14px 35px rgba(0,0,0,.1);
  transition: transform .28s ease, box-shadow .28s ease;
}

.workshop-card:hover,
.product-card:hover,
.blog-card:hover,
.info-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(0,0,0,.16);
}

.workshop-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.workshop-card h3 {
  margin: 0;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  min-height: 64px;
  display: grid;
  place-items: center;
}

.cta {
  color: #fff;
  background: linear-gradient(rgba(18,18,18,.76), rgba(18,18,18,.76)), url("../assets/parallax-bg.jpg") center / cover fixed no-repeat;
  padding: 48px 0;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.cta p { margin: 0; color: rgba(255,255,255,.76); font-size: 17px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 2px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.button:hover { background: var(--brand-dark); transform: translateY(-2px); }

.faq {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
}

.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 38px;
  align-items: start;
}

.sidebar {
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  padding: 24px;
  align-self: start;
  background: linear-gradient(180deg, #fff, #fbfaf8);
  box-shadow: 0 18px 40px rgba(37,37,37,.07);
  position: sticky;
  top: 104px;
}

.sidebar input,
.field {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 12px 15px;
  font: inherit;
  background: #fff;
  transition: border .2s ease, box-shadow .2s ease;
}

.field:focus,
.sidebar input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(182,138,99,.16);
}

.sidebar h3 {
  margin: 24px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.25;
}

.sidebar ul {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li { margin: 0; }

.sidebar button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid transparent;
  padding: 10px 12px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border .2s ease, color .2s ease, transform .2s ease;
}

.sidebar button:hover,
.sidebar button.active {
  border-color: rgba(182,138,99,.26);
  background: #fff;
  color: var(--brand-dark);
  transform: translateX(3px);
}

.sidebar button.active {
  box-shadow: inset 3px 0 0 var(--brand), 0 8px 18px rgba(143,103,72,.08);
  font-weight: 800;
}

.sidebar button small {
  min-width: 30px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 12px;
  line-height: 1;
}

.sidebar button.active small {
  background: var(--brand);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  min-height: 620px;
}

.product-grid-shell {
  align-items: start;
}

.product-card { padding-bottom: 20px; overflow: hidden; }
.product-card a { display: block; height: 100%; }
.product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #fafafa; transition: scale .35s ease; }
.product-card:hover img { scale: 1.04; }
.product-card .body { padding: 18px 18px 0; }
.tag { display: block; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin: 8px 0; font-size: 17px; line-height: 1.35; }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }

.product-skeleton-card {
  display: grid;
  gap: 0;
  padding-bottom: 20px;
}

.product-skeleton-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, #ece7e2 0%, #f7f4f1 50%, #ece7e2 100%);
  background-size: 220% 100%;
}

.product-skeleton-card .body {
  display: grid;
  gap: 10px;
  padding: 18px 18px 0;
}

.product-skeleton-line {
  display: block;
  height: 14px;
  border-radius: 4px;
}

.product-skeleton-tag {
  width: 36%;
  height: 11px;
}

.product-skeleton-title {
  width: 88%;
  height: 18px;
}

.product-skeleton-text {
  width: 60%;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination button {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pagination button:hover:not(:disabled),
.pagination button.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(143,103,72,.18);
}

.pagination button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.page-arrow {
  min-width: 82px;
  padding: 0 18px;
}

.page-status {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 42px;
}

.blog-list { display: grid; gap: 34px; }
.blog-card { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 0; box-shadow: none; border-bottom: 1px solid var(--line); padding-bottom: 34px; }
.blog-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.blog-card h2 { margin: 0 0 4px; font-size: 22px; line-height: 1.3; }
.blog-card time { color: var(--brand); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.blog-card p { color: var(--muted); margin: 10px 0; }

.contact-sidebar {
  background: var(--brand-dark);
  color: #fff;
  padding: 30px;
}

.contact-sidebar p { color: rgba(255,255,255,.78); }

.contact-wrap {
  background: url("../assets/contact/panel-bg.jpg") center / cover no-repeat;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.info-panel {
  background: #fff;
  padding: 46px;
}

.info-panel .mark { width: 240px; margin: 0 auto 42px; }

.info-card {
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.info-card h3 { margin: 0 0 4px; font-size: 18px; }
.info-card p { margin: 0; color: var(--muted); }

.form-panel {
  background: rgba(255,255,255,.94);
  padding: 46px;
}

.form-panel h2 { margin: 0 0 12px; line-height: 1.2; }
.form-panel p { color: var(--muted); margin: 0 0 22px; }
textarea.field { min-height: 130px; resize: vertical; }
.form-grid { display: grid; gap: 14px; }
.phone-field {
  display: grid;
  grid-template-columns: minmax(150px, .48fr) minmax(92px, .28fr) 1fr;
  gap: 10px;
}

.phone-field input[hidden] {
  display: none;
}

.phone-field input[hidden] + input {
  grid-column: span 2;
}

.form-status {
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-error {
  color: #c93f2f;
}

.admin-shell {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(182,138,99,.08) 0 25%, transparent 25% 50%, rgba(37,37,37,.035) 50% 75%, transparent 75%),
    var(--soft);
  background-size: 28px 28px;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(rgba(18,18,18,.68), rgba(18,18,18,.68)), url("../assets/contact/hero.jpg") center / cover no-repeat;
}

.admin-login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
}

.admin-login-card img { width: 190px; }
.admin-login-card h1 { margin: -8px 0 4px; font-size: 34px; line-height: 1.15; }
.admin-note { margin: 0; color: var(--muted); font-size: 13px; }

.admin-password {
  position: relative;
}

.admin-password .field {
  padding-right: 54px;
}

.admin-password button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.admin-eye-icon {
  width: 22px;
  height: 14px;
  display: block;
  position: relative;
  border: 2px solid var(--muted);
  border-radius: 50% / 65%;
}

.admin-eye-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  transform: translate(-50%, -50%);
}

.admin-eye-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  right: -3px;
  height: 2px;
  background: var(--brand-dark);
  transform: rotate(-35deg) scaleX(0);
  transition: transform .2s ease;
}

.admin-password button.is-visible .admin-eye-icon {
  border-color: var(--brand-dark);
}

.admin-password button.is-visible .admin-eye-icon::before {
  background: var(--brand-dark);
}

.admin-password button:not(.is-visible) .admin-eye-icon::after {
  transform: rotate(-35deg) scaleX(1);
}

.admin-dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px 1fr;
}

.admin-nav {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(180deg, #17120f, #25201c);
  color: #fff;
  box-shadow: 14px 0 34px rgba(0,0,0,.12);
}

.admin-nav .logo img { width: 180px; }
.admin-nav nav { display: grid; gap: 8px; }

.admin-nav button,
.admin-ghost {
  min-height: 42px;
  border: 1px solid transparent;
  padding: 0 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.admin-nav button:hover,
.admin-nav button.active {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: var(--brand);
  transform: translateX(3px);
}

.admin-ghost {
  border-color: var(--line);
  color: var(--brand-dark);
  text-align: center;
  background: #fff;
}

.admin-ghost:hover {
  border-color: var(--brand);
  background: #fbf7f2;
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(143,103,72,.12);
}

.admin-ghost:active,
.admin-nav button:active,
.admin-row button:active,
.admin-actions .button:active {
  transform: translateY(0) scale(.98);
}

.admin-nav .admin-ghost {
  margin-top: auto;
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

.admin-workspace {
  min-width: 0;
  padding: 26px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(232,227,223,.9);
  box-shadow: 0 12px 32px rgba(37,37,37,.06);
}

.admin-topbar h1,
.admin-card h2 {
  margin: 0;
  line-height: 1.2;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-secondary {
  min-height: 42px;
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-view,
.admin-view.admin-form { display: none; }
.admin-view.active { display: grid; gap: 16px; }

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 24px;
  align-items: start;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(37,37,37,.06);
  padding: 20px;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-card-head > .admin-actions {
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.admin-card-head > .admin-actions .admin-search {
  flex: 1 1 320px;
  min-width: 240px;
}

.admin-form {
  display: grid;
  gap: 14px 16px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-preview {
  width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--soft);
}

.admin-preview[hidden] { display: none; }
.admin-search {
  width: min(360px, 100%);
  max-width: none;
}

.admin-upload-label.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.admin-upload-label.is-disabled input {
  cursor: not-allowed;
  background: var(--soft);
  color: var(--muted);
}

.admin-image-manager {
  display: grid;
  gap: 10px;
}

.admin-image-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-image-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-image-item img {
  width: 82px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.admin-image-item strong {
  display: block;
  color: var(--brand-dark);
}

.admin-image-item span {
  color: var(--muted);
  font-size: 13px;
}

.admin-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-image-actions .admin-ghost {
  min-height: 36px;
  padding: 0 10px;
}

.admin-image-actions .admin-ghost:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.admin-feature-manager,
.admin-token-manager {
  display: grid;
  gap: 10px;
}

.admin-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-feature-head label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-feature-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.admin-feature-add .admin-ghost {
  min-height: 48px;
  white-space: nowrap;
}

.admin-feature-list {
  display: grid;
  gap: 8px;
}

.admin-feature-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-feature-item span {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.admin-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-feature-actions .admin-ghost {
  min-height: 34px;
  padding: 0 10px;
}

.admin-feature-actions .admin-ghost:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.admin-feature-add .admin-ghost:disabled,
.admin-feature-add input:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.admin-editor {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-editor .admin-card-head,
.admin-editor input[type="hidden"],
.admin-editor .admin-wide {
  grid-column: 1 / -1;
}

.admin-editor .admin-preview {
  align-self: end;
}

.admin-drafts {
  border-top: 4px solid var(--brand);
  background: linear-gradient(180deg, #fff, #fbfaf8);
}

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

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.admin-row:hover {
  border-color: rgba(182,138,99,.42);
  background: #fffdfb;
  box-shadow: 0 12px 26px rgba(143,103,72,.1);
  transform: translateY(-2px);
}

.admin-row img {
  width: 74px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.admin-avatar {
  width: 74px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: var(--brand-dark);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.admin-row h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

.admin-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-row .admin-ghost {
  min-width: 78px;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-danger {
  border-color: #c93f2f;
  background: #c93f2f;
  color: #fff;
}

.admin-danger:hover {
  border-color: #9f2e23;
  background: #9f2e23;
  color: #fff;
  box-shadow: 0 10px 22px rgba(201,63,47,.24);
}

.admin-unpublish {
  border-color: #c58a2a;
  background: #c58a2a;
  color: #fff;
}

.admin-unpublish:hover {
  border-color: #9e6920;
  background: #9e6920;
  color: #fff;
  box-shadow: 0 10px 22px rgba(197,138,42,.22);
}

.admin-pager{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:14px;color:var(--muted);font-size:13px;font-weight:800}
.admin-pager button{min-height:36px;border:1px solid var(--line);padding:0 14px;background:#fff;color:var(--brand-dark);font:inherit;font-weight:800;cursor:pointer;transition:background .2s ease,border .2s ease,color .2s ease,transform .2s ease}
.admin-pager button:hover:not(:disabled),.admin-pager button.active{border-color:var(--brand);background:var(--brand);color:#fff;transform:translateY(-2px)}
.admin-pager button:disabled{opacity:.45;cursor:not-allowed}
.admin-page-ellipsis{display:inline-flex;align-items:center;padding:0 4px}
.admin-pager-numbers{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}

.admin-contact-list {
  gap: 14px;
}

.admin-contact-row {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border .2s ease, box-shadow .2s ease, transform .2s ease;
}

.admin-contact-row:hover {
  border-color: rgba(182,138,99,.42);
  box-shadow: 0 12px 26px rgba(143,103,72,.1);
  transform: translateY(-2px);
}

.admin-contact-row.is-unread {
  border-color: rgba(182,138,99,.55);
  background: #fffdfb;
}

.admin-unread-dot {
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: transparent;
}

.admin-contact-row.is-unread .admin-unread-dot {
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(182,138,99,.13);
}

.admin-contact-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-contact-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-contact-title h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.admin-contact-title span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.admin-contact-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-contact-main a {
  color: var(--brand-dark);
}

.admin-contact-message {
  margin-top: 8px !important;
  padding: 12px;
  border-left: 3px solid var(--brand);
  background: var(--soft);
  color: var(--ink) !important;
}

.admin-contact-time {
  font-size: 12px !important;
}

.admin-contact-detail dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.admin-contact-detail div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.admin-contact-detail dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-contact-detail dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.admin-contact-detail a {
  color: var(--brand-dark);
}

.admin-contact-detail-message dd {
  padding: 14px;
  background: var(--soft);
  border-left: 3px solid var(--brand);
  white-space: pre-wrap;
}

.admin-check {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
}

.admin-check input,
.admin-permissions input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.admin-permissions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdfb;
}

.admin-permissions .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.admin-permissions label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  transition: border .2s ease, background .2s ease, transform .2s ease;
}

.admin-permissions label:hover {
  border-color: var(--brand);
  background: #fbf7f2;
  transform: translateY(-2px);
}

.admin-modal-card {
  position: relative;
}

.admin-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}
                                                                                                                                      .admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(21,21,21,.46);
  backdrop-filter: blur(4px);
}

.admin-modal.active {
  display: grid;
}

.admin-modal-card {
  width: min(440px, 100%);
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}

.admin-modal-card h2 {
  margin: 0 0 8px;
  line-height: 1.2;
}

.admin-modal-card p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--muted);
}

.admin-modal-card .admin-actions {
  justify-content: flex-end;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 500px) 1fr;
  gap: 54px;
  align-items: start;
}

.loading-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ece7e2 0%, #f7f4f1 50%, #ece7e2 100%);
  background-size: 220% 100%;
  border-radius: 6px;
  pointer-events: none;
}

.loading-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.loading-skeleton > * {
  visibility: hidden;
}

.is-loading-detail .loading-skeleton {
  border-color: transparent !important;
  color: transparent !important;
}

@keyframes skeleton-shimmer {
  100% { transform: translateX(100%); }
}

.loading-hero-title {
  width: min(420px, 72%);
  min-height: 58px;
  margin: 0 0 12px;
}

.loading-hero-breadcrumb {
  width: min(280px, 52%);
  min-height: 18px;
  margin: 0;
}

.loading-media-shell {
  min-height: 500px;
}

.loading-thumb-strip {
  min-height: 88px;
}

.loading-inline {
  display: inline-flex;
  width: 130px;
  min-height: 28px;
}

.loading-title {
  width: 92%;
  min-height: 62px;
}

.loading-meta-row {
  min-height: 36px;
}

.loading-paragraph {
  min-height: 90px;
}

.loading-table {
  min-height: 262px;
}

.loading-subtitle {
  width: 220px;
  min-height: 30px;
  margin: 0 0 14px;
}

.loading-list {
  min-height: 140px;
  margin: 0 0 26px;
}

.loading-button {
  width: 164px;
  min-height: 44px;
}

.loading-poster-strip {
  min-height: 240px;
}

.is-loading-detail .zoom-preview,
.is-loading-detail .zoom-lens {
  opacity: 0 !important;
  visibility: hidden !important;
}

.is-loading-detail .detail-main-image {
  opacity: 0;
}

.is-loading-detail .thumb-strip {
  grid-template-columns: repeat(5, 1fr);
}

.detail-posters {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
  width: 100%;
}

.detail-posters img {
  width: 100%;
  display: block;
  margin: 0;
  border: 0;
}

.detail-posters[hidden] {
  display: none;
}

.zoom-layout {
  position: relative;
  z-index: 6;
  display: block;
}

.zoom-source {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fafafa;
  cursor: crosshair;
}

.zoom-source img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-main-image {
  transition: opacity .18s ease;
}

.zoom-lens {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid var(--brand);
  background: rgba(182, 138, 99, .18);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.zoom-preview {
  position: absolute;
  top: 0;
  left: calc(100% + 24px);
  z-index: 30;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 240% 240%;
  box-shadow: 0 14px 35px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.zoom-preview::after {
  display: none;
}

.zoom-preview.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.detail-info h2,
.article-content h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  border: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 170px;
  background: var(--soft);
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumb-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s ease, border .2s ease;
}

.thumb-strip img:hover,
.thumb-strip img.active {
  opacity: 1;
  border-color: var(--brand);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 42px;
}

.article-content img.hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.article-content p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.related-list a {
  display: block;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border .2s ease, transform .2s ease;
}

.related-list a:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.blog-sidebar {
  display: grid;
  gap: 22px;
  align-self: start;
}

.sidebar-block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}

.sidebar-block h2,
.sidebar-cta h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
}

.rich-related {
  gap: 12px;
}

.rich-related a {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  min-height: 94px;
  color: var(--text);
}

.rich-related img {
  width: 84px;
  height: 74px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.rich-related span {
  display: grid;
  gap: 5px;
}

.rich-related time {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rich-related strong {
  font-size: 14px;
  line-height: 1.35;
}

.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, border .2s ease, background .2s ease, transform .2s ease;
}

.topic-links a:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
  transform: translateY(-2px);
}

.sidebar-cta {
  background: linear-gradient(145deg, var(--brand-dark), #2f251f);
  color: #fff;
  padding: 28px;
}

.sidebar-cta span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #e7c6a5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar-cta p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.78);
}

.footer {
  color: #fff;
  background: linear-gradient(rgba(0,0,0,.76), rgba(0,0,0,.76)), url("../assets/footer.jpg") center / cover no-repeat;
  padding-top: 66px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .85fr .8fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.footer-logo { width: 200px; margin-bottom: 22px; }
.footer p, .footer a, .footer li { color: rgba(255,255,255,.78); }
.footer h3 { margin: 0 0 16px; font-size: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 10px 0; font-size: 15px; }
.footer li::before { content: "›"; margin-right: 8px; color: var(--brand); font-weight: 800; }
.contact-list li::before { content: ""; margin: 0; }

.copyright {
  margin-top: 42px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: center;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .75s ease both;
}

.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hamburger {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    font-size: 25px;
    cursor: pointer;
  }

  .menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18,18,18,.97);
    padding: 12px 20px 22px;
  }

  .menu a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .search { display: none; }
  #menu-toggle:checked ~ .menu { display: flex; }
  .nav { min-height: 74px; }

  .two-col,
  .catalog-layout,
  .blog-layout,
  .contact-card,
  .detail-layout,
  .zoom-layout,
  .article-layout,
  .cta-row,
  .footer-grid { grid-template-columns: 1fr; }

  .zoom-preview {
    display: none;
  }

  .sidebar {
    position: static;
  }

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

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

  .admin-nav {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .logo img { width: 165px; }
  .section { padding: 56px 0; }
  .workshop-grid,
  .product-grid,
  .blog-card { grid-template-columns: 1fr; }
  .info-panel,
  .form-panel { padding: 28px; }
  .pagination { gap: 8px; }
  .page-arrow { min-width: 74px; }
  .pagination button { min-width: 40px; height: 40px; }
  .phone-field { grid-template-columns: 1fr; }
  .phone-field input[hidden] + input { grid-column: auto; }
  .admin-workspace,
  .admin-nav,
  .admin-login-card,
  .admin-card { padding: 22px; }
  .admin-topbar,
  .admin-card-head { align-items: stretch; flex-direction: column; }
  .admin-search { max-width: none; }
  .admin-row { grid-template-columns: 64px 1fr; }
  .admin-image-item { grid-template-columns: 70px 1fr; }
  .admin-image-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .admin-image-actions .admin-ghost { flex: 1; }
  .admin-feature-add { grid-template-columns: 1fr; }
  .admin-feature-item { grid-template-columns: 1fr; }
  .admin-feature-actions { justify-content: stretch; }
  .admin-feature-actions .admin-ghost { flex: 1; }
  .admin-contact-row { grid-template-columns: 14px 1fr; }
  .admin-contact-row .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .admin-contact-detail div { grid-template-columns: 1fr; gap: 4px; }
  .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .admin-row-actions .admin-ghost { flex: 1; }
  .admin-permissions { grid-template-columns: 1fr; }
}
