:root {
  --navy: #0a1a33;
  --navy-dark: #060f20;
  --navy-light: #16305c;
  --gold: #c9a24b;
  --gold-light: #e6c777;
  --white: #ffffff;
  --off-white: #f6f7f9;
  --gray: #6b7280;
  --border: #e8eaed;
  --radius: 14px;
  --shadow-sm: 0 4px 16px rgba(10,26,51,0.06);
  --shadow-md: 0 16px 40px rgba(10,26,51,0.14);
  --shadow-lg: 0 24px 60px rgba(10,26,51,0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* The hidden attribute must always win. Any author `display` rule (e.g. the
   flex on .setup-gate / .login-gate) otherwise beats the browser default of
   [hidden] { display: none } and the element stays visible. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll progress bar */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy-light));
  width: 0%;
  z-index: 999;
  transition: width .1s;
}

/* Reveal animation — scoped under .has-js so content stays visible if JS fails to load */
.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.has-js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Topbar */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 24px;
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.25); }
.topbar-phone { color: inherit; transition: color .2s; }
.topbar-phone:hover, .topbar-phone:focus-visible { color: var(--gold-light); }
.mobile-menu-footer a { color: inherit; }
.mobile-menu-footer a:hover { color: var(--gold-light); }

/* Navbar */
.navbar {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s, padding .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  transition: padding .3s;
}
.navbar.scrolled .navbar-inner { padding: 12px 24px; }
.logo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}
.logo span { color: var(--gold); }
/* Image logo. Aspect is 583x256 (~2.28:1); height drives the size. */
.logo-img { height: 42px; width: auto; display: block; }
.footer-logo .logo-img { height: 58px; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active-link { color: var(--gold); }
.nav-links a.active-link::after { width: 100%; }
.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  color: var(--navy);
  display: flex;
  position: relative;
  transition: color .2s, transform .2s;
}
.icon-btn:hover { color: var(--gold); transform: translateY(-2px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 80vw);
  height: 100vh;
  background: var(--navy-dark);
  z-index: 200;
  padding: 100px 32px 32px;
  transition: right .35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  color: var(--white);
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
}
.mobile-menu-footer { color: rgba(255,255,255,0.6); font-size: 14px; }
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,15,32,0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(10,26,51,0.25);
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10,26,51,0.35); }
.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
  color: var(--navy);
  font-weight: 600;
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--gold); }

/* Eyebrow / section heading */
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 12.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-heading { margin-bottom: 40px; }
.section-heading.center { text-align: center; }
.section-heading h2 { font-size: 32px; color: var(--navy-dark); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--off-white) 0%, #ffffff 100%);
  padding: 70px 0 50px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201,162,75,0.18) 0%, rgba(201,162,75,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
}
.hero-text { flex: 1.1; min-width: 300px; }
.hero-badge {
  display: inline-block;
  background: rgba(201,162,75,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,162,75,0.35);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12.5px;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: 48px;
  margin: 0 0 20px;
  line-height: 1.2;
  color: var(--navy-dark);
  font-weight: 700;
}
.hero-text h1 .accent { color: var(--gold); font-style: italic; }
.hero-sub {
  color: var(--gray);
  font-size: 16.5px;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--navy-dark);
}
.stat strong small { font-size: 14px; font-weight: 400; color: var(--gray); }
.stat span { font-size: 13px; color: var(--gray); }

.hero-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-watch-wrap {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 30px 50px rgba(10,26,51,0.25));
  animation: float 6s ease-in-out infinite;
}
/* Hero brand mark. No drop-shadow: a shadow under flat logo art reads as a
   print artifact, unlike the watch render this replaced. */
.hero-logo {
  width: 100%;
  max-width: 440px;
  height: auto;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  animation: float 6s ease-in-out infinite;
}
.float-card div { display: flex; flex-direction: column; }
.float-card strong { font-size: 13px; color: var(--navy-dark); }
.float-card span { font-size: 11px; color: var(--gray); }
.float-card-1 { top: 10%; left: -10px; animation-delay: .5s; }
.float-card-2 { bottom: 8%; right: -10px; animation-delay: 1s; }

/* Perks */
.perks { padding: 56px 0; border-bottom: 1px solid var(--border); }
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* Six cards in a 4-wide grid: centre the trailing two so they sit under
   Insured Shipping and 30-Day Movement Warranty, not hugging the left. */
