:root {
  --paper: #f6f1ea;
  --paper-deep: #e7dbcf;
  --surface: #fffaf3;
  --ink: #14110f;
  --muted: #6f655e;
  --gold: #d8a22a;
  --gold-dark: #a97817;
  --sage: #697469;
  --line: rgba(20, 17, 15, 0.12);
  --shadow: 0 22px 70px rgba(61, 46, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(216, 162, 42, 0.28);
  background: rgba(246, 241, 234, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-grid;
  justify-items: center;
  gap: 2px;
  min-width: clamp(230px, 18vw, 310px);
  padding: 11px 28px 12px;
  border: 1px solid rgba(124, 91, 40, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(166, 126, 46, 0.12), rgba(86, 62, 31, 0.055)),
    rgba(255, 250, 243, 0.18);
  box-shadow:
    0 10px 26px rgba(82, 58, 29, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(5px);
  font-weight: 800;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 0.98;
  text-align: center;
  white-space: nowrap;
}

.brand strong {
  color: var(--gold);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a,
.admin-open,
.top-icon,
.button,
.chip {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.7);
}

.admin-open {
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
}

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

.top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 11px;
  border-color: rgba(20, 17, 15, 0.12);
  background: rgba(255, 250, 243, 0.82);
  color: var(--ink);
  font-weight: 780;
}

.top-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
}

.top-icon.has-items {
  border-color: rgba(216, 162, 42, 0.34);
  background: rgba(216, 162, 42, 0.12);
}

main {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 70px) clamp(28px, 4vw, 46px);
  background:
    linear-gradient(115deg, rgba(255, 250, 243, 0.96), rgba(231, 219, 207, 0.72)),
    var(--paper);
}

.hero-banner {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hero-banner img {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(166, 126, 46, 0.38);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lamp-effect {
  position: absolute;
  left: 8.2%;
  top: 12.4%;
  z-index: 2;
  width: 25.2%;
  height: 74%;
  cursor: default;
  outline: 0;
  perspective: 900px;
  transform-style: preserve-3d;
}

.lamp-aura,
.lamp-sheen,
.lamp-glint,
.lamp-core {
  position: absolute;
  pointer-events: none;
}

.lamp-aura {
  inset: 11% 2% 12%;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 51% 38%, rgba(255, 234, 162, 0.34), rgba(228, 174, 54, 0.10) 28%, rgba(216, 162, 42, 0.025) 54%, rgba(216, 162, 42, 0) 72%);
  filter: none;
  transform: scale(0.94);
  transition: opacity 220ms ease, transform 220ms ease;
  mix-blend-mode: screen;
}

.lamp-sheen {
  left: 24%;
  top: 16%;
  width: 54%;
  height: 46%;
  border-radius: 50%;
  opacity: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 18%, rgba(255, 248, 204, 0.22) 42%, rgba(255, 255, 255, 0.06) 52%, rgba(255, 255, 255, 0) 76%);
  filter: none;
  transform: translateX(-18%) rotate(-12deg);
  transition: opacity 180ms ease;
  mix-blend-mode: screen;
}

.lamp-core {
  left: 38%;
  top: 28%;
  width: 23%;
  height: 44%;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 242, 173, 0.36), rgba(245, 193, 83, 0.13) 34%, rgba(216, 162, 42, 0) 68%);
  filter: none;
  transition: opacity 180ms ease, transform 180ms ease;
  mix-blend-mode: screen;
}

.lamp-glint {
  width: 16px;
  height: 16px;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 245, 1) 0 9%, rgba(255, 224, 126, 0.78) 10% 18%, transparent 20%);
  filter: drop-shadow(0 0 2px rgba(255, 222, 118, 0.62));
  mix-blend-mode: screen;
}

.lamp-glint::before,
.lamp-glint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 249, 218, 0.96), transparent);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.lamp-glint::before {
  width: 120%;
  height: 1px;
}

.lamp-glint::after {
  width: 1px;
  height: 120%;
  background: linear-gradient(180deg, transparent, rgba(255, 249, 218, 0.96), transparent);
}

.glint-one {
  left: 59%;
  top: 18%;
}

.glint-two {
  left: 39%;
  top: 37%;
  width: 12px;
  height: 12px;
}

