.pp-cart-v2{
  max-width: 980px;
  margin: 0 auto;
}

.pp-cart-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.pp-cart-title{
  font-size: 28px;
  letter-spacing: -0.02em;
  margin:0;
}

.pp-cart-sub{
  margin:6px 0 0;
  opacity:.75;
  font-size: 13px;
}

.pp-cart-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.pp-cart-item{
  display:grid;
  grid-template-columns: 140px 1fr auto;
  gap:14px;
  align-items:center;
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 16px 40px rgba(15,23,42,.10);
  position:relative;
}

.pp-cart-item.is-loading{
  opacity:.75;
  pointer-events:none;
}

.pp-cart-img{
  width:140px;
  aspect-ratio: 1 / 1;
  border-radius:16px;
  overflow:hidden;
  background: rgba(0,0,0,.04);
}
.pp-cart-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pp-cart-meta h3{
  margin:0 0 6px;
  font-size: 16px;
}
.pp-cart-meta a{
  color:#111827;
  text-decoration:none;
}
.pp-cart-meta a:hover{ text-decoration:underline; }

.pp-cart-price{
  font-weight:800;
  margin-top:6px;
}

.pp-cart-controls{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  min-width: 220px;
}

.pp-qty-wrap{
  display:flex;
  align-items:center;
  gap:8px;
}

.pp-qty-btn{
  width:38px;
  height:38px;
  border-radius:999px;
  border: 2px solid #111827;
  background: rgba(255,255,255,.55);
  cursor:pointer;
  font-weight:900;
  line-height:1;
}
.pp-qty{
  width:64px;
  height:38px;
  border-radius:12px;
  border:2px solid #111827;
  background: rgba(255,255,255,.55);
  text-align:center;
  font-weight:800;
}

.pp-line-total{
  font-weight:900;
}

.pp-remove{
  font-size:13px;
  opacity:.75;
  background: transparent;
  border:0;
  cursor:pointer;
  text-decoration: underline;
}
.pp-remove:hover{ opacity:1; }

.pp-cart-foot{
  margin-top:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(17,24,39,.10);
}

.pp-cart-total{
  font-size: 16px;
  font-weight: 900;
}

