/* =========================================================
   PETIT HAMAM – Eröffnungsgutschein
   Datei: /images/ph-voucher/ph-voucher.css
   Lokal/scoped, keine globalen Joomla-Overrides
   ========================================================= */

@font-face{
  font-family:"Charlotte";
  src:url("/images/fonts/Charlotte.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

.ph-voucher-shell,
.ph-voucher-shell *{
  box-sizing:border-box;
}

.ph-voucher-shell{
  width:min(760px,100%);
  margin:0 auto;
}

.ph-voucher-form{
  position:relative;
  width:100%;
  color:#3a241a;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,248,234,.54), rgba(255,248,234,0) 38%),
    linear-gradient(180deg,#f1dfc2 0%, #dfc19a 100%);
  border:1px solid rgba(255,244,225,.46);
  border-radius:32px;
  padding:56px 46px 48px;
  box-shadow:
    0 34px 95px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.36);
}

.ph-voucher-form::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(91,51,36,.10);
  border-radius:24px;
  pointer-events:none;
}

.ph-voucher-form .ph-voucher-head{
  text-align:center;
  max-width:560px;
  margin:0 auto 22px;
}

.ph-voucher-form .ph-voucher-head h1{
  margin:0 !important;
  font-family:Arial,sans-serif !important;
  font-size:21px !important;
  line-height:1.44 !important;
  color:#5b3324 !important;
  -webkit-text-fill-color:#5b3324 !important;
  font-weight:700 !important;
  letter-spacing:.005em !important;
  text-shadow:none !important;
  text-transform:none !important;
}

.ph-voucher-form .ph-voucher-brand{
  margin:0 auto 38px !important;
  font-family:"Charlotte", Georgia, serif !important;
  font-size:clamp(54px,9vw,82px) !important;
  line-height:.82 !important;
  font-weight:400 !important;
  letter-spacing:-.02em !important;
  color:#5b3324 !important;
  -webkit-text-fill-color:#5b3324 !important;
  text-align:center !important;
  text-shadow:0 7px 20px rgba(90,50,25,.13) !important;
  text-transform:none !important;
}

.ph-field{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:15px;
  padding:11px 18px;
  border-radius:18px;
  background:rgba(255,250,241,.50);
  border:1px solid rgba(120,75,50,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30);
}

.ph-field-full{
  margin-bottom:18px;
}

.ph-ui-icon{
  width:34px;
  min-width:34px;
  text-align:center;
  color:#7a4b34;
  font-size:24px;
  opacity:.88;
}

.ph-voucher-form input,
.ph-voucher-form select{
  width:100%;
  min-height:46px;
  border:1px solid rgba(120,75,50,.10);
  background:rgba(255,255,255,.70);
  color:#3a241a;
  padding:10px 12px;
  font-family:inherit;
  font-size:16px;
  border-radius:8px;
  outline:none;
  box-shadow:inset 0 1px 2px rgba(70,39,27,.06);
}

.ph-voucher-form input:focus,
.ph-voucher-form select:focus{
  border-color:rgba(155,95,69,.45);
  background:rgba(255,255,255,.84);
  box-shadow:0 0 0 3px rgba(155,95,69,.10);
}

.ph-choice-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:18px 0 18px;
}

