/* ============================================
   listacasamiento.com.ar — Styles
   Modern Festive Minimal | Mobile-first
   ============================================ */

:root {
    --cream: #FDFAF6;
    --white: #FFFFFF;
    --ink: #1A1A2E;
    --ink-light: #4A4A6A;
    --blush: #FF6B8A;
    --blush-light: #FFE8ED;
    --gold: #C9A84C;
    --gold-light: #FFF8E7;
    --sage: #7CB9A0;
    --sage-light: #E8F5F0;
    --border: #EDEAE5;
    --shadow-sm: 0 2px 8px rgba(26,26,46,0.06);
    --shadow-md: 0 8px 32px rgba(26,26,46,0.10);
    --shadow-lg: 0 20px 60px rgba(26,26,46,0.14);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-pill: 100px;
    --nav-h: 64px;
    --sidebar-w: 280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main, .page-main { flex: 1; }
h1,h2,h3 { font-family: 'Playfair Display', serif; line-height: 1.25; }

/* ---- NAVBAR ---- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px;
    height: var(--nav-h);
    background: rgba(253,250,246,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar-brand {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem; color: var(--ink);
    text-decoration: none; font-weight: 700;
}
.brand-ring { font-size: 1.3rem; }
.navbar-links { display: flex; align-items: center; gap: 20px; }
.navbar-links a {
    color: var(--ink-light); text-decoration: none;
    font-size: 0.875rem; font-weight: 500; transition: color 0.2s;
}
.navbar-links a:hover { color: var(--blush); }
.btn-nav {
    background: var(--blush) !important; color: white !important;
    padding: 9px 20px; border-radius: var(--radius-pill);
    font-weight: 600 !important; font-size: 0.875rem !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,107,138,0.4) !important; }
.btn-nav-outline {
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-pill); padding: 7px 16px;
}
.page-wrapper { padding-top: var(--nav-h); flex: 1; display: flex; flex-direction: column; }

/* ---- HERO ---- */
.hero {
    min-height: 88vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
    padding: 80px 24px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 20% 80%, rgba(255,107,138,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(201,168,76,0.10) 0%, transparent 60%);
}
.hero-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti-dot {
    position: absolute; border-radius: 50%;
    animation: floatDot 8s ease-in-out infinite;
}
@keyframes floatDot {
    0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-28px) rotate(180deg); opacity: 1; }
}
.hero-content { position: relative; z-index: 1; max-width: 680px; width: 100%; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold-light); border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 6px 16px; border-radius: var(--radius-pill);
    margin-bottom: 28px; animation: fadeUp 0.6s ease both;
}
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    color: var(--ink); margin-bottom: 20px;
    animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { color: var(--blush); font-style: italic; }
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--ink-light); margin-bottom: 40px;
    font-weight: 300; animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 30px; border-radius: var(--radius-pill);
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none; transition: all 0.25s;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn-primary { background: var(--blush); color: white; box-shadow: 0 4px 20px rgba(255,107,138,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,138,0.45); background: #ff5577; }
.btn-secondary { background: white; color: var(--ink); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--blush); color: var(--blush); }
.btn-gold { background: var(--gold); color: white; box-shadow: 0 4px 16px rgba(201,168,76,0.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
.btn-outline-blush { background: transparent; color: var(--blush); border: 2px solid var(--blush); }
.btn-outline-blush:hover { background: var(--blush); color: white; }
.btn-danger { background: #FF4F7A; color: white; }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ---- SECTIONS ---- */
.section { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
    text-align: center; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--blush); margin-bottom: 10px;
}
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--ink); margin-bottom: 14px; }
.section-sub {
    text-align: center; color: var(--ink-light); font-size: 1rem; margin-bottom: 56px;
    max-width: 520px; margin-left: auto; margin-right: auto;
}

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-bottom: 56px;
}
.step-card {
    background: white; border-radius: var(--radius); padding: 32px 24px;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    text-align: center; transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--blush-light); color: var(--blush);
    font-weight: 700; font-size: 1rem; margin-bottom: 14px;
}
.step-icon { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.875rem; color: var(--ink-light); }

