/* PAGE DESIGN ROLL — Cart / Cambium Bundle
   asymmetric two-zone · soft rounded · hairline sprout · hover lift
   Signature: sap vine fills when prepaid shipping is free (store term) */

.page-a115-platebundle .pb-main {
  display: grid;
  gap: 18px;
  padding: 20px 0 48px;
  width: min(var(--a115-max), calc(100% - clamp(24px, 4vw, 48px)));
}

.page-a115-platebundle .pb-main .a115-notice {
  margin: 0;
}

.page-a115-platebundle .se-mast {
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-a115-platebundle .pb-empty {
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.page-a115-platebundle .pb-empty h2 {
  margin: 0;
  font-family: var(--a115-font-display);
  font-size: var(--a115-type-xl);
  font-weight: 400;
  color: var(--xy-charcoal);
}
.page-a115-platebundle .pb-empty p {
  margin: 0;
  max-width: 36ch;
  color: var(--xy-mute);
}

.page-a115-platebundle .xy-vine {
  height: 10px;
  border-radius: var(--xy-radius-pill);
  background: var(--xy-line);
  overflow: hidden;
}
.page-a115-platebundle .xy-vine i {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  background: linear-gradient(90deg, var(--xy-sprout), var(--xy-lime));
  transition: width 240ms var(--xy-ease);
}

.page-a115-platebundle #BtCartForm {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.page-a115-platebundle .pb-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-a115-platebundle .pb-plate {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas:
    "thumb copy"
    "foot foot";
  gap: 12px 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(197, 212, 198, 0.45);
  transition: box-shadow 180ms var(--xy-ease), transform 180ms var(--xy-ease);
}
.page-a115-platebundle .pb-plate:hover {
  box-shadow: 0 12px 28px rgba(18, 24, 16, 0.1);
}

.page-a115-platebundle .pb-thumb {
  grid-area: thumb;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}
.page-a115-platebundle .pb-thumb img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  display: block;
}

.page-a115-platebundle .pb-copy {
  grid-area: copy;
  min-width: 0;
}
.page-a115-platebundle .pb-copy h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 800;
}
.page-a115-platebundle .pb-copy h3 a {
  color: var(--xy-charcoal);
  text-decoration: none;
}
.page-a115-platebundle .pb-copy h3 a:hover {
  color: var(--xy-sprout-ink);
  text-decoration: underline;
}
.page-a115-platebundle .pb-unit {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--xy-mute);
}

.page-a115-platebundle .pb-plate-foot {
  grid-area: foot;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--xy-line);
}

.page-a115-platebundle .pb-qty {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px;
  border-radius: var(--xy-radius-pill);
  background: var(--xy-pith);
  border: 2px solid var(--xy-line);
}
.page-a115-platebundle .pb-qty input {
  width: 52px;
  min-height: 40px;
  text-align: center;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
}
.page-a115-platebundle .pb-qty button {
  min-height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--xy-charcoal);
  color: var(--xy-lime);
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}
.page-a115-platebundle .pb-qty button:hover {
  background: var(--xy-charcoal-deep);
}

.page-a115-platebundle .pb-line {
  font-family: var(--a115-font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--xy-sprout-ink);
}

.page-a115-platebundle .pb-remove {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--xy-radius-pill);
  background: transparent;
  color: var(--xy-mute);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.page-a115-platebundle .pb-remove:hover {
  color: var(--xy-err);
}

.page-a115-platebundle .pb-tally {
  padding: 20px 18px;
  display: grid;
  gap: 14px;
  align-self: start;
  border: 1px solid rgba(200, 240, 74, 0.22);
}
.page-a115-platebundle .pb-tally-title {
  margin: 0;
  font-family: var(--a115-font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--xy-charcoal);
}
.page-a115-platebundle .pb-ship-note {
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--xy-mute);
}
.page-a115-platebundle .pb-ship-note strong {
  color: var(--xy-sprout-ink);
  font-weight: 800;
}

.page-a115-platebundle .pb-sum {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-a115-platebundle .pb-sum > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
}
.page-a115-platebundle .pb-sum dt {
  margin: 0;
  color: var(--xy-mute);
  font-size: 0.9rem;
}
.page-a115-platebundle .pb-sum dd {
  margin: 0;
  font-weight: 800;
  color: var(--xy-charcoal);
}
.page-a115-platebundle .pb-sum-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 2px solid var(--xy-charcoal);
}
.page-a115-platebundle .pb-sum-total dt,
.page-a115-platebundle .pb-sum-total dd {
  font-size: 1.05rem;
  color: var(--xy-charcoal);
}

.page-a115-platebundle .pb-promo {
  display: grid;
  gap: 8px;
}
.page-a115-platebundle .pb-promo-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--xy-mute);
}
.page-a115-platebundle .pb-checkout {
  width: 100%;
  justify-content: center;
}

@media (min-width: 880px) {
  .page-a115-platebundle .pb-main.is-split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    grid-template-areas:
      "mast mast"
      "alert alert"
      "vine vine"
      "lines tally";
    align-items: start;
  }
  .page-a115-platebundle .pb-main.is-split .se-mast { grid-area: mast; }
  .page-a115-platebundle .pb-main.is-split .a115-notice { grid-area: alert; }
  .page-a115-platebundle .pb-main.is-split .xy-vine { grid-area: vine; }
  .page-a115-platebundle .pb-main.is-split #BtCartForm { grid-area: lines; }
  .page-a115-platebundle .pb-main.is-split .pb-tally { grid-area: tally; }

  .page-a115-platebundle .pb-plate {
    grid-template-columns: 84px minmax(0, 1fr) auto;
    grid-template-areas: "thumb copy foot";
    align-items: center;
  }
  .page-a115-platebundle .pb-plate-foot {
    grid-area: foot;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 0;
    border-top: 0;
    min-width: 148px;
  }
}

@media (max-width: 879px) {
  .page-a115-platebundle .pb-plate-foot {
    width: 100%;
  }
  .page-a115-platebundle .pb-line {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-a115-platebundle .pb-plate,
  .page-a115-platebundle .xy-vine i {
    transition: none;
  }
}
