.wbt-border {
  border: 1px solid rgb(176, 176, 176);
}
.wbt-pv-container {
    display: flex;
    flex-wrap: wrap;
  }
  .wbt-pv-box1 {
    flex: 1 1 350px;
    max-width: 90px;
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .wbt-pv-box2 {
    flex: 1 1 calc(100% - 360px);
    margin-bottom: 10px; 
  }
  .wbt-pv-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .wbt-info-cena {
    color: #d6c27c;
    font-size: 24px;
  }
  .wbt-alert-box1 {
    padding: 15px;
    background-color: #f9f9f9;
    color: #000;
    border: 1px solid #c1c1c1;
    border-radius: 5px;
    margin-bottom: 20px;
  }
.wbt-color-picker {
    display: flex;
  }
  
  .wbt-color {
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    border: solid 1px;
    margin-right: 5px; 
    cursor: pointer;
  }

/* model za custom velicine */

.input-container-cc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.input-container-cc input {
  flex: 1; /* Polja za unos zauzimaju svu dostupnu 分irinu */
  padding: 10px;
  box-sizing: border-box;
}
.input-container-cc input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.submit-button-cc {
  background-color: #4CAF50;
  border: none; 
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;  
  cursor: pointer; 
  border-radius: 8px; 
}
.submit-button-cc:hover {
  background-color: #45a049;
  color: white;
  border-radius: 8px; 
}
/* ovo ispod je staro */
.model-wrap {
  display: flex; 
  flex-wrap: wrap; 
}

.model-vizual {
  width: 350px;
  position:relative;
}
.nav-r {
  position:absolute;
  width: 70px;
  height: 35px;
  top:0;
  right: 0;
  background-color: #000000bf;
  text-align: center;
  border: 1px solid black;
  z-index: 999999;
}
.nav-l {
  position:absolute;
  width: 70px;
  height: 35px;
  top:0;
  left: 0;
  background-color: #000000bf;
  text-align: center;
  border: 1px solid black;
  z-index: 999999;
}
.nav-arrow-model {
  width: 35px;
  height: 35px;
}
.model-overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.model-desc-list {
  list-style: none;
  margin: 0px 0px;
  padding-left: 0px;
}
.model-desc-list li a {
  font-size: 15px;
}
.mod-highlighted {
  color: #d1ba6a;
}
.dir-poz {
  width: 35px;
  display: inline-block;
}



/* MOD 2 */
.su-img, .su-img-holder {
  width: 180px;
  height: auto;
}
#upari-sa {
  background: #081d20;
  color: white;
  border-color: #081d20;
  border-radius: 4px;
  padding: 0px 7px;
  margin-top: 8px;
  margin-bottom: 8px;
}
#upari-sa:hover {
  color: #c7c7cc;;
}
#close-su-modal {
  background: white;
  border: 1px solid;
  border-radius: 6px;
  padding: 0px inherit;
}
#close-su-modal:hover {
  color: white;
  background: black;
}

/***************************
            Modal
***************************/
.modal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
  padding: 10px 10px 0;
}
.modal {
display: inline-block;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 99%;
border-radius: 0.1em;
margin-bottom: 10px;
padding: 1.8em;
background-color: white;
opacity: 0;
}
.modal-content {
font-family: "Open Sans", sans-serif;
font-size: 1.2em;
padding: 1.5em 0;
}
.modal-close:before {
  font-family: "Open Sans", sans-serif;
  font-size: 1.8em;
  line-height: 1.3em;
  content: "\00d7";
  text-align: center;
  cursor: pointer;
}
.modal-close, .modal-close:before {
  color: black;
  display: block;
  width: 1.3em;
  top: 0;
  right: 0;
  position: absolute;
}

.modal-close:hover, .modal-close:hover:before {
color: #4c5154;
}

.modal-overlay {
  position: fixed;
  z-index: 9999;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(44, 51, 58, 0.75);
  opacity: 0;
}

.visible{
opacity: 1;
}

/*
Center modal trick
*/
.modal, .modal-wrapper:after {
  vertical-align: top;
  margin-top: 50px;
}
.modal-wrapper:after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  content: "";
}

