/* ============================================
   SHOPPING DAY - CATALOGO DE MODA
   Colores: Blanco y Oro - Diseño Profesional
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root {
    --gold: #D4AF37;
    --gold-light: #F4E5A3;
    --gold-dark: #B8960C;
    --gold-gradient: linear-gradient(135deg, #D4AF37, #F4E5A3, #D4AF37);
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --cream: #FFF9E6;
    --dark: #1A1A1A;
    --dark-light: #2D2D2D;
    --gray: #6B6B6B;
    --gray-light: #E8E8E8;
    --shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
    --shadow-hover: 0 20px 60px rgba(212, 175, 55, 0.3);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--off-white);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   PANTALLA DE BIENVENIDA
   ============================================ */

.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.welcome-screen.hide {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.welcome-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease forwards;
    text-align: center;
    margin-bottom: 10px;
}

.welcome-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    letter-spacing: 8px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.welcome-loader {
    margin-top: 40px;
    width: 200px;
    height: 3px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.welcome-loader::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 3px;
    animation: loading 2s ease forwards 0.8s;
}

.welcome-enter-btn {
    margin-top: 30px;
    padding: 14px 50px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.welcome-enter-btn:hover {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

@keyframes loading {
    to { width: 100%; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   HEADER / NAVEGACION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0 40px;
    transition: var(--transition);
    animation: slideDown 0.6s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-img-solo {
    height: 42px;
    max-width: none;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-text span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--gold-dark);
    background: var(--cream);
}

.nav-link.admin-link {
    background: var(--dark);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 600;
}

.nav-link.admin-link:hover {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 75px;
    padding: 80px 40px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen de ropa como fondo del hero: siempre proporcionada, nunca deformada */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Capa oscura sobre la imagen de fondo para que el texto se lea bien */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(20, 20, 20, 0.78) 0%,
        rgba(20, 20, 20, 0.6) 50%,
        rgba(20, 20, 20, 0.78) 100%
    );
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 40%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    animation: heroGlow 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.35));
}

@keyframes heroGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)); }
    50% { filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.85)); }
}

.hero-title .gold {
    background: linear-gradient(90deg, #B8860B 0%, #D4AF37 20%, #FFF8E1 40%, #D4AF37 60%, #FFF8E1 80%, #B8860B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2.5s linear infinite, heroSparkle 4s ease-in-out infinite;
}

@keyframes heroSparkle {
    0%, 100% { transform: scale(1); letter-spacing: normal; }
    50% { transform: scale(1.02); letter-spacing: 1px; }
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   BUSCADOR
   ============================================ */

.search-section {
    padding: 40px;
    max-width: 800px;
    margin: -35px auto 0;
    position: relative;
    z-index: 10;
}

.search-container {
    position: relative;
    background: var(--white);
    border-radius: 60px;
    padding: 6px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.search-container:focus-within {
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
    transform: scale(1.02);
}

.search-container input {
    width: 100%;
    padding: 18px 30px;
    padding-right: 140px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    color: var(--dark);
    border-radius: 60px;
}

.search-container input::placeholder {
    color: #AAA;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    padding: 0 30px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 60px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-suggestions.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.suggestion-item {
    padding: 14px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-light);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--cream);
    padding-left: 30px;
}

.suggestion-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--gold-light);
}

.suggestion-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.suggestion-info span {
    font-size: 0.78rem;
    color: var(--gray);
}

/* ============================================
   CATEGORIAS
   ============================================ */

.categories-section {
    padding: 50px 40px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-title .gold {
    color: var(--gold);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 0 auto;
    border-radius: 3px;
}

.categories-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-chip {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-chip:hover {
    border-color: var(--gold);
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.category-chip.active {
    background: var(--gold-gradient);
    border-color: var(--gold);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.category-chip .cat-icon {
    font-size: 1.1rem;
}

/* ============================================
   GRID DE PRODUCTOS
   ============================================ */

.catalog-section {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
    transition: var(--transition);
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8, #fff);
}

.product-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-image: var(--gold-gradient) 1;
    z-index: 2;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    border-radius: 0;
}

.product-card:hover .product-image-wrapper::before {
    opacity: 1;
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
    transition: var(--transition);
}

.product-card:hover .product-image-wrapper::after {
    border-color: var(--gold);
    inset: 10px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--gold-gradient);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.product-info {
    padding: 22px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.product-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.product-action:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
}

.empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark);
    padding: 50px 40px 30px;
    margin-top: 60px;
    border-top: 3px solid var(--gold);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo span {
    color: var(--gold);
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social a svg {
    display: block;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ============================================
   PAGINAS ADMIN
   ============================================ */

.admin-body {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Capa oscura sobre el fondo cuando hay imagen, para que la tarjeta resalte */
.login-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.82) 0%,
        rgba(20, 20, 20, 0.68) 50%,
        rgba(20, 20, 20, 0.82) 100%
    );
    z-index: 0;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.login-card .login-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.login-card .login-logo span {
    color: var(--gold);
}

.login-card .login-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--off-white);
    color: var(--dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--white);
    width: 100%;
    justify-content: center;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-dark {
    background: var(--dark);
    color: var(--gold);
}

.btn-dark:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold-dark);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-danger {
    background: #FF4757;
    color: var(--white);
}

.btn-danger:hover {
    background: #E8384A;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.login-error {
    background: #FFF0F0;
    border: 1px solid #FFD0D0;
    color: #E53E3E;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: none;
}

.login-error.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */

.admin-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.admin-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.admin-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-zone {
    border: 2px dashed var(--gold);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--cream);
    margin-bottom: 20px;
}

