:root {
  --navy: #0a1628;
  --navy-mid: #132238;
  --navy-light: #1e3354;
  --beige: #e8dcc8;
  --beige-soft: #f5efe6;
  --beige-dark: #c9b89a;
  --gold: #c4a574;
  --gold-bright: #d4b896;
  --text: #f5efe6;
  --text-muted: #b8a99a;
  --card: rgba(19, 34, 56, 0.85);
  --border: rgba(232, 220, 200, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --header-h: 64px;
}

body.light {
  --navy: #f5efe6;
  --navy-mid: #ffffff;
  --navy-light: #e8dcc8;
  --text: #0a1628;
  --text-muted: #4a5568;
  --card: rgba(255, 255, 255, 0.95);
  --border: rgba(10, 22, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-tap-highlight-color: rgba(196, 165, 116, 0.25);
}

body.menu-open {
  overflow: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(196, 165, 116, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(30, 51, 84, 0.5), transparent 45%),
    linear-gradient(180deg, var(--navy) 0%, #060d18 100%);
  pointer-events: none;
  z-index: 0;
}

body.light .bg-mesh {
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(196, 165, 116, 0.25), transparent 50%),
    linear-gradient(180deg, var(--beige-soft) 0%, var(--beige) 100%);
}

/* Floating ambient particles */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(196, 165, 116, 0.35);
  box-shadow: 0 0 12px rgba(196, 165, 116, 0.5);
  animation: float-particle linear infinite;
  pointer-events: none;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.2;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-120px) translateX(30px) scale(0.5);
    opacity: 0;
  }
}

body.fx-ready .bg-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(196, 165, 116, 0.04) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shine-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 22, 40, 0.75);
  border-bottom: 1px solid var(--border);
}

