/* =========================================================================
 * Andorina Elements - Unified Widgets & Modern Landing Design System
 * Corporate Blue & Clean Surface Palette (Light Theme, High-Craft Polish)
 * ========================================================================= */

:root {
  /* Core Brand & Semantic Colors */
  --and-blue: #0069e5;
  --and-blue-dark: #0642d9;
  --and-blue-deep: #0b2559;
  --and-cyan: #00b7e6;
  --and-blue-soft: #eaf3ff;
  --and-blue-border: #cde2ff;

  --and-amber: #d97706;
  --and-amber-soft: #fef3c7;

  --and-bg: #f6f9fe;
  --and-bg-alt: #eaf1fb;
  --and-surface: #ffffff;
  --and-ink: #0f172a;
  --and-ink-soft: #334155;
  --and-muted: #64748b;
  --and-line: #dce6f3;

  /* Typography */
  --and-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --and-display: 'Fraunces', Georgia, serif;
  --and-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Dimensions & Timing */
  --and-nav-h: 72px;
  --and-ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
  --and-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Elementor Global Color Fallbacks */
  --e-global-color-primary: var(--and-ink);
  --e-global-color-secondary: var(--and-surface);
  --e-global-color-text: var(--and-ink-soft);
  --e-global-color-accent: var(--and-blue);

  /* Fallback aliases for concept compatibility */
  --blue: var(--and-blue);
  --blue-dark: var(--and-blue-dark);
  --blue-deep: var(--and-blue-deep);
  --cyan: var(--and-cyan);
  --blue-soft: var(--and-blue-soft);
  --blue-border: var(--and-blue-border);
  --amber: var(--and-amber);
  --amber-soft: var(--and-amber-soft);
  --bg: var(--and-bg);
  --bg-alt: var(--and-bg-alt);
  --surface: var(--and-surface);
  --ink: var(--and-ink);
  --ink-soft: var(--and-ink-soft);
  --muted: var(--and-muted);
  --line: var(--and-line);
  --ui: var(--and-ui);
  --display: var(--and-display);
  --mono: var(--and-mono);
  --nav-h: var(--and-nav-h);
  --ease-fluid: var(--and-ease-fluid);
  --ease-out-expo: var(--and-ease-out-expo);

  /* Andoriña v1.3 Design Token Contract Aliases */
  --andorina-mono: var(--and-mono);
  --andorina-display: var(--and-display);
  --andorina-ui: var(--and-ui);
  --andorina-blue: var(--and-blue);
  --andorina-blue-dark: var(--and-blue-dark);
  --andorina-blue-ink: var(--and-blue-deep);
  --andorina-blue-soft: var(--and-blue-soft);
  --andorina-blue-border: var(--and-blue-border);
  --andorina-surface: var(--and-surface);
  --andorina-ink: var(--and-ink);
  --andorina-ink-soft: var(--and-ink-soft);
  --andorina-muted: var(--and-muted);
  --andorina-line: var(--and-line);
}

/* =========================================================================
 * 1. Base Layout, Wrappers & Buttons
 * ========================================================================= */
.andorina-wrap, .wrap {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
  box-sizing: border-box;
}

/* Top Progress Bar */
.andorina-scroll-progress, .scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
}
.andorina-scroll-progress-bar, .scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--and-blue), var(--and-cyan));
  transition: width 0.08s linear;
}

/* Generic Buttons */
.andorina-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--and-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 25px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 0.45s var(--and-ease-fluid),
    box-shadow 0.45s var(--and-ease-fluid),
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
  line-height: 1.2;
}
.andorina-btn:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--and-blue);
  outline-offset: 2px;
}
.andorina-btn-primary, .btn-primary {
  background: linear-gradient(135deg, var(--and-blue), var(--and-blue-dark));
  color: #ffffff !important;
  box-shadow: 0 10px 24px -6px rgba(0, 105, 229, 0.42);
}
.andorina-btn-primary:hover, .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -6px rgba(0, 105, 229, 0.56);
  color: #ffffff !important;
}
.andorina-btn-outline, .btn-outline {
  background: var(--and-surface);
  border-color: var(--and-line);
  color: var(--and-ink);
}
.andorina-btn-outline:hover, .btn-outline:hover {
  border-color: var(--and-blue);
  color: var(--and-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 105, 229, 0.09);
}
.andorina-btn-ghost, .btn-ghost {
  background: var(--and-blue-soft);
  color: var(--and-blue-dark);
  font-size: 13.5px;
  padding: 12px 21px;
}
.andorina-btn-ghost:hover, .btn-ghost:hover {
  background: var(--and-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================================================
 * 2. Floating Glass Pill Header & Navigation
 * ========================================================================= */
.andorina-site-header, .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--and-nav-h);
  display: flex;
  align-items: center;
  transition: height 0.55s var(--and-ease-fluid), padding 0.55s var(--and-ease-fluid), top 0.3s ease;
}
.andorina-site-header .andorina-header-inner,
.site-header .header-inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px clamp(18px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 0px;
  transition: all 0.55s var(--and-ease-fluid);
  box-sizing: border-box;
}
.andorina-site-header.scrolled,
.site-header.scrolled {
  height: 68px;
  padding-top: 8px;
}
.andorina-site-header.scrolled .andorina-header-inner,
.site-header.scrolled .header-inner {
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 105, 229, 0.16);
  border-radius: 999px;
  padding: 8px 22px;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.13);
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .andorina-site-header,
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .andorina-site-header,
  body.admin-bar .site-header {
    top: 46px;
  }
}

.andorina-brand, .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--and-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--and-ink);
  text-decoration: none;
}
.andorina-brand img, .andorina-brand svg, .brand img, .brand svg {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.6s var(--and-ease-fluid);
}
.andorina-brand:hover img, .andorina-brand:hover svg, .brand:hover img, .brand:hover svg {
  transform: translateY(-2px) rotate(-8deg) scale(1.08);
}

.andorina-nav-links, .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.andorina-nav-links a, .nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--and-ink-soft);
  padding: 6px 0;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}
.andorina-nav-links a::after, .nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--and-blue);
  transition: right 0.4s var(--and-ease-fluid);
}
.andorina-nav-links a:hover,
.andorina-nav-links a.active,
.nav-links a:hover,
.nav-links a.active {
  color: var(--and-blue);
}
.andorina-nav-links a:hover::after,
.andorina-nav-links a.active::after,
.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.andorina-nav-actions, .nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.andorina-icon-btn, .icon-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--and-line);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--and-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--and-ink-soft);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--and-ease-fluid);
  position: relative;
}
.andorina-icon-btn svg, .icon-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  flex-shrink: 0;
}
.andorina-icon-btn:hover, .icon-btn:hover {
  border-color: var(--and-blue);
  color: var(--and-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 105, 229, 0.1);
}
.andorina-cart-count, .cart-count {
  background: var(--and-blue);
  color: #fff;
  font-family: var(--and-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.4;
}

/* Mobile Drawer (Dropdown on <= 900px) */
.andorina-nav-mobile-toggle, .andorina-hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--and-line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--and-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--and-ease-fluid);
}
.andorina-nav-mobile-toggle svg, .andorina-hamburger svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}
.andorina-mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 105, 229, 0.16);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 24px 56px -12px rgba(15, 23, 42, 0.2);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  z-index: 250;
  transition: all 0.35s var(--and-ease-fluid);
}
.andorina-mobile-drawer[hidden] {
  display: none !important;
}
.andorina-mobile-drawer.is-open,
.andorina-site-header.is-open .andorina-mobile-drawer,
.andorina-nav.is-open .andorina-mobile-drawer {
  display: flex;
}
.andorina-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.andorina-mobile-links li {
  margin: 0;
  padding: 0;
}
.andorina-mobile-drawer-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 12px;
  border-top: 1px solid var(--and-line);
}
.andorina-mobile-drawer a:not(.andorina-btn) {
  font-size: 16px;
  font-weight: 500;
  color: var(--and-ink);
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.2s ease;
}
.andorina-mobile-drawer a:not(.andorina-btn):hover {
  color: var(--and-blue);
}

/* =========================================================================
 * 3. Global Search Modal (Ctrl+K / Cmd+K Spotlight)
 * ========================================================================= */
.andorina-global-search-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 12vh, 100px) 16px 24px;
  box-sizing: border-box;
}
.andorina-global-search-modal[hidden] {
  display: none !important;
}
.andorina-global-search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 89, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}
.andorina-global-search-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 105, 229, 0.22);
  border-radius: 24px;
  box-shadow: 0 32px 70px -12px rgba(11, 37, 89, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: andModalDrop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes andModalDrop {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.andorina-global-search-header,
.andorina-global-search-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--and-line);
}
.andorina-global-search-icon,
.andorina-global-search-head > svg {
  width: 20px;
  height: 20px;
  stroke: var(--and-blue);
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
}
.andorina-global-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--and-ui);
  font-size: 16px;
  color: var(--and-ink);
  outline: none;
  padding: 0;
}
.andorina-global-search-input::placeholder {
  color: var(--and-muted);
}
.andorina-global-search-kbd {
  font-family: var(--and-mono);
  font-size: 11px;
  color: var(--and-muted);
  background: var(--and-bg-alt);
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--and-line);
}
.andorina-kbd-hint {
  font-family: var(--andorina-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--andorina-blue-ink);
  background: #eef4ff;
  border: 1px solid rgba(0, 105, 229, 0.28);
  box-shadow: 0 1px 0 rgba(11, 37, 89, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  white-space: nowrap;
}
.andorina-gs-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(234, 243, 255, 0.6);
  border-bottom: 1px solid var(--and-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.andorina-gs-tabs::-webkit-scrollbar {
  display: none;
}
.andorina-gs-tab {
  padding: 4px 12px;
  font-family: var(--and-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--and-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.andorina-gs-tab:hover {
  color: var(--and-ink);
  background: rgba(255, 255, 255, 0.7);
}
.andorina-gs-tab.is-active {
  color: var(--and-blue-dark);
  background: #ffffff;
  border-color: rgba(0, 105, 229, 0.22);
  box-shadow: 0 2px 6px rgba(0, 105, 229, 0.1);
}
.andorina-gs-recents {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 18px;
  background: #fafcff;
  border-bottom: 1px solid var(--and-line);
}
.andorina-gs-recents[hidden] {
  display: none !important;
}
.andorina-gs-recents-label {
  font-family: var(--and-mono);
  font-size: 11px;
  color: var(--and-muted);
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.andorina-gs-recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--and-blue-soft);
  color: var(--and-blue-dark);
  border: 1px solid var(--and-blue-border);
  border-radius: 999px;
  font-family: var(--and-ui);
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.andorina-gs-recent-chip:hover {
  background: #d6e8ff;
  border-color: var(--and-blue);
}
.andorina-gs-clear-recents {
  background: none;
  border: none;
  color: var(--and-muted);
  font-size: 11px;
  cursor: pointer;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s ease;
}
.andorina-gs-clear-recents:hover {
  color: #ef4444;
}
mark.andorina-gs-hl {
  background: rgba(0, 105, 229, 0.14);
  color: var(--andorina-blue-ink);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 600;
}
.andorina-global-search-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--and-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s ease;
}
.andorina-global-search-close:hover {
  color: var(--and-blue);
}
.andorina-global-search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.andorina-search-group-title {
  font-family: var(--and-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--and-muted);
  padding: 8px 10px 2px;
}
.andorina-global-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--and-ink);
  transition: background 0.2s ease, transform 0.2s ease;
}
.andorina-global-search-item:hover,
.andorina-global-search-item.is-selected {
  background: var(--and-blue-soft);
  color: var(--and-blue-dark);
  transform: translateX(3px);
}
.andorina-global-search-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.andorina-global-search-item-info {
  flex: 1;
  min-width: 0;
}
.andorina-global-search-item-title {
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.andorina-global-search-item-desc {
  font-size: 12.5px;
  color: var(--and-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.andorina-global-search-badge {
  font-family: var(--and-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 105, 229, 0.1);
  color: var(--and-blue);
  flex-shrink: 0;
}
.andorina-global-search-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--and-muted);
  font-size: 14px;
}
.andorina-global-search-footer {
  padding: 10px 20px;
  background: var(--and-bg-alt);
  border-top: 1px solid var(--and-line);
  font-family: var(--and-mono);
  font-size: 11px;
  color: var(--and-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================================================================
 * 4. 3D Spatial Fly-Through Hero (Camera Dolly-In on Scroll)
 * ========================================================================= */
.andorina-hero-stage, .hero-stage {
  position: relative;
  height: 215vh;
  height: 215svh;
  z-index: 1;
}
.andorina-hero-stage.andorina-hero--subpage,
.andorina-hero-stage.andorina-hero--project {
  height: 185svh;
}
.andorina-hero-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--and-mono);
  font-size: 12px;
  color: var(--and-muted);
  margin-bottom: 12px;
}
.andorina-hero-breadcrumbs a {
  color: var(--and-ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.andorina-hero-breadcrumbs a:hover {
  color: var(--and-blue);
}
.andorina-hero-breadcrumbs .andorina-crumb-sep {
  opacity: 0.5;
}
.andorina-hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--and-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 12px;
}
.andorina-hero-status-pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}
.andorina-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--and-line);
}
.andorina-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.andorina-hero-stat-value {
  font-family: var(--and-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--and-ink);
  line-height: 1.1;
}
.andorina-hero-stat-label {
  font-family: var(--and-mono);
  font-size: 11px;
  color: var(--and-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.andorina-hero.andorina-hero-spatial,
.hero.andorina-hero-spatial,
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  padding-top: calc(var(--and-nav-h) + 8px);
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(180deg, #f1f7ff 0%, #f7faff 62%, #eaf2fe 100%);
  perspective: 1150px;
  transform-style: preserve-3d;
  box-sizing: border-box;
}

.andorina-hero-ambient, .hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.andorina-orb-1, .orb-1 {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 105, 229, 0.16) 0%, rgba(0, 183, 230, 0.08) 45%, transparent 70%);
  filter: blur(34px);
  will-change: transform;
}
.andorina-orb-2, .orb-2 {
  position: absolute;
  bottom: 8%;
  right: 6%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 183, 230, 0.18) 0%, rgba(0, 105, 229, 0.09) 45%, transparent 70%);
  filter: blur(38px);
  will-change: transform;
}

.andorina-hero-grid-bg, .hero-grid-bg {
  position: absolute;
  inset: -15%;
  background-image:
    linear-gradient(to right, rgba(0, 105, 229, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 105, 229, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  will-change: transform;
}

.andorina-hero-portal-glow, .hero-portal-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 183, 230, 0.24) 0%, rgba(0, 105, 229, 0.14) 38%, transparent 70%);
  filter: blur(28px);
  opacity: 0;
  will-change: transform, opacity;
}

.andorina-hero-spotlight, .hero-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--hx, 65%) var(--hy, 45%), rgba(0, 105, 229, 0.085), transparent 65%);
}

.andorina-hero-main, .hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  perspective: 1150px;
  transform-style: preserve-3d;
}
.andorina-hero-grid, .hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4.2vw, 56px);
  align-items: center;
  width: 100%;
  transform-style: preserve-3d;
}
.andorina-hero-copy, .hero-copy {
  will-change: transform, opacity, filter;
  transform-origin: left center;
}

/* Static clean hero logo */
.andorina-hero-logo-top, .hero-logo-top {
  margin-bottom: 14px;
}
.andorina-hero-logo-top img, .andorina-hero-logo-top svg,
.hero-logo-top img, .hero-logo-top svg {
  width: clamp(78px, 8vw, 104px);
  height: clamp(78px, 8vw, 104px);
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 105, 229, 0.22));
}

.andorina-hero-title, .hero-title {
  font-family: var(--and-display);
  font-weight: 600;
  font-size: clamp(2.85rem, 5.6vw, 4.7rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--and-ink);
  margin: 0;
}
.andorina-hero-title .andorina-domain-ext,
.hero-title .domain-ext,
.andorina-domain-ext,
.domain-ext,
.andorina-hero-title .blue,
.hero-title .blue {
  color: var(--and-blue);
  font-weight: 500;
}

.andorina-hero-subtitle, .hero-subtitle {
  font-family: var(--and-display);
  font-size: clamp(1.14rem, 1.75vw, 1.44rem);
  font-weight: 400;
  color: var(--and-ink-soft);
  margin-top: 12px;
  line-height: 1.3;
}
.andorina-hero-lead, .hero-lead {
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
  line-height: 1.68;
  color: var(--and-muted);
  max-width: 52ch;
  margin-top: 12px;
}
.andorina-hero-actions, .hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.andorina-hero-tags, .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 105, 229, 0.11);
}
.andorina-hero-tags span, .hero-tags span {
  font-family: var(--and-mono);
  font-size: 11.5px;
  color: var(--and-ink-soft);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--and-line);
  padding: 5px 11px;
  border-radius: 999px;
}

/* Frameless Visual Mosaic (100% full-bleed inside cards) */
.andorina-hero-visual, .hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  perspective: 1150px;
  transform-style: preserve-3d;
}
.andorina-hv-card, .hv-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  border: none;
  background: var(--and-blue-deep);
  box-shadow: 0 24px 50px -14px rgba(11, 37, 89, 0.28);
  will-change: transform, opacity, filter;
}
.andorina-hv-card.tall, .hv-card.tall { grid-row: span 2; aspect-ratio: 3/3.85; }
.andorina-hv-card.short-1, .hv-card.short-1 { aspect-ratio: 16/10; }
.andorina-hv-card.short-2, .hv-card.short-2 { aspect-ratio: 16/10; }

.andorina-hv-card img, .hv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--and-ease-fluid);
}
.andorina-hv-card:hover img, .hv-card:hover img {
  transform: scale(1.06);
}
.andorina-hv-card::after, .hv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 26, 68, 0.82) 0%, rgba(8, 26, 68, 0.02) 56%);
  pointer-events: none;
}
.andorina-hv-placeholder, .hv-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--and-blue-deep), var(--and-blue));
}
.andorina-hv-label, .hv-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.andorina-hv-label small, .hv-label small {
  display: block;
  font-family: var(--and-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7dd3fc;
  margin-bottom: 2px;
}

/* Scroll Down Button with animated chevrons */
.andorina-scroll-down-wrap, .scroll-down-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.andorina-scroll-down-btn, .scroll-down-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--and-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--and-ink-soft);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--and-blue-border);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 105, 229, 0.1);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s var(--and-ease-fluid);
}
.andorina-scroll-down-btn:hover, .scroll-down-btn:hover {
  color: var(--and-blue);
  border-color: var(--and-blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 105, 229, 0.18);
}
.andorina-chevrons, .chevrons {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.5;
  animation: andBounceDown 2.6s infinite ease-in-out;
}
.andorina-chevrons svg, .chevrons svg {
  width: 16px;
  height: 16px;
  stroke: var(--and-blue);
  stroke-width: 2.4;
  fill: none;
}
.andorina-chevrons svg:last-child, .chevrons svg:last-child {
  margin-top: -7px;
  opacity: 0.55;
}
@keyframes andBounceDown {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

/* =========================================================================
 * 5. Elementor Visual Editor Safety Overrides
 * ========================================================================= */
body.elementor-editor-active .andorina-hero-stage,
body.elementor-editor-active .hero-stage {
  height: auto !important;
}
body.elementor-editor-active .andorina-hero.andorina-hero-spatial,
body.elementor-editor-active .hero.andorina-hero-spatial {
  position: relative !important;
  height: auto !important;
  min-height: 85vh;
}
body.elementor-editor-active .andorina-page-sheet,
body.elementor-editor-active .page-content {
  margin-top: 0 !important;
}
body.elementor-editor-active .andorina-reveal,
body.elementor-editor-active .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================================================
 * 6. Curtain Sheet & Section Extensions
 * ========================================================================= */
.andorina-page-sheet, .page-content {
  position: relative;
  z-index: 10;
  margin-top: -115vh;
  margin-top: -115svh;
  background: var(--and-bg);
  border-radius: 36px 36px 0 0;
  border-top: 1px solid rgba(0, 105, 229, 0.16);
  box-shadow: 0 -28px 70px -10px rgba(11, 37, 89, 0.16);
  overflow-x: clip;
  will-change: border-radius;
}

/* Zero vertical gap pairing for subpage & project heroes: 185svh - 85svh = 100svh */
.andorina-hero-stage.andorina-hero--subpage ~ .andorina-page-sheet,
.andorina-hero-stage.andorina-hero--project ~ .andorina-page-sheet,
.andorina-hero-stage.andorina-hero--subpage + .andorina-page-sheet,
.andorina-hero-stage.andorina-hero--project + .andorina-page-sheet,
.andorina-hero--subpage ~ .andorina-page-sheet,
.andorina-hero--project ~ .andorina-page-sheet,
.andorina-hero--subpage + .andorina-page-sheet,
.andorina-hero--project + .andorina-page-sheet {
  margin-top: -85svh;
}

.andorina-content-sec, section.content-sec {
  padding-block: clamp(72px, 8.2vw, 108px);
  position: relative;
  overflow: hidden;
}
.andorina-content-sec:first-child, section.content-sec:first-child {
  border-radius: inherit;
}
.andorina-alt-sec, section.content-sec.alt {
  background: var(--and-bg-alt);
  border-bottom: 1px solid var(--and-line);
}
.andorina-content-sec + .andorina-content-sec,
section.content-sec + section.content-sec {
  border-top: 1px solid var(--and-line);
}

.andorina-has-sec-slide, .sec-slide {
  will-change: transform;
}

.andorina-has-watermark {
  position: relative;
  overflow: hidden;
}

/* Calibrated watermark typography */
.andorina-sec-watermark, .sec-watermark {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: max(3vw, calc((100% - 1220px) / 2 + 24px)) !important;
  left: auto !important;
  transform: none;
  font-family: var(--and-display);
  font-size: clamp(4.6rem, 11.5vw, 9.8rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.03em;
  color: rgba(0, 105, 229, 0.065);
  pointer-events: none;
  user-select: none;
  line-height: 0.95;
  white-space: nowrap;
  will-change: transform;
  z-index: 0;
}

.andorina-sec-header-wrap, .sec-header-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}
.andorina-eyebrow, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--and-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--and-blue);
  background: var(--and-blue-soft);
  border: 1px solid var(--and-blue-border);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.andorina-eyebrow i, .eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--and-blue);
  box-shadow: 0 0 0 3px rgba(0, 105, 229, 0.18);
  display: inline-block;
}

.andorina-sec-head, .sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.andorina-sec-title, .sec-title {
  font-family: var(--and-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--and-ink);
  margin: 0;
}
.andorina-sec-title em, .sec-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--and-blue);
}
.andorina-sec-desc, .sec-desc {
  color: var(--and-muted);
  font-size: 15.5px;
  max-width: 54ch;
  margin-top: 8px;
  line-height: 1.6;
}
.andorina-sec-head-actions, .sec-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================================================================
 * 7. Frosted Filter Toolbar & Sliding Capsule Glider
 * ========================================================================= */
.andorina-toolbar, .toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 12px;
  border-radius: 18px;
  border: 1px solid var(--and-line);
  box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.08);
  overflow: visible;
}

.andorina-filter-pills, .filter-pills {
  position: relative;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  border-radius: 999px;
  background: #f1f6fd;
  overflow: visible;
}
.andorina-fpill-glider, .fpill-glider {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--and-blue), var(--and-blue-dark));
  box-shadow: 0 6px 16px rgba(0, 105, 229, 0.3);
  transition:
    transform 0.52s var(--and-ease-fluid),
    width 0.52s var(--and-ease-fluid),
    height 0.52s var(--and-ease-fluid);
  z-index: 0;
  pointer-events: none;
}
.andorina-fpill, .fpill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--and-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--and-ink-soft);
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.35s ease;
  text-decoration: none;
}
.andorina-fpill svg, .fpill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.andorina-fpill:hover:not(.active), .fpill:hover:not(.active) {
  color: var(--and-blue);
}
.andorina-fpill.active, .fpill.active,
.andorina-fpill.is-active, .fpill.is-active {
  color: #ffffff;
}
.andorina-count, .count {
  font-family: var(--and-mono);
  font-size: 11px;
  opacity: 0.8;
}

.andorina-search-wrap, .search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 270px;
}
.andorina-search-wrap svg, .search-wrap svg {
  position: absolute;
  left: 14px;
  width: 15px;
  height: 15px;
  stroke: var(--and-muted);
  stroke-width: 2.1;
  fill: none;
  pointer-events: none;
  transition: stroke 0.3s ease;
}
.andorina-search-mini, .search-mini,
.andorina-section-search, .andorina-portfolio-search-input,
.andorina-shop-search, .andorina-blog-search {
  width: 100%;
  border: 1px solid var(--and-line);
  border-radius: 999px;
  padding: 9px 16px 9px 38px;
  font-family: var(--and-ui);
  font-size: 13px;
  background: var(--and-bg);
  color: var(--and-ink);
  outline: none;
  transition: all 0.35s var(--and-ease-fluid);
  box-sizing: border-box;
}
.andorina-search-mini:focus, .search-mini:focus,
.andorina-section-search:focus, .andorina-portfolio-search-input:focus,
.andorina-shop-search:focus, .andorina-blog-search:focus {
  border-color: var(--and-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 105, 229, 0.14);
}
.andorina-search-wrap:focus-within svg, .search-wrap:focus-within svg {
  stroke: var(--and-blue);
}
.andorina-search-mini.pulse-focus, .search-mini.pulse-focus,
.pulse-focus {
  animation: andPulseFocus 1.8s ease-in-out;
}
@keyframes andPulseFocus {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 105, 229, 0); }
  30%, 60% { box-shadow: 0 0 0 8px rgba(0, 105, 229, 0.28); }
}

.andorina-toolbar-note {
  font-size: 12px;
  color: var(--and-muted);
  font-family: var(--and-mono);
}

/* Advanced Portfolio Explorer: Tech Filters, Sort, Results Count & View Toggle */
.andorina-tech-filters, .tech-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  width: 100%;
  overflow: visible;
}
.andorina-tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  color: var(--and-ink-soft);
  font-family: var(--and-mono);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1.4;
}
.andorina-tech-chip:hover {
  border-color: var(--and-blue);
  color: var(--and-blue);
  background: var(--and-blue-soft);
}
.andorina-tech-chip.active,
.andorina-tech-chip.is-active {
  background: var(--and-blue);
  border-color: var(--and-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 105, 229, 0.28);
}
.andorina-portfolio-sort {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--and-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid var(--and-line);
  border-radius: 999px;
  padding: 9px 36px 9px 16px;
  font-family: var(--and-ui);
  font-size: 13px;
  color: var(--and-ink);
  cursor: pointer;
  outline: none;
  transition: all 0.35s var(--and-ease-fluid);
  box-sizing: border-box;
}
.andorina-portfolio-sort:focus {
  border-color: var(--and-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 105, 229, 0.14);
}
.andorina-results-count {
  font-family: var(--and-mono);
  font-size: 11.5px;
  color: var(--and-muted);
  letter-spacing: 0.02em;
  padding: 4px 10px;
  background: rgba(11, 37, 89, 0.04);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.andorina-mobile-view-toggle {
  display: none;
}

/* Configurable Initial Items & "Cargar más" Engine */
.is-limit-hidden {
  display: none !important;
}

.andorina-load-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  width: 100%;
}
.andorina-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--and-blue, #0069e5);
  background: #ffffff;
  color: var(--and-blue, #0069e5);
  font-family: var(--and-ui, inherit);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s var(--and-ease-fluid, ease);
  box-shadow: 0 4px 14px -3px rgba(0, 105, 229, 0.16);
}
.andorina-load-more-btn:hover {
  background: var(--and-blue, #0069e5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(0, 105, 229, 0.32);
}
.andorina-load-more-btn:active {
  transform: translateY(0);
}

/* =========================================================================
 * 8. Stylish 100% Full-Bleed Editorial & Shop Cards
 * ========================================================================= */
/* Editorial Featured Post Card (2-column on desktop, 1-col on <= 860px) */
.andorina-featured-post-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow:
    0 14px 36px -16px rgba(11, 37, 89, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.55s var(--and-ease-fluid),
    box-shadow 0.55s var(--and-ease-fluid),
    border-color 0.45s ease;
}
.andorina-featured-post-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 52px -16px rgba(0, 105, 229, 0.18),
    0 1px 3px rgba(15, 23, 42, 0.04);
  border-color: rgba(0, 105, 229, 0.28);
}
.andorina-featured-post-card__thumb {
  position: relative;
  width: 100%;
  min-height: 290px;
  overflow: hidden;
  background: var(--and-blue-deep);
}
.andorina-featured-post-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.andorina-featured-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s var(--and-ease-fluid);
}
.andorina-featured-post-card:hover .andorina-featured-post-card__thumb img {
  transform: scale(1.05);
}
.andorina-featured-post-card__main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 36px;
}
.andorina-featured-post-card__title {
  font-family: var(--and-display);
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 10px 0 14px;
  color: var(--and-ink);
}
.andorina-featured-post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.andorina-featured-post-card__title a:hover {
  color: var(--and-blue);
}
@media (max-width: 860px) {
  .andorina-featured-post-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .andorina-featured-post-card__thumb {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }
  .andorina-featured-post-card__main {
    padding: 20px 18px;
  }
  .andorina-featured-post-card__title {
    font-size: 1.32rem;
  }
}

.andorina-editorial-grid, .grid-3 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  transition: height 0.58s var(--and-ease-fluid);
}

.andorina-editorial-card, .andorina-card, .card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 10px 30px -14px rgba(11, 37, 89, 0.11),
    0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.55s var(--and-ease-fluid),
    box-shadow 0.55s var(--and-ease-fluid),
    border-color 0.45s ease;
  will-change: transform, opacity;
}
.andorina-editorial-card::before, .andorina-card::before, .card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 105, 229, 0.075), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.andorina-editorial-card:hover, .andorina-card:hover, .card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 105, 229, 0.34);
  box-shadow:
    0 26px 52px -16px rgba(0, 105, 229, 0.2),
    0 4px 12px rgba(0, 105, 229, 0.05);
}
.andorina-editorial-card:hover::before, .andorina-card:hover::before, .card:hover::before {
  opacity: 1;
}
.andorina-editorial-card.is-hidden, .andorina-card.is-hidden, .card.is-hidden {
  display: none !important;
}

/* 100% Full Bleed Card Thumbnail without borders or paddings */
.andorina-card-thumb, .andorina-card-image, .card-thumb {
  margin: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--and-blue-deep);
  flex-shrink: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  z-index: 1;
}
.andorina-card-thumb img, .andorina-card-image img, .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s var(--and-ease-fluid);
}
.andorina-card-thumb > a:not(.andorina-thumb-corner),
.card-thumb > a:not(.thumb-corner) {
  display: block;
  width: 100%;
  height: 100%;
}
.andorina-editorial-card:hover .andorina-card-thumb img,
.andorina-card:hover .andorina-card-image img,
.card:hover .card-thumb img {
  transform: scale(1.065);
}

.andorina-card-thumb.logo-thumb, .card-thumb.logo-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(0, 183, 230, 0.42), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(0, 105, 229, 0.55), transparent 60%),
    linear-gradient(145deg, #092356 0%, #06183d 100%);
  padding: 28px;
  box-sizing: border-box;
}
.andorina-card-thumb.logo-thumb::before, .card-thumb.logo-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.andorina-card-thumb.logo-thumb img, .card-thumb.logo-thumb img {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

/* Floating Badges */
.andorina-card-thumb .andorina-badge-float,
.card-thumb .badge-float,
.andorina-featured-post-card__thumb .andorina-badge-float,
.andorina-badge-float,
.badge-float {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 3 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--and-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--and-blue-dark);
  box-shadow: 0 4px 14px rgba(11, 37, 89, 0.14);
}
.andorina-badge-float::before, .badge-float::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--and-blue);
}
.andorina-badge-float.amber, .badge-float.amber {
  color: #9a3412;
  background: rgba(254, 243, 199, 0.95);
}
.andorina-badge-float.amber::before, .badge-float.amber::before {
  background: var(--and-amber);
}
.andorina-badge-float.green, .badge-float.green {
  color: #065f46;
  background: rgba(209, 250, 229, 0.95);
}
.andorina-badge-float.green::before, .badge-float.green::before {
  background: #10b981;
}

