:root {
  --bg: #18181b;
  --panel: #232327;
  --panel-2: #2b2b30;
  --panel-soft: #303036;
  --text: #f5f2f4;
  --muted: #b5adb2;
  --line: rgba(255,255,255,.10);
  --accent: #d7a6b8;
  --accent-strong: #efbdd0;
  --accent-deep: #b57d93;
  --danger: #ef9ba3;
  --radius: 26px;
  --shadow: 0 28px 80px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 0%, rgba(215,166,184,.16), transparent 34%),
    radial-gradient(circle at 10% 34%, rgba(255,255,255,.035), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.site-page {
  position: relative;
  min-height: 100vh;
  background: #120f12;
  isolation: isolate;
}
.site-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url("/assets/site-background-neon-love.png") center top / cover no-repeat;
  opacity: .52;
  transform: scale(1.02);
  pointer-events: none;
}
.site-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,7,9,.78) 0%, rgba(10,9,12,.66) 18%, rgba(13,12,15,.75) 45%, rgba(11,10,13,.88) 100%),
    radial-gradient(circle at 18% 34%, rgba(255, 56, 154, .16), transparent 30%),
    radial-gradient(circle at 78% 20%, rgba(255, 56, 154, .15), transparent 28%);
  pointer-events: none;
}
.site-page .site-header {
  background: rgba(14, 12, 16, .72);
  border-bottom-color: rgba(255,255,255,.12);
}
.site-page .hero,
.site-page .catalog-section,
.site-page .info-strip,
.site-page .section-block,
.site-page .about-section,
.site-page .howto-section,
.site-page .reviews-section,
.site-page .contact-section,
.site-page footer {
  position: relative;
  z-index: 1;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: rgba(24,24,27,.82);
  backdrop-filter: blur(18px);
}
.brand {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .34em;
}
.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: .95rem;
}
.nav a:hover { color: var(--text); }

main, footer {
  width: min(1480px, calc(100% - 40px));
  margin-inline: auto;
}
.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
  padding: 90px 3vw;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 800;
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3.6rem, 7vw, 7.5rem);
  line-height: .92;
  letter-spacing: -.07em;
}
.hero p {
  max-width: 660px;
  margin: 0 0 34px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.08rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-strong);
  color: #2c2327;
}
.btn-primary:hover { background: #ffd2e8; }
.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-wide { width: 100%; margin-top: 14px; }

.hero-art {
  min-height: 580px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.hero-orb-one {
  width: 390px; height: 390px;
  background: linear-gradient(145deg, #9b7f8b, #3c3b40);
  box-shadow: inset -40px -40px 80px rgba(0,0,0,.34);
}
.hero-orb-two {
  width: 210px; height: 210px;
  right: 7%;
  bottom: 10%;
  background: linear-gradient(145deg, #e6bccd, #8b7881);
  opacity: .72;
}
.hero-card {
  position: relative;
  width: min(390px, 78vw);
  aspect-ratio: .72;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  transform: rotate(-7deg);
}
.hero-card span { letter-spacing: .3em; font-weight: 800; }
.hero-card strong { font-size: 7rem; line-height: 1; }
.hero-card small { color: var(--muted); letter-spacing: .14em; }

.catalog-section { padding: 90px 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -.05em;
}
.result-count { color: var(--muted); }

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 260px auto;
  gap: 14px;
  margin-bottom: 20px;
}
.search-box,
.catalog-toolbar select,
.stock-filter {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.catalog-toolbar select { padding: 0 16px; }
.stock-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}
.stock-filter input { accent-color: var(--accent); }

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}
.category-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
}
.category-button.active {
  background: var(--text);
  color: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
}
.product-card {
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .24s ease, border-color .24s ease;
}
.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,.2);
}
.product-image-wrap {
  aspect-ratio: .86;
  overflow: hidden;
  background: #2a2a2f;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover img { transform: scale(1.035); }
.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(28,28,31,.86);
  backdrop-filter: blur(8px);
  font-size: .75rem;
  font-weight: 800;
}
.badge-sale { background: var(--accent-strong); color: #24161e; }
.badge-out { color: var(--danger); }
.product-card-content { padding: 20px; }
.product-category {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.product-card h3 { margin: 9px 0 8px; font-size: 1.25rem; }
.product-card p {
  min-height: 48px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: .9rem;
}
.product-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.price-group { display: flex; flex-direction: column; }
.price-group strong { font-size: 1.24rem; }
.price-group del { color: var(--muted); font-size: .82rem; }
.details-button {
  border: 0;
  border-bottom: 1px solid var(--accent);
  background: transparent;
  color: var(--accent-strong);
  padding: 4px 0;
}
.empty-state {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 60px 0 120px;
}
.info-card {
  min-height: 270px;
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel-2), var(--panel));
}
.info-visual {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.info-visual img {
  width: 64px;
  height: 64px;
  display: block;
}
.info-card h3 {
  margin: 16px 0 2px;
  font-size: 1.5rem;
}
.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.info-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
}
.info-tags span {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(239,189,208,.14);
  border-radius: 999px;
  background: rgba(239,189,208,.06);
  color: #f4dbe6;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.contact-section {
  margin-bottom: 100px;
  padding: clamp(34px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(120deg, rgba(111,92,101,.78), rgba(42,42,47,.96));
}
.contact-section p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
footer strong { color: var(--text); letter-spacing: .2em; }
footer a { color: var(--accent); }

.modal-backdrop,
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18,18,20,.84);
  backdrop-filter: blur(16px);
}
.age-gate { z-index: 200; }
.age-card {
  width: min(530px, 100%);
  padding: 42px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.age-badge {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #2c2327;
  font-size: 1.7rem;
  font-weight: 900;
}
.age-card h1 { margin: 0 0 16px; }
.age-card p { color: var(--muted); line-height: 1.65; }
.age-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.product-modal {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(900px, calc(100vh - 36px));
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(28,28,31,.9);
  color: var(--text);
  font-size: 1.65rem;
}
.modal-gallery {
  padding: 18px;
  background: #1c1c20;
}
.modal-gallery > img {
  width: 100%;
  aspect-ratio: .84;
  object-fit: cover;
  border-radius: 22px;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumb {
  width: 70px; height: 84px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  opacity: .6;
}
.gallery-thumb.active { opacity: 1; border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-content {
  padding: clamp(30px, 5vw, 64px);
  align-self: center;
}
.modal-category { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.modal-content h2 { margin: 10px 0 14px; font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.05em; }
.modal-price-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.modal-price-row strong { font-size: 1.6rem; }
.modal-price-row del { color: var(--muted); }
.modal-description { color: var(--muted); line-height: 1.7; }
.option-group { margin-top: 24px; }
.option-group > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: .85rem; }
.option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
}
.option-chip.active { border-color: var(--accent); background: rgba(213,154,185,.12); }
.product-details {
  margin: 28px 0 18px;
  border-top: 1px solid var(--line);
}
.product-details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.product-details dt { color: var(--muted); }
.product-details dd { margin: 0; text-align: right; }

.admin-page {
  min-height: 100vh;
  padding: 30px;
}
.admin-shell { width: min(1400px, 100%); margin: 0 auto; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.admin-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
.admin-login {
  width: min(520px, calc(100% - 36px));
  margin: 12vh auto 0;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: .84rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1c1c20;
  color: var(--text);
}
.field textarea { min-height: 110px; resize: vertical; }
.check-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0; }
.check-row label { display: flex; align-items: center; gap: 8px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.admin-tab {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}
.admin-tab.active { background: var(--text); color: var(--bg); }
.admin-products { display: grid; gap: 10px; margin-top: 24px; }
.admin-product {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.admin-product img { width: 70px; height: 80px; object-fit: cover; border-radius: 10px; }
.admin-product small { color: var(--muted); }
.message { margin-top: 14px; color: var(--accent); }
.danger { color: var(--danger); }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-art { min-height: 440px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-section { align-items: flex-start; flex-direction: column; }
  .product-modal { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  main, footer { width: min(100% - 24px, 1480px); }
  .site-header { padding: 16px 18px; }
  .hero { min-height: auto; padding: 64px 0 40px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-art { min-height: 390px; }
  .hero-card { width: 260px; }
  .hero-card strong { font-size: 5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .age-card { padding: 28px 20px; }
  .age-actions { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 0; align-items: end; }
  .product-modal { max-height: 94vh; border-radius: 26px 26px 0 0; }
  .modal-content { padding: 28px 20px 36px; }
  .admin-page { padding: 14px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .admin-product { grid-template-columns: 54px 1fr; }
  .admin-product img { width: 54px; height: 64px; }
}

.brand {
  min-height: 34px;
}
.brand-logo {
  display: block;
  width: auto;
  max-width: 190px;
  height: 38px;
  object-fit: contain;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
}
.footer-logo {
  display: block;
  width: auto;
  max-width: 170px;
  height: 34px;
  object-fit: contain;
}


.badge-custom {
  margin-left: 6px;
  background: rgba(239,189,208,.18);
  color: var(--accent-strong);
  border: 1px solid rgba(239,189,208,.22);
}

.field-hint {
  color: var(--muted);
  line-height: 1.5;
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 0;
}
.upload-preview img {
  width: 74px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.logo-preview-box {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}
.logo-preview-box span {
  color: var(--muted);
}
.logo-preview-box img {
  max-width: 260px;
  max-height: 72px;
  object-fit: contain;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 20px;
}
.dashboard-card {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--panel-2), var(--panel-soft));
}
.dashboard-card span {
  color: var(--muted);
}
.dashboard-card strong {
  font-size: 2.7rem;
  letter-spacing: -.06em;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.backup-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-top: 22px;
}
.backup-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}
.backup-card h3 {
  margin-top: 0;
}
.backup-card p {
  color: var(--muted);
  line-height: 1.6;
}
.backup-card input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1c1c20;
  color: var(--text);
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 620px) {
  .dashboard-grid,
  .backup-grid {
    grid-template-columns: 1fr;
  }
}


.section-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.how-to-section {
  padding: 40px 0 120px;
}
.how-to-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.how-to-card {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--panel-2), var(--panel));
}
.how-to-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.how-to-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.how-to-icon img {
  width: 64px;
  height: 64px;
  display: block;
}
.how-to-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.how-to-tags span {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(239,189,208,.14);
  border-radius: 999px;
  background: rgba(239,189,208,.06);
  color: #f4dbe6;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.purchase-method-content {
  margin-top: 24px;
}
.purchase-method-content h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  line-height: 1.25;
}
.how-to-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
}
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.contact-methods a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(255,255,255,.03);
}
.contact-method-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.contact-method-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(239,189,208,.25);
  background: rgba(239,189,208,.06);
}
.contact-method-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}
.contact-method-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.contact-method-email {
  color: var(--text);
  font-size: .95rem;
  font-weight: 900;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.footer-links button:hover,
.footer-links a:hover {
  color: var(--accent-strong);
}
.legal-modal {
  position: relative;
  width: min(780px, 100%);
  max-height: min(820px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.legal-modal h2 {
  margin: 4px 0 24px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -.05em;
}
.legal-content {
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.8;
}
.legal-textarea {
  min-height: 220px !important;
}
code {
  color: var(--accent-strong);
}

@media (max-width: 1180px) {
  .how-to-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 680px) {
  .how-to-grid {
    grid-template-columns: 1fr;
  }
}


.recent-section {
  padding: 20px 0 90px;
}
.compact-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
}
.recent-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.recent-card {
  min-width: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: 74px minmax(0,1fr);
  gap: 13px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
}
.recent-card img {
  width: 74px;
  height: 86px;
  object-fit: cover;
  border-radius: 11px;
}
.recent-card span {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.recent-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-card small {
  color: var(--accent-strong);
}
.option-chip:disabled {
  opacity: .32;
  cursor: not-allowed;
  text-decoration: line-through;
}
.selection-summary {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(239,189,208,.18);
  border-radius: 14px;
  background: rgba(239,189,208,.07);
  color: var(--accent-strong);
  font-size: .9rem;
}

.variant-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.variant-heading > div {
  display: grid;
  gap: 7px;
}
.variant-list {
  display: grid;
  gap: 9px;
}
.variant-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 120px auto 42px;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}
.variant-row input {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1c1c20;
  color: var(--text);
}
.variant-active {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  white-space: nowrap;
}
.variant-remove {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--danger);
  font-size: 1.25rem;
}
.admin-catalog-tools {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 12px;
  margin-top: 30px;
}
.admin-catalog-tools select {
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
}
.admin-product {
  grid-template-columns: 70px minmax(200px,1fr) auto;
}
.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.admin-product-actions .btn {
  min-height: 40px;
  padding: 0 13px;
  font-size: .84rem;
}

@media (max-width: 1050px) {
  .recent-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .variant-row {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .variant-active,
  .variant-remove {
    justify-self: start;
  }
}
@media (max-width: 700px) {
  .recent-grid,
  .admin-catalog-tools {
    grid-template-columns: 1fr;
  }
  .variant-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-product {
    grid-template-columns: 54px 1fr;
  }
  .admin-product-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}


.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.favorites-toggle {
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--text);
}
.favorites-toggle > span:first-child {
  color: var(--accent-strong);
  font-size: 1.15rem;
}
.favorites-toggle strong {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--panel-soft);
  font-size: .74rem;
}
.favorites-toggle.active {
  border-color: rgba(239,189,208,.5);
  background: rgba(239,189,208,.12);
}

