/* =========================================================================
   Orinon Pro — child theme stylesheet
   Shared brand tokens with the Orinon Credit app.
   Token-driven: change :root to reskin the whole site.
   ========================================================================= */

:root {
  /* Brand indigo — professional purple with bluish blend (Tailwind indigo) */
  --o-primary-50:   238 242 255;
  --o-primary-100:  224 231 255;
  --o-primary-200:  199 210 254;
  --o-primary-300:  165 180 252;
  --o-primary-400:  129 140 248;
  --o-primary-500:  99 102 241;
  --o-primary-600:  79 70 229;
  --o-primary-700:  67 56 202;
  --o-primary-800:  55 48 163;
  --o-primary-900:  49 46 129;
  /* Secondary accent — sky blue, blends into indigo */
  --o-accent-blue-300: 147 197 253;
  --o-accent-blue-500: 59 130 246;

  /* Ink / neutral scale (dark-mode-ready navy) */
  --o-ink-50:   248 250 252;
  --o-ink-100:  241 245 249;
  --o-ink-200:  226 232 240;
  --o-ink-300:  203 213 225;
  --o-ink-400:  148 163 184;
  --o-ink-500:  100 116 139;
  --o-ink-600:   71  85 105;
  --o-ink-700:   51  65  85;
  --o-ink-800:   30  41  59;
  --o-ink-900:   15  23  42;
  --o-ink-950:   10  18  32;

  --o-accent-500: 22 163 74;   /* emerald */
  --o-danger-500: 220 38 38;
  --o-warn-500:   245 158 11;

  /* Semantic */
  --o-bg:        rgb(var(--o-ink-50));
  --o-bg-muted:  rgb(var(--o-ink-100));
  --o-text:      rgb(var(--o-ink-900));
  --o-text-mute: rgb(var(--o-ink-500));
  --o-border:    rgb(var(--o-ink-200));
  --o-primary:   rgb(var(--o-primary-600));
  --o-primary-hover: rgb(var(--o-primary-700));

  --o-radius-sm: 8px;
  --o-radius:    12px;
  --o-radius-lg: 16px;
  --o-radius-xl: 24px;

  --o-shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.06);
  --o-shadow:     0 6px 16px -6px rgb(0 0 0 / 0.12), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --o-shadow-lg:  0 24px 48px -16px rgb(0 0 0 / 0.18);

  --o-container: 1280px;

  --o-font:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --o-font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Glass design tokens — consistent frosted-panel language */
  --o-glass-bg:         rgba(248, 250, 252, 0.72);
  --o-glass-bg-strong:  rgba(248, 250, 252, 0.88);
  --o-glass-bg-soft:    rgba(248, 250, 252, 0.55);
  --o-glass-blur:       blur(22px) saturate(1.25);
  --o-glass-blur-lg:    blur(32px) saturate(1.3);
  --o-glass-border:     rgba(129, 140, 248, 0.15);
  --o-glass-border-lg:  rgba(129, 140, 248, 0.22);
  --o-glass-highlight:  rgba(255, 255, 255, 0.6);
  --o-glass-shadow:
    0 30px 60px -28px rgba(49, 46, 129, 0.22),
    0 10px 24px -14px rgba(15, 23, 42, 0.12);
  --o-glass-shadow-lg:
    0 40px 80px -32px rgba(49, 46, 129, 0.28),
    0 16px 32px -18px rgba(15, 23, 42, 0.16);
  --o-glass-radius:     var(--o-radius-xl);
  /* SVG grain texture — adds a subtle film-grain feel to premium glass */
  --o-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.39 0 0 0 0 0.40 0 0 0 0 0.95 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================================================================
   Base resets / typography
   ========================================================================= */
html { scroll-behavior: smooth; }
body.orinon-theme,
body.orinon-theme .site {
  font-family: var(--o-font);
  color: var(--o-text);
  background: var(--o-bg);
  -webkit-font-smoothing: antialiased;
}
body.orinon-theme h1,
body.orinon-theme h2,
body.orinon-theme h3,
body.orinon-theme h4 {
  font-family: var(--o-font-head);
  letter-spacing: -0.015em;
  font-weight: 700;
  color: rgb(var(--o-ink-900));
}
body.orinon-theme h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
body.orinon-theme h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.15; }

body.orinon-theme a { color: rgb(var(--o-primary-700)); transition: color .15s ease; }
body.orinon-theme a:hover { color: rgb(var(--o-primary-600)); }

body.orinon-theme *:focus-visible {
  outline: 2px solid rgb(var(--o-primary-500));
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================================
   Site-wide gradient background — applies to ALL pages
   Warm cream → peach → soft cream with radial accents. Not white.
   ========================================================================= */
body.orinon-theme {
  background:
    radial-gradient(ellipse 1000px 600px at 80% -5%, rgba(129, 140, 248, 0.22), transparent 60%),
    radial-gradient(ellipse 800px 500px at 5% 105%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 55%, rgba(34, 197, 94, 0.08), transparent 70%),
    linear-gradient(160deg,
      #f8fafc 0%,
      #eef2ff 30%,
      #f5f3ff 60%,
      #e0e7ff 85%,
      #eef2ff 100%) !important;
  background-attachment: fixed !important;
}
/* Make inner content wrappers transparent so the body gradient shines through */
body.orinon-theme #content.site-content { background: transparent !important; }
body.orinon-theme #page { background: transparent !important; }
body.orinon-theme.woocommerce-shop,
body.orinon-theme.woocommerce-archive,
body.orinon-theme.woocommerce-cart,
body.orinon-theme.woocommerce-checkout,
body.orinon-theme.single-product,
body.orinon-theme.woocommerce-account {
  background:
    radial-gradient(ellipse 1000px 600px at 80% -5%, rgba(129, 140, 248, 0.22), transparent 60%),
    radial-gradient(ellipse 800px 500px at 5% 105%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 55%, rgba(34, 197, 94, 0.08), transparent 70%),
    linear-gradient(160deg, #f8fafc 0%, #eef2ff 30%, #f5f3ff 60%, #e0e7ff 85%, #eef2ff 100%) !important;
  background-attachment: fixed !important;
}

/* =========================================================================
   Homepage background — animated mesh on top of the base gradient
   ========================================================================= */
body.orinon-home {
  position: relative;
  overflow-x: hidden;
  /* Background inherited from body.orinon-theme (site-wide gradient) */
}

/* Subtle grain texture + dot pattern overlay for premium depth */
body.orinon-home::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.045) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
  opacity: 0.55;
}

/* Drifting orbs container */
.o-bg-waves {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.o-bg-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

/* Visible, saturated orbs — brand orange leads, accents support */
.o-bg-orb--1 {
  width: 560px; height: 560px;
  top: -120px; left: -140px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.78) 0%, rgba(129, 140, 248, 0) 70%);
  animation: oOrbDrift1 22s ease-in-out infinite alternate;
}
.o-bg-orb--2 {
  width: 640px; height: 640px;
  top: 8%; right: -200px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.55) 0%, rgba(79, 70, 229, 0) 70%);
  animation: oOrbDrift2 28s ease-in-out infinite alternate;
}
.o-bg-orb--3 {
  width: 500px; height: 500px;
  top: 46%; left: 8%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.38) 0%, rgba(34, 197, 94, 0) 70%);
  animation: oOrbDrift3 34s ease-in-out infinite alternate;
}
.o-bg-orb--4 {
  width: 580px; height: 580px;
  bottom: 12%; right: 6%;
  background: radial-gradient(circle, rgba(165, 180, 252, 0.6) 0%, rgba(165, 180, 252, 0) 70%);
  animation: oOrbDrift4 26s ease-in-out infinite alternate;
}
.o-bg-orb--5 {
  width: 460px; height: 460px;
  bottom: -100px; left: 26%;
  background: radial-gradient(circle, rgba(165, 180, 252, 0.35) 0%, rgba(165, 180, 252, 0) 70%);
  animation: oOrbDrift5 30s ease-in-out infinite alternate;
}

@keyframes oOrbDrift1 {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate(120px, 180px) scale(1.1) rotate(12deg); }
  100% { transform: translate(240px, 300px) scale(1.22) rotate(-10deg); }
}
@keyframes oOrbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-160px, 120px) scale(1.15); }
  100% { transform: translate(-300px, 260px) scale(1.08); }
}
@keyframes oOrbDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(140px, -160px) scale(1.2); }
  100% { transform: translate(280px, -320px) scale(1.3); }
}
@keyframes oOrbDrift4 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-140px, -140px) scale(1.14); }
  100% { transform: translate(-260px, -280px) scale(1.1); }
}
@keyframes oOrbDrift5 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(90px, -90px) scale(1.12); }
  100% { transform: translate(200px, -200px) scale(1.2); }
}

/* Ensure content paints above backdrop */
body.orinon-home > *:not(.o-bg-waves):not(.o-bg-objects),
body.woocommerce-shop > *:not(.o-bg-waves):not(.o-bg-objects),
body.woocommerce-archive > *:not(.o-bg-waves):not(.o-bg-objects),
body.single-product > *:not(.o-bg-waves):not(.o-bg-objects) {
  position: relative;
  z-index: 1;
}
/* Keep the decorative layers firmly behind content on every page */
body.orinon-theme .o-bg-waves,
body.orinon-theme .o-bg-objects {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none;
}
/* Shop/archive: dial down object density so phones stay the hero */
body.woocommerce-shop .o-bg-obj,
body.woocommerce-archive .o-bg-obj,
body.single-product .o-bg-obj {
  opacity: 0.14;
}
body.woocommerce-shop .o-bg-obj:nth-child(n+11),
body.woocommerce-archive .o-bg-obj:nth-child(n+11),
body.single-product .o-bg-obj:nth-child(n+9) {
  display: none;
}
/* Ensure the WooCommerce product grid layer is always above decorations */
body.woocommerce-shop .woocommerce,
body.woocommerce-archive .woocommerce,
body.single-product .woocommerce,
body.woocommerce-shop ul.products,
body.woocommerce-archive ul.products,
body.single-product div.product {
  position: relative;
  z-index: 2;
}
/* Product cards must paint solid enough to read against a busy backdrop */
body.orinon-theme.woocommerce-shop .woocommerce ul.products li.product,
body.orinon-theme.woocommerce-archive .woocommerce ul.products li.product {
  background: #fff !important;
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.18), 0 2px 6px -2px rgba(15, 23, 42, 0.08);
}
body.orinon-theme.woocommerce-shop .woocommerce ul.products li.product img,
body.orinon-theme.woocommerce-archive .woocommerce ul.products li.product img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Homepage hero — keep transparent so waves shine through */
body.orinon-home .o-hero {
  background: transparent !important;
}
body.orinon-home .o-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 50% 0%, rgba(255, 255, 255, 0.3), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body.orinon-home .o-hero > *:not(.o-hero__mesh):not(.o-hero__flyers) { position: relative; z-index: 1; }

/* Let the sections with their own strong background stay crisp */
body.orinon-home .o-banner,
body.orinon-home .o-trust {
  position: relative;
  z-index: 2;
}

/* =========================================================================
   Homepage glass system — professional, uniform frosted panels
   Every major section on the homepage inherits the same glass language
   (bg, blur, border, highlight, shadow, radius, grain) so the whole page
   reads as a single premium glass interface over the warm gradient body.
   ========================================================================= */

