 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-0: #050506;
    --bg-1: #0f1012;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.14);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.82);
    --text-dim: rgba(255, 255, 255, 0.65);
    --ink: #1a1a1a;
    --paper: #f5f1e8;
    --paper-2: #efe8db;
    --accent: #d1b07a;
    --accent-2: #b89257;
    --border: rgba(209, 176, 122, 0.35);
    --border-strong: rgba(209, 176, 122, 0.55);
}

body {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    background-color: var(--bg-1);
    background-image:
        radial-gradient(900px 600px at 20% -10%, rgba(209, 176, 122, 0.20) 0%, rgba(209, 176, 122, 0) 60%),
        radial-gradient(700px 500px at 110% 30%, rgba(209, 176, 122, 0.12) 0%, rgba(209, 176, 122, 0) 55%),
        linear-gradient(135deg, var(--bg-1) 0%, var(--bg-0) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 60px;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 2rem;
}

.profile {
    margin-bottom: 2rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent);
    box-shadow: 0 0 20px rgba(209, 176, 122, 0.35);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

h1 {
    color: var(--text);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.profile p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    color: var(--text);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-button {
    background-color: var(--paper);
    color: var(--ink);
    padding: 1.7rem;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border);
    display: block;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.link-button div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}

.link-button h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-2);
}

.link-button p {
    font-size: 1rem;
    color: rgba(26, 26, 26, 0.75);
    line-height: 1.5;
    margin-top: 0.2rem;
}

.link-button:hover {
    background-color: var(--paper-2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-strong);
}

.link-button:hover h3 {
    color: var(--accent);
}

.event-card {
    background: var(--paper);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--accent);
}

.event-card:nth-child(1) .event-icon {
    color: var(--accent);
}

.event-card:nth-child(2) .event-icon {
    color: var(--accent-2);
}

