/* ==========================================================================
   ACUITY APPAREL - AESTHETIC NEUTRAL GRAY & COBALT BLUE (#0020C2) DESIGN SYSTEM
   Using Custom Font: Helvetica Neue Medium
   Brand Colors: Aesthetic Neutral Gray & Pure Cobalt Blue (#0020C2)
   ========================================================================== */

@font-face {
  font-family: 'HelveticaNeueMedium';
  src: url('../assets/HelveticaNeueMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Palette: Minimalist Pure White Canvas with Cobalt Blue (#0020C2) */
  --bg-primary: #FFFFFF;        /* Pristine pure white gallery canvas */
  --bg-secondary: #F7F7F9;      /* Pale neutral grey for subtle contrast banding & footer */
  --bg-tertiary: #EEEEF2;       /* Delicate tone for chips & dividers */
  --bg-card: #FFFFFF;           /* Pure white card surface */
  --bg-card-dark: #FFFFFF;      /* Clean card surface */
  --bg-card-subtle: #F5F5F7;    /* Soft light surface for wells & drawers */
  --bg-input: #FFFFFF;          /* Pure white input fields */

  --text-primary: #111111;      /* Deep black / charcoal text on white */
  --text-secondary: #52525B;    /* Refined muted slate */
  --text-muted: #71717A;        /* Soft architectural gray */
  --text-dark: #111111;
  --text-light: #FFFFFF;

  /* Signature Cobalt Blue: Exact Hex #0020C2 */
  --cobalt: #0020C2;
  --cobalt-vibrant: #0020C2;
  --cobalt-dark: #00189E;
  --cobalt-light: rgba(0, 32, 194, 0.08);
  --cobalt-glow: rgba(0, 32, 194, 0.25);

  --border-light: #EAEAEF;      /* Crisp hairline light borders */
  --border-subtle: #F0F0F4;
  --border-focus: #0020C2;

  --accent-black: #000000;
  --accent-white: #FFFFFF;
  --accent-success: #10B981;

  /* Typography */
  --font-main: 'HelveticaNeueMedium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --header-height: 72px;
  --container-max: 1360px;
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  font-family: var(--font-main);
}

::selection {
  background: var(--cobalt);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  border-radius: var(--radius-sm);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 2px var(--cobalt-glow);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Utilities */
.text-cobalt { color: var(--cobalt); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition-fast);
  user-select: none;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--cobalt);
  color: #FFFFFF;
  border: 1px solid var(--cobalt);
}

.btn-primary:hover {
  background: var(--cobalt-dark);
  border-color: var(--cobalt-dark);
  box-shadow: 0 4px 14px var(--cobalt-glow);
}

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

.btn-outline:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--cobalt-light);
}

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

.btn-outline-cobalt:hover {
  background: var(--cobalt);
  color: #FFFFFF;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
}

.badge-cobalt {
  background: var(--cobalt-light);
  color: var(--cobalt);
  border: 1px solid rgba(0, 32, 194, 0.22);
}

.badge-dark {
  background: #121217;
  color: #FFFFFF;
  border: 1px solid #121217;
}

.badge-subtle {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.badge-soldout,
.out-of-stock-box {
  display: inline-block;
  background: #FF0033;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255, 0, 51, 0.3);
  border: 1px solid #E11D48;
}

/* ==========================================================================
   FULL-WIDTH WHITE UI TOOLBAR
   Takes up the entire top space with hairline dividers between buttons
   ========================================================================== */
.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #EAEAEF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.site-header {
  height: var(--header-height);
  background: #FFFFFF;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  position: relative;
  transition: all var(--transition-fast);
}

.site-header.site-header-glassy {
  background: #FFFFFF;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.site-header.header-scrolled {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 51px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), opacity var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(0, 32, 194, 0.25);
}

/* Main Navigation: Spaced out with small vertical dividing lines */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111111;
  position: relative;
  padding: 0 28px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--cobalt);
}

/* Small vertical line dividing navigation buttons */
.main-nav .nav-link + .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: #D8D8DF;
}

