/* Shared promo badge (mirrors hot-deals.css subset) */
.promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: #ff6b35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.promo-badge--hot {
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
}

.promo-badge--warm {
    background: #ff6b35;
}

.promo-badge--soft {
    background: #f4a261;
}

.promo-badge--card {
    position: static;
}

/* Object page — promotion visibility P2 */

.obj-promo-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 4;
    max-width: calc(100% - 24px);
    pointer-events: none;
}

.obj-promo-badge__pill {
    position: static;
    display: inline-flex;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: auto;
}

.obj-promo-badge__trust {
    margin: 6px 0 0;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.35;
    max-width: 260px;
}

.mgallerybox-stage,
.objectGallery-main {
    position: relative;
}

.obj-promo-cta {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    border: 1px solid rgba(255, 107, 53, 0.25);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.08);
}

.obj-promo-cta__lines {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.obj-promo-cta__lines li {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

.obj-promo-cta__lines li:last-child {
    margin-bottom: 0;
}

.obj-promo-cta__btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

/* Price discount rows */
.objectPricePromo {
    margin: 0;
    padding: 0;
    list-style: none;
}

.objectPricePromo li {
    margin-bottom: 8px;
}

.objectPricePromo .price-info--anchor {
    text-decoration: line-through;
    opacity: 0.65;
    font-weight: 400;
    font-size: 0.92em;
}

.objectPricePromo .price-info--deal {
    color: #e63946;
}

.objectPricePromo .price-discount-chip {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e63946;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    vertical-align: middle;
}

/* Availability calendar */
.obj-promo-cal {
    margin: 20px 0 8px;
    padding: 16px;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #eee;
}

.obj-promo-cal--accordion {
    padding: 0;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.obj-promo-cal__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
    user-select: none;
    color: #2c3740;
    border-bottom: 1px solid transparent;
}

.obj-promo-cal--accordion[open] .obj-promo-cal__summary {
    border-bottom-color: #eef0f3;
}

.obj-promo-cal__summary::-webkit-details-marker {
    display: none;
}

.obj-promo-cal__summary::marker {
    content: '';
}

.obj-promo-cal__summary::after {
    content: '▼';
    flex-shrink: 0;
    font-size: 10px;
    color: #2563eb;
    transition: transform 0.2s ease;
}

.obj-promo-cal--accordion[open] .obj-promo-cal__summary::after {
    transform: rotate(180deg);
}

.obj-promo-cal__body {
    padding: 12px 14px 16px;
    background: #fafafa;
}

.obj-promo-cal__title {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.obj-promo-cal__hint {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: #666;
    font-style: italic;
}

.obj-promo-cal__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    font-size: 0.78rem;
    color: #555;
}

.obj-promo-cal__swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: -2px;
}

.obj-promo-cal__swatch--promo {
    background: #d4edda;
    border: 2px solid #28a745;
}

.obj-promo-cal__swatch--free {
    background: #e9ecef;
    border: 1px solid #ced4da;
}

.obj-promo-cal__swatch--busy {
    background: #dee2e6;
    border: 1px solid #adb5bd;
}

.obj-promo-cal__nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.obj-promo-cal__arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.obj-promo-cal__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.obj-promo-cal__months {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .obj-promo-cal__months {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.obj-promo-cal__month-label {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.obj-promo-cal__dow {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-bottom: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #888;
    text-align: center;
}

.obj-promo-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
}

.obj-promo-cal__cell {
    aspect-ratio: 1;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e9ecef;
    color: #444;
}

.obj-promo-cal__cell--pad {
    visibility: hidden;
    border: none;
    background: transparent;
}

.obj-promo-cal__cell--past {
    opacity: 0.35;
    color: #aaa;
}

.obj-promo-cal__cell--unavailable {
    background: #dee2e6;
    color: #6c757d;
    border-color: #ced4da;
}

.obj-promo-cal__cell--available {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.obj-promo-cal__cell--promo {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

@media (max-width: 575px) {
    .obj-promo-cal {
        padding: 12px 10px;
        margin-left: -4px;
        margin-right: -4px;
    }

    .obj-promo-cal__cell {
        min-height: 28px;
        font-size: 0.68rem;
        border-radius: 4px;
    }

    .obj-promo-cal__legend {
        font-size: 0.72rem;
    }

    .obj-promo-badge {
        left: 8px;
        bottom: 8px;
    }

    .obj-promo-badge__pill {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
}
