* {
    box-sizing: border-box;
}

:root {
    --neon: #00e5ff;
    --neon-dim: #00b8cc;
    --neon-glow: rgba(0, 229, 255, 0.35);
    --neon-glow-soft: rgba(0, 229, 255, 0.15);
    --dark: #0a0a0a;
    --dark-2: #111111;
    --dark-3: #1a1a1a;
    --dark-4: #222222;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-card: rgba(20, 20, 20, 0.95);
    --text: #f0f0f0;
    --text-muted: rgba(240, 240, 240, 0.55);
    --shadow-neon: 0 0 18px rgba(0, 229, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.45);
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--text);
    position: relative;
}

body.cart-open {
    overflow: hidden;
}

body.page-ready .hero-overlay {
    animation: heroFadeUp 0.55s ease both;
}

.page-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.88)),
        url("img/logotipo.png") center center / min(72vw, 700px) no-repeat;
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

/* ── HEADER ── */
.header {
    background: linear-gradient(160deg, #0d0d0d 0%, #0a1a1e 60%, #001f26 100%);
    color: #ffffff;
    text-align: center;
    padding: 18px 16px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 229, 255, 0.08);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.admin-link {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    color: var(--neon);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.admin-link:hover,
.admin-link:focus {
    transform: translateY(-1px);
    background: rgba(0, 229, 255, 0.18);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
}

.hero-overlay {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 22px 20px;
    border-radius: 24px;
    background: rgba(0, 229, 255, 0.04);
    backdrop-filter: blur(2px);
    display: grid;
    justify-items: center;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.brand-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.brand-logo {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.5), 0 8px 20px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
}

.header h1 {
    margin: 0;
    font-size: 2rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    letter-spacing: 0.02em;
}

.header p {
    margin: 8px 0 0;
    opacity: 0.8;
    text-align: center;
    color: var(--neon);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

main {
    position: relative;
    z-index: 1;
    padding-bottom: 28px;
}

.ticker-wrap,
.highlight-section,
.info-hub,
.site-footer,
.search-empty,
.admin-page {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ticker-wrap {
    padding: 0 14px;
}

.ticker-wrap {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 30, 36, 0.98), rgba(0, 18, 22, 0.98));
    color: var(--neon);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.ticker-wrap-top {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 0;
    white-space: nowrap;
    will-change: transform;
    animation: tickerFlow 22s linear infinite;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.section-kicker,
.contacto-label {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.highlight-section {
    padding: 0 14px;
    margin-top: 18px;
}

.section-heading {
    margin-bottom: 14px;
}

.section-heading h2 {
    margin: 8px 0 6px;
    font-size: 1.6rem;
    color: var(--text);
}

.section-heading p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.45;
}

.section-kicker,
.contacto-label {
    background: rgba(0, 229, 255, 0.12);
    color: var(--neon);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.destacados-grid,
.catalogo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.info-hub {
    padding: 0 14px;
    margin-top: 18px;
}

.hero-nav {
    margin-top: 18px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
}
.hero-nav::-webkit-scrollbar {
    display: none;
}

.hero-nav-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    position: relative;
    padding-bottom: 6px;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: color 0.18s ease;
}

.hero-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}
.hero-nav-link:hover::after,
.hero-nav-link:focus::after {
    transform: scaleX(1);
}
.hero-nav-link:hover,
.hero-nav-link:focus,
.hero-nav-link.active {
    color: var(--neon);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.hero-nav-link.active::after {
    transform: scaleX(1);
}

.ubicacion-toggle {
    width: 100%;
    display: grid;
    gap: 16px;
    padding: 0;
    text-align: left;
}

.info-stack {
    display: grid;
    gap: 18px;
}
.info-block {
    scroll-margin-top: 110px;
}
.info-contenido {
    margin-top: 14px;
    display: none;
}

.info-contenido.active {
    display: block;
}

.info-panel {
    display: grid;
    gap: 14px;
}

.ubicacion-info,
.mapa-wrap,
.products-panel {
    background: var(--dark-3);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.ubicacion-info {
    padding: 24px;
}

.active-panel {
    display: block;
}

.direccion-texto {
    margin: 0 0 18px;
    color: var(--text-muted);
    line-height: 1.5;
}

.map-link,
.footer-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--neon);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.map-link:hover {
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
}

.contacto-card {
    display: grid;
    gap: 16px;
}

.contacto-art {
    position: relative;
    min-height: 170px;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(0, 229, 255, 0.2), transparent 40%),
        linear-gradient(135deg, #001a1f, #003040);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.contacto-art-circle,
.social-art-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
}

.contacto-art-circle-one {
    width: 120px;
    height: 120px;
    top: -24px;
    right: -10px;
}

.contacto-art-circle-two {
    width: 90px;
    height: 90px;
    bottom: -12px;
    left: -10px;
}

.contacto-art-phone {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon);
    font-size: 4rem;
    text-shadow: 0 0 24px rgba(0, 229, 255, 0.7);
}

.contacto-copy {
    display: grid;
    gap: 10px;
}

.social-links {
    display: grid;
    gap: 10px;
}

.social-link {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px;
    border-radius: 18px;
    background: var(--dark-3);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(0, 229, 255, 0.12);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.social-link:hover {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.15);
}

.social-link-instagram .social-art {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 30%),
        linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcb045);
}

.social-link-tiktok .social-art {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(135deg, #111111, #25f4ee);
}

.social-art {
    position: relative;
    height: 84px;
    border-radius: 16px;
    overflow: hidden;
}

.social-art-circle-one {
    width: 48px;
    height: 48px;
    top: -8px;
    right: -6px;
}

.social-art-circle-two {
    width: 36px;
    height: 36px;
    bottom: -6px;
    left: -6px;
}

.social-art-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
}

.social-copy {
    display: grid;
    gap: 4px;
}

.social-copy strong {
    font-size: 1rem;
    color: var(--text);
}

.social-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mapa-wrap {
    overflow: hidden;
    min-height: 280px;
}

.mapa-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
    display: block;
}

