/* Bundle Product Styles */

.bundle-product-container {
  color: #063f46;
}

/* Breadcrumb */
.bundle-breadcrumb {
  color: #82858c;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.28px;
  margin-bottom: 40px;
}

.bundle-breadcrumb a {
  color: #82858c;
  text-decoration: none;
}

.bundle-breadcrumb a:hover {
  text-decoration: underline;
}

/* Main layout */
.bundle-header-layout {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
}

/* Left side - Images */
.bundle-images-section {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.bundle-main-image {
  width: 589px;
  height: 566px;
  border-radius: 12px;
  border: 1px solid #d0d2d8;
  object-fit: cover;
}

.bundle-thumbnails {
  display: flex;
  gap: 11.88px;
}

.bundle-thumbnail {
  width: 108px;
  height: 108.15px;
  border-radius: 7.13px;
  border: 0.59px solid #d0d2d8;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bundle-thumbnail:hover {
  border-color: #68abad;
  box-shadow: 0 2px 8px rgba(104, 171, 173, 0.2);
}

.bundle-thumbnail.active {
  border-color: #68abad;
  box-shadow: 0 2px 8px rgba(104, 171, 173, 0.3);
}

/* Right side - Product info */
.bundle-info-section {
  width: 712px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Badge */
.bundle-badge {
  display: inline-flex;
  padding: 4px 12px;
  background: #dcd0dc;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  font-weight: 400;
  width: fit-content;
}

/* Title section */
.bundle-title-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bundle-title {
  color: #063f46;
  font-size: 40px;
  font-weight: 500;
  margin: 0;
  word-wrap: break-word;
}

.bundle-description {
  color: #063f46;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  word-wrap: break-word;
}

/* Components selector */
.bundle-components {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bundle-component-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d0d2d8;
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
}

.bundle-component-item.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.bundle-component-item.disabled .bundle-component-quantity button {
  cursor: not-allowed;
  color: #ccc;
}

.bundle-component-item.selected {
  background: rgba(104, 171, 173, 0.05);
  border-color: #68abad;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.bundle-component-item.selected .bundle-component-quantity {
  border-color: #68abad;
  background: rgba(104, 171, 173, 0.1);
}

.bundle-component-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bundle-component-code {
  color: black;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.28px;
}

.bundle-component-name {
  color: black;
  font-size: 24px;
  font-weight: 400;
  word-wrap: break-word;
}

.bundle-component-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #68abad;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.bundle-component-link:hover {
  text-decoration: underline;
}

.bundle-component-link svg {
  width: 24px;
  height: 24px;
  display: inline-block;
}

.bundle-component-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px;
  background: white;
  border: 1px solid #d0d2d8;
  border-radius: 50px;
  min-width: 79px;
  justify-content: center;
}

.bundle-component-quantity input {
  width: 30px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
}

.bundle-component-quantity button {
  background: none;
  border: none;
  color: #063f46;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  width: 20px;
  text-align: center;
}

.bundle-component-quantity button:hover {
  color: #68abad;
}

/* Pricing and actions */
.bundle-pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bundle-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.bundle-price-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bundle-price-regular {
  color: #68abad;
  font-size: 32px;
  font-weight: 500;
  text-decoration: line-through;
  word-wrap: break-word;
}

.bundle-price-sale {
  color: #063f46;
  font-size: 40px;
  font-weight: 500;
  word-wrap: break-word;
}

