/* body */
body {
  background: url("./images/background.jpg") no-repeat center bottom;
  background-size: auto;
  background-attachment: fixed;
  background-position: right bottom; /* Adjust '120px' to the height of your header */
  background-repeat: no-repeat;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 0.85rem;
}
/* end body */

/* header & underheader */
.speg-header {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px; 
  background: white;promo-content
  border-bottom: 1px solid #ccc;
}

.logo {
  max-width: 250px;
}

.dropdown-menu-account .dropdown-item {
	font-size: 0.85em!important;
}

@media (max-width: 767.98px) {
  /* bootstrap sm breakpoint */
  .speg-header .logo {
    max-width: 200px;
    height: auto;
  }
  .speg-header {
    background: black;
  }
}

.logo-text {
  font-weight: bold;
}

.speg-underbar {
  background: #000;
  padding: 10px;
}

.speg-underbar input {
  width: 60%;
  margin-right: 10px;
}

.search-buttons .btn {
  margin-right: 5px;
  font-weight: bold;
}

.action-buttons .btn {
  font-weight: bold;
  margin-right: 5px;
}

.cart-indicator {
  position: relative;
}

.cart-indicator .badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #86c200;
}

.green-btn {
  background-color: #86c200;
  color: white;
}

.text-green {
  color: #86c200 !important;
}

.green-btn:hover {
  background-color: #699111 !important;
  color: white;
}

.black-btn {
  background-color: black;
  color: white;
}

.red-btn {
  background-color: #ce171b;
  color: white;
}

.text-red {
  color: #ce171b !important;
}

.red-btn:hover,
.red-btn:active,
.red-btn:focus {
  background-color: #9a1316 !important;
}

.white-btn {
  background-color: white !important;
  color: black;
}

.white-btn:hover,
.white-btn:active,
.white-btn:focus {
  background-color: black !important;
  color: white !important;
}
/* end header */

/* mobile header */
.mobile-bottom-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1030;
  background-color: #fff; /* white background for bar */
}

.mobile-bottom-buttons .bottom-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  border-radius: 0;
  font-weight: 600;
  position: relative;
}

.mobile-bottom-buttons .bottom-btn i {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.mobile-bottom-buttons .btn-label {
  font-size: 0.75rem;
  display: block;
  text-align: center;
}

.mobile-bottom-buttons .badge {
  position: absolute;
  top: 5px;
  right: 20%;
  font-size: 0.6rem;
  width: 1.2rem;
  height: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
/* end mobile header */

/* footer */
.speg-footer a {
  text-decoration: none;
  color: white;
}

.speg-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .logo-footer {
    max-width: 275px !important;
  }
}
/* end footer */

/* category menu */
.category-wrapper {
  position: relative;
}

.category-popup {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background-color: black;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 250px;
}

.category-popup a:hover {
  text-decoration: underline;
}

.category-popup a,
.category-popup a:visited {
  color: white;
  text-decoration: none;
}

.category-wrapper:hover .category-btn a {
  color: white;
}

.category-wrapper:hover .category-popup {
  display: block;
}

.category-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-popup li {
  padding: 0.25rem 0;
  color: white;
}

.category-btn .close-icon { 
  display: none; 
}

.category-btn.active .close-icon { 
  display: inline-block;
  opacity: 0.75; 
}


.category-wrapper:hover .category-btn,
.category-btn.active {
  background-color: black !important;
  color: white !important;
}

.category-btn {
  border: 0 !important;
}

.category-btn a,
.category-btn a:visited {
  text-decoration: none;
  color: black;
}

.category-btn:hover a,
.category-btn.active a {
  color: white !important;
}

.lowest-category-btn {
  background-color: #eeeeee !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.dropdown-menu {
  border: 0px;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--bs-dropdown-link-hover-bg) !important;
  color: black;
}

.speg-subcats {
  .nav-link {
    padding: 5px !important;
  }
}

.navbar-toggler {
  pointer-events: auto;
}

@media (min-width: 992px) {
  .navbar-toggler {
    pointer-events: none;
  }
}

/* end category menu */

/* content */
.container-home {
  background: white;
}

/* modal */
.modal-login {
  .input-group-text {
    background: transparent;
    border: none;
    position: absolute;
    right: 0px;
    top: 73%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;
  }
}

