:root {
  --ink: #07101a;
  --muted: #5f6872;
  --line: #dbc7a3;
  --gold: #bd7a12;
  --gold-soft: #f6ead6;
  --paper: #fff6e6;
  --white: #ffffff;
  --red: #c8191f;
  --blue: #124884;
  --green: #556f3d;
  --sun: #f0bc4c;
  --shadow: 0 24px 70px rgba(21, 18, 12, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

main[id],
main section[id] {
  scroll-margin-top: 180px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(240, 188, 76, 0.18), transparent 26rem),
    linear-gradient(180deg, rgba(255, 246, 230, 0.96), rgba(255, 255, 255, 0.98)),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(189, 122, 18, 0.2);
  background: rgba(255, 246, 230, 0.9);
  backdrop-filter: blur(16px);
}

.topbar > * {
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: min(620px, 54vw);
}

.brand-monogram {
  position: relative;
  display: inline-grid;
  width: 82px;
  height: 72px;
  flex: 0 0 auto;
  line-height: 0.8;
}

.brand-monogram b,
.brand-monogram i {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-monogram b {
  top: 0;
  left: 4px;
  color: var(--ink);
}

.brand-monogram i {
  right: 4px;
  bottom: 0;
  color: var(--gold);
}

.brand-wording {
  display: grid;
  gap: 7px;
  padding-left: 28px;
  border-left: 1px solid var(--gold);
  text-transform: uppercase;
}

.brand-name {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 0.9;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.brand-name em {
  color: var(--gold);
  font-size: 0.52em;
  font-style: normal;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  color: #27313b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  color: #29313a;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.nav a {
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  color: var(--gold);
  border-color: currentColor;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: -6px;
  padding-left: 18px;
  border-left: 1px solid rgba(189, 122, 18, 0.35);
  white-space: nowrap;
}

.language-picker {
  display: inline-flex;
  align-items: center;
}

.language-select {
  height: 34px;
  min-width: 66px;
  border: 1px solid rgba(189, 122, 18, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 0 10px;
}

.admin-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.admin-icon-link svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.admin-icon-link:hover {
  border-color: rgba(189, 122, 18, 0.34);
  background: rgba(255, 255, 255, 0.55);
  color: var(--gold);
}

.admin-dashboard {
  min-height: calc(100vh - 96px);
}

.admin-console,
.admin-locked-panel {
  padding: 0 clamp(24px, 5vw, 80px) 80px;
}

.admin-locked-panel {
  max-width: 760px;
}

.admin-locked-panel h2,
.admin-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

.admin-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-section-tabs button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 850;
  padding: 0 22px;
}

.admin-section-tabs button.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.admin-section {
  display: none;
  max-width: 1240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 60px rgba(35, 25, 5, 0.08);
  padding: clamp(22px, 4vw, 42px);
}

.admin-section.active {
  display: block;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-help,
.admin-status {
  max-width: 860px;
  color: #56616d;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.admin-status {
  min-height: 32px;
  color: var(--gold);
  font-weight: 850;
}

.admin-translation-progress {
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.admin-text-current {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 12px;
}

.admin-text-current span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.admin-text-current .button {
  min-height: auto;
  padding: 12px 18px;
}

.admin-text-current .button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.admin-text-form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.admin-text-form label {
  display: grid;
  gap: 10px;
  color: #2e3742;
  font-size: 18px;
  font-weight: 850;
}

.admin-text-form textarea {
  width: 100%;
  border: 1px solid #d9dde2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  padding: 16px 18px;
}

.admin-text-form input,
.admin-text-form select {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #d9dde2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.admin-text-tools {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(260px, 1.3fr);
  gap: 16px;
  align-items: end;
}

.admin-translation-summary {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid rgba(189, 122, 18, 0.22);
  border-radius: 8px;
  background: #fffaf2;
  color: #66563e;
  font-size: 15px;
  font-weight: 850;
}

.admin-text-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.45;
}

.admin-language-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.admin-excel-import {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgba(189, 122, 18, 0.28);
  border-radius: 8px;
  background: #fffaf2;
}

.admin-excel-import label {
  display: grid;
  gap: 10px;
}

.admin-excel-import input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(7, 16, 26, 0.14);
  border-radius: 6px;
  background: #fff;
}

.admin-excel-import .button {
  justify-self: start;
}

.admin-excel-import small {
  color: var(--muted);
  font-weight: 700;
}

.admin-action-card {
  display: grid;
  gap: 12px;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-action-card:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(35, 25, 5, 0.1);
  transform: translateY(-2px);
}

.admin-action-card strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.admin-action-card span {
  color: #56616d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.statistics-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.statistics-summary article,
.statistics-panel {
  border: 1px solid rgba(189, 122, 18, 0.24);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(21, 18, 12, 0.06);
}

.statistics-summary article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.statistics-summary span {
  color: #5b6570;
  font-size: 13px;
  font-weight: 800;
}

.statistics-summary strong {
  color: var(--gold);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.statistics-summary.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.statistics-downloads {
  margin-top: 10px;
  background: linear-gradient(135deg, #fffaf0, #fffdf8);
}

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

.statistics-panel {
  min-width: 0;
  padding: 22px;
}

.statistics-panel.wide {
  grid-column: 1 / -1;
}

.statistics-panel h3 {
  margin: 0 0 20px;
  font-size: 22px;
}

.statistics-chart {
  display: flex;
  align-items: end;
  gap: 5px;
  min-height: 250px;
  overflow-x: auto;
  padding: 18px 4px 0;
  border-bottom: 1px solid rgba(7, 16, 26, 0.12);
}

.statistics-bar-item {
  display: grid;
  grid-template-rows: 190px auto;
  gap: 8px;
  min-width: 18px;
  height: 220px;
  align-items: end;
}

.statistics-bar-item span {
  align-self: end;
  display: block;
  width: 100%;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--gold);
}

.statistics-bar-item small {
  transform: rotate(-55deg);
  transform-origin: top left;
  color: #5b6570;
  font-size: 9px;
  white-space: nowrap;
}

.statistics-table-wrap {
  overflow-x: auto;
}

.statistics-table {
  width: 100%;
  border-collapse: collapse;
}

.statistics-table th,
.statistics-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(7, 16, 26, 0.08);
  text-align: left;
}

.statistics-table th {
  color: #5b6570;
  font-size: 12px;
  text-transform: uppercase;
}

.statistics-table td:nth-child(n + 2),
.statistics-table th:nth-child(n + 2) {
  text-align: right;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 7vw, 94px) clamp(18px, 5vw, 72px) 38px;
  border-bottom: 1px solid rgba(189, 122, 18, 0.18);
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
  padding-right: 12px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(50px, 7.5vw, 112px);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5.3vw, 72px);
  font-weight: 930;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: #35404a;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--gold);
}

.button.secondary {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.62);
}

.hero-visual {
  --hero-visual-padding: clamp(24px, 4vw, 48px);
  display: grid;
  align-content: center;
  gap: 28px;
  overflow: hidden;
  min-height: 560px;
  padding: var(--hero-visual-padding);
  border: 1px solid rgba(189, 122, 18, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 246, 230, 0.95)),
    var(--white);
  box-shadow: var(--shadow);
}