/* FEATURES */
.features-bg { background: white; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item {
    padding: 28px 24px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-item:hover { border-color: var(--blush); box-shadow: var(--shadow-sm); }
.feature-emoji { font-size: 2rem; margin-bottom: 12px; display: block; }
.feature-item h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.875rem; color: var(--ink-light); }

/* WEDDINGS SHOWCASE */
.weddings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wedding-card {
    background: white; border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden; text-decoration: none; color: var(--ink);
    transition: transform 0.2s, box-shadow 0.2s; display: block;
}
.wedding-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.wedding-card-photo {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--blush-light), var(--gold-light));
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
    overflow: hidden;
}
.wedding-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.wedding-card-body { padding: 16px; }
.wedding-card-names { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: 4px; }
.wedding-card-date { font-size: 0.78rem; color: var(--ink-light); }

/* CTA */
.cta-section {
    padding: 80px 24px; text-align: center;
    background: linear-gradient(135deg, var(--blush) 0%, #FF4F7A 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '💍'; position: absolute; font-size: 20rem;
    opacity: 0.04; top: -40px; right: -40px; pointer-events: none;
}
.cta-section h2 { color: white; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 36px; }

/* ---- FOOTER ---- */
.footer {
    background: var(--ink); color: rgba(255,255,255,0.6);
    text-align: center; padding: 36px 24px;
    margin-top: auto;
}
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: white; margin-bottom: 6px; }
.footer-copy { font-size: 0.82rem; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---- FORMS ---- */
.form-page {
    min-height: calc(100vh - var(--nav-h));
    display: flex; align-items: flex-start; justify-content: center;
    padding: 60px 24px 80px;
}
.form-card {
    background: white; border-radius: 24px; padding: 48px 44px;
    width: 100%; max-width: 540px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    animation: fadeUp 0.5s ease both;
}
.form-card h1 { font-size: 2rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--ink-light); margin-bottom: 32px; font-size: 0.95rem; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
    color: var(--ink); background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
    -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--blush); box-shadow: 0 0 0 3px rgba(255,107,138,0.12); background: white;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.78rem; color: var(--ink-light); margin-top: 4px; }
.form-divider {
    text-align: center; font-size: 0.82rem; color: var(--ink-light);
    margin: 24px 0; position: relative;
}
.form-divider::before, .form-divider::after {
    content: ''; position: absolute; top: 50%;
    width: calc(50% - 28px); height: 1px; background: var(--border);
}
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

/* ---- ALERTS ---- */
.alert {
    padding: 13px 16px; border-radius: var(--radius-sm);
    margin-bottom: 20px; font-size: 0.88rem; font-weight: 500;
}
.alert-error { background: #FFF0F3; border: 1px solid #FFB3C1; color: #C1002A; }
.alert-success { background: #F0FFF8; border: 1px solid #B3F0D4; color: #005C2E; }
.alert-info { background: var(--gold-light); border: 1px solid rgba(201,168,76,0.3); color: #7A5C00; }

/* ================================================================
   DASHBOARD — Layout de dos columnas fijo en desktop
   ================================================================ */

/* El wrapper ocupa toda la pantalla debajo del navbar */
.dashboard-wrap {
    display: flex;
    flex-direction: row;          /* SIEMPRE en fila en desktop */
    min-height: calc(100vh - var(--nav-h));
    padding-top: var(--nav-h);
    align-items: flex-start;
}

/* Sidebar — columna izquierda fija */
.dashboard-sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: white;
    border-right: 1px solid var(--border);
    padding: 32px 24px;
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}
.dashboard-sidebar h2 { font-size: 1.25rem; margin-bottom: 4px; color: var(--ink); }
.dashboard-sidebar .couple-sub { font-size: 0.8rem; color: var(--ink-light); margin-bottom: 28px; }

.sidebar-nav { list-style: none; margin-bottom: 8px; }
.sidebar-nav li { margin-bottom: 4px; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    text-decoration: none; color: var(--ink-light);
    font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
    position: relative;
}
.sidebar-nav a:hover { background: var(--blush-light); color: var(--blush); }
.sidebar-nav a.active { background: var(--blush-light); color: var(--blush); font-weight: 600; }

.badge-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px;
    background: var(--blush); color: white;
    border-radius: 10px; font-size: 0.68rem; font-weight: 700;
    margin-left: auto;
}

.sidebar-link-box {
    background: var(--gold-light); border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 24px;
}
.sidebar-link-box .label {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--gold); margin-bottom: 5px;
}
.sidebar-link-box code { font-size: 0.72rem; color: var(--ink); word-break: break-all; line-height: 1.5; }