.bundle-shipping {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #68abad;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

.bundle-buttons {
  display: flex;
  gap: 16px;
}

.bundle-btn {
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.bundle-btn-secondary {
  border: 1px solid #68abad;
  color: #68abad;
  background: transparent;
}

.bundle-btn-secondary:hover {
  background: #68abad;
  color: white;
}

.bundle-btn-primary {
  background: #68abad;
  color: white;
}

.bundle-btn-primary:hover {
  background: #5a99a0;
}

/* Gift section */
.bundle-gift-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bundle-gift-box {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #68abad;
}

.bundle-gift-image {
  width: 220px;
  height: 220.31px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}

.bundle-gift-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bundle-gift-title {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #063f46;
  font-size: 32px;
  font-weight: 500;
}

.bundle-gift-icon {
  width: 42px;
  height: 42px;
  background: #68abad;
  border-radius: 4px;
  flex-shrink: 0;
}

.bundle-gift-description {
  color: #063f46;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  word-wrap: break-word;
}

/* Content sections */
.bundle-content-sections {
  display: flex;
  gap: 20px;
  margin-top: 60px;
}

.bundle-content-box {
  flex: 1;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #68abad;
  background: white;
  width: 48%;
}

.bundle-content-box h2 {
  color: #063f46;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 32px;
  margin-top: 0;
}

.bundle-content-box h3 {
  color: #063f46;
  font-size: 24px;
  font-weight: 400;
  margin-top: 24px;
  margin-bottom: 16px;
}

.bundle-content-box p {
  color: #063f46;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 16px;
}

.bundle-content-box strong {
  font-weight: 700;
}

/* Two column layout */
.bundle-two-column {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.bundle-two-column .bundle-content-box {
  flex: 1;
}

/* Four box layout */
.bundle-four-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bundle-four-box-row {
  display: flex;
  gap: 20px;
}

.bundle-four-box-row .bundle-content-box {
  flex: 1;
}

/* Benefits list */
.bundle-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bundle-benefits-list li {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .bundle-product-container {
    width: 100%;
    /* max-width: 375px; */
    margin: 0 auto;
    padding: 0 20px;
  }

  .bundle-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .bundle-header-layout {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }

  /* Images section - mobile layout */
  .bundle-images-section {
    gap: 20px;
    width: 100%;
  }

  .bundle-main-image {
    width: 335px;
    height: 321.92px;
    margin: 0 auto;
    display: block;
  }

  .bundle-thumbnails {
    gap: 11.88px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .bundle-thumbnail {
    width: 103.74px;
    height: 108.15px;
    flex-shrink: 0;
  }

  /* Info section */
  .bundle-info-section {
    width: 100%;
    gap: 24px;
  }

  /* Badge and favorite row */
  .bundle-badge {
    font-size: 14px;
    padding: 4px 12px;
  }

  /* Title section */
  .bundle-title-section {
    gap: 16px;
  }

  .bundle-title {
    font-size: 24px;
    line-height: 32px;
  }

  .bundle-description {
    font-size: 16px;
    line-height: 22px;
  }

  /* Components - mobile layout */
  .bundle-components {
    gap: 16px;
  }

  .bundle-component-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    gap: 16px;
  }

  .bundle-component-item.selected {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 16px;
  }

  .bundle-component-info {
    flex: 1;
    gap: 4px;
  }

  .bundle-component-code {
    font-size: 14px;
    line-height: 18px;
  }

  .bundle-component-name {
    font-size: 18px;
    line-height: 22px;
  }

  .bundle-component-link {
    font-size: 16px;
  }

  .bundle-component-quantity {
    padding: 4px 16px;
    flex-shrink: 0;
  }

  /* Pricing - mobile layout (centered) */
  .bundle-pricing-actions {
    gap: 16px;
  }

  .bundle-pricing {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .bundle-price-wrapper {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }

  .bundle-price-regular {
    font-size: 24px;
  }

  .bundle-price-sale {
    font-size: 32px;
  }

  .bundle-shipping {
    font-size: 18px;
    line-height: 22px;
    justify-content: center;
  }

  /* Buttons - mobile full width stacked */
  .bundle-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .bundle-btn {
    width: 100%;
    padding: 16px 40px;
    font-size: 16px;
  }

  .bundle-btn-primary.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Gift section - mobile */
  .bundle-gift-section {
    /* padding: 0 20px; */
  }

  .bundle-gift-box {
    flex-direction: column;
    padding: 20px;
    gap: 32px;
  }

  .bundle-gift-image {
    width: 89px;
    height: 89.12px;
    order: 2;
    align-self: flex-end;
  }

  .bundle-gift-content {
    gap: 8px;
    order: 1;
  }

  .bundle-gift-title {
    gap: 16px;
    font-size: 24px;
    flex-direction: row;
    align-items: center;
  }

  .bundle-gift-icon {
    width: 32px;
    height: 32px;
  }

  .bundle-gift-description {
    font-size: 16px;
    line-height: 22px;
  }

  /* Content sections - mobile */
  .bundle-content-sections {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
  }

  .bundle-content-box {
    padding: 24px 20px;
    border: none;
    border-radius: 0;
  }

  .bundle-content-box h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .bundle-content-box h3 {
    font-size: 24px;
  }

  .bundle-content-box p {
    font-size: 16px;
    line-height: 22px;
  }

  .bundle-two-column {
    flex-direction: column;
    gap: 0;
  }

  .bundle-four-box {
    gap: 0;
  }

  .bundle-four-box-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .bundle-title {
    font-size: 28px;
  }

  .bundle-price-sale {
    font-size: 32px;
  }

  .bundle-buttons {
    flex-direction: column;
  }

  .bundle-btn {
    width: 100%;
  }

  .bundle-main-image {
    width: 100%;
    height: auto;
  }

  .bundle-thumbnails {
    flex-wrap: wrap;
  }

  .bundle-content-box {
    padding: 24px;
    width: 100%;
  }

  .bundle-content-box h2 {
    font-size: 24px;
  }
}