@media (max-width: 1320px) {
  .topbar {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .brand-mark {
    min-width: 0;
  }

  .brand-monogram {
    width: 66px;
    height: 58px;
  }

  .brand-monogram b,
  .brand-monogram i {
    font-size: 48px;
  }

  .brand-wording {
    gap: 5px;
    padding-left: 20px;
  }

  .brand-name {
    font-size: clamp(28px, 3vw, 38px);
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: clamp(18px, 4vw, 46px);
    padding-top: 4px;
  }

  .header-tools {
    margin-left: auto;
  }

  .hero {
    min-height: calc(100vh - 132px);
  }

  .hero h1 {
    font-size: clamp(48px, 5.3vw, 72px);
  }
}

.hero-marquee {
  position: relative;
  overflow: hidden;
  width: calc(100% + (var(--hero-visual-padding) * 2));
  margin-inline: calc(var(--hero-visual-padding) * -1);
  padding: 24px 0;
}

.hero-marquee::before,
.hero-marquee::after {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 90px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.hero-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff7e8, rgba(255, 247, 232, 0));
}

.hero-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff7e8, rgba(255, 247, 232, 0));
}

.hero-marquee-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: clamp(22px, 3vw, 40px);
  animation: product-marquee 24s linear infinite;
  will-change: transform;
}

.marquee-product {
  position: relative;
  display: grid;
  place-items: end center;
  width: clamp(190px, 15vw, 250px);
  height: clamp(300px, 24vw, 370px);
  flex: 0 0 auto;
}

.marquee-product .new-badge,
.marquee-product .sale-badge {
  top: 16px;
  left: 12px;
  transform: rotate(-10deg) scale(0.9);
}

.marquee-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 28px rgba(21, 18, 12, 0.18));
}

