/* video pack price table (scoped include) */
.scroll-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

table.price-matrix-new {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  margin: 0 auto;
}

table.price-matrix-new col.col-tv { 
  width: 15%; 
}
table.price-matrix-new col.col-symbol { 
  width: 2%; 
}
table.price-matrix-new col.col-net { 
  width: 24%; 
}
table.price-matrix-new col.col-phone { 
  width: 11%; 
}
table.price-matrix-new col.col-total { 
  width: 11%; 
}
table.price-matrix-new col.col-discount { 
  width: 11%; 
}
table.price-matrix-new col.col-arrow { 
  width: 2%; 
}
table.price-matrix-new col.col-monthly { 
  width: 14%; 
}

table.price-matrix-new th,
table.price-matrix-new td {
  border: 0;
  padding: 4px 2px;
  vertical-align: middle;
  text-align: center;
  background-color: #fff;
  box-sizing: border-box;
  min-width: 0;
}
table.price-matrix-new tbody tr { 
  border-bottom: 1px dotted #ccc; 
}
table.price-matrix-new tbody tr.group-sep { 
  border-bottom: 1px solid #ccc; 
}

table.price-matrix-new thead th {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
}
table.price-matrix-new thead th.th-tv { 
  background-color: #15BFD7; 
  width: 15%; 
}
table.price-matrix-new thead th.th-net { 
  background-color: #F16776; 
  width: 24%; 
}
table.price-matrix-new thead th.th-phone { 
  background-color: #50B849; 
  width: 11%; 
}
table.price-matrix-new thead th.th-total { 
  background-color: #6D6F71; 
  width: 11%; 
}
table.price-matrix-new thead th.th-discount { 
  background-color: #ED1C24; 
  width: 11%; 
}
table.price-matrix-new thead th.th-monthly { 
  background-color: #6D6F71; 
  width: 14%; 
}

table.price-matrix-new th.col-symbol,
table.price-matrix-new td.col-symbol {
  width: 10px;
  color: #666;
  font-weight: bold;
  font-size: 13px;
  border: none;
  background-color: #fff;
}

table.price-matrix-new td.bg-net { 
  background-color: #ffffff; 
}
table.price-matrix-new td.bg-phone { 
  background-color: #ffffff; 
}
table.price-matrix-new td.bg-total { 
  background-color: #ffffff; 
  font-weight: bold; 
}
table.price-matrix-new td.bg-discount { 
  background-color: #fffce6; 
  color: #231f20; 
}
table.price-matrix-new td.bg-monthly { 
  background-color: #fdf3f8; 
}
table.price-matrix-new td.bg-pack-discount {
  background: #fff6d6;
  padding: 10px;
  vertical-align: middle;
}
.pack-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4rem 14px;
  box-sizing: border-box;
  background-color: #fff6d6;
  border: 1px solid #e6d28c;
  border-radius: 12px;
  font-weight: bold;
  font-size: 18px;
  color: #231f20;
}

.price-matrix-new tr.group-sep { 
  border-bottom: 1px solid #ccc; 
}
.price-matrix-new td.rowspan-solid { 
  border-bottom: 1px solid #ccc; 
}
.price-matrix-new th.col-symbol,
.price-matrix-new td.col-symbol { 
  border: none; 
}
.price-matrix-new th.th-net,
.price-matrix-new td.bg-net { 
  border-right: none; 
  border-left: none; 
}
.price-matrix-new th.th-phone,
.price-matrix-new td.bg-phone { 
  border-left: none; 
  border-right: none; 
}

.plan-name { 
  display: block; 
  font-weight: bold; 
  margin-bottom: 4px; 
  font-size: 14px; 
}
.plan-price { 
  font-weight: bold; 
  font-size: 16px; 
}
.plan-unit { 
  font-size: 12px; 
  font-weight: normal; 
  margin-left: 2px; 
}
.txt-red { 
  color: #ed1c24; 
  font-weight: bold; 
}
.txt-lg { 
  font-size: 20px; 
}

.net-cell-inner {
  display: grid;
  grid-template-columns: 72px 48px 1fr;
  column-gap: 6px;
  align-items: center;
  padding: 0 6px;
  min-width: 0;
}
.net-plan-text { font-weight: bold; font-size: 13px; white-space: nowrap; text-align: left; }
.net-price { justify-self: end; padding-left: 4px; }
.net-merged { background: transparent; padding: 0; }
.video-pack-table .bg-net { background: transparent; }
.card-box .net-left {
  display: block;
  gap: 0;
}
.net-merged-box .net-plan-text {
  font-weight: bold;
  font-size: 13px;
  white-space: nowrap;
  text-align: center;
}
.net-merged-box .net-price { font-weight: bold; font-size: 17px; line-height: 1.3; text-align: center; }

.card-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 14px 12px;
  box-sizing: border-box;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
}
.card-box.span-3 { 
  min-height: 110px; 
}
.card-box.span-6 { 
  min-height: 240px; 
}
.card-phone { 
  border-color: #d8d8d8; 
  background: #fff; 
  max-width: 140px; 
  margin: 0 auto; 
  box-sizing: border-box; 
}
.card-net-peach,
.card-theme-peach { 
  background: #fff3eb; 
  border-color: #efb7a1; 
}
.card-net-blue,
.card-theme-blue  { 
  background: #e8f6ff; 
  border-color: #9ccbe8; 
}
.card-pack,
.card-theme-cream { 
  background: #fffce6; 
  border-color: #e6d28c; 
  font-weight: bold; 
  font-size: 18px; 
  color: #231f20; 
}
.card-box .net-price { 
  text-align: center; 
}

.badge-wari {
  background-color: transparent;
  color: #ed1c24;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 8px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 1px solid #ed1c24;
  text-align: center;
  width: 46px;
}
.badge-wari.is-empty { visibility: hidden; }

.arrow-icon {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 1px;
  color: transparent;
}
.arrow-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ed1c24;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.col-symbol.blank { font-size: 0; line-height: 0; color: transparent; }

@media (max-width: 1200px) {
  table.price-matrix-new { table-layout: fixed; font-size: 13px; }
  table.price-matrix-new col.col-tv { width: 13%; }
  table.price-matrix-new col.col-net { width: 21%; }
  table.price-matrix-new col.col-phone { width: 10%; }
  table.price-matrix-new col.col-total { width: 10%; }
  table.price-matrix-new col.col-discount { width: 10%; }
  table.price-matrix-new col.col-arrow { width: 1.5%; }
  table.price-matrix-new col.col-monthly { width: 13%; }
  table.price-matrix-new col.col-symbol { width: 1.5%; }
  table.price-matrix-new th,
  table.price-matrix-new td { padding: 6px 2px; }
  .plan-price { font-size: 15px; }
  .txt-lg { font-size: 18px; }
  .badge-wari { transform: scale(0.9); }
  .net-cell-inner {
    grid-template-columns: 54px 40px auto;
    column-gap: 4px;
    padding: 0 2px;
  }
  .card-box { padding: 12px 10px; }
  .card-phone { max-width: 120px; padding: 10px 8px; }
}
@media (max-width: 1024px) {
  table.price-matrix-new { min-width: 0; font-size: 12.5px; }
  .plan-price { font-size: 14px; }
  .txt-lg { font-size: 16px; }
  .card-box { padding: 10px 8px; }
  .badge-wari { transform: scale(0.85); }
  .net-cell-inner {
    grid-template-columns: 50px 38px auto;
    column-gap: 3px;
    padding: 0 1px;
  }
}
@media (max-width: 768px) {
  table.price-matrix-new { min-width: 800px; }
}