.glint-three {
  left: 53%;
  top: 50%;
  width: 11px;
  height: 11px;
}

.glint-four {
  left: 47%;
  top: 24%;
  width: 9px;
  height: 9px;
}

.lamp-effect:hover .lamp-aura {
  opacity: 0.5;
  transform: scale(1);
  animation: lampGlow 1.8s ease-in-out infinite;
}

.lamp-effect:hover .lamp-sheen {
  opacity: 0.42;
  animation: lampSheen 2.25s ease-in-out infinite;
}

.lamp-effect:hover .lamp-core {
  opacity: 0.46;
  transform: scale(1.02);
  animation: lampPulse 1.55s ease-in-out infinite;
}

.lamp-effect:hover .lamp-glint {
  animation: glintBlink 1.35s ease-in-out infinite;
}

.lamp-effect:hover .glint-two {
  animation-delay: 0.38s;
}

.lamp-effect:hover .glint-three {
  animation-delay: 0.74s;
}

.lamp-effect:hover .glint-four {
  animation-delay: 1.06s;
}

@keyframes lampSheen {
  0% {
    opacity: 0.04;
    transform: translateX(-26%) rotate(-15deg) scale(0.96);
  }

  45% {
    opacity: 0.38;
    transform: translateX(18%) rotate(12deg) scale(1.08);
  }

  100% {
    opacity: 0.04;
    transform: translateX(-26%) rotate(-15deg) scale(0.96);
  }
}

@keyframes lampGlow {
  0%,
  100% {
    filter: none;
    opacity: 0.24;
  }

  50% {
    filter: none;
    opacity: 0.5;
  }
}

@keyframes lampPulse {
  0%,
  100% {
    opacity: 0.22;
  }

  50% {
    opacity: 0.46;
  }
}

@keyframes glintBlink {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.45) rotate(0deg);
  }

  32% {
    opacity: 1;
    transform: scale(0.92) rotate(45deg);
  }

  46% {
    opacity: 0.72;
    transform: scale(1.08) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lamp-effect:hover .lamp-aura,
  .lamp-effect:hover .lamp-sheen,
  .lamp-effect:hover .lamp-glint,
  .lamp-effect:hover .lamp-core {
    animation: none;
  }
}

.hero-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  color: var(--muted);
}

.hero-strip p {
  max-width: 650px;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 820;
}

h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.1;
}

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

.hero-text,
.selection-copy p,
.service-grid p,
.contacts-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions,
.section-head,
.catalog-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  font-weight: 750;
}

.primary {
  background: var(--ink);
  color: var(--surface);
}

.secondary {
  border-color: rgba(20, 17, 15, 0.15);
  background: rgba(255, 250, 243, 0.78);
  color: var(--ink);
}

.quick-panel,
.catalog-section,
.selection-section,
.projects-section,
.contacts-section {
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 70px);
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  padding-top: 1px;
  padding-bottom: 1px;
}

.quick-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  padding: 26px;
  background: #211b17;
  color: var(--surface);
}

.quick-panel span {
  font-size: 20px;
  font-weight: 780;
}

.quick-panel b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(216, 162, 42, 0.45);
  border-radius: 50%;
  color: var(--gold);
}

.section-head {
  justify-content: space-between;
  margin-bottom: 26px;
}

.catalog-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 10px;
  border: 1px solid rgba(20, 17, 15, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
}

