:root {
    --olive : #849B85; /* Verde Salvia */
    --earth: #60483D; /* Café */
    --burgundy: #293b56; /* Azul Marino */
    --terracotta: #60483D; /* Café */
    --coral: #B99BA9; /* Malva */
    --peach: #E9B9AA; /* Durazno */

    /* Fondos y textos */
    --ivory: #f5ecdf; /* Marfil */
    --paper: #fff9f2; /* Papel */
    --ink: #49382f; /* Café claro */
    --muted: #756a65; /* Muted */
    --line: rgba(120,11,40,.16);

    /* complementarios */
    --champagne: #DCC7A8; /* Champagne */
    --mauve: #B99BA9; /* Malva */
    --navy: #293b56; /* Azul Marino */
    --warm-gray: #918F8B; /* Gris cálido */

    /* Bordes y sombras */
    --line: rgba(96,72,61,.16);
    --shadow: 0 18px 50px rgba(82,47,29,.12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Montserrat",sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7
}

button,input {
    font: inherit
}

a {
    color: inherit
}

h1,h2,h3 {
    font-family: "Cormorant Garamond",serif;
    font-weight: 500;
    line-height: 1.05;
    margin-top: 0
}

h2 {
    font-size: clamp(2.5rem,6vw,4.4rem);
    margin-bottom: 1rem
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--burgundy)
}

.eyebrow.light {
    color: var(--ivory)
}

.container {
    width: min(1120px,calc(100% - 40px));
    margin: auto
}

.narrow {
    max-width: 760px;
    text-align: center
}

.section {
    padding: 95px 0;
    position: relative;
    overflow: hidden
}

.muted {
    color: var(--muted)
}

.wedding-nav {
    height: 66px;
    background: rgba(245,235,221,.97);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(139,92,54,.15)
}

.monogram {
    text-decoration: none;
    font-family: "Cormorant Garamond",serif;
    font-size: 1.25rem;
    letter-spacing: .15em
}

.monogram span {
    color: var(--mauve)
}

.nav-links {
    display: flex;
    gap: 34px
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .67rem
}

.nav-date {
    font-family: "Cormorant Garamond",serif;
    letter-spacing: .18em;
    color: var(--earth)
}

/* PORTADA */
.hero {
    min-height: calc(100svh - 66px);
    display: grid;
    place-items: center;
    position: relative;
    color: white;
    overflow: hidden;
    background-color: var(--earth);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(96,72,61,.04) 0%, rgba(96,72,61,.12) 35%, rgba(96,72,61,.70) 67%, rgba(96,72,61,.94) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    margin: 0 0 0 auto;
    padding: 0 4% 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content > * {
    width: min(48%, 580px);
    max-width: 100%;
}

.hero h1 {
    font-size: clamp(3.5rem, 5.5vw, 6.3rem);
    line-height: .94;
    margin: .18em 0 .28em;
    font-weight: 400;
    text-shadow: 0 5px 25px rgba(0,0,0,.16);
}

.hero h1 span { color: var(--peach); }
.hero-date { letter-spacing: .35em; text-align: center; }
.hero-copy {
    margin: 1.4rem 0 2rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    line-height: 1.6;
    text-align: center;
}
.hero-content .btn {
    width: fit-content;
    min-width: 230px;
    max-width: 100%;
    align-self: center;
    margin: 0 auto;
    text-align: center;
}

.btn {
    border: 0;
    border-radius: 10px;
    padding: .95rem 1.45rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn:disabled {
    opacity: .6;
    cursor: wait
}

.btn-primary {
    background: var(--navy);
    color: white
}

.btn-light {
    background: var(--champagne);
    color: var(--ink)
}

.btn.full {
    width: 100%
}

.rsvp-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.rsvp-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 8px;
    text-align: center;
}


.rsvp-btn-no {
    background: var(--champagne);
    color: var(--ink);
    border: 0;
}


@media (max-width: 400px) {
    .rsvp-actions {
        gap: 8px;
    }

    .rsvp-actions .btn {
        padding: 10px 5px;
        font-size: 0.72rem;
        letter-spacing: 0;
    }
}

.countdown-section {
    background: var(--ivory);
    text-align: center
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 800px;
    margin: 1.5rem auto 0
}

.countdown div {
    padding: 10px 18px;
    border-right: 1px solid rgba(139,92,54,.25)
}

.countdown div:last-child {
    border-right: 0
}

.countdown strong {
    display: block;
    font-family: "Cormorant Garamond",serif;
    font-size: clamp(2.8rem,7vw,4.5rem);
    color: var(--burgundy);
    font-weight: 500
}

.countdown span {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .65rem
}

.leaf {
    position: absolute;
    font-family: serif;
    font-size: 8rem;
    color: rgba(139,92,54,.18);
    line-height: 1
}

.leaf-left {
    left: -15px;
    bottom: -10px;
    transform: rotate(-25deg)
}

.leaf-right {
    right: -15px;
    top: 15px;
    transform: scaleX(-1) rotate(-25deg)
}

.details {
    text-align: center;
    background: var(--paper)
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 3rem
}

.card {
    padding: 34px 25px;
    background: var(--ivory);
    border: 1px solid var(--line);
    min-height: 285px
}

.card-number {
    font-family: "Cormorant Garamond",serif;
    color: var(--mauve);
    font-size: 2.6rem
}

.card h3 {
    font-size: 2rem;
    color: var(--burgundy)
}

.rsvp-section {
    background: linear-gradient(
        135deg,
        #60483D 0%,
        #80685C 100%
    );
    color: white
}

.rsvp-section h2 {
    color: var(--paper)
}

.rsvp-box {
    background: rgba(255,250,244,.96);
    border: 1px solid rgba(255,255,255,.5);
    box-shadow: var(--shadow);
    padding: 28px;
    margin-top: 2rem;
    text-align: left;
    color: var(--ink)
}

label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .55rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(120,11,40,.18);
    border-radius: 5px;
    background: white;
    outline: none;
    margin-bottom: 14px
}

