.global-packagecards {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.pkg-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.pkg-header-content {
  max-width: 40rem;
}

.pkg-view-all {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-accent);
  text-decoration: none;
  margin-bottom: 6px;
}

.pkg-view-all:hover {
  text-decoration: underline;
}

.pkg-view-all .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  margin-left: 4px;
}

.pkg-slider-wrapper {
  position: relative;
  width: 100%;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  width: 100%;
  overflow-x: visible;
}

.pkg-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--space-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.1);
}

.pkg-img-wrapper {
  background-color: var(--color-tertiary);
  aspect-ratio: 1/1;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pkg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.pkg-placeholder {
  color: rgba(0, 0, 0, 0.1);
}

.pkg-placeholder .dashicons {
  font-size: 48px;
  width: 48px;
  height: 48px;
}

.pkg-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.pkg-size-label {
  font-size: var(--fs-m);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0;
}

.pkg-desc {
  font-size: var(--fs-s);
  color: var(--color-text);
  opacity: 0.7;
  margin: 0;
  line-height: var(--lh-normal);
}

.pkg-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.pkg-price-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.pkg-price {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
}

.pkg-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.pkg-link:hover .dashicons {
  transform: translateX(4px);
  transition: transform 0.2s;
}

@media (max-width: 1024px) {
  .pkg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pkg-grid {
    display: block;
  }

  .pkg-card {
    display: none;
  }

  .pkg-card.is-active {
    display: flex;
  }

  .pkg-swiper-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }

  .pkg-swiper-dots {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .pkg-swiper-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-border);
    transition:
      width 0.25s ease,
      background 0.25s ease;
    flex-shrink: 0;
  }

  .pkg-swiper-dot.is-active {
    width: 24px;
    background: var(--color-primary);
  }

  .pkg-swiper-hint {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
  }
}

@media (min-width: 901px) {
  .pkg-swiper-nav {
    display: none;
  }
}