.nav-link.cobalt-pill {
  color: var(--cobalt);
  background: transparent;
  border: none;
  border-radius: 0;
  font-weight: 600;
  padding: 0 24px;
}

.nav-link.cobalt-pill:hover {
  color: var(--cobalt-dark);
  background: transparent;
  text-decoration: underline;
}

/* Utility Actions: Spaced out with small vertical dividing lines */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  flex-shrink: 0;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 100%;
  border: none;
  background: transparent;
  color: #111111;
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.action-btn:hover {
  color: var(--cobalt);
  background: transparent;
  border-color: transparent;
}

/* Small vertical line dividing action buttons */
.header-actions .action-btn + .action-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: #D8D8DF;
}

.cart-counter {
  background: var(--cobalt);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 2px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  margin-left: 12px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111111;
}

/* ==========================================================================
   EDGE-TO-EDGE HERO IMAGE / VIDEO: FITS THE PAGE BELOW FULL-WIDTH HEADER
   ========================================================================== */
.hero-image-full,
.hero-video-full {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  min-height: 520px;
  overflow: hidden;
  background: #0B0B0E;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.hero-image-full > img.hero-front-img,
.hero-front-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-video-full video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Symmetrically crop out the 150px baked-in black pillarbox sidebars */
  transform: scale(1.19);
  transform-origin: center center;
  display: block;
  filter: none;
}

/* Minimalist Scroll Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #111111;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 9px 20px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.hero-scroll-cue:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--cobalt-glow);
  transform: translateX(-50%) translateY(-2px);
}

/* Aesthetic Editorial Brand Wordmark Overlay (Top Right Corner - 500px) */
.hero-brand-overlay {
  position: absolute;
  top: clamp(20px, 3vh, 36px);
  right: clamp(20px, 3.5vw, 48px);
  left: auto;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-brand-overlay:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-brand-overlay .hero-brand-logo-img,
img.hero-brand-logo-img {
  width: 500px !important;
  max-width: min(500px, calc(100vw - 40px)) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  animation: heroLogoFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
  transition: filter 0.35s ease;
}

.hero-brand-overlay:hover .hero-brand-logo-img {
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.95)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.9));
}

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

/* ==========================================================================
   TEMPER STUDIO-INSPIRED MINIMALIST SECTION & PRODUCT CAROUSEL
   Minimalist white background with refined pale grey product surfaces
   ========================================================================== */
.temper-section {
  padding: 80px 0 88px;
  background: #FFFFFF; /* Pure white website background */
  border-bottom: 1px solid var(--border-light);
}

.temper-container {
  width: 100%;
  padding: 0 24px;
  margin: 0 auto;
}

.temper-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.temper-section-title {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111111; /* Dark text on white background */
  text-transform: uppercase;
}

.temper-section-desc {
  font-size: 0.88rem;
  color: #71717A; /* Muted gray on white background */
  margin-top: 4px;
  max-width: 500px;
}

.temper-nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.temper-all-link {
  font-size: 0.82rem;
  color: var(--cobalt);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 0;
  transition: opacity var(--transition-fast);
}

.temper-all-link:hover {
  opacity: 0.75;
}

.temper-arrow-buttons {
  display: flex;
  gap: 4px;
}

.temper-arrow-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 0px;
  transition: all var(--transition-fast);
}

.temper-arrow-btn:hover {
  border-color: var(--cobalt);
  color: #FFFFFF;
  background: var(--cobalt);
}

.temper-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.temper-carousel-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}

.temper-carousel-track::-webkit-scrollbar {
  display: none;
}

.temper-card {
  flex: 0 0 calc((100% - 12px) / 4); /* Exactly 4 columns on desktop */
  min-width: 280px;
  height: 560px; /* Exact 560px height matching Temper Studio */
  background: #F7F7F9; /* Pale neutral grey card surface */
  border: 1px solid var(--border-light);
  border-radius: 0px; /* Pure sharp 0px corners */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.temper-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 32, 194, 0.12);
  border-color: var(--cobalt);
}

.temper-card-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow: hidden;
  background: #F7F7F9;
  position: relative;
}

