/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
  

/* ==============================
   MOBILE FIXED FOOTER (FINAL STABLE)
============================== */
.han-mobile-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: var(--theme-palette-color-1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 9999;
    box-sizing: border-box;
}

.han-footer-item {
    flex: 1;
    height: 64px;
    text-align: center;
    color: #E5E7EB;
    font-size: 11px;
    text-decoration: none;
    background: none;
    border: none;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.han-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 3px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.han-footer-item:hover,
.han-footer-item:focus {
    color: var(--theme-palette-color-2);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 64px;
    }
}

@media (min-width: 769px) {
    .han-mobile-footer {
        display: none;
    }
}


/* ==============================
   HEADER LOGO GLASS EFFECT
============================== */

.site-logo-container img.default-logo {
    opacity: 0.86;
    filter: saturate(0.9) contrast(0.95);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.site-logo-container img.default-logo:hover {
    opacity: 1;
    filter: none;
}

/* ==============================
   SLIDE-UP MENU
============================== */

.han-mobile-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100vh;
    width: 100%;
    height: auto;
    max-height: 85vh;
    background: var(--theme-palette-color-3);
    transition: bottom 0.35s ease;
    z-index: 10000;
    padding: 20px;
    padding-top: 56px;
    border-radius: 16px 16px 0 0;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.han-mobile-menu.active {
    bottom: 0;
    pointer-events: auto;
}

.han-mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.han-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom: 20px;
}

.han-mobile-menu-list li a {
    display: block;
    padding: 14px 0;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.han-menu-close {
    position: sticky;
    top: 0;
    float: right;
    margin-top: -8px;
    margin-right: -4px;
    z-index: 10001;
    font-size: 22px;
    background: none;
    border: none;
    color: #fff;
}

/* ==============================
   MOBILE TOP MENU
============================== */

@media (max-width:1024px) {
    .han-mobile-top-menu {
        position: sticky;
        top: 0;
        z-index: 20;
        background: var(--theme-palette-color-3);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    }

    .han-mobile-top-menu::-webkit-scrollbar {
        display: none;
    }

    .han-mobile-top-menu-list {
        display: flex;
        gap: 24px;
        padding: 12px 16px 8px;
        margin: 0;
        list-style: none;
        white-space: nowrap;
    }

    .han-mobile-top-menu-list li {
        position: relative;
        flex: 0 0 auto;
    }

    .han-mobile-top-menu-list a {
        display: inline-block;
        padding: 6px 0;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        background: none !important;
        border-radius: 0 !important;
    }

    .han-mobile-top-menu-list .current-menu-item a {
        color: #ffffff;
    }

    .han-mobile-top-menu-list .current-menu-item::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(
            90deg,
            var(--color1),
            #4fd1ff
        );
    }
}

/* ==============================
   HEADER DECOR LINE
============================== */

header[data-id="type-1"] [data-row="middle"] .ct-container {
    position: relative;
}

header[data-id="type-1"] [data-device="mobile"] [data-row="middle"] .ct-container::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 250px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    opacity: .9;
    pointer-events: none;
}

@media (min-width: 768px) {
    header[data-id="type-1"] [data-row="middle"] .ct-container::after {
        width: 400px;
    }
}

/* ==============================
   SEARCH OVERLAY
============================== */

.han-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}

.han-search-box {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 14px 18px;
}

.han-search-close {
    float: right;
    font-size: 28px;
    line-height: 28px;
    border: 0;
    background: transparent;
}

body.han-search-open {
    overflow: hidden;
}

.han-search-overlay[hidden] {
    display: none !important;
}

/* ==============================
   PRODUCT GALLERY ARROWS
============================== */

.flexy-arrow-prev,
.flexy-arrow-next {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity .2s ease, transform .2s ease;
    -webkit-mask: none !important;
    mask: none !important;
    background-image: none !important;
}

.flexy-arrow-prev:hover,
.flexy-arrow-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

.flexy-arrow-prev svg,
.flexy-arrow-next svg {
    display: none !important;
}

.flexy-arrow-prev::before,
.flexy-arrow-next::before {
    content: none !important;
    display: none !important;
}

.flexy-arrow-prev::after {
    content: "‹";
    font-size: 34px;
    font-weight: 200;
    color: #fff;
}

.flexy-arrow-next::after {
    content: "›";
    font-size: 34px;
    font-weight: 200;
    color: #fff;
}

/* ==============================
   FOOTER CONTENT
============================== */

.footer-hantravel-title {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: .03em;
}

