* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding);
    color-scheme: light dark;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text);
    background-color: var(--backgroundlight);
}

.menu-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--darkoverlay);
    backdrop-filter: var(--backdropblur);
    visibility: hidden;
    opacity: 0;
    transition: all 350ms ease-in-out;
}

.menu-overlay--visible {
    visibility: visible;
    opacity: 1;
    z-index: 50;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
}

.uppercase {
    text-transform: uppercase;
}

.bold {
    font-weight: 600;
}

.razmak {
    padding-inline: 3px;
}

.intro {
    position: absolute;
    top: 0em;
    font-size: 1px;
    color: red;
    user-select: none;
}

img {
    display: block;
    width: 100%;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    background: var(--headerlight);
    backdrop-filter: var(--backdropblur);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
    transition: 500ms ease-in-out;
    z-index: 200;
}

.header-alert-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 50%;
    opacity: 1;
    visibility: visible;
    background-color: var(--backgroundred);
    transition: all 250ms ease-in;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
    display: none;
}

.header-alert-container-hide {
    max-height: 0px;
    visibility: hidden;
    opacity: 0;
}

.header-alert {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #f2f2f2;
    padding: .5em 1em;
}

.header-alert-logo,
.header-alert-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-alert-content {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.header-alert-jelo {
    padding: 0 5px;
    color: goldenrod;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .35);
    text-decoration: none;
}

.header-alert-logo img {
    width: 7em;
    height: 2em;
    margin-left: 5px;
}

.header-alert-razmak {
    font-size: 1.5em;
    font-weight: 200;
    padding: 0 15px;
}

.header-alert-close {
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    color: #f2f2f2;
    padding: 0 .35em;
    border-top: 1px solid #f2f2f2;
    cursor: pointer;
}

.header-dark {
    background: var(--headerred);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .35);
}

.menu-toggle {
    display: none;
}

.skip-nav-link {
    position: absolute;
    left: .35rem;
    background: var(--backgroundgreen);
    color: var(--textlight);
    text-decoration: none;
    padding: .5rem 1.5rem;
    border-radius: 0 0 .25rem .25rem; 
    transform: translateY(-120%);
    transition: transform 325ms ease-in;
}

.skip-nav-link:focus {
    transform: translateY(0);
}

nav {
    position: relative;
    width: 100%;
    max-width: 1570px;
    height: 6em;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.nav-logo-link {
    width: 220px;
    margin-right: 3em;
    margin-bottom: .5em;
}

li {
    display: inline-block;
    margin: 0 .35em;
}

.nav-link {
    padding: .35em;
    color: var(--textdark);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
}

.nav-link-active {
    position: relative;
}

.nav-link-active::before {
    position: absolute;
    content: '';
    top: 12px;
    left: -6px;
    width: 10px;
    height: 10px;
    background-color: var(--backgroundgreen);
    border-radius: 50%;
}

.header-dark .nav-link-active::before {
    background-color: var(--navlinkframe);
}

.header-dark .nav-link:hover,
.header-dark .nav-link:focus {
    border: 2px solid var(--borderdark);
}

.header-dark .nav-link {
    color: var(--textlight);
}

.nav-link:hover,
.nav-link:focus {
    border: 2px solid var(--bordergreen);
    border-radius: 5px;
}

.zastava img {
    width: 35px;
    height: 25px;
    margin-bottom: -6px;
    border: 1px solid var(--borderdark);
    border-radius: 10px 25px 10px 25px;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,.35));
    transition: 250ms ease-in-out;
}

.zastava img:hover,
.zastava img:focus {
    transform: scale(1.1);
}

.nav-right {
    position: relative;
    text-align: center;
    margin-left: auto;
}

.nav-right a {
    color: var(--textdark);
    font-size: 32px;
    border: 2px solid var(--borderdark);
    border-radius: 5px;
    padding: 0.2em 0.1em 0 0.1em;
    cursor: pointer;
    transition: 350ms ease-out;
}

.header-dark .nav-right a {
    color: #f2f2f2;
    border: 2px solid #f2f2f2;
}

.nav-right a:hover,
.nav-right a:focus {
    color:royalblue;
    border: 2px solid var(--borderblue);
}

.dark-mode-toggle {
    position: absolute;
    top: 0;
    left: 3em;
    background-color: var(--backgroundlight); 
    padding: .5em;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
    transition: 250ms ease-in-out;
}

.dark-mode-toggle img {
    width: 25px;
}

.cart span {
    position: absolute;
    top: -1em;
    right: -.5em;
    width: 20px;
    height: 20px;
    background-color: var(--backgroundblue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1px;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--borderdark);
    border-radius: 5px;
    cursor: pointer;
}

.header-dark .cart span {
    border: 1px solid var(--borderdark);
}

.kosarica {
    position: absolute;
    bottom: -1.5em;
    left: 50%;
    transform: translateX(-50%);
    font-size: .8rem;
    font-weight: 600;
    color: var(--textdark);
    text-transform: uppercase;
}

.header-dark .kosarica {
    color: var(--textdark);
}

/*------------HERO section-------------------*/

.hero {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    background-attachment: fixed; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.index-background {
    background-image: url("../images/backgrounds/dostavno_vozilo_medulin_background.jpg");
    background-position: 45% 75%;
    background-color: rgb(65, 105, 225, .5);
    background-blend-mode: multiply;
}

.pizza-background {
    background-image: url("../images/backgrounds/pizza_peperoncino_background.jpg");
}

.hladna-predjela-background {
    background-image: url("../images/backgrounds/hladna_predjela_background.jpg");
    background-position: 20% 50%;
}

.juhe-background {
    background-image: url("../images/backgrounds/juhe_background.jpg");
    background-position: 40% 100%;
}

.domaca-pasta-background {
    background-image: url("../images/backgrounds/domaca_pasta_background.jpg");
    background-position: 45% 100%;
}

.riba_meso_padele-background {
    background-image: url("../images/backgrounds/riba_meso_padele_background.jpg");
    background-position: 73% 50%;
}

.salate-background {
    background-image: url("../images/backgrounds/salate_background.jpg");
    background-position: 40% 50%;
}

.sendvic-background {
    background-image: url("../images/backgrounds/sendvic_background.jpg");
    background-position: 40% 50%;
}

.deserti-background {
    background-image: url("../images/backgrounds/deserti_background.jpg");
    background-position: 40% 100%;
}

.hero-container {
    position: relative;
    width: 95%;
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5em 0em 7em 0em;
}

.language-link-mobile {
    display: none;
}

.share-me {
    position: absolute;
    top: 7em;
    right: calc(50% - 280px);
    width: 28px;
    height: 31px;
    cursor: pointer;
    z-index: 100;
    display: none; /*ako navigator share postoji, postavlja display: block*/
}

.share-me::before {
    position: absolute;
    content: 'share';
    top: 30px;
    left: -3px;
    font-size: .75rem;
}

.dostavljamo {
    position: relative;
    width: 90%;
    max-width: 700px;
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: var(--backdropblur);
    padding: .75em;
    color: var(--textdostavljamo);
    font-size: 1.35rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid lightgrey;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .1);
}

.bozic {
    position: absolute;
    inset: 0;
    display: block;
}

.bozic::before {
    position: absolute;
    content: '';
    top: -70px;
    left: -70px;
    width: 200px;
    height: 200px;
    background-image: url("../../png/bozicni_ukras1.png");
}

.bozic::after {
    position: absolute;
    content: '';
    top: -70px;
    right: -70px;
    width: 200px;
    height: 200px;
    background-image: url("../../png/bozicni_ukras2.png");
}

.logo {
    width: 90%;
    max-width: 800px;
    margin-block: 4em;
}

.logo img {
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,.5));
}

.logo--1 {
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,.5));
}

.podnaslov {
    width: 70%;
    max-width: 600px;
    font-size: 2em;
    color: #f2f2f2;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,.6);
    letter-spacing: 1px;
    margin-bottom: 3em;
}