/* Centered SVG Corner Action Button */
.andorina-thumb-corner, .thumb-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--and-ink);
  display: grid;
  place-items: center;
  line-height: 0;
  opacity: 0;
  transform: translate(-4px, 4px) scale(0.88);
  transition: all 0.4s var(--and-ease-fluid);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
  text-decoration: none;
}
.andorina-thumb-corner svg, .thumb-corner svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.andorina-editorial-card:hover .andorina-thumb-corner,
.andorina-card:hover .andorina-thumb-corner,
.card:hover .thumb-corner {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  color: var(--and-blue);
}

.andorina-card-main, .card-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.andorina-card-body, .andorina-card-content, .card-body {
  padding: 20px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.andorina-card-kicker, .card-kicker {
  font-family: var(--and-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--and-blue);
  font-weight: 700;
  opacity: 0.85;
}
.andorina-card-title, .card-title {
  font-family: var(--and-display);
  font-size: 20.5px;
  font-weight: 500;
  color: var(--and-ink);
  line-height: 1.24;
  letter-spacing: -0.015em;
  transition: color 0.3s ease;
  margin: 0;
}
.andorina-card-title a, .card-title a {
  color: inherit;
  text-decoration: none;
}
.andorina-editorial-card:hover .andorina-card-title,
.andorina-card:hover .andorina-card-title,
.card:hover .card-title {
  color: var(--and-blue-dark);
}
.andorina-card-text, .andorina-card-excerpt, .card-text {
  font-size: 14px;
  color: var(--and-muted);
  line-height: 1.62;
  margin: 0;
}

.andorina-stack-row, .andorina-tech-stack, .stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}
.andorina-stack-row span, .andorina-tech-tag, .stack-row span {
  font-family: var(--and-mono);
  font-size: 10.8px;
  color: #1e3a8a;
  background: #f2f7ff;
  border: 1px solid rgba(0, 105, 229, 0.13);
  padding: 3px 9px;
  border-radius: 999px;
}

.andorina-card-foot, .card-foot {
  margin-inline: 22px;
  padding: 13px 0 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Centered Arrow Circle */
.andorina-link-arrow, .link-arrow {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--and-ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.andorina-arr-circle, .arr-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--and-blue-soft);
  color: var(--and-blue);
  display: inline-grid;
  place-items: center;
  line-height: 0;
  flex-shrink: 0;
  transition:
    background 0.38s var(--and-ease-fluid),
    color 0.38s var(--and-ease-fluid),
    transform 0.38s var(--and-ease-fluid);
}
.andorina-arr-circle svg, .arr-circle svg {
  width: 13px;
  height: 13px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.andorina-editorial-card:hover .andorina-link-arrow,
.andorina-card:hover .andorina-link-arrow,
.card:hover .link-arrow {
  color: var(--and-blue);
}
.andorina-editorial-card:hover .andorina-arr-circle,
.andorina-card:hover .andorina-arr-circle,
.card:hover .link-arrow .arr-circle {
  background: var(--and-blue);
  color: #fff;
  transform: translateX(3px);
}
.andorina-link-muted, .link-muted {
  font-family: var(--and-mono);
  font-size: 11.5px;
  color: var(--and-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}
.andorina-link-muted:hover, .link-muted:hover {
  color: var(--and-blue);
}

.andorina-price-tag, .price-tag {
  font-family: var(--and-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--and-ink);
}
.andorina-price-tag small, .price-tag small {
  font-family: var(--and-ui);
  font-size: 12px;
  color: var(--and-muted);
  font-weight: 400;
}

.andorina-shop-add-btn, .shop-add-btn {
  padding: 8px 16px;
  font-size: 12.5px;
  border-radius: 999px;
  background: var(--and-blue-soft);
  color: var(--and-blue-dark);
  border: 1px solid rgba(0, 105, 229, 0.16);
  font-family: var(--and-ui);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--and-ease-fluid);
}
.andorina-editorial-card:hover .andorina-shop-add-btn,
.andorina-shop-add-btn:hover,
.card:hover .shop-add-btn,
.shop-add-btn:hover {
  background: linear-gradient(135deg, var(--and-blue), var(--and-blue-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px -4px rgba(0, 105, 229, 0.45);
}

.andorina-empty-filter-msg, .empty-filter-msg {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 44px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--and-blue-border);
  border-radius: 20px;
  color: var(--and-muted);
  font-size: 14.5px;
  display: none;
  box-sizing: border-box;
}
.andorina-empty-filter-msg[hidden], .empty-filter-msg[hidden] {
  display: none !important;
}
.andorina-empty-filter-msg.visible, .empty-filter-msg.visible {
  display: block;
}

.andorina-sec-footer-cta, .sec-footer-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* =========================================================================
 * 9. Bio Profile Card & Dynamic CV Timeline
 * ========================================================================= */
.andorina-cv-layout, .cv-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.andorina-bio-card, .bio-card {
  background: var(--and-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 14px 34px -12px rgba(11, 37, 89, 0.09);
}
.andorina-bio-header, .bio-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.andorina-bio-avatar, .bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--and-blue);
  flex-shrink: 0;
}
.andorina-bio-avatar img, .bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.andorina-bio-name {
  font-family: var(--and-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--and-ink);
  margin: 0;
}
.andorina-bio-role {
  font-family: var(--and-ui);
  font-size: 13.5px;
  color: var(--and-blue);
  font-weight: 500;
  margin-top: 2px;
}
.andorina-bio-p, .bio-card p {
  font-size: 14.8px;
  color: var(--and-ink-soft);
  margin-bottom: 14px;
  line-height: 1.7;
}

.andorina-skills-group, .skills-group {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--and-line);
}
.andorina-skills-group h4, .skills-group h4 {
  font-family: var(--and-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--and-muted);
  margin-bottom: 10px;
}
.andorina-skills-badges, .skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.andorina-sbadge-item, .sbadge-item {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--and-bg-alt);
  border: 1px solid var(--and-line);
  color: var(--and-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.35s var(--and-ease-fluid), border-color 0.35s ease;
}
.andorina-sbadge-item:hover, .sbadge-item:hover {
  transform: translateY(-2px);
  border-color: var(--and-blue);
}
.andorina-sbadge-item i, .sbadge-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--and-blue);
  display: inline-block;
}
i.dot-blue { background: var(--and-blue) !important; }
i.dot-amber { background: var(--and-amber) !important; }
i.dot-cyan { background: var(--and-cyan) !important; }
i.dot-green { background: #10b981 !important; }

/* Dynamic Timeline CV */
.andorina-timeline-cv, .cv-layout .timeline, .andorina-timeline, .timeline {
  position: relative;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.andorina-timeline-cv::before, .timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--and-line);
  border-radius: 3px;
}
.andorina-timeline-fill, .timeline-fill {
  position: absolute;
  left: 6px;
  top: 12px;
  width: 3px;
  height: 0px;
  background: linear-gradient(to bottom, var(--and-blue), var(--and-cyan));
  border-radius: 3px;
  z-index: 1;
  transition: height 0.06s linear;
}

.andorina-tl-item, .tl-item {
  position: relative;
  background: var(--and-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 10px 26px -14px rgba(11, 37, 89, 0.08);
  transition:
    border-color 0.4s var(--and-ease-fluid),
    transform 0.4s var(--and-ease-fluid),
    box-shadow 0.4s var(--and-ease-fluid);
}
.andorina-tl-item.is-active, .tl-item.is-active {
  border-color: rgba(0, 105, 229, 0.32);
  box-shadow: 0 16px 34px -14px rgba(0, 105, 229, 0.16);
}
.andorina-tl-item:hover, .tl-item:hover {
  border-color: rgba(0, 105, 229, 0.45);
  transform: translateX(5px);
}
.andorina-tl-dot, .tl-dot {
  position: absolute;
  left: -30px;
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--and-surface);
  border: 3px solid #cbd5e1;
  z-index: 2;
  box-sizing: border-box;
  transition:
    transform 0.35s var(--and-ease-fluid),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}
.andorina-tl-item.is-active .andorina-tl-dot,
.tl-item.is-active .tl-dot {
  background: var(--and-blue);
  border-color: var(--and-blue);
  transform: scale(1.24);
  box-shadow: 0 0 0 6px rgba(0, 105, 229, 0.16);
}
.andorina-tl-date, .tl-date {
  font-family: var(--and-mono);
  font-size: 11px;
  color: var(--and-muted);
  font-weight: 700;
  transition: color 0.3s ease;
}
.andorina-tl-item.is-active .andorina-tl-date,
.tl-item.is-active .tl-date {
  color: var(--and-blue);
}
.andorina-tl-role, .tl-role {
  font-family: var(--and-display);
  font-size: 19px;
  font-weight: 500;
  margin-top: 2px;
  color: var(--and-ink);
}
.andorina-tl-place, .tl-place {
  font-size: 13px;
  color: var(--and-muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.andorina-tl-desc, .tl-desc {
  font-size: 13.8px;
  color: var(--and-ink-soft);
  line-height: 1.6;
}

/* =========================================================================
 * 10. Site Footer
 * ========================================================================= */
.andorina-site-footer, footer.andorina-site-footer, footer {
  background: var(--and-blue-deep);
  color: #cbd5e1;
  padding-block: 64px 28px;
}
.andorina-fgrid, .fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.andorina-fcol h4, .fcol h4 {
  font-family: var(--and-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 16px;
}
.andorina-fcol p, .fcol p {
  font-size: 14px;
  color: #94a3b8;
  max-width: 34ch;
  margin-top: 12px;
  line-height: 1.6;
}
.andorina-fcol ul, .fcol ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  margin: 0;
  padding: 0;
}
.andorina-fcol a, .fcol a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}
.andorina-fcol a:hover, .fcol a:hover {
  color: #ffffff;
}
.andorina-fbar, .fbar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--and-mono);
  font-size: 11.5px;
  color: #94a3b8;
}

/* =========================================================================
 * 11. Smooth Reveal & Motion
 * ========================================================================= */
.andorina-reveal, .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--and-ease-out-expo),
    transform 0.8s var(--and-ease-out-expo);
}
.andorina-reveal.is-visible, .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  [class*="andorina-animate-"] { animation-duration: .6s; animation-fill-mode: both; }
  .andorina-animate-fade { animation-name: andFade; }
  .andorina-animate-slide-up { animation-name: andSlideUp; }
}
@keyframes andFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes andSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *[class*="andorina-"], .reveal {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================================
 * 12. Responsive Design (<= 960px, <= 900px, <= 860px)
 * ========================================================================= */
@media (max-width: 960px) {
  .andorina-cv-layout, .cv-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .andorina-fgrid, .fgrid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .andorina-cs-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Header Cart Circle at <= 960px */
  .andorina-nav-actions .andorina-icon-btn,
  .nav-actions .icon-btn,
  .andorina-icon-btn,
  .icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    position: relative !important;
    overflow: visible !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .andorina-btn-text,
  .nav-btn-text,
  .andorina-kbd-hint,
  .nav-kbd-hint,
  .andorina-icon-btn span:not(.andorina-cart-count):not(.cart-count),
  .icon-btn span:not(.andorina-cart-count):not(.cart-count) {
    display: none !important;
  }
  .andorina-cart-count,
  .cart-count,
  .andorina-icon-btn .andorina-cart-count,
  .andorina-icon-btn .cart-count,
  .icon-btn .cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 105, 229, 0.4) !important;
    z-index: 2 !important;
  }
}

/* Zero-crowding Mobile Header on <= 900px */
@media (max-width: 900px) {
  .andorina-nav-links, .nav-links,
  .andorina-hide-mobile, .hide-mobile {
    display: none !important;
  }
  .andorina-nav-mobile-toggle, .andorina-hamburger {
    display: inline-flex !important;
  }
}

/* Mobile Vertical UX <= 860px: Centered Hero, Coverflow Slider, Symmetric Footer */
@media (max-width: 860px) {
  .btn-label-extra {
    display: none;
  }

  /* Shortened Stage for Vertical / Mobile Screen */
  .andorina-hero-stage, .hero-stage {
    height: 155svh;
  }
  .andorina-hero-stage.andorina-hero--subpage,
  .andorina-hero-stage.andorina-hero--project {
    height: 145svh;
  }
  .andorina-page-sheet, .page-content {
    margin-top: -55svh;
    border-radius: 28px 28px 0 0;
  }
  /* Zero vertical gap pairing on mobile: 145svh - 45svh = 100svh */
  .andorina-hero-stage.andorina-hero--subpage ~ .andorina-page-sheet,
  .andorina-hero-stage.andorina-hero--project ~ .andorina-page-sheet,
  .andorina-hero-stage.andorina-hero--subpage + .andorina-page-sheet,
  .andorina-hero-stage.andorina-hero--project + .andorina-page-sheet,
  .andorina-hero--subpage ~ .andorina-page-sheet,
  .andorina-hero--project ~ .andorina-page-sheet,
  .andorina-hero--subpage + .andorina-page-sheet,
  .andorina-hero--project + .andorina-page-sheet {
    margin-top: -45svh;
  }

  .andorina-hero-breadcrumbs {
    justify-content: center;
    text-align: center;
  }
  .andorina-hero-status-pill {
    margin-inline: auto;
  }
  .andorina-hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    text-align: center;
  }
  .andorina-hero-stat {
    align-items: center;
  }

  .andorina-hero.andorina-hero-spatial,
  .hero.andorina-hero-spatial,
  .hero {
    padding-top: calc(var(--and-nav-h) + 4px);
    padding-bottom: 14px;
  }
  .andorina-hero-grid, .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Centered Hero Copy & Logo */
  .andorina-hero-copy, .hero-copy {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .andorina-hero-logo-top, .hero-logo-top {
    margin: 0 auto clamp(4px, 1.2svh, 8px) !important;
    display: flex !important;
    justify-content: center !important;
  }
  .andorina-hero-logo-top img, .andorina-hero-logo-top svg,
  .hero-logo-top img, .hero-logo-top svg {
    width: clamp(46px, 10vw, 56px) !important;
    height: clamp(46px, 10vw, 56px) !important;
  }
  .andorina-hero-title, .hero-title {
    font-size: clamp(2.1rem, 7.8vw, 2.85rem) !important;
    line-height: 1.05 !important;
    text-align: center !important;
  }
  .andorina-hero-subtitle, .hero-subtitle {
    font-size: clamp(0.96rem, 3.2vw, 1.1rem) !important;
    margin-top: 6px !important;
    text-align: center !important;
  }
  .andorina-hero-lead, .hero-lead {
    font-size: clamp(0.86rem, 2.7vw, 0.94rem) !important;
    line-height: 1.48 !important;
    margin-top: 6px !important;
    text-align: center !important;
    max-width: 44ch !important;
    margin-inline: auto !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .andorina-hero-actions, .hero-actions {
    margin-top: clamp(8px, 1.8svh, 14px) !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  .andorina-hero-actions .btn, .andorina-hero-actions .andorina-btn,
  .hero-actions .btn {
    padding: 8px 16px !important;
    font-size: 12.5px !important;
  }
  .andorina-hero-tags, .hero-tags {
    display: none !important;
  }

  /* Centered 2-column Bento Mosaic that fits 100svh cleanly without cut-off! */
  .andorina-hero-visual, .hero-visual {
    display: grid !important;
    grid-template-columns: 1.08fr 0.92fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    overflow: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
  }
  .andorina-hv-card.tall, .hv-card.tall {
    grid-row: span 2 !important;
    height: clamp(148px, 22svh, 196px) !important;
    aspect-ratio: auto !important;
    flex: none !important;
    max-width: none !important;
  }
  .andorina-hv-card.short-1, .hv-card.short-1,
  .andorina-hv-card.short-2, .hv-card.short-2 {
    height: calc((clamp(148px, 22svh, 196px) - 10px) / 2) !important;
    aspect-ratio: auto !important;
    flex: none !important;
    max-width: none !important;
  }

  /* Compact centered section headers & toolbars */
  .andorina-content-sec, section.content-sec {
    padding-block: 52px;
  }
  .andorina-sec-head, .sec-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 20px;
    gap: 14px;
  }
  .andorina-sec-head > div, .sec-head > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .andorina-eyebrow, .eyebrow {
    align-self: flex-start !important;
    margin-inline: 0 !important;
  }
  .andorina-sec-desc, .sec-desc {
    text-align: left !important;
    font-size: 14.5px;
    margin-inline: 0 !important;
  }
  .andorina-toolbar, .toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 10px;
    gap: 10px;
    margin-bottom: 20px;
    overflow: visible !important;
  }
  .andorina-filter-pills, .filter-pills {
    width: 100%;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  .andorina-filter-pills::-webkit-scrollbar, .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .andorina-fpill, .fpill {
    white-space: nowrap;
    padding: 7px 13px;
    font-size: 12.5px;
  }
  .andorina-search-wrap, .search-wrap {
    width: 100%;
    min-width: 0;
  }
  .andorina-tech-filters, .tech-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    padding-block: 4px;
    width: 100%;
    overflow: visible !important;
  }
  .andorina-tech-filters::-webkit-scrollbar, .tech-filters::-webkit-scrollbar {
    display: none;
  }
  .andorina-tech-chip {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* In mobile horizontal Coverflow rail mode, hide load more button; show on grid mode */
  .andorina-filterable-portfolio:not(.is-mobile-grid-mode-active) .andorina-load-more-wrap,
  .andorina-woo-shop-wrap:not(.is-mobile-grid-mode-active) .andorina-load-more-wrap,
  .andorina-blog-wrap:not(.is-mobile-grid-mode-active) .andorina-load-more-wrap,
  .andorina-editorial-grid:not(.is-mobile-grid-mode) ~ .andorina-load-more-wrap,
  .andorina-grid:not(.is-mobile-grid-mode) ~ .andorina-load-more-wrap,
  .andorina-grid-3:not(.is-mobile-grid-mode) ~ .andorina-load-more-wrap,
  .grid-3:not(.is-mobile-grid-mode) ~ .andorina-load-more-wrap {
    display: none !important;
  }
  .andorina-filterable-portfolio.is-mobile-grid-mode-active .andorina-load-more-wrap,
  .andorina-woo-shop-wrap.is-mobile-grid-mode-active .andorina-load-more-wrap,
  .andorina-blog-wrap.is-mobile-grid-mode-active .andorina-load-more-wrap,
  .andorina-editorial-grid.is-mobile-grid-mode ~ .andorina-load-more-wrap,
  .andorina-grid.is-mobile-grid-mode ~ .andorina-load-more-wrap,
  .andorina-grid-3.is-mobile-grid-mode ~ .andorina-load-more-wrap,
  .grid-3.is-mobile-grid-mode ~ .andorina-load-more-wrap {
    display: flex !important;
  }

  /* Single Post & Single Product mobile stack */
  .andorina-single-post,
  .andorina-single-post-article {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .andorina-single-post-sidebar,
  .andorina-single-post .andorina-toc-aside,
  .andorina-single-post__toc {
    position: static !important;
    width: 100% !important;
  }
  .andorina-single-post-content,
  .andorina-single-post .andorina-prose,
  .andorina-single-post__content {
    max-width: 100% !important;
    font-size: 15.5px !important;
  }
  .andorina-single-product,
  .andorina-single-product-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .andorina-single-product-gallery,
  .andorina-single-product__gallery {
    position: static !important;
  }
  .andorina-single-product-buybox,
  .andorina-single-product__buybox {
    padding: 22px 18px !important;
  }
  .andorina-stage-thumbs {
    justify-content: center !important;
    justify-content: safe center !important;
  }

  .andorina-mobile-view-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--and-bg-alt);
    border: 1px solid var(--and-line);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
    margin: 8px auto 0;
  }
  .andorina-view-toggle-btn {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 5px 14px;
    font-family: var(--and-ui);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--and-muted);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .andorina-view-toggle-btn.is-active,
  .andorina-view-toggle-btn.active {
    background: var(--and-surface);
    color: var(--and-blue-dark);
    box-shadow: 0 2px 6px rgba(11, 37, 89, 0.08);
  }

  /* CRITICAL Mobile Vertical (<= 860px) Centered Placeholders & Fields Fix */
  .andorina-search-mini,
  .search-mini,
  .andorina-portfolio-sort,
  .andorina-contact-form input:not([type="checkbox"]),
  .andorina-contact-form select,
  .andorina-contact-form textarea,
  .andorina-ajax-search__input,
  .andorina-contact-form-card .wpcf7 input:not([type="checkbox"]):not([type="submit"]),
  .andorina-contact-form-card .wpcf7 select,
  .andorina-contact-form-card .wpcf7 textarea,
  .andorina-external-form .wpcf7 input:not([type="checkbox"]):not([type="submit"]),
  .andorina-external-form .wpcf7 select,
  .andorina-external-form .wpcf7 textarea {
    text-align: center !important;
    text-align-last: center !important;
  }
  .andorina-search-mini::placeholder,
  .search-mini::placeholder,
  .andorina-portfolio-sort::placeholder,
  .andorina-contact-form input:not([type="checkbox"])::placeholder,
  .andorina-contact-form select::placeholder,
  .andorina-contact-form textarea::placeholder,
  .andorina-ajax-search__input::placeholder,
  .andorina-contact-form-card .wpcf7 input::placeholder,
  .andorina-contact-form-card .wpcf7 select::placeholder,
  .andorina-contact-form-card .wpcf7 textarea::placeholder,
  .andorina-external-form .wpcf7 input::placeholder,
  .andorina-external-form .wpcf7 select::placeholder,
  .andorina-external-form .wpcf7 textarea::placeholder {
    text-align: center !important;
  }

  /* Symmetric padding for mini search input so SVG icon doesn't offset centered placeholder */
  .andorina-search-wrap .andorina-search-mini,
  .search-wrap .search-mini,
  .andorina-search-wrap input[type="search"] {
    padding-left: 38px !important;
    padding-right: 38px !important;
  }

  .andorina-portfolio-sort {
    width: 100%;
    margin-top: 6px;
    background-position: right 18px center;
  }

  /* Centered Coverflow/Peek Slider Stage for Editorial & Shop Grids */
  .andorina-editorial-grid[data-mobile-rail="yes"],
  .andorina-grid[data-mobile-rail="yes"],
  .grid-3 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 14px !important;
    padding-block: 10px 14px !important;
    padding-inline: max(9vw, calc(50% - 160px)) !important;
    margin-inline: calc(-1 * clamp(18px, 4vw, 36px)) !important;
    scrollbar-width: none !important;
    height: auto !important;
    cursor: grab !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  }
  .andorina-editorial-grid.is-dragging,
  .andorina-grid.is-dragging,
  .grid-3.is-dragging {
    cursor: grabbing !important;
    user-select: none !important;
  }
  .andorina-editorial-grid::-webkit-scrollbar,
  .andorina-grid::-webkit-scrollbar,
  .grid-3::-webkit-scrollbar {
    display: none !important;
  }

  .andorina-editorial-grid > .andorina-editorial-card,
  .andorina-editorial-grid > .andorina-card,
  .grid-3 > .card {
    flex: 0 0 min(80vw, 320px) !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
    flex-direction: column;
    border-radius: 20px;
    transition:
      transform 0.4s var(--and-ease-fluid),
      opacity 0.4s ease,
      box-shadow 0.4s ease !important;
  }
  .andorina-editorial-grid > .andorina-editorial-card.is-rail-side,
  .andorina-grid > .andorina-card.is-rail-side,
  .grid-3 > .card.is-rail-side {
    transform: scale(0.92) !important;
    opacity: 0.55 !important;
  }
  .andorina-editorial-grid > .andorina-editorial-card.is-rail-active,
  .andorina-grid > .andorina-card.is-rail-active,
  .grid-3 > .card.is-rail-active {
    transform: scale(1) !important;
    opacity: 1 !important;
    box-shadow: 0 20px 48px -12px rgba(0, 105, 229, 0.25) !important;
  }

  /* When .is-mobile-grid-mode is active on .andorina-grid-3 / .grid-3 */
  .andorina-grid-3.is-mobile-grid-mode,
  .grid-3.is-mobile-grid-mode,
  .andorina-editorial-grid.is-mobile-grid-mode,
  .andorina-grid.is-mobile-grid-mode {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    gap: 16px !important;
    align-items: center !important;
  }
  .andorina-grid-3.is-mobile-grid-mode > .card,
  .andorina-grid-3.is-mobile-grid-mode > .andorina-card,
  .andorina-grid-3.is-mobile-grid-mode > .andorina-editorial-card,
  .grid-3.is-mobile-grid-mode > .card,
  .andorina-editorial-grid.is-mobile-grid-mode > .andorina-editorial-card,
  .andorina-grid.is-mobile-grid-mode > .andorina-card {
    flex: none !important;
    width: 100% !important;
    max-width: 440px !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .andorina-grid-3.is-mobile-grid-mode ~ .andorina-mobile-rail-nav,
  .andorina-editorial-grid.is-mobile-grid-mode ~ .andorina-mobile-rail-nav,
  .grid-3.is-mobile-grid-mode ~ .andorina-mobile-rail-nav,
  .is-mobile-grid-mode-active .andorina-mobile-rail-nav {
    display: none !important;
  }

  .andorina-card-thumb, .card-thumb, .andorina-card-thumb.logo-thumb, .card-thumb.logo-thumb {
    width: 100%;
    aspect-ratio: 16/10;
  }
  .andorina-card-body, .card-body {
    padding: 16px 18px 14px;
    gap: 6px;
  }
  .andorina-card-title, .card-title {
    font-size: 18.5px;
  }
  .andorina-card-text, .card-text {
    font-size: 13.5px;
    line-height: 1.52;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .andorina-card-foot, .card-foot {
    margin-inline: 18px;
    padding: 11px 0 15px;
  }

  /* Centered [ ← ]  • ━━ •  [ → ] Controls */
  .andorina-mobile-rail-nav, .mobile-rail-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 14px !important;
    position: relative;
    z-index: 2;
  }
  .andorina-rail-dots, .rail-dots {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .andorina-rail-dot, .rail-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 105, 229, 0.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.35s var(--and-ease-fluid), background 0.35s ease;
  }
  .andorina-rail-dot.active, .rail-dot.active {
    width: 22px;
    background: var(--and-blue);
  }
  .andorina-rail-prev, .rail-prev,
  .andorina-rail-next, .rail-next,
  .andorina-rail-btn, .rail-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--and-line);
    background: var(--and-surface);
    color: var(--and-ink);
    display: grid;
    place-items: center;
    line-height: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: all 0.3s var(--and-ease-fluid);
  }
  .andorina-rail-prev svg, .andorina-rail-next svg,
  .andorina-rail-btn svg, .rail-btn svg {
    width: 15px;
    height: 15px;
    display: block;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .andorina-rail-prev:hover, .andorina-rail-next:hover,
  .andorina-rail-btn:hover, .rail-btn:hover {
    border-color: var(--and-blue);
    color: var(--and-blue);
  }

  .andorina-sec-footer-cta, .sec-footer-cta {
    margin-top: 22px;
  }

  .andorina-bio-card, .bio-card {
    padding: 22px;
  }
  .andorina-tl-item, .tl-item {
    padding: 18px 20px;
  }

  /* Centered Symmetric Footer (matching andorina-landing-concept.html) */
  footer, .site-footer, .andorina-footer, .andorina-site-footer {
    padding-block: 48px 24px !important;
  }
  .andorina-fgrid, .fgrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px !important;
    padding-bottom: 28px !important;
  }
  .andorina-fcol-brand,
  .andorina-fgrid .andorina-fcol:first-child,
  .site-footer .fcol:first-child,
  .fgrid .fcol:first-child {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .andorina-fgrid .andorina-fcol:first-child p,
  .site-footer .fcol:first-child p,
  .fgrid .fcol:first-child p {
    margin-inline: auto !important;
    max-width: 44ch !important;
    text-align: center !important;
  }
  .andorina-fcol-links,
  .andorina-fcol,
  .fgrid .fcol:nth-child(2),
  .fgrid .fcol:nth-child(3),
  .andorina-fgrid .andorina-fcol:nth-child(2),
  .andorina-fgrid .andorina-fcol:nth-child(3) {
    text-align: center !important;
  }
  .andorina-fcol ul,
  .fgrid .fcol:nth-child(2) ul,
  .fgrid .fcol:nth-child(3) ul,
  .andorina-fgrid .andorina-fcol:nth-child(2) ul,
  .andorina-fgrid .andorina-fcol:nth-child(3) ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .andorina-fcol-contact,
  .andorina-fgrid .andorina-fcol:last-child,
  .fgrid .fcol:last-child,
  .fgrid .fcol:nth-child(4),
  .andorina-fgrid .andorina-fcol:nth-child(4) {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .andorina-fcol-contact ul,
  .andorina-fgrid .andorina-fcol:last-child ul,
  .fgrid .fcol:last-child ul,
  .fgrid .fcol:nth-child(4) ul,
  .andorina-fgrid .andorina-fcol:nth-child(4) ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .andorina-fbar, .fbar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  /* Case Study Mobile Overrides */
  .andorina-cs-narrative {
    grid-template-columns: 1fr !important;
  }
  .andorina-cs-metrics {
    grid-template-columns: 1fr !important;
  }
  .andorina-cs-nav {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  /* Contact Section Mobile Overrides */
  .andorina-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .andorina-contact-info-card {
    text-align: center !important;
    align-items: center !important;
  }
  .andorina-contact-info-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
  .andorina-contact-form {
    text-align: center !important;
  }
  .andorina-form-group {
    align-items: center !important;
  }
  .andorina-form-label,
  .andorina-contact-form label {
    text-align: center !important;
  }
  .andorina-form-checkbox-label,
  .andorina-contact-form .andorina-form-checkbox-label {
    justify-content: center !important;
    text-align: center !important;
  }
  .andorina-contact-form .andorina-btn,
  .andorina-contact-form button[type="submit"],
  .andorina-contact-form-card .wpcf7-submit,
  .andorina-external-form .wpcf7-submit {
    margin-inline: auto !important;
    display: block !important;
  }
  .andorina-contact-form-card .wpcf7-acceptance label,
  .andorina-external-form .wpcf7-acceptance label {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Cookie Banner & Preferences Modal Mobile Overrides */
  /* Floating Cookie Settings Trigger with Geometric Privacy Shield Identity */
.andorina-cookie-trigger {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(0, 105, 229, 0.28) !important;
  color: var(--and-blue, #0069e5) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 24px rgba(11, 37, 89, 0.14) !important;
  cursor: pointer !important;
  z-index: 9980 !important;
  padding: 0 !important;
  outline: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.andorina-cookie-trigger:hover {
  transform: translateY(-2px) scale(1.06) !important;
  border-color: rgba(0, 105, 229, 0.6) !important;
  box-shadow: 0 12px 28px rgba(0, 105, 229, 0.22) !important;
}
.andorina-cookie-trigger:active {
  transform: translateY(0) scale(0.96) !important;
}
.andorina-cookie-icon,
.andorina-cookie-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#andorina-cookie-banner.andorina-cookie-banner,
#andorinaCookieBanner.andorina-cookie-banner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 18px 20px !important;
    bottom: 14px !important;
  }
  .andorina-cookie-banner-actions {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .andorina-cookie-banner-actions .andorina-cookie-btn {
    flex: 1 1 calc(50% - 6px) !important;
    text-align: center !important;
  }
  .andorina-cookie-modal-foot {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .andorina-cookie-modal-foot button,
  .andorina-cookie-modal-foot .andorina-cookie-btn {
    width: 100% !important;
  }
  .andorina-cookie-table {
    display: block !important;
    overflow-x: auto !important;
  }
}

/* =========================================================================
 * 13. Complete Styling for All 25 Andorina Elements Widgets
 * ========================================================================= */

/* Grid Component (Base_Widget & derivatives) */
.andorina-grid {
  --columns-desktop: 3;
  --columns-tablet: 2;
  --columns-mobile: 1;
  --gap: 24px;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(var(--columns-mobile), minmax(0, 1fr));
}
@media (min-width: 768px) {
  .andorina-grid {
    grid-template-columns: repeat(var(--columns-tablet), minmax(0, 1fr));
  }
}
@media (min-width: 1025px) {
  .andorina-grid {
    grid-template-columns: repeat(var(--columns-desktop), minmax(0, 1fr));
  }
}
.andorina-grid.andorina-layout-list {
  grid-template-columns: 1fr;
}
.andorina-grid.andorina-layout-masonry {
  display: block;
  column-gap: var(--gap);
  column-count: var(--columns-mobile);
}
@media (min-width: 768px) {
  .andorina-grid.andorina-layout-masonry {
    column-count: var(--columns-tablet);
  }
}
@media (min-width: 1025px) {
  .andorina-grid.andorina-layout-masonry {
    column-count: var(--columns-desktop);
  }
}
.andorina-layout-masonry > * {
  break-inside: avoid;
  margin-bottom: var(--gap);
}

/* Pagination & Infinite Load More */
.andorina-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.andorina-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--and-muted);
}
.andorina-card-button,
.andorina-hero-cta,
.andorina-cta-button,
.andorina-add-to-cart,
.andorina-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--and-blue), var(--and-blue-dark));
  color: #fff;
  font-weight: 600;
  font-family: var(--and-ui);
  transition: transform .2s, box-shadow .2s;
}
.andorina-card-button:hover,
.andorina-hero-cta:hover,
.andorina-cta-button:hover,
.andorina-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(0, 105, 229, 0.4);
  color: #fff;
}
.andorina-hero-cta-secondary,
.andorina-cta-button-secondary {
  background: var(--and-surface);
  border-color: var(--and-line);
  color: var(--and-ink);
}

