.liza-pa {
  --liza-pa-bg: transparent;
  --liza-pa-field: #c6d0e9;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: 1.15rem;
  background: var(--liza-pa-bg);
  color: #313131;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.liza-pa-group {
  box-sizing: border-box;
  width: 100%;
  max-width: 36rem;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.5rem;
}

.liza-pa-label-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 36rem;
}

.liza-pa-block {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}

.liza-pa-cluster {
  display: grid;
  gap: 0.65rem;
}

.liza-pa-block + .liza-pa-section {
  margin-top: 0.85rem;
}

.liza-pa-section {
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
}

.liza-pa-section-title {
  margin: 0;
  font-size: 1rem !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}

.liza-pa-rule {
  height: 5px;
  background: #9b9b9b;
}

.liza-pa-tip {
  position: relative;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.liza-pa button.liza-pa-tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #ff9999;
  color: #333;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.liza-pa button.liza-pa-tip-btn:hover,
.liza-pa button.liza-pa-tip-btn:focus {
  background: #f08080;
  color: #333;
}

.liza-pa-tip-bubble {
  display: none;
  position: absolute;
  z-index: 40;
  bottom: calc(100% + 0.55rem);
  left: 0;
  width: min(20rem, 72vw);
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: #313131;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.liza-pa-tip:hover .liza-pa-tip-bubble,
.liza-pa-tip:focus-within .liza-pa-tip-bubble,
.liza-pa-tip.is-open .liza-pa-tip-bubble {
  display: block;
}

.liza-pa-label,
.liza-pa-choice,
.liza-pa-help,
.liza-pa-info-body,
.liza-pa-price,
.liza-pa-motif span,
.liza-pa-cal {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.liza-pa p {
  margin: 0;
  color: inherit;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

.liza-pa select,
.liza-pa textarea,
.liza-pa-date-display {
  box-sizing: border-box;
  width: 100%;
  max-width: 36rem;
  min-height: 45px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--liza-pa-field);
  border-radius: 6px;
  background-color: #fff;
  color: #111;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.liza-pa-date {
  position: relative;
  max-width: 36rem;
}

.liza-pa textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.liza-pa-date-display {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.15rem;
  padding-right: 2.5rem;
}

.liza-pa-cal {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  width: 18.5rem;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.liza-pa-cal-head,
.liza-pa-cal-week,
.liza-pa-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  text-align: center;
}

.liza-pa-cal-head {
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  margin-bottom: 0.45rem;
  font-weight: 650;
}

.liza-pa-cal-head button,
.liza-pa-cal-days button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
  min-height: 2rem;
  font-family: inherit;
  font-size: 1rem;
}

.liza-pa-cal-days button:hover:not(:disabled) {
  background: #f3f3f3;
}

.liza-pa-cal-days button:disabled {
  color: #b5b5b5;
  cursor: default;
}

.liza-pa-cal-week {
  margin-bottom: 0.25rem;
  color: #666;
  font-size: 0.85rem;
}

.liza-pa-price {
  max-width: 36rem;
  text-align: right;
}

form.cart:has(.liza-pa) .wcpa_price_summary {
  display: none !important;
}

.liza-pa-summary {
  box-sizing: border-box;
  width: 100%;
  max-width: 36rem;
  display: grid;
  gap: 0.35rem;
}

.liza-pa-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.liza-pa-summary-total {
  padding-top: 0.45rem;
  border-top: 1px solid #d5d5d5;
  font-weight: 650;
}

.liza-pa-choice {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.liza-pa-motifs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.6rem;
}

.liza-pa-motif {
  display: grid;
  gap: 0.3rem;
}

.liza-pa-motif label {
  display: grid;
  gap: 0.3rem;
  cursor: pointer;
}

.liza-pa-zoom,
.liza-pa-zoom picture {
  display: block;
  width: 100%;
  line-height: 0;
  background: transparent;
}

.liza-pa-motif img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 275 / 190;
  object-fit: cover;
  border: 2px solid transparent;
  background: #fff;
}

.liza-pa-card-preview {
  position: fixed;
  z-index: 100000;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
  border: 1px solid #fbfbfb;
  box-shadow: 0 0 7px 1px rgba(14, 14, 14, 0.16);
}

.liza-pa-card-preview[hidden] {
  display: none !important;
}

.liza-pa-card-preview img {
  display: block;
  width: 100%;
  max-height: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  background: #fff;
}

.liza-pa-motif input {
  position: absolute;
  opacity: 0;
}

.liza-pa-motif:has(input:checked) img,
.liza-pa-motif:has(input:focus-visible) img {
  border-color: #b02a35;
  box-shadow: 0 0 0 3px #b02a35;
}

.liza-pa-group > .liza-pa-label,
.liza-pa-help,
.liza-pa-info-body {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-wrap: pretty;
}

.liza-pa-label-row .liza-pa-label {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.liza-pa [hidden] {
  display: none !important;
}