/* Reusable glass utility — apply to any container to get the house glass */
.o-glass,
.o-glass--soft,
.o-glass--strong {
  position: relative;
  background: var(--o-glass-bg);
  -webkit-backdrop-filter: var(--o-glass-blur);
  backdrop-filter: var(--o-glass-blur);
  border: 1px solid var(--o-glass-border);
  border-radius: var(--o-glass-radius);
  box-shadow:
    inset 0 1px 0 var(--o-glass-highlight),
    var(--o-glass-shadow);
  isolation: isolate;
}
.o-glass--soft   { background: var(--o-glass-bg-soft); }
.o-glass--strong {
  background: var(--o-glass-bg-strong);
  border-color: var(--o-glass-border-lg);
  box-shadow:
    inset 0 1px 0 var(--o-glass-highlight),
    var(--o-glass-shadow-lg);
}
/* ---- Homepage sections: apply glass language via ::before shelf ---- */
body.orinon-home .o-section {
  position: relative;
  isolation: isolate;
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
body.orinon-home .o-section > * {
  position: relative;
  z-index: 1;
}
body.orinon-home .o-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    var(--o-grain),
    var(--o-glass-bg);
  background-size: 160px 160px, auto;
  background-blend-mode: overlay, normal;
  -webkit-backdrop-filter: var(--o-glass-blur);
  backdrop-filter: var(--o-glass-blur);
  border: 0;
  box-shadow: none;
  pointer-events: none;
  /* Fade edges to transparent so sections bleed into each other — no
     visible panel boundary. Vertical fade is the primary one (sections
     stack vertically); horizontal fade keeps the side edges soft too. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 6%,  #000 94%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 6%,  #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* ---- Trust strip: contained glass panel (was a full-bleed white band) ---- */
body.orinon-home .o-trust {
  max-width: var(--o-container);
  margin: clamp(24px, 4vw, 48px) auto;
  padding: 0 20px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}
body.orinon-home .o-trust::before {
  content: '';
  position: absolute;
  inset: -40px 0;
  z-index: 0;
  background:
    var(--o-grain),
    var(--o-glass-bg-strong);
  background-size: 160px 160px, auto;
  background-blend-mode: overlay, normal;
  -webkit-backdrop-filter: var(--o-glass-blur);
  backdrop-filter: var(--o-glass-blur);
  border: 0;
  box-shadow: none;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 8%,  #000 92%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 8%,  #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
body.orinon-home .o-trust .o-trust__grid {
  position: relative;
  z-index: 1;
  padding: 40px clamp(24px, 4vw, 48px);
}

/* ---- Category chips row: glass panel ---- */
body.orinon-home .o-chips {
  position: relative;
  isolation: isolate;
  padding: 22px clamp(24px, 4vw, 48px) !important;
  margin: clamp(16px, 3vw, 32px) auto !important;
  max-width: calc(var(--o-container) - 40px);
}
body.orinon-home .o-chips::before {
  content: '';
  position: absolute;
  inset: -20px 0;
  z-index: 0;
  background:
    var(--o-grain),
    var(--o-glass-bg-soft);
  background-size: 160px 160px, auto;
  background-blend-mode: overlay, normal;
  -webkit-backdrop-filter: var(--o-glass-blur);
  backdrop-filter: var(--o-glass-blur);
  border: 0;
  box-shadow: none;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 6%,  #000 94%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 6%,  #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
body.orinon-home .o-chips > * {
  position: relative;
  z-index: 1;
}

/* ---- Hero gets a floating glass shelf under text column (mesh still
   visible everywhere else, content feels anchored) ---- */
body.orinon-home .o-hero__content {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 4vw, 44px);
}
body.orinon-home .o-hero__content::before {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: 0;
  background:
    var(--o-grain),
    var(--o-glass-bg-soft);
  background-size: 160px 160px, auto;
  background-blend-mode: overlay, normal;
  -webkit-backdrop-filter: var(--o-glass-blur);
  backdrop-filter: var(--o-glass-blur);
  border: 0;
  box-shadow: none;
  pointer-events: none;
  -webkit-mask-image:
    radial-gradient(ellipse 95% 85% at 50% 50%, #000 40%, transparent 95%);
  mask-image:
    radial-gradient(ellipse 95% 85% at 50% 50%, #000 40%, transparent 95%);
}
body.orinon-home .o-hero__content > * {
  position: relative;
  z-index: 1;
}
body.orinon-home .o-hero__content > * {
  position: relative;
  z-index: 1;
}

/* Safari fallback — no backdrop-filter support: fall back to solid tint */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.orinon-home .o-section::before,
  body.orinon-home .o-trust::before,
  body.orinon-home .o-chips::before,
  body.orinon-home .o-hero__content,
  .o-glass, .o-glass--soft, .o-glass--strong {
    background: rgba(248, 250, 252, 0.94) !important;
  }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .o-bg-orb { animation: none !important; }
}

/* =========================================================================
   Drifting electronic objects — homepage only
   Line-art icons that float behind content with slow, varied paths.
   ========================================================================= */
.o-bg-objects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.o-bg-obj {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--o-primary-700));
  opacity: 0.18;
  will-change: transform, opacity;
  transform-origin: center;
  transform: rotate(var(--o-rot, 0deg));
}
.o-bg-obj svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 1.2;
}

/* Alternate colours for variety */
.o-bg-obj:nth-child(3n) { color: rgb(var(--o-primary-500)); opacity: 0.14; }
.o-bg-obj:nth-child(4n) { color: rgb(var(--o-accent-500));  opacity: 0.12; }
.o-bg-obj:nth-child(5n) { color: rgb(96, 165, 250);         opacity: 0.12; }
.o-bg-obj:nth-child(7n) { color: rgb(var(--o-ink-700));     opacity: 0.10; }

/* Six drift variants — each differs in direction, speed, rotation */
.o-bg-obj--a1 { animation: oDriftA 34s ease-in-out infinite alternate; }
.o-bg-obj--a2 { animation: oDriftB 40s ease-in-out infinite alternate; }
.o-bg-obj--a3 { animation: oDriftC 28s ease-in-out infinite alternate; }
.o-bg-obj--a4 { animation: oDriftD 38s ease-in-out infinite alternate; }
.o-bg-obj--a5 { animation: oDriftE 44s ease-in-out infinite alternate; }
.o-bg-obj--a6 { animation: oDriftF 32s ease-in-out infinite alternate; }

@keyframes oDriftA {
  0%   { transform: translate(0, 0)        rotate(var(--o-rot, 0deg)); }
  50%  { transform: translate(60px, -40px) rotate(calc(var(--o-rot, 0deg) + 18deg)); }
  100% { transform: translate(120px, 80px) rotate(calc(var(--o-rot, 0deg) - 12deg)); }
}
@keyframes oDriftB {
  0%   { transform: translate(0, 0)          rotate(var(--o-rot, 0deg)); }
  50%  { transform: translate(-80px, 50px)   rotate(calc(var(--o-rot, 0deg) - 15deg)); }
  100% { transform: translate(-140px, -80px) rotate(calc(var(--o-rot, 0deg) + 20deg)); }
}
@keyframes oDriftC {
  0%   { transform: translate(0, 0)         rotate(var(--o-rot, 0deg)); }
  50%  { transform: translate(70px, 90px)   rotate(calc(var(--o-rot, 0deg) + 14deg)); }
  100% { transform: translate(-40px, 140px) rotate(calc(var(--o-rot, 0deg) - 22deg)); }
}
@keyframes oDriftD {
  0%   { transform: translate(0, 0)          rotate(var(--o-rot, 0deg)); }
  50%  { transform: translate(-60px, -70px)  rotate(calc(var(--o-rot, 0deg) + 10deg)); }
  100% { transform: translate(90px, -130px)  rotate(calc(var(--o-rot, 0deg) - 18deg)); }
}
@keyframes oDriftE {
  0%   { transform: translate(0, 0)         rotate(var(--o-rot, 0deg)); }
  50%  { transform: translate(110px, 30px)  rotate(calc(var(--o-rot, 0deg) - 16deg)); }
  100% { transform: translate(50px, -100px) rotate(calc(var(--o-rot, 0deg) + 24deg)); }
}
@keyframes oDriftF {
  0%   { transform: translate(0, 0)           rotate(var(--o-rot, 0deg)); }
  50%  { transform: translate(-100px, -60px)  rotate(calc(var(--o-rot, 0deg) + 12deg)); }
  100% { transform: translate(-160px, 90px)   rotate(calc(var(--o-rot, 0deg) - 20deg)); }
}

/* Pause drift on smaller screens + when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .o-bg-obj { animation: none !important; }
}
@media (max-width: 640px) {
  .o-bg-obj { opacity: .12; }
  .o-bg-obj:nth-child(n+8) { display: none; } /* thin out on small screens */
}

/* =========================================================================
   SVG wave dividers — sit between major sections
   ========================================================================= */
.o-wave-divider {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
  margin: 0;
  display: block;
  line-height: 0;
}
.o-wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}
.o-wave-divider--flip svg { transform: scaleX(-1); }
.o-wave-divider--up svg { transform: scaleY(-1); }
.o-wave-divider path {
  fill: rgba(255, 255, 255, 0.55);
}
body.orinon-home .o-wave-divider path {
  fill: rgba(255, 255, 255, 0.7);
}

/* =========================================================================
   Scroll-reveal (IntersectionObserver adds .is-in-view)
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1),
              transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"].is-in-view { transition-delay: .08s; }
[data-reveal][data-delay="2"].is-in-view { transition-delay: .16s; }
[data-reveal][data-delay="3"].is-in-view { transition-delay: .24s; }
[data-reveal][data-delay="4"].is-in-view { transition-delay: .32s; }
[data-reveal][data-delay="5"].is-in-view { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   Floating sparkle dots in hero
   ========================================================================= */
.o-sparkle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgb(var(--o-primary-500));
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.8);
  pointer-events: none;
  opacity: 0;
  animation: oSparkle 4s ease-in-out infinite;
}
.o-sparkle--s2 { animation-duration: 5s; animation-delay: .8s; width: 4px; height: 4px; background: rgb(var(--o-accent-500)); box-shadow: 0 0 10px rgba(34,197,94,.7); }
.o-sparkle--s3 { animation-duration: 6s; animation-delay: 1.6s; width: 8px; height: 8px; }
.o-sparkle--s4 { animation-duration: 4.5s; animation-delay: 2.2s; width: 5px; height: 5px; background: rgb(96, 165, 250); box-shadow: 0 0 10px rgba(129,140,248,.7); }
@keyframes oSparkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  30% { opacity: 1; transform: translateY(-20px) scale(1); }
  70% { opacity: 1; transform: translateY(-40px) scale(1); }
}

/* =========================================================================
   3D tilt product cards (JS adds tilt via inline transform)
   ========================================================================= */
body.orinon-theme .woocommerce ul.products li.product {
  transform-style: preserve-3d;
}
body.orinon-theme .woocommerce ul.products li.product.is-tilting {
  transition: transform .1s ease-out, box-shadow .2s ease;
}

/* =========================================================================
   Animated section title underline (on enter view, not hover)
   ========================================================================= */
