/* ===== SINGLE HOSPEDAGEM - Design System: Stitch LocalGuide EXATO ===== */

:root {
    /* Typography */
    --ta-font-headline: 'Playfair Display', serif;
    --ta-font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --ta-max-width: 1280px;
    --ta-margin-desktop: 64px;
    --ta-margin-mobile: 16px;
    --ta-gutter: 24px;
    --ta-section-gap: 120px;
}

/* ===== MAIN LAYOUT ===== */
.lg-single {
    background: var(--ta-bg);
    color: var(--ta-on-surface);
    font-family: var(--ta-font-body);
    line-height: 1.6;
}

.lg-single-container {
    max-width: var(--ta-max-width);
    margin: 0 auto;
    padding: 0 var(--ta-margin-mobile);
    padding-top: 24px;
}

@media (min-width: 768px) {
    .lg-single-container {
        padding: 0 var(--ta-margin-desktop);
        padding-top: 24px;
    }
}

/* ===== HERO ===== */
.lg-hero {
    position: relative;
    width: 100%;
    height: 870px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
}

@media (max-width: 767px) {
    .lg-hero {
        height: auto;
        min-height: 100vh;
    }
}

.lg-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.lg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 2;
}

.lg-hero-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ta-primary-container) 0%, var(--ta-primary) 100%);
    z-index: 1;
}

.lg-hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: var(--ta-max-width);
    height: 100%;
    min-height: 500px;
    margin: 0 auto;
    padding: 24px var(--ta-margin-desktop);
    box-sizing: border-box;
    color: var(--ta-white);
}

.lg-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    flex-shrink: 0;
}

.lg-hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    flex-shrink: 0;
}

.lg-hero-title {
    font-family: var(--ta-font-headline);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ta-white);
    margin: 0 0 24px;
    text-align: left !important;
    align-self: flex-start;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ta-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ta-white);
}

.lg-hero-badge i {
    font-size: 0.75rem;
}

.lg-hero-actions {
    display: flex;
    gap: 8px;
}

.lg-hero-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50%;
    color: var(--ta-white);
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.lg-hero-icon-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.lg-hero-icon-btn i {
    font-size: 1rem;
}

.lg-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.lg-hero-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lg-hero-rating i {
    font-size: 1rem;
    color: #FFD700;
}

.lg-hero-rating i.bi-star {
    color: rgba(255, 255, 255, 0.5);
}

.lg-hero-rating-value {
    font-weight: 700;
    color: var(--ta-white);
    margin-left: 4px;
}

.lg-hero-rating-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.lg-hero-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.lg-hero-thumbs-inner {
    display: flex;
    gap: 8px;
}

.lg-hero-thumbs-inner::-webkit-scrollbar {
    height: 4px;
}

.lg-hero-thumbs-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.lg-hero-thumbs-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.lg-hero-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color 0.2s;
}

.lg-hero-thumb:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.lg-hero-thumb.active {
    border-color: var(--ta-primary);
}

.lg-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lg-hero-thumb-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: var(--ta-white);
    gap: 2px;
}

.lg-hero-thumb-more i {
    font-size: 1.25rem;
}

.lg-hero-thumb-more span {
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .lg-hero-content {
        padding: 16px 20px;
    }
}

.lg-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.lg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.lg-hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ta-primary-container) 0%, var(--ta-primary) 100%);
    z-index: 1;
}

.lg-hero-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.4);
}
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 24px 32px;
    color: var(--ta-white);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .lg-hero-content {
        padding: 16px 20px;
    }
}

.lg-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.lg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ta-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ta-white);
}

.lg-hero-badge i {
    font-size: 14px;
}

.lg-hero-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.lg-hero-icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: var(--ta-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lg-hero-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lg-hero-icon-btn i {
    font-size: 20px;
}

.lg-hero-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.lg-hero-title {
    font-family: var(--ta-font-headline);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-align: left !important;
    align-self: flex-start;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: var(--ta-white);
}

@media (min-width: 768px) {
    .lg-hero-title {
        font-size: 3.75rem;
    }
}

.lg-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.lg-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lg-hero-rating i {
    font-size: 20px;
    color: var(--ta-star-color);
}

.lg-hero-rating i.bi-star {
    color: rgba(254, 214, 91, 0.4);
}

.lg-hero-rating-value {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ta-white);
}

.lg-hero-rating-count {
    font-size: 0.8125rem;
    opacity: 0.8;
    color: var(--ta-white);
}

.lg-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--ta-primary-container);
    color: var(--ta-on-primary);
    border-radius: 0.75rem;
    font-family: var(--ta-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.lg-hero-cta:hover {
    background: #fff;
    color: #1E73BE;
}

.lg-hero-cta:active {
    transform: scale(0.98);
}

.lg-whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    overflow: visible;
    vertical-align: middle;
}

/* ===== HERO THUMBS ===== */
.lg-hero-thumbs {
    margin-top: 16px;
    width: 100%;
}

.lg-hero-thumbs-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.lg-hero-thumbs-inner::-webkit-scrollbar {
    display: none;
}