@keyframes product-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-visual p {
  align-self: end;
  margin: 0;
  color: #38434e;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track {
    animation: none;
    transform: translateX(-18%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(189, 122, 18, 0.22);
}

.stats div {
  min-height: 132px;
  padding: 28px 24px;
  background: #fffdf8;
}

.stats strong {
  display: block;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.product-showcase {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: #fffdf8;
}

.product-intro {
  max-width: 780px;
  margin-bottom: 34px;
}

.product-intro p:not(.section-kicker) {
  max-width: 620px;
  color: #3f4a55;
  font-size: 20px;
}

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

.product-card {
  display: grid;
  grid-template-rows: 330px auto auto;
  min-height: 440px;
  padding: 18px 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(7, 16, 26, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(21, 18, 12, 0.08);
}

.product-card img {
  justify-self: center;
  width: 100%;
  height: 330px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.product-card:hover img {
  transform: translateY(-5px) scale(1.02);
}

.product-card span {
  align-self: end;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 5px 0 2px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-card p {
  margin: 0;
  color: #5b6570;
  font-weight: 750;
}

.product-card.yellow {
  background: linear-gradient(180deg, rgba(255, 210, 28, 0.18), #ffffff 54%);
}

.product-card.red {
  background: linear-gradient(180deg, rgba(200, 25, 31, 0.16), #ffffff 54%);
}

.product-card.blue {
  background: linear-gradient(180deg, rgba(25, 177, 208, 0.16), #ffffff 54%);
}

.product-card.green {
  background: linear-gradient(180deg, rgba(0, 128, 89, 0.15), #ffffff 54%);
}

.product-card.brown {
  background: linear-gradient(180deg, rgba(101, 48, 24, 0.16), #ffffff 54%);
}

.product-card.black {
  background: linear-gradient(180deg, rgba(7, 16, 26, 0.2), #ffffff 54%);
}

.product-card.olive {
  background: linear-gradient(180deg, rgba(125, 104, 52, 0.18), #ffffff 54%);
}

.product-card.lime {
  background: linear-gradient(180deg, rgba(186, 210, 34, 0.2), #ffffff 54%);
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.catalog-extra {
  margin-top: clamp(44px, 6vw, 76px);
  padding-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid rgba(189, 122, 18, 0.2);
}

.catalog-extra.is-hidden {
  display: none;
}

.snack-copy {
  max-width: 820px;
}

.snack-copy p:not(.section-kicker) {
  max-width: 660px;
  color: #3f4a55;
  font-size: 20px;
}

.snack-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.snack-card {
  display: grid;
  grid-template-rows: 310px auto auto;
  min-height: 420px;
  padding: 18px 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(7, 16, 26, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(21, 18, 12, 0.08);
}

.snack-card img {
  justify-self: center;
  width: 100%;
  height: 310px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.snack-card:hover img {
  transform: translateY(-5px) scale(1.02);
}

.snack-card h3 {
  margin: 12px 0 2px;
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}

.snack-card p {
  margin: 0;
  color: #5b6570;
  font-weight: 750;
}

.snack-card.yellow {
  background: linear-gradient(180deg, rgba(255, 210, 28, 0.2), #ffffff 56%);
}

.snack-card.black {
  background: linear-gradient(180deg, rgba(7, 16, 26, 0.2), #ffffff 56%);
}

.snack-card.orange {
  background: linear-gradient(180deg, rgba(227, 108, 38, 0.18), #ffffff 56%);
}

.snack-card.green {
  background: linear-gradient(180deg, rgba(73, 145, 54, 0.18), #ffffff 56%);
}

.snack-card.blue {
  background: linear-gradient(180deg, rgba(18, 72, 132, 0.16), #ffffff 56%);
}

.snack-card.cup {
  background: linear-gradient(180deg, rgba(220, 37, 46, 0.16), #ffffff 56%);
}

.peanut-grid {
  align-items: end;
}

.peanut-card {
  grid-template-rows: 360px auto auto;
}

.peanut-card img {
  align-self: end;
  object-position: center bottom;
}

.peanut-card.pack-100 img {
  height: 250px;
}

.peanut-card.pack-200 img {
  height: 305px;
}

.peanut-card.pack-400 img {
  height: 360px;
}

.peanut-card .pack-weight {
  margin-top: 8px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 950;
}

.wide-pack {
  grid-template-rows: 250px auto auto;
  min-height: 360px;
}

.wide-pack img {
  height: 250px;
}

.snack-card .pack-weight {
  margin-top: 8px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 950;
}

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

.confectionery-card {
  grid-template-rows: 230px auto auto;
  min-height: 350px;
}

.confectionery-card img {
  height: 230px;
}

.confectionery-card h3 {
  font-size: 18px;
  line-height: 1.18;
}

.confectionery-card .pack-weight {
  font-size: 20px;
}

.catalog-exit {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(189, 122, 18, 0.45);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 38px rgba(21, 18, 12, 0.16);
  color: var(--gold);
  font-weight: 900;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.catalog-exit:hover {
  color: var(--white);
  background: var(--gold);
}

.original-catalog {
  padding: clamp(42px, 6vw, 84px) clamp(16px, 5vw, 72px);
  background: #f7f0e5;
}

.original-catalog-heading {
  max-width: 900px;
  margin: 0 auto 34px;
}

.original-catalog-heading h1 {
  margin-bottom: 12px;
  font-size: clamp(44px, 7vw, 88px);
}

.original-catalog-heading p:not(.section-kicker) {
  color: #3f4a55;
  font-size: 20px;
}

.original-catalog-pages {
  display: grid;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.original-catalog-page {
  overflow: hidden;
  border: 1px solid rgba(7, 16, 26, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(21, 18, 12, 0.12);
}

.original-catalog-page img {
  width: 100%;
  height: auto;
}

.catalog-shell,
.builder-shell {
  background: #fffdf8;
}

.catalog-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 72px) 34px;
  border-bottom: 1px solid rgba(189, 122, 18, 0.18);
}

.catalog-hero div {
  max-width: 900px;
}

.catalog-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(48px, 7vw, 92px);
}

.catalog-hero p:not(.section-kicker) {
  color: #3f4a55;
  font-size: 20px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: #fffdf8;
}

.admin-login-card,
.admin-locked-panel {
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid rgba(189, 122, 18, 0.22);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(21, 18, 12, 0.12);
}

.admin-login-card {
  display: grid;
  gap: 16px;
}

.admin-login-card h1,
.admin-locked-panel h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.98;
}

.admin-login-card p,
.admin-locked-panel p {
  margin: 0;
  color: #3f4a55;
  font-size: 18px;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  color: #2d3742;
  font-weight: 850;
}

.admin-login-card input {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 16, 26, 0.14);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.admin-login-error {
  padding: 12px 14px;
  border: 1px solid rgba(160, 43, 34, 0.2);
  border-radius: 6px;
  background: rgba(160, 43, 34, 0.08);
  color: #a02b22;
  font-weight: 850;
}

.admin-locked-panel {
  display: grid;
  gap: 14px;
  margin: 26px clamp(18px, 5vw, 72px) 0;
}

.catalog-workspace {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  padding: 32px clamp(18px, 5vw, 72px) clamp(56px, 8vw, 104px);
}

.catalog-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 116px);
  overflow: hidden;
}

.catalog-search {
  display: grid;
  gap: 8px;
  color: #2d3742;
  font-weight: 850;
}

.catalog-search input,
.builder-form input,
.builder-form select,
.builder-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 16, 26, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.catalog-search input {
  min-height: 48px;
  padding: 10px 14px;
}

.catalog-count {
  color: var(--gold);
  font-size: 22px;
  font-weight: 950;
}

.catalog-tabs {
  display: grid;
  gap: 8px;
  max-height: min(58vh, 640px);
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.catalog-tabs::-webkit-scrollbar,
.group-edit-list::-webkit-scrollbar {
  width: 8px;
}

.catalog-tabs::-webkit-scrollbar-thumb,
.group-edit-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(189, 122, 18, 0.28);
}

.catalog-tab {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(189, 122, 18, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #2c3540;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.catalog-tab.is-active,
.catalog-tab:hover {
  color: var(--white);
  background: var(--gold);
}

.catalog-group-edit {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(189, 122, 18, 0.34);
  border-radius: 6px;
  background: #fffaf2;
  color: var(--gold);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.catalog-group-edit:hover {
  color: var(--white);
  background: var(--gold);
}

.catalog-section-head {
  margin-bottom: 18px;
}

.catalog-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 62px);
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.catalog-product-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px auto auto auto auto;
  min-height: 310px;
  padding: 14px 14px 30px;
  overflow: hidden;
  border: 1px solid rgba(7, 16, 26, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(21, 18, 12, 0.08);
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.catalog-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(21, 18, 12, 0.12);
}

.catalog-product-card.is-product-hidden {
  opacity: 0.5;
  filter: grayscale(0.35);
}

.catalog-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  gap: 5px;
}

.catalog-edit-button,
.catalog-hide-button,
.catalog-delete-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(189, 122, 18, 0.32);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--gold);
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(21, 18, 12, 0.12);
}

.catalog-edit-button:hover,
.catalog-hide-button:hover,
.catalog-delete-button:hover {
  color: var(--white);
  background: var(--gold);
}

.catalog-hide-button {
  border-color: rgba(7, 16, 26, 0.16);
  color: #07101a;
}

.catalog-hide-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-hide-button:hover,
.catalog-hide-button.is-hidden {
  color: var(--white);
  background: #07101a;
}

.catalog-delete-button {
  border-color: rgba(160, 43, 34, 0.24);
  color: #a02b22;
  font-size: 20px;
}

.catalog-delete-button:hover {
  background: #a02b22;
}

.catalog-hidden-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 16, 26, 0.84);
  color: var(--white);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.new-badge,
.sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 38px;
  padding: 6px 8px;
  transform: rotate(-8deg);
  border: 3px solid #f4d330;
  border-radius: 999px;
  background: #e21b22;
  color: #ffef3d;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(7, 16, 26, 0.35);
  box-shadow: 0 10px 20px rgba(160, 43, 34, 0.22);
}

.sale-badge {
  min-width: 60px;
  min-height: 34px;
  border-color: #f9ced6;
  background: #e72b55;
  color: var(--white);
  font-size: 17px;
}

.catalog-product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  overflow: hidden;
}

.builder-paste-zone {
  position: relative;
  border: 1px dashed rgba(189, 122, 18, 0.34);
  border-radius: 8px;
  background: #fffaf2;
  outline: none;
}

.builder-paste-zone:focus {
  border-color: rgba(189, 122, 18, 0.72);
  box-shadow: 0 0 0 4px rgba(189, 122, 18, 0.16);
}

.catalog-product-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.catalog-product-image.is-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.catalog-product-image.is-dual img {
  max-height: 160px;
}

.catalog-product-image.is-composed,
.catalog-product-image.is-composed.is-dual {
  display: block;
}

.catalog-product-image.is-composed img {
  position: absolute;
  z-index: 1;
  max-width: 72%;
  max-height: 78%;
}

.catalog-product-image.is-composed img + img {
  z-index: 2;
}

.catalog-view-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.catalog-view-dialog::backdrop {
  background: rgba(7, 16, 26, 0.54);
  backdrop-filter: blur(4px);
}

.catalog-view-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(189, 122, 18, 0.18);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 30px 90px rgba(7, 16, 26, 0.32);
}

.catalog-view-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(7, 16, 26, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  font-size: 30px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(21, 18, 12, 0.12);
}

.catalog-view-close:hover {
  color: var(--white);
  background: var(--gold);
}

.catalog-view-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(54vh, 430px);
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf2, #ffffff 70%);
}

.catalog-view-image img {
  max-width: 92%;
  max-height: min(50vh, 390px);
  object-fit: contain;
}

.catalog-view-image.is-composed,
.catalog-view-image.is-composed.is-dual {
  display: block;
}

.catalog-view-image.is-composed img {
  position: absolute;
  z-index: 1;
  max-width: 76%;
  max-height: 82%;
}

.catalog-view-image.is-composed img + img {
  z-index: 2;
}

.catalog-view-info {
  display: grid;
  gap: 8px;
}

.catalog-view-info h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.98;
  text-transform: uppercase;
}

.catalog-view-info p:not(.catalog-product-brand) {
  margin: 0;
  color: #5b6570;
  font-size: 18px;
  font-weight: 750;
}

.catalog-view-info strong {
  color: var(--gold);
  font-size: 24px;
  line-height: 1.1;
}

.catalog-product-brand {
  margin: 4px 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-product-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-product-card p:not(.catalog-product-brand) {
  margin: 0;
  color: #5b6570;
  font-size: 14px;
  font-weight: 750;
}

.catalog-product-card strong {
  margin-top: 10px;
  color: var(--gold);
  font-size: 17px;
  line-height: 1.1;
}

.catalog-product-code {
  justify-self: end;
  align-self: end;
  margin-top: 8px;
  color: #5b6570;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-product-card > .catalog-product-code,
.print-product-card .catalog-product-code {
  position: absolute;
  right: 12px;
  bottom: 10px;
  margin: 0;
}

.catalog-view-info .catalog-product-code {
  font-size: 13px;
}

.catalog-code-field input {
  text-transform: uppercase;
}

.print-catalog {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.print-catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px) 36px;
  border-bottom: 1px solid rgba(189, 122, 18, 0.18);
}

.print-catalog-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
}

.print-catalog-hero p:not(.section-kicker) {
  max-width: 680px;
  margin: 18px 0 0;
  color: #46515d;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
}

.print-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.catalog-download-list {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  padding: 34px clamp(18px, 5vw, 72px) 8px;
}

.catalog-download-row {
  display: grid;
  grid-template-columns: 46px minmax(220px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  min-height: 96px;
  padding: 22px 28px;
  border: 1px solid rgba(7, 16, 26, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(21, 18, 12, 0.08);
}

.catalog-file-icon {
  position: relative;
  width: 34px;
  height: 42px;
  border: 4px solid #c8191f;
  border-radius: 3px;
}

.catalog-file-icon::before,
.catalog-file-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 6px;
  height: 4px;
  background: #c8191f;
}

.catalog-file-icon::before {
  top: 10px;
}

.catalog-file-icon::after {
  top: 20px;
}

.catalog-download-row h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
}

.catalog-download-row button {
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.catalog-download-row button:hover {
  color: var(--gold);
}

.print-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) minmax(180px, 0.4fr);
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
}

.print-controls label {
  display: grid;
  gap: 8px;
  color: #2d3742;
  font-weight: 850;
}

.print-controls select,
.print-controls input {
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(7, 16, 26, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.2;
}

.print-controls input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

.print-sheet {
  width: min(1180px, calc(100% - 36px));
  margin: 16px auto 0;
  padding: 34px;
  border: 1px solid rgba(189, 122, 18, 0.18);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.print-sheet-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(189, 122, 18, 0.22);
}

.print-sheet-head p {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.print-sheet-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.print-sheet-head span {
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
}

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

.is-print-landscape .print-sheet {
  width: min(1420px, calc(100% - 36px));
}

.is-print-landscape .print-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.print-product-card {
  position: relative;
  display: grid;
  grid-template-rows: 160px auto;
  min-height: 278px;
  padding: 14px 14px 28px;
  overflow: hidden;
  border: 1px solid rgba(7, 16, 26, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.print-product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  overflow: hidden;
}

.print-product-image img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.print-product-image.is-composed,
.print-product-image.is-composed.is-dual {
  display: block;
}

.print-product-image.is-composed img {
  position: absolute;
  z-index: 1;
  max-width: 72%;
  max-height: 78%;
}

.print-product-image.is-composed img + img {
  z-index: 2;
}

.print-no-photo {
  display: grid;
  place-items: center;
  min-height: 140px;
  color: rgba(7, 16, 26, 0.4);
  font-weight: 850;
}

.print-product-info {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
}

.print-product-info .catalog-product-code {
  justify-self: end;
  color: #5b6570;
  font-size: 10px;
}

.print-product-info p {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.print-product-info h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.12;
  text-transform: uppercase;
}

.print-product-info span {
  color: #5b6570;
  font-size: 13px;
  font-weight: 700;
}

.print-product-info strong {
  color: var(--gold);
  font-size: 16px;
  line-height: 1.1;
}

.is-print-compact .print-product-grid {
  grid-template-columns: 1fr;
}

.is-print-compact .print-product-card {
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: auto;
  min-height: 110px;
  align-items: center;
}

.is-print-compact .print-product-image {
  min-height: 82px;
}

.is-print-compact .print-product-image img {
  max-height: 76px;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 4vw, 52px);
  padding: 32px clamp(18px, 5vw, 72px) clamp(56px, 8vw, 104px);
}

.builder-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.builder-form label {
  display: grid;
  gap: 8px;
  color: #2d3742;
  font-weight: 850;
}

.catalog-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 42px;
  align-items: center;
}

.catalog-check {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.catalog-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

.catalog-flag-preview {
  position: static;
  min-width: 52px;
  min-height: 30px;
  transform: rotate(-7deg);
  font-size: 14px;
  box-shadow: none;
}

.builder-form .wide,
.builder-actions.wide {
  grid-column: 1 / -1;
}

.builder-form input,
.builder-form select,
.builder-form textarea {
  padding: 12px 14px;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.builder-preview {
  position: sticky;
  top: 96px;
  align-self: start;
}

.builder-list {
  margin-top: 22px;
}

.builder-list h2 {
  font-size: 30px;
}

.builder-list-item {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(7, 16, 26, 0.1);
}

.builder-list-item span {
  font-weight: 850;
}

.builder-list-item small {
  color: var(--muted);
}

.catalog-edit-dialog {
  width: min(940px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(7, 16, 26, 0.28);
}

.catalog-edit-dialog::backdrop {
  background: rgba(7, 16, 26, 0.48);
}

.catalog-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.catalog-edit-head,
.catalog-edit-form .wide {
  grid-column: 1 / -1;
}

.catalog-edit-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.catalog-edit-head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.catalog-edit-close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(7, 16, 26, 0.12);
  border-radius: 999px;
  background: #fffaf2;
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}

.catalog-edit-form label {
  display: grid;
  gap: 8px;
  color: #2d3742;
  font-weight: 850;
}

.catalog-edit-form input,
.catalog-edit-form select,
.catalog-edit-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(7, 16, 26, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.catalog-language-note {
  padding: 12px 14px;
  border: 1px solid rgba(189, 122, 18, 0.2);
  border-radius: 6px;
  background: #fffaf2;
  color: #5d5140;
  font-size: 14px;
  font-weight: 750;
}

.catalog-language-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(189, 122, 18, 0.2);
}

.catalog-language-tabs button {
  min-width: 72px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(189, 122, 18, 0.3);
  border-radius: 999px;
  background: #fffaf2;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.catalog-language-tabs button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.catalog-language-panel {
  display: none;
}

.catalog-language-panel.is-active {
  display: block;
}

.catalog-language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.catalog-edit-form .catalog-check-row,
.builder-form .catalog-check-row {
  grid-column: 1 / -1;
}

.catalog-edit-form .catalog-check,
.builder-form .catalog-check {
  width: auto;
}

.catalog-edit-form .catalog-check input[type="checkbox"],
.builder-form .catalog-check input[type="checkbox"] {
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 5px;
  accent-color: var(--gold);
}

.catalog-edit-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(189, 122, 18, 0.36);
  border-radius: 8px;
  background: #fffaf2;
  outline: none;
}

.catalog-edit-preview-combo {
  display: block;
  min-height: 300px;
  padding: 12px;
}

.photo-compose-stage {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px dashed rgba(189, 122, 18, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffaf2, #fffdf8);
}

.photo-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 16px;
  border: 1px dashed rgba(189, 122, 18, 0.3);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  outline: none;
}

.catalog-edit-preview-combo .photo-slot {
  position: absolute;
  z-index: 1;
  width: min(46%, 300px);
  height: 56%;
  min-height: 128px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  transform: translate(-50%, -50%);
}

.catalog-edit-preview-combo .photo-slot[data-photo-slot="2"] {
  z-index: 2;
}

.catalog-edit-preview-combo .photo-slot:active {
  cursor: grabbing;
}

.photo-slot:focus {
  border-color: rgba(189, 122, 18, 0.72);
  box-shadow: 0 0 0 3px rgba(189, 122, 18, 0.12);
}

.catalog-edit-preview img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.catalog-edit-preview-combo img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 100%;
  max-height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.catalog-photo-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-photo-tools .button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}

.catalog-edit-preview small {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: #7a6f61;
  font-size: 12px;
  font-weight: 800;
}

.photo-slot small {
  right: 8px;
  bottom: -34px;
  max-width: calc(100% - 112px);
  text-align: right;
}

.photo-compose-help {
  margin: 10px 4px 0;
  color: #7a6f61;
  font-size: 13px;
  font-weight: 800;
}

.photo-slot-tools {
  position: absolute;
  left: 50%;
  bottom: -46px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.photo-slot-tools button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(189, 122, 18, 0.52);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.photo-slot-tools button:hover {
  color: var(--white);
  background: var(--gold);
}

.photo-remove-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 16, 26, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(21, 18, 12, 0.12);
}

.photo-remove-button:hover {
  color: var(--white);
  background: var(--red);
}

.photo-empty-label,
.catalog-no-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px dashed rgba(189, 122, 18, 0.34);
  border-radius: 6px;
  color: var(--gold);
  font-weight: 900;
}

.catalog-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.group-edit-list {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 12px;
  max-height: min(52vh, 560px);
  overflow-y: auto;
  padding-right: 6px;
  overscroll-behavior: contain;
}

.group-edit-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 40px;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(7, 16, 26, 0.1);
  border-radius: 8px;
  background: #fffaf2;
  min-width: 0;
}

.group-edit-row label {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.group-edit-row input,
.group-new-fields input {
  min-width: 0;
  max-width: 100%;
}

.group-edit-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 800;
}

.group-new-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(189, 122, 18, 0.28);
  border-radius: 8px;
  background: #fffaf2;
}

.group-new-fields > strong {
  grid-column: 1 / -1;
}

.group-new-fields label {
  display: grid;
  gap: 8px;
}

.brand-edit-row .brand-groups-field {
  grid-column: 1 / -1;
}

.brand-groups-field {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(7, 16, 26, 0.12);
  border-radius: 8px;
}

.brand-groups-field legend {
  padding: 0 6px;
  font-weight: 900;
}

.brand-group-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
}

.brand-group-option {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  font-weight: 750;
}

.brand-group-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

@media (max-width: 900px) {
  .group-edit-row,
  .group-new-fields {
    grid-template-columns: 1fr;
  }

  .brand-group-options {
    grid-template-columns: 1fr;
  }

  .group-edit-row .group-remove-button {
    position: absolute;
    top: 12px;
    right: 12px;
  }
}

.group-remove-button {
  position: static;
  align-self: center;
  color: var(--red);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.text-flow {
  color: #28333f;
  font-size: 18px;
}

.text-flow p {
  margin-bottom: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brand-card {
  position: relative;
  display: grid;
  grid-template-rows: 220px auto;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(189, 122, 18, 0.26);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(21, 18, 12, 0.08);
}

.brand-card img {
  width: 100%;
  height: 220px;
  padding: 26px;
  object-fit: contain;
  background: #fffaf2;
}

.brand-card div {
  padding: 28px;
}

.brand-card p {
  margin-bottom: 0;
  color: #4d5863;
}

.catalog-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(200, 25, 31, 0.94), rgba(18, 72, 132, 0.93)),
    var(--red);
  color: var(--white);
}

.catalog-intro h2 {
  max-width: 620px;
  margin-bottom: 14px;
}

.catalog-intro strong {
  display: block;
  color: var(--sun);
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-grid a,
.category-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fffaf2;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.category-grid a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
}

.brand-card.perri {
  border-top: 5px solid var(--red);
}

.brand-card.perri img {
  padding: 26px 74px;
  object-fit: contain;
  object-position: center;
}

.brand-card.dorrys {
  border-top: 5px solid var(--blue);
}

.brand-card.valea {
  border-top: 5px solid var(--green);
}

.brand-card.perri::before,
.brand-card.valea::before {
  content: "";
  position: absolute;
  top: 184px;
  left: 0;
  right: 0;
  height: 38px;
  z-index: 1;
  background: #fffaf2;
  pointer-events: none;
}

.coverage-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 16, 26, 0.96), rgba(40, 47, 45, 0.94)),
    #101820;
}

.coverage-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 820px;
}

.coverage-copy p:not(.section-kicker) {
  color: #e3dfd7;
  font-size: 18px;
}

.coverage-contact-button {
  gap: 12px;
  min-width: 260px;
  margin-top: clamp(42px, 7vw, 86px);
  padding: 16px 28px;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
  box-shadow: 0 18px 36px rgba(189, 122, 18, 0.28);
}

.coverage-contact-button span[aria-hidden="true"] {
  font-size: 24px;
  line-height: 1;
}

.clients {
  padding: 30px;
  border: 1px solid rgba(246, 234, 214, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.clients h3 {
  color: var(--gold-soft);
  line-height: 1.15;
}

.clients-presence {
  margin: 12px 0 0;
  color: #e3dfd7;
  font-size: 16px;
  line-height: 1.55;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.client-logo-grid li {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 92px;
  padding: 14px;
  border: 1px solid rgba(189, 122, 18, 0.22);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 68%),
    #fff8ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 9px 24px rgba(0, 0, 0, 0.12);
}

.client-logo-grid img {
  display: block;
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

.metro-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 178px);
  min-height: 48px;
  padding: 5px 9px 3px;
  border: 3px solid #f8d400;
  border-radius: 2px;
  background: #003b7a;
  color: #ffe500;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 950;
  letter-spacing: -1.8px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.client-logo-grid .client-logo-bonus {
  overflow: hidden;
}

.client-logo-grid .client-logo-bonus img {
  width: min(100%, 178px);
  height: 54px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.mission {
  max-width: 980px;
}

.mission p:last-child {
  color: #33404b;
  font-size: 20px;
}

.partners-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  max-width: none;
}

.partners-copy {
  position: sticky;
  top: 150px;
}

.partners-copy > p:last-child {
  color: #33404b;
  font-size: 20px;
}

.partnership-form {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(189, 122, 18, 0.22);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 24px 70px rgba(21, 18, 12, 0.09);
}

.partnership-form-head h3 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.partnership-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.partnership-form label:not(.partnership-consent) {
  display: grid;
  gap: 8px;
  color: #394550;
  font-size: 13px;
  font-weight: 850;
}

.partnership-form input:not([type="checkbox"]),
.partnership-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(7, 16, 26, 0.18);
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.partnership-form input:focus,
.partnership-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(189, 122, 18, 0.12);
}

.partnership-form textarea {
  resize: vertical;
  min-height: 150px;
}

.partnership-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #5b6570;
  font-size: 12px;
  line-height: 1.45;
}

.partnership-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--gold);
}

.partnership-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.partnership-form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.partnership-form-status {
  color: #5b6570;
  font-size: 13px;
  font-weight: 800;
}

.partnership-form-status.is-success { color: #18783b; }
.partnership-form-status.is-error { color: #a02b22; }

.partnership-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-section {
  display: grid;
  gap: 28px;
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 151, 52, 0.12), transparent 34%),
    linear-gradient(180deg, #fffdf8, #fff8eb);
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.contact-copy {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(189, 122, 18, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 24px 70px rgba(21, 18, 12, 0.09);
}

.contact-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 26, 0.7), rgba(7, 16, 26, 0.18) 58%, rgba(7, 16, 26, 0.02)),
    linear-gradient(180deg, rgba(7, 16, 26, 0.28), transparent 46%);
}

.contact-copy img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.contact-copy-text {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 28px;
  width: min(420px, calc(100% - 56px));
}

.contact-copy .section-kicker {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 12px 34px rgba(7, 16, 26, 0.32);
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.96;
}

.contact-copy p:not(.section-kicker) {
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(18px, 1.7vw, 22px);
  text-shadow: 0 10px 26px rgba(7, 16, 26, 0.32);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-lines a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--ink);
}

.contact-lines span,
.department-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(189, 122, 18, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--gold);
  font-weight: 950;
}

