@font-face {
  font-family: "Kanit";
  src: url("../fonts/kanit/Kanit-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kanit";
  src: url("../fonts/kanit/Kanit-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Kanit";
  src: url("../fonts/kanit/Kanit-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Kanit";
  src: url("../fonts/kanit/Kanit-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ใช้ฟอนต์ Kanit เป็นฟอนต์หลักของเว็บ */
body,
button,
input,
textarea,
select {
  font-family: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root{
  --black:#000;
  --white:#fff;
  --gray:#f5f5f6;
  --mid:#6f7880;
  --accent:#ff5a3c;
  --container:1200px;
  --g:16px;
  --shadow:0 6px 18px rgba(0,0,0,.06);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:"Kanit",system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:#222;
  line-height:1.55;
  background:#fff;
}

a{color:inherit;text-decoration:none}
ul{margin:0;padding:0}

.row{width:100%}
.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0;
}

/* ================== Topbar ================== */
.topbar{
  background:#000;
  color:#fff;
  font-size:14px;
}
.topbar .wrap{padding:0 var(--g)}
.topbar .grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:var(--g);
  align-items:center;
  min-height:44px;
}
.contact{display:flex;gap:12px;flex-wrap:wrap}
.flags{display:flex;gap:6px;justify-content:flex-end}
.flag{width:18px;height:12px;display:inline-block}

/* ================== Header ================== */
header.header{
  border-bottom:1px solid #eee;
  background:#fff;
  position:relative;
  z-index:20;
}
.header .wrap{padding:0 var(--g)}
.header .grid{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:var(--g);
  min-height:72px;
}
.logo{
  font-weight:700;
  font-size:22px;
  display:flex;
  align-items:center;
  gap:10px;
}
.logo .mark{
  width:28px;
  height:4px;
  background:#111;
  display:inline-block;
}
nav ul{
  list-style:none;
  display:flex;
  gap:22px;
  justify-content:center;
  flex-wrap:wrap;
}
nav a{padding:8px 0;display:inline-block}
.search{display:flex;align-items:center;justify-content:flex-end}
.search input{
  width:100%;
  max-width:260px;
  border:1px solid #ddd;
  border-radius:20px;
  padding:8px 12px 8px 36px;
  outline:none;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat 10px center/18px;
}

/* ================== Burger + Drawer ================== */
#nav-toggle{display:none}
.burger{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:34px;
  border-radius:8px;
  cursor:pointer;
}
.burger .line{
  position:relative;
  display:block;
  width:26px;
  height:2px;
  background:#111;
  border-radius:2px;
}
.burger .line::before,
.burger .line::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:#111;
  border-radius:2px;
}
.burger .line::before{top:-8px}
.burger .line::after{top:8px}

body .drawer .menu a { color:#fff !important; }

.drawer{
  position:fixed;
  inset:0;
  pointer-events:none;
}
.drawer .panel{
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:min(92vw,420px);
  background:#0e0e0e;
  color:#fff;
  transform:translateX(100%);
  transition:.35s cubic-bezier(.22,.61,.36,1);
  padding:20px 18px 28px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.drawer .panel .close{
  position:absolute;
  right:10px;
  top:10px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#1b1b1b;
  color:#fff;
  border:1px solid #2a2a2a;
  display:grid;
  place-items:center;
  font-size:20px;
  cursor:pointer;
}
.drawer .panel .title{font-weight:700;margin:6px 0 10px}
.drawer .menu{list-style:none;margin:10px 0 0}
.drawer .menu a{
  display:block;
  padding:14px 6px;
  color:#fff;
  border-bottom:1px solid #1f1f1f;
}
.drawer .backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
  opacity:0;
  transition:.25s;
}
#nav-toggle:checked ~ .drawer{pointer-events:auto}
#nav-toggle:checked ~ .drawer .panel{transform:none}
#nav-toggle:checked ~ .drawer .backdrop{opacity:1}

/* ===== Banner (natural on desktop, 1200-base on mobile) ===== */
section[data-section="banner"]{ background:var(--banner-bg,#fff); }
section[data-section="banner"] .wrap{ max-width:var(--container,1200px); margin:0 auto; padding:0; }

/* กล่องภาพ */
.ph-banner{
  position:relative;
  width:100%;
  overflow:visible;            /* desktop: ไม่ครอป */
  background:transparent;
}

/* จัดรูปให้อยู่กลางเสมอ */
.ph-banner > img{
  position:relative;
  left:50%;
  transform:translateX(-50%);
  display:block;
  height:auto;
}

/* มือถือ/แท็บเล็ตให้ครอปขอบด้านข้างด้วย CSS (ไฟล์ไม่โดนตัด) */
@media (max-width:1024px){
  section[data-section="banner"] .wrap{ max-width:100%; padding:0; }
  .ph-banner.is-crop{ overflow:hidden; }     /* เปิดครอปเฉพาะตอน mobile-mode */
}


/* ================== Intro ================== */
.intro-top{padding:30px 0;text-align:center;background:#fff}
.intro-top .wrap{max-width:900px;margin:0 auto;padding:0 16px}
.intro-top .title{font-weight:600;font-size:36px;line-height:1.2;margin:0 0 8px}
.intro-top .divider{width:120px;height:3px;background:var(--accent,#2f67ff);border:0;margin:12px auto 20px;border-radius:2px}
.intro-top .lead{font-size:18px;line-height:1.8;margin:0 0 6px;}
.intro-top .hotline{font-size:16px;margin:0}
.intro-top .hotline a{font-weight:700;white-space:nowrap}
@media (max-width:768px){
  .intro-top{padding:36px 0 20px}
  .intro-top .title{font-size:28px}
  .intro-top .lead{font-size:16px}
}




/* ================== Social Icon ================== */
.social-top-cta{
  background:#fff;
  padding:16px 0 6px;
}
.social-cta-grid{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}
.cta-btn{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
  padding:10px 18px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  box-shadow:0 5px 5px rgba(0,0,0,.12);
  transition:.12s transform;
}
.cta-btn .ico{
  width:44px;height:44px;border-radius:999px;
  background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;
}
.cta-btn .ico svg{width:24px;height:24px;fill:#fff;}
.cta-btn .txt strong{display:block;font-size:16px;line-height:1.1}
.cta-btn .txt small{display:block;font-size:12px;opacity:.9}

/* สี */
.cta-tel{ background:#c23535; }
.cta-line{ background:#168f3c; }
.cta-fb{ background:#0d5bbf; }

.cta-btn:hover{ transform:translateY(-2px); }

@media (max-width:720px){
  .cta-btn{ width:100%; border-radius:14px; }
  .social-cta-grid{ gap:10px; }
}
@media (max-width:720px){
  .social-cta-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:10px;
  }
  .cta-btn{
    min-width:0;
    width:100%;
    border-radius:14px;
    /* ⬇ กลับมาเป็นแนวนอน */
    flex-direction:row;
    align-items:center;
    gap:8px;
    padding:10px 10px 10px 8px;
  }
  .cta-btn .ico{
    width:36px;
    height:36px;
    flex:0 0 36px;
  }
  .cta-btn .txt{
    flex:1 1 auto;
    min-width:0;
  }
  .cta-btn .txt strong{font-size:13px;line-height:1.1}
  .cta-btn .txt small{font-size:11px;line-height:1.2;display:block;white-space:normal}
}
section[data-section="social-top"] {
    background:#fff;          /* ค่าเริ่มต้น */
  }
  section[data-section="social-top"] .wrap {
    max-width: var(--container, 1200px);
    margin: 0 auto;
    padding: 14px 16px 16px;  /* <<< padding ที่คุณอยากได้ */
  }

/* ================== Services ================== */
.services .wrap{padding:50px var(--g)}
.services .grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:40px;
  align-items:center;
}
.services h2{font-size:34px;margin:.25em 0 .4em}
.services p{margin:.6em 0}
.services h3{margin:1.2em 0 .5em}
.services .btn{
  display:inline-block;
  background:#6b737a;
  color:#fff;
  border-radius:18px;
  padding:8px 16px;
  margin-top:4px;
}
.services .mock{
  border:3px solid #5c6266;
  border-radius:0;
  overflow:hidden;
}
.services .mock .svc-img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  background:#e9ecef;
}

.eyebrow{font-weight:600}

/* ================== Generic carousel ================== */
.carousel{position:relative}
.carousel .viewport{overflow:hidden;user-select:none;cursor:grab}
.carousel .viewport:active{cursor:grabbing}
.carousel .track{display:flex;gap:26px;transition:transform .45s ease}
.carousel .track li{list-style:none}
.carousel .nav{
z-index:9999;
  position:absolute;
  top:50%;
  transform:translateY(-50%) !important;
  background:#fff;
  border:1px solid #eee;
  border-radius:999px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:var(--shadow);
}
.carousel .nav.prev{left:8px !important}
.carousel .nav.next{right:8px !important}
.carousel .nav[disabled]{opacity:.35;pointer-events:none}
.carousel .dots{
  display:flex;
  gap:10px;
  justify-content:center;
  margin:16px 0 0;
}
.carousel .dots button{
  width:8px;
  height:8px;
  border-radius:50%;
  border:0;
  background:#ddd;
  cursor:pointer;
}
.carousel .dots button.active{
  width:36px;
  height:10px;
  border-radius:999px;
  background:#ff5a3c;
}

/* ================== Products ================== */
.products{
  background:#f7f7f7;
  border-top:1px solid #efefef;
}
.products .wrap{padding:50px var(--g)}
.products h2{
  text-align:center;
  margin:0 0 24px;
}
.products .card{
  background:#fff;
  border-radius:10px;
  box-shadow:var(--shadow);
  padding:24px;
  text-align:center;
  position:relative;
  min-width:260px;
}
.products .thumb{
  width:100%;
  aspect-ratio:1/1;
  border:2px dashed #d9d9d9;
  border-radius:8px;
  margin:0 auto 16px;
  background:#fafafa;
}
.products .badge{
  position:absolute;
  left:16px;
  top:16px;
  background:#ff6b6b;
  color:#fff;
  font-size:12px;
  padding:4px 8px;
  border-radius:6px;
}
.products .name{margin:10px 0 6px}
.products .price{font-weight:700;color:var(--accent)}
.products .price small{
  color:#bbb;
  font-weight:600;
  text-decoration:line-through;
  margin-right:8px;
}

/* ================== Gallery ================== */
.gallery .wrap{padding:50px var(--g)}
.center{text-align:center}
.tabs{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-bottom:18px;
  flex-wrap:wrap;
}
.tab-btn{
  padding:10px 18px;
  border:1px solid #ddd;
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}
input[name="gal"]{position:absolute;opacity:0}
.grid-gal{display:none}
.grid-gal.active{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.gal-item{
  cursor:pointer;
  border-radius:10px;
  overflow:hidden;
  box-shadow:var(--shadow);
  position:relative;
}
.gal-item img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
}
/* ปุ่มลบรูปในแกลลอรี่ตอน edit */
.gal-item .gal-del-img{
  position:absolute;
  top:6px;
  right:6px;
  background:#ff3b30;
  color:#fff;
  border:0;
  border-radius:999px;
  width:22px;
  height:22px;
  line-height:20px;
  text-align:center;
  font-weight:700;
  cursor:pointer;
  z-index:10;
}
html:not([data-edit]) .gal-item .gal-del-img{display:none}

#gal-all:checked ~ .tabs label[for="gal-all"],
#gal-1:checked  ~ .tabs label[for="gal-1"],
#gal-2:checked  ~ .tabs label[for="gal-2"]{
  background:#111;
  color:#fff;
  border-color:#111;
}
/* มีหลายอัลบั้ม -> ใช้ระบบ active */
.gallery.has-tabs .grid-gal{ display:none; }
.gallery.has-tabs .grid-gal.active{ display:grid; }

/* มีอัลบั้มเดียว -> ซ่อนแถบ tabs, แสดงกริดอัลบั้มตามปกติ */
.gallery:not(.has-tabs) .tabs{ display:none; }
.gallery:not(.has-tabs) .grid-gal{ display:grid; }
/* --- Gallery: กรณีไม่มีแท็บ (มีอัลบั้มเดียว) ให้แสดงเป็นกริดเหมือนเดิม --- */
.gallery:not(.has-tabs) .grid-gal{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1100px){
  .gallery:not(.has-tabs) .grid-gal{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}
@media (max-width:640px){
  .gallery:not(.has-tabs) .grid-gal{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

/* กัน margin บนเวลาซ่อนแถบแท็บ */
.gallery:not(.has-tabs) .tabs{ display:none; }
.gal-wrap.no-tabs, .gallery:not(.has-tabs) .gal-wrap{ margin-top:0; }
/* มีแท็บ (หน้าบ้านที่ >1 อัลบั้ม หรือหลังบ้านแม้มีเดียว) */
.gallery.has-tabs .grid-gal{ display:none; }
.gallery.has-tabs .grid-gal.active{ display:grid; }

/* ไม่มีแท็บ (หน้าบ้านมีอัลบั้มเดียว) */
.gallery:not(.has-tabs) .tabs{ display:none; }
.gallery:not(.has-tabs) .grid-gal{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
@media (max-width:1100px){
  .gallery:not(.has-tabs) .grid-gal{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}
@media (max-width:640px){
  .gallery:not(.has-tabs) .grid-gal{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}




/* ================== Lightbox ================== */
.lightbox[hidden]{display:none}
.lightbox{
  position:fixed;
  inset:0;
  z-index:60;
}
.lb-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
  backdrop-filter: blur(2px);
}
.lb-fig{
  position:absolute;
  inset:6% 4%;
  display:grid;
  place-items:center;
}
.lb-fig img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.lb-close,
.lb-prev,
.lb-next{
  position:absolute;
  background:#fff;
  border:1px solid #eee;
  border-radius:999px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:var(--shadow);
  z-index:2;
}
.lb-close{top:8px;right:8px}
.lb-prev{left:8px;top:50%;transform:translateY(-50%)}
.lb-next{right:8px;top:50%;transform:translateY(-50%)}

/* ================== News ================== */
.news .wrap{padding:50px var(--g)}
.news h2{text-align:center;margin:0 0 24px}
.news .card{
  background:#fff;
  border-radius:10px;
  box-shadow:var(--shadow);
  overflow:hidden;
  min-width:300px;
}
.news .thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,#d9dfe3,#eceff1);
}
.news .body{padding:14px 16px}
.news .meta{font-size:13px;color:#777;margin-bottom:6px}
.news .title{font-weight:700}

/* ================== Info (icon list + map) ================== */
.info-grey{background:#f3f3f3}
.info-wrap{padding:50px var(--g)}
.info-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:40px;
  align-items:start;
}
.info-left .eyebrow{margin:0 0 4px;color:#666;font-weight:600}
.info-left .info-title{
  margin:0 0 6px;
  font-size:clamp(24px,3.2vw,42px);
  line-height:1.1;
  font-weight:800;
}
.info-left .company{margin:0 0 20px;color:#666}
.contact-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
}
.contact-list li{
  display:flex;
  align-items:center;
  gap:14px;
  padding:4px 0;
}
.contact-list .ico{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.9;
}
.contact-list .ico svg{width:24px;height:24px;fill:#1f2937}
.contact-list .txt{color:#333}
.info-right .map-frame{
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #e6e6e6;
  background:#fafafa;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.info-right iframe{width:100%;height:100%;border:0;display:block}
/* ====== Icon list — editable box ====== */
.icon-item{ list-style:none; }
.icon-item a{
  display:flex; align-items:center; gap:14px;
  padding:0; border-radius:10px;
  text-decoration:none;
}
.icon-item .ico{ width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; opacity:.9; }
.icon-item .ico svg{ width:22px; height:22px; fill:#1f2937; }

/* โหมดแก้ไข: เส้นประแดงเหมือนส่วนอื่น */
html[data-edit="1"] .icon-item.editbox a{
  outline:2px dashed #e44; outline-offset:4px;
  background:rgba(228,68,68,.06);
}


/* ===== info-page ===== */
.info-page-grid{
  display:grid;
  grid-template-columns: 1.1fr 1fr;  /* ซ้ายกว้างกว่าเล็กน้อย */
  gap:40px;
}
.info-page .contact-list{ list-style:none; padding:0; margin:10px 0 18px; }
.info-page .contact-list li{ margin:0; }
.info-page .map-frame iframe{ width:100%; height:200px; border:0; }
.fb-box iframe{ width:100%; height:520px; }
@media (max-width: 900px){
  .info-page-grid{ grid-template-columns:1fr; }
  .fb-box iframe{ height:420px; }
}



/* ================== Videos / YouTube ================== */
.videos .wrap{padding:50px var(--g)}
#ytCarousel .viewport{overflow:hidden}
#ytCarousel .track > li{
  flex:0 0 100%;
  display:flex;
  justify-content:center;
}
#ytCarousel .vid{
  width:min(100%,900px);
  margin:0 auto;
  background:#000;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow,0 8px 20px rgba(0,0,0,.15));
}
#ytCarousel .vid iframe{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  border:0;
}
.btn-red{
  background:#ff3b30;
  color:#fff;
}

/* ================== Footer ================== */
.tagsbar .wrap{padding:0 var(--g)}
.footer-key{background:#111;color:#fff}
.footer-key .wrap{padding:28px var(--g)}
.footer-key .keywords{display:flex;flex-wrap:wrap;gap:10px}
.footer-key .tag{
  background:#1d1d1d;
  padding:6px 10px;
  border-radius:999px;
  font-size:14px;
}
.footer-info .wrap{padding:30px var(--g)}
.footer-info .grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
}
.footer-social{border-top:1px solid #eee}
.footer-social .wrap{
  padding:20px var(--g);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
}
.social{display:flex;gap:12px}
footer .footer-social .social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:999px;
  text-decoration:none;
  line-height:1;
  background:var(--footer-icon-bg,rgba(0,0,0,.18));
  border:1px solid var(--footer-icon-br,rgba(255,255,255,.25));
  color:currentColor;
}
footer .footer-social .social a + a{margin-left:10px}
.copy{font-size:14px}

/* ================== Section dynamic color (จาก editor) ================== */
section[data-section]{
  background:var(--sec-bg,transparent) !important;
  color:var(--sec-color,inherit);
}

/* ================== Topbar ticker (mobile) ================== */
@media (max-width:900px){
  .topbar .contact{
    display:block !important;
    position:relative !important;
    height:1.6em !important;
    line-height:1.6em !important;
    overflow:hidden !important;
    width:100% !important;
  }
  .topbar .contact > span{
    position:absolute !important;
    left:0;right:0;
    white-space:nowrap !important;
    opacity:0;
    transform:translateY(8px);
    animation:topbar-rotate 9s infinite;
    will-change:opacity,transform;
  }
  .topbar .contact > span:nth-child(1){animation-delay:0s}
  .topbar .contact > span:nth-child(2){animation-delay:3s}
  .topbar .contact > span:nth-child(3){animation-delay:6s}

  @keyframes topbar-rotate{
    0%{opacity:0;transform:translateY(8px)}
    5%{opacity:1;transform:translateY(0)}
    30%{opacity:1;transform:translateY(0)}
    35%{opacity:0;transform:translateY(-8px)}
    100%{opacity:0;transform:translateY(-8px)}
  }
}

/* ตอนแก้ไข ไม่ต้องให้ topbar วิ่ง */
html[data-edit="1"] .topbar .contact{
  height:auto !important;
  overflow:visible !important;
}
html[data-edit="1"] .topbar .contact > span{
  position:static !important;
  animation:none !important;
  opacity:1 !important;
  transform:none !important;
}

/* ================== Responsive ================== */
@media (max-width:1100px){
  .grid-gal.active{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1024px){
  .info-grid{grid-template-columns:1fr;gap:24px}
}
@media (max-width:900px){
  .burger{display:flex}
  nav{display:none}
  .header .grid{grid-template-columns:auto 1fr auto}
  .services .grid{grid-template-columns:1fr;gap:20px}
  .footer-info .grid{grid-template-columns:1fr}
  #ytCarousel .viewport{padding-inline:40px}
}
@media (max-width:640px){
  .search input{max-width:190px}
  .grid-gal.active{grid-template-columns:repeat(2,minmax(0,1fr))}
  #ytCarousel .viewport{padding-inline:0}
}

/* กล่อง placeholder เอาไว้ใส่ปุ่มโหลด */
.lazy-box{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f6f7;
  border:1px solid #eee;
  border-radius:12px;
  min-height:220px;
  overflow:hidden;
}

/* แฟนเพจสูงกว่าหน่อย */
.fb-box.lazy-box{
  min-height:260px;
}

/* กล่องวิดีโอ */
#ytCarousel .vid.lazy-box{
  min-height:220px;
  background:#000;
}

/* ปุ่มโหลด embed */
.lazy-embed__btn{
  appearance:none;
  border:0;
  cursor:pointer;
  padding:10px 16px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-weight:600;
  box-shadow:0 6px 18px rgba(0,0,0,.16);
}