.footer-hantravel-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-hantravel-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.footer-hantravel-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.footer-hantravel-icon svg {
    width: 18px;
    height: 18px;
}

.footer-hantravel-link {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-hantravel-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-hantravel-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}

.footer-hantravel-box {
    color: rgba(255,255,255,0.8);
}

.footer-partner-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
}

.footer-partner-logo {
    max-width: 180px;
    height: auto;
}

.footer-partner-text {
    font-size: 13px;
    line-height: 1.4;
    color: #ccc;
}

.footer-partner-link:hover .footer-partner-text {
    color: #fff;
}

/* ==============================
   WOO BUTTON TEXT
============================== */

.ct-woo-card-actions a.button {
    font-size: 0 !important;
    line-height: 0 !important;
    padding: 12px 18px !important;
    border-radius: 15px !important;
    border: 1.5px solid var(--theme-palette-color-3) !important;
    background: transparent !important;
    color: #0d1b4c !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all .25s ease;
}

.ct-woo-card-actions a.button::before {
    content: "";
}

.ct-woo-card-actions a.button::after {
    content: "Detaljnije →";
    font-size: 16px;
    line-height: 1;
    letter-spacing: .2px;
}

.ct-woo-card-actions a.button:hover {
    background: var(--theme-palette-color-3) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.ct-woo-card-actions a.button:hover::after {
    color: #fff;
}

/* ==============================
   CENOVNIK SECTION
============================== */

.han-price-section {
    margin: 40px 0;
}

.han-price-title {
    text-align: center;
    margin-bottom: 20px;
}

.han-price-table {
    text-align: center;
}

.han-price-table img {
    max-width: 100%;
    height: auto;
}

.han-rotate-hint {
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.7;
}

.han-price-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.85;
}

/* ==============================
   PRODUCT IFRAME
============================== */

.iframe-product .summary {
    width: 100% !important;
    float: none !important;
}

.iframe-product .container,
.iframe-product .site-content,
.iframe-product .content-area {
    max-width: 100% !important;
    width: 100% !important;
}

.iframe-product .site-main {
    padding: 0 !important;
}

/* ==============================
   CATEGORY IFRAME
============================== */

.has-cat-iframe .cat-iframe-wrap {
    width: 100vw;
    height: 100vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.has-cat-iframe .cat-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.has-cat-iframe .site-main,
.has-cat-iframe .content-area,
.has-cat-iframe .site-content {
    padding: 0 !important;
}

.has-cat-iframe main > .ct-container[data-vertical-spacing*="top"] {
    padding-top: 0 !important;
}

/* ==============================
   CATEGORY CARDS
============================== */

.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3,
ul.products.columns-3[data-products] {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product-category {
    list-style: none;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    border-radius: 18px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.7s ease forwards;
}

.woocommerce ul.products li.product-category a.ct-media-container {
    display: block;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16,24,40,.10);
    transform: translateY(0);
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
}

.woocommerce ul.products li.product-category a.ct-media-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,0) 55%);
    pointer-events: none;
}

.woocommerce ul.products li.product-category figure {
    margin: 0 !important;
}

.woocommerce ul.products li.product-category a.ct-media-container img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
    margin: 0 !important;
    padding: 14px 16px 16px !important;
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 30px rgba(16,24,40,.10);
}

.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title > a {
    display: block;
    text-decoration: none !important;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title > a::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(17,24,39,.07);
    margin-top: 12px;
}

.woocommerce ul.products li.product-category mark.count {
    display: none !important;
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    box-shadow: none;
    text-decoration: none;
}

@media (hover:hover) {
    .woocommerce ul.products li.product-category:hover a.ct-media-container {
        transform: translateY(-4px);
        box-shadow: 0 16px 45px rgba(16,24,40,.16);
    }
}

@media (min-width: 640px) {
    .woocommerce ul.products.columns-3,
    .woocommerce-page ul.products.columns-3,
    ul.products.columns-3[data-products] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products.columns-3,
    .woocommerce-page ul.products.columns-3,
    ul.products.columns-3[data-products] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product-category a.ct-media-container img {
        height: 220px;
    }
}

@media (max-width: 380px) {
    .woocommerce ul.products li.product-category a.ct-media-container img {
        height: 200px;
    }
}

