
.pe-extras-wrap{
  margin:18px 0 8px;
}

.pe-extras-wrap h3{
  margin:0 0 12px;
  font-size:1.15rem;
  font-weight:800;
  color:#0f172a;
  letter-spacing:-0.01em;
}

.pe-extras-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.pe-extra-card{
  display:flex;
  align-items:center;
  gap:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,252,.96) 100%);
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  padding:14px 16px;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pe-extra-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(15,23,42,.08);
  border-color:rgba(15,23,42,.12);
}

.pe-extra-thumb{
  flex:0 0 58px;
  width:58px;
  height:58px;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.pe-extra-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  padding:7px;
}

.pe-extra-thumb--placeholder{
  background:#f8fafc;
}

.pe-extra-thumb--placeholder span{
  font-size:22px;
  line-height:1;
  opacity:.35;
}

.pe-extra-content{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.pe-extra-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex:1;
  min-width:0;
}

.pe-extra-title-wrap{
  min-width:0;
  flex:1;
}

.pe-extra-title{
  font-weight:800;
  font-size:1rem;
  line-height:1.2;
  color:#0f172a;
  margin-bottom:3px;
}

.pe-extra-desc{
  font-size:.88rem;
  line-height:1.35;
  color:#64748b;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.pe-extra-badge{
  flex-shrink:0;
  font-size:.74rem;
  padding:6px 10px;
  border-radius:999px;
  background:#f8fafc;
  color:#475569;
  white-space:nowrap;
  border:1px solid rgba(15,23,42,.06);
}

.pe-extra-footer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-shrink:0;
}

.pe-extra-price{
  font-weight:800;
  font-size:1.02rem;
  color:#111827;
  white-space:nowrap;
}

.pe-qty{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:5px 7px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.07);
  box-shadow:0 6px 14px rgba(15,23,42,.04);
}

.pe-qty-btn{
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  line-height:1;
  cursor:pointer;
  background:#17b6c3;
  color:#fff;
  box-shadow:0 8px 16px rgba(23,182,195,.18);
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.pe-qty-btn:hover{
  transform:translateY(-1px);
  filter:brightness(.97);
  box-shadow:0 10px 18px rgba(23,182,195,.22);
}

.pe-qty-btn:active{
  transform:translateY(0) scale(.97);
}

.pe-qty-value{
  min-width:16px;
  text-align:center;
  font-weight:800;
  font-size:.98rem;
  color:#0f172a;
}

@media (max-width: 820px){
  .pe-extra-card{
    align-items:flex-start;
  }
  .pe-extra-content{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .pe-extra-head{
    align-items:flex-start;
  }
  .pe-extra-footer{
    justify-content:space-between;
  }
}

@media (max-width: 640px){
  .pe-extras-wrap{
    margin:16px 0 8px;
  }
  .pe-extra-card{
    padding:12px;
    gap:12px;
    border-radius:18px;
  }
  .pe-extra-thumb{
    flex-basis:52px;
    width:52px;
    height:52px;
  }
  .pe-extra-head{
    gap:10px;
  }
  .pe-extra-desc{
    white-space:normal;
  }
  .pe-extra-footer{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .pe-qty{
    width:100%;
    justify-content:center;
  }
}


/* === Extras UI improvements === */

/* Title */
.pe-extras-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:6px;
}

/* Subtitle */
.pe-extras-subtitle{
    font-size:15px;
    color:#6b7280;
    margin-bottom:20px;
}

/* Card layout */
.pe-extra-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

/* Right side (price + buttons) */
.pe-extra-right{
    display:flex;
    align-items:center;
    gap:12px;
}

/* Hover premium effect */
.pe-extra-card:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:all .2s ease;
}


/* --- v10.2 real front title + alignment improvements --- */
.pe-extras-title{
  margin:0 0 6px !important;
  font-size:28px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  color:#0f172a !important;
  letter-spacing:-0.02em !important;
}

.pe-extras-subtitle{
  margin:0 0 20px !important;
  font-size:15px !important;
  line-height:1.45 !important;
  color:#6b7280 !important;
}

.pe-extra-card{
  align-items:center !important;
}

.pe-extra-content{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
}

.pe-extra-footer{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:14px !important;
  flex-shrink:0 !important;
}

.pe-extra-price{
  order:2 !important;
}

.pe-qty{
  order:3 !important;
}

@media (max-width: 820px){
  .pe-extras-title{
    font-size:24px !important;
  }
}


/* --- v10.3 place quantity before price, price aligned right --- */
.pe-extra-footer{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
}

.pe-qty{
  order:1 !important;
}

.pe-extra-price{
  order:2 !important;
  margin-left:6px !important;
  min-width:92px !important;
  text-align:right !important;
}

@media (max-width: 640px){
  .pe-extra-footer{
    flex-direction:row !important;
    justify-content:flex-end !important;
    align-items:center !important;
  }
}


/* --- V12.1 front reservation --- */
.pe-reservation-form-wrap{
  max-width:1100px;
  margin:32px auto;
  padding:0 16px 32px;
}

.pe-booking-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.7fr) 360px;
  gap:28px;
  align-items:start;
}