.event-card:nth-child(2) .event-link {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.event-card:nth-child(2) {
    border-top-color: var(--accent-2);
}

.event-card:nth-child(3) .event-icon {
    color: var(--accent);
}

.event-card:nth-child(3) {
    border-top-color: var(--accent);
}

.event-link {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-link:hover {
    background: var(--accent);
    color: var(--bg-0);
}

.news-slider {
    margin-top: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    background: var(--surface);
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.slider-header h2 {
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .slider-header h2 {
        font-size: 1.3rem;
    }
    
    .slider-subtitle {
        font-size: 0.8rem;
    }
}

.slider-container {
    width: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.news-item {
    min-width: 100%;
    padding: 1rem;
}

.news-link {
    text-decoration: none;
    color: var(--text);
    display: block;
    transition: transform 0.3s ease;
}

.news-link:hover {
    transform: translateY(-5px);
}

.news-link .news-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.4rem 1rem;
    background-color: var(--paper);
    color: var(--ink);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.news-link .news-button:hover {
    background-color: transparent;
    color: var(--text);
}

.news-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-link:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 0.5rem;
}

.news-date {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    color: var(--text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.news-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: 1px solid var(--border-strong);
    color: var(--bg-0);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
    background: var(--accent-2);
    color: var(--bg-0);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .link-button {
        padding: 1.2rem;
    }
    
    .link-button h3 {
        font-size: 0.9rem;
    }
    
    .link-button p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
        margin-bottom: 60px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .link-button {
        padding: 1.2rem;
    }
    
    .link-button h3 {
        font-size: 0.9rem;
    }
    
    .link-button p {
        font-size: 0.75rem;
    }
    
    .footer {
        font-size: 0.7rem;
        padding: 0.8rem;
    }
    
    .news-image {
        height: 150px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .news-content h3 {
        font-size: 1rem;
    }

    .news-content p {
        font-size: 0.8rem;
    }
}

.footer {
    position: static;
    width: 100%;
    text-align: center;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--border);
}

.footer-credit {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer-credit-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.footer-credit-link:hover {
    color: var(--paper);
    text-decoration: underline;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: rgba(245, 241, 232, 0.96);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    color: var(--ink);
    border: 2px solid var(--border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    border: none;
    color: var(--bg-0);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    opacity: 1;
    background: var(--accent-2);
}

.popup-content h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.subscribe-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(26, 26, 26, 0.18);
    border-radius: 12px;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.submit-btn {
    background: var(--accent);
    color: var(--bg-0);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-5px);
    background: var(--accent-2);
    color: var(--bg-0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Share Popup Styles */
.share-popup {
    text-align: center;
}

.popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 26, 26, 0.15);
}

.popup-header h2 {
    margin: 0.5rem 0 0 0;
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 700;
}

.popup-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    padding: 3px;
    background: var(--paper);
}

.qr-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-wrapper {
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(26, 26, 26, 0.15);
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-code {
    width: 180px;
    height: 180px;
    display: block;
}

.qr-container p {
    color: var(--ink);
    margin: 0;
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.share-btn {
    background: var(--accent);
    color: var(--bg-0);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Fredoka', sans-serif;
}

.share-btn:hover {
    background: var(--accent-2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.share-btn i {
    font-size: 1rem;
}

a.share-btn {
    text-decoration: none;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245, 241, 232, 0.96);
    color: var(--ink);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-strong);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.toast.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    border-radius: 0;
    animation: confetti-fall linear forwards;
    transform: rotate(0);
}

@keyframes confetti-fall {
    0% {
        top: -10px;
        transform: rotate(0deg) translateX(0);
    }
    25% {
        transform: rotate(90deg) translateX(25px);
    }
    50% {
        transform: rotate(180deg) translateX(-25px);
    }
    75% {
        transform: rotate(270deg) translateX(25px);
    }
    100% {
        top: 100vh;
        transform: rotate(360deg) translateX(-25px);
    }
}

@media (max-width: 480px) {
    .qr-code {
        width: 150px;
        height: 150px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos para la sección de sucursales */
.locations-section {
    padding: 1.5rem 0;
    margin: 1rem 0;
    width: 100%;
}

.locations-header {
    text-align: center;
    margin-bottom: 1rem;
}

.locations-header h2 {
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.locations-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 80%;
    margin: 0 auto;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Estilo para la Sucursal Oeste similar a Últimas Novedades */
.location-card[data-location="sucursal-oeste"] {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Botones blancos para todos los popups */
.popup-overlay .map-action-btn {
    background-color: var(--paper);
    color: var(--ink);
    border: 1px solid var(--border);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.location-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.location-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border-strong);
    margin: -20px auto 0.1rem;
}

.location-icon i {
    font-size: 1rem;
    color: var(--bg-0);
}

.location-card h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    padding: 0;
    font-weight: 600;
}

.location-card p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    padding: 0;
}

.location-phone {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--text);
}

.location-buttons {
    display: flex;
    gap: 10px;
    margin-top: 0.8rem;
    justify-content: center;
}

.location-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink);
    background-color: var(--paper);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.location-link:hover {
    background-color: #f0f0f0;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.location-link.whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.location-link.whatsapp:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    color: white;
}

/* Estilos para el popup del mapa */
.map-popup {
    max-width: 800px;
    width: 90%;
    padding: 0;
    overflow: hidden;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.map-header h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.map-content {
    height: 450px;
    width: 100%;
}

.map-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-actions {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.map-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(245, 241, 232, 0.16);
    color: var(--text);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    margin: 0 0.5rem;
    border: 1px solid var(--border);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.map-action-btn:hover {
    background: rgba(245, 241, 232, 0.22);
    transform: translateY(-2px);
}

.map-action-btn:first-child {
    margin-left: 0;
}

.map-action-btn:last-child {
    margin-right: 0;
}

.map-action-btn i {
    font-size: 1.1rem;
}

#whatsappBtn {
    background: rgba(37, 211, 102, 0.5);
    border-color: rgba(37, 211, 102, 0.7);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

#whatsappBtn:hover {
    background: rgba(37, 211, 102, 0.7);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

#directionsBtn {
    background: rgba(66, 133, 244, 0.5);
    border-color: rgba(66, 133, 244, 0.7);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

#directionsBtn:hover {
    background: rgba(66, 133, 244, 0.7);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

@media (max-width: 768px) {
    .map-content {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-content {
        height: 300px;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .map-action-btn {
        margin: 0;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Testimonios de la bio =====
   Usa las mismas clases que el sitio (.testimonials__grid / .testimonial-card /
   __rating / __text / __author / __avatar). Los colores salen de currentColor
   porque las plantillas de bio no cargan las variables del theme. */
.bio-testimonios {
    margin: 30px auto;
    width: 100%;
    max-width: 680px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}
.bio-testimonios-header {
    text-align: center;
    margin-bottom: 18px;
}
.bio-testimonios-header h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.bio-testimonios-header p {
    margin: 0;
    font-size: .88rem;
    opacity: .75;
}
.bio-testimonios .testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 700px) {
    .bio-testimonios .testimonials__grid { grid-template-columns: 1fr 1fr; }
}
.bio-testimonios .testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: 16px;
    background: rgba(127, 127, 127, .08);
    border: 1px solid rgba(127, 127, 127, .22);
    background: color-mix(in srgb, currentColor 7%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.bio-testimonios .testimonial-card__rating {
    color: #f4b740;
    font-size: .85rem;
    margin-bottom: 8px;
}
.bio-testimonios .testimonial-card__text {
    font-size: .92rem;
    line-height: 1.6;
    opacity: .9;
    margin-bottom: 14px;
}
.bio-testimonios .testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.bio-testimonios .testimonial-card__author img,
.bio-testimonios .testimonial-card__avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    object-fit: cover;
}
.bio-testimonios .testimonial-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .55;
    background: rgba(127, 127, 127, .18);
    background: color-mix(in srgb, currentColor 14%, transparent);
}
.bio-testimonios .testimonial-card__author h3 {
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
}
.bio-testimonios .testimonial-card__author p {
    margin: 0;
    font-size: .78rem;
    opacity: .7;
}

/* ===== Preguntas frecuentes de la bio =====
   Usa el acordeon compartido del sitio (.faq-accordion / .faq-item /
   .faq-question / .faq-answer). Los colores salen de currentColor porque
   las plantillas de bio no cargan las variables del theme. */
.bio-faq {
    margin: 30px auto;
    width: 100%;
    max-width: 680px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}
.bio-faq-header {
    text-align: center;
    margin-bottom: 18px;
}
.bio-faq-header h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.bio-faq-header p {
    margin: 0;
    font-size: .88rem;
    opacity: .75;
}
.bio-faq .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bio-faq .faq-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
    background: rgba(127, 127, 127, .08);
    border: 1px solid rgba(127, 127, 127, .22);
    background: color-mix(in srgb, currentColor 7%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.bio-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
}
.bio-faq .faq-question h3 {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.4;
}
.bio-faq .faq-question i {
    font-size: .85rem;
    opacity: .6;
    transition: transform .3s ease;
}
.bio-faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.bio-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    font-size: .9rem;
    line-height: 1.6;
    opacity: .85;
    transition: max-height .3s ease, padding .3s ease;
}
.bio-faq .faq-item.active .faq-answer {
    padding: 0 16px 14px;
    max-height: 400px;
}
/* FAQ y testimonios adaptados a la identidad del template 008 */
.bio-testimonios, .bio-faq { --bio-accent: #d5ad67; --bio-soft: rgba(213,173,103,.12); --bio-border: rgba(213,173,103,.42); }
.bio-component-header { text-align: center; }
.bio-component-header-icon { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 10px; color: var(--bio-accent); background: var(--bio-soft); border: 1px solid var(--bio-border); border-radius: inherit; }
.bio-testimonios-carrusel { position: relative; }
.bio-testimonios-viewport { overflow: hidden; border-radius: inherit; }
.bio-testimonios-track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.bio-testimonios .bio-testimonios-track .testimonial-card { min-width: 100%; width: 100%; margin: 0; box-sizing: border-box; }
.bio-testimonios-controles { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 16px; }
.bio-testimonios-btn { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: var(--bio-accent); background: var(--bio-soft); border: 1px solid var(--bio-border); border-radius: 50%; cursor: pointer; }
.bio-testimonios-btn:hover, .bio-testimonios-btn:focus-visible, .bio-testimonios-pause[aria-pressed="true"] { filter: brightness(1.08); transform: translateY(-1px); }
.bio-testimonios-dots { display: flex; align-items: center; gap: 6px; }
.bio-testimonios-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--bio-border); cursor: pointer; transition: width .25s ease, background .25s ease; }
.bio-testimonios-dot.is-active { width: 24px; background: var(--bio-accent); }
.bio-faq-header-descripcion { margin-top: 8px; line-height: 1.6; opacity: .78; }
.bio-faq .faq-question { width: 100%; color: inherit; font: inherit; text-align: left; background: transparent; border: 0; }
/* ===== Diseno por enlace de la bio =====
   El color llega en la variable --link-color que pone el HTML de cada boton,
   y el estilo como clase modificadora. Sin ninguno de los dos, el boton
   conserva el aspecto que le da esta plantilla. */
.link-card.bio-link--relleno,
.link-button.bio-link--relleno {
    background: var(--link-color, #b89257) !important;
    border-color: var(--link-color, #b89257) !important;
    color: #fff !important;
}
.link-card.bio-link--borde,
.link-button.bio-link--borde {
    background: transparent !important;
    border: 2px solid var(--link-color, #b89257) !important;
    color: var(--link-color, #b89257) !important;
}
.link-card.bio-link--suave,
.link-button.bio-link--suave {
    background: rgba(127, 127, 127, .12) !important;
    background: color-mix(in srgb, var(--link-color, #b89257) 15%, transparent) !important;
    border: 1px solid var(--link-color, #b89257) !important;
    color: var(--link-color, #b89257) !important;
}

/* El texto interno hereda: si no, los h2/h3 de la plantilla pisan el color */
.link-card[class*="bio-link--"] h2,
.link-card[class*="bio-link--"] h3,
.link-card[class*="bio-link--"] p,
.link-card[class*="bio-link--"] span,
.link-button[class*="bio-link--"] h2,
.link-button[class*="bio-link--"] h3,
.link-button[class*="bio-link--"] p,
.link-button[class*="bio-link--"] span {
    color: inherit !important;
}

.bio-link-icono {
    margin-right: 8px;
}

/* Alineacion del texto del boton, elegida enlace por enlace */
.link-card.bio-link-txt--izquierda,
.link-button.bio-link-txt--izquierda {
    text-align: left !important;
    justify-content: flex-start !important;
}
.link-card.bio-link-txt--centro,
.link-button.bio-link-txt--centro {
    text-align: center !important;
    justify-content: center !important;
}
.link-card.bio-link-txt--derecha,
.link-button.bio-link-txt--derecha {
    text-align: right !important;
    justify-content: flex-end !important;
}

/* ===== Contenidos de la bio =====
   Usa las mismas clases que el bloque de blog del sitio (.blog__grid /
   .blog-card / __image / __content / __title / __excerpt / __link). Los
   colores salen de currentColor porque las plantillas de bio no cargan
   las variables del theme. */
.bio-contenidos {
    margin: 30px auto;
    width: 100%;
    max-width: 680px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}
.bio-contenidos-header {
    text-align: center;
    margin-bottom: 18px;
}
.bio-contenidos-header h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.bio-contenidos-header p {
    margin: 0;
    font-size: .88rem;
    opacity: .75;
}
.bio-contenidos .blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 700px) {
    .bio-contenidos .blog__grid { grid-template-columns: 1fr 1fr; }
}
.bio-contenidos .blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(127, 127, 127, .08);
    border: 1px solid rgba(127, 127, 127, .22);
    background: color-mix(in srgb, currentColor 7%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.bio-contenidos .blog-card__image img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.bio-contenidos .blog-card__content {
    padding: 14px 16px 16px;
}
.bio-contenidos .blog-card__title {
    margin: 0 0 6px;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
}
.bio-contenidos .blog-card__excerpt {
    margin: 0 0 10px;
    font-size: .86rem;
    line-height: 1.55;
    opacity: .8;
}
.bio-contenidos .blog-card__link {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    opacity: .85;
    border-bottom: 2px solid currentColor;
    padding-bottom: 1px;
}
.bio-contenidos .blog-card__link:hover {
    opacity: 1;
}

/* ===== Carrusel de contenidos =====
   Mismo comportamiento que el de testimonios, pero con sus propias clases para
   no pisarle el aspecto. Los colores salen de currentColor, como el resto. */
.bio-contenidos-carrusel {
    position: relative;
}
.bio-contenidos-viewport {
    overflow: hidden;
    border-radius: 14px;
}
.bio-contenidos-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.bio-contenidos-track > .blog-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
}
.bio-contenidos-controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}
.bio-contenidos-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: .85rem;
    color: inherit;
    background: rgba(127, 127, 127, .16);
    background: color-mix(in srgb, currentColor 14%, transparent);
    transition: transform .2s ease, background .2s ease;
}
.bio-contenidos-btn:hover,
.bio-contenidos-btn:focus-visible {
    background: color-mix(in srgb, currentColor 26%, transparent);
    transform: translateY(-2px);
}
.bio-contenidos-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}
.bio-contenidos-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(127, 127, 127, .35);
    background: color-mix(in srgb, currentColor 30%, transparent);
    transition: width .25s ease, background .25s ease;
}
.bio-contenidos-dot.is-active {
    width: 25px;
    background: currentColor;
}

/* ===== Productos de la bio =====
   Mismo esquema que contenidos: carrusel con las clases genericas y colores
   por currentColor, para que se adapte a las 10 plantillas. */
.bio-productos {
    margin: 30px auto;
    width: 100%;
    max-width: 680px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}
.bio-productos-header {
    text-align: center;
    margin-bottom: 18px;
}
.bio-productos-header h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.bio-productos-header p {
    margin: 0;
    font-size: .88rem;
    opacity: .75;
}
.bio-productos-carrusel { position: relative; }
.bio-productos-viewport { overflow: hidden; border-radius: 14px; }
.bio-productos-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.bio-productos-track > .producto-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(127, 127, 127, .08);
    border: 1px solid rgba(127, 127, 127, .22);
    background: color-mix(in srgb, currentColor 7%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.producto-card__image img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.producto-card__content {
    padding: 14px 16px 16px;
}
.producto-card__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}
.producto-card__precio {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.producto-card__antes {
    font-size: .82rem;
    font-weight: 400;
    opacity: .6;
    text-decoration: line-through;
    margin-left: 6px;
}
.producto-card__link {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    opacity: .85;
    border-bottom: 2px solid currentColor;
    padding-bottom: 1px;
}
.producto-card__link:hover { opacity: 1; }

.bio-productos-controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}
.bio-productos-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: .85rem;
    color: inherit;
    background: rgba(127, 127, 127, .16);
    background: color-mix(in srgb, currentColor 14%, transparent);
    transition: transform .2s ease, background .2s ease;
}
.bio-productos-btn:hover,
.bio-productos-btn:focus-visible {
    background: color-mix(in srgb, currentColor 26%, transparent);
    transform: translateY(-2px);
}
.bio-productos-dots { display: flex; align-items: center; gap: 7px; }
.bio-productos-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(127, 127, 127, .35);
    background: color-mix(in srgb, currentColor 30%, transparent);
    transition: width .25s ease, background .25s ease;
}
.bio-productos-dot.is-active { width: 25px; background: currentColor; }

.bio-comentarios-header-descripcion { margin-top: 8px; line-height: 1.6; opacity: .78; }
/* ===== Bloques de la bio: chrome comun =====
   Los cuatro bloques con seccion propia (comentarios, novedades, productos y
   preguntas frecuentes) comparten el panel y el encabezado. Contenidos y
   productos dejan el carrusel de una lamina y pasan a un riel con scroll-snap. */
.bio-testimonios,
.bio-contenidos,
.bio-productos,
.bio-videos,
.bio-faq {
    --bio-accent: #d1b07a;
    --bio-soft: rgba(255, 255, 255, .55);
    --bio-border: rgba(255, 255, 255, .8);
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 26px 0;
    padding: 22px 18px;
    border: 1px solid rgba(209, 176, 122, .35);
    border-radius: 20px;
    background: rgba(255, 255, 255, .07);
    box-shadow: none;
    text-align: left;
}

.bio-testimonios-header,
.bio-contenidos-header,
.bio-productos-header,
.bio-videos-header,
.bio-faq-header {
    margin: 0 0 20px;
    text-align: center;
}

/** Hoy heredaba el radio del encabezado, que no tiene: quedaba cuadrado */
.bio-component-header-icon {
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: #d1b07a;
    box-shadow: none;
}

.bio-testimonios-header h2,
.bio-contenidos-header h2,
.bio-productos-header h2,
.bio-videos-header h2,
.bio-faq-header h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Jerarquia del encabezado: titulo > bajada > descripcion */
.bio-testimonios-header p,
.bio-contenidos-header p,
.bio-productos-header p,
.bio-videos-header p,
.bio-faq-header p {
    margin: 0;
    color: #d8c39a;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 1;
}

/* ===== Descripcion del encabezado de un bloque =====
   Comentarios y preguntas frecuentes la traen desde el admin, y sale del
   editor: puede venir con parrafos, listas y enlaces. */
.bio-bloque-descripcion {
    max-width: none;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #e2dccf;
    border-left: 4px solid #d1b07a;
    border-radius: 12px;
    background: #f5f1e8;
    color: #6b6357;
    font-size: .85rem;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    opacity: 1;
}
.bio-bloque-descripcion > *:last-child { margin-bottom: 0; }
.bio-bloque-descripcion p { margin: 0 0 8px; }
.bio-bloque-descripcion ul,
.bio-bloque-descripcion ol { margin: 0 0 8px; padding-left: 18px; }
.bio-bloque-descripcion li { margin-bottom: 4px; }
.bio-bloque-descripcion strong { color: #1a1a1a; font-weight: 600; }
.bio-bloque-descripcion a { color: #b89257; text-decoration: underline; }

/* ===== Riel horizontal compartido ===== */
.bio-riel-wrap { position: relative; }

.bio-riel {
    display: flex;
    gap: 12px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.bio-riel::-webkit-scrollbar { display: none; }

.bio-riel > article {
    flex: 0 0 86%;
    min-width: 86%;
    scroll-snap-align: start;
}

.bio-riel-btn {
    position: absolute;
    top: 110px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #e2dccf;
    border-radius: 10px;
    color: #b89257;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    cursor: pointer;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}
.bio-riel-btn:hover,
.bio-riel-btn:focus-visible {
    color: #fff;
    background: #b89257;
    border-color: #b89257;
    transform: translateY(-50%) scale(1.05);
}
.bio-riel-btn.prev { left: 2px; }
.bio-riel-btn.next { right: 2px; }

/* ===== Tarjeta blanca compartida por novedades y productos ===== */
.bio-contenidos .blog-card,
.bio-productos .producto-card,
.bio-videos .video-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2dccf;
    border-radius: 14px;
    background: #fff;
    color: #333;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bio-contenidos .blog-card:hover,
.bio-productos .producto-card:hover {
    transform: translateY(-3px);
    border-color: #d1b07a;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.blog-card__image-link,
.producto-card__media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bio-contenidos .blog-card__image,
.producto-card__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #efe8db;
}
.bio-contenidos .blog-card__image img,
.producto-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.bio-contenidos .blog-card:hover .blog-card__image img,
.bio-productos .producto-card:hover .producto-card__media img { transform: scale(1.04); }

/** Sin foto cargada, para que la tarjeta no arranque en el texto */
.blog-card__image--vacia,
.producto-card__media--vacia {
    display: grid;
    place-items: center;
    color: #c2b79f;
    background: #efe8db;
    font-size: 2rem;
}

.blog-card__fecha {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 5px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, .58);
    backdrop-filter: blur(6px);
    font-size: .72rem;
    font-weight: 600;
}
.blog-card__image--vacia .blog-card__fecha {
    color: #1a1a1a;
    background: rgba(255, 255, 255, .92);
    border-color: #e2dccf;
}

/** El sello muestra el descuento real, no la palabra "Oferta" */
.producto-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 11px;
    border-radius: 999px;
    color: #fff;
    background: #d1b07a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    font-size: .8rem;
    font-weight: 700;
}

.bio-contenidos .blog-card__content,
.bio-productos .producto-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 16px;
    text-align: left;
}

.bio-contenidos .blog-card__title,
.bio-productos .producto-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.bio-contenidos .blog-card__title a,
.bio-productos .producto-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}
.bio-contenidos .blog-card:hover .blog-card__title a,
.bio-productos .producto-card:hover .producto-card__title a { color: #b89257; }

.bio-contenidos .blog-card__excerpt,
.producto-card__bajada {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 14px;
    color: #6b6357;
    font-size: .85rem;
    line-height: 1.55;
    opacity: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.bio-contenidos .blog-card__excerpt { -webkit-line-clamp: 3; }

.producto-card__precios {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #e2dccf;
}
.bio-productos .producto-card__precio {
    margin: 0;
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}
.bio-productos .producto-card__antes {
    margin: 0;
    color: #6b6357;
    font-size: .82rem;
    font-weight: 400;
    text-decoration: line-through;
    opacity: .8;
}

/** Mismo boton en los dos bloques */
.bio-contenidos .blog-card__link,
.producto-card__cta {
    margin-top: auto;
    min-height: 42px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #b89257;
    border-radius: 10px;
    background: #b89257;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 1;
    transition: background .22s ease, border-color .22s ease;
}
.bio-contenidos .blog-card__link i,
.producto-card__cta i { font-size: .72rem; transition: transform .2s ease; }
.bio-contenidos .blog-card__link:hover,
.producto-card__cta:hover { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.bio-contenidos .blog-card__link:hover i,
.producto-card__cta:hover i { transform: translateX(3px); }

.producto-card__cta { margin: 14px 18px 18px; }

/** Desde 560px entran dos productos por vista */
@media (min-width: 560px) {
    .bio-productos .bio-riel > article {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
    }
    .bio-productos .producto-card__content { padding: 14px 15px 14px; }
    .bio-productos .producto-card__title { font-size: .98rem; }
    .producto-card__bajada { font-size: .8rem; margin-bottom: 12px; }
    .bio-productos .producto-card__precio { font-size: 1.12rem; }
    .bio-productos .producto-card__antes { font-size: .78rem; }
    .producto-card__cta {
        margin: 12px 15px 15px;
        min-height: 38px;
        padding: 9px 13px;
        font-size: .8rem;
    }
}

/* ===== Comentarios y testimonios ===== */
.bio-testimonios-resumen {
    margin: 14px auto 0;
    padding: 7px 14px 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2dccf;
    border-radius: 999px;
    background: #fff;
    text-align: left;
}
.bio-testimonios-resumen__nota {
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
}
.bio-testimonios-resumen__detalle { min-width: 0; }
.bio-testimonios-resumen__estrellas {
    margin-bottom: 1px;
    color: #f4b740;
    font-size: .72rem;
    letter-spacing: 1px;
}
.bio-testimonios-resumen__detalle span {
    display: block;
    color: #6b6357;
    font-size: .72rem;
    white-space: nowrap;
}

/** El borde y la sombra van en el visor: si fueran de la tarjeta, el propio
    visor los recortaria al hacer overflow hidden */
.bio-testimonios-viewport {
    border: 1px solid #e2dccf;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.bio-testimonios .bio-testimonios-track .testimonial-card {
    position: relative;
    padding: 22px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #333;
}

.testimonial-card__comilla {
    position: absolute;
    top: 14px;
    right: 16px;
    color: #d1b07a;
    opacity: .28;
    font-size: 2rem;
    line-height: 1;
    pointer-events: none;
}

.bio-testimonios .testimonial-card__rating {
    margin-bottom: 10px;
    color: #f4b740;
    font-size: .82rem;
    letter-spacing: 2px;
}

.bio-testimonios .testimonial-card__text {
    margin-bottom: 16px;
    color: #3b4453;
    font-size: .93rem;
    line-height: 1.62;
    opacity: 1;
}

.bio-testimonios .testimonial-card__author {
    padding-top: 14px;
    gap: 11px;
    border-top: 1px solid #e2dccf;
}

.bio-testimonios .testimonial-card__author img,
.bio-testimonios .testimonial-card__avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.bio-testimonios .testimonial-card__avatar {
    color: #b89257;
    background: #efe8db;
    opacity: 1;
}

.bio-testimonios .testimonial-card__avatar--inicial {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.testimonial-card__author-datos { min-width: 0; }

.bio-testimonios .testimonial-card__author h3 {
    color: #1a1a1a;
    font-size: .95rem;
    font-weight: 600;
}

.bio-testimonios .testimonial-card__author p {
    margin-top: 2px;
    color: #6b6357;
    font-size: .78rem;
    opacity: 1;
}

.bio-testimonios-controles { margin-top: 12px; }
.bio-testimonios-btn {
    width: 34px;
    height: 34px;
    font-size: .82rem;
    color: #b89257;
    background: #fff;
    border: 1px solid #e2dccf;
}
.bio-testimonios-btn:hover,
.bio-testimonios-btn:focus-visible,
.bio-testimonios-pause[aria-pressed="true"] {
    color: #fff;
    background: #b89257;
    border-color: #b89257;
}
.bio-testimonios-dot { background: #e2dccf; }
.bio-testimonios-dot.is-active { background: #d1b07a; }

/* ===== Preguntas frecuentes ===== */
.bio-faq .faq-accordion { gap: 8px; }

.bio-faq .faq-item {
    border: 1px solid #e2dccf;
    border-radius: 12px;
    background: rgba(255, 255, 255, .86);
    transition: background .25s ease, border-color .25s ease;
}
.bio-faq .faq-item:hover { border-color: #d1b07a; }
.bio-faq .faq-item.active {
    border-color: #d1b07a;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.bio-faq .faq-question {
    padding: 14px 15px;
    gap: 14px;
    align-items: flex-start;
}
.bio-faq .faq-question h3 {
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
}

/** El chevron en su propia pastilla: da area de clic y marca el estado */
.faq-question__icono {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border-radius: 8px;
    color: #b89257;
    background: #efe8db;
    font-size: .68rem;
    transition: transform .3s ease, background .25s ease, color .25s ease;
}
.bio-faq .faq-question i { opacity: 1; font-size: inherit; }
.bio-faq .faq-item.active .faq-question i { transform: none; }
.bio-faq .faq-item.active .faq-question__icono {
    transform: rotate(180deg);
    color: #fff;
    background: #d1b07a;
}

.bio-faq .faq-answer {
    padding: 0 15px;
    color: #6b6357;
    font-size: .87rem;
    line-height: 1.65;
    opacity: 1;
}
.bio-faq .faq-item.active .faq-answer { padding: 0 15px 14px; }
.bio-faq .faq-answer > *:last-child { margin-bottom: 0; }
.bio-faq .faq-answer p { margin: 0 0 8px; }
.bio-faq .faq-answer ul,
.bio-faq .faq-answer ol { margin: 0 0 8px; padding-left: 18px; }
.bio-faq .faq-answer li { margin-bottom: 4px; }
.bio-faq .faq-answer strong { color: #1a1a1a; font-weight: 600; }
.bio-faq .faq-answer a { color: #b89257; text-decoration: underline; }

/* ===== Biografia del perfil =====
   Heredaba .profile p: 0.8rem con 2px de tracking, que sirve para una linea
   corta pero no para un parrafo, y dejaba los emoji diminutos y separados. */
.bio-biografia {
    max-width: 400px;
    margin: 0 auto 1.5rem;
    font-family: 'Nunito', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    color: rgba(255, 255, 255, .86);
    font-size: .9rem;
    line-height: 1.75;
    letter-spacing: .2px;
}
.bio-biografia p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0 0 .6rem;
}
.bio-biografia > *:last-child { margin-bottom: 0; }
.bio-biografia strong { color: #d1b07a; font-weight: 700; }
.bio-biografia a { color: #d1b07a; text-decoration: underline; }
.bio-biografia ul,
.bio-biografia ol { margin: 0 0 .6rem; padding-left: 20px; text-align: left; }
.bio-biografia li { margin-bottom: .3rem; }

/* ===== QR fijo de escritorio =====
   Se oculta bajo 1120px: en telefono estorba y no tiene sentido escanear
   desde el mismo aparato. */
.desktop-qr {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 178px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2dccf;
    border-radius: 16px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
    backdrop-filter: blur(10px);
}
.desktop-qr img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}
.desktop-qr-text { display: flex; flex-direction: column; gap: 3px; }
.desktop-qr-text strong {
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
}
.desktop-qr-text span {
    color: #6b6357;
    font-size: .68rem;
    line-height: 1.3;
}
@media (max-width: 1120px) {
    .desktop-qr { display: none; }
}

/* ---- Bloque de videos ----
   Hereda la paleta de la plantilla: los colores salen de currentColor y de
   transparencias, no de valores fijos. El ancho de la tarjeta lo fija el riel. */
.bio-videos { margin-top: 26px; }

.bio-videos-header-descripcion {
    margin: 8px 0 12px;
    line-height: 1.6;
    opacity: .78;
}

.video-card {
    flex: 0 0 auto;
    width: 260px;
    max-width: 82vw;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(128, 128, 128, .22);
}

.video-card__media {
    position: relative;
    width: 100%;
    /* 16:9, que es como se graban casi todos */
    padding-top: 56.25%;
    background: rgba(0, 0, 0, .35);
}

.video-card__media video,
.video-card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card__body { padding: 12px 14px 14px; }

.video-card__title {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.35;
}

.video-card__bajada {
    margin: 0 0 6px;
    font-size: .84rem;
    opacity: .75;
}

.video-card__text {
    margin: 0;
    font-size: .86rem;
    line-height: 1.55;
    opacity: .85;
}

.video-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: currentColor;
    text-decoration: none;
    opacity: .9;
}

.video-card__link:hover { opacity: 1; }
.video-card__link i { font-size: .78rem; }

@media (max-width: 480px) {
    .video-card { width: 232px; }
}

/** El bloque de videos traia su descripcion al 78%: con la caja compartida
    del resto de los bloques ya no hace falta atenuarla */
.bio-videos-header-descripcion { opacity: 1; }

/* ===== Video: portada con play, popup y jerarquia de texto =====
   La tarjeta recorta a 16:9 con object-fit cover, asi que un video vertical
   se cortaba por los lados. Ahora la tarjeta muestra la portada y el archivo
   se ve completo en un popup. El popup se estila entero aca para no depender
   del sistema de modales de cada plantilla. */
.video-card__media--play {
    position: relative;
    display: block;
    width: 100%;
    /* el 56.25% arma la caja 16:9: si se resetea el padding, la tarjeta colapsa */
    padding: 56.25% 0 0;
    border: 0;
    background: #efe8db;
    cursor: pointer;
    font: inherit;
    overflow: hidden;
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(6px);
    font-size: 1.05rem;
    transition: transform .22s ease, background .22s ease;
}
.video-card__media--play:hover .video-card__play {
    background: #d1b07a;
    transform: translate(-50%, -50%) scale(1.08);
}

/* --- Jerarquia de los tres textos de la tarjeta --- */
.bio-videos .video-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bio-videos .video-card__bajada {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 8px;
    color: #4a453c;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bio-videos .video-card__text {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #6b6357;
    font-size: .85rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/** Boton del video: el mismo de novedades y productos */
.bio-videos .video-card__link {
    margin-top: 14px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #b89257;
    border-radius: 10px;
    background: #b89257;
    color: #ffffff;
    font-size: .85rem;
    font-weight: 600;
    opacity: 1;
    transition: background .22s ease, transform .22s ease;
}
.bio-videos .video-card__link:hover { transform: translateY(-2px); opacity: 1; }
.bio-videos .video-card__link i { transition: transform .2s ease; }
.bio-videos .video-card__link:hover i { transform: translateX(3px); }

/* --- Un solo video: ocupa todo el ancho del bloque --- */
.bio-videos .video-card {
    flex: 0 0 86%;
    width: auto;
    max-width: none;
    min-width: 86%;
}
.bio-videos .video-card:only-child {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
.bio-videos .video-card:only-child .video-card__title { -webkit-line-clamp: 3; font-size: 1.15rem; }
.bio-videos .video-card:only-child .video-card__bajada { -webkit-line-clamp: 3; }
.bio-videos .video-card:only-child .video-card__text { -webkit-line-clamp: 5; }

@media (min-width: 560px) {
    .bio-videos .video-card { flex: 0 0 calc(50% - 6px); min-width: calc(50% - 6px); }
    .bio-videos .video-card:only-child { flex-basis: 100%; min-width: 100%; }
}

/* --- Popup --- */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    padding: 18px;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 24, .78);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.video-modal .close-modal {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #1a1a1a;
    background: #efe8db;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}
.video-modal .close-modal:hover { color: #fff; background: #d1b07a; }

.video-modal-title {
    margin: 0 44px 6px 0;
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.video-modal-bajada {
    margin: 0 44px 12px 0;
    color: #4a453c;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.video-modal-player {
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-modal-player video {
    display: block;
    width: 100%;
    max-height: min(72vh, 620px);
    /* contain: el video se ve entero aunque sea vertical */
    object-fit: contain;
    background: #000;
}

/* ===== Popup del video: solo el video =====
   Sin titulo ni bajada: la tarjeta ya los muestra y en el popup solo estorban.
   La tarjeta blanca desaparece y queda el video sobre el fondo oscuro, con la
   X flotando en la esquina de la pantalla. */
.video-modal-title,
.video-modal-bajada { display: none; }

.video-modal-content {
    width: min(1000px, 100%);
    max-width: 1000px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.video-modal .close-modal {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.video-modal .close-modal:hover {
    color: #fff;
    background: #d1b07a;
    transform: rotate(90deg);
}

.video-modal-player {
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.video-modal-player video {
    display: block;
    width: 100%;
    max-height: min(80vh, 720px);
    object-fit: contain;
    background: #000;
}

/* =====================================================================
   WANAKÜ — capa visual de la bio (sitio 331)
   =====================================================================
   Reemplaza el rediseno "008" magenta/amarillo. Misma identidad que el
   sitio: negro, rojo #E63027 como color de marca, dorado #F5C842 solo
   como detalle, Bebas Neue en titulos e Inter en el texto (se cargan con
   <link> en index.tpl.html). Tarjetas oscuras con borde fino y esquinas
   redondeadas en vez de bloques hueso con sombra dura.
   Las reglas de arriba siguen dando la mecanica (popups con .active,
   carrusel, riel, acordeon, modal de video): aca solo va el aspecto. */
:root {
    --w-black: #0a0a0a;
    --w-surface: #141414;
    --w-surface-2: #1c1c1c;
    --w-line: rgba(255, 255, 255, .09);
    --w-line-2: rgba(255, 255, 255, .16);
    --w-red: #e63027;
    --w-red-dark: #c21f17;
    --w-red-soft: rgba(230, 48, 39, .12);
    --w-gold: #f5c842;
    --w-text: #ffffff;
    --w-soft: rgba(255, 255, 255, .74);
    --w-dim: rgba(255, 255, 255, .5);
    --w-whatsapp: #15803d;
    --w-radius-lg: 20px;
    --w-radius-md: 16px;
    --w-radius-sm: 10px;
    --w-shadow: 0 14px 34px rgba(0, 0, 0, .38);
    --w-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
    --w-body: 'Inter', 'Segoe UI', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    --w-t: .22s ease;

    /* Variables de las capas de abajo, llevadas a la marca */
    --accent: #e63027;
    --accent-2: #c21f17;
    --border: rgba(255, 255, 255, .09);
    --border-strong: rgba(255, 255, 255, .16);
}

body {
    font-family: var(--w-body);
    color: var(--w-text);
    background-color: var(--w-black);
    background-image:
        radial-gradient(720px 480px at 50% -12%, rgba(230, 48, 39, .20) 0%, rgba(230, 48, 39, 0) 62%),
        radial-gradient(520px 420px at 110% 85%, rgba(245, 200, 66, .06) 0%, rgba(245, 200, 66, 0) 60%),
        linear-gradient(180deg, #0f0f0f 0%, var(--w-black) 55%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--w-gold);
    outline-offset: 3px;
}

.container {
    max-width: 540px;
    padding: 2.25rem 1.25rem 1rem;
}

/* --- Barra superior --- */
.top-nav {
    padding: .7rem 1rem;
    background-color: rgba(10, 10, 10, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--w-line);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .95rem;
    border: 1px solid var(--w-line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--w-text);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background var(--w-t), border-color var(--w-t), color var(--w-t);
}
.nav-link:hover {
    opacity: 1;
    color: #fff;
    background: var(--w-red);
    border-color: var(--w-red);
}

/* --- Perfil --- */
.profile { margin-bottom: 1.75rem; }

.profile-photo {
    width: 118px;
    height: 118px;
    margin: 0 auto 1.25rem;
    padding: 0;
    border: 1px solid var(--w-line-2);
    border-radius: 28px;
    background: linear-gradient(160deg, #1d1d1d 0%, #0e0e0e 100%);
    box-shadow: 0 0 0 4px rgba(230, 48, 39, .14), var(--w-shadow);
}
.profile-photo img {
    border-radius: 0;
    object-fit: cover;
}

h1 {
    margin-bottom: .5rem;
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: clamp(2.5rem, 9vw, 3.3rem);
    font-weight: 400;
    line-height: .95;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* Filete rojo a dorado bajo el nombre */
h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: .8rem auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--w-red), var(--w-gold));
}

.bio-biografia {
    max-width: 420px;
    margin: 0 auto 1.5rem;
    font-family: var(--w-body);
    color: var(--w-soft);
    font-size: .95rem;
    line-height: 1.7;
    letter-spacing: 0;
}
.bio-biografia strong { color: var(--w-text); }
.bio-biografia a { color: var(--w-gold); }

.profile p {
    color: var(--w-soft);
    letter-spacing: 0;
}

/* --- Redes --- */
.social-links {
    gap: .6rem;
    margin-bottom: .5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--w-line-2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: var(--w-text);
    font-size: 1.02rem;
    transition: background var(--w-t), border-color var(--w-t), transform var(--w-t);
}
.social-icon:hover {
    color: #fff;
    background: var(--w-red);
    border-color: var(--w-red);
    transform: translateY(-3px);
}

.social-icon,
.social-icon:link,
.social-icon:visited,
.social-icon:hover,
.social-icon:focus { text-decoration: none; }

/* --- Enlaces --- */
.links { gap: .75rem; }

.link-button {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1.15rem 2.9rem;
    border: 1px solid var(--w-line);
    border-radius: var(--w-radius-md);
    background: var(--w-surface);
    color: var(--w-text);
    font-family: var(--w-body);
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .32);
    cursor: pointer;
    transition: transform var(--w-t), border-color var(--w-t), background var(--w-t), box-shadow var(--w-t);
}

/* Filete de color a la izquierda: rojo y dorado alternados */
.link-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--w-red);
}
.link-button:nth-child(even)::before { background: var(--w-gold); }

/* Flecha a la derecha: indica que el boton lleva a otro lado */
.link-button::after {
    content: '\f054';
    position: absolute;
    top: 50%;
    right: 1.15rem;
    transform: translateY(-50%);
    color: var(--w-dim);
    font-family: 'Font Awesome 6 Free';
    font-size: .78rem;
    font-weight: 900;
    transition: color var(--w-t), transform var(--w-t);
}

.link-button div { gap: .25rem; }

.link-button h2,
.link-button h3 {
    margin: 0;
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: .04em;
    text-align: inherit;
}

.link-button p {
    margin: 0;
    color: var(--w-soft);
    font-size: .86rem;
    line-height: 1.45;
    text-align: inherit;
}

.link-button:hover {
    background: var(--w-surface-2);
    border-color: rgba(230, 48, 39, .55);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
    transform: translateY(-2px);
}
.link-button:hover h3 { color: var(--w-text); }
.link-button:hover::after {
    color: var(--w-red);
    transform: translate(3px, -50%);
}

.bio-link-icono {
    margin-right: .5rem;
    color: var(--w-red);
}
.link-button[class*="bio-link--"] .bio-link-icono { color: inherit; }

/* --- Ubicaciones --- */
.locations-section {
    margin: 1.75rem 0 .5rem;
    padding: 0;
}

.locations-header { margin-bottom: 1.1rem; }

.locations-header h2 {
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: .03em;
}

.locations-header p {
    max-width: 100%;
    color: var(--w-soft);
    font-size: .9rem;
}

.location-card,
.location-card[data-location="sucursal-oeste"] {
    border: 1px solid var(--w-line);
    border-radius: var(--w-radius-lg);
    background: var(--w-surface);
    box-shadow: var(--w-shadow);
}
.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

.location-image { height: 190px; }

.location-info { padding: 1.4rem 1.25rem 1.5rem; }

.location-icon {
    width: 44px;
    height: 44px;
    margin: -22px auto .6rem;
    border: 3px solid var(--w-surface);
    background: var(--w-red);
}
.location-icon i { color: #fff; }
.location-info > .location-icon:first-child { margin-top: 0; }

.location-card h3 {
    margin-bottom: .6rem;
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: .03em;
}

.location-card p {
    margin-bottom: .3rem;
    color: var(--w-soft);
    font-size: .9rem;
}

.location-phone {
    margin: .5rem 0 .2rem;
    color: var(--w-text);
    font-weight: 600;
}
.location-phone i { color: var(--w-gold); }

.location-buttons {
    gap: .6rem;
    margin-top: 1rem;
}

.location-link {
    flex: 1;
    padding: .7rem 1rem;
    border: 1px solid var(--w-line-2);
    border-radius: var(--w-radius-sm);
    background: transparent;
    color: var(--w-text);
    font-size: .85rem;
    font-weight: 600;
    box-shadow: none;
}
.location-link:hover {
    color: var(--w-black);
    background: #fff;
    border-color: #fff;
    box-shadow: none;
}

.location-link.whatsapp {
    color: #fff;
    background: var(--w-whatsapp);
    border-color: var(--w-whatsapp);
}
.location-link.whatsapp:hover {
    color: #fff;
    background: #166534;
    border-color: #166534;
}

/* --- Popups (suscribir, compartir, mapa) --- */
.popup-overlay {
    padding: 1rem;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.popup-content {
    width: 100%;
    max-width: 400px;
    padding: 2rem 1.6rem 1.6rem;
    border: 1px solid var(--w-line-2);
    border-radius: var(--w-radius-lg);
    background: var(--w-surface);
    color: var(--w-text);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
}

.popup-content p { color: var(--w-soft); }
.popup-content > p:first-of-type {
    color: var(--w-text);
    font-family: var(--w-display);
    letter-spacing: .03em;
}

.close-popup {
    top: .9rem;
    right: .9rem;
    width: 34px;
    height: 34px;
    border: 1px solid var(--w-line-2);
    background: rgba(255, 255, 255, .06);
    color: var(--w-text);
    font-size: 1rem;
    opacity: 1;
}
.close-popup:hover {
    background: var(--w-red);
    border-color: var(--w-red);
    color: #fff;
}

.popup-header { border-bottom: 1px solid var(--w-line); }

.popup-header h2,
.popup-content h2 {
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: .03em;
}

.qr-wrapper {
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(230, 48, 39, .18);
}

.qr-container p {
    color: var(--w-soft);
    font-size: .88rem;
}

.share-buttons { gap: .6rem; }

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.2rem;
    border: 1px solid var(--w-red);
    border-radius: var(--w-radius-sm);
    background: var(--w-red);
    color: #fff;
    font-family: var(--w-body);
    font-size: .88rem;
    font-weight: 600;
    box-shadow: none;
}
.share-btn:hover {
    background: var(--w-red-dark);
    border-color: var(--w-red-dark);
    box-shadow: none;
    transform: translateY(-2px);
}
a.share-btn {
    color: var(--w-text);
    background: transparent;
    border-color: var(--w-line-2);
}
a.share-btn:hover {
    color: var(--w-black);
    background: #fff;
    border-color: #fff;
}

.subscribe-form { margin-top: 1.25rem; }
.form-group { margin-bottom: .7rem; }

.form-group input,
.form-group select {
    padding: .85rem 1rem;
    border: 1px solid var(--w-line-2);
    border-radius: var(--w-radius-sm);
    background: rgba(255, 255, 255, .05);
    color: var(--w-text);
    font-family: var(--w-body);
    font-size: .92rem;
}
.form-group input::placeholder { color: var(--w-dim); }
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--w-red);
    background: rgba(255, 255, 255, .08);
}

.submit-btn {
    width: 100%;
    margin-top: .4rem;
    padding: .9rem 1rem;
    border-radius: var(--w-radius-sm);
    background: var(--w-red);
    color: #fff;
    font-family: var(--w-body);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 10px 24px rgba(230, 48, 39, .28);
}
.submit-btn:hover {
    background: var(--w-red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(230, 48, 39, .35);
}

.map-popup {
    max-width: 820px;
    padding: 0;
}

.map-header {
    padding: .9rem 1.25rem;
    background: #0f0f0f;
    border-bottom: 1px solid var(--w-line);
}
.map-header h3 {
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .03em;
}
.map-header .close-popup { position: static; }

.map-actions {
    gap: .6rem;
    padding: .9rem 1.25rem;
    background: #0f0f0f;
    border-top: 1px solid var(--w-line);
}

.map-action-btn,
.popup-overlay .map-action-btn {
    margin: 0;
    border: 1px solid var(--w-line-2);
    border-radius: var(--w-radius-sm);
    background: rgba(255, 255, 255, .05);
    color: var(--w-text);
    font-size: .85rem;
    text-shadow: none;
}
.map-action-btn:hover,
.popup-overlay .map-action-btn:hover {
    background: var(--w-red);
    border-color: var(--w-red);
    color: #fff;
}

/* --- Toast: el JS le pone Fredoka en linea --- */
.toast {
    padding: .85rem 1.3rem;
    border: 1px solid var(--w-line-2);
    border-radius: 12px;
    background: var(--w-surface);
    color: var(--w-text);
    font-family: var(--w-body) !important;
    font-size: .9rem;
    box-shadow: var(--w-shadow);
}

/* --- Bloques: comentarios, novedades, videos, productos y FAQ --- */
.bio-testimonios,
.bio-contenidos,
.bio-productos,
.bio-videos,
.bio-faq {
    margin: 28px 0;
    padding: 24px 18px;
    border: 1px solid var(--w-line);
    border-radius: var(--w-radius-lg);
    background: rgba(255, 255, 255, .025);
    box-shadow: none;
    color: var(--w-text);
}

.bio-testimonios-header,
.bio-contenidos-header,
.bio-productos-header,
.bio-videos-header,
.bio-faq-header { margin-bottom: 18px; }

.bio-component-header-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border: 1px solid rgba(230, 48, 39, .3);
    border-radius: 12px;
    color: var(--w-red);
    background: var(--w-red-soft);
    box-shadow: none;
}

/* Videos traen el icono al lado del titulo: se apila como en el resto */
.bio-videos-header { display: block; }

.bio-testimonios-header h2,
.bio-contenidos-header h2,
.bio-productos-header h2,
.bio-videos-header h2,
.bio-faq-header h2 {
    margin: 0 0 4px;
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: .03em;
    text-transform: none;
}

.bio-testimonios-header p,
.bio-contenidos-header p,
.bio-productos-header p,
.bio-videos-header p,
.bio-faq-header p {
    color: var(--w-soft);
    font-size: .9rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.bio-contenidos-header p b,
.bio-productos-header p b {
    color: var(--w-gold);
    font-weight: 600;
}

.bio-bloque-descripcion {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--w-line);
    border-left: 3px solid var(--w-red);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    color: var(--w-soft);
    font-size: .88rem;
}
.bio-bloque-descripcion strong { color: var(--w-text); }
.bio-bloque-descripcion a { color: var(--w-gold); }

/* --- Tarjetas: novedades, productos y videos --- */
.bio-contenidos .blog-card,
.bio-productos .producto-card,
.bio-videos .video-card {
    border: 1px solid var(--w-line);
    border-radius: var(--w-radius-md);
    background: var(--w-surface);
    color: var(--w-text);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.bio-contenidos .blog-card:hover,
.bio-productos .producto-card:hover,
.bio-videos .video-card:hover {
    border-color: rgba(230, 48, 39, .5);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
    transform: translateY(-3px);
}

.bio-contenidos .blog-card__image,
.producto-card__media,
.video-card__media,
.video-card__media--play { background: var(--w-surface-2); }

.blog-card__image--vacia,
.producto-card__media--vacia {
    color: rgba(255, 255, 255, .22);
    background: var(--w-surface-2);
}

.blog-card__image--vacia .blog-card__fecha {
    color: var(--w-text);
    background: rgba(10, 10, 10, .75);
    border-color: var(--w-line-2);
}

.blog-card__fecha { border-radius: 999px; }
.blog-card__fecha i { color: var(--w-gold); }

.producto-card__badge {
    border-radius: 999px;
    background: var(--w-red);
    box-shadow: 0 6px 14px rgba(230, 48, 39, .35);
    letter-spacing: .02em;
}

.bio-contenidos .blog-card__title,
.bio-productos .producto-card__title,
.bio-videos .video-card__title {
    color: var(--w-text);
    font-family: var(--w-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.bio-contenidos .blog-card:hover .blog-card__title a,
.bio-productos .producto-card:hover .producto-card__title a { color: var(--w-gold); }

.bio-contenidos .blog-card__excerpt,
.producto-card__bajada,
.bio-videos .video-card__bajada { color: var(--w-soft); }
.bio-videos .video-card__text { color: var(--w-dim); }

.producto-card__precios { border-top: 1px solid var(--w-line); }

.bio-productos .producto-card__precio {
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: .02em;
}
.bio-productos .producto-card__antes { color: var(--w-dim); }

.bio-contenidos .blog-card__link,
.producto-card__cta,
.bio-videos .video-card__link {
    border: 1px solid var(--w-red);
    border-radius: var(--w-radius-sm);
    background: var(--w-red);
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
}
.bio-contenidos .blog-card__link:hover,
.producto-card__cta:hover,
.bio-videos .video-card__link:hover {
    color: #fff;
    background: var(--w-red-dark);
    border-color: var(--w-red-dark);
    transform: none;
}

.bio-riel-btn {
    border: 1px solid var(--w-line-2);
    border-radius: 50%;
    color: var(--w-text);
    background: rgba(10, 10, 10, .85);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .45);
}
.bio-riel-btn:hover,
.bio-riel-btn:focus-visible {
    color: #fff;
    background: var(--w-red);
    border-color: var(--w-red);
}

/* --- Comentarios --- */
.bio-testimonios-resumen {
    border: 1px solid var(--w-line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
}
.bio-testimonios-resumen__nota {
    color: var(--w-gold);
    font-family: var(--w-display);
    font-size: 1.7rem;
    font-weight: 400;
}
.bio-testimonios-resumen__estrellas { color: var(--w-gold); }
.bio-testimonios-resumen__detalle span { color: var(--w-dim); }

.bio-testimonios-viewport {
    border: 1px solid var(--w-line);
    border-radius: var(--w-radius-md);
    background: var(--w-surface);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.bio-testimonios .bio-testimonios-track .testimonial-card { color: var(--w-text); }

.testimonial-card__comilla {
    color: var(--w-red);
    opacity: .35;
}

.bio-testimonios .testimonial-card__rating { color: var(--w-gold); }
.bio-testimonios .testimonial-card__text { color: var(--w-soft); }
.bio-testimonios .testimonial-card__author { border-top: 1px solid var(--w-line); }

.bio-testimonios .testimonial-card__avatar {
    border-radius: 50%;
    color: var(--w-gold);
    background: rgba(245, 200, 66, .12);
}
.bio-testimonios .testimonial-card__avatar--inicial { font-family: var(--w-display); font-size: 1.3rem; font-weight: 400; }
.bio-testimonios .testimonial-card__author img { border-radius: 50%; }

.bio-testimonios .testimonial-card__author h3 {
    color: var(--w-text);
    font-family: var(--w-body);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
.bio-testimonios .testimonial-card__author p { color: var(--w-dim); }

.bio-testimonios-btn {
    border: 1px solid var(--w-line-2);
    border-radius: 50%;
    color: var(--w-text);
    background: rgba(255, 255, 255, .05);
}
.bio-testimonios-btn:hover,
.bio-testimonios-btn:focus-visible,
.bio-testimonios-pause[aria-pressed="true"] {
    color: #fff;
    background: var(--w-red);
    border-color: var(--w-red);
    filter: none;
}
.bio-testimonios-dot { background: rgba(255, 255, 255, .2); }
.bio-testimonios-dot.is-active { background: var(--w-red); }

/* --- Preguntas frecuentes --- */
.bio-faq .faq-item {
    border: 1px solid var(--w-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
}
.bio-faq .faq-item:hover { border-color: var(--w-line-2); }
.bio-faq .faq-item.active {
    border-color: rgba(230, 48, 39, .5);
    background: rgba(230, 48, 39, .06);
    box-shadow: none;
}

.bio-faq .faq-question h3 {
    color: var(--w-text);
    font-family: var(--w-body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.faq-question__icono {
    border-radius: 8px;
    color: var(--w-text);
    background: rgba(255, 255, 255, .07);
}
.bio-faq .faq-item.active .faq-question__icono {
    color: #fff;
    background: var(--w-red);
}

.bio-faq .faq-answer { color: var(--w-soft); }
.bio-faq .faq-answer strong { color: var(--w-text); }
.bio-faq .faq-answer a { color: var(--w-gold); }

/* --- Video --- */
.video-card__play {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff;
    background: rgba(10, 10, 10, .55);
}
.video-card__media--play:hover .video-card__play {
    background: var(--w-red);
    border-color: var(--w-red);
}

.video-modal { background: rgba(0, 0, 0, .86); }
.video-modal .close-modal:hover { background: var(--w-red); border-color: var(--w-red); }
.video-modal-player { border-radius: 14px; }

/* --- QR de escritorio y pie --- */
.desktop-qr {
    border: 1px solid var(--w-line-2);
    border-radius: var(--w-radius-md);
    background: rgba(20, 20, 20, .94);
    box-shadow: var(--w-shadow);
}
.desktop-qr img { border-radius: 8px; }
.desktop-qr-text strong {
    color: var(--w-text);
    font-family: var(--w-display);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: .03em;
}
.desktop-qr-text span { color: var(--w-dim); }

.footer {
    margin-top: 2rem;
    padding: 1.4rem 1rem 1.6rem;
    border-top: 1px solid var(--w-line);
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    color: var(--w-dim);
    font-size: .76rem;
    letter-spacing: .01em;
    text-transform: none;
}
.footer-credit {
    color: var(--w-dim);
    letter-spacing: .01em;
}
.footer-credit-link { color: var(--w-gold); }
.footer-credit-link:hover { color: #fff; }

@media (max-width: 560px) {
    .container { padding: 2rem 1rem 1rem; }
    .profile-photo { width: 104px; height: 104px; border-radius: 24px; }
    .link-button { padding: 1.05rem 2.6rem; }
    .link-button h3 { font-size: 1.3rem; }
    .bio-testimonios,
    .bio-contenidos,
    .bio-productos,
    .bio-videos,
    .bio-faq { padding: 20px 14px; }
    .location-buttons { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .link-button,
    .social-icon,
    .location-card,
    .bio-contenidos .blog-card,
    .bio-productos .producto-card,
    .bio-videos .video-card { transition: none; }
}
