/* Desktop-only contents block. Reference baseline: 742 × 263 CSS pixels.
   The supplied crop has 9px/12px of outer white canvas, not section padding. */
.a4u-bundle-desktop,
.a4u-bundle-extras,
.a4u-bundle-description-desktop {
  display: none;
}

@media (min-width: 1025px) {
  .single-product.a4u-has-bundle-contents .a4u-bundle-legacy {
    display: none;
  }

  /* Give the existing short-description block the full purchase-column width. */
  .single-product.a4u-has-bundle-contents .elementor-element-d9d2415 > .elementor-container,
  .single-product.a4u-has-bundle-contents .elementor-element-d9d2415 > .elementor-container > .elementor-row {
    flex-direction: column;
    width: 100%;
  }

  /* The child theme fixes these columns at 50% with !important. Scope the
     override to this template and products with a complete contents section. */
  body.single-product.a4u-has-bundle-contents .elementor-5624 .elementor-element.elementor-element-6f04ce0,
  body.single-product.a4u-has-bundle-contents .elementor-5624 .elementor-element.elementor-element-1f9ed75 {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product.a4u-has-bundle-contents .elementor-5624 .elementor-element.elementor-element-6f04ce0 {
    order: 0 !important;
  }

  body.single-product.a4u-has-bundle-contents .elementor-5624 .elementor-element.elementor-element-1f9ed75 {
    order: 1 !important;
    margin-top: 20px;
  }

  .single-product.a4u-has-bundle-contents .elementor-element-6f04ce0 > .elementor-widget-wrap {
    margin: 0;
    padding: 0;
  }

  .single-product .a4u-bundle-desktop {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px 19px 13px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(110deg, #faf4e2, #f9f3df 52%, #faf4e2);
    box-shadow: none;
    color: #111;
    font-family: Assistant, sans-serif;
    text-align: right;
  }

  .single-product .a4u-bundle-title {
    margin: 0 0 8px;
    color: #000;
    font-family: inherit;
    font-size: 31px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    transform: translateY(-2px);
  }

  .single-product .a4u-bundle-grid {
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .single-product .a4u-bundle-grid::-webkit-scrollbar { display: none; }
  /* JS selects explicit card-aligned destinations. Do not let native snap
     fight those animations, or interrupt mouse dragging. */
  .single-product .a4u-bundle-grid.a4u-slider-interactive { scroll-snap-type: none; cursor: grab; user-select: none; }
  .single-product .a4u-bundle-grid.a4u-is-dragging { cursor: grabbing; }
  .single-product .a4u-slider-interactive img { -webkit-user-drag: none; user-select: none; }
  .single-product .a4u-bundle-grid:focus-visible { outline: 2px solid #111; outline-offset: 2px; border-radius: 6px; }

  .single-product .a4u-bundle-card {
    flex: 0 0 142px;
    min-width: 0;
    margin: 0;
    min-height: 183px;
    padding: 6px 6px 6px;
    box-sizing: border-box;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    scroll-snap-align: start;
  }

  .single-product .a4u-bundle-picture {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    height: 127px;
    margin: 0;
    overflow: hidden;
  }

  .single-product .a4u-bundle-image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
    max-width: none;
    max-height: none;
  }

  /* Normalize the display area of the existing, white-padded source photos.
     No bitmap edits and no product-ID-specific styling. */
  .single-product .a4u-bundle-image-primary { width: 137px; height: 137px; }
  .single-product .a4u-bundle-image-cola { width: 120px; height: 120px; transform: translateY(-2px); }
  .single-product .a4u-bundle-image-gummy { width: 117px; height: 117px; }
  .single-product .a4u-bundle-image-seeds { width: 113px; height: 113px; transform: translateY(8px); }
  .single-product .a4u-bundle-image-ice { width: 113px; height: 113px; transform: translateY(6px); }
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture > .a4u-bundle-image-primary) { flex-basis: 146px; }
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture > .a4u-bundle-image-cola) { flex-basis: 143px; }
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture > .a4u-bundle-image-gummy) { flex-basis: 141px; }
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture > .a4u-bundle-image-seeds),
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture > .a4u-bundle-image-cups),
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture > .a4u-bundle-image-straws) { flex-basis: 138px; }
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture > .a4u-bundle-image-ice) { flex-basis: 122px; }

  /* Same combined photo as mobile, fully contained in one accessory card. */
  .single-product .a4u-bundle-picture-cups-straws .a4u-bundle-image { width: 100%; height: 100%; object-fit: contain; }
  .single-product .a4u-bundle-card:has(> .a4u-bundle-picture-cups-straws) { flex-basis: 138px; }

  .single-product .a4u-bundle-picture-pair .a4u-bundle-image {
    width: calc(50% - 1px);
  }
  .single-product .a4u-bundle-picture-can .a4u-bundle-image { transform: scale(1.15); }

  .single-product .a4u-bundle-name {
    margin: 0;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
  }

  .single-product .a4u-bundle-amount {
    margin: 0;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
  }
  .single-product .a4u-bundle-amount-can { font-weight: 700; color: #000; }
  .single-product .a4u-bundle-count-badge {
    position: absolute; top: 0; inset-inline-start: 0; z-index: 1;
    padding: 2px 4px; border: 1px solid #dadada; border-radius: 3px;
    background: #fff; color: #000; font-size: 12px; font-weight: 700; line-height: 1.2;
  }

  .single-product .a4u-bundle-choice {
    flex: 0 0 230px;
  }

  .single-product .a4u-bundle-choice-title {
    margin: 0 0 3px;
    color: #000;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
  }

  .single-product .a4u-bundle-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    align-items: start;
  }

  .single-product .a4u-bundle-option {
    min-width: 0;
  }

  .single-product .a4u-bundle-option .a4u-bundle-picture {
    height: 88px;
  }

  .single-product .a4u-bundle-or {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 88px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
  }

  .single-product .a4u-bundle-choice-note {
    margin: 3px 0 0;
    padding-top: 3px;
    border-top: 1px solid #e4e1e1;
    color: #333;
    font-size: 11px;
    line-height: 1.3;
  }

  .single-product .a4u-bundle-note {
    margin: 0 0 12px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }

  .single-product .a4u-bundle-details {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
  }

  .single-product .a4u-bundle-description-desktop {
    display: block;
    margin-top: 16px;
  }
  .single-product .a4u-bundle-controls {
    display: flex; justify-content: space-between; pointer-events: none;
    position: absolute; inset-inline: 13px; top: 20px;
  }
  .single-product .a4u-bundle-controls[hidden] { display: none; }
  .single-product .a4u-bundle-controls button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; min-width: 0; padding: 5px; margin: 0;
    border: 0; border-radius: 50%; background: #fff; color: #111;
    pointer-events: auto; cursor: pointer; box-shadow: none;
  }
  .single-product .a4u-bundle-controls button:disabled { opacity: .35; cursor: default; }
  .single-product .a4u-bundle-controls button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
  .single-product .a4u-bundle-controls svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .single-product .a4u-bundle-extras {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
    gap: 6px 12px; margin-top: 10px; padding-top: 0;
    border: 0; color: #333; font-size: 12px; line-height: 1.3;
  }
  .single-product .a4u-bundle-extras-intro { font-weight: 600; }
  .single-product .a4u-bundle-extras ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .single-product .a4u-bundle-extras li { display: flex; align-items: center; gap: 5px; margin: 0; }
  .single-product .a4u-bundle-extras-images { display: flex; align-items: center; gap: 1px; }
  .single-product .a4u-bundle-extras img { display: block; width: 20px; height: 20px; object-fit: contain; mix-blend-mode: multiply; }
}