body.light .site-header {
  background: rgba(245, 239, 230, 0.9);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.nav-links a {
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
}

.owner-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.owner-link {
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(196, 165, 116, 0.08);
}

.owner-link.active,
.owner-link:hover {
  background: var(--gold);
  color: var(--navy);
}

.owner-link-btn {
  cursor: pointer;
  font-family: inherit;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

/* Logo hologram watermark on every page */
.logo-hologram {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.logo-hologram-img {
  width: min(480px, 75vw);
  max-height: 70vh;
  object-fit: contain;
  opacity: 0.28;
  filter: drop-shadow(0 0 60px rgba(196, 165, 116, 0.4));
  animation: hologram-pulse 10s ease-in-out infinite;
  user-select: none;
}

body.light .logo-hologram-img {
  opacity: 0.22;
  filter: drop-shadow(0 0 50px rgba(159, 106, 46, 0.35));
}

@keyframes hologram-pulse {
  0%,
  100% {
    opacity: 0.24;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.34;
    transform: scale(1.02);
  }
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 12px rgba(196, 165, 116, 0.4));
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  background: transparent;
  border: none;
  padding: 0;
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--beige), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light .brand-title {
  background: linear-gradient(90deg, #0a1628, #5c4a32);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn,
.cart-btn,
.menu-toggle {
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  border-radius: 12px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.icon-btn:hover,
.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 165, 116, 0.22);
  border-color: var(--gold);
}

.cart-btn span {
  background: var(--gold);
  color: var(--navy);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
}

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 4rem;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-logo {
  width: min(220px, 55vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(196, 165, 116, 0.3));
  animation: hero-logo-in 1s ease;
}

@keyframes hero-logo-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.hero-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--beige) 0%, var(--gold-bright) 50%, var(--beige-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

body.light .hero-brand {
  background: linear-gradient(135deg, #0a1628, #5c4a32, #0a1628);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--beige-dark));
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(196, 165, 116, 0.35);
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-gold:hover::after {
  transform: translateX(120%);
}

.btn-email {
  background: linear-gradient(135deg, #4a6fa5, #2e4a6e);
  color: #fff;
  box-shadow: 0 6px 20px rgba(74, 111, 165, 0.35);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.dual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dual-actions .btn {
  flex: 1 1 130px;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}

.interactive-card {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.interactive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  border-color: rgba(196, 165, 116, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.orbit-card {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  inset: -8%;
  border: 2px dashed var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: spin 24s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}

.orbit-badge {
  position: absolute;
  bottom: 12%;
  right: -5%;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-scroll {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold), transparent);
  margin: 0.5rem auto 0;
  animation: pulse-line 1.5s ease infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Catalog */
.catalog {
  padding: 4rem 0;
}

.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  margin: 0 0 0.25rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.toolbar input {
  flex: 1 1 240px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  font-family: inherit;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 165, 116, 0.25);
  border-color: var(--gold);
}

.chip.active {
  background: linear-gradient(135deg, var(--gold), var(--beige-dark));
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(196, 165, 116, 0.4);
  animation: chip-pulse 2s ease infinite;
}

@keyframes chip-pulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(196, 165, 116, 0.35);
  }
  50% {
    box-shadow: 0 4px 22px rgba(196, 165, 116, 0.55);
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(196, 165, 116, 0.15),
    transparent 50%,
    rgba(30, 51, 84, 0.2)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(196, 165, 116, 0.35);
  border-color: var(--gold);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover::after {
  left: 120%;
}

.card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.card-body {
  position: relative;
  z-index: 3;
}

.card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.35rem;
}

.card-badges span {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(10, 22, 40, 0.8);
  color: var(--beige);
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.card-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
}

.price {
  font-weight: 700;
  color: var(--gold-bright);
}

.price .mrp {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.35rem;
  font-weight: 400;
}

.card-actions {
  display: flex;
  gap: 0.4rem;
}

.card-actions button {
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

/* Why */
.why {
  padding: 3rem 0;
}

.why h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  transition: transform 0.3s;
}

.why-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
}

/* Reviews */
.reviews {
  padding: 3rem 0;
}

.reviews h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  text-align: center;
}

.review-track {
  position: relative;
  min-height: 120px;
  margin: 1.5rem 0;
}

.review-card {
  display: none;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.15rem;
}

.review-card.active {
  display: block;
  animation: fadeUp 0.5s ease;
}

.review-card cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-style: normal;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.review-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
}

.review-dots button.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Contact */
.contact {
  padding: 3rem 0 5rem;
  text-align: center;
}

.contact h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
}

.contact-form {
  max-width: 520px;
  margin: 1.5rem auto 0;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  font-family: inherit;
}

.form-msg {
  color: var(--gold-bright);
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.site-footer p:last-child {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Product modal — fits viewport */
.product-modal {
  border: none;
  padding: 0;
  margin: auto;
  width: min(960px, 96vw);
  max-width: 96vw;
  height: fit-content;
  max-height: 94dvh;
  background: transparent;
  overflow: hidden;
}

.product-modal[open] {
  animation: modal-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.product-modal::backdrop {
  background: rgba(6, 13, 24, 0.88);
  backdrop-filter: blur(10px);
  animation: backdrop-in 0.35s ease;
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.modal-open {
  overflow: hidden;
}

.modal-inner {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

body.light .modal-inner {
  background: #fff;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.08);
  background: var(--gold);
  color: var(--navy);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
  max-height: calc(94dvh - 2rem);
  overflow: hidden;
}

.gallery-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
  overflow: hidden;
}

.gallery-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy-light);
  flex: 1 1 auto;
  min-height: 160px;
  max-height: min(38vh, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: min(38vh, 320px);
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 22, 40, 0.7);
  color: var(--beige);
  font-size: 1.5rem;
  cursor: pointer;
}

.gallery-nav.prev { left: 0.5rem; }
.gallery-nav.next { right: 0.5rem; }

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
}

.gallery-thumbs img.active {
  border-color: var(--gold);
  opacity: 1;
}

.video-panel {
  margin-top: 1rem;
}

.video-panel h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-panel iframe,
.video-panel video {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16/9;
  border: none;
  background: #000;
}

.detail-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(94dvh - 2rem);
  overflow: hidden;
}

.detail-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  padding-right: 0.35rem;
  margin-bottom: 0.75rem;
}

.detail-scroll h2,
.detail-panel h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0.2rem 0 0.35rem;
  line-height: 1.2;
}

.detail-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.specs-block h3 {
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.video-panel {
  flex-shrink: 0;
}

.video-panel iframe,
.video-panel video {
  max-height: min(20vh, 180px);
}

.detail-cat {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0;
}

.detail-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 0.5rem 0 1rem;
}

.detail-mrp {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-weight: 400;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.specs-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 38%;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.detail-actions .btn {
  flex: 1 1 100px;
  font-size: 0.82rem;
  padding: 0.65rem 0.75rem;
}

/* Cart */
.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(400px, 94vw);
  height: 100dvh;
  background: var(--navy-mid);
  border-left: 1px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-panel.open {
  right: 0;
}

.cart-head,
.cart-foot {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-foot {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 0.6rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 150;
  transition: opacity 0.3s;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  opacity: 0;
  z-index: 300;
  transition: all 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root {
    --header-h: 56px;
  }

  .container {
    width: min(1200px, 94%);
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .orbit-badge {
    right: 4%;
    bottom: 8%;
  }

  .product-modal {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    margin: 0;
  }

  .modal-inner {
    max-height: 100dvh;
    border-radius: 16px 16px 0 0;
    margin-top: auto;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
  }

  .gallery-main,
  .gallery-main img {
    max-height: min(32vh, 260px);
  }

  .gallery-panel {
    max-height: none;
  }

  .detail-panel {
    max-height: none;
  }

  .detail-scroll {
    max-height: none;
  }

  .detail-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 44px;
  }

  .menu-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    position: relative;
    flex-wrap: wrap;
    padding: 0.55rem 0;
    gap: 0.5rem;
  }

  .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-actions {
    order: 2;
    flex-shrink: 0;
  }

  .nav-wrap {
    order: 4;
    flex: 1 1 100%;
    position: static;
    flex-direction: column;
    background: var(--navy-mid);
    padding: 0;
    display: none;
    border-bottom: 1px solid var(--border);
    max-height: min(70dvh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.light .nav-wrap {
    background: var(--beige-soft);
  }

  .nav-wrap.open {
    display: flex;
    padding: 0.85rem 0 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
    min-height: 44px;
    line-height: 1.4;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .owner-menu {
    border-left: 0;
    padding-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.5rem;
  }

  .owner-link {
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-brand {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .brand-title {
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(42vw, 180px);
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .cart-btn {
    padding: 0.5rem 0.65rem;
    min-height: 44px;
    font-size: 0.85rem;
  }

  .icon-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 1rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .section-head h2 {
    font-size: 1.65rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-links--horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .products-toolbar-wrap {
    top: var(--header-h);
  }

  .product-section {
    scroll-margin-top: calc(var(--header-h) + 100px);
  }

  .chips--scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    margin: 0 -2%;
    padding-left: 2%;
    padding-right: 2%;
  }

  .chips--scroll::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex-shrink: 0;
    min-height: 40px;
  }

  .logo-hologram-img {
    width: min(320px, 85vw);
    opacity: 0.18;
  }

  .whatsapp-float {
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: calc(16px + env(safe-area-inset-right));
    padding: 0.85rem;
    min-width: 52px;
    min-height: 52px;
    justify-content: center;
  }
}

/* Page layouts — consistent alignment */
.page-main {
  width: 100%;
  min-height: 60vh;
  position: relative;
  z-index: 1;
}

body.modal-open .logo-hologram-img {
  opacity: 0.14;
}

.page-main--home {
  min-height: auto;
}

.page-hero {
  padding: 2.75rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.page-hero-inner {
  text-align: left;
}

.page-hero-inner h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem;
}

.page-hero-inner p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}

.page-content {
  padding: 2rem 0 3rem;
}

.products-toolbar-wrap {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

body.light .products-toolbar-wrap {
  background: rgba(245, 239, 230, 0.95);
}

.products-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  font-family: inherit;
}

.chips--scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 120px;
}

.section-title-row {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.section-title-row h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-icon {
  font-size: 1.25rem;
}

.products-sections {
  display: block;
}

.contact-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.info-pill {
  flex: 1 1 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.info-pill strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.seo-block {
  padding: 2.5rem 0;
}

.seo-block.alt {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem auto;
}

.seo-block h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
}

.seo-list {
  line-height: 1.9;
  color: var(--text-muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin: 0;
}

.count-line {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-msg {
  text-align: center;
  color: var(--text-muted);
  grid-column: 1 / -1;
  padding: 2rem;
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.cat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.cat-count {
  font-size: 0.85rem;
  color: var(--gold);
}

/* Gallery masonry */
.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-item {
  break-inside: avoid;
  display: block;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
  font-size: 0.85rem;
}

/* Reviews page */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.review-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  margin: 0;
}

.review-box cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-style: normal;
  font-size: 0.9rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
}

.contact-big {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.contact-card .btn-whatsapp,
.contact-card .btn-email {
  margin-top: 0.65rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* Footer */
.footer-inner {
  padding: 2rem 0 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
  text-align: left;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links--horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-links--horizontal li {
  display: inline;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.footer-contact-block p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-contact-block a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-contact-block a:hover {
  color: var(--gold);
}

.footer-copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding-top: 1rem;
  margin: 0;
  cursor: default;
  user-select: none;
}

/* Login */
.login-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.login-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
}

.login-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  display: block;
  background: transparent;
  filter: drop-shadow(0 6px 20px rgba(196, 165, 116, 0.25));
}

.login-card h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin: 0;
}

.login-card h2 {
  margin: 0.25rem 0 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.login-form {
  display: grid;
  gap: 0.5rem;
}

.login-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.login-form input {
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--navy);
  color: inherit;
  font-family: inherit;
}

body.light .login-form input {
  background: #fff;
}

.login-error {
  color: #f87171;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.login-hint,
.login-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
}

/* Admin / add products */
.admin-page {
  padding-bottom: 4rem;
}

.admin-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.admin-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--navy);
  color: inherit;
  font-family: inherit;
}

body.light .admin-form input,
body.light .admin-form textarea,
body.light .admin-form select {
  background: #fff;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.admin-section {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.admin-section h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.media-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.media-item {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.media-item input {
  flex: 1;
  min-width: 180px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preview-grid img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.preview-grid img.preview-broken {
  opacity: 0.35;
  border-style: dashed;
}

.image-row {
  align-items: flex-start !important;
}

.img-row-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--navy-light);
}

.img-row-thumb--empty {
  opacity: 0.25;
}

.image-row-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.img-label {
  font-size: 0.85rem;
  color: var(--gold-bright);
  word-break: break-all;
}

.image-row .img-url {
  font-size: 0.8rem;
}

.image-row .img-url--embedded {
  color: var(--text-muted);
}

.upload-status {
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 1.25em;
  margin: 0 0 0.5rem;
}

.admin-product-info img.img-missing {
  visibility: hidden;
  background: var(--border);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-list-admin {
  display: grid;
  gap: 0.6rem;
}

.admin-product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-wrap: wrap;
}

.admin-product-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-product-info img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.specs-block h3 {
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
}

.specs-text-body {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 1.8rem;
  color: var(--gold-bright);
}

@media (max-width: 768px) {
  .contact-layout,
  .row-2,
  .gallery-masonry,
  .why-grid,
  .category-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .page-hero {
    padding: 2rem 0 1.25rem;
  }

  .page-hero-inner h1 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .page-content {
    padding: 1.5rem 0 2.5rem;
  }

  .seo-block.alt {
    padding: 1.35rem;
    margin: 1.25rem auto;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .card-actions {
    width: 100%;
    justify-content: stretch;
  }

  .card-actions button {
    flex: 1;
    min-height: 44px;
    padding: 0.55rem 0.5rem;
  }

  .specs-table {
    font-size: 0.82rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .specs-table td {
    padding: 0.5rem;
    word-break: break-word;
  }

  .dual-actions {
    flex-direction: column;
  }

  .dual-actions .btn {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
  }

  .admin-form {
    padding: 1rem;
  }

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

  .admin-product-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 52px;
  }

  .container {
    width: min(1200px, 96%);
  }

  .brand-title {
    display: none;
  }

  .brand {
    gap: 0;
  }

  .cart-btn-label {
    display: none;
  }

  .cart-btn span#cartCount {
    margin-left: 0;
  }

  .hero-brand {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.05;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .orbit-card {
    max-width: 100%;
  }

  .orbit-badge {
    right: 8%;
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }

  .section-head h2,
  .section-title-row h2 {
    font-size: 1.45rem;
  }

  .search-input,
  .contact-form input,
  .contact-form textarea,
  .login-form input,
  .admin-form input,
  .admin-form textarea,
  .admin-form select,
  .toolbar input {
    font-size: 16px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .btn {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
    font-size: 0.9rem;
  }

  .product-modal::backdrop {
    background: rgba(0, 0, 0, 0.65);
  }

  .modal-inner {
    border-radius: 20px 20px 0 0;
  }

  .cart-panel {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }

  .btn,
  .chip {
    touch-action: manipulation;
  }

  .footer-brand {
    font-size: 1.5rem;
  }

  .contact-big {
    font-size: 1.15rem;
    word-break: break-word;
  }

  .info-pill {
    flex: 1 1 100%;
  }

  .toast {
    bottom: calc(80px + env(safe-area-inset-bottom));
    left: 1rem;
    right: 1rem;
    transform: translateX(0) translateY(20px);
    text-align: center;
  }

  .toast.show {
    transform: translateX(0) translateY(0);
  }
}

@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
  }

  .interactive-card:hover {
    transform: none;
  }

  .btn:hover,
  .icon-btn:hover,
  .cart-btn:hover {
    transform: none;
  }
}

/* =========================================================
   MOBILE LOCKDOWN — prevent horizontal scroll on all phones
   Applies to Android + iOS. Keep these rules at the END.
   ========================================================= */
@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Every element must respect the viewport */
  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  /* Common offenders for horizontal scroll */
  img,
  video,
  iframe,
  table,
  pre,
  code,
  svg,
  canvas,
  embed,
  object {
    max-width: 100%;
    height: auto;
  }

  /* Long words / urls should break, not push the layout wider */
  p,
  a,
  span,
  li,
  h1,
  h2,
  h3,
  h4,
  td,
  th,
  cite,
  blockquote,
  strong,
  em {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }

  /* Flex / grid items must be allowed to shrink */
  .container,
  .navbar,
  .nav-wrap,
  .hero-inner,
  .product-grid,
  .product-card,
  .card-body,
  .card-media,
  .card-footer,
  .card-actions,
  .footer-top,
  .footer-inner,
  .footer-brand-block,
  .footer-links-block,
  .footer-contact-block,
  .contact-layout,
  .contact-card,
  .why-grid,
  .reviews-grid,
  .category-grid,
  .admin-form,
  .admin-product-row,
  .info-pill,
  .modal-grid,
  .gallery-panel,
  .detail-panel,
  .detail-scroll {
    min-width: 0;
  }

  /* Container: predictable padding instead of percentage width */
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  /* Hide the rotating orbit ring — it overflows past its container */
  .orbit-ring {
    display: none;
  }

  .orbit-card {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4/3;
  }

  /* Card shine sweep can briefly poke outside — clip it */
  .product-card {
    isolation: isolate;
  }

  .product-card::after {
    display: none;
  }

  /* Hologram watermark should never cause overflow */
  .logo-hologram {
    overflow: hidden;
    max-width: 100vw;
  }

  /* Background mesh fixed to viewport */
  .bg-mesh {
    max-width: 100vw;
  }

  /* Sticky toolbar — no negative margins, full width */
  .chips--scroll {
    margin: 0;
    padding: 0.25rem 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Contain its own overflow so the PAGE doesn't scroll sideways */
    max-width: 100%;
  }

  .chips--scroll::-webkit-scrollbar {
    display: none;
  }

  .products-toolbar-wrap {
    padding: 0.65rem 0;
  }

  .products-toolbar {
    gap: 0.5rem;
  }

  /* Specs tables — scroll inside their own box, not the page */
  .specs-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Modals + dialogs */
  dialog,
  .product-modal {
    max-width: 100vw;
  }

  /* Cart panel — full screen on phones */
  .cart-panel {
    width: 100%;
    max-width: 100vw;
    right: -100%;
  }

  /* Footer columns stack and align left */
  .footer-top {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  .footer-brand-block,
  .footer-links-block,
  .footer-contact-block {
    text-align: left;
  }

  /* Hero — keep visual sane on phone */
  .hero {
    padding: 1.5rem 0 2rem;
  }

  .hero-brand {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    line-height: 1.05;
    word-break: break-word;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 0.6rem;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.3rem);
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  /* Inputs at least 16px so iOS doesn't zoom in */
  input,
  select,
  textarea {
    font-size: 16px;
  }

  /* WhatsApp floating button — pill, not stretched */
  .whatsapp-float {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }

  /* Keep particles inside the screen, no perf hit */
  .particle {
    display: none;
  }

  body.fx-ready .bg-mesh::after {
    animation: none;
    background: none;
  }
}

/* Very small phones (older Android, iPhone SE) */
@media (max-width: 380px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-title {
    display: none;
  }

  .cart-btn {
    font-size: 0;
    padding: 0.5rem;
    min-width: 44px;
  }

  .cart-btn span#cartCount {
    font-size: 0.85rem;
    margin-left: 0;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .section-title-row h2,
  .page-hero-inner h1 {
    font-size: 1.4rem;
  }

  .seo-block.alt {
    padding: 1rem;
  }

  .card-body {
    padding: 0.85rem 0.9rem 1rem;
  }
}

/* Landscape phones — keep top bar reachable */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding: 1rem 0 1.5rem;
  }

  .logo-hologram-img {
    opacity: 0.12;
  }

  .product-modal,
  .modal-inner {
    max-height: 100dvh;
  }

  .modal-grid {
    grid-template-columns: 1.1fr 1fr;
    max-height: calc(100dvh - 1rem);
  }
}
