/* Explain: Styling for reusable UI components like cards, buttons, forms, and interest chips. */
.app-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: #a5f3fc;
}

.gradient-text {
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background-image: var(--gradient-primary);
}

.soft-bg {
    background-image: var(--gradient-soft);
}

.nav-link {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--surface-alt);
    color: var(--primary-color);
}

.mobile-link {
    padding: 0.7rem 0.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.2s ease;
}

.mobile-link:hover {
    background: var(--surface-color);
    color: var(--primary-color);
}

.footer-link {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.filter-chip {
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-color);
    border-radius: 999px;
    padding: 0.42rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-chip:hover {
    border-color: var(--turquoise-color);
    color: var(--primary-color);
}

.filter-chip.is-active {
    background-image: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

.progress-track {
    height: 8px;
    border-radius: 999px;
    background: var(--surface-alt);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background-image: var(--gradient-primary);
    transition: width 0.6s ease;
}

.map-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    background:
        radial-gradient(circle at 28% 18%, rgba(6, 182, 212, 0.16), transparent 55%),
        radial-gradient(circle at 72% 78%, rgba(37, 99, 235, 0.14), transparent 55%),
        #f0f9ff;
}

.map-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(8, 145, 178, 0.22) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.6;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.22rem;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.map-marker .pin {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid var(--turquoise-color);
    color: var(--primary-color);
    box-shadow: 0 8px 18px -8px rgba(8, 145, 178, 0.85);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.map-marker:hover .pin,
.map-marker.is-active .pin {
    transform: scale(1.18);
    background-image: var(--gradient-primary);
    color: #ffffff;
    border-color: #ffffff;
}

.map-marker:focus-visible .pin {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.map-marker-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--text-color);
    box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.6);
}

.map-marker-count {
    color: var(--primary-color);
}

.map-marker.is-active .map-marker-label {
    background-image: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
}

.map-marker.is-active .map-marker-count {
    color: #ffffff;
}

.region-label {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(8, 145, 178, 0.65);
    letter-spacing: 0.05em;
    pointer-events: none;
}