.pe-booking-main,
.pe-booking-side{
  min-width:0;
}

.pe-form-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:22px;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
  margin-bottom:22px;
}

.pe-form-title{
  margin:0 0 16px;
  font-size:1.2rem;
  font-weight:800;
  color:#0f172a;
}

.pe-form-grid,
.pe-stay-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
}

.pe-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.pe-field label{
  font-size:.92rem;
  font-weight:700;
  color:#334155;
}

.pe-field input,
.pe-field select{
  width:100%;
  min-height:46px;
  border:1px solid #dbe3ea;
  border-radius:12px;
  padding:11px 13px;
  background:#fff;
}

.pe-field input:focus,
.pe-field select:focus{
  outline:none;
  border-color:#17b6c3;
  box-shadow:0 0 0 4px rgba(23,182,195,.12);
}

.pe-extras-section .pe-extras-wrap{
  margin:0;
}

.pe-extras-section .pe-extras-title{
  font-size:1.3rem;
  margin:0 0 6px;
}

.pe-extras-section .pe-extras-subtitle{
  margin:0 0 14px;
  color:#64748b;
}

.pe-extras-section .pe-extras-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.pe-extras-section .pe-extra-card{
  align-items:flex-start;
  padding:16px;
  border-radius:18px;
}

.pe-extras-section .pe-extra-content{
  display:block;
}

.pe-extras-section .pe-extra-head{
  align-items:flex-start;
  gap:10px;
  margin-bottom:12px;
}

.pe-extras-section .pe-extra-title{
  font-size:1.05rem;
}

.pe-extras-section .pe-extra-desc{
  white-space:normal;
}

.pe-extras-section .pe-extra-footer{
  justify-content:space-between;
}

.pe-summary{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:22px;
  box-shadow:0 16px 30px rgba(15,23,42,.07);
  position:sticky;
  top:110px;
}

.pe-summary h3{
  margin:0 0 14px;
  font-size:1.15rem;
  font-weight:800;
  color:#0f172a;
}

.pe-summary-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin:10px 0;
  color:#334155;
}

.pe-summary-row strong,
.pe-summary-row span:last-child{
  color:#0f172a;
}

.pe-summary hr{
  border:none;
  border-top:1px solid #e5e7eb;
  margin:14px 0;
}

.pe-summary-note{
  margin:14px 0 0;
  font-size:.88rem;
  color:#92400e;
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:12px;
  padding:10px 12px;
}

.pe-trust-block{
  margin-top:14px;
  display:grid;
  gap:8px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:14px;
  color:#0f172a;
  font-size:.92rem;
}

.pe-book-btn{
  width:100%;
  min-height:50px;
  border:none;
  border-radius:14px;
  margin-top:16px;
  background:#c5534f;
  color:#fff;
  font-size:1rem;
  font-weight:800;
  cursor:pointer;
}

.pe-book-btn:hover{
  filter:brightness(.98);
}

@media (max-width: 980px){
  .pe-booking-layout{
    grid-template-columns:1fr;
  }
  .pe-summary{
    position:relative;
    top:0;
  }
}

@media (max-width: 720px){
  .pe-form-grid,
  .pe-stay-grid,
  .pe-extras-section .pe-extras-grid{
    grid-template-columns:1fr;
  }
}


/* V12.6 UX polish */
.pe-summary-extras-title{
  margin: 10px 0 6px;
  font-size: .95rem;
  font-weight: 700;
  color: #0f172a;
}
