/*************************************************
 * GLOBAL SCALING
 *************************************************/

.wbfp-product-page-section,
.wbfp-modal {
  font-size: 1.4rem; 
}

/*************************************************
 * PRODUCT PAGE: BEST SELLER BOX
 *************************************************/
.wbfp-product-page-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  padding-left: 3rem;
}

.wbfp-product-page-section h3 {
  margin-top: 0;
  //font-weight: 600;
  margin-bottom: 2rem;
  padding-left: 0.3rem;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 30px;
    line-height: 40px;
    font-weight: 400;
    font-style: normal;
}

.wbfp-product-page-section .wbfp-checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.wbfp-product-page-section .wbfp-checkbox-label input[type="checkbox"] {
  transform: scale(1.4);
  margin-right: 0.6rem;
  cursor: pointer;
}

/*************************************************
 * Make page-level buttons
 *************************************************/
.wbfp-product-page-section .wbfp-more-options-btn {
  background: #cd2122; 
  color: #fff;
  border: none;
  padding: 1.6rem 2rem;
  font-size: 1.4rem;  
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 1rem;
}
.wbfp-product-page-section .wbfp-more-options-btn:hover {
  background: #ab1d1e;
}

/*************************************************
 * MODAL OVERLAY
 *************************************************/
.wbfp-modal-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wbfp-modal {
  background: #fff;
  width: 90%;
  max-width: 760px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 1.5rem 4rem;
}

/*************************************************
 * MODAL HEADER
 *************************************************/
.wbfp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.wbfp-modal-header h2 {
  //padding-left: 18rem;
  margin: 0;
  font-weight: 600;
}
.wbfp-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/*************************************************
 * MASTER/SLAVE TOGGLE
 *************************************************/
.wbfp-toggle {
  display: inline-flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.wbfp-toggle button {
  background: #f5f5f5;
  border: none;
  padding: 1.4rem 2.9rem; 
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.6rem;  
  transition: background 0.3s;
}
.wbfp-toggle button:hover {
  background: #ebebeb;
}
.wbfp-toggle-master.wbfp-toggle-active,
.wbfp-toggle-slave.wbfp-toggle-active {
  background: #cd2122;
  color: #fff;
}
.wbfp-button-image {
  width: 50px;
}
/*************************************************
 * MODAL BODY => TABLE
 *************************************************/
.wbfp-modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Now only 3 columns: Software | Price | More */
.wbfp-software-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.wbfp-software-table thead th {
  background: #fafafa;
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
}
.wbfp-software-table tbody tr {
  border-bottom: 1px solid #eee;
}
.wbfp-software-table tbody td {
  padding: 0.8rem;
  vertical-align: middle;
}

/* The checkbox + label in the "Software Packages" column */
.wbfp-software-table tbody td label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.wbfp-software-table tbody td label input[type="checkbox"] {
  transform: scale(1.4);
  margin: 0;
  cursor: pointer;
}

/* "More" link icon */
.wbfp-more-link img {
  width: 24px; 
  height: auto;
}

/*************************************************
 * MODAL FOOTER => BOTTOM
 *************************************************/
.wbfp-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}
.wbfp-modal-total {
  font-weight: 500;
}
#wbfp-modal-total-value {
  margin-left: 0.3rem;
  font-weight: 700;
}

/* Reset & Add Software */
.wbfp-reset-btn,
.wbfp-add-to-cart-btn {
  border: none;
  padding: 1.5rem 2rem; 
  font-size: 1.6rem; 
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
}
.wbfp-reset-btn {
  background: #999;
  color: #fff;
  margin-right: 0.5rem;
}
.wbfp-reset-btn:hover {
  background: #888;
}
.wbfp-add-to-cart-btn {
  background: #cd2122;
  color: #fff;
}
.wbfp-add-to-cart-btn:hover {
  background: #ab1d1e;
}

/*************************************************
 * UTILITIES
 *************************************************/
.wbfp-hidden {
  display: none !important;
}
.wbfp-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.wbfp-total-price{
  font-size: 2.9rem; 
  margin-bottom: 2rem;
  margin-top: 2rem;

}