﻿/*
Theme Name: Travelers Orbit
Theme URI: https://www.travelersorbit.com
Author: Travelers Orbit Team
Author URI: https://www.travelersorbit.com
Description: A custom theme for Travelers Orbit, focusing on nature and city tours.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: travel, nature, city, responsive, custom-colors
*/

:root {
    /* Nature-inspired Color Palette */
    --primary: #10b981;
    /* Emerald 500 - Fresh Nature Green */
    --primary-dark: #047857;
    /* Emerald 700 - Deep Forest */
    --secondary: #0ea5e9;
    /* Sky 500 - Clear Sky Blue */
    --accent: #f59e0b;
    /* Amber 500 - Sun/Earth */
    --bg-body: #f0fdf4;
    /* Mint 50 - Very light nature bg */
    --bg-white: #ffffff;
    --text-main: #1f2937;
    /* Gray 800 */
    --text-muted: #4b5563;
    /* Gray 600 */
    --border-color: #d1fae5;
    /* Mint 200 */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    /* Softer, rounder corners */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Section */
.main-header {
    background: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
    /* Removing margin to fit hero */
}

.header-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}

.header-logo img {
    height: 60px;
    width: auto;
}

/* Stylish Nav Buttons */
.main-nav ul {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-btn:hover {
    color: var(--primary);
    background: #ecfdf5;
}

.nav-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.nav-btn.special {
    background: var(--accent);
    color: white;
}

.nav-btn.special:hover {
    background: #d97706;
}

/* Main Layout Grid for Homepage */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    /* Content + Sidebar */
    gap: 2.5rem;
    padding: 3rem 0;
}