/* CTA Widget */
.andorina-cta {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  background: var(--and-bg-alt);
  border-radius: 24px;
}
.andorina-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 56rem;
  margin-inline: auto;
}
.andorina-cta-headline {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-family: var(--and-display);
  color: var(--and-ink);
}

/* Gallery Masonry */
.andorina-gallery {
  display: grid;
  gap: var(--gap, 16px);
  grid-template-columns: repeat(var(--columns-mobile, 2), 1fr);
}
@media (min-width: 768px) {
  .andorina-gallery { grid-template-columns: repeat(var(--columns-tablet, 3), 1fr); }
}
@media (min-width: 1025px) {
  .andorina-gallery { grid-template-columns: repeat(var(--columns-desktop, 4), 1fr); }
}
.andorina-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--and-blue-deep);
}
.andorina-gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--and-ease-fluid);
}
.andorina-gallery-item:hover img {
  transform: scale(1.05);
}
.andorina-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .8rem 1rem;
  background: linear-gradient(transparent, rgba(11, 37, 89, 0.85));
  color: #fff;
  font-size: .85rem;
}

/* Breadcrumbs */
.andorina-breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .9rem;
}
.andorina-breadcrumbs-list a {
  color: var(--and-ink-soft);
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s, color .2s;
}
.andorina-breadcrumbs-list a:hover {
  opacity: 1;
  color: var(--and-blue);
}
.andorina-breadcrumb-sep {
  opacity: .45;
  color: var(--and-muted);
}
.andorina-breadcrumb-current {
  font-weight: 600;
  color: var(--and-ink);
}

/* Reading Progress Bar (Fixed) */
.andorina-reading-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: rgba(0, 105, 229, 0.08);
  z-index: 9999;
}
.andorina-reading-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--and-blue), var(--and-cyan));
  transition: width .1s linear;
}

/* Table of Contents (TOC) */
.andorina-toc {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.08);
}
.andorina-toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--and-ink);
  font-weight: 600;
  font-family: var(--and-ui);
  cursor: pointer;
  padding: 0;
}
.andorina-toc-list {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.andorina-toc-link {
  color: var(--and-ink-soft);
  text-decoration: none;
  opacity: .85;
  transition: color .2s, opacity .2s;
}
.andorina-toc-link:hover, .andorina-toc-link.is-active {
  opacity: 1;
  color: var(--and-blue);
}
.andorina-toc-h3 {
  padding-left: .85rem;
  font-size: .92em;
}

/* Woo Product Card, Mini-Cart & Filters */
.andorina-product-type-badge.is-digital {
  background: rgba(0, 105, 229, 0.12);
  color: var(--and-blue);
}
.andorina-product-type-badge.is-physical {
  background: var(--and-amber-soft);
  color: var(--and-amber);
}
.andorina-mini-cart {
  position: relative;
  display: inline-flex;
}
.andorina-mini-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--and-line);
  background: var(--and-surface);
  color: var(--and-ink);
  cursor: pointer;
}
/* =========================================================================
 * 10. Mini-Cart Drawer & Modal Overlay Contract
 * ========================================================================= */
#cartDrawerWrap,
.cart-drawer-wrap,
.andorina-mini-cart-drawer-wrap,
#globalSearchModal,
.global-search-modal,
#cookiePrefsModal,
.dialog-modal,
#lightboxModal,
.lightbox-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 12000 !important;
}

#cartDrawerWrap:not(.open):not(.is-open):not(.active),
.cart-drawer-wrap:not(.open):not(.is-open):not(.active),
.andorina-mini-cart-drawer-wrap:not(.open):not(.is-open):not(.active),
#globalSearchModal:not(.open):not(.is-open):not(.active),
.global-search-modal:not(.open):not(.is-open):not(.active),
#cookiePrefsModal:not(.open):not(.is-open):not(.active),
.dialog-modal:not(.open):not(.is-open):not(.active),
#lightboxModal:not(.open):not(.is-open):not(.active),
.lightbox-modal:not(.open):not(.is-open):not(.active),
#mobileDrawer:not(.open):not(.is-open):not(.active),
.mobile-drawer:not(.open):not(.is-open):not(.active) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#cartDrawerWrap:not(.open):not(.is-open):not(.active) *,
.cart-drawer-wrap:not(.open):not(.is-open):not(.active) *,
.andorina-mini-cart-drawer-wrap:not(.open):not(.is-open):not(.active) *,
#globalSearchModal:not(.open):not(.is-open):not(.active) *,
.global-search-modal:not(.open):not(.is-open):not(.active) *,
#cookiePrefsModal:not(.open):not(.is-open):not(.active) *,
.dialog-modal:not(.open):not(.is-open):not(.active) *,
#lightboxModal:not(.open):not(.is-open):not(.active) *,
.lightbox-modal:not(.open):not(.is-open):not(.active) *,
#mobileDrawer:not(.open):not(.is-open):not(.active) *,
.mobile-drawer:not(.open):not(.is-open):not(.active) * {
  pointer-events: none !important;
}

#cartDrawerWrap.open,
#cartDrawerWrap.is-open,
#cartDrawerWrap.active,
.cart-drawer-wrap.open,
.cart-drawer-wrap.is-open,
.cart-drawer-wrap.active,
.andorina-mini-cart-drawer-wrap.open,
.andorina-mini-cart-drawer-wrap.is-open,
.andorina-mini-cart-drawer-wrap.active,
#globalSearchModal.open,
#globalSearchModal.is-open,
#globalSearchModal.active,
.global-search-modal.open,
.global-search-modal.is-open,
.global-search-modal.active,
#cookiePrefsModal.open,
#cookiePrefsModal.is-open,
#cookiePrefsModal.active,
.dialog-modal.open,
.dialog-modal.is-open,
.dialog-modal.active,
#lightboxModal.open,
#lightboxModal.is-open,
#lightboxModal.active,
.lightbox-modal.open,
.lightbox-modal.is-open,
.lightbox-modal.active,
#mobileDrawer.open,
#mobileDrawer.is-open,
#mobileDrawer.active,
.mobile-drawer.open,
.mobile-drawer.is-open,
.mobile-drawer.active {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#cartDrawerWrap[hidden],
.cart-drawer-wrap[hidden],
.andorina-mini-cart-drawer-wrap[hidden]:not(.is-open):not(.open):not(.active) {
  display: none !important;
}

#cartBackdrop,
.cart-backdrop,
.andorina-cart-backdrop,
.andorina-cart-drawer-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: rgba(8, 26, 68, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

#cartDrawerWrap.open #cartBackdrop,
#cartDrawerWrap.is-open #cartBackdrop,
#cartDrawerWrap.active #cartBackdrop,
.cart-drawer-wrap.open .cart-backdrop,
.cart-drawer-wrap.is-open .cart-backdrop,
.cart-drawer-wrap.active .cart-backdrop,
.andorina-mini-cart-drawer-wrap.open .andorina-cart-backdrop,
.andorina-mini-cart-drawer-wrap.is-open .andorina-cart-backdrop,
.andorina-mini-cart-drawer-wrap.active .andorina-cart-backdrop,
.andorina-mini-cart-drawer-wrap.open .andorina-cart-drawer-overlay,
.andorina-mini-cart-drawer-wrap.is-open .andorina-cart-drawer-overlay,
.andorina-mini-cart-drawer-wrap.active .andorina-cart-drawer-overlay {
  pointer-events: auto !important;
  cursor: pointer !important;
}

#cartDrawer,
.cart-drawer,
.andorina-cart-drawer-panel,
.andorina-cart-drawer-inner {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2 !important;
  width: min(440px, 100vw) !important;
  max-width: 100vw !important;
  height: 100% !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border-left: 1px solid rgba(0, 105, 229, 0.2) !important;
  box-shadow: -24px 0 60px -15px rgba(11, 37, 89, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#cartDrawerWrap.open #cartDrawer,
#cartDrawerWrap.is-open #cartDrawer,
#cartDrawerWrap.active #cartDrawer,
.cart-drawer-wrap.open .cart-drawer,
.cart-drawer-wrap.is-open .cart-drawer,
.cart-drawer-wrap.active .cart-drawer,
.andorina-mini-cart-drawer-wrap.open .andorina-cart-drawer-panel,
.andorina-mini-cart-drawer-wrap.is-open .andorina-cart-drawer-panel,
.andorina-mini-cart-drawer-wrap.active .andorina-cart-drawer-panel {
  transform: translateX(0) !important;
  pointer-events: auto !important;
}

#closeCartBtn,
#closeCartDrawerBtn,
.cart-close-btn,
.andorina-cart-close,
.andorina-cart-close-btn,
.andorina-cart-drawer-close,
[data-close-cart] {
  cursor: pointer !important;
}

#cartDrawerWrap.open #closeCartBtn,
#cartDrawerWrap.is-open #closeCartBtn,
#cartDrawerWrap.active #closeCartBtn,
#cartDrawerWrap.open #closeCartDrawerBtn,
#cartDrawerWrap.is-open #closeCartDrawerBtn,
#cartDrawerWrap.active #closeCartDrawerBtn,
.cart-drawer-wrap.open .cart-close-btn,
.cart-drawer-wrap.is-open .cart-close-btn,
.cart-drawer-wrap.active .cart-close-btn,
.cart-drawer-wrap.open [data-close-cart],
.cart-drawer-wrap.is-open [data-close-cart],
.cart-drawer-wrap.active [data-close-cart],
.andorina-mini-cart-drawer-wrap.open .andorina-cart-close,
.andorina-mini-cart-drawer-wrap.is-open .andorina-cart-close,
.andorina-mini-cart-drawer-wrap.active .andorina-cart-close,
.andorina-mini-cart-drawer-wrap.open .andorina-cart-close-btn,
.andorina-mini-cart-drawer-wrap.is-open .andorina-cart-close-btn,
.andorina-mini-cart-drawer-wrap.active .andorina-cart-close-btn,
.andorina-mini-cart-drawer-wrap.open .andorina-cart-drawer-close,
.andorina-mini-cart-drawer-wrap.is-open .andorina-cart-drawer-close,
.andorina-mini-cart-drawer-wrap.active .andorina-cart-drawer-close {
  pointer-events: auto !important;
}

#globalSearchModal.is-open *,
.global-search-modal.is-open *,
#cookiePrefsModal.is-open *,
.dialog-modal.is-open *,
#lightboxModal.is-open *,
.lightbox-modal.is-open *,
#mobileDrawer.is-open *,
.mobile-drawer.is-open * {
  pointer-events: auto;
}

.cart-header,
.andorina-cart-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid var(--and-line, rgba(0, 105, 229, 0.12)) !important;
  background: rgba(246, 250, 255, 0.85) !important;
  flex-shrink: 0 !important;
}

.cart-title,
.andorina-cart-drawer-title {
  font-family: var(--and-display, 'Cabinet Grotesk', sans-serif) !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: var(--and-ink, #0f172a) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.cart-badge-count {
  font-family: var(--and-mono, monospace) !important;
  font-size: 11px !important;
  background: var(--and-blue-soft, rgba(0, 105, 229, 0.08)) !important;
  color: var(--and-blue, #0069e5) !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 105, 229, 0.18) !important;
}

.cart-close-btn,
.andorina-cart-drawer-close {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  border: 1px solid var(--and-line, rgba(0, 105, 229, 0.15)) !important;
  background: #ffffff !important;
  color: var(--and-muted, #64748b) !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.cart-close-btn:hover,
.andorina-cart-drawer-close:hover {
  color: var(--and-ink, #0f172a) !important;
  border-color: var(--and-blue, #0069e5) !important;
  background: var(--and-blue-soft, rgba(0, 105, 229, 0.08)) !important;
}

.cart-items,
.andorina-cart-drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 18px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.cart-item {
  display: grid !important;
  grid-template-columns: 60px 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px !important;
  background: #ffffff !important;
  border: 1px solid var(--and-line, rgba(0, 105, 229, 0.12)) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.cart-item-thumb {
  width: 60px !important;
  height: 60px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #0f172a !important;
  flex-shrink: 0 !important;
}

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

.cart-item-title,
.cart-item-name {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--and-ink, #0f172a) !important;
  line-height: 1.3 !important;
}

.cart-item-meta {
  font-size: 12px !important;
  color: var(--and-muted, #64748b) !important;
  font-family: var(--and-mono, monospace) !important;
  margin-top: 4px !important;
}

.cart-item-remove {
  background: transparent !important;
  border: none !important;
  color: var(--and-muted, #94a3b8) !important;
  font-size: 18px !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  line-height: 1 !important;
  transition: color 0.15s ease !important;
}

.cart-item-remove:hover {
  color: #ef4444 !important;
}

.cart-empty-view,
.andorina-mini-cart-empty {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px 24px !important;
  text-align: center !important;
}

.cart-empty-view svg,
.andorina-empty-icon svg {
  width: 56px !important;
  height: 56px !important;
  stroke: var(--and-muted, #64748b) !important;
  stroke-width: 1.5 !important;
  fill: none !important;
  margin-bottom: 16px !important;
  opacity: 0.55 !important;
}

.cart-empty-view h3 {
  font-family: var(--and-display, 'Cabinet Grotesk', sans-serif) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  color: var(--and-ink, #0f172a) !important;
}

.cart-empty-view p,
.andorina-empty-msg {
  font-size: 13.5px !important;
  color: var(--and-muted, #64748b) !important;
  line-height: 1.5 !important;
  margin-bottom: 20px !important;
  max-width: 280px !important;
}

.cart-footer,
.andorina-cart-drawer-footer {
  padding: 18px 22px !important;
  border-top: 1px solid var(--and-line, rgba(0, 105, 229, 0.12)) !important;
  background: rgba(246, 250, 255, 0.85) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.cart-summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 13px !important;
  color: var(--and-muted, #64748b) !important;
}

.cart-summary-row strong {
  color: var(--and-ink, #0f172a) !important;
  font-family: var(--and-mono, monospace) !important;
}

.cart-summary-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--and-ink, #0f172a) !important;
  padding-top: 8px !important;
  border-top: 1px dashed var(--and-line, rgba(0, 105, 229, 0.2)) !important;
}

.cart-summary-total span:last-child {
  color: var(--and-blue, #0069e5) !important;
  font-family: var(--and-mono, monospace) !important;
  font-size: 18px !important;
}

.cart-note {
  font-size: 11.5px !important;
  color: var(--and-muted, #64748b) !important;
  line-height: 1.45 !important;
  padding: 10px 12px !important;
  background: #ffffff !important;
  border: 1px solid var(--and-line, rgba(0, 105, 229, 0.12)) !important;
  border-radius: 10px !important;
}

.cart-checkout-btn {
  width: 100% !important;
  justify-content: center !important;
  padding: 12px !important;
  font-size: 14px !important;
}
.andorina-woo-filters {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.08);
}

/* AJAX Live Search Dropdown */
.andorina-ajax-search {
  position: relative;
  width: 100%;
}
.andorina-search-form {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.andorina-search-input {
  flex: 1;
  min-height: 44px;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--and-line);
  background: var(--and-surface);
  color: var(--and-ink);
  font-family: var(--and-ui);
}
.andorina-search-input:focus {
  outline: none;
  border-color: var(--and-blue);
  box-shadow: 0 0 0 3px rgba(0, 105, 229, 0.12);
}
.andorina-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 100;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 105, 229, 0.16);
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.18);
  max-height: 420px;
  overflow-y: auto;
  padding: .6rem;
}
.andorina-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.andorina-search-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-radius: 12px;
  color: var(--and-ink);
  text-decoration: none;
  transition: background .2s ease;
}
.andorina-search-link:hover {
  background: var(--and-blue-soft);
}
.andorina-search-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.andorina-search-meta {
  flex: 1;
}
.andorina-search-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.andorina-search-title {
  font-weight: 600;
  font-size: 14px;
}
.andorina-search-price {
  font-family: var(--and-mono);
  font-size: 13px;
  color: var(--and-blue);
  font-weight: 700;
}
.andorina-search-excerpt {
  font-size: 12.5px;
  color: var(--and-muted);
  margin: 2px 0 0;
}

/* GitHub Repo Card & Code Highlight */
.andorina-github-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
}
.andorina-code-block {
  border-radius: 18px;
  overflow: hidden;
  background: #091a3c;
  border: 1px solid rgba(0, 105, 229, 0.2);
  box-shadow: 0 16px 36px -10px rgba(11, 37, 89, 0.25);
}
.andorina-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1.25rem;
  background: #06132d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.andorina-code-pre {
  margin: 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: var(--and-mono);
  font-size: .88rem;
  line-height: 1.65;
  color: #e2e8f0;
}
.andorina-code-copy {
  min-height: 34px;
  padding: .35rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  cursor: pointer;
  font-size: 12px;
  font-family: var(--and-ui);
  transition: all 0.25s ease;
}
.andorina-code-copy:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.andorina-code-copy.is-copied {
  background: var(--and-blue);
  border-color: var(--and-blue);
  color: #fff;
}

/* Pricing Table */
.andorina-pricing-table {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  border-radius: 24px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  box-shadow: 0 12px 32px -12px rgba(11, 37, 89, 0.1);
}
.andorina-pricing-table.featured {
  border-color: var(--and-blue);
  box-shadow: 0 20px 48px -12px rgba(0, 105, 229, 0.25);
}
.andorina-pricing-amount {
  font-family: var(--and-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--and-ink);
  line-height: 1;
}
.andorina-pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  color: var(--and-ink-soft);
}

/* Author Share Box */
.andorina-author-share {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
}
.andorina-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--and-line);
  background: var(--and-bg-alt);
  color: var(--and-ink);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--and-ui);
  text-decoration: none;
  transition: all 0.25s ease;
}
.andorina-share-btn:hover {
  border-color: var(--and-blue);
  color: var(--and-blue);
}

/* =========================================================================
 * 14. Single Project Case Study (Project_Case_Study.php contracts)
 * ========================================================================= */
.andorina-case-study {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vw, 64px);
  box-sizing: border-box;
}

/* Specs Bar */
.andorina-cs-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px 28px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(11, 37, 89, 0.06);
}
.andorina-cs-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.andorina-cs-spec-label {
  font-family: var(--andorina-mono);
  font-size: 11px;
  color: var(--and-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.andorina-cs-spec-value {
  font-family: var(--and-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--and-ink);
}

/* Narrative 2-col Panels */
.andorina-cs-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.andorina-cs-panel {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  box-shadow: 0 12px 32px -12px rgba(11, 37, 89, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.andorina-cs-panel--problem {
  border-top: 4px solid #ef4444;
}
.andorina-cs-panel--solution {
  border-top: 4px solid var(--and-blue);
}
.andorina-cs-panel-title {
  font-family: var(--and-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--and-ink);
  margin: 0;
}
.andorina-cs-panel-body {
  font-family: var(--and-ui);
  font-size: 15px;
  line-height: 1.65;
  color: var(--and-ink-soft);
}

/* Code Card */
.andorina-cs-code-card {
  position: relative;
  background: #0b1528;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(11, 37, 89, 0.35);
}
.andorina-cs-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--andorina-mono);
  font-size: 12px;
  color: #94a3b8;
}
.andorina-cs-code-lang {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.andorina-code-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-family: var(--andorina-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.andorina-code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.andorina-code-copy-btn.is-copied {
  background: var(--and-blue);
  border-color: var(--and-blue);
  color: #fff;
}
.andorina-cs-code-card pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: var(--andorina-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: #f1f5f9;
}

/* Gallery & Frameless Shot */
.andorina-cs-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.andorina-cs-shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--and-line);
  background: var(--and-bg-alt);
  aspect-ratio: 16/10;
  cursor: zoom-in;
  box-shadow: 0 10px 28px -10px rgba(11, 37, 89, 0.1);
  transition: transform 0.4s var(--and-ease-fluid), box-shadow 0.4s ease;
}
.andorina-cs-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--and-ease-fluid);
}
.andorina-cs-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(0, 105, 229, 0.22);
}
.andorina-cs-shot:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.andorina-cs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.andorina-cs-lightbox[hidden] {
  display: none !important;
}
.andorina-cs-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 40, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1;
}
.andorina-cs-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.andorina-cs-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.andorina-cs-lightbox-caption {
  margin-top: 12px;
  font-family: var(--and-ui);
  font-size: 14px;
  color: #e2e8f0;
  text-align: center;
}
.andorina-cs-lightbox-close,
.andorina-cs-lightbox-prev,
.andorina-cs-lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.andorina-cs-lightbox-close:hover,
.andorina-cs-lightbox-prev:hover,
.andorina-cs-lightbox-next:hover {
  background: var(--and-blue);
  border-color: var(--and-blue);
}
.andorina-cs-lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 24px;
}
.andorina-cs-lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.andorina-cs-lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Metrics Grid: 4-col desktop, 2-col tablet, 1-col mobile */
.andorina-cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.andorina-cs-metric-card {
  padding: 24px;
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 24px -10px rgba(11, 37, 89, 0.06);
}
.andorina-cs-metric-number {
  font-family: var(--and-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--and-blue);
  line-height: 1;
}
.andorina-cs-metric-label {
  font-family: var(--and-ui);
  font-size: 13.5px;
  color: var(--and-ink-soft);
  font-weight: 500;
}

/* Nav links (prev/next project) */
.andorina-cs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--and-line);
}
.andorina-cs-nav-link {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--and-ink);
  transition: color 0.2s ease, transform 0.2s ease;
}
.andorina-cs-nav-link:hover {
  color: var(--and-blue);
}
.andorina-cs-nav-link.is-prev:hover {
  transform: translateX(-4px);
}
.andorina-cs-nav-link.is-next:hover {
  transform: translateX(4px);
}
.andorina-cs-nav-dir {
  font-family: var(--andorina-mono);
  font-size: 11px;
  color: var(--and-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.andorina-cs-nav-title {
  font-family: var(--and-ui);
  font-size: 16px;
  font-weight: 600;
}

/* =========================================================================
 * 15. Contact Section (Contact_Section.php contracts)
 * ========================================================================= */
.andorina-contact-sec {
  padding-block: clamp(64px, 8vw, 100px);
}
.andorina-contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.andorina-contact-info-card,
.andorina-contact-form-card {
  background: var(--and-surface);
  border: 1px solid var(--and-line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 16px 40px -12px rgba(11, 37, 89, 0.08);
  box-sizing: border-box;
}
.andorina-contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.andorina-contact-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--and-bg);
  border: 1px solid var(--and-line);
  border-radius: 12px;
}
.andorina-contact-info-label {
  font-family: var(--andorina-mono);
  font-size: 11px;
  color: var(--and-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.andorina-contact-info-val {
  font-family: var(--and-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--and-ink);
}
.andorina-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-family: var(--andorina-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--and-blue);
  background: var(--and-blue-soft);
  border: 1px solid var(--and-blue-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.andorina-copy-btn:hover {
  background: var(--and-blue);
  color: #fff;
}
.andorina-copy-btn.is-copied {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

/* Contact Form Elements */
.andorina-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.andorina-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.andorina-form-label,
.andorina-contact-form label {
  font-family: var(--and-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--and-ink);
}
.andorina-contact-form input:not([type="checkbox"]),
.andorina-contact-form select,
.andorina-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: var(--and-bg);
  border: 1px solid var(--and-line);
  border-radius: 12px;
  font-family: var(--and-ui);
  font-size: 14px;
  color: var(--and-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.andorina-contact-form input:focus,
.andorina-contact-form select:focus,
.andorina-contact-form textarea:focus {
  background: #fff;
  border-color: var(--and-blue);
  box-shadow: 0 0 0 3px rgba(0, 105, 229, 0.12);
}
.andorina-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Honeypot hidden field */
.andorina-hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Privacy checkbox */
.andorina-form-checkbox-label,
.andorina-contact-form .andorina-form-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--and-ui);
  font-size: 12.5px;
  color: var(--and-ink-soft);
  cursor: pointer;
}
.andorina-form-checkbox-label a {
  color: var(--and-blue);
  text-decoration: underline;
}

/* Status messages */
.andorina-contact-status {
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--and-ui);
  font-size: 13.5px;
  display: none;
}
.andorina-contact-status.is-success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.andorina-contact-status.is-error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Contact Form 7 (CF7) Compatibility within Andoriña Cards */
.andorina-contact-form-card .wpcf7,
.andorina-external-form .wpcf7 {
  width: 100%;
}
.andorina-contact-form-card .wpcf7-form p,
.andorina-external-form .wpcf7-form p {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.andorina-contact-form-card .wpcf7-form br,
.andorina-external-form .wpcf7-form br {
  display: none;
}
.andorina-contact-form-card .wpcf7-form label,
.andorina-external-form .wpcf7-form label {
  font-family: var(--and-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--and-ink);
  margin-bottom: 2px;
  display: block;
}

/* CF7 Inputs, Selects, Textareas */
.andorina-contact-form-card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-acceptance),
.andorina-contact-form-card .wpcf7 input[type="text"],
.andorina-contact-form-card .wpcf7 input[type="email"],
.andorina-contact-form-card .wpcf7 input[type="tel"],
.andorina-contact-form-card .wpcf7 input[type="url"],
.andorina-contact-form-card .wpcf7 select,
.andorina-contact-form-card .wpcf7 textarea,
.andorina-external-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-acceptance),
.andorina-external-form .wpcf7 input[type="text"],
.andorina-external-form .wpcf7 input[type="email"],
.andorina-external-form .wpcf7 input[type="tel"],
.andorina-external-form .wpcf7 input[type="url"],
.andorina-external-form .wpcf7 select,
.andorina-external-form .wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: var(--and-bg);
  border: 1px solid var(--and-line);
  border-radius: 12px;
  font-family: var(--and-ui);
  font-size: 14px;
  color: var(--and-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.andorina-contact-form-card .wpcf7 input:focus,
.andorina-contact-form-card .wpcf7 select:focus,
.andorina-contact-form-card .wpcf7 textarea:focus,
.andorina-external-form .wpcf7 input:focus,
.andorina-external-form .wpcf7 select:focus,
.andorina-external-form .wpcf7 textarea:focus {
  background: #fff;
  border-color: var(--and-blue);
  box-shadow: 0 0 0 3px rgba(0, 105, 229, 0.12);
}
.andorina-contact-form-card .wpcf7 textarea,
.andorina-external-form .wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.andorina-contact-form-card .wpcf7-submit,
.andorina-external-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--and-blue);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: var(--and-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 105, 229, 0.28);
  transition: all 0.25s var(--and-ease-fluid);
  text-decoration: none;
  line-height: 1.4;
}
.andorina-contact-form-card .wpcf7-submit:hover,
.andorina-external-form .wpcf7-submit:hover {
  background: var(--and-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 105, 229, 0.35);
}

/* RGPD Acceptance Checkbox */
.andorina-contact-form-card .wpcf7-acceptance label,
.andorina-external-form .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--and-ui);
  font-size: 12.5px;
  color: var(--and-ink-soft);
  cursor: pointer;
}
.andorina-contact-form-card .wpcf7-acceptance label a,
.andorina-external-form .wpcf7-acceptance label a {
  color: var(--and-blue);
  text-decoration: underline;
}

/* Validation Tips & Error Messages */
.andorina-contact-form-card .wpcf7-not-valid-tip,
.andorina-external-form .wpcf7-not-valid-tip {
  font-family: var(--and-ui);
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: block;
}

/* Response Output Banners */
.andorina-contact-form-card .wpcf7 form .wpcf7-response-output,
.andorina-external-form .wpcf7 form .wpcf7-response-output {
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--and-ui);
  font-size: 13.5px;
  margin: 16px 0 0 0;
  border: 1px solid var(--and-line);
  background: var(--and-bg);
}
.andorina-contact-form-card .wpcf7 form.sent .wpcf7-response-output,
.andorina-external-form .wpcf7 form.sent .wpcf7-response-output {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.andorina-contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.andorina-contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.andorina-external-form .wpcf7 form.invalid .wpcf7-response-output,
.andorina-external-form .wpcf7 form.failed .wpcf7-response-output {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* =========================================================================
 * 16. Cookie Consent Banner, Preferences Modal & Legal Documents
 *     (Legal_Manager.php & Legal_Document.php contracts)
 * ========================================================================= */
/* Floating Cookie Settings Trigger with Geometric Privacy Shield Identity */
.andorina-cookie-trigger {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(0, 105, 229, 0.28) !important;
  color: var(--and-blue, #0069e5) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 24px rgba(11, 37, 89, 0.14) !important;
  cursor: pointer !important;
  z-index: 9980 !important;
  padding: 0 !important;
  outline: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.andorina-cookie-trigger:hover {
  transform: translateY(-2px) scale(1.06) !important;
  border-color: rgba(0, 105, 229, 0.6) !important;
  box-shadow: 0 12px 28px rgba(0, 105, 229, 0.22) !important;
}
.andorina-cookie-trigger:active {
  transform: translateY(0) scale(0.96) !important;
}
.andorina-cookie-icon,
.andorina-cookie-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#andorina-cookie-banner.andorina-cookie-banner,
#andorinaCookieBanner.andorina-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 680px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px 24px;
  color: #f8fafc;
  z-index: 9990;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  animation: andCookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
#andorinaCookieBanner.andorina-cookie-banner[hidden] {
  display: none !important;
}
@keyframes andCookieSlideUp {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.andorina-cookie-banner-copy {
  flex: 1;
  font-family: var(--and-ui);
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
}
.andorina-cookie-banner-copy strong {
  color: #fff;
}
.andorina-cookie-banner-copy a {
  color: #38bdf8;
  text-decoration: underline;
}
.andorina-cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.andorina-cookie-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--and-ui);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}
.andorina-cookie-btn--primary {
  background: var(--and-blue);
  color: #fff;
}
.andorina-cookie-btn--primary:hover {
  background: var(--and-blue-dark);
}
.andorina-cookie-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.2);
}
.andorina-cookie-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.andorina-cookie-btn--ghost {
  background: transparent;
  color: #94a3b8;
  border: none;
}
.andorina-cookie-btn--ghost:hover {
  color: #fff;
}

