/*
 * BORBOLETO by MAGGY — capa editorial del storefront.
 *
 * Aplica el sistema del Manual de Marca Digital a todo lo que cuelga de
 * <body class="storefront"> (layout público). El admin y el panel de maestros
 * no la usan: conservan su UI operativa con los tokens de theme.css.
 *
 * Las reglas sin @layer ganan a las utilidades de Tailwind a propósito: así la
 * marca se impone sobre plantillas heredadas de la base (p. ej. un
 * `font-bold` en un <h1>) sin tener que tocar cada vista.
 */

.storefront {
  /* Avenir Light como texto base (manual §03). */
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /*
   * Pesos: Avenir no tiene 600 (saltaría a Heavy/800), así que semibold y
   * bold se quedan en Medium y medium baja a Book. Lujo discreto.
   */
  --font-weight-medium: 400;
  --font-weight-semibold: 500;
  --font-weight-bold: 500;

  /* Nada de blanco ni negro puros como dominantes (manual §02). */
  --color-white: var(--borboleto-ivory);
  --color-black: var(--borboleto-espresso);

  /* Tracking de la tabla del manual. */
  --tracking-tight: 0.01em;
  --tracking-tighter: 0.01em;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.14em;
  --tracking-widest: 0.18em;
}

/* Didot Regular para H1 y H2 editoriales. Los h2 en mayúsculas son rótulos
   (eyebrows) y se quedan en Avenir. */
.storefront :is(h1, h2):not(.uppercase) {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.storefront h1:not(.uppercase) {
  letter-spacing: 0.02em;
}

/* H3/H4 de UI (nombres de producto, bloques) en Avenir, sin negritas. */
.storefront :is(h3, h4) {
  font-weight: 400;
}

.storefront ::selection {
  background-color: color-mix(in srgb, var(--borboleto-gold) 35%, var(--borboleto-ivory));
  color: var(--borboleto-espresso);
}

/* Focus visible para navegación por teclado (manual §08). */
.storefront :focus-visible:not(input, select, textarea) {
  outline: 1px solid var(--color-primary);
  outline-offset: 3px;
}

/* ─────────────────────────────── Componentes ────────────────────────────── */

@layer components {
  /* Rótulo sobre títulos: Avenir 11–12 px, tracking 0.18em. */
  .eyebrow {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
  }

  @media (min-width: 640px) {
    .eyebrow { font-size: 0.75rem; }
  }

  /* Escala display responsive (manual §03). */
  .display-h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2.375rem, 1.6rem + 3.2vw, 4.5rem); /* 38 → 72 px */
    letter-spacing: 0.02em;
    line-height: 1.08;
  }

  .display-h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.875rem, 1.5rem + 1.5vw, 3rem); /* 30 → 48 px */
    letter-spacing: 0.01em;
    line-height: 1.12;
  }

  .display-h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.5rem, 1.35rem + 0.6vw, 2rem); /* 24 → 32 px */
    line-height: 1.2;
  }

  /* Botones (manual §05). Avenir 12–14 px, tracking 0.14em, radio ≤ 4 px,
     área táctil mínima de 44 px. */
  .btn-primary,
  .btn-secondary,
  .btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.75rem 1.75rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 300ms var(--ease-brand), border-color 300ms var(--ease-brand), color 300ms var(--ease-brand);
  }

  /* Primario: Verde sobre Ivory; hover aclara ligeramente y asoma el dorado. */
  .btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
  }
  .btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--borboleto-gold);
  }

  /* Secundario: borde 1 px verde; hover verde sólido. */
  .btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  .btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
  }

  /* Sobre fotografía o Verde bosque: Ivory con texto verde. */
  .btn-light {
    background-color: var(--borboleto-ivory);
    color: var(--borboleto-green);
  }
  .btn-light:hover {
    background-color: transparent;
    border-color: var(--borboleto-ivory);
    color: var(--borboleto-ivory);
  }

  .btn-primary:disabled,
  .btn-secondary:disabled,
  .btn-light:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }

  /* Editorial: sin caja, texto Espresso con subrayado fino dorado. */
  .link-editorial {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--borboleto-gold);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--borboleto-espresso);
    transition: border-color 300ms var(--ease-brand), color 300ms var(--ease-brand);
  }
  .link-editorial:hover {
    border-color: var(--borboleto-espresso);
  }

  /* Navegación: Avenir Light, mayúsculas, tracking amplio. Sin cajas. */
  .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-foreground);
    transition: color 300ms var(--ease-brand);
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.625rem;
    height: 1px;
    background-color: var(--borboleto-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms var(--ease-brand);
  }
  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after,
  .nav-link[aria-expanded="true"]::after {
    transform: scaleX(1);
  }

  /* Filete dorado para separar momentos editoriales. */
  .rule-gold {
    display: block;
    width: 3rem;
    height: 1px;
    background-color: var(--borboleto-gold);
  }
}

