
:root {
    /*Colors*/
    --dark-red: #f7418e;
    --dark-pallete: #fc819e;
    
    --white-back: #fff;   
    --pink-hover: #fc819e;
    --black-text: #0C0C0C; 
    --border: #424044;
    
    --grey-theme: #424044;
    
    /*Spasing*/
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 100px;
}


p, span, ul, h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", sans-serif;
    color: var(--black-text);
}


body {
  margin: 0 auto; 
  padding-top:  var(--spacing-large);
  
  font-family:  "Open Sans", sans-serif;
  background-color: var(--white-back);
  color: var(--black-text);
  display: flex;
  
  max-width: 1400px;
  flex-wrap: wrap;
  justify-content: center;
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

a {
  text-decoration: none;
  color: var(--black-text);
  font-weight: bold;
  transition: color 0.2s ease-out;
}

a:hover {
  color: var(--grey-theme);
}

.accent-color-hover:hover {
    color: var(--grey-theme);
}

.accent-color-hover:hover span.material-symbols-rounded {
    color: var(--grey-theme);
}

.Body {
  padding: 70px;
}

header {
  margin-bottom: 10px;
  text-align: left;
}

header h1 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: bold;
}

header p {
  font-size: 1.25em;
  margin: 0;
}

ul {
  list-style: none;
}

li {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.3;
  list-style: none;
}






hr {
  width: 150px;
  height: 4px;
  background-color: var(--grey-theme);
  border: none;
  border-radius: 30px;
  margin: 5px 0 10px 0;
}








#model-filter-form {
    justify-content: flex-end;
}

.filter-form {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 20px;
    padding: 1rem;
    max-width: 1400px;
}

.filter-label {
    font-size: 1.5em;
    font-weight: bold;
}

.filter-group {
    display: flex;
    width: 100%;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

.checkbox-column {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    padding-left: 2.5rem;
    white-space: nowrap;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    left: 0;
    opacity: 0;
}

.custom-checkbox .checkbox-custom {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background-color: transparent;
    border-color: var(--dark-red);
}

.custom-checkbox .checkbox-custom:after {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.25rem;
    width: 0.5rem;
    height: 0.75rem;
    border: solid var(--dark-red);
    border-width: 0 0.2rem 0.2rem 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-custom:after {
    opacity: 1;
}

.order-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.order-button {
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    border: 2px solid var(--border);
    border-radius: 4px;
    background-color: var(--white-back);
    height: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.order-button.active {
    background-color: var(--white-back);
    border-color: var(--dark-red);
}

.order-button .material-symbols-outlined {
    vertical-align: 0;
    font-size: 34px;
    font-weight: 700;
}

.button-lower {
    padding-top: 1.5rem;
}



.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    justify-content: space-between; 
}

.review-item {
    flex: 1 1 calc(50% - 20px); 
    box-sizing: border-box;
    border: 1px solid #ddd; 
    padding: 15px; 
    background-color: #f9f9f9;
}

.reviews-title {
    font-size: 1.2em;
    margin-left: 10px;
    margin-bottom: 10px;
}

.reviews-paragraph {
    font-size: 1em;
    margin: 0;
}



#custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}

#custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 3px solid var(--dark-red);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    width: 300px; 
    text-align: center;
}

#custom-popup p {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.custom-popup-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.custom-popup-close:hover {
    color: var(--dark-red); 
}




@media only screen and (max-width: 1400px) {
    .filter-group {
        justify-content: center;
    }

    .filter-label {
        font-size: 1.2em;
    }

    .checkbox-column{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .custom-checkbox {
        font-size: 14px;
        padding-left: 2rem;
    }

    .custom-checkbox .checkbox-custom {
        width: 1.2rem;
        height: 1.2rem;
    }

    .custom-checkbox .checkbox-custom:after {
        left: 0.4rem;
        top: 0.2rem;
        width: 0.4rem;
        height: 0.6rem;
    }

    .order-button {
        padding: 8px;
        font-size: 16px;
        height: auto;
    }

    .order-button .material-symbols-outlined {
        font-size: 28px;
    }

    .order-buttons {
        gap: 10px;
        flex-direction: column;
    }
    
}













