details>summary {
    list-style: none;
}

.result { /*Style for loaded results from JS*/
    padding-left: 25px;
    padding-bottom: 5px;
    overflow:scroll; /*Scroll effect*/
    max-height: 800px;
}

.result-head {
    padding-left: 25px;
    padding-top: 9px
}

.result-slide {
    background: rgb(255 255 255 / .8);
    border-radius: 15px 15px 15px 15px;
    font-size: 18px bold;
}

.btn-enter {
    background: rgb(255 255 255 / .8);
    border-radius: 20px;
    font-weight: 600;
    padding-top: 2px;

}

.btn-enter:hover {
    background: #94C24A;
}

.btn-reset, .btn-reset-LC, .btn-reset-default {
    background: rgb(255 255 255 / .8);
    border-radius: 20px;
    font-weight: 600
}

.btn-reset, .btn-reset-LC, .btn-enter{
    max-width: 80px;
    padding-top: 2px;
    font-size: 13px;
    text-align: center;
}
.btn-reset:hover, .btn-reset-LC:hover, .btn-reset-default:hover {
    background: #D13579;
    color: #ffffff;
}

.btn-user1 {
    background: #17428C;
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 0px 10px 4px 10px
}

.number-input {
    max-width: 200px;
}

.number-input input {
    text-align: center;
}

.text-color {
    color: #ffffff;
}

.c-box1 {
    border-radius: 15px 15px 0px 0px;
    padding: 5px 5px 5px 10px;
    background: rgb(255 255 255 / .2);
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.c-box2 {
    padding: 5px 5px 20px 10px;
    background: rgb(255 255 255 / .2);
    color: #ffffff;
}

.c-box3{
    border-radius:0px 0px 15px 15px;
    padding: 5px 5px 20px 10px;
    background: rgb(255 255 255 / .2);
    color: #ffffff;
    border-top: 2px solid #ffffff;
    
}
.c-box4{
    padding: 25px 0px 0px 0px;
    background: rgb(255 255 255 / .2);
    color: #ffffff;
}
.total-result{
    border-radius: 0px 0px 15px 15px;
}
p {
    font-family: Barlow;
    font-size: 16px;
    font-weight: 400;
}

.c-box1,
.c-box2 {
    transition: background-color 0.3s ease;
}

details>summary {
    list-style: none;
    cursor: pointer;
}

.c-box1,
.c-box2 {
    transition: background-color 0.3s ease;
}

.animated-details .details-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.animated-details.open .details-content {
    max-height: 1000px;
    opacity: 1;
}
/* Modal popup styles */
.modal-content {
  background: rgba(255, 255, 255);
  border-radius: 15px;
  padding: 20px;
  width: 600px;
  margin: auto;
  box-sizing: border-box;
}

/* Optional: adjust padding and radius on very small screens */
@media (max-width: 800px) {
  .modal-content {
    padding: 15px;
    border-radius: 10px;
    width:500px
  }
}


/*Hides bootstrap5 modal header border since it is automatically loaded*/
.modal-header{
    border-bottom: none;
    padding-bottom: 0;
}
/* Custom alert styles */
.alert-custom {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 15px;
	padding: 20px;
	max-width: 600px;
	width: 90%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	color: #000;
	text-align: center;
}
/* Poduct info buttons */
.svg-float-right{
    float: right;
    margin-left: 10px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
/* Hide the default number input arrows */
.filter-tag {
    background: #17428C;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: default;
  }
  /* Remove tag button */
  .remove-tag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background-color: #dc3545; /* Bootstrap danger red */
    color: white;
    font-weight: bold;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
  }
  /* Active filters container */
  #active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding: 0px 0px 10px 0px;
  }
/* Dropdown styles */
#crossSectionDropdown .dropdown-menu {
    max-height: 150px;
    overflow-y: auto;
  }
  .result, .result-counter {
    overflow-x: hidden;
  }
/* Result counter */
#result-counter{
    padding-top: 10px;
    font-size: 15px;
    font-weight: 600;
    overflow-y: hidden;
    text-align: left;
    color: rgb(0 0 0 / .8);
    font-size: 16px;
}

/* Full-screen loader overlay */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    display: none;
  }
  
  #loadingOverlay .loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid;
    border-color: #000 #0000;
    animation: l1 1s infinite;
  }
  /* Animation for the loader */
  @keyframes l1 {
    to {
      transform: rotate(0.5turn);
    }
  }
  /* On smaler screen add's extra heigth to the cross section */
  @media only screen and (min-width: 1200px){
    .csection{
    height: 200px
    }
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #17428C;
  padding: 10px;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.icon-btn:hover {
  background-color: #8AB5E1;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/*Distributor grid*/
#productTitle{
    font-size: 16px !important;
}
.distributors {
    box-shadow: 0px 0px 5px #555555;
    width: 80px; 
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.distributors:hover {
    transform: scale(1.1);
}
.distributor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 0;
    margin-bottom: 15px;
}

.distributor-grid a {
    flex: 0 0 calc(20% - 10px); /* 5 per row on tablets/desktops */
    box-sizing: border-box;
}

.distributor-grid img.distributors {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 500px) {
.distributor-grid a {
    flex: 0 0 calc(33.333% - 10px); /* 3 per row */
    scale: 0.9;
}
}
/* Font Barlow*/

.barlow-thin {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.barlow-extralight {
    font-family: "Barlow", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.barlow-light {
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.barlow-regular {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.barlow-medium {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.barlow-semibold {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.barlow-bold {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.barlow-extrabold {
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.barlow-black {
    font-family: "Barlow", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.barlow-thin-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.barlow-extralight-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.barlow-light-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.barlow-regular-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.barlow-medium-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.barlow-semibold-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.barlow-bold-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.barlow-extrabold-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.barlow-black-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 900;
    font-style: italic;
}