.woocommerce ul.products li.product-category:nth-child(1) { animation-delay: 0.05s; }
.woocommerce ul.products li.product-category:nth-child(2) { animation-delay: 0.15s; }
.woocommerce ul.products li.product-category:nth-child(3) { animation-delay: 0.25s; }
.woocommerce ul.products li.product-category:nth-child(4) { animation-delay: 0.35s; }
.woocommerce ul.products li.product-category:nth-child(5) { animation-delay: 0.45s; }
.woocommerce ul.products li.product-category:nth-child(6) { animation-delay: 0.55s; }

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

/* ==============================
   HERO SIGNATURE ANIMATION
============================== */

.wp-image-771 {
    opacity: 0;
    animation: hanSignatureIn 1s ease-out forwards,
               hanSignatureFloat 6s ease-in-out 1s infinite;
}

@media (min-width: 1024px) {
    .wp-image-771 {
        max-width:150px;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
}

@keyframes hanSignatureIn {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes hanSignatureFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .wp-image-771 {
        animation: none;
        opacity: 0.9;
    }
}

/* ==============================
   PRELOADER
============================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader .spinner img {
    width: 200px;
    height: auto;
    animation: fadeInOut 2.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

/* ==============================
   ABOUT PAGE
============================== */

.han-about-clean {
    background: #ffffff;
    color: #111827;
    padding: 60px 0 30px;
}

.han-about-clean,
.han-about-clean * {
    box-sizing: border-box;
}

.han-about-inner {
    width: min(1180px, calc(100% - 12px));
    margin: 0 auto;
}

.han-about-head {
    margin-top: 50px;
    margin-bottom: 24px;
}

.han-about-head p {
    margin: 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.75;
    color: #374151;
}

.han-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
    gap: 28px;
    align-items: start;
}

.han-about-section {
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
}

.han-about-section:last-child {
    margin-bottom: 0;
}

.han-about-section p {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.9;
    color: #1f2937;
}

.han-about-section p:last-child {
    margin-bottom: 0;
}

.han-about-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.han-about-list-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
}

.han-about-list-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f3f6ff;
}

.han-about-list-icon svg {
    width: 20px;
    height: 20px;
    stroke: #0b1b67;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.han-about-list-item strong {
    display: block;
    margin: 2px 0 4px;
    font-size: 17px;
    line-height: 1.45;
    color: #111827;
}

.han-about-list-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.han-about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 16px;
}

.han-about-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #dbe3ff;
    border-radius: 999px;
    background: #f7f9ff;
    color: #0b1b67;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.han-about-text-top {
    margin-top: 4px;
}

.han-about-sidebox {
    padding: 18px 18px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
}

.han-about-info {
    display: grid;
    gap: 0;
}

.han-about-info-row {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.han-about-info-row:last-child {
    border-bottom: none;
}

.han-about-info-row span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: #6b7280;
}

.han-about-info-row strong {
    display: block;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    color: #111827;
}

.han-about-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid #0b1b67;
    background: #f8fafc;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.han-office-gallery {
    width: 100%;
    margin: 40px 0;
}

.han-about-main,
.han-office-gallery,
.han-image-center {
    min-width: 0;
}

.han-image-center {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.han-image-center img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    border-radius: 12px;
    box-shadow:
        0 6px 20px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.06);
    transition: none;
}

/* ==============================
   CONTACT PAGE
============================== */

.han-contact-page {
    background: #ffffff;
    color: #111827;
    padding: 120px 0 34px;
}

.han-contact-page,
.han-contact-page * {
    box-sizing: border-box;
}

.han-contact-inner {
    width: min(1180px, calc(100% - 12px));
    margin: 0 auto;
}

.han-contact-head {
    margin-bottom: 24px;
}

.han-contact-head p {
    margin: 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.75;
    color: #374151;
}

.han-contact-list {
    display: grid;
    gap: 28px;
}

.han-contact-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 22px;
    align-items: stretch;
}

.han-contact-card,
.han-map-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.han-contact-card {
    padding: 20px 20px 16px;
}

.han-contact-items {
    display: grid;
    gap: 10px;
}

.han-contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid transparent;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.han-contact-item:hover {
    background: #f8faff;
    border-color: #dbe3ff;
    transform: translateY(-1px);
}

.han-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f6ff;
}

.han-contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: #0b1b67;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.han-contact-text {
    color: #111827;
    font-size: 17px;
    line-height: 1.6;
    word-break: break-word;
}

.han-map-card {
    overflow: hidden;
    min-height: 100%;
}

.han-map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.han-contact-divider {
    height: 1px;
    width: 100%;
    max-width: 900px;
    margin: 34px auto;
    background: linear-gradient(
        to right,
        transparent,
        #e5e7eb 20%,
        #dbe3ff 50%,
        #e5e7eb 80%,
        transparent
    );
}

