﻿

/* Premium Discovery Card Styles - Editorial Clean Standard */
.package-store-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.package-store-card:hover {
    transform: translateY(-12px);
}

.package-store-card img {
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-store-card:hover img {
    transform: scale(1.08);
}

/* Shimmer Skeletal Loading - 16:9 Landscape */
@keyframes editorialShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-item {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: editorialShimmer 1.5s infinite linear;
}

/* --- Editorial Silk Stamp --- */
.silk-stamp {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 0.75rem !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(8px);
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .silk-stamp {
        padding: 4px 12px !important;
        letter-spacing: 0.25em !important;
        font-size: 9px !important;
    }
}

/* Promotional Tag Utilities (Synced with packages.css) */
.tag-luxury-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.3);
}

.tag-signature-yellow {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.3);
}

.tag-premium-black {
    background: linear-gradient(135deg, #1e293b 0%, #000000 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.3);
}

.tag-info-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.3);
}

.tag-fresh-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.3);
}

.silk-stamp:hover {
    transform: scale(1.05) translateY(-1px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- Inline Wishlist Interaction --- */
.love-button-inline {
    background: transparent;
    border: none;
    padding: 4px;
    color: #9ca3af;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.love-button-inline:hover {
    color: #ef4444;
    transform: scale(1.2) translateY(-1px);
}

.love-button-inline.active {
    color: #ef4444;
}

.love-button-inline.active:hover {
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

/* --- Interactive Map Stylings --- */
#malaysia-map-svg {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.05));
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#features path {
    fill: #d1d5db;
    stroke: #ffffff;
    stroke-width: 1.2;
    stroke-linejoin: round;
    cursor: pointer;
    transform-origin: center;
}

#features path:hover {
    fill: #fee2e2;
    stroke-width: 2;
}

#features path.active {
    fill: #ef4444;
    stroke-width: 2;
    filter: drop-shadow(0 15px 30px rgba(239, 68, 68, 0.4));
}

#label_points, #points {
    pointer-events: none;
    fill: #ffffff;
    opacity: 0.8;
}

/* State Selection Buttons (Editorial Pills) */
.state-btn {
    padding: 0.75rem 1.75rem;
    background: white;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.state-btn:hover {
    background: #f8fafc;
    color: #ef4444;
    border-color: #fee2e2;
    transform: translateY(-2px);
}

.state-btn.active {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    box-shadow: 0 15px 30px -10px rgba(239, 68, 68, 0.4);
}

/* Map Tooltip - Surgical Glassmorphism */
#map-tooltip {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    color: #0f172a;
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    pointer-events: none;
    display: none;
    z-index: 9999;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Result Animations */
.package-card-entrance {
    animation: editorialReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes editorialReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Sync */
#fe-footer-mount footer {
    background-color: #fcfaf7 !important; /* Force bone white sync */
}

/* --- Cinematic Hero Card (The Integrated Spotlight) --- */
.discovery-card-featured {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    background: #fafafa;
    border-radius: 3rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 2rem;
}

.discovery-card-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.08);
}

@media (min-width: 1024px) {
    .discovery-card-featured {
        grid-column: span 2;
        flex-direction: row;
        align-items: stretch;
        min-height: 480px;
    }
}

.discovery-card-featured .featured-image-side {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

@media (min-width: 1024px) {
    .discovery-card-featured .featured-image-side {
        min-height: auto;
    }
}

.discovery-card-featured .featured-content-side {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .discovery-card-featured .featured-content-side {
        padding: 4rem;
    }
}

.discovery-card-featured .featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #ef4444;
    color: white;
    border-radius: 1rem;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.discovery-card-featured h3 {
    transition: color 0.4s ease;
}
