/** Shopify CDN: Minification failed

Line 343:14 Expected identifier but found whitespace
Line 343:21 Unexpected ";"

**/
/* ==========================================================================
   Bundle Offer Component
   "Complete the Set" style bundle upsell on product pages
   ========================================================================== */

.bundle-offer {
  margin-top: 2rem;
  padding: 2rem;
  background-color: rgba(var(--color-foreground), 0.03);
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 1.2rem;
}

/* Header */
.bundle-offer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bundle-offer__titles {
  flex: 1;
}

.bundle-offer__title {
  margin: 0 0 0.4rem;
  font-size: calc(var(--font-heading-scale) * 1.6rem);
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-foreground));
}

.bundle-offer__subtitle {
  margin: 0;
  font-size: 1.3rem;
  color: rgba(var(--color-foreground), 0.6);
}

.bundle-offer__badge {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0.4rem;
}

/* Product Carousel */
.bundle-offer__products {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.bundle-offer__products::-webkit-scrollbar {
  height: 4px;
}

.bundle-offer__products::-webkit-scrollbar-track {
  background: rgba(var(--color-foreground), 0.1);
  border-radius: 2px;
}

.bundle-offer__products::-webkit-scrollbar-thumb {
  background: rgba(var(--color-foreground), 0.3);
  border-radius: 2px;
}

/* Product Card */
.bundle-offer__product {
  flex: 0 0 auto;
  width: 12rem;
  scroll-snap-align: start;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  padding: 0.8rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bundle-offer__product:hover {
  background-color: rgba(var(--color-foreground), 0.02);
}

.bundle-offer__product.is-selected {
  border-color: rgb(var(--color-foreground));
  background-color: rgba(var(--color-foreground), 0.03);
}

.bundle-offer__product-image {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 0.4rem;
  margin-bottom: 0.6rem;
}

.bundle-offer__product-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgb(var(--color-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bundle-offer__product-price {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  color: rgba(var(--color-foreground), 0.6);
}

/* Selected Product Details */
.bundle-offer__selected {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: rgb(var(--color-background));
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 0.8rem;
  margin-bottom: 1.5rem;
}

.bundle-offer__selected-image {
  flex-shrink: 0;
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  border-radius: 0.6rem;
}

.bundle-offer__selected-info {
  flex: 1;
  min-width: 0;
}

.bundle-offer__selected-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
}

.bundle-offer__selected-vendor {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: rgba(var(--color-foreground), 0.5);
}

/* Variant Selector */
.bundle-offer__variants {
  margin-bottom: 1rem;
}

.bundle-offer__variant-label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.7);
}

.bundle-offer__variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.bundle-offer__variant-option {
  position: relative;
}

.bundle-offer__variant-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bundle-offer__variant-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  padding: 0.6rem 1rem;
  font-size: 1.3rem;
  font-family: inherit;
  color: rgb(var(--color-foreground));
  background-color: transparent;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bundle-offer__variant-button:hover {
  border-color: rgba(var(--color-foreground), 0.5);
}

.bundle-offer__variant-input:checked + .bundle-offer__variant-button {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-foreground));
}

.bundle-offer__variant-input:disabled + .bundle-offer__variant-button {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.bundle-offer__variant-input:focus-visible + .bundle-offer__variant-button {
  outline: 2px solid rgb(var(--color-foreground));
  outline-offset: 2px;
}

/* Pricing */
.bundle-offer__pricing {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.bundle-offer__price-original {
  font-size: 1.3rem;
  color: rgba(var(--color-foreground), 0.5);
  text-decoration: line-through;
}

.bundle-offer__price-discounted {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
}

.bundle-offer__savings {
  font-size: 1.2rem;
  color: #22c55e;
  font-weight: 500;
}

/* Bundle Summary */
.bundle-offer__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background-color: rgba(var(--color-foreground), 0.03);
  border-radius: 0.6rem;
  margin-bottom: 1.5rem;
}

.bundle-offer__summary-label {
  font-size: 1.3rem;
  color: rgba(var(--color-foreground), 0.7);
}

.bundle-offer__summary-total {
  font-size: 1.8rem;
  font-weight: var(--font-heading-weight);
  font-family: var(--font-heading-family);
  color: rgb(var(--color-foreground));
}

/* Add to Cart Button */
.bundle-offer__button {
  width: 100%;
}

.bundle-offer__button .button,
.bundle-offer__button .product-form__submit {
  width: 100%;
  justify-content: center;
}

.bundle-offer__product-form {
  width: 100%;
}

.bundle-offer__hint {
  margin: 0.8rem 0 0;
  font-size: 1.2rem;
  color: rgba(var(--color-foreground), 0.5);
  text-align: center;
}

/* Status Messages */
.bundle-offer__status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  text-align: center;
}

.bundle-offer__status--success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.bundle-offer__status--error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.bundle-offer__status[hidden] {
  display: none;
}

/* Loading State */
.bundle-offer__loading {
  display: flex;
}

.bundle-offer__loading[hidden] {
  display: none;
}

[data-bundle-button-text][hidden] {
  display: none;
}

.bundle-offer__loading:not([hidden]) ~ [data-bundle-button-text] {
  display: none;
}
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.bundle-offer__spinner {
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid rgba(var(--color-background), 0.3);
  border-top-color: rgb(var(--color-background));
  border-radius: 50%;
  animation: bundle-spin 0.8s linear infinite;
}

@keyframes bundle-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Single Product Layout (no carousel needed) */
.bundle-offer--single .bundle-offer__products {
  display: none;
}

/* Responsive */
@media screen and (max-width: 749px) {
  .bundle-offer {
    padding: 1.5rem;
  }

  .bundle-offer__header {
    flex-direction: column;
    gap: 0.8rem;
  }

  .bundle-offer__selected {
    flex-direction: column;
    gap: 1rem;
  }

  .bundle-offer__selected-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .bundle-offer__summary {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Hide if no bundle */
.bundle-offer:empty {
  display: none;
}
