/**
 * YönHost — referans tarzı hosting fiyat kartları
 */

.yonhost-corp-plans--hosting {
  gap: clamp(14px, 1.8vw, 18px);
  align-items: stretch;
}

.yonhost-corp-plans--hosting > .yonhost-host-plan {
  min-width: 0;
  height: 100%;
}

.yonhost-corp-plans--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yonhost-host-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  padding: 22px 20px 18px;
  height: 100%;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.yonhost-host-plan:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.yonhost-host-plan--featured {
  border: 2px solid #2563eb;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
  z-index: 1;
}

.yonhost-host-plan__ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: #2563eb;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.yonhost-host-plan__head {
  text-align: center;
}

.yonhost-host-plan__name {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #0a1f38;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
}

.yonhost-host-plan__desc {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
  text-align: center;
}

.yonhost-host-plan__divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 14px 0;
}

.yonhost-host-plan__pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 18px 12px 16px;
  background: linear-gradient(180deg, #f1f5f9 0%, #fff 55%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  min-height: 118px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.yonhost-corp-plans--hosting .yonhost-host-plan__pricing {
  margin-left: auto;
  margin-right: auto;
}

.yonhost-host-plan--featured .yonhost-host-plan__pricing {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(180deg, #dbeafe 0%, #fff 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.yonhost-host-plan__price-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
}

.yonhost-host-plan__price-top:empty {
  display: none;
}

.yonhost-host-plan__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.28);
}

.yonhost-host-plan__old-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  min-height: 16px;
  line-height: 1.25;
}

.yonhost-host-plan__old-line:empty {
  display: none;
}

.yonhost-host-plan__old-price {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.yonhost-host-plan__usd {
  font-size: 0.6875rem;
  color: #cbd5e1;
  font-weight: 600;
}

.yonhost-host-plan__price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
}

.yonhost-host-plan__price-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  line-height: 1;
  min-height: 0;
  text-align: center;
}

.yonhost-host-plan__price-amount {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 100%;
  white-space: nowrap;
  margin: 0 auto;
}

.yonhost-host-plan__price-whole {
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.yonhost-host-plan__price-dec {
  font-size: clamp(0.9375rem, 1.6vw, 1.1875rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.yonhost-host-plan__price-cur {
  font-size: clamp(0.875rem, 1.4vw, 1.0625rem);
  font-weight: 700;
  color: #475569;
  margin-left: 4px;
  line-height: 1;
}

.yonhost-host-plan__price-period {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.yonhost-corp-plans--quad .yonhost-host-plan__price-whole {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.yonhost-corp-plans--quad .yonhost-host-plan__price-dec {
  font-size: clamp(0.75rem, 1.2vw, 0.9375rem);
}

.yonhost-corp-plans--quad .yonhost-host-plan__price-cur {
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
}

.yonhost-corp-plans--triple .yonhost-host-plan__price-whole {
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
}

.yonhost-corp-plans--quad .yonhost-host-plan__pricing {
  padding: 16px 8px 14px;
  min-height: 108px;
  gap: 8px;
}

.yonhost-corp-plans--triple .yonhost-host-plan__pricing {
  padding: 18px 14px 16px;
  min-height: 118px;
}

.yonhost-host-plan__price-quote {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

/* Eski markup — price-side yığınını düzelt */
.yonhost-host-plan__price-hero:has(.yonhost-host-plan__price-main) {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  align-content: center;
  gap: 0 3px;
  row-gap: 6px;
}

.yonhost-host-plan__price-hero:has(.yonhost-host-plan__price-main) .yonhost-host-plan__price-main {
  order: 1;
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1;
}

.yonhost-host-plan__price-hero:has(.yonhost-host-plan__price-main) .yonhost-host-plan__price-side {
  display: contents;
}

.yonhost-host-plan__price-hero:has(.yonhost-host-plan__price-main) .yonhost-host-plan__price-dec {
  order: 2;
  font-size: clamp(0.9375rem, 1.6vw, 1.1875rem);
  font-weight: 800;
  color: #0f172a;
}

.yonhost-host-plan__price-hero:has(.yonhost-host-plan__price-main) .yonhost-host-plan__price-cur {
  order: 3;
  font-size: clamp(0.875rem, 1.4vw, 1.0625rem);
  font-weight: 700;
  color: #475569;
  margin-left: 2px;
}

.yonhost-host-plan__price-hero:has(.yonhost-host-plan__price-main) .yonhost-host-plan__price-period {
  order: 10;
  flex: 0 0 100%;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
  padding: 0;
}

.yonhost-host-plan__price-main {
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1;
}

.yonhost-host-plan__price-side {
  display: contents;
}

.yonhost-host-plan__order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  margin-bottom: 16px;
  background: #1e293b;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.yonhost-host-plan__order-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  line-height: 0;
}

.yonhost-host-plan__order-icon img {
  display: block;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.yonhost-host-plan__order::before {
  content: none;
  display: none;
}

.yonhost-host-plan__order:hover {
  background: #0f172a;
  color: #fff;
}

.yonhost-host-plan--featured .yonhost-host-plan__order {
  background: #2563eb;
}

.yonhost-host-plan--featured .yonhost-host-plan__order:hover {
  background: #1d4ed8;
}

.yonhost-host-plan__features-head {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}

.yonhost-host-plan__features {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  flex: 1;
}

.yonhost-host-plan__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.35;
}

.yonhost-host-plan__features li:last-child {
  border-bottom: none;
}

.yonhost-host-plan__feat-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.yonhost-host-plan__stack {
  list-style: none;
  margin: 0 0 14px;
  padding: 12px 0 0;
  border-top: 1px solid #f1f5f9;
}

.yonhost-host-plan__stack-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.yonhost-host-plan__stack-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.yonhost-host-plan__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  color: #2563eb;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  margin-top: auto;
}

.yonhost-host-plan__more:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}

.yonhost-corp-plan__features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yonhost-corp-plan__feat-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .yonhost-corp-plans--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .yonhost-corp-plans--triple,
  .yonhost-corp-plans--quad,
  .yonhost-corp-plans--duo {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .yonhost-host-plan__pricing {
    padding: 16px 12px 14px;
    min-height: 112px;
    gap: 8px;
  }

  .yonhost-host-plan__price-whole,
  .yonhost-host-plan__price-main {
    font-size: 2.125rem;
  }

  .yonhost-host-plan__price-dec {
    font-size: 1rem;
  }
}