.upload-zone:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-dark);
    transform: scale(1.01);
}

.upload-zone.dragover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-dark);
    transform: scale(1.02);
}

.upload-zone .upload-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    color: var(--gold);
}

.upload-zone p {
    color: var(--gray);
    font-size: 0.9rem;
}

.upload-zone .upload-hint {
    font-size: 0.78rem;
    color: #AAA;
    margin-top: 5px;
}

.preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 12px;
    border: 3px solid var(--gold-light);
    margin-bottom: 20px;
    display: none;
    object-fit: cover;
}

.preview-image.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Tabla de productos admin */
.products-table {
    width: 100%;
    border-collapse: collapse;
}

.products-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--cream);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-dark);
    font-weight: 600;
    border-bottom: 2px solid var(--gold-light);
}

.products-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.88rem;
    vertical-align: middle;
}

.products-table tr:hover td {
    background: var(--cream);
}

.products-table .table-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--gold-light);
}

.products-table .actions {
    display: flex;
    gap: 8px;
}

.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    /* Las filas de 2 columnas del panel pasan a 1 en pantallas pequeñas */
    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
    
    .upload-zone {
        padding: 24px 12px;
    }
}

/* Visor de imagen ampliada (lightbox) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.93);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 30px 20px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 14px;
    border: 2px solid var(--gold);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    background: #fff;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-align: center;
    max-width: 85vw;
    font-family: 'Playfair Display', serif;
}

/* Imagenes de producto: puntero de zoom (el clic puede caer en el marco dorado del wrapper) */
.product-image-wrapper,
.product-image-wrapper img {
    cursor: zoom-in;
}

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

