:root {
  --black: #080808;
  --panel: #111111;
  --panel-2: #181818;
  --gold: #d4af37;
  --gold-2: #f4d77b;
  --line: rgba(212, 175, 55, 0.28);
  --text: #f5f0e6;
  --muted: #b8b1a4;
  --white: #ffffff;
  --danger: #d95f5f;
  --success: #64c48f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  font-family: Inter, Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--text);
  isolation: isolate;
}

body.has-site-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(8, 8, 8, 0.86), rgba(8, 8, 8, 0.94)),
    var(--site-bg-image);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(8, 8, 8, 0.82);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 0 24px rgba(212, 175, 55, 0.2), 0 0 18px rgba(212, 175, 55, 0.16);
}

.brand-mark.has-image {
  overflow: hidden;
  background: #050505;
}

.brand-mark.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview {
  display: grid;
  gap: 8px;
}

.image-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  background: #111;
}

.empty-preview {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px dashed rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--gold-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 11px 12px;
  outline: none;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--gold);
}

select option {
  background: #141414;
  color: var(--text);
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.password-toggle {
  min-height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.08);
  cursor: pointer;
}

.header-link,
.gold-button,
.dark-button,
.ghost-button,
.admin-form button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.header-link,
.ghost-button {
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.04);
}

.gold-button,
.admin-form button {
  background: linear-gradient(135deg, #b98b1f, #f2d06a);
  color: #17100a;
  font-weight: 800;
}

.dark-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.small-button {
  min-height: 34px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-2);
  padding: 0 12px;
  font-size: 13px;
}

.danger-button {
  border-color: rgba(217, 95, 95, 0.45);
  color: #ffb4b4;
}

.header-link:hover,
.gold-button:hover,
.dark-button:hover,
.ghost-button:hover,
.admin-form button:hover,
.small-button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: #050505;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.74;
}

.hero-image-mobile {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(0deg, #080808 0%, rgba(8, 8, 8, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 24px;
  max-width: 670px;
  padding: clamp(72px, 10vw, 124px) clamp(22px, 6vw, 82px);
}

.eyebrow {
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-title h2,
.product-detail h1,
.admin-topbar h2,
.login-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
}

.hero p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0b0b;
}

.trust-item {
  min-height: 116px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  color: var(--gold-2);
  font-size: 22px;
  margin-bottom: 8px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

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

.section-title p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.category-chip {
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 10px 15px;
  cursor: pointer;
}

.category-chip.active {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-2);
}

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

.product-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.product-card img {
  width: 100%;
  padding: 14px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.12), transparent 38%),
    #151515;
}

.product-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-card h3 {
  margin: 0;
  min-height: 58px;
  font-size: 20px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.media-card {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 12px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.1), transparent 42%),
    #141414;
}

.media-card-body {
  display: grid;
  gap: 10px;
  padding: 17px;
}

.media-card h3 {
  margin: 0;
  font-size: 19px;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.model-line {
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0d0d;
}

.split-band img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-content {
  display: grid;
  gap: 18px;
  padding: clamp(36px, 5vw, 70px);
}

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

.feature-list li {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.13), rgba(255, 255, 255, 0.04));
}

.contact-band h2 {
  margin: 0 0 10px;
  font-family: Georgia, serif;
}

.contact-band p {
  margin: 0;
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: start;
  padding: clamp(34px, 6vw, 82px) clamp(20px, 5vw, 72px);
}

.product-detail-text-only {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.product-detail-image {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  background: #121212;
}

.product-detail-image > img {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  min-height: 0;
  padding: clamp(12px, 2vw, 22px);
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 175, 55, 0.12), transparent 42%),
    #121212;
}

.detail-gallery-strip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.detail-gallery-strip.single {
  grid-template-columns: minmax(0, 1fr);
}

.detail-thumb-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.detail-gallery-arrow {
  width: 38px;
  min-height: 72px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-2);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.detail-gallery-arrow:hover {
  border-color: rgba(212, 175, 55, 0.58);
  background: rgba(212, 175, 55, 0.12);
}

.detail-thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
}

.detail-thumb.active {
  border-color: rgba(212, 175, 55, 0.72);
  background: rgba(212, 175, 55, 0.14);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  background: #101010;
}

.product-detail-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.product-detail h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.product-detail p {
  color: var(--muted);
  line-height: 1.75;
}

.spec-table {
  display: grid;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row span {
  padding: 13px 14px;
}

.spec-row span:first-child {
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.06);
}

.product-description-images {
  padding-top: 0;
}

