:root {
  --maroon: #800000;
  --maroon-glow: rgba(128, 0, 0, 0.6);
  --silver: #E0E0E0;
  --silver-dark: #A0A0A0;
  --bg-dark: #0a0a0c;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--silver);
  overflow-x: hidden;
  position: relative;
  padding-top: 96px; /* fixed topbar spacing */
}

a { color: inherit; }

a.link{
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px dashed rgba(224,224,224,0.35);
}
a.link:hover{
  border-bottom-color: rgba(128,0,0,0.65);
}

::selection {
  background: rgba(128, 0, 0, 0.5);
  color: #fff;
}

/* =========================
   Background glows
   ========================= */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--maroon-glow) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -2;
  animation: float 10s infinite alternate;
}

.bg-glow-2 {
  position: fixed;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(192,192,192,0.10) 0%, transparent 70%);
  bottom: -140px;
  right: -140px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -2;
  animation: float2 12s infinite alternate;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 50px); }
}
@keyframes float2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-80px, -60px); }
}

/* =========================
   Reveal / Preloader
   ========================= */
#reveal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(1200px 600px at 20% 20%, rgba(128,0,0,0.35), transparent 55%),
              radial-gradient(900px 700px at 80% 80%, rgba(224,224,224,0.08), transparent 60%),
              var(--bg-dark);
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#reveal.is-hidden {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.reveal-card {
  width: min(520px, 92vw);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  backdrop-filter: blur(14px);
}

.reveal-logo {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 10px 30px rgba(128, 0, 0, 0.25));
}

.reveal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reveal-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.reveal-sub {
  color: var(--silver-dark);
  margin-top: 6px;
  font-size: 15px;
}

.reveal-bar {
  height: 10px;
  border-radius: 999px;
  margin-top: 18px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}

.reveal-bar > span {
  display: block;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, rgba(128,0,0,0.2), rgba(128,0,0,0.8), rgba(224,224,224,0.2));
  filter: drop-shadow(0 0 12px rgba(128,0,0,0.35));
  animation: loading 1.2s infinite ease-in-out;
}

@keyframes loading {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(260%); }
}

/* =========================
   Topbar / Navigation
   ========================= */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;

  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

/* =========================
   Simple navigation (no dock animation)
   ========================= */
.nav-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  overflow-x:auto;
  scrollbar-width:none;
  max-width: min(760px, 60vw);
}
.nav-links::-webkit-scrollbar{ display:none; }

.nav-link{
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 800;
  font-size: 14px;
  color: var(--silver-dark);
  border: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.nav-link:hover{
  color: var(--silver);
  border-color: rgba(224,224,224,0.14);
  background: rgba(255,255,255,0.03);
}
.nav-link.is-active{
  color: var(--silver);
  border-color: rgba(128,0,0,0.55);
  background: rgba(128,0,0,0.08);
  box-shadow: 0 0 18px rgba(128,0,0,0.18);
}

.nav-toggle{ display:none; }

.mobile-nav{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
  display: none;
  padding: 96px 14px 16px;
}
.mobile-nav.is-open{ display: block; }

.mobile-nav-inner{
  width: min(520px, 92vw);
  margin: 0 auto;
  background: rgba(10,10,12,0.90);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.65);
}
.mobile-link{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--silver);
  font-weight: 800;
  margin: 6px 0;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color .25s ease, background .25s ease;
}
.mobile-link:hover{
  border-color: rgba(128,0,0,0.45);
  background: rgba(128,0,0,0.06);
}
.mobile-link.is-active{
  border-color: rgba(128,0,0,0.65);
  background: rgba(128,0,0,0.10);
}

.mobile-actions{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 900px){
  .topbar{
    grid-template-columns: 1fr auto;
  }
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
}



.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 0 0 1px rgba(128,0,0,0.10), 0 12px 28px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
}

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

.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--silver);
  text-shadow: 0 0 10px rgba(224, 224, 224, 0.28);
}

.brand-text span { color: var(--maroon); }

.nav-actions {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.user-chip img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
}

.user-chip strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.user-chip small {
  display: block;
  font-size: 12px;
  color: var(--silver-dark);
  margin-top: -2px;
}

/* =========================
   Dock Menu (vanilla version of provided concept)
   ========================= */
