/* Modal overlay */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal window */
.modal-window {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Close button */
#close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Show modal */
.modal-visible {
    opacity: 1;
    visibility: visible;
}

.modal-hidden {
    opacity: 0;
    visibility: hidden;
}

  .breadcrumbs {
      background-color: whitesmoke;
      padding: 10px;
      font-size: 14px;
  }
  
  .breadcrumbs a {
      text-decoration: none;
      color: #007bff;
  }
  
  .breadcrumbs a:hover {
      text-decoration: underline;
  }
  
  .breadcrumbs span {
      color: #333;
  }
  
  body, html {
  padding: 0 !important;
  }
  
  .productImage img {
      transform: scale(1) 
  }
  
  .container{
     padding: 15px 0 30px 0 !important;
  }
  
  .product-container {      
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 300px));
      grid-gap: 20px;
      justify-items: center;
      text-align: center;
      justify-content: space-around;
  }
  
  input[type="radio"],   
  input[type="radio"] + label {
    display: unset;
    visibility: unset;
    float: unset;
    display: unset;
  }
  
  label {
    line-height: 2.2em;
    display: unset;
    visibility: unset;
    float: unset;
    display: unset;
  }
  
  
  .slick-initialized .slick-track {
      display: flex;
      align-items: center;
  }
  
  #longDescription.collapsed {
    overflow: hidden;
    max-height: 300px;             
  }
  
  .collapsed::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      
      background: rgb(255,255,255);
      background: linear-gradient(0deg, rgba(255,255,255,1) 4%, rgba(255,255,255,0) 50%);
    z-index: 1; /* Překrytí obsahu */
  }
  
  .container.collapsed {
      position: relative; /* Nastavení relativní pozice pro rodičovský prvek */
  }
  
  #toggleDescriptionBtn {
      display: block;
      width: 90%;
      padding: 10px 20px; /* Přizpůsobte podle potřeby */
      
    margin: 0px auto 0 auto;
      background-color: #f0f0f0; /* Světle šedá barva */
      border: none;
      border-radius: 5px;
      color: #333; /* Barva textu */
      font-size: 16px; /* Velikost písma */
      cursor: pointer;
      transition: background-color 0.3s ease; /* Plynulý přechod */
  }
  
  #toggleDescriptionBtn:hover {
      background-color: #e0e0e0; /* Světlejší odstín šedé při najetí myší */
  }
                   
  #longDescription > p:first-of-type {
    font-size: 1.15em; /* Zde můžeš nastavit velikost písma podle svých preferencí */
  }                      
                                                  
  #longDescription {         
    max-height: 400px;
    font-size: 0.9em; /* Zde můžeš nastavit velikost písma podle svých preferencí */
    /*text-align: center;*/  
    transition: max-height 0.3s ease-out; /* Plynulé přechodové animace */
  }  
  
  #longDescription > ul > li {         
    list-style: circle !important;
  }
  
  #produkt {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      align-items: flex-start;      
      flex-wrap: wrap;
      gap: 10px;
      margin: 0 auto;
      padding: 40px 0 0 0;
  }
  
  #productImages {
      width: 100%;
      max-width: 450px;
      text-align: right;  
      align-self: center;      
      background-color: #f7f7f7;      
  }
  
  .productImage {
      width: 100%;
  }
  
  #productDetails {         
      min-width: 350px;
      max-width: 350px;
      text-align: left;  
      align-self: center;
  }
  
  #productDetails h1 {
      font-size: 24px;
      margin-bottom: 10px;
  }
  
  #productId {
      font-size: 0.7em;
      color: lightgray;
  }
  
  #productDetails #cena {
      display: inline;
      font-size: 25px;
      margin-bottom: 10px;
  }
  
  
  .add-to-cart-btn {
      background-color: #9AFF9A;
      border: none;
      color: #3B3B3B;
      padding: 10px 20px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      border-radius: 20px;
      cursor: pointer;
  }
  
  .add-to-cart-btn:disabled,
  .add-to-cart-btn[disabled]{
      background-color: white;
      cursor: default;
  }
  
  #productDescription {    
      max-width: 350px;
      margin-top: 20px;
  }
  
  #productDescription h2 {
      font-size: 20px;
      margin-bottom: 10px;
  }
  
  #productDescription p {
      font-size: 16px;
      margin-bottom: 10px;
  }