body {
    font-family: 'Taviraj', 'Trirong', 'Pridi', serif, sans-serif;
    background-color: #ffffff;
    font-size: 18px;
}

h1,.h1{
    font-size: 36px;
    font-weight: bold;
    color: rgb(73 94 104);
}
h2,.h2{
    font-size: 22px;
    font-weight: bold;
}

h3,.h3{
    font-size: 22px;
    font-weight: bold;
}

/* ===== GLOBAL ===== */
body {
  font-family: "Prompt", sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
}

/* ===== HERO ===== */
.hero {
 /*  text-align: center; */
    padding: 70px 20px;
/*     background: #1f2937;  
    color: #ffffff; */

    background:#f3f1eb;
    color:#000;
  
}
.hero h1{
  /*color: #ffffff;*/
    color: #000000;
  padding-bottom: 20px;
}

.btn-line {
  display: inline-block;
  background: #06c755;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}

/* ===== CATALOG ===== */
.catalog {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 16px;
  padding: 20px;
}

.catalog>figure {
    border: #efefef;
  
    border-style: solid;
    padding: 5px;
    text-align: center;
}
.catalog>figure >figcaption{
  padding: 5px;
}


@media (min-width: 768px) {
  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .catalog {
    grid-template-columns: repeat(4, 1fr);
  }
}

.catalog .item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: 0.3s;
}

.catalog .item:hover {
  transform: translateY(-5px);
}

.catalog img {
  width: 100%;
}

.catalog h3 {
  font-size: 16px;
  margin: 10px;
}

.catalog p {
  margin: 0 10px 10px;
}

.catalog .price {
  color: #d32f2f;
  font-weight: bold;
}

.btn-buy {
  display: block;
  background: #06c755;
  color: #fff;
  text-align: center;
  padding: 10px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 40px;
}

.cta-line {
  background: #06c755;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
}

/* ===== menu ===== */
.navbar .nav-link {
  font-size: 14px;
  color: #333;
}

.navbar .nav-link:hover {
  color: #06c755;
}

.navbar .nav-link.active {
  color: #06c755;
  font-weight: 600;
}

.btn-success {
  background-color: #06c755;
  border: none;
}

.btn-success:hover {
  background-color: #05a847;
}


/* ===== floating-line ===== */
.floating-line {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #06c755;
  color: #fff;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
}

.btn-line{display:inline-block;background:#06C755;color:#fff;padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:600;}
.btn-line:hover{opacity:0.9;}
.line-floating{position:fixed;bottom:20px;right:20px;z-index:999;}
.line-floating a{background:#06C755;color:#fff;width:55px;height:55px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:22px;text-decoration:none;box-shadow:0 4px 12px rgba(0,0,0,0.2);}

/*************/
/* container */
/*************/

.padding-top {
    padding-top: 40px;
}
.padding-bottom {
    padding-bottom: 40px;
}
.margin-top--15 {
    margin-top: -15px;
}
.margin-0{
  margin:0px;
}
.answer-box {
    background: #ececec;
    padding: 12px;
    border-radius: 8px;
}


/* =========================
   FOOTER BASE
========================= */
.site-footer {
  background: #111;
  color: #eee;
  padding: 40px 20px;
  font-size: 15px;
}

.site-footer a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;

}
a.sitemap-link {
    margin-top: 5px;
    display: flex;
    justify-content: center;
}
.span-sitemap{
  font-size: 14px;
}
 
.sitemap-container{
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 5px;
}

.sitemap-icon-container{
   /*  background-color:  rgba(255,255,255,.5); */
    /* width: 20px; */
    /* height: 20px; */
    text-align: center;
    border-radius: 3px;
    padding: 2px;
    padding-top: 0px;
    padding-bottom: 0px;
 

}
.sitemap-icon{
  width:30px;
}



.site-footer a:hover {
  color: #06C755;
}

/*  LAYOUT GRID */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/*  SECTION */
.footer-section h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #fff;
}

.footer-section a {
  display: block;
  margin-bottom: 6px;
}

/*   CTA LINE  */
.footer-line a {
  display: inline-block;
  background: #06C755;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.footer-line a:hover {
  opacity: 0.9;
}

/*   NOTE / DESCRIPTION  */
.footer-note {
  margin-top: 30px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}