.products-panel {
    padding: 18px;
}

.section-heading-small h2 {
    font-size: 1.45rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── FILTROS ── */
.product-tools {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--neon);
}

.search-box input,
.filter-field select {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px 14px 46px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 18px;
    background: var(--dark-3);
    font-size: 1rem;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.filter-field select {
    padding-left: 16px;
    min-height: 48px;
    box-shadow: none;
}

.search-box input:focus,
.filter-field select:focus,
.cart-footer select:focus,
.cart-footer input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.filter-toggle {
    min-height: 48px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--neon);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, box-shadow 0.2s;
}
.filter-toggle:hover {
    background: rgba(0, 229, 255, 0.14);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

.filters-panel {
    display: none;
    gap: 10px;
    margin-bottom: 14px;
}

.filters-panel.active {
    display: grid;
}

.filter-field {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--text);
}

.search-empty {
    margin-top: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── CARDS ── */
.card {
    background: var(--dark-3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 229, 255, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.25);
}

.card-media {
    position: relative;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    color: var(--neon);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid rgba(0, 229, 255, 0.4);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.product-badge.promo {
    background: rgba(0, 229, 255, 0.15);
    color: var(--neon);
    border-color: var(--neon);
}

.card-content {
    padding: 14px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.card-tag {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--neon);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: capitalize;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--text);
}

.card-detail {
    margin: 0 0 10px;
    color: var(--text-muted);
    line-height: 1.4;
    font-size: 0.95rem;
}

.price {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.card button {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--neon);
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s, box-shadow 0.2s;
}
.card button:hover {
    background: rgba(0, 229, 255, 0.18);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}

/* ── FOOTER ── */
.site-footer {
    margin-top: 20px;
    padding: 24px 14px 110px;
    background: linear-gradient(180deg, #0a0a0a 0%, #001015 100%);
    color: var(--text);
    box-shadow: 0 -1px 0 rgba(0, 229, 255, 0.15);
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 18px;
    border-top: 1px solid rgba(0, 229, 255, 0.15);
}

.footer-brand {
    display: grid;
    gap: 14px;
    align-items: center;
    justify-items: center;
    max-width: 340px;
}

.footer-logo {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
}

.footer-brand strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text);
}

.footer-brand p,
.footer-credit {
    margin: 6px 0 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 0;
}