.how-to-order {
    margin-block: 1em;
    color: rgba(230, 230, 230, .7);
    text-transform: uppercase;
    text-shadow: 0px 0px 2px black,
                 0px 0px 2px black,
                 0px 0px 2px black,
                 0px 0px 2px black;
}

.minimalni-iznos {
    color: #f2f2f2;
    text-align: center;
    text-shadow: 1px 1px rgba(0, 0, 0, .5);
    margin-bottom: .25em;
}

.minimum-dostave {
    font-weight: 600;
    margin-left: 5px;    
}

.here {
    width: 70%;
    max-width: 370px;
    margin-top: 2em;
    border: none;
    background: transparent;
    color: #f2f2f2;
    font-size: 1.25rem;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 1px 1px rgba(0, 0, 0, .5);
    cursor: pointer;
    border-bottom: 1px dotted #f2f2f2;
    padding: 3px;
}

/*----------------MENU section----------------------------*/
.menu-container {
    position: relative;
    width: 98%;
    max-width: 1580px;
    margin: 0 auto;
    border-radius: 15px 15px 0px 0px;
    margin-top: -4.65em; 
    scroll-padding: 6.25em;   
}

.menu-container::before {
    position: absolute;
    content: '';
    top: 4.65em;
    left:-16px;
    right: -16px;
    bottom: -1em;
    border-inline: 1px solid var(--borderinlinelight);
}

.menu-titles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
}

.menu-titles a {
    display: block;
    color: white;
    text-decoration: none;
}
    
.menu-title {
    position: relative;
    flex: 1 1 33%;    
    background: black;
    color: var(--navlinklight);
    font-family: "Amatic SC", cursive;
    font-size: 2.8rem;
    padding: .2em;
    z-index: 10;  
}

.menu-active {
    background: var(--backgroundred);
}

.menu-title:hover,
.menu-title:focus {
    background: #990000;
    background-image: linear-gradient(145deg, rgba(0,0,0,0), rgba(0,0,0,.25));
    transition: 250ms ease-out;
}

.menu-title:nth-child(1),
.menu-title:nth-child(2),
.menu-title:nth-child(3) {
    border-top: none;
}

.menu-title:nth-child(1) {
    border-radius: 10px 0px 0px 0px;
}

.menu-title:nth-child(3) {
    border-radius: 0px 10px 0px 0px;
}

.menu-title:nth-child(4),
.menu-title:nth-child(5),
.menu-title:nth-child(6),
.menu-title:nth-child(7),
.menu-title:nth-child(8) {
   border-top: 1px dotted rgba(255,255,255, 0.3);
}

.menu-title:nth-child(1),
.menu-title:nth-child(2),
.menu-title:nth-child(4),
.menu-title:nth-child(5),
.menu-title:nth-child(7) {
    border-right: 1px dotted rgba(255,255,255, 0.3);
}

.food-items-container {
    width: 90%;
    max-width: 1650px;
    margin: 0 auto;
    margin-block: 1em;
    display: flex;
    flex-direction: column;    
}

.jelovnik-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.jelovnik-container img {
    filter: drop-shadow(1px 1px 3px rgba(0,0,0,.5));
}

.food-items-container {
    width: 90%;
    max-width: 1650px;
    margin: 1em auto;
    display: flex;
    flex-direction: column;
}

.jelovnik-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.jelovnik-container img {
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
    width: 100%;
    height: auto;
    display: block;
}

.food-item-menu {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.food-item {
    width: 100%;
    max-width: 400px;
    margin: 0.35em;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.food-item-link {
    position: relative;
    display: block;
    overflow: hidden;
    transition: transform 350ms ease-in-out;
    border-radius: 12px;
}

.food-item-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    transition: background 0.3s ease-in-out;
}

.food-item-link:hover,
.food-item-link:focus {
    transform: scale(1.05);
}

.food-item-link:hover::before {
    background: rgba(0, 0, 0, 0.25);
}

.food-item-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.food-item-link span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    z-index: 2;
    pointer-events: none;
}

.food-item-link:hover span {
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.7);
}

/* Responsivnost za manje ekrane */
@media (max-width: 768px) {
    .food-item-link span {
        font-size: 2.2rem;
    }
}


.delivery-minimum {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    background-color: var(--backgroundlight);
    display: flex;
    flex-direction: row;
    flex: 1;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 2em;
    padding: 4em 0;
}

.delivery-minimum-content {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.delivery-minimum-content p {
    width: 90%;
    max-width: 450px;
    margin: 1em 0;
    color: var(--textdark);
    font-size: 1.35rem;
}

.delivery-minimum-img {
    max-width: 500px;
}
.delivery-minimum-img > img {
    display: block;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 25px 25px 0px 0px;
}

.vrste-placanja {
    display: block;
    width: 90%;
    max-width: 600px;
    margin-top: 2em;
}

.placanje-title,
.placanje {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
}

.placanje-text {
    color: var(--textdark);
    font-size: 1.2rem;
    text-align: center;
}

.placanje img {
    width: 65px;
    height: auto;
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,.5));
    transition: 250ms ease-in-out;
}

.placanje img:hover,
.placanje img:focus {
    transform: scale(1.1);
}

/*----------------------container i kartice u jelovniku--------------------*/
.menu {
    display: flex;
    flex-direction: column;
}

.container {
    margin: 0 auto;
    background-image: linear-gradient(145deg, rgba(0,0,0,0), rgba(0,0,0,.25));    
    padding-top: 1em;
    padding-bottom: 25px;
    border-radius: 0px 0px 10px 10px;
}

.container h3 {
    font-size: .5rem;
    text-align: center;
    color: transparent;
    user-select: none;
}

.jelovnik-link {
    position: absolute;
    bottom: 40em;
    right: calc(50% - 812px);
    width: 1.75em;
    height: 150px;
    background-color: var(--backgroundred);
    color: #f2f2f2;
    writing-mode: vertical-rl;
    text-align: center;
    border-radius: 5px;
    z-index: 3000;
}

.simbolicno {
    font-size: .75em;
    text-align: center;
}

/*---------------------------PRODUCT CAROUSEL -------------------------*/
.najpopularnija-jela-wrapper {
    position: relative;
    width: 90%;
    margin: 0 auto;
    border: 1px solid rgb(183, 183, 183);
    border-top: none;
    padding: 0 1em 4em 1em;
    border-radius: 0 0 10px 10px;
    margin-top: -1em;
    overflow: hidden;
}

.product-carousel-container {
    max-width: 1175px;
    margin: 0 auto;
    /*overflow: hidden;*/
}
  
.product-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 1rem;
    transition: transform 0.3s ease-in-out;
}

.product-carousel-container[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(
        90deg,
        transparent,
        #f2f2f2 10%,
        #f2f2f2 90%,
        transparent
    );
    mask: linear-gradient(
        90deg,
        transparent,
        #f2f2f2 10%,
        #f2f2f2 90%,
        transparent
    );
}

.product-carousel-container[data-animated="true"] .product-carousel {
    width: 1165px;
    flex-wrap: nowrap; 
}

.carousel-card {
    position: relative;
    min-width: 225px;
    height: 350px;
    background-color: #f2f2f2;
    color: #f2f2f2;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    border: 1px solid lightgrey;
    border-radius: 5px;
    overflow: hidden;
    user-select: none;
}

.carousel-card-img {
    width: 225px;
    cursor: pointer;
}

.carousel-card-title {
    width: 100%;
    max-width: 200px;
    padding: .5em 0 0 .5em;
    color: var(--textgreen);
    font-family: 'Peralta', serif;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0,0,0,.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-velicina-pizze {
    padding-left: .5rem;
    color: var(--textdark);
    font-size: .65rem;
}

.carousel-prijevod {
    width: 100%;
    color: var(--textdark);
    font-size: .75rem;
    padding-left: .5rem;
}

.carousel-card-order {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--backgroundred);
    font-size: 1rem;
    color: #f2f2f2;
    text-align: center;
    border-radius: .75em 0 0 0;
    cursor: pointer;
}

.carousel-card-order::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: -11px;
    width: 11px;
    height: 11px;
    background-color: #f2f2f2;
    border-radius: 0 0 1.25em 0;
    z-index: 2;
}