/* footer province +amphur*/
.site-footer {
  background:#111;
  color:#ddd;
  padding:40px 20px;
  margin-top: 20px;
}

.footer-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}

.footer-col h3 {
  color:#fff;
  margin-bottom:10px;
  font-size:16px;
}

.footer-col p,
.footer-col li {
  font-size:14px;
  line-height:1.6;
}

.footer-link-province {
  display:block;
  color:#ccc;
  text-decoration:none;
  margin-bottom:6px;
  font-size:14px;
}

.footer-link-province:hover {
  color:#fff;
}

.footer-bottom {
  margin-top:30px;
  border-top:1px solid #333;
  padding-top:15px;
  text-align:center;
  font-size:13px;
  color:#aaa;
}


/*   MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    padding: 30px 15px;
  }
}

.footer-link-province{
  /* padding: 5px; */
}


.footer-cta {
  background: #222;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 25px;
}

a.footer-btn {
  display: inline-block;
  background: #ffffff;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
}


/*footer amphur*/
.footer-logo{
    display:flex;
    flex-direction:column;
    margin-bottom:18px;
}

.footer-logo-main{
    font-size:30px;
    font-weight:700;
    color:#ffffff;
}

.footer-logo-sub{
    font-size:13px;
    color:#9ca3af;
}



 /* =========================
  DIV TABLE
========================= */
.table {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.table-row {
  display: flex;
  border-bottom: 1px solid #eee;
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  flex: 1;
  padding: 12px 14px;
  font-size: 14px;
}

.table-header {
  background: #f5f5f5;
  font-weight: 600;
}

.table-cell-title{
    background: #f5f5f5;
}

/* Mobile */
@media (max-width: 600px) {
  .table-row {
    flex-direction: column;
  }

  .table-cell {
    padding: 10px 12px;
    border-bottom: 1px dashed #eee;
  }

  .table-cell:last-child {
    border-bottom: none;
  }

  .table-header {
    display: none;
  }
}
 

/* =============== */
/*   HOME PAGE   */
/* =============== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary {
  background: #222;
  color: #fff;
}

.btn-soft {
  background: #eee;
}

.catalog-preview img {
  width: 100%;
  border-radius: 8px;
}

.link-more {
  margin-top: 15px;
}


/* LOGO */
img.logo {
    height: 40px;
}






/* 
   HERO HOMEPAGE (BASE)
 */
.hero-homepage {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* BG */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center right / cover no-repeat;
  z-index: 1;
}

/* overlay ไล่ขาว */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.85) 35%,
    rgba(255,255,255,0.4) 65%,
    rgba(255,255,255,0) 100%
  );
  z-index: 2;
}

/* INNER */
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LEFT CONTENT */
.hero-content {
  max-width: 520px;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 54px);
  margin: 0;
  color: #1f3b2d;
  font-weight: 700;
}

.hero-content h2 {
  font-size: clamp(20px, 2.5vw, 34px);
  margin: 10px 0 20px;
  color: #2e4a3a;
  font-weight: 500;
}

.hero-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* BUTTON */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: #244c3a;
  color: #fff;


  --bs-btn-color: #fff;
  --bs-btn-bg: #244c3a;
  --bs-btn-border-color: #244c3a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0a7746;
  --bs-btn-hover-border-color: #244c3a;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #244c3a;
  --bs-btn-active-border-color: #244c3a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #244c3a;
  --bs-btn-disabled-border-color: #244c3a;
}

.btn-outline {
  border: 1px solid #244c3a;
  color: #244c3a;
  background: #fff;
}

/* RIGHT IMAGE */
.hero-product img {
  max-width: 420px;
  width: 100%;
  height: auto;
}

/*
   GLASS BOX
 */
.hero-features {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 1100px;

  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 16px;
  padding: 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  z-index: 10;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* FEATURE */
.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

h3.h3-hero {
  font-size: 16px;
}

p.feature-content {
  font-size: 14px;
  color: #555;
}

/*
   RESPONSIVE
*/

/* ===== 1440px ===== */
@media (min-width: 1440px) {
  .hero-homepage {
    min-height: 760px;
  }

  .hero-product img {
    max-width: 480px;
  }
}

/* ===== 1280px ===== */
@media (max-width: 1280px) {
  .hero-product img {
    max-width: 380px;
  }
}

/* ===== 1024px ===== */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 20px;
  }

  .hero-product img {
    max-width: 320px;
  }

  .hero-features {
    bottom: 20px;
  }
}

