/* -------------------------------------
   OSNOVNI STILOVI I KONTEJNERI
-------------------------------------- */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    font-weight: 400;
    background-color: #a97a75;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.site-footer{
    background-color: #ffffffe8;
}



/* Globalni fontovi */

/*naslovi */
h1, h2, h3, h4, h5, h6,
.site-title,
.menu-label,
.section-title,
.widget-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Boldirani tekst */
strong, b {
    font-weight: 700;
}


/* -------------------------------------
   HEADER I NAVIGACIJA
-------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 99999;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease, opacity 0.3s ease; 
}

.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 1rem;
    background-color: transparent;
}

/* LOGO savršeno centriran bez obzira na širine lijeve i desne strane */
.logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* da se klik ne lomi ako se logo preklapa */
}

.logo-center a,
.logo-center img {
    max-height: 60px;
    width: auto;
    pointer-events: auto; /* link ostaje klikabilan */
}



.logo-center img.custom-logo {
    max-height: 5rem; /* standardna visina loga */
    height: auto;
    width: auto;
    display: block;
}

.temple-btn-header {
    background-color: transparent;
    color: white;
    padding: 10px 18px;
    font-size: 16px;
    border: 2px solid #d2a66b;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.temple-btn-header:hover {
    background-color: #2e6e57;
}

.hamburger-wrapper {
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: relative;
    z-index: 10001; /* iznad ostalog sadržaja */
    transition: transform 0.3s ease;
}

.line {
    display: block;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    border-radius: 2px;
    transition: 0.3s ease-in-out;
}

