body {
    height: 100%;
  font-family: "RadioCanadaBig-Regular", sans-serif;
  background-color: black;
  color: #dcdcdc;
  line-height: 1.6;
  padding: 0;
  margin: 0;

}


.header {
  background-color: black;
  text-align: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.header a {
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.3s ease;

}

.header-auth {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  text-align: center;
  flex-wrap: wrap; /* elementi se zložijo, če zmanjka prostora */
  width: 100%;
  box-sizing: border-box;
}

body a {
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}


.footer {
  background-color: white;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.footer a {
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.3s ease;

}

.footer-auth {
  display: flex;
  gap: 1rem;
  align-items: center;
}

main.block{
    flex: 1;
  min-height: 100vh;
}

/* ======= KARTICE IZDELKOV ======= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  max-width: 100px;
  margin-bottom: 1rem;
}

.card .title2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card .body-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
}


/* ======= FOOTER ======= */

.footer img {
  width: 24px;
  margin-right: 1rem;
}

.footer .list-item {
  margin: 0.3rem 0;
  cursor: pointer;
}

.footer .list-item:hover {
  color: var(--accent-color);
}

/* ======= GUMBI ======= */
.prijavi_se_rectangle{
background: #ffffff;
  border-radius: 26px;
  width: 85px;

}
.prijavi_se_button{
color: #000000;
  text-align: center;
  font-family: "RadioCanadaBig-Regular", sans-serif;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.1px;
  font-weight: 400;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-text-stroke: 1px transparent;
}

.confirm_button{
color: #000000;
  text-align: center;
  font-family: "RadioCanadaBig-Regular", sans-serif;
  font-size: 13px;
  font-weight: 400;
  align-items: center;
  justify-content: center;
  -webkit-text-stroke: 1px transparent;
    height: auto; /* ali lahko 'auto' z ustreznim paddingom */
    line-height: 1.5rem; /* približno enako kot input */
  padding: 0.4rem 0.5rem;
  border-radius:4px;
}


.signin_button {
    display: inline-block;
    background-color: white;
        align-items: center;    /* vertikalna poravnava */
        justify-content: center; /* horizontalna poravnava */
        color: #333;
        padding: 6px 12px;
        border-radius: 26px;
        cursor: pointer;
        font-size: 14px;
        transition: transform 0.2s;
        text-decoration: none;
}

.checkout-button {
    background-color: #ededed;
        display: flex;          /* naredi vsebnik fleksibilen */
        align-items: center;    /* vertikalna poravnava */
        justify-content: center; /* horizontalna poravnava */
        color: #333;
        padding: 6px 12px;
        border: 1px solid #333;
        border-radius: 10px;
        cursor: pointer;
        transition: transform 0.2s;
        text-decoration: none;
}
.checkout-button:hover {
    background: #c6c4c4;
}

.registration_button {
  background-color: white;
      display: flex;          /* naredi vsebnik fleksibilen */
      align-items: center;    /* vertikalna poravnava */
      justify-content: center; /* horizontalna poravnava */
      color: black;
      padding: 6px 12px;
      border-radius: 10px;
      cursor: pointer;
      font-size: 14px;
      transition: transform 0.2s;
    }
.registration_button:hover {
  background: var(--button-bg);
  color: white;

}
.transparent_button{
    background-color: transparent;
    display: flex;          /* naredi vsebnik fleksibilen */
    align-items: center; /* vertikalna poravnava */
    justify-content: center; /* horizontalna poravnava */
    padding: 6px 12px;
    cursor: pointer;
    color: #ffffff;
    text-align: center;
    font-family: "RadioCanadaBig-Regular", sans-serif;
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0.1px;
    font-weight: 400;
    -webkit-text-stroke: 1px transparent;
}
.transparent_button_smarje{
    background-color: transparent;
    display: flex;          /* naredi vsebnik fleksibilen */
    align-items: center; /* vertikalna poravnava */
    justify-content: center; /* horizontalna poravnava */
    cursor: pointer;
    color: #ffffff;
    text-align: center;
    font-family: 'My Soul', cursive;
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0.1px;
    -webkit-text-stroke: 1px transparent;
  transform: rotate(7deg) scale(1, 1);
}

.register_button{
    display: inline-block;
    background: #2ec52e;
    color: black;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
    text-decoration: none;
    margin-right: 10px;
    width: 160px;
}
.forget_password_button{
    display: inline-block;
    background: #c31919;
    color: black;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
    gap: 50px;
    text-decoration: none;
    margin-left: 25px;
    width: 160px;
}

.tricolor-button-register {
    display: inline-block;
    background: linear-gradient(135deg, green, white, red);
    text-decoration: none;
    color: #3e3b3a;
    text-align: center;
    padding: 6px 12px;
        border-radius: 26px;
        cursor: pointer;
        margin-top: 1rem;
        transition: transform 0.2s;
}

.tricolor-button-register:hover {
  transform: scale(1.02);
}
.zoom-btn {
  position: absolute;
  bottom: 30px;
  right: 27px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  border: none;
  padding: 8px 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s ease;
  z-index: 1;
  width: 38px; /* Eksplicitna velikost proti shrink-to-fit */
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.zoom-icon {
  width: 18px;
  height: 18px;
  fill: white;
  transform-box: fill-box; /* SVG transform fix */
  image-rendering: -moz-crisp-edges; /* FF ostri robovi */
  backface-visibility: hidden; /* Prepreči shift */
}

/* FF-specific, če je potrebno */
@supports (-moz-appearance: none) {
  .product-card:hover .zoom-btn {
    transform: scale(1.005);
    transition: background 0.2s ease, transform 0.2s ease;
  }
}
/*Product cards*/

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: center;    /* Centriraj celoten grid na sredino */
  padding: 1rem 0;
}

.product-card {

  background-color: var(--card-bg);
  box-shadow: var(--card-shadow);
    position: relative;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;        /* Poravnaj vsebino na sredino */
  text-align: center;         /* Centriraj besedilo */
  transition: transform 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  will-change: transform;
  width:230px;

}

.product-card:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.product-card img {
  border-radius: 8px;
  margin-bottom: 0.8rem;
  max-width: 100%;
    z-index: 1;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
    z-index: 1;
}

.product-card p {
    z-index: 1;
    color: white;
    font-size: 20px;
}

.product-card a {
  color: var(--button-bg);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--button-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1;
}

.product-card a:hover {
  background-color: var(--button-bg);
  color: var(--button-text);
}


.product-card::before{
    content: '';
    width: 100px;
    height: 200%;
    top: -50%;
    position: absolute;
    border-radius: 10px;
    background-image:
            linear-gradient(120deg, rgba(0, 0, 0, 0.8), rgba(255, 0, 0, 0) 60.71%),
            linear-gradient(240deg, rgba(0, 255, 0, 0.8), rgba(0, 255, 0, 0) 60.71%),
            linear-gradient(360deg, rgba(255, 0, 0, 0.8), rgba(0, 0, 255, 0) 60.71%);
    animation: product-tablet 7s linear infinite;
    transition: all 0.2s linear;
}

.product-card::after{
    content: '';
    inset: 3px;
    position: absolute;
    border-radius: 15px;
    background: #232222;
}
@keyframes product-tablet {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.h1{
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-top: 2rem;
}

.h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 700;
}
.text{
margin-bottom: 1.5rem;
  font-weight: 700;
}

.vozek-wrapper {
  display: flex;
  gap: 0.5rem;          /* razmik med elementoma */
  margin-top: 1rem;
  margin-bottom: 50px;
}
.vozek-wrapper > * {
  flex: 0 0 auto; /* ne razteguje, ostane kompaktno */
}
.prazn-vozek {
    background: #fffafa;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-align: center;
    margin: 0;
    font-size: 18px;
}

.center-block {
  display: block;
  width: fit-content; /* ali določena širina, npr. 300px */
  margin: 0 auto;
    margin: 80px auto;
    padding: 30px;
    font-family: "RadioCanadaBig-Regular", sans-serif;
    text-align: center;
}
.vozek-button {
  background-color: #649d60;
  color: white;
  border: 1px solid #333;
  padding: 6px 12px;
  border-radius: 26px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  width: -moz-available;
    }

 .vozek-button:hover {
    background-color: #1f3f1d;
}

/*Dropdown SELECT*/

.dropdown-wrapper {
        max-width: 400px;
        margin: 0 auto;
        padding: 2rem;
        background-color: #1e1e1e;
        border-radius: 12px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    }

    select {
        background: white;
        padding: 0.5rem;
        font-size: 1rem;
        border: 1px solid #444;
        border-radius: 4px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        margin-top: 0.5rem;
        height: 60px;
    }

    option {
        background-color: white;
        color: black;
    }

    label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--text-color);
    }

    /*ALERTS*/