/* Clean Hover Video (Only renders when product has an optional video) */
.temper-card-img-wrap .temper-card-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.temper-card:hover .temper-card-hover-video {
  opacity: 1;
}

/* Primary MP4 Video on Temper Card (Main item presentation) */
.temper-card-img-wrap .temper-card-primary-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.temper-card-img-wrap.fit-box,
.temper-card-img-wrap:has(.temper-card-primary-video) {
  padding: 0;
}

.temper-card-img-wrap.fit-box .temper-card-img,
.temper-card-img-wrap.fit-box .temper-card-primary-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.temper-card:hover .temper-card-primary-video {
  transform: scale(1.035);
}

.temper-card-img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.temper-card:hover .temper-card-img {
  transform: scale(1.035);
}

.temper-card-info {
  padding: 16px 20px; /* Exact 16px padding matching Temper Studio */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.temper-card-name {
  font-size: 13px; /* Exact 13px matching Temper Studio */
  font-weight: 500;
  color: #111111; /* Dark text inside white card */
  line-height: 140%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.temper-card-price {
  font-size: 14px; /* Exact 14px matching Temper Studio */
  font-weight: 500;
  color: #71717A; /* Muted gray price on white card */
  line-height: 140%;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .temper-card {
    flex: 0 0 calc((100% - 2px) / 2);
    height: 480px;
  }
}

@media (max-width: 640px) {
  .site-header-wrapper {
    padding: 0;
  }
  .site-header {
    height: 56px;
    padding: 0 16px;
  }
  .hero-image-full {
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
    min-height: 320px;
  }
  .hero-brand-overlay {
    top: clamp(16px, 2.5vh, 24px);
    right: clamp(16px, 3vw, 24px);
    left: auto;
    transform: none;
  }
  .hero-brand-overlay:hover {
    transform: translateY(-2px) scale(1.02);
  }
  .hero-brand-overlay .hero-brand-logo-img,
  img.hero-brand-logo-img {
    width: min(500px, calc(100vw - 32px)) !important;
    max-width: min(500px, calc(100vw - 32px)) !important;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 120px;
  }
  .action-btn {
    padding: 0 10px;
    font-size: 0.7rem;
  }
  .temper-container {
    padding: 0 16px;
  }
  .temper-card {
    flex: 0 0 calc((100% - 2px) / 2);
    height: 380px;
    min-width: 160px;
  }
  .temper-card-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
  }
  .temper-card-img-wrap {
    padding: 24px 12px;
  }
  .temper-card-img-wrap.fit-box,
  .temper-card-img-wrap:has(.temper-card-primary-video) {
    padding: 0;
  }
}

/* ==========================================================================
   GENERAL SECTION STYLING (Minimalist Pure White)
   ========================================================================== */
.section {
  padding: 88px 0;
  position: relative;
  background: var(--bg-primary);
}

.section-subtle {
  background: var(--bg-secondary);
}

.section-bordered {
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 16px;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cobalt);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-desc {
  max-width: 480px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   CAROUSEL ANIMATION FOR THE MONOCHROME SUITE
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 24px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.carousel-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

@media (min-width: 1200px) {
  .carousel-slide {
    flex: 0 0 340px;
  }
}

@media (max-width: 640px) {
  .carousel-slide {
    flex: 0 0 82vw;
  }
}

/* Carousel Arrow Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #141419;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.carousel-arrow:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--cobalt-light);
  transform: scale(1.05);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

/* ==========================================================================
   WHITE PRODUCT RECTANGLES WITH COBALT (#0020C2) ACCENTS
   ========================================================================== */
.product-card {
  background: #FFFFFF; /* White product rectangle */
  color: #111111;
  border: 1px solid #EAEAEF;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 32, 194, 0.22);
  border-color: rgba(0, 32, 194, 0.45);
}

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

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img {
  transform: scale(1.035);
}

/* Optional Hover Video on Product Cards (Only present when product has video) */
.product-card-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* Primary MP4 Video on Product Cards (Main item presentation) */
.product-card-media .product-card-primary-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-primary-video {
  transform: scale(1.035);
}

.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid #E4E4E7;
  color: #71717A;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  padding: 0;
  outline: none;
}

.product-wishlist-btn:hover {
  transform: scale(1.08);
  color: #FF5500;
  border-color: #FFB38A;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.22);
}

.product-wishlist-btn.active {
  background: #FFFFFF;
  border-color: #FF5500;
  color: #FF5500;
  box-shadow: 0 3px 12px rgba(255, 85, 0, 0.38);
}

.product-wishlist-btn.active:hover {
  transform: scale(1.12);
  border-color: #FF3700;
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.48);
}

