.sim-type {
    font-family: Kanit, sans-serif;   
    font-size: 12px;
    display: inline-flex;        /* จัดเรียงในบรรทัดเดียว */
    align-items: center;         /* จัดกลางแนวตั้ง */
    gap: 2px;      
}
/* Media Query สำหรับหน้าจอเล็ก <= 767px */
@media screen and (max-width: 767px) {
    .sim-type {
        flex-direction: column;    /* ให้ข้อความตกลงบรรทัดที่ 2 */
        align-items: center;       /* จัดกลางอีกครั้ง */
    }
}

.sim-type-filter {
    font-family: Kanit, sans-serif;   
    font-size: 16px;
}

.show-indo-text-01 {
    text-align:right; 
    font-size:16px; 
    font-weight:bold; 
    padding-right:16px;
    font-family:Kanit, sans-serif; 
    text-align: center;
    cursor:pointer; 
    color:#980000;
}

.show-indo-text-02 {
    text-align:center; 
    font-weight:bold; 
    font-size:19px;
    font-family:Kanit, sans-serif; 
}

.txtNetWorkImg-s {
    text-align:center;
    font-family:Kanit, sans-serif;
}

.txtSale-s {
    font-size:16px; 
    text-align:center; 
    font-weight:bold;
    font-family:Kanit, sans-serif;
}

.not-product-s {
    text-align:center; 
    border-top:1px dashed #999; 
    border-bottom:1px dashed #999; 
    color:#999;
    font-family:Kanit, sans-serif;
}

.show-main-td {
    vertical-align:top; 
    background-color:white
}

.show-all-produc-s {
    width:200px; 
    text-align:left; 
    border-bottom:none;
    background-color:#EEEEEE; 
    padding:5px;
    font-family:Kanit, sans-serif;
}

.show-all-produc-s-2 {
    text-align:right; 
    border-bottom:none;
    background-color:#EEEEEE; 
    padding:5px;
}

.responsive {
    width: 100%;
    height: auto;
}

.block {    
    padding:0px;
    width: 270px;
    height: 95px;
    margin: 0; 
    /* The background is used to specify the border background */
    /* background: -moz-linear-gradient(45deg, #999, #000);*/
    background: -webkit-linear-gradient(45deg, #f29100, #f29100);
    /* Background origin is the padding box by default.
    Override to make the background cover the border as well. */
    -moz-background-origin: border;
    background-origin: border-box;
    /* A transparent border determines the width */
    border: 5px solid transparent;
    border-radius: 9px;
    box-shadow:
    inset 0 0 18px #f29100, /* Inset shadow */
    inset -999px 0 0 #FFF; /* The background color */
  }

.num-box {
	width:33px;
	height:35px;
	text-align:center; 
	font-size:20px;
	border-radius:5px;
	margin: 0px;
    border: 1px solid #4b5563;
}
.size20 {
	font-size:18;
	border:1px solid #EEE; 
	border-radius:5px;
	cursor:pointer;
}
.red {
	color:#990000;
}

.tbl-search {
	 width:100%;
 }
 .tbl-search td {
	 padding:3px;
	 text-align:center;
 }
.group-s-01 {
    height:35px; 
    font-size:20px; 
    width:70px; 
    text-align:center;
    border: 1px solid #4b5563;
    border-radius: 4px;
}

.unwanted-numbers-01 {
    font-size:20px;
    font-family:Kanit, sans-serif; 
    color:#212529;
    padding: 10px;
}

.button-s-01 {
    padding:5px; 
    width:100px; 
    border-radius:5px; 
    cursor:pointer;
    font-family:Kanit, sans-serif; 
    background-color:#3366FF; 
    color: aliceblue;
}
.button-s-02 {
    padding:5px; 
    width:100px; 
    border-radius:5px; 
    cursor:pointer;
    font-family:Kanit, sans-serif; 
    background-color:#990000; 
    color: aliceblue;
}
.order-card {
    background-color: #06C755;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.order-card:hover {
    background-color: #03ad4a;    
}

.order-card img {
    max-width: 200px;
    height: auto;
    margin: 15px auto;
    display: block;
    border-radius: 16px;
}
.order-card2 {
    background-color: #4267B2;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.order-card2:hover {
    background-color: #34569a;    
}

.order-card2 img {
    max-width: 200px;
    height: auto;
    margin: 15px auto;
    display: block;
    border-radius: 16px;
}

.order-card-title {
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;      
}

.order-card-link {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}
@media (min-width: 991px) {
    .order-cards-container {
        display: flex;
        justify-content: center;
        margin-left: 30px;
        margin-right: 30px;
        padding: 10px;
    }

    .order-card {
        flex: 1;
        max-width: 45%;
    }
}
.container3 {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.card-oder-f1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;
}
.oder-mobile-r {
    border-radius: 8px 0px 0px 8px;
}
.oder-mobile-l {
    border-radius: 0px 8px 8px 0px;
}
@media (max-width: 767px) {
    .oder-mobile-r {
        border-radius: 8px 8px 8px 8px;
        margin-bottom: 10px;
    }
}
@media (max-width: 767px) {
    .oder-mobile-l {
        border-radius: 8px 8px 8px 8px;
    }
}
.oder-mobile-card-number-c {
    margin-top:21px;
    font-size:28px;
    font-family:Kanit, sans-serif;
    color:rgb(255,255,255);    
    padding-top:15px;
    padding-bottom:0px;
}
@media (max-width: 767px) {
    .oder-mobile-card-number-c {
        margin-top:21px;
    font-size:28px;
    font-family:Kanit, sans-serif;
    color:rgb(255,255,255);    
    padding-top:10px;
    padding-bottom:10px;
    }
}
.hover-link-oder {
    color: #ffffff;
    font-family: 'Kanit', sans-serif;
    font-size: 20px;        
    display: block;
    margin-top: 5px;
    text-decoration: none;  /* เอาเส้นใต้ลิงก์ออก */
    color: inherit;         /* ให้สีข้อความตามปกติของ parent */
    display: block;    
}
.order-card a:hover {
    text-decoration: none;
}
/* iOS-specific: หนาขอบขึ้นอีกเล็กน้อยบนอุปกรณ์ iOS */
@supports (-webkit-touch-callout: none) {
  .group-s-01 { border-width: 1px; }
}
.right-side-menu-topic {
    background-color:#0089cf; 
    padding:3px; 
    color:#FFF; 
    font-size:16px; 
    font-weight:bold; 
    text-align:center;
    font-family:Kanit, sans-serif;
    border-radius: 6px;
}
.recommended-number-show {
    max-height: 100%; 
    max-width: 100%; 
    cursor:pointer; 
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lb-backdrop[hidden] { display: none; }
.lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
  opacity: 0;
  transition: opacity .15s ease;
}
.lb-backdrop.show { opacity: 1; }

.lb-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lb-dialog img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 24px;
  line-height: 36px;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  .lb-close { background: #fff; color: #000; }
}

body.lb-open { overflow: hidden; } /* กัน scroll พื้นหลัง */