.o-section__head.is-in-view .o-section__title::after {
  opacity: 1 !important;
  animation: oUnderline 1.2s cubic-bezier(.2,.8,.2,1) .3s both;
}
@keyframes oUnderline {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.o-section__title::after {
  transform-origin: center;
  transform: scaleX(0);
}

/* =========================================================================
   Cross-site top banner (credit ↔ store)
   ========================================================================= */
.o-topbar {
  background: linear-gradient(90deg, rgb(var(--o-ink-900)) 0%, rgb(var(--o-ink-800)) 100%);
  color: rgb(var(--o-ink-100));
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: .02em;
}
.o-topbar__inner { max-width: var(--o-container); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.o-topbar__pill { background: rgb(var(--o-primary-500)); color: rgb(var(--o-ink-950)); padding: 2px 9px; border-radius: 999px; font-weight: 700; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.o-topbar a.o-topbar__cta { color: rgb(var(--o-primary-300)); font-weight: 600; text-decoration: none; white-space: nowrap; }
.o-topbar a.o-topbar__cta:hover { color: rgb(var(--o-primary-200)); }

/* =========================================================================
   Sticky translucent site header
   ========================================================================= */
body.orinon-theme #masthead,
body.orinon-theme .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}
body.orinon-theme .site-branding img,
body.orinon-theme .custom-logo {
  max-height: 40px !important;
  width: auto !important;
}
body.orinon-theme .main-navigation a {
  color: rgb(var(--o-ink-700));
  font-weight: 500;
  transition: color .15s ease;
}
body.orinon-theme .main-navigation a:hover {
  color: rgb(var(--o-primary-600));
}

/* =========================================================================
   Homepage hero
   ========================================================================= */
.o-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(22,163,74,.12), transparent 60%),
    linear-gradient(180deg, rgb(var(--o-ink-50)) 0%, rgb(var(--o-ink-100)) 100%);
  padding: clamp(48px, 8vw, 96px) 0;
}
.o-hero__inner { max-width: var(--o-container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .o-hero__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.o-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.12); color: rgb(var(--o-primary-700));
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid rgba(99,102,241,.2);
}
.o-hero__title {
  font-family: var(--o-font-head);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: rgb(var(--o-ink-900));
  margin: 18px 0 0;
}
.o-hero__title span { color: rgb(var(--o-primary-600)); }
.o-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: rgb(var(--o-ink-600));
  margin: 20px 0 32px;
  max-width: 560px;
  line-height: 1.55;
}
.o-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
/* =========================================================================
   Typewriter word in hero title
   ========================================================================= */
.o-type {
  display: inline-block;
  position: relative;
  color: rgb(var(--o-primary-600));
  min-width: 2ch;
}
.o-type__word {
  display: inline-block;
  background: linear-gradient(135deg, rgb(var(--o-primary-500)) 0%, rgb(var(--o-primary-700)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.o-type__caret {
  display: inline-block;
  width: 3px;
  height: 1em;
  vertical-align: -0.12em;
  margin-left: 3px;
  background: rgb(var(--o-primary-500));
  border-radius: 2px;
  animation: oBlink 1s steps(2) infinite;
}
@keyframes oBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .o-type__caret { animation: none; opacity: .6; }
}

/* =========================================================================
   Hero product slider — stacked-deck with 3D perspective
   ========================================================================= */
.o-hero__content { max-width: 620px; }

.o-hero__slider {
  position: relative;
  width: 100%;
  height: clamp(380px, 45vw, 500px);
  perspective: 1400px;
  user-select: none;
}
.o-hero__slider-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.o-hero__slide {
  position: absolute;
  top: 50%; left: 50%;
  width: min(340px, 85%);
  height: 78%;
  margin: 0; padding: 0;
  background: #fff;
  border-radius: var(--o-radius-xl);
  box-shadow: var(--o-shadow-lg);
  border: 1px solid rgb(var(--o-ink-200));
  overflow: hidden;
  transform: translate(-50%, -50%) scale(.6) translateZ(-800px);
  opacity: 0;
  transition: transform .6s cubic-bezier(.4,0,.2,1),
              opacity .6s cubic-bezier(.4,0,.2,1),
              box-shadow .6s ease;
  pointer-events: none;
  will-change: transform, opacity;
}
/* Card positions — active, next (behind-right), prev (behind-left), far */
.o-hero__slide.is-active  { transform: translate(-50%, -50%) scale(1)   translateZ(0); opacity: 1; pointer-events: auto; z-index: 4; }
.o-hero__slide.is-next    { transform: translate(-20%, -50%) scale(.82) translateZ(-140px) rotateY(-14deg); opacity: .55; z-index: 3; }
.o-hero__slide.is-prev    { transform: translate(-80%, -50%) scale(.82) translateZ(-140px) rotateY(14deg);  opacity: .55; z-index: 3; }
.o-hero__slide.is-next-2  { transform: translate(-5%,  -50%) scale(.68) translateZ(-280px) rotateY(-20deg); opacity: .25; z-index: 2; }
.o-hero__slide.is-prev-2  { transform: translate(-95%, -50%) scale(.68) translateZ(-280px) rotateY(20deg);  opacity: .25; z-index: 2; }

.o-hero__slide-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.o-hero__slide-media {
  flex: 1;
  min-height: 0;
  background:
    radial-gradient(circle at 30% 30%, rgb(var(--o-primary-50)), rgb(var(--o-ink-50)) 70%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.o-hero__slide-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(15,23,42,.15));
  transition: transform .5s ease;
}
.o-hero__slide.is-active:hover .o-hero__slide-media img { transform: translateY(-4px) scale(1.03); }
.o-hero__slide-meta {
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid rgb(var(--o-ink-200));
}
.o-hero__slide-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(var(--o-primary-700));
  margin-bottom: 4px;
}
.o-hero__slide-name {
  font-size: 15px;
  font-weight: 700;
  color: rgb(var(--o-ink-900));
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.o-hero__slide-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 10px;
}
.o-hero__slide-price {
  font-size: 22px;
  font-weight: 800;
  color: rgb(var(--o-ink-900));
}
.o-hero__slide-credit {
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--o-primary-700));
  background: rgb(var(--o-primary-50));
  border: 1px solid rgb(var(--o-primary-200));
  padding: 3px 10px;
  border-radius: 999px;
}

/* Slider controls (prev / dots / next) */
.o-hero__slider-controls {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--o-shadow);
  border: 1px solid rgb(var(--o-ink-200));
  z-index: 5;
}
.o-hero__nav {
  appearance: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgb(var(--o-ink-100));
  color: rgb(var(--o-ink-700));
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.o-hero__nav:hover {
  background: rgb(var(--o-primary-600));
  color: #fff;
}
.o-hero__nav:active { transform: scale(.92); }
.o-hero__nav svg { width: 18px; height: 18px; }
.o-hero__dots { display: flex; gap: 6px; align-items: center; }
.o-hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgb(var(--o-ink-300));
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all .2s ease;
}
.o-hero__dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: rgb(var(--o-primary-500));
}
.o-hero__dot:hover { background: rgb(var(--o-primary-400)); }

/* Credit teaser card (re-styled) */
.o-hero__creditcard {
  position: absolute;
  left: 50%; top: 12px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: var(--o-shadow);
  padding: 10px 16px 10px 12px;
  white-space: nowrap;
  font-size: 13px;
  border: 1px solid rgb(var(--o-ink-200));
  z-index: 5;
}
.o-hero__creditcard-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgb(var(--o-primary-500));
  box-shadow: 0 0 0 4px rgba(99,102,241,.2);
  animation: oPulse 2s ease-in-out infinite;
}
@keyframes oPulse { 50% { box-shadow: 0 0 0 8px rgba(99,102,241,.08); } }
.o-hero__creditcard strong { font-weight: 700; color: rgb(var(--o-ink-900)); display: block; line-height: 1; }
.o-hero__creditcard span { color: rgb(var(--o-ink-500)); font-size: 11px; display: block; margin-top: 2px; }
.o-hero__creditcard a { color: rgb(var(--o-primary-600)); font-weight: 600; text-decoration: none; }

/* On narrow screens, simpler slider */
@media (max-width: 768px) {
  .o-hero__slider { height: 440px; margin-top: 32px; }
  .o-hero__slide { width: 78%; }
  .o-hero__slide.is-prev-2,
  .o-hero__slide.is-next-2 { display: none; }
}

/* =========================================================================
   Buttons — match credit app btn-primary / btn-secondary
   ========================================================================= */
.o-btn,
body.orinon-theme .button,
body.orinon-theme button[type="submit"],
body.orinon-theme .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--o-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--o-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .1s ease, background-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.o-btn:active,
body.orinon-theme .button:active { transform: scale(.98); }

.o-btn--primary,
body.orinon-theme .button.alt,
body.orinon-theme .button.button-primary,
body.orinon-theme #place_order,
body.orinon-theme .single_add_to_cart_button,
body.orinon-theme .checkout-button,
body.orinon-theme .wc-block-components-button:not(.is-link),
body.orinon-theme .wp-element-button:not(.is-style-outline) {
  background-color: rgb(var(--o-primary-600));
  color: #fff !important;
  box-shadow: var(--o-shadow-sm);
}
.o-btn--primary:hover,
body.orinon-theme .button.alt:hover,
body.orinon-theme .single_add_to_cart_button:hover,
body.orinon-theme #place_order:hover,
body.orinon-theme .checkout-button:hover,
body.orinon-theme .wp-element-button:not(.is-style-outline):hover {
  background-color: rgb(var(--o-primary-700));
  color: #fff !important;
}

.o-btn--ghost,
body.orinon-theme .button:not(.alt):not(.button-primary):not(.single_add_to_cart_button) {
  background: #fff;
  color: rgb(var(--o-ink-900));
  border: 1px solid rgb(var(--o-ink-200));
}
.o-btn--ghost:hover { background: rgb(var(--o-ink-100)); }

/* =========================================================================
   Category chips row (below hero)
   ========================================================================= */
.o-chips {
  max-width: var(--o-container);
  margin: 0 auto;
  padding: 32px 20px 8px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.o-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: rgb(var(--o-ink-800));
  border: 1px solid rgb(var(--o-ink-200));
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
  box-shadow: var(--o-shadow-sm);
}
.o-chip:hover {
  color: rgb(var(--o-primary-700));
  border-color: rgb(var(--o-primary-300));
  background: rgb(var(--o-primary-50));
  transform: translateY(-1px);
  box-shadow: var(--o-shadow);
}
.o-chip svg { width: 16px; height: 16px; }

/* =========================================================================
   Section helpers
   ========================================================================= */
.o-section { max-width: var(--o-container); margin: 0 auto; padding: 72px 20px; }
.o-section__head { text-align: center; margin-bottom: 40px; }
.o-section__eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--o-primary-600)); }
.o-section__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin: 10px 0 8px; }
.o-section__sub { font-size: 1rem; color: rgb(var(--o-ink-500)); max-width: 600px; margin: 0 auto; }

/* =========================================================================
   Product cards (Woostify + WC override)
   Card has NO overflow: hidden, so hover buttons are never clipped.
   The image is clipped separately via a wrapper.
   ========================================================================= */
body.orinon-theme .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
@media (min-width: 640px) { body.orinon-theme .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { body.orinon-theme .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); } }

body.orinon-theme .woocommerce ul.products li.product {
  position: relative;
  background: #fff;
  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow-sm);
  border: 1px solid rgb(var(--o-ink-200));
  transition: transform .25s cubic-bezier(.4,0,.2,1),
              box-shadow .25s cubic-bezier(.4,0,.2,1),
              border-color .25s ease;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: visible !important; /* critical: let hover buttons escape */
  display: flex;
  flex-direction: column;
}
body.orinon-theme .woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--o-shadow);
  border-color: rgb(var(--o-primary-200));
  z-index: 2;
}
body.orinon-theme .woocommerce ul.products li.product::before { display: none !important; } /* strip Woostify default overlays */

/* Image wrapper — handles its own rounded clipping */
body.orinon-theme .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
}
body.orinon-theme .woocommerce ul.products li.product a.woocommerce-LoopProduct-link > img,
body.orinon-theme .woocommerce ul.products li.product img.attachment-woocommerce_thumbnail,
body.orinon-theme .woocommerce ul.products li.product img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgb(var(--o-ink-50));
  border-radius: var(--o-radius-sm);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  margin: 0 !important;
}
body.orinon-theme .woocommerce ul.products li.product:hover img { transform: scale(1.05); }

