/**
 * Libero — full sitewide luxury skin (CSS ONLY).
 * Производи, URL-и, мени и shortcode логика остануваат непроменети.
 */

/* =========================================================
   GLOBAL — teal / purple → navy / gold
   ========================================================= */
body.lib-inner-page {
    background: var(--lib-navy);
}

body.lib-inner-page .main-area {
    background: var(--lib-cream);
    color: var(--lib-ink);
    padding-top: 0 !important;
}

/* Inline teal / purple → gold (копчиња, ленти, badges) */
body.lib-inner-page [style*="linear-gradient(135deg, #3fd0d4"],
body.lib-inner-page [style*="linear-gradient(135deg,#3fd0d4"],
body.lib-inner-page [style*="linear-gradient(90deg, #3fd0d4"],
body.lib-inner-page [style*="linear-gradient(45deg, #667eea"],
body.lib-inner-page [style*="linear-gradient(135deg, #667eea"],
body.lib-inner-page [style*="linear-gradient(135deg, #11998e"] {
    background: linear-gradient(135deg, var(--lib-gold) 0%, var(--lib-gold-2) 100%) !important;
}

body.lib-inner-page [style*="linear-gradient(90deg, #3fd0d4"],
body.lib-inner-page [style*="linear-gradient(90deg,#3fd0d4"] {
    background: linear-gradient(90deg, var(--lib-gold), var(--lib-gold-2)) !important;
}

body.lib-inner-page [style*="color: #3fd0d4"],
body.lib-inner-page [style*="color:#3fd0d4"],
body.lib-inner-page [style*="color: #667eea"] {
    color: var(--lib-gold-2) !important;
}

body.lib-inner-page [style*="-webkit-background-clip: text"][style*="#3fd0d4"],
body.lib-inner-page [style*="-webkit-background-clip: text"][style*="#007bff"] {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Section backgrounds */
body.lib-inner-page [style*="background: #f8f9fa"],
body.lib-inner-page [style*="background:#f8f9fa"] {
    background: var(--lib-cream) !important;
}

/* Wave dividers → cream */
body.lib-tour-single [class$="-hero"] path[style*="fill: #f8f9fa"],
body.lib-tour-single [class$="-hero"] path[fill="#f8f9fa"] {
    fill: var(--lib-cream) !important;
}

/* =========================================================
   TOUR INTERACTIVE — hero, destinations, hotels
   ========================================================= */
body.lib-tour-single [class$="-hero"]::before {
    background: linear-gradient(
        135deg,
        rgba(15, 31, 56, .92) 0%,
        rgba(15, 31, 56, .72) 42%,
        rgba(197, 134, 42, .42) 100%
    ) !important;
}

body.lib-tour-single [class$="-hero"] h1 {
    font-family: var(--lib-serif) !important;
    font-size: clamp(40px, 6vw, 64px) !important;
    letter-spacing: -.02em !important;
}

body.lib-tour-single [class$="-hero"] div[style*="backdrop-filter"] {
    background: rgba(255, 255, 255, .12) !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 20px !important;
}

body.lib-tour-single #destinations-section,
body.lib-tour-single #hotels-section,
body.lib-tour-single #sub-destinations-section,
body.lib-tour-single #micro-destinations-section {
    background: var(--lib-cream) !important;
    padding: 72px 0 !important;
}

body.lib-tour-single #destinations-section h2,
body.lib-tour-single #hotels-section h2,
body.lib-tour-single #hotels-section h3 {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

/* Destination + hotel cards */
body.lib-tour-single .destination-card,
body.lib-tour-single #hotels-grid > div > div {
    border: 1px solid var(--lib-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 44px rgba(15, 31, 56, .08) !important;
    background: #fff !important;
}

body.lib-tour-single .destination-card:hover,
body.lib-tour-single #hotels-grid > div > div:hover {
    box-shadow: 0 26px 56px rgba(15, 31, 56, .14) !important;
    border-color: rgba(197, 134, 42, .35) !important;
}

body.lib-tour-single .destination-card > div[style*="height: 4px"],
body.lib-tour-single #hotels-grid > div > div > div[style*="height: 4px"] {
    background: linear-gradient(90deg, var(--lib-gold), var(--lib-gold-2)) !important;
}

body.lib-tour-single .destination-card div[style*="border-radius: 50%"][style*="#3fd0d4"],
body.lib-tour-single #hotels-grid div[style*="border-radius: 50%"][style*="#3fd0d4"] {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
    box-shadow: 0 8px 30px rgba(197, 134, 42, .35) !important;
}

body.lib-tour-single #hotels-grid h4 {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-tour-single #hotels-grid span[style*="rgba(63, 208, 212"] {
    background: rgba(197, 134, 42, .1) !important;
    color: var(--lib-navy) !important;
    border-color: rgba(197, 134, 42, .25) !important;
}

body.lib-tour-single #hotels-grid a[style*="border-radius: 50px"] {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
    box-shadow: 0 8px 24px rgba(197, 134, 42, .35) !important;
    border-radius: 999px !important;
}

