@charset "utf-8";

/* Generic modal base */

body.taa-modal-open {
    overflow: hidden;
}

.taa-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.taa-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.taa-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 8, 2, 0.72);
}

.taa-modal-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.taa-modal-sm {
    max-width: 460px;
}

.taa-modal-md {
    max-width: 560px;
}

.taa-modal-lg {
    max-width: 780px;
}

.taa-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 5;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #9e9b90;
    cursor: pointer;
    transition: color 0.3s ease;
}

.taa-modal-close:hover {
    color: #5e1406;
}

/* Preview modal */

.preview-modal-card {
    padding: 0;
    overflow: hidden;
}

.preview-media {
    position: relative;
    height: 280px;
    background-color: #5e1406;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.preview-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background-color: rgba(94, 20, 6, 0.9);
    color: #ffd699;
    font-family: 'Quattrocento', serif;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    padding: 4px 14px;
}

.preview-body {
    padding: 26px 30px 28px;
}

.preview-body h3,
.preview-body h3 * {
    font-family: 'Quattrocento', serif;
    font-size: 23px;
    line-height: 28px;
    text-transform: uppercase;
    text-align: left;
    color: #5e1406;
    margin-bottom: 6px;
}

.preview-meta {
    font-family: 'Quattrocento', serif;
    font-size: 12px;
    line-height: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a88d62;
    margin-bottom: 14px;
}

.preview-description {
    font-size: 15px;
    line-height: 24px;
    color: #404040;
    margin-bottom: 20px;
}

.preview-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 22px;
    margin: 0 0 22px;
    padding: 16px 18px;
    background-color: #f4f0eb;
    border-radius: 6px;
}

.preview-specs li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    line-height: 18px;
}

.preview-specs .spec-label {
    color: #9e9b90;
}

.preview-specs .spec-value {
    color: #5e1406;
    font-weight: 400;
    text-align: right;
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 40px;
    border: solid 1px #a88d62;
    color: #a88d62;
    font-family: 'Quattrocento', serif;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.preview-link:hover {
    background-color: #a88d62;
    color: #fff;
}

/* Quick view trigger (inside listing cards) */

.preview-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0 0 10px;
    padding: 0 22px;
    height: 40px;
    border-radius: 40px;
    border: solid 1px #a88d62;
    background-color: transparent;
    color: #a88d62;
    font-family: 'Quattrocento', serif;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-trigger:hover {
    background-color: #a88d62;
    color: #fff;
}

@media (max-width: 600px) {
    .preview-media {
        height: 200px;
    }

    .preview-body {
        padding: 20px 20px 22px;
    }
}