.category-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.category-button small {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: .7rem;
}
.category-description {
  max-width: 760px;
  margin: -18px 0 30px;
  color: var(--muted);
  line-height: 1.65;
}

.product-card {
  isolation: isolate;
}
.product-favorite {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(28,28,31,.82);
  color: var(--accent-strong);
  font-size: 1.25rem;
  backdrop-filter: blur(10px);
}
.product-favorite.active {
  background: var(--accent-strong);
  color: #35282e;
}
.product-badges {
  right: 64px;
}
.modal-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.modal-favorite {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--accent-strong);
  font-size: 1.35rem;
}
.modal-favorite.active {
  background: var(--accent-strong);
  color: #35282e;
}

.image-manager {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
  gap: 12px;
}
.image-manager-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}
.image-manager-item img {
  width: 100%;
  aspect-ratio: .86;
  display: block;
  object-fit: cover;
}
.image-manager-actions {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
  padding: 8px;
}
.image-manager-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1c1c20;
  color: var(--text);
}
.image-manager-actions button:disabled {
  opacity: .3;
}
.image-manager-actions .danger {
  color: var(--danger);
}
.image-manager-item small {
  display: block;
  padding: 0 9px 10px;
  color: var(--muted);
}

.panel-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}
.panel-title-row h2 {
  margin-top: 0;
}
.panel-description {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.65;
}
.category-admin-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.category-admin-row {
  display: grid;
  grid-template-columns: 76px 1fr 1.7fr 110px auto 42px;
  gap: 9px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}
