/* Page Builder chrome: selection typography, card background, showcase links. */

.pb-richtext,
.pb-step-fill {
  font-size: var(--pb-font-size, 16px);
  font-family: var(--pb-font-family, inherit);
  color: var(--pb-color, inherit);
}

.pb-richtext p,
.pb-richtext li,
.pb-step-fill p,
.pb-step-fill li,
.pb-step-kicker,
.pb-step-title,
.pb-step-body {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
}

.pb-body {
  background: #ffffff;
}

a.pb-showcase-item {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

a.pb-showcase-item .pb-slot-fill,
a.pb-showcase-item img {
  pointer-events: none;
}

.pb-step-delete {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 6;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff;
  color: #b91c1c;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgb(15 23 42 / 0.16);
}

.pb-step.is-sub-selected > .pb-step-delete {
  display: grid;
  place-items: center;
}

.pb-step-delete:hover {
  background: #fef2f2;
}

.pb-step-panel.is-sub-selected {
  border-color: #10b981;
  box-shadow: 0 0 0 1px #10b981;
}

.pb-step-panel .pb-inspector-delete {
  margin-bottom: 0.45rem;
}

.pb-inspector .pb-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pb-inspector .pb-check input {
  width: auto;
  margin: 0;
}

.pb-card-actions {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  pointer-events: none;
}

.pb-block {
  position: relative;
}

.pb-card-actions button {
  pointer-events: auto;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.pb-card-atc {
  background: #ecfdf5;
  color: #047857;
}

.pb-card-buynow {
  background: #10b981;
  color: #fff;
}

.pb-block.is-editing .pb-card-actions {
  display: none;
}

.pb-block:has(.pb-card-actions) .pb-body {
  padding-bottom: 3.25rem;
}

.pb-slot-cart {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  color: #047857;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.14);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}

.pb-slot-cart .site-cart-icon {
  width: 1.15em;
  height: 1.15em;
}

.pb-showcase-item:hover .pb-slot-cart,
.pb-showcase-item:focus-within .pb-slot-cart {
  opacity: 1;
  pointer-events: auto;
}

.pb-slot-cart.is-busy {
  opacity: 1;
  pointer-events: none;
}

.pb-editing .pb-slot-cart,
.pb-block.is-editing .pb-slot-cart {
  display: none;
}

a.pb-showcase-item .pb-slot-cart {
  pointer-events: none;
}

a.pb-showcase-item:hover .pb-slot-cart,
a.pb-showcase-item:focus-within .pb-slot-cart {
  pointer-events: auto;
}