.footer-link {
    width: 52px;
    height: 52px;
    padding: 0;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--neon);
    border: 1px solid rgba(0, 229, 255, 0.25);
    transition: box-shadow 0.2s, background 0.2s;
}
.footer-link:hover {
    background: rgba(0, 229, 255, 0.18);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.3);
}

.footer-credit {
    margin-top: 18px;
    font-size: 0.95rem;
}

/* ── CARRITO BOTÓN ── */
.cart-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 50%;
    background: linear-gradient(135deg, #001a20, #003040);
    color: var(--neon);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    transition: box-shadow 0.2s;
}
.cart-btn:hover {
    box-shadow: 0 0 32px rgba(0, 229, 255, 0.5), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.cart-btn span {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--neon);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 999;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ── CARRITO PANEL ── */
.cart-panel {
    position: fixed;
    top: 12px;
    right: -420px;
    width: min(calc(100% - 12px), 420px);
    height: calc(100dvh - 24px);
    max-height: calc(100svh - 24px);
    background: linear-gradient(180deg, #0c1a1f 0%, #08111a 100%);
    box-shadow: -4px 0 40px rgba(0, 229, 255, 0.12), -4px 0 20px rgba(0, 0, 0, 0.6);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-right: none;
}

.cart-panel.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    color: var(--neon);
}

.cart-header h2 {
    margin: 0;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.cart-header button {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.15s;
}
.cart-header button:hover {
    color: var(--neon);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px 24px;
    min-height: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
    align-items: start;
    color: var(--text);
}

.cart-item strong,
.cart-item span {
    display: block;
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.cart-item-body {
    min-width: 0;
}

.cart-item-detail {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    color: var(--neon);
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.15s;
}
.qty-btn:hover {
    background: rgba(0, 229, 255, 0.2);
}

.cart-item-qty {
    min-width: 18px;
    text-align: center;
    font-weight: 700;
    color: var(--neon);
}

.cart-item-price {
    font-size: 0.95rem;
    text-align: right;
    color: var(--neon);
    font-weight: 700;
}

.empty-cart {
    text-align: center;
    color: var(--text-muted);
    margin-top: 30px;
}

.cart-footer {
    position: sticky;
    bottom: 0;
    background: rgba(0, 20, 26, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.total-text {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neon);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.cart-footer select,
.cart-footer input,
.btn-wsp {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
}

.cart-footer select,
.cart-footer input {
    border: 1px solid rgba(0, 229, 255, 0.2);
    background: var(--dark-3);
    color: var(--text);
}

.btn-wsp {
    border: none;
    background: #1faa59;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-wsp:hover {
    background: #17924c;
}

/* ── ADMIN ── */
.admin-body {
    min-height: 100vh;
    background: var(--dark);
}

.admin-page {
    min-height: 100vh;
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 24px 14px 40px;
}

.admin-card {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 22px 18px;
    border-radius: 24px;
    background: var(--dark-3);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 229, 255, 0.12);
}

.admin-topbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--neon);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: background 0.2s, box-shadow 0.2s;
}
.admin-back-link:hover {
    background: rgba(0, 229, 255, 0.14);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.admin-head h1,
.admin-head h2 {
    margin: 0 0 8px;
    color: var(--text);
}

.admin-head p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.admin-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.admin-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--text);
}

.admin-field-group {
    display: grid;
    gap: 8px;
}

.admin-field-title {
    font-weight: 700;
    color: var(--text);
}

.admin-field-help {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.45;
    font-size: 0.92rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--dark-4);
    color: var(--text);
}

.admin-primary,
.admin-secondary,
.admin-danger {
    min-height: 48px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s, opacity 0.2s;
}

.admin-primary {
    background: var(--neon);
    color: var(--dark);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
}
.admin-primary:hover {
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.5);
}

.admin-secondary {
    background: var(--dark-4);
    color: var(--neon);
    border: 1px solid rgba(0, 229, 255, 0.25);
}
.admin-secondary:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

.admin-danger {
    min-height: 44px;
    background: rgba(255, 60, 60, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 60, 60, 0.3);
    font-size: 0.95rem;
}
.admin-danger:hover {
    background: rgba(255, 60, 60, 0.25);
}

.admin-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--neon);
    font-weight: 700;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.admin-status.error {
    background: rgba(255, 60, 60, 0.1);
    color: #ff6b6b;
    border-color: rgba(255, 60, 60, 0.25);
}