.category-admin-row input {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1c1c20;
  color: var(--text);
}
.category-icon-input {
  text-align: center;
  font-size: 1.15rem;
}
.category-active-input {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  white-space: nowrap;
}
.category-remove-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--danger);
  font-size: 1.25rem;
}
.category-save-row {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.category-fallback-field {
  width: min(430px,100%);
}
.category-fallback-field select {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #1c1c20;
  color: var(--text);
}
.settings-note {
  padding: 14px 16px;
  border: 1px solid rgba(239,189,208,.16);
  border-radius: 13px;
  background: rgba(239,189,208,.06);
  color: var(--muted);
}

@media (max-width: 1000px) {
  .category-admin-row {
    grid-template-columns: 70px 1fr 1fr;
  }
  .category-active-input,
  .category-remove-button {
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .header-right {
    gap: 10px;
  }
  .favorites-label {
    display: none;
  }
  .panel-title-row,
  .category-save-row {
    flex-direction: column;
    align-items: stretch;
  }
  .category-admin-row {
    grid-template-columns: 64px 1fr;
  }
  .category-description-input,
  .category-order-input {
    grid-column: 1 / -1;
  }
}


#heroPlaceholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero-custom-image {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  height: 590px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
}
.featured-section {
  padding: 40px 0 100px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.featured-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease;
}
.featured-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239,189,208,.32);
}
.featured-image {
  position: relative;
  aspect-ratio: .92;
  overflow: hidden;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-favorite {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background: rgba(28,28,31,.82);
  color: var(--accent-strong);
  font-size: 1.2rem;
}
.featured-favorite.active {
  background: var(--accent-strong);
  color: #35282e;
}
.featured-content {
  padding: 20px;
}
.featured-content > span {
  color: var(--muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.featured-content h3 {
  margin: 9px 0 16px;
  font-size: 1.25rem;
}
.featured-content div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.featured-content del {
  color: var(--muted);
  font-size: .82rem;
}

.promo-section {
  min-height: 440px;
  margin: 20px 0 110px;
  display: grid;
  grid-template-columns: 1fr .86fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(130deg, rgba(95,78,87,.84), rgba(39,39,43,.98));
}
.promo-copy {
  padding: clamp(34px, 6vw, 76px);
  align-self: center;
}
.promo-copy h2 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.promo-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #d2c9ce;
  line-height: 1.7;
}
.promo-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.025);
}
.promo-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.promo-placeholder {
  width: min(320px, 72%);
  aspect-ratio: .78;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  transform: rotate(5deg);
}
.promo-placeholder span {
  letter-spacing: .24em;
  font-size: .76rem;
}
.promo-placeholder strong {
  font-size: 3.6rem;
}
.promo-placeholder small {
  font-size: 1.6rem;
  color: var(--accent-strong);
}

.analytics-heading {
  margin-top: 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.analytics-heading h2 {
  margin: 0 0 7px;
}
.analytics-heading p {
  margin: 0;
  color: var(--muted);
}
.analytics-controls {
  display: flex;
  gap: 10px;
}
.analytics-controls select {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1c1c20;
  color: var(--text);
}
.analytics-grid {
  margin-top: 18px;
}
.analytics-table-wrap {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-soft);
}
.analytics-table-wrap h3 {
  margin-top: 0;
}
.analytics-table {
  display: grid;
  gap: 8px;
}
.analytics-row {
  display: grid;
  grid-template-columns: 42px minmax(180px,1fr) repeat(3, minmax(110px,auto));
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.analytics-row > span:not(.analytics-rank) {
  color: var(--muted);
  text-align: right;
}
.analytics-rank {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(239,189,208,.1);
  color: var(--accent-strong);
}
.analytics-empty {
  color: var(--muted);
}
.settings-subsection {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel-soft);
}
.setting-image-preview {
  min-height: 150px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px dashed var(--line);
  border-radius: 15px;
  background: #1c1c20;
}
.setting-image-preview span {
  color: var(--muted);
}
.setting-image-preview img {
  max-width: 320px;
  max-height: 150px;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 1000px) {
  .featured-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .promo-section {
    grid-template-columns: 1fr;
  }
  .analytics-row {
    grid-template-columns: 36px 1fr;
  }
  .analytics-row > span:not(.analytics-rank) {
    text-align: left;
    grid-column: 2;
  }
}
@media (max-width: 650px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .hero-custom-image {
    height: 430px;
  }
  .analytics-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .analytics-controls {
    flex-wrap: wrap;
  }
  .setting-image-preview {
    align-items: flex-start;
    flex-direction: column;
  }
}


.admin-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.session-chip {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(239,189,208,.2);
  border-radius: 999px;
  background: rgba(239,189,208,.07);
  color: var(--accent-strong);
  font-size: .78rem;
}
.backup-card-wide {
  grid-column: 1 / -1;
}
.full-backup-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.full-backup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}
.full-backup-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.full-backup-row small {
  color: var(--muted);
}
.full-backup-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.full-backup-actions .btn {
  min-height: 38px;
  padding: 0 12px;
  font-size: .82rem;
}
#loginButton:disabled {
  opacity: .55;
  cursor: wait;
}

@media (max-width: 720px) {
  .admin-header-actions {
    justify-content: flex-start;
  }
  .session-chip {
    width: 100%;
  }
  .full-backup-row {
    align-items: stretch;
    flex-direction: column;
  }
  .full-backup-actions {
    justify-content: flex-start;
  }
}


.announcement-bar {
  position: relative;
  z-index: 60;
  min-height: 42px;
  padding: 8px clamp(18px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: var(--accent-strong);
  color: #30242a;
  font-size: .9rem;
  font-weight: 800;
}
.announcement-bar:hover {
  background: #ffd0e2;
}
.maintenance-mode {
  min-height: 100vh;
  overflow: hidden;
}
.maintenance-screen {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 15%, rgba(239,189,208,.2), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.05), transparent 28%),
    var(--bg);
}
.maintenance-card {
  width: min(720px, 100%);
  padding: clamp(34px, 7vw, 80px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(145deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}
.maintenance-logo {
  margin-bottom: 60px;
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .22em;
}
.maintenance-card h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.maintenance-card p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}


.diagnostics-panel {
  margin-top: 54px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.diagnostics-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}
.diagnostics-heading h2 {
  margin: 0 0 8px;
}
.diagnostics-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.diagnostics-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 20px;
}
.diagnostics-summary article {
  min-height: 105px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}
.diagnostics-summary span {
  color: var(--muted);
}
.diagnostics-summary strong {
  font-size: 2rem;
}
.diagnostics-list {
  max-height: 520px;
  margin-top: 18px;
  display: grid;
  gap: 8px;
  overflow: auto;
}
.diagnostic-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}
.diagnostic-item > span {
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.diagnostic-item > div {
  display: grid;
  gap: 5px;
}
.diagnostic-item small {
  color: var(--muted);
  line-height: 1.5;
}
.diagnostic-ok > span {
  color: #8ed1a7;
}
.diagnostic-warning > span {
  color: #e4c083;
}
.diagnostic-error {
  border-color: rgba(239,155,163,.32);
}
.diagnostic-error > span {
  color: var(--danger);
}

.product-form-warnings {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(228,192,131,.28);
  border-radius: 14px;
  background: rgba(228,192,131,.08);
  color: #e9d2a8;
}
.product-form-warnings ul {
  margin: 9px 0 0;
  padding-left: 20px;
  line-height: 1.55;
}

.admin-preview-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.admin-preview-layout {
  display: grid;
  grid-template-columns: minmax(300px,.9fr) minmax(360px,1fr);
}
.admin-preview-image {
  position: relative;
  min-height: 620px;
  background: var(--panel-soft);
}
.admin-preview-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
  object-fit: cover;
}
.admin-preview-image > span {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #35282e;
  font-size: .76rem;
  font-weight: 900;
}
.admin-preview-content {
  padding: clamp(28px, 5vw, 56px);
}
.admin-preview-content h2 {
  margin: 10px 0 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.admin-preview-content > p {
  color: var(--muted);
  line-height: 1.7;
}
.preview-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.preview-option-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: .8rem;
}

@media (max-width: 760px) {
  .diagnostics-heading {
    flex-direction: column;
  }
  .diagnostics-summary {
    grid-template-columns: 1fr;
  }
  .diagnostic-item {
    grid-template-columns: 1fr;
  }
  .admin-preview-layout {
    grid-template-columns: 1fr;
  }
  .admin-preview-image,
  .admin-preview-image img {
    min-height: 390px;
  }
}


@media (max-width: 680px) {
  .info-card {
    min-height: auto;
  }
}


/* LoveSi V2.0.0 */
.collection-filter {
  margin: -8px 0 28px;
  display: grid;
  gap: 10px;
}
.collection-filter > span {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.collection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.collection-list button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}
.collection-list button.active {
  background: rgba(239,189,208,.13);
  border-color: rgba(239,189,208,.3);
  color: var(--accent-strong);
}

.card-floating-actions {
  position: absolute;
  z-index: 6;
  top: 13px;
  right: 13px;
  display: flex;
  gap: 8px;
}
.card-round {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(28,28,31,.83);
  color: var(--accent-strong);
  font-size: 1.15rem;
  backdrop-filter: blur(10px);
}
.card-round.active {
  background: var(--accent-strong);
  color: #35282e;
}
.product-badges {
  right: 112px;
}
.modal-heading-actions {
  display: flex;
  gap: 9px;
}