.modal {
  .modal-content {
    background: white;
    padding: 2rem 2rem 3rem 2rem;
    border-radius: 0;
    max-width: 420px;
    margin: auto;
  }
  .modal-header {
    border-bottom: none;
    padding: 0;
    margin-bottom: 0.75rem;
  }
  .modal-title {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
  }
  label {
    font-weight: 700;
    font-size: 0.9rem;
  }
  .form-control {
    
    font-weight: 400;
    font-size: 0.9rem;
    height: 40px;
    padding-right: 3rem;
  }
  .form-control::placeholder {
    color: #bbb;
    font-weight: 400;
  }
  #passwordInput.is-invalid + #togglePassword {
    right: 25px !important;
  }
  .forgot-password {
    font-size: 0.8rem;
    color: #999999;
    text-decoration: none;
    float: right;
    margin-top: 0.25rem;
  }

  .section-title {
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }
  .section-subtitle {
    font-weight: 300;
    font-size: 0.75rem;
    color: #999999;
    margin-bottom: 0.8rem;
  }
  .btn-register {
    border: 2px solid black;
    background: transparent;
    width: 100%;
    height: 42px;
    font-weight: 900;
    font-size: 1.07rem;
    color: black;
  }
}

body.modal-open {
  padding-right: 0px !important;
}
/* end modal */

.img-wrapper {
  overflow: hidden;
}

.img-wrapper img {
  transition: transform 0.4s ease;
}

.img-wrapper:hover img {
  transform: scale(1.025);
}

/* offcanvas */
@media (max-width: 768px) {
  .offcanvas.full-responsive {
    width: 100% !important;
  }
}

.offcanvas-winkelmand,
.offcanvas-favo {
  width: 55% !important;
}
/* end offcanvas */

/* product & details */
.product-link:hover {
  color: var(--bs-secondary-color) !important;
}
/* end product & details */

/* product details */
@media (max-width: 991px) {
  .speg-navbar-subcategories {
    width: 100% !important;
  }
}

.speg-promo-price-strikethrough {

}

.speg-promo-label {
  color: #e30713 !important;
}

.promo-card:hover {
  .promo-footer {
    background: black;
  }
  .promo-title,
  .promo-desc,
  .promo-cart {
    color: white;
  }
}

.promo-heart {
  top: 15px;
  left: 15px;
  color: #000;
  background: #fff;
  font-size: 1.5em;
}
.promo-heart a {
  color: black !important;
}
.promo-heart.inactive:hover a,
.promo-heart.active a {
  color: #86c200 !important;
}

.promo-action {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #d5001c;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  z-index: 1;
}

.promo-action img {
	max-width: 65px;
	height: auto;
}

