/* wp-content/themes/kandence-child/assets/css/cookie-banner.css */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1B1B1B;
    text-align: center;
    padding-block: 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 10px;
    z-index: 1000;
    font-size: 14px !important;
    padding-inline: 50px;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
  }

  #cookie-banner.visible {
    transform: translateY(0);
  }
  
  .cookie-banner p {
    flex: 1;
    margin: 0 0 10px;
    color: #fffdf6;
    text-align: left;
    font-family: inherit;
    line-height: 1.5;
    min-width: 250px;
  }

  .cookie-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex: 1;
    gap: 10px;
  }
  
  .cookie-buttons > a:hover {
    color: #FFFDF6;
    opacity: .7 !important;
  }
  
  #accept-cookies, #decline-cookies, #personalize-cookies, #save-cookie-preferences {
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 12px 10px !important;
    min-width: 125px;
    height: auto;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #FFFDF6 !important;
    border-color: #FFFDF6 !important;
    color: #1B1B1B !important;
    height: auto;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    border-color: #FFFDF6 !important;
  }

  #personalize-cookies {
    background-color: transparent !important;
    border: 2.5px solid #FFFDF6 !important;
    color: #FFFDF6 !important;
    padding: 0px !important;
  }

  
  #cookie-banner button:hover {
    border-color: #888;
    opacity: .7 !important;
  }

  .hidden {
    display: none;
  }
  
  .cookie-modal {
    position: fixed;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 28, 28, 0.493);
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    font-size: 14px !important;
  }

  .cookie-modal-content {
    background: rgb(32, 32, 32);
    padding: 30px 26px;
    border-radius: 8px;
    color: white;
  }

  .cookie-modal-content>h2 {
    color: white;
    font-size: 14px;
  }

  .cookie-preferences {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }
  

  .cookie-preferences>label {
    display: flex;
    gap: 10px;
    align-items: center;
    color: white
  }

  .cookie-preferences>label>input {
    width: 20px;
    height: 20px;
    border-radius: 5px;
  }
  
  .modal-content {
    text-align: center;
    color: #fff;
  }
  
  .modal-buttons {
    display: flex;
    justify-content: end;
    gap: 20px;
  }
  
  .modal-buttons button {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
  }
    
  @media (max-width: 768px) {
    #cookie-banner {
      font-size: 12px !important;
      row-gap: 20px;
      flex-direction: column;
      text-align: center;
      padding-inline: 20px;
    }

    #accept-cookies, #decline-cookies, #personalize-cookies, #save-cookie-preferences {
      font-size: 12px !important;
      min-width: 50px;
      padding: 8px 10px !important;
    }

    .cookie-modal-content>h2 {
      font-size: 12px !important;
    }

    .cookie-modal {
      font-size: 12px !important;
    }

    .modal-buttons {
      justify-content: center;
      margin-top: 10px;
    }

    .cookie-banner p {
      text-align: center;
      width: 100%;
    }

    .cookie-buttons {
      gap: 10px;
      justify-content: center !important;
      flex-wrap: nowrap;
    }
  
    .cookie-buttons button {
      width: 100%;
    }
  }