/* Hero Slider Styles */
.landing-hero {
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-content {
    z-index: 10;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.nav-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.landing-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.landing-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Booking Widget Styles */
.booking-form .form-group {
    margin-bottom: 1rem;
}

.booking-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.booking-form input:focus {
    border-color: var(--primary);
}

.search-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Ad Banners */
.ad-box {
    background: linear-gradient(135deg, #0f172a, #334155);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Horizontal Ad */
.horizontal-ad-section {
    padding: 2rem 0;
    margin-top: 2rem;
}

.horizontal-ad {
    background: linear-gradient(to right, #059669, #10b981);
    border-radius: var(--radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.horizontal-ad h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ad-cta-btn {
    background: white;
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ad-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Destinations Grid (More items) */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Auto-fill for more items */
    gap: 1.5rem;
}

.destination-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.dest-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.dest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .dest-image img {
    transform: scale(1.05);
}

.dest-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.dest-content {
    padding: 1.25rem;
}

.dest-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.dest-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.dest-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dest-meta .rating {
    font-weight: 700;
    color: var(--accent);
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Footer override */
.main-footer {
    background: #064e3b;
    /* Dark Green */
    color: #ecfdf5;
    padding: 3rem 0;
    text-align: center;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .home-grid {
        grid-template-columns: 1fr;
        /* Stack sidebar below */
    }
}

/* Detail Page / City Page Styles */

/* 3-Column Layout for Detail Pages */
.grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 2rem;
    padding: 3rem 0;
    align-items: start;
}

/* Info Cards (Left Sidebar) */
.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.data-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.data-list li span.label {
    font-weight: 600;
    color: var(--text-main);
}

.score {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Weather */
.weather-widget {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.season {
    text-align: center;
}

.season i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--accent);
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #ecfdf5;
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Map Card */
.map-container img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-block:hover {
    background: var(--primary);
    color: white;
}

/* Main Content Area */
.main-content {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.hero-image {
    position: relative;
    height: 350px;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
}

.hero-text-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.article-body {
    padding: 2.5rem;
    font-size: 1.05rem;
    color: #374151;
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.article-body h3 {
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1f2937;
}

blockquote {
    border-left: 4px solid var(--accent);
    background: #fffbeb;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    border-radius: 0 12px 12px 0;
}

.image-gallery img {
    width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
}

.vocab-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.25rem;
}

/* Similar Destinations List */
.similar-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.similar-list img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

/* Responsive for Detail Page */
@media (max-width: 1200px) {
    .grid-layout {
        /* Convert to 2 column */
        grid-template-columns: 1fr 300px;
    }

    .sidebar-left {
        display: none;
        /* Hide left sidebar on mid screens for cleaner look, or move to bottom */
    }
}

@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
}

.footer-socials {
    margin-top: 1rem;
    justify-content: center;
}

.footer-socials a {
    color: #ecfdf5;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
}

/* Ad Sizing for Google Ads compliance */
.ad-box.medium-rectangle {
    width: 300px;
    height: 250px;
    margin: 0 auto 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.horizontal-ad.leaderboard {
    width: 100%;
    max-width: 970px;
    /* Large Leaderboard */
    height: 150px;
    /* Custom slightly taller for aesthetics, but compatible */
    margin: 0 auto;
    padding: 1.5rem 3rem;
}

/* More Destinations Button */
.min-btn {
    text-align: right;
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
}

.more-link:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

/* =========================================
   Mobile Responsiveness & Hamburger Menu
   ========================================= */

/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }

    .home-grid {
        grid-template-columns: 1fr;
        /* Stack main content and sidebar */
        padding: 2rem 0;
    }

    .grid-layout {
        grid-template-columns: 1fr 300px;
        /* Hide left sidebar */
    }

    .sidebar-left {
        display: none;
        /* Hide detailed info sidebar on tablet for simplicity */
    }

    .horizontal-ad.leaderboard {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .horizontal-ad h2 {
        font-size: 1.5rem;
    }

    .horizontal-ad i {
        display: none;
        /* Hide big background icon on smaller screens */
    }
}

@media (max-width: 768px) {

    /* Header adjustments */
    .header-inner {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
        /* Show hamburger */
    }

    /* Mobile Navigation Drawer */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 4rem 1.5rem 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
        /* Slide in */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    .nav-btn {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.8rem;
        border-radius: 8px;
        /* Less rounded on mobile list */
    }

    /* Social Icons in Mobile Menu */
    .social-icons {
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
        margin-top: 1rem;
        justify-content: flex-start;
    }

    /* Typography Scaling */
    .landing-hero h1,
    .hero-text-overlay h1 {
        font-size: 2rem;
    }

    .landing-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    /* Grid Adjustments */
    .grid-layout {
        grid-template-columns: 1fr;
        /* Full stack */
    }

    .sidebar-right {
        margin-top: 2rem;
    }

    .ad-box.medium-rectangle {
        width: 100%;
        max-width: 300px;
    }

    /* Cards */
    .destinations-grid {
        grid-template-columns: 1fr;
        /* Single column for destinations on mobile */
    }
}

/* =========================================
   Image Modal (Popup) Styles
   ========================================= */
.map-container img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.map-container img:hover {
    transform: scale(1.02);
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   Currency Converter Styles
   ========================================= */
.currency-converter {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.converter-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.converter-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.converter-input-wrap {
    display: flex;
    gap: 0.4rem;
}

.converter-input-wrap input {
    width: 60px;
    padding: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

.converter-input-wrap select {
    flex: 1;
    padding: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    background: #f9fafb;
}

.converter-result {
    padding: 0.6rem;
    background: #f0fdf4;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    border: 1px solid #dcfce7;
}

.converter-loader {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* =========================================
   Real-time Weather Widget Styles
   ========================================= */
.weather-dynamic {
    margin-top: 0.5rem;
}

.weather-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.weather-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.weather-current i {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.season-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.weather-main-info {
    text-align: right;
}

.weather-temp {
    font-size: 1.8rem;
    font-weight: 800;
}

.weather-desc {
    font-size: 0.85rem;
    text-transform: capitalize;
    opacity: 0.9;
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.forecast-item {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
}

.forecast-item i {
    display: block;
    font-size: 1rem;
    margin: 0.3rem 0;
    color: var(--secondary);
}

.forecast-day {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.forecast-temp {
    font-weight: 600;
    color: var(--text-main);
}

.weather-date-checker {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--border-color);
}

.weather-date-checker input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* Interactive Plug Type Styles */
.plug-info-item {
    position: relative;
}

.plug-trigger {
    cursor: pointer;
    color: #f43f5e;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px dashed #f43f5e;
}

.plug-trigger:hover {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.plug-preview {
    position: absolute;
    left: 0;
    bottom: 150%;
    width: 220px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: none;
    z-index: 1000;
    margin-bottom: 5px;
    border: 1px solid #e5e7eb;
}

.plug-info-item:hover .plug-preview {
    display: block;
    animation: fadeInUpPlug 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.plug-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.plug-preview::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

@keyframes fadeInUpPlug {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