.catalog-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-search input {
  width: min(260px, 48vw);
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.chip {
  min-height: 38px;
  padding: 8px 13px;
  background: rgba(255, 250, 243, 0.82);
  color: var(--muted);
}

.chip.active {
  background: var(--sage);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 240px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(41, 31, 22, 0.08);
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  background: #fff;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.badge,
.stock {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--surface);
}

.stock {
  color: var(--sage);
  background: rgba(105, 116, 105, 0.12);
}

.stock.order {
  color: var(--gold-dark);
  background: rgba(216, 162, 42, 0.15);
}

.product-body {
  padding: 18px;
}

.product-title {
  min-height: 48px;
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
}

.product-code {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.product-description {
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.price-block {
  display: grid;
  gap: 2px;
}

.price {
  font-size: 22px;
  font-weight: 850;
}

.old-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
}

.product-actions a,
.product-actions button {
  min-height: 40px;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-weight: 780;
  cursor: pointer;
}

.cart-button {
  border: 0;
  background: var(--ink);
  color: var(--surface);
}

.cart-button.active {
  background: linear-gradient(135deg, #d99b28, #f4c35a);
  color: #22180d;
  box-shadow: 0 12px 22px rgba(198, 141, 29, 0.24);
}

.favorite-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
}

.favorite-button.active {
  border-color: rgba(216, 162, 42, 0.45);
  background: rgba(216, 162, 42, 0.12);
  color: var(--gold-dark);
}

.compare-button {
  grid-column: 1 / -1;
  border: 1px solid rgba(20, 17, 15, 0.12);
  background: rgba(255, 250, 243, 0.82);
  color: var(--ink);
}

.compare-button.active {
  border-color: rgba(216, 162, 42, 0.45);
  background: rgba(216, 162, 42, 0.14);
  color: var(--gold-dark);
  box-shadow: inset 0 0 0 1px rgba(216, 162, 42, 0.18);
}

.details {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  color: var(--ink);
}

.details-button {
  grid-column: 1 / -1;
  border: 1px solid rgba(216, 162, 42, 0.28);
  background: rgba(216, 162, 42, 0.12);
  color: var(--ink);
}

.product-open-link img {
  transition: transform 180ms ease;
}

.product-open-link:hover img,
.product-open-link:focus-visible img {
  transform: scale(1.025);
}

.product-title a:hover,
.product-title a:focus-visible {
  color: var(--gold-dark);
}

.product-page-section {
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 70px);
  border-top: 1px solid rgba(216, 162, 42, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(239, 229, 218, 0.82)),
    var(--paper);
}

.product-page-section[hidden] {
  display: none;
}

.product-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-weight: 850;
}

.product-page-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.product-page-gallery {
  display: grid;
  gap: 12px;
}

.product-page-main-photo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(360px, 42vw, 560px);
  padding: 0;
  border: 1px solid rgba(20, 17, 15, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(62, 43, 22, 0.12);
  cursor: zoom-in;
}

.product-page-main-photo img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  padding: clamp(18px, 3vw, 36px);
}

.product-page-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.product-page-thumb {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.product-page-thumb.active {
  border-color: rgba(216, 162, 42, 0.75);
  box-shadow: 0 0 0 3px rgba(216, 162, 42, 0.16);
}

.product-page-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.product-page-info {
  display: grid;
  align-content: start;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(20, 17, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: 0 18px 46px rgba(62, 43, 22, 0.09);
}

.product-page-info h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
}

.product-page-code {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-page-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.product-page-price .price {
  font-size: clamp(28px, 3vw, 42px);
}

.product-page-description {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.product-page-actions {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 50px minmax(170px, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.product-page-actions .cart-button,
.product-page-actions .favorite-button,
.product-page-actions .compare-button,
.product-page-actions .button {
  min-height: 50px;
  border-radius: 8px;
}

.product-page-actions .compare-button {
  grid-column: 1 / -1;
}

.product-page-actions .favorite-button {
  padding: 0;
}

.product-page-specs {
  margin-bottom: 0;
}

.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: clamp(32px, 5vw, 56px) auto 18px;
}

.related-head h2 {
  margin-bottom: 0;
}

.related-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.related-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(41, 31, 22, 0.07);
}

.related-card-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  background: #fff;
}

.related-card-image img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 16px;
}

.related-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.related-card h3 {
  margin: 0;
  min-height: 44px;
  font-size: 17px;
  line-height: 1.25;
}

.related-card h3 a:hover,
.related-card h3 a:focus-visible {
  color: var(--gold-dark);
}

.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.related-card-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: end;
}

.related-card-bottom .cart-button {
  min-height: 40px;
  border-radius: 8px;
}

.related-card-bottom .compare-button {
  min-height: 40px;
  border-radius: 8px;
}

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

.selection-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: start;
  background: #efe5da;
}

.selection-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(216, 162, 42, 0.32);
  border-radius: 8px;
  background: var(--surface);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 78px;
  resize: vertical;
}

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

.service-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
}

.service-grid span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold-dark);
  font-weight: 900;
}

.gallery-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(41, 31, 22, 0.08);
}

