/* Package Section - Universal Reusable Component */

/* Section Container */
.package-section {
  width: 100%;
  background: #f3f3f3;
  padding-top: 16px;
  padding-right: 0px;
  padding-bottom: 16px;
  padding-left: 0px;
  margin-top: 0;
  border-top: none;
}

.package-section:has(+ .survey-widget) {
  padding-bottom: 60px;
}

.package-container {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  position: relative;
}

/* Section Title */
.package-title {
  /* font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif; */
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  color: #3d3d3d;
  margin: 0;
}

.mobile-break {
  display: none;
}

.highlight-blue {
  color: #4564ed;
}

.location-mobile {
  text-decoration: underline;
  cursor: pointer;
}
.choose-location-btn.location-mobile {
  text-decoration: none;
}

/* Slider Wrapper */
.package-slider-wrapper {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  isolation: isolate; /* Create stacking context */
}

/* Cards Container - White Box Wrapper */
.package-cards {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  position: relative; /* Make this the positioning context for arrows */
}

/* Cards Grid - Swiper Container */
.package-cards-grid {
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: #e7e7e7 #f5f5f5;
}

.package-cards-grid .swiper-wrapper {
  display: flex;
}

/* Scrollbar styling */
.package-cards-grid::-webkit-scrollbar {
  height: 8px;
}

.package-cards-grid::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 4px;
}

.package-cards-grid::-webkit-scrollbar-thumb {
  background: #e7e7e7;
  border-radius: 4px;
}

.package-cards-grid::-webkit-scrollbar-thumb:hover {
  background: #d0d0d0;
}

/* Firefox */
.package-cards-grid {
}

/* Individual Product Card */
.package-card {
  flex: 0 0 calc((100% - 72px) / 4); /* 4 cards, 3 gaps of 24px = 72px */
  width: calc((100% - 72px) / 4);
  max-width: 330px;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow:
    0px 1px 6px rgba(0, 0, 0, 0.03),
    0px 2px 12px rgba(16, 24, 40, 0.02);
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Khi tooltip active hoặc hover icon VAT, tăng z-index của card để tooltip không bị che */
.package-card:has(.vat-tooltip.active),
.package-card:has(.price-vat-icon:hover) {
  z-index: 10000;
}

/* Suggest Badge - Top Left Corner */
.suggest-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: auto;
  height: auto;
  max-width: 200px;
}

.suggest-badge img {
  display: block;
  width: 100%;
  height: auto;
}

/* Card Header - Image Banner */
.package-card-header {
  position: relative;
  width: 100%;
  aspect-ratio: 330 / 238;
  overflow: hidden;
  background: transparent;
}

.package-card-header .package-card-product {
  aspect-ratio: 330 / 300;
}

/* Package Badges - Custom System */
.package-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 15px 2px 12px;
  border-radius: 12px 0 32px 0;
  display: none;
  align-items: center;
  gap: 4px;
  z-index: 10;

  /* Default values - can be overridden with CSS variables */
  background: var(--badge-bg, #4564ed);
  color: var(--badge-color, #ffffff);
}

/* Preset badge styles */
.package-badge.badge-new {
  --badge-bg: #f24808;
  --badge-color: #ffffff;
  border-radius: 12px 0 32px 0;
}

.package-badge.badge-recommended {
  --badge-bg: #ff730a;
  --badge-color: #ffffff;
}

.package-badge.badge-hot {
  --badge-bg: #ff2156;
  --badge-color: #ffffff;
}

.package-badge.badge-sale {
  --badge-bg: #00c48c;
  --badge-color: #ffffff;
}

/* Custom badge - use inline style or CSS variables */
.package-badge.badge-custom {
  /* Custom colors set via inline style or CSS variables */
}

.package-badge-text {
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  color: inherit; /* Inherit from parent badge color */
}

.package-badge-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Show badges based on data attributes or manual class */
.package-card[data-badge] .package-badge,
.package-card .package-badge.show {
  display: flex;
}

.package-header-img {
  width: 100%;
  /* height: auto; */
  display: block;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  /* aspect-ratio: 330 / 238; */
  height: 100%;
}

.card-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #4564ed;
  border-radius: 0 0 999px 0;
  padding: 2px 12px 2px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  color: #ffffff;
}

