/* Public site pages (resources/views/site/page.blade.php). Colors come from the
   palette (--background, --surface, --text, --accent; --on-accent is the
   readable text on the accent and --accent-text the accent as text on the
   background), fonts from the chosen pair (--font-title, --font-body). Each
   design adjusts the base under body.design-{slug}. */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font: 400 1.0625rem/1.7 var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }

h2 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); }

h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem; }

img { max-width: 100%; display: block; }

a { color: var(--accent-text); }

.muted { opacity: 0.7; font-size: 0.9375rem; }

.eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 0.75rem;
}

.lead { font-size: clamp(1.0625rem, 2vw, 1.25rem); opacity: 0.85; max-width: 36rem; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }

.button-outline { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 20%, transparent); }

.button-outline:hover { border-color: var(--accent); box-shadow: none; }

.button-small { min-height: 2.5rem; padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--background) 85%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}

.nav-inner {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-brand {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    margin-right: auto;
}

.nav-brand img { max-height: 2.5rem; width: auto; }

.nav-links { display: none; gap: 1.75rem; }

.nav-links a, .nav-mobile nav a { color: var(--text); text-decoration: none; font-size: 0.9375rem; opacity: 0.8; }

.nav-links a:hover { opacity: 1; color: var(--accent-text); }

.nav-mobile summary { list-style: none; cursor: pointer; display: flex; padding: 0.25rem; }

.nav-mobile summary::-webkit-details-marker { display: none; }

.nav-mobile nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--background);
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.nav-mobile nav a { padding: 0.6rem 0; }

