/* Extracted from theme templates — keep selector names stable */
:root {
        --primary-blue: #003399;
        --accent-orange: #FF6600;
        --table-header-bg: #E6F3FF;
        --table-stripe-bg: #F5F9FC;
        --text-dark: #333;
        --border-color: #ddd;
        --font-main: 'Montserrat', sans-serif;
        --font-title: 'Playfair Display', serif;
    }

    .slideshow-wrapper-tours {
        position: relative;
        width: 800px;
        height: 100vh;
        overflow: hidden;
        margin: 0 auto;
        padding-top: 50px;
    }

    .slideshow-wrapper-tours .page-header {
        display: none;
    }

    .slideshow-wrapper-tours .header-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 20px 20px 0px 20px;
    }

    .slideshow-wrapper-tours .title-section {
        flex: 1;
    }

    .slideshow-wrapper-tours .main-title {
        font-family: var(--font-title);
        color: var(--accent-orange);
        font-size: 3rem;
        font-style: italic;
        font-weight: 700;
        margin-bottom: 10px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }

    .slideshow-wrapper-tours .logo-section {
        text-align: right;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .slideshow-wrapper-tours .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .slideshow-wrapper-tours .brand {
        font-size: 25px;
        font-weight: 800;
        color: var(--primary-blue);
        line-height: 1;
    }

    .slideshow-wrapper-tours .sub-brand {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #555;
    }

    .slideshow-wrapper-tours .slogan {
        font-size: 14px;
        color: #888;
        letter-spacing: 2px;
    }

    /* Only constrain real slideshow pages — not homepage tour-cover cards */
    .slideshow-section-homepage:has(.slideshow-wrapper-tours) {
        width: 800px;
        margin: auto;
        padding: 0;
    }

    .slideshow-wrapper-tours .qr-code {
        display: flex;
    }

    .slideshow-wrapper-tours .qr-placeholder img {
        border: 1px solid #eee;
        padding: 2px;
    }

    /* Table */
    .slideshow-wrapper-tours .table-wrapper {
        overflow-x: auto;
        margin-bottom: 30px;
        border-radius: 4px;
        position: relative;
    }

    .slideshow-wrapper-tours .table-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('') center center / cover no-repeat;
        width: 100%;
        height: 100%;
        opacity: 0.15;
        z-index: -1;
        pointer-events: none;
    }

    .slideshow-wrapper-tours table {
        width: 100%;
        border-collapse: collapse;
        background-color: transparent;
        border: none !important;
    }

    .slideshow-wrapper-tours table tr td {
        border: none !important;
    }

    .slideshow-wrapper-tours table th {
        background-color: var(--table-header-bg);
        color: var(--primary-blue);
        padding: 12px 10px;
        text-align: left;
        font-weight: 700;
        border-bottom: 2px solid #ccc;
        white-space: nowrap;
    }

    .slideshow-wrapper-tours table td {
        padding: 10px 10px;
        vertical-align: middle;
    }

    .slideshow-wrapper-tours table tbody tr:nth-child(even) {
        background-color: transparent;
    }

    .slideshow-wrapper-tours table tbody tr:hover {
        background-color: transparent;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    /* Columns specific styles */
    .slideshow-wrapper-tours .col-stt {
        width: 40px;
        text-align: center;
    }

    .slideshow-wrapper-tours .col-name {
        width: auto;
    }

    .slideshow-wrapper-tours .col-time {
        width: 120px;
        text-align: center;
    }

    .slideshow-wrapper-tours .col-price {
        width: 150px;
        text-align: right;
    }

    .slideshow-wrapper-tours .col-vehicle {
        width: 120px;
        text-align: center;
    }

    .slideshow-wrapper-tours .text-center {
        text-align: center;
    }

    .slideshow-wrapper-tours .text-right {
        text-align: right;
    }

    .slideshow-wrapper-tours .fw-bold {
        font-weight: 600;
        font-size: 14px;
    }

    .slideshow-wrapper-tours .price {
        font-weight: 700;
        color: #333;
    }

    .slideshow-wrapper-tours .unit {
        font-size: 0.8rem;
        font-weight: 400;
        color: #666;
    }

    /* Footer Info */
    .slideshow-wrapper-tours .footer-info {
        font-size: 14px;
        color: #444;
        margin-top: 30px;
        border-top: 2px solid var(--primary-blue);
        padding-top: 20px;
        background-color: #fff;
    }

    .slideshow-wrapper-tours .info-cols {
        display: flex;
        gap: 40px;
        margin-bottom: 20px;
    }

    .slideshow-wrapper-tours .col {
        flex: 1;
    }

    .slideshow-wrapper-tours .col h3 {
        font-size: 16px;
        color: var(--primary-blue);
        margin-bottom: 8px;
        margin-top: 15px;
        font-weight: 700;
    }

    .slideshow-wrapper-tours .col h3:first-child {
        margin-top: 0;
    }

    .slideshow-wrapper-tours .col ul {
        list-style-type: none;
        padding-left: 10px;
    }

    .slideshow-wrapper-tours .col ul li {
        margin-bottom: 4px;
        position: relative;
        padding-left: 10px;
    }

    .slideshow-wrapper-tours .col ul li::before {
        content: "-";
        position: absolute;
        left: 0;
    }

    .slideshow-wrapper-tours .note-center {
        text-align: center;
        margin: 20px 0;
        font-style: italic;
        color: #666;
    }

    .slideshow-wrapper-tours .contact-info {
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .slideshow-wrapper-tours .contact-info h2 {
        color: #333;
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .slideshow-wrapper-tours .contact-info p {
        margin-bottom: 5px;
        color: #666;
    }

    .nav-btn {
        position: absolute;
        top: 0px;
        background: rgba(0, 51, 153, 0.8);
        color: white;
        border: none;
        padding: 5px 15px;
        font-size: 24px;
        cursor: pointer;
        z-index: 2000;
        transition: background 0.3s;
        border-radius: 4px;
    }

    /* Responsive for tour content */
    @media (max-width: 768px) {
        .slideshow-wrapper-tours .header-content {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .slideshow-wrapper-tours .logo-section {
            margin-top: 15px;
            flex-direction: column;
        }

        .slideshow-wrapper-tours .logo-text {
            align-items: center;
        }

        .slideshow-wrapper-tours .info-cols {
            flex-direction: column;
            gap: 20px;
        }

        .slideshow-wrapper-tours .main-title {
            font-size: 30px;
        }


        .slideshow-wrapper-tours .slide-content {
            display: none;
            width: 100%;
            height: 100%;
            overflow-y: auto;
            overflow-x: hidden;
            background: #fff;
        }

        .slideshow-wrapper-tours .slide-content>div {
            background: #fff;
        }

        .slideshow-wrapper-tours .slide-content.active {
            display: block;
        }

        /* Cover slide specific */
        .slideshow-wrapper-tours .cover-slide.active {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff;
        }

        .slideshow-wrapper-tours .cover-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* Tour slides - adjust container for slideshow */
        .slideshow-wrapper-tours .slide-content .container {
            min-height: 100vh;
            margin: 0;
            max-width: 100%;
        }

        /* Navigation Buttons */
        .slideshow-wrapper-tours .nav-btn {
            position: absolute;
            top: 0;
            background: rgba(0, 51, 153, 0.8);
            color: white;
            border: none;
            padding: 5px 15px;
            font-size: 24px;
            cursor: pointer;
            z-index: 2000;
            transition: background 0.3s;
            border-radius: 4px;
        }

        .slideshow-wrapper-tours .nav-btn:hover {
            background: rgba(0, 51, 153, 1);
        }

        .slideshow-wrapper-tours .prev-btn {
            left: 20px;
        }

        .slideshow-wrapper-tours .next-btn {
            right: 20px;
        }

        /* Slide Indicators */
        .slideshow-wrapper-tours .slide-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 2000;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 20px;
            border-radius: 25px;
        }

        .slideshow-wrapper-tours .indicator {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s;
            border: 2px solid rgba(0, 51, 153, 0.6);
        }

        .slideshow-wrapper-tours .indicator.active {
            background: #003399;
            transform: scale(1.2);
            border-color: #fff;
        }

        .slideshow-wrapper-tours .indicator:hover {
            background: rgba(0, 51, 153, 0.8);
        }

        /* Control Panel */
        .slideshow-wrapper-tours .control-panel {
            position: absolute;
            top: 0;
            right: 20px;
            display: flex;
            gap: 10px;
            z-index: 2;
        }

        .slideshow-wrapper-tours .control-btn {
            background: rgba(0, 51, 153, 0.9);
            color: white;
            right: 100px;
            position: relative;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-family: 'Montserrat', sans-serif;
            transition: background 0.3s;
        }

        .slideshow-wrapper-tours .control-btn:hover {
            background: rgba(0, 51, 153, 1);
        }

        /* Fullscreen Button */
        .slideshow-wrapper-tours .fullscreen-btn {
            position: absolute;
            top: 0;
            left: 100px;
            background: rgba(0, 51, 153, 0.9);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-family: 'Montserrat', sans-serif;
            z-index: 2000;
            transition: background 0.3s;
        }

        .slideshow-wrapper-tours .fullscreen-btn:hover {
            background: rgba(0, 51, 153, 1);
        }

        /* Slide Counter */
        .slideshow-wrapper-tours .slide-counter {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            z-index: 2000;
            font-family: 'Montserrat', sans-serif;
        }

        .slideshow-wrapper {
            width: 100% !important;
        }

        .slideshow-wrapper-tours .nav-btn {
            padding: 15px 10px;
            font-size: 18px;
        }

        .slideshow-section-homepage {
            width: 100%;
            margin: 50px auto;
        }

        .slideshow-wrapper-tours .prev-btn {
            left: 10px;
        }

        .slideshow-wrapper-tours .next-btn {
            right: 10px;
        }

        .slideshow-wrapper-tours .control-panel {
            top: 0;
            right: 10px;
        }

        .slideshow-wrapper-tours .control-btn {
            display: none;
        }

        .slideshow-wrapper-tours .fullscreen-btn {
            display: none;
            top: 10px;
            left: 10px;
            padding: 8px 12px;
            font-size: 12px;
        }

        .slideshow-wrapper-tours .slide-counter {
            top: 10px;
            font-size: 12px;
            padding: 6px 12px;
        }
    }
