/* Tours Styles */

:root {
    --cc-primary: #0066a1;
    --cc-secondary: #00a896;
    --cc-accent: #f77f00;
    --cc-dark: #1a1a2e;
    --cc-light: #f8f9fa;
    --cc-text: #333;
    --cc-text-light: #666;
    /* Tour Single Page Variables (merged) */
    --tour-primary: #0066a1;
    --tour-secondary: #00a896;
    --tour-btn: #d01824;
    --tour-accent: #f77f00;
    --tour-dark: #1a1a2e;
    --tour-light: #f8f9fa;
    --tour-text: #333;
    --tour-text-light: #666;
}



/* ============================================
   BREADCRUMBS
   ============================================ */

.si-breadcrumbs {
    font-size:1rem;
}
.si-breadcrumbs a {
    text-decoration:underline;
}
.si-breadcrumbs a:before {
    display:none!important;
}

/* ============================================
   WRAPPERS
   ============================================ */

.master-wrapper {
    margin: 0 auto;
    max-width: 1540px;
}

@media (min-width: 768px) {
    .master-wrapper {
        padding: 20px;
    }    
}

.tour-single-wrapper {
    margin: 0 auto;
    max-width: 1040px;
}

/* ============================================
   FILTERS
   ============================================ */

.cc-filters {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.cc-filters label {
    font-weight: 600;
    margin-right: 5px;
    color: var(--cc-text);
    min-width: 60px;
}

.cc-filters select {
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    min-width: 150px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
    font-size: 16px;
}

.cc-filters select:focus {
    outline: none;
    border-color: var(--cc-primary);
}

.cc-filters .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-filters .checkbox-group {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--cc-light);
    border-radius: 8px;
}

.cc-filters .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--cc-secondary);
}

.cc-filters button {
    background: var(--cc-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
    margin-left: auto;
}

.cc-filters button:hover {
    background: #005288;
    transform: translateY(-1px);
}

/* ============================================
   RESULTS INFO
   ============================================ */

.cc-results-info {
    margin-bottom: 20px;
    color: var(--cc-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-results-info .count {
    font-weight: 600;
    color: var(--cc-text);
}

/* ============================================
   PRODUCTS GRID
   ============================================ */

.cc-products-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.single-post .cc-products-grid {
    width: 100vw;
    max-width: 1200px;
    margin-left: 50%;
    transform: translateX(-50%);
    padding-left:20px;
    padding-right:20px;
}

.cc-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.cc-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.cc-product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cc-product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
@media (min-width:1500px) {
    .cc-product-image {
        height: 280px;
    }
}

.cc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.cc-product-card:hover .cc-product-image img {
    transform: scale(1.08);
}

.cc-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.cc-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 13px;
    line-height: 16px;
}

.cc-badge.free-cancel {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: none;
}

.cc-badge.likely-sellout {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    animation: pulse-glow 2s ease-in-out infinite;
}

.cc-badge.special-offer {
    background: linear-gradient(135deg, #c41e3a 0%, #a91b2e 100%);
    color: white;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
    }
    50% { 
        box-shadow: 0 2px 12px rgba(255, 107, 53, 0.6);
    }
}

.cc-product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cc-product-title {
    font-weight: 700;
    color: var(--cc-dark);
    margin-bottom: 10px;
    line-height: 1.35;
    margin-top: 0;
    font-size: 22px;
}

.cc-product-description {
    color: var(--cc-text-light);
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.cc-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 24px; /* Reserve space even when empty */
}

.viator-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.viator-stars .star {
    color: #ffc107;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.viator-stars .star.empty {
    color: #ddd;
}

.viator-stars .star.half {
    position: relative;
    display: inline-block;
    width: 1em;
    color: #ddd; /* Empty star background */
}

.viator-stars .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: var(--half-star-width, 0.5em); /* Default to 0.5em, override with inline style */
    overflow: hidden;
    color: #ffc107;
}

.cc-rating-text {
    color: var(--cc-text-light);
}

.cc-rating-text strong {
    color: var(--cc-text);
}

.cc-product-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--cc-text-light);
    flex-shrink: 0;
}

.cc-duration-text {
    font-weight: 500;
}

.cc-product-tags {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 10px 0;
}

.cc-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cc-tag:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.cc-product-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end; /* Align children to bottom */
}

/* Remove top margin from tour-price-note to align properly */
.tour-price-note {
    margin-top: 0 !important;
}