/* Back buttons in tour flows */
body.lib-tour-single button[style*="background"],
body.lib-tour-single #hotels-section button,
body.lib-tour-single .tour-content-wrapper button {
    font-family: var(--lib-sans) !important;
    border-radius: 999px !important;
}

/* =========================================================
   EXOTIC DESTINATIONS (single-tour branch)
   ========================================================= */
body.lib-tour-single .exotic-hero {
    background: linear-gradient(
        135deg,
        var(--lib-navy) 0%,
        var(--lib-navy-2) 55%,
        rgba(197, 134, 42, .45) 100%
    ) !important;
}

body.lib-tour-single .exotic-hero h1 {
    font-family: var(--lib-serif) !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}

body.lib-tour-single .stat-item {
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 16px !important;
}

body.lib-tour-single .tours-section {
    background: var(--lib-cream) !important;
    padding: 72px 0 !important;
}

body.lib-tour-single .section-title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
    font-size: clamp(28px, 4vw, 42px) !important;
}

body.lib-tour-single .section-title::after {
    background: linear-gradient(90deg, var(--lib-gold), var(--lib-gold-2)) !important;
}

body.lib-tour-single .exotic-tour-card {
    border-radius: 18px !important;
    border: 1px solid var(--lib-line) !important;
    box-shadow: 0 16px 44px rgba(15, 31, 56, .08) !important;
}

body.lib-tour-single .exotic-tour-card:hover {
    box-shadow: 0 26px 56px rgba(15, 31, 56, .14) !important;
}

body.lib-tour-single .card-title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-tour-single .card-title a:hover {
    color: var(--lib-gold-2) !important;
}

body.lib-tour-single .card-location i,
body.lib-tour-single .card-price {
    color: var(--lib-gold-2) !important;
}

body.lib-tour-single .btn-book {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 24px rgba(197, 134, 42, .35) !important;
}

/* =========================================================
   ПРАЗНИЧНИ ПРОГРАМИ
   ========================================================= */
body.lib-holiday-page .cs-page_heading {
    display: none !important;
}

body.lib-holiday-page .holiday-hero-section {
    background: linear-gradient(
        135deg,
        var(--lib-navy) 0%,
        var(--lib-navy-2) 50%,
        rgba(197, 134, 42, .38) 100%
    ) !important;
}

body.lib-holiday-page .holiday-hero-section h1 {
    font-family: var(--lib-serif) !important;
    font-size: clamp(36px, 5vw, 52px) !important;
    font-weight: 700 !important;
    letter-spacing: -.02em;
}

body.lib-holiday-page .holiday-hero-badge {
    background: rgba(255, 255, 255, .12) !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    color: #fff !important;
}

body.lib-holiday-page .holiday-hero-badge i {
    color: var(--lib-gold) !important;
}

body.lib-holiday-page .holiday-content-section {
    background: var(--lib-cream) !important;
    padding: 72px 0 !important;
}

body.lib-holiday-page .holiday-content-section h2 {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-holiday-page .premium-holiday-card > div[style*="opacity:0.55"],
body.lib-holiday-page .premium-holiday-card > div[style*="opacity: 0.55"] {
    background: linear-gradient(
        135deg,
        rgba(15, 31, 56, .78) 0%,
        rgba(197, 134, 42, .55) 100%
    ) !important;
    opacity: .72 !important;
}

body.lib-holiday-page .premium-card-title {
    font-family: var(--lib-serif) !important;
}

body.lib-holiday-page .premium-card-arrow {
    background: var(--lib-gold) !important;
}

body.lib-holiday-page .premium-card-arrow i {
    color: #fff !important;
}

body.lib-holiday-page .premium-holiday-card:hover .premium-card-icon i {
    color: var(--lib-gold-2) !important;
}

body.lib-holiday-page .premium-tours-title h2,
body.lib-holiday-page .premium-tours-group-title,
body.lib-holiday-page .premium-tour-title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-holiday-page .premium-tours-title-icon {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
}

body.lib-holiday-page .premium-tour-price {
    color: var(--lib-gold-2) !important;
    font-family: var(--lib-serif) !important;
}

body.lib-holiday-page .premium-tour-btn {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
    color: #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 22px rgba(197, 134, 42, .32) !important;
}

body.lib-holiday-page .premium-back-btn {
    background: rgba(15, 31, 56, .06) !important;
    color: var(--lib-navy) !important;
    border: 1px solid var(--lib-line) !important;
    border-radius: 999px !important;
}

body.lib-holiday-page .premium-tours-group-head {
    border-bottom-color: var(--lib-line) !important;
}

/* =========================================================
   ЕДНОДНЕВНИ ПАТУВАЊА
   ========================================================= */
body.lib-day-trips .cs-page_heading {
    display: none !important;
}

body.lib-day-trips .cs_hero.cs_style_1 {
    min-height: 520px;
    display: flex;
    align-items: center;
}

body.lib-day-trips .cs_hero.cs_style_1 .cs_hero_overlay,
body.lib-day-trips .cs_hero_overlay[style*="#3fd0d4"] {
    background: linear-gradient(
        135deg,
        rgba(15, 31, 56, .88) 0%,
        rgba(15, 31, 56, .62) 50%,
        rgba(197, 134, 42, .35) 100%
    ) !important;
}

body.lib-day-trips .cs_hero_title {
    font-family: var(--lib-serif) !important;
}

body.lib-day-trips .cs_features_section {
    background: var(--lib-cream) !important;
}

body.lib-day-trips .cs_section_title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-day-trips #tours-section {
    background: #fff !important;
    padding: 72px 0 !important;
}

