/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 488:0 Unexpected "<"

**/
<style>.foundry-smartrr-bundler-wrapper {
  min-height: 100vh;
  overflow-y: auto;
}

.foundry-smartrr-bundler-wrapper {
  display: flex;
  flex-direction: row;
  position: relative;
  justify-content: space-around;
  gap: 1rem;
  padding: 1rem;
}

.foundry-smartrr-bundler-wrapper .main-content {
  flex: 1;
  min-width: 0;
  max-width: 72%;
}


.foundry-smartrr-bundler-wrapper .bundle-sidebar {
  width: 20%;
  position: sticky;
  top: 7%;
  right: 0;
  padding-left: 1rem;
  height: fit-content;
}

.foundry-smartrr-bundler-wrapper #collection-options {
  display: flex;
  gap: 0.5rem;
  margin: 1.5em 0.8em;
}

.foundry-smartrr-bundler-wrapper .collection-button {
  color: #000;
  border: 1px solid #000;
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  height: 40px;
  background: #fff;
}

.foundry-smartrr-bundler-wrapper .collection-button:hover {
  background: #000;
  color: #fff;
}

.foundry-smartrr-bundler-wrapper .collection-button.active {
  background: #000;
  color: #fff;
}

.foundry-smartrr-bundler-wrapper #product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.foundry-smartrr-bundler-wrapper .bundle-product-card {
  padding: 0.5em;
  text-align: center;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.foundry-smartrr-bundler-wrapper .bundle-product-card img {
  height: 50vh;
  object-fit: cover;
  margin-bottom: 1em;
}

.foundry-smartrr-bundler-wrapper .bundle-product-card--item {
  flex-direction: row;
  gap: 1.5em;
  min-height: 50px;
  max-height: 100px;
  align-items: center;
}

.foundry-smartrr-bundler-wrapper .bundle-product-card--item .image-wrapper {
  position: relative;
  height: 100%;
  min-width: 100px;
}

.foundry-smartrr-bundler-wrapper .bundle-product-card--item img {
  min-height: 50px;
  max-height: 80px;
  width: auto;
}

.foundry-smartrr-bundler-wrapper .bundle-product-title {
  font-weight: 600;
  margin-bottom: 0.5em;
}

.foundry-smartrr-bundler-wrapper .bundle-product-variant {
  color: #666;
  margin-bottom: 0.5em;
}

.foundry-smartrr-bundler-wrapper .quantity-controls {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  align-items: center;
  margin-top: 1rem;
  border: 1px solid #000;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

/* Hover effect for the entire quantity-controls */
.foundry-smartrr-bundler-wrapper .quantity-controls:hover:not([data-quantity-status="full"]) {
  background: #000;
}

/* Ensure text turns white on hover, unless bundle is full */
.foundry-smartrr-bundler-wrapper .quantity-controls:hover:not([data-quantity-status="full"]) .quantity-decrease,
.foundry-smartrr-bundler-wrapper .quantity-controls:hover:not([data-quantity-status="full"]) .bundle-add-button,
.foundry-smartrr-bundler-wrapper .quantity-controls:hover:not([data-quantity-status="full"]) .quantity-increase {
  color: #fff;
  background: transparent;
  /* Prevent individual button backgrounds from overriding */
}

.foundry-smartrr-bundler-wrapper .bundle-add-button {
  position: relative;
  color: #000;
  padding: 1em;
  cursor: pointer;
  font-weight: 600;
  background: transparent;
  border: none;
}

.foundry-smartrr-bundler-wrapper .quantity-decrease,
.foundry-smartrr-bundler-wrapper .quantity-increase {
  position: relative;
  color: #000;
  cursor: pointer;
  border-radius: 50%;
  font-weight: bold;
  width: 1.2em;
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

/* Remove individual button hover effects to let container handle it */
.foundry-smartrr-bundler-wrapper .bundle-add-button:hover:not([disabled]),
.foundry-smartrr-bundler-wrapper .quantity-decrease:hover,
.foundry-smartrr-bundler-wrapper .quantity-increase:hover:not([disabled]) {
  background: transparent;
}

/* State-based styling using data-quantity-status */
.foundry-smartrr-bundler-wrapper .quantity-controls[data-quantity-status="empty"] .quantity-decrease {
  display: none;
}

.foundry-smartrr-bundler-wrapper .quantity-controls[data-quantity-status="empty"] .quantity-increase {
  display: none;
}

.foundry-smartrr-bundler-wrapper .quantity-controls[data-quantity-status="in_progress"] .bundle-add-button {
  width: auto;
  border: none;
  cursor: default;
}

.foundry-smartrr-bundler-wrapper .quantity-controls[data-quantity-status="full"] .quantity-increase,
.foundry-smartrr-bundler-wrapper .quantity-controls[data-quantity-status="full"] .bundle-add-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.foundry-smartrr-bundler-wrapper .bundle-add-button[data-tooltip]:hover::after,
.foundry-smartrr-bundler-wrapper .quantity-increase[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  margin-top: 0.2em;
  display: block;
}

.foundry-smartrr-bundler-wrapper #bundle-container {
  border-radius: 8px;
  padding: 1.2em;
  margin-bottom: 0;
}

.foundry-smartrr-bundler-wrapper .bundle-header {
  margin-bottom: 1.5em;
  font-size: 1.5em;
  color: #000;
}

.foundry-smartrr-bundler-wrapper #bundle-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-info {
  display: flex;
  text-align: left;
  gap: 1em;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
  color: #000;
}

.foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-text {
  display: flex;
  flex-direction: column;
}

.foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-title {
  margin: 0;
}

.foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-variant {
  color: #ccc;
}

.foundry-smartrr-bundler-wrapper #bundle-container .remove-item {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #fff;
  width: 1.5em;
  height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #000;
  color: #000;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.foundry-smartrr-bundler-wrapper #bundle-container .remove-item:hover {
  background: #000;
  color: #fff;
}

.foundry-smartrr-bundler-wrapper .bundle-placeholder {
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  color: #666;
  font-weight: 600;
}

.foundry-smartrr-bundler-wrapper .plus-sign {
  color: #666;
}

.foundry-smartrr-bundler-wrapper .placeholder-text {
  color: #666;
}

.foundry-smartrr-bundler-wrapper #purchase-options {
  color: #000;
  border-radius: 8px;
  text-align: center;
}

.foundry-smartrr-bundler-wrapper #purchase-options p {
  margin-bottom: 0.8rem;
}

.foundry-smartrr-bundler-wrapper .selling-plan-button {
  color: #000;
  border: 1px solid #000;
  padding: 0.5em 1em;
  margin: 0.25em;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  background: #fff;
}

.foundry-smartrr-bundler-wrapper .selling-plan-button:hover {
  background: #000;
  color: #fff;
}

.foundry-smartrr-bundler-wrapper .selling-plan-button.active {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.foundry-smartrr-bundler-wrapper .selling-plan-button.active:hover {
  background: #000;
  color: #fff;
}

.foundry-smartrr-bundler-wrapper #add-to-bag {
  background: #fff;
  color: #000;
  padding: 0.9em 1.5em;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  margin-top: 0.8rem;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  border: 1px solid #000;
}

.foundry-smartrr-bundler-wrapper #add-to-bag:hover:not([disabled]) {
  background: #000;
  color: #fff;
}

.foundry-smartrr-bundler-wrapper #add-to-bag.inactive {
  background: #f0f0f0;
  color: #666;
  cursor: not-allowed;
}

@media (max-width: 1400px) {
  .foundry-smartrr-bundler-wrapper #product-list {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }
}

@media (max-width: 947px) {
  .foundry-smartrr-bundler-wrapper .bundle-product-card {
    height: 40vh;
    min-height: 300px;
    max-height: 400px;
  }

  .foundry-smartrr-bundler-wrapper .bundle-product-card img {
    height: 25vh;
    min-height: 150px;
    max-height: 200px;
  }

  .foundry-smartrr-bundler-wrapper {
    flex-direction: column;
  }

  .foundry-smartrr-bundler-wrapper .bundle-sidebar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: fit-content;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #ccc;
    z-index: 1000;
  }

  .foundry-smartrr-bundler-wrapper #bundle-container {
    background: #fff;
  }

  .foundry-smartrr-bundler-wrapper #bundle-items {
    flex-direction: row;
    gap: 1rem;
    padding: 0.5rem;
    justify-content: center;
  }

  .foundry-smartrr-bundler-wrapper .bundle-product-card--item {
    min-height: 100px;
    max-height: 150px;
    width: 100px;
    align-items: center;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
  }

  .foundry-smartrr-bundler-wrapper .bundle-product-card--item img {
    width: 100%;
    min-height: 40px;
    max-height: 70px;
  }

  .foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-info {
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
    text-align: center;
  }

  .foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-text {
    gap: 0.2rem;
  }

  .foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-title {
    font-size: 0.8em;
  }

  .foundry-smartrr-bundler-wrapper #bundle-container .bundle-product-variant {
    font-size: 0.7em;
  }

  .foundry-smartrr-bundler-wrapper #bundle-container .remove-item {
    top: 0;
    right: auto;
    left: 0;
    width: 1.2em;
    height: 1.2em;
  }

  .foundry-smartrr-bundler-wrapper .bundle-placeholder {
    flex-direction: column;
    width: 100px;
    height: auto;
    padding: 0.5rem;
    gap: 0.2rem;
    text-align: center;
  }

  .foundry-smartrr-bundler-wrapper .plus-sign {}

  .foundry-smartrr-bundler-wrapper .placeholder-text {
    font-size: 0.7em;
  }

  .foundry-smartrr-bundler-wrapper #purchase-options {
    padding: 0.2em 0.8em;
  }

  .foundry-smartrr-bundler-wrapper .selling-plan-button {
    padding: 0.4em 0.8em;
  }

  .foundry-smartrr-bundler-wrapper #add-to-bag {
    padding: 1em;
    margin-top: 0.5rem;
  }

  .foundry-smartrr-bundler-wrapper .main-content {
    max-width: 100%;
  }

  .foundry-smartrr-bundler-wrapper .bundle-header {
    margin-bottom: 0.7em;
  }

  .foundry-smartrr-bundler-wrapper #purchase-options p {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }
}

</style>