/* ============================================
   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;
    --coral: #FF7F66;
    --lavender: #C9B8E8;
    --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;
}

* { 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; }
.serif { font-family: 'Playfair Display', serif; }

/* ---- NAVBAR ---- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px;
    height: var(--nav-h);
    background: rgba(253,250,246,0.95);
    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.1rem; color: var(--ink);
    text-decoration: none; font-weight: 700;
}
.brand-ring { font-size: 1.3rem; }
.navbar-links { display: flex; align-items: center; gap: 16px; }
.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 18px; 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: 60px 20px 80px;
}
.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 14px; border-radius: var(--radius-pill);
    margin-bottom: 24px; animation: fadeUp 0.6s ease both;
}
.hero h1 {
    font-size: clamp(2.4rem, 8vw, 4.8rem);
    color: var(--ink); margin-bottom: 18px;
    animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { color: var(--blush); font-style: italic; }
.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--ink-light); margin-bottom: 36px;
    font-weight: 300; animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
    display: flex; gap: 12px; 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 28px; 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: 80px 20px; }
.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: 48px;
    max-width: 520px; margin-left: auto; margin-right: auto;
}

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; margin-bottom: 48px;
}
.step-card {
    background: white; border-radius: var(--radius); padding: 28px 22px;
    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: 12px;
}
.step-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.step-card h3 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { font-size: 0.875rem; color: var(--ink-light); }

/* FEATURES */
.features-bg { background: white; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-item {
    padding: 24px 20px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--blush); }
.feature-emoji { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.feature-item h3 { font-size: 0.95rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.83rem; color: var(--ink-light); }

/* WEDDINGS SHOWCASE */
.weddings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.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; object-fit: cover;
    background: linear-gradient(135deg, var(--blush-light), var(--gold-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.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: 72px 20px; text-align: center;
    background: linear-gradient(135deg, var(--blush) 0%, #FF4F7A 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '💍'; position: absolute; font-size: 18rem;
    opacity: 0.04; top: -40px; right: -40px; pointer-events: none;
}
.cta-section h2 { color: white; font-size: clamp(1.6rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 32px; }

/* ---- FOOTER ---- */
.footer {
    background: var(--ink); color: rgba(255,255,255,0.6);
    text-align: center; padding: 32px 20px;
    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; } }

/* ---- FORMS ---- */
.form-page {
    min-height: calc(100vh - var(--nav-h));
    display: flex; align-items: flex-start; justify-content: center;
    padding: 40px 16px 60px;
}
.form-card {
    background: white; border-radius: 20px; padding: 36px 28px;
    width: 100%; max-width: 520px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    animation: fadeUp 0.5s ease both;
}
.form-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--ink-light); margin-bottom: 28px; font-size: 0.9rem; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif; font-size: 1rem;
    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: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.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: 20px 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: 12px 16px; border-radius: var(--radius-sm);
    margin-bottom: 18px; 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 ---- */
.dashboard-wrap { display: flex; min-height: calc(100vh - var(--nav-h)); padding-top: var(--nav-h); }

.dashboard-sidebar {
    width: 260px; flex-shrink: 0;
    background: white; border-right: 1px solid var(--border);
    padding: 28px 18px; position: sticky;
    top: var(--nav-h); height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}
.dashboard-sidebar h2 { font-size: 1.2rem; margin-bottom: 4px; }
.dashboard-sidebar .couple-sub { font-size: 0.8rem; color: var(--ink-light); margin-bottom: 24px; }
.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 3px; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 12px; border-radius: var(--radius-sm);
    text-decoration: none; color: var(--ink-light);
    font-size: 0.875rem; font-weight: 500; transition: all 0.2s;
    position: relative;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--blush-light); color: var(--blush); }
.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.7rem; 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: 12px 14px; margin-top: 20px;
}
.sidebar-link-box .label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 4px; }
.sidebar-link-box code { font-size: 0.72rem; color: var(--ink); word-break: break-all; }

.dashboard-main { flex: 1; padding: 36px 28px; background: var(--cream); min-width: 0; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.dashboard-header h1 { font-size: 1.8rem; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card { background: white; border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--border); }
.stat-card .stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--blush); line-height: 1; margin-bottom: 3px; }
.stat-card .stat-label { font-size: 0.75rem; color: var(--ink-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Gift Grid */
.gifts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gift-card {
    background: white; border-radius: var(--radius); border: 1px solid var(--border);
    overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.gift-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gift-card-emoji {
    width: 100%; padding: 28px; text-align: center; font-size: 3.5rem;
    background: linear-gradient(135deg, var(--cream), var(--blush-light));
}
.gift-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gift-card-body { padding: 16px; }
.gift-card-category { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 6px; }
.gift-card h3 { font-size: 0.95rem; margin-bottom: 5px; }
.gift-card .gift-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--blush); margin-bottom: 12px; }
.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: 12px; 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; }

/* ---- MOBILE SIDEBAR TOGGLE ---- */
.sidebar-toggle {
    display: none;
    background: white; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: 8px 14px;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    align-items: center; gap: 6px; color: var(--ink);
}

