/* item.css: only used by templates/item.html (one outfit + booking form) */
/* ==========================================================
   LAYOUT
   ========================================================== */

.back {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 700;
}
.itemgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.itemart {
  position: relative;
  border-radius: 18px;
  overflow: hidden;           /* clips the photo to the rounded corners at every size */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border: 1px solid var(--line);
}
.itemart svg {
  height: 340px; /* placeholder dress shape, used when an item has no photo */
  opacity: 0.55;
}
.itemart .thumb {
  display: block;
  width: 100%;
  height: auto;               /* frame = photo: the whole outfit, no cropping, no stretching */
}
/* ==========================================================
   DETAILS AND FORM EXTRAS
   ========================================================== */

.meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.meta .pill {
  font-size: 12px;
}
.priceline {
  font-size: 20px;
  margin: 8px 0;
}
.steps3 {
  padding-left: 20px;
  list-style-type: circle;
}
.steps3 li {
  margin-bottom: 4px;
}
.errors {
  border-left-color: var(--bad);
}
.booked {
  margin: 8px 0 0;
  padding-left: 20px;
}
.fine {
  font-size: 14px;
}

#req-booking-btn {
  width: 100%;
}

/* Price summary above the Request booking button */
.pricebox { margin: 18px 0 8px; color: #7b3b2a; }
.pb-main {
  font-family: initial;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}
.pb-extra { font-size: 18px; font-weight: 400; margin-top: 8px; }
.pb-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(123, 59, 42, 0.2);
  margin-top: 14px;
  padding-top: 12px;
}
.pb-total[hidden] { display: none; }
.pb-total span:first-child { font-size: 16px; }
.pb-total span:last-child { font-size: 24px; font-weight: 700; }
.pb-deposit { margin: 10px 0 0; }


/* ==========================================================
   WIDER SCREENS: picture on the left, form on the right
   ========================================================== */

@media (min-width: 800px) {
  .itemgrid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .itemart svg {
    height: 520px;
  }
}

.rental3-title {
  display: none !important;
}