.message-container {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    padding: 0 20px;
    pointer-events: none; /* da ne blokira klikov pod sabo, opcijsko */
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: bold;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error, .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Shopping cart*/
.cart-grid {
  display: flex;
  flex-direction: column;  /* postavi produkte enega pod drugim */
  gap: 1.5rem;
  justify-content: center;
  padding: 1rem 0;
}

.cart-input {
    flex: 0 0 14%;
  max-width: 50px;
  background-color: black;
  color: white;
  border: 1px solid white;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s ease;
  -moz-appearance: textfield;
}

.cart-input:hover {
  border-color: #888;               /* svetlejša obroba ob hoverju */
}

.cart-input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2); /* subtilen fokus efekt */
}
.cart-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10%;
  align-items: center;
}
@media (min-width: 768px) {
  .cart-wrapper {
    flex-direction: row;
    align-items: flex-start;

  }

  .cart-left {
  flex: 0 0 60%;
  margin-left: 40px;
  }

  .cart-right {
    align-items: center;
  flex: 0 0 20%;
  position: sticky;
  top: 10px;
  }
}

.cart-product {
  display: flex;
  align-items: center;
  background-color: #2F2F2F;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #444;
  margin-bottom:2rem;
  justify-content: space-between;
  align-items: stretch;
  margin: 0 0 2rem 0;
}
@media (max-width: 768px) {
  .cart-product {
    justify-content: center;
  }
}
.cart-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem; /* bolj fleksibilno kot min-height */
  margin: 2% 0 1% 0;
}