body.orinon-theme .woocommerce ul.products li.product h2.woocommerce-loop-product__title,
body.orinon-theme .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: rgb(var(--o-ink-900)) !important;
  margin: 12px 0 4px !important;
  padding: 0 !important;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.orinon-theme .woocommerce ul.products li.product .price {
  margin: 0 0 6px !important;
  font-weight: 800;
}
body.orinon-theme .woocommerce ul.products li.product .price,
body.orinon-theme .woocommerce ul.products li.product .price .amount,
body.orinon-theme .woocommerce ul.products li.product .price ins {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: rgb(var(--o-ink-900)) !important;
}
body.orinon-theme .woocommerce ul.products li.product .price del .amount {
  color: rgb(var(--o-ink-400)) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  margin-right: 6px;
}

/* "From $X/mo on credit" chip */
.o-credit-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 4px;
  padding: 4px 10px;
  background: rgb(var(--o-primary-50));
  color: rgb(var(--o-primary-700));
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgb(var(--o-primary-200));
  width: auto;
  max-width: 100%;
}
.o-credit-line::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgb(var(--o-primary-500));
  flex-shrink: 0;
}
.o-credit-line a { color: inherit; text-decoration: none; }

/* Add-to-cart button within each card */
body.orinon-theme .woocommerce ul.products li.product .button,
body.orinon-theme .woocommerce ul.products li.product .added_to_cart {
  display: block !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border-radius: var(--o-radius-sm) !important;
}
/* Yith / Woostify quick-view/wishlist floating buttons — keep them visible */
body.orinon-theme .woocommerce ul.products li.product .woostify-quickview,
body.orinon-theme .woocommerce ul.products li.product .product-loop-action,
body.orinon-theme .woocommerce ul.products li.product .tinvwl_add_to_wishlist-wrapper {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
body.orinon-theme .woocommerce ul.products li.product:hover .woostify-quickview,
body.orinon-theme .woocommerce ul.products li.product:hover .product-loop-action,
body.orinon-theme .woocommerce ul.products li.product:hover .tinvwl_add_to_wishlist-wrapper {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   Single product page
   ========================================================================= */
body.orinon-theme .woocommerce div.product { gap: 48px; }
body.orinon-theme .woocommerce div.product .product_title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: rgb(var(--o-ink-900));
}
body.orinon-theme .woocommerce div.product p.price,
body.orinon-theme .woocommerce div.product span.price,
body.orinon-theme .woocommerce div.product .price ins {
  color: rgb(var(--o-ink-900)) !important;
  font-size: 28px !important;
  font-weight: 800 !important;
}
body.orinon-theme .woocommerce div.product form.cart {
  margin-top: 24px;
  padding: 20px;
  background: rgb(var(--o-ink-50));
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
}
body.orinon-theme .woocommerce-tabs { margin-top: 40px; }
body.orinon-theme .woocommerce-tabs ul.tabs li.active { border-color: rgb(var(--o-primary-500)) !important; }
body.orinon-theme .woocommerce-tabs ul.tabs li.active a { color: rgb(var(--o-primary-700)) !important; }

/* Buy on credit button (injected under Add to Cart) */
.o-buy-on-credit {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--o-radius);
  background: linear-gradient(135deg, rgb(var(--o-primary-600)) 0%, rgb(var(--o-primary-700)) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--o-shadow);
  transition: transform .1s ease, box-shadow .15s ease;
}
.o-buy-on-credit:hover {
  transform: translateY(-1px);
  box-shadow: var(--o-shadow-lg);
  color: #fff;
}
.o-buy-on-credit__meta { display: flex; flex-direction: column; gap: 2px; }
.o-buy-on-credit__tag { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--o-primary-100)); font-weight: 500; }
.o-buy-on-credit__amt { font-size: 16px; font-weight: 800; }
.o-buy-on-credit__arrow { font-size: 14px; }

/* =========================================================================
   Cart + checkout polish
   ========================================================================= */
body.orinon-theme .woocommerce-cart table.shop_table,
body.orinon-theme .woocommerce-checkout table.shop_table {
  border-radius: var(--o-radius);
  overflow: hidden;
  border: 1px solid rgb(var(--o-ink-200));
  box-shadow: var(--o-shadow-sm);
  background: #fff;
}
body.orinon-theme .woocommerce-cart .cart-collaterals .cart_totals,
body.orinon-theme .woocommerce-checkout #order_review,
body.orinon-theme .woocommerce-checkout #customer_details > div {
  background: #fff;
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
  padding: 24px;
  box-shadow: var(--o-shadow-sm);
}
body.orinon-theme .woocommerce-checkout #customer_details label { font-weight: 500; color: rgb(var(--o-ink-700)); }
body.orinon-theme .woocommerce input[type="text"],
body.orinon-theme .woocommerce input[type="email"],
body.orinon-theme .woocommerce input[type="tel"],
body.orinon-theme .woocommerce input[type="password"],
body.orinon-theme .woocommerce textarea,
body.orinon-theme .woocommerce select,
body.orinon-theme .select2-container--default .select2-selection--single {
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  background: #fff !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}
body.orinon-theme .woocommerce input:focus,
body.orinon-theme .woocommerce textarea:focus,
body.orinon-theme .woocommerce select:focus {
  border-color: rgb(var(--o-primary-500)) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
  outline: none !important;
}

/* =========================================================================
   Trust signals row
   ========================================================================= */
.o-trust {
  background: #fff;
  border-top: 1px solid rgb(var(--o-ink-200));
  border-bottom: 1px solid rgb(var(--o-ink-200));
}
.o-trust__grid {
  max-width: var(--o-container);
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .o-trust__grid { grid-template-columns: repeat(4, 1fr); } }
.o-trust__item { display: flex; align-items: center; gap: 14px; }
.o-trust__ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: rgb(var(--o-primary-50)); color: rgb(var(--o-primary-700)); display: flex; align-items: center; justify-content: center; }
.o-trust__ico svg { width: 22px; height: 22px; }
.o-trust__title { font-weight: 700; font-size: 14px; color: rgb(var(--o-ink-900)); }
.o-trust__sub { font-size: 12px; color: rgb(var(--o-ink-500)); margin-top: 2px; }

/* =========================================================================
   Footer (dark navy, matches credit app)
   Our custom footer is injected inside Woostify's <footer id="colophon">
   so we paint the outer element dark and break out of Woostify's container.
   ========================================================================= */
body.orinon-theme #colophon.site-footer,
body.orinon-theme footer#colophon,
body.orinon-theme .site-footer {
  background: rgb(var(--o-ink-900)) !important;
  color: rgb(var(--o-ink-300)) !important;
  padding: 0 !important;
  margin-top: 80px !important;
  border: 0 !important;
}
/* Kill Woostify container padding inside the footer — we handle it ourselves */
body.orinon-theme #colophon .woostify-container,
body.orinon-theme .site-footer .woostify-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Hide any stray Woostify default footer blocks that might have slipped through */
body.orinon-theme .site-footer .footer-bottom-widget-column-wrapper,
body.orinon-theme .site-footer .footer-widgets,
body.orinon-theme .site-footer .site-info {
  display: none !important;
}

.o-footer {
  background: rgb(var(--o-ink-900));
  color: rgb(var(--o-ink-300));
  width: 100%;
}
.o-footer__inner { max-width: var(--o-container); margin: 0 auto; padding: 56px 20px 28px; }
.o-footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
@media (min-width: 720px) { .o-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.o-footer__brand-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.o-footer__brand-dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, rgb(var(--o-primary-500)), rgb(var(--o-primary-700))); display: inline-flex; }
.o-footer__tag { font-size: 14px; line-height: 1.6; color: rgb(var(--o-ink-400)); max-width: 320px; }
.o-footer__col h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-family: var(--o-font); }
.o-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.o-footer__col a { color: rgb(var(--o-ink-400)); text-decoration: none; font-size: 14px; transition: color .15s ease; }
.o-footer__col a:hover { color: #fff; }
.o-footer__contact { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.o-footer__contact a { color: rgb(var(--o-ink-400)); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.o-footer__divider { border-top: 1px solid rgba(255,255,255,.08); margin: 24px 0; }
.o-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: rgb(var(--o-ink-500)); }
.o-footer__bottom a { color: rgb(var(--o-ink-400)); }

/* Credit chip in footer */
.o-footer__credit-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.15);
  color: rgb(var(--o-primary-300));
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  border: 1px solid rgba(99,102,241,.25);
}

/* =========================================================================
   Utility + motion
   ========================================================================= */
.o-fade-in { animation: oFadeIn .6s ease both; }
@keyframes oFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.o-rise-in { animation: oRise .6s ease both; }
@keyframes oRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   Hide Woostify elements we replace
   ========================================================================= */
body.orinon-theme .woostify-top-bar { display: none !important; }
body.orinon-theme .footer-bottom-widget-column-wrapper .widget_text { /* replaced by o-footer */ }

/* Small screen polish */
@media (max-width: 640px) {
  .o-hero__inner { padding: 0 16px; }
  .o-chips { padding: 24px 12px 8px; }
  .o-section { padding: 48px 16px; }
}

/* =========================================================================
   Shop / archive page
   Respects Woostify's sidebar layout, restyles widgets, kills distortion.
   ========================================================================= */
body.orinon-theme.woocommerce-shop,
body.orinon-theme.woocommerce-archive,
body.orinon-theme.woocommerce-cart,
body.orinon-theme.woocommerce-checkout,
body.orinon-theme.single-product {
  background: rgb(var(--o-ink-50));
}
body.orinon-theme.woocommerce-shop #content,
body.orinon-theme.woocommerce-archive #content,
body.orinon-theme.single-product #content {
  padding-top: 32px;
}

/* Shop page title bar */
body.orinon-theme .woocommerce-products-header {
  max-width: var(--o-container);
  margin: 0 auto 24px;
  padding: 0 20px;
}
body.orinon-theme .woocommerce-products-header__title,
body.orinon-theme .page-title {
  font-family: var(--o-font-head) !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: rgb(var(--o-ink-900)) !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.02em;
}