.nav-panel-brand, .nav-mobile nav .nav-panel-button { display: none; }

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .nav-mobile { display: none; }

    /* On top, one line: names never break, and what doesn't fit goes into "Más ▾" (nav.blade.php's script). */
    .nav-top .nav-links { flex: 0 1 auto; min-width: 0; align-items: center; }
    .nav-top .nav-links > a { white-space: nowrap; }
    .nav-more { position: relative; }
    .nav-more summary {
        list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.25rem;
        color: var(--text); font-size: 0.9375rem; opacity: 0.8; white-space: nowrap;
    }
    .nav-more summary::-webkit-details-marker { display: none; }
    .nav-more summary:hover, .nav-more[open] summary { opacity: 1; color: var(--accent-text); }
    .nav-more summary .icon { width: 0.9rem; height: 0.9rem; transition: transform 0.15s; }
    .nav-more[open] summary .icon { transform: rotate(180deg); }
    .nav-more-list {
        position: absolute; right: 0; top: calc(100% + 0.9rem); z-index: 30;
        display: flex; flex-direction: column; min-width: 12rem; padding: 0.4rem;
        background: var(--background); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
        border-radius: 0.75rem; box-shadow: 0 12px 32px rgb(0 0 0 / 0.12);
    }
    .nav-more-list a { padding: 0.55rem 0.75rem; border-radius: 0.5rem; white-space: nowrap; }
    .nav-more-list a:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }

    /* Collapsed: only the ☰ button, also on computers. */
    .nav-collapsed .nav-links { display: none; }
    .nav-collapsed .nav-mobile { display: block; }
    .nav-top.nav-collapsed .nav-mobile nav {
        left: auto;
        right: max(1.5rem, calc((100% - 76rem) / 2 + 1.5rem));
        width: 18rem;
        border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
        border-radius: 0 0 0.75rem 0.75rem;
    }

    /* Side menu: a column fixed to one side, the page beside it. */
    :root { --nav-side: 16rem; --nav-rail: 4.5rem; }
    body.nav-side-left { padding-left: var(--nav-side); }
    body.nav-side-right { padding-right: var(--nav-side); }
    body.nav-side-left.nav-side-rail { padding-left: var(--nav-rail); }
    body.nav-side-right.nav-side-rail { padding-right: var(--nav-rail); }
    html:has(body.nav-side) { scroll-padding-top: 1.5rem; }

    .nav-left, .nav-right {
        position: fixed;
        top: 0;
        bottom: 0;
        width: var(--nav-side);
        border-bottom: 0;
        overflow-y: auto;
    }
    .nav-left { left: 0; border-right: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
    .nav-right { right: 0; border-left: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
    .nav-left .nav-inner, .nav-right .nav-inner {
        height: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
    }
    .nav-left .nav-brand, .nav-right .nav-brand { margin-right: 0; }
    .nav-left .nav-links, .nav-right .nav-links { flex-direction: column; gap: 0.9rem; }
    .nav-left .nav-inner > .button, .nav-right .nav-inner > .button { margin-top: auto; }

    /* Side + collapsed: a thin rail with ☰; the sections slide out beside it. */
    .nav-left.nav-collapsed, .nav-right.nav-collapsed { width: var(--nav-rail); overflow: visible; }
    .nav-collapsed:is(.nav-left, .nav-right) .nav-inner { align-items: center; padding: 1.25rem 0.5rem; }
    .nav-collapsed:is(.nav-left, .nav-right) :is(.nav-brand, .nav-inner > .button) { display: none; }
    .nav-collapsed:is(.nav-left, .nav-right) .nav-mobile { order: -1; }
    .nav-collapsed:is(.nav-left, .nav-right) .theme-switch { margin-top: auto; }
    .nav-collapsed:is(.nav-left, .nav-right) .nav-mobile nav {
        position: fixed;
        top: 0;
        bottom: 0;
        width: var(--nav-side);
        padding: 2rem 1.5rem;
        border-bottom: 0;
        box-shadow: 0 0 2rem rgb(0 0 0 / 0.15);
    }
    .nav-collapsed:is(.nav-left, .nav-right) .nav-panel-brand {
        display: block;
        margin-bottom: 1rem;
        font-family: var(--font-title);
        font-weight: 700;
        font-size: 1.25rem;
    }
    .nav-collapsed:is(.nav-left, .nav-right) .nav-mobile nav .nav-panel-button { display: inline-flex; margin-top: 1.5rem; align-self: flex-start; padding: 0.5rem 1.25rem; opacity: 1; color: var(--on-accent); }
    .nav-left.nav-collapsed .nav-mobile nav { left: var(--nav-rail); right: auto; border-right: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
    .nav-right.nav-collapsed .nav-mobile nav { right: var(--nav-rail); left: auto; border-left: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }

    /* The floating buttons keep clear of a side menu. */
    body.nav-side-right .contact-float { right: calc(var(--nav-side) + 1.25rem); }
    body.nav-side-right.nav-side-rail .contact-float { right: calc(var(--nav-rail) + 1.25rem); }
}

/* Hero */
.hero {
    min-height: min(52rem, 88svh);
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-inner { position: relative; max-width: 76rem; width: 100%; margin: 0 auto; }

.hero h1 { max-width: 14ch; }

.hero.with-photo { color: #fff; }

.hero.with-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.2));
}

.hero.with-photo .eyebrow { color: #fff; opacity: 0.85; }

.hero.with-photo .button-outline { color: #fff; border-color: rgb(255 255 255 / 0.6); }

/* Blocks */
.block { max-width: 76rem; margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 1.5rem; }

.block.narrow { max-width: 46rem; text-align: center; }

.block-head { max-width: 40rem; margin-bottom: 2.5rem; }

/* "Texto": a long text to read (a story, a privacy notice), left-aligned in a column of reading width. */
.block.prose { max-width: 46rem; }

.prose h2 { margin-bottom: 1.5rem; }

.prose .rich h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }

.prose .rich h3 { font-size: 1.125rem; margin: 1.75rem 0 0.5rem; }

.prose .rich ul, .prose .rich ol { margin: 0 0 1rem; padding-left: 1.5rem; }

.prose .rich li { margin-bottom: 0.375rem; }

.prose .rich > :first-child { margin-top: 0; }

/* A line centered or to the right (the editor's alignment buttons; RichText keeps it as a class). */
.rich .align-center { text-align: center; }

.rich .align-right { text-align: right; }

.rich :is(ul, ol):has(> li.align-center, > li.align-right) { list-style-position: inside; padding-left: 0; }

.split { display: grid; gap: 3rem; align-items: center; }

.split-media .photo { width: 100%; border-radius: 1.25rem; object-fit: cover; max-height: 34rem; }

@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .split.side-left .split-media { order: -1; }
    /* Text with a photo: the text lines up on the photo's side. */
    .text-image.side-right .split-text { text-align: right; }
}

.display { font-size: clamp(2.75rem, 7vw, 5rem); line-height: 1; }

.animation-block { min-height: min(40rem, 75svh); }

.animation-block .split-media { color: var(--accent); }

/* Cards (products, places) */
/* Cards 16-22rem wide that fill the row and center a row that isn't full
   (3 products, or the 4th card on a second line). */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.cards > * { flex: 1 1 16rem; max-width: 22rem; }

.card {
    background: var(--surface);
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}

.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.card-body { padding: 1.5rem; }

.card .price { color: var(--accent-text); font-weight: 700; margin-bottom: 0.5rem; }

.card p:last-child { margin-bottom: 0; }

.card-link { font-weight: 600; text-decoration: none; font-size: 0.9375rem; }

/* Gallery: grid (square crops), carousel (one large photo at a time) or collage (each photo in its own shape). */
.gallery img { width: 100%; border-radius: 0.75rem; }

.gallery-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }

