/*-----TOP BAR------*/
body {
    margin: 0;
    padding: 0;
}

.top-bar {
    background-color: #96cbe9;
    color: #000;
    padding: 8px 100px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.top-bar .left,
.top-bar .right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/*-----HEADER------*/
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

.main-header .icon{
    height: 30px;
    width: 30px;
}

.header-left .logo {
    height: 120px;
    cursor: pointer;
}

.header-center .nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    font-size: 20px;
}

.header-center .nav-menu li {
    position: relative;
}

.header-center .nav-menu a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 5px 0;
}

.header-center .nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0%;
    background-color: #96cbe9;
    transition: width 0.3s ease;
}

.header-center .nav-menu a:hover::after {
    width: 100%;
}

.dropdown-menu {
    list-style: none;
    display: none;
    position: absolute;
    top: 130%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    border-radius: 6px;
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 3px 20px;
}

.dropdown-menu li a {
    color: #000;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.header-right a{
    text-decoration: none;
}

/*-----SLIDER SLIK------*/
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.8s ease;
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    border-radius: 50%;
    border: 2px solid #96cbe9;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #96cbe9;
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(150, 203, 233, 0.6);
}

/* ----------IZDELKI V AKCIJI-----------*/
.akcija {
    text-align: center;
    padding: 60px 100px;
}

.akcija h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 40px;
    text-decoration: underline 2px;
}

.izdelki-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
}