input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(189,72,45,.12)
}

.form-message {
    font-size: .82rem;
    text-align: center;
    margin: 14px 0 0
}

.form-message.error {
    color: #8d2525
}

.form-message.success {
    color: #35633e
}

.dress-gallery {
    background: var(--ivory)
}

.split-bottom {
    display: grid;
    grid-template-columns: .85fr 1.35fr;
    gap: 0px;
    align-items: center
}

.dress-block {
    text-align: center
}

.palette {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 10px
}

.palette span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c);
    border: 2px solid rgba(255,255,255,.7);
    box-shadow: 0 3px 10px rgba(0,0,0,.08)
}

.palette-caption {
    font-family: "Cormorant Garamond",serif;
    letter-spacing: .2em
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(145deg,var(--peach),var(--terracotta));
    cursor: pointer
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08)
}
.gallery-item span {
    font-family: "Cormorant Garamond",serif;
    font-size: 1.3rem
}

footer {
    text-align: center;
    background: var(--olive);
    color: var(--ivory);
    padding: 65px 20px 35px
}

footer h2 {
    font-size: 3.4rem;
    margin-bottom: .5rem
}

.footer-tag {
    letter-spacing: .25em;
    text-transform: uppercase;
    font-size: .65rem
}

.admin-link {
    display: inline-block;
    margin-top: 1.8rem;
    opacity: .5;
    font-size: .7rem
}

.result-modal {
    border: 0;
    border-radius: 8px;
    width: min(520px,calc(100% - 30px));
    padding: 0;
    background: var(--paper)
}

.result-modal::backdrop {
    background: rgba(40,26,19,.78)
}

.result-content {
    padding: 40px 30px;
    text-align: center
}

.result-content h3 {
    font-size: 2.6rem;
    color: var(--burgundy)
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: .75s
}

.reveal.visible {
    opacity: 1;
    transform: none
}

/* ADMIN */.admin-body {
    background: var(--ivory);
    min-height: 100vh
}

.admin-shell {
    width: min(1180px,calc(100% - 30px));
    margin: auto;
    padding: 50px 0
}

.login-card {
    max-width: 430px;
    margin: 7vh auto;
    background: var(--paper);
    padding: 36px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow)
}

.login-card input {
    margin-bottom: 14px
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px
}

.admin-topbar h1 {
    font-size: 3rem;
    margin-bottom: .2rem
}

.stats {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
    margin-bottom: 28px
}

.stat {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 20px
}

.stat strong {
    display: block;
    font-family: "Cormorant Garamond",serif;
    font-size: 2.8rem;
    color: var(--burgundy)
}

.admin-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 20px;
    overflow: hidden
}

.toolbar {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 12px;
    margin-bottom: 18px
}

.toolbar input {
    margin: 0
}

.toolbar select {
    padding: 13px;
    border: 1px solid var(--line);
    background: white
}

.table-wrap {
    overflow-x: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px
}

th,td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top
}

