/* ═══════════════════════════════════════════════════
   Mesa de Regalos v3.0 – Lunas de Miel de Lucía
   Paleta: negro profundo + dorado + crema
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Jost:wght@300;400;500&display=swap');

.ldml-wrap *, .ldml-wrap *::before, .ldml-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Ancho completo rompiendo contenedor WPBakery ── */
.ldml-wrap {
    font-family: 'Jost', sans-serif;
    color: #f0e8d8;
    background: #0d0d0d;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    overflow-x: hidden;
}

/* ── Quitar padding de WPBakery ── */
.vc_row-has-fill .vc_column-inner,
.ldml-wrap + * { padding: 0 !important; }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.ldml-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}
.ldml-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.55) 45%,
        rgba(0,0,0,0.80) 100%
    );
}
.ldml-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem 5rem;
    max-width: 720px;
    width: 100%;
}

/* Logo color en hero */
.ldml-logo-hero {
    width: 300px;
    max-width: 68%;
    display: block;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
}

.ldml-hero-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(200,185,138,0.6), transparent);
    margin: 0 auto 2rem;
}
.ldml-novios {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(42px, 7.5vw, 72px);
    color: #f5ede0;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin-bottom: 0.7rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.ldml-fecha {
    font-size: 10.5px;
    font-weight: 300;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: #c8b98a;
    margin-bottom: 2rem;
}
.ldml-hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 400;
    color: rgba(240,232,216,0.88);
    margin-bottom: 0.5rem;
}
.ldml-hero-sub {
    font-size: 12.5px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(240,232,216,0.5);
    margin-bottom: 2.75rem;
}
.ldml-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #c8b98a;
    text-decoration: none;
    border: 1px solid rgba(200,185,138,0.35);
    padding: 14px 34px;
    transition: all 0.25s;
}
.ldml-scroll-btn:hover {
    background: rgba(200,185,138,0.1);
    border-color: #c8b98a;
    color: #f5ede0;
}

/* ═══════════════════════════════
   BARRA FILTROS
═══════════════════════════════ */
.ldml-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #111;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(200,185,138,0.12);
}
.ldml-cat {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 17px 22px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.ldml-cat.active,
.ldml-cat:hover {
    color: #c8b98a;
    border-bottom-color: #c8b98a;
}

/* ═══════════════════════════════
   GRID
═══════════════════════════════ */
.ldml-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #222;
}

/* ═══════════════════════════════
   TARJETA
═══════════════════════════════ */
.ldml-card {
    background: #141414;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}
.ldml-card:hover { background: #1a1a1a; }
.ldml-card.ldml-reserved { opacity: 0.55; }
.ldml-card.ldml-hidden   { display: none; }

/* Imagen */
.ldml-card-img {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    flex-shrink: 0;
}
.ldml-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.15) 50%,
        transparent 100%
    );
}