.cart-summary {
  background-color: #2F2F2F;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #444;
  width: 280px;
}
.cart-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.cart-counter {
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    position: relative;
    top: -10px;
    z-index: 999;
    position: absolute;
    right: 5px;

}

.cart-image img {
  max-width: 100px;   /* za mobitel */
  height: auto;
}

@media (min-width: 768px) {
  .cart-image img {
    max-width: 200px; /* šele na večjih ekranih večja slika */
  }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s;
}

.product-detail-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;  /* Prostor med row-wrapper, personalized in vozek-row */
    width: 100%;
}
/* Horizontalna vrstica za price + size (različno razmerje: 60:40) */
.row-wrapper {
    display: flex;
    gap: 1%;  /* Mali prostor med select-i */
    width: 100%;
}
.row-wrapper .price-select {
    flex: 0 0 60%;
}

.row-wrapper .size-select {
    flex: 0 0 39%;  /* Size: 40% širine */
}

.personalized-wrapper {
    width: 100%;
}
.personalized-wrapper .form-group-floating {
    width: 100%;  /* Napolni vrstico */
}

/* Horizontalna vrstica za vozek gumb + quantity (90:10 razmerje) */
.vozek-row {
    display: flex;
    gap: 1%;  /* Mali prostor med gumbom in quantity */
    width: 100%;
    align-items: center;  /* Vertikalno centrirano */
    margin-top: 10px;
}

.vozek-row .vozek-button {
    flex: 0 0 84%;  /* Gumb: 90% širine */
    white-space: nowrap;  /* Besedilo ne wrap-a */
}

.vozek-row .cart-input {
    flex: 0 0 15%;  /* Quantity: 10% širine, fiksno */
    max-width: 100px;  /* Ne raste preko 60px */
    text-align: center;
}

/* Splošno za vse form elemente (brez siljenja) */
.form-field {
    width: 100%;  /* Napolni svoj container */
    box-sizing: border-box !important;  /* Padding/border ne sili ven */
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 14px;
}
.product-detail {
  display: flex;           /* razporedi elemente v vrstico */
  align-items: center;     /* poravnaj vertikalno */
  gap: 1rem;               /* razmak med elementi v vrstici */
  background-color: #000;
  justify-content: center;
}
@media (max-width: 767px) {
  .product-detail {
    max-width: 350px;
    flex-wrap: wrap;

  }
}

.product-detail-desktop {
}

.product-extra-info {
    margin-top: 2rem;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    width: -moz-available;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-header {
    background: #f8f8f8;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #e0e0e0; /* svetlo siva */
    color: #000; /* črna besedila */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}



.accordion-header::after {
    content: "+";
    font-size: 1.5rem;
}

.accordion-header.active::after {
    content: "-";
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
}

.accordion-content p {
    margin: 1rem 0;
}



/* glasovanja */

.poll-container {
    max-width: 700px;
    margin: 80px auto;
    background-color: black;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    font-family: "RadioCanadaBig-Regular", sans-serif;
    text-align: center;
  }

  .poll-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
  }


.tricolor-button-sentjur {
    background: linear-gradient(135deg, green, white, red);
    margin-bottom: 20px;
  color: black;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
    width: 100%;
}
.tricolor-button-smarje {
    background: linear-gradient(135deg, blue, white, yellow);
  color: black;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}


.left-area {
  float: left;
}
.center-area {
  display: inline-block;
  width: 10%;
  text-align: center;
}
.right-area {
  float: right;
}

.form-group-floating {
    position: relative;
    margin-bottom: 20px;
    color: white;
}

.input-floating {
    width: 96%;
    padding: 12px 12px 12px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 26px;
    background: black;
    color: #999;
}

.input-floating:focus {
    outline: none;
    border-color: white;
}

.form-group-floating label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: none;
    color: #999;
    transition: all 0.2s ease;
    pointer-events: none;
    padding: 0 4px;
}