.modal-media-stage {
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: #1c1c20;
  cursor: zoom-in;
}
.modal-media-stage img,
.modal-media-stage video {
  width: 100%;
  height: 100%;
  min-height: 580px;
  max-height: 720px;
  object-fit: contain;
  background: #1c1c20;
}
.gallery-expand {
  position: absolute;
  z-index: 8;
  top: 30px;
  left: 30px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background: rgba(28,28,31,.85);
  color: var(--text);
  font-size: 1.15rem;
}
.modal-gallery {
  position: relative;
}
.video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.25rem;
  text-shadow: 0 2px 10px #000;
}

.specification-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}
.specification-grid article {
  min-height: 78px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel-soft);
}
.specification-grid article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(239,189,208,.1);
  color: var(--accent-strong);
}
.specification-grid div {
  display: grid;
  gap: 4px;
}
.specification-grid small {
  color: var(--muted);
  font-size: .72rem;
}
.specification-grid strong {
  font-size: .88rem;
  line-height: 1.35;
}

.reviews-section {
  padding: 40px 0 110px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.review-card {
  min-height: 240px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg,var(--panel-2),var(--panel));
}
.review-stars {
  color: var(--accent-strong);
  letter-spacing: .1em;
}
.review-card p {
  margin: 28px 0;
  color: #ddd5d9;
  line-height: 1.7;
  font-size: 1rem;
}
.review-card > div:last-child {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.review-card time {
  color: var(--muted);
  font-size: .8rem;
}

.compare-bar {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 22px;
  width: min(760px,calc(100% - 36px));
  min-height: 74px;
  padding: 12px 14px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(239,189,208,.24);
  border-radius: 22px;
  background: rgba(31,31,35,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.compare-bar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-bar span {
  color: var(--muted);
}
.compare-modal {
  position: relative;
  width: min(1180px,100%);
  max-height: calc(100vh - 36px);
  padding: clamp(26px,4vw,54px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.compare-modal h2 {
  margin: 6px 0 28px;
  font-size: clamp(2.2rem,5vw,4.5rem);
  letter-spacing: -.055em;
}
.compare-table-wrap {
  overflow-x: auto;
}
.compare-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.compare-table-wrap th,
.compare-table-wrap td {
  padding: 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare-table-wrap thead th {
  min-width: 210px;
  background: var(--panel-soft);
}
.compare-table-wrap thead th:first-child {
  min-width: 150px;
}
.compare-table-wrap thead img {
  width: 100%;
  height: 160px;
  margin-bottom: 12px;
  object-fit: cover;
  border-radius: 13px;
}
.compare-table-wrap thead strong {
  display: block;
}
.compare-table-wrap tbody th {
  color: var(--muted);
  background: rgba(255,255,255,.02);
}

.form-modal {
  position: relative;
  width: min(620px,100%);
  max-height: calc(100vh - 36px);
  padding: clamp(28px,5vw,56px);
  display: grid;
  gap: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.form-modal h2 {
  margin: 0;
  font-size: clamp(2.2rem,5vw,4rem);
  letter-spacing: -.055em;
}
.form-modal label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: .84rem;
}
.form-modal input,
.form-modal textarea,
.form-modal select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1c1c20;
  color: var(--text);
}
.form-modal textarea {
  min-height: 120px;
  resize: vertical;
}
.request-product-summary {
  padding: 14px 16px;
  border: 1px solid rgba(239,189,208,.18);
  border-radius: 14px;
  background: rgba(239,189,208,.07);
  color: var(--accent-strong);
  line-height: 1.5;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}

.lightbox {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8,8,10,.97);
}
.lightbox-stage {
  width: min(1200px,calc(100vw - 130px));
  height: calc(100vh - 130px);
  display: grid;
  place-items: center;
  overflow: auto;
  touch-action: pan-y;
}
.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center;
  transition: transform .15s ease;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: white;
  font-size: 1.7rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 70px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  color: white;
  font-size: 2.2rem;
  transform: translateY(-50%);
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-toolbar {
  position: absolute;
  bottom: 18px;
  left: 50%;
  min-height: 48px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(30,30,34,.9);
  transform: translateX(-50%);
}
.lightbox-toolbar button {
  min-width: 38px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: white;
}
.lightbox-toolbar span {
  min-width: 58px;
  text-align: center;
  color: #ddd;
  font-size: .82rem;
}

.mobile-contact-bar {
  position: fixed;
  z-index: 85;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 62px;
  padding: 8px 8px 8px 15px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(239,189,208,.22);
  border-radius: 19px;
  background: rgba(31,31,35,.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.mobile-contact-bar span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-contact-bar .btn {
  min-height: 46px;
  padding: 0 16px;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .specification-grid { grid-template-columns: 1fr; }
  .modal-media-stage,
  .modal-media-stage img,
  .modal-media-stage video { min-height: 420px; }
}
@media (max-width: 700px) {
  body { padding-bottom: 86px; }
  .mobile-contact-bar { display: flex; }
  .compare-bar { bottom: 84px; }
  .compare-bar > div:first-child { display: grid; gap: 2px; }
  .compare-bar .btn { min-height: 40px; padding: 0 11px; }
  .lightbox-stage { width: calc(100vw - 24px); height: calc(100vh - 140px); }
  .lightbox-nav { width: 42px; height: 58px; background: rgba(20,20,24,.72); }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}


/* LoveSi V2 admin */
.product-collection-options {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}
.collection-option {
  min-height: 76px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel-soft);
}
.collection-option span {
  display: grid;
  gap: 4px;
}
.collection-option small {
  color: var(--muted);
  line-height: 1.35;
}

.workflow-list,
.audit-list,
.collection-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.workflow-card {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}
.workflow-card.compact {
  padding: 15px;
}
.workflow-main h3 {
  margin: 10px 0 6px;
}
.workflow-main > p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}
.workflow-main dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.workflow-main dl div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
}
.workflow-main dt {
  color: var(--muted);
  font-size: .72rem;
}
.workflow-main dd {
  margin: 4px 0 0;
  word-break: break-word;
}
.workflow-actions {
  min-width: 180px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.workflow-actions select {
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #1c1c20;
  color: var(--text);
}
.status-pill {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}
.status-new,
.status-waiting { color: #e8c889; background: rgba(232,200,137,.1); }
.status-contacted { color: #9cc4ea; background: rgba(156,196,234,.1); }
.status-completed,
.status-notified { color: #8ed1a7; background: rgba(142,209,167,.1); }
.status-cancelled { color: var(--danger); background: rgba(239,155,163,.09); }

.collection-admin-row {
  display: grid;
  grid-template-columns: 160px 1fr 1.5fr 100px auto 42px;
  gap: 9px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}
.collection-admin-row input {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1c1c20;
  color: var(--text);
}
.collection-admin-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.audit-entry {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}
.audit-entry > div:first-child {
  display: grid;
  align-content: start;
  gap: 6px;
}
.audit-entry > div:first-child span {
  color: var(--muted);
  font-size: .78rem;
}
.audit-entry h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.audit-entry p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}
.audit-entry details {
  margin-top: 12px;
}
.audit-entry pre {
  max-height: 300px;
  padding: 12px;
  overflow: auto;
  border-radius: 10px;
  background: #17171a;
  color: #d8d1d5;
  font-size: .74rem;
  white-space: pre-wrap;
}

#applicationStatusFilter,
#restockStatusFilter {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1c1c20;
  color: var(--text);
}

@media (max-width: 1050px) {
  .product-collection-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-admin-row { grid-template-columns: 140px 1fr 1fr; }
}
@media (max-width: 720px) {
  .product-collection-options { grid-template-columns: 1fr; }
  .workflow-card { grid-template-columns: 1fr; }
  .workflow-actions { justify-content: flex-start; }
  .workflow-main dl { grid-template-columns: 1fr; }
  .collection-admin-row { grid-template-columns: 1fr; }
  .audit-entry { grid-template-columns: 1fr; }
}

.admin-tabs { flex-wrap: wrap; }


/* LoveSi V2.0.2 — ручной общий остаток */
.stock-helper {
  margin-top: 8px;
  display: grid;
  gap: 8px;
  align-items: start;
}
.stock-helper .field-hint {
  margin: 0;
}
.stock-helper .field-hint strong {
  color: var(--accent-strong);
}
.stock-sync-button {
  width: max-content;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(239,189,208,.18);
  border-radius: 10px;
  background: rgba(239,189,208,.06);
  color: var(--accent-strong);
  font-size: .76rem;
  font-weight: 700;
}
.stock-sync-button:hover:not(:disabled) {
  background: rgba(239,189,208,.12);
}
.stock-sync-button:disabled {
  opacity: .4;
  cursor: not-allowed;
}


/* LoveSi V2.0.3 — публичные отзывы и модерация */
.reviews-heading {
  align-items: flex-end;
}
.reviews-heading .btn {
  flex: 0 0 auto;
}
.reviews-empty-card {
  grid-column: 1 / -1;
  min-height: 210px;
  padding: 34px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  border: 1px dashed rgba(239,189,208,.22);
  border-radius: 22px;
  background: rgba(255,255,255,.02);
}
.reviews-empty-card span {
  color: var(--accent-strong);
  font-size: 1.2rem;
  font-weight: 800;
}
.reviews-empty-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.form-modal-intro {
  margin: -4px 0 4px;
  color: var(--muted);
  line-height: 1.65;
}
.review-anonymous-row,
.review-consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel-soft);
}
.review-anonymous-row input,
.review-consent-row input {
  width: 18px !important;
  height: 18px;
  margin-top: 1px;
  padding: 0 !important;
  flex: 0 0 auto;
}
.review-consent-row span {
  line-height: 1.5;
}
.review-submit-form input:disabled {
  opacity: .55;
}
.review-admin-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.pending-review-counter {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(232,200,137,.22);
  border-radius: 999px;
  background: rgba(232,200,137,.08);
  color: #e8c889;
  font-size: .8rem;
  font-weight: 800;
}
#reviewStatusFilter {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #1c1c20;
  color: var(--text);
}
.review-manual-section {
  margin-top: 24px;
}
.review-pending-card {
  border-color: rgba(232,200,137,.28);
  box-shadow: inset 4px 0 0 rgba(232,200,137,.65);
}
.review-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.review-source-pill {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.review-moderation-actions {
  max-width: 270px;
}
.review-moderation-actions .btn-primary {
  width: 100%;
}
@media (max-width: 720px) {
  .reviews-heading {
    align-items: stretch;
  }
  .reviews-heading .btn {
    width: 100%;
  }
  .review-admin-filters {
    justify-content: flex-start;
  }
  .review-moderation-actions {
    max-width: none;
  }
}


/* LoveSi V2.0.4 — neon site background */
.site-page .hero-card,
.site-page .product-card,
.site-page .info-card,
.site-page .review-card,
.site-page .reviews-empty-card,
.site-page .about-card,
.site-page .howto-card,
.site-page .contact-card,
.site-page .compare-table,
.site-page .modal-panel,
.site-page .form-modal,
.site-page .lightbox-panel {
  backdrop-filter: blur(16px);
}
.site-page .product-card,
.site-page .info-card,
.site-page .review-card,
.site-page .reviews-empty-card,
.site-page .about-card,
.site-page .howto-card,
.site-page .contact-card {
  background: rgba(25, 23, 29, .78);
  border-color: rgba(255,255,255,.10);
}
.site-page .catalog-section,
.site-page .info-strip,
.site-page .about-section,
.site-page .howto-section,
.site-page .reviews-section,
.site-page .contact-section {
  scroll-margin-top: 92px;
}
@media (max-width: 900px) {
  .site-page::before {
    background-position: 58% top;
    opacity: .48;
  }
}
@media (max-width: 640px) {
  .site-page::before {
    background-position: 62% top;
    background-size: cover;
    opacity: .40;
  }
  .site-page::after {
    background:
      linear-gradient(180deg, rgba(8,7,9,.84) 0%, rgba(10,9,12,.74) 20%, rgba(12,10,14,.82) 48%, rgba(10,9,12,.92) 100%),
      radial-gradient(circle at 50% 12%, rgba(255, 56, 154, .13), transparent 26%);
  }
}


/* LoveSi V2.0.6 — marketplace purchase links */
.marketplace-settings {
  margin: 0;
}
.marketplace-settings-heading h3 {
  margin: 0 0 7px;
}
.marketplace-settings-heading p {
  max-width: 780px;
  margin: 0 0 16px;
}

.marketplace-purchase {
  margin-top: 18px;
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(239,189,208,.17);
  border-radius: 16px;
  background: rgba(239,189,208,.045);
}
.marketplace-purchase-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px 14px;
}
.marketplace-purchase-heading > span {
  color: var(--text);
  font-size: .9rem;
  font-weight: 800;
}
.marketplace-purchase-heading small {
  color: var(--muted);
  font-size: .72rem;
}
.marketplace-buttons {
  display: grid;
  gap: 9px;
}
.marketplace-button {
  min-height: 54px;
  padding: 8px 13px 8px 9px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: .86rem;
  font-weight: 800;
  transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}
.marketplace-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.marketplace-button b {
  font-size: 1rem;
}
.marketplace-mark {
  min-width: 46px;
  height: 36px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: -.02em;
}
.marketplace-wildberries {
  border-color: rgba(227,19,191,.32);
  background: linear-gradient(100deg, rgba(227,19,191,.18), rgba(91,29,120,.14));
  color: #ffd9f8;
}
.marketplace-wildberries .marketplace-mark {
  background: linear-gradient(135deg,#e313bf,#7d1b91);
  color: white;
}
.marketplace-ozon {
  border-color: rgba(0,91,255,.35);
  background: linear-gradient(100deg, rgba(0,91,255,.18), rgba(29,65,154,.12));
  color: #dce8ff;
}
.marketplace-ozon .marketplace-mark {
  background: #005bff;
  color: white;
}
.marketplace-yandex {
  border-color: rgba(255,212,38,.3);
  background: linear-gradient(100deg, rgba(255,212,38,.16), rgba(252,63,29,.08));
  color: #fff4bd;
}
.marketplace-yandex .marketplace-mark {
  background: #ffd426;
  color: #1d1d1f;
}

.purchase-method-card {
  min-height: 280px;
}
.purchase-method-card .how-to-icon {
  width: 70px;
  height: 70px;
}
.purchase-method-card .how-to-icon img {
  width: 70px;
  height: 70px;
}

@media (max-width: 560px) {
  .marketplace-purchase-heading {
    display: grid;
  }
  .marketplace-button {
    font-size: .8rem;
  }
}


/* LoveSi V2.0.7 — branded marketplace and social icons */
.brand-field-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-inline-icon {
  width: 48px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
.brand-inline-icon img {
  max-width: 42px;
  max-height: 18px;
  object-fit: contain;
}
.brand-inline-social {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}
.brand-inline-social img {
  max-width: 24px;
  max-height: 24px;
}

.marketplace-button {
  grid-template-columns: auto minmax(0,1fr) auto;
}
.marketplace-mark {
  min-width: 72px;
  width: 72px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.marketplace-mark img {
  width: 64px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.marketplace-copy {
  display: grid;
  gap: 2px;
}
.marketplace-copy strong {
  color: inherit;
  font-size: .92rem;
  line-height: 1.15;
}
.marketplace-copy small {
  color: inherit;
  opacity: .84;
  font-size: .76rem;
  line-height: 1.2;
}

.marketplace-wildberries .marketplace-mark {
  background: rgba(255,255,255,.09);
}
.marketplace-ozon .marketplace-mark {
  background: rgba(255,255,255,.08);
}
.marketplace-yandex .marketplace-mark {
  background: rgba(255,255,255,.08);
}

.purchase-method-card .how-to-icon {
  width: 92px;
  height: 64px;
  border-radius: 16px;
}
.purchase-method-card .how-to-icon img {
  width: 80px;
  height: 34px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .marketplace-mark {
    min-width: 62px;
    width: 62px;
  }
  .marketplace-mark img {
    width: 56px;
    height: 24px;
  }
  .marketplace-copy strong {
    font-size: .86rem;
  }
  .brand-inline-icon {
    width: 42px;
  }
}


/* LoveSi V2.0.8 — wide marketplace button banners */
.brand-field-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-inline-icon {
  width: 108px;
  height: 30px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
.brand-inline-icon img {
  max-width: 96px;
  max-height: 22px;
  object-fit: contain;
}
.brand-inline-social {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
}
.brand-inline-social img {
  max-width: 24px;
  max-height: 24px;
}

.marketplace-button {
  min-height: 64px;
  padding: 8px 10px 8px 12px;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
}
.marketplace-banner-image {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
}
.marketplace-banner-image img {
  width: 100%;
  max-width: 330px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.marketplace-mark,
.marketplace-copy {
  display: none !important;
}
.marketplace-button b {
  width: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: .92;
}
.marketplace-wildberries {
  background: linear-gradient(100deg, rgba(227,19,191,.18), rgba(91,29,120,.16));
}
.marketplace-ozon {
  background: linear-gradient(100deg, rgba(0,91,255,.18), rgba(29,65,154,.14));
}
.marketplace-yandex {
  background: linear-gradient(100deg, rgba(255,212,38,.18), rgba(252,63,29,.10));
}

@media (max-width: 640px) {
  .marketplace-button {
    min-height: 58px;
    padding-right: 8px;
  }
  .marketplace-banner-image img {
    height: 30px;
  }
  .brand-inline-icon {
    width: 96px;
  }
  .brand-inline-icon img {
    max-width: 84px;
  }
}


/* LoveSi V2.0.9 — product purchase actions order */
.marketplace-purchase {
  margin-top: 24px;
}
.marketplace-purchase-heading {
  display: block;
}
.marketplace-purchase-heading > span {
  display: block;
  font-size: .96rem;
  line-height: 1.35;
}
.product-modal-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-modal-actions .btn {
  min-width: 0;
  margin: 0;
}
.product-restock-action {
  margin-top: 10px;
}

@media (max-width: 620px) {
  .product-modal-actions {
    grid-template-columns: 1fr;
  }
}


/* LoveSi V2.0.10 — conditional contact channel buttons */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
  align-items: center;
}
.contact-section-copy {
  min-width: 0;
}
.contact-section-copy h2 {
  margin-bottom: 14px;
}
.contact-methods {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.contact-channel-card {
  min-width: 0;
  min-height: 124px;
  padding: 16px 14px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(30,28,34,.78);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}
.contact-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0,0,0,.26);
}
.contact-channel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.contact-channel-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.contact-channel-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.contact-channel-copy strong {
  color: var(--text);
  font-size: .96rem;
}
.contact-channel-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-channel-card > b {
  color: var(--text);
  font-size: 1rem;
}
.contact-channel-whatsapp {
  border-color: rgba(0, 185, 107, .28);
  background:
    linear-gradient(135deg, rgba(0, 185, 107, .14), rgba(30,28,34,.80));
}
.contact-channel-whatsapp:hover {
  border-color: rgba(0, 185, 107, .48);
}
.contact-channel-telegram {
  border-color: rgba(49, 168, 222, .30);
  background:
    linear-gradient(135deg, rgba(49, 168, 222, .15), rgba(30,28,34,.80));
}
.contact-channel-telegram:hover {
  border-color: rgba(49, 168, 222, .52);
}
.contact-channel-email {
  border-color: rgba(255, 112, 153, .30);
  background:
    linear-gradient(135deg, rgba(255, 112, 153, .16), rgba(30,28,34,.80));
}
.contact-channel-email:hover {
  border-color: rgba(255, 112, 153, .52);
}
.contact-fallback-button {
  justify-self: end;
}

@media (max-width: 1120px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
  .contact-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact-fallback-button {
    justify-self: start;
  }
}
@media (max-width: 820px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .contact-channel-card {
    min-height: 88px;
  }
}
@media (max-width: 520px) {
  .contact-channel-card {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    padding: 13px;
  }
  .contact-channel-icon {
    width: 48px;
    height: 48px;
  }
  .contact-channel-icon img {
    width: 40px;
    height: 40px;
  }
}


/* LoveSi V2.0.11 — updated marketplace logos in purchase methods and new favicon */
.purchase-method-card .how-to-icon {
  width: 116px;
  height: 68px;
  padding: 6px 10px;
  border-radius: 18px;
}
.purchase-method-card .how-to-icon img {
  width: 100px;
  height: 34px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .purchase-method-card .how-to-icon {
    width: 108px;
    height: 64px;
  }
  .purchase-method-card .how-to-icon img {
    width: 92px;
    height: 32px;
  }
}


/* LoveSi V2.0.14 — vertical product action buttons */
.product-modal-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 10px;
}
.product-modal-actions .product-modal-action {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.product-modal-actions .product-modal-action span {
  width: 100%;
  display: block;
  text-align: center;
  line-height: 1.25;
}


/* LoveSi V2.0.15 — centered marketplace logos inside rectangular buttons */
.marketplace-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
}
.marketplace-banner-image {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marketplace-banner-image img {
  width: 100%;
  max-width: 330px;
  height: 36px;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
}
.marketplace-button b {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) {
  .marketplace-button {
    padding-left: 12px;
    padding-right: 12px;
  }
  .marketplace-banner-image img {
    height: 30px;
  }
}


/* LoveSi V2.0.16 — marketplace-only purchase methods */
.how-to-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .how-to-grid {
    grid-template-columns: 1fr;
  }
}

/* LoveSi V2.1.2 — navigation pages, expanded footer and product instruction */
.nav a {
  position: relative;
  white-space: nowrap;
}
.nav a.active {
  color: var(--text);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.product-instruction {
  margin: 24px 0 4px;
  padding: 20px;
  border: 1px solid rgba(239,189,208,.23);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(239,189,208,.09), rgba(255,255,255,.025));
}
.product-instruction h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.product-instruction > div {
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}
.admin-preview-instruction {
  margin: 18px 0;
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(20px, 6vw, 88px);
  display: block;
  border-top: 1px solid var(--line);
  background: rgba(8,7,9,.83);
  color: var(--muted);
  font-size: .9rem;
}
.footer-columns {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 58px 0 48px;
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(150px, .8fr));
  gap: clamp(28px, 5vw, 76px);
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-column h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.05rem;
}
.footer-column a,
.footer-column button {
  color: var(--muted);
}
.footer-column a:hover,
.footer-column button:hover {
  color: var(--accent-strong);
}
.footer-about p {
  max-width: 380px;
  margin: 8px 0 0;
  line-height: 1.7;
}
.footer-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-legal-row {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 24px 0 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
.footer-legal-row > p {
  margin: 0;
  text-align: right;
}
.footer-age {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-age > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--accent-strong);
  border-radius: 50%;
  color: var(--accent-strong);
  font-weight: 900;
}
.footer-age p { margin: 0; }
.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.footer-policy-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.footer-policy-links button:hover { color: var(--accent-strong); }

.info-page-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 110px;
}
.breadcrumbs {
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.breadcrumbs a:hover { color: var(--accent-strong); }
.info-page-hero {
  min-height: 550px;
  padding: clamp(70px, 10vw, 130px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.info-page-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.info-page-hero > p {
  max-width: 860px;
  margin: 28px auto 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.08rem;
}
.info-page-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.about-statement,
.delivery-note {
  margin-bottom: 110px;
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(140deg, rgba(239,189,208,.13), rgba(35,35,39,.86));
}
.about-statement h2,
.delivery-note h2,
.info-section h2,
.info-contact-section h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.about-statement > p,
.delivery-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.04rem;
}
.info-section { padding: 20px 0 110px; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.value-card,
.delivery-steps-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(30,28,34,.76);
}
.value-card > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(239,189,208,.12);
  color: var(--accent-strong);
  font-size: 1.35rem;
}
.value-card h3,
.delivery-steps-grid h3 { margin: 28px 0 12px; font-size: 1.15rem; }
.value-card p,
.delivery-steps-grid p { margin: 0; color: var(--muted); line-height: 1.7; }
.split-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.reason-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.reason-list article {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.reason-list b { color: var(--accent); font-size: .78rem; letter-spacing: .1em; }
.reason-list span { display: grid; gap: 7px; }
.reason-list small { color: var(--muted); line-height: 1.5; }
.info-contact-section {
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(30,28,34,.8);
}
.info-contact-section p { color: var(--muted); line-height: 1.7; }
.info-contact-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.info-contact-card {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.info-contact-card-icon {
  width: 26px;
  height: 26px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
}
.info-contact-card-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.info-contact-card-icon-fallback {
  color: var(--accent-strong);
  font-size: 1.2rem;
}
.info-contact-card strong { display: block; }
.info-contact-card small { margin-top: 7px; color: var(--muted); }
.info-contact-card:hover { border-color: rgba(239,189,208,.45); transform: translateY(-2px); box-shadow: 0 20px 38px rgba(0,0,0,.14); }
.info-contact-card-telegram {
  border-color: rgba(49, 168, 222, .28);
  background: linear-gradient(180deg, rgba(49,168,222,.08), rgba(26,22,30,.92));
}
.info-contact-card-telegram:hover { border-color: rgba(49, 168, 222, .48); }
.info-contact-card-whatsapp {
  border-color: rgba(0, 185, 107, .28);
  background: linear-gradient(180deg, rgba(0,185,107,.08), rgba(26,22,30,.92));
}
.info-contact-card-whatsapp:hover { border-color: rgba(0, 185, 107, .48); }
.info-contact-card-email {
  border-color: rgba(255, 112, 153, .30);
  background: linear-gradient(180deg, rgba(255,112,153,.10), rgba(26,22,30,.92));
}
.info-contact-card-email:hover { border-color: rgba(255, 112, 153, .52); }

.delivery-story { padding-bottom: 90px; }
.delivery-layer {
  min-height: 480px;
  padding: 50px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}
.delivery-layer.reverse .delivery-copy { order: 2; }
.delivery-layer.reverse .delivery-visual { order: 1; }
.delivery-number { color: var(--accent); font-size: .8rem; letter-spacing: .18em; }
.delivery-copy h2 { margin: 12px 0 18px; font-size: clamp(2.2rem, 5vw, 4.3rem); letter-spacing: -.05em; }
.delivery-copy p { max-width: 590px; margin: 0; color: var(--muted); line-height: 1.85; }
.delivery-visual {
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: radial-gradient(circle at 50% 30%, rgba(239,189,208,.18), transparent 45%), rgba(16,15,18,.82);
}
.delivery-visual-box { position: relative; }
.privacy-box {
  position: absolute;
  width: 260px;
  height: 165px;
  border-radius: 18px;
  background: linear-gradient(150deg, #dfa8bd, #9e667d);
  box-shadow: 0 28px 60px rgba(0,0,0,.32);
}
.privacy-box-back { transform: translateY(-72px) scale(.82); opacity: .65; }
.privacy-box-middle { transform: translateY(-18px) scale(.92); opacity: .82; }
.privacy-box-front { transform: translateY(55px); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #2d2228; }
.privacy-box-front span { font-size: 1.4rem; font-weight: 900; letter-spacing: .2em; }
.privacy-box-front b { margin-top: 10px; font-size: .72rem; letter-spacing: .3em; }
.wrapped-parcel {
  width: min(360px, 80%);
  aspect-ratio: 1.2;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  background: repeating-linear-gradient(25deg,#171719 0 12px,#202024 12px 23px);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  text-align: center;
}
.wrapped-parcel span,
.wrapped-parcel small { color: var(--muted); }
.wrapped-parcel strong { margin: 8px 0 28px; font-size: 2.35rem; }
.delivery-visual-route { padding: 24px; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; }
.route-card { min-height: 130px; width: 100%; padding: 18px; display: grid; place-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); text-align: center; }
.route-card span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-strong); color: #2d2228; font-weight: 900; }
.delivery-visual-route i { color: var(--accent); font-style: normal; font-size: 1.4rem; }
.delivery-note { grid-template-columns: auto 1fr; }
.delivery-note > span { width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid var(--accent-strong); border-radius: 50%; color: var(--accent-strong); font-weight: 900; }
.delivery-steps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.delivery-steps-grid article b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(239,189,208,.12); color: var(--accent-strong); }

@media (max-width: 1000px) {
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-legal-row { grid-template-columns: 1fr; text-align: left; }
  .footer-policy-links { justify-content: flex-start; }
  .footer-legal-row > p { text-align: left; }
  .value-grid,
  .delivery-steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-statement,
  .split-section,
  .info-contact-section,
  .delivery-layer { grid-template-columns: 1fr; }
  .delivery-layer.reverse .delivery-copy,
  .delivery-layer.reverse .delivery-visual { order: initial; }
}
@media (max-width: 850px) {
  .site-header { flex-wrap: wrap; gap: 14px; }
  .header-right { width: 100%; }
  .nav { display: flex; width: 100%; overflow-x: auto; padding: 4px 0 12px; gap: 20px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .favorites-toggle .favorites-label { display: none; }
}
@media (max-width: 650px) {
  .site-footer { padding-inline: 18px; }
  .footer-columns,
  .value-grid,
  .delivery-steps-grid,
  .info-contact-cards { grid-template-columns: 1fr; }
  .info-page-main { width: min(100% - 24px, 1240px); }
  .info-page-hero { min-height: 470px; padding: 70px 0; }
  .info-page-hero h1 { font-size: 3.2rem; }
  .about-statement,
  .delivery-note,
  .info-contact-section { padding: 26px 20px; border-radius: 24px; }
  .delivery-layer { min-height: auto; padding: 50px 0; }
  .delivery-visual { min-height: 290px; }
  .delivery-visual-route { grid-template-columns: 1fr; }
  .delivery-visual-route i { transform: rotate(90deg); }
  .delivery-note { grid-template-columns: 1fr; }
  .delivery-note > span { width: 62px; height: 62px; }
}

/* LoveSi V2.1.2 — page content CMS */
/* LoveSi V2.1.3 — branded contact icons on info pages */
.page-cms-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}
.page-cms-heading h2{margin:4px 0 8px}
.page-cms-heading p{margin:0;color:var(--muted);max-width:760px;line-height:1.65}
.cms-details{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.018);
  margin-bottom:16px;
  overflow:hidden;
}
.cms-details summary{
  cursor:pointer;
  list-style:none;
  padding:18px 20px;
  font-weight:800;
  font-size:1.05rem;
  background:rgba(255,255,255,.025);
  border-bottom:1px solid transparent;
}
.cms-details summary::-webkit-details-marker{display:none}
.cms-details[open] summary{border-bottom-color:var(--line)}
.cms-details summary::after{content:"＋";float:right;color:var(--accent)}
.cms-details[open] summary::after{content:"−"}
.cms-details-body{padding:20px}
.cms-list-textarea{min-height:180px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.55}
.cms-save-bar{
  position:sticky;
  bottom:14px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(24,24,28,.96);
  backdrop-filter:blur(14px);
}
.cms-save-bar .message{margin:0}
@media(max-width:760px){
  .page-cms-heading{display:grid}
  .cms-details-body{padding:14px}
  .cms-save-bar{align-items:stretch;flex-direction:column}
}

/* LoveSi V2.3.0 — universal cover video and always-available neon background */
.home-page {
  --site-header-height: 82px;
  --announcement-height: 0px;
  --hero-video-overlay-opacity: .55;
  --hero-video-scale: 1.12;
  --hero-video-position-x: 50%;
  --hero-video-position-y: 50%;
  --header-bg-alpha: .025;
  --header-border-alpha: 0;
  --header-shadow-alpha: 0;
  --header-blur: 0px;
  --page-bg-opacity: .72;
  --page-bg-shift: -22px;
  --page-bg-scale: 1.045;
  --hero-media-opacity: 1;
  --hero-media-shift: 0px;
  --hero-blend-opacity: .28;
  overflow-x: clip;
}

/* На главной фон рисуется отдельным реальным fixed-слоем. Он не зависит от
   текущего видео и остаётся видимым даже при отключённом JavaScript. */
.home-page::before,
.home-page::after {
  content: none;
  display: none;
}
.page-background-reveal-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  opacity: var(--page-bg-opacity);
  pointer-events: none;
  transform: translate3d(0, var(--page-bg-shift), 0) scale(var(--page-bg-scale));
  transform-origin: center top;
  will-change: opacity, transform;
}
.page-background-reveal-image,
.page-background-reveal-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page-background-reveal-image {
  background: url("/assets/site-background-neon-love.png") center top / cover no-repeat;
  opacity: 1;
}
.page-background-reveal-shade {
  background:
    linear-gradient(180deg, rgba(8,7,9,.46) 0%, rgba(10,9,12,.38) 22%, rgba(13,12,15,.52) 55%, rgba(11,10,13,.69) 100%),
    radial-gradient(circle at 18% 34%, rgba(255,56,154,.14), transparent 31%),
    radial-gradient(circle at 78% 20%, rgba(255,56,154,.12), transparent 29%);
}
.home-page main,
.home-page footer {
  position: relative;
  z-index: 1;
}

.home-page .site-header {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 70;
  background: rgb(13 10 14 / var(--header-bg-alpha));
  border-bottom-color: rgb(255 255 255 / var(--header-border-alpha));
  box-shadow: 0 14px 34px rgb(0 0 0 / var(--header-shadow-alpha));
  backdrop-filter: blur(var(--header-blur)) saturate(125%);
  -webkit-backdrop-filter: blur(var(--header-blur)) saturate(125%);
  transition: none;
  will-change: background, border-color, box-shadow, backdrop-filter;
}
.home-page .site-header.is-scrolled {
  /* Интенсивность задаётся единым scroll-контроллером. */
}
.home-page main {
  width: min(1480px, calc(100% - 40px));
  margin-inline: auto;
}
.home-page .hero {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  min-height: clamp(680px, 88svh, 920px);
  padding: calc(90px + var(--site-header-height) + var(--announcement-height)) clamp(20px, 6vw, 88px) 72px;
  overflow: hidden;
  isolation: isolate;
  grid-template-columns: minmax(320px, 680px) minmax(280px, 620px);
  justify-content: center;
  column-gap: clamp(32px, 6vw, 110px);
  row-gap: 36px;
  background: #100c10;
}
.home-page .hero.has-background-video {
  background: transparent;
}
.home-page .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: clamp(180px, 24vh, 280px);
  background: linear-gradient(180deg, transparent 0%, rgba(18,15,18,.10) 42%, rgba(18,15,18,.48) 78%, rgba(18,15,18,.72) 100%);
  opacity: var(--hero-blend-opacity);
  pointer-events: none;
  will-change: opacity;
}
.hero-background-media {
  position: absolute;
  inset: -3px;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12,8,12,.10), rgba(12,8,12,.24)),
    url("/assets/site-background-neon-love.png") center / cover no-repeat,
    #100c10;
  pointer-events: none;
  opacity: var(--hero-media-opacity);
  transform: translate3d(0, var(--hero-media-shift), 0) scale(1.006);
  transform-origin: center center;
  contain: paint;
  will-change: opacity, transform;
}

/* Универсальная схема для любого MP4/WEBM: object-fit cover всегда закрывает
   hero, inset убирает субпиксельные щели, а масштаб/позиция настраиваются без
   фиксированного среза в пикселях. */
.hero-background-video {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: var(--hero-video-position-x) var(--hero-video-position-y);
  transform: translateZ(0) scale(var(--hero-video-scale));
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.hero-background-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,7,11,.92) 0%, rgba(14,9,14,.72) 42%, rgba(10,7,10,.34) 72%, rgba(9,7,9,.52) 100%),
    linear-gradient(180deg, rgba(8,6,9,.38) 0%, rgba(8,6,9,.06) 48%, rgba(11,8,12,.52) 100%);
  opacity: var(--hero-video-overlay-opacity);
}
.home-page .hero-copy,
.home-page .hero-art {
  position: relative;
  z-index: 2;
}
.home-page .hero-copy {
  width: min(100%, 680px);
  justify-self: end;
}
.home-page .hero-art {
  width: min(100%, 620px);
  justify-self: start;
}
.home-page .hero.has-background-video .hero-copy {
  text-shadow: 0 3px 26px rgba(0,0,0,.42);
}
.home-page .hero.has-background-video .hero-custom-image {
  background: rgba(15,11,15,.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-page .hero.has-background-video #heroPlaceholder { opacity: .72; }
.home-page .hero.has-background-video:not(.has-hero-image) #heroPlaceholder { display: none; }

/* Секции после hero прозрачны: фиксированный неоновый фон гарантированно виден.
   Верхний градиент делает переход мягким, без отдельной чёрной полосы. */
.home-page .hero + section {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding-top: 58px;
  background: linear-gradient(180deg, rgba(18,15,18,.68) 0%, rgba(18,15,18,.32) 90px, rgba(18,15,18,.08) 220px, transparent 360px);
}

.setting-video-preview {
  min-height: 180px;
  overflow: hidden;
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.setting-video-preview > span { color: var(--muted); font-size: .82rem; }
.setting-video-preview video {
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  max-height: 380px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #090709;
  object-fit: cover;
  transform-origin: center center;
}
.hero-video-settings .panel-title-row { align-items: flex-start; }
.hero-video-toggle { margin: 0; white-space: nowrap; }
.hero-video-overlay-range { width: min(100%, 680px); accent-color: var(--accent-strong); }

@media (max-width: 850px) {
  .home-page .hero {
    min-height: clamp(720px, 100svh, 980px);
    padding: calc(72px + var(--site-header-height) + var(--announcement-height)) clamp(20px, 5vw, 44px) 56px;
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .home-page .hero-copy,
  .home-page .hero-art {
    width: min(100%, 640px);
    justify-self: stretch;
  }
  .hero-background-overlay {
    background: linear-gradient(180deg, rgba(10,7,10,.72) 0%, rgba(10,7,10,.48) 52%, rgba(10,7,10,.72) 100%);
  }
}
@media (max-width: 560px) {
  .home-page .hero {
    min-height: 760px;
    padding: calc(58px + var(--site-header-height) + var(--announcement-height)) 20px 54px;
  }
  .home-page .hero-art { min-height: 300px; }
  .home-page .hero.has-background-video:not(.has-hero-image) .hero-art { display: none; }
  .hero-video-settings .panel-title-row { gap: 16px; }
  .hero-video-toggle { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .page-background-reveal-layer,
  .home-page .site-header,
  .hero-background-media,
  .hero-background-video,
  .home-page .hero::after { transition: none; }
}

/* LoveSi V2.3.1 — editable business information and safe clickable footer links */
.footer-columns.has-business-info {
  grid-template-columns: minmax(210px, 1.2fr) repeat(4, minmax(150px, .78fr));
  gap: clamp(24px, 3.6vw, 58px);
}
.footer-business-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}
.footer-business-item {
  display: block;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.footer-business-link {
  text-decoration: none;
  text-underline-offset: 3px;
}
.footer-business-link:hover,
.footer-business-link:focus-visible {
  color: var(--accent-strong);
  text-decoration: underline;
}
@media (max-width: 1250px) {
  .footer-columns.has-business-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .footer-columns.has-business-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .footer-columns.has-business-info {
    grid-template-columns: 1fr;
  }
}

/* LoveSi V2.3.2 — clickable marketplace images managed from admin settings */
.how-to-marketplace-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.how-to-marketplace-link:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(255, 121, 180, .42);
  background: rgba(255, 121, 180, .08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255,255,255,.06);
}
.how-to-marketplace-link:focus-visible {
  outline: 3px solid rgba(255, 121, 180, .72);
  outline-offset: 4px;
}
.how-to-marketplace-link img {
  pointer-events: none;
}
.how-to-marketplace-settings {
  margin-top: 4px;
}