.carousel-card-order::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: -10px;
    width: 11px;
    height: 11px;   
    background-color: var(--backgroundred);
    z-index: 1;
}

.carousel-card-order:hover,
.carousel-card-order:focus {
    background-color: var(--backgroundblue);
}

.carousel-card-order:hover::after,
.carousel-card-order:focus::after {
    background-color: var(--backgroundblue);
}

.carousel-card-order .add-to-cart {
    padding: .1em .5em;
    color: #f2f2f2;
}

.carousel-card-cijena {
    position: absolute;
    left: .5em;
    bottom: .25em;
    font-size: 1rem;
    color: var(--textdark);
}

.carousel-potvrda {
    position: absolute;
    bottom: 3.5em;
    right: .5em;
    width: 89px;
    background-color: rgb(180, 235, 180);
    border: 1px solid rgba(92, 131, 92);
    border-radius: 5px;
    color: #333;
    font-size: .66rem;
    text-align: center;
    text-shadow: 1px 1px 1px white;
    padding: 3px 2px;
    box-shadow: -1px -1px 2px rgba(0,128,0,.35);
    z-index: 1;
    display: none;
}

.carousel-potvrda::before {
    position: absolute;
    content: '';
    bottom: -15px;
    right: 9px;
    border: 8px solid transparent;
    border-top: 8px solid rgba(180,235,180);
    z-index: 20;
}

.carousel-potvrda::after {
    position: absolute;
    content: '';
    bottom: -16.5px;
    right: 9px;
    border: 8px solid transparent;
    border-top: 8px solid rgba(92, 131, 92);
    z-index: 19;
}
  
.carousel-arrow {
    position: absolute;
    bottom: 5px;
    background-color: transparent;
    color: var(--textdark);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 1;
}
  
.carousel-arrow.left-arrow {
    left: calc(50%);
    transform: translateX(-2em);
}
  
.carousel-arrow.right-arrow {
    right: 50%;
    transform: translateX(2em);
}

.control-btn {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: inherit;
    font-size: 2.5rem;
    color: var(--textdark);
    border: none;
    cursor: pointer;
}

#play-btn {
    display: block;
}

#stop-btn {
    display: none;
}

/*--------- PIZZA SIZE LINKS ------------------*/

.pizza-size-links {
    position: sticky;
    top: 101px;
    width: 100%;
    background: transparent;
    margin: 1em auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    font-size: 1.7rem;
    color: var(--textdark);
    transition: 250ms ease-in-out;
    z-index: 49;
}

.pizza-size-link {
    background: transparent;
    font-size: 1.3rem; 
    padding: 0 1.2em;
    color: var(--textdark);
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.is-sticky {
    background: var(--backgroundyellow);
    border-radius: 5px;
    color: var(--textdark);
}

.is-sticky .pizza-size-link {
    color: var(--textdark);
    font-weight: bold;
}

.pizza-size-link-active {
    text-decoration: underline;
}

.grupa {
    display: block;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 2em;
    margin-bottom: 1em;
}

.container-cards {
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.po-abecedi {
    position: absolute;
    top: -2em;
    font-size: .75rem;
}

.hide-pizza-content {
    display: none;
}

.card {
    position: relative;
    background-color: var(--backgroundlight);
    background-clip: padding-box; /*important*/
    width: 98%;
    max-width: 370px;
    height: 540px;
    margin-bottom: .5em;
    border: 3px solid transparent;
    border-radius: 35px 35px 0px 0px;
    box-shadow: 0px 0px 2px rgba(0,0,0,.35);
}

.nedostupno {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    background-color: rgba(255,255,255,.6);
    backdrop-filter: var(--backdropblur);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--textdarkred);
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    line-height: 18px;
    border-top: 1px solid darkred;
    z-index: 100;
}

.card::before {
    content: '';
    position: absolute;
    inset: -3px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(to left, orange, transparent);
}

.card-title {
    position: relative;
    width: 100%;
    padding: .3em 0 0 .3em;
    color: var(--textgreen);
    font-family: 'Peralta', serif;
    font-size: 1.2em;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0,0,0,.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.novo,
.new {
    position: relative;
}

.novo:before,
.new:before {
    position: absolute;
    content: '';
    top: -.35em;
    left: 1em;
    width: 75px;
    height: 24px;
    background-image: url("../images/novo.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.new::before {
    background-image: url("../images/new.png");
}

.card-content .velicina-pizze {
    padding-left: .7em;
    color: var(--textdark);
    font-size: .65rem;
}

.card-content .item-sastav {
    width: 250px;
    padding: 0 .3em;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 16px;
}

.card-content .vise-link {
    position: relative;
    display: block;
    width: fit-content;
    margin: .25em 0 0 .25em;
    padding: .1em .5em;
    font-family: 'Peralta', serif;
    font-size: .75rem;
    color: var(--textred);
    border-bottom: 1px dotted var(--borderred);
}

.card-content .vise-link::after {
    position: absolute;
    content: '';
    top: 5px;
    right: -7px;
    border: 5px solid transparent;
    border-left: 5px solid var(--borderred);
}

.card-content .ne {
    display: none;
}

.card-order .add-cart {
    color: #f2f2f2;
    padding: 0 .25em 0 1em;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
    text-transform: uppercase;
    text-decoration: none;
    z-index: 1;
}

.card-img {
    display: block;
    width: 100%;
    margin-bottom: .5em;
    border-radius: 5px 33px 0px 0px;
    box-shadow: 0px 0px 4px rgba(0,0,0, .35);
}

.card-img-small {
    display: none;
}

.preview-icon,
.carousel-preview-icon {
    position: absolute;
    top: .6em;
    left: .6em;
    background: transparent;
    color: rgba(255,255,255, 0.65);
    font-size: 1.15rem;
    text-shadow: 1px 1px rgba(0, 0, 0, .3);
    border: none;
    cursor: pointer;
    z-index: 1;
}

.card a {
    color: royalblue;
}

.card .hand {
    display: none;
}

.card .potvrda {
    position: absolute;
    bottom: 52px;
    right: 9px;
    width: 89px;
    background-color: rgb(180, 235, 180);
    border: 1px solid rgba(92, 131, 92);
    border-radius: 5px;
    color: #333;
    font-size: .66rem;
    text-align: center;
    text-shadow: 1px 1px 1px white;
    padding: 3px 2px;
    box-shadow: -1px -1px 2px rgba(0,128,0,.35);
    z-index: 1;
    display: none;
}

.card .potvrda::before {
    position: absolute;
    content: '';
    bottom: -15px;
    right: 9px;
    border: 8px solid transparent;
    border-top: 8px solid rgba(180,235,180);
    z-index: 20;
}

.card .potvrda::after {
    position: absolute;
    content: '';
    bottom: -16.5px;
    right: 9px;
    border: 8px solid transparent;
    border-top: 8px solid rgba(92, 131, 92);
    z-index: 19;
}

.card .potvrda img {
    width: 20px;
}

.fa-edit {
    color: red;
}

.card .card-cijena {
    position: absolute;
    left: .5em;
    bottom: .5em;
    display: flex;
    gap: .2em;
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--textdark);
    z-index: 3;
}

.card-content .card-order {
    position: absolute;
    right: 0em;
    bottom: 0;
    background-color: var(--backgroundred);
    padding: .5em;
    border-radius: 1.25em 0 0 0;
    cursor: pointer;
}

.card-content .card-order::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: -15px;
    width: 15px;
    height: 15px;
    background-color: var(--backgroundlight);
    border-radius: 0 0 1.25em 0;
    z-index: 2;
}

.card-content .card-order::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: -15px;
    width: 15px;
    height: 15px;   
    background-color: var(--backgroundred);
    z-index: 1;
}

.card-content .card-order:hover,
.card-content .card-order:focus {
    background-color: var(--backgroundblue);
}

.card-content .card-order:hover::after,
.card-content .card-order:focus::after {
    background-color: var(--backgroundblue);
}