.input-floating:focus + label,
.input-floating:not(:placeholder-shown) + label {
    top: -2px;
    left: 8px;
    font-size: 12px;
}

.form-group-remember {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ddd;
}
.custom-checkbox {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    color: #ddd;
    user-select: none;
    display: inline-flex;
    align-items: center;
}

/* Skrij originalni checkbox */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Prazni kvadratek */
.custom-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 18px;
    width: 18px;
    background-color: #000;
    border: 1px solid #444;
    border-radius: 3px;
}

/* Ko je označeno – rdeče ozadje */
.custom-checkbox input:checked + .checkmark {
    background-color: red;
}

/* Klasična "kljukica" */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Pokaži "kljukico", ko je checkbox označen */
.custom-checkbox input:checked + .checkmark::after {
    display: block;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.form-actions > * {
    display: block;
    margin-bottom: 10px;
}

.form-actions-row {
    display: flex;
    justify-content: center;
}

.vote-bar-container {
    display: flex;
    width: 100%;
    height: 40px;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    font-weight: bold;
    color: white;
    text-align: center;
}

.vote-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.vote-bar.yes {
    background: linear-gradient(135deg, green, white, red);
}

.vote-bar.no {
    background: linear-gradient(135deg, blue, white, yellow);
}

/*circle */
/*
.wrapper-circle{
width: 200px;
height: 200px;
position: relative;
}

.inner-circle{
width: 90%;
height: 90%;
border-radius: 50%;
background: gray;
display: flex;
justify-content: center;
align-items: center;

}

.outer-circle{
width: 100%;
height: 100%;
border-radius: 50%;
background: black;
display: flex;
justify-content: center;
align-items: center;
}

.button-circle {
  width: 20px;
  height: 20px;
  background: green;
  border: 5px solid black;
  border-radius: 50%;
  position: absolute;
  top:  0;
  left: 50%;
  transform-origin: 50% 100px;
  transform: rotateZ(0deg) translateX(-50%);
}

.container-circle{
width: 220px;
height: 220px;
background: gray;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px;
}

.container-price{
font-weight: bold;
}

Ce bomo kdaj rabli, se html:
<div class="container-circle">
    <div class="wrapper-circle">
        <div class="outer-circle">
        <div class="inner-circle">
            <button class="button-circle"></button>
            <div class ="price">0%</div>

    </div>
    </div>
    </div>

    </div>
*/

#rangeValue {
  position: relative;
  display: block;
  text-align: center;
  font-size: 6em;
  color: #999;
  font-weight: 400;
}
.range {
  width: 400px;
  height: 15px;
  -webkit-appearance: none;
  background: #111;
  outline: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 1);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #00fd0a;
  cursor: pointer;
  border: 4px solid #333;
  box-shadow: -407px 0 0 400px #00fd0a;
}

.image-container {
    width: 100%; /* Celotna širina zaslona */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }
  .fixed-header {
    top: 0;
    left: 0;
    width: 100%; /* Celotna širina zaslona */
    height: auto;
    z-index: 10;
    object-fit: cover; /* Pokrije celotno širino, ohranja razmerje */
    opacity: 1; /* Začetni opacity */
    transition: opacity 0.2s; /* Gladko bledenje */
  }
  .floating-header {
    position: fixed; /* Fiksiran na vrhu, vedno viden */
    top: 0;
    left: 0;
    width: 100%; /* Celotna širina zaslona */
    height: auto;
    z-index: 15; /* Nad fiksirano sliko */
    object-fit: cover; /* Pokrije celotno širino, ohranja razmerje */
    opacity: 0
  }
  .center-block {
    text-align: center;
  }

  .vote-controls {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1.2rem;
}

.vote-button {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.vote-button:hover {
    color: #999;
}

.vote-score {
    color: #ccc;
    min-width: 20px;
    text-align: center;
}
.vote-button.upvote.active {
    color: #81c784; /* svetlo modra za upvote */
}

.vote-button.downvote.active {
    color: #e57373; /* svetlo rdeča za downvote */
}

.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #fefefe;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: "RadioCanadaBig-Regular", sans-serif;
}