.work-image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}

.work-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.work-image:hover img,
.work-image:focus-visible img {
  transform: scale(1.035);
}

.work-body {
  padding: 16px;
}

.work-body h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.work-body p,
.works-empty {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.works-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed rgba(216, 162, 42, 0.36);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
}

.contacts-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  color: var(--surface);
}

.contacts-section p {
  color: rgba(255, 250, 243, 0.76);
}

.contacts-section a {
  color: var(--gold);
  font-weight: 800;
}

.qr {
  width: 148px;
  height: 148px;
  object-fit: contain;
  border: 10px solid var(--surface);
  border-radius: 8px;
  background: #fff;
}

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(20, 17, 15, 0.48);
}

.admin-panel.open {
  display: flex;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 38;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(20, 17, 15, 0.54);
}

.product-modal.open {
  display: flex;
}

.product-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 24px;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(20, 17, 15, 0.28);
}

.modal-gallery {
  display: grid;
  gap: 12px;
  align-content: start;
}

.modal-main-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
}

.modal-main-image img {
  width: 100%;
  min-height: 320px;
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.modal-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.modal-thumb.active {
  border-color: rgba(216, 162, 42, 0.75);
  box-shadow: 0 0 0 3px rgba(216, 162, 42, 0.16);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-modal-body {
  display: grid;
  align-content: start;
}

.product-modal-body h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.product-modal-body p {
  color: var(--muted);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.spec-list {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) 1fr;
  gap: 1px;
  overflow: hidden;
  margin: 14px 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  padding: 12px;
  background: #fff;
  font-size: 14px;
}

.spec-list dt {
  color: var(--muted);
  font-weight: 800;
}

.spec-list dd {
  color: var(--ink);
  font-weight: 750;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px;
  background: rgba(12, 10, 9, 0.92);
}

.photo-lightbox.open {
  display: flex;
}

.photo-lightbox img {
  max-width: min(1180px, 100%);
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 243, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.12);
  color: #fffaf3;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 28px;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 42px;
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.lightbox-count {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px 13px;
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.12);
  color: #fffaf3;
  font-weight: 800;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: none;
  justify-content: flex-end;
  background: rgba(20, 17, 15, 0.48);
}

.cart-modal.open {
  display: flex;
}

.cart-panel {
  width: min(100%, 720px);
  height: 100%;
  overflow: auto;
  padding: 24px;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(20, 17, 15, 0.2);
}

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

.cart-head h2 {
  margin-bottom: 0;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.cart-item img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.cart-item-body {
  display: grid;
  gap: 8px;
}

.cart-item-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.cart-item-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cart-item-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.cart-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-empty {
  padding: 28px;
  border: 1px dashed rgba(216, 162, 42, 0.38);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.68);
  color: var(--muted);
  line-height: 1.5;
}

.cart-footer {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  background: linear-gradient(180deg, rgba(246, 241, 234, 0), var(--paper) 24%);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(216, 162, 42, 0.26);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
}

.cart-total span {
  color: var(--muted);
  font-weight: 800;
}

.cart-total b {
  font-size: 24px;
}

.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 43;
  display: none;
  justify-content: flex-end;
  background: rgba(20, 17, 15, 0.48);
}

.compare-modal.open {
  display: flex;
}

.compare-panel {
  width: min(100%, 980px);
  height: 100%;
  overflow: auto;
  padding: 24px;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(20, 17, 15, 0.2);
}

.compare-empty,
.compare-hint {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(216, 162, 42, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
  color: var(--muted);
  line-height: 1.45;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  width: 220px;
  min-width: 220px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 150px;
  min-width: 150px;
  background: #fff7ed;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.compare-table td {
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.compare-product-cell {
  display: grid;
  gap: 10px;
}

.compare-product-cell img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  background: #fffaf3;
}

.compare-product-cell b {
  font-size: 16px;
  line-height: 1.25;
}

.compare-footer {
  margin-top: 14px;
}

.compare-floating {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 35;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(216, 162, 42, 0.36);
  border-radius: 8px;
  background: #211b17;
  box-shadow: 0 16px 38px rgba(36, 25, 14, 0.2);
  color: #fffaf3;
  cursor: pointer;
  font-weight: 850;
}

.compare-floating.has-items {
  display: inline-flex;
}

.compare-floating span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d99b28, #f4c35a);
  color: #211b17;
  font-size: 13px;
}