/* Woostify shop layout container */
body.orinon-theme .site-main,
body.orinon-theme .container,
body.orinon-theme .content-inside {
  max-width: var(--o-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Woostify sidebar + content layout for shop */
body.orinon-theme.woocommerce-shop .content-area,
body.orinon-theme.woocommerce-archive .content-area {
  width: 100%;
}
body.orinon-theme .woocommerce .content-inside {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  body.orinon-theme.woocommerce-shop.has-sidebar .woocommerce .content-inside,
  body.orinon-theme.woocommerce-archive.has-sidebar .woocommerce .content-inside {
    grid-template-columns: 280px 1fr;
  }
}

/* Sort/results header above product grid */
body.orinon-theme .woocommerce .woocommerce-notices-wrapper { margin-bottom: 16px; }
body.orinon-theme .woocommerce-result-count,
body.orinon-theme .woocommerce-ordering {
  font-size: 13px !important;
  color: rgb(var(--o-ink-500)) !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}
body.orinon-theme .woocommerce-ordering select {
  padding: 8px 30px 8px 14px !important;
  background: #fff !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius-sm) !important;
  font-size: 13px !important;
  color: rgb(var(--o-ink-800)) !important;
}
body.orinon-theme .woocommerce-ordering select:focus {
  border-color: rgb(var(--o-primary-500)) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
  outline: none !important;
}

/* Sidebar widgets (search, categories, filters) */
body.orinon-theme .widget-area,
body.orinon-theme .sidebar {
  padding: 0 !important;
}
body.orinon-theme .widget,
body.orinon-theme .sidebar .widget {
  background: #fff !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius) !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  box-shadow: var(--o-shadow-sm) !important;
}
body.orinon-theme .widget .widget-title,
body.orinon-theme .widget h2.widget-title,
body.orinon-theme .widget h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
  color: rgb(var(--o-ink-900)) !important;
  letter-spacing: .02em;
  text-transform: none;
}

/* Search widget */
body.orinon-theme .widget_search form,
body.orinon-theme .widget_product_search form,
body.orinon-theme .wp-block-search__inside-wrapper {
  display: flex;
  gap: 0;
  background: rgb(var(--o-ink-50));
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius-sm);
  padding: 4px;
  align-items: center;
}
body.orinon-theme .widget_search input[type="search"],
body.orinon-theme .widget_product_search input[type="search"],
body.orinon-theme .wp-block-search__input {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  box-shadow: none !important;
  outline: none !important;
}
body.orinon-theme .widget_search button,
body.orinon-theme .widget_product_search button,
body.orinon-theme .wp-block-search__button {
  background: rgb(var(--o-primary-600)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: calc(var(--o-radius-sm) - 2px) !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
body.orinon-theme .widget_search button:hover,
body.orinon-theme .widget_product_search button:hover,
body.orinon-theme .wp-block-search__button:hover {
  background: rgb(var(--o-primary-700)) !important;
}

/* Category / nav lists in widgets */
body.orinon-theme .widget ul,
body.orinon-theme .widget_product_categories ul,
body.orinon-theme .widget_categories ul,
body.orinon-theme .widget_nav_menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.orinon-theme .widget ul li {
  padding: 6px 0 !important;
  border-bottom: 1px solid rgb(var(--o-ink-100)) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
body.orinon-theme .widget ul li:last-child { border-bottom: 0 !important; }
body.orinon-theme .widget ul li a {
  color: rgb(var(--o-ink-700)) !important;
  font-size: 14px !important;
  text-decoration: none !important;
  flex: 1;
  transition: color .15s ease;
}
body.orinon-theme .widget ul li a:hover { color: rgb(var(--o-primary-600)) !important; }
body.orinon-theme .widget ul li .count {
  font-size: 11px !important;
  color: rgb(var(--o-ink-500)) !important;
  background: rgb(var(--o-ink-100));
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

/* Price slider */
body.orinon-theme .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: rgb(var(--o-ink-200)) !important;
  border: 0 !important;
  border-radius: 999px !important;
  height: 4px !important;
}
body.orinon-theme .widget_price_filter .ui-slider-range {
  background: rgb(var(--o-primary-500)) !important;
  border-radius: 999px !important;
}
body.orinon-theme .widget_price_filter .ui-slider-handle {
  background: #fff !important;
  border: 2px solid rgb(var(--o-primary-600)) !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  top: -7px !important;
  margin-left: -9px !important;
  box-shadow: var(--o-shadow) !important;
}
body.orinon-theme .widget_price_filter .price_label { font-size: 13px !important; color: rgb(var(--o-ink-700)) !important; }
body.orinon-theme .widget_price_filter button.button {
  background: rgb(var(--o-primary-600)) !important;
  color: #fff !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  border-radius: var(--o-radius-sm) !important;
  border: 0 !important;
}

/* Active filters (chosen) */
body.orinon-theme .woocommerce-widget-layered-nav-list li.chosen a {
  background: rgb(var(--o-primary-50)) !important;
  color: rgb(var(--o-primary-700)) !important;
  border-radius: 999px;
  padding: 2px 10px !important;
}

/* Breadcrumb */
body.orinon-theme .woocommerce-breadcrumb {
  max-width: var(--o-container);
  margin: 0 auto 12px !important;
  padding: 0 20px !important;
  font-size: 13px !important;
  color: rgb(var(--o-ink-500)) !important;
}
body.orinon-theme .woocommerce-breadcrumb a {
  color: rgb(var(--o-ink-600)) !important;
  text-decoration: none !important;
}
body.orinon-theme .woocommerce-breadcrumb a:hover { color: rgb(var(--o-primary-600)) !important; }

/* Pagination */
body.orinon-theme .woocommerce-pagination ul.page-numbers {
  border: 0 !important;
  display: flex !important;
  gap: 8px;
  justify-content: center;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
body.orinon-theme .woocommerce-pagination ul.page-numbers li {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.orinon-theme .woocommerce-pagination a.page-numbers,
body.orinon-theme .woocommerce-pagination span.page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px !important;
  border-radius: var(--o-radius-sm) !important;
  background: #fff !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  color: rgb(var(--o-ink-700)) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all .15s ease;
}
body.orinon-theme .woocommerce-pagination a.page-numbers:hover {
  border-color: rgb(var(--o-primary-300)) !important;
  color: rgb(var(--o-primary-700)) !important;
  background: rgb(var(--o-primary-50)) !important;
}
body.orinon-theme .woocommerce-pagination span.page-numbers.current {
  background: rgb(var(--o-primary-600)) !important;
  border-color: rgb(var(--o-primary-600)) !important;
  color: #fff !important;
}

/* No products found */
body.orinon-theme .woocommerce-info {
  background: #fff !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius) !important;
  border-left: 4px solid rgb(var(--o-primary-500)) !important;
  padding: 16px 20px !important;
  color: rgb(var(--o-ink-700)) !important;
}

/* =========================================================================
   Animations — tasteful, not distracting
   ========================================================================= */

/* Hero stagger reveal */
.o-hero__eyebrow { animation: oSlideIn .5s ease both; }
.o-hero__title  { animation: oSlideIn .6s ease both .1s; }
.o-hero__sub    { animation: oSlideIn .6s ease both .2s; }
.o-hero__ctas   { animation: oSlideIn .6s ease both .3s; }
.o-hero__art    { animation: oZoomIn   .7s cubic-bezier(.4,0,.2,1) both .15s; }
@keyframes oSlideIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes oZoomIn  { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* Category chips stagger */
.o-chips .o-chip { animation: oPop .5s ease both; }
.o-chips .o-chip:nth-child(1) { animation-delay: .05s; }
.o-chips .o-chip:nth-child(2) { animation-delay: .1s; }
.o-chips .o-chip:nth-child(3) { animation-delay: .15s; }
.o-chips .o-chip:nth-child(4) { animation-delay: .2s; }
.o-chips .o-chip:nth-child(5) { animation-delay: .25s; }
.o-chips .o-chip:nth-child(6) { animation-delay: .3s; }
.o-chips .o-chip:nth-child(7) { animation-delay: .35s; }
.o-chips .o-chip:nth-child(8) { animation-delay: .4s; }
@keyframes oPop { from { opacity: 0; transform: translateY(8px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Trust signals fade */
.o-trust__item { animation: oFadeUp .6s ease both; }
.o-trust__item:nth-child(2) { animation-delay: .1s; }
.o-trust__item:nth-child(3) { animation-delay: .2s; }
.o-trust__item:nth-child(4) { animation-delay: .3s; }
@keyframes oFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Section title underline on hover */
.o-section__title {
  display: inline-block;
  position: relative;
}
.o-section__title::after {
  content: '';
  position: absolute;
  left: 20%; right: 20%; bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgb(var(--o-primary-500)), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.o-section__head:hover .o-section__title::after { opacity: 1; }

/* Buttons: subtle press + shine on primary */
.o-btn--primary,
body.orinon-theme .button.alt,
body.orinon-theme .single_add_to_cart_button,
body.orinon-theme #place_order,
body.orinon-theme .checkout-button {
  position: relative;
  overflow: hidden;
}
.o-btn--primary::after,
body.orinon-theme .button.alt::after,
body.orinon-theme .single_add_to_cart_button::after,
body.orinon-theme #place_order::after,
body.orinon-theme .checkout-button::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
.o-btn--primary:hover::after,
body.orinon-theme .button.alt:hover::after,
body.orinon-theme .single_add_to_cart_button:hover::after,
body.orinon-theme #place_order:hover::after,
body.orinon-theme .checkout-button:hover::after { left: 100%; }

/* Image float on chip hover */
.o-chip:hover svg { animation: oNudge .35s ease; }
@keyframes oNudge { 0%{transform:translateY(0);} 50%{transform:translateY(-2px);} 100%{transform:translateY(0);} }

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .o-hero__eyebrow, .o-hero__title, .o-hero__sub, .o-hero__ctas, .o-hero__art,
  .o-chips .o-chip, .o-trust__item { animation: none !important; }
  .o-btn--primary::after, body.orinon-theme .button.alt::after { display: none !important; }
}

/* =========================================================================
   CTA Banner — "Shop now, pay in pieces"
   Full-bleed dark gradient with floating credit card visual
   ========================================================================= */
.o-banner {
  position: relative;
  max-width: var(--o-container);
  margin: 32px auto 0;
  padding: 0 20px;
}
.o-banner__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--o-radius-lg);
  min-height: 320px;
  padding: 48px clamp(24px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(130deg, rgb(var(--o-ink-900)) 0%, rgb(var(--o-primary-900)) 65%, rgb(var(--o-primary-700)) 100%);
  color: #fff;
  box-shadow: 0 24px 60px -20px rgba(67, 56, 202, 0.35);
}
@media (min-width: 860px) {
  .o-banner__inner { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}

/* Background decor */
.o-banner__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.o-banner__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}
.o-banner__glow--a {
  width: 500px; height: 500px;
  right: -120px; top: -180px;
  background: rgb(var(--o-primary-500));
}
.o-banner__glow--b {
  width: 400px; height: 400px;
  left: -80px; bottom: -180px;
  background: rgb(var(--o-primary-700));
  opacity: .35;
}
.o-banner__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  opacity: .4;
}

/* Content */
.o-banner__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.o-banner__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 12px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.o-banner__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgb(var(--o-primary-400));
  box-shadow: 0 0 0 3px rgba(129,140,248,.3);
  animation: oPulse 2s ease-in-out infinite;
}
.o-banner__title {
  font-family: var(--o-font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 0;
}
.o-banner__title span {
  background: linear-gradient(135deg, rgb(var(--o-primary-300)) 0%, rgb(var(--o-primary-500)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.o-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 16px 0 28px;
  max-width: 460px;
}
.o-banner__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.o-banner__cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  color: rgb(var(--o-ink-900));
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.3);
}
.o-banner__cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0,0,0,0.4);
  color: rgb(var(--o-ink-900));
}
.o-banner__cta-ghost {
  display: inline-flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 4px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.o-banner__cta-ghost:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.6);
}

/* Visual: stacked credit cards */
.o-banner__visual {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.o-banner__card {
  position: absolute;
  width: min(320px, 90%);
  aspect-ratio: 1.6 / 1;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  padding: 22px;
  transform-style: preserve-3d;
}
.o-banner__card--front {
  z-index: 3;
  background: linear-gradient(135deg, rgb(var(--o-primary-500)) 0%, rgb(var(--o-primary-700)) 100%);
  color: #fff;
  transform: rotateY(-8deg) rotateX(4deg) translateZ(0);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: oFloat 6s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.18);
}
.o-banner__card--back {
  z-index: 2;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  transform: rotate(-8deg) translate(-22%, 20%) scale(0.92);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.o-banner__card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.o-banner__card-brand {
  font-family: var(--o-font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.o-banner__card-brand span { opacity: .7; font-weight: 500; }
.o-banner__card-chip {
  width: 36px; height: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,0.3);
}
.o-banner__card-chip svg { width: 22px; height: 22px; }
.o-banner__card-num {
  font-family: var(--o-font-mono, ui-monospace, monospace);
  font-size: 18px;
  letter-spacing: .15em;
  font-weight: 600;
  margin: 8px 0;
}
.o-banner__card-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px;
}
.o-banner__card-foot > div { display: flex; flex-direction: column; gap: 2px; }
.o-banner__card-foot span {
  font-size: 9px;
  opacity: .7;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
}
.o-banner__card-foot strong {
  font-size: 14px;
  font-weight: 700;
}
.o-banner__card-wave {
  width: 24px; height: 24px;
  color: #fff;
  margin-left: auto;
  flex-shrink: 0;
  transform: rotate(90deg);
  opacity: .9;
}
.o-banner__card-dash {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}
.o-banner__card-dash:nth-child(1) { width: 70%; }
.o-banner__card-dash:nth-child(2) { width: 50%; }
.o-banner__card-dash:nth-child(3) { width: 80%; }

/* Floating mini pills */
.o-banner__pill {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 16px -4px rgba(0,0,0,0.3);
  z-index: 4;
}
.o-banner__pill svg { color: rgb(var(--o-primary-300)); }
.o-banner__pill--a { top: 12%; right: 8%; animation: oFloatA 5s ease-in-out infinite; }
.o-banner__pill--b { bottom: 14%; left: 6%; animation: oFloatB 6s ease-in-out infinite .5s; }

@keyframes oFloat {
  0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%     { transform: rotateY(-8deg) rotateX(4deg) translateY(-10px); }
}
@keyframes oFloatA {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes oFloatB {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .o-banner__card--front,
  .o-banner__pill--a,
  .o-banner__pill--b,
  .o-banner__dot { animation: none !important; }
}

@media (max-width: 860px) {
  .o-banner__inner { padding: 36px 24px; min-height: 0; }
  .o-banner__visual { min-height: 220px; margin-top: 16px; }
  .o-banner__card--back { transform: rotate(-8deg) translate(-18%, 16%) scale(0.85); }
  .o-banner__pill--a { top: 5%; right: 2%; }
  .o-banner__pill--b { bottom: 5%; left: 2%; }
  .o-banner__glow--a { width: 320px; height: 320px; }
  .o-banner__glow--b { width: 260px; height: 260px; }
}

/* =========================================================================
   Shop filter bar
   ========================================================================= */
.o-filter {
  max-width: var(--o-container);
  margin: 0 auto 24px;
  padding: 0 20px;
}
.o-filter__form {
  background: #fff;
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow-sm);
  padding: 14px;
}
.o-filter__row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.o-filter__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.o-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(var(--o-ink-50));
  color: rgb(var(--o-ink-700));
  border: 1px solid rgb(var(--o-ink-200));
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
  white-space: nowrap;
}
.o-filter__chip:hover {
  color: rgb(var(--o-primary-700));
  border-color: rgb(var(--o-primary-300));
  background: rgb(var(--o-primary-50));
}
.o-filter__chip.is-active {
  color: #fff;
  background: rgb(var(--o-primary-600));
  border-color: rgb(var(--o-primary-600));
}
.o-filter__chip-count {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
  color: inherit;
  font-weight: 500;
  opacity: .8;
}
.o-filter__chip.is-active .o-filter__chip-count {
  background: rgba(255,255,255,.2);
}
.o-filter__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* Icon-only at rest; expands inline when toggled or focused */
.o-filter__search {
  display: flex;
  align-items: center;
  background: rgb(var(--o-ink-50));
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: 999px;
  overflow: hidden;
  width: 38px;                                     /* collapsed = icon only */
  transition: width .3s cubic-bezier(.4,0,.2,1),
              background .15s ease,
              border-color .15s ease,
              box-shadow .15s ease;
}
.o-filter__search.is-expanded,
.o-filter__search:focus-within {
  width: 240px;
  background: #fff;
  border-color: rgb(var(--o-primary-500));
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.o-filter__search-btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgb(var(--o-ink-500));
  cursor: pointer;
  padding: 0;
  transition: color .15s ease;
}
.o-filter__search-btn:hover { color: rgb(var(--o-primary-600)); }
.o-filter__search.is-expanded .o-filter__search-btn,
.o-filter__search:focus-within .o-filter__search-btn {
  color: rgb(var(--o-primary-600));
}
.o-filter__search input[type="search"] {
  flex: 1;
  min-width: 0;
  width: 0;
  border: 0 !important;
  background: transparent !important;
  padding: 9px 0 !important;
  font-size: 13px !important;
  outline: none !important;
  color: rgb(var(--o-ink-800)) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease .12s, width .3s ease;
}
.o-filter__search.is-expanded input[type="search"],
.o-filter__search:focus-within input[type="search"] {
  width: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: 9px 14px 9px 0 !important;
}
/* Kill browser placeholder colour just in case any renders */
.o-filter__search input[type="search"]::placeholder { color: transparent; }

/* Hide the duplicate sidebar product search widget — we have it in the filter bar.
   Also suppresses its "Search products…" placeholder from appearing on shop pages. */
body.orinon-theme .widget_product_search,
body.orinon-theme .site-search .widget_product_search { display: none !important; }
/* If something still renders an "old" search input, keep its placeholder invisible */
body.orinon-theme .search-field::placeholder { color: transparent !important; }
/* Remove the native "x" clear button in Chrome/Safari (keeps visuals clean) */
.o-filter__search input[type="search"]::-webkit-search-cancel-button { appearance: none; }

@media (max-width: 640px) {
  .o-filter__search.is-expanded,
  .o-filter__search:focus-within { width: 100%; }
}
.o-filter__toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: rgb(var(--o-ink-50));
  color: rgb(var(--o-ink-800));
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.o-filter__toggle:hover { background: rgb(var(--o-ink-100)); }
.o-filter__toggle[aria-expanded="true"] {
  background: rgb(var(--o-primary-50));
  color: rgb(var(--o-primary-700));
  border-color: rgb(var(--o-primary-300));
}

.o-filter__advanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  padding: 14px 0 4px;
  margin-top: 14px;
  border-top: 1px solid rgb(var(--o-ink-100));
  animation: oFadeUp .25s ease both;
}
.o-filter__advanced[hidden] { display: none; }
.o-filter__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.o-filter__field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgb(var(--o-ink-500));
}
.o-filter__field input[type="number"],
.o-filter__field select {
  padding: 9px 12px !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius-sm) !important;
  font-size: 13px !important;
  background: #fff !important;
  color: rgb(var(--o-ink-800)) !important;
}
.o-filter__field input[type="number"]:focus,
.o-filter__field select:focus {
  border-color: rgb(var(--o-primary-500)) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
  outline: none !important;
}
.o-filter__switch {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 0;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.o-filter__switch input {
  width: 18px; height: 18px;
  accent-color: rgb(var(--o-primary-600));
}
.o-filter__switch span {
  font-size: 13px;
  font-weight: 500;
  color: rgb(var(--o-ink-800));
  letter-spacing: 0;
  text-transform: none;
}
.o-filter__field--actions {
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
  grid-column: 1 / -1;
}
@media (min-width: 720px) { .o-filter__field--actions { grid-column: auto; justify-content: flex-end; } }

.o-filter__active {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgb(var(--o-ink-100));
}
.o-filter__active-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgb(var(--o-ink-500));
  margin-right: 4px;
}
.o-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 12px;
  background: rgb(var(--o-primary-50));
  color: rgb(var(--o-primary-800));
  border: 1px solid rgb(var(--o-primary-200));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.o-filter__pill a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(29,78,216,.15);
  color: rgb(var(--o-primary-800));
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  transition: background .15s ease;
}
.o-filter__pill a:hover { background: rgb(var(--o-primary-600)); color: #fff; }
.o-filter__clear {
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--o-ink-500));
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: auto;
}
.o-filter__clear:hover { color: rgb(var(--o-primary-600)); }