.cc-price-label {
    color: var(--cc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.cc-price-original {
    text-decoration: line-through;
    color: #999;
    font-weight: normal;
}

.cc-price-value {
    font-size:130%;
    font-weight: 800;
    color: var(--cc-primary);
}

.cc-price-value.has-discount {
    color: #c41e3a;
    font-weight: 700;
}

.cc-book-btn {
    background: var(--cc-secondary);
    color: white !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.cc-product-card:hover .cc-book-btn {
    background: #008f80;
    color: white !important;
}

/* ============================================
   PAGINATION
   ============================================ */

.cc-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cc-pagination a,
.cc-pagination span {
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: var(--cc-text);
    font-weight: 500;
    transition: all 0.2s;
}

.cc-pagination a:hover {
    background: var(--cc-light);
    border-color: var(--cc-primary);
    color: var(--cc-primary);
}

.cc-pagination .current {
    background: var(--cc-primary);
    color: white;
    border-color: var(--cc-primary);
}

.cc-pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}

/* ============================================
   ERROR & EMPTY STATES
   ============================================ */

.cc-error {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 25px;
    border-radius: 12px;
    color: #856404;
}

.cc-error h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-error pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-top: 15px;
}

.cc-no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--cc-text-light);
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.cc-no-results h3 {
    margin-bottom: 10px;
    color: var(--cc-text);
}