.gallery-grid img,
.gallery-carousel img { aspect-ratio: 1; object-fit: cover; }

.gallery-collage { columns: 2; column-gap: 0.75rem; }

.gallery-collage a { display: block; break-inside: avoid; margin-bottom: 0.75rem; }

.gallery-collage img { height: auto; }

.gallery-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

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

.gallery-carousel a { flex: 0 0 100%; scroll-snap-align: center; }

.gallery-carousel img { aspect-ratio: 4 / 3; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1rem; }

.carousel-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid color-mix(in srgb, var(--text) 25%, transparent);
    border-radius: 50%;
    background: none;
    color: var(--text);
    font: 1.5rem/1 system-ui, sans-serif;
    cursor: pointer;
}

.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--text) 25%, transparent);
    cursor: pointer;
}

.carousel-dot[aria-current="true"] { background: var(--accent); }

/* Collage: three columns on a wider screen. */
@media (min-width: 720px) {
    .gallery-collage { columns: 3; }
}

/* Editor preview only: blocks still as they started show sample content. */
.sample-note {
    position: fixed;
    left: 50%;
    bottom: 0.75rem;
    z-index: 50;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 1.5rem);
    margin: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgb(17 20 28 / 0.85);
    color: #fff;
    font: 500 0.8125rem/1.35 system-ui, sans-serif;
    text-align: center;
    pointer-events: none;
}

/* Schedule */
.schedule { margin: 1.5rem auto; max-width: 28rem; text-align: left; }

.schedule div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}

.schedule dt { font-weight: 600; }

.schedule dd { margin: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.contact-list > li { flex: 1 1 16rem; max-width: 22rem; }

.contact-list a, .contact-list > li > span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface);
    border-radius: 1rem;
    color: var(--text);
    text-decoration: none;
    border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}

.contact-list a:hover { border-color: var(--accent); }

.contact-list .icon { color: var(--accent-text); flex: none; }

/* Social */
.social-links { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }

.social-links a {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.social-links a:hover { color: var(--accent-text); border-color: var(--accent); }

/* Networks' logos (partials/brand-icon) fill their whole box: a bit smaller, to look as big as the other icons. */
.icon-brand { width: 1.35rem; height: 1.35rem; }

/* Citas (public/site/booking.js): steps one under another, in the theme's colors. */
.booking { display: flex; flex-direction: column; gap: 1.75rem; text-align: left; }
.booking-step h3 { font-size: 1.05rem; margin: 0 0 0.75rem; }
.booking-hint, .booking-empty { color: color-mix(in srgb, var(--text) 65%, transparent); margin: 0.5rem 0 0; }
.booking-empty { padding: 1.5rem; border: 1px dashed color-mix(in srgb, var(--text) 25%, transparent); border-radius: 0.75rem; text-align: center; }
.booking-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.6rem; }
.booking-choice, .booking-day, .booking-time, .booking-nav {
    font: inherit;
    color: var(--text);
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--text) 15%, transparent);
    border-radius: 0.6rem;
    cursor: pointer;
}
.booking-choice { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.75rem 0.9rem; text-align: left; }
.booking-choice small, .booking-time small { color: color-mix(in srgb, var(--text) 65%, transparent); font-size: 0.8rem; }
.booking-choice:hover, .booking-day:not(:disabled):hover, .booking-time:not(:disabled):hover { border-color: var(--accent); }
.booking-choice.selected, .booking-day.selected, .booking-time.selected { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.booking-choice.selected small, .booking-time.selected small { color: inherit; }
.booking-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; text-transform: capitalize; }
.booking-nav { width: 2.25rem; height: 2.25rem; font-size: 1.2rem; }
.booking-nav:disabled { opacity: 0.35; cursor: default; }
.booking-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.booking-weekday { text-align: center; font-size: 0.8rem; color: color-mix(in srgb, var(--text) 65%, transparent); }
.booking-day { aspect-ratio: 1; padding: 0; font-weight: 600; }
.booking-day:disabled { background: none; border-color: transparent; color: color-mix(in srgb, var(--text) 35%, transparent); font-weight: 400; cursor: default; }
.booking-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.5rem; }
.booking-time { display: flex; flex-direction: column; align-items: center; padding: 0.55rem 0.25rem; font-weight: 600; }
.booking-time.busy { background: none; text-decoration: line-through; color: color-mix(in srgb, var(--text) 40%, transparent); font-weight: 400; cursor: default; }
.booking-time.busy small { text-decoration: none; }
.booking-form { display: flex; flex-direction: column; gap: 0.9rem; max-width: 26rem; }
.booking-form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.booking-form input {
    font: inherit;
    padding: 0.65rem 0.8rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
    border-radius: 0.6rem;
}
.booking-form small { color: color-mix(in srgb, var(--text) 65%, transparent); }
.booking-form .button { align-self: flex-start; }
.booking-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.booking-message:empty { display: none; }
.booking-message { margin: 0; padding: 0.75rem 1rem; border-radius: 0.6rem; background: color-mix(in srgb, var(--accent) 15%, transparent); }
.booking-done { padding: 1.5rem; border-radius: 0.75rem; background: var(--surface); border: 1px solid color-mix(in srgb, var(--text) 15%, transparent); }
.booking-done p { margin: 0.5rem 0 1rem; }