.description-image-stack {
  display: grid;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.description-image-stack img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 8px;
  background: #111111;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  margin-right: 12px;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.footer-links a,
.footer-links button,
.footer-social-link {
  color: var(--gold-2);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links button:hover,
.footer-social-link:hover {
  color: var(--text);
}

.footer-social-link {
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  opacity: 0.72;
  cursor: pointer;
}

.footer-social-link:hover {
  opacity: 1;
  border-color: rgba(212, 175, 55, 0.48);
}

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.wechat-dialog {
  position: relative;
  width: min(320px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color: var(--text);
  text-align: center;
}

.wechat-dialog strong {
  color: var(--gold-2);
  font-size: 18px;
}

.wechat-dialog img {
  width: min(230px, 72vw);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.wechat-dialog p {
  margin: 0;
  color: var(--muted);
  word-break: break-word;
}

.wechat-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.loading-panel {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}

[dir="rtl"] .site-header,
[dir="rtl"] .section-title,
[dir="rtl"] .contact-band,
[dir="rtl"] .site-footer {
  direction: rtl;
}

[dir="rtl"] .hero::after {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(0deg, #080808 0%, rgba(8, 8, 8, 0) 34%);
}

[dir="rtl"] .hero-content {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
}

.admin-body {
  background: #0b0b0b;
}

.admin-shell {
  min-height: 100vh;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 420px);
  gap: 36px;
  align-items: center;
  max-width: 980px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 20px;
}

.login-panel h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.login-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-form,
.editor-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.editor-heading,
.list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.editor-heading {
  align-items: flex-start;
}

.editor-heading strong,
.list-toolbar strong {
  color: var(--text);
}

.editor-heading span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.editor-heading .editor-focus-title {
  display: block;
  margin-top: 6px;
  color: var(--gold-2);
  font-size: 14px;
}

.edit-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.035);
}

.edit-status.active {
  border-color: rgba(212, 175, 55, 0.55);
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.14);
}

.product-editor.is-editing {
  border-color: rgba(212, 175, 55, 0.52);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
}

.product-upload-preview img {
  max-height: 260px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.12), transparent 40%),
    #121212;
}

.product-upload-preview small {
  color: var(--gold-2);
  line-height: 1.5;
}

.sub-editor {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.settings-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.settings-overview a,
.settings-overview button {
  min-height: 34px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.settings-overview a:hover,
.settings-overview button:hover,
.settings-overview button.active {
  color: var(--gold-2);
  border-color: rgba(212, 175, 55, 0.55);
}

.settings-group {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  padding: clamp(16px, 2.4vw, 22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.12);
}

.settings-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  margin-right: 8px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  background: rgba(212, 175, 55, 0.1);
}

.settings-save-bar {
  position: sticky;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 8px;
  padding: 14px;
  background: rgba(15, 15, 15, 0.94);
  box-shadow: var(--shadow);
}

.settings-save-bar span {
  color: var(--muted);
  font-size: 13px;
}

.settings-save-bar button {
  width: auto;
  min-width: 180px;
}

.social-link-list {
  display: grid;
  gap: 10px;
}

.social-link-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.social-icon-preview,
.footer-social-link {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.social-icon-preview {
  width: 50px;
  height: 50px;
  color: var(--gold-2);
  font-weight: 800;
}

.social-icon-preview img,
.footer-social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.helper-text {
  color: var(--gold-2);
  line-height: 1.5;
}

.gallery-editor-list {
  display: grid;
  gap: 10px;
}

.gallery-editor-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.gallery-editor-item img {
  width: 96px;
  height: 82px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: #111;
}

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

.success-panel {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 620px;
  margin: clamp(50px, 10vw, 110px) auto;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 8px;
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.success-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 52px);
}

.success-panel p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 38px;
  font-weight: 800;
  background: rgba(212, 175, 55, 0.12);
  box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.14);
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--gold-2);
}

.hidden {
  display: none !important;
}

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

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #080808;
}

.admin-sidebar h1 {
  margin: 10px 0 4px;
  font-family: Georgia, serif;
}

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

.tab-button,
.admin-sidebar a {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  padding: 13px 14px;
  text-align: left;
  cursor: pointer;
}

.tab-button.active {
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.12);
}

.admin-content {
  padding: 28px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.admin-topbar h2 {
  font-size: 36px;
}

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

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

.list-item {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.product-list-item.is-active {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.1);
}

.list-item-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.list-item strong {
  color: var(--text);
}

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

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

.admin-product-thumb {
  width: 74px;
  height: 58px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: #121212;
}

.empty-thumb {
  background: rgba(255, 255, 255, 0.04);
}

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

.checkbox-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.checkbox-row input {
  width: auto;
}

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

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .trust-strip,
  .product-grid,
  .media-grid,
  .split-band,
  .product-detail,
  .admin-app,
  .admin-grid,
  .login-panel {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .gallery-editor-item {
    grid-template-columns: 1fr;
  }

  .gallery-editor-item img {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-image-desktop {
    display: none;
  }

  .hero-image-mobile {
    display: block;
    object-position: 64% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.68) 42%, rgba(0, 0, 0, 0.94) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.38) 100%);
  }

  .hero-content {
    align-content: end;
    gap: 16px;
    padding: 92px 20px 34px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 11px;
  }

  .header-actions,
  .hero-actions,
  .section-actions,
  .contact-band,
  .site-footer,
  .section-title,
  .inline-fields,
  .settings-save-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .settings-overview {
    display: grid;
    grid-template-columns: 1fr;
  }

  .settings-overview a,
  .settings-overview button {
    border-radius: 8px;
  }

  .settings-save-bar {
    position: static;
    bottom: 10px;
  }

  .settings-save-bar button {
    width: 100%;
  }

  .site-header {
    gap: 12px;
  }

  .site-header .header-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .gold-button,
  .hero-actions .dark-button {
    min-height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    padding: 18px;
  }

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

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

  .product-detail-image > img {
    height: min(52svh, 390px);
  }

  .detail-thumb-row {
    scrollbar-width: none;
  }

  .detail-thumb-row::-webkit-scrollbar {
    display: none;
  }

  .detail-gallery-strip {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
    padding: 10px;
  }

  .detail-gallery-arrow {
    width: 32px;
    min-height: 64px;
    font-size: 24px;
  }

  .detail-thumb {
    flex-basis: 72px;
    width: 72px;
    height: 64px;
  }
}