/* ---- 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: flex-end; justify-content: center;
    padding: 0;
}
.modal-overlay.active { display: flex; }
.modal {
    background: white; border-radius: 24px 24px 0 0;
    padding: 32px 24px 40px; width: 100%; max-width: 640px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg); animation: slideUp 0.3s ease both;
    position: relative;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal h2 { font-size: 1.4rem; margin-bottom: 4px; }
.modal .modal-sub { color: var(--ink-light); font-size: 0.88rem; margin-bottom: 24px; }
.modal-close {
    position: absolute; top: 14px; right: 16px;
    width: 34px; height: 34px; 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);
}

/* Catalog */
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.catalog-tab {
    padding: 6px 13px; 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: 280px; 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.5rem; 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: 24px 16px; text-align: center; cursor: pointer; transition: all 0.2s;
    position: relative;
}
.photo-upload-area:hover, .photo-upload-area.dragover { border-color: var(--blush); background: var(--blush-light); }
.photo-upload-area .upload-icon { font-size: 2rem; margin-bottom: 8px; }
.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: 60px 20px 48px; text-align: center;
    border-bottom: 1px solid var(--border);
}
.couple-photo-wrap {
    width: 120px; height: 120px; border-radius: 50%;
    overflow: hidden; margin: 0 auto 20px; border: 4px solid white;
    box-shadow: var(--shadow-md); background: var(--blush-light);
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.couple-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.list-hero .couple-names { font-family: 'Playfair Display', serif; font-size: clamp(2rem,6vw,3.8rem); color: var(--ink); margin-bottom: 8px; }
.list-hero .couple-names em { color: var(--blush); font-style: italic; }
.list-hero .wedding-date { font-size: 0.9rem; color: var(--ink-light); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.list-hero .welcome-msg { max-width: 560px; margin: 0 auto; font-size: 1rem; color: var(--ink-light); font-style: italic; }
.list-main { padding: 40px 16px; max-width: 1100px; margin: 0 auto; }
.list-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; justify-content: center; }

/* ---- REGALO DETAIL ---- */
.regalo-page { padding: 24px 16px 60px; max-width: 640px; margin: 0 auto; }
.regalo-card {
    background: white; border-radius: 20px; padding: 28px 24px;
    border: 1px solid var(--border); box-shadow: var(--shadow-md); margin-bottom: 24px;
}
.regalo-emoji-big { font-size: 4rem; margin-bottom: 12px; display: block; text-align: center; }
.regalo-card-img { width: 100%; max-height: 240px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.regalo-card .regalo-nombre { font-size: 1.7rem; margin-bottom: 6px; }
.regalo-card .regalo-precio { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--blush); margin-bottom: 12px; }
.regalo-card .regalo-desc { color: var(--ink-light); margin-bottom: 20px; font-size: 0.95rem; }
.bank-info {
    background: var(--gold-light); border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px;
}
.bank-info h3 { font-size: 0.95rem; margin-bottom: 14px; }
.bank-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 7px 0; border-bottom: 1px solid rgba(201,168,76,0.2); font-size: 0.88rem;
}
.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: 0.95rem; display: flex; align-items: center; gap: 6px; }
.copy-btn { background: transparent; border: none; color: var(--gold); cursor: pointer; font-size: 0.9rem; padding: 2px 5px; border-radius: 4px; transition: background 0.2s; }
.copy-btn:hover { background: rgba(201,168,76,0.2); }

/* Contribucion form */
.contrib-form-card { background: white; border-radius: 20px; padding: 28px 24px; border: 1px solid var(--border); }
.file-upload-area {
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 24px; 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: 2rem; margin-bottom: 8px; }
.file-upload-area p { font-size: 0.85rem; 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: 16px 18px; margin-bottom: 10px;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.contribution-info h4 { font-size: 0.9rem; margin-bottom: 3px; }
.contribution-info .contrib-msg { font-size: 0.82rem; color: var(--ink-light); font-style: italic; margin-top: 4px; }
.contribution-amount { font-family: 'Playfair Display', serif; font-size: 1.3rem; 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; }

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

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (min-width: 768px) {
    .navbar { padding: 0 32px; }
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .weddings-grid { grid-template-columns: repeat(3, 1fr); }
    .form-page { padding: 60px 24px; }
    .form-card { padding: 44px 40px; }
    .modal { border-radius: 24px; max-height: 80vh; }
    .modal-overlay { align-items: center; padding: 24px; }
    .regalo-page { padding: 40px 24px 80px; }
    .regalo-card { padding: 40px; }
    .contrib-form-card { padding: 36px; }
}

/* ============================================
   RESPONSIVE — DESKTOP
   ============================================ */
@media (min-width: 1024px) {
    .navbar { padding: 0 48px; }
    .section { padding: 100px 24px; }
    .gifts-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .stats-row { gap: 20px; }
}

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

    .navbar-links .btn-nav { padding: 7px 14px; font-size: 0.8rem !important; }
    .navbar-brand span:not(.brand-ring) { display: none; } /* solo el emoji en mobile */

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

    .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; }

    /* DASHBOARD mobile: sidebar se oculta, toggle arriba */
    .dashboard-wrap { flex-direction: column; }
    .dashboard-sidebar {
        width: 100%; position: static; height: auto;
        border-right: none; border-bottom: 1px solid var(--border);
        padding: 16px; display: none;
    }
    .dashboard-sidebar.open { display: block; }
    .sidebar-toggle { display: inline-flex; }
    .dashboard-main { padding: 20px 16px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .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; }
    .dashboard-header .btn { width: 100%; justify-content: center; }

    .form-row { grid-template-columns: 1fr; }
    .catalog-items { grid-template-columns: 1fr; }

    .bank-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .bank-row .bank-value { font-size: 0.9rem; }

    .contribution-item { flex-direction: column; }
    .contribution-amount { font-size: 1.1rem; }

    .section { padding: 60px 16px; }
    .section-sub { font-size: 0.95rem; }

    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
    .list-hero { padding: 40px 16px 36px; }
    .list-hero .couple-names { font-size: 2.2rem; }
    .couple-photo-wrap { width: 90px; height: 90px; }
}

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