.admin-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: none;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(216, 162, 42, 0.36);
  border-radius: 8px;
  background: #211b17;
  box-shadow: 0 16px 38px rgba(36, 25, 14, 0.2);
  color: #fffaf3;
  cursor: pointer;
  font-weight: 800;
}

body.admin-mode .admin-floating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-floating:hover,
.admin-floating:focus-visible {
  background: #bd8420;
}

.admin-shell {
  width: min(100%, 920px);
  height: 100%;
  overflow: auto;
  padding: 24px;
  background: var(--paper);
}

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

.admin-head h2 {
  margin-bottom: 0;
}

.admin-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

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

.admin-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.admin-add-select span {
  font-size: 13px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.admin-summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.admin-summary b {
  color: var(--ink);
}

.admin-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.admin-item img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

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

.admin-fields label:first-child {
  grid-column: span 2;
}

.admin-fields .image-field {
  grid-column: 1 / -1;
}

.admin-fields .description-field {
  grid-column: 1 / -1;
}

.gallery-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.gallery-slot {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.gallery-slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.gallery-slot input {
  min-height: 38px;
  padding: 8px;
  font-size: 12px;
}

.restore-header {
  grid-column: 1 / -1;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
}

.mini-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
}

.mini-button.danger {
  color: #8b2f1d;
  background: #fff6f2;
}

.reset-button {
  width: 100%;
  margin-top: 16px;
}

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

  .top-actions {
    justify-content: flex-end;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .selection-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

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

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

@media (max-width: 640px) {
  .topbar {
    gap: 10px;
    padding: 12px;
  }

  .brand {
    font-size: 24px;
    min-width: 210px;
    padding: 10px 18px 11px;
  }

  .admin-open {
    padding: 9px 10px;
  }

  .top-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .top-icon,
  .admin-open {
    flex: 1;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .product-grid,
  .service-grid,
  .quick-panel,
  .contacts-section {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 210px auto;
  }

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

  .admin-fields label:first-child,
  .admin-fields .description-field {
    grid-column: 1;
  }

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

.topbar {
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: clamp(22px, 3vw, 44px);
  min-height: 104px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(20, 17, 15, 0.08);
  background: rgba(248, 243, 236, 0.96);
  box-shadow: none;
}

.brand {
  justify-items: start;
  gap: 0;
  min-width: 148px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  font-size: clamp(27px, 2.35vw, 36px);
  line-height: 0.88;
  text-align: left;
  letter-spacing: 0;
}

.brand span,
.brand strong {
  display: block;
  color: #111;
}

.brand strong {
  color: #bd8420;
}

.nav {
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}

.nav a {
  padding: 9px 0;
  border-radius: 0;
  background: transparent;
  color: #16120f;
  font-size: 16px;
  font-weight: 650;
}

.nav a:hover {
  background: transparent;
  color: #bd8420;
}

.top-actions {
  gap: 14px;
}

.top-icon {
  min-width: 70px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 26px rgba(67, 48, 25, 0.08);
  color: #17120f;
  font-size: 18px;
}

.top-icon span {
  min-width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #17120f;
  font-size: 18px;
}

.phone-block {
  display: grid;
  gap: 3px;
  min-width: 176px;
  color: #17120f;
  white-space: nowrap;
}

.phone-block b {
  font-size: 21px;
  line-height: 1;
}

.phone-block span {
  color: #5d5550;
  font-size: 13px;
}

.admin-open {
  min-height: 44px;
  border-radius: 8px;
  background: #211b17;
}

.shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: 0;
  min-height: 650px;
  padding: 0;
  background: #f8f3ec;
}

.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #fbf8f2 0%, rgba(251, 248, 242, 0.94) 32%, rgba(251, 248, 242, 0.55) 49%, rgba(251, 248, 242, 0) 65%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 700px;
  padding: clamp(48px, 5vw, 78px) clamp(22px, 4vw, 58px);
}

.hero-copy h2 {
  margin: 0 0 28px;
  color: #17120f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.5vw, 92px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy h2 span {
  display: block;
  color: #b98520;
}

.hero-copy p {
  max-width: 500px;
  margin: 0 0 32px;
  color: #5d5550;
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions {
  gap: 18px;
}

.hero-actions .button {
  min-width: 226px;
  min-height: 58px;
  border-radius: 8px;
  font-size: 18px;
}

.hero-actions .primary {
  background: linear-gradient(180deg, #eab13a 0%, #c88b1d 100%);
  box-shadow: 0 14px 24px rgba(191, 132, 27, 0.28);
  color: #fff;
}

.hero-actions .secondary {
  border-color: rgba(173, 124, 38, 0.48);
  background: rgba(255, 255, 255, 0.56);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(108px, 1fr));
  gap: 16px;
  max-width: 690px;
  margin-top: 52px;
}

.hero-benefits a {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: start;
  color: #17120f;
}

.hero-benefits i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 162, 42, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: #c08a24;
  font-style: normal;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-benefits b {
  font-size: 14px;
  line-height: 1.25;
}

.hero-benefits span {
  color: #5d5550;
  font-size: 12px;
  line-height: 1.45;
}

.hero-benefits a:hover i {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(216, 162, 42, 0.14), 0 10px 22px rgba(160, 104, 24, 0.12);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 0;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 243, 236, 0) 60%, rgba(248, 243, 236, 0.4) 100%);
}

.hero-visual figcaption {
  position: absolute;
  left: 38%;
  bottom: 34px;
  z-index: 3;
  display: grid;
  justify-items: center;
  min-width: 210px;
  padding: 25px 28px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 18px 46px rgba(62, 43, 22, 0.16);
  color: #17120f;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-visual figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.hero-visual figcaption span {
  margin-top: 4px;
  font-size: 16px;
}

.hero-visual figcaption small {
  margin-top: 6px;
  color: #5d5550;
  font-size: 13px;
}

.hero-visual figcaption b {
  margin-top: 12px;
  padding: 9px 18px;
  border: 1px solid rgba(185, 133, 32, 0.45);
  border-radius: 8px;
  color: #bd8420;
  font-size: 20px;
}

.category-showcase {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: -1px clamp(18px, 3.5vw, 44px) 0;
  padding: 16px;
  border: 1px solid rgba(20, 17, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 16px 46px rgba(62, 43, 22, 0.1);
}

.category-card {
  display: grid;
  grid-template-columns: 112px 1fr 18px;
  gap: 18px;
  align-items: center;
  min-height: 138px;
  padding: 10px 14px 10px 10px;
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.category-card img {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background: #f2eadf;
  object-fit: cover;
}

.category-card b {
  display: block;
  color: #17120f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.15;
}

.category-card small {
  display: block;
  margin-top: 12px;
  color: #4f4741;
  font-size: 13px;
  line-height: 1.45;
}

.category-card i {
  justify-self: end;
  color: #b98520;
  font-size: 26px;
  font-style: normal;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(88, 61, 30, 0.09);
  transform: translateY(-2px);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 70px);
  background: #f8f3ec;
}

.service-strip a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  color: #17120f;
}

.service-strip i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #bd8420;
  font-size: 25px;
  font-style: normal;
}

