/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.custom-select-dropdown {
  position: relative;
  width: 100%;
  max-width: 320px; /* or whatever fits your design */
  font-family: Arial, sans-serif;
}

.custom-select-selected {
  width: 100%;
  background: white;
  border: 2px solid #0073aa;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}

.custom-select-options {
  display: none;
  position: absolute;
  background: white;
  border: 2px solid #0073aa;
  border-radius: 5px;
  margin-top: 2px;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  list-style: none;
  padding: 0;
}

.custom-select-options li {
  padding: 10px 12px;
  cursor: pointer;
}

.custom-select-options li:hover,
.custom-select-options li.selected {
  background-color: #0073aa;
  color: white;
}

.custom-select-options li.disabled {
  color: #aaa;
  cursor: not-allowed;
}


.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.custom-modal.visible {
    display: block;
}

.custom-modal .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.custom-modal .modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2em;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-radius: 10px;
    text-align: center;
}

.custom-modal .close-btn {
    margin-top: 1em;
    padding: 0.6em 1.2em;
    background: #333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.custom-modal .close-btn:hover {
    background: #000;
}