.vtype-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.retype-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.cotype-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.evtype-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.arttype-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.hotel-dest-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.travel-type-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.flight-area-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.store-type-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.drink-type-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.dgtype-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.fashion-type-card.is-active {
    border-color: var(--turquoise-color);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.atype-card.is-active {
    border-color: var(--turquoise-color);
    box-shadow: var(--shadow-soft);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item .faq-chevron {
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item[open] summary span {
    color: var(--primary-color);
}

.faq-item:hover {
    transform: none;
}

.menu-details summary {
    list-style: none;
    cursor: pointer;
}

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

.menu-details .menu-chevron {
    transition: transform 0.25s ease;
}

.menu-details[open] .menu-chevron {
    transform: rotate(180deg);
}

.menu-details[open] summary span {
    color: var(--primary-color);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background-image: var(--gradient-primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.45;
    white-space: nowrap;
    box-shadow: 0 8px 18px -12px rgba(8, 145, 178, 0.95);
}

.verified-badge i {
    font-size: 0.68rem;
}

.verified-badge-inline {
    padding: 0.1rem 0.5rem;
    font-size: 0.66rem;
}

.verified-badge-lg {
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn i {
    font-size: 0.95rem;
}

.share-btn:hover {
    border-color: var(--turquoise-color);
    color: var(--primary-color);
}

.share-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.share-btn-whatsapp {
    border-color: var(--accent-color);
    background: var(--surface-color);
    color: var(--primary-color);
}

.share-btn-whatsapp:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #ffffff;
}

.share-btn-facebook:hover {
    border-color: #1877f2;
    background: #1877f2;
    color: #ffffff;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.share-row-label {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-muted);
}

.share-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-icon-btn:hover {
    border-color: var(--turquoise-color);
    color: var(--primary-color);
}

.share-icon-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.share-icon-whatsapp:hover {
    border-color: #25d366;
    background: #25d366;
    color: #ffffff;
}

.share-icon-facebook:hover {
    border-color: #1877f2;
    background: #1877f2;
    color: #ffffff;
}

.share-icon-x:hover {
    border-color: var(--text-color);
    background: var(--text-color);
    color: #ffffff;
}

.share-icon-telegram:hover {
    border-color: #229ed9;
    background: #229ed9;
    color: #ffffff;
}

.share-icon-instagram:hover {
    border-color: #dc2743;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.share-icon-tiktok:hover {
    border-color: #010101;
    background: #010101;
    color: #ffffff;
}

.share-btn-instagram:hover {
    border-color: #dc2743;
    background: #dc2743;
    color: #ffffff;
}

.share-btn-tiktok:hover {
    border-color: #010101;
    background: #010101;
    color: #ffffff;
}

.share-icon-linkedin:hover {
    border-color: #0a66c2;
    background: #0a66c2;
    color: #ffffff;
}

.share-icon-mail:hover,
.share-icon-copy:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}

.photo-gallery [data-gallery-main] {
    transition: opacity 0.2s ease;
}

.gallery-loader {
    display: none;
}

[data-gallery].is-loading .gallery-loader {
    display: grid;
}

[data-gallery].is-loading [data-gallery-main] {
    opacity: 0.4;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.gallery-nav-sm {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.85rem;
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.gallery-nav:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.gallery-nav-prev {
    inset-inline-end: 0.75rem;
}

.gallery-nav-next {
    inset-inline-start: 0.75rem;
}

.gallery-thumb {
    flex: 0 0 auto;
    padding: 0;
    line-height: 0;
    border: 2px solid transparent;
    border-radius: 0.9rem;
    overflow: hidden;
    background: var(--surface-alt);
    transition: border-color 0.2s ease;
}

.gallery-thumb.is-active {
    border-color: var(--primary-color);
}

.gallery-thumb img {
    display: block;
}

.btn-call {
    background-image: var(--gradient-primary);
    border: 1px solid transparent;
    color: #ffffff;
}

.btn-call:hover {
    filter: brightness(1.06);
    color: #ffffff;
}

.btn-whatsapp {
    background: #25d366;
    border: 1px solid #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1ebe5b;
    border-color: #1ebe5b;
    color: #ffffff;
}

.btn-call:focus-visible,
.btn-whatsapp:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.review-star {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.review-star:hover,
.review-star.is-on {
    color: #fbbf24;
}

.review-star:active {
    transform: scale(0.92);
}

.review-star:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 999px;
}

.countdown-unit {
    display: grid;
    place-items: center;
    min-width: 3.4rem;
    padding: 0.45rem 0.5rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.countdown-unit span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

.countdown-unit small {
    margin-top: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
}

[data-place-map] .map-marker.is-filtered-out {
    display: none;
}

[data-place-map] .map-marker .map-marker-label {
    max-width: 9.5rem;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

[data-place-map] .map-marker:hover .map-marker-label,
[data-place-map] .map-marker:focus-visible .map-marker-label,
[data-place-map] .map-marker.is-active .map-marker-label {
    opacity: 1;
}

[data-place-map] .map-marker-label .place-pin-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.place-map-legend {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.6;
    color: var(--primary-color);
    box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.45);
}

.place-map-popup {
    position: absolute;
    inset-inline: 0.75rem;
    bottom: 0.75rem;
    z-index: 60;
    display: none;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.place-map-popup.is-open {
    display: block;
}

@media (min-width: 640px) {
    .place-map-popup {
        inset-inline-start: auto;
        inset-inline-end: 1rem;
        width: 20rem;
    }
}

.place-map-popup .map-popup-row.is-off,
.place-map-popup .map-popup-action.is-off {
    display: none;
}

.place-map-empty {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(240, 249, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

.place-map-empty.is-off {
    display: none;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.qty-step-btn {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    transition: all 0.2s ease;
}

.qty-step-btn:hover {
    background-image: var(--gradient-primary);
    color: #ffffff;
}

.qty-step-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.qty-input {
    width: 3.25rem;
    border: 0;
    background: transparent;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-color);
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-quick.is-active {
    background-image: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

.interest-check {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.interest-check > span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.interest-check:hover > span {
    border-color: var(--turquoise-color);
    color: var(--primary-color);
}

.interest-check > input:checked + span {
    background-image: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 18px -12px rgba(8, 145, 178, 0.95);
}

.interest-check > input:checked + span i {
    color: #ffffff;
}

.interest-check > input:focus-visible + span {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.interest-check-sm > span {
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
}