/* Cookie Preferences Modal */
#andorina-cookie-modal.andorina-cookie-modal,
#andorinaCookieModal.andorina-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
#andorinaCookieModal.andorina-cookie-modal[hidden] {
  display: none !important;
}
.andorina-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 40, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}
.andorina-cookie-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 105, 229, 0.22);
  border-radius: 24px;
  box-shadow: 0 32px 70px -12px rgba(11, 37, 89, 0.3);
  padding: clamp(24px, 4vw, 32px);
  box-sizing: border-box;
  animation: andModalDrop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 90vh;
  overflow-y: auto;
}
.andorina-cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.andorina-cookie-modal-title {
  font-family: var(--and-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--and-ink);
  margin: 0;
}
.andorina-cookie-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--and-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.andorina-cookie-modal-close:hover {
  color: var(--and-blue);
}
.andorina-cookie-modal-desc {
  font-family: var(--and-ui);
  font-size: 13.5px;
  color: var(--and-ink-soft);
  line-height: 1.55;
  margin: 0;
}
.andorina-cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.andorina-cookie-cat {
  padding: 14px 16px;
  border: 1px solid var(--and-line);
  border-radius: 14px;
  background: var(--and-bg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.andorina-cookie-cat-info {
  flex: 1;
}
.andorina-cookie-cat-title {
  font-family: var(--and-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--and-ink);
  margin-bottom: 4px;
}
.andorina-cookie-cat-desc {
  font-family: var(--and-ui);
  font-size: 12px;
  color: var(--and-muted);
  line-height: 1.5;
}

/* Accessible Toggle Switch */
.andorina-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.andorina-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.andorina-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 24px;
}
.andorina-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.andorina-toggle-switch input:checked + .andorina-toggle-slider {
  background-color: var(--and-blue);
}
.andorina-toggle-switch input:checked + .andorina-toggle-slider:before {
  transform: translateX(20px);
}
.andorina-toggle-switch input:disabled + .andorina-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.andorina-cookie-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--and-line);
}

/* Legal Documents & Responsive Cookie Table */
.andorina-legal-doc {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  font-family: var(--and-ui);
  color: var(--and-ink-soft);
  line-height: 1.75;
}
.andorina-legal-doc h1,
.andorina-legal-doc h2,
.andorina-legal-doc h3 {
  font-family: var(--and-display);
  color: var(--and-ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
.andorina-legal-doc h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.andorina-legal-doc h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.andorina-legal-doc h3 { font-size: 1.25rem; }
.andorina-legal-doc p,
.andorina-legal-doc ul {
  font-size: 15.5px;
  margin-bottom: 1.25em;
}
.andorina-cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 13.5px;
  border: 1px solid var(--and-line);
  border-radius: 12px;
  overflow: hidden;
}
.andorina-cookie-table th {
  background: var(--and-bg-alt);
  font-family: var(--andorina-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--and-ink);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--and-line);
}
.andorina-cookie-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--and-line);
  color: var(--and-ink-soft);
}
.andorina-cookie-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Contact_Section Inner Sub-Elements Alignment & Editorial Polish
   ========================================================================== */
.andorina-contact-container {
  max-width: var(--andorina-max-w, 1180px);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
}
.andorina-contact-header {
  margin-bottom: 34px;
}
.andorina-contact-eyebrow {
  display: inline-block;
  font-family: var(--andorina-mono, 'Space Mono', monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--andorina-blue, #0069e5);
  margin-bottom: 8px;
}
.andorina-contact-title {
  font-family: var(--andorina-display, 'Fraunces', Georgia, serif);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 600;
  color: var(--andorina-ink, #0f172a);
  line-height: 1.15;
  margin: 0 0 10px;
}
.andorina-contact-subtitle {
  font-size: 15.5px;
  color: var(--andorina-muted, #475569);
  max-width: 60ch;
  line-height: 1.6;
  margin: 0;
}
.andorina-avail-box {
  margin-bottom: 20px;
}
.andorina-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #047857;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.andorina-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}
.andorina-avail-title {
  font-family: var(--andorina-display, 'Fraunces', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--andorina-ink, #0f172a);
  margin: 0 0 6px;
}
.andorina-avail-desc {
  font-size: 14px;
  color: var(--andorina-muted, #475569);
  line-height: 1.55;
  margin: 0;
}
.andorina-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f8fafd;
  border: 1px solid rgba(0, 105, 229, 0.16);
  margin-bottom: 16px;
}
.andorina-email-link {
  font-family: var(--andorina-mono, 'Space Mono', monospace);
  font-size: 14px;
  font-weight: 700;
  color: var(--andorina-blue, #0069e5);
  text-decoration: none;
}
.andorina-channels-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.andorina-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: var(--andorina-ink, #0f172a);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.andorina-channel-item:hover {
  border-color: var(--andorina-blue, #0069e5);
  transform: translateY(-1px);
}
.andorina-channel-title {
  font-weight: 600;
  font-size: 14px;
  display: block;
}
.andorina-channel-desc {
  font-size: 12.5px;
  color: #64748b;
  display: block;
}
.andorina-channel-arrow {
  color: var(--andorina-blue, #0069e5);
  font-weight: 700;
}
.andorina-response-note {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}
.andorina-form-title {
  font-family: var(--andorina-display, 'Fraunces', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--andorina-ink, #0f172a);
  margin: 0 0 4px;
}
.andorina-form-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 18px;
}
.andorina-form-placeholder {
  padding: 20px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 105, 229, 0.35);
  background: #f8fafd;
  color: #334155;
  font-size: 13.5px;
  text-align: center;
}
.andorina-form-input,
.andorina-form-select,
.andorina-form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafd;
  color: #0f172a;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.andorina-form-input:focus,
.andorina-form-select:focus,
.andorina-form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #0069e5;
  box-shadow: 0 0 0 3px rgba(0, 105, 229, 0.14);
}
.andorina-contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background: #0069e5;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(0, 105, 229, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.andorina-contact-submit-btn:hover {
  background: #0055bd;
  transform: translateY(-1px);
}
@media (max-width: 860px) {
  .andorina-contact-header,
  .andorina-avail-box,
  .andorina-form-title,
  .andorina-form-subtitle,
  .andorina-response-note {
    text-align: center;
  }
  .andorina-contact-subtitle {
    margin-inline: auto;
  }
  .andorina-email-box {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .andorina-channel-item {
    flex-direction: column;
    text-align: center;
  }
  .andorina-form-input,
  .andorina-form-select,
  .andorina-form-textarea {
    text-align: center !important;
    text-align-last: center !important;
  }
  .andorina-form-input::placeholder,
  .andorina-form-textarea::placeholder {
    text-align: center !important;
  }
  .andorina-contact-submit-btn {
    width: 100%;
  }
}

/* =========================================================================
 * 13. Featured Main Stage + Thumbnail Strip Carousel
 *     ([data-stage-gallery] / .andorina-stage-gallery)
 * ========================================================================= */
.andorina-stage-gallery,
[data-stage-gallery] {
  position: relative;
  width: 100%;
  margin-bottom: 28px;
}

.andorina-stage-main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  box-shadow: 0 20px 45px -15px rgba(11, 37, 89, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.andorina-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.26s ease, transform 0.35s ease;
  display: block;
}

.andorina-stage-main .andorina-stage-arrow {
  display: none !important;
}

.andorina-stage-arrow {
  display: none !important;
}
.andorina-stage-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.andorina-stage-arrow.is-prev {
  left: 14px;
}
.andorina-stage-arrow.is-next {
  right: 14px;
}
.andorina-stage-arrow:hover {
  background: rgba(0, 105, 229, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.08);
}
.andorina-stage-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.andorina-stage-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.andorina-stage-zoom svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.andorina-stage-zoom:hover {
  background: rgba(0, 105, 229, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}
.andorina-stage-zoom:active {
  transform: scale(0.96);
}

.andorina-stage-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 18px 14px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.45) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  z-index: 4;
  pointer-events: none;
}
.andorina-stage-caption {
  font-family: var(--and-ui, inherit);
  font-size: 13.5px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}
.andorina-stage-counter {
  font-family: var(--and-mono, monospace);
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.95;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
}

.andorina-stage-thumbs-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 16px !important;
  width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.andorina-stage-thumbs-track {
  display: flex !important;
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: calc(100% - 96px) !important;
  justify-content: center !important;
  justify-content: safe center !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 4px !important;
  margin-inline: auto !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  margin-top: 0 !important;
}

.andorina-stage-thumbs-track::-webkit-scrollbar {
  display: none !important;
}

.andorina-stage-thumb-arrow {
  position: static !important;
  transform: none !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 105, 229, 0.2) !important;
  color: #0f172a !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  box-shadow: 0 6px 16px rgba(11, 37, 89, 0.08) !important;
  transition: all 0.22s ease !important;
  padding: 0 !important;
  line-height: 1 !important;
  outline: none !important;
  z-index: 2 !important;
}

.andorina-stage-thumb-arrow:hover {
  background: #0069e5 !important;
  color: #ffffff !important;
  border-color: #0069e5 !important;
  transform: translateY(-1px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(0, 105, 229, 0.25) !important;
}

.andorina-stage-thumb-arrow:active {
  transform: translateY(0) scale(0.96) !important;
}

.andorina-stage-thumb-arrow svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}

.andorina-stage-thumbs {
  display: flex !important;
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: calc(100% - 96px) !important;
  justify-content: center !important;
  justify-content: safe center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 12px !important;
  margin-inline: auto !important;
  overflow-x: auto !important;
  padding: 4px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
.andorina-stage-thumbs::-webkit-scrollbar {
  display: none !important;
}

.andorina-stage-thumb {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  width: 88px;
  min-width: 88px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 2px solid transparent;
  opacity: 0.62;
  cursor: pointer;
  background: #0f172a;
  transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  outline: none;
  box-sizing: border-box;
}
.andorina-stage-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
.andorina-stage-thumb:hover {
  opacity: 0.9;
}
.andorina-stage-thumb.is-active {
  border-color: #0069e5;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 105, 229, 0.35);
}

/* =========================================================================
 * 14. Single Post & Single Product & Mailto CTA Styling
 * ========================================================================= */

/* Single Post: 2-column sticky TOC + editorial prose */
.andorina-single-post,
.andorina-single-post-article {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  position: relative;
  width: 100%;
  margin-bottom: 56px;
}
.andorina-single-post-sidebar,
.andorina-single-post .andorina-toc-aside,
.andorina-single-post__toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.andorina-single-post-content,
.andorina-single-post .andorina-prose,
.andorina-single-post__content {
  min-width: 0;
  max-width: 780px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--and-ink-soft, #334155);
}
.andorina-single-post-content h2,
.andorina-single-post .andorina-prose h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--and-ink, #0f172a);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.andorina-single-post-content h3,
.andorina-single-post .andorina-prose h3 {
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  color: var(--and-ink, #0f172a);
  margin-top: 32px;
  margin-bottom: 12px;
}
.andorina-single-post-content p,
.andorina-single-post .andorina-prose p {
  margin-bottom: 22px;
}
.andorina-single-post-content img,
.andorina-single-post .andorina-prose img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.12);
}

/* Single Product: 2-column stage gallery + buy box */
.andorina-single-product,
.andorina-single-product-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  width: 100%;
  margin-bottom: 56px;
}
.andorina-single-product-gallery,
.andorina-single-product__gallery {
  position: sticky;
  top: 96px;
  min-width: 0;
}
.andorina-single-product-buybox,
.andorina-single-product__buybox {
  background: #ffffff;
  border: 1px solid var(--and-line, #e2e8f0);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 40px -12px rgba(11, 37, 89, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.andorina-single-product-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--and-ink, #0f172a);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}
.andorina-single-product-price {
  font-family: var(--and-mono, monospace);
  font-size: 26px;
  font-weight: 700;
  color: var(--and-blue, #0069e5);
  margin: 0;
}
.andorina-single-product-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--and-ink-soft, #475569);
  margin: 0;
}
.andorina-single-product-meta {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--and-line, #e2e8f0);
  font-size: 13.5px;
  color: var(--and-muted, #64748b);
}
.andorina-single-product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* Mailto CTA: Clean corporate blue pill link inside .andorina-email-box */
.andorina-mailto-cta,
.andorina-email-box .andorina-mailto-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--and-blue, #0069e5), var(--and-blue-dark, #0055bd));
  color: #ffffff !important;
  font-family: var(--and-ui, inherit);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 105, 229, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.andorina-mailto-cta:hover,
.andorina-email-box .andorina-mailto-cta:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(0, 105, 229, 0.38);
  background: linear-gradient(135deg, #0073fa, #005ecf);
  color: #ffffff !important;
}
.andorina-mailto-cta:active,
.andorina-email-box .andorina-mailto-cta:active {
  transform: translateY(0);
}
.andorina-mailto-cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
}

/* =========================================================================
 * 15. Tablet Portrait & Landscape (861px - 1080px)
 * ========================================================================= */
@media (min-width: 861px) and (max-width: 1080px) {
  .andorina-cv-layout, .cv-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .andorina-hero-grid, .hero-grid {
    gap: 28px;
  }
  .andorina-hero-title, .hero-title {
    font-size: clamp(34px, 4.4vw, 46px);
  }
  .andorina-single-post,
  .andorina-single-post-article {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
  }
  .andorina-single-product,
  .andorina-single-product-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .andorina-single-product-buybox {
    padding: 24px 20px;
  }
  .andorina-bento-grid, .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .andorina-grid-3, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .andorina-toolbar, .toolbar {
    padding: 8px 12px;
    gap: 12px;
    overflow: visible;
  }
  .andorina-filter-pills, .filter-pills {
    justify-content: center;
    overflow: visible;
  }
  .andorina-tech-filters, .tech-filters {
    justify-content: center;
    overflow: visible;
  }
}

/* =========================================================================
 * 16. Phone Landscape (max-height: 540px and orientation: landscape)
 *     Well-proportioned Hero, Header, Bento Cards, and Sections without overflow
 * ========================================================================= */
@media (max-height: 540px) {
  .andorina-hero-stage,
  .hero-stage {
    height: 205vh !important;
    height: 205svh !important;
  }
  .andorina-page-content,
  .page-content,
  .andorina-page-sheet {
    margin-top: -105vh !important;
    margin-top: -105svh !important;
    border-radius: 28px 28px 0 0 !important;
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .andorina-nav-header, .site-header, header.site-header {
    padding-block: 6px;
  }
  .andorina-nav-logo img, .andorina-nav-logo svg {
    height: 26px;
  }

  .andorina-hero-stage, .hero-stage {
    height: 140svh;
  }
  .andorina-hero-stage.andorina-hero--subpage,
  .andorina-hero-stage.andorina-hero--project {
    height: 135svh;
  }
  .andorina-page-sheet, .page-content {
    margin-top: -40svh;
    border-radius: 22px 22px 0 0;
  }
  .andorina-hero-stage.andorina-hero--subpage ~ .andorina-page-sheet,
  .andorina-hero-stage.andorina-hero--project ~ .andorina-page-sheet,
  .andorina-hero-stage.andorina-hero--subpage + .andorina-page-sheet,
  .andorina-hero-stage.andorina-hero--project + .andorina-page-sheet,
  .andorina-hero--subpage ~ .andorina-page-sheet,
  .andorina-hero--project ~ .andorina-page-sheet,
  .andorina-hero--subpage + .andorina-page-sheet,
  .andorina-hero--project + .andorina-page-sheet {
    margin-top: -35svh;
  }

  .andorina-hero.andorina-hero-spatial,
  .hero.andorina-hero-spatial {
    height: auto;
    min-height: 100svh;
    padding-top: 50px;
    padding-bottom: 20px;
  }
  .andorina-hero-grid, .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: center;
  }
  .andorina-hero-copy, .hero-copy {
    text-align: left;
  }
  .andorina-hero-title, .hero-title {
    font-size: clamp(22px, 3.8vw, 30px);
    line-height: 1.15;
    margin-bottom: 6px;
  }
  .andorina-hero-subtitle, .hero-subtitle {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .andorina-hero-lead, .hero-lead {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 10px;
    max-width: 100%;
  }
  .andorina-hero-actions, .hero-actions {
    margin-bottom: 8px;
    gap: 8px;
  }
  .andorina-hero-tags, .hero-tags {
    gap: 4px;
  }
  .andorina-hero-tags span, .hero-tags span {
    font-size: 10.5px;
    padding: 2px 7px;
  }
  .andorina-hv-card, .hv-card {
    padding: 12px;
  }

  .andorina-content-sec, section.content-sec {
    padding-block: clamp(28px, 5vh, 44px);
  }
  .andorina-sec-header, .sec-header {
    margin-bottom: 16px;
    text-align: center;
  }
  .andorina-sec-title, .sec-title {
    font-size: clamp(20px, 3.2vw, 26px);
  }
  .andorina-bento-grid, .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .andorina-bento-card, .bento-card {
    padding: 14px;
    min-height: 0;
  }
  .andorina-toolbar, .toolbar {
    margin-bottom: 16px;
    padding: 6px 10px;
    overflow: visible !important;
  }
  .andorina-filter-pills, .filter-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    overflow: visible !important;
  }
  .andorina-tech-filters, .tech-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    overflow: visible !important;
  }
  .andorina-stage-main {
    aspect-ratio: 16 / 9;
    max-height: 60svh;
  }
  .andorina-single-product,
  .andorina-single-product-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .andorina-single-product-buybox {
    padding: 16px;
  }
  .andorina-single-post,
  .andorina-single-post-article {
    grid-template-columns: 200px 1fr;
    gap: 20px;
  }
  .andorina-contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .andorina-contact-info-card, .andorina-contact-form-card {
    padding: 18px;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
 * UNIFIED MULTI-DEVICE ALIGNMENT CONTRACT (WIDGETS)
 * Enforced by Auditor de Alineación Multi-Dispositivo
 * ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .andorina-header-inner,
  .site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .andorina-nav-actions .andorina-icon-btn,
  .nav-actions .icon-btn,
  .andorina-icon-btn,
  .icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
    display: inline-flex !important;
  }
  .andorina-cart-count,
  .cart-count,
  .nav-cart-btn .cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
  }
  #mobileDrawer,
  .mobile-drawer,
  .andorina-mobile-drawer {
    display: block;
    position: fixed !important;
    top: calc(var(--nav-h, 60px) + 8px) !important;
    left: 16px !important;
    right: 16px !important;
    border-radius: 20px !important;
  }
  .mobile-drawer-nav,
  .andorina-mobile-drawer-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .mobile-drawer-cta,
  .andorina-mobile-drawer-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
}

@media (max-width: 860px) {
  /* Late vertical Hero disappearance without empty space */
  .andorina-hero-stage,
  .hero-stage {
    height: 205vh !important;
    height: 205svh !important;
  }
  .andorina-page-content,
  .page-content,
  .andorina-page-sheet {
    margin-top: -105vh !important;
    margin-top: -105svh !important;
    border-radius: 28px 28px 0 0 !important;
  }

  .andorina-hero-copy,
  .hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .andorina-hero-actions,
  .hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .andorina-hero-stats,
  .hero-stats,
  .andorina-hero-meta,
  .hero-meta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
  }
  .andorina-hero-visual,
  .hero-visual {
    margin-inline: auto !important;
  }
  .andorina-sec-header,
  .sec-head,
  .sec-header,
  .andorina-sec-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .andorina-sec-header > div,
  .sec-head > div,
  .sec-header > div,
  .andorina-sec-head > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .andorina-eyebrow,
  .eyebrow {
    align-self: flex-start !important;
  }
  .andorina-sec-desc,
  .sec-desc {
    text-align: left !important;
  }
  .andorina-sec-watermark,
  .sec-watermark {
    right: 16px !important;
    left: auto !important;
    text-align: right !important;
  }
  .andorina-toolbar,
  .toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .andorina-filter-pills,
  .filter-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  .andorina-toolbar input,
  .toolbar input,
  .andorina-toolbar select,
  .toolbar select,
  .andorina-search-input,
  .search-wrap input,
  .andorina-contact-form input,
  .andorina-contact-form select,
  .andorina-contact-form textarea,
  #contactForm input,
  #contactForm select,
  #contactForm textarea {
    text-align: center !important;
    padding-inline: 38px !important;
  }
  .andorina-toolbar input::placeholder,
  .toolbar input::placeholder,
  .andorina-search-input::placeholder,
  .search-wrap input::placeholder,
  .andorina-contact-form input::placeholder,
  .andorina-contact-form textarea::placeholder,
  #contactForm input::placeholder,
  #contactForm textarea::placeholder {
    text-align: center !important;
  }
  /* Horizontal rails with side gradient mask & coverflow scaling */
  .andorina-grid-3:not(.is-grid-mode),
  .grid-3:not(.is-grid-mode),
  .andorina-woo-grid:not(.is-grid-mode),
  .andorina-blog-grid:not(.is-grid-mode),
  .andorina-stack-grid:not(.is-grid-mode),
  .andorina-editorial-grid:not(.is-grid-mode) {
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
    padding-inline: max(10vw, calc(50% - 155px)) !important;
    margin-inline: calc(-1 * clamp(18px, 4vw, 36px)) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .andorina-grid-3:not(.is-grid-mode) > *,
  .grid-3:not(.is-grid-mode) > *,
  .andorina-woo-grid:not(.is-grid-mode) > *,
  .andorina-blog-grid:not(.is-grid-mode) > *,
  .andorina-stack-grid:not(.is-grid-mode) > *,
  .andorina-editorial-grid:not(.is-grid-mode) > * {
    scroll-snap-align: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease !important;
  }
  .andorina-editorial-card.is-slide-active,
  .andorina-card.is-slide-active,
  .card.is-slide-active,
  .is-slide-active,
  .is-rail-active {
    transform: scale(1) !important;
    opacity: 1 !important;
  }
  .andorina-editorial-card.is-slide-side,
  .andorina-card.is-slide-side,
  .card.is-slide-side,
  .is-slide-side,
  .is-rail-side {
    transform: scale(0.91) !important;
    opacity: 0.52 !important;
  }
  .andorina-mobile-rail-nav,
  .mobile-rail-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 18px !important;
  }
  .andorina-fgrid,
  .fgrid {
    grid-template-columns: 1fr 1fr !important;
  }
  .andorina-fcol:first-child,
  .fgrid .fcol:first-child {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .andorina-fcol:nth-child(4),
  .fgrid .fcol:nth-child(4) {
    grid-column: 1 / -1 !important;
    text-align: center !important;
  }
  .andorina-fbar,
  .fbar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  #cookieBanner,
  .cookie-banner,
  .andorina-cookie-banner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
}

@media (max-height: 540px) {
  .andorina-hero-stage,
  .hero-stage {
    height: 205vh !important;
    height: 205svh !important;
  }
  .andorina-page-content,
  .page-content,
  .andorina-page-sheet {
    margin-top: -105vh !important;
    margin-top: -105svh !important;
    border-radius: 28px 28px 0 0 !important;
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .andorina-hero-grid,
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr !important;
    align-items: center !important;
  }
  #cookieBanner,
  .cookie-banner,
  .andorina-cookie-banner {
    flex-direction: row !important;
    align-items: center !important;
  }
}


/* ═══════ BREADCRUMBS UNIFICADOS & HAMBURGER FIX ═══════ */
.site-header .hamburger-box, .andorina-header .hamburger-box {
  width: 18px !important; height: 14px !important; position: relative !important;
  display: flex !important; flex-direction: column !important; justify-content: space-between !important; align-items: center !important;
}
.site-header .hamburger-line, .andorina-header .hamburger-line {
  display: block !important; width: 18px !important; height: 2px !important;
  background-color: var(--ink, #0f172a) !important; border-radius: 2px !important;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, background-color 0.2s ease !important;
}
.hero-breadcrumb, .cs-breadcrumbs, .pdp-breadcrumb, .entry-breadcrumb, .breadcrumbs, .andorina-breadcrumbs {
  display: inline-flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 8px !important;
  font-family: var(--mono) !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.03em !important;
  text-transform: none !important; color: var(--muted) !important; background: transparent !important;
  border: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; margin-bottom: 12px !important;
}

/* ═══════ CANONICAL HERO FLEX COLUMN & LOGO BLOCK ═══════ */
.hero, .hero-stage-inner, .andorina-hero {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
}
.hero-main, .hero > .wrap, .andorina-hero-main {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
}
.hero-copy, .andorina-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}
.hero-logo-top, .andorina-hero-logo-top {
  display: block !important;
  width: fit-content !important;
  margin: 0 0 14px 0 !important;
}
.scroll-down-wrap, .andorina-scroll-down-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}

/* ═══════ PARCHE FINAL CANÓNICO v1.4.3: MENÚ ESCRITORIO, ICONOS TARJETAS, CANTIDAD Y GALERÍA ═══════ */
@media (min-width: 901px) {
  .site-header .nav-actions .icon-btn.mobile-menu-toggle,
  .site-header .nav-actions .icon-btn.mobile-menu-btn,
  .site-header .mobile-menu-toggle,
  .site-header .mobile-menu-btn,
  .site-header #mobileMenuBtn,
  #mobileMenuBtn {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .site-header .nav-actions .icon-btn.mobile-menu-toggle,
  .site-header .nav-actions .icon-btn.mobile-menu-btn,
  .site-header .mobile-menu-toggle,
  .site-header .mobile-menu-btn,
  .site-header #mobileMenuBtn,
  #mobileMenuBtn {
    display: inline-flex !important;
  }
}
.card .thumb-corner {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--ink, #0f172a) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}
.card:hover .thumb-corner {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
}
.card:hover .thumb-corner svg,
.card:hover .thumb-corner svg path {
  stroke: #ffffff !important;
  color: #ffffff !important;
  fill: none !important;
}
.featured-card-badge-rt {
  left: auto !important;
  right: 14px !important;
  bottom: 14px !important;
  width: fit-content !important;
  max-width: max-content !important;
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
}
.pdp-qty-input,
input#pdpQtyInput {
  width: 46px !important;
  min-width: 46px !important;
  padding-inline: 2px !important;
  text-align: center !important;
}


/* ══════════════════════════════════════════════════════════════════════════
 * PARCHE MAESTRO v1.4.4: CONTRASTE EN BLOQUES DE CÓDIGO, GALERÍAS CENTRADAS,
 * ALINEACIÓN VERTICAL Y CENTRADO INTEGRAL EN TELÉFONO / RESPONSIVE
 * ══════════════════════════════════════════════════════════════════════════ */

