/* ========================================
   GUÍACANINA - STYLES
   Tema: Morado profesional (igual que SpeakFast)
   ======================================== */

/* === VARIABLES === */
:root {
    /* Colores EXACTOS de SpeakFast */
    --bg: #0f0f1a;
    --bg-card: #171728;
    --bg-elevated: #1e1e35;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --green: #22c55e;
    --yellow: #eab308;
    --text: #f1f5f9;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(99,102,241,0.15);
    --glow: 0 0 40px rgba(99,102,241,0.15);
    --glow-hover: 0 12px 48px rgba(99,102,241,0.25);
    
    /* Colores originales */
    --color-bg: #0f0f1a;
    --color-bg-card: #171728;
    --color-bg-elevated: #1e1e35;
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-primary-dark: #4f46e5;
    --color-secondary: #a78bfa;
    --color-accent: #22c55e;
    --color-green: #22c55e;
    --color-white: #ffffff;
    --color-text: #f1f5f9;
    --color-text-light: #94a3b8;
    --color-text-muted: #64748b;
    --color-border: rgba(99,102,241,0.15);
    --color-error: #ef4444;
    --color-success: #22c55e;
    --color-warning: #eab308;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === LAYOUT === */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}

/* === HEADER === */
.header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 0.75rem;
    opacity: 0.9;
    margin: 0;
}

.btn-favorites {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-favorites:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: scale(1.05);
}

.fav-icon {
    font-size: 1.2rem;
}

.fav-count {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* === BOTANICAN BANNER === */
.botanican-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.botanican-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(129, 140, 248, 0.2), transparent 70%);
    pointer-events: none;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
}

.banner-icon {
    font-size: 2rem;
}

.banner-text {
    flex: 1;
}

.banner-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.banner-text small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.btn-banner {
    background: var(--color-white);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(99,102,241,0.2);
}

.btn-banner:hover {
    background: var(--accent-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

/* === MAIN VIEW === */
.main-view {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 1.5rem 1rem;
}

/* === SEARCH SECTION === */
.search-section {
    margin-bottom: 2rem;
}

.search-container {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--color-bg-card);
    color: var(--color-text);
    transition: var(--transition);
}

.search-input::placeholder {
    color: var(--color-text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--glow);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    pointer-events: none;
}

/* === FILTER BUTTONS === */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.filter-btn {
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--glow);
}

/* === BREEDS SECTION === */
.breeds-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* === BREED CARD === */
.breed-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.breed-card:hover {
    box-shadow: var(--glow-hover);
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.breed-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.breed-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, 0.3), transparent 70%);
    pointer-events: none;
}

.breed-card-content {
    padding: 1rem;
}

.breed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.breed-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-light);
    margin: 0;
}

.breed-card-flag {
    font-size: 1.5rem;
}

.breed-card-size {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.breed-card-desc {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.breed-card-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.breed-stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.breed-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--color-secondary), #dc2626);
    color: var(--color-white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-favorite-card {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--color-bg-elevated);
    border: 2px solid var(--color-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorite-card:hover {
    transform: scale(1.15);
    border-color: var(--color-primary);
    box-shadow: var(--glow);
}

.btn-favorite-card.favorited {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.15); }
}

/* === NO RESULTS === */
.no-results, .no-favorites {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-light);
}

.no-results-icon, .no-favorites-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results p, .no-favorites p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.no-results small, .no-favorites small {
    font-size: 0.9rem;
}

/* === BREED DETAIL VIEW === */
.breed-detail-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 200;
    overflow-y: auto;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.detail-header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.btn-back {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--color-primary-dark);
}

.btn-favorite {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-favorite.favorited {
    border-color: var(--color-error);
    animation: heartBeat 0.3s ease;
}

.detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* === DETAIL SECTIONS === */
.detail-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.detail-hero-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-md);
}