.admin-actions {
    margin-top: 16px;
}

.admin-form-actions {
    display: grid;
    gap: 10px;
}

.admin-check-grid {
    display: grid;
    gap: 10px;
}

.admin-check-grid-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.05);
    font-weight: 700;
    color: var(--text);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.admin-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--neon);
}

.current-image-wrap {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--text);
}

.current-image-preview {
    width: 100%;
    max-width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.2), 0 10px 22px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.admin-list-head {
    margin-top: 24px;
}

.admin-products-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.admin-product-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    background: var(--dark-4);
    border: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.admin-product-image {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
}

.admin-product-body {
    display: grid;
    gap: 6px;
}

.admin-product-body strong {
    font-size: 1.05rem;
    color: var(--text);
}

.admin-product-body p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.45;
}

.admin-product-body span {
    font-weight: 700;
    color: var(--neon);
}

.admin-product-actions {
    display: grid;
    gap: 10px;
}

.admin-empty {
    margin: 0;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── NUEVA CATEGORIA ── */
.admin-new-category {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    align-items: center;
}

.admin-new-category input {
    flex: 1;
    min-width: 0;
}

.admin-category-status {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: var(--neon);
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
}

.admin-category-status.error {
    color: #ff6b6b;
}

.admin-check-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.admin-category-delete {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 0.2rem;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.admin-category-delete:hover {
    opacity: 1;
}

/* ── MRML STUDIO LINK ── */
.footer-studio-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.footer-studio-link:hover {
    color: var(--neon);
}

/* ── RESPONSIVE ── */
@media (min-width: 641px) {
    .ticker-wrap,
    .highlight-section,
    .info-hub {
        padding-left: 20px;
        padding-right: 20px;
    }

    .admin-page {
        padding: 32px 20px 48px;
    }

    .admin-form-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-product-card {
        grid-template-columns: 180px 1fr auto;
        align-items: center;
    }

    .admin-product-image {
        height: 130px;
    }

    .admin-product-actions {
        width: 120px;
    }

    .location-panel {
        grid-template-columns: minmax(280px, 360px) 1fr;
        align-items: stretch;
    }
    .contact-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .destacados-grid,
    .catalogo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .product-tools {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .filters-panel,
    .filters-panel.active {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        padding: 28px 20px 48px;
    }
}

@media (min-width: 900px) {
    .destacados-grid,
    .catalogo {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-link {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .header h1 {
        font-size: 1.7rem;
    }

    .hero-overlay {
        padding: 18px 16px;
    }

    .brand-head {
        gap: 12px;
    }

    .brand-logo {
        width: 74px;
        height: 74px;
    }

    .hero-nav {
        gap: 16px;
        justify-content: flex-start;
    }

    .hero-nav-link {
        font-size: 0.9rem;
    }

    .page-bg {
        background-size: 110vw;
        opacity: 0.72;
    }

    .mapa-wrap {
        min-height: 260px;
    }

    .cart-panel {
        top: auto;
        right: 0;
        bottom: -100dvh;
        width: 100%;
        height: min(82dvh, 760px);
        max-height: min(82svh, 760px);
        border-radius: 24px 24px 0 0;
        transition: bottom 0.3s ease;
        border-right: 1px solid rgba(0, 229, 255, 0.15);
    }

    .cart-panel.active {
        right: 0;
        bottom: 0;
    }

    .cart-items {
        padding: 16px 16px 18px;
    }

    .cart-footer {
        padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    }
}

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

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

@keyframes tickerFlow {
    from { transform: translateX(0); }
    to { transform: translateX(-45%); }
}

/* ════════════════════════════════════════
   ADMIN PANEL — TABS & LAYOUT
════════════════════════════════════════ */

.ap-wrapper {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
}

.ap-header {
    background: var(--dark-2);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.ap-header-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    flex: 1;
    color: var(--text);
    text-transform: uppercase;
}

.ap-header-title span {
    color: var(--neon);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.ap-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    padding: 0 8px;
    flex-shrink: 0;
    position: sticky;
    top: 60px;
    z-index: 99;
}
.ap-tabs::-webkit-scrollbar { display: none; }

.ap-tab-btn {
    flex-shrink: 0;
    padding: 14px 14px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    background: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.ap-tab-btn.active {
    color: var(--neon);
    border-bottom-color: var(--neon);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.ap-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.ap-tab-content { display: none; }
.ap-tab-content.active { display: block; }

.ap-section-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: var(--neon);
    text-transform: uppercase;
}

.ap-desc {
    margin: -8px 0 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ap-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--dark-3);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.ap-empty {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 24px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.form-help {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    background: var(--dark-4);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-textarea { min-height: 90px; resize: vertical; }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.ap-btn {
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    background: rgba(0, 229, 255, 0.08);
    color: var(--neon);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.ap-btn:hover {
    background: rgba(0, 229, 255, 0.16);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}
.ap-btn.primary {
    background: var(--neon);
    color: var(--dark);
    border-color: var(--neon);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}
.ap-btn.primary:hover {
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
}
.ap-btn.danger {
    border-color: rgba(255, 100, 100, 0.3);
    background: rgba(255, 100, 100, 0.08);
    color: #ff6b6b;
}
.ap-btn.danger:hover { background: rgba(255, 100, 100, 0.18); }

.ap-card {
    background: var(--dark-4);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s;
}
.ap-card:hover { border-color: rgba(0, 229, 255, 0.25); }
.ap-card-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0, 229, 255, 0.1);
}
.ap-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ap-card-info strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ap-card-info small { font-size: 11px; color: var(--text-muted); }
.ap-price { font-size: 15px; font-weight: 700; color: var(--neon); }
.ap-card-actions { display: flex; gap: 6px; flex-shrink: 0; }

.ap-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}
.ap-check-item { display: flex; align-items: center; gap: 4px; }
.ap-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    flex: 1;
    cursor: pointer;
}
.ap-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--neon);
}
.ap-cat-delete {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.5;
    padding: 0 4px;
    transition: opacity 0.15s;
    flex-shrink: 0;
}
.ap-cat-delete:hover { opacity: 1; }

.ap-inline-add {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}
.ap-inline-add .form-input { flex: 1; }

.ap-inline-status {
    font-size: 0.82rem;
    color: var(--neon);
    padding: 4px 6px;
    border-radius: 6px;
    margin-top: 4px;
}
.ap-inline-status.error { color: #ff6b6b; }

.img-upload-area {
    border: 1px dashed rgba(0, 229, 255, 0.3);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(0, 229, 255, 0.03);
    transition: border-color 0.2s, background 0.2s;
}
.img-upload-area:hover {
    border-color: rgba(0, 229, 255, 0.6);
    background: rgba(0, 229, 255, 0.06);
}
.img-upload-icon { font-size: 2rem; color: var(--neon); margin-bottom: 8px; opacity: 0.7; }
.img-upload-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.hours-row-editor {
    display: grid;
    grid-template-columns: 90px 1fr auto 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.07);
}
.hours-row-editor:last-child { border-bottom: none; }
.hours-day { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.ap-input {
    background: var(--dark-4);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.ap-input:focus { border-color: var(--neon); }
.ap-input-sm { padding: 6px 8px; font-size: 12px; }
.ap-input:disabled { opacity: 0.35; cursor: not-allowed; }

.ap-toggle {
    width: 40px;
    height: 22px;
    background: var(--dark-4);
    border-radius: 11px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.ap-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-muted);
    top: 2px;
    left: 2px;
    transition: transform 0.2s, background 0.2s;
}
.ap-toggle.on { background: rgba(0, 229, 255, 0.2); border-color: var(--neon); }
.ap-toggle.on::after { transform: translateX(18px); background: var(--neon); }

.admin-status {
    margin: 10px 16px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}
.admin-status.success {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: var(--neon);
}
.admin-status.error {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.25);
    color: #ff6b6b;
}

.admin-login-page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    min-height: 100vh;
}
.admin-login-box {
    background: var(--dark-3);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 20px;
    padding: 32px 28px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.08), var(--shadow-soft);
}

@media (max-width: 480px) {
    .form-row-2 { grid-template-columns: 1fr; }
    .hours-row-editor { grid-template-columns: 70px 1fr auto 1fr auto; gap: 5px; }
}