/* Main content — columna derecha */
.dashboard-main {
    flex: 1;
    padding: 40px 36px;
    background: var(--cream);
    min-width: 0;  /* evita overflow */
    min-height: calc(100vh - var(--nav-h));
}
.dashboard-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 36px; flex-wrap: wrap; gap: 14px;
}
.dashboard-header h1 { font-size: 2rem; }

/* Mobile toggle — oculto en desktop */
.sidebar-toggle { display: none; }
.mobile-topbar { display: none; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.stat-card {
    background: white; border-radius: var(--radius);
    padding: 24px 28px; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.stat-card .stat-num {
    font-family: 'Playfair Display', serif; font-size: 2.2rem;
    color: var(--blush); line-height: 1; margin-bottom: 4px;
}
.stat-card .stat-label {
    font-size: 0.72rem; color: var(--ink-light); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* Gift Grid — estilo ecommerce */
.gifts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.gift-card {
    background: white; border-radius: var(--radius); border: 1px solid var(--border);
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
    display: flex; flex-direction: column;
}
.gift-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Zona de imagen — ocupa 55% de la tarjeta visualmente */
.gift-card-visual {
    position: relative; width: 100%; aspect-ratio: 1 / 1;
    overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush-light) 100%);
    display: flex; align-items: center; justify-content: center;
}
.gift-card-visual img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.gift-card:hover .gift-card-visual img { transform: scale(1.04); }

/* Emoji placeholder cuando no hay foto */
.gift-card-emoji-placeholder {
    font-size: 4.5rem; line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(255,107,138,0.2));
}

/* Badge de categoría flotando sobre la imagen */
.gift-card-cat-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink-light);
    border: 1px solid rgba(255,255,255,0.6);
}

/* Badge "X veces regalado" flotando sobre la imagen */
.gift-card-times-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--sage);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    font-size: 0.68rem; font-weight: 700;
    color: white;
}

/* Cuerpo de la tarjeta */
.gift-card-body {
    padding: 16px 18px 18px;
    display: flex; flex-direction: column; flex: 1;
}
.gift-card h3 {
    font-size: 0.95rem; font-weight: 600; margin-bottom: 4px;
    color: var(--ink); line-height: 1.35;
    /* Truncar a 2 líneas */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gift-card-desc {
    font-size: 0.8rem; color: var(--ink-light); margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gift-card .gift-price {
    font-family: 'Playfair Display', serif; font-size: 1.4rem;
    color: var(--blush); margin-bottom: 14px; font-weight: 700;
}
.gift-card-footer { margin-top: auto; }

.gift-card-status { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 700; }
.status-disponible { background: var(--sage-light); color: var(--sage); }
.status-reservado { background: var(--gold-light); color: var(--gold); }
.status-comprado { background: var(--blush-light); color: var(--blush); }
.gift-card-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.btn-icon {
    padding: 6px 12px; border-radius: var(--radius-sm);
    font-size: 0.78rem; font-weight: 600; cursor: pointer;
    border: 1.5px solid var(--border); background: transparent; color: var(--ink-light);
    transition: all 0.2s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
    -webkit-tap-highlight-color: transparent;
}
.btn-icon:hover { border-color: var(--blush); color: var(--blush); background: var(--blush-light); }
.btn-icon-danger:hover { border-color: #FF4F7A; color: #FF4F7A; background: #FFF0F3; }

/* ---- MODAL ---- */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(26,26,46,0.5); backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: white; border-radius: 24px;
    padding: 40px 36px; width: 100%; max-width: 600px;
    max-height: 88vh; overflow-y: auto;
    box-shadow: var(--shadow-lg); animation: slideUp 0.3s ease both;
    position: relative;
}
.modal h2 { font-size: 1.5rem; margin-bottom: 4px; }
.modal .modal-sub { color: var(--ink-light); font-size: 0.88rem; margin-bottom: 24px; }
.modal-close {
    position: absolute; top: 16px; right: 18px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--cream); border: 1px solid var(--border);
    cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-light); transition: background 0.2s;
}
.modal-close:hover { background: var(--blush-light); color: var(--blush); }

/* Edit modal */
.editar-modal { display: none; }
.editar-modal.active { display: flex; }

