.invalidClassSpan {
    color: #ff5273;
    content: "×";
    font-size: 2em;
    line-height: 1;
}

.invalidClassInput {
    border-color: #ff5273 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.reason-block p {
    column-span: all;
}

.hidden {
    display: none;
}


.reviews caption, .in_process_order caption, .finish_order caption {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    -webkit-clip-path: inset(0% 100% 100% 0%);
    clip-path: inset(0% 100% 100% 0%);
    word-wrap: normal;
}

.status_0 {
    color: red;
}

.status_1 {
    color: #8dc63f;
}


.main-layout {
    min-width: 14em;
    max-width: 100%;
    -webkit-box-flex: 4;
    -ms-flex: 4 0 calc((38rem - 100%) * 999);
    flex: 4 0 calc((38rem - 100%) * 999);
}

.main-layout > section {
    /*border: 1px solid #c9d0dd;*/
    padding: 3rem 4vw;
    position: relative;
    margin: 3rem 0 9em;
}

.loader {
    border: 8px solid #faf6f1;
    border-top: 8px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.button-disconnect {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 16px;
    height: 16px;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    outline: none
}

.button-disconnect:hover:after {
    background: url('../icons/icon-close-tiny-16-9ca68.svg') center no-repeat;
    width: 16px;
    height: 16px;
    background-color: #eed7d6;
    border-radius: 50%
}

.button-disconnect:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    margin: auto;
    content: "";
    background: url('../icons/icon-close-tiny-16-fe6c5.svg') center no-repeat;
    width: 16px;
    height: 16px
}



@media (min-width: 55.5em) {
    .h2 {
        margin: 1.875rem 0 calc(1.875rem / 2);
    }
}

@media (min-width: 55.5em) {
    .h2 {
        font-size: 1.875rem;
    }
}

.h2 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 1.375rem 0 calc(1.375rem / 2);
    overflow-wrap: break-word;
}

.ad-banner .h2, .ad-banner-center .h2, .ad-banner-right .h2 {
    font-size: 1.625rem;
    margin-top: calc(1.7 * 1rem);
}

.ad-banner .h2 + .p, .ad-banner-center .h2 + .p, .ad-banner-right .h2 + .p {
    margin-top: 0;
}

.ad-banner .h2 {
    text-align: left;
}

@media (min-width: 55.5em) {
    .ad-banner .h2, .ad-banner-center .h2, .ad-banner-right .h2 {
        font-size: 2.0625rem;
    }
}

.ad-banner-right > a > [class*=content], .ad-banner > a > [class*=content], .ad-banner-center > a > [class*=content] {
    color: #fff;
}

.ad-banner-right > a > [class*=content], .ad-banner > a > [class*=content], .ad-banner-center > a > [class*=content] {
    width: clamp(27em, 50%, 100% - 6vw);
}

.ad-banner-right > a > [class*=content], .ad-banner > a > [class*=content], .ad-banner-center > a > [class*=content] {
    align-self: flex-end;
    grid-area: banner;
    padding: 4vw;
    z-index: 2;
}

