/*--- Colors to use:
    Oker => #CC7722
    Lila => #E9D2F4
    soort van Zwart => #1E2D2F
    Babyroze => D84797
    Babyblauw => 5CD4F8
*/

/* Sizes:
    0.125rem = 2px
    0.25rem = 4px
    0.5rem = 8px
    1rem = 16px
*/

body{
    font-family: "Love Ya Like A Sister", cursive;
    font-weight: 300;
    font-style: normal;
    color: #1E2D2F;
    font-size: 1.5rem;
    line-height: 1.6;
    min-height:100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "navbar"
    "main"
    "footer";
    grid-template-rows: auto 1fr auto;
    background-color: #CC7722;
}

nav{
    grid-area: navbar;
    padding:1em;
}
main{
    grid-area: main;
}
footer{
    grid-area: footer;
    padding: 2em
}
.inner-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem;
}

.hidden{
    display: none;
}

.strong{
    font-weight: 600;
}

.no-bullet {
    list-style-type: none;
}

.box-element {
    box-shadow: 1rem 1rem 2rem darkorange;
    background-color: #E9D2F4;
    border-radius: 0.25rem;
    padding: 0.5rem;
}

.inner-box-element {
    background-color: #E9D2F4;
    border-radius: 0.25rem;
    border-color: #1E2D2F;
    border-style: solid;
    border-width: 0.125rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.list-group-item{
    background-color: #CC7722 !important;
    border: none;
}

/* Navbar container */
.navbar {
    padding: 2% 6%;
}

/* Common font styles for links */
.navbar a {
    font-family: "Love Ya Like A Sister", cursive;
    font-weight: 400;
    font-size: 1.5rem;
    color: #E9D2F4;
    text-decoration: none;
}

/* Hover color change only (no underline) */
.navbar .nav-link:hover {
    color: #5CD4F8;
}

/* Active nav item: color + underline */
.navbar .nav-link.active {
    color: #5CD4F8 !important;
    border-bottom: 2px solid #5CD4F8;
}

/* Dropdown menu background and styling */
.dropdown-menu {
    background-color: #5CD4F8;
    border: none;
    font-family: "Love Ya Like A Sister", cursive;
}

/* Dropdown items: black text and hover styling */
.dropdown-menu .dropdown-item {
    color: #1E2D2F !important;
}
.dropdown-menu .dropdown-item:hover {
    background-color: #D84797;
    color: white !important;
}

.dropdown-menu .dropdown-item.active {
    background-color: #E9D2F4 !important;
    color: #1E2D2F !important;
}


/* Login button styling */
.btn-login {
    background-color: #E9D2F4;
    color: black;
    font-weight: bold;
    border: none;
}
.btn-login:hover {
    background-color: #5CD4F8 !important;
}

.nav-item{
    list-style: none;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    position: relative;
    font-size: 1.25rem;
}

.hero-btn{
    display: inline-block;
    width: 100%;
    text-decoration: none;
    text-align: center;
    border: 0.125rem solid #D84797;
    padding: 0.75rem 2rem;
    background: #D84797;
    font-size: 1.25rem;
    position: relative;
    cursor: pointer;
    border-radius: 0.5rem;
}
.hero-btn:hover{
    border: 0.125rem solid #5CD4F8;
    background: #5CD4F8;
    transition: 0.5s;
}

.btn-login{
    background: #E9D2F4;
    color: black !important;
    border: none;
}

.btn-login:hover {
    background: #E9D2F4;
    filter: brightness(0.75);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-register{
    background: #5CD4F8;
    color: black !important;
    border: none;
}

.btn-register:hover {
    background: #5CD4F8;
    filter: brightness(0.75);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.header-element{
   display: inline-block;
}

.body-element{
    display: none;
}

.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.expand-content.show {
  max-height: 500px; /* adjust as needed */
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotate(90deg);
}

.product-header {
  margin-bottom: 1rem;
}

.titles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.titles h3 {
  margin: 0;
}

.gekocht-group {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space between "Gekocht:" and checkbox */
}

.checkboxButton {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.inner-box-element.checked {
    color: grey;
    opacity: 0.7;
    transition: background-color 0.3s ease;
    border-color: grey;
    }

.toggleButton {
    display: block;
    width: 100%; /* if you want button full width, otherwise remove this */
    background-color: #E9D2F4;
    border: none;
}

/* user auth */
.user_card {
	width: 30rem;
    max-height: 35rem;
	margin-top: 1rem;
	position: relative;
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 20px;
	box-shadow: 10px 10px black;
	-webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-radius: 5px;
    color: #E9D2F4 !important;
}

.user_card a{
    text-decoration: none;
    color: #E9D2F4
}

.user_card > a:hover{
    color: #5CD4F8;
}

.form_container {
	margin-top: 20px;
}

.login_container {
	padding: 0 2rem;
}
.input-group-text {
	background: #5CD4F8 !important;
	color: white !important;
	border: 0 !important;
	border-radius: 0.25rem 0 0 0.25rem !important;
    height: 100%
}
.input_user,
.input_pass:focus {
	box-shadow: none !important;
	outline: 0 !important;
}

#messages{
	background-color: grey;
	color: white;
    font-size: 1rem;
	padding: 1rem;
	margin-top: 1rem;
    text-align: center;
}

.gradient-btn {
    background: linear-gradient(to right, #D84797, #5CD4F8);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.fp-list{
    color: #E9D2F4
}

.form-background{
    background-color: #E9D2F4;
    padding: 0.5rem;
}
/* Productpagina's */
.voordeel {
  color: green;
}
.nadeel {
  color: red;
}

label {
  display: block;
  margin-top: 15px;
}
select, button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
}
.resultaat {
  margin-top: 30px;
}
.kaart {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #f9f9f9;
}
.kaart h3 {
  margin-top: 0;
}
.ul_pp {
    margin-bottom: 20px;
    list-style-type: none;
}

.aspect-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.aspect-text {
  flex: 2;
  min-width: 300px;
}

.aspect-image {
  flex: 1;
  max-width: 300px;
}

.aspect-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.img-float-right {
    float:right;
    max-height: 20rem;
    border-radius: 1.25rem;
    margin-right: 1.25rem;
    margin-left: 1rem;
    object-fit: contain;
}
.img-float-left {
    float:left;
    max-height:20rem;
    border-radius: 1.25rem;
    margin-left: 1.25rem;
    margin-right: 1rem;
    object-fit: contain;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0.5rem;
    border: 1px solid #E9D2F4;
    border-radius: 12px;
    background: #E9D2F4;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.product-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card-top img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 6px;
}
.product-card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.price-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* or a fixed width like 300px */
}

.old-price {
  color: #c0392b;
  text-decoration: line-through;
}

.discount {
  background-color: #e74c3c;
  color: white;
  padding: 0.2rem 0.4rem;
  font-weight: bold;
  border-radius: 4px;
}

.new-price {
  color: #27ae60;
  font-weight: bold;
}

.price-tag.no-discount {
  justify-content: flex-end;
}
.pagination-controls {
  text-align: center;
  margin-top: 2rem;
  font-weight: bold;
}

.pagination-controls a {
  margin: 0 1rem;
  text-decoration: none;
  color: #E9D2F4;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.filter-group label {
  font-size: 2rem;
  margin-bottom: 8px;
}

.filter-group select {
  font-size: 1.5rem;
  height: 65px;
  padding: 5px 10px;
}

/* Choices.js main container */
.choices {
  font-size: 1.5rem;
}

/* Input box (for search) */
.choices__input {
  font-size: 1.5rem !important;
}

/* Selected items inside the multi-select */
.choices__inner {
  font-size: 1.5rem;
}

/* Dropdown list options */
.choices__list--dropdown .choices__item {
  font-size: 1.5rem;
}

.affiliate-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

.affiliate-buttons .affiliate-logo img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    background: white;
    border: 1px solid #eee;
    padding: 4px;
    box-sizing: border-box;
}

/* 📱 Mobile: stack vertically and center-align */
@media (max-width: 600px) {

}


/* Add mobile-specific styling (optional) */
@media (max-width: 991px) {
    .box-element p, li{
        font-size: 1rem;
    }
    .product-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .filter-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .nav-link.active {
        background-color: #f0f0f0; /* Light background for active link on mobile */
        border-radius: 4px; /* Rounded edges for active links on mobile */
    }
    .inner-grid{
        display: grid;
        grid-template-columns: 1fr;
        padding: 0.1rem;
    }
    .inner-box-element h3, p, span{
        font-size: 1rem;
    }
    .filter-group label {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    .filter-group select {
        font-size: 0.75rem;
        height: 40px;
        padding: 2px 5px;
    }
}