/*---------- onLoad progressbar ------------*/
.loader-container {
    position: absolute;
    inset: 0;
    background-color: var(--backgroundloader);
    backdrop-filter: var(--backdropblur);
    -webkit-backdrop-filter: blur(50px);
    z-index: 100000;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    max-width: 500px;
    text-align: center;
}

.loader img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 2em;
    transition: 300ms linear;  
    transition-property: width;
    animation: progressAnimationStrike 3s;
}
  
.progress {
    padding: 2px;
    background: rgba(0, 0, 0, .1);
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}
  
.progress-bar {	
    height: 18px;
    background-color: var(--backgroundred);  
    border-radius: 4px; 
    transition: 0.4s linear;  
    transition-property: width, background-color;    
}
  
.progress-striped .progress-bar { 	
    border: 1px solid var(--borderred);
    background-color: var(--backgroundred); 
    width: 100%; 
    background-image: linear-gradient(
          45deg, rgb(175,35,35) 25%, 
          transparent 25%, transparent 50%, 
          rgb(175,35,35) 50%, rgb(175, 35, 35) 75%,
          transparent 75%, transparent); 
    animation: progressAnimationStrike 3s;
}
  
@keyframes progressAnimationStrike {
    from { width: 0 }
    to   { width: 100% }
}

/*----------------------------  MODALS -------------------------------*/

/*--------- Go to Menu ----------------*/
.go_to_menu {
    position: fixed;
    top: 15em;
    /*left: izračunava u javascripti go_top.js za rezoluciju širu od 900px */
    transform: translateX(-50%);
    width: 26px;
    height: 170px;
    background-image: url(../png/arrow.png);
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    color: #f2f2f2;
    writing-mode: vertical-rl;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.3));
    border-radius: 3px;
    z-index: 49;
    visibility: visible;   
    opacity: 1;
    transition: all 400ms ease-out;
    z-index: 1000;
}

.go_to_menu-scrolled {
    visibility: hidden;   
    opacity: 0;
    top: 3em;
}

.go_to_menu ion-icon {
    display: none;
}

/*---------------Alert proizvodi-u-kosarici---------------*/

.proizvodi-u-kosarici--container {
    position: absolute;
    top: 6em;
    right: 0;
    width: 100%;
    max-width: 400px;
    background: rgba(50,120,0, .9);
    justify-content: center;
    color: #f2f2f2;
    padding: 20px 0;
    border-radius: 0px 0px 5px 5px;
    box-shadow: 1px 1px 2px rgba(0,0,0,.25);
    cursor: pointer;
    z-index: 40;
    display: none;
}

@-moz-document url-prefix() {
    .proizvodi-u-kosarici--container {
        margin-right: .08em;
    }
}

.proizvodi-u-kosarici--show {
    display: flex;
}

.proizvodi-u-kosarici {
    position: relative;
    width: 85%;
    letter-spacing: .25px;
    text-align: center;
}

.proizvodi-u-kosarici span {
    margin-left: 3px;
}

.proizvodi-u-kosarici-close {
    position: absolute;
    top: .5em;
    right: .75em;
    width: 15px;
    border-bottom: 1px solid #f2f2f2;
    text-align: center;
    cursor: pointer;
}

/*-------- Go Top --------------------*/
.go_top {
    position: fixed;
    bottom: 1em;
    right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5em;
    height: 2.5em;
    background-color: var(--backgroundgreen);
    border-radius: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
    visibility: visible;   
    opacity: 1;
    transition: all 350ms ease-out;    
}

.go_top-scrolled {
    visibility: hidden;   
    opacity: 0;
}
    
.go_top ion-icon {
    font-size: 5rem;
    font-weight: bold;
    color: var(--textlight);            
}

/*------------- CHAT MODAL ----------------------------*/

.chat-button {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 20em;
    bottom: 4em;
    filter: drop-shadow(0 0 5px rgba(0,0,0,.35));
    cursor: pointer;
    z-index: 999;
}

.chat-button img {
    width: 50px;
}

.chat-button::before {
    content: '';
    position: absolute;
    left: 0;
    width: 50px;
    height: 50px;
    background: #cd3333;
    border: 1px solid #f2f2f2;
    border-radius: 100%;
    z-index: -2;
}

.chat-button-text {
    position: absolute;
    width: 140px;
    left: 48px;
    background: #cd3333;
    font-size: .8rem;
    color: #f2f2f2;
    text-align: center;
    padding: 2px 0;
    border: 1px solid #f2f2f2;
    border-left: none;
    border-radius: 0px 10px 10px 0px;
    z-index: -1;
}

#chat {
    position: fixed;
    bottom: 2em;
    right: 11em;
    width: 90%;
    max-width: 500px;
    margin: auto;
    background: var(--backgroundlight);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 0 10px #ccc;
    z-index: 1000;
}

#messages {
    min-height: 200px;
    border: 1px solid #ddd;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
    margin-bottom: 0.5rem;
}

#cart-icon-container {
    position: relative;
    margin-left: 10px;
    cursor: pointer;
}

#cart-icon-container::before {
    position: absolute;
    content: '';
    width: 35px;
    height: 35px;
    top: -1px;
    left: 0px;
    background-color: #bbb;
    border-radius: 100%;
}

#cart-count {
    position: absolute;
    top: -5px;
    left: 1.4rem;
    width: 17px;
    height: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: royalblue;
    color: #f2f2f2;
    font-size: 12px;
    border: 1px solid #f2f2f2;
    border-radius: 100%;
    text-align: center;
}

.added-to-cart {
    position: absolute;
    top: 0;
    left: 3rem;
    text-align: center;
    line-height: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1000;
}

.added-to-cart-visible {
    visibility: visible;
    opacity: 1;
}

.faqBtn {
    position: absolute;
    top: 1em;
    right: 5em;
    background-color: #f4f4f4;
    border: 2px solid #ccc;
    color: #333;
    font-size: 16px;
    padding: 2px 5px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1001;
}

.faqBtn:hover {
    background-color: #e0e0e0;
    border-color: #aaa;
    transform: scale(1.05);
}

.faq-modal {
  display: none;
  position: absolute;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
}

.faq-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 70Vh;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
}

.faq-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
  padding: 0 8px;
  border: 1px solid #888;
  border-radius: 999px;
  z-index: 1002;
}
.faq-close:hover {
  color: #000;
}

#faqList h4 {
  margin-top: 20px;
  font-size: 18px;
  color: #222;
}
#faqList p {
  margin: 5px 0 15px;
  color: #555;
  line-height: 1.4;
}

.opis {
    font-size: .75rem;
}
.bot {
    color: royalblue;
    white-space: pre-line;
}
.user {
    color: #aa5500;
    text-align: right;
}

.input-wrapper {
    position: relative;
}

.bot-input {
    position: relative;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 16px;
}

#sendBtn {
    position: absolute;
    top: calc(50% + 2px);
    transform: translateY(-50%);
    right: .5em;
    padding: 1em;
    border: none;
    background: transparent;
    cursor: pointer;
}

#sendBtn ion-icon {
    font-size: 20px;
    color: #333;
}

#sendBtn ion-icon:hover {
    color: royalblue;
}

.bot-button-naruci {
    padding: 0.3rem 1rem;
    font-size: 1rem;
    background: #cd3333;
    color: #f2f2f2;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, .35);
    cursor: pointer;
}

.clear-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-block: 1em;
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 250ms ease-in-out;
}

.clear-container-visible {
    height: 30px;
    visibility: visible;
    opacity: 1;
}

.chat-clear,
#clear-cart-btn {
  padding: 6px 12px;
  background-color: #ffcccb;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
.chat-clear:hover,
#clear-cart-btn:hover {
  background-color: #ff9999;
}
.item {
    border-top: 1px solid #eee;
    padding: 0.5rem 0;
}

.pepe-bot-product-container {
    display: flex;
    gap: 5px;
    border-top: 1px solid lightgrey;
    padding: 7px 0;
}
.container-left {
    width: 60%;
}
.item h4 {
    margin: 0 0 0.3rem 0;
}

.item h4 .product-title-english {
    font-size: .8rem;
}