th {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.badge {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: .72rem
}

.hidden {
    display: none!important
}

@media(
max-width: 850px
) {
    .nav-links {
        display: none
    }

    .section {
        padding: 75px 0
    }

    .cards,.split-bottom {
        grid-template-columns: 1fr
    }

    .stats {
        grid-template-columns: repeat(2,1fr)
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column
    }

}

@media(
max-width: 600px
) {
    .wedding-nav {
        padding: 0 20px
    }

    .nav-date {
        font-size: .8rem
    }

    .hero h1 {
        font-size: 4rem
    }

    .countdown {
        grid-template-columns: repeat(2,1fr);
        gap: 8px
    }

    .countdown div {
        border: 1px solid rgba(139,92,54,.18)
    }

    .palette span {
        width: 32px;
        height: 32px
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .gallery-item:last-child {
        grid-column: 1/-1
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .toolbar {
        grid-template-columns: 1fr
    }

}

/* CONSIDERACIONES ESPECIALES */
.special-notes {
    background: var(--paper);
    text-align: center
}

.special-notes h2 {
    color: var(--burgundy)
}

.special-note-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
    max-width: 980px;
    margin: 3rem auto 0
}

.special-note-card {
    position: relative;
    padding: 48px 42px;
    background: var(--ivory);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(82,47,29,.08);
    overflow: hidden
}

.special-note-card:before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(139,92,54,.12);
    border-radius: 50%;
    top: -80px;
    right: -70px
}

.special-note-card:after {
    content: "❧";
    position: absolute;
    left: -8px;
    bottom: -28px;
    font-family: serif;
    font-size: 7rem;
    color: rgba(139,92,54,.10);
    transform: rotate(-20deg)
}

.note-icon {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(120,11,40,.25);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    color: var(--burgundy);
    font-family: "Cormorant Garamond",serif;
    font-size: 1.8rem
}

.note-icon.envelope {
    color: var(--earth)
}

.note-kicker {
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .64rem;
    font-weight: 600;
    color: var(--earth);
    margin-bottom: 14px
}

.special-note-card h3 {
    font-size: 2.15rem;
    color: var(--burgundy);
    margin-bottom: 1rem
}

.special-note-card p {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto
}

.note-closing {
    color: var(--muted);
    font-family: "Cormorant Garamond",serif;
    font-size: 1.18rem;
    line-height: 1.55
}

.gift-card {
    border-top: 3px solid var(--earth)
}

.adults-card {
    border-top: 3px solid var(--burgundy)
}

@media(
max-width: 850px) {
    .special-note-grid {
        grid-template-columns: 1fr
    }

    .special-note-card {
        padding: 38px 26px
    }

}


/* PORTADA MÓVIL */
@media (max-width: 700px) {

    .hero {
        display: flex;
        align-items: flex-end;
        min-height: calc(100svh - 66px);
    }

    /* Fotografía */
    .hero-image {
        object-fit: cover;
        object-position: 28% center;
    }

    /* Degradado más suave */
    .hero-overlay {
    background: linear-gradient(
        to top,
        rgba(55, 39, 31, 0.82) 0%,
        rgba(75, 52, 42, 0.58) 25%,
        rgba(96, 72, 61, 0.25) 55%,
        rgba(96, 72, 61, 0.05) 80%,
        transparent 100%
    );
    }

    /* Contenedor de textos */
    .hero-content {
        width: calc(100% - 40px);
        margin: 0 20px 65px;
        padding-left: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content > * {
        width: 100%;
    }

    /* Texto superior */
    .hero .eyebrow {
        display: block;
        margin: 0 0 12px;
        font-size: 0.68rem;
        letter-spacing: 0.20em;
    }

    /* Nombres */
    .hero h1 {
        font-size: clamp(2.6rem, 10vw, 3.8rem);
        line-height: 1;
        margin: 0 0 22px;
        text-shadow: 0 2px 12px rgba(30, 20, 15, 0.65);
    }

    /* Fecha */
    .hero .hero-date {
        margin: 0 0 20px;
        font-size: 0.78rem;
        letter-spacing: 0.18em;
    }

    /* Mensaje */
    .hero .hero-copy {
        font-size: 1rem;
        line-height: 1.5;
        margin: 0 0 24px;
        max-width: 340px;
        text-shadow: 0 2px 8px rgba(30, 20, 15, 0.75);
    }

    /* Botón */
    .hero-content .btn {
        width: min(100%, 230px);
        min-width: 0;
        align-self: center;
        margin: 0 auto;
        padding: 14px 18px;
        text-align: center;
    }
}


/* ==========================================
   GALERÍA Y VESTIMENTA — SECCIONES SEPARADAS
   ========================================== */
.memories-section { background: var(--paper); text-align: center; }
.memories-container { max-width: 1200px; }
.memories-description { max-width: 650px; margin: 0 auto 36px; color: var(--muted); font-family: "Cormorant Garamond", serif; font-size: 1.55rem; }
.memories-section .gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.memories-section .gallery-item { aspect-ratio: 3 / 4; }
.memories-section .gallery-item:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.dresscode-section {
    background: var(--ivory);
    text-align: center;
}


.dresscode-container {
    max-width: 950px;
}

.dresscode-title {
    color: var(--earth);
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.dresscode-description {
    max-width: 680px;
    margin: 0 auto 38px;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--muted);
}

.guest-colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 25px 22px;
    margin: 35px auto;
}


.guest-color {
    width: 105px;
    text-align: center;
}


.guest-color span {
    display: block;
    width: 65px;
    height: 65px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(96, 72, 61, 0.15);
}


.guest-color p {
    margin: 12px 0 0;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}




.gallery-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 10px;

    width: fit-content;
    max-width: min(900px, calc(100vw - 32px));
    max-height: calc(85dvh - 20px);

    box-sizing: border-box;
    border: none;
    border-radius: 12px;
    background: #fffaf5;
    overflow: hidden;
}

