/*
Theme Name:   Hello Elementor Child
Theme URI:    https://rsh.nl/
Description:  Child theme voor Hello Elementor
Author:       Damiën
Author URI:   https://rsh.nl/
Template:     hello-elementor
Version:      1.0.0
*/

/* =========================================================
 * GLOBAL / WOO LIST BUTTONS
 * ======================================================= */

/* Iconen binnen knoppen */
.custom-view-button i,
.add-cart i {
  margin-right: 8px;
}

/* Hover-effect voor deze twee knoppen */
.custom-view-button:hover,
.add-cart:hover {
  background-color: transparent;
  color: var(--e-global-color-primary);
}

/* In product-overzicht: knoppen netjes naast elkaar */
.woocommerce ul.products li.product .custom-view-button,
.woocommerce ul.products li.product .add-cart {
  display: inline-block;
  width: auto;
  margin: 5px;
}

/* Responsief */
@media (max-width: 768px) {
  .custom-view-button,
  .add-cart {
    padding: 10px 15px;
    font-size: 14px;
  }
}


/* =========================================================
 * CART POPUP (OFFERTES)
 * ======================================================= */

/* Modal basis */
.rsh-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
}
.rsh-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.rsh-modal__content {
  position: relative;
  margin: 5vh auto;
  max-width: 640px;
  background: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.rsh-modal-open { overflow: hidden; }

/* Modal header/intro */
#rsh-modal-title {
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
}
.rsh-modal-intro {
  margin-bottom: 20px;
  color: #555;
  font-size: 1rem;
}

/* Close button */
button.rsh-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50% !important;
}

/* Offerte-knop (zelfde look & feel als primaire Woo-knop; hoekig) */
.offerte-knop {
  display: block;
  width: 100%;
  padding: 15px !important;
  margin-top: 15px !important;
  background: #e74c3c !important;
  color: #fff !important;
  font-weight: 600;
  line-height: 1.4;
  font-size: 15px;
  text-align: center;
  text-transform: none;
  border-radius: 0 !important; /* hoekig: laatste wens had voorrang */
  transition: all .3s ease;
}
.offerte-knop:hover {
  background: #c0392b !important;
  color: #fff !important;
}


/* =========================================================
 * SINGLE PRODUCT: "VRAAG PRIJS AAN" KNOP
 * ======================================================= */

/* Forceer stijl gelijk aan Add-to-Cart + 100% breedte */
.single-product .single_add_to_cart_button.nsf-por-btn {
  display: block !important;
  width: 100% !important;
  padding: 12px 62px 13px !important;
  background-color: #e74c3c !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer !important;
}
.single-product .single_add_to_cart_button.nsf-por-btn:hover {
  background-color: #c0392b !important;
  color: #fff !important;
}

/* PRODUCT POPUP – ronde close-knop */
.nsf-por-modal .nsf-por-close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 32px;
  height: 32px;
  border-radius: 50% !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #e74c3c !important;
  color: #fff !important;
  border: 0 !important;

  font-size: 18px;
  line-height: 1 !important;
  cursor: pointer;
}

/* CART/OFFERTE POPUP – ronde close-knop */
.rsh-modal .rsh-modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #e74c3c !important;
  color: #fff !important;
  border: 0 !important;

  font-size: 18px;
  line-height: 1 !important;
  cursor: pointer;
}