@media (max-width: 640px) {
  .o-filter { padding: 0 12px; margin-bottom: 16px; }
  .o-filter__controls { width: 100%; justify-content: space-between; }
  .o-filter__search { flex: 1; width: auto; }
}

/* Hide Woostify default ordering / result count — we have our own */
body.orinon-theme.woocommerce-shop .woocommerce-ordering,
body.orinon-theme.woocommerce-archive .woocommerce-ordering,
body.orinon-theme.woocommerce-shop .woocommerce-result-count,
body.orinon-theme.woocommerce-archive .woocommerce-result-count,
body.orinon-theme .woostify-sorting,
body.orinon-theme .woostify-toolbar-left {
  display: none !important;
}

/* =========================================================================
   Global content container + page title polish (shop, account, cart, etc.)
   ========================================================================= */
body.orinon-theme #content.site-content {
  padding: 32px 0 56px !important;
  background: rgb(var(--o-ink-50)) !important;
}
body.orinon-theme #content .woostify-container {
  max-width: var(--o-container) !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
body.orinon-theme #primary.content-area,
body.orinon-theme #main.site-main {
  padding: 0 !important;
  margin: 0 !important;
}

/* Page title block (archive / shop / cart / account) */
body.orinon-theme .woocommerce-products-header,
body.orinon-theme .page-header,
body.orinon-theme .entry-header {
  margin: 0 0 24px !important;
  padding: 0 !important;
}

/* =========================================================================
   My Account page
   ========================================================================= */
body.orinon-theme.woocommerce-account .woocommerce,
body.orinon-theme.woocommerce-page .woocommerce {
  display: block;
}
body.orinon-theme .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
  padding: 12px;
  box-shadow: var(--o-shadow-sm);
}
body.orinon-theme .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.orinon-theme .woocommerce-MyAccount-navigation ul li {
  border: 0 !important;
  margin: 2px 0 !important;
  padding: 0 !important;
}
body.orinon-theme .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 10px 14px !important;
  border-radius: var(--o-radius-sm) !important;
  color: rgb(var(--o-ink-700)) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background .15s ease, color .15s ease !important;
}
body.orinon-theme .woocommerce-MyAccount-navigation ul li a:hover {
  background: rgb(var(--o-primary-50)) !important;
  color: rgb(var(--o-primary-700)) !important;
}
body.orinon-theme .woocommerce-MyAccount-navigation ul li.is-active a,
body.orinon-theme .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a {
  background: rgb(var(--o-primary-600)) !important;
  color: #fff !important;
  box-shadow: var(--o-shadow-sm);
}
body.orinon-theme .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
  padding: 28px;
  box-shadow: var(--o-shadow-sm);
}

/* Login / register forms */
body.orinon-theme .woocommerce form.login,
body.orinon-theme .woocommerce form.register,
body.orinon-theme .woocommerce form.checkout_coupon,
body.orinon-theme .woocommerce form.lost_reset_password,
body.orinon-theme .woocommerce-form-login,
body.orinon-theme .woocommerce-form-register {
  background: #fff;
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
  padding: 32px !important;
  box-shadow: var(--o-shadow-sm);
  max-width: 460px;
  margin: 0 auto;
}
body.orinon-theme .woocommerce-form-login__submit,
body.orinon-theme .woocommerce-form-register__submit {
  width: 100% !important;
  margin-top: 14px !important;
}
body.orinon-theme .woocommerce .lost_password { text-align: right; }

/* Tables in My Account (orders, downloads) */
body.orinon-theme .woocommerce-orders-table,
body.orinon-theme .woocommerce-table,
body.orinon-theme table.shop_table {
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}
body.orinon-theme table.shop_table thead th {
  background: rgb(var(--o-ink-100)) !important;
  color: rgb(var(--o-ink-700)) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 12px 16px !important;
  border: 0 !important;
}
body.orinon-theme table.shop_table tbody td,
body.orinon-theme table.shop_table tfoot td,
body.orinon-theme table.shop_table tfoot th {
  padding: 14px 16px !important;
  border-top: 1px solid rgb(var(--o-ink-100)) !important;
  background: #fff !important;
}
body.orinon-theme table.shop_table .woocommerce-orders-table__cell-order-actions .button {
  margin: 0 4px 4px 0 !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
}