.price {
    font-weight: bold;
    color: green;
    margin-bottom: .5em;
}
 .quantity {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantity ion-icon {
    font-size: 20px;
    color: var(--textblue);
    cursor: pointer;
}

.broj-komada {
    margin-left: 8px;
    margin-right: 8px;
    color: var(--textdark);
}
.pepe-bot-modal-img {
    width: 100%;
    max-width: 75px;
    border-radius: 10px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, .25);
}
.bot-modal-pepe {
    position: absolute;
    top: -135px;
    right: -50px;
    display: block;
    width: 125px;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,.35));
}
.message {
    margin: 0.3rem 1rem .4rem 0;
}

.chat-close {
    position: absolute;
    top: -.75rem;
    left: -.75rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--backgroundlight);
    outline: 1px solid var(--bordergrey);
    outline-offset: -3px;
    color: var(--textdark);
    border-radius: 100%;
    box-shadow: 0 0 10px #ccc;
    cursor: pointer;    
}

.hidden {
    display: none;
}

/*------------ help modal ----------------------------*/
.help-modal {
    position: fixed;
    bottom: 4em;
    right: 10em;
    width: 300px;
    height: fit-content;
    display: flex;
    flex-direction: row;
    visibility: hidden;
    transform: scale(0);
    opacity: .7;
    z-index: -100;
    transition: all 500ms ease-in;
}

.help-modal-visible {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    z-index: 100;
}

.help-modal-pepe {
    position: absolute;
    top: -30px;
    right: -110px;
    display: block;
    width: 125px;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,.35));
}

.help-modal-text {
    width: 100%;
    background-color: var(--backgroundlight);
    font-size: .85rem;
    color: #555;
    padding: 1.5em 1em;
    border: 3px solid var(--bordergrey);
    border-radius: 10px;
}

.help-modal-text::before {
    position: absolute;
    content: '';
    top: 50px;
    right: -22px;
    width: 25px;
    height: 25px;
    background-image: url(../png/arrow-right.png);
    background-repeat: no-repeat;
    z-index: 1;
}

.help-modal-text--1,
.help-modal-text--2,
.help-modal-text--3,
.help-modal-text--4,
.help-modal-text--5 {
    display: flex;
    gap: .5em;
    display: none;
}

.help-modal-text-left,
.help-modal-text-right {
    position: relative;
}

.help-modal-text p {
    line-height: 17px;
    margin-bottom: .3em;
}

.help-modal-text p:last-of-type {
    margin-bottom: 1em;
}

.pepe {
    color: var(--textred);
    font-size: 1.25rem;
}

.black {
    color: black;
}

.help-link {
    color: var(--textgreen);
    text-transform: uppercase;
}

.izbornik-img {
    display: block;
    width: 90px;
    border-radius: 10px;
    margin-bottom: 1.75em;
}

.slijedece {
    position: absolute;
    bottom: -.75em;
    left: 0;
    width: 100%;
    color: var(--textred);
    cursor: pointer;
}

.zatvori {
    position: absolute;
    bottom: -.5em;
    right: 1em;
    padding: 0 3px;
    color: var(--textred);
    border: 1px solid var(--borderred);
    border-radius: 3px;
    cursor: pointer;
}

.help-modal-close {
    position: absolute;
    top: -1.5em;
    right: -1em;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--backgrounddarkred);
    outline: 1px solid var(--bordergrey);
    outline-offset: -3px;
    color: #f2f2f2;
    border-radius: 100%;
    cursor: pointer;    
}

/*------------ exit intent modal ---------------------*/

.exit-intent-modal,
.kosarica-exit-intent-modal {
    position: fixed;
    inset: 0;
    background-color: var(--darkoverlay);
    z-index: 10000;
    display: none;
}
.exit-intent-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0,0,0,.35);
}

.exit-intent-top {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
}

.exit-intent-top img {
    display: block;
    width: 100%;
}

.exit-intent-top-title {
    width: 80%;
    max-width: 250px;
    position: absolute;
    left: 50%;
    bottom: .5em;
    transform: translateX(-50%);
    font-size: 1.25rem;
    font-weight: bold;
    color: #f2f2f2;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 1px 1px rgba(0,0,0,.5);
    text-transform: uppercase;
}

.exit-intent-bottom {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 1em;
    padding: 2em 1em 4em 1em;
    background: #f2f2f2;
    border-radius: 0px 0px 10px 10px;
}

.exit-intent-bottom-img {
    display: block;
    width: 40%;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,.35));
}

.exit-intent-bottom-cart {
    display: block;
    width: 20%;
    border-right: 1px solid lightgrey;
    margin-bottom: 1em;
}

.exit-intent-text {
    font-size: 1.25rem;
    text-align: center;
}

.exit-intent-text-kosarica {
    display: flex;
    flex-direction: row;
    gap: 7px;
    margin-bottom: 3px;
}

.exit-intent-text-img {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    filter: drop-shadow(0px 0px 1px rgba(0,0,0,.35));
}

.exit-intent-button {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: inherit;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 5px;
    transition: 250ms ease-in-out;
    cursor: pointer;   
}

.exit-intent-buttons button:hover,
.exit-intent-buttons button:focus {
    border: 1px solid var(--borderred);
    color: var(--textdarkred);
}

.exit-intent-close {
    position: absolute;
    top: -23px;
    right: .75em;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--backgrounddarkred);
    color: #f2f2f2;
    border-radius: 3px 3px 0px 0px;
    cursor: pointer;
}
/*------------modal-show-img--------------------------*/
.modal-show-img {
    position: absolute;
    inset: 0;
    background-color: var(--darkoverlay);
    backdrop-filter: var(--backdropblur);
    z-index: -1000000;
    opacity: 0;
    visibility: hidden;
    transition: all 350ms ease-in-out;
}

.modal-show-img-content {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    outline: 2px solid #f2f2f2;
    outline-offset: 3px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    overflow: hidden;    
}

.modal-show-img-content-active {
    opacity: 1;
    visibility: visible;
    z-index: 1000000;
}

.modal-show-img-title {
    position: absolute;
    top: 1em;
    left: 1em;
    font-family: 'Peralta', serif;
    color: #f2f2f2;
    text-shadow: 2px 2px darkgreen;
    text-transform: uppercase;
    font-size: 1.25rem;

}

.modal-show-img-image {
    display: block;
    width: 100%;
}

.modal-show-img-close {
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 1.5rem;
    color: #f2f2f2;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,.75));
    cursor: pointer;
}

/*--------------no delivery modal--------------------*/
.no-delivery-modal-opacity {
    position: absolute;
    inset: 0;
    background-color: var(--darkoverlay);
    backdrop-filter: var(--backdropblur);
    -webkit-backdrop-filter: var(--backdropblur);
    z-index: 1000;
    display: none;
}

.no-delivery-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    max-width: 350px;
    height: fit-content;  
    background: #fefefe;
    padding: 2em;
    border: 2px solid white;
    border-radius: 5px;
    box-shadow: inset 20px 20px 20px rgba(0, 0, 0, .1),
                20px 20px 20px rgba(0, 0, 0, .1),
                20px 20px 20px rgba(0, 0, 0, .1),
                inset -20px -20px 20px rgba(0,0,0, .1);
    filter: drop-shadow(0px 0px 3px rgba(255,255,255, .7));
    z-index: 1000;
    display: none;
}

.no-delivery-modal p {
    width: 100%;
    text-align: center;
}

.no-delivery-modal p span {
    position: relative;
    font-size: 22px;
    color: white;
    text-shadow: 0px 0px 2px #cd3333,
                 0px 0px 2px #cd3333,
                 0px 0px 2px #cd3333,
                 0px 0px 2px #cd3333;
    font-weight: bold;
    letter-spacing: 1px;
}

.no-delivery-button {
    display: block;
    width: 100px;
    margin: 1.5em auto;
    padding: .25em 0;
    color: #333;
    font-weight: bold;
    letter-spacing: 1px;
    border-color: grey;
    border-radius: 5px;
    cursor: pointer;
}