/* 1. Bloques de código oscuros: texto claro de alto contraste (nunca azul oscuro sobre fondo marino) */
pre code,
.andorina-code-block pre,
.andorina-code-block code,
.andorina-code-pre,
.andorina-code-pre code,
.cs-code-wrap pre,
.cs-code-wrap code,
.andorina-cs-code-card pre,
.andorina-cs-code-card code,
.code-block pre,
.code-block code,
#blockCode pre,
#blockCode code,
#codeContent {
  color: #f1f5f9 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  font-family: var(--mono, monospace) !important;
  font-size: 13px !important;
  line-height: 1.68 !important;
}
.hl-cmt { color: #94a3b8 !important; font-style: italic !important; }
.hl-kw  { color: #7dd3fc !important; font-weight: 600 !important; }
.hl-fn  { color: #fde047 !important; }
.hl-str { color: #86efac !important; }
.hl-num { color: #f9a8d4 !important; }

/* 2. Galerías y tiras de miniaturas centradas en todos los modos (Proyectos, Artículos y Productos) */
.stage-thumbs-bar,
.gallery-thumbs-bar,
.pdp-thumbs-wrap,
.pdp-thumbs-bar,
.andorina-stage-thumbs-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

#stageThumbs,
.stage-thumbs,
.stage-thumbs-strip,
.gallery-thumbs-strip,
.gallery-thumb-strip,
#galleryThumbStrip,
#pdpThumbStrip,
.pdp-thumb-strip,
.pdp-thumbs-strip,
.andorina-stage-thumbs-track,
.andorina-stage-thumbs {
  display: flex !important;
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: calc(100% - 96px) !important;
  justify-content: center !important;
  justify-content: safe center !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 4px !important;
  margin-inline: auto !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

#stageThumbs::-webkit-scrollbar,
.stage-thumbs::-webkit-scrollbar,
.andorina-stage-thumbs-track::-webkit-scrollbar,
.andorina-stage-thumbs::-webkit-scrollbar,
#galleryThumbStrip::-webkit-scrollbar,
.gallery-thumb-strip::-webkit-scrollbar,
.gallery-thumbs-strip::-webkit-scrollbar,
#pdpThumbStrip::-webkit-scrollbar,
.pdp-thumb-strip::-webkit-scrollbar,
.pdp-thumbs-strip::-webkit-scrollbar {
  display: none !important;
}

/* Standalone strips without prev/next sibling buttons (like pdpThumbStrip or Project_Case_Study) */
#pdpThumbStrip,
.pdp-thumb-strip,
.pdp-thumbs-wrap #pdpThumbStrip,
.pdp-thumbs-wrap .pdp-thumb-strip,
.pdp-thumbs-bar #pdpThumbStrip,
.pdp-thumbs-bar .pdp-thumb-strip,
.stage-thumbs-bar:not(:has(.stage-thumb-arrow)):not(:has(.andorina-stage-thumb-arrow)) .stage-thumbs,
.gallery-thumbs-bar:not(:has(.stage-thumb-arrow)):not(:has(.andorina-stage-thumb-arrow)) .gallery-thumb-strip,
.gallery-thumbs-bar:not(:has(.stage-thumb-arrow)):not(:has(.andorina-stage-thumb-arrow)) .gallery-thumbs-strip {
  display: flex !important;
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: 100% !important;
  justify-content: center !important;
  justify-content: safe center !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 4px !important;
  margin-inline: auto !important;
  overflow-x: auto !important;
}

.stage-thumb-btn,
.stage-thumb,
.gallery-thumb,
.pdp-thumb,
.pdp-thumb-btn,
.pdp-thumb-item,
.andorina-stage-thumb {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

.stage-thumb img,
.stage-thumb-btn img,
.gallery-thumb img,
.pdp-thumb img,
.pdp-thumb-btn img,
.pdp-thumb-item img,
.andorina-stage-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* 3. Centrado vertical estricto de insignias, pills, fechas, botones y metadatos */
.editorial-hero-top,
.andorina-legal-top-row,
.entry-hero-top,
.andorina-post-top-row,
.pdp-breadcrumb-row,
.andorina-pdp-top-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

@media (max-width: 860px) {
  .editorial-hero-top,
  .andorina-legal-top-row,
  .entry-hero-top,
  .andorina-post-top-row,
  .pdp-breadcrumb-row,
  .andorina-pdp-top-row {
    justify-content: center !important;
  }
}

.editorial-hero .hero-breadcrumb,
.editorial-hero .breadcrumb,
.editorial-hero .breadcrumbs,
.editorial-hero .legal-breadcrumb,
.editorial-hero-top .hero-breadcrumb,
.editorial-hero-top .breadcrumb,
.editorial-hero-top .breadcrumbs,
.editorial-hero-top .legal-breadcrumb,
.andorina-legal-top-row .hero-breadcrumb,
.andorina-legal-top-row .breadcrumb,
.andorina-legal-top-row .breadcrumbs,
.andorina-legal-top-row .legal-breadcrumb,
.entry-hero-top .hero-breadcrumb,
.entry-hero-top .entry-breadcrumb,
.andorina-post-top-row .hero-breadcrumb,
.andorina-post-top-row .entry-breadcrumb,
.pdp-breadcrumb-row .pdp-breadcrumb,
.pdp-breadcrumb-row .hero-breadcrumb,
.andorina-pdp-top-row .pdp-breadcrumb,
.andorina-pdp-top-row .hero-breadcrumb,
.editorial-hero .page-badge,
.editorial-hero .legal-badge,
.editorial-hero .editorial-badge,
.editorial-hero .badge-float,
.editorial-hero .status-pill,
.editorial-hero-top .page-badge,
.editorial-hero-top .legal-badge,
.editorial-hero-top .editorial-badge,
.editorial-hero-top .badge-float,
.editorial-hero-top .status-pill,
.andorina-legal-top-row .page-badge,
.andorina-legal-top-row .legal-badge,
.andorina-legal-top-row .editorial-badge,
.andorina-legal-top-row .badge-float,
.andorina-legal-top-row .status-pill,
.entry-hero-top .badge-float,
.andorina-post-top-row .badge-float,
.pdp-breadcrumb-row #pdpStockBadge,
.pdp-breadcrumb-row .badge-float,
.pdp-breadcrumb-row .status-pill,
.andorina-pdp-top-row #pdpStockBadge,
.andorina-pdp-top-row .badge-float,
.andorina-pdp-top-row .status-pill {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.badge-float,
.avail-badge,
.page-badge,
.entry-read-pill,
.eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
}
.badge-float::before,
.avail-dot,
.eyebrow i,
.entry-read-pill svg,
.specs-box-header svg {
  flex-shrink: 0 !important;
  display: inline-block !important;
}
.entry-meta-top {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.entry-meta-top .entry-date {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
}
.specs-box-header,
.toc-header,
.card-foot,
.featured-foot,
.pdp-add-row,
.pdp-price-row {
  display: flex !important;
  align-items: center !important;
}

/* 4. Escritorio (> 860px): Cabecera de Contacto a la izquierda para no chocar con marca de agua */
@media (min-width: 861px) {
  #contacto .sec-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
  }
  #contacto .sec-head .sec-desc {
    max-width: 60ch !important;
    margin-top: 4px !important;
    text-align: left !important;
  }
}

/* 5. Teléfono / Móvil (<= 860px): Centrado y alineación simétrica integral en todas las páginas */
@media (max-width: 860px) {
  /* Cabeceras de sección centradas con el resto del layout móvil */
  .sec-head,
  .sec-header,
  #contacto .sec-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 22px !important;
    gap: 10px !important;
  }
  .sec-head > div,
  .sec-header > div,
  #contacto .sec-head > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .sec-head .eyebrow,
  .sec-header .eyebrow,
  #contacto .sec-head .eyebrow {
    align-self: center !important;
    margin-inline: auto !important;
  }
  .sec-title,
  #contacto .sec-title {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .sec-desc,
  #contacto .sec-head .sec-desc {
    text-align: center !important;
    margin-inline: auto !important;
  }

  /* Tarjetas de contacto centradas en todas las páginas */
  .contact-card,
  .contact-info-card,
  .contact-info-col,
  .contact-card-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .contact-card .avail-badge,
  .contact-badge-wrap {
    margin-inline: auto !important;
    align-self: center !important;
  }
  .contact-info-list,
  .contact-channels {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .contact-info-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .contact-link-row {
    justify-content: center !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }

  /* Entrada de Blog (andorina-entrada-concept.html) centrada en móvil */
  .entry-header-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .entry-breadcrumb,
  .entry-meta-top {
    justify-content: center !important;
    margin-inline: auto !important;
  }
  .entry-title,
  .entry-lead {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .entry-author-strip {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .entry-author-left,
  .entry-quick-actions {
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
  .entry-author-card,
  .author-bio-card,
  .related-callout-card,
  #blockRelatedItem {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .author-card-info {
    min-width: 0 !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .author-card-links {
    justify-content: center !important;
  }
  .entry-pagination-nav .post-nav-card,
  .entry-pagination-nav .post-nav-card.next {
    align-items: center !important;
    text-align: center !important;
  }

  /* Proyecto Individual (andorina-proyecto-concept.html) centrado en móvil */
  .cs-nav-bar {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .cs-nav-btn,
  .cs-nav-btn.prev,
  .cs-nav-btn.next {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .cs-specs-bar .cs-spec-card,
  .cs-metric-card {
    align-items: center !important;
    text-align: center !important;
  }

  /* Producto Individual (andorina-producto-concept.html) centrado y sin desborde en móvil */
  .pdp-breadcrumb-row,
  .pdp-breadcrumb {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  .pdp-buy-box {
    align-items: center !important;
    text-align: center !important;
  }
  .pdp-price-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .pdp-variants-wrap {
    width: 100% !important;
    text-align: left !important;
  }
  .pdp-option-title {
    text-align: center !important;
    display: block !important;
  }
  .pdp-add-row {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .pdp-add-btn {
    min-width: 200px !important;
    justify-content: center !important;
  }
  .pdp-guarantee-list {
    width: 100% !important;
    align-items: center !important;
  }
  .pdp-guarantee-item {
    justify-content: center !important;
    text-align: center !important;
  }
  .pdp-prev-next-bar {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .pdp-pn-link,
  .pdp-pn-link.next {
    align-items: center !important;
    text-align: center !important;
  }
  .info-strip-grid .info-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Sobre Mí (andorina-sobre-mi-concept.html) centrado y sin colisión en pantallas estrechas */
  .bio-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .bio-meta-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .cv-download-card,
  .cv-credentials-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Páginas Legales y Cookies centradas en cabecera y acciones móviles */
  .editorial-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .editorial-hero-inner .breadcrumbs {
    justify-content: center !important;
  }
  .editorial-hero-inner .page-badge {
    margin-inline: auto !important;
  }
  .editorial-title,
  .editorial-lead {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .cookie-panel-head,
  .cookie-panel-actions {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 540px) {
  .bio-meta-list {
    grid-template-columns: 1fr !important;
  }
  .cs-metrics-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   TRACK 3 CANONICAL INTEGRATION RULES (Editorial, Detail, About/CV & Motion)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Inertial Scroll & Viewport Stability */
html {
  scroll-behavior: auto !important;
}
body {
  overflow-x: clip !important;
}

/* Single Post: Eliminate Giant Top Cover Image */
.entry-cover-wrap {
  display: none !important;
}

/* Compact Editorial Gallery Stage */
#blockGallery,
.entry-block-gallery {
  max-height: 360px !important;
}
#blockGallery .gallery-stage-wrap,
.entry-block-gallery .gallery-stage-wrap {
  aspect-ratio: 16/9 !important;
  max-height: 360px !important;
}

/* Centered Gallery Thumbnails */
#stageThumbs,
#galleryThumbStrip,
#pdpThumbStrip {
  justify-content: center !important;
  margin-inline: auto !important;
  flex: 0 1 auto !important;
}

/* Sticky Aligned Sidebars (TOC & Legal) */
.entry-sidebar,
#entrySidebar,
.sticky-sidebar {
  position: sticky !important;
  top: calc(var(--nav-h, 72px) + 24px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: start !important;
}

/* Project View: Parallax Watermark Positioned Below Navigation Bar */
#relacionados .sec-watermark {
  top: clamp(148px, 16vw, 178px) !important;
}

/* High-Contrast Code Blocks (#f1f5f9 light text, never dark blue) */
pre code,
.andorina-code-block code,
#codeContent,
.code-block code {
  color: #f1f5f9 !important;
}
.andorina-code-block,
.code-window {
  background: #0b1220 !important;
}

/* Working Editable Quantity Stepper */
#pdpQtyInput {
  width: 46px !important;
  padding-inline: 2px !important;
  text-align: center !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}
#pdpQtyInput::-webkit-outer-spin-button,
#pdpQtyInput::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Mobile Menu Button Display Rules */
@media (min-width: 901px) {
  #mobileMenuBtn,
  .mobile-menu-btn {
    display: none !important;
  }
}
@media (max-width: 900px) {
  #mobileMenuBtn,
  .mobile-menu-btn {
    display: inline-flex !important;
  }
}

/* Contact Section Header Alignment Desktop vs Mobile */
@media (min-width: 861px) {
  #contacto .sec-head {
    text-align: left !important;
    justify-content: flex-start !important;
  }
  #contacto .sec-head > div {
    text-align: left !important;
    margin-inline: 0 !important;
  }
}
@media (max-width: 860px) {
  #contacto .sec-head {
    text-align: center !important;
    justify-content: center !important;
  }
  #contacto .sec-head > div {
    text-align: center !important;
    margin-inline: auto !important;
  }
}

/* Language Switcher Sleek Pill & Dropdown */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--surface-2, rgba(255, 255, 255, 0.8));
  border: 1px solid var(--line, #e2e8f0);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink, #0f172a);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-switcher-btn:hover {
  background: var(--surface, #ffffff);
  border-color: var(--blue, #0069e5);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 6px;
  display: none;
  flex-direction: column;
  min-width: 140px;
  z-index: 1000;
}
.lang-dropdown.is-open {
  display: flex !important;
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink, #0f172a);
  text-decoration: none;
  transition: background 0.15s ease;
}
.lang-item:hover,
.lang-item.is-active {
  background: var(--blue-tint, #eef5ff);
  color: var(--blue, #0069e5);
}

/* Featured Badge & Card Arrow Hover */
.featured-card-badge-rt {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  width: fit-content !important;
}
.card:hover .thumb-corner svg {
  stroke: #ffffff !important;
}

/* Timeline Padding & Non-Clipping Dot */
.tl-item {
  padding-left: 34px !important;
  margin-left: 6px !important;
}
.tl-dot {
  left: 0 !important;
}

/* Gallery Stage Main + Thumbnail Strip Exact 0px Centering */
.cs-gallery-stage .stage-main,
.andorina-gallery-stage .stage-main,
.stage-main,
.andorina-stage-main {
  margin-inline: auto !important;
}
#stagePrevBtn,
#stageNextBtn,
#galleryPrevBtn,
#galleryNextBtn,
.stage-thumbs-bar .stage-nav-btn,
.gallery-thumbs-bar .gallery-nav-btn {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Legal Hero Breadcrumb + Badge Exact 30px Midline Alignment */
.editorial-hero-top,
.andorina-legal-top-row,
.hero-top-row,
.legal-hero-top {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  width: 100% !important;
  padding: 0 !important;
}
.editorial-hero-top .breadcrumbs,
.editorial-hero-top .hero-breadcrumb,
.andorina-legal-top-row .breadcrumbs,
.andorina-legal-top-row .hero-breadcrumb,
.editorial-hero .breadcrumbs,
.editorial-hero .hero-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}
.editorial-hero-top .page-badge,
.editorial-hero-top .legal-badge,
.andorina-legal-top-row .page-badge,
.andorina-legal-top-row .legal-badge,
.editorial-hero .page-badge,
.editorial-hero .legal-badge {
  margin: 0 !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}




/* ═══════ EXTRACTED CONTEXTUAL STYLES FROM CANONICAL CONCEPTS ═══════ */
/* ═══════ FICHA DETALLADA DE PRODUCTO ═══════ */
  .pdp-top-nav {
    padding-top: calc(var(--nav-h) + 16px);
    margin-bottom: 24px;
  }
  .pdp-breadcrumb-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-family: var(--mono); font-size: 12px; color: var(--muted);
  }
  .pdp-breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .pdp-breadcrumb a { color: var(--blue); }
  .pdp-breadcrumb a:hover { text-decoration: underline; }

  /* Quick switcher pills & mobile select */
  .pdp-quick-switch {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px;
    padding: 10px 16px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line);
    border-radius: 16px; font-family: var(--mono); font-size: 11.5px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  }
  .pdp-switch-pills-desktop {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap; width: 100%;
  }
  .pdp-quick-switch-label { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; flex-shrink: 0; }
  .pdp-switch-pill {
    padding: 4px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
    color: var(--ink-soft); cursor: pointer; transition: all 0.2s ease;
  }
  .pdp-switch-pill:hover, .pdp-switch-pill.active {
    background: var(--blue-soft); border-color: var(--blue); color: var(--blue-dark); font-weight: 700;
  }
  .pdp-switch-mobile-wrap {
    display: none;
    width: 100%;
    align-items: center;
    gap: 10px;
  }
  .pdp-quick-select {
    flex: 1; height: 36px; padding: 0 10px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; font-family: var(--ui);
    font-size: 13px; font-weight: 500; color: var(--ink); outline: none; cursor: pointer;
  }
  .pdp-quick-select:focus {
    border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 105, 229, 0.15);
  }

  .product-sheet {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 54px);
    align-items: start; margin-bottom: 48px;
  }

  /* Left Column: Image Stage + Thumbnail Carousel Strip */
  .pdp-gallery-wrap { display: flex; flex-direction: column; gap: 14px; }
  .pdp-main-stage {
    position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 24px;
    overflow: hidden; background: var(--blue-deep);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px -12px rgba(11, 37, 89, 0.16);
  }
  .pdp-main-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s var(--ease-fluid), opacity 0.3s ease;
  }
  .pdp-main-stage:hover .pdp-main-img { transform: scale(1.03); }
  .pdp-main-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
  }
  .pdp-zoom-btn {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8); color: var(--ink);
    display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 6px 18px rgba(11, 37, 89, 0.14);
    transition: all 0.25s ease;
  }
  .pdp-zoom-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; }
  .pdp-zoom-btn:hover { background: var(--blue); color: #fff; transform: scale(1.08); }

  .pdp-nav-arr {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8); color: var(--ink);
    display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 6px 18px rgba(11, 37, 89, 0.14);
    transition: all 0.25s ease;
  }
  .pdp-nav-arr.prev { left: 14px; }
  .pdp-nav-arr.next { right: 14px; }
  .pdp-nav-arr svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; fill: none; }
  .pdp-nav-arr:hover { background: var(--blue); color: #fff; transform: translateY(-50%) scale(1.08); }

  .pdp-stage-caption-bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 12px 18px;
    background: linear-gradient(to top, rgba(8, 26, 68, 0.88) 0%, rgba(8, 26, 68, 0.2) 75%, transparent 100%);
    color: #fff; display: flex; align-items: center; justify-content: space-between;
    font-size: 12.5px;
  }
  .pdp-stage-caption { color: #f1f5f9; font-weight: 500; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
  .pdp-stage-counter { font-family: var(--mono); font-size: 11px; color: #7dd3fc; }

  /* Thumbnails strip */
  .pdp-thumb-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  }
  .pdp-thumb-item {
    aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; position: relative;
    border: 2px solid transparent; cursor: pointer; background: var(--blue-deep);
    transition: all 0.25s ease; opacity: 0.72;
  }
  .pdp-thumb-item:hover { opacity: 1; border-color: var(--blue-border); }
  .pdp-thumb-item.active { opacity: 1; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0, 105, 229, 0.2); }
  .pdp-thumb-item img { width: 100%; height: 100%; object-fit: cover; }

  /* Right Column: Buy Box */
  .pdp-buy-box {
    background: #ffffff; border: 1px solid var(--line); border-radius: 24px;
    padding: clamp(24px, 3.5vw, 36px);
    box-shadow: 0 16px 40px -12px rgba(11, 37, 89, 0.08);
    display: flex; flex-direction: column; gap: 16px;
  }
  .pdp-kicker {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
    color: var(--blue); font-weight: 700;
  }
  .pdp-title {
    font-family: var(--display); font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 600; line-height: 1.12; color: var(--ink);
  }
  .pdp-price-wrap {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    padding-bottom: 14px; border-bottom: 1px solid var(--line);
  }
  .pdp-price { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--ink); }
  .pdp-tax-note { font-family: var(--mono); font-size: 12px; color: var(--muted); }

  .pdp-desc { font-size: 14.8px; color: var(--ink-soft); line-height: 1.68; }

  /* Variants */
  .pdp-option-group {
    display: flex; flex-direction: column; gap: 8px; margin-top: 4px;
  }
  .pdp-option-title { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; }
  .pdp-variants-list { display: flex; flex-direction: column; gap: 7px; }
  .pdp-variant-label {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px;
    background: #f8fafc; cursor: pointer; transition: all 0.2s ease;
    font-size: 13.5px; font-weight: 500;
  }
  .pdp-variant-label:hover { border-color: var(--blue-border); background: var(--blue-soft); }
  .pdp-variant-label.is-selected {
    border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark);
    box-shadow: 0 0 0 2px rgba(0, 105, 229, 0.16); font-weight: 600;
  }
  .pdp-variant-radio { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; }
  .pdp-variant-price { font-family: var(--mono); font-size: 12.5px; font-weight: 700; }

  /* Add to Cart Actions */
  .pdp-add-row {
    display: flex; align-items: center; gap: 12px; margin-top: 8px;
  }
  .pdp-qty-stepper {
    display: inline-flex; align-items: center; border: 1px solid var(--line);
    border-radius: 999px; background: #f8fafc; padding: 4px; gap: 4px;
  }
  .pdp-qty-btn {
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: #ffffff; color: var(--ink); font-size: 16px; cursor: pointer;
    display: grid; place-items: center; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
  }
  .pdp-qty-btn:hover { background: var(--blue); color: #fff; }
  .pdp-qty-input {
    width: 36px; border: none; background: transparent; text-align: center;
    font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--ink);
  }
  .pdp-add-btn { flex: 1; padding: 14px 24px; font-size: 15px; }

  /* Trust checklist */
  .pdp-guarantee-list {
    display: flex; flex-direction: column; gap: 8px; padding-top: 14px;
    border-top: 1px solid var(--line); font-size: 12.8px; color: var(--ink-soft);
  }
  .pdp-guarantee-item { display: flex; align-items: center; gap: 8px; }
  .pdp-guarantee-item svg { width: 15px; height: 15px; color: #059669; stroke: currentColor; stroke-width: 2.2; fill: none; flex-shrink: 0; }

  /* CONDITIONAL SECTIONS */
  .pdp-specs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px;
  }
  .pdp-spec-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 18px; display: flex; flex-direction: column; gap: 6px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  }
  .pdp-spec-label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
  .pdp-spec-val { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }

  .pdp-included-list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px;
  }
  .pdp-included-item {
    display: flex; align-items: center; gap: 10px; padding: 14px 18px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    font-size: 14px; color: var(--ink-soft); font-weight: 500;
  }
  .pdp-included-item svg { width: 17px; height: 17px; color: var(--blue); stroke: currentColor; stroke-width: 2.3; fill: none; flex-shrink: 0; }

  /* Accordion FAQ */
  .pdp-faq-accordion { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
  .pdp-faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    transition: border-color 0.25s ease;
  }
  .pdp-faq-item.is-open { border-color: var(--blue-border); }
  .pdp-faq-header {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; background: transparent; border: none; cursor: pointer;
    font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--ink); text-align: left;
  }
  .pdp-faq-icon {
    width: 20px; height: 20px; display: grid; place-items: center; color: var(--blue);
    transition: transform 0.3s ease;
  }
  .pdp-faq-item.is-open .pdp-faq-icon { transform: rotate(180deg); }
  .pdp-faq-body {
    padding: 0 20px 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.62; display: none;
  }
  .pdp-faq-item.is-open .pdp-faq-body { display: block; }

  /* Prev/Next Bar */
  .pdp-prev-next-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 24px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line);
    border-radius: 18px; margin-bottom: 40px; font-family: var(--ui);
  }
  .pdp-pn-link {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
    color: var(--ink-soft); transition: color 0.2s ease;
  }
  .pdp-pn-link:hover { color: var(--blue); }
  .pdp-pn-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; }

  /* Lightbox Modal */
  .lightbox-modal {
    position: fixed; inset: 0; z-index: 10001;
    display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .lightbox-modal.is-open { opacity: 1; pointer-events: auto; }
  .lightbox-backdrop {
    position: absolute; inset: 0; background: rgba(8, 26, 68, 0.92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .lightbox-content {
    position: relative; z-index: 2; max-width: 90vw; max-height: 85vh;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
  }
  .lightbox-img {
    max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 14px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  }
  .lightbox-caption { color: #f1f5f9; font-size: 14px; font-weight: 500; text-align: center; }
  .lightbox-close {
    position: absolute; top: -48px; right: 0; background: transparent; border: none;
    color: #fff; font-size: 28px; cursor: pointer; padding: 6px;
  }
  .lightbox-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; display: grid; place-items: center;
    cursor: pointer; transition: background 0.2s ease;
  }
  .lightbox-nav-btn:hover { background: var(--blue); }
  .lightbox-nav-btn.prev { left: -60px; }
  .lightbox-nav-btn.next { right: -60px; }

  @media (max-width: 860px) {
    .product-sheet { grid-template-columns: 1fr; gap: 24px; }
    .pdp-specs-grid { grid-template-columns: 1fr 1fr; }
    .pdp-included-list { grid-template-columns: 1fr; }
    .pdp-prev-next-bar { flex-direction: column; text-align: center; gap: 10px; }
    .pdp-breadcrumb-row { flex-direction: column; align-items: center; text-align: center; }
    .pdp-switch-pills-desktop { display: none !important; }
    .pdp-switch-mobile-wrap { display: flex !important; align-items: center; justify-content: space-between; width: 100%; gap: 10px; }
    .pdp-quick-switch {
      max-width: 440px; margin: 12px auto 0; padding: 8px 14px;
      border-radius: 14px; display: flex; align-items: center;
      justify-content: space-between; gap: 10px;
    }
    .lightbox-nav-btn.prev { left: 8px; }
    .lightbox-nav-btn.next { right: 8px; }
  }

  @media (max-width: 520px) {
    .pdp-specs-grid { grid-template-columns: 1fr; gap: 10px; }
    .pdp-spec-card { padding: 12px 14px; border-radius: 12px; }
    .pdp-spec-val { font-size: 13.5px; }
  }


/* ══════════════════════════════════════════════════════════════════════════
 * UNIFIED MULTI-DEVICE ALIGNMENT CONTRACT (PORTRAIT, TABLET, LANDSCAPE)
 * Enforced by Auditor de Alineación Multi-Dispositivo
 * ══════════════════════════════════════════════════════════════════════════ */

/* 1. Header & Menu Alignment (<= 960px) */
@media (max-width: 960px) {
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .nav-links, .nav-github-btn, .nav-btn-text, .nav-kbd-hint {
    display: none !important;
  }
  .mobile-menu-toggle, .mobile-menu-btn { display: inline-flex !important; }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .nav-actions .icon-btn,
  .icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
    display: inline-flex !important;
  }
  .nav-actions .icon-btn svg,
  .icon-btn svg {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
  }
  .nav-actions .icon-btn .nav-btn-text, .nav-actions .icon-btn .nav-kbd-hint { display: none !important; }
  .nav-cart-btn .cart-count,
  .cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    line-height: 14px !important;
    border-radius: 999px !important;
    border: 2px solid #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    box-shadow: 0 2px 6px rgba(0, 105, 229, 0.4) !important;
  }
  #mobileDrawer,
  .mobile-drawer {
    display: block !important;
    position: fixed !important;
    top: calc(var(--nav-h) + 8px) !important;
    left: 16px !important;
    right: 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid var(--blue-border, rgba(0, 105, 229, 0.2)) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 50px -12px rgba(11, 37, 89, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    padding: 22px 20px !important;
    z-index: 999 !important;
    transform: translateY(-16px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease !important;
  }
  #mobileDrawer.is-open,
  .mobile-drawer.is-open {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .mobile-drawer-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: center !important;
    width: 100% !important;
  }
  .mobile-nav-link {
    font-family: var(--display, inherit) !important;
    font-size: 16.5px !important;
    font-weight: 600 !important;
    color: var(--ink, #0f172a) !important;
    text-decoration: none !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    text-align: center !important;
  }
  .mobile-drawer-cta {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-top: 4px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--line, rgba(226, 232, 240, 0.8)) !important;
  }
}

/* 2 & 3 & 4 & 5. Portrait Mobile Alignment (<= 860px) */
@media (max-width: 860px) {
  /* Hero Center */
  .hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .hero-stats, .hero-meta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
  }
  .hero-visual {
    margin-inline: auto !important;
    max-width: 420px !important;
  }

  /* Section Head & Toolbars Centered */
  .sec-head, .sec-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    gap: 14px !important;
  }
  .sec-head > div, .sec-header > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .eyebrow {
    align-self: flex-start !important;
  }
  .sec-desc {
    text-align: left !important;
  }
  .sec-watermark {
    right: 16px !important;
    left: auto !important;
    text-align: right !important;
  }
  .toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    overflow: visible !important;
  }
  .filter-pills, .tech-filters {
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 4px !important;
  }

  /* Centered Inputs & Placeholders with 38px Safety Padding */
  .search-wrap input,
  .search-wrap input.search-mini,
  .toolbar input,
  .toolbar select,
  #projSearch,
  #shopSearch,
  #blogSearch,
  #contactForm input,
  #contactForm select,
  #contactForm textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  input[type="text"],
  input[type="search"],
  input[type="email"] {
    text-align: center !important;
    padding-inline: 38px !important;
  }
  .search-wrap input::placeholder,
  .toolbar input::placeholder,
  #projSearch::placeholder,
  #shopSearch::placeholder,
  #blogSearch::placeholder,
  #contactForm input::placeholder,
  #contactForm textarea::placeholder,
  .contact-form input::placeholder,
  .contact-form textarea::placeholder,
  input::placeholder,
  textarea::placeholder {
    text-align: center !important;
  }

  /* Coverflow Rails & Cards Centered in Viewport */
  .grid-3:not(.is-grid-mode) {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 14px !important;
    padding-block: 10px 18px !important;
    padding-inline: max(16px, calc((100vw - 310px) / 2)) !important;
    margin-inline: calc(-1 * clamp(16px, 4vw, 36px)) !important;
    scrollbar-width: none !important;
  }
  .grid-3:not(.is-grid-mode)::-webkit-scrollbar {
    display: none !important;
  }
  .grid-3:not(.is-grid-mode) > * {
    flex: 0 0 min(78vw, 310px) !important;
    max-width: 310px !important;
    scroll-snap-align: center !important;
  }
  .mobile-rail-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 18px !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Footer 2-Column Symmetric Stack */
  .fgrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px !important;
    padding-bottom: 28px !important;
  }
  .fgrid .fcol:first-child {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .fgrid .fcol:first-child p {
    margin-inline: auto !important;
    max-width: 44ch !important;
    text-align: center !important;
  }
  .fgrid .fcol:nth-child(2),
  .fgrid .fcol:nth-child(3) {
    text-align: center !important;
  }
  .fgrid .fcol:nth-child(2) ul,
  .fgrid .fcol:nth-child(3) ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .fgrid .fcol:nth-child(4) {
    grid-column: 1 / -1 !important;
    text-align: center !important;
  }
  .fgrid .fcol:nth-child(4) ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .fbar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  /* Floating Cookie Banner Portrait Center */
  #cookieBanner,
  .cookie-banner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    bottom: 12px !important;
    padding: 14px 16px !important;
    gap: 12px !important;
  }
  #cookieBanner .cookie-banner-content,
  .cookie-banner .cookie-banner-content {
    text-align: center !important;
  }
  #cookieBanner .cookie-banner-actions,
  .cookie-banner .cookie-banner-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
  }
}