/* Aktivno stanje (transformacija u X) */
.hamburger-wrapper.active .line-top {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-wrapper.active .line-bottom {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* -------------------------------------
   HERO SEKCIJA SA VIDEO POZADINOM
-------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-button:hover {
    background: #ddd;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* -------------------------------------
   SEKCIJA USLUGA
-------------------------------------- */
.services-section {
    padding: 60px 20px;
    text-align: center;

}

.naslov-serv h2 {
    color: #fff !important;   
}

.services-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* -------------------------------------
   CJENOVNIK
-------------------------------------- */
.prices-section {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;

}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.price-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.price {
    font-size: 1.8rem;
    color: #000;
    margin: 10px 0;
}

/* -------------------------------------
   KONTAKT FORMA
-------------------------------------- */
.contact-section {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.contact-form button {
    background: #000;
    color: #fff;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #333;
}

/* -------------------------------------
   ANIMACIJA NA SCROLL
-------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------
   FULLSCREEN MENI (3 KOLONE + VIDEO)
-------------------------------------- */
body.menu-open {
    overflow: hidden;
    position: relative;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    z-index: 9998;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    display: none;
    overflow: hidden;
    z-index: 9999;
    color: white;
}

.menu-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.menu-overlay.active .menu-overlay-inner.animating-in {
    transform: translateX(0);
}

.menu-overlay.active .menu-overlay-inner.animating-out {
    transform: translateX(-100%);
}

.menu-column {
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Lijeva kolona (Glavni meni) */
.menu-primary ul {
    list-style: none;
    padding: 0;
}

.menu-primary li {
    font-size: 1.5rem;
    margin-bottom: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-primary li:hover {
    color: #969696;
}

/* Numeracija stavki u meniju */
.menu-index {
    display: inline-block;
    width: 2rem;
    color: #888;
    opacity: 0.5;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-weight: normal;
    min-width: 2.5rem;
}

.menu-primary li:hover .menu-index {
    opacity: 1;
    transform: translateX(8px);
    color: #fff;
}

/* Srednja kolona (Podmeni) */
.menu-column.menu-secondary {
    display: none;
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-overlay.menu-hovered .menu-column.menu-secondary {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}


.menu-secondary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-secondary li {
    margin-bottom: 10px;
}

.menu-secondary a {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-secondary a:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(6px);
    color: #ffd;
}


/* Desna kolona (Video preview) */
.menu-column.menu-video {
    flex: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: flex 0.4s ease;
}

.menu-overlay.menu-hovered .menu-column.menu-video {
    flex: 1;
}

.menu-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}


.menu-video video.fade-in {
    opacity: 1;
    transition: opacity 0.4s ease;
    transform: scale(1);
}

.menu-video video.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
    transform: scale(0.95);
}

.menu-video video:not(.video-wide) {
    object-fit: cover;
}

.menu-video video.loading {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
    transform: scale(0.95);
    transition: none !important;
}


/* X dugme za zatvaranje */
.menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

/* === VIDEO DESCRIPTION === */
.video-description {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: #fff;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 20px;
    border-radius: 6px;
    max-width: 400px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.video-description.visible {
    opacity: 1;
}

/* === VIDEO TRANSITION === */
.menu-video video {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.menu-video video.fade-in {
    opacity: 1;
    transform: scale(1);
}

.menu-video video.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.menu-video video.loading {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
    transform: scale(0.95);
    transition: none !important;
}

.menu-primary .sub-menu {
    display: none !important;
}

.akcijska-ponuda-section {
    padding: 100px 20px;
    background-color: #f7f1e7;
}

.akcijska-ponuda-container {
    max-width: 1200px;
    margin: 0 auto;
}

/*
.menu-toggle {
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 99999;
}

.menu-toggle .bar {
    height: 4px;
    width: 100%;
    background-color: #333;
    border-radius: 4px;
    transition: 0.3s ease;
    transform-origin: center;
}

.menu-toggle.is-active .bar.top {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active .bar.middle {
    opacity: 0;
}

.menu-toggle.is-active .bar.bottom {
    transform: rotate(-45deg) translate(5px, -5px);
}
*/


.temple-confirm-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.temple-confirm-popup .popup-inner {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    animation: fade-in 0.3s ease;
}

.temple-confirm-popup .popup-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.top-divider {
    border: none;
    border-top: 2px solid #d2a66b;
    margin: 0 auto;
    width: 80%;
    max-width: 1600px; /* po želji */
}

.secondary-navigation {
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.secondary-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.secondary-menu li {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.secondary-menu li a {
    color: white;
    text-decoration: none;
    padding: 6px 10px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

.secondary-menu li a:hover {
    color: #d2a66b;
    border-bottom: 1px solid #d2a66b;
}

body.menu-open .top-divider,
body.menu-open .secondary-navigation {
    display: none !important;
}

.site-header {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    left: 5%;
    transform: translateY(15%);
    width: 90%;
    background-color: #fff;
    background-color: #ffffffe8;
    box-shadow: 0 2px 8px rgba(5,5,5,5);
    z-index: 9999;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}



.site-header.scrolled .logo-center a,
.site-header.scrolled .secondary-menu li a,
.site-header.scrolled button  {
    color: #333;
}

#hamburger .bar {
    width: 26px;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Kad je meni otvoren (X animacija) – linije postanu bijele */
body.menu-open #hamburger .bar {
    background-color: #fff !important;
}

.rituali-content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.rituali-left {
    flex: 1;
    max-width: 560px;
}

.rituali-title .purple {
    color: #4c1a57;
    font-size: 3rem;
    font-weight: 600;
}

.rituali-title .gold {
    color: #c3965a;
    font-size: 3.2rem;
    font-weight: 400;
}

.rituali-description {
    font-size: 1.1rem;
    margin: 20px 0 30px;
    color: #666;
}

.rituali-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.rituali-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rituali-columns li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
    position: relative;
    padding-left: 16px;
}

.rituali-columns li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #c3965a;
}

.rituali-btn {
    margin-top: 30px;
    display: inline-block;
    background-color: #1a1a1a;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.rituali-btn:hover {
    background-color: #333;
}

.rituali-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.rituali-img-top {
    z-index: 3;
    position: relative;
    margin-top: 40px;
}

.rituali-img-bottom {
    position: absolute;
    top: -40px;
    right: -60px;
    z-index: 2;
}

.rituali-right {
    position: relative;
    width: 360px;
    height: 360px;
    margin: 0 auto;
}

.rituali-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7rem;
    width: 100%;
    height: 100%;
    border: 4px solid #d8c8a1;
    z-index: 1;
    pointer-events: none;
}

.rituali-img-top,
.rituali-img-bottom {
    position: absolute;
    width: 24rem;
    aspect-ratio: 1 / 1;
    z-index: 2;
    border: solid 3px;
    border-radius: 10px;
    border-color: #d8c4a3;
}

.rituali-img-top {
    top: -4rem;
    right: 0rem;
}

.rituali-img-bottom {
    top: 12rem;
    left: 3rem;
}

.rituali-img-top img,
.rituali-img-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* === Kvadratni obrub === */
.rituali-right::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 380px;
    height: 380px;
    border: 6px solid #d8c4a3;
    z-index: 1;
}


/* ================================
   RESPONSIVE DESIGN – MOBILNI & TABLETI
=================================== */

@media (min-width: 992px) {
    .sticky-mobile-button {
    display: none;
    }
}


/* ≤ 1400px */
@media (max-width: 1400px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }

    .rituali-columns {
        flex-direction: column;
        gap: 30px;
    }
}

/* ≤ 1200px */
@media (max-width: 1200px) {
    .header-container {
        width: 90%;
    }

    .rituali-right {
        width: 320px;
        height: 320px;
    }

    .rituali-right::before {
        width: 300px;
        height: 300px;
    }

    .rituali-img-top,
    .rituali-img-bottom {
        width: 18rem;
    }
}

/* ≤ 992px */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo-center img.custom-logo {
        max-height: 4rem;
    }

    .menu-column.menu-primary li {
        font-size: 1.3rem;
    }

    .menu-secondary a {
        font-size: 1rem;
    }

    .rituali-title .gold,
    .rituali-title .purple {
        font-size: 2.2rem;
    }

    .rituali-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* ≤ 768px — TABLETI */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .temple-btn-header {
        font-size: 14px;
        padding: 8px 12px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-button {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .menu-overlay-inner {
        flex-direction: column;
        overflow-y: scroll;
    }

    .menu-column.menu-primary,
    .menu-column.menu-secondary,
    .menu-column.menu-video {
        flex: unset;
        width: 100%;
        padding: 20px;
    }

    .menu-video video {
        max-height: 250px;
    }

    .rituali-content-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 15px;
    }

    .rituali-right {
        width: 280px;
        height: 280px;
        bottom: 55rem !important;
    }

    .rituali-right::before {
        width: 260px;
        height: 260px;
    }

    .rituali-img-top,
    .rituali-img-bottom {
        width: 5rem;
    }

    .rituali-img-top {
        top: 2rem;
        right: -4rem;
    }

    .rituali-img-bottom{
    top: 8rem;
    left: 13rem;
    }

    .secondary-menu {
        flex-direction: column;
        gap: 10px;
    }
        .secondary-navigation {
        display: none !important;
    }

    .top-divider {
        display: none !important;
    }
    html, body {
    overflow-x: hidden;
    }
    .page-overlay-box{
        padding: 10px 30px !important;
    }
    .has-text-align-center{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .wp-block-cover, 
    .wp-block-cover-image {
        min-height:22rem;
    }

    .wp-block-cover p{
        font-size: 0.8rem !important;
    }

    .wp-block-cover h2{
        font-size: 1.5rem !important;
    }
    .has-text-align-center strong {
        font-size: 0.5rem !important;
    }

}

/* ≤ 576px — MOBITELI */
@media (max-width: 576px) {
    .logo-center img.custom-logo {
        max-height: 3.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-button {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .menu-primary li {
        font-size: 1.1rem;
    }

    .menu-secondary a {
        font-size: 0.95rem;
        padding: 4px 8px;
    }

    .menu-video video {
        height: 200px;
        object-fit: cover;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .rituali-title .gold,
    .rituali-title .purple {
        font-size: 1.8rem;
    }

    .rituali-img-top,
    .rituali-img-bottom {
        width: 5rem;
    }

    .rituali-right::before {
        display: none;
    }

    .menu-overlay-inner {
        flex-direction: column;
        padding: 10px;
    }

    .top-divider {
        width: 100%;
    }

    .temple-confirm-popup .popup-inner {
        max-width: 90%;
    }
}

/* ≤ 400px — STARi TELEFONI */
@media (max-width: 400px) {
    .temple-btn-header {
        font-size: 13px;
        padding: 6px 10px;
    }

    .hamburger .bar {
        width: 22px;
        height: 2px;
    }

    .secondary-menu li {
        font-size: 13px;
    }

    .price-card {
        padding: 20px 15px;
    }

    .contact-form button {
        font-size: 0.9rem;
    }
}


/* ========== STICKY DUGME ZA MOBITELE ========== */
@media (max-width: 576px) {
    .sticky-mobile-button {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #d2a66b;
        color: #fff;
        padding: 12px 24px;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: bold;
        z-index: 10001;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .sticky-mobile-button:hover {
        background-color: #a97a75;
    }
}

/* ========== SAKRIJ VIDEO KOLONU NA MOBITELIMA ========== */
@media (max-width: 576px) {
    .menu-column.menu-video,
    .menu-column.menu-video video {
        display: none !important;
    }

    .menu-column.menu-secondary {
        flex: unset;
        width: 100%;
    }
}

/* ========== ACCORDION MENI ZA < 480px ========== */
@media (max-width: 480px) {
    .menu-primary li {
        position: relative;
    }

    .menu-primary li .menu-label::after {
        content: '▾';
        position: absolute;
        right: 10px;
        font-size: 1rem;
        color: #ccc;
    }

    .menu-primary li.active-sub > .menu-label::after {
        content: '▴';
    }

    .menu-secondary {
        display: none !important;
    }

    .menu-primary li.active-sub + .menu-column.menu-secondary {
        display: block !important;
    }
}


@media (max-width: 768px) {
    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        padding: 10px 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: relative;
        margin-bottom: 0;
    }

    #hamburger {
        justify-self: start;
        z-index: 10;
    }

    .temple-btn-header {
        justify-self: end;
        font-size: 14px;
        padding: 8px 12px;
        border: 2px solid #d2a66b;
        color: #fff;
        background: transparent;
        border-radius: 6px;
        z-index: 10;
    }

    .temple-btn-header .calendar-icon {
        font-size: 18px;
        color: #d2a66b;
    }

    .logo-center {
        grid-column: 1 / 4;
        justify-self: center;
        text-align: center;
        pointer-events: none;
        z-index: 5;
    }

    .logo-center a,
    .logo-center img {
        pointer-events: auto;
        max-height: 50px;
        width: auto;
        display: inline-block;
    }
}


    .temple-btn-header .calendar-icon {
        display: none;
        font-size: 18px;
        color: #d2a66b; /* tvoja tematska zlatna nijansa */
    }

    /* Samo na mobilnim uređajima: prikaži ikonu, sakrij tekst */
@media (max-width: 768px) {
        .temple-btn-header .text-label {
            display: none;
        }

        .temple-btn-header .calendar-icon {
            display: inline-block;
        }
}

@media (max-width: 768px) {
  .temple-toast {
    top: auto !important;
    bottom: 100px; /* iznad sticky dugmeta */
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
  }
}

    .temple-crm-popup.active ~ .sticky-mobile-button {
    display: none !important;
    }

    body.popup-open .sticky-mobile-button {
        display: none !important;
    }

    .sticky-mobile-button.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.temple-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.temple-spinner {
    border: 5px solid #d2a66b;
    border-top: 5px solid transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* === LOADING OVERLAY FIX ZA SVE UREĐAJE === */
#temple-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    pointer-events: all;
}

#temple-loading-overlay .temple-spinner {
    border: 5px solid #d2a66b;
    border-top: 5px solid transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Spriječi body da scrolla dok je popup aktivan */
body.popup-active, body.popup-open {
    overflow: hidden;
    position: relative;
}



