.contact-details {
    display: grid;
    gap: .2rem;
}

.contact-details a {
    color: inherit;
}

.consent-group {
    display: grid;
    gap: .85rem;
    margin: 1rem 0;
}

.reservation-form .consent-row {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.45;
}

.reservation-form .consent-row input {
    width: auto;
    flex: 0 0 auto;
    margin: .25rem 0 0;
}

.consent-row span {
    color: var(--muted);
    font-size: .85rem;
}

.consent-row a {
    font-weight: 700;
}

.admin-user .account-password-link {
    display: inline-block;
    margin-top: .8rem;
}

.product-add-button {
    width: 100%;
    margin-top: 1.2rem;
    background: #f6eddc;
    color: #392313;
    border: 1px solid #c9b69a;
}

.product-add-button:hover,
.product-add-button:focus-visible {
    background: #f0dbaf;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reservation-cart {
    position: fixed;
    z-index: 20;
    top: 4.75rem;
    right: .9rem;
    width: min(21rem, calc(100vw - 1.8rem));
    overflow: hidden;
    border: 1px solid #c9b69a;
    border-radius: .75rem;
    background: #fffaf0;
    box-shadow: 0 12px 30px rgba(65, 39, 15, .2);
    font-family: system-ui, sans-serif;
}

.reservation-cart summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 750;
}

.reservation-cart summary::-webkit-details-marker {
    display: none;
}

.reservation-cart summary::after {
    content: '⌄';
    margin-left: .2rem;
    font-size: 1.1rem;
}

.reservation-cart[open] summary::after {
    content: '⌃';
}

.cart-summary {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #6b5846;
    font-size: .8rem;
}

.cart-summary strong {
    color: #392313;
}

.cart-body {
    border-top: 1px solid #e5d6bf;
    padding: .85rem 1rem 1rem;
}

.cart-empty,
.cart-note {
    margin: 0;
    color: #6b5846;
    font-size: .8rem;
}

.cart-items {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-items:not(:empty) + .cart-review-link {
    margin-top: 1rem;
}

.cart-items li {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    font-size: .84rem;
}

.cart-items strong,
.cart-items small {
    display: block;
}

.cart-items small {
    margin-top: .1rem;
    color: #6b5846;
    font-size: .76rem;
}

.cart-items li > span:last-child {
    flex: 0 0 auto;
    font-weight: 750;
}

.cart-review-link {
    display: block;
    width: 100%;
    text-align: center;
}

.cart-note {
    margin-top: .65rem;
}

.product-add-button.is-added {
    background: #dcead9;
    border-color: #8bad83;
}

/* Landscape product photos retain their full-card framing. Portrait photos
   instead show in full so the jar is not cropped or made to look zoomed in. */
.product-image-portrait {
    object-fit: contain;
    background: #f5d576;
}

.upload-photo-preview {
    margin: 0 0 1rem;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: .6rem;
    background: #fff;
}

.upload-photo-preview img {
    display: block;
    width: 100%;
    max-height: 20rem;
    object-fit: contain;
    border-radius: .35rem;
    background: #f6eddc;
}

.upload-photo-preview figcaption {
    margin-top: .6rem;
    color: var(--muted);
    font: .8rem/1.4 system-ui, sans-serif;
}

@media (max-width: 700px) {
    .reservation-cart {
        top: 4.25rem;
        right: .5rem;
        width: min(19rem, calc(100vw - 1rem));
    }
}