@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .header-inner {
        height: 65px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 5px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        align-items: stretch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 14px 20px;
        border-radius: 12px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 50px 20px;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .search-section {
        padding: 30px 20px;
        margin-top: -25px;
    }
    
    .search-container input {
        padding: 14px 20px;
        padding-right: 60px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0 18px;
        font-size: 0;
        gap: 0;
    }
    
    .search-btn::before {
        content: '🔍';
        font-size: 1.1rem;
    }
    
    .search-btn span {
        display: none;
    }
    
    .categories-section {
        padding: 30px 20px 20px;
    }
    
    .categories-grid {
        gap: 10px;
    }
    
    .category-chip {
        padding: 10px 18px;
        font-size: 0.82rem;
    }
    
    .catalog-section {
        padding: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .product-info {
        padding: 14px;
    }
    
    .product-name {
        font-size: 0.95rem;
    }
    
    .product-description {
        display: none;
    }
    
    .product-price {
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .welcome-logo {
        font-size: 3rem;
    }
    
    .welcome-subtitle {
        font-size: 0.85rem;
        letter-spacing: 5px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-main {
        padding: 20px 15px;
    }
    
    .admin-card {
        padding: 20px;
    }
    
    .login-card {
        padding: 35px 25px;
    }
    
    .logo-img {
        height: 30px;
        max-width: 140px;
    }
    
    .logo-img-solo {
        height: 34px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero {
        padding: 60px 25px;
        min-height: 340px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image-wrapper {
        height: 170px;
    }
    
    .product-image-wrapper::after {
        inset: 5px;
        border-width: 1.5px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 0.85rem;
    }
    
    .product-price {
        font-size: 0.95rem;
    }
    
    .product-action {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
}

/* ============================================
   SCROLLBAR PERSONALIZADO
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ============================================
   UTILIDADES
   ============================================ */

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* ============================================
   PAGINACION DEL PANEL ADMIN
   ============================================ */

.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.pagination button {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--gold-light);
    background: #fff;
    color: var(--gold-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pagination button:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.pagination button.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

.pagination-ellipsis {
    color: var(--gray);
    font-weight: 700;
    padding: 0 4px;
}

/* ============================================
   RESPONSIVE - PANEL ADMIN EN MOVIL (iPhone, Android, etc)
   Ultima regla del archivo: tiene prioridad sobre los estilos anteriores
   ============================================ */

@media (max-width: 768px) {
    .admin-header {
        padding: 0 12px;
    }
    
    .admin-header-inner {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        padding: 12px 0;
    }
    
    .admin-header-inner > div {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .admin-header .btn {
        min-height: 40px;
    }
    
    .admin-main {
        padding: 20px 12px;
    }
    
    .admin-card {
        padding: 18px 14px;
        border-radius: 14px;
    }
    
    .admin-card-title {
        font-size: 1.05rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    /* Evitar auto-zoom de iPhone al tocar campos de texto */
    .form-control,
    .admin-card input,
    .admin-card select {
        font-size: 16px;
    }
    
    /* Botones grandes para tocar con el dedo */
    .admin-card .btn {
        min-height: 46px;
        font-size: 1rem;
    }
    
    .products-table {
        font-size: 0.8rem;
    }
    
    .products-table th {
        padding: 9px 8px;
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .products-table td {
        padding: 10px 8px;
    }
    
    .products-table .table-img {
        width: 42px;
        height: 42px;
    }
    
    /* Acciones apiladas en pantallas estrechas */
    .products-table .actions {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .products-table form {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .products-table input[type="text"],
    .products-table input[type="password"],
    .products-table select {
        min-width: 95px !important;
        width: auto;
        font-size: 16px;
    }
    
    .login-card {
        padding: 30px 22px;
    }
    
    /* Visor de imagen en movil */
    .lightbox {
        padding: 20px 12px;
    }
    
    .lightbox-img {
        max-width: 96vw;
        max-height: 72vh;
        border-radius: 10px;
    }
    
    .lightbox-close {
        width: 42px;
        height: 42px;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .admin-header .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .admin-card {
        padding: 15px 11px;
    }
    
    .admin-main {
        padding: 16px 10px;
    }
}

/* ============================================
   MODO APLICACION - PANEL ADMIN (telefonos y tablets)
   ============================================ */

.app-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .admin-body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    
    /* Barra superior estilo app */
    .admin-header {
        padding: 0 14px;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    }
    
    .admin-header-inner {
        height: 56px;
    }
    
    /* Botones duplicados fuera de la app-bar se ocultan (vienen en la barra inferior) */
    .app-hide-mobile {
        display: none !important;
    }
    
    /* Tarjetas estilo aplicacion */
    .admin-card {
        border-radius: 18px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--gold-light);
    }
    
    /* Botones con borde redondeado tipo pill */
    .admin-card .btn {
        border-radius: 14px;
    }
    
    /* Tablas convertidas en fichas apiladas (como lista de app) */
    .products-table thead {
        display: none;
    }
    
    .products-table,
    .products-table tbody {
        display: block;
        width: 100%;
    }
    
    .products-table tr {
        display: block;
        background: var(--cream);
        border: 1px solid var(--gold-light);
        border-radius: 14px;
        margin-bottom: 12px;
        padding: 6px;
    }
    
    .products-table tr:hover td {
        background: transparent;
    }
    
    .products-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        border: none;
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .products-table td::before {
        content: attr(data-label);
        color: var(--gray);
        font-size: 0.66rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        flex-shrink: 0;
    }
    
    .products-table td[data-label=""]::before {
        content: none;
    }
    
    .products-table td input[type="text"],
    .products-table td input[type="password"],
    .products-table td select {
        width: auto !important;
        min-width: 0;
        flex: 1;
    }
    
    .products-table .actions {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
    
    /* Fuente del texto de las fichas base */
    .products-table td strong {
        font-size: 0.88rem;
    }
    
    /* ============================================
       BARRA INFERIOR DE NAVEGACION ESTILO APP
       ============================================ */
    .app-bottom-nav {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr; /* se adapta a la cantidad de items (4 o 5) */
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 26, 0.97);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(212, 175, 55, 0.25);
        z-index: 500;
        padding: 6px 4px max(6px, env(safe-area-inset-bottom, 0px));
    }
    
    .app-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 52px;
        padding: 6px 2px;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.62rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none;
        transition: var(--transition);
    }
    
    .app-bottom-nav a span {
        font-size: 1.25rem;
        line-height: 1;
    }
    
    .app-bottom-nav a.active {
        color: var(--gold);
        background: rgba(212, 175, 55, 0.14);
    }
    
    .app-bottom-nav a:hover {
        background: rgba(212, 175, 55, 0.1);
        color: var(--gold);
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: 14px 9px;
    }
    
    .admin-card {
        padding: 14px 10px;
    }
    
    .admin-card .btn-gold {
        min-height: 44px;
        font-size: 0.85rem;
    }
    
    .admin-card-title {
        font-size: 1rem;
    }
    
    .products-table td {
        flex-wrap: wrap;
    }
}

/* ============================================
   SALUDO DEL USUARIO EN LA CABECERA DEL PANEL
   ============================================ */

.admin-user-area {
    max-width: 48vw;
    min-width: 0;
}

.admin-user-greeting {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.admin-user-hola {
    flex-shrink: 0;
}

.admin-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}

.admin-user-role {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .admin-user-area {
        max-width: 60vw;
        gap: 6px;
    }
    
    .admin-user-greeting {
        font-size: 0.74rem;
    }
    
    .admin-user-hola {
        display: none;
    }
    
    .admin-user-name {
        font-size: 0.8rem;
        max-width: 96px;
    }
    
    .admin-user-role {
        font-size: 0.6rem;
        padding: 3px 7px;
        margin-left: 4px;
    }
}

/* ============================================
   PANEL ADMIN MOVIL - BOTONES Y ZONA DE CARGA COMPACTOS
   ============================================ */

@media (max-width: 768px) {
    /* Botones del panel: mas bajos y proporcionalmente al telefono */
    .admin-card .btn {
        padding: 11px 18px;
        min-height: 44px;
        font-size: 0.88rem;
        border-radius: 10px;
    }
    
    .admin-card .btn-gold {
        width: 100%;
        padding: 11px 18px;
        font-size: 0.9rem;
    }
    
    .admin-card .btn-sm {
        padding: 7px 14px;
        font-size: 0.78rem;
        min-height: 36px;
    }
    
    /* Campos de formulario: mas compactos pero legibles (16px evita zoom de iPhone) */
    .admin-card .form-control {
        padding: 10px 12px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    /* Campo de seleccionar imagen: compacto, no gigante */
    .admin-card input[type="file"] {
        padding: 8px 10px;
        font-size: 14px;
        height: auto;
        max-height: none;
    }
    
    /* Zona de arrastrar la imagen: version compacta */
    .upload-zone {
        padding: 18px 10px;
    }
    
    .upload-zone .upload-icon {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .upload-zone p {
        font-size: 0.8rem;
    }
    
    .upload-zone .upload-hint {
        font-size: 0.68rem;
    }
    
    /* Vista previa de la imagen a subir: mas alta no, que no sea gigante */
    .preview-image {
        max-height: 150px;
    }
    
    /* Mensajes de exito/error mas compactos */
    .admin-main > div[style] {
        font-size: 0.8rem;
        padding: 10px 14px;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.4s ease;
}

.toast.show {
    transform: translateX(0);
}

/* ============================================
   MINI ENCUESTA DE VISITANTES (abre foto producto)
   ============================================ */

.survey-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100100; /* por encima del lightbox (100000) */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.survey-modal.active {
    opacity: 1;
    visibility: visible;
}

.survey-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--gold);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 28px 24px 22px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    animation: surveyPop 0.3s ease;
}

@keyframes surveyPop {
    from { transform: scale(0.9) translateY(14px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.survey-skip {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.05rem;
    color: var(--gray);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.survey-emoji {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.survey-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.survey-sub {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.4;
}

.survey-input {
    width: 100%;
    margin-bottom: 10px;
    padding: 11px 14px;
    font-size: 16px; /* evita zoom automatico en iPhone */
    border: 1px solid var(--gold-light);
    border-radius: 12px;
    text-align: center;
}

.survey-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.survey-error {
    font-size: 0.72rem;
    color: #E53E3E;
    margin: -4px 0 10px;
    line-height: 1.35;
}

.survey-submit {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px;
    border-radius: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.survey-submit:hover { opacity: 0.92; transform: translateY(-1px); }
.survey-submit:disabled { opacity: 0.55; cursor: default; }

.survey-skip-link {
    margin-top: 12px;
    background: none;
    border: none;
    font-size: 0.74rem;
    color: var(--gray);
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

/* En telefonos: tarjeta compacta para que siempre entre en pantalla */
@media (max-width: 480px) {
    .survey-modal { padding: 14px; }
    .survey-card {
        padding: 22px 16px 16px;
        border-radius: 18px;
    }
    .survey-emoji { font-size: 1.8rem; }
    .survey-title { font-size: 1.15rem; }
    .survey-sub { display: none; }
    .survey-input { padding: 9px 12px; }
}