/* Catalog */
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.catalog-tab {
    padding: 6px 14px; border-radius: var(--radius-pill);
    border: 1.5px solid var(--border); background: transparent;
    font-size: 0.78rem; font-weight: 600; cursor: pointer; color: var(--ink-light);
    transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.catalog-tab.active, .catalog-tab:hover { background: var(--blush); border-color: var(--blush); color: white; }
.catalog-items {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    max-height: 300px; overflow-y: auto; margin-bottom: 16px;
}
.catalog-item {
    padding: 12px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s;
}
.catalog-item:hover, .catalog-item.selected { border-color: var(--blush); background: var(--blush-light); }
.catalog-item-emoji { font-size: 1.6rem; margin-bottom: 4px; }
.catalog-item-name { font-size: 0.8rem; font-weight: 600; margin-bottom: 2px; }
.catalog-item-price { font-size: 0.75rem; color: var(--blush); font-weight: 700; }

/* Photo upload */
.photo-upload-area {
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 28px 20px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.photo-upload-area:hover, .photo-upload-area.dragover { border-color: var(--blush); background: var(--blush-light); }
.photo-upload-area .upload-icon { font-size: 2.2rem; margin-bottom: 10px; }
.photo-upload-area p { font-size: 0.85rem; color: var(--ink-light); }
.photo-upload-area input[type="file"] { display: none; }
.photo-preview {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    border-radius: var(--radius-sm); margin-bottom: 8px; display: none;
}

/* ---- PUBLIC LIST PAGE ---- */
.list-hero {
    background: linear-gradient(160deg, var(--blush-light) 0%, var(--gold-light) 100%);
    padding: 72px 24px 56px; text-align: center;
    border-bottom: 1px solid var(--border);
}
.couple-photo-wrap {
    width: 130px; height: 130px; border-radius: 50%;
    overflow: hidden; margin: 0 auto 24px; border: 4px solid white;
    box-shadow: var(--shadow-md); background: var(--blush-light);
    display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.couple-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.list-hero .couple-names {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem); color: var(--ink); margin-bottom: 10px;
}
.list-hero .couple-names em { color: var(--blush); font-style: italic; }
.list-hero .wedding-date {
    font-size: 0.95rem; color: var(--ink-light); margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.list-hero .welcome-msg {
    max-width: 580px; margin: 0 auto;
    font-size: 1.05rem; color: var(--ink-light); font-style: italic;
}
.list-main { padding: 56px 24px; max-width: 1100px; margin: 0 auto; }
.list-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; justify-content: center; }

/* ---- REGALO DETAIL ---- */
.regalo-page { padding: 40px 24px 80px; max-width: 660px; margin: 0 auto; }
.regalo-card {
    background: white; border-radius: 24px; padding: 40px;
    border: 1px solid var(--border); box-shadow: var(--shadow-md); margin-bottom: 24px;
}
.regalo-emoji-big { font-size: 4.5rem; margin-bottom: 16px; display: block; text-align: center; }
.regalo-card-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.regalo-card .regalo-nombre { font-size: 1.8rem; margin-bottom: 8px; }
.regalo-card .regalo-precio { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--blush); margin-bottom: 14px; }
.regalo-card .regalo-desc { color: var(--ink-light); margin-bottom: 22px; font-size: 1rem; }
.bank-info {
    background: var(--gold-light); border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius); padding: 24px 28px; margin-bottom: 24px;
}
.bank-info h3 { font-size: 1rem; margin-bottom: 16px; }
.bank-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid rgba(201,168,76,0.2); font-size: 0.9rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-row .bank-label { color: var(--ink-light); }
.bank-row .bank-value { font-weight: 700; font-family: monospace; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.copy-btn { background: transparent; border: none; color: var(--gold); cursor: pointer; font-size: 1rem; padding: 3px 6px; border-radius: 4px; transition: background 0.2s; }
.copy-btn:hover { background: rgba(201,168,76,0.2); }

.contrib-form-card { background: white; border-radius: 24px; padding: 40px; border: 1px solid var(--border); }
.file-upload-area {
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 28px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.file-upload-area:hover, .file-upload-area.dragover { border-color: var(--blush); background: var(--blush-light); }
.file-upload-area .upload-icon { font-size: 2.2rem; margin-bottom: 10px; }
.file-upload-area p { font-size: 0.88rem; color: var(--ink-light); }
.file-upload-area input { display: none; }

/* Contributions list */
.contribution-item {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 22px; margin-bottom: 12px;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.contribution-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contribution-info .contrib-msg { font-size: 0.83rem; color: var(--ink-light); font-style: italic; margin-top: 6px; }
.contribution-amount { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--sage); font-weight: 700; white-space: nowrap; }
.badge-pending { display: inline-block; background: var(--gold-light); color: var(--gold); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.badge-confirmed { display: inline-block; background: var(--sage-light); color: var(--sage); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; }

/* ================================================================
   RESPONSIVE — TABLET (768px–1023px)
   ================================================================ */
@media (max-width: 1023px) and (min-width: 768px) {
    .navbar { padding: 0 32px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .weddings-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 80px 20px; }

    /* Sidebar un poco más angosta en tablet */
    :root { --sidebar-w: 240px; }
    .dashboard-main { padding: 28px 24px; }
}

/* ================================================================
   RESPONSIVE — MOBILE (hasta 767px)
   ================================================================ */
@media (max-width: 767px) {
    :root { --nav-h: 60px; }

    /* Navbar mobile */
    .navbar { padding: 0 16px; }
    .navbar-links .btn-nav { padding: 7px 14px; font-size: 0.8rem !important; }

    /* Hero mobile */
    .hero { min-height: 85vh; padding: 40px 16px 60px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }

    /* Sections mobile */
    .section { padding: 60px 16px; }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .step-card { padding: 20px 14px; }
    .features-grid { grid-template-columns: 1fr; }
    .weddings-grid { grid-template-columns: 1fr 1fr; }

    /* Forms mobile */
    .form-page { padding: 32px 16px 60px; }
    .form-card { padding: 28px 20px; border-radius: 16px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* DASHBOARD mobile — sidebar colapsable */
    .dashboard-wrap {
        flex-direction: column;   /* en mobile apilamos verticalmente */
    }
    .dashboard-sidebar {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px 18px;
        display: none;            /* oculto por default, toggle lo muestra */
        overflow-y: visible;
        top: auto;
    }
    .dashboard-sidebar.open {
        display: block;
    }
    .sidebar-toggle {
        display: inline-flex;
        align-items: center; gap: 8px;
        background: white; border: 1.5px solid var(--border);
        border-radius: var(--radius-sm); padding: 9px 16px;
        font-size: 0.875rem; font-weight: 600; cursor: pointer; color: var(--ink);
    }
    .mobile-topbar {
        display: flex;
        align-items: center; gap: 14px;
        padding: 12px 16px;
        background: white; border-bottom: 1px solid var(--border);
        position: sticky; top: var(--nav-h); z-index: 50;
    }
    .mobile-topbar span { font-family: 'Playfair Display', serif; font-size: 1rem; }
    .dashboard-main { padding: 20px 16px; min-height: auto; }

    .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stats-row .stat-card:last-child { grid-column: span 2; }
    .gifts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dashboard-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .dashboard-header .btn { width: 100%; justify-content: center; }

    /* Modal mobile — sale desde abajo */
    .modal-overlay { padding: 0; align-items: flex-end; }
    .modal { border-radius: 24px 24px 0 0; padding: 28px 20px 40px; max-height: 90vh; }
    .catalog-items { grid-template-columns: 1fr; }

    /* Contribuciones mobile */
    .contribution-item { flex-direction: column; gap: 10px; }
    .contribution-amount { font-size: 1.2rem; }
    .bank-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .bank-row .bank-value { font-size: 0.9rem; }

    /* Lista pública mobile */
    .list-hero { padding: 40px 16px 36px; }
    .list-hero .couple-names { font-size: 2.2rem; }
    .couple-photo-wrap { width: 100px; height: 100px; }
    .list-main { padding: 32px 14px; }

    /* Regalo mobile */
    .regalo-page { padding: 20px 14px 60px; }
    .regalo-card { padding: 24px 18px; border-radius: 16px; }
    .contrib-form-card { padding: 24px 18px; border-radius: 16px; }
    .regalo-card .regalo-nombre { font-size: 1.5rem; }
    .regalo-card .regalo-precio { font-size: 2rem; }

    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}

@media (max-width: 400px) {
    .gifts-grid { grid-template-columns: 1fr; }
    .weddings-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}