.no-delivery-thum {
    display: block;
    margin: 0 auto;
    width: 75%;
    max-width: 275px;
    margin-top: 1em;
}

.no-delivery-logo {
    display: block;
    margin: 0 auto;
    width: 60%;
    max-width: 275px;
    margin-top: 1em;
}

/* ---------------- modal-gdje-dostavljamo --------------- */

.modal-gdje-dostavljamo {
    width: 300px;
    margin: 0 auto;
    background: transparent;
    font-size: 1rem;
    color: white;
    border: 2px solid white;
    padding: 5px 0;
    cursor: pointer;
    transition: 150ms ease-in-out;
}

.modal-gdje-dostavljamo:hover,
.modal-gdje-dostavljamo:focus {
    color: royalblue;
    border: 2px solid royalblue;
}

.modal-gdje-dostavljamo-bg {
    position: fixed;
    inset: 0;
    background-color: var(--darkoverlay);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20001;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0ms, opacity 500ms;
    z-index: 20001;
}

.gdje-dostavljamo-active {
    visibility: visible;
    opacity: 1;
}

.modal {
    position: relative;
    background: url(../images/domet.jpg) no-repeat;
    background-size: cover;
    width: 98%;
    max-width: 600px;
    height: fit-content;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 0px 3px 1px #f2f2f2; 
}

.modal-content {
    width: 80%;
    max-width: 470px;
    margin: 2px 0px 115px 2px;
    background: rgba(0,0,0,.5);
    color: #f2f2f2;
    text-shadow: 1px 1px black;
    padding: 5px;
    border-radius: 5px 0px 5px 0px;
    border-right: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;

}

.gdje-dostavljamo-close {
    position: absolute;
    top: -2em;
    right: 10px;
    padding: .1em .4em;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    padding: .2em .4em .1em .4em;
    cursor: pointer;
}

/* ------------ modal-dodaci ------------*/

.modal-dodaci-triggers {
    position: absolute;
    background-color: var(--backgroundlight);
    border: 1px solid var(--borderdark);
    border-right: none;
    border-radius: 5px 0 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
    transition: all 250ms ease-in-out;
    z-index: -10;
}

.card .modal-dodaci-triggers {
    bottom: 3em;
    right: 0;
    width: 3em;
    height: 7em;
}

.carousel-card .modal-dodaci-triggers {
    bottom: 1.17em;
    right: 0;
    width: 2.5em;
    height: 5em;
}

.modal-dodaci-triggers::before {
    position: absolute;
    content: '';
    inset: 0 .2em 50% .2em;
    border-bottom: 1px solid #ccc;
}

.modal-dodaci-triggers--open {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.modal-dodaci-trigger,
.modal-dodaci-minus {
    position: relative;
    background-color: transparent;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    transition: 250ms ease-in-out;
    cursor: pointer;  
}
 
.modal-dodaci-trigger:hover,
.modal-dodaci-trigger:focus,
.modal-dodaci-minus:hover,
.modal-dodaci-minus:focus {
    color: var(--textred);
}

.modal-dodaci-trigger::after {
    position: absolute;
    content: attr(modal-dodaci-trigger-after);
    top: -.6em;
    left: -5px;
    width: 100%;
    font-size: 10px;
    color: var(--textgreen);
}

.modal-dodaci-minus::after {
    position: absolute;
    content: attr(modal-dodaci-minus-after);
    bottom: -.4em;
    left: var(--dodajPositionLeft, 0px);
    width: 100%;
    font-size: 10px;
    color: var(--textgreen);
}

.modal-dodaci-triggers .increase,
.modal-dodaci-triggers .decrease {
    color: var(--textgreen);
    font-size: 1.25rem;
    padding: .25em;
}

.column--1 {
    display: flex;
    flex-direction: row;
}
 
.modal-dodaci,
.modal-minus {
   position: fixed;
   inset: 0;
   background-color: #f2f2f2;
   display: flex;
   justify-content: center;
   align-items: center;
   opacity: 0;
   visibility: hidden;
   transform: scale(1.1);
   transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
   z-index: 100000;
}
 
.modal-dodaci--open,
.modal-minus--open {
     opacity: 1;
     visibility: visible;
     transform: scale(1.0);
     transition: visibility 0s linear 0s, opacity 250ms 0s, transform 250ms;
}

.modal-dodaci-overlay,
.modal-minus-overlay {
    inset: 0;
    background-color: var(--darkoverlay);
    backdrop-filter: var(--backdropblur);
}

.modal-dodaci-close,
.modal-minus-close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0 .25em;
    color: #f2f2f2;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
    border-top: 1px solid #f2f2f2;
    cursor: pointer;
}

.column {
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-left: 18px;
    line-height: 24px;
}

.column input[type=checkbox] {
    display: none;
}

.dodatak-title,
.makni-title {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 30px;  
    color: black;
    font-size: .8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid lightgrey;
    cursor: pointer;
}

.dodatak-title .cijena {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-left: auto;
    padding-right: 5px;
    width: 60px;
    height: 100%;
    font-size: .7rem;
    background: lightskyblue;
}

.dodatak-title:last-child,
.makni-title:last-child {
    border-bottom: none;
}

.dodatak-title::before,
.makni-title::before {
    position: absolute;
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: royalblue;
    color: white;
    font-weight: bold;
    border-radius: 2px;
}


.dodatak-title::before {content: '+';}
.makni-title::before {content: '-';}

.column input[type=checkbox]:checked + label {
    color: red;
    font-weight: bold;
}

.column input[type=checkbox]:checked + label::before {
    background: red;
}

.dodaci {
    position: relative;
    background: #f2f2f2;
    width: 96%;
    max-width: 600px;
    height: 90%;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    border-radius: 7px;
    outline: 1px solid #f2f2f2;
    outline-offset: 3px;
}

.dodaci--1 {
    height: fit-content;
}

.dodaci-title {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 5em;
    font-size: 1em;
    font-weight: bold;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 5px 5px 0 0;
}

.modal-pizza-title {
    position: absolute;
    left: 13%;
    right: 13%;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: var(--backdropblur);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: .5em;
    border: 1px solid #f2f2f2;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    outline: 1px solid #f2f2f2;
    outline-offset: 1px;
}

.modal-pizza-title-makni {
    padding-top: 0;
    padding-block: 1.5em;
}

.modal-pizza-title span {
    text-align: center;
}

#Pizza_Title,
#Pizza_Naslov {
    font-family: 'Peralta', serif;
    font-size: 1.2em;
    color: rgb(0, 138, 0);
    text-shadow: 1px 1px 2px rgba(0,0,0,.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dodaci-small {
    font-size: .65rem;
    text-align: center;
}

.pizza-dodaci-alert {
    width: 80%;
    margin: 0 auto;
    font-size: .8rem;
    font-weight: bold;
    text-align: center;
    padding-bottom: .15em;
    margin-bottom: .5em;
    border-bottom: 1px dotted grey;
}

.red {
    color: var(--textdarkred);
    font-size: .75rem;
    font-weight: bold;
}

.redAlert {
    color: var(--textred);
}

.dodaci-content {
    width: 100%;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
    flex-wrap: no-wrap;
    font-size: .8rem;
    overflow-y: scroll;
}

.dodaci img {
    position: absolute;
    display: block;
    bottom: 1.1em;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
}

.dodaci-total-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-top: .5em;
    margin-bottom: 5em;
}

.save-dodaci,
.save-makni {
    background-color: var(--backgroundblue);
    color: #f2f2f2;
    padding: .5em 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
}

.no-localstorage-modal {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--darkoverlay);
    justify-content: center;
    align-items: center;
    z-index: 30000;
    display: none;
}

.no-localstorage-modal-content {
    position: relative;
    width: 80%;
    max-width: 500px;
    height: fit-content;
    background-color: #f2f2f2;
    padding: 1em;
    border-radius: 5px;
}

.no-localstorage-modal-content a {
    display: block;
    margin: 1em auto;
    padding: .35em;
    color: var(--textred);
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--borderred);
}