/* ===== 768px ===== */
@media (max-width: 768px) {
  .hero-homepage {
    padding: 60px 20px;
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-product img {
    max-width: 280px;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* glass box ไม่ลอย */
  .hero-features {
    position: static;
    transform: none;
    margin-top: 30px;
    grid-template-columns: 1fr;
  }
}

/* ===== 640px ===== */
@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .hero-product img {
    max-width: 240px;
  }
}

/* ===== 425px ===== */
@media (max-width: 425px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-product img {
    max-width: 220px;
  }
  .hero-features {
    display: none;
  }
}

/* ===== 375px ===== */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content h2 {
    font-size: 16px;
  }
  .hero-features {
    display: none;
  }

}

/* ===== 320px ===== */
@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .hero-product img {
    max-width: 200px;
  }

  .hero-features {
    display: none;
  }
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.quick-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.quick-card img {
  width: 100%;
  /* height: 200px; */
  object-fit: cover;
}

.quick-content {
  padding: 18px;
}

.quick-content h3 {
  margin-bottom: 6px;
}

.quick-content p {
  color: #6b7280;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.province-card {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;

  text-decoration: none;
  color: #1f2d26;

  transition: 0.25s;
}

.province-card:hover {
  border-color: #244c3a;
  color: #244c3a;
  transform: translateY(-3px);
}

.province-card .arrow {
  opacity: 0.5;
  transition: 0.3s;
}

.province-card:hover .arrow {
  transform: translateX(5px);
}
.guide-box {
  margin-top: 20px;
  background: #f7f8f7;
  border-radius: 16px;
  padding: 25px;
  line-height: 1.8;
  color: #444;
}
@media (max-width: 1024px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .province-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .quick-card img {
    /* height: 180px; */
  }
}

/*ตัวอย่างรูปแบบพวงหรีด*/
/*
   CATALOG (BASE)
 */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.catalog-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

/* fix aspect ratio (สำคัญมาก) */
.catalog-card {
  /* aspect-ratio: 4 / 3; */
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* overlay */
.catalog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.2),
    transparent
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.catalog-overlay p {
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

/* hover */
.catalog-card:hover img {
  transform: scale(1.05);
}


 
.price-guide{
    display:inline-block;
    margin-top:8px;
    padding:6px 12px;

    font-size:13px;
    font-weight:500;
    line-height:1.5;
    letter-spacing:0.2px;

    color:#6b7280;
    background:#f8f8f8;

    border:1px solid #ececec;
    border-radius:999px;

    transition:all .2s ease;
    text-align: center;
}

.price-guide:hover{
    background:#f3f4f6;
    color:#374151;
}
 




/* 
   1440px (ใหญ่)
 */
@media (min-width: 1440px) {
  .catalog-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*
   1280px
 */
@media (max-width: 1280px) {
  .catalog-grid {
    gap: 20px;
  }
}

/*
   1024px (tablet แนวนอน)
 */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-overlay {
    padding: 16px;
  }
}

/*
   768px (tablet)
 */
@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .catalog-overlay p {
    font-size: 14px;
  }
}

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

  .catalog-card {
    /* aspect-ratio: 16 / 10; */
  }
}

/*
   425px
*/
@media (max-width: 425px) {
  .catalog-overlay {
    padding: 14px;
  }

  .catalog-overlay p {
    font-size: 13px;
  }
}

/*   375px
*/
@media (max-width: 375px) {
  .catalog-overlay p {
    font-size: 12.5px;
  }
}

/* 
   320px (เล็กสุด)
 */
@media (max-width: 320px) {
  .catalog-overlay p {
    font-size: 12px;
  }
}



/* trust*/
/*
   TRUST GRID (BASE)
*/
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: center;

  padding: 18px 20px;
  border-radius: 14px;
  background: #f7f8f7;

  transition: 0.25s ease;
}

/* hover ให้ดูแพงขึ้น */
.trust-item:hover {
  transform: translateY(-4px);
  background: #f1f3f2;
}

/* ICON */
.trust-item .icon {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e9eceb;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
}

/* TEXT */
.trust-item p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/*
   1440px (ใหญ่)
 */
