:root {
  --bg: #f3f2ed;
  --surface: #ffffff;
  --ink: #111318;
  --muted: #666a73;
  --line: #dcded8;
  --dark: #111318;
  --blue: #4d5cff;
  --lime: #d8ff57;
  --orange: #ff7248;
  --soft-blue: #e9ebff;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(17, 19, 24, 0.1);
  --shell: 1240px;
  --hero-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hero-word-spacing: 5px;
  --hero-line-height: 1.02;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.announcement {
  background: var(--dark);
  color: #fff;
  font-size: 0.82rem;
}
.announcement-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.announcement-inner span,
.announcement-inner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.announcement-inner span { color: #f1f1ec; font-weight: 700; }
.announcement-inner a { color: #d8ff57; font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  background: rgba(243, 242, 237, 0.88);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  width: 252px;
  height: 68px;
  padding: 6px 13px 6px 7px;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  color: #fff;
}
.brand img { width: 128px; height: 56px; flex: 0 0 auto; object-fit: contain; }
.brand span { min-width: 0; display: block; }
.brand strong { display: block; font-size: .93rem; line-height: 1.05; white-space: nowrap; }
.brand small { display: block; margin-top: 4px; color: #aeb7ca; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #4b4f57;
  font-size: 0.9rem;
  font-weight: 700;
}
.nav-links a:hover { background: #fff; color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.button {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--dark); color: #fff; }
.button-dark:hover { box-shadow: 0 12px 30px rgba(17, 19, 24, 0.22); }
.button-lime { background: var(--lime); color: var(--dark); }
.button-lime:hover { box-shadow: 0 12px 30px rgba(216, 255, 87, 0.2); }
.button-ghost { border-color: rgba(255, 255, 255, 0.34); color: #fff; background: rgba(255, 255, 255, 0.04); }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }

.hero-section { padding-top: 28px; }
.hero-panel {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 40px;
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: clamp(46px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero-copy .eyebrow { color: var(--lime); }
.hero-copy h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-family: var(--hero-font);
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: var(--hero-line-height);
  letter-spacing: -0.045em;
  word-spacing: var(--hero-word-spacing);
  white-space: pre-line;
  overflow-wrap: break-word;
}
.hero-copy > p {
  max-width: 610px;
  margin-bottom: 30px;
  color: #c8cbd0;
  font-size: 1.06rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-proof strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.hero-proof span { color: #90949d; font-size: 0.79rem; }

.hero-media {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  background: #282a33;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 19, 24, 0.78) 0%, rgba(17, 19, 24, 0.12) 38%, rgba(17, 19, 24, 0.18) 100%);
}
.hero-photo-label {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(17, 19, 24, 0.52);
  backdrop-filter: blur(12px);
}
.hero-photo-label span { display: block; margin-bottom: 3px; color: #c8cbd0; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.11em; }
.hero-photo-label strong { font-size: 0.95rem; }
.floating-products {
  position: absolute;
  inset: auto 28px 28px 28px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.floating-product {
  width: min(32%, 190px);
  min-width: 145px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.87);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}
.floating-product .product-visual { height: 95px; margin-bottom: 9px; border-radius: 13px; background: #f0f0eb; }
.floating-product span { display: block; padding: 0 3px 3px; }
.floating-product small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 0.65rem; }
.floating-product strong { display: block; overflow: hidden; font-size: 0.78rem; white-space: nowrap; text-overflow: ellipsis; }
.fp-2 { transform: translateY(-18px); }
.fp-3 { transform: translateY(-3px); }

.value-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
}
.value-strip > div { min-height: 118px; padding: 24px; border-right: 1px solid var(--line); }
.value-strip > div:last-child { border-right: 0; }
.value-strip span { display: block; margin-bottom: 18px; color: var(--blue); font-size: 0.72rem; font-weight: 900; }
.value-strip strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.value-strip small { color: var(--muted); }

.content-section { padding-top: 108px; }
.section-heading { margin-bottom: 32px; }
.split-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 50px;
}
.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.section-heading > p,
.split-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.75;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 18px;
}
.featured-card {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.featured-card:first-child { grid-row: span 2; min-height: 738px; grid-template-columns: 1fr; grid-template-rows: 1.18fr 0.82fr; }
.featured-visual {
  padding: 22px;
  background: linear-gradient(145deg, #e9ebff, #f6f6f2);
}
.featured-visual .product-visual { height: 100%; min-height: 280px; }
.featured-copy { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; }
.featured-copy h3 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 3.4rem); line-height: 1; letter-spacing: -0.05em; }
.featured-copy > p:not(.product-brand) { color: var(--muted); line-height: 1.7; }
.product-brand { margin-bottom: 8px; color: var(--blue); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.card-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-meta { margin-top: auto; padding-top: 18px; width: 100%; display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.product-meta strong { font-size: 0.92rem; }
.product-meta span { color: var(--muted); font-size: 0.8rem; text-align: right; }
.text-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 900; }

.product-visual {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 21px;
  background: #f0f0eb;
  display: grid;
  place-items: center;
}
.product-visual img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.hero-media .product-visual img,
.offer-tile > img { padding: 0; object-fit: cover; }
.image-fallback { display: grid; place-items: center; gap: 7px; color: var(--ink); text-align: center; }
.image-fallback span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); font-size: 1.25rem; font-weight: 950; }
.image-fallback small { color: var(--muted); font-weight: 800; }

.catalogue-section {
  margin-top: 110px;
  padding: 105px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.category-grid button {
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f7f7f3;
  color: var(--ink);
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.category-grid button:hover { transform: translateY(-3px); }
.category-grid button.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.category-grid span { display: block; margin-bottom: 22px; color: var(--blue); font-size: 0.7rem; font-weight: 900; }
.category-grid button.active span { color: var(--lime); }
.category-grid strong { display: block; margin-bottom: 5px; font-size: 0.94rem; }
.category-grid small { color: var(--muted); font-size: 0.73rem; }
.category-grid button.active small { color: #aeb2ba; }

.catalogue-toolbar {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7f7f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.catalogue-toolbar > div strong { display: block; margin-bottom: 2px; }
.catalogue-toolbar > div span { color: var(--muted); font-size: 0.78rem; }
.search-box {
  width: min(100%, 380px);
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(17, 19, 24, 0.08); }
.product-card-top { min-height: 46px; padding: 4px 3px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-card-top .card-badge { margin: 0; }
.product-card-top small { color: var(--muted); font-size: 0.72rem; }
.product-card-copy { padding: 20px 7px 7px; display: flex; flex: 1; flex-direction: column; }
.product-card-copy h3 { margin-bottom: 10px; font-size: 1.55rem; line-height: 1.08; letter-spacing: -0.04em; }
.product-card-copy > p:not(.product-brand) { min-height: 49px; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.variant-row { min-height: 34px; margin: 10px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.variant-row span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #f7f7f3; font-size: 0.69rem; font-weight: 750; }
.product-price { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.product-price strong { font-size: 0.86rem; }
.product-price small { color: var(--blue); font-size: 0.72rem; text-align: right; }
.card-button { width: 100%; margin-top: 16px; }
.empty-state { min-height: 180px; border: 1px dashed var(--line); border-radius: 24px; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); }
.empty-state strong { color: var(--ink); }
.load-more { margin: 26px auto 0; display: flex; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offer-tile {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--dark);
}
.offer-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.offer-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 19, 24, 0.05), rgba(17, 19, 24, 0.88)); }
.offer-content { position: absolute; inset: auto 0 0; padding: 34px; z-index: 2; }
.offer-content > span { display: block; margin-bottom: 14px; color: var(--lime); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.offer-content h3 { max-width: 560px; margin-bottom: 14px; font-size: clamp(2rem, 4vw, 4rem); line-height: 0.98; letter-spacing: -0.055em; }
.offer-content p { max-width: 520px; color: #c8cbd0; line-height: 1.6; }
.offer-content a { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.86rem; font-weight: 900; }
.theme-blue { background: var(--blue); }
.theme-orange { background: var(--orange); }
.theme-light { background: #e9ebff; color: var(--ink); }
.theme-light .offer-overlay { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(233,235,255,0.92)); }
.theme-light .offer-content p { color: #4f5360; }
.theme-light .offer-content > span { color: var(--blue); }

.visit-section { padding-top: 108px; padding-bottom: 108px; }
.visit-card {
  min-height: 590px;
  overflow: hidden;
  border-radius: 40px;
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
}
.visit-copy { padding: clamp(48px, 6vw, 82px); }
.visit-copy .section-kicker { color: var(--lime); }
.visit-copy h2 { max-width: 690px; margin-bottom: 20px; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: 0.96; letter-spacing: -0.065em; }
.visit-copy > p { max-width: 590px; color: #b8bbc2; line-height: 1.7; }
.visit-details { margin: 34px 0; display: grid; gap: 16px; }
.visit-details > div { display: flex; align-items: flex-start; gap: 14px; }
.visit-details strong, .visit-details small { display: block; }
.visit-details strong { margin-bottom: 4px; }
.visit-details small { color: #979ba4; }
.visit-map-art {
  position: relative;
  overflow: hidden;
  padding: 50px;
  background: var(--lime);
  color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visit-map-art::before,
.visit-map-art::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(17, 19, 24, 0.14);
  border-radius: 50%;
}
.visit-map-art::before { width: 520px; height: 520px; top: -160px; right: -190px; }
.visit-map-art::after { width: 360px; height: 360px; bottom: -110px; left: -120px; }
.visit-map-art span { font-size: clamp(2rem, 5vw, 5rem); font-weight: 300; letter-spacing: -0.06em; }
.visit-map-art strong { font-size: clamp(3.4rem, 7vw, 7.4rem); line-height: 0.85; letter-spacing: -0.08em; }
.visit-map-art small { margin-top: 13px; font-size: 1rem; font-weight: 900; letter-spacing: 0.16em; }
.map-pin { position: absolute; right: 44px; bottom: 44px; width: 78px; height: 78px; border-radius: 50%; background: var(--dark); color: var(--lime); display: grid; place-items: center; box-shadow: 0 18px 44px rgba(17, 19, 24, 0.24); }

.footer { padding: 72px 0 24px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.65fr 0.8fr 1fr; gap: 48px; }
.footer-grid img.footer-logo {
  width: 218px;
  max-height: 170px;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: contain;
  background: #000;
}
.footer-grid p { color: var(--muted); line-height: 1.65; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div > span { margin-bottom: 6px; color: var(--muted); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-grid a { font-size: 0.87rem; font-weight: 750; }
.footer-bottom { margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 0.74rem; }
.mobile-actions { display: none; }

/* Admin */
.admin-page { min-height: 100vh; padding: 32px 0 80px; background: #eef0f6; }
.admin-shell { width: min(1320px, calc(100% - 32px)); margin-inline: auto; }
.admin-login-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; }
.admin-login {
  width: min(100%, 460px);
  padding: 34px;
  border: 1px solid #d9dce7;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(29, 35, 66, 0.12);
}
.admin-login img { width: min(300px, 78vw); max-height: 230px; margin-bottom: 28px; border-radius: 18px; object-fit: contain; background: #000; }
.admin-login h1 { margin-bottom: 10px; font-size: 2.3rem; letter-spacing: -0.05em; }
.admin-login p { color: #6b7080; line-height: 1.6; }
.admin-topbar {
  padding: 18px 20px;
  border: 1px solid #d9dce7;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.admin-topbar img { width: 190px; height: 66px; border-radius: 14px; object-fit: contain; background: #000; }
.admin-topbar-actions { display: flex; align-items: center; gap: 10px; }
.admin-version { color: #73798a; font-size: 0.74rem; font-weight: 800; }
.admin-tabs { margin: 18px 0; padding: 7px; border: 1px solid #d9dce7; border-radius: 18px; background: #fff; display: flex; gap: 6px; overflow-x: auto; }
.admin-tabs button { white-space: nowrap; padding: 10px 15px; border: 0; border-radius: 13px; background: transparent; color: #646a7a; font-weight: 800; }
.admin-tabs button.active { background: #12151c; color: #fff; }
.admin-panel { padding: 24px; border: 1px solid #d9dce7; border-radius: 28px; background: #fff; }
.admin-panel-header { margin-bottom: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.admin-panel-header h2 { margin-bottom: 5px; font-size: 1.8rem; letter-spacing: -0.04em; }
.admin-panel-header p { margin-bottom: 0; color: #727789; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-grid.three { grid-template-columns: repeat(3, 1fr); }
.admin-field { display: grid; gap: 7px; }
.admin-field.full { grid-column: 1 / -1; }
.admin-field span { color: #4e5464; font-size: 0.78rem; font-weight: 850; }
.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d9dce7;
  border-radius: 12px;
  outline: none;
  background: #fbfbfd;
  color: #171a22;
}
.admin-field textarea { min-height: 96px; resize: vertical; }
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus { border-color: #5362ff; box-shadow: 0 0 0 3px rgba(83, 98, 255, 0.1); }
.admin-checks { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-check { padding: 11px 13px; border: 1px solid #d9dce7; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; background: #fbfbfd; font-size: 0.8rem; font-weight: 800; }
.admin-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.admin-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
}
.admin-button.primary { background: #12151c; color: #fff; }
.admin-button.secondary { border-color: #d9dce7; background: #fff; color: #252a35; }
.admin-button.danger { background: #ffeced; color: #bb1d2f; }
.admin-button.blue { background: #5362ff; color: #fff; }
.admin-button:disabled { opacity: 0.55; cursor: not-allowed; }
.admin-list { display: grid; gap: 10px; }
.admin-list-item {
  padding: 14px;
  border: 1px solid #e0e2ea;
  border-radius: 17px;
  background: #fbfbfd;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.admin-thumb { width: 62px; height: 62px; overflow: hidden; border-radius: 12px; background: #eceef4; display: grid; place-items: center; }
.admin-thumb img { width: 100%; height: 100%; object-fit: contain; }
.admin-list-copy { min-width: 0; }
.admin-list-copy strong { display: block; margin-bottom: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-list-copy span { color: #73798a; font-size: 0.76rem; }
.admin-list-actions { display: flex; gap: 8px; }
.admin-split { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 18px; align-items: start; }
.admin-sticky { position: sticky; top: 118px; }
.admin-filterbar { margin-bottom: 14px; display: flex; gap: 10px; }
.admin-filterbar input,
.admin-filterbar select { min-height: 44px; padding: 0 12px; border: 1px solid #d9dce7; border-radius: 12px; background: #fff; }
.admin-filterbar input { flex: 1; }
.admin-preview { margin-top: 10px; width: 100%; max-height: 220px; object-fit: contain; border: 1px solid #d9dce7; border-radius: 14px; background: #f3f4f8; }
.admin-notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #eef0ff; color: #3842b8; font-size: 0.8rem; font-weight: 750; }
.admin-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #ffedef; color: #ae1f31; font-size: 0.8rem; font-weight: 750; }
.admin-empty { padding: 30px; border: 1px dashed #d9dce7; border-radius: 16px; color: #73798a; text-align: center; }

@media (max-width: 1120px) {
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 9px; font-size: 0.82rem; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-media { min-height: 580px; }
  .hero-copy { padding-bottom: 42px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card:first-child { grid-row: auto; min-height: 580px; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-split { grid-template-columns: 1fr; }
  .admin-sticky { position: static; }
}

@media (max-width: 980px) {
  .nav-whatsapp { display: none; }
  .menu-button { display: grid; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .value-strip > div:nth-child(2) { border-right: 0; }
  .value-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .offer-grid { grid-template-columns: 1fr; }
  .visit-card { grid-template-columns: 1fr; }
  .visit-map-art { min-height: 380px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid.three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .shell { width: min(100% - 24px, var(--shell)); }
  .announcement-inner { min-height: 36px; justify-content: center; }
  .announcement-inner > span { max-width: 72%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .announcement-inner a { font-size: 0; }
  .announcement-inner a svg { width: 17px; height: 17px; }
  .nav-shell { min-height: 74px; }
  .brand { width: 204px; height: 54px; padding: 5px 9px 5px 5px; gap: 8px; border-radius: 11px; }
  .brand img { width: 98px; height: 44px; }
  .brand strong { font-size: .78rem; }
  .brand small { margin-top: 2px; font-size: .55rem; }
  .hero-section { padding-top: 12px; }
  .hero-panel { min-height: auto; border-radius: 28px; }
  .hero-copy { padding: 38px 24px 32px; }
  .hero-copy h1 {
    font-size: clamp(2.55rem, 12.5vw, 4rem);
    line-height: var(--hero-line-height);
    letter-spacing: -0.035em;
    word-spacing: min(var(--hero-word-spacing), 8px);
  }
  .hero-copy > p { font-size: 0.94rem; }
  .hero-actions .button { width: 100%; }
  .hero-proof { margin-top: 32px; grid-template-columns: 1fr; gap: 12px; }
  .hero-proof div { display: flex; justify-content: space-between; gap: 12px; }
  .hero-proof strong { margin: 0; }
  .hero-media { min-height: 470px; }
  .hero-photo-label { top: 16px; right: 16px; left: 16px; }
  .floating-products { inset: auto 12px 12px 12px; gap: 7px; }
  .floating-product { min-width: 0; width: 33.333%; padding: 7px; border-radius: 15px; }
  .floating-product .product-visual { height: 70px; }
  .floating-product small { display: none; }
  .floating-product strong { font-size: 0.64rem; }
  .fp-2 { transform: translateY(-10px); }
  .value-strip { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .value-strip > div { min-height: 104px; padding: 18px; }
  .value-strip strong { font-size: 0.82rem; }
  .value-strip small { font-size: 0.7rem; }
  .content-section { padding-top: 78px; }
  .section-heading h2 { font-size: 2.75rem; }
  .featured-card,
  .featured-card:first-child { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .featured-visual .product-visual { min-height: 260px; }
  .featured-copy { padding: 24px; }
  .catalogue-section { margin-top: 78px; padding: 76px 0; }
  .category-grid { display: flex; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .category-grid button { min-width: 150px; }
  .catalogue-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .offer-tile { min-height: 410px; }
  .offer-content { padding: 25px; }
  .visit-section { padding-top: 78px; padding-bottom: 88px; }
  .visit-card { border-radius: 28px; }
  .visit-copy { padding: 38px 24px; }
  .visit-copy h2 { font-size: 2.8rem; }
  .visit-map-art { min-height: 310px; padding: 30px; }
  .footer { padding-bottom: 92px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .mobile-actions {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 100;
    padding: 7px;
    border: 1px solid rgba(17, 19, 24, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 50px rgba(17, 19, 24, 0.18);
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .mobile-actions a { min-height: 48px; border-radius: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #4d5260; font-size: 0.66rem; font-weight: 850; }
  .mobile-actions .mobile-wa { background: var(--dark); color: #fff; }
  .admin-page { padding-top: 16px; }
  .admin-shell { width: min(100% - 18px, 1320px); }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar img { width: 150px; height: 54px; }
  .admin-version { display: none; }
  .admin-panel { padding: 16px; border-radius: 22px; }
  .admin-panel-header { flex-direction: column; }
  .admin-grid,
  .admin-grid.three { grid-template-columns: 1fr; }
  .admin-list-item { grid-template-columns: 52px minmax(0, 1fr); }
  .admin-thumb { width: 52px; height: 52px; }
  .admin-list-actions { grid-column: 1 / -1; }
  .admin-list-actions .admin-button { flex: 1; }
  .admin-filterbar { flex-direction: column; }
}

/* Theme and interaction layer */
body[data-theme="electric-ivory"] {
  --bg: #f4f1e9;
  --surface: #ffffff;
  --ink: #0e1118;
  --muted: #686b72;
  --line: #dcd9cf;
  --dark: #0e1118;
  --blue: #4657ff;
  --lime: #dbff54;
  --orange: #ff7048;
  --soft-blue: #e9ebff;
}
body[data-theme="midnight-cobalt"] {
  --bg: #0b1020;
  --surface: #141a2c;
  --ink: #f6f7fb;
  --muted: #aab0c0;
  --line: #293149;
  --dark: #070b14;
  --blue: #7180ff;
  --lime: #d9ff62;
  --orange: #ff815c;
  --soft-blue: #20294a;
}
body[data-theme="midnight-cobalt"] .site-header { background: rgba(11,16,32,.88); border-color: var(--line); }
body[data-theme="midnight-cobalt"] .nav-links a { color: #c7ccda; }
body[data-theme="midnight-cobalt"] .nav-links a:hover,
body[data-theme="midnight-cobalt"] .menu-button,
body[data-theme="midnight-cobalt"] .catalogue-section,
body[data-theme="midnight-cobalt"] .product-card,
body[data-theme="midnight-cobalt"] .catalogue-toolbar,
body[data-theme="midnight-cobalt"] .search-box { background: var(--surface); color: var(--ink); }
body[data-theme="midnight-cobalt"] .value-strip { background: rgba(20,26,44,.8); }
body[data-theme="midnight-cobalt"] .category-grid button,
body[data-theme="midnight-cobalt"] .variant-row span { background: #11182a; color: var(--ink); }
body[data-theme="midnight-cobalt"] .footer { background: #060914; }
body[data-theme="warm-graphite"] {
  --bg: #e9e2d7;
  --surface: #fffaf3;
  --ink: #211d1a;
  --muted: #756d66;
  --line: #d5cabd;
  --dark: #211d1a;
  --blue: #7956ff;
  --lime: #f1ff6d;
  --orange: #d9603d;
  --soft-blue: #eee7ff;
}

.hero-panel { position: relative; isolation: isolate; background: radial-gradient(circle at 18% 18%, #252c48 0, var(--dark) 44%, #090b10 100%); }
.hero-panel::before { content: ""; position: absolute; width: 340px; height: 340px; left: -160px; bottom: -180px; border-radius: 50%; background: var(--blue); filter: blur(80px); opacity: .18; z-index: -1; }
.hero-copy h1 { text-wrap: balance; }
.hero-media { transform-style: preserve-3d; }
.hero-photo { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-media:hover .hero-photo { transform: scale(1.025); }

.tilt-card { transform-style: preserve-3d; will-change: transform; transition: transform .24s ease, box-shadow .24s ease; }
.product-card.tilt-card:hover { transform: perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-6px); box-shadow: 0 24px 60px rgba(17,19,24,.12); }
.featured-card.tilt-card:hover,
.offer-tile.tilt-card:hover { transform: perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px); box-shadow: 0 28px 72px rgba(17,19,24,.14); }
.category-grid button.tilt-card:hover { transform: perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px); }

.product-visual { position: relative; }
.product-visual .image-fallback { position: absolute; inset: 0; align-content: center; }
.product-visual img { position: relative; z-index: 1; }
.product-visual .image-fallback[hidden] { display: none; }
.category-grid button { position: relative; overflow: hidden; }
.category-image { position: absolute; width: 72px; height: 72px; right: -10px; top: -10px; object-fit: contain; opacity: .28; transform: rotate(8deg); }
.category-grid button.active .category-image { opacity: .4; }
.product-empty { grid-column: 1 / -1; }

.site-loading,
.site-error { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 18px; padding: 30px; text-align: center; }
.site-loading img,
.site-error img { width: min(240px,70vw); }
.site-loading span { color: var(--muted); font-weight: 750; }
.site-error h1 { margin: 8px 0 0; font-size: clamp(2rem,6vw,4rem); letter-spacing: -.05em; }
.site-error p { max-width: 560px; color: var(--muted); }
.site-error button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--dark); color: #fff; font-weight: 850; }

.admin-body { background: #f1f2f7; }
.admin-pill { display: inline-flex; width: fit-content; margin-bottom: 12px; padding: 7px 10px; border-radius: 999px; background: #eef0ff; color: #414bc3; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.admin-subheading { margin: 30px 0 14px; padding-top: 24px; border-top: 1px solid #e2e4ec; font-size: 1rem; letter-spacing: -.02em; }
.admin-subheading:first-of-type { margin-top: 8px; padding-top: 0; border-top: 0; }
.admin-field-help { color: #858a99; font-size: .7rem; line-height: 1.45; }
.admin-login .admin-pill { margin-inline: auto; }
.admin-login h1 { margin-bottom: 10px; font-size: clamp(2rem,6vw,3.4rem); letter-spacing: -.06em; }
.admin-login > p { color: #74798a; line-height: 1.6; }
.admin-list-item { scroll-margin-top: 120px; }
.admin-preview[hidden] { display: none; }

@media (max-width: 860px) {
  body[data-theme="midnight-cobalt"] .nav-links { background: var(--surface); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tilt-card:hover { transform: none !important; }
}

/* v12.4 catalogue flow and responsive location map */
.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.catalogue-intro {
  min-height: 92px;
  padding: 22px 24px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: #fafaf7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  text-align: left;
}
.catalogue-intro > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
}
.catalogue-intro strong,
.catalogue-intro small { display: block; }
.catalogue-intro strong { margin-bottom: 4px; color: var(--ink); }
.catalogue-intro small { line-height: 1.5; }
.brand-stage { margin-top: 28px; scroll-margin-top: 110px; }
.brand-stage-head {
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f7f7f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-stage-head .section-kicker { margin-bottom: 9px; }
.brand-stage-head h3 { margin-bottom: 5px; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -0.045em; }
.brand-stage-head p { margin: 0; color: var(--muted); }
.catalogue-back {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.brand-card {
  min-height: 132px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.brand-card:hover { border-color: #aeb3c1; transform: translateY(-3px); }
.brand-card.active { border-color: var(--dark); background: var(--dark); color: #fff; }
.brand-mark {
  width: 45px;
  height: 45px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .04em;
}
.brand-card.active .brand-mark { background: var(--lime); color: var(--dark); }
.brand-card strong { margin-bottom: 4px; font-size: .92rem; }
.brand-card small { color: var(--muted); font-size: .72rem; }
.brand-card.active small { color: #aeb2ba; }
.catalogue-results { margin-top: 28px; scroll-margin-top: 105px; }
.catalogue-results[hidden],
.brand-stage[hidden],
.catalogue-intro[hidden] { display: none; }

.visit-map {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  background: #d9d9d4;
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 590px;
  border: 0;
  display: block;
  filter: saturate(.82) contrast(.97);
}
.store-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  min-width: 220px;
  padding: 10px 13px 10px 9px;
  border: 1px solid rgba(17,19,24,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  color: #111318;
  box-shadow: 0 18px 50px rgba(17,19,24,.24);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
}
.store-map-pin img { width: 52px; height: 62px; flex: 0 0 auto; }
.store-map-pin strong,
.store-map-pin small { display: block; }
.store-map-pin strong { margin-bottom: 3px; font-size: .88rem; }
.store-map-pin small { color: #686b72; font-size: .68rem; }

@media (max-width: 1120px) {
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visit-map,
  .visit-map iframe { min-height: 430px; }
}

@media (max-width: 640px) {
  .category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .category-grid button { min-width: 0; min-height: 126px; }
  .brand-stage { margin-top: 20px; }
  .brand-stage-head { padding: 18px; align-items: flex-start; flex-direction: column; }
  .catalogue-back { width: 100%; justify-content: center; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-card { min-height: 118px; padding: 14px; }
  .brand-mark { width: 40px; height: 40px; margin-bottom: 14px; }
  .catalogue-intro { padding: 18px; align-items: flex-start; justify-content: flex-start; }
  .visit-map,
  .visit-map iframe { min-height: 340px; }
  .store-map-pin { min-width: 190px; padding: 8px 10px 8px 7px; }
  .store-map-pin img { width: 44px; height: 54px; }
}

/* v12.4 logo, hero typography and live-edit refinements */
.admin-typography-preview {
  margin-top: 12px;
  padding: 20px;
  border: 1px solid #d9dce7;
  border-radius: 16px;
  background: #111318;
  color: #fff;
  overflow: hidden;
}
.admin-typography-preview strong {
  display: block;
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: var(--preview-line-height, 1.02);
  word-spacing: var(--preview-word-spacing, 5px);
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
}
.admin-live-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #d7dbe8;
  border-radius: 13px;
  background: #f8f9fc;
  color: #5e6473;
  font-size: .76rem;
  line-height: 1.5;
}
.admin-live-note strong { color: #202535; }
@media (max-width: 640px) {
  .footer-grid img.footer-logo { width: 190px; max-height: 150px; }
  .admin-typography-preview { padding: 16px; }
  .admin-typography-preview strong { font-size: 2.25rem; }
}