.dock-outer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dock-panel {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-panel::-webkit-scrollbar { display: none; }

.dock-item {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  text-decoration: none;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);

  transform-origin: center bottom;
  transform: translateY(calc(-6px * (var(--s, 1) - 1))) scale(var(--s, 1));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dock-item:focus-visible {
  outline: 2px solid rgba(128,0,0,0.6);
  outline-offset: 3px;
}

.dock-item:hover {
  border-color: rgba(224,224,224,0.16);
}

.dock-item.is-active {
  border-color: rgba(128,0,0,0.85);
  box-shadow: 0 0 0 1px rgba(128,0,0,0.18), 0 18px 40px rgba(128,0,0,0.12);
}

.dock-icon {
  font-size: 22px;
  color: var(--silver);
}

.dock-label {
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translate(-50%, 0);
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dock-item:hover .dock-label {
  opacity: 1;
  transform: translate(-50%, -12px);
}

/* =========================
   Buttons
   ========================= */
.btn {
  width: var(--btn-w, auto);
  height: var(--btn-h, 2.3em);
  margin: var(--btn-m, 0.5em);
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 0.625em;
  font-size: var(--btn-fs, 20px);
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0 1.05em;
  text-decoration: none;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
  background: rgba(224,224,224,0.95);
  color: #000;
  border-color: rgba(224,224,224,0.35);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(128,0,0,0.45);
  outline-offset: 3px;
}

.btn:disabled,
.btn[aria-disabled="true"]{
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--sm {
  --btn-h: 2.05em;
  --btn-fs: 16px;
  --btn-m: 0;
  --btn-w: auto;
  padding: 0 0.95em;
}

.btn--nav {
  --btn-h: 2.1em;
  --btn-fs: 16px;
  --btn-m: 0;
  --btn-w: auto;
}

/* =========================
   Inputs (as requested, palette adapted)
   ========================= */
.form-control {
  position: relative;
  width: 100%;
  --border-height: 2px;
  --border-before-color: rgba(224,224,224,0.20);
  --border-after-color: rgba(128,0,0,0.85);
}

.input {
  color: #fff;
  font-size: 0.95rem;
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 0.5em;
  padding-block: 0.8em;
  border: none;
  border-bottom: var(--border-height) solid var(--border-before-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.input::placeholder { color: rgba(224,224,224,0.35); }

.input-border {
  position: absolute;
  background: var(--border-after-color);
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  transition: width 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.input:focus { outline: none; }
.input:focus + .input-border { width: 100%; }

.input-alt {
  font-size: 1.05rem;
  padding-inline: 1em;
  padding-block: 0.9em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.input-border-alt {
  height: 3px;
  background: linear-gradient(90deg, var(--maroon) 0%, var(--silver) 50%, var(--maroon) 100%);
  transition: width 0.4s cubic-bezier(0.42, 0, 0.58, 1.00);
}

.input-alt:focus + .input-border-alt { width: 100%; }

/* =========================
   Layout helpers
   ========================= */
main {
  padding-top: 102px; /* topbar height */
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.page-hero {
  padding: 42px 0 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--silver), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--silver-dark);
  font-size: 18px;
  line-height: 1.6;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  margin: 76px 0 34px;
  font-weight: 800;
}

.section-title span { color: var(--maroon); }

.muted { color: var(--silver-dark); }

/* =========================
   Home hero
   ========================= */
.hero {
  min-height: calc(100vh - 102px);
  display: grid;
  place-items: center;
  padding: 10px 0 40px;
}

.hero-inner {
  width: min(1100px, 92vw);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(to right, var(--silver), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.02;
}

.hero p {
  font-size: 18px;
  color: var(--silver-dark);
  max-width: 620px;
  line-height: 1.7;
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-note {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(224,224,224,0.45);
}

.logo-stage {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.logo-stage:before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(128,0,0,0.35), transparent 55%),
              radial-gradient(circle at 70% 75%, rgba(224,224,224,0.07), transparent 60%);
  filter: blur(20px);
  opacity: 0.9;
}

.logo-stage-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.logo-paint-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 34px rgba(128,0,0,0.22));
}

.logo-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 34px rgba(128,0,0,0.22));
}

/* =========================
   Glass cards / grids
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(128, 0, 0, 0.75);
  box-shadow: 0 22px 55px rgba(0,0,0,0.35);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--maroon);
  font-size: 22px;
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.card-desc {
  margin-top: 8px;
  color: var(--silver-dark);
  line-height: 1.6;
  font-size: 15px;
}

.kpi {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
}

.badge--maroon { border-color: rgba(128,0,0,0.5); }

.badge--ghost {
  background: rgba(0,0,0,0.18);
  border-color: rgba(224,224,224,0.14);
  color: rgba(224,224,224,0.92);
}

/* =========================
   Product cards
   ========================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.product-media {
  height: 220px;
  border-radius: 14px;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.product-media i {
  font-size: 56px;
  color: rgba(128,0,0,0.9);
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.45));
}

.product-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: center;
}

.price {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.stock {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.85);
}

.stock--ok { border-color: rgba(80, 200, 120, 0.35); }
.stock--low { border-color: rgba(255, 191, 89, 0.35); }
.stock--out { border-color: rgba(255, 100, 100, 0.35); }


.product-card{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .card-desc{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-actions{
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.product-actions .btn{
  width: 100%;
  --btn-m: 0;
}

/* =========================
   Modals
   ========================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.is-open { display: grid; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(860px, 96vw);
  border-radius: 22px;
  background: rgba(10,10,12,0.82);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
  overflow: hidden;
}

.modal-content {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.modal-media {
  min-height: 320px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.35);
  overflow: hidden;
  display: block;
}

.modal-media > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.modal-media i { font-size: 80px; color: rgba(128,0,0,0.9); }


/* =========================
   Product gallery (modal)
   ========================= */
.gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-main {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.20);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.55);
  color: var(--silver);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.gallery-nav:hover {
  background: rgba(0,0,0,0.75);
  border-color: rgba(224,224,224,0.22);
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.18);
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.thumb {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  flex: 0 0 auto;
  padding: 0;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb.is-active {
  border-color: rgba(128,0,0,0.85);
  box-shadow: 0 0 0 3px rgba(128,0,0,0.18);
}

.gallery-fallback {
  min-height: 320px;
  display: grid;
  place-items: center;
}

.modal-info h3 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
}

.modal-info p {
  margin-top: 10px;
  color: var(--silver-dark);
  line-height: 1.7;
}

.modal-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.modal-close .btn {
  --btn-m: 0;
  --btn-w: auto;
  --btn-fs: 16px;
}

/* =========================
   Tracking
   ========================= */
.tracking-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128,0,0,0.75);
  padding: 38px;
  border-radius: 26px;
  text-align: center;
  box-shadow: 0 0 40px rgba(128, 0, 0, 0.10);
}