/*
Make modal responsive
*/
@media only screen and (min-width: 800px) {
.modal-wrapper .modal {
  max-width: 100vh;
}
}

@media only screen and (max-width: 790px) {
.modal-wrapper .modal {
  width: 95%;
}
} 

/***************************
 Animations & Keyframes
***************************/
.fade-in {
-webkit-animation: fade-in 300ms linear ease-in-out forwards;
-moz-animation: fade-in 300ms linear ease-in-out forwards;
-ms-animation: fade-in 300ms linear ease-in-out forwards;
-o-animation: fade-in 300ms linear ease-in-out forwards;
animation: fade-in 300ms ease-in-out forwards;
}

.fade-out {
-webkit-animation: fade-in 300ms linear ease-in-out reverse;
-moz-animation: fade-in 300ms linear ease-in-out reverse;
-ms-animation: fade-in 300ms linear ease-in-out reverse;
-o-animation: fade-in 300ms linear ease-in-out reverse;
animation: fade-in 300ms ease-in-out reverse;
}

.shade-in {
-webkit-animation: shade-in 300ms linear ease-in-out forwards;
-moz-animation: shade-in 300ms linear ease-in-out forwards;
-ms-animation: shade-in 300ms linear ease-in-out forwards;
-o-animation: shade-in 300ms linear ease-in-out forwards;
animation: shade-in 300ms ease-in-out forwards;
}

.shade-out {
-webkit-animation: shade-in 300ms linear ease-in-out reverse;
-moz-animation: shade-in 300ms linear ease-in-out reverse;
-ms-animation: shade-in 300ms linear ease-in-out reverse;
-o-animation: shade-in 300ms linear ease-in-out reverse;
animation: shade-in 300ms ease-in-out reverse;
}

@-moz-keyframes fade-in {
0% {
  opacity: 0;
  transform: scale(1.1);
}
100% {
  opacity: 1;
  transform: scale(1);
}
}
@-webkit-keyframes fade-in {
0% {
  opacity: 0;
  transform: scale(1.1);
}
100% {
  opacity: 1;
  transform: scale(1);
}
}
@-ms-keyframes fade-in {
0% {
  opacity: 0;
  transform: scale(1.1);
}
100% {
  opacity: 1;
  transform: scale(1);
}
}
@-o-keyframes fade-in {
0% {
  opacity: 0;
  transform: scale(1.1);
}
100% {
  opacity: 1;
  transform: scale(1);
}
}
@keyframes fade-in {
0% {
  opacity: 0;
  transform: scale(1.1);
}
100% {
  opacity: 1;
  transform: scale(1);
}
}

@-moz-keyframes shade-in {
0%  {
  opacity: 0;
}
100%  {
  opacity: 1;
}  
}
@-webkit-keyframes shade-in {
0%  {
  opacity: 0;
}
100%  {
  opacity: 1;
}
}
@-ms-keyframes shade-in {
0%  {
  opacity: 0;
}
100%  {
  opacity: 1;
}
}
@-o-keyframes shade-in {
0%  {
  opacity: 0;
}
100%  {
  opacity: 1;
}
}

@keyframes shade-in {
0% {
  opacity: 0;
}
100% {
  opacity: 1;
}
}

/* MOD 2 KRAJ */
  @media (max-width: 767px) {
    .wbt-pv-box1, .wbt-pv-box2 {
      flex: 1 1 100%; 
    }
    .wbt-pv-box1 {
      max-width: none;
      margin-right: 0;
    }
  }
  
  .woocommerce-page .b3dviewer_woo_wrapper .b3dviewer.woocommerce, .woocommerce #content div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product .b3dviewer_woo_wrapper div.images {
  width: 79%;
}
.entry-summary .wrap-cart-cta {
  margin-bottom: 15px;
  margin-top: 20px;
}
.wtb-pr-vel {
 border: 1px solid #d0d0d0;
  padding: 13px;   
}
.product--summary .variations {
  margin-bottom: 1em;
}