.contact-lines a:hover b {
  color: var(--gold);
}

.contact-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(189, 122, 18, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 24px 70px rgba(21, 18, 12, 0.09);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.82) contrast(0.94);
}

.contact-map a {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(189, 122, 18, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(21, 18, 12, 0.1);
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  perspective: 1400px;
}

.social-contact-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(189, 122, 18, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(21, 18, 12, 0.07);
}

.social-contact-heading,
.social-contact-lines a {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-contact-heading h3 {
  margin: 0;
  font-size: 20px;
}

.social-contact-person {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  font-size: 25px;
}

.social-contact-lines {
  display: grid;
  gap: 12px;
}

.social-contact-lines a {
  color: #394550;
  font-size: 15px;
}

.social-contact-lines a > span {
  width: 26px;
  color: var(--ink);
  font-size: 22px;
  text-align: center;
}

.social-contact-lines a:hover b {
  color: var(--gold);
}

.social-contact-label {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 900;
}

.social-contact-hours {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: #394550;
  font-size: 14px;
}

.social-contact-hours > span {
  width: 26px;
  color: var(--gold);
  font-size: 23px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 18px;
  align-items: start;
}

.social-link {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #394550;
  font-weight: 750;
}

.social-link small {
  font-size: 11px;
}

.social-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 9px 20px rgba(7, 16, 26, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-link:hover .social-logo {
  transform: translateY(-3px);
  box-shadow: 0 13px 26px rgba(7, 16, 26, 0.2);
}

.social-link.viber .social-logo { background: #7360f2; }
.social-link.whatsapp .social-logo { background: #16c65a; }
.social-link.telegram .social-logo { background: #229ed9; }

.department-card {
  position: relative;
  min-height: 260px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.76, 0.22, 1);
}

.profile-card {
  min-height: 310px;
}

.profile-card.is-flipped {
  min-height: 310px;
  z-index: 4;
}

.department-card.is-flipped {
  transform: rotateY(180deg);
}

.department-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(189, 122, 18, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(21, 18, 12, 0.07);
  backface-visibility: hidden;
}

.department-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(255, 247, 232, 0.96)),
    #fffdf8;
}

.department-title {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.12;
}

.department-text,
.department-back span:not(.department-title) {
  display: block;
  color: #5b6570;
  font-weight: 500;
  line-height: 1.55;
}

.department-back a {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(7, 16, 26, 0.1);
  color: var(--gold);
  font-size: 24px;
  font-weight: 950;
}

.profile-back {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-content: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.department-close {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 2;
  color: var(--ink);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.profile-photo-crop {
  position: relative;
  display: block;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #efe8dc;
}

.profile-photo-crop img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 285%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.profile-details {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 34px 30px 26px;
}

.profile-details .profile-name {
  color: var(--ink) !important;
  font-size: clamp(20px, 1.5vw, 27px);
  font-weight: 950 !important;
  line-height: 1.08 !important;
}

.profile-details .profile-role {
  color: var(--gold) !important;
  font-size: 14px;
  font-weight: 850 !important;
  line-height: 1.25 !important;
}

.profile-details a {
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.profile-details .profile-hours {
  color: #5b6570;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.profile-details .profile-focus {
  margin-top: 3px;
  padding-top: 11px;
  border-top: 1px solid rgba(7, 16, 26, 0.1);
  color: #5b6570;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.department-arrow {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.department-card:hover .department-face {
  border-color: rgba(189, 122, 18, 0.34);
  box-shadow: 0 24px 54px rgba(21, 18, 12, 0.1);
}

.wide {
  grid-column: 1 / -1;
}

.footer {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.1fr 0.8fr;
  gap: 22px;
  padding: 36px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(189, 122, 18, 0.28);
  background: #fffdf8;
}

.footer p {
  margin-bottom: 0;
}

.footer-title {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer a {
  overflow-wrap: anywhere;
}

.footer a:hover {
  color: var(--gold);
}

.footer-rights {
  grid-column: 4;
  align-self: end;
  justify-self: end;
  color: #5b6570;
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

@media (max-width: 980px) {
  .partners-section {
    grid-template-columns: 1fr;
  }

  .partners-copy {
    position: static;
  }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    order: 0;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-tools {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .hero,
  .split,
  .product-showcase,
  .coverage-band,
  .catalog-strip,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .stats,
  .product-grid,
  .snack-grid,
  .brand-grid,
  .department-grid,
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-rights {
    grid-column: 2;
  }

  .catalog-hero,
  .catalog-workspace,
  .print-catalog-hero,
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .catalog-download-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .catalog-download-row button {
    justify-self: start;
    padding-left: 0;
  }

  .print-actions {
    justify-content: flex-start;
  }

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

  .catalog-panel,
  .catalog-tabs {
    max-height: none;
    overflow: visible;
  }

  .catalog-hero {
    display: grid;
  }

  .catalog-panel,
  .builder-preview {
    position: static;
  }

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

  .profile-card.is-flipped {
    grid-column: span 2;
  }

  .admin-section-head,
  .admin-action-grid,
  .admin-language-fields,
  .admin-text-tools {
    grid-template-columns: 1fr;
  }

  .admin-section-head {
    display: grid;
  }

}

@media (max-width: 640px) {
  .partnership-form-grid {
    grid-template-columns: 1fr;
  }
  .statistics-summary,
  .statistics-summary.compact,
  .statistics-grid {
    grid-template-columns: 1fr;
  }

  .statistics-panel.wide {
    grid-column: auto;
  }
  .topbar {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 100%;
    min-width: 0;
    gap: 14px;
  }

  .brand-monogram {
    width: 56px;
    height: 50px;
  }

  .brand-monogram b,
  .brand-monogram i {
    font-size: 40px;
  }

  .brand-wording {
    gap: 5px;
    min-width: 0;
    padding-left: 14px;
  }

  .brand-name {
    font-size: 23px;
    letter-spacing: 0.08em;
  }

  .brand-subtitle {
    overflow: hidden;
    font-size: 8px;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .header-tools {
    width: auto;
  }

  .admin-console,
  .admin-locked-panel {
    padding-right: 16px;
    padding-left: 16px;
  }

  .admin-section-tabs,
  .admin-action-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-section-tabs button,
  .admin-section-head .button {
    width: 100%;
  }

  .catalog-exit {
    top: auto;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    transform: none;
  }

  .stats,
  .product-grid,
  .snack-grid,
  .catalog-product-grid,
  .builder-form,
  .catalog-edit-form,
  .brand-grid,
  .contact-main,
  .department-grid,
  .footer,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 260px;
  }

  .footer-rights {
    grid-column: 1;
    justify-self: end;
  }

  .contact-map iframe {
    min-height: 260px;
  }

  .contact-copy,
  .contact-copy img {
    min-height: 300px;
  }

  .contact-copy-text {
    top: 22px;
    left: 22px;
    width: calc(100% - 44px);
  }

  .department-card {
    min-height: 240px;
  }

  .profile-card.is-flipped {
    grid-column: span 1;
    min-height: 310px;
  }

  .profile-back {
    grid-template-columns: 34% minmax(0, 1fr);
  }

  .profile-details {
    padding: 30px 22px 22px;
  }

  .catalog-tabs {
    grid-template-columns: 1fr;
  }

  .catalog-edit-preview-combo {
    grid-template-columns: 1fr;
  }

  .catalog-language-grid {
    grid-template-columns: 1fr;
  }

  .catalog-language-tabs {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 8px 0;
    background: var(--white);
  }

  .catalog-hero,
  .catalog-workspace,
  .print-catalog-hero,
  .builder-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .catalog-download-list,
  .print-controls {
    padding-left: 16px;
    padding-right: 16px;
  }

  .catalog-download-row,
  .print-controls,
  .print-product-grid {
    grid-template-columns: 1fr;
  }

  .print-sheet {
    width: calc(100% - 32px);
    padding: 18px;
  }

  .print-sheet-head {
    align-items: start;
    flex-direction: column;
  }

  .stats {
    padding: 0 16px;
  }

  .brand-card {
    min-height: 0;
  }

  .product-card {
    grid-template-rows: 300px auto auto;
    min-height: 400px;
  }

  .product-card img {
    height: 300px;
  }

  .snack-card {
    grid-template-rows: 290px auto auto;
    min-height: 390px;
  }

  .snack-card img {
    height: 290px;
  }

  .footer {
    padding: 30px 16px;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .print-hidden,
  .catalog-exit {
    display: none !important;
  }

  .print-catalog {
    padding: 0;
  }

  .print-sheet {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .print-sheet-head {
    break-after: avoid;
  }

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

  .is-print-landscape .print-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .print-product-card {
    break-inside: avoid;
    min-height: 240px;
    box-shadow: none;
  }

  .print-product-image {
    min-height: 130px;
  }

  .print-product-image img {
    max-height: 122px;
  }
}