.gallery-modal::backdrop {
    background: rgba(30, 22, 19, 0.85);
}

.gallery-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 90vw;
    max-height: 75vh;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #fffaf5;
}


.gallery-modal img {
    display: block;
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: calc(85dvh - 40px);

    object-fit: contain;
    border-radius: 8px;

    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}


.gallery-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #293b56;
    color: #ffffff;
    cursor: pointer;
}

.gallery-close svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}



@media (max-width: 900px) {
  .memories-section .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .memories-section .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .memories-section .gallery-item:last-child { grid-column: 1 / -1; 
       aspect-ratio: auto;
       height: auto;
}

.memories-section .gallery-item img { 
    width: 100%; 
    height: auto; 
    object-fit: contain;
    display: block; 
}

  .memories-description { font-size: 1.3rem; }
}

@media (max-width: 600px) {
     .memories-section .gallery-item:not(:last-child) {
        width: 100%;
        aspect-ratio: 3 / 4;
        height: auto;
        overflow: hidden;
    }

    .memories-section .gallery-item:not(:last-child) img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
 .memories-section .gallery-item:last-child {
        grid-column: 1 / -1;
        aspect-ratio: auto;
        height: auto;
        overflow: hidden;
    }

    .memories-section .gallery-item:last-child img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

.lightbox-close,
.gallery-close,
.modal-close {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.lightbox-close:focus:not(:focus-visible),
.gallery-close:focus:not(:focus-visible),
.modal-close:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Fotografías uniformes salvo la última en móviles */
.memories-section .gallery-item { display: block; aspect-ratio: 3 / 4; }
.memories-section .gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .memories-section .gallery-item:not(:last-child) { aspect-ratio: 3 / 4; height: auto; }
  .memories-section .gallery-item:not(:last-child) img { height: 100%; object-fit: cover; }
  .memories-section .gallery-item:last-child { grid-column: 1 / -1; aspect-ratio: auto; height: auto; }
  .memories-section .gallery-item:last-child img { width: 100%; height: auto; object-fit: contain; }
}
/* Diálogo: botón dentro del marco para evitar superposición y foco azul accidental */

.gallery-modal::backdrop {
    background: rgba(30, 22, 19, 0.85);
}

.gallery-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #fffaf5;
}

.gallery-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #293b56;
    color: #ffffff;
    cursor: pointer;
}

.gallery-close svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.gallery-close:focus:not(:focus-visible) { 
    outline: none; 
    box-shadow: none; 
}

.gallery-close:focus-visible { 
    outline: 3px solid var(--peach); 
    outline-offset: 2px; 
}


/* CÓMO LLEGAR AL SALÓN */

.venue-directions {
    margin-top: 25px;
    text-align: center;
}

.venue-directions #directionsBtn {
    background: var(--champagne);
    color: var(--ink);
    min-width: 175px;
}

.directions-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.directions-options[hidden] {
    display: none;
}

.directions-link {
    background: var(--paper);
    color: var(--earth);
    border: 1px solid var(--champagne);
    font-size: 0.78rem;
}

.directions-link:hover {
    background: var(--champagne);
}

@media (max-width: 600px) {
    .directions-options {
        gap: 10px;
    }

    .directions-link {
        padding: 12px 14px;
        font-size: 0.72rem;
    }
}
