/* Paketler sayfası — e-ticaret tarzı liste düzeni */

.paketler-page {
  padding: 2.5rem 0 4rem;
  background: #f8fafc;
}

.paketler-page-header {
  margin-bottom: 2rem;
}

.paketler-page-header .section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-600, #0099d6);
  margin-bottom: 0.5rem;
}

.paketler-page-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.paketler-page-header p {
  color: #64748b;
  font-size: 1rem;
  max-width: 640px;
}

.paketler-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.paketler-sidebar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h, 80px) + 1rem);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.paketler-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.filter-group + .filter-group {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f8fafc;
}

.filter-group-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
}

.filter-group-head svg {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  transition: transform 0.2s;
}

.filter-group.is-open .filter-group-head svg {
  transform: rotate(180deg);
}

.filter-group-body {
  display: none;
  padding-bottom: 0.75rem;
}

.filter-group.is-open .filter-group-body {
  display: block;
}

.filter-group-body label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.filter-group-body select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  color: #0f172a;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-group-body select:focus {
  border-color: var(--primary-500, #00aeef);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.12);
}

.filter-apply-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--accent-500, #fdb913);
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.filter-apply-btn:hover {
  background: var(--accent-600, #e5a50f);
}

.filter-apply-btn:active {
  transform: translateY(1px);
}

.paketler-main {
  min-width: 0;
}

.paketler-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
}

.paketler-result-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.paketler-result-count span {
  color: #64748b;
  font-weight: 500;
}

.paketler-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.paketler-toolbar-actions label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.paketler-toolbar-actions select {
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
  font-size: 0.85rem;
  color: #0f172a;
  outline: none;
}

.paketler-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.paketler-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
}

.paketler-empty-icon {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: #f1f5f9;
  color: #64748b;
  margin-bottom: 1rem;
}

.paketler-empty h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.paketler-empty p {
  color: #64748b;
  font-size: 0.95rem;
  max-width: 420px;
}

.paket-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.paket-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.paket-card-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #f1f5f9;
}

a.paket-card-media {
  text-decoration: none;
  color: inherit;
}

.paket-card-icon {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: #fff;
  color: var(--primary-600, #0099d6);
  box-shadow: 0 8px 20px rgba(0, 153, 214, 0.12);
}

.paket-card-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.paket-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  max-width: calc(100% - 1.7rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paket-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.15rem;
}

.paket-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  min-height: 2.8rem;
}

.paket-card-features {
  flex: 1;
  margin-bottom: 1rem;
}

.paket-card-features li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.paket-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-500, #00aeef);
}

.paket-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.paket-card-price-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.paket-card-price-period {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 0.2rem;
}

.paket-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.paket-card-actions:not(:has(.paket-provider-badge)) {
  justify-content: flex-end;
}

.paket-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: calc(100% - 5.5rem);
  padding: 0.35rem 0.55rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
}

.paket-provider-badge-logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 1.35rem;
  max-width: 4.5rem;
  object-fit: contain;
}

.paket-provider-badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #64748b;
  white-space: nowrap;
}

.paket-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.paket-buy-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.paketler-mobile-filter-btn {
  display: none;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .paketler-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .paketler-layout {
    grid-template-columns: 1fr;
  }

  .paketler-mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .paketler-sidebar {
    display: none;
    position: static;
  }

  .paketler-sidebar.is-mobile-open {
    display: block;
  }
}

@media (max-width: 640px) {
  .paketler-grid {
    grid-template-columns: 1fr;
  }

  .paketler-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .paketler-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .paket-detay-page {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .paket-detay-section {
    padding: 1rem;
  }
}

/* Paket detay sayfası */
.paket-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
}

.paket-breadcrumb a {
  color: var(--primary-600, #0099d6);
  font-weight: 500;
}

.paket-breadcrumb a:hover {
  text-decoration: underline;
}

.paket-breadcrumb span:last-child {
  color: #0f172a;
  font-weight: 600;
}

.paket-detay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.75rem;
  align-items: start;
}

.paket-detay-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
}

.paket-detay-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 0.85rem;
  border: 1px solid #f1f5f9;
}

.paket-detay-media .paket-card-badge {
  top: 0.75rem;
  left: 0.75rem;
}

.paket-detay-intro h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.25;
}

.paket-detay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.paket-detay-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
}

.paket-detay-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
}

.paket-detay-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.paket-detay-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.paket-detay-features li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
}

.paket-detay-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-500, #00aeef);
}

.paket-detay-section-note {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.95rem;
}

.paket-detay-arac-turleri {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.paket-detay-arac-turleri li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.paket-detay-arac-turleri li.is-current {
  border-color: rgba(0, 174, 239, 0.35);
  background: rgba(0, 174, 239, 0.06);
}

.paket-detay-arac-turleri a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.paket-detay-arac-turleri a:hover {
  color: var(--primary-600, #0099d6);
}

.paket-detay-tur-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-600, #0099d6);
  background: rgba(0, 174, 239, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.paket-detay-description p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.paket-detay-description p:last-child {
  margin-bottom: 0;
}

.paket-detay-contract {
  max-height: 360px;
  overflow: auto;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

.paket-detay-sidebar {
  position: sticky;
  top: calc(var(--header-h, 80px) + 1rem);
}

.paket-detay-buy-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.paket-detay-buy-card .paket-provider-badge {
  margin-bottom: 0.15rem;
  max-width: 100%;
}

.paket-detay-buy-card .paket-provider-badge-logo {
  height: 1.5rem;
  max-width: 5.5rem;
}

.paket-detay-buy-card .paket-provider-badge-text {
  font-size: 0.78rem;
}

.paket-detay-price {
  margin: 0.85rem 0 0.5rem;
}

.paket-detay-price .paket-card-price-value {
  font-size: 2rem;
}

.paket-detay-buy-note {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.1rem;
}

.paket-detay-buy-btn,
.paket-detay-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.paket-detay-buy-btn {
  background: var(--accent-500, #fdb913);
  color: #1a1a1a;
  margin-bottom: 0.65rem;
}

.paket-detay-buy-btn:hover {
  background: var(--accent-600, #e5a50f);
  color: #fff;
}

.paket-detay-back-btn {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.paket-detay-back-btn:hover {
  background: #f8fafc;
}

.paket-detay-related {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
}

.paket-detay-related h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.paket-detay-related li + li {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
}

.paket-detay-related a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.paket-detay-related strong {
  font-size: 0.92rem;
  color: #0f172a;
}

.paket-detay-related span {
  font-size: 0.82rem;
  color: #64748b;
}

.paket-detay-related a:hover strong {
  color: var(--primary-600, #0099d6);
}

.paket-card-title-link {
  color: inherit;
  text-decoration: none;
}

.paket-card-title-link:hover {
  color: var(--primary-600, #0099d6);
}

.paket-detail-btn {
  background: #fff;
  color: #0f172a;
}

.paket-detail-btn:hover {
  background: var(--primary-600, #0099d6);
  border-color: var(--primary-600, #0099d6);
  color: #fff;
}

@media (max-width: 900px) {
  .paket-detay-layout {
    grid-template-columns: 1fr;
  }

  .paket-detay-sidebar {
    position: static;
  }

  .paket-detay-hero {
    grid-template-columns: 1fr;
  }

  .paket-detay-features {
    grid-template-columns: 1fr;
  }
}
