/* Satın alma sayfası — ürün seçimi */
.hm-checkout .hm-pkg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 16px;
}
.hm-checkout .hm-pkg__section-label {
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.hm-checkout .hm-pkg__section-hint {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.hm-checkout .hm-pkg__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.hm-checkout .hm-pkg__tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  min-height: 100%;
}
.hm-checkout .hm-pkg__tile:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}
.hm-checkout .hm-pkg__tile.is-on {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}
.hm-checkout .hm-pkg__tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.hm-checkout .hm-pkg__tile-body p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  flex: 1;
}
.hm-checkout .hm-pkg__tile .hm-pkg__price {
  text-align: left;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}
.hm-checkout .hm-pkg__tile.is-on .hm-pkg__price {
  border-top-color: #bfdbfe;
}
.hm-checkout .hm-pkg__row--none {
  margin-bottom: 4px;
}
.hm-checkout .hm-gmp-addon {
  margin-top: 16px;
  padding-top: 4px;
}
.hm-checkout .hm-gmp-addon__card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.hm-checkout .hm-gmp-addon__card:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}
.hm-checkout .hm-gmp-addon__card.is-on {
  border-style: solid;
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}
.hm-checkout .hm-gmp-addon__card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.hm-checkout .hm-gmp-addon__check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #94a3b8;
  background: #fff;
  flex-shrink: 0;
  position: relative;
}
.hm-checkout .hm-gmp-addon__card.is-on .hm-gmp-addon__check {
  border-color: #2563eb;
  background: #2563eb;
}
.hm-checkout .hm-gmp-addon__card.is-on .hm-gmp-addon__check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.hm-checkout .hm-gmp-addon__main p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}
.hm-checkout .hm-pkg__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.hm-checkout .hm-pkg__row--pick {
  cursor: pointer;
}
.hm-checkout .hm-pkg__row--pick:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}
.hm-checkout .hm-pkg__row--pick.is-on {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}
.hm-checkout .hm-pkg__row--fixed {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}
.hm-checkout .hm-pkg__row--pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.hm-checkout .hm-pkg__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
}
.hm-checkout .hm-pkg__row--pick.is-on .hm-pkg__dot,
.hm-checkout .hm-pkg__dot--on {
  border-color: #2563eb;
  border-width: 6px;
  background: #fff;
}
.hm-checkout .hm-pkg__main { min-width: 0; }
.hm-checkout .hm-pkg__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.hm-checkout .hm-pkg__title strong {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.hm-checkout .hm-pkg__tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
}
.hm-checkout .hm-pkg__tag--req {
  color: #1d4ed8;
  background: #dbeafe;
}
.hm-checkout .hm-pkg__tag--opt {
  color: #64748b;
  background: #f1f5f9;
}
.hm-checkout .hm-pkg__tag--hugin {
  color: #b45309;
  background: #fef3c7;
}
.hm-checkout .hm-pkg__tag--yearly {
  color: #1d4ed8;
  background: #dbeafe;
}
.hm-checkout .hm-gmp-hint {
  margin: -4px 0 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
}
.hm-checkout .hm-pkg__main p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}
.hm-checkout .hm-pkg__price {
  text-align: right;
  white-space: nowrap;
}
.hm-checkout .hm-pkg__price b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.hm-checkout .hm-pkg__price small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}
.hm-checkout .hm-pkg__price--free b {
  font-size: 14px;
  color: #64748b;
}
.hm-checkout .hm-period-bar {
  display: flex;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 12px;
}
.hm-checkout .hm-period-bar--top {
  margin: 4px 0 20px;
}
.hm-checkout .hm-pkg__section-label--period {
  margin-top: 16px;
  margin-bottom: 8px;
}
.hm-checkout .hm-period-bar label {
  flex: 1;
  cursor: pointer;
}
.hm-checkout .hm-period-bar input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hm-checkout .hm-period-bar span {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.hm-checkout .hm-period-bar input:checked + span {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.hm-checkout .hm-period-bar label.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}
.hm-checkout .hm-period-bar.is-gmp-locked::after {
  content: 'Yıllık eklenti seçildiği için dönem yıllık olarak ayarlandı';
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
  text-align: center;
}
.hm-checkout .hm-checkout__hero--slim {
  margin-bottom: 20px;
}
.hm-checkout .hm-checkout__hero--slim p {
  max-width: 560px;
}

.hm-checkout .hm-checkout-card--sticky {
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.hm-checkout .hm-checkout-summary__total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px solid #e2e8f0;
}

.hm-checkout .hm-checkout-summary__total dd strong {
  font-size: 1.35rem;
  color: #2563eb;
}

.hm-checkout .hm-payment-badges--compact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.hm-checkout .hm-account-chip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.18);
  font-size: 14px;
  color: #134e4a;
}

.hm-checkout .hm-account-chip strong {
  font-weight: 600;
}

.hm-checkout .hm-account-chip span {
  opacity: 0.9;
}

.hm-checkout-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.hm-mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.hm-mode-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hm-mode-card strong {
  font-size: 17px;
  color: #0f172a;
}

.hm-mode-card p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.45;
}

.hm-mode-card ul {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: #475569;
}

.hm-mode-card:hover {
  border-color: #93c5fd;
}

a.hm-mode-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.hm-mode-card:hover {
  border-color: #2563eb;
}

.hm-mode-card.is-on {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.hm-mode-card__badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hm-checkout-summary__trial {
  padding: 14px 0 6px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.hm-checkout-summary__trial p {
  margin: 0 0 6px;
}

@media (max-width: 900px) {
  .hm-checkout-mode {
    grid-template-columns: 1fr;
  }
  .hm-checkout .hm-pkg__grid {
    grid-template-columns: 1fr;
  }
  .hm-checkout .hm-pkg__row {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
  }
  .hm-checkout .hm-pkg__row .hm-pkg__price,
  .hm-checkout .hm-gmp-addon__card .hm-pkg__price {
    grid-column: 2;
    text-align: left;
    margin-top: 4px;
  }
  .hm-checkout .hm-gmp-addon__card {
    grid-template-columns: 20px minmax(0, 1fr);
  }
  .hm-checkout .hm-pkg__price b {
    display: inline;
    font-size: 16px;
  }
  .hm-checkout .hm-pkg__price small {
    display: inline;
    margin-left: 6px;
  }
  .hm-checkout .hm-pkg__tile .hm-pkg__price b {
    display: block;
  }
  .hm-checkout .hm-pkg__tile .hm-pkg__price small {
    display: block;
    margin-left: 0;
  }
}