/* Footer */
.footer {
    padding: 2.5rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
    border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.footer p { margin: 0; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; margin-top: 0.75rem; }

.footer-links a { color: inherit; }

/* The page a menu link leads to, when it's the one being read. */
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

/* Floating contact button (Contacto's "Botón flotante"): WhatsApp in its green, mail in the site's accent. */
.contact-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
}

.contact-float-whatsapp { background: #25d366; color: #fff; }

.contact-float .icon { width: 1.75rem; height: 1.75rem; }

/* Animations (public/site/animation.js) */
.animation svg { width: 100%; height: auto; max-height: 75svh; display: block; }

.animation svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
    fill: none;
    stroke: currentColor;
    vector-effect: non-scaling-stroke;
}

/* Drawings that fill in once drawn (traced images, logos): --fill goes 0 → 1. */
.animation[data-fill] svg :is(path, polygon, circle, rect, ellipse) {
    fill: currentColor;
    fill-opacity: var(--fill, 0);
    transition: fill-opacity 0.8s ease-in;
}

.animation[data-fill].is-filled { --fill: 1; }

@media (prefers-reduced-motion: reduce) {
    .animation[data-fill] { --fill: 1; }
}

/* Design: Técnico - square-ish edges, a blueprint grid behind the art. */
.design-technical .button { border-radius: 0.5rem; }

.design-technical .card, .design-technical .contact-list a, .design-technical .contact-list > li > span { border-radius: 0.75rem; }

.design-technical h1, .design-technical h2 { text-transform: uppercase; letter-spacing: -0.01em; }

.design-technical .animation-block .split-media {
    background-image:
        linear-gradient(color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px);
    background-size: 2rem 2rem;
    border-radius: 0.75rem;
}

/* Design: Elegante - serif titles, centered heads, softer weights. */
.design-elegant h1, .design-elegant h2, .design-elegant h3 { font-weight: 500; letter-spacing: 0; }

.design-elegant .block-head { margin-left: auto; margin-right: auto; text-align: center; }

/* Elegant centers its cover too, like its section titles. */
.design-elegant .hero-inner { text-align: center; }
.design-elegant .hero h1, .design-elegant .hero .lead { margin-left: auto; margin-right: auto; }
.design-elegant .hero .buttons { justify-content: center; }

.design-elegant .eyebrow { letter-spacing: 0.3em; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}

/* Light/dark switch (sites in lightDark mode): shows the sun in dark mode, the moon in light. */
.theme-switch {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--text) 15%, transparent);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.theme-switch .icon-sun { display: none; }

:root[data-theme="dark"] .theme-switch .icon-sun { display: block; }

:root[data-theme="dark"] .theme-switch .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-switch .icon-sun { display: block; }
    :root:not([data-theme="light"]) .theme-switch .icon-moon { display: none; }
}

.theme-switch-float {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 30;
}

.theme-switch-float .theme-switch { background: var(--surface); }