.izdelek {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    max-width: 250px;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.slider {
    position: relative;
    width: 400px;
    height: 550px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-window {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.slider-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 30px;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1000;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.slider-btn.left {
    left: 10px;
}

.slider-btn.right {
    right: 10px;
}


.izdelek:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.izdelek img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.izdelek h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.cena-wrapper {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.cena {
    font-size: 20px;
    font-weight: bold;
    color: #e60023;
    margin: 10px 0;
    text-align: center;
}

.cena::before {
    font-weight: normal;
    color: #555;
}

.stara-cena {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.nova-cena {
    color: #e53935;
    font-weight: bold;
}

.btn-kosarica {
    margin-top: 10px;
    background-color: #96cbe9;
    color: white;
    border: none;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10px);
    bottom: 0;
}

.izdelek:hover .cena {
    transform: translateY(-15px);
}

.izdelek:hover .btn-kosarica {
    opacity: 1;
    transform: translate(-50%, 0);
}

.kosarica-podatki {
    font-size: 1.2em;
}

/*----------BLOK----------*/
.prednosti {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 10px;
    padding: 40px 100px;
    margin: 30px 0;
    text-align: center;
    gap: 10px;
    background-color: #f0f8fc;
    box-shadow: 50px 0 0 0 rgb(255, 255, 255) inset, inset -50px 0 0 0 rgb(255, 255, 255);
}

.prednost {
    max-width: 200px;
    flex: 1 1 150px;
}

.prednost img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.prednost p {
    font-size: 19px;
    color: #333;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 40px;
}

/*----------DOMOV BLOK----------*/
.izdelek-blok-domov {
    background-image: url("slike/map.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #96cbe9c9;
    margin: 40px 0;
    padding: 40px 100px;
    color: white;
}

.izdelek-container-domov {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.izdelek-slika-domov img {
    max-height: 500px;
    width: auto;
}

.izdelek-besedilo-domov {
    flex: 1;
    max-width: 600px;
}

.izdelek-besedilo-domov h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.izdelek-besedilo-domov p {
    font-size: 1.2em;
    line-height: 1.2;
    white-space: pre-line;
}


/*----------KONTAKT----------*/
.kontakt-sekcija {
    padding: 60px 100px;
    background-color: #f9f9f9;
    text-align: center;
}

.kontakt-sekcija h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #333;
}

.kontakt-sekcija p {
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1em;
}

.kontakt-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    text-align: left;
}

.kontakt-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.kontakt-form label {
    display: block;
    margin: 10px 0 5px;
    color: #444;
}

.kontakt-form input,
.kontakt-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

.kontakt-form button {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #96cbe9;
    border: none;
    color: white;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.kontakt-form button:hover {
    background-color: #6fb7dc;
}

.kontakt-info {
    flex: 1;
    min-width: 300px;
}

.kontakt-info h2 {
    margin-bottom: 20px;
    color: #333;
}

.kontakt-info p {
    margin: 10px 0;
    color: #444;
}

.mapa iframe {
    margin-top: 20px;
    border-radius: 8px;
}

/*----------PLAČILA----------*/
.placila-content {
    padding: 60px 100px;
    color: #333;
}

.placila-content h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: #2b2b2b;
}

.placila-blok {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.placila-blok h2 {
    font-size: 1.5em;
    color: #96cbe9;
    margin-bottom: 10px;
}

.placila-blok p {
    font-size: 1.1em;
    line-height: 1.6;
}

.kontakt-info p {
    margin: 5px 0;
}

/*----------PRAVILNIK ZASEBNOSTI----------*/
.privacy-policy {
    padding: 60px 100px;
    color: #333;
}

.privacy-policy a {
    color: #6fb7dc;
}

.privacy-policy h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #2b2b2b;
}

.privacy-policy .date {
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: #888;
}

.privacy-policy h2 {
    color: #96cbe9;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.6em;
}

.privacy-policy p, .privacy-policy li {
    font-size: 1.1em;
    line-height: 1.6;
}

.privacy-policy ul {
    margin-left: 20px;
    list-style-type: disc;
}

/*----------PRIJAVA / REGISTRACIJA----------*/
.auth-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(150, 203, 233, 0.4);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 80px auto;
}

.auth-title {
    margin-bottom: 20px;
    color: #333;
}

.auth-form {
    display: none;
    flex-direction: column;
}

.auth-form.active {
    display: flex;
}

.auth-input {
    margin: 10px 0;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.auth-button {
    margin-top: 15px;
    padding: 12px;
    background-color: #96cbe9;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-button:hover {
    background-color: #7ab3d2;
}

.switch-link {
    margin-top: 15px;
    color: #96cbe9;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.auth-error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

/*----------PROFIL----------*/
.user-name {
    color: #000000;
}
.profile-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #e9f7ef;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.profile-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.logout-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.logout-link:hover {
    background-color: #d32f2f;
}


/*----------FOOTER----------*/
.main-footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 100px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-section h4 {
    color: #96cbe9;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #96cbe9;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-icons a:hover img {
    filter: brightness(0) invert(0.6) sepia(1) saturate(5) hue-rotate(180deg);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #555;
    border-top: 1px solid #333;
    padding-top: 15px;
}

/*----------ADMIN PANEL----------*/
/* Admin panel container */
.admin-body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.admin-form {
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.admin-table th, .admin-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.admin-table th {
    background-color: #007bff;
    color: white;
}

.cena-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Naslov */
.agumb{
    background-color: #007bff;
    margin: 10px;
    color: white;
    padding: 10px;
}

.admin-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Napaka in uspeh */
.admin-message {
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.admin-message.error {
    color: #d9534f; /* rdeča za napako */
}

.admin-message.success {
    color: #5cb85c; /* zelena za uspeh */
}

/* Label elementi */
.admin-label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #555;
}

/* Input polja in textarea */
.admin-input,
.admin-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 15px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.admin-input:focus,
.admin-textarea:focus {
    border-color: #007bff;
    outline: none;
}

.admin-container {
    max-width: 1200px;
    width: 100%;
}

/* Cards layout */
.admin-cards {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

/* Card */
.admin-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

/* Gumb za dodajanje */
.admin-button {
    display: inline-block;
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.admin-button:hover {
    background-color: #0056b3;
}

.admin-button.danger {
    background-color: #d9534f;
}

.admin-button.danger:hover {
    background-color: #b52b27;
}

/*----------TRGOVINA----------*/
/* ---------------- FILTRI - RESPONSIVE ---------------- */
.filter-dropdown {
    position: sticky;
    max-width: 100px;
    width: auto;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.filter-dropdown.fade {
    opacity: 0;
    transform: translateY(-10px);
}

.filter-toggle {
    display: none; /* privzeto skrito na računalniku */
    background-color: #96cbe9;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    margin: 10px auto;
    transition: background 0.3s ease;
}

.filter-toggle:hover {
    background-color: #7ab3d2;
}

.filter-dropdown.active {
    display: block;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.filter-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.filter-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #96cbe9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-btn:hover {
    background-color: #6fb7dc;
}

.trgovina-wrapper {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.trgovina-filtri {
    width: 250px;
    background: #fafafa;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.trgovina-filtri h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #444;
}

.trgovina-filtri label {
    font-size: 0.95rem;
}

.trgovina-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    justify-items: center;
    gap: 20px;
    padding: 40px 20px;
}

.trgovina-izdelek {
    text-align: center;
}

.trgovina-izdelek img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.2s;
}

.trgovina-izdelek img:hover {
    transform: scale(1.05);
}

.trgovina-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
}

.trgovina-izdelek {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    width: 240px;
    max-height: 500px;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dodaj-v-kosarico {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: none;
    background-color: #333;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.trgovina-izdelek:hover .izdelek-zaloga {
    opacity: 0;
}

.trgovina-izdelek:hover .dodaj-v-kosarico {
    display: block;
    opacity: 1;
}

.trgovina-izdelek img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 15px;
}

.trgovina-izdelek h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.trgovina-izdelek p {
    font-size: 1.2rem;
    color: #f54b4b;
}

.ni-zaloge {
    color: #c00;
    font-weight: bold;
    font-size: 20px;
}

.izdelek-zaloga-wrapper {
    position: relative;
    height: 30px;
}

.izdelek-zaloga {
    transition: opacity 0.2s ease;
}

.dodaj-v-kosarico {
    display: none;
    background-color: #333;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.velikosti-container {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap; /* če jih je več, da se prelomi v naslednjo vrstico */
}

.velikosti-container input[type="radio"] {
    display: none; /* skrij pravi radio gumb */
}

.velikost-label {
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.velikosti-container input[type="radio"]:checked + .velikost-label {
    border-color: #333;
    background-color: #f0f0f0;
    font-weight: bold;
}

.izdelek-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 30px;
}

.izdelek-slika {
    flex: 1 1 45%;
    text-align: center;
}

.izdelek-slika img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.izdelek-podatki {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

.izdelek-podatki h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.izdelek-cena {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e6005c;
}

.dodaj-kosarica-btn {
    padding: 12px 20px;
    background-color: #e6005c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.dodaj-kosarica-btn:hover {
    background-color: #c7004d;
}

.izdelek-opis {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/*----------KOSARICA----------*/
.kosarica-container {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.kosarica-leva, .kosarica-desna {
    flex: 1;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    background: #fafafa;
}

.kosarica-vrstica {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.kosarica-izdelek-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.kosarica-slika {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.kosarica-gumb {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.kosarica-gumb:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

.kosarica-kolicina-label {
    margin-right: 5px;
    font-size: 14px;
}

.kosarica-kolicina {
    width: 60px;
    padding: 4px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/*-------------------------BLAGAJNA------------------------------*/
.blagajna-checkout-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: "Poppins", sans-serif;
}

.blagajna-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 26px;
  color: #333;
}

.blagajna-form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

.blagajna-input, .blagajna-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 5px;
  font-size: 15px;
}

.blagajna-extra {
  margin-top: 20px;
}

.blagajna-summary {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.skupaj-blagajna{
  border-top: #000 solid;
  font-size: 20px;
}

.blagajna-button {
  width: 100%;
  background-color: #111;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.blagajna-button:hover {
  background-color: #444;
}

/*---------------------------USPESNO----------------------------*/
.uspesno-container {
    text-align: center;
}

.uspesno-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.uspesno-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.uspesno-title {
    font-size: 2rem;
    margin: 0;
}

.uspesno-subtitle {
    font-size: 1.1rem;
    margin: 10px 0;
}

.uspesno-info {
    color: #999999;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.uspesno-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #4caf50;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 600;
}

.uspesno-btn:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

/*-----------------------BURGER MENI------------------------*/
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
}

.burger div {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.open div:nth-child(2) {
    opacity: 0;
}
.burger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 950px) {
    .top-bar {
        padding: 6px 20px;
        font-size: 13px;
    }

    /* --- HEADER POPRAVKI --- */
    .main-header {
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .header-left {
        flex: 1;
    }

    .header-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        gap: 15px;
        position: relative;
        z-index: 1200;
        margin-right: 50px;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        cursor: pointer;
        z-index: 2000;
    }

    .burger div {
        background: #333;
        height: 3px;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .burger.open div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.open div:nth-child(2) {
        opacity: 0;
    }
    .burger.open div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* --- NAV MENI --- */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        text-align: center;
        z-index: 1000;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(-10px);
    }

    .nav-menu.active {
        margin-top: 40px;
        padding-top: 20px;
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
        padding: 12px 0;
    }

    /* --- DROPDOWN --- */
    .dropdown-menu {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        width: 50%;
        margin: -15px 25%;
    }

    .dropdown-menu.visible {
        display: flex;
        animation: fadeIn 0.3s ease forwards;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* --- BURGER MENI --- */
    .burger {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        cursor: pointer;
        z-index: 2000;
    }

    .burger div {
        background: #333;
        height: 3px;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .burger.open div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.open div:nth-child(2) {
        opacity: 0;
    }
    .burger.open div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ---------- SLIDESHOW POPRAVKI ---------- */
    .slide img {
        height: auto;
        width: 100%;
    }

    .carousel-dots {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background-color: #ddd;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .dot.active {
        background-color: #333;
    }

    /* --- IZDELKI V AKCIJI --- */
    .akcija{
        padding: 50px 10px;
    }
    .izdelki-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
        justify-items: center;
    }

    .izdelek {
        width: 100%;
        box-sizing: border-box;
    }
    .izdelek:last-child:nth-child(odd) {
        margin-top: 10px;
        grid-column: span 2;
        justify-self: center;
        width: 60%;
    }

    .izdelek:nth-child(odd) {
        margin-right: 4px;
    }

    .izdelek:nth-child(even) {
        margin-left: 4px;
    }

    .izdelki-container:has(.izdelek:only-child) {
        justify-content: center;
    }

    /*---BESEDILO---*/
    .izdelek-blok-domov{
        padding: 20px 30px;
    }

    .izdelek-slika-domov{
        opacity: 0;
        position: absolute;
    }


    /* --- FOOTER --- */
    .main-footer{
        padding: 40px 10px 20px;
    }
    .footer-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

    .footer-section li {
        margin: 5px 0;
    }

    .footer-bottom {
        text-align: center;
        font-size: 13px;
        padding: 10px 0;
        border-top: 1px solid #ddd;
        margin-top: 10px;
    }

    /*----------trgovina--------*/
    .trgovina-wrapper {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
    }
    
    .trgovina-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .trgovina-izdelek {
        width: 100%;
        max-width: none;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .trgovina-izdelek a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .trgovina-izdelek img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    
    .trgovina-izdelek h3 {
        font-size: 0.9rem;
        padding: 8px 10px;
        margin: 0;
        text-align: center;
        color: #333;
    }
    
    .izdelek-cena {
        font-size: 1.1rem;
        font-weight: bold;
        color: #28a745;
        padding: 5px 10px;
        margin: 0;
        text-align: center;
    }
    
    .izdelek-zaloga-wrapper {
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .izdelek-zaloga {
        font-size: 0.85rem;
        color: #555;
        margin: 0;
        text-align: center;
    }
    
    .izdelek-zaloga.ni-zaloge {
        color: #dc3545;
        font-weight: 600;
    }
    
    .dodaj-v-kosarico {
        width: 100%;
        padding: 8px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    
    .dodaj-v-kosarico:hover {
        background-color: #0056b3;
    }
    
    .filter-toggle {
        position: relative;
        display: block;
        width: 100%;
        background: black;
        color: white;
        padding: 10px;
        border: none;
        font-size: 16px;
        cursor: pointer;
        border-radius: 6px;
        margin-bottom: 10px;
        z-index: 2001;
    }
    
    .filter-dropdown {
        position: relative;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 2001;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .filter-dropdown.active {
        max-height: 600px;
        opacity: 1;
        transform: translateY(0);
        padding: 15px;
    }
    
    .filter-group {
        margin-bottom: 20px;
    }
    
    .filter-group h3 {
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 10px;
    }
    
    .filter-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.95rem;
        color: #555;
    }
    
    .filter-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 8px;
        cursor: pointer;
        vertical-align: middle;
    }
    
    .filter-btn {
        width: 100%;
        padding: 12px;
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    
    .filter-btn:hover {
        background-color: #218838;
    }
    
    .nav-menu:not(.active),
    .dropdown-menu:not(.visible) {
        pointer-events: none;
    }
    
    .nav-menu.active,
    .dropdown-menu.visible {
        pointer-events: auto;
    }
    
    .nav-menu.active ~ .filter-toggle,
    .nav-menu.active ~ .filter-dropdown {
        z-index: 500;
    }
    
    body.menu-open .filter-toggle,
    body.menu-open .filter-dropdown {
        z-index: 500 !important;
    }

    /*----IZDELEK----*/
    .izdelek-container {
        display: flex;
        flex-direction: column;
        padding: 20px 15px;
        gap: 25px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .izdelek-slika {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Slider */
    .slider {
        position: relative;
        width: 100%;
        max-width: 500px;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .slider-window {
        width: 100%;
        overflow: hidden;
    }

    .slider-track {
        display: flex;
        transition: transform 0.4s ease-in-out;
    }

    .slider-img {
        width: 100%;
        height: auto;
        flex-shrink: 0;
        object-fit: cover;
        display: block;
    }

    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        font-size: 1.5rem;
        padding: 12px 16px;
        cursor: pointer;
        z-index: 10;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }

    .slider-btn:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

    .slider-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

    .slider-btn.left {
        left: 10px;
    }

    .slider-btn.right {
        right: 10px;
    }

    /* Podatki o izdelku */
    .izdelek-podatki {
        width: 100%;
        box-sizing: border-box;
    }

    .izdelek-podatki h2 {
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .izdelek-cena {
        font-size: 1.6rem;
        color: #28a745;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .izdelek-zaloga {
        font-size: 1rem;
        color: #555;
        margin-bottom: 20px;
    }

    .izdelek-zaloga.ni-zaloge {
        color: #dc3545;
        font-weight: 600;
    }

    .dodaj-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .dodaj-form label {
        font-weight: 600;
        color: #333;
        font-size: 1rem;
    }

    .kolicina-input {
        width: 100%;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        box-sizing: border-box;
        transition: border-color 0.3s;
    }

    .kolicina-input:focus {
        outline: none;
        border-color: #007bff;
    }

    .dodaj-kosarica-btn {
        width: 100%;
        padding: 14px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
    }

    .dodaj-kosarica-btn:hover {
        background-color: #0056b3;
    }

    .dodaj-kosarica-btn:active {
        transform: scale(0.98);
    }

    /* Opis izdelka */
    .izdelek-opis {
        background-color: #f9f9f9;
        padding: 20px 15px;
        border-radius: 8px;
        margin-top: 20px;
        box-sizing: border-box;
        width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }

    .izdelek-opis * {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .izdelek-opis p {
        font-size: 1rem;
        color: #555;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .izdelek-opis h3,
    .izdelek-opis h4 {
        color: #333;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .izdelek-opis ul,
    .izdelek-opis ol {
        padding-left: 20px;
        margin-bottom: 15px;
    }

    .izdelek-opis li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

    .izdelek-opis img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 6px;
        margin: 10px 0;
    }

    .izdelek-opis table {
        width: 100% !important;
        overflow-x: auto;
        display: block;
    }

    /*---KOŠARICA---*/
    .kosarica-container {
        display: flex;
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    .kosarica-leva {
        order: 1;
    }

    .kosarica-desna {
        order: 2;
        background-color: #f8f8f8;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .kosarica-naslov {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .kosarica-vrstica {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 15px;
        margin-bottom: 15px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        position: relative;
    }

    .kosarica-izdelek-info {
        display: flex;
        gap: 10px;
        align-items: center;
        flex: 1;
    }

    .kosarica-checkbox {
        width: 24px;
        height: 24px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .kosarica-slika {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 5px;
        flex-shrink: 0;
    }

    .kosarica-podatki {
        flex: 1;
        font-size: 0.9rem;
    }

    .kosarica-kolicina {
        width: 60px;
        padding: 5px;
        margin-top: 5px;
    }

    .kosarica-odstrani {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .kosarica-gumb {
        width: 100%;
        padding: 12px;
        margin-top: 10px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
    }

    .kosarica-gumb:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

    .kosarica-skupaj {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .kosarica-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        margin: 10px 0;
    }

    .kosarica-label .kosarica-checkbox {
        width: 20px;
        height: 20px;
    }

    .kosarica-prazna {
        text-align: center;
        padding: 30px;
        color: #666;
    }

    /*-----BLAGAJNA------*/
    .blagajna-checkout-container {
        padding: 20px 15px;
        max-width: 100%;
        margin: 0 auto;
    }

    .blagajna-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 25px;
        color: #333;
    }

    .blagajna-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .blagajna-form label {
        font-weight: 600;
        color: #333;
        margin-bottom: 5px;
        font-size: 0.95rem;
    }

    .blagajna-input,
    .blagajna-select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        box-sizing: border-box;
        transition: border-color 0.3s;
    }

    .blagajna-input:focus,
    .blagajna-select:focus {
        outline: none;
        border-color: #007bff;
    }

    .blagajna-extra {
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 5px;
        margin: 10px 0;
    }

    .blagajna-extra label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-weight: normal;
    }

    .blagajna-extra input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .blagajna-summary {
        background-color: #f1f3f5;
        padding: 20px;
        border-radius: 8px;
        margin: 15px 0;
    }

    .blagajna-summary p {
        display: flex;
        justify-content: space-between;
        margin: 10px 0;
        font-size: 1rem;
        color: #555;
    }

    .blagajna-summary strong {
        color: #333;
    }

    .skupaj-blagajna {
        border-top: 2px solid #ddd;
        padding-top: 15px;
        margin-top: 15px;
    }

    .skupaj-blagajna p {
        font-size: 1.2rem;
        font-weight: bold;
        color: #000;
    }

    .blagajna-button {
        width: 100%;
        padding: 15px;
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s;
        margin-top: 10px;
    }

    .blagajna-button:hover {
        background-color: #218838;
    }

    .blagajna-button:active {
        transform: scale(0.98);
    }

    /*----USPESNO----*/
    .uspesno-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 60vh;
        padding: 20px 15px;
    }

    .uspesno-card {
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 40px 20px;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .uspesno-icon {
        font-size: 4rem;
        margin-bottom: 20px;
        animation: scaleIn 0.5s ease-out;
    }

    @keyframes scaleIn {
        from {
            transform: scale(0);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .uspesno-title {
        font-size: 1.8rem;
        color: #28a745;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .uspesno-subtitle {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .uspesno-subtitle strong {
        color: #333;
    }

    .uspesno-info {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .uspesno-btn {
        display: inline-block;
        padding: 14px 30px;
        background-color: #007bff;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        transition: background-color 0.3s, transform 0.2s;
    }

    .uspesno-btn:hover {
        background-color: #0056b3;
    }

    .uspesno-btn:active {
        transform: scale(0.98);
    }

    /*----KONTAKT----*/
    .kontakt-sekcija {
        padding: 40px 15px;
        background-color: #f9f9f9;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 50vh;
    }

    .kontakt-sekcija h1 {
        font-size: 2rem;
        text-align: center;
        color: #333;
        margin-bottom: 15px;
    }

    .kontakt-sekcija > p {
        text-align: center;
        color: #666;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 40px;
        padding: 0 10px;
        max-width: 500px;
    }

    .kontakt-container {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 500px;
    }

    .kontakt-info {
        background-color: #fff;
        padding: 30px 25px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .kontakt-info h2 {
        font-size: 1.6rem;
        color: #333;
        margin-bottom: 25px;
        font-weight: 600;
    }

    .kontakt-info p {
        font-size: 1.05rem;
        color: #555;
        line-height: 1.8;
        margin-bottom: 0;
    }

    .kontakt-info strong {
        color: #79c7f5;
        font-weight: 600;
    }

    /*-----PLAČILA-----*/
    .placila-content {
        padding: 30px 15px;
        background-color: #f9f9f9;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .placila-content h1 {
        font-size: 2rem;
        text-align: center;
        color: #333;
        margin-bottom: 30px;
        font-weight: 700;
    }

    .placila-blok {
        background-color: #fff;
        padding: 25px 20px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        margin-bottom: 20px;
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }

    .placila-blok h2 {
        font-size: 1.3rem;
        color: #007bff;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .placila-blok p {
        font-size: 1rem;
        color: #555;
        line-height: 1.7;
        margin-bottom: 10px;
    }

    .placila-blok p:last-child {
        margin-bottom: 0;
    }

    .placila-blok.kontakt-info {
        background-color: #f0f8ff;
        border: 2px solid #007bff;
    }

    .placila-blok.kontakt-info h2 {
        font-size: 1.2rem;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

    .placila-blok.kontakt-info p {
        font-size: 1.05rem;
        color: #333;
        text-align: center;
        margin-bottom: 8px;
    }

    .placila-blok.kontakt-info strong {
        color: #007bff;
        font-weight: 600;
    }

    /*---PRAVILNIK ZASEBNOSTI---*/
    .privacy-policy {
        padding: 30px 20px;
        background-color: #fff;
        max-width: 100%;
        box-sizing: border-box;
    }

    .privacy-policy h1 {
        font-size: 1.8rem;
        text-align: center;
        color: #333;
        margin-bottom: 10px;
        font-weight: 700;
        line-height: 1.3;
    }

    .privacy-policy .date {
        text-align: center;
        color: #888;
        font-size: 0.9rem;
        margin-bottom: 30px;
        font-style: italic;
    }

    .privacy-policy h2 {
        font-size: 1.4rem;
        color: #007bff;
        margin-top: 30px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .privacy-policy p {
        font-size: 1rem;
        color: #555;
        line-height: 1.8;
        margin-bottom: 20px;
        text-align: justify;
    }

    .privacy-policy strong {
        color: #333;
        font-weight: 600;
    }

    .privacy-policy ul {
        margin: 15px 0 20px 0;
        padding-left: 20px;
    }

    .privacy-policy ul li {
        font-size: 1rem;
        color: #555;
        line-height: 1.8;
        margin-bottom: 12px;
        list-style-type: disc;
    }

    .privacy-policy a {
        color: #007bff;
        text-decoration: underline;
        transition: color 0.3s;
    }

    .privacy-policy a:hover {
        color: #0056b3;
    }

    /*----PRIJAVA---*/
    .auth-container {
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        padding: 40px 25px;
        width: 90%;
        max-width: 400px;
        box-sizing: border-box;
    }

    .auth-title {
        font-size: 2rem;
        text-align: center;
        color: #333;
        margin-bottom: 30px;
        font-weight: 700;
    }

    .auth-error {
        background-color: #fee;
        color: #c33;
        padding: 12px;
        border-radius: 6px;
        text-align: center;
        margin-bottom: 20px;
        font-size: 0.95rem;
        border: 1px solid #fcc;
    }

    .auth-form {
        display: none;
        flex-direction: column;
        gap: 15px;
    }

    .auth-form.active {
        display: flex;
    }

    .auth-input {
        width: 100%;
        padding: 14px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        box-sizing: border-box;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

    .auth-input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .auth-input::placeholder {
        color: #999;
    }

    .auth-button {
        width: 100%;
        padding: 14px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1.05rem;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.3s;
        margin-top: 10px;
    }

    .auth-button:hover {
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }

    .auth-button:active {
        transform: scale(0.98);
    }

    .switch-link {
        text-align: center;
        margin-top: 25px;
        color: #667eea;
        font-size: 0.95rem;
        cursor: pointer;
        transition: color 0.3s;
    }

    .switch-link:hover {
        color: #764ba2;
        text-decoration: underline;
    }

    /*----PROFIL-----*/
    .profile-container {
        padding: 40px 20px;
        background-color: #f9f9f9;
        min-height: 60vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .profile-title {
        font-size: 2rem;
        text-align: center;
        color: #333;
        margin-bottom: 30px;
        font-weight: 700;
    }

    .profile-container p {
        background-color: #fff;
        padding: 15px 20px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        margin-bottom: 15px;
        font-size: 1rem;
        color: #555;
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }

    .profile-container p strong {
        color: #333;
        font-weight: 600;
        display: inline-block;
        min-width: 60px;
    }

    .logout-link {
        display: inline-block;
        margin-top: 20px;
        padding: 12px 40px;
        background-color: #dc3545;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        transition: background-color 0.3s, transform 0.2s;
        text-align: center;
    }

    .logout-link:hover {
        background-color: #c82333;
    }

    .logout-link:active {
        transform: scale(0.98);
    }


    /*-----ADMIN-----*/
    .admin-body {
        background-color: #f5f5f5;
        margin: 0;
        padding: 0;
    }

    .admin-container {
        padding: 20px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .admin-title {
        font-size: 2rem;
        text-align: center;
        color: #333;
        margin-bottom: 25px;
        font-weight: 700;
    }

    .admin-cards {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .admin-card {
        background-color: #fff;
        padding: 25px 20px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        box-sizing: border-box;
    }

    .admin-card h2 {
        font-size: 1.5rem;
        color: #333;
        margin-bottom: 20px;
        font-weight: 600;
        text-align: center;
    }

    .admin-card h3 {
        font-size: 1.2rem;
        color: #555;
        margin: 25px 0 15px 0;
        font-weight: 600;
    }

    .admin-message {
        padding: 12px;
        border-radius: 6px;
        text-align: center;
        margin-bottom: 20px;
        font-size: 0.95rem;
    }

    .admin-message.error {
        background-color: #fee;
        color: #c33;
        border: 1px solid #fcc;
    }

    .admin-message.success {
        background-color: #efe;
        color: #3c3;
        border: 1px solid #cfc;
    }

    .admin-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .admin-label {
        font-weight: 600;
        color: #333;
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .admin-input,
    .admin-textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 1rem;
        font-family: inherit;
        box-sizing: border-box;
        transition: border-color 0.3s;
    }

    .admin-input:focus,
    .admin-textarea:focus {
        outline: none;
        border-color: #007bff;
    }

    .admin-textarea {
        resize: vertical;
        min-height: 100px;
    }

    .filter-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        background-color: #f9f9f9;
        padding: 15px;
        border-radius: 6px;
        margin: 10px 0;
    }

    .filter-grid div {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .filter-grid label {
        font-weight: 600;
        color: #333;
        margin-bottom: 5px;
    }

    .filter-grid input[type="checkbox"] {
        margin-right: 8px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .admin-button {
        padding: 12px 20px;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        margin: 5px 5px 5px 0;
    }

    .admin-button:not(.danger):not(.edit) {
        width: 100%;
        background-color: #28a745;
        color: white;
        margin-top: 10px;
    }

    .admin-button:not(.danger):not(.edit):hover {
        background-color: #218838;
    }

    .admin-button.danger {
        background-color: #dc3545;
        color: white;
    }

    .admin-button.danger:hover {
        background-color: #c82333;
    }

    .admin-button.edit {
        background-color: #007bff;
        color: white;
    }

    .admin-button.edit:hover {
        background-color: #0056b3;
    }

    .admin-button:active {
        transform: scale(0.98);
    }

    /* Tabela */
    .admin-table {
        width: 100%;
        overflow-x: auto;
        display: block;
        border-collapse: collapse;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table tbody {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        display: block;
        margin-bottom: 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .admin-table td {
        display: block;
        text-align: left;
        padding: 8px 0;
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .admin-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        font-weight: 600;
        color: #333;
    }

    .admin-table td:nth-child(1)::before { content: "ID: "; }
    .admin-table td:nth-child(2)::before { content: "Slika: "; }
    .admin-table td:nth-child(3)::before { content: "Ime: "; }
    .admin-table td:nth-child(4)::before { content: "Opis: "; }
    .admin-table td:nth-child(5)::before { content: "Cena: "; }
    .admin-table td:nth-child(6)::before { content: "Zaloga: "; }
    .admin-table td:nth-child(7)::before { content: "Akcija: "; }

    .admin-table td img {
        max-width: 80px;
        border-radius: 5px;
    }

    .admin-table td:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding-left: 0;
        padding-top: 15px;
        border-top: 1px solid #ddd;
        margin-top: 10px;
    }

    .admin-table td:last-child::before {
        display: none;
    }

    .admin-table td:last-child form,
    .admin-table td:last-child a {
        flex: 1;
        min-width: calc(50% - 5px);
    }

    .admin-table td:last-child .admin-button {
        width: 100%;
        margin: 0;
    }


    /*---ADMIN UREDI IZDELEK----*/
    .edit-container {
        width: 95% !important;
        margin: 20px auto !important;
        padding: 20px 15px !important;
        box-sizing: border-box;
    }

    .edit-container h1 {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }

    .edit-container h3 {
        font-size: 1.3rem;
        color: #555;
        margin-top: 25px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .edit-form label {
        font-size: 0.95rem !important;
        margin-top: 15px !important;
    }

    .edit-form input[type="text"],
    .edit-form input[type="number"],
    .edit-form textarea {
        width: 100% !important;
        padding: 12px !important;
        font-size: 1rem !important;
        box-sizing: border-box;
    }

    .edit-form input[type="file"] {
        width: 100%;
        padding: 10px 0;
        font-size: 0.95rem;
    }

    /* TinyMCE editor */
    .tox-tinymce {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Filtri */
    .edit-form > div {
        background-color: #f9f9f9;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .edit-form > div label {
        display: block;
        margin: 8px 0;
        font-weight: normal !important;
    }

    .edit-form input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 8px;
        cursor: pointer;
        vertical-align: middle;
    }

    /* Predogled slike */
    img.preview {
        width: 100% !important;
        max-width: 300px !important;
        height: auto;
        margin: 15px auto !important;
        display: block !important;
    }

    /* Gumbi */
    .edit-buttons {
        flex-direction: column !important;
        gap: 15px;
        margin-top: 30px !important;
    }

    .btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        margin: 0 !important;
    }

    .btn-primary {
        background: #007BFF !important;
        color: white !important;
        order: 1;
    }

    .btn-primary:hover {
        background: #0056b3 !important;
    }

    .btn-secondary {
        background: #6c757d !important;
        color: white !important;
        order: 2;
        text-align: center;
        text-decoration: none;
        display: block;
    }

    .btn-secondary:hover {
        background: #565e64 !important;
    }

    .btn:active {
        transform: scale(0.98);
    }
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}