:root {
  --bg: #050816;
  --navy: #060b23;
  --surface: #0a1023;
  --surface-2: #0f1730;
  --gold: #c8a96b;
  --gold-hover: #e2c58a;
  --text: #f8f8f5;
  --muted: #a3a3a3;
  --line: rgba(200, 169, 107, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 4%, rgba(200, 169, 107, 0.16), transparent 28rem),
    linear-gradient(140deg, #03050e 0%, var(--bg) 48%, #02030a 100%);
  color: var(--text);
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
}

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

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

button {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, 0.78);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(200, 169, 107, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.8vw, 36px);
  color: #f3f0e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.main-nav a,
.main-nav button,
.import-control {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav button:hover,
.import-control:hover {
  color: var(--gold-hover);
}

.nav-admin {
  color: var(--gold-hover);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  min-height: calc(100vh - 87px);
  padding: clamp(40px, 7vw, 88px) clamp(18px, 5vw, 72px) clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--line-soft);
}

.hero-copy {
  align-self: center;
  max-width: 690px;
}

.hero-logo {
  width: 116px;
  height: 116px;
  margin-bottom: 26px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(200, 169, 107, 0.24), 0 18px 60px rgba(0, 0, 0, 0.35);
}

.kicker,
.section-heading p,
.catalog-top p,
.split-showcase p,
.about-section p:first-child,
.contact-card p,
.admin-hero p,
.form-heading p,
.list-heading p {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(56px, 9vw, 126px);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-text {
  max-width: 610px;
  margin: 28px 0 0;
  color: #dadde3;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
}

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

.btn,
.import-control {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0 24px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-hover), #b9904b);
  color: #120f08;
  box-shadow: 0 18px 42px rgba(200, 169, 107, 0.18);
}

.btn.outline,
.import-control {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn:hover,
.import-control:hover {
  transform: translateY(-1px);
}

.btn.small {
  min-height: 38px;
  padding-inline: 14px;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 107, 0.34);
  border-radius: var(--radius);
  background: #070c1d;
  box-shadow: var(--shadow);
  align-self: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 22, 0.88) 0%, rgba(5, 8, 22, 0.36) 45%, rgba(5, 8, 22, 0.02) 100%),
    linear-gradient(0deg, rgba(5, 8, 22, 0.72) 0%, transparent 42%);
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 28px;
  z-index: 2;
  border: 1px solid rgba(226, 197, 138, 0.28);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.hero-product {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.12) brightness(0.82);
}

.hero-watermark {
  position: absolute;
  left: 44px;
  bottom: 108px;
  z-index: 3;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  opacity: 0.92;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

.hero-rail {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(200, 169, 107, 0.32);
  border-radius: var(--radius);
  background: rgba(5, 8, 22, 0.76);
  backdrop-filter: blur(14px);
}

.hero-rail span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-right: 1px solid rgba(200, 169, 107, 0.18);
  color: var(--gold-hover);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.hero-rail span:last-child {
  border-right: 0;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-soft);
  background: rgba(10, 16, 35, 0.58);
}

.service-strip article {
  padding: 24px clamp(18px, 5vw, 72px);
  border-right: 1px solid var(--line-soft);
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip strong {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.service-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section,
.feature-section,
.catalog-section,
.about-section,
.contact-section,
.split-showcase {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

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

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.catalog-top h2,
.split-showcase h2,
.about-section h2,
.contact-card h2,
.form-heading h2,
.list-heading h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.category-card,
.product-card,
.collection-card,
.contact-card,
.contact-form,
.admin-form,
.admin-list,
.admin-products article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.category-card {
  min-height: 260px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.category-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 600ms ease, filter 600ms ease;
}

.category-card:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.1);
}

.category-card span {
  display: grid;
  min-height: 70px;
  align-items: center;
  padding: 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.feature-section,
.catalog-section {
  border-block: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(10, 16, 35, 0.55), rgba(5, 8, 22, 0.96)),
    radial-gradient(circle at top left, rgba(200, 169, 107, 0.12), transparent 36rem);
}

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

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

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

.product-card {
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  border-color: rgba(226, 197, 138, 0.62);
  transform: translateY(-4px);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34);
}