.promo-action.large {
  font-size: 1.5rem;
  width: 80px;
  height: 80px;
  text-align: center;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-action.large img {
  max-width:100%; 
  width:100%; 
  height: auto;
}

.promo-image img {
  max-height: 110px;
  object-fit: contain;
  margin: 20px 0 10px 0;
}
.promo-content {
  padding: 0 20px 0 20px;
  position: relative;
}
.promo-valid {
  font-size: 0.88rem;
  color: #555;
}
.promo-price {
  font-weight: bold;
  font-size: 1.5rem;
  color: #111;
}
.promo-price-small {
  font-weight: bold;
  font-size: 1.25rem;
  color: #111;
}

.promo-price sup {
	top: -.75em !important;
}

.promo-price sub, .promo-price sup {
	font-size: .5em !important;
}


.promo-footer {
  /*background: #f7f7f7;
  display: flex;
  justify-content: space-between;
  align-items: center;*/
  /* padding: 12px 20px; */

  display: flex;
  justify-content: space-between;
  align-items: stretch; /* stretch children to full height */
  background-color: #f7f7f7; /* full footer background */
  padding: 0;

}

.promo-footer-button {
  background: black;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  height: 100%;   
}

.promo-footer .promo-cart.btn {
 width: auto;           /* width equals height */
    aspect-ratio: 1 / 1;   /* keep square */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black; /* button color */
    color: white;
    border: none;
    padding: 0;
    min-width:40px;
    min-height:40px;
}

.promo-footer .promo-footer-label {
  /*padding: 12px 20px;*/
  flex: 1; /* take remaining space */
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center text vertically */
  color: white;
}
.promo-title {
  font-weight: 700;
}
.promo-desc {
  color: #535353;
  font-size: 1rem;
}
.promo-cart {
  color: black;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
}

@media (max-width: 991px) {
  .bg-sm-white {
    background: white;
  }
}

/* homepage categories */
.cat-btn {
  background: #fff;
  padding: 1rem;
  border-radius: 0px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.cat-btn img {
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.cat-btn h6 {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.cat-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cat-btn:hover img {
  transform: scale(1.05);
}

.cat-btn.promo {
  background: #e30613;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cat-btn.promo:hover {
  /* background: #a31216; */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.speg-cat-list a {
  text-decoration: none;
  color: inherit;
}

/* end homepage categories */

/* swiper */
.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-next:hover::after,
.swiper-button-prev:hover,
.swiper-button-prev:hover::after {
  background-color: white;
  color: black !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  color: white;
}

.swiper-button-next {
  right: 0px;
}

.swiper-button-prev {
  right: 50px;
  left: unset;
}

.swiper-pagination {
  bottom: -15px;
}

.swiper-pagination-bullet-active {
  background: black !important;
}

.swiper {
  padding-bottom: 25px;
}

.swiper-slide {
  display: flex;           /* make slide a flex container */
  flex-direction: column;  /* stack children vertically */
  height: 280px !important;
}

.swiper-slide .promo-card {
  width:100%;
}

.promo-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;          /* grow to fill available height */
  justify-content: space-between; /* keeps footer at bottom */
}


/* end swiper */

/* searcher */
.mobile-bottom-buttons .bottom-btn:first-child {
  border-right: 1px solid #e8e8e8;
}

.dropdown-results {
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  position: absolute;
  top: 32px;
}

.dropdown-results li {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.dropdown-results li:hover {
  background-color: #f1f1f1;
}

/* Make sure dropdown overlays content */
.search-wrapper {
  z-index: 10;
}

.speg-underbar .search-loader {
  top: 7px;
}

#search-results a.list-group-item:hover {
  background-color: #ededed;
}

.mobile-bottom-buttons .badge {
  position: absolute;
  top: 20px;
  right: 40%;
  font-size: 0.6rem;
  width: 1.2rem;
  height: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #d5001c;
  color: white;
}
/* end searcher */

/* checkout */
.option-card div {
  background-color: white;
  color: black;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.option-card h5 { 
  text-transform: uppercase;
}

.option-card {
  text-decoration: none !important;
}

.option-card div:hover {
  background-color: black;
  color: white;
}

.option-card.active div {
  background-color: black;
  color: white;
}

.option-card:hover, .option-card:hover p, .option-card:hover h5,
.option-card.active, .option-card.active p, .option-card.active h5 {
  color: white !important;
} 
/* end checkout */

/* details */
.speg-cat-list h6 a:hover {
  color: #000 !important;
  text-decoration: none;
}

.thumb-img:hover {
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

/*.btn-increase-qty:hover {
  background: #d0d0d0;
}
.btn-increase-qty {
  background: #ededed;
  padding-left: 20px;
  padding-right: 20px;
}*/

.btn-variant-small,
.btn-unit-small,
.btn-option-small {
  font-size: 0.85rem; /* kleinere tekst */
  padding: 0.25rem 0.5rem; /* kleinere buttons */
  min-width: 70px; /* optioneel: beperk de breedte */
}

/* end details */

/* form */
.speg-form .form-label {
  color: #9e9e9e !important;
}

.speg-login-form.is-invalid {
  input {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
  }
}

/* end form */


/* account */
.list-group-item.active {
  background: black;
}
/* end account */

.btn-primary { background: black; border:0px;}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus-visible, .btn-primary:active { background: white !important; color:black !important; border:0px;}

.badge { font-size: 0.9em !important; }



.notification-container {
    position: fixed;
    top: 20px;               /* Slightly below top */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1055;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;    /* Allow clicks to pass through */
}

/* Individual notification */
.notification-popup {
    background-color: rgba(0, 0, 0, 0.85); /* Dark semi-transparent */
    color: white;
    font-weight: 500;
    padding: 12px 20px;
    margin: 5px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    min-width: 250px;
    max-width: 90%;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: auto; /* So hover styles could work if needed */
}

/* Show animation */
.notification-popup.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hide animation */
.notification-popup.hide {
    opacity: 0;
    transform: translateY(-20px);
}


/* Shop selection */
.winkel-card {
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease-in-out;
  border: 2px solid transparent;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 0.5rem;
}

.winkel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background-color: #f8f9fa;
}

.winkel-card.active .text-muted { 
  color: white !important;
}
.winkel-card.active {
  border-color: black !important;
  background-color: black !important;
  color: white !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.winkel-card h5 {
  margin-bottom: 0.5rem;
}


/* Helpers */
.first-letter-cap::first-letter {
  text-transform: uppercase;
}

.text-small {
  font-size: 0.85em;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Extra small screens */
@media (max-width: 575.98px) {
  #checkout-content .d-flex.flex-column > .d-flex.flex-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem; 
  }

  #checkout-content .d-flex.flex-column > .d-flex.flex-row a img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
  }

  #checkout-content .d-flex.flex-column > .d-flex.flex-row .d-flex.flex-column.flex-grow-1 {
    width: 100%;
  }

  #checkout-content .d-flex.flex-column > .d-flex.flex-row .d-flex.flex-row.mt-2.mt-sm-0 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  #checkout-content .d-flex.flex-column > .d-flex.flex-row .d-flex.flex-row .ms-3 {
    min-width: auto;
    text-align: left;
  }
}

@media (max-width: 575px) {
  #reservation-details {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
