/*
|--------------------------------------------------------------------------
| Fonty
|--------------------------------------------------------------------------
*/
@font-face {
    font-family: 'Libre Caslon Text';
    src: url('../fonts/LibreCaslonText-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Caslon Text';
    src: url('../fonts/LibreCaslonText-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Caslon Text';
    src: url('../fonts/LibreCaslonText-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

.pismo {
    font-family: 'Libre Caslon Text', serif;
}

/*
|--------------------------------------------------------------------------
| CSS Reset (modern reset)
|--------------------------------------------------------------------------
*/
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    line-height: 1.5;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

#root, #__next {
    isolation: isolate;
}

/*
|--------------------------------------------------------------------------
| Main štýly
|--------------------------------------------------------------------------
*/


/*------COLOR---------*/
.bezova {
  color: #f3eee8;
}
.bezova-pozadie {
  background-color: #f3eee8;
}
.silno-zelena-pozadie {
    background-color: #041a0e;
}
.silno-zelena {
    color: #041a0e;
}
.cierna {
    color: #000000;
}
.cervena {
    color: red;
}
.cervena-pozadie {
    background-color: red;
}
.zlata {
    color: #775a19;
}
.zlata-pozadie {
    background-color: #775a19;
}
.biela {
    color: white;
}
.biela-pozadie {
    background-color: white;
}


/*------------HEADER-----------------*/
.menu-mob {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;

    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.menu-mob.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.kosik-ikona {
    fill: white;
    width: 30px;
    height: 30px;
}

/*------------MINI KOŠÍK-----------------*/
#mini-cart-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    z-index: 99999;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);

    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#mini-cart-wrapper.is-open {
    transform: translateX(0);
}