.card-title-main {
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #ffffff;
  margin: 24px 0 4px;
}

.card-combo {
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #ffffff;
  margin: 0 0 16px;
}

.combo-price {
  font-weight: 700;
}

.card-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #ffffff;
}

.card-features-list li svg {
  flex-shrink: 0;
}

.card-devices-img {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.card-devices-img img {
  max-width: 100%;
  height: auto;
}

/* Card Body - White */
.package-card-body {
  padding: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* background: #FFFFFF; */
  overflow: visible;
}

.card-body-content {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.card-info-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

.card-product-name {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #3d3d3d;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: visible;
  align-items: baseline; /* Align all child elements to baseline */
}

.price-main {
  display: flex;
  align-items: baseline; /* Align to baseline for bottom alignment */
  gap: 4px;
}

.price-value {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: #4564ed;
}

.price-period {
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  color: #3d3d3d;
}

.price-main {
  position: relative;
}

/* VAT Icon Wrapper - Positioning Context */
.vat-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.price-vat-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.price-vat-icon:hover {
  opacity: 0.7;
}

/* VAT Tooltip styles moved to product-showcase.css */

.price-vat {
  display: flex;
  align-items: center;
  gap: 4px;
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #888888;
}

/* Speed Box */
.card-speed-box {
  background: #f7f7f8;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 12px 15px 12px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  position: relative;
}

.speed-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 70px;
  width: 100%;
}

.speed-label {
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  color: #3d3d3d;
}

.speed-values {
  display: flex;
  align-items: center;
  gap: 4px;
}

.speed-item {
  display: flex;
  align-items: center;
  gap: 4px;
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  /* letter-spacing: -0.075px; */
  letter-spacing: -0.6px;
  color: #3d3d3d;
}

.speed-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.speed-meter {
  width: 62px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  padding-right: 8px;
}

.speed-meter svg {
  width: 100%;
  height: 100%;
}

/* Speed meter gauge colors - All Orange (no red) */
.speed-gauge-0 {
  stroke: #e7e7e7;
} /* 0% - Grey */
.speed-gauge-25 {
  stroke: #ff8c00;
} /* 25% - Orange */
.speed-gauge-50 {
  stroke: #ff8c00;
} /* 50% - Orange */
.speed-gauge-75 {
  stroke: #ff8c00;
} /* 75% - Orange */
.speed-gauge-100 {
  stroke: #ff8c00;
} /* 100% - Orange */

.speed-needle {
  transition: transform 0.3s ease;
}

.speed-needle path {
  fill: #B0B0B0!; /* Brand blue - nổi bật hơn */
  stroke: #ffffff; /* White border để tách biệt khỏi background */
  stroke-width: 0.5;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.1)); /* Shadow nhẹ */
}

/* Features List Container - Fixed height for uniform cards */
.card-features-container {
  position: relative;
  padding: 0 12px;
  height: 92px;
  overflow: hidden; /* QUAN TRỌNG: cắt nội dung tràn */
  margin-top: 16px;
  margin-bottom: 16px;
}

.card-features-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: scroll; /* scroll thật */
  height: 100%;
  padding-right: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.card-features-wrapper::-webkit-scrollbar {
  display: none; /* ẩn scrollbar thật */
}

/* Scrollbar custom — nằm NGOÀI container bằng translate */
.card-features-scrollbar {
  position: absolute;
  top: 0;
  right: 23px;
  width: 8px;
  border-radius: 9px;
  background: #e7e7e7;
  opacity: 1;
  transition:
    opacity 0.2s,
    transform 0.1s;
  /* transform: translateX(-10px); */
}

.card-features-scrollbar.hidden {
  display: none;
}

.no-select {
  user-select: none;
}

.card-feature-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.card-feature-item .check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.card-feature-item p {
  flex: 1;
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #3d3d3d;
  margin: 0;
}

/* Custom Scrollbar */
/* 
.card-features-container::-webkit-scrollbar {
    width: 8px;
}

.card-features-container::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 4px;
}

.card-features-container::-webkit-scrollbar-thumb {
    background: #E7E7E7;
    border-radius: 4px;
}

.card-features-container::-webkit-scrollbar-thumb:hover {
    background: #D0D0D0;
} */