/* ───────────────────────── Compra por intención (inicio) ─────────────────────────
   La foto asoma bajo un velo verde. Con mouse, la tarjeta señalada se ilumina
   (velo casi fuera, foto más cerca, título que sube) y las demás se oscurecen:
   el contraste es lo que hace notorio el hover. En pantallas táctiles el velo
   queda ligero para que las fotos siempre se vean. */
.intent-photo {
  transition: transform 1400ms var(--ease-brand), filter 700ms var(--ease-brand);
}
.intent-veil {
  background-color: color-mix(in srgb, var(--borboleto-green) 45%, transparent);
  transition: background-color 700ms var(--ease-brand);
}
.intent-copy {
  transition: transform 700ms var(--ease-brand);
}
.intent-line {
  transition: width 500ms var(--ease-brand);
}
.intent-count {
  transition: opacity 500ms var(--ease-brand);
}

@media (hover: hover) {
  .intent-veil {
    background-color: color-mix(in srgb, var(--borboleto-green) 62%, transparent);
  }
  .intent-count {
    opacity: 0;
  }

  .intent-grid:hover .intent-card:not(:hover) .intent-veil {
    background-color: color-mix(in srgb, var(--borboleto-green) 88%, transparent);
  }
  .intent-grid:hover .intent-card:not(:hover) .intent-photo {
    filter: grayscale(0.6);
  }

  .intent-card:hover .intent-veil {
    background-color: color-mix(in srgb, var(--borboleto-green) 8%, transparent);
  }
  .intent-card:hover .intent-photo {
    transform: scale(1.08);
  }
  .intent-card:hover .intent-copy {
    transform: translateY(-0.75rem);
  }
  .intent-card:hover .intent-line {
    width: 3rem;
  }
  .intent-card:hover .intent-count {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intent-photo,
  .intent-copy {
    transition: none;
  }
  .intent-card:hover .intent-photo {
    transform: none;
  }
}

/* ────────────────────────────────── Motion ──────────────────────────────── */

/* Reveal al hacer scroll (reveal_controller). El estado oculto solo aplica
   cuando el controller conectó, así sin JS todo queda visible. */
[data-reveal-ready] [data-reveal-target="item"] {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 500ms var(--ease-brand), transform 500ms var(--ease-brand);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal-ready] [data-reveal-target="item"].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .storefront *,
  .storefront *::before,
  .storefront *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/*
 * BORBOLETO by MAGGY — tokens de marca.
 * Fuente: Manual de Marca Digital v1.0 (septiembre 2026), secciones 02, 03 y 05.
 *
 * Jerarquía de color recomendada por el manual:
 *   55% Ivory · 30% Verde bosque · 10% Taupe/Olivo · 5% Oro champagne.
 * Evitar #000000 y #FFFFFF como colores dominantes: texto en Espresso, fondos
 * en Ivory. El oro es solo acento (líneas, detalles, hover); sobre Ivory no
 * alcanza contraste AA para texto, así que no se usa para leer.
 *
 * No introducir colores fuera de este sistema sin aprobación de la marca. Los
 * tonos derivados (bordes, superficies suaves, hover) se calculan mezclando
 * colores oficiales con color-mix(), nunca con valores nuevos.
 */
:root {
  /* Paleta oficial (manual §02) */
  --borboleto-green: #28301F;    /* Primario — Verde bosque profundo */
  --borboleto-ivory: #F4F1E8;    /* Secundario — Ivory cálido */
  --borboleto-gold: #B08A4A;     /* Acento — Oro champagne */
  --borboleto-olive: #6B704F;    /* Complementario — Olivo apagado */
  --borboleto-taupe: #A89F8F;    /* Complementario — Taupe cálido */
  --borboleto-espresso: #2E2924; /* Oscuro — Espresso */

  /* Semánticos — tema claro (el único del storefront) */
  --color-primary: #28301F;
  --color-primary-foreground: var(--borboleto-ivory);
  --color-primary-hover: color-mix(in srgb, var(--borboleto-green) 86%, var(--borboleto-ivory));
  --color-secondary: color-mix(in srgb, var(--borboleto-taupe) 25%, var(--borboleto-ivory));
  --color-secondary-foreground: var(--borboleto-espresso);
  --color-accent: var(--borboleto-gold);
  --color-accent-foreground: var(--borboleto-espresso);
  --color-background: var(--borboleto-ivory);
  --color-foreground: var(--borboleto-espresso);
  --color-muted: color-mix(in srgb, var(--borboleto-taupe) 18%, var(--borboleto-ivory));
  /* Espresso + Taupe: legible sobre Ivory y sobre --color-muted (AA). */
  --color-muted-foreground: color-mix(in srgb, var(--borboleto-espresso) 60%, var(--borboleto-taupe));
  --color-border: color-mix(in srgb, var(--borboleto-taupe) 45%, var(--borboleto-ivory));
  --color-destructive: #9E3F30;
  --color-destructive-foreground: var(--borboleto-ivory);
  --color-success: var(--borboleto-olive);
  --color-success-foreground: var(--borboleto-ivory);
  --color-warning: var(--borboleto-gold);
  --color-warning-foreground: var(--borboleto-espresso);
  --color-card: var(--borboleto-ivory);
  --color-card-foreground: var(--borboleto-espresso);
  --color-sidebar: #ffffff;
  --color-sidebar-foreground: var(--borboleto-espresso);
  --color-footer: var(--borboleto-green);
  --color-footer-foreground: var(--borboleto-ivory);

  /*
   * Tipografía (manual §03). Didot para display (logo, H1, H2, títulos
   * editoriales) y Avenir Light para UI y cuerpo. Son fuentes comerciales:
   * solo se cargan como webfont con licencia web válida (ver docs/BRAND.md).
   * Mientras tanto se usan instaladas en el sistema (macOS/iOS las traen) y
   * el fallback que indica el manual.
   */
  --font-heading: Didot, "Didot LT STD", "Bodoni MT", "Times New Roman", serif;
  --font-sans: Avenir, "Avenir Next", "Avenir LT Std", Helvetica, Arial, sans-serif;

  /* Radios discretos 0–4 px (manual §05): editorial, no app-like. */
  --radius-xs: 2px;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --radius-2xl: 4px;
  --radius-3xl: 4px;
  --radius-full: 9999px;

  /* Sombras casi imperceptibles y cálidas (tinte Espresso, nunca negro). */
  --shadow-xs: 0 1px 1px rgba(46, 41, 36, 0.03);
  --shadow-sm: 0 1px 2px rgba(46, 41, 36, 0.04);
  --shadow-md: 0 2px 6px -1px rgba(46, 41, 36, 0.06);
  --shadow-lg: 0 8px 20px -6px rgba(46, 41, 36, 0.08);
  --shadow-xl: 0 16px 32px -12px rgba(46, 41, 36, 0.12);
  --shadow-2xl: 0 24px 48px -16px rgba(46, 41, 36, 0.16);

  /*
   * Grises de Tailwind remapeados a la escala cálida Ivory → Taupe → Espresso,
   * para que cualquier gray-* / slate-* heredado de la base quede dentro del
   * sistema de color en lugar de introducir grises fríos.
   */
  --color-gray-50: color-mix(in srgb, var(--borboleto-taupe) 8%, var(--borboleto-ivory));
  --color-gray-100: color-mix(in srgb, var(--borboleto-taupe) 18%, var(--borboleto-ivory));
  --color-gray-200: color-mix(in srgb, var(--borboleto-taupe) 35%, var(--borboleto-ivory));
  --color-gray-300: color-mix(in srgb, var(--borboleto-taupe) 60%, var(--borboleto-ivory));
  --color-gray-400: var(--borboleto-taupe);
  --color-gray-500: color-mix(in srgb, var(--borboleto-espresso) 40%, var(--borboleto-taupe));
  --color-gray-600: color-mix(in srgb, var(--borboleto-espresso) 60%, var(--borboleto-taupe));
  --color-gray-700: color-mix(in srgb, var(--borboleto-espresso) 78%, var(--borboleto-taupe));
  --color-gray-800: color-mix(in srgb, var(--borboleto-espresso) 90%, var(--borboleto-taupe));
  --color-gray-900: var(--borboleto-espresso);
  --color-gray-950: color-mix(in srgb, var(--borboleto-espresso) 85%, #000);
  --color-slate-50: var(--color-gray-50);
  --color-slate-100: var(--color-gray-100);
  --color-slate-200: var(--color-gray-200);
  --color-slate-300: var(--color-gray-300);
  --color-slate-400: var(--color-gray-400);
  --color-slate-500: var(--color-gray-500);
  --color-slate-600: var(--color-gray-600);
  --color-slate-700: var(--color-gray-700);
  --color-slate-800: var(--color-gray-800);
  --color-slate-900: var(--color-gray-900);
  --color-slate-950: var(--color-gray-950);

  /* Animación (manual §05): 250–500 ms, easing suave, sin rebotes. */
  --default-transition-duration: 300ms;
  --default-transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-brand: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/*
 * Modo oscuro — solo lo usan el panel de administración y el de maestros; el
 * storefront siempre se muestra en la paleta clara de la marca. Construido
 * sobre el Verde bosque en lugar de negro.
 */
.dark {
  --color-primary: var(--borboleto-ivory);
  --color-primary-foreground: var(--borboleto-green);
  --color-primary-hover: color-mix(in srgb, var(--borboleto-ivory) 85%, var(--borboleto-gold));
  --color-secondary: color-mix(in srgb, var(--borboleto-green) 80%, var(--borboleto-ivory));
  --color-secondary-foreground: var(--borboleto-ivory);
  --color-accent: var(--borboleto-gold);
  --color-accent-foreground: var(--borboleto-espresso);
  --color-background: color-mix(in srgb, var(--borboleto-green) 80%, var(--borboleto-espresso));
  --color-foreground: var(--borboleto-ivory);
  --color-muted: color-mix(in srgb, var(--borboleto-green) 88%, var(--borboleto-ivory));
  --color-muted-foreground: var(--borboleto-taupe);
  --color-border: color-mix(in srgb, var(--borboleto-green) 75%, var(--borboleto-ivory));
  --color-destructive: #D98672;
  --color-destructive-foreground: var(--borboleto-espresso);
  --color-success: color-mix(in srgb, var(--borboleto-olive) 60%, var(--borboleto-ivory));
  --color-success-foreground: var(--borboleto-espresso);
  --color-warning: var(--borboleto-gold);
  --color-warning-foreground: var(--borboleto-espresso);
  --color-card: var(--borboleto-green);
  --color-card-foreground: var(--borboleto-ivory);
  --color-sidebar: color-mix(in srgb, var(--borboleto-green) 80%, var(--borboleto-espresso));
  --color-sidebar-foreground: var(--borboleto-ivory);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 2px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 20px -6px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 16px 32px -12px rgba(0, 0, 0, 0.4);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Smooth color transitions when toggling dark mode */
html {
  color-scheme: light;
}
html.dark {
  color-scheme: dark;
}

/*
 * Dark-mode compatibility layer for Tailwind utility classes that don't yet
 * use theme variables. Always-dark surfaces (e.g. the site footer) are scoped
 * out via :not([data-theme-static]).
 */
.dark .bg-white:not([data-theme-static]) { background-color: var(--color-card); }
.dark .bg-white\/80:not([data-theme-static]) { background-color: color-mix(in srgb, var(--color-card) 80%, transparent); }
.dark .bg-gray-50:not([data-theme-static]),
.dark .bg-slate-50:not([data-theme-static]) { background-color: var(--color-muted); }
.dark .bg-gray-100:not([data-theme-static]),
.dark .bg-slate-100:not([data-theme-static]) { background-color: var(--color-muted); }

.dark .text-gray-900:not([data-theme-static]),
.dark .text-slate-900:not([data-theme-static]) { color: var(--color-foreground); }
.dark .text-gray-800:not([data-theme-static]),
.dark .text-slate-800:not([data-theme-static]) { color: var(--color-foreground); }
.dark .text-gray-700:not([data-theme-static]),
.dark .text-slate-700:not([data-theme-static]) { color: var(--color-foreground); }
.dark .text-gray-600:not([data-theme-static]),
.dark .text-slate-600:not([data-theme-static]) { color: var(--color-muted-foreground); }
.dark .text-gray-500:not([data-theme-static]),
.dark .text-slate-500:not([data-theme-static]) { color: var(--color-muted-foreground); }
.dark .text-gray-400:not([data-theme-static]),
.dark .text-slate-400:not([data-theme-static]) { color: var(--color-muted-foreground); }

.dark .border-gray-200:not([data-theme-static]),
.dark .border-slate-200:not([data-theme-static]) { border-color: var(--color-border); }
.dark .border-gray-300:not([data-theme-static]),
.dark .border-slate-300:not([data-theme-static]) { border-color: var(--color-border); }

/*
 * Admin sidebar — fixed full-viewport column.
 * Off-canvas on mobile, permanently visible on desktop (≥1024px).
 * Toggled on mobile via the `open` state class from the mobile-menu controller.
 * On desktop we force `display: flex` so the controller's `hidden` toggling
 * (used for the public navbar mobile menu) can't take the sidebar down.
 */
.admin-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 200ms ease-out;
}

.admin-sidebar.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .admin-sidebar {
    display: flex !important;
    width: 16rem;
    max-width: none;
    transform: translateX(0);
    transition: none;
  }
}

/* Admin sidebar — stays white in light mode, uses themed surface in dark mode. */
.dark aside[data-mobile-menu-target="menu"][data-theme-static] {
  background-color: var(--color-sidebar);
  color: var(--color-sidebar-foreground);
}

/* Lockup de marca en admin/maestros: verde en claro, blanco en oscuro. */
.brand-logo-dark { display: none; }
.dark .brand-logo-light { display: none; }
.dark .brand-logo-dark { display: block; }

/* Calendar view toggle buttons */
.active-view {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.active-view:hover {
  opacity: 0.9;
}

.inactive-view {
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-foreground);
}

.inactive-view:hover {
  background-color: var(--color-secondary);
}

/* Pagy pagination */
.pagy.series-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagy.series-nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md, 0.5rem);
  color: var(--color-foreground);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.pagy.series-nav > a:hover:not([aria-disabled="true"]) {
  background-color: var(--color-muted);
}

.pagy.series-nav > a[aria-current="page"] {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.pagy.series-nav > a[aria-disabled="true"]:not([aria-current="page"]) {
  color: var(--color-muted-foreground);
  cursor: default;
  opacity: 0.5;
}

.pagy.series-nav > a[role="separator"] {
  opacity: 1;
  letter-spacing: 0.1em;
}

.pagy.series-nav > a[aria-label="Previous"],
.pagy.series-nav > a[aria-label="Next"] {
  font-size: 0;
  overflow: hidden;
}

.pagy.series-nav > a[aria-label="Previous"]::before,
.pagy.series-nav > a[aria-label="Next"]::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.pagy.series-nav > a[aria-label="Previous"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
}

.pagy.series-nav > a[aria-label="Next"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}