.cc-no-results p {
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   TOUR SINGLE PAGE - BACK LINK
   ============================================ */

.tour-back-link {
    /*display: inline-flex;*/
    display:none;
    align-items: center;
    gap: 8px;
    color: var(--tour-primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 11px;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.tour-back-link:hover {
    color: var(--tour-secondary);
}

/* ============================================
   TOUR HEADER
   ============================================ */

.tour-header {
    margin-bottom: 30px;
}

.tour-title {
    color: var(--tour-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    justify-content: center;
    font-size: 20px;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.tour-stars .star {
    color: #ffc107!important;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.tour-stars .star.empty {
    color: #ddd!important;
}

.tour-stars .star.half {
    position: relative;
    display: inline-block;
    width: 1em;
    color: #ddd!important; /* Empty star background */
}

.tour-stars .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: var(--half-star-width, 0.5em); /* Default to 0.5em, override with inline style */
    overflow: hidden;
    color: #ffc107!important;
}

.tour-rating-text {
    color: var(--tour-text-light);
}

.tour-rating-text strong {
    color: var(--tour-text);
}

.tour-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tour-text);
    background: var(--tour-light);
    padding: 8px 14px;
    border-radius: 8px;
}

.tour-duration-text {
    font-weight: 600;
}

.tour-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tour-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tour-badge.free-cancel {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.tour-badge.likely-sellout {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    animation: pulse-glow 2s ease-in-out infinite;
}

.tour-badge.special-offer {
    background: linear-gradient(135deg, #c41e3a 0%, #a91b2e 100%);
    color: white;
}

/* ============================================
   TOUR IMAGE GALLERY
   ============================================ */

.tour-image-gallery {
    margin: 30px auto;
    max-width: 1040px;
}

.tour-hero-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.tour-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.tour-hero-image img.fading {
    opacity: 0.6;
}

.tour-image-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.tour-gallery {
    gap: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.tour-gallery-item {
    max-width: 150px;
    display: inline-block;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.tour-gallery-item:hover {
    transform: scale(1.05);
}

.tour-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.tour-thumbnail {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.tour-thumbnail:hover {
    border-color: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tour-thumbnail.active {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.tour-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.tour-thumbnail:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* ============================================
   TOUR CONTENT LAYOUT
   ============================================ */

.tour-content {
    -js-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: stretch;
    margin-bottom: 90px;
    max-width: 1040px;
}

.tour-description {
    order: 1;
    background: white;
    padding-right: 40px;
    min-width: 0;
    min-height: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    max-width: 65%;
}

.tour-description-inner {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.tour-description h2 {
    color: var(--tour-dark);
    margin-bottom: 15px;
    margin-top: 0;
}

.tour-description-text {
    line-height: 1.8;
    color: var(--tour-text);
    text-align: left;
}

/* ============================================
   TOUR SIDEBAR / BOOKING CARD
   ============================================ */

.tour-sidebar {
    position: sticky;
    height: fit-content;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: 35%;
    margin-bottom: 70px;
}

.tour-booking-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.tour-urgency-callout {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-urgency-callout .urgency-icon {
    font-size: 1.2em;
}

.tour-urgency-callout .urgency-text {
    color: #9a3412;
    font-weight: 600;
}

.tour-savings-callout {
    background: linear-gradient(135deg, #fef3f2 0%, #fee4e2 100%);
    border: 1px solid #fecaca;
    border-left: 4px solid #c41e3a;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.tour-savings-callout .savings-text {
    color: #991b1b;
    font-weight: 600;
}

.tour-savings-callout .savings-amount {
    color: #c41e3a;
    font-weight: 700;
}

.tour-price-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tour-price-label {
    color: var(--tour-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    font-weight: 400;
    margin-right: 2px;
}

.tour-price-row {
    display: flex;
    align-items: baseline; /* Align all text to same baseline */
    flex-wrap: wrap;
    gap: 6px;
}

.tour-price-original {
    text-decoration: line-through;
    color: #999;
    font-weight: normal;
    white-space: nowrap;
}

.tour-price-value {
    font-weight: 800;
    color: var(--tour-primary);
    font-size:140%;
    white-space: nowrap;
}

.tour-price-value.has-discount {
    color: #c41e3a;
}

.tour-price-note {
    color: var(--tour-text-light);
    margin-top: 0 !important;
    font-size: 14px;
    font-weight: 400;
}

.tour-discount-badge {
    background: linear-gradient(135deg, #c41e3a 0%, #a91b2e 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-book-btn {
    display: block;
    width: 100%;
    background: var(--tour-btn);
    color: white !important;
    text-align: center;
    padding: 16px 24px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.tour-book-btn:hover {
    background: #B7000B;
    transform: translateY(-2px);
    color: white;
}

.tour-book-note {
    color: var(--tour-text-light);
    text-align: center;
    margin-top: 12px;
}

.tour-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tour-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--tour-text);
}

.tour-feature-icon {
    color: var(--tour-secondary);
}
/* Show desktop icon by default */
.tour-feature-icon--desktop {
  display: inline-block;
}

.tour-feature-icon--mobile {
  display: none;
}
.tour-feature-icon--mobile svg {
  	width:24px;
	height:24px;
}

/* Switch to mobile icon on mobile screens */
@media (max-width: 767px) {
  .tour-feature-icon--desktop {
    display: none;
  }
  
  .tour-feature-icon--mobile {
    display: inline-block;
  }
}
/* ============================================
   CATEGORY TAGS
   ============================================ */

.tour-tags {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tour-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tour-tag:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* ============================================
   ERROR & NOT FOUND STATES
   ============================================ */

.tour-error,
.tour-not-found {
    background: white;
    padding: 60px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tour-error h2,
.tour-not-found h2 {
    margin-bottom: 15px;
    color: var(--tour-dark);
}

.tour-error p,
.tour-not-found p {
    color: var(--tour-text-light);
    margin-bottom: 20px;
}

.tour-error pre {
    background: var(--tour-light);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    overflow-x: auto;
    margin-top: 20px;
}

.tour-back-btn {
    display: inline-block;
    background: var(--tour-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.tour-back-btn:hover {
    background: #005288;
    color: white;
}

/* ============================================
   DEBUG PANELS
   ============================================ */

.cc-debug,
.tour-debug {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 12px;
    margin-top: 40px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.cc-debug h4,
.tour-debug h4 {
    color: #569cd6;
    margin-top: 0;
}

.cc-debug pre,
.tour-debug pre {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    max-height: 400px;
}

.cc-debug .debug-toggle,
.tour-debug .debug-toggle {
    background: #3c3c3c;
    color: #d4d4d4;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 15px;
}

.cc-debug .debug-toggle:hover,
.tour-debug .debug-toggle:hover {
    background: #4c4c4c;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (min-width: 1400px) {
    .tour-description {
        max-width: 60%;
    }
    
    .tour-sidebar {
        width: 40%;
    }
}

@media screen and (min-width: 961px) {
    .tour-description {
        order: 1;
    }
    
    .tour-sidebar {
        order: 2;
    }
}

@media (max-width: 960px) {
    .cc-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tour-content {
        grid-template-columns: 1fr;
    }
    
    .tour-description {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 40px;
    }
    
    .tour-sidebar {
        position: static;
        width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .cc-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cc-filters .filter-group {
        width: 100%;
    }
    
    .cc-filters select {
        width: 100%;
    }
    
    .cc-filters button {
        margin-left: 0;
        width: 100%;
    }
    
    .cc-products-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .tour-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tour-image-badges {
        top: 8px;
        left: 8px;
        gap: 6px;
    }
    
    .tour-badge {
        padding: 5px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tour-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tour-badge {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* ============================================
   UPDATES - December 2025
   Single-line price, full-width button, active pagination
   ============================================ */

/* ============================================
   PRICE DISPLAY UPDATES - Single Line Layout
   ============================================ */

/* Make price block display everything in one row */
.cc-price-block {
    margin-bottom: 12px;
}

.cc-price-row {
    display: flex;
    align-items: baseline; /* Align all text to same baseline */
    flex-wrap: nowrap; /* Prevent wrapping to keep on single line */
    gap: 6px;
}

/* Price label on same line */
.cc-price-label {
    font-size: 16px;
    color: #666;
    font-weight: 400;
    margin-right: 2px;
}

/* Keep prices inline */
.cc-price-original,
.cc-price-value,
.cc-price-unit-type {
    white-space: nowrap;
}

/* Make "per group" grey like "From" label */
.cc-price-unit-type {
    color: #666 !important;
    font-size: 14px;
    font-weight: 400;
}

/* ============================================
   BUTTON UPDATES - Full Width
   ============================================ */

/* Make View Details button full width and proper link style */
.cc-book-btn-full {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: var(--cc-secondary);
    color: white !important;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
    box-sizing: border-box;
}

.cc-product-card:hover .cc-book-btn-full {
    background: #008f80;
    color: white !important;
}

.cc-book-btn-full:hover {
    color: white !important;
}

/* Remove old span button styles if they conflict */
.cc-product-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   PAGINATION UPDATES - Active Page Styling
   ============================================ */

/* Style for current/active page */
.cc-pagination .current {
    background: var(--cc-primary, #0073e6);
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    cursor: default;
}

/* Make sure links don't have the active style */
.cc-pagination a {
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 400;
    transition: background 0.2s;
}

.cc-pagination a:hover {
    background: #f0f0f0;
}

/* Disabled state */
.cc-pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    padding: 8px 14px;
}

/* ============================================
   FEATURED TOURS SHORTCODE
   ============================================ */

.featured-tours-wrapper {
    margin: 40px 0;
}

.featured-tours-button {
    text-align: center;
    margin-top: 30px;
}

.featured-view-all-btn {
    display: inline-block;
    background: var(--cc-primary);
    color: white !important;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.1s;
}

.featured-view-all-btn:hover {
    background: #005288;
    transform: translateY(-1px);
    color: white !important;
}

.featured-tours-empty {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* ============================================================================
   NEW TOUR DETAIL SECTIONS STYLING
   Added: January 2026
   Sections: What's Included, Itinerary, Tour Options, Good to Know
   ============================================================================ */

/* General Tour Section Styling */
.tour-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.tour-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* What's Included/Excluded Section */
.tour-inclusions-section {
}

.tour-inclusions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.tour-inclusions-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inclusions-title {
    color: #059669;
}

.exclusions-title {
    color: #dc2626;
}

.tour-inclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-inclusions-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
    color: #374151;
}

.tour-inclusions-list.included li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
    font-size: 18px;
}

.tour-inclusions-list.excluded li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
    font-size: 18px;
}

/* Itinerary Section */
.tour-itinerary-section {
}

.tour-itinerary-list {
    margin-top: 20px;
}

.tour-itinerary-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.tour-itinerary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.itinerary-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.itinerary-content {
    flex: 1;
}

.itinerary-description {
    color: #374151;
    line-height: 1.7;
}

.itinerary-meta {
    margin-bottom: 12px;    
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.itinerary-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.itinerary-badge.stop {
    background: #dbeafe;
    color: #1e40af;
}

.itinerary-badge.pass-by {
    background: #f3f4f6;
    color: #6b7280;
}

.itinerary-badge.admission {
    background: #d1fae5;
    color: #065f46;
}

/* Tour Options Section */
.tour-options-section {
}

.tour-options-intro {
    color: #6b7280;
    margin-bottom: 20px;
    /*font-size: 15px;*/
}

.tour-options-intro a {
    color:revert;
}

.tour-options-list {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.tour-option-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.tour-option-card:hover {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.tour-option-card .option-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.tour-option-card .option-description {
    color: #4b5563;
    line-height: 1.6;
    /*font-size: 14px;*/
}

.tour-options-note {
    color: #6b7280;
    /*font-size: 14px;*/
    font-style: italic;
    margin-top: 15px;
}

.tour-options-note a {
    color:revert;
}

/* Good to Know Section */
.tour-good-to-know-section {
}

.tour-good-to-know-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.tour-good-to-know-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
    line-height: 1.6;
}

.good-to-know-icon {
    flex-shrink: 0;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.good-to-know-text {
    color: #374151;
    /*font-size: 14px;*/
}

/* Responsive Design */
@media (max-width: 768px) {
    .tour-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .tour-section h3 {
        font-size: 20px;
    }
    
    .tour-inclusions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .itinerary-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .tour-option-card {
        padding: 16px;
    }
    
    .tour-option-card .option-title {
        font-size: 16px;
    }
    
    body.tour-single .breadcrumb_last {
        display:none!important;
    }

    .cc-product-rating.empty {
        display: none !important;
    }
    
    .cc-product-description {
        margin-top:.5em!important;
        margin-bottom:1em!important;
    }
    
}
