/**
 * Promotion bundle PDP — shell matches hk-product-detail.css (#product-product).
 */

.hk-plp-main #product-bundle.hk-product-detail {
  width: 100%;
  max-width: var(--hk-max, 1240px);
  margin: 0 auto;
  padding-left: var(--hk-pad, 24px);
  padding-right: var(--hk-pad, 24px);
  box-sizing: border-box;
}

.hk-plp-main #product-bundle .hk-product-detail__top.top {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(12px, 2vw, 20px) 0 0;
  box-sizing: border-box;
  border-bottom: 0;
}

.hk-plp-main #product-bundle .hk-product-detail__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hk-plp-main #product-bundle .hk-product-detail__inner > .row {
  margin-left: 0;
  margin-right: 0;
}

.hk-plp-main #product-bundle #content {
  min-height: 0 !important;
  float: none;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: clamp(16px, 2.5vw, 24px);
  box-sizing: border-box;
}

.hk-plp-main #product-bundle #content > .row {
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}

.hk-plp-main #product-bundle #content > .row::before,
.hk-plp-main #product-bundle #content > .row::after {
  display: table;
  content: " ";
}

.hk-plp-main #product-bundle #content > .row::after {
  clear: both;
}

.hk-plp-main #product-bundle #content > .row > [class*="col-"] {
  float: left;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hk-plp-main #product-bundle #content > .row > .col-sm-8 {
    width: 58.33333333%;
    padding-right: 20px;
  }

  .hk-plp-main #product-bundle #content > .row > .col-sm-4 {
    width: 41.66666667%;
    padding-left: 20px;
  }
}

@media (max-width: 767px) {
  .hk-plp-main #product-bundle #content > .row > [class*="col-"] {
    float: none;
    width: 100%;
  }

  .hk-plp-main #product-bundle #content > .row > .col-sm-8 {
    padding-right: 0;
    margin-bottom: 24px;
  }

  .hk-plp-main #product-bundle #content > .row > .col-sm-4 {
    padding-left: 0;
  }
}