/* Tablet Portrait & Landscape (861px - 1080px) */
@media (min-width: 861px) and (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  .hero-title {
    font-size: clamp(2.4rem, 4.4vw, 3.2rem) !important;
  }
  .hero-subtitle {
    font-size: 1.15rem !important;
  }
  .hero-visual {
    gap: 12px !important;
  }
  .toolbar {
    padding: 10px 14px !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* Phone Landscape (max-height: 540px and orientation: landscape) */
@media (max-height: 540px) and (orientation: landscape) {
  .hero {
    height: 100svh !important;
    padding-top: calc(var(--nav-h) + 2px) !important;
    padding-bottom: 6px !important;
    justify-content: center !important;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 16px !important;
    align-items: center !important;
  }
  .hero-copy {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .hero-logo-top {
    margin-inline: 0 !important;
    margin-bottom: 4px !important;
  }
  .hero-logo-top img {
    width: 42px !important;
    height: 42px !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.05 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-top: 4px !important;
    text-align: left !important;
  }
  .hero-lead {
    display: none !important;
  }
  .hero-actions {
    margin-top: 8px !important;
    gap: 6px !important;
    justify-content: flex-start !important;
  }
  .hero-actions .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .hero-visual {
    max-width: 340px !important;
    margin: 0 auto !important;
    gap: 8px !important;
  }
  .scroll-down-wrap {
    display: none !important;
  }
  #cookieBanner,
  .cookie-banner {
    bottom: 8px !important;
    padding: 8px 14px !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  #cookieBanner .cookie-banner-content,
  .cookie-banner .cookie-banner-content {
    text-align: left !important;
  }
  #cookieBanner .cookie-banner-actions,
  .cookie-banner .cookie-banner-actions {
    justify-content: flex-end !important;
    width: auto !important;
  }
  .dialog-container {
    max-height: 94vh !important;
    overflow-y: auto !important;
  }
}


  /* ═══════ UNIFICACIÓN CANÓNICA DE CABECERA, HAMBURGER, CARRITO Y BREADCRUMBS ═══════ */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 300 !important;
    height: var(--nav-h, 72px) !important;
    display: flex !important;
    align-items: center !important;
    transition: height 0.55s var(--ease-fluid), padding 0.55s var(--ease-fluid) !important;
  }
  .site-header .header-inner {
    width: 100% !important;
    max-width: 1220px !important;
    margin: 0 auto !important;
    padding: 12px clamp(18px, 4vw, 36px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border-radius: 0px !important;
    transition: all 0.55s var(--ease-fluid) !important;
  }
  .site-header.scrolled {
    height: 68px !important;
    padding-top: 8px !important;
  }
  .site-header.scrolled .header-inner {
    max-width: 1120px !important;
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(0, 105, 229, 0.16) !important;
    border-radius: 999px !important;
    padding: 8px 22px !important;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.13) !important;
  }
  .site-header .brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: var(--display) !important;
    font-weight: 600 !important;
    font-size: 21px !important;
    letter-spacing: -0.02em !important;
    color: var(--ink) !important;
    text-decoration: none !important;
  }
  .site-header .brand img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    transition: transform 0.6s var(--ease-fluid) !important;
  }
  .site-header .brand:hover img {
    transform: translateY(-2px) rotate(-8deg) scale(1.08) !important;
  }
  .site-header .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-header .nav-links a {
    font-family: var(--ui) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--ink-soft) !important;
    padding: 6px 0 !important;
    position: relative !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
  }
  .site-header .nav-links a::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 100% !important;
    bottom: 0 !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: var(--blue) !important;
    transition: right 0.4s var(--ease-fluid) !important;
  }
  .site-header .nav-links a:hover,
  .site-header .nav-links a.active,
  .site-header .nav-links a.is-current {
    color: var(--blue) !important;
  }
  .site-header .nav-links a:hover::after,
  .site-header .nav-links a.active::after,
  .site-header .nav-links a.is-current::after {
    right: 0 !important;
  }
  .site-header .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
  }
  .site-header .nav-actions .icon-btn {
    height: 38px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid var(--line) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    font-family: var(--ui) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--ink-soft) !important;
    cursor: pointer !important;
    position: relative !important;
    text-decoration: none !important;
    transition: all 0.35s var(--ease-fluid) !important;
  }
  .site-header .nav-actions .icon-btn svg {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
    stroke-width: 2.1 !important;
    fill: none !important;
    flex-shrink: 0 !important;
  }
  .site-header .nav-actions .icon-btn:hover {
    border-color: var(--blue) !important;
    color: var(--blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 105, 229, 0.1) !important;
  }
  .site-header .nav-actions .nav-btn-text {
    display: inline !important;
  }
  .site-header .nav-actions .nav-kbd-hint {
    display: inline-flex !important;
    align-items: center !important;
    font-family: var(--mono) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: var(--blue-deep) !important;
    background: #eef4ff !important;
    border: 1px solid rgba(0, 105, 229, 0.24) !important;
    padding: 1px 6px !important;
    border-radius: 5px !important;
    margin-left: 2px !important;
    line-height: 1.3 !important;
  }
  .site-header .nav-actions .cart-count {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: var(--blue) !important;
    color: #ffffff !important;
    font-family: var(--mono) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease !important;
  }
  .site-header .nav-actions .cart-count.bump {
    transform: scale(1.32) !important;
    background: var(--cyan, #00b7e6) !important;
  }
  .site-header .mobile-menu-toggle {
    display: none !important;
  }
  .site-header .hamburger-box {
    width: 18px !important;
    height: 14px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .site-header .hamburger-line {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background-color: var(--ink) !important;
    border-radius: 2px !important;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, background-color 0.2s ease !important;
  }
  .site-header .mobile-menu-toggle:hover .hamburger-line {
    background-color: var(--blue) !important;
  }
  .site-header .mobile-menu-toggle.is-active .hamburger-line:nth-child(1),
  .site-header .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
    background-color: var(--blue) !important;
  }
  .site-header .mobile-menu-toggle.is-active .hamburger-line:nth-child(2),
  .site-header .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0 !important;
  }
  .site-header .mobile-menu-toggle.is-active .hamburger-line:nth-child(3),
  .site-header .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
    background-color: var(--blue) !important;
  }

  @media (max-width: 900px) {
    .site-header .nav-links,
    .site-header .nav-github-btn,
    .site-header .nav-actions .nav-btn-text,
    .site-header .nav-actions .nav-kbd-hint {
      display: none !important;
    }
    .site-header .mobile-menu-toggle {
      display: inline-flex !important;
    }
    .site-header .nav-actions {
      gap: 8px !important;
    }
    .site-header .nav-actions .icon-btn {
      width: 38px !important;
      height: 38px !important;
      min-width: 38px !important;
      max-width: 38px !important;
      padding: 0 !important;
      border-radius: 50% !important;
      justify-content: center !important;
      align-items: center !important;
      position: relative !important;
      overflow: visible !important;
    }
    .site-header .nav-actions .icon-btn svg {
      width: 17px !important;
      height: 17px !important;
      margin: 0 !important;
    }
    .site-header .nav-actions .cart-count {
      position: absolute !important;
      top: -4px !important;
      right: -4px !important;
      min-width: 18px !important;
      height: 18px !important;
      padding: 0 4px !important;
      font-size: 10px !important;
      line-height: 14px !important;
      border-radius: 999px !important;
      border: 2px solid #ffffff !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      z-index: 2 !important;
      box-shadow: 0 2px 6px rgba(0, 105, 229, 0.4) !important;
    }
    .site-header .mobile-menu-toggle .hamburger-box {
      display: flex !important;
    }
    .site-header .mobile-menu-toggle .hamburger-line {
      display: block !important;
    }
  }

  /* ═══════ BREADCRUMBS UNIFICADOS EN TODOS LOS HEROS Y CABECERAS ═══════ */
  .hero-breadcrumb,
  .cs-breadcrumbs,
  .pdp-breadcrumb,
  .entry-breadcrumb,
  .breadcrumbs {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-family: var(--mono) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em !important;
    text-transform: none !important;
    color: var(--muted) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 12px !important;
  }
  .hero-breadcrumb img,
  .cs-breadcrumbs img {
    display: none !important;
  }
  .hero-breadcrumb a,
  .cs-breadcrumbs a,
  .pdp-breadcrumb a,
  .entry-breadcrumb a,
  .breadcrumbs a {
    color: var(--muted) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
  }
  .hero-breadcrumb a:hover,
  .cs-breadcrumbs a:hover,
  .pdp-breadcrumb a:hover,
  .entry-breadcrumb a:hover,
  .breadcrumbs a:hover {
    color: var(--blue) !important;
  }
  .hero-breadcrumb .sep,
  .hero-breadcrumb .hero-breadcrumb-sep,
  .cs-breadcrumbs .bc-sep,
  .entry-breadcrumb .sep {
    color: var(--muted) !important;
    opacity: 0.45 !important;
  }
  .hero-breadcrumb > span:last-of-type,
  .hero-breadcrumb .current,
  .cs-breadcrumbs .bc-current,
  .pdp-breadcrumb strong,
  .entry-breadcrumb > span:last-of-type,
  .breadcrumbs > span:last-of-type {
    color: var(--blue) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
  }
  @media (max-width: 860px) {
    .hero-copy .hero-breadcrumb,
    .hero-copy .cs-breadcrumbs {
      justify-content: center !important;
    }
  }

  /* ═══════ MINI-CART DRAWER & MODAL OVERLAY CONTRACT ═══════ */
  #cartDrawerWrap,
  .cart-drawer-wrap,
  .andorina-mini-cart-drawer-wrap,
  #globalSearchModal,
  .global-search-modal,
  #cookiePrefsModal,
  .dialog-modal,
  #lightboxModal,
  .lightbox-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12000 !important;
  }

  #cartDrawerWrap:not(.open):not(.is-open):not(.active),
  .cart-drawer-wrap:not(.open):not(.is-open):not(.active),
  .andorina-mini-cart-drawer-wrap:not(.open):not(.is-open):not(.active),
  #globalSearchModal:not(.open):not(.is-open):not(.active),
  .global-search-modal:not(.open):not(.is-open):not(.active),
  #cookiePrefsModal:not(.open):not(.is-open):not(.active),
  .dialog-modal:not(.open):not(.is-open):not(.active),
  #lightboxModal:not(.open):not(.is-open):not(.active),
  .lightbox-modal:not(.open):not(.is-open):not(.active),
  #mobileDrawer:not(.open):not(.is-open):not(.active),
  .mobile-drawer:not(.open):not(.is-open):not(.active) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s var(--ease-fluid), visibility 0.3s var(--ease-fluid) !important;
  }

  #cartDrawerWrap:not(.open):not(.is-open):not(.active) *,
  .cart-drawer-wrap:not(.open):not(.is-open):not(.active) *,
  .andorina-mini-cart-drawer-wrap:not(.open):not(.is-open):not(.active) *,
  #globalSearchModal:not(.open):not(.is-open):not(.active) *,
  .global-search-modal:not(.open):not(.is-open):not(.active) *,
  #cookiePrefsModal:not(.open):not(.is-open):not(.active) *,
  .dialog-modal:not(.open):not(.is-open):not(.active) *,
  #lightboxModal:not(.open):not(.is-open):not(.active) *,
  .lightbox-modal:not(.open):not(.is-open):not(.active) *,
  #mobileDrawer:not(.open):not(.is-open):not(.active) *,
  .mobile-drawer:not(.open):not(.is-open):not(.active) * {
    pointer-events: none !important;
  }

  #cartDrawerWrap.open,
  #cartDrawerWrap.is-open,
  #cartDrawerWrap.active,
  .cart-drawer-wrap.open,
  .cart-drawer-wrap.is-open,
  .cart-drawer-wrap.active,
  .andorina-mini-cart-drawer-wrap.open,
  .andorina-mini-cart-drawer-wrap.is-open,
  .andorina-mini-cart-drawer-wrap.active,
  #globalSearchModal.open,
  #globalSearchModal.is-open,
  #globalSearchModal.active,
  .global-search-modal.open,
  .global-search-modal.is-open,
  .global-search-modal.active,
  #cookiePrefsModal.open,
  #cookiePrefsModal.is-open,
  #cookiePrefsModal.active,
  .dialog-modal.open,
  .dialog-modal.is-open,
  .dialog-modal.active,
  #lightboxModal.open,
  #lightboxModal.is-open,
  #lightboxModal.active,
  .lightbox-modal.open,
  .lightbox-modal.is-open,
  .lightbox-modal.active,
  #mobileDrawer.open,
  #mobileDrawer.is-open,
  #mobileDrawer.active,
  .mobile-drawer.open,
  .mobile-drawer.is-open,
  .mobile-drawer.active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #cartBackdrop,
  .cart-backdrop {
    position: absolute !important; inset: 0 !important; z-index: 1 !important;
    background: rgba(8, 26, 68, 0.45) !important;
    backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important;
  }

  #cartDrawerWrap.open #cartBackdrop,
  #cartDrawerWrap.is-open #cartBackdrop,
  #cartDrawerWrap.active #cartBackdrop,
  .cart-drawer-wrap.open .cart-backdrop,
  .cart-drawer-wrap.is-open .cart-backdrop,
  .cart-drawer-wrap.active .cart-backdrop,
  .andorina-mini-cart-drawer-wrap.open .andorina-cart-backdrop,
  .andorina-mini-cart-drawer-wrap.is-open .andorina-cart-backdrop,
  .andorina-mini-cart-drawer-wrap.active .andorina-cart-backdrop {
    cursor: pointer !important;
    pointer-events: auto !important;
  }

  #cartDrawer,
  .cart-drawer {
    position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important;
    width: min(440px, 100vw) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(28px) !important; -webkit-backdrop-filter: blur(28px) !important;
    border-left: 1px solid rgba(0, 105, 229, 0.2) !important;
    box-shadow: -24px 0 60px -15px rgba(11, 37, 89, 0.28) !important;
    display: flex !important; flex-direction: column !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 2 !important;
  }

  #cartDrawerWrap.open #cartDrawer,
  #cartDrawerWrap.is-open #cartDrawer,
  #cartDrawerWrap.active #cartDrawer,
  .cart-drawer-wrap.open .cart-drawer,
  .cart-drawer-wrap.is-open .cart-drawer,
  .cart-drawer-wrap.active .cart-drawer,
  .andorina-mini-cart-drawer-wrap.open .andorina-cart-drawer-panel,
  .andorina-mini-cart-drawer-wrap.is-open .andorina-cart-drawer-panel,
  .andorina-mini-cart-drawer-wrap.active .andorina-cart-drawer-panel {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }

  #closeCartBtn,
  #closeCartDrawerBtn,
  .cart-close-btn,
  .cart-close,
  [data-close-cart] {
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #cartDrawerWrap.open #closeCartBtn,
  #cartDrawerWrap.is-open #closeCartBtn,
  #cartDrawerWrap.active #closeCartBtn,
  #cartDrawerWrap.open #closeCartDrawerBtn,
  #cartDrawerWrap.is-open #closeCartDrawerBtn,
  #cartDrawerWrap.active #closeCartDrawerBtn,
  .cart-drawer-wrap.open .cart-close-btn,
  .cart-drawer-wrap.is-open .cart-close-btn,
  .cart-drawer-wrap.active .cart-close-btn,
  .cart-drawer-wrap.open [data-close-cart],
  .cart-drawer-wrap.is-open [data-close-cart],
  .cart-drawer-wrap.active [data-close-cart] {
    pointer-events: auto !important;
  }

  #globalSearchModal.is-open #searchBackdrop,
  .global-search-modal.is-open .search-backdrop,
  .global-search-modal.is-open .global-search-backdrop,
  #cookiePrefsModal.is-open #cookiePrefsBackdrop,
  .dialog-modal.is-open .dialog-backdrop,
  #lightboxModal.is-open .lightbox-backdrop,
  .lightbox-modal.is-open .lightbox-backdrop {
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  #globalSearchModal.is-open *,
  .global-search-modal.is-open *,
  #cookiePrefsModal.is-open *,
  .dialog-modal.is-open *,
  #lightboxModal.is-open *,
  .lightbox-modal.is-open *,
  #mobileDrawer.is-open *,
  .mobile-drawer.is-open * {
    pointer-events: auto;
  }
  .cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; border-bottom: 1px solid var(--line);
    background: rgba(246, 250, 255, 0.85);
  }
  .cart-title {
    font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--ink);
    display: flex; align-items: center; gap: 8px;
  }
  .cart-badge-count {
    font-family: var(--mono); font-size: 11px; background: var(--blue-soft);
    color: var(--blue); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--blue-border);
  }
  .cart-close-btn {
    width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
    background: #fff; color: var(--muted); cursor: pointer; display: grid; place-items: center;
    transition: all 0.2s ease;
  }
  .cart-close-btn:hover { color: var(--ink); border-color: var(--blue); background: var(--blue-soft); }
  .cart-items {
    flex: 1; overflow-y: auto; padding: 18px 22px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .cart-item {
    display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center;
    padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  }
  .cart-item-thumb {
    width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--blue-deep);
    flex-shrink: 0;
  }
  .cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .cart-item-name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
  .cart-item-variant { font-size: 11.5px; color: var(--muted); font-family: var(--mono); margin-top: 2px; }
  .cart-item-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
  .cart-type-badge {
    font-family: var(--mono); font-size: 9.5px; font-weight: 700; text-transform: uppercase;
    padding: 2px 6px; border-radius: 4px;
  }
  .cart-type-badge.digital { background: rgba(0, 105, 229, 0.1); color: var(--blue); }
  .cart-type-badge.fisico { background: rgba(217, 119, 6, 0.12); color: var(--amber); }
  .cart-item-stepper {
    display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px;
    background: var(--bg); padding: 2px 4px; margin-top: 6px; gap: 6px;
  }
  .cart-step-btn {
    width: 20px; height: 20px; border-radius: 50%; border: none; background: #fff; color: var(--ink);
    font-size: 12px; cursor: pointer; display: grid; place-items: center; line-height: 1;
  }
  .cart-step-btn:hover { background: var(--blue); color: #fff; }
  .cart-item-qty { font-family: var(--mono); font-size: 11px; font-weight: 700; min-width: 16px; text-align: center; }
  .cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  .cart-item-price { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--ink); }
  .cart-item-remove {
    border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px;
    padding: 2px; border-radius: 4px;
  }
  .cart-item-remove:hover { color: #ef4444; }
  .cart-empty-view {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 48px 16px; color: var(--muted); gap: 12px;
  }
  .cart-empty-view svg { width: 44px; height: 44px; stroke: var(--blue); stroke-width: 1.5; opacity: 0.6; fill: none; }
  .cart-empty-view h3 { font-family: var(--display); font-size: 18px; color: var(--ink); }
  .cart-empty-view p { font-size: 13.5px; max-width: 26ch; line-height: 1.5; }
  .cart-footer {
    padding: 18px 22px 22px; border-top: 1px solid var(--line);
    background: rgba(246, 250, 255, 0.9); display: flex; flex-direction: column; gap: 10px;
  }
  .cart-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
  .cart-summary-total {
    display: flex; justify-content: space-between; font-family: var(--display);
    font-size: 20px; font-weight: 600; color: var(--ink); padding-top: 8px; border-top: 1px dashed var(--line);
  }
  .cart-note {
    font-size: 11.5px; color: var(--muted); background: #fff; padding: 10px 12px;
    border-radius: 10px; border: 1px solid var(--line); line-height: 1.45;
  }
  .cart-checkout-btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; }



/* ═══════ CORRECCIÓN DE SELECTOR DE CANTIDAD EN FICHA DE PRODUCTO ═══════ */
.pdp-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--blue-border, #cde2ff) !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  padding: 4px !important;
  gap: 4px !important;
  position: relative !important;
  z-index: 5 !important;
  flex-shrink: 0 !important;
}
.pdp-qty-btn,
#pdpQtyMinus,
#pdpQtyPlus {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0, 105, 229, 0.14) !important;
  background: #ffffff !important;
  color: var(--ink, #0f172a) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  pointer-events: auto !important;
}
.pdp-qty-btn:hover,
#pdpQtyMinus:hover,
#pdpQtyPlus:hover {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  border-color: var(--blue, #0069e5) !important;
}
.pdp-qty-input,
input#pdpQtyInput,
.pdp-qty-stepper input[type="text"] {
  width: 46px !important;
  min-width: 46px !important;
  max-width: 54px !important;
  height: 34px !important;
  padding: 0 2px !important;
  padding-inline: 2px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-family: var(--mono) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--ink, #0f172a) !important;
  outline: none !important;
  pointer-events: auto !important;
}

/* ═══════ PARCHE FINAL CANÓNICO: MENÚ ESCRITORIO, ICONOS TARJETAS Y BADGES ═══════ */
@media (min-width: 901px) {
  .site-header .nav-actions .icon-btn.mobile-menu-toggle,
  .site-header .nav-actions .icon-btn.mobile-menu-btn,
  .site-header .mobile-menu-toggle,
  .site-header .mobile-menu-btn,
  .site-header #mobileMenuBtn,
  #mobileMenuBtn {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .site-header .nav-actions .icon-btn.mobile-menu-toggle,
  .site-header .nav-actions .icon-btn.mobile-menu-btn,
  .site-header .mobile-menu-toggle,
  .site-header .mobile-menu-btn,
  .site-header #mobileMenuBtn,
  #mobileMenuBtn {
    display: inline-flex !important;
  }
}

/* Icono de esquina superior en tarjetas: contraste blanco sobre azul corporativo */
.card .thumb-corner {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--ink, #0f172a) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}
.card .thumb-corner svg {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  fill: none !important;
  display: block !important;
}
.card:hover .thumb-corner {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  border-color: var(--blue, #0069e5) !important;
}
.card:hover .thumb-corner svg,
.card:hover .thumb-corner svg path,
.card:hover .thumb-corner svg line,
.card:hover .thumb-corner svg polyline {
  stroke: #ffffff !important;
  color: #ffffff !important;
  fill: none !important;
}

/* Badge de tiempo de lectura en tarjeta destacada: azul corporativo y ancho ajustado al texto */
.featured-card-badge-rt {
  position: absolute !important;
  bottom: 14px !important;
  right: 14px !important;
  left: auto !important;
  width: fit-content !important;
  max-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 6px 16px rgba(0, 105, 229, 0.32) !important;
  z-index: 3 !important;
  white-space: nowrap !important;
}



/* ══════════════════════════════════════════════════════════════════════════
 * PARCHE MAESTRO v1.4.4: CONTRASTE EN BLOQUES DE CÓDIGO, GALERÍAS CENTRADAS,
 * ALINEACIÓN VERTICAL Y CENTRADO INTEGRAL EN TELÉFONO / RESPONSIVE
 * ══════════════════════════════════════════════════════════════════════════ */

/* 1. Bloques de código oscuros: texto claro de alto contraste (nunca azul oscuro sobre fondo marino) */
pre code,
.andorina-code-block pre,
.andorina-code-block code,
.andorina-code-pre,
.andorina-code-pre code,
.cs-code-wrap pre,
.cs-code-wrap code,
.andorina-cs-code-card pre,
.andorina-cs-code-card code,
.code-block pre,
.code-block code,
#blockCode pre,
#blockCode code,
#codeContent {
  color: #f1f5f9 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  font-family: var(--mono, monospace) !important;
  font-size: 13px !important;
  line-height: 1.68 !important;
}
.hl-cmt { color: #94a3b8 !important; font-style: italic !important; }
.hl-kw  { color: #7dd3fc !important; font-weight: 600 !important; }
.hl-fn  { color: #fde047 !important; }
.hl-str { color: #86efac !important; }
.hl-num { color: #f9a8d4 !important; }

/* 2. Galerías y tiras de miniaturas centradas en todos los modos (Proyectos, Artículos y Productos) */
.stage-thumbs-bar,
.gallery-thumbs-bar,
.pdp-thumbs-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
.pdp-thumb-strip,
#pdpThumbStrip,
.pdp-thumbs-wrap {
  display: flex !important;
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  justify-content: center !important;
  justify-content: safe center !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 4px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
.pdp-thumb-item,
.pdp-thumb,
.pdp-thumb-btn {
  width: clamp(68px, 18vw, 96px) !important;
  aspect-ratio: 16 / 10 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.pdp-thumb-item img,
.pdp-thumb img,
.pdp-thumb-btn img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* 3. Centrado vertical estricto de insignias, pills, fechas, botones y metadatos */
.badge-float,
.avail-badge,
.page-badge,
.entry-read-pill,
.eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
}
.badge-float::before,
.avail-dot,
.eyebrow i,
.entry-read-pill svg,
.specs-box-header svg {
  flex-shrink: 0 !important;
  display: inline-block !important;
}
.entry-meta-top {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.entry-meta-top .entry-date {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
}
.specs-box-header,
.toc-header,
.card-foot,
.featured-foot,
.pdp-add-row,
.pdp-price-row {
  display: flex !important;
  align-items: center !important;
}

/* 4. Escritorio (> 860px): Cabecera de Contacto a la izquierda para no chocar con marca de agua */
@media (min-width: 861px) {
  #contacto .sec-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
  }
  #contacto .sec-head .sec-desc {
    max-width: 60ch !important;
    margin-top: 4px !important;
    text-align: left !important;
  }
}

/* 5. Teléfono / Móvil (<= 860px): Centrado y alineación simétrica integral en todas las páginas */
@media (max-width: 860px) {
  /* Cabeceras de sección centradas con el resto del layout móvil */
  .sec-head,
  .sec-header,
  #contacto .sec-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 22px !important;
    gap: 10px !important;
  }
  .sec-head > div,
  .sec-header > div,
  #contacto .sec-head > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .sec-head .eyebrow,
  .sec-header .eyebrow,
  #contacto .sec-head .eyebrow {
    align-self: center !important;
    margin-inline: auto !important;
  }
  .sec-title,
  #contacto .sec-title {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .sec-desc,
  #contacto .sec-head .sec-desc {
    text-align: center !important;
    margin-inline: auto !important;
  }

  /* Tarjetas de contacto centradas en todas las páginas */
  .contact-card,
  .contact-info-card,
  .contact-info-col,
  .contact-card-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .contact-card .avail-badge,
  .contact-badge-wrap {
    margin-inline: auto !important;
    align-self: center !important;
  }
  .contact-info-list,
  .contact-channels {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .contact-info-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .contact-link-row {
    justify-content: center !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }

  /* Entrada de Blog (andorina-entrada-concept.html) centrada en móvil */
  .entry-header-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .entry-breadcrumb,
  .entry-meta-top {
    justify-content: center !important;
    margin-inline: auto !important;
  }
  .entry-title,
  .entry-lead {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .entry-author-strip {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .entry-author-left,
  .entry-quick-actions {
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
  .entry-author-card,
  .author-bio-card,
  .related-callout-card,
  #blockRelatedItem {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .author-card-info {
    min-width: 0 !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .author-card-links {
    justify-content: center !important;
  }
  .entry-pagination-nav .post-nav-card,
  .entry-pagination-nav .post-nav-card.next {
    align-items: center !important;
    text-align: center !important;
  }

  /* Proyecto Individual (andorina-proyecto-concept.html) centrado en móvil */
  .cs-nav-bar {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .cs-nav-btn,
  .cs-nav-btn.prev,
  .cs-nav-btn.next {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .cs-specs-bar .cs-spec-card,
  .cs-metric-card {
    align-items: center !important;
    text-align: center !important;
  }

  /* Producto Individual (andorina-producto-concept.html) centrado y sin desborde en móvil */
  .pdp-breadcrumb-row,
  .pdp-breadcrumb {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  .pdp-buy-box {
    align-items: center !important;
    text-align: center !important;
  }
  .pdp-price-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .pdp-variants-wrap {
    width: 100% !important;
    text-align: left !important;
  }
  .pdp-option-title {
    text-align: center !important;
    display: block !important;
  }
  .pdp-add-row {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .pdp-add-btn {
    min-width: 200px !important;
    justify-content: center !important;
  }
  .pdp-guarantee-list {
    width: 100% !important;
    align-items: center !important;
  }
  .pdp-guarantee-item {
    justify-content: center !important;
    text-align: center !important;
  }
  .pdp-prev-next-bar {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .pdp-pn-link,
  .pdp-pn-link.next {
    align-items: center !important;
    text-align: center !important;
  }
  .info-strip-grid .info-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Sobre Mí (andorina-sobre-mi-concept.html) centrado y sin colisión en pantallas estrechas */
  .bio-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .bio-meta-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .cv-download-card,
  .cv-credentials-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Páginas Legales y Cookies centradas en cabecera y acciones móviles */
  .editorial-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .editorial-hero-inner .breadcrumbs {
    justify-content: center !important;
  }
  .editorial-hero-inner .page-badge {
    margin-inline: auto !important;
  }
  .editorial-title,
  .editorial-lead {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .cookie-panel-head,
  .cookie-panel-actions {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 540px) {
  .bio-meta-list {
    grid-template-columns: 1fr !important;
  }
  .cs-metrics-grid {
    grid-template-columns: 1fr !important;
  }
}








/* ═══════ ESTILOS CANÓNICOS DE ENTRADA INDIVIDUAL (BLOG) ═══════ */
/* ═══════ CABECERA Y HERO CONTEXTUAL DE ENTRADA ═══════ */
  .entry-hero-sec {
    position: relative;
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 40px;
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--bg) 70%);
    border-bottom: 1px solid rgba(0, 105, 229, 0.12);
    perspective: 1150px;
    transform-style: preserve-3d;
  }
  .entry-header-wrap {
    max-width: 980px;
    margin: 0 auto;
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
  }

  .entry-breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 12px; color: var(--muted);
    letter-spacing: 0.04em; margin-bottom: 18px;
  }
  .entry-breadcrumb a { color: var(--blue); }
  .entry-breadcrumb .sep { color: var(--line); }

  .entry-meta-top {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
  }
  .entry-date {
    font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  }
  .entry-read-pill {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft);
    background: #ffffff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px;
  }
  .entry-read-pill svg { width: 13px; height: 13px; stroke: var(--blue); stroke-width: 2.1; fill: none; }

  .entry-title {
    font-family: var(--display);
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--ink);
    margin-bottom: 18px;
  }
  .entry-lead {
    font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-soft);
    line-height: 1.65; max-width: 68ch; margin-bottom: 24px;
  }

  .entry-author-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 20px; background: #ffffff; border-radius: 16px;
    border: 1px solid rgba(0, 105, 229, 0.14);
    box-shadow: 0 4px 16px rgba(11, 37, 89, 0.04);
    margin-bottom: 32px; flex-wrap: wrap;
  }
  .entry-author-left { display: flex; align-items: center; gap: 12px; }
  .author-avatar-mini {
    width: 38px; height: 38px; border-radius: 50%; object-fit: contain;
    background: var(--blue-soft); padding: 4px; border: 1px solid var(--blue-border);
  }
  .author-info-text { font-size: 13.5px; color: var(--ink-soft); }
  .author-info-text strong { color: var(--ink); }

  .entry-quick-actions { display: flex; align-items: center; gap: 10px; }
  .quick-action-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--bg); font-size: 12.5px; font-weight: 500; color: var(--ink-soft);
    cursor: pointer; transition: all 0.25s ease;
  }
  .quick-action-btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.1; fill: none; }
  .quick-action-btn:hover { border-color: var(--blue); color: var(--blue); background: #ffffff; }

  /* Tarjeta de portada destacada 16:9 */
  .entry-cover-wrap {
    width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
    background: var(--bg-alt); border: 1px solid rgba(0, 105, 229, 0.16);
    box-shadow: 0 20px 50px -12px rgba(11, 37, 89, 0.16);
  }
  .entry-cover-wrap img {
    width: 100%; height: 100%; object-fit: cover;
  }

  /* ═══════ LAYOUT EDITORIAL (2 COLUMNAS: TOC + PROSA) ═══════ */
  .editorial-sec {
    position: relative; padding: clamp(48px, 6vw, 80px) 0;
  }
  .editorial-layout {
    display: grid; grid-template-columns: 290px 1fr; gap: 48px; align-items: flex-start;
  }

  /* Columna izquierda: Tabla de Contenidos Sticky */
  .entry-sidebar {
    position: sticky; top: calc(var(--nav-h) + 20px);
    display: flex; flex-direction: column; gap: 20px;
  }
  .entry-toc-card {
    background: #ffffff; border-radius: 20px; padding: 22px 20px;
    border: 1px solid rgba(0, 105, 229, 0.14);
    box-shadow: 0 10px 30px -10px rgba(11, 37, 89, 0.08);
  }
  .toc-header {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line);
  }
  .toc-header svg { width: 14px; height: 14px; stroke: var(--blue); stroke-width: 2.2; fill: none; }
  .toc-list { display: flex; flex-direction: column; gap: 6px; }
  .toc-link {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: var(--ink-soft); padding: 6px 10px; border-radius: 8px;
    line-height: 1.45; transition: all 0.2s ease;
  }
  .toc-num {
    font-family: var(--mono); font-size: 11px; color: var(--muted); flex-shrink: 0; margin-top: 1px;
  }
  .toc-link:hover { color: var(--blue); background: var(--blue-soft); }
  .toc-link.is-active {
    color: var(--blue-dark); font-weight: 600; background: var(--blue-soft);
    border-left: 3px solid var(--blue);
  }

  .sidebar-meta-card {
    background: #ffffff; border-radius: 18px; padding: 18px 20px;
    border: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
    display: flex; flex-direction: column; gap: 10px;
  }
  .sidebar-meta-item { display: flex; justify-content: space-between; gap: 8px; }
  .sidebar-meta-val { color: var(--ink); font-weight: 500; font-family: var(--mono); }
  .back-to-blog-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 12px; color: var(--blue); font-weight: 600;
    padding: 8px 12px; border-radius: 10px; background: var(--blue-soft);
    transition: background 0.2s ease;
  }
  .back-to-blog-link:hover { background: var(--blue-border); }

  /* Columna derecha: Prosa y Bloques Opcionales */
  .entry-prose {
    font-size: 16.5px; line-height: 1.8; color: var(--ink);
    max-width: 760px;
  }
  .entry-prose h2 {
    font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.25; margin: 44px 0 16px; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 32px);
  }
  .entry-prose h3 {
    font-family: var(--display); font-size: 1.35rem; line-height: 1.3;
    margin: 32px 0 12px; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 32px);
  }
  .entry-prose p { margin-bottom: 20px; }
  .entry-prose blockquote {
    position: relative; margin: 28px 0; padding: 20px 26px;
    background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0;
    font-family: var(--display); font-size: 18px; font-style: italic; line-height: 1.6; color: var(--ink);
  }
  .entry-prose code {
    font-family: var(--mono); font-size: 13.5px; background: rgba(0, 105, 229, 0.08);
    color: var(--blue-dark); padding: 2px 7px; border-radius: 6px;
  }

  /* ═══════ BLOQUE CONDICIONAL 1: GALERÍA INTERACTIVA (hasGallery) ═══════ */
  .entry-block-gallery {
    margin-bottom: 36px; border-radius: 22px; overflow: hidden;
    background: #ffffff; border: 1px solid rgba(0, 105, 229, 0.16);
    box-shadow: 0 16px 40px -10px rgba(11, 37, 89, 0.1);
    padding: 16px;
  }
  .gallery-stage-wrap {
    position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
    background: #06132d; cursor: zoom-in;
  }
  .gallery-stage-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
  }
  .gallery-stage-wrap:hover img { transform: scale(1.02); }
  .gallery-zoom-btn {
    position: absolute; bottom: 12px; right: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(6, 19, 45, 0.85); backdrop-filter: blur(8px);
    color: #fff; font-family: var(--mono); font-size: 11.5px;
    border: 1px solid rgba(255, 255, 255, 0.2); cursor: pointer;
    transition: background 0.25s ease;
  }
  .gallery-zoom-btn:hover { background: var(--blue); }
  .gallery-zoom-btn svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.2; fill: none; }
  .gallery-stage-caption {
    font-size: 13px; color: var(--muted); margin: 12px 6px 14px; line-height: 1.5; font-style: italic;
  }
  .gallery-thumbs-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    position: relative;
    width: 100%;
  }
  .gallery-thumbs-bar .gallery-thumb-strip {
    flex: 1;
    min-width: 0;
  }
  .stage-carousel-arrow {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(11, 37, 89, 0.08);
    transition: all 0.25s ease;
    flex-shrink: 0;
  }
  .stage-carousel-arrow:hover {
    background: var(--blue-soft);
    border-color: var(--blue-border);
    color: var(--blue);
    transform: scale(1.05);
  }
  .gallery-thumb-strip {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .gallery-thumb {
    flex: 0 0 96px; height: 64px; border-radius: 10px; overflow: hidden;
    border: 2px solid transparent; background: var(--bg-alt); cursor: pointer;
    padding: 0; opacity: 0.65; transition: all 0.25s ease;
  }
  .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-thumb:hover { opacity: 0.95; border-color: var(--blue-border); }
  .gallery-thumb.is-active {
    opacity: 1; border-color: var(--blue); box-shadow: 0 4px 12px rgba(0, 105, 229, 0.3);
  }

  /* ═══════ BLOQUE CONDICIONAL 2: TABLA DE PARÁMETROS TÉCNICOS (hasSpecsBox) ═══════ */
  .entry-block-specs {
    margin: 32px 0; border-radius: 20px; overflow: hidden;
    background: #ffffff; border: 1px solid rgba(0, 105, 229, 0.16);
    box-shadow: 0 12px 32px -8px rgba(11, 37, 89, 0.08);
  }
  .specs-box-header {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; background: var(--blue-soft); border-bottom: 1px solid var(--blue-border);
  }
  .specs-box-header svg { width: 16px; height: 16px; stroke: var(--blue); stroke-width: 2.2; fill: none; }
  .specs-box-title { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-dark); font-weight: 700; margin: 0; }
  .specs-box-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  }
  .spec-item {
    background: #ffffff; padding: 12px 18px;
    display: flex; flex-direction: column; gap: 3px;
  }
  .spec-key { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
  .spec-val { font-size: 13.5px; font-weight: 600; color: var(--ink); font-family: var(--ui); }

  /* ═══════ BLOQUE CONDICIONAL 3: TARJETA DE CÓDIGO CON SYNTAX Y COPIADO (hasCode) ═══════ */
  .andorina-code-block {
    margin: 32px 0; border-radius: 20px; overflow: hidden;
    background: #091a3c; border: 1px solid rgba(0, 105, 229, 0.25);
    box-shadow: 0 20px 45px -12px rgba(11, 37, 89, 0.35);
  }
  .andorina-code-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 20px; background: #06132d; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .andorina-code-header-left { display: flex; align-items: center; gap: 14px; }
  .code-dots { display: flex; align-items: center; gap: 6px; }
  .c-dot { width: 10px; height: 10px; border-radius: 50%; }
  .c-dot.red { background: #ef4444; }
  .c-dot.yellow { background: #f59e0b; }
  .c-dot.green { background: #10b981; }
  .andorina-code-filename {
    font-family: var(--mono); font-size: 12.5px; color: #cbd5e1; font-weight: 500;
  }
  .andorina-code-lang-badge {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    background: rgba(0, 105, 229, 0.25); color: #7dd3fc;
    padding: 2px 7px; border-radius: 4px; border: 1px solid rgba(0, 183, 230, 0.3);
  }
  .andorina-code-copy {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 32px; padding: 4px 12px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0; cursor: pointer; font-size: 12px; font-family: var(--ui);
    transition: all 0.25s ease;
  }
  .andorina-code-copy:hover {
    background: rgba(0, 105, 229, 0.4); border-color: var(--blue); color: #fff;
  }
  .andorina-code-copy svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.1; fill: none; }
  .andorina-code-pre-wrap { overflow-x: auto; padding: 18px 22px; }
  .andorina-code-pre {
    margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.65;
    color: #e2e8f0; tab-size: 4; white-space: pre;
  }

  /* ═══════ BLOQUE CONDICIONAL 4: TARJETA DE PROYECTO/PRODUCTO VINCULADO (relatedItem) ═══════ */
  .related-callout-card {
    margin: 36px 0; padding: 22px 24px; border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--blue-soft) 100%);
    border: 1px solid rgba(0, 105, 229, 0.22);
    box-shadow: 0 14px 34px -10px rgba(11, 37, 89, 0.09);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
  }
  .related-callout-left { display: flex; align-items: flex-start; gap: 16px; }
  .related-callout-info { display: flex; flex-direction: column; gap: 4px; }
  .related-callout-type {
    font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em;
  }
  .related-callout-title {
    font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink); margin: 0;
  }
  .related-callout-sub { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

  /* ═══════ TARJETA DE AUTOR Y COMPARTIR ═══════ */
  .entry-author-card {
    margin: 48px 0 24px; padding: 28px 28px; border-radius: 22px;
    background: #ffffff; border: 1px solid rgba(0, 105, 229, 0.16);
    box-shadow: 0 14px 36px -10px rgba(11, 37, 89, 0.08);
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  }
  .author-card-avatar {
    width: 68px; height: 68px; border-radius: 50%; background: var(--blue-soft);
    padding: 8px; border: 2px solid var(--blue-border); flex-shrink: 0;
  }
  .author-card-avatar img { width: 100%; height: 100%; object-fit: contain; }
  .author-card-info { flex: 1; min-width: 260px; }
  .author-card-name { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
  .author-card-bio { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 12px; }
  .author-card-links { display: flex; align-items: center; gap: 18px; }

  .share-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 20px; background: var(--bg); border: 1px solid var(--line);
    border-radius: 16px; margin-bottom: 40px; flex-wrap: wrap;
  }
  .share-label { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
  .share-buttons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; background: #fff;
    border: 1px solid var(--line); font-size: 12px; font-family: var(--ui);
    color: var(--ink-soft); cursor: pointer; transition: all 0.2s ease;
  }
  .share-btn:hover { border-color: var(--blue); color: var(--blue); }

  /* ═══════ PAGINACIÓN ANTERIOR / SIGUIENTE ═══════ */
  .entry-pagination-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    margin-bottom: 48px;
  }
  .post-nav-card {
    padding: 20px 22px; border-radius: 18px; background: #ffffff;
    border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
    transition: all 0.3s ease;
  }
  .post-nav-card:hover {
    border-color: var(--blue); transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(0, 105, 229, 0.14);
  }
  .post-nav-card.next { text-align: right; align-items: flex-end; }
  .post-nav-direction { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--blue); font-weight: 700; }
  .post-nav-title { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }

  /* ═══════ LIGHTBOX MODAL ═══════ */
  .lightbox-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; opacity: 0; pointer-events: none;
    transition: opacity 0.28s var(--ease-fluid);
  }
  .lightbox-modal.is-open { opacity: 1; pointer-events: auto; }
  .lightbox-backdrop {
    position: absolute; inset: 0; background: rgba(6, 19, 45, 0.88);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .lightbox-container {
    position: relative; z-index: 2; width: 100%; max-width: 980px;
    background: #091a3c; border: 1px solid rgba(0, 183, 230, 0.25);
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 36px 90px -20px rgba(0, 0, 0, 0.6);
    display: flex; flex-direction: column;
    transform: scale(0.96); transition: transform 0.3s var(--ease-fluid);
  }
  .lightbox-modal.is-open .lightbox-container { transform: scale(1); }
  .lightbox-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 22px; background: #06132d; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .lightbox-info { display: flex; align-items: center; gap: 14px; }
  .lightbox-title { font-family: var(--display); font-size: 16px; color: #fff; font-weight: 500; }
  .lightbox-counter {
    font-family: var(--mono); font-size: 11px; color: #7dd3fc;
    background: rgba(0, 105, 229, 0.2); padding: 2px 8px; border-radius: 999px;
  }
  .lightbox-close {
    width: 32px; height: 32px; border: none; background: transparent;
    color: #cbd5e1; cursor: pointer; border-radius: 8px; font-size: 16px;
    transition: all 0.2s ease;
  }
  .lightbox-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
  .lightbox-stage {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    background: #040c1d; min-height: 380px; max-height: 68vh;
  }
  .lightbox-image-wrap {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    padding: 12px;
  }
  .lightbox-image-wrap img {
    max-height: 64vh; width: auto; max-width: 100%; object-fit: contain;
    border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  .lightbox-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(6, 19, 45, 0.75); backdrop-filter: blur(8px);
    color: #fff; display: grid; place-items: center; cursor: pointer;
    transition: all 0.25s ease;
  }
  .lightbox-nav-btn.prev { left: 16px; }
  .lightbox-nav-btn.next { right: 16px; }
  .lightbox-nav-btn:hover { background: var(--blue); transform: translateY(-50%) scale(1.08); }
  .lightbox-nav-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; }
  .lightbox-footer {
    padding: 12px 22px; background: #06132d; border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px; color: #94a3b8; font-style: italic; text-align: center;
  }

  /* ═══════ RESPONSIVE ENTRADA ═══════ */
  @media (max-width: 860px) {
    .editorial-layout { grid-template-columns: 1fr; gap: 32px; }
    .entry-sidebar { position: static; max-height: none; }
    .specs-box-grid { grid-template-columns: 1fr; }
    .entry-pagination-nav { grid-template-columns: 1fr; }
    .post-nav-card.next { text-align: left; align-items: flex-start; }
    .related-callout-card { flex-direction: column; align-items: stretch; }

    /* MODO COVERFLOW RAIL EN ENTRADAS RELACIONADAS MÓVIL */
    #relatedPostsGrid {
      display: flex !important;
      overflow-x: auto !important;
      scroll-snap-type: x mandatory !important;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      gap: 16px !important;
      padding-block: 12px 24px !important;
      padding-inline: max(10vw, calc(50% - 155px)) !important;
      margin-inline: calc(-1 * clamp(18px, 4vw, 36px)) !important;
      mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
      scrollbar-width: none !important;
    }
    #relatedPostsGrid::-webkit-scrollbar { display: none !important; }
    #relatedPostsGrid > .card {
      flex: 0 0 min(78vw, 310px) !important;
      max-width: 310px !important;
      scroll-snap-align: center !important;
      transition: transform 0.4s var(--ease-fluid), opacity 0.4s ease !important;
    }
    #relatedPostsGrid > .card.is-slide-active {
      transform: scale(1) !important;
      opacity: 1 !important;
    }
    #relatedPostsGrid > .card.is-slide-side {
      transform: scale(0.91) !important;
      opacity: 0.52 !important;
    }
    .mobile-rail-nav { display: flex; }
  }