/* ==============================
   SECTION TITLES
============================== */

.han-section-title {
    padding: 0 20px 10px;
    margin: 10px 0 20px;
    animation: hanFadeUp .7s ease both;
}

.han-section-title h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--theme-palette-color-1);
    position: relative;
    display: inline-block;
}

.han-section-title h2::after {
    content: "";
    display: block;
    width: 70%;
    height: 4px;
    margin-top: 10px;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        var(--theme-palette-color-1),
        var(--theme-palette-color-2),
        var(--theme-palette-color-3)
    );
    background-size: 200% 200%;
    animation: hanGradientMove 5s ease infinite;
}

.han-section-title h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--theme-palette-color-1);
    position: relative;
    display: inline-block;
}

.han-section-title h3::after {
    content: "";
    display: block;
    width: 55%;
    height: 3px;
    margin-top: 8px;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        var(--theme-palette-color-1),
        var(--theme-palette-color-2)
    );
    background-size: 200% 200%;
    animation: hanGradientMove 6s ease infinite;
}

.han-about-clean .han-section-title,
.han-contact-page .han-section-title {
    padding: 0 0 10px;
    margin: 10px 0 20px;
}

.han-about-clean .han-section-title h2,
.han-contact-page .han-section-title h2,
.han-about-clean .han-section-title h3,
.han-contact-page .han-section-title h3 {
    margin: 0;
}

@keyframes hanFadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hanGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==============================
   BLOCKSY MOBILE MENU
============================== */

.mobile-menu li::before {
    display: none !important;
}

.mobile-menu .ct-menu-link {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.2px;
    color: #ffffff;
    text-decoration: none;
	text-transform:uppercase;
}

.mobile-menu > ul > li > .ct-menu-link {
    font-size: 18px;
    font-weight: 400;
    padding: 16px 0;
}

.mobile-menu > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.mobile-menu .sub-menu > li > .ct-menu-link {
    font-size: 16px;
    padding: 12px 0 12px 18px;
    opacity: .9;
}

.mobile-menu .sub-menu .sub-menu > li > .ct-menu-link {
    font-size: 15px;
    padding: 10px 0 10px 34px;
    opacity: .8;
}

.mobile-menu .sub-menu .sub-menu .sub-menu > li > .ct-menu-link {
    font-size: 15px;
    padding: 8px 0 8px 50px;
    opacity: .75;
	text-transform:none;
}

.mobile-menu .sub-menu li {
    border: none;
}

.mobile-menu .current-menu-item > .ct-menu-link {
    color: #6ed0ff;
}

/* ==============================
   MOBILE SOCIAL ICONS
============================== */

.han-mobile-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 10px;
}

.han-social {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform .2s ease, opacity .2s ease;
}

.han-social.fb {
    background-image: url('https://hantravel.rs/wp-content/uploads/2026/03/facebook-app-round-white-icon.svg');
}

.han-social.ig {
    background-image: url('https://hantravel.rs/wp-content/uploads/2026/03/instagram-white-icon.svg');
}

.han-social:hover,
.han-social:active {
    transform: scale(1.12);
    opacity: .85;
}

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