.no-localstorage-modal-close {
    position: absolute;
    top: -2em;
    left: 50%;
    transform: translateX(-50%);
    padding: .35em .5em;
    background-color: var(--backgroundred);
    color: #f2f2f2;
    border-radius: 2px 2px 0px 0px;
    cursor: pointer;
    z-index: -1;
}


/* ----------------- KONTAKTI page -------------------*/

.kontakti-container {
    width: 96%;
    margin: 0 auto;
    background-color: #f2f2f2;
    border-radius: 10px 10px 0px 0px;
    padding-bottom: 1em;
}

.kontakti-container h1 {
    width: 100%;
    font-size: 2.25rem;
    padding: 1em;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Red Hat Display', sans-serif;
}

.kontakti-text {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
    line-height: 22px;
    padding: 0 10px;
}

.kontakt-form {
    width: 96%;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 1em;
    padding: 1em 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    border: 2px solid lightgrey;
    border-radius: 0px 10px 10px 10px;
}

.kontakt-podaci-item {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 1em;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Red Hat Display', sans-serif;
}

.kontakt-podaci-item label {
    position: absolute;
    top: 0;
    left: 0;
}

.kontakt-podaci-item input {
    width: 100%;
    height: 30px;
    margin-top: 1em;
    background: transparent;
    border: 0;
    border-left: 1px solid goldenrod;
    border-bottom: 1px solid goldenrod;
    border-radius: 0px 0px 0px 5px;   
}

.kontakt-podaci-item input::placeholder {
    padding-left: 5px;
}

.kontakt-podaci-item textarea {
    width: 100%;
    max-width: 500px;
    margin: 1em auto;
    text-align: center;
    border: 1px solid goldenrod;
    border-radius: 0px 5px 5px 5px;
    padding-top: 5px;
}

.kontakt-podaci-item-terms {
    width: 90%;
    max-width: 550px;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    margin-bottom: 2em;
}

.kontakt-podaci-item-terms input {
    width: 16px;
    height: 16px;
    border: 1px solid goldenrod;
}

.form-napomena {
    margin: -.5em 0;
}

.upit {
    font-size: 1rem;
    font-weight: bold;
}

.kontakti-button {
    width: 200px;
    background-color:#990000;
    color:#ffffff;
    border: 2px solid #333333;
    border-radius: 2em;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 auto;
    margin-bottom: 1em;
    padding: .5em 0;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    vertical-align: middle;   
    cursor: pointer;
}

/*-------------  webkits -----------------*/

::-webkit-scrollbar {
    width: 17px;
}
    
::-webkit-scrollbar-track {
    border: 4px solid #21212d;
    box-shadow: inset 0 0 2.5px 2px rgba(0,0,0,.5)        
}
    
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4169e1, darkblue, #2f4fad, darkblue, #4169e1); 
    border: 1px solid darkblue;
    border-radius: 4px;
}

.dodaci-content::-webkit-scrollbar {
    width: 10px;
}
    
.dodaci-content::-webkit-scrollbar-track {
    border: 4px solid #21212d;
    border-radius: 4px;
    margin-block: 5px;
}
    
.dodaci-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4169e1, darkblue, #2f4fad, darkblue, #4169e1); 
    border: 1px solid darkblue;
    border-radius: 4px;
}

@supports (scrollbar-color: red blue) {
    * {
        scrollbar-color: #cd3333 #333;
    }
}

@supports (animation-timeline: view()) {
    
    .delivery-minimum-img > img,
    .vrste-placanja {
        scale: .8;
        opacity: 0;
        animation: fade-in linear forwards;
        animation-timeline: view();
        animation-range: entry 20%;
    }
    
    .delivery-minimum-content p {
        opacity: 0;
        animation: fade-in-text linear forwards;
        animation-timeline: view();
        animation-range: entry 10%;
    }
}

@keyframes fade-in {
    to { scale: 1; opacity: 1 }
}

@keyframes fade-in-text {
    to { opacity: 1 }
}

@keyframes fade-out {
    to { opacity: 0 }
}