/* ═══════ FIX: CARD THUMBNAILS, INLINE ARTICLE HEADER & BADGES ═══════ */
.entry-meta-top .badge-float {
  position: static !important;
}
.card-thumb .badge-float,
.featured-card-thumb .badge-float {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 3 !important;
  max-width: calc(100% - 62px);
}
.featured-card-thumb .badge-float {
  top: 14px !important;
  left: 14px !important;
}
.card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  display: block;
}
.card-thumb > a:not(.thumb-corner) {
  display: block;
  width: 100%;
  height: 100%;
}
.card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-fluid);
}
.card:hover .card-thumb img {
  transform: scale(1.05);
}
.thumb-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  line-height: 0;
  opacity: 0;
  transform: translate(-4px, 4px) scale(0.88);
  transition: all 0.4s var(--ease-fluid);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}
.card:hover .thumb-corner {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  color: var(--blue);
}
.card::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(0, 105, 229, 0.075), transparent 65%);
  opacity: 0; transition: opacity 0.4s ease;
}
.card:hover::before { opacity: 1; }


/* ══════════════════════════════════════════════════════════════════════════
 * UNIFIED MULTI-DEVICE ALIGNMENT CONTRACT (PORTRAIT, TABLET, LANDSCAPE)
 * Enforced by Auditor de Alineación Multi-Dispositivo
 * ══════════════════════════════════════════════════════════════════════════ */

/* 1. Header & Menu Alignment (<= 960px) */
@media (max-width: 960px) {
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .nav-links, .nav-github-btn, .nav-btn-text, .nav-kbd-hint {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .nav-actions .icon-btn,
  .icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
    display: inline-flex !important;
  }
  .nav-actions .icon-btn svg,
  .icon-btn svg {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
  }
  .nav-actions .icon-btn .nav-btn-text, .nav-actions .icon-btn .nav-kbd-hint { display: none !important; }
  .nav-cart-btn .cart-count,
  .cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    line-height: 14px !important;
    border-radius: 999px !important;
    border: 2px solid #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    box-shadow: 0 2px 6px rgba(0, 105, 229, 0.4) !important;
  }
  #mobileDrawer,
  .mobile-drawer {
    display: block !important;
    position: fixed !important;
    top: calc(var(--nav-h) + 8px) !important;
    left: 16px !important;
    right: 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid var(--blue-border, rgba(0, 105, 229, 0.2)) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 50px -12px rgba(11, 37, 89, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    padding: 22px 20px !important;
    z-index: 999 !important;
    transform: translateY(-16px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease !important;
  }
  #mobileDrawer.is-open,
  .mobile-drawer.is-open {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .mobile-drawer-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: center !important;
    width: 100% !important;
  }
  .mobile-nav-link {
    font-family: var(--display, inherit) !important;
    font-size: 16.5px !important;
    font-weight: 600 !important;
    color: var(--ink, #0f172a) !important;
    text-decoration: none !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    text-align: center !important;
  }
  .mobile-drawer-cta {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-top: 4px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--line, rgba(226, 232, 240, 0.8)) !important;
  }
}

/* 2 & 3 & 4 & 5. Portrait Mobile Alignment (<= 860px) */
@media (max-width: 860px) {
  /* Hero Center */
  .hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .hero-stats, .hero-meta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
  }
  .hero-visual {
    margin-inline: auto !important;
    max-width: 420px !important;
  }

  /* Section Head & Toolbars Centered */
  .sec-head, .sec-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    gap: 14px !important;
  }
  .sec-head > div, .sec-header > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .eyebrow {
    align-self: flex-start !important;
  }
  .sec-desc {
    text-align: left !important;
  }
  .sec-watermark {
    right: 16px !important;
    left: auto !important;
    text-align: right !important;
  }
  .toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    overflow: visible !important;
  }
  .filter-pills, .tech-filters {
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 4px !important;
  }

  /* Centered Inputs & Placeholders with 38px Safety Padding */
  .search-wrap input,
  .search-wrap input.search-mini,
  .toolbar input,
  .toolbar select,
  #projSearch,
  #shopSearch,
  #blogSearch,
  #contactForm input,
  #contactForm select,
  #contactForm textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  input[type="text"],
  input[type="search"],
  input[type="email"] {
    text-align: center !important;
    padding-inline: 38px !important;
  }
  .search-wrap input::placeholder,
  .toolbar input::placeholder,
  #projSearch::placeholder,
  #shopSearch::placeholder,
  #blogSearch::placeholder,
  #contactForm input::placeholder,
  #contactForm textarea::placeholder,
  .contact-form input::placeholder,
  .contact-form textarea::placeholder,
  input::placeholder,
  textarea::placeholder {
    text-align: center !important;
  }

  /* Coverflow Rails & Cards Centered in Viewport */
  .grid-3:not(.is-grid-mode),
  #relatedPostsGrid:not(.is-grid-mode) {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 14px !important;
    padding-block: 10px 18px !important;
    padding-inline: max(10vw, calc(50% - 155px)) !important;
    margin-inline: calc(-1 * clamp(18px, 4vw, 36px)) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
    scrollbar-width: none !important;
  }
  .grid-3:not(.is-grid-mode)::-webkit-scrollbar,
  #relatedPostsGrid:not(.is-grid-mode)::-webkit-scrollbar {
    display: none !important;
  }
  .grid-3:not(.is-grid-mode) > *,
  #relatedPostsGrid:not(.is-grid-mode) > * {
    flex: 0 0 min(78vw, 310px) !important;
    max-width: 310px !important;
    scroll-snap-align: center !important;
  }
  .mobile-rail-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 18px !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Footer 2-Column Symmetric Stack */
  .fgrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px !important;
    padding-bottom: 28px !important;
  }
  .fgrid .fcol:first-child {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .fgrid .fcol:first-child p {
    margin-inline: auto !important;
    max-width: 44ch !important;
    text-align: center !important;
  }
  .fgrid .fcol:nth-child(2),
  .fgrid .fcol:nth-child(3) {
    text-align: center !important;
  }
  .fgrid .fcol:nth-child(2) ul,
  .fgrid .fcol:nth-child(3) ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .fgrid .fcol:nth-child(4) {
    grid-column: 1 / -1 !important;
    text-align: center !important;
  }
  .fgrid .fcol:nth-child(4) ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .fbar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  /* Floating Cookie Banner Portrait Center */
  #cookieBanner,
  .cookie-banner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    bottom: 12px !important;
    padding: 14px 16px !important;
    gap: 12px !important;
  }
  #cookieBanner .cookie-banner-content,
  .cookie-banner .cookie-banner-content {
    text-align: center !important;
  }
  #cookieBanner .cookie-banner-actions,
  .cookie-banner .cookie-banner-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
  }
}

/* Tablet Portrait & Landscape (861px - 1080px) */
@media (min-width: 861px) and (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  .hero-title {
    font-size: clamp(2.4rem, 4.4vw, 3.2rem) !important;
  }
  .hero-subtitle {
    font-size: 1.15rem !important;
  }
  .hero-visual {
    gap: 12px !important;
  }
  .toolbar {
    padding: 10px 14px !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* Phone Landscape (max-height: 540px and orientation: landscape) */
@media (max-height: 540px) and (orientation: landscape) {
  .hero {
    height: 100svh !important;
    padding-top: calc(var(--nav-h) + 2px) !important;
    padding-bottom: 6px !important;
    justify-content: center !important;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 16px !important;
    align-items: center !important;
  }
  .hero-copy {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .hero-logo-top {
    margin-inline: 0 !important;
    margin-bottom: 4px !important;
  }
  .hero-logo-top img {
    width: 42px !important;
    height: 42px !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.05 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-top: 4px !important;
    text-align: left !important;
  }
  .hero-lead {
    display: none !important;
  }
  .hero-actions {
    margin-top: 8px !important;
    gap: 6px !important;
    justify-content: flex-start !important;
  }
  .hero-actions .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .hero-visual {
    max-width: 340px !important;
    margin: 0 auto !important;
    gap: 8px !important;
  }
  .scroll-down-wrap {
    display: none !important;
  }
  #cookieBanner,
  .cookie-banner {
    bottom: 8px !important;
    padding: 8px 14px !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  #cookieBanner .cookie-banner-content,
  .cookie-banner .cookie-banner-content {
    text-align: left !important;
  }
  #cookieBanner .cookie-banner-actions,
  .cookie-banner .cookie-banner-actions {
    justify-content: flex-end !important;
    width: auto !important;
  }
  .dialog-container {
    max-height: 94vh !important;
    overflow-y: auto !important;
  }
}


  

/* ═══════ ESTILOS CANÓNICOS DE PÁGINAS LEGALES Y COOKIES ═══════ */
/* ═══════ HERO EDITORIAL (CABECERA DE PÁGINA) ═══════ */
  .editorial-hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 40px;
    background: linear-gradient(180deg, rgba(234, 241, 251, 0.6) 0%, rgba(246, 249, 254, 0) 100%);
    border-bottom: 1px solid var(--line);
  }
  .editorial-hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    will-change: transform, opacity, filter;
  }
  .sec-watermark {
    position: absolute;
    top: clamp(18px, 3vw, 34px);
    right: max(3vw, calc((100% - 1220px) / 2 + 24px)) !important;
    left: auto !important;
    transform: none;
    font-family: var(--display);
    font-size: clamp(4.6rem, 11.5vw, 9.8rem);
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.03em;
    color: rgba(0, 105, 229, 0.065);
    pointer-events: none;
    user-select: none;
    line-height: 0.95;
    white-space: nowrap;
    will-change: transform;
    z-index: 0;
  }
  .breadcrumbs {
    display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px;
  }
  .breadcrumbs a { color: var(--muted); }
  .breadcrumbs a:hover { color: var(--blue); }
  .page-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 700;
    background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-border); margin-bottom: 14px;
  }
  .editorial-title {
    font-family: var(--display); font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 500;
    line-height: 1.15; color: var(--ink); letter-spacing: -0.025em; margin-bottom: 12px;
  }
  .editorial-lead {
    font-size: 16.5px; color: var(--ink-soft); max-width: 760px; line-height: 1.6;
  }

  /* ═══════ LAYOUT EDITORIAL CON SIDEBAR STICKY ═══════ */
  .legal-container {
    max-width: 1200px; margin: 0 auto; padding: 48px 24px 80px;
  }
  .legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
  }
  .sticky-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(11, 37, 89, 0.03);
  }
  .sidebar-title {
    font-size: 11.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted); font-weight: 700; margin-bottom: 14px;
  }
  .sidebar-nav {
    display: flex; flex-direction: column; gap: 6px;
  }
  .sidebar-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
    color: var(--ink-soft); transition: all 0.2s ease;
  }
  .sidebar-link:hover {
    background: var(--bg-alt); color: var(--blue);
  }
  .sidebar-link.is-active {
    background: var(--blue-soft); color: var(--blue); font-weight: 600;
  }
  .sidebar-meta {
    margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
    font-size: 12px; color: var(--muted); line-height: 1.5;
  }

  /* ═══════ CONTENIDO DEL DOCUMENTO LEGAL ═══════ */
  .legal-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(11, 37, 89, 0.03);
  }
  .legal-section {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line);
  }
  .legal-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }
  .section-tag {
    display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700;
    text-transform: uppercase; color: var(--blue); background: var(--blue-soft);
    padding: 3px 8px; border-radius: 4px; margin-bottom: 10px;
  }
  .legal-section h2 {
    font-family: var(--display); font-size: 1.75rem; font-weight: 500;
    color: var(--ink); margin-bottom: 16px; letter-spacing: -0.02em;
  }
  .legal-section h3 {
    font-size: 15.5px; font-weight: 700; color: var(--ink); margin-top: 24px; margin-bottom: 8px;
  }
  .legal-section p {
    color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px;
  }
  .legal-section ul {
    margin: 12px 0 16px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7;
  }
  .legal-section li { margin-bottom: 6px; }
  .legal-section code {
    background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--blue-dark);
  }

  /* ═══════ TABLAS DE INVENTARIO DE COOKIES ═══════ */
  .table-responsive {
    width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px;
  }
  .cookie-table {
    width: 100%; border-collapse: collapse; text-align: left; font-size: 13.5px;
  }
  .cookie-table th {
    background: var(--bg-alt); color: var(--ink); font-weight: 600; padding: 12px 16px;
    border-bottom: 1px solid var(--line); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em;
  }
  .cookie-table td {
    padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top;
  }
  .cookie-table tr:last-child td { border-bottom: none; }
  .badge-tag {
    display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-family: var(--mono); font-weight: 600;
  }
  .badge-tech { background: var(--green-soft); color: var(--green); }
  .badge-pref { background: var(--purple-soft); color: var(--purple); }
  .badge-stat { background: var(--amber-soft); color: var(--amber); }

  /* ═══════ PANEL DE CONTROL DE COOKIES INTERACTIVO ═══════ */
  .cookie-panel {
    background: linear-gradient(180deg, var(--surface) 0%, var(--blue-soft) 100%);
    border: 1px solid var(--blue-border);
    border-radius: 16px;
    padding: 24px;
    margin: 28px 0;
    box-shadow: 0 8px 30px rgba(0, 105, 229, 0.06);
  }
  .cookie-panel-head {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
    padding-bottom: 14px; border-bottom: 1px solid rgba(0, 105, 229, 0.15);
  }
  .cookie-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: #fff; border: 1px solid var(--line); color: var(--ink);
  }
  .cookie-panel-item {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid rgba(0, 105, 229, 0.08);
  }
  .cookie-panel-item:last-of-type { border-bottom: none; }
  .cookie-panel-item-info h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
  .cookie-panel-item-info p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

  /* Toggle Switch */
  .toggle-switch {
    position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0;
  }
  .toggle-switch input { opacity: 0; width: 0; height: 0; }
  .toggle-slider {
    position: absolute; cursor: pointer; inset: 0; background-color: var(--line);
    transition: 0.24s; border-radius: 24px;
  }
  .toggle-slider::before {
    position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
    background-color: white; transition: 0.24s; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  }
  input:checked + .toggle-slider { background-color: var(--blue); }
  input:checked + .toggle-slider::before { transform: translateX(20px); }
  input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

  .cookie-panel-actions {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px;
    padding-top: 16px; border-top: 1px solid rgba(0, 105, 229, 0.15);
  }
  .cookie-feedback-toast {
    display: none; padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
    margin-top: 14px;
  }
  .cookie-feedback-toast.is-success {
    display: flex; align-items: center; gap: 8px;
    background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
  }

  /* ═══════ FOOTER ═══════ */
  /* ═══════ FOOTER ═══════ */
  footer {
    background: var(--blue-deep); color: #cbd5e1; padding-block: 64px 28px;
  }
  .fgrid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px;
    max-width: 1220px; margin: 0 auto;
  }
  .fcol h4 {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: #7dd3fc; margin-bottom: 16px;
  }
  .fcol p { font-size: 14px; color: #94a3b8; max-width: 34ch; margin-top: 12px; }
  .fcol ul { list-style: none; display: grid; gap: 10px; font-size: 14px; padding: 0; }
  .fcol a { color: #cbd5e1; text-decoration: none; transition: color 0.2s ease; }
  .fcol a:hover { color: #fff; }
  .fbar {
    border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    font-family: var(--mono); font-size: 11.5px; color: #94a3b8;
    max-width: 1220px; margin: 0 auto;
  }

  

/* ═══════ CORRECCIÓN DE SCROLL Y ALINEACIÓN DE ÍNDICE EN PÁGINAS LEGALES ═══════ */
html {
  scroll-behavior: auto !important;
}
body {
  overflow-x: clip !important;
}
.editorial-hero-inner {
  max-width: 1220px !important;
  margin-inline: auto !important;
  padding-inline: clamp(18px, 4vw, 36px) !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}
.legal-container {
  max-width: 1220px !important;
  margin-inline: auto !important;
  padding: 40px clamp(18px, 4vw, 36px) 80px !important;
}
@media (min-width: 961px) {
  .legal-grid {
    display: grid !important;
    grid-template-columns: 285px minmax(0, 1fr) !important;
    gap: 36px !important;
    align-items: start !important;
  }
  .sticky-sidebar {
    position: sticky !important;
    top: calc(var(--nav-h, 72px) + 24px) !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 28px 22px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    z-index: 5 !important;
  }
  .legal-content {
    position: relative !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 28px 36px 40px !important;
    border-radius: 20px !important;
    min-width: 0 !important;
  }
}
@media (max-width: 960px) {
  .legal-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  .sticky-sidebar {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 20px !important;
    border-radius: 18px !important;
  }
  .legal-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 24px 20px !important;
    border-radius: 18px !important;
    min-width: 0 !important;
  }
}
.legal-section {
  scroll-margin-top: calc(var(--nav-h, 72px) + 24px) !important;
}
.legal-section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}




/* =========================================================================
 * HELLO ELEMENTOR & CONTAINER NEUTRALIZATION OVERRIDES
 * Highest specificity contract for Theme Builder & full-bleed components
 * ========================================================================= */

/* 1. Neutralize Hello Elementor header interference and enforce floating glass header */
body .site-header,
body #siteHeader,
body header.site-header.andorina-site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  z-index: 9999 !important;
  background: rgba(246, 250, 255, 0.78) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

body #siteHeader.scrolled,
body header.site-header.andorina-site-header.scrolled {
  top: 12px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(1200px, calc(100vw - 32px)) !important;
  border-radius: 999px !important;
}

/* 2. Neutralize Elementor wrapper container boxing & padding for full-bleed widgets */
.elementor-location-header .e-con,
.elementor-location-header .e-con-inner,
.elementor-location-footer .e-con,
.elementor-location-footer .e-con-inner,
.elementor-widget-andorina_navigation,
.elementor-widget-andorina_hero,
.elementor-widget-andorina_site_footer,
.elementor-widget-andorina_contact_section,
.elementor-widget-andorina_legal_document,
.elementor-widget-andorina_single_post_content,
.elementor-widget-andorina_single_product_showcase,
.elementor-widget-andorina_project_case_study,
.elementor-widget-andorina_case_study_view {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 3. Escape boxed containers for full-bleed Hero, Contact, and Footer */
.hero-stage.andorina-hero-stage,
.andorina-contact-sec,
.site-footer.andorina-site-footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}

/* 4. Strict SVG sizing constraints (prevent 1048px overflow) */
.contact-link-left svg,
.contact-link-item svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  flex-shrink: 0 !important;
}
.link-arrow .arr-circle svg,
.andorina-arr-circle svg {
  width: 13px !important;
  height: 13px !important;
  flex-shrink: 0 !important;
}
.scroll-down-btn .chevrons svg {
  width: 13px !important;
  height: 13px !important;
  flex-shrink: 0 !important;
}
.card .thumb-corner svg,
.andorina-thumb-corner svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
}
.site-header .nav-actions .icon-btn svg {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0 !important;
}
.hero-logo-top img,
.hero-logo-top svg {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
}

/* 5. Hide residual Hello Elementor theme elements */
header#site-header.site-header:not(.andorina-site-header),
footer#site-footer.site-footer:not(.andorina-site-footer),
body.page .page-header .entry-title {
  display: none !important;
}

/* 6. Enforce .wrap alignment inside content sections */
.content-sec .wrap,
.andorina-content-sec .andorina-wrap,
.sec-slide,
.andorina-sec-slide {
  width: 100% !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
  padding-inline: clamp(18px, 4vw, 40px) !important;
  box-sizing: border-box !important;
}

/* 7. Bento cards photography ratio & cover */
.hv-card img,
.andorina-hv-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}


/* 8. Top offset for subpages and single templates so fixed floating header doesn't cover content */
.entry-hero-sec,
.andorina-single-post-hero,
.andorina-single-post-article,
.andorina-single-post-content,
.andorina-single-product-showcase,
.andorina-legal-document,
.legal-page,
.cookies-page {
  padding-top: calc(var(--and-nav-h, 72px) + 28px) !important;
}