.product-media {
  position: relative;
  background: linear-gradient(135deg, #10172c, #050816);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.status-pill {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #15100a;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body {
  padding: 17px;
}

.product-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.product-meta,
.product-code,
.product-body p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-meta {
  display: block;
  margin-top: 7px;
  color: var(--gold-hover);
  font-weight: 700;
  text-transform: uppercase;
}

.product-code {
  display: block;
  margin-top: 4px;
}

.product-body p {
  margin: 10px 0 0;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.price {
  color: #fff;
  font-weight: 900;
}

.whatsapp-mini {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-hover);
  padding: 0 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.split-showcase {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.surface-section {
  background: rgba(10, 16, 35, 0.36);
}

.mini-collections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.collection-card {
  overflow: hidden;
}

.collection-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.collection-card div {
  padding: 18px;
}

.collection-card h3 {
  margin: 0;
}

.collection-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.catalog-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px;
  gap: 12px;
  width: min(100%, 620px);
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(200, 169, 107, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
}

select option {
  background: var(--surface);
}

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

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.filter-row button {
  min-height: 40px;
  border: 1px solid rgba(200, 169, 107, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.filter-row button.active {
  border-color: transparent;
  background: var(--gold);
  color: #130f09;
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  color: var(--muted);
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.about-section > p {
  margin: 0;
  color: #dfe2e8;
  font-size: 18px;
  line-height: 1.85;
}

.contact-card,
.contact-form {
  padding: 24px;
}

.contact-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

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

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-hover), #b9904b);
  color: #110e08;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #03050e;
}

.footer div {
  display: grid;
  gap: 10px;
  align-content: start;
  color: var(--muted);
  font-size: 13px;
}

.footer img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.footer strong,
.footer p {
  margin: 0;
  color: var(--text);
}

.admin-shell {
  padding: clamp(28px, 5vw, 58px);
}

.login-locked [data-admin-private] {
  display: none;
}

.admin-page .main-nav.always-visible {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.login-screen {
  display: grid;
  min-height: calc(100vh - 87px);
  place-items: center;
  padding: clamp(28px, 5vw, 72px) 18px;
}

.login-screen[hidden] {
  display: none;
}

.login-card {
  display: grid;
  width: min(100%, 440px);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 34px);
}

.login-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(200, 169, 107, 0.24), 0 18px 50px rgba(0, 0, 0, 0.34);
}

.login-card h1 {
  font-size: clamp(34px, 7vw, 54px);
  line-height: 0.98;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.login-card .btn {
  width: 100%;
}

.login-message {
  min-height: 18px;
  margin: -4px 0 0;
  color: #ffd6d2;
  font-size: 12px;
  font-weight: 700;
}

.admin-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.admin-hero h1 {
  max-width: 920px;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98;
}

.admin-hero span {
  display: block;
  max-width: 740px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 12px;
}

.admin-stats article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  font-size: 30px;
}

.admin-stats span {
  color: var(--muted);
  font-size: 12px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 450px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-form,
.admin-list {
  padding: 24px;
}

.admin-form {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-checks input {
  width: auto;
}

.image-preview {
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(200, 169, 107, 0.36);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.image-preview img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.list-heading {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 340px);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

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

.admin-products article {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
}

.admin-products img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
}

.admin-products h3 {
  margin: 0 0 5px;
}

.admin-products p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.row-actions button {
  min-height: 36px;
  border: 1px solid rgba(200, 169, 107, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.row-actions .delete {
  border-color: rgba(207, 92, 82, 0.58);
  color: #ffd6d2;
}

.import-control input {
  display: none;
}

@media (max-width: 1180px) {
  .hero,
  .split-showcase,
  .about-section,
  .contact-section,
  .admin-layout,
  .admin-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid,
  .feature-grid,
  .mini-collections {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-form {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav:not(.always-visible) {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #050816;
    padding: 16px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav.always-visible {
    gap: 10px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 78px);
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-visual::after {
    inset: 18px;
  }

  .hero-watermark {
    left: 28px;
    bottom: 104px;
    width: 92px;
    height: 92px;
  }

  .hero-rail {
    left: 18px;
    right: 18px;
    bottom: 18px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-rail span {
    min-height: 44px;
    font-size: 10px;
  }

  .service-strip,
  .catalog-controls,
  .catalog-top,
  .list-heading,
  .footer {
    grid-template-columns: 1fr;
  }

  .catalog-top {
    display: grid;
    align-items: start;
  }

  .category-grid,
  .product-grid,
  .feature-grid,
  .compact-grid,
  .mini-collections {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .admin-products article {
    grid-template-columns: 80px 1fr;
  }

  .admin-products img {
    width: 80px;
    height: 80px;
  }

  .row-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .category-grid,
  .product-grid,
  .feature-grid,
  .compact-grid,
  .mini-collections,
  .form-grid,
  .form-checks {
    grid-template-columns: 1fr;
  }

  .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .site-header .btn,
  .site-header .import-control {
    width: auto;
  }
}