/* Fondos si no hay foto */
.ldml-no-img.ldml-cat-vuelo       { background: linear-gradient(145deg, #060f1a 0%, #0d2a45 60%, #103a60 100%); }
.ldml-no-img.ldml-cat-hotel       { background: linear-gradient(145deg, #1a0d00 0%, #4a2000 60%, #7a3510 100%); }
.ldml-no-img.ldml-cat-experiencia { background: linear-gradient(145deg, #010d07 0%, #063520 60%, #0a5530 100%); }
.ldml-no-img.ldml-cat-tours       { background: linear-gradient(145deg, #0d0016 0%, #280040 60%, #400060 100%); }

/* Ribbon */
.ldml-ribbon {
    position: absolute;
    top: 14px;
    left: 0;
    z-index: 3;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 13px;
    background: #0d0d0d;
    color: #c8b98a;
    border-right: 1px solid rgba(200,185,138,0.3);
}
.ldml-ribbon-last {
    background: #1a3a2a;
    color: #6ecfaa;
    border-right-color: rgba(110,207,170,0.3);
}

/* Pill destino */
.ldml-dest-pill {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 3;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 2px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Body */
.ldml-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}
.ldml-card-nombre {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 400;
    color: #f0e8d8;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.ldml-card-desc {
    font-size: 12px;
    font-weight: 300;
    color: rgba(240,232,216,0.45);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}
.ldml-card-footer {
    border-top: 1px solid rgba(200,185,138,0.12);
    padding-top: 1rem;
}
.ldml-precio-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 0.75rem;
}
.ldml-desde {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(200,185,138,0.45);
}
.ldml-precio {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    color: #c8b98a;
}

/* Progreso */
.ldml-prog-wrap { margin-bottom: 1rem; }
.ldml-prog-bar {
    height: 1px;
    background: rgba(200,185,138,0.15);
    margin-bottom: 5px;
    overflow: hidden;
}
.ldml-prog-fill {
    height: 100%;
    background: #c8b98a;
    transition: width 0.4s;
}
.ldml-prog-txt {
    font-size: 9.5px;
    letter-spacing: 0.06em;
    color: rgba(240,232,216,0.3);
}

/* Botones */
.ldml-btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-family: 'Jost', sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.ldml-btn-pagar {
    background: #c8b98a;
    color: #0d0d0d;
    border: 1px solid #c8b98a;
}
.ldml-btn-pagar:hover {
    background: #ddd0a8;
    border-color: #ddd0a8;
    color: #0d0d0d;
}
.ldml-btn-reservado {
    background: transparent;
    color: rgba(240,232,216,0.2);
    border: 1px solid rgba(240,232,216,0.08);
    pointer-events: none;
}
.ldml-btn-pronto {
    background: transparent;
    color: rgba(200,185,138,0.35);
    border: 1px solid rgba(200,185,138,0.15);
    pointer-events: none;
    font-style: italic;
}

/* ═══════════════════════════════
   FOOTER NEGRO + LOGO BLANCO
═══════════════════════════════ */
.ldml-footer {
    background: #080808;
    padding: 4rem 2rem 3.5rem;
    text-align: center;
    border-top: 1px solid rgba(200,185,138,0.1);
}
.ldml-footer-line {
    width: 40px;
    height: 1px;
    background: #c8b98a;
    margin: 0 auto 2.5rem;
    opacity: 0.5;
}
.ldml-footer-logo {
    width: 220px;
    max-width: 55%;
    display: block;
    margin: 0 auto 1.5rem;
    opacity: 0.7;
}
.ldml-footer-txt {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(200,185,138,0.45);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1200px) {
    .ldml-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .ldml-grid { grid-template-columns: repeat(2, 1fr); }
    .ldml-hero { background-attachment: scroll; min-height: 90vh; }
}
@media (max-width: 520px) {
    .ldml-grid { grid-template-columns: 1fr; }
    .ldml-cat  { padding: 14px 14px; font-size: 9px; letter-spacing: 0.18em; }
    .ldml-logo-hero { width: 220px; }
}

/* ═══════════════════════════════
   GIFT CARD GENERATOR
═══════════════════════════════ */
.ldml-gc-section {
    background: #0d0d0d;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(200,185,138,0.1);
}
.ldml-gc-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.ldml-gc-header {
    text-align: center;
    margin-bottom: 3rem;
}
.ldml-gc-header-line {
    width: 40px;
    height: 1px;
    background: #c8b98a;
    margin: 0 auto 2rem;
    opacity: 0.5;
}
.ldml-gc-titulo {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(24px, 4vw, 34px);
    color: #f0e8d8;
    margin-bottom: 0.5rem;
}
.ldml-gc-sub {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(200,185,138,0.45);
}

/* Layout dos columnas */
.ldml-gc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Formulario */
.ldml-gc-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ldml-gc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.ldml-gc-label {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(200,185,138,0.6);
}
.ldml-gc-input {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 300;
    background: #161616;
    border: 1px solid rgba(200,185,138,0.15);
    color: #f0e8d8;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}
.ldml-gc-input:focus {
    border-color: rgba(200,185,138,0.5);
}
.ldml-gc-input option {
    background: #161616;
    color: #f0e8d8;
}
.ldml-gc-textarea {
    resize: none;
    line-height: 1.6;
}
.ldml-gc-counter {
    font-size: 10px;
    color: rgba(200,185,138,0.3);
    text-align: right;
    margin-top: 3px;
}
.ldml-gc-btn-generar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    font-family: 'Jost', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    background: #c8b98a;
    color: #0d0d0d;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
.ldml-gc-btn-generar:hover { background: #ddd0a8; }

/* Canvas / preview */
.ldml-gc-preview-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#ldml-gc-canvas {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(200,185,138,0.12);
}
.ldml-gc-acciones {
    display: flex;
    gap: 10px;
}
.ldml-gc-btn-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    padding: 13px;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: #25D366;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.ldml-gc-btn-wa:hover { background: #20ba5a; }

/* Responsive */
@media (max-width: 768px) {
    .ldml-gc-layout { grid-template-columns: 1fr; }
    .ldml-gc-section { padding: 3.5rem 1.25rem; }
}