.pp-btn-primary{
  height:46px;
  padding: 0 18px;
  border-radius: 999px;
  border:0;
  cursor:pointer;
  background:#111827;
  color:#fff;
  font-weight:900;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.pp-step-cards{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
  margin-top:14px;
}

.pp-card{
  padding:16px;
  border-radius:18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(17,24,39,.10);
}
.pp-card h3{ margin:0 0 6px; }
.pp-card p{ margin:0; opacity:.75; font-size:13px; }

.pp-form{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.pp-field label{ font-weight:800; font-size:13px; }
.pp-field input, .pp-field textarea{
  width:100%;
  height:44px;
  border-radius:14px;
  border:2px solid #111827;
  background: rgba(255,255,255,.55);
  padding: 0 12px;
}
.pp-field textarea{ height:auto; padding:12px; }

@media (max-width: 820px){
  .pp-cart-item{
    grid-template-columns: 110px 1fr;
  }
  .pp-cart-controls{
    grid-column: 1 / -1;
    align-items:flex-start;
    min-width: unset;
  }
  .pp-cart-foot{
    flex-direction:column;
    align-items:stretch;
  }
  .pp-step-cards{ grid-template-columns: 1fr; }
}
.pp-ship-block{
  margin-top: 16px;
}

.pp-ship-title{
  font-weight: 800;
  font-size: 16px;
  color:#111827;
  margin: 10px 0 12px;
}

.pp-form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: start;
}

.pp-col-span-2{ grid-column: 1 / -1; }

.pp-divider{
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(17,24,39,.12);
}
.pp-divider span{
  display:inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color:#111827;
  opacity:.75;
}

/* select ugyanaz a stílus, mint az input */
.pp-select{
  height: 44px;
  border-radius: 14px;
  border: 2px solid #111827;
  background: rgba(255,255,255,.22);
  box-shadow: 0 8px 20px rgba(148,163,184,.20);
  padding: 0 10px;
  outline: none;
  font-size: 14px;
  appearance: none;
}

/* kis nyíl a selecthez (opcionális) */
.pp-field{ position:relative; }
.pp-field:has(.pp-select)::after{
  content:"";
  position:absolute;
  right: 14px;
  bottom: 16px;
  width: 10px;
  height: 10px;
  pointer-events:none;
  opacity:.55;
  border-right: 2px solid #111827;
  border-bottom: 2px solid #111827;
  transform: rotate(45deg);
}

@media (max-width: 900px){
  .pp-form-grid{ grid-template-columns: 1fr; }
  .pp-col-span-2{ grid-column: auto; }
}
/* egységes controlok */
.pp-input, .pp-select, .pp-field input, .pp-field textarea, .pp-field select{
  width: 100%;
  box-sizing: border-box;
}

/* a select most más háttérrel volt (.22) – legyen ugyanolyan mint az input */
.pp-select{
  background: rgba(255,255,255,.55);
  box-shadow: 0 8px 20px rgba(148,163,184,.20);
  padding-right: 38px; /* hely a nyílnak */
}

/* NE :has() – inkább class alapú, stabilabb */
.pp-field--select{ position:relative; }
.pp-field--select::after{
  content:"";
  position:absolute;
  right: 14px;
  top: 38px;           /* label alatt “középre” */
  width: 10px;
  height: 10px;
  pointer-events:none;
  opacity:.55;
  border-right: 2px solid #111827;
  border-bottom: 2px solid #111827;
  transform: rotate(45deg);
}

/* kis segéd */
.pp-help{ display:block; margin-top:6px; font-size:12px; opacity:.7; }
.pp-email-row{ display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.pp-email-pill{ padding:10px 12px; border-radius:14px; border:2px solid #111827; background:rgba(255,255,255,.55); font-weight:800; }
.pp-email-switch{ display:flex; gap:8px; align-items:center; font-size:13px; opacity:.9; }
/* Email toggle switch */
.pp-email-switch{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  font-weight:800;
  color:#111827;
  cursor:pointer;
  user-select:none;
}

/* rejtsük el az alap checkboxot */
.pp-email-switch input[type="checkbox"]{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space:nowrap;
}

/* kapcsoló UI */
.pp-email-switch__ui{
  width: 46px;
  height: 26px;
  border-radius: 999px;

  background: rgb(0, 0, 0);
  box-shadow: 0 10px 22px rgba(15,23,42,.10);
  position:relative;
  flex: 0 0 auto;
  transition: transform .12s ease, background .12s ease;
  margin-right: 50px;
}

.pp-email-switch__ui::before{
  content:"";
  position:absolute;
  top: 50%;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius:999px;
  background:#111827;
  transform: translateY(-50%);
  transition: left .15s ease;
}

/* ON állapot */
.pp-email-switch input[type="checkbox"]:checked + .pp-email-switch__ui::before{
  left: 23px;
}

/* fókusz (accessibility) */
.pp-email-switch input[type="checkbox"]:focus-visible + .pp-email-switch__ui{
  outline: 3px solid rgba(119,80,183,.35);
  outline-offset: 3px;
}

.pp-email-switch__text{
  opacity:.9;
}
.pp-email-new{
  margin-top: 5px;
}

.pp-email-switch__ui{
  width: 46px;
  height: 26px;
  border-radius: 999px;

  background: rgba(255,255,255,0.7);
  border: 2px solid #111827;

  box-shadow: 0 10px 22px rgba(15,23,42,.10);
  position:relative;
  flex: 0 0 auto;
  transition: background .12s ease;
  margin-right: 10px;

  /* EZ KELL HOZZÁ 👇 */
  display: inline-block;
}
/* =======================
   EMAIL SWITCH ALIGN FIX
   ======================= */

/* ne örökölje a nagy label margint */
.pp-email-switch{
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin: 0;                 /* felülírja a .pp-field label margint */
}

.pp-email-switch__text{
  display: flex;
  align-items: center;
  line-height: 1.1;
  position: relative;
  top: 3px;   /* 2–3px között lesz a legszebb, próbáld ki */
}

@media (max-width: 820px){
  .pp-cart-img{ max-width: 110px; } /* a mobilos grid oszlopodhoz passzol */
  .pp-cart-item{ align-items: start; } /* szebb, nem “úszik össze” */
}
.pp-payrow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.pp-payicons{
  display:inline-flex;
  align-items:center;
  gap:8px;
  opacity:.85;
}

.pp-payicon{
  width:192px;
  height:18px;
}

.pp-payicon rect{
  stroke: currentColor;
  stroke-opacity:.28;
}

.pp-payicon path,
.pp-payicon circle{
  fill: currentColor;
}

.pp-h3-icon{
  display:flex;
  align-items:center;
  gap:10px;
}
.pp-h3-icon .pp-icon1{
  width:42px;
  height:42px;
  object-fit:contain;
  flex:0 0 auto;
}
.pp-h3-icon .pp-icon2{
  width:48px;
  height:48px;
  object-fit:contain;
  flex:0 0 auto;
}