.lg-hero-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    padding: 0;
    background: none;
    opacity: 0.7;
}

.lg-hero-thumb:hover {
    opacity: 0.9;
}

.lg-hero-thumb.active {
    border-color: var(--ta-white);
    opacity: 1;
}

.lg-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lg-hero-thumb-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ta-on-surface);
    font-size: 12px;
    font-weight: 600;
}

.lg-hero-thumb-more i {
    font-size: 16px;
}

/* ===== SHARE MODAL ===== */
.lg-share-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lg-share-modal.is-open {
    display: flex;
}

.lg-share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.lg-share-modal-content {
    position: relative;
    background: var(--ta-white);
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.lg-share-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--ta-on-surface-variant);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lg-share-modal-close:hover {
    background: var(--ta-surface-container-high);
}

.lg-share-modal-title {
    font-family: var(--ta-font-headline);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ta-on-surface);
    margin: 0 0 20px;
}

.lg-share-url-box {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.lg-share-url-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--ta-outline);
    border-radius: 8px;
    font-family: var(--ta-font-body);
    font-size: 1rem;
    color: var(--ta-on-surface);
    background: var(--ta-bg);
    outline: none;
}

.lg-share-url-input:focus {
    border-color: var(--ta-primary);
}

.lg-share-copy-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--ta-primary);
    color: var(--ta-on-primary);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-share-copy-btn:hover {
    background: #fff;
    color: #1E73BE;
}

.lg-share-copy-btn i {
    font-size: 20px;
}

.lg-share-copy-feedback {
    font-size: 0.875rem;
    color: var(--ta-tertiary);
    margin: 0 0 20px;
    opacity: 0;
    transition: opacity 0.2s;
}

.lg-share-copy-feedback.is-visible {
    opacity: 1;
}

.lg-share-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.lg-share-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ta-surface-container-high);
    color: var(--ta-on-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.lg-share-social-btn:hover {
    background: #fff;
    color: #1E73BE;
}

.lg-share-social-btn i[class^="bi-"] {
    font-size: 20px;
}

/* ===== SINGLE CONTENT GRID ===== */
.lg-single-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: var(--ta-max-width);
    margin: 0 auto;
    padding-bottom: 48px;
}

@media (min-width: 1024px) {
    .lg-single-content {
        grid-template-columns: 2fr 1fr;
        gap: 48px;
    }
}

.lg-single-main {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.lg-single-section-title {
    font-family: var(--ta-font-headline);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--ta-on-surface);
    margin: 0 0 24px;
    line-height: 1.3;
}

.lg-single-excerpt {
    font-family: var(--ta-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ta-on-surface-variant);
    margin: 0;
}

.lg-single-description {
    font-family: var(--ta-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ta-on-surface-variant);
}

.lg-single-description p {
    margin: 0 0 24px;
}

.lg-single-description p:last-child {
    margin-bottom: 0;
}

/* ===== AMENITIES ===== */
.lg-amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .lg-amenities {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lg-amenity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--ta-surface-container);
    border-radius: 12px;
}

.lg-amenity i {
    font-size: 32px;
    color: var(--ta-primary);
}

.lg-amenity-label {
    font-family: var(--ta-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ta-on-surface);
}

/* ===== MAP ===== */
.lg-map {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lg-map iframe {
    width: 100%;
    height: 384px;
    border: none;
    border-radius: 16px;
}

.lg-map-placeholder {
    position: relative;
    height: 384px;
    border-radius: 16px;
    overflow: hidden;
}

.lg-map-placeholder-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ta-surface-container-high) 0%, var(--ta-outline) 100%);
}

.lg-map-placeholder-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ta-on-surface-variant);
}

.lg-map-placeholder-card i {
    font-size: 48px;
}

.lg-map-placeholder-card p {
    margin: 0;
    font-family: var(--ta-font-body);
    font-size: 0.875rem;
}

.lg-map-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--ta-white);
    border: 1px solid var(--ta-outline-variant);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.lg-map-card i {
    font-size: 40px;
    color: var(--ta-primary);
    flex-shrink: 0;
}

.lg-map-card-address {
    font-family: var(--ta-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ta-on-surface);
    margin: 0;
}

.lg-map-card-city {
    font-family: var(--ta-font-body);
    font-size: 14px;
    color: var(--ta-on-surface-variant);
    margin: 4px 0 0;
}

/* ===== BOOKING SIDEBAR ===== */
.lg-booking {
    order: -1;
}

@media (min-width: 1024px) {
    .lg-booking {
        order: 1;
    }
}

.lg-booking-card {
    background: var(--ta-surface-container-lowest);
    border: 1px solid var(--ta-surface-container);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 112px;
}

.lg-booking-card-title {
    font-family: var(--ta-font-headline);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ta-on-surface);
    margin: 0 0 20px;
    text-align: center;
}

.lg-booking-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.lg-booking-price-amount {
    font-family: var(--ta-font-headline);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ta-primary);
}

.lg-booking-price-period {
    font-size: 0.875rem;
    color: var(--ta-on-surface-variant);
}