/* =========================================================================
   Cart page polish (extras on top of earlier styling)
   ========================================================================= */
body.orinon-theme .woocommerce-cart-form .product-remove a.remove {
  color: rgb(var(--o-ink-400)) !important;
  width: 26px; height: 26px;
  line-height: 26px !important;
  font-size: 18px !important;
  border-radius: 50% !important;
  background: rgb(var(--o-ink-100)) !important;
  transition: all .15s ease;
}
body.orinon-theme .woocommerce-cart-form .product-remove a.remove:hover {
  background: rgb(254 202 202) !important;
  color: rgb(var(--o-danger-500)) !important;
}
body.orinon-theme .woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgb(var(--o-ink-200)) !important;
}
body.orinon-theme .woocommerce-cart .cart_totals table.shop_table { background: transparent !important; }
body.orinon-theme .woocommerce-cart .cart_totals table.shop_table td,
body.orinon-theme .woocommerce-cart .cart_totals table.shop_table th {
  padding: 12px 0 !important;
  border-top: 1px solid rgb(var(--o-ink-100)) !important;
  background: transparent !important;
}
body.orinon-theme .woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
  padding: 14px !important;
  font-size: 15px !important;
}

/* =========================================================================
   Checkout polish (extras)
   ========================================================================= */
body.orinon-theme .woocommerce-checkout h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgb(var(--o-ink-200)) !important;
}
body.orinon-theme .woocommerce-checkout #payment {
  background: #fff !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius) !important;
  padding: 24px !important;
  margin-top: 16px;
}
body.orinon-theme .woocommerce-checkout #payment .wc_payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.orinon-theme .woocommerce-checkout #payment .wc_payment_methods li {
  padding: 12px 14px !important;
  margin: 0 0 8px !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius-sm) !important;
  background: rgb(var(--o-ink-50)) !important;
  cursor: pointer;
  transition: all .15s ease;
}
body.orinon-theme .woocommerce-checkout #payment .wc_payment_methods li:hover { border-color: rgb(var(--o-primary-300)) !important; }
body.orinon-theme .woocommerce-checkout #payment .payment_box {
  background: rgb(var(--o-ink-50)) !important;
  border: 0 !important;
  padding: 12px 0 0 !important;
  font-size: 13px !important;
  color: rgb(var(--o-ink-600)) !important;
}

/* =========================================================================
   Contact / static pages (entry content)
   ========================================================================= */
body.orinon-theme .entry-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
  padding: 32px;
  box-shadow: var(--o-shadow-sm);
  line-height: 1.7;
  color: rgb(var(--o-ink-800));
}
body.orinon-theme .entry-content h1,
body.orinon-theme .entry-content h2,
body.orinon-theme .entry-content h3 {
  margin-top: 1.4em;
  margin-bottom: .5em;
}
body.orinon-theme .entry-content a { color: rgb(var(--o-primary-700)); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.orinon-theme .entry-content form input[type="text"],
body.orinon-theme .entry-content form input[type="email"],
body.orinon-theme .entry-content form input[type="tel"],
body.orinon-theme .entry-content form textarea {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1px solid rgb(var(--o-ink-200)) !important;
  border-radius: var(--o-radius-sm) !important;
  font-family: var(--o-font) !important;
  font-size: 14px !important;
  background: #fff !important;
}
body.orinon-theme .entry-content form input:focus,
body.orinon-theme .entry-content form textarea:focus {
  border-color: rgb(var(--o-primary-500)) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
  outline: none !important;
}
body.orinon-theme .entry-content form label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--o-ink-700));
}
/* Contact Form 7 tweaks */
body.orinon-theme .wpcf7-form-control.wpcf7-submit {
  background: rgb(var(--o-primary-600)) !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border-radius: var(--o-radius-sm) !important;
  border: 0 !important;
  font-weight: 600 !important;
  cursor: pointer;
}
body.orinon-theme .wpcf7-form-control.wpcf7-submit:hover { background: rgb(var(--o-primary-700)) !important; }
body.orinon-theme .wpcf7-response-output {
  border-radius: var(--o-radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
}

/* 404 polish */
body.orinon-theme .error-404 {
  max-width: 600px;
  margin: 48px auto;
  text-align: center;
  background: #fff;
  border: 1px solid rgb(var(--o-ink-200));
  border-radius: var(--o-radius);
  padding: 48px 32px;
  box-shadow: var(--o-shadow-sm);
}

/* =========================================================================
   POLISH LAYER — scroll reveals, hero mesh, kinetic type, card shine,
   sticky morphing header, scroll progress, fly-to-cart, wave motion,
   page transitions, top loading bar, skeletons, blur-up, glass surfaces.
   Paired with assets/js/polish.js.
   ========================================================================= */

/* ---- Scroll reveals ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.2,.6,.2,1),
    transform .7s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in-view {
  opacity: 1;
  transform: none;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="fade"]  { transform: none; }
[data-reveal="left"].is-in-view,
[data-reveal="right"].is-in-view,
[data-reveal="scale"].is-in-view,
[data-reveal="fade"].is-in-view { transform: none; opacity: 1; }

/* Staggered product card entry — used with islands.js .o-rise-in */
body.orinon-theme .woocommerce ul.products li.product {
  animation-delay: var(--o-stagger, 0ms) !important;
}

/* ---- Hero conic mesh ---- */
body.orinon-home .o-hero {
  isolation: isolate;
  overflow: hidden;
}
.o-hero__mesh {
  position: absolute;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 0deg at 50% 50%,
      rgba(99, 102, 241, 0.18) 0deg,
      rgba(129, 140, 248, 0.08) 60deg,
      rgba(165, 180, 252, 0.10) 120deg,
      rgba(34, 197, 94, 0.08) 180deg,
      rgba(165, 180, 252, 0.10) 240deg,
      rgba(99, 102, 241, 0.14) 300deg,
      rgba(99, 102, 241, 0.18) 360deg);
  filter: blur(70px);
  opacity: 0.55;
  animation: o-mesh-spin 50s linear infinite;
  transform-origin: 50% 50%;
  transition: translate .3s ease-out;
  translate: var(--o-mesh-shift, 0 0);
}
@keyframes o-mesh-spin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
body.orinon-home .o-hero > *:not(.o-hero__mesh):not(.o-hero__flyers) {
  position: relative;
  z-index: 1;
}
body.orinon-home .o-hero__slider {
  transition: transform .3s ease-out;
}

/* =========================================================================
   Hero flying electronics — left-side ambient layer that drifts + fades.
   Scoped to the left ~45% so the slider and headline breathing room stay
   clean. Low opacity + sits at z-index 0 so it can't compete with text.
   ========================================================================= */
.o-hero__flyers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Only paint on the LEFT side — mask fades out past ~55% width */
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 58%);
  mask-image:         linear-gradient(to right, #000 0%, #000 42%, transparent 58%);
}
.o-hero__flyer {
  position: absolute;
  display: block;
  width: 48px;
  height: 48px;
  color: rgb(var(--o-primary-600));
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.18));
}
.o-hero__flyer svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 1.4;
}

/* Variants — 4 keyframe patterns, rotated through 8 flyers, with
   different sizes / durations / delays / colours for natural variety. */
.o-hero__flyer--1 { width: 46px; height: 46px; animation: o-flyer-A 11s ease-in-out infinite; animation-delay: 0s;    }
.o-hero__flyer--2 { width: 52px; height: 52px; color: rgb(var(--o-accent-blue-500)); animation: o-flyer-B 13s ease-in-out infinite; animation-delay: 1.6s; }
.o-hero__flyer--3 { width: 54px; height: 54px; animation: o-flyer-C 14s ease-in-out infinite; animation-delay: 4.2s; }
.o-hero__flyer--4 { width: 44px; height: 44px; animation: o-flyer-D 10s ease-in-out infinite; animation-delay: 0.9s; }
.o-hero__flyer--5 { width: 40px; height: 40px; color: rgb(var(--o-accent-blue-500)); animation: o-flyer-A 12s ease-in-out infinite; animation-delay: 3.1s; }
.o-hero__flyer--6 { width: 50px; height: 50px; animation: o-flyer-B 11s ease-in-out infinite; animation-delay: 5.4s; }
.o-hero__flyer--7 { width: 42px; height: 42px; animation: o-flyer-C 13s ease-in-out infinite; animation-delay: 2.7s; }
.o-hero__flyer--8 { width: 56px; height: 56px; animation: o-flyer-D 14s ease-in-out infinite; animation-delay: 0.4s; }

@keyframes o-flyer-A {
  0%   { transform: translate(0, 10px)  rotate(-6deg); opacity: 0; }
  18%  { opacity: 0.26; }
  50%  { transform: translate(-14px, -48px) rotate(8deg);  opacity: 0.26; }
  82%  { opacity: 0.10; }
  100% { transform: translate(-26px, -110px) rotate(18deg); opacity: 0; }
}
@keyframes o-flyer-B {
  0%   { transform: translate(0, 0)    rotate(6deg);  opacity: 0; }
  20%  { opacity: 0.22; }
  50%  { transform: translate(18px, -52px) rotate(-4deg); opacity: 0.22; }
  80%  { opacity: 0.08; }
  100% { transform: translate(34px, -120px) rotate(-14deg); opacity: 0; }
}
@keyframes o-flyer-C {
  0%   { transform: translate(0, 20px)  rotate(0deg);  opacity: 0; }
  22%  { opacity: 0.20; }
  50%  { transform: translate(-10px, -42px) rotate(10deg); opacity: 0.20; }
  78%  { opacity: 0.12; }
  100% { transform: translate(-20px, -98px) rotate(20deg); opacity: 0; }
}
@keyframes o-flyer-D {
  0%   { transform: translate(0, -8px)  rotate(-8deg); opacity: 0; }
  20%  { opacity: 0.24; }
  50%  { transform: translate(14px, -58px) rotate(4deg);  opacity: 0.24; }
  80%  { opacity: 0.10; }
  100% { transform: translate(28px, -128px) rotate(14deg); opacity: 0; }
}

/* Hide on mobile — hero stacks, no "left side" to populate */
@media (max-width: 899px) {
  .o-hero__flyers { display: none; }
}

/* Respect reduced-motion — freeze icons at a subtle static state */
@media (prefers-reduced-motion: reduce) {
  .o-hero__flyer { animation: none !important; opacity: 0.12; }
}

/* ---- Kinetic letters ---- */
.o-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) rotateX(40deg);
  transform-origin: 50% 80%;
  animation: o-letter-in .55s cubic-bezier(.2,.6,.2,1) forwards;
  backface-visibility: hidden;
}
@keyframes o-letter-in {
  to { opacity: 1; transform: none; }
}

/* ---- Product card interactions ---- */
.o-card-zoom {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  isolation: isolate;
}
.o-card-zoom img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .7s cubic-bezier(.2,.6,.2,1), filter .4s ease;
  transform: scale(1);
  will-change: transform;
}
body.orinon-theme .woocommerce ul.products li.product:hover .o-card-zoom img {
  transform: scale(1.07);
}
/* Shine sweep overlay */
.o-card-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: 2;
}
.o-card-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.40) 50%,
    transparent 70%);
  transform: skewX(-14deg);
  transition: left .9s cubic-bezier(.2,.6,.2,1);
}
body.orinon-theme .woocommerce ul.products li.product:hover .o-card-shine::before {
  left: 140%;
}

