@charset "UTF-8";

.pb-option {
  cursor: pointer
}

.pb-option:hover {
  background-color: rgba(0, 0, 0, .02)
}

.pb-option-check {
  width: 20px !important;
  height: 20px !important;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 10px;
}

/* Global Thumb Container */
.pb-option__thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px !important;
  height: 60px !important;
  flex-shrink: 0;
  margin-right: 10px;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

/* Global Thumb Image */
.pb-option__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  max-width: none !important;
}

/* Mobile Layout Overrides */
@media (max-width: 767px) {

  /* Layout: Quantity Below */
  .pb-option {
    flex-wrap: wrap !important;
  }

  .pb-option>label {
    width: 100%;
    margin-bottom: 8px;
  }

  .pb-option__qty {
    margin-left: auto;
  }
}

/* Price container removed to allow Theme Default styling */

/* Collapsible Group Title - Now styled like a Card */
.pb-group__title {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  user-select: none;

  /* Validate Card Style */
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 10px;
  /* Space between title and content */
}

/* Arrow on the FAR RIGHT */
.pb-group__title::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  /* Arrow points down */
  transition: transform 0.2s ease;
  margin-left: auto;
  /* Push arrow to the far right */
  margin-right: 0;
  /* Remove right padding since it's inside a padded card now */
}

/* Rotate when collapsed */
.pb-group.is-collapsed .pb-group__title::after {
  transform: rotate(-135deg);
  /* Arrow points up/right */
}

.pb-group.is-collapsed .pb-options {
  display: none;
}

/* Combo Specific Price Header */
.pb-product-combo-price {
  justify-content: space-between !important;
}


/* Restore Wrapper Width */
.pb-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 30px;
  /* Space between form and buttons */
}

.pb-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure flex containers take full width */
.pb-card .product-price,
.pb-group__title,
.pb-option {
  width: 100%;
  box-sizing: border-box;
}


/* Reverted Title Logic - Ensure original title has space */
.pb-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

/* Mobile Image Fix */

/* Feedback Message - Reserve Space to prevent layout jump */
.pb-msg {
  margin-top: 10px;
  min-height: 26px;
  /* Reserve space for one line of text */
  line-height: 26px;
  font-size: 15px;
  font-weight: 600;
  display: block;
}

.pb-msg.is-ok {
  color: #067d1f;
  /* Success Green */
}