/* =========================================================
   ELEMENTOR — Лето, Зима, За нас, Контакт
   ========================================================= */
body.lib-inner-page .elementor-section-wrap,
body.lib-inner-page .elementor {
    font-family: var(--lib-sans);
}

body.lib-inner-page .elementor-widget-heading .elementor-heading-title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-inner-page .elementor-button,
body.lib-inner-page .elementor-button-link {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
    border-radius: 999px !important;
    font-family: var(--lib-sans) !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 8px 22px rgba(197, 134, 42, .28) !important;
}

body.lib-inner-page .elementor-button:hover {
    background: var(--lib-navy) !important;
    color: #fff !important;
}

body.lib-inner-page .elementor-icon-box-title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-inner-page .elementor-icon-box-icon i,
body.lib-inner-page .elementor-icon i {
    color: var(--lib-gold) !important;
}

body.lib-inner-page .elementor-widget-icon-box .elementor-icon {
    border-color: rgba(197, 134, 42, .35) !important;
}

/* Icon list / features with teal */
body.lib-inner-page .elementor-icon-list-icon i {
    color: var(--lib-gold) !important;
}

/* =========================================================
   WOOCOMMERCE — shop + single product
   ========================================================= */
body.lib-product-single .cs-page_heading,
body.lib-woocommerce .cs-page_heading {
    background-color: var(--lib-navy) !important;
}

body.lib-product-single,
body.lib-woocommerce {
    background: var(--lib-cream);
}

body.lib-product-single .product,
body.lib-woocommerce ul.products li.product {
    border-radius: 16px;
}

body.lib-product-single .woocommerce-product-gallery,
body.lib-product-single .summary.entry-summary {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--lib-line);
    padding: 24px;
    box-shadow: 0 14px 40px rgba(15, 31, 56, .06);
}

body.lib-product-single .product_title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
    font-size: clamp(28px, 4vw, 38px) !important;
}

body.lib-product-single .woocommerce-tabs {
    margin-top: 32px;
}

body.lib-product-single .woocommerce-tabs ul.tabs li a {
    font-family: var(--lib-sans) !important;
    color: var(--lib-navy) !important;
    font-weight: 600;
}

body.lib-product-single .woocommerce-tabs ul.tabs li.active a {
    color: var(--lib-gold-2) !important;
}

body.lib-woocommerce ul.products li.product {
    border: 1px solid var(--lib-line);
    box-shadow: 0 14px 40px rgba(15, 31, 56, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}

body.lib-woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 31, 56, .12);
}

body.lib-woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
    padding: 12px 16px 0 !important;
}

body.lib-woocommerce ul.products li.product .price {
    color: var(--lib-gold-2) !important;
    padding: 0 16px 16px !important;
    font-weight: 700;
}

body.lib-woocommerce .woocommerce-ordering select,
body.lib-woocommerce .woocommerce-result-count {
    font-family: var(--lib-sans);
    color: var(--lib-muted);
}

/* =========================================================
   BLOG / ARCHIVE / 404
   ========================================================= */
body.lib-inner-page .cs_post.cs_style_1,
body.lib-inner-page article.post {
    border-radius: 16px;
    border: 1px solid var(--lib-line);
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 31, 56, .06);
    background: #fff;
}

body.lib-inner-page .cs_post_title a,
body.lib-inner-page .entry-title a {
    font-family: var(--lib-serif) !important;
    color: var(--lib-navy) !important;
}

body.lib-inner-page .error404 .cs-page_heading,
body.error404 .cs-page_heading {
    background: var(--lib-navy) !important;
}

/* =========================================================
   BUS BOOKING / UTILITY PAGES
   ========================================================= */
body.lib-inner-page .bus-booking-form,
body.lib-inner-page .cs_form_field,
body.lib-inner-page input[type="text"],
body.lib-inner-page input[type="email"],
body.lib-inner-page input[type="tel"],
body.lib-inner-page select,
body.lib-inner-page textarea {
    border-radius: 12px !important;
    border-color: var(--lib-line) !important;
    font-family: var(--lib-sans);
}

body.lib-inner-page input:focus,
body.lib-inner-page select:focus,
body.lib-inner-page textarea:focus {
    border-color: var(--lib-gold) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 134, 42, .15);
}

/* =========================================================
   PRELOADER / MISC THEME CHROME
   ========================================================= */
body.lib-inner-page .cs_preloader {
    background: var(--lib-navy);
}

body.lib-inner-page .scroll-up,
body.lib-inner-page .cs_scroll_up {
    background: linear-gradient(135deg, var(--lib-gold), var(--lib-gold-2)) !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    body.lib-day-trips .cs_hero.cs_style_1 {
        min-height: var(--lib-hero-min);
    }
}