.perk:nth-child(5) { grid-column: 2; }
.perk {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 18px 16px;
  background:
    radial-gradient(125% 140% at 100% 0%, rgba(201,162,75,0.20), transparent 55%),
    linear-gradient(150deg, var(--navy-light) 0%, var(--navy) 45%, var(--navy-dark) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(10,26,51,0.20), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* Gold hairline along the top edge - draws the eye without extra markup. */
.perk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light) 40%, transparent 85%);
  opacity: 0.6;
  transition: opacity .3s ease;
}
/* Touch devices have no hover, and a :hover rule there sticks after a tap. */
@media (hover: hover) {
  .perk:hover {
    border-color: rgba(201,162,75,0.55);
    box-shadow: 0 18px 40px rgba(10,26,51,0.32), inset 0 1px 0 rgba(255,255,255,0.12);
  }
  .perk:hover::before { opacity: 1; }
  /* .has-js .reveal.in-view sets transform at 3 classes and outranks a bare
     .perk:hover, which is why the lift never fired. Match its specificity. */
  .perk:hover,
  .has-js .perk.reveal.in-view:hover { transform: translateY(-4px); }
}
.perk-icon {
  font-size: 21px;
  line-height: 1;
  background: linear-gradient(145deg, rgba(201,162,75,0.30), rgba(201,162,75,0.05));
  border: 1px solid rgba(201,162,75,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 4px 12px rgba(0,0,0,0.20);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.perk strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
}
.perk p { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.72); margin-top: 4px; }


/* Page header (collection page) */
.page-header {
  background: linear-gradient(180deg, var(--off-white) 0%, #ffffff 100%);
  padding: 56px 0 40px;
  text-align: center;
}
.breadcrumb {
  font-size: 13.5px;
  color: var(--gray);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--navy); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }
.page-header h1 {
  font-size: 40px;
  color: var(--navy-dark);
  margin-bottom: 14px;
}
.page-header p {
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}
.collection-shop { padding-top: 50px; }

/* Shop */
.shop { padding: 90px 0; }
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.shop-header h2 { font-size: 32px; color: var(--navy-dark); }
.shop-tabs { display: flex; gap: 10px; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 10px 18px;
  color: var(--gray);
  flex: 1 1 260px;
  max-width: 360px;
  min-width: 0;
}
.search-bar:focus-within { border-color: var(--gold); color: var(--navy); }
.search-bar svg { flex-shrink: 0; }
.search-bar input {
  border: none;
  outline: none;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy-dark);
  width: 100%;
  background: transparent;
}
.no-results { text-align: center; color: var(--gray); padding: 60px 0; }
.tab {
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all .2s;
}
.tab.active, .tab:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
/* A single result would otherwise occupy one narrow track on the left.
   Span every track and centre it, so this holds at all breakpoints. */
.product-card:only-child {
  grid-column: 1 / -1;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.product-visual {
  width: 130px;
  height: 130px;
  margin: 6px auto 18px;
  transition: transform .4s;
}
.product-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.product-card:hover .product-visual { transform: scale(1.08) rotate(-4deg); }
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--white);
  z-index: 2;
}
.badge-new { background: var(--navy); }
.badge-sale { background: #c0392b; }
.product-brand {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-name {
  font-weight: 600;
  margin: 4px 0 8px;
  color: var(--navy-dark);
  font-size: 15.5px;
}
.product-price {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 16px;
}
.product-price .old-price {
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 500;
  font-size: 13px;
  margin-right: 6px;
}

/* Banner */
.banner {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}
.banner-glow {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,162,75,0.2), transparent 70%);
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.banner-brand {
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-light);
}
.banner-text h2 {
  font-size: 38px;
  margin: 14px 0 16px;
}
.banner-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 26px;
  max-width: 380px;
}
.banner .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.banner .btn-outline:hover { background: var(--white); color: var(--navy); }
.banner-image {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

/* Featured */
.featured { padding: 90px 0; }
.featured-inner {
  display: flex;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}
.featured-image {
  flex: 1;
  min-width: 280px;
  height: 380px;
  background: linear-gradient(135deg, var(--off-white), #eef0f3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.featured-image img, .featured-image svg { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.featured-text { flex: 1; min-width: 280px; }
.featured-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--navy-dark);
}
.featured-text h2 span { color: var(--gold); font-style: italic; }
.featured-text p {
  color: var(--gray);
  margin-bottom: 20px;
  max-width: 440px;
}
.feature-list { margin-bottom: 28px; }
.feature-list li { color: var(--navy-dark); font-size: 14.5px; margin-bottom: 8px; }

/* Testimonials */
.testimonials { padding: 90px 0; background: var(--off-white); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.testimonial-card { grid-column: span 2; }
/* Five reviews across six tracks: centre the trailing two. */
.testimonial-card:nth-child(4) { grid-column: 2 / span 2; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { color: var(--navy-dark); font-size: 14.5px; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--navy-dark); }
.testimonial-author small { color: var(--gray); font-size: 12px; }

/* Brands */
.brands { padding: 56px 0; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); text-align: center; }
.brands .eyebrow { display: block; margin-bottom: 8px; color: var(--gold-light); }
.brands-hint { color: rgba(255,255,255,0.5); font-size: 13.5px; margin-bottom: 24px; }
.brands-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
}
.brands-row a {
  color: rgba(255,255,255,0.7);
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.brands-row a:hover,
.brands-row a:focus-visible {
  color: var(--navy-dark);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Collection toolbar: search + brand + sort */
.shop-toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.select-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.select-field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray);
}
.select-field select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 11px 40px 11px 18px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--navy-dark);
  background-color: #fff;
  /* caret, drawn inline so there is no extra request */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px;
  cursor: pointer;
  max-width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.select-field select:hover { border-color: var(--gold); }