/* Firefox scrollbar */
.card-features-container {
  /* scrollbar-width: thin;
    scrollbar-color: #E7E7E7 #F5F5F5; */
}

/* Card Footer - Buttons */
.package-card-footer {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Navigation Arrows - Positioned relative to .package-cards (white box) */
.package-arrow {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e7e7e7;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex; /* Default: visible on desktop */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100 !important;
  pointer-events: auto !important;
  box-shadow:
    0px 4px 4px -8px rgba(0, 0, 0, 0.08),
    0px 4px 16px 10px rgba(16, 24, 40, 0.02),
    0px 2px 32px -4px rgba(16, 24, 40, 0.03);
  /* Vertical centering relative to .package-cards-grid */
  top: 50%;
  transform: translateY(-50%);
  opacity: 1 !important; /* Always show at full opacity */
}

/* Position arrows to overlap 50% with white box edge */
.package-arrow-prev {
  left: -20px; /* Half of 48px arrow width - overlaps white box by 24px */
}

.package-arrow-next {
  right: -20px; /* Half of 48px arrow width - overlaps white box by 24px */
}

.package-arrow:hover {
  background: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

/* View All Link - Desktop: inside white box, Mobile: outside */
.package-view-all {
  display: none;
}

.package-cards .package-view-all {
  display: flex;
  justify-content: center;
}

.view-all-link {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #4564ed;
  text-decoration: none;
  padding: 6px 16px;
  pointer-events: auto;
}

.view-all-link:hover {
  text-decoration: none;
  color: #4564ed;
}

.view-all-link .arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/*  */
@media (min-width: 768px) {
  .package-section {
    /* padding-bottom: 60px; */
  }
}

/* iPad Portrait */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
  .package-section {
    /* padding: 0px; */
  }

  .package-title {
    font-size: 24px;
    line-height: 32px;
  }

  .package-cards {
    padding: 20px;
    gap: 16px;
  }

  .package-cards-grid {
    gap: 16px;
  }

  .package-card {
    flex: 0 0 calc((100% - 48px) / 4); /* 4 cards, 3 gaps of 16px = 48px */
    width: calc((100% - 48px) / 4);
    max-width: none;
  }

  /* Hide navigation arrows on iPad */
  .package-arrow,
  .package-arrow-prev,
  .package-arrow-next {
    display: none;
  }

  .card-product-name {
    font-size: 16px;
    line-height: 22px;
  }

  .price-value {
    font-size: 22px;
  }
}

/* Tablet Small: Optimize for 2.5-card layout (768-900px includes 820px) */
@media (min-width: 768px) and (max-width: 900px) {
  .card-product-name {
    font-size: 15px;
    line-height: 19px;
  }

  .price-value {
    font-size: 18px;
    line-height: 1.2;
  }

  .price-period {
    font-size: 10px;
  }

  .price-vat {
    font-size: 10px;
  }

  /* Optimize card-speed-box for smaller cards */
  .card-speed-box {
    padding: 10px 11px 10px 13px;
    gap: 8px;
  }

  .speed-label {
    font-size: 11px;
    line-height: 16px;
  }

  .speed-item {
    font-size: 12px;
    line-height: 1.3;
  }

  .speed-icon {
    width: 14px;
    height: 14px;
  }

  .speed-meter {
    width: 56px;
    height: 28px;
  }

  .card-feature-item p {
    font-size: 12px;
    line-height: 18px;
  }

  .card-combo {
    font-size: 12px;
  }
}

/* iPad Landscape (11" and 10.9") and larger screens below 1024px */
@media (min-width: 835px) and (max-width: 1023px) {
  .package-section {
    /* padding: 12px 24px 12px; */
  }

  .package-cards {
    padding: 20px;
    gap: 16px;
  }

  .package-cards-grid {
    gap: 18px;
  }

  .package-card {
    flex: 0 0 calc((100% - 54px) / 4); /* 4 cards, 3 gaps of 18px = 54px */
    width: calc((100% - 54px) / 4);
    max-width: none;
  }

  /* Hide navigation arrows on iPad */
  .package-arrow,
  .package-arrow-prev,
  .package-arrow-next {
    display: none;
  }
}

/* Tablet & iPad Pro: Optimize font sizes for 3-card layout (901-1399px) */
@media (min-width: 901px) and (max-width: 1399px) {
  .card-product-name {
    font-size: 16px;
    line-height: 20px;
  }

  .price-value {
    font-size: 20px;
    line-height: 1.2;
  }

  .price-period {
    font-size: 11px;
  }

  .price-vat {
    font-size: 11px;
  }

  .speed-label {
    font-size: 12px;
    line-height: 18px;
  }

  .speed-item {
    font-size: 13px;
    line-height: 1.4;
  }

  .card-feature-item p {
    font-size: 13px;
    line-height: 20px;
  }

  .card-combo {
    font-size: 13px;
  }
}

/* iPad Pro 12.9" and Desktop up to 1366px */
@media (min-width: 1024px) and (max-width: 1366px) {
  .package-section {
    /* padding: 40px 60px; */
    padding: 12px 24px 12px;
  }

  .package-cards-grid {
    gap: 16px;
  }

  .package-card {
    flex: 0 0 calc((100% - 60px) / 4); /* 4 cards, 3 gaps of 20px = 60px */
    width: calc((100% - 60px) / 4);
    max-width: none;
  }

  /* Arrows visibility controlled by JS based on content */
}

@media (min-width: 1367px) and (max-width: 1500px) {
  .speed-info {
    padding-right: 50px;
  }
}

/* Desktop: Show arrows by default, JS will hide if not needed */
@media (min-width: 1024px) {
  .package-arrow {
    display: flex;
  }

  .speed-info {
    padding-right: 50px;
  }
}

/* Desktop: Larger font sizes for desktop screens */
@media (min-width: 1400px) {
  .card-product-name {
    font-size: 20px;
    line-height: 26px;
  }

  .price-value {
    font-size: 24px;
  }

  .card-info-top {
    gap: 12px;
  }

  .speed-label {
    font-size: 14px;
    line-height: 24px;
  }

  .speed-item {
    font-size: 15px;
    letter-spacing: -0.3px;
  }

  .card-feature-item p {
    font-size: 14px;
    line-height: 24px;
  }

  .speed-meter {
    padding-right: 15px;
  }

  .card-body-content {
    padding: 0 20px;
  }

  .card-features-container {
    padding: 0 20px;
  }

  .package-card-footer {
    padding: 0 20px 16px;
  }

  .card-features-container {
    height: 80px;
  }

  .card-feature-item .check-icon {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 1500px) {
  .speed-item {
    /* letter-spacing: -0.3px; */
  }
}

/* Responsive Design */
@media (max-width: 1920px) {
  .package-section {
    padding: 12px 24px 12px;
  }
}

@media (max-width: 1680px) {
  .package-section {
    /* padding: 40px 120px; */
    /* padding: 16px 24px 16px; */
  }
}

@media (max-width: 1440px) {
  .package-section {
    /* padding: 40px 80px; */
  }
}

@media (max-width: 1200px) {
  .package-section {
    /* padding: 40px 40px; */
  }

  .package-section:has(+ .survey-widget) {
    padding-bottom: 32px;
  }

  .package-card {
    flex: 0 0 calc((100% - 72px) / 4); /* Keep 4 cards */
    width: calc((100% - 72px) / 4);
    max-width: none;
  }
}

@media (max-width: 991px) {
  .package-section {
    padding: 12px 16px 12px;
  }

  .package-title {
    font-size: 24px;
    line-height: 32px;
  }

  .package-card {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 cards on smaller tablets */
    width: calc((100% - 48px) / 3);
    max-width: none;
  }

  /* Hide navigation arrows on tablet and mobile */
  .package-arrow,
  .package-arrow-prev,
  .package-arrow-next {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .package-section {
    padding: 12px 0 12px;
    overflow: hidden;
  }

  .package-title {
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    padding: 0 16px;
  }

  .mobile-break {
    display: inline;
  }

  .package-arrow,
  .package-arrow-prev,
  .package-arrow-next {
    display: none !important;
  }

  .package-slider-wrapper {
    gap: 0;
  }

  .package-cards {
    background: transparent;
    border-radius: 0;
    /* padding: 0; */
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    position: static; /* Remove positioning context on mobile */
  }

  .package-slider-wrapper .package-cards {
    padding: 0;
    overflow: visible;
  }

  .package-cards-grid {
    overflow-x: visible !important; /* Enable scroll on mobile */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 16px;
    /* padding: 0px 0 12px 0;
        min-height: auto !important; */
    /* margin-right: -16px !important;
        margin-left: -16px;
        width: calc(100% + 32px); */
  }

  .package-card {
    scroll-snap-align: start;
    flex: 0 0 280px;
    width: 280px;
    max-width: none;
  }

  /* Mobile: hide view-all inside white box, show outside */
  .package-cards .package-view-all {
    display: none;
  }

  .package-container > .package-view-all {
    display: flex;
    justify-content: center;
    padding: 4px 0 4px;
  }

  .card-features-scrollbar {
    width: 6px;
    right: 20px;
  }
}

@media (max-width: 767px) {
  .speed-info {
    gap: 6px;
    padding-right: 40px;
  }
}

@media (max-width: 480px) {
  .package-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
  }

  .package-card {
    min-width: 260px;
  }

  .card-title-main {
    font-size: 20px;
    line-height: 28px;
  }

  .card-combo {
    font-size: 10px;
  }

  .price-vat {
    font-size: 10px;
  }

  .card-features-list li {
    font-size: 10px;
    line-height: 14px;
  }

  /* Mobile: Adjust card-speed-box */
  .card-speed-box {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px;
  }

  .speed-info {
    flex: 1;
    gap: 4px;
  }

  .speed-label {
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
  }

  .speed-values {
    gap: 4px;
  }

  .speed-item {
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
  }

  .speed-meter {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .speed-meter img {
    max-width: 60px;
    width: 60px;
    height: auto;
  }
}

/* ========================================
   Internet Card Styles (Featured Products)
   ======================================== */

/* Tabs Navigation */
.package-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.package-tab {
  background: #ffffff;
  border: 1.5px solid #e7e7e7;
  border-radius: 999px;
  padding: 10px 16px;
  /* font-family: 'SF Pro', sans-serif; */
  font-size: 14px;
  font-weight: 510;
  line-height: 20px;
  color: #606060;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.package-tab.active {
  background: #f0f3fe;
  border-color: #4564ed;
  color: #4564ed;
}

.package-tab:hover {
  border-color: #4564ed;
}

/* Internet Card - sử dụng chung .package-card từ phần SpeedX Card ở trên */
/* Internet Card Header - sử dụng chung .package-card-header từ phần SpeedX Card ở trên */
/* Internet Card Body - sử dụng chung .package-card-body từ phần SpeedX Card ở trên */

/* Internet Speed Box - sử dụng chung .card-speed-box từ phần SpeedX Card ở trên */

/* Internet Card Footer */
.internet-card-footer {
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* iPad Portrait - Package Tabs */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
  .package-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .package-tabs::-webkit-scrollbar {
    display: none;
  }

  .package-tab {
    flex-shrink: 0;
  }
}

/* iPad Landscape - Package Tabs */
@media (min-width: 835px) and (max-width: 1194px) {
  .package-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .package-tabs::-webkit-scrollbar {
    display: none;
  }

  .package-tab {
    flex-shrink: 0;
  }
}

/* iPad Pro 12.9" - Package Tabs */
@media (min-width: 1024px) and (max-width: 1366px) {
  .package-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .package-tabs::-webkit-scrollbar {
    display: none;
  }

  .package-tab {
    flex-shrink: 0;
  }
}

/* Responsive for Internet Cards */
@media (max-width: 768px) {
  .package-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .package-tabs::-webkit-scrollbar {
    display: none;
  }

  .package-tab {
    flex-shrink: 0;
  }

  .internet-card-image {
    height: 200px;
  }
}

.package-section.pt-40 {
  padding-top: 40px;
}
.package-section.clear-bg {
  background: #f3f3f3;
}
.pt_40px {
  padding-top: 40px;
}
.bg_f3f {
  background: #f3f3f3;
}