.tracking-row {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.tracking-row .form-control {
  max-width: 520px;
}

.couriers {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 20px;
  color: var(--silver-dark);
  font-size: 28px;
}

.couriers i { transition: 0.3s; }
.couriers i:hover { color: var(--silver); transform: scale(1.12); }

.notice {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(224,224,224,0.6);
}

/* =========================
   Reviews
   ========================= */
.reviews-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2vw 10px;
  scrollbar-width: none;
}

.reviews-row::-webkit-scrollbar { display: none; }

.review-card {
  min-width: 320px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 22px;
  border-radius: 16px;
  border-top: 4px solid rgba(128,0,0,0.8);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.review-card--compact{ min-width: 0; padding: 18px; }
.review-card--compact p{
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-meta{ margin-top: 12px; display:flex; flex-direction:column; gap:4px; }
.review-meta strong{ color: var(--silver); }
.review-meta .muted{ font-size: 12px; }


.stars { color: #FFD700; margin-bottom: 12px; letter-spacing: 2px; }

.review-card p { color: var(--silver-dark); line-height: 1.65; }
.review-card h4 { margin-top: 12px; color: #fff; font-weight: 800; }

/* =========================
   Footer
   ========================= */
footer {
  margin-top: 90px;
  background: #050505;
  padding: 56px 4vw;
  border-top: 1px solid rgba(128, 0, 0, 0.30);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px;
}

.footer-col h4 {
  color: var(--silver);
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-col p {
  color: var(--silver-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-icons {
  font-size: 28px;
  color: var(--silver);
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

/* =========================
   Page transition overlay
   ========================= */
#pagefade {
  position: fixed;
  inset: 0;
  background: rgba(10,10,12,0.92);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#pagefade.is-on {
  opacity: 1;
  pointer-events: all;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .hero-inner { grid-template-columns: 1fr; }
  .topbar { grid-template-columns: 1fr; gap: 10px; padding: 14px 14px; }
  .dock-outer { order: 3; }
  .nav-actions { justify-content: flex-start; order: 2; }
  main { padding-top: 146px; }
}

@media (max-width: 520px){
  .brand-text { display: none; }
  .dock-item { width: 46px; height: 46px; }
}

/* =========================
   Accordion (Rules)
   ========================= */
.accordion {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.accordion-item {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.accordion-head {
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.accordion-head strong {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.accordion-head span {
  color: rgba(224,224,224,0.65);
  font-weight: 800;
}

.accordion-body {
  padding: 0 18px;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body p {
  padding: 0 0 16px;
  color: var(--silver-dark);
  line-height: 1.75;
}

.accordion-body ul,
.doc-list{
  padding: 0 0 16px 18px;
  margin-top: -6px;
  color: rgba(224,224,224,0.72);
  line-height: 1.75;
}
.accordion-body li,
.doc-list li{ margin: 6px 0; }



/* =========================
   Refund Wizard
   ========================= */
.refund-wizard {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
}

.refund-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rw-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(224,224,224,0.72);
}

.rw-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rw-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  user-select: none;
}

.rw-radio input { accent-color: var(--maroon); }

.rw-radio span {
  font-weight: 800;
  font-size: 13px;
  color: rgba(224,224,224,0.88);
}

.rw-radio:hover {
  border-color: rgba(128,0,0,0.45);
}

.rw-extra { margin-top: 12px; }

.rw-result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.rw-step-title {
  font-weight: 900;
  color: #fff;
  margin-top: 6px;
}

.rw-steps {
  padding-left: 18px;
  margin-top: 10px;
  color: rgba(224,224,224,0.75);
  line-height: 1.75;
}

.rw-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .refund-grid { grid-template-columns: 1fr; }
}


/* =========================
   Admin
   ========================= */
.admin-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin-top: 28px;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.admin-item {
  width: 100%;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;

  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.92);

  display: block;
  transition: transform 0.18s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.admin-item:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.04);
  border-color: rgba(128,0,0,0.45);
  box-shadow: 0 16px 40px rgba(0,0,0,0.32);
}

.admin-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  color: #fff;
}

.admin-item .muted {
  color: rgba(224,224,224,0.62);
  line-height: 1.35;
}

.admin-item:focus-visible {
  outline: 3px solid rgba(128,0,0,0.45);
  outline-offset: 3px;
}

.admin-item--active {
  border-color: rgba(128,0,0,0.8) !important;
  box-shadow: 0 0 0 1px rgba(128,0,0,0.20), 0 20px 50px rgba(128,0,0,0.12) !important;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.admin-tabs .btn {
  --btn-w: auto;
  --btn-h: 2.2em;
  --btn-fs: 16px;
  --btn-m: 0;
}

.admin-tabs .btn.is-active {
  box-shadow: 0 0 0 2px rgba(128,0,0,0.35);
}


.analytics-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.analytics-hint {
  margin-top: 10px;
  color: rgba(224,224,224,0.62);
  font-size: 13px;
  line-height: 1.6;
}

.admin-panel {
  margin-top: 18px;
}

.admin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-form label {
  display: block;
  margin-top: 12px;
  color: rgba(224,224,224,0.72);
  font-weight: 700;
  font-size: 13px;
}

.admin-form textarea.input {
  resize: vertical;
  min-height: 120px;
}

textarea.input {
  color: #fff;
  background: transparent;
}

select.select {
  width: 100%;
  margin-top: 8px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
}

select.select:focus {
  border-color: rgba(128,0,0,0.7);
}

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

/* Reviews grid helpers */
.reviews-grid .glass-card { grid-column: span 6; }
@media (max-width: 820px){
  .reviews-grid .glass-card { grid-column: span 12; }
}