.cart-extra-delivery {
    padding: 15px;
    /* border: 2px dashed #ff9800; */
    border-radius: 5px;
    background-color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.delivery-select {
    width: 100%;
    padding: 12px;
    font-size: 1.5em;
    border: 2px solid #ffcc00;
    background-color: #fff8e1;
    color: #333;
    border-radius: 5px;
    animation: highlight 1.5s ease-in-out infinite alternate;
    transition: box-shadow 0.3s ease;
    overflow: visible !important;
    z-index: 10;
    position: relative;
}

.delivery-select:focus {
    box-shadow: 0 0 15px #f7e88e;
}

.delivery-note {
    margin-top: 5px;
    font-size: 0.9em;
    color: #616161;
}

.promo-form ul .li_delivery {
    padding-top: 10px;
    overflow: visible;
}

/* Animacija sjene za isticanje */
@keyframes highlight {
    0% {
        box-shadow: 0 0 8px #ff9800;
    }
    100% {
        box-shadow: 0 0 15px #f7e88e;
    }
}


@media (min-width: 768px) {
    .cart-extra-delivery {
        margin-top: 0 !important
    }
}

/* Floating ikona košarice */
.floating-cart-icon {
    position: fixed;
    top: 50%;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #303945;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.floating-cart-icon::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2224%22%20viewBox%3D%222%200%2020%2024%22%3E%3Cpath%20d%3D%22M21%205h-4c0-2.8-2.2-5-5-5S7%202.2%207%205H3c-.6%200-1%20.4-1%201v17c0%20.6.4%201%201%201h18c.6%200%201-.4%201-1V6c0-.6-.4-1-1-1Zm-9-3c1.7%200%203%201.3%203%203H9c0-1.7%201.3-3%203-3Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%3C%2Fsvg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.floating-cart-icon:hover {
    background-color: #8dc63f;
    transform: scale(1.1);
}


.floating-cart.show + .floating-cart-icon {
    display: none;
}



/* Ivančica Section Styles */
.ivancica-section {
    position: relative;
    width: 100%;
}

/* Padding Classes */
.ivancica-padding-top-0 {
    padding-top: 0;
}

.ivancica-padding-top-1 {
    padding-top: 1rem;
}

.ivancica-padding-top-2 {
    padding-top: 2rem;
}

.ivancica-padding-top-3 {
    padding-top: 3rem;
}

.ivancica-padding-top-4 {
    padding-top: 4rem;
}

.ivancica-padding-top-5 {
    padding-top: 5rem;
}

.ivancica-padding-bottom-0 {
    padding-bottom: 0;
}

.ivancica-padding-bottom-1 {
    padding-bottom: 1rem;
}

.ivancica-padding-bottom-2 {
    padding-bottom: 2rem;
}

.ivancica-padding-bottom-3 {
    padding-bottom: 3rem;
}

.ivancica-padding-bottom-4 {
    padding-bottom: 4rem;
}

.ivancica-padding-bottom-5 {
    padding-bottom: 5rem;
}

/* Column Padding */
.ivancica-columns-padding-0 {
    padding: 0;
}

.ivancica-columns-padding-1 {
    padding: 1rem;
}

.ivancica-columns-padding-2 {
    padding: 2rem;
}

.ivancica-columns-padding-3 {
    padding: 3rem;
}

.ivancica-columns-padding-4 {
    padding: 4rem;
}

.ivancica-columns-padding-5 {
    padding: 5rem;
}

/* Container Types */
.ivancica-container-fluid {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

.ivancica-container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .ivancica-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .ivancica-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .ivancica-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .ivancica-container {
        max-width: 1140px;
    }
}

/* Section Tags */
.ivancica-header {
    position: relative;
    width: 100%;
    z-index: 100;
}

.ivancica-footer {
    position: relative;
    width: 100%;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ivancica-padding-top-5,
    .ivancica-padding-bottom-5,
    .ivancica-columns-padding-5 {
        padding: 3rem;
    }

    .ivancica-padding-top-4,
    .ivancica-padding-bottom-4,
    .ivancica-columns-padding-4 {
        padding: 2rem;
    }
}


.bg-light {
    background-color: #f7f9fc;
}

.bg-white {
    background-color: #ffffff;
}

.lightbox-sniper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.lightbox-sniper-content {
    background: #fff;
    max-width: 500px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.lightbox-sniper-close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 14px;
    border-radius: 30px;
    background: #2b2e3b;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.navigation-load-more {
    justify-self: end;
    align-self: center;
    padding-right: 10px;
    font-size: 14px;
    font-weight: bold;
    grid-column: -2 / -1;
}


/* KARTICA */
.sidebar-card {
    background: #0ea5e9; /* plava */
    color: #8dc63f;
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

/* reset */
.sidebar-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-items > li {
    margin: 10px 0;
}

/* L2 link (naslovi – Baby, Djevojčice, Dječaci...) */
.sidebar-items .level-2 > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 700;
    color: #8dc63f;
    text-decoration: none;
    padding: 4px 0;
}

/* + / − indikator */
.sidebar-items .level-2.has-children > a .toggle {
    font-weight: 800;
    opacity: .9;
}

/* aktivna i parent stanja */
.sidebar-items .level-2.active > a {
    text-decoration: underline;
}

.sidebar-items .level-2.parent > a {
    text-decoration: none;
}

/* L3 lista (djeca) */
.sidebar-items .collapsible ul {
    list-style: none;
    margin: 6px 0 8px;
    padding-left: 0;
}

.sidebar-items .level-3 > a {
    color: #8dc63f;
    text-decoration: none;
    display: block;
    padding: 2px 0 2px 14px;
    position: relative;
    font-weight: 600;
    opacity: .98;
}

/* crtice ispred L3 (kao na slici) */
.sidebar-items .level-3 > a::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
}

/* collapse animacija */
.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}

.collapsible.is-open {
    max-height: 1200px;
}

/* dovoljno veliko */

/* stanja boje kod hovera (suptilno) */
.sidebar-items a:hover {
    text-decoration: underline;
}

/* ako imaš dublje razine – koristi iste principe */
.children-l4 .level-4 > a {
    padding-left: 28px;
}

/* layout linka koji služi samo kao toggle */
.sidebar-items .toggle-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

/* ne-klikabilna (ne navigira) */
.sidebar-items .toggle-link[aria-disabled="true"] {
    pointer-events: auto; /* ostavi događaje za JS */
}