.select-field select:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.18);
}

/* Result count + reset */
.results-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.results-bar[hidden] { display: none; }
.results-count { font-size: 14px; color: var(--gray); }
.filter-clear {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.filter-clear:hover { color: var(--gold); }
.filter-clear[hidden] { display: none; }

@media (max-width: 560px) {
  .shop-toolbar { gap: 12px; }
  .search-bar { flex: 1 1 100%; max-width: none; }
  .select-field { flex: 1 1 calc(50% - 6px); }
  .select-field select { width: 100%; }
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 44px;
}
.footer-logo { color: var(--white); margin-bottom: 12px; font-size: 22px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 15px; font-family: 'Inter'; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer-note { font-size: 13.5px; margin-bottom: 14px; color: rgba(255,255,255,0.6); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: background .2s, border-color .2s, color .2s;
}
.social-row svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  display: block;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.newsletter { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 24px;
  text-align: center;
  font-size: 13px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-light); }

/* Product detail page */
.product-page { padding: 50px 0 90px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.gallery-main {
  background: linear-gradient(135deg, var(--off-white), #eef0f3);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}
.gallery-main svg { width: 260px; height: 260px; transition: opacity .2s; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.gallery-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--off-white);
  padding: 8px;
  cursor: pointer;
  transition: border-color .2s;
  flex-shrink: 0;
}
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb svg { width: 100%; height: 100%; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

.video-frame {
  position: relative;
  margin-top: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.video-frame svg { width: 150px; height: 150px; }
.video-frame.no-video { cursor: default; background: linear-gradient(135deg, var(--navy-dark), #10203a); }
.no-video-text { color: rgba(255,255,255,0.45); font-size: 14px; font-weight: 500; }
.video-label {
  position: absolute;
  top: 14px;
  left: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.play-btn {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: background .2s, transform .2s;
}
.video-frame:hover .play-btn { background: rgba(255,255,255,0.3); transform: scale(1.08); }
.video-frame.playing .play-btn { opacity: 0; pointer-events: none; }
.sec-hand { animation: spin-sec 4s linear infinite; animation-play-state: paused; }
.video-frame.playing .sec-hand { animation-play-state: running; }
@keyframes spin-sec { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.detail-info .breadcrumb { margin-bottom: 14px; }
.detail-badge:empty { margin-bottom: 0; }
.detail-badge { margin-bottom: 12px; }
.detail-badge .product-badge { position: static; display: inline-block; }
.detail-brand { color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
.detail-name { font-size: 32px; color: var(--navy-dark); margin: 6px 0 16px; }
.detail-price { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.detail-price .old-price { font-size: 16px; margin-right: 8px; }
.detail-desc { color: var(--gray); margin-bottom: 24px; max-width: 480px; }
.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--off-white);
  border-radius: 12px;
}
.detail-specs div span { display: block; font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.detail-specs div strong { font-size: 14.5px; color: var(--navy-dark); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, transform .2s;
  box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}
.whatsapp-btn:hover { background: #1fb457; transform: translateY(-2px); }
.whatsapp-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.not-found { text-align: center; padding: 100px 0; }
.not-found h1 { font-size: 28px; margin-bottom: 16px; color: var(--navy-dark); }

/* Responsive */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .perk { padding: 16px 14px; }
  .perk:nth-child(5) { grid-column: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card, .testimonial-card:nth-child(4) { grid-column: auto; }
  .hero-inner { text-align: center; justify-content: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .float-card { display: none; }
}
/* Phones and tablet-portrait: one card per row. The two-up layout above
   squeezes these descriptions into tall, narrow columns. */
@media (max-width: 768px) {
  .perks { padding: 36px 0; }
  .perks-grid { grid-template-columns: 1fr; gap: 10px; }
  .perk:nth-child(5) { grid-column: auto; }
  .perk { padding: 14px; gap: 12px; border-radius: 12px; align-items: center;
          box-shadow: 0 6px 16px rgba(10,26,51,0.16), inset 0 1px 0 rgba(255,255,255,0.07); }
  .perk-icon { width: 42px; height: 42px; font-size: 19px; }
  .perk strong { font-size: 14.5px; }
  .perk p { font-size: 13px; margin-top: 2px; }
}

@media (max-width: 640px) {
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-right span:last-child { display: none; }
  .topbar-divider { display: none; }
  .logo { font-size: 20px; }
  .logo-img { height: 34px; }
  .footer-logo .logo-img { height: 46px; }
  .page-header { padding: 40px 0 30px; }
  .page-header h1 { font-size: 28px; }
  .hero { padding: 40px 0 30px; }
  .hero-logo { max-width: 300px; margin: 0 auto; }
  .hero-text h1 { font-size: 32px; }
  .hero-badge { font-size: 11px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 21px; }
  .section-heading h2, .shop-header h2 { font-size: 24px; }
  .shop { padding: 56px 0; }
  .shop-header { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-card { padding: 16px 12px; }
  .product-visual { width: 90px; height: 90px; margin-bottom: 10px; }
  .product-name { font-size: 14px; }
  .banner { padding: 56px 0; }
  .banner-inner { flex-direction: column-reverse; text-align: center; }
  .banner-text p { margin-left: auto; margin-right: auto; }
  .banner-image { width: 200px; height: 200px; }
  .banner-text h2 { font-size: 28px; }
  .featured { padding: 56px 0; }
  .featured-inner { flex-direction: column; }
  .featured-image { height: 260px; width: 100%; }
  .featured-text { text-align: center; }
  .feature-list { text-align: left; max-width: 240px; margin-left: auto; margin-right: auto; }
  .testimonials { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .product-page { padding: 30px 0 56px; }
  .gallery-main { height: 260px; padding: 20px; }
  .gallery-main svg { width: 180px; height: 180px; }
  .detail-name { font-size: 24px; }
  .detail-price { font-size: 21px; }
  .detail-specs { grid-template-columns: 1fr 1fr; padding: 16px; }
  .whatsapp-btn { width: 100%; justify-content: center; }
}

/* ===========================================================================
   Embedded video player (YouTube / Vimeo)
   The frame shows a poster + play button; the iframe is only injected on
   click, so no third-party player script loads until the visitor asks for it.
   =========================================================================== */

.video-frame.has-video {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.video-poster-fallback svg { width: 150px; height: 150px; }

.video-frame.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,15,32,0.45), rgba(6,15,32,0.15) 45%, rgba(6,15,32,0.5));
  transition: background .25s;
  pointer-events: none;
}
.video-frame.has-video:hover::after {
  background: linear-gradient(180deg, rgba(6,15,32,0.3), rgba(6,15,32,0.05) 45%, rgba(6,15,32,0.4));
}

.video-frame .play-btn { z-index: 2; }
.video-frame .video-label { z-index: 2; }

/* Once playing, the frame is nothing but the iframe. */
.video-frame.playing { cursor: default; }
.video-frame.playing::after { content: none; }
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Unrecognised link: a plain outbound link rather than a broken embed. */
a.no-video-text {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.no-video-text:hover { color: var(--white); }

/* ===========================================================================
   Loading skeletons — shown while the catalogue is fetched from Supabase
   =========================================================================== */

.skeleton-box,
.skeleton-line {
  background: linear-gradient(90deg, var(--off-white) 25%, #edeff3 37%, var(--off-white) 63%);
  background-size: 400% 100%;
  animation: skeleton-sweep 1.4s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-card { pointer-events: none; }
.skeleton-card .product-visual { min-height: 220px; }

.skeleton-line { height: 13px; margin: 10px 0; }
.skeleton-line.short { width: 60%; }
.skeleton-line.tiny { width: 35%; height: 11px; }

.gallery-main.skeleton-box { border: none; }
.gallery-thumb.skeleton-box { border-color: transparent; }

@keyframes skeleton-sweep {
  from { background-position: 100% 0; }
  to   { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-box, .skeleton-line { animation: none; }
}

@media (max-width: 640px) {
  .video-frame.has-video { max-height: none; }
}