.product-wishlist-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke 0.2s ease, fill 0.2s ease;
}

.product-wishlist-btn:hover svg {
  transform: scale(1.08);
}

.product-wishlist-btn.active svg {
  fill: #FF5500 !important;
  stroke: #FF5500 !important;
  transform: scale(1.15);
}

.product-card-quickview {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #EEEEEE;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.product-card:hover .product-card-quickview {
  transform: translateY(0);
}

.product-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #FFFFFF;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: var(--cobalt);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #111111;
  letter-spacing: -0.01em;
}

.product-card-title a {
  color: #111111;
}

.product-card-tagline {
  font-size: 0.82rem;
  color: #666666;
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #EEEEEE;
}

.product-card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111111;
}

.product-card-compare-price {
  font-size: 0.85rem;
  color: #8E8E93;
  text-decoration: line-through;
  margin-left: 6px;
}

/* ==========================================================================
   CRISP VECTOR TUMBLING E (Upscaled & Non-Pixelated)
   ========================================================================== */
.focus-promo-box {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* SVG Vector / Crisp Non-Pixelated Tumbling E */
.tumbling-e-svg {
  width: 140px;
  height: 140px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  transform-origin: center center;
  fill: var(--cobalt);
  filter: drop-shadow(0 4px 12px rgba(0, 32, 194, 0.25));
}

.exam-stage {
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 40px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.exam-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.exam-controls .btn-outline {
  border-color: var(--border-light);
  color: var(--text-primary);
  background: #FFFFFF;
  font-weight: 500;
}

.exam-controls .btn-outline:hover {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: #FFFFFF;
}

/* Modal Backdrop & Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-sm);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cobalt);
}

.modal-close-btn {
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--cobalt);
}

.modal-body {
  padding: 32px 24px;
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  color: var(--text-primary);
  border-left: 1px solid var(--border-light);
  z-index: 310;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-shipping-bar {
  display: none !important;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: var(--border-light);
  margin-top: 8px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--cobalt);
  transition: width var(--transition-smooth);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 70px;
  height: 88px;
  object-fit: contain;
  background: #FFFFFF;
  padding: 4px;
  border: 1px solid var(--border-light);
  border-radius: 2px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  margin-top: 4px;
  width: fit-content;
  background: #FFFFFF;
}

.qty-btn {
  padding: 2px 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.qty-btn:hover {
  color: var(--cobalt);
  background: #F4F4F6;
}

.qty-val {
  padding: 2px 8px;
  font-size: 0.8rem;
  min-width: 24px;
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
}

/* PDP & Modal Quantity Stepper next to Add to Bag */
.pdp-qty-control {
  display: inline-flex;
  align-items: stretch;
  height: 52px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pdp-qty-btn {
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  background: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pdp-qty-btn:hover:not(:disabled) {
  background: #F4F4F6;
  color: var(--cobalt);
}

.pdp-qty-btn:active:not(:disabled) {
  background: #EAEAEF;
}

.pdp-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #FAFAFA;
}

.pdp-qty-val {
  min-width: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  background: #FFFFFF;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  padding: 0 12px;
}

.cart-drawer-footer {
  padding: 24px;
  background: #F4F4F6;
  border-top: 1px solid #E4E4E7;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #52525B;
  font-weight: 500;
}

.cart-summary-line span:last-child {
  color: #18181B;
  font-weight: 600;
}

.cart-summary-line.total-line {
  font-size: 1.15rem;
  font-weight: 700;
  color: #18181B;
  padding-top: 12px;
  border-top: 1px solid #E4E4E7;
}

.cart-summary-line.total-line #cart-total {
  color: var(--cobalt);
  font-weight: 700;
}

.voucher-input-group {
  display: flex;
  gap: 8px;
}

.voucher-input-group input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #D4D4D8;
  color: #18181B;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.voucher-input-group input::placeholder {
  color: #A1A1AA;
}

.voucher-input-group input:focus {
  border-color: var(--cobalt);
  outline: none;
  box-shadow: 0 0 0 1px var(--cobalt);
}

.voucher-input-group .btn {
  background: #FFFFFF;
  border: 1px solid #D4D4D8;
  color: #18181B;
  font-weight: 600;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.voucher-input-group .btn:hover {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #121217;
  border-left: 3px solid var(--cobalt);
  padding: 14px 20px;
  font-size: 0.85rem;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease;
  max-width: 360px;
  border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   MINIMAL SITE FOOTER (Aesthetic Neutral Gray)
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 36px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--cobalt);
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--cobalt);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .focus-promo-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

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

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 250;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transform: translateY(-100%);
  transition: transform var(--transition-smooth);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-primary);
}

