/* ALOV storefront layout follow-up — responsive legal notes, cart columns and CTA states. */

/* Catalog disclosures: two balanced columns on desktop, tight stack on mobile. */
.catalog-disclaimers {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2.4vw, 34px);
  width: 100%;
  margin-top: clamp(24px, 3vw, 42px);
}
.catalog-disclaimers > p {
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: clamp(10px, .78vw, 12px) !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,.36) !important;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* The left cart summary and the actual cart must share the available width. */
#cart-section > div > div {
  gap: clamp(24px, 4.2vw, 64px) !important;
  min-width: 0;
}
#cart-section > div > div > div {
  box-sizing: border-box;
  min-width: 0 !important;
  max-width: 100%;
}
#cart-section h2 {
  max-width: 100%;
  margin-right: 0 !important;
  font-size: clamp(26px, 2.65vw, 54px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
#cart-section p {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (min-width: 1024px) {
  #cart-section > div > div > div:first-child {
    flex: 0 1 31% !important;
    width: auto !important;
  }
  #cart-section > div > div > div:last-child {
    flex: 1 1 0% !important;
    width: auto !important;
  }
}

@media (max-width: 1023px) {
  #cart-section > div > div { gap: 30px !important; }
  #cart-section h2 { font-size: clamp(30px, 7vw, 46px) !important; }
}

@media (max-width: 760px) {
  .catalog-disclaimers {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-top: 23px;
  }
  .catalog-disclaimers > p {
    font-size: 9px !important;
    line-height: 1.5 !important;
  }
  #cart-section > div > div { gap: 26px !important; }
  #cart-section h2 {
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.04 !important;
  }
}

/* Hide the card's initial add button only while its size chooser is open.
   The confirmation button inside the chooser remains visible and usable. */
.product-card:has(.size-overlay.pointer-events-auto) .product-actions .btn-add {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Bundle CTA follows the same understated outlined-pill style as the standard
   product detail button, with a plus mark instead of the old diagonal arrow. */
.product-detail-dialog.is-bundle-product .bundle-add-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(17,17,17,.15) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #4e4e4a !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: color .2s, background-color .2s, border-color .2s !important;
}
.product-detail-dialog.is-bundle-product .bundle-add-button:hover,
.product-detail-dialog.is-bundle-product .bundle-add-button:focus-visible {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}
.product-detail-dialog.is-bundle-product .bundle-add-button span:first-child {
  min-width: 0;
}
.product-detail-dialog.is-bundle-product .bundle-add-button span:last-child {
  display: inline-block !important;
  flex: 0 0 auto !important;
  font-size: 0 !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}
.product-detail-dialog.is-bundle-product .bundle-add-button span:last-child::after {
  content: "+";
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}