@media (max-width: 980px) {
    .han-about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .han-contact-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .han-map-card iframe {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .han-section-title {
        padding: 0 20px 8px;
    }

    .han-section-title h2 {
        font-size: 28px;
    }

    .han-section-title h3 {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .han-about-clean {
        padding: 16px 0 22px;
    }

    .han-contact-page {
        padding: 60px 0 22px;
    }

    .han-about-inner,
    .han-contact-inner {
        width: calc(100% - 8px);
    }

    .han-about-head,
    .han-contact-head {
        margin-bottom: 16px;
    }

    .han-about-head p,
    .han-contact-head p {
        font-size: 16px;
        line-height: 1.7;
    }

    .han-about-section {
        padding: 0 0 16px;
        margin-bottom: 16px;
    }

    .han-about-section p {
        font-size: 16px;
        line-height: 1.75;
    }

    .han-about-sidebox {
        padding: 14px 12px;
        border-radius: 10px;
    }

    .han-about-tags {
        gap: 8px;
    }

    .han-about-tags span {
        min-height: auto;
        padding: 7px 11px;
        font-size: 14px;
    }

    .han-about-list-item {
        grid-template-columns: 34px 1fr;
        gap: 10px;
    }

    .han-about-list-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .han-about-list-icon svg {
        width: 17px;
        height: 17px;
    }

    .han-contact-list {
        gap: 18px;
    }

    .han-contact-card {
        padding: 14px 10px 10px;
        border-radius: 12px;
    }

    .han-map-card {
        border-radius: 12px;
    }

    .han-contact-item {
        grid-template-columns: 36px 1fr;
        gap: 10px;
        min-height: 50px;
        padding: 8px 6px;
        border-radius: 10px;
    }

    .han-contact-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .han-contact-icon svg {
        width: 17px;
        height: 17px;
    }

    .han-contact-text {
        font-size: 16px;
        line-height: 1.55;
    }

    .han-map-card iframe {
        min-height: 240px;
    }

    .han-about-clean .han-section-title,
    .han-contact-page .han-section-title {
        padding: 0 0 8px;
    }
}




/* HEADER DECOR LINE FIX - desktop + mobile */
header[data-id="type-1"] [data-row="middle"] .ct-container {
    position: relative;
}

header[data-id="type-1"] [data-row="middle"] .ct-container::after {
    content: '' !important;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 250px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    ) !important;
    opacity: .9;
    pointer-events: none;
}




@media (min-width: 767px) {
    header[data-id="type-1"] [data-row="middle"] .ct-container::after {
        width: 100%;
    }
}


/*search stranica*/
.search ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
    padding: 50px 0px;
}

.search ul.products li.product-category {
    list-style: none;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    border-radius: 18px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.7s ease forwards;
}

.search ul.products li.product-category a.ct-media-container {
    display: block;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16,24,40,.10);
    transform: translateY(0);
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
}

.search ul.products li.product-category a.ct-media-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,0) 55%);
    pointer-events: none;
}

.search ul.products li.product-category figure {
    margin: 0 !important;
}

.search ul.products li.product-category a.ct-media-container img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.search ul.products li.product-category h2.woocommerce-loop-category__title {
    margin: 0 !important;
    padding: 14px 16px 16px !important;
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 30px rgba(16,24,40,.10);
}

.search ul.products li.product-category h2.woocommerce-loop-category__title > a {
    display: block;
    text-decoration: none !important;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.search ul.products li.product-category h2.woocommerce-loop-category__title > a::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(17,24,39,.07);
    margin-top: 12px;
}

.search ul.products li.product-category mark.count {
    display: none !important;
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    box-shadow: none;
    text-decoration: none;
}

@media (hover:hover) {
    .search ul.products li.product-category:hover a.ct-media-container {
        transform: translateY(-4px);
        box-shadow: 0 16px 45px rgba(16,24,40,.16);
    }
}

@media (min-width: 640px) {
    .search ul.products.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (min-width: 1024px) {
    .search ul.products.columns-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .search ul.products li.product-category a.ct-media-container img {
        height: 220px;
    }
}

@media (max-width: 380px) {
    .search ul.products li.product-category a.ct-media-container img {
        height: 200px;
    }
}

.search ul.products li.product-category:nth-child(1) { animation-delay: 0.05s; }
.search ul.products li.product-category:nth-child(2) { animation-delay: 0.15s; }
.search ul.products li.product-category:nth-child(3) { animation-delay: 0.25s; }
.search ul.products li.product-category:nth-child(4) { animation-delay: 0.35s; }
.search ul.products li.product-category:nth-child(5) { animation-delay: 0.45s; }
.search ul.products li.product-category:nth-child(6) { animation-delay: 0.55s; }

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






/* ===== SEARCH ONLY ===== */

body.search .child-category {
    width: 100% !important;
    margin-top: -10px;
    opacity: 0.9;
}

/* parent full width samo na search */
body.search .product-category:not(.child-category) {
    grid-column: 1 / -1;
}

/* manje slike za child */
body.search .child-category a.ct-media-container img {
    height: 180px !important;
}

/* manji naslov */
body.search .child-category h2.woocommerce-loop-category__title a {
    font-size: 15px !important;
    font-weight: 600;
}

/* slabiji shadow */
body.search .child-category a.ct-media-container {
    box-shadow: 0 6px 18px rgba(16,24,40,.08);
}
/* ===== SEARCH CHILD CARD FIX ===== */

body.search .child-category {
    grid-column: span 1 !important;
    width: 85%;
    margin: 0 auto; /* centriranje */
}

/* reset da se ne razvlači */
body.search .child-category a.ct-media-container {
    width: 100%;
}
@media (max-width: 768px) {

    body.search ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    body.search .product-category:not(.child-category) {
        grid-column: 1 / -1;
    }

}