/* ---- Morphing header + scroll progress ----
   Only styles the frosted/compact state — leaves Woostify's own
   sticky-header positioning intact. */
body.orinon-theme #masthead,
body.orinon-theme .site-header {
  transition:
    padding .3s ease,
    background-color .3s ease,
    -webkit-backdrop-filter .3s ease,
    backdrop-filter .3s ease,
    transform .35s cubic-bezier(.2,.6,.2,1),
    box-shadow .3s ease;
}
body.orinon-theme #masthead.o-compact,
body.orinon-theme .site-header.o-compact {
  background: rgba(248, 250, 252, 0.82) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 6px 24px -14px rgba(15, 23, 42, 0.18);
  border-bottom: 1px solid rgba(129, 140, 248, 0.12);
}
body.orinon-theme #masthead.o-compact .site-branding img,
body.orinon-theme #masthead.o-compact .custom-logo {
  max-height: 38px !important;
  transition: max-height .3s ease;
}
body.orinon-theme #masthead.o-hidden,
body.orinon-theme .site-header.o-hidden {
  transform: translateY(-100%);
}

.o-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg,
    rgb(var(--o-primary-500)) 0%,
    rgb(var(--o-primary-700)) 100%);
  z-index: 10000;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.55);
  pointer-events: none;
  transition: width .12s ease-out;
}

/* ---- Fly-to-cart ghost + cart icon pop ---- */
.o-fly-ghost {
  position: fixed;
  z-index: 10001;
  pointer-events: none;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition:
    transform .72s cubic-bezier(.55, .05, .45, 1),
    opacity .72s ease;
  will-change: transform, opacity;
}
.o-cart-pop {
  animation: o-cart-pop .6s cubic-bezier(.3, 1.4, .6, 1);
  transform-origin: center;
}
@keyframes o-cart-pop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.22); }
  50%  { transform: scale(0.93); }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ---- Animated wave dividers ---- */
.o-wave-animated {
  animation: o-wave-drift 9s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.o-wave-animated path {
  transform-origin: center;
  animation: o-wave-squish 8s ease-in-out infinite;
}
@keyframes o-wave-drift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-14px); }
}
@keyframes o-wave-squish {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.08); }
}

/* ---- Page transitions ---- */
body {
  transition: opacity .2s ease-out;
}
body.o-page-fade-out {
  opacity: 0;
}
/* Opt-in to cross-document view transitions (Chrome/Edge 126+) */
@view-transition { navigation: auto; }

/* View Transitions API — modern browsers */
@supports (view-transition-name: none) {
  ::view-transition-old(root) {
    animation: o-vt-out .22s ease both;
  }
  ::view-transition-new(root) {
    animation: o-vt-in .38s cubic-bezier(.2,.6,.2,1) both;
  }
  @keyframes o-vt-out { to { opacity: 0; } }
  @keyframes o-vt-in  {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---- Top loading bar (page nav) ---- */
.o-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg,
    rgb(var(--o-primary-400)) 0%,
    rgb(var(--o-primary-500)) 50%,
    rgb(var(--o-primary-700)) 100%);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 10px rgb(var(--o-primary-500));
  transition: opacity .25s ease, width .25s ease;
}
.o-nav-bar.is-loading {
  opacity: 1;
  width: 85%;
  transition: width 6s cubic-bezier(.1, .6, .3, 1);
}
.o-nav-bar.is-done {
  opacity: 0;
  width: 100%;
  transition: width .2s ease, opacity .3s ease .15s;
}

/* ---- Skeleton shimmer ---- */
.o-skeleton {
  background: linear-gradient(90deg,
    rgba(226, 232, 240, 0.55) 0%,
    rgba(248, 250, 252, 0.95) 50%,
    rgba(226, 232, 240, 0.55) 100%);
  background-size: 200% 100%;
  animation: o-shimmer 1.4s linear infinite;
  border-radius: 8px;
  color: transparent !important;
  pointer-events: none;
  user-select: none;
}
@keyframes o-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Image blur-up ---- */
img[data-blur-up] {
  filter: blur(14px);
  transform: scale(1.02);
  transition: filter .55s ease, transform .55s ease;
}
img[data-blur-up].is-loaded {
  filter: blur(0);
  transform: none;
}

/* ---- Glassmorphism surfaces ---- */
body.orinon-theme .o-drawer__panel {
  background: rgba(248, 250, 252, 0.88) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  border-left: 1px solid rgba(129, 140, 248, 0.18);
  box-shadow: -20px 0 50px -18px rgba(15, 23, 42, 0.25);
}
body.orinon-theme .o-search-panel {
  background: rgba(248, 250, 252, 0.92) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-color: rgba(129, 140, 248, 0.18) !important;
  box-shadow: 0 24px 48px -18px rgba(49, 46, 129, 0.2);
}
body.orinon-theme .main-navigation ul ul,
body.orinon-theme .sub-menu,
body.orinon-theme .site-header .woostify-menu-cart-content {
  background: rgba(248, 250, 252, 0.94) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(129, 140, 248, 0.14) !important;
  box-shadow: 0 20px 40px -14px rgba(15, 23, 42, 0.15) !important;
  border-radius: var(--o-radius) !important;
}

/* Cart icon baseline — so the pop animation has a clean origin */
body.orinon-theme .cart-contents,
body.orinon-theme .woostify-cart-link {
  display: inline-flex;
  transform-origin: center;
}

/* Tabular numerals so counters don't jitter width */
[data-counter] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* =========================================================================
   READABILITY — explicit text contrast so nothing gets washed out over
   the light indigo/violet body gradient or glass panels. WCAG AA target.
   ========================================================================= */
body.orinon-theme,
body.orinon-theme .site-main,
body.orinon-theme p,
body.orinon-theme li,
body.orinon-theme dd,
body.orinon-theme dt {
  color: rgb(var(--o-ink-900));
}
body.orinon-theme h1,
body.orinon-theme h2,
body.orinon-theme h3,
body.orinon-theme h4,
body.orinon-theme h5,
body.orinon-theme h6 {
  color: rgb(var(--o-ink-900)) !important;
}
/* Muted / secondary text on light backgrounds — still dark enough for AA */
body.orinon-theme .o-section__sub,
body.orinon-theme .o-hero__sub,
body.orinon-theme .o-trust__sub,
body.orinon-theme .woocommerce-product-details__short-description p {
  color: rgb(var(--o-ink-700)) !important;
}
/* Links — indigo-700 is AA on light backgrounds */
body.orinon-theme a:not(.o-btn):not(.button):not(.o-chip):not(.o-nav-link) {
  color: rgb(var(--o-primary-700));
}
body.orinon-theme a:not(.o-btn):not(.button):not(.o-chip):not(.o-nav-link):hover {
  color: rgb(var(--o-primary-800));
}
/* Primary buttons / CTAs — white text on indigo bg */
body.orinon-theme .o-btn--primary,
body.orinon-theme .button.alt,
body.orinon-theme .single_add_to_cart_button,
body.orinon-theme .button-primary,
body.orinon-theme .o-buy-on-credit,
body.orinon-theme .o-buy-on-credit *,
body.orinon-theme .o-topbar__cta {
  color: #fff !important;
}
/* The banner "Shop now" CTA has a WHITE pill background — needs DARK text */
body.orinon-theme .o-banner__cta-primary,
body.orinon-theme .o-banner__cta-primary:hover,
body.orinon-theme .o-banner__cta-primary:visited {
  color: rgb(var(--o-ink-900)) !important;
}
/* Soften the small eyebrow inside the credit CTA for hierarchy */
body.orinon-theme .o-buy-on-credit__tag {
  opacity: 0.88;
}

/* Dark-background sections: force white text so headings / copy stay
   visible over the indigo banner, topbar, and footer gradients. This
   overrides the site-wide heading = ink-900 rule above. */
body.orinon-theme .o-banner,
body.orinon-theme .o-banner *,
body.orinon-theme .o-banner h1,
body.orinon-theme .o-banner h2,
body.orinon-theme .o-banner h3,
body.orinon-theme .o-banner h4,
body.orinon-theme .o-banner p,
body.orinon-theme .o-banner__title,
body.orinon-theme .o-banner__eyebrow {
  color: #fff !important;
}
body.orinon-theme .o-banner__sub {
  color: rgba(255, 255, 255, 0.85) !important;
}
body.orinon-theme .o-banner__cta-ghost {
  color: rgba(255, 255, 255, 0.92) !important;
}
body.orinon-theme .o-banner__cta-ghost:hover {
  color: #fff !important;
}
/* Restore the dark-text exception on the white pill button inside banner */
body.orinon-theme .o-banner .o-banner__cta-primary,
body.orinon-theme .o-banner .o-banner__cta-primary * {
  color: rgb(var(--o-ink-900)) !important;
}
/* Ghost / outline buttons on light glass — dark text */
body.orinon-theme .o-btn:not(.o-btn--primary),
body.orinon-theme .button:not(.alt):not(.single_add_to_cart_button) {
  color: rgb(var(--o-ink-900));
}
/* Product card titles + prices — prevent any inherited light colour */
body.orinon-theme .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.orinon-theme .woocommerce ul.products li.product h2,
body.orinon-theme .woocommerce ul.products li.product h3 {
  color: rgb(var(--o-ink-900)) !important;
}
body.orinon-theme .woocommerce ul.products li.product .price,
body.orinon-theme .woocommerce-Price-amount {
  color: rgb(var(--o-ink-900));
}
body.orinon-theme .woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
body.orinon-theme .woocommerce-Price-amount.amount {
  color: rgb(var(--o-primary-700));
}
/* Ensure labels / form text stay legible on glass */
body.orinon-theme label,
body.orinon-theme .woocommerce label {
  color: rgb(var(--o-ink-800));
}
body.orinon-theme input,
body.orinon-theme select,
body.orinon-theme textarea {
  color: rgb(var(--o-ink-900));
}
body.orinon-theme input::placeholder,
body.orinon-theme textarea::placeholder {
  color: rgb(var(--o-ink-500));
  opacity: 1;
}
/* Widget / sidebar text */
body.orinon-theme .widget,
body.orinon-theme .widget a,
body.orinon-theme .widget li {
  color: rgb(var(--o-ink-800));
}
/* Topbar already dark bg, keep text bright */
body.orinon-theme .o-topbar,
body.orinon-theme .o-topbar * {
  color: rgb(var(--o-ink-100));
}
body.orinon-theme .o-topbar__cta {
  color: #fff !important;
}
/* Nav links must read against frosted header */
body.orinon-theme .main-navigation a,
body.orinon-theme .site-header a {
  color: rgb(var(--o-ink-900));
}
body.orinon-theme .main-navigation a:hover,
body.orinon-theme .site-header a:hover {
  color: rgb(var(--o-primary-700));
}
/* Footer stays dark — white text guaranteed */
body.orinon-theme .o-footer,
body.orinon-theme .o-footer a,
body.orinon-theme .o-footer p,
body.orinon-theme .o-footer li {
  color: rgb(var(--o-ink-200)) !important;
}
body.orinon-theme .o-footer a:hover {
  color: #fff !important;
}

/* ---- Reduced-motion safety net ---- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal]         { opacity: 1 !important; transform: none !important; transition: none !important; }
  .o-hero__mesh         { animation: none; }
  .o-letter             { opacity: 1; transform: none; animation: none; }
  .o-wave-animated,
  .o-wave-animated path { animation: none; }
  .o-skeleton           { animation: none; }
  .o-fly-ghost          { display: none; }
  .o-scroll-progress,
  .o-nav-bar            { display: none; }
  body                  { transition: none; }
  body.orinon-theme #masthead,
  body.orinon-theme .site-header { transition: none !important; transform: none !important; }
}