.hk-catalog-plp #product-bundle .crumb {
  font-family: var(--hk-sans, "Inter", system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.45;
  color: var(--hk-ink-muted, #6f7a76);
}

.hk-catalog-plp #product-bundle .crumb a {
  color: var(--hk-brand-deep, #3d5b4f);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hk-catalog-plp #product-bundle .crumb a:hover,
.hk-catalog-plp #product-bundle .crumb a:focus {
  color: var(--hk-ink, #14201c);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hk-catalog-plp #product-bundle .crumb > span:last-child {
  color: var(--hk-ink, #14201c);
  font-weight: 500;
}

.hk-bundle-page {
  --hk-bundle-accent: #d86e00;
}

.hk-bundle-page__hero {
  margin-bottom: 48px;
}

.hk-bundle-page__description {
  color: var(--hk-ink-muted, #6f7a76);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.hk-bundle-page__login a {
  color: var(--hk-brand-deep, #3d5b4f);
  font-weight: 600;
}

.hk-bundle-page__section {
  margin-bottom: 40px;
}

.hk-bundle-page__section-title {
  font-family: var(--hk-display, "Space Grotesk", sans-serif);
  font-size: 22px;
  margin: 0 0 20px;
}

.hk-bundle-page__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.hk-bundle-page__item {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--hk-line, #eaeae4);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hk-bundle-page__item:hover {
  border-color: var(--hk-brand, #78bca1);
  box-shadow: 0 8px 24px rgba(20, 32, 28, 0.06);
}

.hk-bundle-page__item--free {
  background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
}

.hk-bundle-page__promo-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px 16px;
  max-width: 720px;
  align-items: center;
}

.hk-bundle-page__promo-plus {
  font-family: var(--hk-display, "Space Grotesk", sans-serif);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--hk-brand-deep, #3d5b4f);
  text-align: center;
  user-select: none;
}

@media (max-width: 640px) {
  .hk-bundle-page__promo-duo {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hk-bundle-page__promo-plus {
    padding: 4px 0;
  }
}

.hk-bundle-page__item--paid {
  border-color: #f0d8c2;
}

.hk-bundle-page__item-badge--qty {
  background: #c62828;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hk-bundle-page__item-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}

.hk-bundle-page__item-badge--free {
  background: var(--hk-brand, #78bca1);
}

.hk-bundle-page__item-image {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--hk-bg-soft, #f6f7f4);
}

.hk-bundle-page__item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hk-bundle-page__item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hk-bundle-page__item-name {
  font-weight: 600;
  line-height: 1.3;
}

.hk-bundle-page__item-code {
  font-size: 12px;
  color: var(--hk-ink-muted, #5d6a64);
}

.hk-bundle-page__item-price {
  font-size: 14px;
  color: var(--hk-bundle-accent);
  font-weight: 600;
}

.hk-bundle-page__item-price--struck {
  text-decoration: line-through;
  color: var(--hk-ink-muted, #5d6a64);
  font-weight: 400;
}

.hk-plp-main #product-bundle .thumbnails,
.hk-catalog-plp #product-bundle .thumbnails {
  list-style: none;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  clear: both;
}

.hk-plp-main #product-bundle .thumbnails > li,
.hk-catalog-plp #product-bundle .thumbnails > li {
  margin: 0 !important;
  margin-left: 0 !important;
  float: none;
}

.hk-plp-main #product-bundle .thumbnails > li:first-child,
.hk-catalog-plp #product-bundle .thumbnails > li:first-child {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--hk-line, #eaeae4);
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
}

.hk-plp-main #product-bundle .thumbnails .hk-product-thumb-main.hk-product-thumb-trigger,
.hk-catalog-plp #product-bundle .thumbnails .hk-product-thumb-main.hk-product-thumb-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hk-plp-main #product-bundle .thumbnails .thumbnail,
.hk-plp-main #product-bundle .thumbnails .hk-product-thumb-main,
.hk-plp-main #product-bundle .thumbnails .hk-product-thumb-trigger,
.hk-catalog-plp #product-bundle .thumbnails a.thumbnail,
.hk-catalog-plp #product-bundle .thumbnails .hk-product-thumb-main,
.hk-catalog-plp #product-bundle .thumbnails .hk-product-thumb-trigger {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hk-plp-main #product-bundle .thumbnails .hk-product-thumb-trigger,
.hk-catalog-plp #product-bundle .thumbnails .hk-product-thumb-trigger {
  cursor: zoom-in;
}

.hk-plp-main #product-bundle .thumbnails .hk-product-thumb-main img,
.hk-catalog-plp #product-bundle .thumbnails .hk-product-thumb-main img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 328px;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center center;
}

/* Buy box — same as #product-product PDP sidebar */
.hk-plp-main #product-bundle h1,
.hk-catalog-plp #product-bundle h1 {
  font-family: var(--hk-display, "Space Grotesk", system-ui, sans-serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--hk-ink, #14201c);
  margin: 0 0 12px;
}

.hk-plp-main #product-bundle .list-unstyled,
.hk-catalog-plp #product-bundle .list-unstyled {
  color: var(--hk-ink-muted, #6f7a76);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.hk-plp-main #product-bundle .list-unstyled a,
.hk-catalog-plp #product-bundle .list-unstyled a {
  color: var(--hk-brand-deep, #3d5b4f);
  font-weight: 500;
}

.hk-plp-main #product-bundle .list-unstyled a:hover,
.hk-catalog-plp #product-bundle .list-unstyled a:hover {
  text-decoration: underline;
}

.hk-plp-main #product-bundle .list-unstyled h2,
.hk-plp-main #product-bundle h2.price,
.hk-plp-main #product-bundle ul.list-unstyled h2,
.hk-catalog-plp #product-bundle .list-unstyled h2,
.hk-catalog-plp #product-bundle h2.price,
.hk-catalog-plp #product-bundle ul.list-unstyled h2 {
  font-family: var(--hk-display, "Space Grotesk", sans-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--hk-ink, #14201c);
  margin: 8px 0;
}

.hk-plp-main #product-bundle #product .form-control,
.hk-catalog-plp #product-bundle #product .form-control {
  border-radius: 12px;
  border: 1px solid var(--hk-line, #eaeae4);
  min-height: 48px;
  box-shadow: none;
}

.hk-plp-main #product-bundle #product .form-control:focus,
.hk-catalog-plp #product-bundle #product .form-control:focus {
  border-color: var(--hk-brand, #78bca1);
  box-shadow: 0 0 0 4px rgba(120, 188, 161, 0.18);
}

.hk-plp-main #product-bundle #product .hk-product-qty .control-label,
.hk-catalog-plp #product-bundle #product .hk-product-qty .control-label {
  float: none;
  width: auto;
  max-width: none;
  padding-top: 0;
  margin-bottom: 8px;
  text-align: left;
}

.hk-plp-main #product-bundle #input-quantity.hk-product-qty__input--invalid,
.hk-catalog-plp #product-bundle #input-quantity.hk-product-qty__input--invalid {
  border-color: #c0392b;
  background-color: rgba(192, 57, 43, 0.06);
  color: var(--hk-ink, #14201c);
}

.hk-plp-main #product-bundle #input-quantity.hk-product-qty__input--invalid:focus,
.hk-catalog-plp #product-bundle #input-quantity.hk-product-qty__input--invalid:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.18);
}

.hk-plp-main #product-bundle #button-cart,
.hk-catalog-plp #product-bundle #button-cart {
  border-radius: 999px;
  border: 1px solid var(--hk-brand-deep, #3d5b4f);
  background: var(--hk-brand-deep, #3d5b4f);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: filter 0.2s ease;
}

.hk-plp-main #product-bundle #button-cart:hover,
.hk-plp-main #product-bundle #button-cart:focus,
.hk-catalog-plp #product-bundle #button-cart:hover,
.hk-catalog-plp #product-bundle #button-cart:focus {
  filter: brightness(1.06);
  color: #fff;
}

.hk-plp-main #product-bundle #button-cart:disabled,
.hk-plp-main #product-bundle #button-cart[disabled],
.hk-catalog-plp #product-bundle #button-cart:disabled,
.hk-catalog-plp #product-bundle #button-cart[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
}

.hk-plp-main #product-bundle .hk-product-meta-row,
.hk-catalog-plp #product-bundle .hk-product-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.hk-plp-main #product-bundle .hk-product-availability,
.hk-catalog-plp #product-bundle .hk-product-availability {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.hk-plp-main #product-bundle .hk-product-availability__label,
.hk-catalog-plp #product-bundle .hk-product-availability__label {
  color: var(--hk-ink-muted, #6f7a76);
  font-size: 14px;
}

.hk-plp-main #product-bundle .hk-product-availability__status,
.hk-catalog-plp #product-bundle .hk-product-availability__status {
  font-size: 14px;
  font-weight: 500;
  color: var(--hk-ink, #14201c);
}