.service-strip b {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.service-strip small {
  color: #5d5550;
  font-size: 14px;
}

.site-settings-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px clamp(18px, 5vw, 70px) 0;
  padding: 22px;
  border: 1px solid rgba(216, 162, 42, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
}

.site-settings-preview h2 {
  max-width: 760px;
  margin: 0;
  font-size: 24px;
}

.admin-settings {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(216, 162, 42, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
}

.admin-settings h3 {
  margin-bottom: 14px;
}

.admin-help {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.work-upload {
  margin-bottom: 14px;
}

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

.admin-work-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.admin-work-item > img {
  width: 120px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.admin-work-fields {
  grid-template-columns: minmax(180px, 0.75fr) minmax(240px, 1.25fr);
}

.admin-work-fields .image-field,
.admin-work-fields .admin-item-actions {
  grid-column: 1 / -1;
}

.admin-empty {
  padding: 16px;
  border: 1px dashed rgba(216, 162, 42, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--muted);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .shop-hero {
    grid-template-columns: 1fr;
    min-height: 640px;
  }

  .shop-hero::before {
    background: linear-gradient(90deg, rgba(251, 248, 242, 0.97) 0%, rgba(251, 248, 242, 0.86) 52%, rgba(251, 248, 242, 0.28) 100%);
  }

  .hero-copy {
    min-height: 640px;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
  }

  .hero-visual figcaption {
    right: 28px;
    left: auto;
    transform: none;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

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

@media (max-width: 760px) {
  .topbar {
    gap: 14px;
    min-height: auto;
    padding: 14px;
  }

  .brand {
    min-width: 128px;
    font-size: 26px;
  }

  .top-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .phone-block {
    flex: 1 1 180px;
  }

  .admin-open,
  .top-icon {
    flex: 1 1 auto;
  }

  .shop-hero,
  .hero-copy {
    min-height: 700px;
  }

  .hero-copy {
    padding: 38px 18px;
  }

  .hero-copy h2 {
    font-size: 46px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-benefits,
  .category-showcase,
  .service-strip {
    grid-template-columns: 1fr;
  }

  .category-card {
    grid-template-columns: 92px 1fr 18px;
  }

  .category-card img {
    width: 92px;
    height: 92px;
  }

  .site-settings-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual figcaption {
    right: 18px;
    bottom: 18px;
    min-width: 176px;
    padding: 18px;
  }
}

.topbar,
.shop-hero,
.category-showcase,
.service-strip,
.site-settings-preview {
  display: none;
}

.reference-home {
  position: relative;
  max-width: 1536px;
  margin: 0 auto;
  background: #f8f3ec;
}

.reference-home img {
  display: block;
  width: 100%;
  height: auto;
}

.reference-title-rewrite,
.reference-phone-rewrite {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  color: #10100f;
}

.reference-title-rewrite {
  background: #f8f3ec;
  box-shadow: 0 0 0 12px #f8f3ec;
}

.reference-title-rewrite {
  left: 2.7%;
  top: 1.6%;
  display: flex;
  align-items: center;
  width: 18.8%;
  height: 7%;
  font-size: clamp(15px, 2.25vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.reference-title-rewrite::before,
.reference-phone-rewrite::before {
  content: "";
  position: absolute;
  inset: -8px -12px;
  z-index: -1;
  background: #f8f3ec;
}

.reference-phone-rewrite::before {
  inset: -5px -3px;
  background: #f8f3ec;
}

.reference-phone-rewrite {
  left: 83.05%;
  top: 2.35%;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 14.4%;
  height: 5.7%;
  text-align: center;
}

.reference-phone-rewrite b {
  display: block;
  font-size: clamp(9px, 1.42vw, 23px);
  line-height: 1.05;
  white-space: nowrap;
}

.reference-phone-rewrite span {
  display: block;
  margin-top: 4px;
  color: #4e4741;
  font-size: clamp(7px, 0.82vw, 13px);
  line-height: 1.1;
  white-space: nowrap;
}

.reference-projects-rewrite {
  position: absolute;
  z-index: 3;
  left: 39.35%;
  top: 3.65%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10.5%;
  height: 3.4%;
  background: transparent;
  box-shadow: none;
  color: #16120f;
  font-size: clamp(7px, 1.02vw, 16px);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.reference-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  outline: 0 solid rgba(216, 162, 42, 0);
  background: rgba(216, 162, 42, 0);
  cursor: pointer;
  transition: outline-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.reference-hotspot:hover,
.reference-hotspot:focus-visible {
  outline: 2px solid rgba(216, 162, 42, 0.38);
  background: rgba(216, 162, 42, 0.055);
  box-shadow: 0 0 0 5px rgba(216, 162, 42, 0.08);
}

.hot-nav-catalog {
  left: 22.8%;
  top: 3.8%;
  width: 5.8%;
  height: 3.7%;
}

.hot-nav-selection {
  left: 29.7%;
  top: 3.8%;
  width: 8.5%;
  height: 3.7%;
}

.hot-nav-projects {
  left: 39.3%;
  top: 3.8%;
  width: 10.7%;
  height: 3.7%;
}

.hot-nav-about {
  left: 51.1%;
  top: 3.8%;
  width: 5.4%;
  height: 3.7%;
}

.hot-nav-contacts {
  left: 57.1%;
  top: 3.8%;
  width: 6.1%;
  height: 3.7%;
}

.hot-favorites {
  left: 70.1%;
  top: 2.8%;
  width: 4.7%;
  height: 5%;
}

.hot-cart {
  left: 76.5%;
  top: 2.8%;
  width: 4.7%;
  height: 5%;
}

.hot-cart.has-items {
  background: rgba(216, 162, 42, 0.08);
  box-shadow: 0 0 0 5px rgba(216, 162, 42, 0.1), 0 0 22px rgba(216, 162, 42, 0.2);
}

.reference-cart-count {
  position: absolute;
  z-index: 4;
  left: 79.15%;
  top: 3.9%;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(198, 141, 29, 0.32);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  color: #1f1711;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(64, 38, 12, 0.12);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.reference-cart-count.has-items {
  background: linear-gradient(135deg, #d99b28, #f4c35a);
  border-color: rgba(255, 250, 243, 0.62);
  color: #1f1711;
}

.hot-phone {
  left: 83.1%;
  top: 2.6%;
  width: 13.6%;
  height: 5.6%;
}

.hot-cta-selection {
  left: 3.6%;
  top: 48.1%;
  width: 16.8%;
  height: 5.8%;
}

.hot-cta-catalog {
  left: 21.8%;
  top: 48.1%;
  width: 14.9%;
  height: 5.8%;
}

.hot-benefit-quality {
  left: 3.1%;
  top: 58.6%;
  width: 10.8%;
  height: 9.2%;
}

.hot-benefit-help {
  left: 14.5%;
  top: 58.6%;
  width: 10.4%;
  height: 9.2%;
}

.hot-benefit-delivery {
  left: 25.1%;
  top: 58.6%;
  width: 10.4%;
  height: 9.2%;
}

.hot-benefit-service {
  left: 35.8%;
  top: 58.6%;
  width: 11.6%;
  height: 9.2%;
}

.hot-card-chandeliers {
  left: 2.8%;
  top: 74.6%;
  width: 18.9%;
  height: 16.5%;
}

.hot-card-sconces {
  left: 22.5%;
  top: 74.6%;
  width: 17.7%;
  height: 16.5%;
}

.hot-card-table {
  left: 41.0%;
  top: 74.6%;
  width: 18.7%;
  height: 16.5%;
}

.hot-card-outdoor {
  left: 60.5%;
  top: 74.6%;
  width: 18.2%;
  height: 16.5%;
}

.hot-card-sale {
  left: 79.3%;
  top: 74.6%;
  width: 17.9%;
  height: 16.5%;
}

.hot-service-consult {
  left: 6.5%;
  top: 93.6%;
  width: 20.5%;
  height: 5.8%;
}

.hot-service-pay {
  left: 39.5%;
  top: 93.6%;
  width: 20.5%;
  height: 5.8%;
}

.hot-service-return {
  left: 70.2%;
  top: 93.6%;
  width: 20.5%;
  height: 5.8%;
}

@media (max-width: 760px) {
  .reference-hotspot {
    min-width: 24px;
    min-height: 24px;
  }

  .product-modal-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .modal-main-image img {
    min-height: 220px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .modal-thumbs,
  .gallery-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-lightbox {
    padding: 58px 14px;
  }

  .lightbox-nav {
    width: 40px;
    height: 58px;
    font-size: 34px;
  }
}

@media (max-width: 980px) {
  .product-page-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .product-page-section {
    padding: 28px 14px;
  }

  .product-page-layout,
  .related-products {
    grid-template-columns: 1fr;
  }

  .product-page-main-photo {
    min-height: 300px;
  }

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

  .product-page-actions {
    grid-template-columns: 1fr 52px;
  }

  .product-page-actions .button {
    grid-column: 1 / -1;
  }

  .product-page-actions .compare-button {
    grid-column: 1 / -1;
  }

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

  .compare-panel {
    padding: 16px;
  }

  .compare-floating {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: center;
  }

  .compare-table th {
    min-width: 118px;
  }

  .compare-table td {
    min-width: 190px;
  }

  .admin-work-item,
  .admin-work-fields {
    grid-template-columns: 1fr;
  }

  .admin-work-item > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