/* 9. Hero Sticky + Peel Sheet Mathematical Contract */
.hero-stage.andorina-hero-stage,
.andorina-hero-stage,
.hero-stage {
  position: relative !important;
  height: 175vh !important;
  min-height: 175vh !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

#heroSticky.hero,
.hero-stage.andorina-hero-stage #heroSticky,
.andorina-hero-stage .hero,
.hero-stage .hero {
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  min-height: 100vh !important;
  padding-top: 88px !important;
  padding-bottom: 48px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

#pageContent.page-content,
.page-content.andorina-peel-sheet,
main.page-content,
.andorina-page-sheet {
  margin-top: -75vh !important;
  position: relative !important;
  z-index: 10 !important;
  background: var(--bg, #f6faff) !important;
  border-radius: 32px 32px 0 0 !important;
  box-shadow: 0 -24px 60px rgba(8, 26, 68, 0.08) !important;
}

/* 10. Neutralize Hello Elementor pink color (#c36) & default link underlines */
body a,
body .btn,
body a.btn,
body .site-header a,
body .hero-stage a,
body .page-content a,
body .site-footer a {
  text-decoration: none !important;
}

body button:not(.btn-primary):not(.shop-add-btn),
body .icon-btn,
body .fpill,
body .rail-btn,
body .qty-btn,
body .share-btn,
body .copy-link-btn {
  color: var(--ink, #0b2559) !important;
  border-color: rgba(0, 105, 229, 0.16) !important;
}

/* Header language switcher */
.nav-lang-switcher a,
.nav-lang-switcher .lang-pill,
.andorina-lang-switcher a,
.andorina-lang-switcher .lang-pill {
  color: var(--ink-soft, #2c4470) !important;
  text-decoration: none !important;
  font-family: var(--mono, monospace) !important;
  font-size: 11.5px !important;
}
.nav-lang-switcher a.active,
.nav-lang-switcher a.is-active,
.andorina-lang-switcher a.active,
.andorina-lang-switcher a.is-active {
  color: var(--blue, #0069e5) !important;
  font-weight: 700 !important;
}
.nav-lang-switcher .lang-sep,
.andorina-lang-switcher .lang-sep {
  color: var(--line, #cbd5e1) !important;
}

/* Hide TranslatePress floating language selector */
#trp-floater-ls,
.trp-floater-ls,
.trp-floating-switcher,
.trp-language-switcher.trp-floating-switcher,
nav.trp-language-switcher {
  display: none !important;
}

/* 11. Floating Cookie Banner Light Glass Contract */
#cookieBanner,
.cookie-banner,
#andorinaCookieBanner,
.andorina-cookie-banner {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9990 !important;
  width: calc(100% - 32px) !important;
  max-width: 800px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 105, 229, 0.24) !important;
  border-radius: 18px !important;
  padding: 16px 22px !important;
  box-shadow: 0 24px 64px -12px rgba(11, 37, 89, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  color: var(--ink, #0f172a) !important;
  box-sizing: border-box !important;
}

#cookieBanner[hidden],
.cookie-banner[hidden],
#andorinaCookieBanner[hidden],
.andorina-cookie-banner[hidden],
#cookieBanner ~ #cookieBanner,
.cookie-banner ~ .cookie-banner,
.andorina-cookie-banner ~ .andorina-cookie-banner {
  display: none !important;
}

.cookie-banner-content,
.andorina-cookie-banner-copy {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--muted, #475569) !important;
}

.cookie-banner-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--ink, #0f172a) !important;
  margin-bottom: 3px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.cookie-banner-actions,
.andorina-cookie-banner-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

#cookieAcceptAllBtn,
.andorina-cookie-btn--primary,
.andorina-cookie-btn-primary {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  border: 1px solid var(--blue, #0069e5) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

#cookieAcceptAllBtn:hover,
.andorina-cookie-btn--primary:hover {
  background: var(--blue-dark, #0050b3) !important;
  border-color: var(--blue-dark, #0050b3) !important;
  transform: translateY(-1px) !important;
}

#cookieOnlyReqBtn,
.andorina-cookie-btn--secondary,
.andorina-cookie-btn-secondary {
  background: #ffffff !important;
  color: var(--ink, #0f172a) !important;
  border: 1px solid var(--line, #cbd5e1) !important;
  border-radius: 999px !important;
  padding: 8px 15px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

#cookieOnlyReqBtn:hover,
.andorina-cookie-btn--secondary:hover {
  background: var(--bg-alt, #f1f5f9) !important;
  border-color: var(--blue, #0069e5) !important;
  color: var(--blue, #0069e5) !important;
}

#cookieConfigureBtn,
.andorina-cookie-btn--ghost,
.andorina-cookie-btn-link {
  background: transparent !important;
  color: var(--muted, #64748b) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

#cookieConfigureBtn:hover,
.andorina-cookie-btn--ghost:hover {
  color: var(--ink, #0f172a) !important;
  text-decoration: underline !important;
}


/* Final Legal Editorial Hero Top Row Adjacent Alignment */
.hero-top-meta,
.andorina-hero-top-meta,
.editorial-hero-top,
.andorina-legal-top-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  position: relative !important;
  margin-bottom: 16px !important;
}

.hero-top-meta .hero-breadcrumb,
.hero-top-meta .eyebrow,
.hero-top-meta .hero-status-pill,
.andorina-hero-top-meta .hero-breadcrumb,
.andorina-hero-top-meta .eyebrow,
.andorina-hero-top-meta .hero-status-pill,
.editorial-hero-top .breadcrumbs,
.editorial-hero-top .hero-breadcrumb,
.editorial-hero-top .page-badge,
.editorial-hero-top .legal-badge,
.editorial-hero-top .editorial-badge,
.editorial-hero-top .status-pill,
.editorial-hero-top .badge-float,
.andorina-legal-top-row .page-badge,
.andorina-legal-top-row .legal-badge,
.andorina-legal-top-row .editorial-badge,
.andorina-legal-top-row .status-pill,
.andorina-legal-top-row .badge-float {
  position: static !important;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

@media (min-width: 861px) {
  .hero-top-meta,
  .andorina-hero-top-meta,
  .editorial-hero-top,
  .andorina-legal-top-row {
    justify-content: flex-start !important;
  }
}
.editorial-hero-top > *,
.andorina-legal-top-row > *,
.editorial-hero-top .breadcrumbs,
.editorial-hero-top .hero-breadcrumb,
.editorial-hero-top .page-badge,
.editorial-hero-top .legal-badge {
  margin: 0 !important;
  margin-inline: 0 !important;
}

/* =========================================================================
 * Final Polishing: Viewport, Scrolled Header, Responsive Rails & Bio Cards
 * ========================================================================= */

/* 1. Prevent horizontal overflow to ensure #heroSticky sticky behavior */
html, body {
  overflow-x: clip !important;
}

/* 2. Header .scrolled single row on desktop (>= 901px) */
@media (min-width: 901px) {
  body #siteHeader.scrolled,
  body header.site-header.andorina-site-header.scrolled {
    width: min(1340px, calc(100vw - 24px)) !important;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding: 0 18px !important;
  }
  body .site-header .header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    white-space: nowrap !important;
    height: 100% !important;
  }
  body .site-header .nav-links,
  body .site-header .nav-actions {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }
}

/* 3. Hide mobile rails and narrative tabs on desktop (>= 861px) */
@media (min-width: 861px) {
  .mobile-rail-nav,
  .andorina-mobile-rail-nav,
  .bio-mobile-tabs,
  .andorina-bio-mobile-tabs {
    display: none !important;
  }
}

/* 4. Add to cart button: soft blue pill matching concept */
body .shop-add-btn,
body .andorina-add-to-cart,
body .card-foot .shop-add-btn,
body button.shop-add-btn,
body a.shop-add-btn {
  background: #eef5ff !important;
  color: #0069e5 !important;
  border: 1px solid rgba(0, 105, 229, 0.18) !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  min-height: 36px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
body .shop-add-btn:hover,
body .andorina-add-to-cart:hover,
body .card-foot .shop-add-btn:hover,
body button.shop-add-btn:hover,
body a.shop-add-btn:hover {
  background: #0069e5 !important;
  color: #ffffff !important;
  border-color: #0069e5 !important;
}

/* 5. Logo Thumb Dark Blue Background & Centered Logo */
body .card-thumb.logo-thumb,
body .andorina-card-thumb.logo-thumb,
body .andorina-logo-thumb {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 25% 20%, rgba(0, 183, 230, 0.42), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(0, 105, 229, 0.55), transparent 60%),
    linear-gradient(145deg, #092356 0%, #06183d 100%) !important;
  padding: 28px !important;
  position: relative !important;
}
body .card-thumb.logo-thumb::before,
body .andorina-card-thumb.logo-thumb::before,
body .andorina-logo-thumb::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  pointer-events: none !important;
}
body .card-thumb.logo-thumb img,
body .andorina-card-thumb.logo-thumb img,
body .andorina-logo-thumb img {
  position: relative !important;
  z-index: 1 !important;
  width: 86px !important;
  height: 86px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)) !important;
  transform: none !important;
}

/* 6. Bio grid & Profile Card styling on desktop (>= 861px) */
.editorial-narrative,
.andorina-narrative {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}
.narrative-block,
.andorina-narrative-block {
  background: var(--surface, #ffffff) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 22px !important;
  padding: 28px 30px !important;
  box-shadow: 0 10px 28px -12px rgba(11, 37, 89, 0.07) !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease !important;
}
.narrative-block:hover,
.andorina-narrative-block:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(0, 105, 229, 0.3) !important;
}
.narrative-kicker,
.andorina-narrative-kicker {
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--blue, #0069e5) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 6px !important;
  display: block !important;
}
.narrative-title,
.andorina-narrative-title {
  font-family: var(--display, 'Fraunces', Georgia, serif) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  color: var(--ink, #0f172a) !important;
  margin-bottom: 12px !important;
}
.narrative-block p,
.andorina-narrative-block p {
  font-size: 14.8px !important;
  color: var(--ink-soft, #334155) !important;
  line-height: 1.72 !important;
  margin: 0 !important;
}

@media (min-width: 861px) {
  .cv-layout,
  .andorina-cv-layout,
  .andorina-profile-widget-wrap,
  .bio-grid,
  .profile-editorial-grid,
  .about-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    gap: 36px !important;
    align-items: start !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .editorial-narrative .narrative-block,
  .andorina-narrative .narrative-block {
    display: block !important;
  }
}
@media (max-width: 860px) {
  .cv-layout,
  .andorina-cv-layout,
  .andorina-profile-widget-wrap,
  .bio-grid,
  .profile-editorial-grid,
  .about-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .bio-card,
  .andorina-bio-card {
    padding: 20px !important;
  }
  .editorial-narrative .narrative-block:not(.is-tab-active),
  .andorina-narrative .narrative-block:not(.is-tab-active) {
    display: none !important;
  }
  .editorial-narrative .narrative-block.is-tab-active,
  .andorina-narrative .narrative-block.is-tab-active {
    display: block !important;
  }
}



/* =========================================================================
 * 16. THEME OVERRIDE SHIELD & COMPLETE PARITY (Hello Elementor Neutralizer)
 * ========================================================================= */

/* Universal Button Neutralization & High Specificity Parity */
html body button,
html body [type="button"],
html body [type="reset"],
html body [type="submit"],
html body .btn,
html body .andorina-btn {
  font-family: var(--ui, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  text-transform: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 999px !important;
  line-height: 1.3 !important;
}

/* Base .btn */
html body .btn,
html body .andorina-btn,
html body a.btn,
html body a.andorina-btn,
html body button.btn,
html body button.andorina-btn,
html body [type="button"].btn,
html body [type="submit"].btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  font-family: var(--ui, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 13px 25px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: transform 0.45s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow 0.45s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)),
              background 0.35s ease,
              color 0.35s ease,
              border-color 0.35s ease !important;
}

/* Primary Button (.btn-primary) */
html body .btn-primary,
html body .andorina-btn-primary,
html body button.btn-primary,
html body button.andorina-btn-primary,
html body [type="submit"].btn-primary,
html body [type="button"].btn-primary,
html body a.btn-primary,
html body a.andorina-btn-primary {
  background: linear-gradient(135deg, var(--blue, #0069e5), var(--blue-dark, #0642d9)) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 10px 24px -6px rgba(0, 105, 229, 0.42) !important;
}
html body .btn-primary:hover,
html body .andorina-btn-primary:hover,
html body button.btn-primary:hover,
html body button.andorina-btn-primary:hover,
html body [type="submit"].btn-primary:hover,
html body [type="button"].btn-primary:hover,
html body a.btn-primary:hover,
html body a.andorina-btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 32px -6px rgba(0, 105, 229, 0.56) !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue, #0069e5), var(--blue-dark, #0642d9)) !important;
  border-color: transparent !important;
}

/* Outline Button (.btn-outline) */
html body .btn-outline,
html body .andorina-btn-outline,
html body button.btn-outline,
html body button.andorina-btn-outline,
html body [type="button"].btn-outline,
html body a.btn-outline,
html body a.andorina-btn-outline {
  background: var(--surface, #ffffff) !important;
  border: 1px solid var(--line, #dce6f3) !important;
  color: var(--ink, #0f172a) !important;
  box-shadow: none !important;
}
html body .btn-outline:hover,
html body .andorina-btn-outline:hover,
html body button.btn-outline:hover,
html body button.andorina-btn-outline:hover,
html body [type="button"].btn-outline:hover,
html body a.btn-outline:hover,
html body a.andorina-btn-outline:hover {
  border-color: var(--blue, #0069e5) !important;
  color: var(--blue, #0069e5) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(0, 105, 229, 0.09) !important;
  background: #ffffff !important;
}

/* Ghost Button (.btn-ghost) */
html body .btn-ghost,
html body .andorina-btn-ghost,
html body button.btn-ghost,
html body button.andorina-btn-ghost,
html body [type="button"].btn-ghost,
html body a.btn-ghost,
html body a.andorina-btn-ghost {
  background: var(--blue-soft, #eaf3ff) !important;
  color: var(--blue-dark, #0642d9) !important;
  font-size: 13.5px !important;
  padding: 12px 21px !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}
html body .btn-ghost:hover,
html body .andorina-btn-ghost:hover,
html body button.btn-ghost:hover,
html body button.andorina-btn-ghost:hover,
html body [type="button"].btn-ghost:hover,
html body a.btn-ghost:hover,
html body a.andorina-btn-ghost:hover {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  border-color: transparent !important;
}

html body .btn-sm {
  font-size: 13px !important;
  padding: 8px 16px !important;
}

/* Filter Bars & Filter Tabs (.filter-bar, .filter-tabs, .filter-tab, .fpill, .andorina-fpill) */
html body .toolbar,
html body .andorina-toolbar,
html body .filter-bar,
html body .andorina-filter-bar {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 28px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 8px 12px !important;
  border-radius: 18px !important;
  border: 1px solid var(--line, #dce6f3) !important;
  box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.08) !important;
  box-sizing: border-box !important;
}

html body .filter-pills,
html body .andorina-filter-pills,
html body .filter-tabs,
html body .andorina-filter-tabs {
  position: relative !important;
  display: inline-flex !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
  padding: 3px !important;
  border-radius: 999px !important;
  background: #f1f6fd !important;
  border: none !important;
  box-sizing: border-box !important;
}

html body .fpill-glider,
html body .andorina-fpill-glider {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--blue, #0069e5), var(--blue-dark, #0642d9)) !important;
  box-shadow: 0 6px 16px rgba(0, 105, 229, 0.3) !important;
  transition: transform 0.52s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)),
              width 0.52s var(--ease-fluid),
              height 0.52s var(--ease-fluid) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Inactive Filter Tabs: Clean, rounded pill, NO ugly grey border! */
html body .fpill,
html body .andorina-fpill,
html body .filter-tab,
html body .andorina-filter-tab,
html body .andorina-filter-btn,
html body button.fpill,
html body button.andorina-fpill,
html body button.filter-tab,
html body button.andorina-filter-tab,
html body button.andorina-filter-btn {
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: var(--ui, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink-soft, #334155) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease !important;
}

html body .fpill svg,
html body .andorina-fpill svg,
html body .filter-tab svg,
html body .andorina-filter-btn svg {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

html body .fpill:hover:not(.active):not(.is-active),
html body .andorina-fpill:hover:not(.active):not(.is-active),
html body .filter-tab:hover:not(.active):not(.is-active),
html body .andorina-filter-btn:hover:not(.active):not(.is-active),
html body button.fpill:hover:not(.active):not(.is-active),
html body button.filter-tab:hover:not(.active):not(.is-active) {
  color: var(--blue, #0069e5) !important;
  background: rgba(0, 105, 229, 0.05) !important;
  border: 1px solid transparent !important;
}

/* Active Filter Tab: Blue background, white text */
html body .fpill.active,
html body .fpill.is-active,
html body .andorina-fpill.active,
html body .andorina-fpill.is-active,
html body .filter-tab.active,
html body .filter-tab.is-active,
html body .andorina-filter-btn.active,
html body .andorina-filter-btn.is-active,
html body .shop-filter-btn.active,
html body .shop-filter-btn.is-active,
html body button.fpill.active,
html body button.fpill.is-active,
html body button.filter-tab.active,
html body button.filter-tab.is-active,
html body button.andorina-filter-btn.active,
html body button.andorina-filter-btn.is-active,
html body button.shop-filter-btn.active,
html body button.shop-filter-btn.is-active {
  color: #ffffff !important;
  background: var(--blue, #0069e5) !important;
  border-color: var(--blue, #0069e5) !important;
  box-shadow: 0 4px 12px rgba(0, 105, 229, 0.28) !important;
}

html body .fpill .count,
html body .andorina-fpill .count,
html body .filter-tab .count,
html body .andorina-count {
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 11px !important;
  opacity: 0.8 !important;
}

html body .fpill.active .count,
html body .fpill.is-active .count,
html body .andorina-fpill.active .count,
html body .filter-tab.active .count,
html body .filter-tab.active span,
html body .andorina-filter-btn.active .count,
html body .andorina-filter-btn.active .andorina-count,
html body button.fpill.active .count,
html body button.filter-tab.active span,
html body button.andorina-filter-btn.active .count {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  padding: 1px 7px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  display: inline-block !important;
}

/* Search Wraps & Search Inputs: High-specificity padding to avoid icon overlap */
html body .search-wrap,
html body .andorina-search-wrap,
html body .filter-search-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-width: 270px !important;
  box-sizing: border-box !important;
}

html body .search-wrap svg,
html body .andorina-search-wrap svg,
html body .filter-search-wrap svg {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 15px !important;
  height: 15px !important;
  stroke: var(--muted, #64748b) !important;
  stroke-width: 2.1 !important;
  fill: none !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: stroke 0.3s ease !important;
}

html body .search-mini,
html body .andorina-search-mini,
html body .filter-search,
html body .andorina-filter-search,
html body .andorina-portfolio-search-input,
html body .andorina-blog-search,
html body .andorina-shop-search,
html body input.search-mini,
html body input.andorina-search-mini,
html body input.filter-search,
html body input.andorina-filter-search,
html body input[type="search"].search-mini,
html body input[type="search"].andorina-search-mini,
html body input[type="search"].filter-search,
html body input[type="search"].andorina-filter-search,
html body input[type="text"].search-mini,
html body input[type="text"].filter-search {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(11, 42, 91, 0.12) !important;
  border-radius: 999px !important;
  padding: 8px 16px 8px 38px !important;
  padding-left: 38px !important;
  font-family: var(--ui, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  font-size: 13px !important;
  background: #f4f8ff !important;
  color: var(--ink, #0f172a) !important;
  outline: none !important;
  line-height: 1.4 !important;
  height: 38px !important;
  box-shadow: none !important;
  transition: all 0.35s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)) !important;
}

html body .search-mini:focus,
html body .andorina-search-mini:focus,
html body .filter-search:focus,
html body input.search-mini:focus,
html body input[type="search"].search-mini:focus,
html body input.filter-search:focus {
  border-color: var(--blue, #0069e5) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(0, 105, 229, 0.14) !important;
}

html body .search-wrap:focus-within svg,
html body .andorina-search-wrap:focus-within svg,
html body .filter-search-wrap:focus-within svg {
  stroke: var(--blue, #0069e5) !important;
}

/* Action Pills & Secondary Buttons */
html body .shop-add-btn,
html body .andorina-add-to-cart,
html body .add-to-cart-btn,
html body button.shop-add-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: var(--ui, 'Inter', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: var(--blue-soft, #eaf3ff) !important;
  color: var(--blue-dark, #0642d9) !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}
html body .shop-add-btn:hover,
html body .andorina-add-to-cart:hover,
html body button.shop-add-btn:hover {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

html body .page-btn,
html body .pagination-btn,
html body .andorina-rail-btn,
html body .rail-btn,
html body button.page-btn,
html body button.rail-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid var(--line, #dce6f3) !important;
  color: var(--ink, #0f172a) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: all 0.25s ease !important;
}
html body .page-btn:hover,
html body .rail-btn:hover,
html body button.rail-btn:hover {
  border-color: var(--blue, #0069e5) !important;
  color: var(--blue, #0069e5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 105, 229, 0.15) !important;
}

html body .view-mode-btn,
html body .andorina-mview-btn,
html body button.view-mode-btn,
html body button.andorina-mview-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1px solid var(--line, #dce6f3) !important;
  background: #ffffff !important;
  color: var(--ink-soft, #334155) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
html body .view-mode-btn.is-active,
html body .andorina-mview-btn.is-active,
html body button.view-mode-btn.is-active {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  border-color: var(--blue, #0069e5) !important;
}

html body .lang-btn,
html body .lang-pill,
html body .andorina-lang-btn,
html body a.lang-pill,
html body a.lang-btn {
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  color: var(--ink-soft, #334155) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
html body .lang-btn.active,
html body .lang-pill.active {
  color: var(--blue, #0069e5) !important;
  background: var(--blue-soft, #eaf3ff) !important;
}

html body .action-pill,
html body .copy-chip,
html body .andorina-copy-btn,
html body a.copy-chip,
html body button.copy-chip {
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--blue-dark, #0642d9) !important;
  background: #eef4ff !important;
  border: 1px solid rgba(0, 105, 229, 0.24) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
}
html body .action-pill:hover,
html body .copy-chip:hover,
html body .andorina-copy-btn:hover {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  border-color: var(--blue, #0069e5) !important;
}

/* Bio Tab Buttons (Profile Card mobile tabs) */
html body .bio-tab-btn,
html body .andorina-bio-tab-btn,
html body button.bio-tab-btn,
html body button.andorina-bio-tab-btn {
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: none !important;
  background: transparent !important;
  color: var(--ink-soft, #334155) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}
html body .bio-tab-btn.active,
html body .andorina-bio-tab-btn.active,
html body button.bio-tab-btn.active,
html body button.andorina-bio-tab-btn.active {
  background: #ffffff !important;
  color: var(--blue, #0069e5) !important;
  box-shadow: 0 2px 8px rgba(0, 105, 229, 0.14) !important;
}

/* Contact Grid & Two-Column Form Layout */
html body .contact-grid,
html body .andorina-contact-grid {
  display: grid !important;
  grid-template-columns: 0.92fr 1.08fr !important;
  gap: 32px !important;
  align-items: stretch !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
}
@media (max-width: 900px) {
  html body .contact-grid,
  html body .andorina-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

html body .contact-info-card,
html body .contact-form-card,
html body .andorina-contact-info-card,
html body .andorina-contact-form-card {
  background: var(--surface, #ffffff) !important;
  border: 1px solid rgba(0, 105, 229, 0.14) !important;
  border-radius: 20px !important;
  padding: clamp(24px, 3.5vw, 36px) !important;
  box-shadow: 0 12px 36px -10px rgba(11, 37, 89, 0.08) !important;
  box-sizing: border-box !important;
}
html body .contact-info-card,
html body .andorina-contact-info-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}
html body .contact-badge-wrap,
html body .andorina-contact-badge-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #059669 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  width: fit-content !important;
}
html body .contact-pulse-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6) !important;
  animation: contactPulse 2s infinite cubic-bezier(0.45, 0, 0.55, 1) !important;
}
@keyframes contactPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
html body .contact-info-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ink, #0f172a) !important;
  line-height: 1.3 !important;
}
html body .contact-info-desc {
  font-size: 14px !important;
  color: var(--muted, #64748b) !important;
  line-height: 1.6 !important;
  margin-top: 6px !important;
}
html body .contact-links-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
html body .contact-link-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(0, 105, 229, 0.1) !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
}
html body .contact-link-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  color: var(--ink, #0f172a) !important;
  font-weight: 500 !important;
}
html body .contact-link-left svg {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0 !important;
  color: var(--blue, #0069e5) !important;
}

/* Contact Form & Form Inputs */
html body .contact-form,
html body .andorina-contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
html body .form-group,
html body .andorina-form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
}
html body .form-group label,
html body .andorina-form-group label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink, #0f172a) !important;
  margin-bottom: 2px !important;
  text-align: left !important;
}
html body .form-group input,
html body .form-group select,
html body .form-group textarea,
html body .form-input,
html body .form-select,
html body .form-textarea,
html body .field-input,
html body input.form-input,
html body select.form-select,
html body textarea.form-textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 11px 14px !important;
  font-family: var(--ui, 'Inter', -apple-system, sans-serif) !important;
  font-size: 14px !important;
  color: var(--ink, #0f172a) !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 105, 229, 0.18) !important;
  border-radius: 10px !important;
  outline: none !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
html body .form-group select,
html body .form-select {
  appearance: auto !important;
  cursor: pointer !important;
}
html body .form-group textarea,
html body .form-textarea {
  resize: vertical !important;
  min-height: 95px !important;
}
html body .form-group input:focus,
html body .form-group select:focus,
html body .form-group textarea:focus,
html body .form-input:focus,
html body .form-select:focus,
html body .form-textarea:focus {
  border-color: var(--blue, #0069e5) !important;
  box-shadow: 0 0 0 3px rgba(0, 105, 229, 0.15) !important;
}

html body .contact-rgpd {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 12.5px !important;
  color: var(--muted, #64748b) !important;
  cursor: pointer !important;
  line-height: 1.45 !important;
  margin-top: 4px !important;
}
html body .contact-rgpd input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin-top: 2px !important;
  accent-color: var(--blue, #0069e5) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  border-radius: 4px !important;
  border: 1px solid rgba(0, 105, 229, 0.3) !important;
}
html body .contact-rgpd a {
  color: var(--blue, #0069e5) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
html body .contact-submit-btn,
html body button.contact-submit-btn,
html body [type="submit"].contact-submit-btn {
  width: 100% !important;
  padding: 13px 25px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--blue, #0069e5), var(--blue-dark, #0642d9)) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px -6px rgba(0, 105, 229, 0.42) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
html body .contact-submit-btn:hover,
html body button.contact-submit-btn:hover,
html body [type="submit"].contact-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px -6px rgba(0, 105, 229, 0.54) !important;
}

/* Cookie System & Modal Buttons */
html body .cookie-btn,
html body .andorina-cookie-btn,
html body .cookie-banner .btn,
html body .dialog-footer .btn,
html body .cookie-panel-actions .btn,
html body button.cookie-btn,
html body #liveSaveBtn,
html body #liveAcceptAllBtn,
html body #liveRejectOptionalBtn,
html body #liveRevokeAllBtn,
html body #cookieAcceptAllBtn,
html body #cookieRejectOptionalBtn,
html body #cookieConfigureBtn {
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

html body #liveSaveBtn,
html body #cookieAcceptAllBtn,
html body .andorina-cookie-btn-primary {
  background: var(--blue, #0069e5) !important;
  color: #ffffff !important;
  border-color: var(--blue, #0069e5) !important;
}

html body #liveAcceptAllBtn,
html body #liveRejectOptionalBtn,
html body #cookieConfigureBtn,
html body #cookieRejectOptionalBtn,
html body .andorina-cookie-btn-secondary {
  background: #ffffff !important;
  color: var(--ink, #0f172a) !important;
  border: 1px solid var(--line, #dce6f3) !important;
}

html body #liveRevokeAllBtn {
  background: #ffffff !important;
  color: #b91c1c !important;
  border: 1px solid rgba(220, 38, 38, 0.35) !important;
}

/* Cookie switches & toggles */
html body .cookie-toggle input,
html body .toggle-switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
html body .cookie-slider,
html body .toggle-slider {
  position: absolute !important;
  cursor: pointer !important;
  inset: 0 !important;
  background-color: #cbd5e1 !important;
  transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: 24px !important;
}
html body .cookie-slider:before,
html body .toggle-slider:before {
  position: absolute !important;
  content: "" !important;
  height: 18px !important;
  width: 18px !important;
  left: 3px !important;
  bottom: 3px !important;
  background-color: white !important;
  transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}
html body input:checked + .cookie-slider,
html body input:checked + .toggle-slider {
  background-color: var(--blue, #0069e5) !important;
}
html body input:checked + .cookie-slider:before,
html body input:checked + .toggle-slider:before {
  transform: translateX(20px) !important;
}

/* Cookie Table Parity */
html body .cookie-table,
html body .andorina-cookie-table {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
  font-size: 13.5px !important;
}
html body .cookie-table th,
html body .andorina-cookie-table th {
  background: var(--bg-alt, #eaf1fb) !important;
  color: var(--ink, #0f172a) !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--line, #dce6f3) !important;
  font-size: 12.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}
html body .cookie-table td,
html body .andorina-cookie-table td {
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--line, #dce6f3) !important;
  color: var(--ink-soft, #334155) !important;
  vertical-align: top !important;
}

/* Timeline CV Parity */
html body .timeline,
html body .andorina-timeline-cv {
  position: relative !important;
  padding-left: 32px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}
html body .timeline::before,
html body .andorina-timeline-cv::before {
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  top: 16px !important;
  bottom: 16px !important;
  width: 3px !important;
  background: var(--line, #dce6f3) !important;
  border-radius: 3px !important;
}
html body .timeline-fill,
html body .andorina-timeline-fill {
  position: absolute !important;
  left: 7px !important;
  top: 16px !important;
  width: 3px !important;
  background: linear-gradient(to bottom, var(--blue, #0069e5), var(--cyan, #00b7e6)) !important;
  border-radius: 3px !important;
  z-index: 1 !important;
  will-change: height !important;
}
html body .tl-item,
html body .andorina-tl-item {
  position: relative !important;
  background: var(--surface, #ffffff) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  box-shadow: 0 10px 28px -14px rgba(11, 37, 89, 0.08) !important;
  transition: border-color 0.4s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)),
              transform 0.4s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow 0.4s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)) !important;
}
html body .tl-item.is-active,
html body .andorina-tl-item.is-active {
  border-color: rgba(0, 105, 229, 0.35) !important;
  box-shadow: 0 16px 36px -14px rgba(0, 105, 229, 0.18) !important;
}
html body .tl-item:hover,
html body .andorina-tl-item:hover {
  border-color: rgba(0, 105, 229, 0.5) !important;
  transform: translateX(5px) !important;
}
html body .tl-dot,
html body .andorina-tl-dot {
  position: absolute !important;
  left: -32px !important;
  top: 26px !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background: var(--surface, #ffffff) !important;
  border: 3px solid #cbd5e1 !important;
  z-index: 2 !important;
  transition: transform 0.35s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.35s ease !important;
}
html body .tl-item.is-active .tl-dot,
html body .andorina-tl-item.is-active .andorina-tl-dot {
  background: var(--blue, #0069e5) !important;
  border-color: var(--blue, #0069e5) !important;
  transform: scale(1.25) !important;
  box-shadow: 0 0 0 6px rgba(0, 105, 229, 0.18) !important;
}
html body .tl-date,
html body .andorina-tl-date {
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 11px !important;
  color: var(--muted, #64748b) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  transition: color 0.3s ease !important;
}
html body .tl-item.is-active .tl-date,
html body .andorina-tl-item.is-active .andorina-tl-date {
  color: var(--blue, #0069e5) !important;
}
html body .tl-role,
html body .andorina-tl-role {
  font-family: var(--display, 'Fraunces', serif) !important;
  font-size: 19.5px !important;
  font-weight: 600 !important;
  color: var(--ink, #0f172a) !important;
  margin-top: 3px !important;
}
html body .tl-place,
html body .andorina-tl-place {
  font-size: 13px !important;
  color: var(--muted, #64748b) !important;
  font-weight: 600 !important;
  font-family: var(--mono, 'Space Mono', monospace) !important;
  margin-bottom: 8px !important;
}
html body .tl-desc,
html body .andorina-tl-desc {
  font-size: 14px !important;
  color: var(--ink-soft, #334155) !important;
  line-height: 1.68 !important;
}
html body .tl-tags,
html body .andorina-timeline-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 12px !important;
}
html body .tl-tags span,
html body .andorina-timeline-tags span {
  font-family: var(--mono, 'Space Mono', monospace) !important;
  font-size: 10.5px !important;
  color: #1e3a8a !important;
  background: var(--blue-soft, #eaf3ff) !important;
  border: 1px solid var(--blue-border, #cde2ff) !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
}

/* Sticky Aligned Sidebars (TOC & Legal) */
html body .sticky-sidebar,
html body .entry-sidebar {
  position: sticky !important;
  top: calc(var(--nav-h, 72px) + 24px) !important;
  align-self: start !important;
}
