.offerings-page {
    max-width: 1100px;
    margin: 0 auto;
}

.search-section,
.offerings-section {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.search-card,
.offerings-card {
    width: 100%;
    max-width: 980px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.lookup-header {
    text-align: center;
    margin-bottom: 1rem;
}

.lookup-header h2 {
    margin: 0;
    color: #111827;
}

.step-description,
.muted {
    margin: 0.35rem 0 0;
    color: #6b7280;
}

.lookup-form {
    display: grid;
    gap: 1rem;
}

.input-group {
    display: grid;
    gap: 0.45rem;
}

.input-group input,
.offering-group textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.8rem 0.95rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.input-group input:focus,
.offering-group textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.message-container {
    margin-bottom: 0.75rem;
    border-radius: 10px;
    padding: 0.9rem;
    font-weight: 600;
}

.message-container.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.message-container.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.offerings-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.offerings-header-row h3 {
    margin: 0;
}

.lock-badge {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
}

.cutoff-message {
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 0.85rem;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    font-size: 0.9rem;
}

.booking-summary,
.booking-selection-list {
    margin: 0.5rem 0 1rem;
}

.booking-selection-list {
    display: grid;
    gap: 0.65rem;
}

.booking-select-btn {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.75rem;
    background: #f9fafb;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.booking-select-btn:hover {
    border-color: #059669;
    background: #f0fdf4;
}

.booking-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem;
    font-size: 0.9rem;
}

.booking-summary-grid strong {
    color: #111827;
}

.offerings-form {
    display: grid;
    gap: 1.2rem;
}

.selection-hint {
    margin: -0.2rem 0 0.25rem;
    padding: 0.6rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 0.84rem;
}

.offering-group {
    display: grid;
    gap: 0.5rem;
    background: #fbfbfc;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #d1d5db;
    border-radius: 12px;
    padding: 0.8rem;
}

.offering-group > label {
    font-weight: 600;
    color: #111827;
}

.offer-note {
    font-size: 0.78rem;
    font-weight: 500;
    color: #6b7280;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.7rem;
}

.option-grid.two-col {
    grid-template-columns: repeat(2, minmax(160px, 220px));
    justify-content: start;
}

.option-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    gap: 0.45rem;
    align-content: start;
    justify-items: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.55rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: zoom-in;
}

.option-card img.option-image-contain {
    width: 100%;
    object-fit: contain;
}

.option-card span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #111827;
    width: 100%;
}

.option-card .option-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    appearance: none;
    border: 2px solid #374151;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    z-index: 2;
}

.option-card .option-check:checked {
    background: #111827;
    border-color: #111827;
}

.option-card .option-check:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.option-card.selected {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
    transform: translateY(-1px);
}

.option-card.option-none {
    align-content: center;
    justify-content: center;
    min-height: 90px;
    background: #f9fafb;
}

.option-card.option-static {
    cursor: default;
}

.option-card.option-static:hover {
    border-color: #d1d5db;
    box-shadow: none;
    transform: none;
}

.offerings-form.locked {
    opacity: 0.7;
}

.offerings-form.locked .option-card,
.offerings-form.locked textarea,
.offerings-form.locked button {
    pointer-events: none;
}

.public-option-card {
    cursor: default;
    transform: none !important;
}

.public-option-card .option-check {
    display: none;
}

.public-option-card.public-option-card.selected {
    border-color: #d1d5db;
    box-shadow: none;
}

.nav-link-book-now {
    background: #111827;
    color: #fff !important;
    border-radius: 999px;
    padding: 0.45rem 0.9rem !important;
}

.offerings-book-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.offerings-book-cta h3 {
    margin: 0 0 0.85rem;
    color: #111827;
    font-size: 1.1rem;
}

.image-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(15, 23, 42, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-preview-content {
    position: relative;
    max-width: min(900px, 96vw);
    max-height: 92vh;
    background: #fff;
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.image-preview-content img {
    width: 100%;
    max-height: calc(92vh - 2rem);
    object-fit: contain;
    display: block;
    border-radius: 10px;
    background: #f3f4f6;
}

.image-preview-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

@media (max-width: 720px) {
    .search-card,
    .offerings-card {
        padding: 1rem;
    }

    .option-grid,
    .option-grid.two-col {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .option-card img {
        width: 96px;
        height: 96px;
    }
}