.lg-booking-best {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ta-tertiary);
    font-size: 0.75rem;
    font-weight: 600;
}

.lg-booking-best i {
    font-size: 14px;
}

.lg-booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lg-booking-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lg-booking-row .lg-booking-field {
    min-width: 0;
}

.lg-booking-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lg-booking-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ta-on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.lg-booking-field label .lg-booking-hint {
    font-size: 9px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ta-outline);
    white-space: nowrap;
}

.lg-booking-input-wrap {
    position: relative;
}

.lg-booking-input {
    width: 100%;
    padding: 12px;
    padding-right: 40px;
    background: var(--ta-bg);
    border: 1px solid var(--ta-outline-variant);
    border-radius: 8px;
    font-family: var(--ta-font-body);
    font-size: 1rem;
    color: var(--ta-on-surface);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.lg-booking-input:focus {
    border-color: var(--ta-primary);
    box-shadow: 0 0 0 3px rgba(0, 95, 110, 0.1);
}

.lg-booking-input::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lg-booking-input[type="number"] {
    -moz-appearance: textfield;
}

.lg-booking-input[type="number"]::-webkit-inner-spin-button,
.lg-booking-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.flatpickr-calendar {
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border: 1px solid var(--ta-outline-variant) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--ta-primary) !important;
    border-color: var(--ta-primary) !important;
}

.flatpickr-day:hover {
    background: var(--ta-primary-container) !important;
    border-color: var(--ta-primary-container) !important;
}

.lg-booking-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--ta-outline);
    pointer-events: none;
}

.lg-booking-actions {
    margin-top: 16px;
}

.lg-booking-actions {
    margin-top: 8px;
}

.lg-booking-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--ta-primary);
    color: var(--ta-on-primary);
    border-radius: 0.75rem;
    font-family: var(--ta-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lg-booking-submit:hover {
    background: #fff;
    color: #1E73BE;
}

.lg-booking-submit:active {
    transform: scale(0.98);
}

.lg-booking-submit i {
    font-size: 22px;
}

/* ===== RELATED SECTION ===== */
.lg-related {
    padding: 48px 0;
    border-top: 1px solid var(--ta-outline-variant);
}

.lg-related-header {
    margin-bottom: 24px;
}

.lg-related-title {
    font-family: var(--ta-font-headline);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ta-on-surface);
    margin: 0;
}

.lg-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ta-gutter);
}

@media (min-width: 768px) {
    .lg-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lg-card {
    background: var(--ta-surface-container-lowest);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.lg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.lg-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.lg-card-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.lg-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }

.lg-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ta-primary-container) 0%, var(--ta-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-card-image-placeholder::after {
    content: '';
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.4);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></svg>') no-repeat center;
}

.lg-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--ta-tertiary);
    color: var(--ta-on-tertiary);
    padding: 0.25rem 0.75rem;
    font-family: var(--ta-font-body);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lg-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lg-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.lg-card-title {
    font-family: var(--ta-font-headline);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ta-on-surface);
    margin: 0;
}

.lg-card-title a {
    text-decoration: none;
    color: inherit;
}

.lg-card-rating {
    display: flex;
    align-items: center;
    color: var(--ta-secondary);
    flex-shrink: 0;
}

.lg-card-rating i {
    font-size: 18px;
}

.lg-card-rating-value {
    font-family: var(--ta-font-body);
    font-weight: 600;
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

.lg-card-excerpt {
    font-family: var(--ta-font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ta-on-surface-variant);
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.lg-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(190, 200, 203, 0.3);
}

.lg-card-price {
    color: var(--ta-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.lg-card-price small {
    color: var(--ta-on-surface-variant);
    font-weight: 400;
    font-size: 0.9375rem;
}

/* ===== GALLERY MODAL ===== */
.lg-gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
}

.lg-gallery-modal.is-open {
    display: flex;
}

.lg-gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    flex-shrink: 0;
}

.lg-gallery-modal-counter {
    font-family: var(--ta-font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.lg-gallery-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ta-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lg-gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lg-gallery-modal-close i {
    font-size: 24px;
}

.lg-gallery-modal-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    overflow: hidden;
    position: relative;
}

.lg-gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ta-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lg-gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lg-gallery-modal-nav i {
    font-size: 28px;
}

.lg-gallery-modal-prev {
    left: 16px;
}

.lg-gallery-modal-next {
    right: 16px;
}

.lg-gallery-modal-main {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-gallery-modal-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.lg-gallery-modal-thumbs {
    flex-shrink: 0;
    padding: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.lg-gallery-modal-thumbs::-webkit-scrollbar {
    display: none;
}

.lg-gallery-modal-thumbs-inner {
    display: flex;
    gap: 8px;
    justify-content: center;
    min-width: min-content;
}

.lg-gallery-modal-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: border-color 0.2s, opacity 0.2s;
    padding: 0;
    background: none;
}

.lg-gallery-modal-thumb:hover {
    opacity: 0.8;
}

.lg-gallery-modal-thumb.active {
    border-color: var(--ta-white);
    opacity: 1;
}

.lg-gallery-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .lg-hero-thumbs {
        display: none;
    }
}