.detail-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.detail-subtitle {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.detail-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.detail-tag {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-tag.flag {
    font-size: 1.5rem;
    background: transparent;
    padding: 0;
}

.detail-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    color: var(--text);
}

.detail-section h2 {
    color: var(--accent-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h3 {
    color: var(--green);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.detail-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.detail-section ul, .detail-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.detail-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* === ALERT BOXES === */
.alert-box {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-critical {
    background: #fee;
    border-color: var(--color-error);
    color: #c00;
}

.alert-warning {
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid var(--accent-light);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 1rem;
}

.alert-warning strong {
    color: var(--yellow);
}

.alert-info {
    background: #e6f7ff;
    border-color: #1890ff;
    color: #0050b3;
}

.alert-success {
    background: #f6ffed;
    border-color: var(--color-success);
    color: #135200;
}

.alert-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* === BOTANICAN SECTION === */
.botanican-section {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.botanican-section h3 {
    color: var(--color-white);
    margin-top: 0;
}

.botanican-section .btn-primary {
    background: var(--color-white);
    color: #059669;
    margin-top: 1rem;
}

.botanican-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #047857;
}

/* === TABLE === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow-x: auto;
    display: block;
}

.comparison-table thead {
    background: var(--color-primary);
    color: var(--color-white);
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table tr:hover {
    background: #f9f9f9;
}

/* === BUTTONS === */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === FOOTER === */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

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

.footer-botanican {
    color: var(--color-accent);
    font-weight: 600;
}

/* === MODAL === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.modal-header {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    color: var(--color-white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-warning {
    background: rgba(234, 179, 8, 0.1);
    border-left: 4px solid var(--color-warning);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--radius-sm);
    color: var(--text);
}

.modal-botanican {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

.modal-botanican h3 {
    margin-top: 0;
    color: var(--color-white);
}

.modal-botanican .btn-primary {
    background: var(--color-white);
    color: #059669;
    margin-top: 1rem;
}

.modal-botanican .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #047857;
}

/* === LOADING === */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    margin-top: 1rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* === UTILITY CLASSES === */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* === INSTALL BANNER === */
.install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    z-index: 999;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.install-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.install-icon {
    font-size: 2rem;
}

.install-text {
    flex: 1;
}

.install-text strong {
    display: block;
    font-size: 1rem;
}

.install-text small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.btn-install {
    background: var(--color-white);
    color: var(--color-primary);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-install:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    /* Fila 1: Solo Logo centrado */
    .logo-section {
        flex: 1 1 100%;
        justify-content: center;
        order: 1;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    
    /* Fila 2: Favoritos y Compartir juntos */
    .btn-favorites {
        order: 2;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        flex: 0 0 auto;
    }
    
    .btn-share-app {
        order: 2;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin-left: 0.3rem;
        flex: 0 0 auto;
    }
    
    /* Fila 3: Navegación completa */
    .header-nav {
        flex: 1 1 100%;
        order: 3;
        justify-content: space-between;
        gap: 0.3rem;
    }
    
    .nav-btn {
        flex: 1;
        padding: 0.5rem 0.4rem;
        font-size: 0.75rem;
        border-width: 1px;
    }
    
    .logo-text h1 {
        font-size: 1.25rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .breeds-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .install-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .detail-hero-image {
        font-size: 5rem;
        height: 200px;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

/* ============================================
   NAVEGACIÓN Y COMPARTIR
   ============================================ */

.header-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    background: transparent;
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav-btn:hover, .nav-btn.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
}

.btn-share, .btn-share-detail {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-share:hover, .btn-share-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-share-sm {
    background: transparent;
    border: 1px solid #10b981;
    color: #10b981;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-share-sm:hover {
    background: rgba(16, 185, 129, 0.1);
}

/* ============================================
   ESTÉTICAS CANINAS
   ============================================ */

.esteticas-view, .guia-shampoos-view {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.esteticas-header, .guia-header {
    text-align: center;
    margin-bottom: 2rem;
}

.esteticas-header h2, .guia-header h2 {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.esteticas-grid, .shampoos-grid {
    display: grid;
    gap: 1.5rem;
}

.estetica-card, .shampoo-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.estetica-card:hover, .shampoo-card:hover {
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.estetica-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.estetica-header h3 {
    font-size: 1.3rem;
    color: var(--color-text);
}

.badge-verificado {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.usa-botanican {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

.estetica-actions, .shampoo-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-whatsapp, .btn-mapa {
    flex: 1;
    padding: 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.btn-mapa {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-mapa:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.btn-compartir {
    background: transparent;
    border: 1px solid #10b981;
    color: #10b981;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-compartir:hover {
    background: rgba(16, 185, 129, 0.1);
}

/* ============================================
   SHAMPOOS
   ============================================ */

.shampoo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shampoo-icono {
    font-size: 2.5rem;
}

.shampoo-header h3 {
    flex: 1;
    font-size: 1.2rem;
    color: var(--color-text);
}

.shampoo-precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: #10b981;
}

.shampoo-info p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.shampoo-info strong {
    color: #6366f1;
}

/* ============================================
   BANNERS
   ============================================ */

.add-estetica-banner, .profesionales-banner {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.add-estetica-banner h3, .profesionales-banner h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.add-estetica-banner p, .profesionales-banner p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.btn-secondary {
    background: white;
    color: #6366f1;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .header-nav {
        gap: 0.25rem;
    }
    
    .nav-btn {
        padding: 0.4rem 0.6rem;
        font-size: 1.2rem;
        border-width: 1px;
    }
    
    .btn-favorites {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .estetica-actions, .shampoo-actions {
        flex-direction: column;
    }
    
    .btn-whatsapp, .btn-mapa {
        flex: none;
        width: 100%;
    }
}

.btn-share-app {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.btn-share-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .btn-share-app {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
    }
}

.btn-share {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