@media(max-width: 1600px) {

    .menu-toggle {
        display: none;
        position: absolute;
        bottom: 1em;
        left: .75em;
        height: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 2001;
    }
    
    .hamburger {
        margin-top: 30px;
    }
    
        .hamburger,
        .hamburger::before,
        .hamburger::after {
            content: '';
            display: block;
            background: var(--backgrounddark);
            height: 3px;
            width: 2.5em;
            border-radius: 3px;
            transition: all ease-in-out 350ms;
        }
    
        .header-dark .hamburger,
        .header-dark .hamburger::before,
        .header-dark .hamburger::after {
            background-color: #f2f2f2;
        }
    
        .hamburger::before {
            transform: translateY(-7px);
        }
    
        .hamburger::after {
            transform: translateY(4px);
        }
    
        .open .hamburger {
            transform: rotate(45deg);
        }
    
        .open .hamburger::before {
            opacity: 0;
        }
    
        .open .hamburger::after {
            transform: translateY(-3px) rotate(90deg);
    }
    
    .izbornik {
        padding: 1em 0;
        font-size: .8rem;
        color: var(--textdark);
        font-weight: 600;
        text-transform: uppercase;
        opacity: 1;
        transition: all ease-in-out;
    }
    
    .header-dark .izbornik {
        color: #f2f2f2;
    }
    
    .close {
        font-size: .8rem;
        color: var(--text);
        text-transform: uppercase;
        font-weight: 600;
        opacity: 0;
        transform: translateY(-27px);
        transition: all ease-in-out;
    }
    
    .header-dark .close {
        color: #f2f2f2;
    }
    
    .open .izbornik {
        opacity: 0;
    }
    
    .open .close {
        opacity: 1;
    }

    nav {
        display: flex;
        align-items: center;
        transition: 350ms ease-in-out;
    }

    .nav-logo-link {
        width: 250px;
        margin-right: initial;
        margin-bottom: initial;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
        
    .nav-links {
        position: absolute;
        top: 6em;
        left: -27em;
        width: 25em;
        display: flex;
        flex-direction: column;
        background-color: var(--backgrounddark);
        padding: 2em 1.5em;
        border-radius: 0px;
        transition: all ease-in-out 600ms;        
        background: #f2f2f2;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, .25);
        border-radius: 0px 0px 20px 0px;
        z-index: 50;
    }

    .nav--open,
    .header-dark .nav--open {
        transform: translateX(26em);
    }

    nav li {
        padding: .5em 0;
    }

    .nav-link {
        color: #333;
    }

    .header-dark .nav-link {
        color: #333;
    }

    .nav-right {
        position: absolute;
        right: 2em;
    }

    .kasa {
        position: absolute;
        top: 1.9em;
        right: -.5em;
        font-size: 1rem;
    }

    .dark-mode-toggle {
        top: 0em;
        left: 0;
    }

    .language-link-mobile {
        position: absolute;
        top: .5em;
        left: 3em;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .3em;        
        background: rgba(0, 0, 0, .3);
        padding: 0 .5em;
        color: #f2f2f2;
        font-size: 20px;
        border-radius: 5px;
    }

    .language-link-mobile img {
        width: auto;
        height: 16px;
        border-radius: 2px;
    }

    .menu-container {
        max-width: 1200px;
    }

    .menu-bottom-link {
        font-size: 1.3rem; 
        padding: .1em .5em;
        text-align: center;
    }

    .product-carousel-container {
        max-width: 940px;
    }
}

@media(max-width: 1300px) {
    .menu-container {
        max-width: 820px;
    }

    .menu-titles {
        flex-direction: column;
    }

    .menu-title:nth-child(1),
    .menu-title:nth-child(2),
    .menu-title:nth-child(3) {
        border-top: 1px dotted rgba(255,255,255,.3);
    }

    .menu-title:nth-child(1) {
        border-radius: 10px 10px 0px 0px;
    }

    .menu-title:nth-child(3) {
        border-radius: 0px;
    }

    .product-carousel-container {
        max-width: 705px;
    }
}

@media(max-width: 1050px) {
    .header-alert {
        font-size: .75rem;
    }
}


@media(max-width: 900px) {
    .modal {
        width: 340px;
        font-size: .8rem;
    }

    .product .delete {
        left: -15px;
    }

    .form-img {
        width: 30%;
        margin-top: .5em;
        margin-right: 10%;
        filter: drop-shadow(1px 1px 2px rgba(0,0,0,.3));
    }

    .header-alert-logo--1 {
        display: none;
    }

    /*--------- Go to Menu ----------------*/
    .go_to_menu {
        position: fixed;
        top: initial;
        transform: initial;
        left: 5px;
        bottom: 0;
        width: 170px;
        height: 32px;
        flex-direction: row;
        background-image: initial;
        background-color: var(--backgroundred);
        writing-mode: horizontal-tb;
        border-radius: 5px 5px 0 0;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .go_to_menu-scrolled {
        top: initial;
        bottom: -2em;
    }

    .go_to_menu ion-icon {
        display: block;
    }

    /*-------- Add home mobile view--------------------*/

    .add-home {
        position: absolute;
        top: 7em;
        left: .5em;
        opacity: 0;
        visibility: hidden;  
    }
    
    .add-home-btn {
        position: relative;
        background: black;
        color: white;
        margin: .5em 0;
        padding: .5em 1em;
        border: none;
        letter-spacing: 1px;
        box-shadow: 1px 1px 2px rgba(0,0,0,.5);
        border: 1px solid var(--bordergreen);
        border-bottom: none;
        border-radius: 0 5px 5px 5px;
        cursor: pointer;
        z-index: 2;
    
    }
    
    .add-home-btn:hover {
        color: green;
    }
    
    .add-home-btn::before {
        position: absolute;
        content: '';
        top: -5px;
        left: -5px;
        border: 5px solid transparent;
        border-bottom: 5px solid var(--bordergreen);
        transform: rotate(-45deg);
        z-index: 3;
    }

    .modal-ocjena-trigger {
        font-size: 2rem;
    }

    /*chat modal*/
    .chat-button {
        right: 10em;
        bottom: 2.5em;
    }

    #chat {
        right: 50%;
        transform: translateX(50%);
        display: none;
    }

    .chat-overlay {
        position: absolute;
        inset: 0;
        background-color: var(--darkoverlay);
        backdrop-filter: var(--backdropblur);
        visibility: hidden;
        opacity: 0;
        transition: all 350ms ease-in-out;
    }

   .chat-overlay--visible {
       visibility: visible;
       opacity: 1;
       z-index: 201;
    }

    .faqBtn {
       right: 3em;
    }
    .bot-modal-pepe {
        top: -40px;
        right: -20px;
        width: 75px;
    }

    /*-----help modal------*/
    .help-modal {
        width: 250px;
        right: 2em;
        bottom: 2.5em;        
    }

    .help-modal-pepe {
        top: -30px;
        right: 250px;
        transform: scaleX(-1);
        width: 90px;
        z-index: -1;
    }

    .help-modal-text::before {
        position: absolute;
        content: '';
        top: 50px;
        right: initial;
        left: -22px;
        transform: scale(-1);
        width: 25px;
        height: 25px;
        background-image: url(../png/arrow-right.png);
        background-repeat: no-repeat;
        z-index: 1;
    }

    .obavijest-gratis {
        flex-direction: column;
    }

}

@media (max-width: 1200px) {
    .header-alert-logo--2 {
        display: none;
    }

    .bozic::before {
        position: absolute;
        content: '';
        top: -30px;
        left: -30px;
        width: 100px;
        height: 100px;
        background-image: url("../png/bozicni_ukras.png")
    }
    
    .bozic::after {
        position: absolute;
        content: '';
        top: -30px;
        right: -30px;
        width: 100px;
        height: 100px;
        background-image: url("../png/bozicni_ukras3.png")
    }
}

@media (max-width: 780px) {
    .product-carousel-container {
        max-width: 470px;
    }

    /*card 2 cols*/

    .change-container {
        width: 100%;
        height: 50px;
        margin-bottom: 1em;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .75em;
        z-index: 48;
    }

    .single-view,
    .multi-view,
    .line-view {
        width: 30px;
        height: 30px;
        background: lightgrey;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 1px 1px 2px rgba(0,0,0,.25);
        border-radius: 2px;
    }

    .single-view-cells {
        width: 80%;
        height: 80%;
        background: grey;
    }

    .multi-view {
        display: flex;
        flex-wrap: wrap;
        padding: 1px;
    }

    .multi-view-cells {
        width: 10px;
        height: 10px;
        background: grey;
        margin: 1px;
    }

    .line-view {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .line-view-cells {
        width: 80%;
        height: 4px;
        background-color: grey;
    }

    .multi-view .card-img,
    .line-view .card-img {
        display: none;
    }

    .multi-view .card-img-small,
    .line-view .card-img-small {
        display: block;
        box-shadow: 0px 0px 4px rgba(0,0,0, .35);
    }

    .card-view--active {
        border: 1px solid rgba(255,0,0,.5);
    }

    .card--2cols {
        width: 45%;
        max-width: 300px;
        height: 480px;
        margin: .25em;
    }

    .card--2cols .card-title {
        font-size: .9rem;
    }

    .card--2cols .card-content .item-sastav {
        width: 100%;
    }

    .card--2cols .card-order .add-cart {
        padding: 0;
    }

    .card--2cols .card-cijena {
        flex-direction: column;
        left: .2em;
        bottom: .35em;
        font-size: 1rem;
    }

    .card--line {
        display: flex;
        max-width: 600px;
        height: 190px;
        border-radius: .9em;
    }

    .card--line .nedostupno {
        border-radius: 0 0 .6em .6em;
    }

    .card--line img {
        width: 140px;
        height: 140px;
        border-radius: .75em 0 .25em 0;
    }

    .card--line .card-content .item-sastav {
        width: 100%;
    }

    .card--line .card-order {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 1.25em 0 .75em 0;
    }

    .card--line .card-order .add-cart {
        padding: 0 .15em 0 .35em;
    }

    .card--line .card-cijena {
        width: 130px;
    }
}

@media (max-width: 700px) {

    .header-alert-content {
        flex-direction: column;
    }

    .header-alert-razmak {
        display: none;
    }
}

@media (max-width: 550px) {

    .product-carousel-container {
        width: 100%;
        overflow: hidden;
    }
      
    .product-carousel-container[data-animated="true"] .product-carousel {
        width: 225px;
        margin: 0 auto;
    }   

    .dots {
        width: 100%;
        display: flex;
        gap: .75em;
        justify-content: center;
        margin-top: 1em;
    }

    .dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #ccc;
        cursor: pointer;
    }
    
    .dot.active {
        background-color: var(--backgroundred);
    }
}

@media (max-width: 500px) {

    .index-background {
        background-image: url("../images/backgrounds/dostavno_vozilo_premantura_background_mobile.jpg");
        background-position: 50% 50%;
        background-color: rgb(65, 105, 225, .5);
        background-blend-mode: multiply;
    }
    
    .nav-logo-link {
        width: 175px;
    }

    .nav-right a {
        font-size: 20px;
    }
    
    .cart span {
        position: absolute;
        top: -1em;
        right: -.5em;
        width: 20px;
        height: 20px;
        background-color: var(--backgroundblue);
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 1px;
        font-size: 1rem;
        color: #f2f2f2;
        text-decoration: none;
        border: 1px solid var(--borderdark);
        border-radius: 5px;
        cursor: pointer;
    }

    .header-dark .nav-link-active::before {
        background-color: #333;
    }
    
    .header-dark .cart span {
        border: 1px solid #f2f2f2;
    }
    
    .kosarica {
        bottom: -1.65em;
        font-size: .65rem;
        font-weight: 600;
    }
    
    .hero {
        background-attachment: unset;
    }

    .share-me {
        top: 1em;
        right: 1em;
    }

    .jelovnik-container {
        margin-top: 3em;
    }

    .po-abecedi {
        top: 4em;
    }
}

@media (max-width: 400px) {

    .card--1 {
        height: 250px;
    }

    .card--2 {
        height: 480px;
    }
}
