.ag-reservation {
    --res-red: #e60000;
    --res-ink: #303234;
    --res-muted: #535353;
    --res-border: #e0e1df;
    --res-radius: 1.15rem;
    background: #f5f5f3;
    color: var(--res-ink);
    font: 1rem/1.55 system-ui, "Segoe UI", sans-serif;
}
.ag-reservation * { box-sizing: border-box; }
.ag-reservation [hidden] { display: none !important; }
.ag-reservation h1, .ag-reservation h2, .ag-reservation p { margin: 0; }
.ag-reservation section { padding: 0; }
.ag-reservation a:focus-visible, .ag-reservation button:focus-visible,
.ag-reservation input:focus-visible, .ag-reservation select:focus-visible, .ag-reservation textarea:focus-visible {
    outline: 2px solid var(--res-red); outline-offset: 3px;
}
.ag-res-shell { width: min(calc(100% - clamp(2rem, 8vw, 8rem)), 76rem); margin-inline: auto; }
.ag-res-hero { position: relative; isolation: isolate; color: #fff; background: #303234; border-radius: 0 0 var(--res-radius) var(--res-radius); overflow: hidden; }
.ag-res-hero img, .ag-res-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.ag-res-hero img { object-fit: cover; object-position: 50% 43%; z-index: -2; }
.ag-res-hero::after { content: ""; z-index: -1; background: linear-gradient(180deg, #25292dbf, transparent 35%), linear-gradient(90deg, #262b30e8, #2e353b80 56%, #323a4020); }
.ag-res-hero .ag-res-shell { padding-block: clamp(7rem, 10.5vw, 10rem) clamp(3.25rem, 6.8vw, 6rem); }
.ag-reservation .ag-res-eyebrow { font-size: .83rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; margin-bottom: .8rem; }
.ag-reservation .ag-res-hero h1, .ag-res-confirm-card h1 {
    color: inherit; font: 400 clamp(3.2rem, 7vw, 6.5rem)/.92 Georgia, serif; letter-spacing: -.073em;
}
.ag-reservation .ag-res-hero p:not(.ag-res-eyebrow) { color: #f2f2f2; margin: .9rem 0 1.15rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34rem; }
.ag-reservation .ag-res-button {
    display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .6rem 1rem;
    background: var(--res-red); color: white; border: 1px solid transparent; border-radius: .65rem;
    font: 700 .95rem/1.25 system-ui, sans-serif; text-align: center; cursor: pointer;
}
.ag-reservation .ag-res-button:hover { background: #c00000; color: white; }
.ag-reservation .ag-res-button:disabled { opacity: .7; cursor: wait; }
.ag-res-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: clamp(1rem, 3.5vw, 2.1rem); padding-block: 2.1rem 4.8rem; scroll-margin-top: 1.5rem; }
.ag-res-form { display: grid; gap: 1.1rem; min-width: 0; }
.ag-reservation .ag-res-card { padding: clamp(1rem, 2.3vw, 1.8rem); background: white; border: 1px solid var(--res-border); border-radius: var(--res-radius); box-shadow: 0 4px 16px #30323407; min-width: 0; }
.ag-reservation .ag-res-card h2 { font: 400 clamp(1.6rem, 2.5vw, 2.3rem)/1.12 Georgia, serif; letter-spacing: -.043em; color: var(--res-ink); margin-bottom: .5rem; }
.ag-reservation .ag-res-note { color: var(--res-muted); font-size: .94rem; line-height: 1.5; margin: .35rem 0 .85rem; }
.ag-reservation .ag-res-note a, .ag-res-confirm-card a { color: var(--res-ink); text-decoration: underline; text-underline-offset: .19em; }
.ag-reservation label { display: block; min-width: 0; color: var(--res-ink); margin: .65rem 0 0; font-size: .93rem; font-weight: 650; }
.ag-reservation label small { color: var(--res-muted); font-weight: 400; }
.ag-reservation input:not([type=hidden]), .ag-reservation select, .ag-reservation textarea {
    display: block; width: 100%; min-width: 0; min-height: 2.8rem; margin: .28rem 0 0;
    padding: .46rem .58rem; border: 1px solid #b4b7b6; border-radius: .55rem;
    font: 400 1rem/1.35 system-ui, sans-serif; color: var(--res-ink); background: #fff;
}
.ag-reservation select { appearance: auto; }
.ag-reservation textarea { resize: vertical; }
.ag-res-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .8rem; }
.ag-res-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ag-res-tour-row { margin: .85rem 0; border: 1px solid var(--res-border); border-radius: .75rem; background: #fafaf9; padding: .9rem; }
.ag-res-tour-head label { margin-top: 0; }
.ag-res-tour-select { display: flex; align-items: center; gap: .75rem; margin-top: .28rem; }
.ag-reservation .ag-res-tour-select select { flex: 1; width: auto; margin: 0; }
.ag-reservation .ag-res-link { border: 0; padding: .35rem 0; background: transparent; color: #a00000; text-decoration: underline; text-underline-offset: .2em; font: 650 .94rem/1.35 system-ui, sans-serif; cursor: pointer; }
.ag-reservation .ag-res-clear-tour { flex: none; min-height: 2.8rem; font-size: .8rem; white-space: nowrap; }
.ag-reservation .ag-res-link:disabled { opacity: .5; cursor: default; }
.ag-reservation .ag-res-line-amount { font-weight: 710; margin-top: .45rem; }
.ag-res-line-amount:empty { display: none; }
.ag-res-summary { position: sticky; top: 1.5rem; align-self: start; }
.ag-res-summary-list { list-style: none; margin: .6rem 0; padding: 0; }
.ag-res-summary-list li { display: flex; gap: .55rem; justify-content: space-between; padding: .63rem 0; border-bottom: 1px solid var(--res-border); line-height: 1.3; }
.ag-res-summary-list li small { display: block; color: var(--res-muted); margin-top: .22rem; }
.ag-res-summary-list b { white-space: nowrap; }
.ag-reservation .ag-res-total { display: flex; justify-content: space-between; gap: .5rem; margin: .85rem 0; font-weight: 770; }
.ag-res-summary button { width: 100%; }
.ag-reservation .ag-res-summary [data-direct-checkout]:not([hidden]) + [data-send-request] { margin-top: .55rem; background: #333638; }
.ag-reservation .ag-res-summary [data-direct-checkout]:not([hidden]) + [data-send-request]:hover { background: #202223; }
.ag-reservation .ag-res-error { padding: .75rem; border-left: 3px solid var(--res-red); color: #850000; background: #fff4f4; border-radius: .5rem; margin-bottom: .65rem; }
.ag-res-confirm { min-height: 62vh; display: grid; place-items: center; padding-block: 8rem 3rem; background: linear-gradient(#303234 0 5.35rem, #f5f5f3 5.35rem); }
.ag-res-confirm-card { width: min(calc(100% - 2rem), 44rem); padding: clamp(1.25rem, 4vw, 3rem); background: #fff; border: 1px solid var(--res-border); border-radius: var(--res-radius); }
.ag-res-confirm-card h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); }
.ag-res-confirm-card h1 + p, .ag-res-confirm-card p + p, .ag-res-confirm-card p:last-child { margin-top: 1rem; }
.ag-res-confirm-card code { display: block; overflow-wrap: anywhere; margin-top: .5rem; color: var(--res-ink); }
@media (max-width: 900px) {
    .ag-res-layout { grid-template-columns: 1fr; scroll-margin-top: 1rem; }
    .ag-res-summary { position: static; }
}
@media (max-width: 470px) {
    .ag-res-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