/* plus/minus */
.sidebar-items .toggle-icon {
    font-weight: 800;
    margin-left: 8px;
    user-select: none;
}

/* collapse animacija (već imaš, ali za svaki slučaj) */
.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}

.collapsible.is-open {
    max-height: 1200px;
}

/* aktivne oznake (iz PHP-a) */
.sidebar-items li.active > a,
.sidebar-items a.active {
    text-decoration: underline;
    font-weight: 700;
}

.sidebar-items li.parent > a {
    font-weight: 700;
}

/* primjer za uvučene razine */
.sidebar-items .level-3 > a {
    padding-left: 14px;
    position: relative;
}

.sidebar-items .level-3 > a::before {
    content: "-";
    position: absolute;
    left: 0;
}



.category-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.category-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}


.card {
    border-radius: 0.25rem 0.25rem 1.5rem 0.25rem;
    border-style: solid;
    border-color: #E5EEDA;
    border-width: 0.0625rem;
}

.card-img, .card-img-top {
    border-radius: 0.25rem 0.25rem 1.5rem 0.25rem;
    border-bottom: 3px solid #6da136;
}

.card a {
    text-decoration: none;
}

.card-body {
    box-sizing: border-box;
    padding: 1.5rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;

}



.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

/* Loyalty benefits checkbox hint */
.loyalty-benefits-hint {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

.payment-icon{
    width:70px;
    height:auto;
}

.froddo-club [disabled].cta-link,
[disabled].add-cart,
.add-cart[disabled],
.add-cart.disabled {
    background-color: #c9d0dd;
    background-image: none;
    cursor: not-allowed;
    color: #999999;
}

.froddo-club [disabled].cta-link:focus,
[disabled].add-cart:focus,
.add-cart[disabled]:focus,
.add-cart.disabled:focus, [disabled].button:hover,
.froddo-club [disabled].cta-link:hover,
[disabled].add-cart:hover,
.add-cart[disabled]:hover,
.add-cart.disabled:hover, [disabled].button:active,
.froddo-club [disabled].cta-link:active,
[disabled].add-cart:active,
.add-cart[disabled]:active,
.add-cart.disabled:active{
    color: #999999;
}


.payment-icon{
    width:70px;
    height:auto;
}

.froddo-club [disabled].cta-link,
[disabled].add-cart,
.add-cart[disabled],
.add-cart.disabled {
    background-color: #c9d0dd;
    background-image: none;
    cursor: not-allowed;
    color: #999999;
}

.froddo-club [disabled].cta-link:focus,
[disabled].add-cart:focus,
.add-cart[disabled]:focus,
.add-cart.disabled:focus, [disabled].button:hover,
.froddo-club [disabled].cta-link:hover,
[disabled].add-cart:hover,
.add-cart[disabled]:hover,
.add-cart.disabled:hover, [disabled].button:active,
.froddo-club [disabled].cta-link:active,
[disabled].add-cart:active,
.add-cart[disabled]:active,
.add-cart.disabled:active{
    color: #999999;
}

.cta9v2-wrapper {
    display: flex;
    width: 100%;
    min-height: 420px;
    position: relative;
}

.cta9v2-left-side {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.cta9v2-left {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.cta9v2-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    text-align: left;
}

.cta9v2-right-side {
    flex: 1 1 50%;
    position: relative;
}

.cta9v2-right-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Hide right-side image on mobile */
@media (max-width: 768px) {
    .cta9v2-wrapper {
        flex-direction: column;
    }

    .cta9v2-right-side {
        display: none;
    }

    .cta9v2-left-side {
        padding: 40px 20px;
    }
}

.hero-grid-wrapper {
    display: flex;
    width: 100%;
    min-height: 450px;
}

.hero-grid-left {
    position: relative;
    width: 50%;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    box-sizing: border-box;
}

.hero-grid-left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-grid-left-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.hero-grid-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
button.CookiebotWidget-logo{
    min-width: 2rem!important;
}

.hero-btn {
    background: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: #000;
}

.hero-grid-right {
    width: 50%;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    box-sizing: border-box;
}

.pg-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

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

.pg-meta {
    margin-top: 10px;
}

.pg-title {
    font-weight: 600;
    display: block;
}

.pg-price {
    font-size: 14px;
    opacity: 0.8;
    display: block;
}

.pg-icon img {
    width: 22px;
    height: auto;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-grid-wrapper {
        flex-direction: column;
    }

    .hero-grid-left,
    .hero-grid-right {
        width: 100%;
        padding: 20px;
    }

    .hero-grid-right {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}


.suggestions-box .no-results {
    color: #98a1ad;
    font-style: italic;
    text-align: center;
    padding: 1rem 0.5rem;
    cursor: default;
}

.suggestions-box .no-results:hover {
    background-color: transparent !important;
}


.product-short-description{
    padding:0 1rem;
}