.mobile-nav-links a:hover {
  color: var(--cobalt);
}

/* Product Grid for Catalog & Pages */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ==========================================================================
   ACUITY APPAREL - ADMIN SECURITY GATE & MAINTENANCE MODE SYSTEM
   ========================================================================== */

/* Admin Password Protection Security Gate */
.admin-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 18, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-auth-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  padding: 40px 32px;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  animation: adminAuthFadeUp 0.35s ease-out;
}

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

.admin-auth-badge {
  display: inline-block;
  background: rgba(0, 32, 194, 0.08);
  color: var(--cobalt);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.admin-auth-logo {
  height: 38px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.admin-auth-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.admin-auth-subtitle {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.admin-auth-input-group {
  position: relative;
  margin-bottom: 12px;
  text-align: left;
}

.admin-auth-input {
  width: 100%;
  padding: 12px 44px 12px 14px;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  background: #F9FAFB;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.admin-auth-input:focus {
  outline: none;
  border-color: var(--cobalt);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 32, 194, 0.12);
}

.admin-auth-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 4px;
}

.admin-auth-error {
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 14px;
  animation: adminShake 0.4s ease-in-out;
}

@keyframes adminShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Dedicated Fullscreen Cobalt Maintenance Canvas */
.maintenance-screen-fullscreen {
  margin: 0;
  padding: 36px 24px;
  width: 100vw;
  min-height: 100vh;
  background: #0020C2;
  background: radial-gradient(circle at 50% 45%, #0029E6 0%, #0020C2 50%, #00158A 100%);
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

.maintenance-screen-fullscreen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.maintenance-header, .maintenance-footer, .maintenance-center {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
}

.maintenance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
}

.maintenance-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.maintenance-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px #FFFFFF;
  animation: maintenancePulse 2s infinite ease-in-out;
}

@keyframes maintenancePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.maintenance-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto 0;
  padding: 40px 0;
}

.circling-emblem-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 86vw;
  max-height: 86vw;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circling-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: rotateCirclingText 20s linear infinite;
  transform-origin: center center;
}

@keyframes rotateCirclingText {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.circling-svg-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  fill: #FFFFFF;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.circling-emblem-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 210px;
  max-width: 50vw;
  max-height: 50vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    0 0 35px rgba(0, 41, 230, 0.6),
    inset 0 0 25px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.circling-emblem-inner::after {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  pointer-events: none;
  animation: rotateReverse 35s linear infinite;
}

@keyframes rotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.emblem-logo-img {
  width: 140px;
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.25));
}

/* Admin Top Bar Preview Alert Banner */
.admin-maintenance-preview-banner {
  background: #0020C2;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100000;
  box-shadow: 0 2px 10px rgba(0, 32, 194, 0.3);
}

.admin-maintenance-preview-banner a {
  color: #FFFFFF;
  text-decoration: underline;
  margin-left: 12px;
  font-weight: 600;
}