@media (min-width: 1440px) {
  .trust-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*
   1280px
 */
@media (max-width: 1280px) {
  .trust-grid {
    gap: 18px;
  }
}

/*
   1024px (tablet แนวนอน)
*/
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*
   768px (tablet)
*/
@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trust-item {
    padding: 16px;
  }
}

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

  .trust-item {
    align-items: center;
  }
}

/*
   425px
*/
@media (max-width: 425px) {
  .trust-item {
    padding: 14px;
  }

  .trust-item p {
    font-size: 13.5px;
  }
}

/*
   375px
 */
@media (max-width: 375px) {
  .trust-item p {
    font-size: 13px;
  }
}

/*
   320px (เล็กสุด)
 */
@media (max-width: 320px) {
  .trust-item {
    gap: 10px;
  }

  .trust-item .icon {
    min-width: 38px;
    height: 38px;
  }

  .trust-item p {
    font-size: 12.5px;
  }
}




/* SEO Content*/
.seo-content {
  max-width: 850px;
  margin: 0 auto;
}

 
.seo-content h2 {
  margin-bottom: 15px;
}

.seo-content h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.seo-content p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.8;
}

/* CTA*/
.cta-section {
  text-align: center;
}

.btn-outline-success {
  border: 1px solid #244c3a;
  color: #244c3a;
  padding: 14px 26px;
  border-radius: 999px;
  transition: 0.3s;
}

.btn-outline-success:hover {
  background: #244c3a;
  color: #fff;
}

/***************/
/* หน้า ABOUT  */
/**************/
 .about-hero {
  background: url('../images/about-cover.jpg') center/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-top: 0px;
}

.about-hero-overlay {
  background: rgba(255,255,255,0.75);
  padding: 40px;
  max-width: 600px;
  margin-left: 40px;
  border-radius: 8px;
 
} 
/****************/
/*    AMPHUR    */
/****************/
.body-amphur{
  font-family:Tahoma,sans-serif;
  background:#f7f7f7;

  color:#222;
  line-height:1.8;
}

.hero-amphur h1{
   color: #fff;
}
.section-amphur {
    background: #fff;
    border-radius: 18px;
    padding: 34px;
    margin-top: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.hero-amphur{
    /* background: #1f2937; */ /* #3b3d3f;*/
    background:#f3f1eb;
    /* color:#fff; */
    color:#000;
    padding: 70px 20px;
    
}

.hero-amphur h1{
    font-size:42px;
     color:#000;
    margin-bottom:20px;
}
.hero-amphur p{
    max-width:850px;
}
.btn-line{
    display:inline-block;
    margin-top:20px;
    background:#22c55e;
    color:#fff;
    padding:14px 22px;
    border-radius:10px;
    text-decoration:none;
}

.line-btn{
display:inline-block;
padding:14px 24px;
background:#06c755;
color:#fff;
text-decoration:none;
border-radius:12px;
font-weight:bold;
margin-top:12px;
}


.compare-box{
background:#faf7f2;
padding:20px;
border-radius:14px;
margin-top:20px;
}

.internal-links-amphur a{
display:inline-block;
padding:10px 16px;
background:#f0f0f0;
margin:8px;
border-radius:10px;
text-decoration:none;
color:#111;
}
.catalog-grid-amphur{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
  margin-top:24px;
}
.catalog-grid-amphur>figure {
    border: #efefef;
  
    border-style: solid;
    padding: 5px;
    text-align: center;
}


.figure-amphur{
  background:#fafafa;
  border:1px solid #eee;
  border-radius:14px;
  overflow:hidden;
}

.figure-amphur img{
  width:100%;
  object-fit:cover;
  display:block;
}

.figcaption-amphur{
  padding:16px;
  font-size:15px;
}

.catalog figure{
    background:#fff;
    padding:14px;
    border-radius:14px;
}
.catalog img{
    width:100%;
    border-radius:10px;
}
/* figcaption{
    margin-top:10px;
    font-size:15px;
} */
.compare-table{
    overflow-x:auto;
}
/* table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}
th,td{
    padding:14px;
    border:1px solid #ddd;
} */

.internal-links a{
    display:inline-block;
    margin:8px;
    text-decoration:none;
    color:#2563eb;
}
.floating-line{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#22c55e;
    color:#fff;
    padding:15px 20px;
    border-radius:50px;
    text-decoration:none;
    z-index:999;
}
ul{
    padding-left:20px;
}