.ph-choice{
  height:112px;
  border-radius:16px;
  border:4px solid rgba(95,55,35,.12);
  background:rgba(255,246,231,.72);
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:7px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.ph-choice:hover{
  transform:translateY(-1px);
  background:rgba(255,248,236,.88);
  box-shadow:0 9px 22px rgba(90,45,25,.10);
}

.ph-choice.is-active{
  background:#fff4e4;
  border-color:rgba(123,78,56,.88);
  box-shadow:
    0 10px 24px rgba(90,45,25,.16),
    0 0 0 3px rgba(255,248,236,.65);
}

.ph-choice img{
  max-width:100%;
  max-height:92px;
  object-fit:contain;
}

.ph-img-active{
  display:none;
}

.ph-choice.is-active .ph-img-normal{
  display:none;
}

.ph-choice.is-active .ph-img-active{
  display:block;
}

.ph-voucher-row{
  display:grid;
  gap:18px;
  margin-bottom:18px;
}

.ph-voucher-row-2{
  grid-template-columns:1fr 1fr;
}

.ph-counter{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 18px;
  border-radius:18px;
  background:rgba(255,250,241,.50);
  border:1px solid rgba(120,75,50,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30);
}

.ph-counter-badge{
  padding:8px 14px;
  border-radius:999px;
  background:#e8cda8;
  color:#704832;
  font-size:13px;
  font-weight:700;
  border:1px solid rgba(120,75,50,.18);
}

.ph-counter button{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(120,75,50,.14);
  background:rgba(255,255,255,.42);
  color:#7b4e38;
  font-size:22px;
  cursor:pointer;
  line-height:1;
}

.ph-counter button:hover{
  background:rgba(255,255,255,.70);
}

.ph-counter input{
  text-align:center;
  min-width:0;
}

.ph-counter.is-disabled{
  opacity:.45;
}

.ph-counter.is-disabled button,
.ph-counter.is-disabled input{
  pointer-events:none;
}

.ph-result-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:stretch;
  margin:24px 0 18px;
  padding:22px 24px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,248,236,.70),rgba(239,216,182,.56));
  border:1px solid rgba(120,75,50,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 10px 26px rgba(90,45,25,.08);
}

.ph-result-column{
  min-width:0;
  padding:4px 0;
}

.ph-result-column-value{
  padding-left:18px;
  border-left:1px solid rgba(120,75,50,.16);
}

.ph-result-label{
  display:block;
  margin-bottom:7px;
  font-family:Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#7b4e38;
}

.ph-result-main{
  font-size:34px;
  line-height:1;
  color:#3a241a;
  font-weight:700;
  letter-spacing:.01em;
}

.ph-result-value-main{
  font-size:40px;
  line-height:1;
  color:#3a241a;
  font-weight:700;
  letter-spacing:.01em;
}

.ph-result-line{
  font-size:15px;
  line-height:1.45;
  color:#8a6955;
  margin-top:8px;
}

.ph-result-save{
  color:#7b4e38;
  font-weight:700;
}

/* =========================
   TWINT-BOX
   ========================= */

.ph-twint-box{
  margin-top:24px;
  padding:24px 26px;
  border-radius:24px;
  background:rgba(255,248,236,.78);
  border:1px solid rgba(120,75,50,.22);
  color:#3a241a;
  line-height:1.55;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.40);
}

.ph-twint-box strong{
  display:block;
  margin-bottom:10px;
  font-family:Arial,sans-serif;
  font-size:14px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#5b3324;
  -webkit-text-fill-color:#5b3324;
}

.ph-twint-box p{
  margin:0;
  max-width:560px;
  font-size:16px;
  line-height:1.6;
  color:#4a2f22;
  -webkit-text-fill-color:#4a2f22;
}

.ph-twint-link{
  display:inline-flex;
  margin-top:16px;
  padding:0;
  background:transparent;
  border:0;
  text-decoration:none;
}

.ph-twint-link img{
  display:block;
  height:58px;
  width:auto;
}

/* =========================
   MOBILE
   ========================= */

@media(max-width:720px){
  .ph-voucher-form{
    padding:40px 22px 34px;
    border-radius:26px;
  }

  .ph-voucher-form::before{
    inset:10px;
    border-radius:20px;
  }

  .ph-voucher-row-2,
  .ph-choice-grid{
    grid-template-columns:1fr 1fr;
  }

  .ph-result-box{
    grid-template-columns:1fr;
  }

  .ph-result-column-value{
    padding-left:0;
    border-left:0;
    border-top:1px solid rgba(120,75,50,.16);
    padding-top:18px;
  }

  .ph-twint-box{
    padding:22px 20px;
  }

  .ph-twint-box p{
    font-size:15px;
  }

  .ph-twint-link img{
    height:54px;
  }
}
@media(max-width:720px){

  .ph-booking-row-2,
  .ph-voucher-row-2{
    grid-template-columns:1fr !important;
  }

  .ph-counter{
    width:100%;
    display:grid;
    grid-template-columns:auto 42px 1fr 42px;
    gap:10px;
  }

  .ph-counter input{
    min-width:0;
    width:100%;
  }

  .ph-counter button{
    width:42px;
    height:42px;
  }
}