.profile-heading {
    font-size: 24px;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.profile-section {
    background-color: #f4f4f4;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.profile-section h3 {
    font-size: 18px;
    margin-bottom: 0.75rem;
    color: #222;
}

.link-blue {
    color: #007BFF;
    text-decoration: none;
}

.link-blue:hover {
    text-decoration: underline;
}

.link-red {
    color: #C62828;
    text-decoration: none;
}

.link-red:hover {
    text-decoration: underline;
}

.order-list {
    list-style-type: disc;
    padding-left: 20px;
}

.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-link {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s;
}

.tab-link:hover {
    background-color: #d0d0d0;
}

.tab-link.active {
    background-color: #4fc3f7;
    color: white;
}

.tab-content {
    display: none;
    padding: 1rem;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.tab-content.active {
    display: block;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.order-table th, .order-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.order-table th {
    background-color: #e0e0e0;
    font-weight: bold;
}

.order-table tr:hover {
    background-color: #f1f1f1;
}

.status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
}

.status.paid {
    background-color: #c8e6c9;
    color: #256029;
}

.status.unpaid {
    background-color: #ffcdd2;
    color: #b71c1c;
}

.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex; justify-content: center; align-items: center;
    z-index: 999;
}
.modal {
    background: #fff; padding: 2rem; border-radius: 8px;
    max-width: 500px; width: 100%; box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.modal-actions {
    margin-top: 1.5rem;
}
.btn-blue {
    background-color: #2563eb; color: white;
    padding: 0.5rem 1rem; border: none; border-radius: 4px;
    cursor: pointer;
}
.btn-red {
    background-color: #dc2626; color: white;
    padding: 0.5rem 1rem; border: none; border-radius: 4px;
    cursor: pointer;
}
.btn-cancel {
    margin-left: 1rem; background: transparent;
    border: none; text-decoration: underline; cursor: pointer; color: #2563eb;
}


/*PAYMENT*/

.payment-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 1rem;
}

.payment-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.payment-card {
    background-color: #fafafa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stripe-element {
    margin-bottom: 1rem;
}

.stripe-error {
    color: red;
    margin-top: 0.5rem;
    min-height: 1.2em; /* da element ne skače */
}

.crypto-btn {
    background-color: #ef233c;
}

.crypto-btn:hover {
    background-color: #d90429;
}

.main-image {
    height: auto;  /* Avtomatsko prilagodi višino */
    object-fit: contain;  /* <-- TO: Ohrani razmerje, brez popačenja (centriraj, če je prostor) */
    object-position: center;
    cursor: pointer;  /* Za boljšo UX */
    border-radius: 8px;  /* Opcijsko: Zaobljeni robovi */
    transition: opacity 0.3s ease;  /* Gladka sprememba med switch-om */
}

.delivery-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 0.75rem;
}

.delivery-switch.vertical {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #2F2F2F;
    padding: 4px;
    gap: 4px;
    user-select: none;
}

.delivery-switch.vertical input {
    display: none;
}

.delivery-switch.vertical .option {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    z-index: 2;
}

.delivery-switch.vertical .price {
    font-size: 15px;
}
.delivery-switch.vertical .option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
}

/* Slider */
.delivery-switch.vertical .slider {
    position: absolute;
    left: 4px;
    right: 4px;
    top: 4px;
    height: calc(29%);
    background: #090808;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: transform 0.25s ease;
    z-index: 1;
}

/* Active states */
#delivery-gls:checked ~ .slider {
    transform: translateY(0%);
}

#delivery-parcel:checked ~ .slider {
    transform: translateY(112%);
}

#delivery-pickup:checked ~ .slider {
    transform: translateY(224%);
}

gls-dpm-dialog[open] {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    width: 90% !important;
    max-width: 1200px !important;
    height: 80% !important;
    max-height: 800px !important;
    background: white !important;
    border: 2px solid #333 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    padding: 0 !important;
    display: block !important;
}

gls-dpm-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5) !important;
}

/* Overlay za dialog */
#gls-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

#gls-backdrop.active {
    display: block;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.parcel-attention {
    border: 2px solid #e74c3c !important;
    animation: parcelShake 0.45s ease-in-out 2;
}

.parcel-attention img {
    animation: parcelZoom 0.45s ease-in-out 2;
}

@keyframes parcelShake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

@keyframes parcelZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.parcel-hint {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #ff3b3b;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
}


.parcel-hint::after {
    content: "";
    position: absolute;
    bottom: 100%;     /* prej top */
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #ff3b3b;  /* prej border-top-color */
}


.parcel-show-hint .parcel-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
