:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f7f9fc;
  --blue: #0f8f5f;
  --blue-dark: #075c3d;
  --green: #0a7a4b;
  --orange: #f97316;
  --red: #d92d20;
  --shadow: 0 18px 55px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans Thai", sans-serif;
  background: #fff;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.notice {
  background: #101828;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.home-quick-link {
  position: fixed;
  right: 18px;
  top: 92px;
  z-index: 70;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 146, 89, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.home-quick-link svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-quick-link:hover,
.home-quick-link:focus-visible {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.nav {
  max-width: 1220px;
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.search {
  flex: 1;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.search input {
  width: 100%;
  border: 0;
  padding: 12px 14px;
  outline: none;
}

.search button,
.cart-button,
.primary,
.secondary,
.filters button,
.coupon button {
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 700;
}

.search button,
.primary {
  background: var(--blue);
  color: #fff;
}

.secondary {
  background: #eaf8f0;
  color: var(--blue-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.cart-button {
  background: #111827;
  color: #fff;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--orange);
}

.hero {
  max-width: 1220px;
  margin: auto;
  padding: 48px 20px 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  margin-bottom: 10px;
}

.hero-copy > p:not(.eyebrow),
.two-col p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-panel {
  position: relative;
  min-height: 440px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #102018;
}

.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 440px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-carousel img.active {
  opacity: 1;
}

.deal-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(330px, calc(100% - 44px));
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.deal-card span,
.deal-card small {
  display: block;
  color: var(--muted);
}

.trust-row {
  max-width: 1220px;
  margin: 16px auto 34px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.news-zone {
  padding-top: 34px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.news-tools {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.news-search {
  flex: 1;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.news-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  outline: none;
}

.news-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 143, 95, 0.12);
}

.admin-news-link,
.news-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 9px 13px;
  font-weight: 900;
}

.news-read-more {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
}

.admin-news-link {
  min-height: 46px;
  white-space: nowrap;
}

.news-filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.news-filters button.active {
  border-color: var(--green);
  background: #eaf8f0;
  color: var(--green-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.news-card[hidden] {
  display: none;
}

.news-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.news-image-button img,
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 16px;
  display: grid;
  flex: 1;
  grid-template-rows: 30px 104px 120px 44px;
  gap: 10px;
}

.news-label {
  display: inline-block;
  align-self: start;
  margin-bottom: 0;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eaf8f0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.news-body h3 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.news-credit {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin-top: 10px;
}

.news-edit-link {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  margin-top: 8px;
}

.news-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.news-modal[hidden] {
  display: none;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
}

.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.58);
  backdrop-filter: blur(5px);
}

.news-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 980px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.news-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin: 12px 12px 0 0;
  border: 0;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.news-modal-image {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  display: block;
}

.news-modal-content {
  padding: 26px;
}

.news-modal-content h3 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.news-article-body {
  color: #344054;
  font-size: 17px;
}

.news-article-body p {
  margin-bottom: 16px;
}

.news-modal-credit {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.news-modal-credit a {
  color: var(--blue);
  font-weight: 900;
}

.news-modal-open {
  overflow: hidden;
}

.trust-row div,
.policy-list div,
.filters,
.admin-form,
.admin-login-card,
.tracking-panel,
.orders-panel,
.product-card,
.cart-drawer,
.contact form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trust-row div {
  padding: 18px;
}

.trust-row span,
.policy-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1220px;
  margin: auto;
  padding: 52px 20px;
}

.muted {
  max-width: none;
  background: var(--soft);
  padding-left: max(20px, calc((100% - 1220px) / 2 + 20px));
  padding-right: max(20px, calc((100% - 1220px) / 2 + 20px));
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head a {
  color: var(--blue);
  font-weight: 800;
}

.category-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card,
.solution-grid article {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.category-card {
  padding: 0 0 20px;
  cursor: pointer;
}

.category-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

.category-card h3,
.category-card p,
.category-card span {
  display: block;
  padding: 0 18px;
}

.category-card p {
  color: var(--muted);
  margin-bottom: 8px;
}

.solution-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.solution-grid article h3,
.solution-grid article p {
  padding: 0 18px;
}

.solution-grid article h3 {
  margin-top: 18px;
}

.solution-grid article p {
  color: var(--muted);
  padding-bottom: 18px;
}

.livestream-zone {
  display: grid;
  gap: 24px;
}

.livestream-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.livestream-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.livestream-hero img,
.livestream-features img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.livestream-hero img {
  aspect-ratio: 16 / 8;
  background: #1f2937;
}

.livestream-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.livestream-features article {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.livestream-features img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: none;
}

.livestream-features h3,
.livestream-features p {
  padding: 0 18px;
}

.livestream-features h3 {
  margin-top: 18px;
}

.livestream-features p {
  color: var(--muted);
  padding-bottom: 18px;
}

.livestream-kits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.livestream-kits div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f7fbf8;
}

.livestream-kits span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.meeting-zone {
  display: grid;
  gap: 24px;
}

.meeting-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: center;
}

.meeting-hero img,
.meeting-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #f2f4f7;
}

.meeting-hero img {
  aspect-ratio: 16 / 9;
}

.meeting-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.meeting-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.meeting-badges span {
  border-radius: 999px;
  padding: 7px 12px;
  background: #eaf8f0;
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 13px;
}

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

.meeting-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.meeting-grid img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: none;
}

.meeting-grid h3,
.meeting-grid p {
  padding: 0 18px;
}

.meeting-grid h3 {
  margin-top: 18px;
}

.meeting-grid p {
  color: var(--muted);
  padding-bottom: 18px;
}

.meeting-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.meeting-specs div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.meeting-specs span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.promo-banner {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 35, 24, 0.88), rgba(5, 35, 24, 0.5), rgba(5, 35, 24, 0.08));
}

.promo-banner > div {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 36px;
}

.promo-banner p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}

.shop-hero,
.shop-toolbar,
.shop-category-strip,
.shop-pagination {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
}

.shop-hero h1 {
  margin: 4px 0 10px;
  font-size: 42px;
}

.shop-hero p {
  margin: 0;
  color: var(--muted);
}

.shop-hero-stat {
  display: grid;
  justify-items: center;
  border-radius: 8px;
  background: var(--soft);
  padding: 20px;
}

.shop-hero-stat strong {
  color: var(--green);
  font-size: 44px;
  line-height: 1;
}

.shop-hero-stat span {
  color: var(--muted);
  font-weight: 800;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
}

.shop-toolbar span {
  color: var(--muted);
}

.shop-per-page {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.shop-per-page a,
.shop-category-strip a,
.shop-pagination a,
.shop-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  padding: 8px 12px;
}

.shop-per-page a.active,
.shop-pagination span.current {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.shop-category-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px;
}

.shop-category-strip a span {
  margin-left: 8px;
  color: var(--green);
}

.shop-product-grid {
  margin-top: 0;
}

.shop-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 14px;
}

.filters {
  padding: 18px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filters label {
  display: block;
  margin: 14px 0 7px;
  font-weight: 700;
}

.filters select,
.filters button,
.filters input,
.admin-form input,
.admin-form select,
.admin-toolbar input,
.tracking-search input,
.coupon input,
.checkout input,
.checkout select,
.checkout textarea,
.contact input,
.contact textarea,
.section-head select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
}

.filters button {
  margin-top: 16px;
  background: #f2f4f7;
}

.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.check input {
  width: auto;
}

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

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  background: #eaf8f0;
  color: var(--blue-dark);
}

.badge.sale {
  background: #fff4ed;
  color: #c2410c;
}

.badge.stock {
  background: #ecfdf3;
  color: var(--green);
}

.badge.out {
  background: #fef3f2;
  color: var(--red);
}

.product-title {
  font-weight: 800;
  min-height: 50px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price {
  color: var(--blue-dark);
  font-weight: 900;
  font-size: 20px;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
}

.product-card button {
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  padding: 11px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.product-card button:disabled {
  background: #98a2b3;
  cursor: not-allowed;
}

.product-title {
  color: var(--ink);
}

.cart-link,
.single_add_to_cart_button,
.checkout-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  display: inline-block;
  text-align: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.woocommerce .button.alt,
.woocommerce #payment #place_order {
  background: var(--blue);
  color: #fff;
}

.woo-page {
  min-height: 60vh;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px !important;
  background: #fff;
}

.woocommerce ul.products li.product img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.itemdd-loop-product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.woocommerce table.shop_table,
.woocommerce-checkout #payment {
  border-radius: 8px;
}

.itemdd-account-intro,
.itemdd-social-login-panel,
.itemdd-account-dashboard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.itemdd-account-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
}

.itemdd-account-intro h1 {
  margin: 4px 0 10px;
  font-size: 38px;
}

.itemdd-account-intro p {
  color: var(--muted);
  margin: 0;
}

.itemdd-account-benefits {
  display: grid;
  gap: 10px;
}

.itemdd-account-benefits span {
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  padding: 12px 14px;
}

.itemdd-social-login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
}

.itemdd-social-login-panel p {
  color: var(--muted);
  margin: 6px 0 0;
}

.itemdd-social-login-actions {
  display: grid;
  gap: 10px;
}

.itemdd-social-login-actions .nsl-container,
.itemdd-social-login-actions .nsl-container-buttons {
  width: 100%;
}

.itemdd-social-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: #06c755;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.itemdd-admin-note {
  grid-column: 1 / -1;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412 !important;
  font-size: 13px;
  padding: 10px 12px;
}

.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.itemdd-account-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
}

.itemdd-account-dashboard a {
  display: grid;
  gap: 6px;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  padding: 14px;
  text-decoration: none;
}

.itemdd-account-dashboard strong {
  font-size: 16px;
}

.itemdd-account-dashboard span {
  color: var(--muted);
  font-size: 13px;
}

.datasheet-action {
  margin: 16px 0;
}

.datasheet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 16px;
  background: #eaf8f0;
  color: var(--green-dark);
  font-weight: 900;
  border: 1px solid #bfe8cf;
}

.datasheet-button::before {
  content: "PDF";
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  margin-right: 10px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.itemdd-product-gallery {
  float: left;
  width: 48%;
  margin: 0 4% 28px 0;
}

.itemdd-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f2f4f7;
}

.itemdd-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.itemdd-gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.itemdd-gallery-thumbs button.active {
  border-color: var(--green);
}

.itemdd-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: #f2f4f7;
}

.itemdd-related-products {
  clear: both;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.itemdd-related-products h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.related-product-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 800px) {
  .itemdd-product-gallery {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }

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

.two-col,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.policy-list {
  display: grid;
  gap: 12px;
}

.policy-list div,
.contact form {
  padding: 18px;
}

.contact form {
  display: grid;
  gap: 12px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.company-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.office-map-card,
.staff-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.map-embed-card iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

.map-details {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.map-details span {
  color: var(--muted);
}

.map-details a {
  color: var(--blue);
  font-weight: 800;
}

.office-map-card img {
  width: 100%;
  display: block;
}

.staff-cards {
  display: grid;
  gap: 12px;
}

.staff-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.staff-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 72% 16%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.staff-card span {
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
}

.staff-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.staff-card p {
  margin: 2px 0 8px;
  color: var(--muted);
}

.staff-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

.contact textarea,
.checkout textarea {
  min-height: 100px;
  resize: vertical;
}

.tracking-panel,
.admin-login-card,
.admin-form,
.orders-panel {
  padding: 18px;
}

.admin-login-card {
  max-width: 460px;
  margin: auto;
}

.admin-login-card p {
  color: var(--muted);
}

.admin-login-card form {
  display: grid;
  gap: 12px;
}

.admin-login-card label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.admin-login-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}

.admin-protected.locked {
  display: none;
}

.admin-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tracking-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
}

.tracking-result {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.timeline div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline strong {
  color: var(--blue-dark);
}

.admin-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  align-items: start;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.form-grid,
.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-toolbar input {
  max-width: 280px;
}

.orders-panel {
  margin-top: 20px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.admin-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.row-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
}

.row-actions button.danger {
  color: var(--red);
}

.order-status {
  width: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 18px;
  transform: translateX(110%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header button {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 24px;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding-right: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.cart-item img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item strong {
  display: block;
  font-size: 14px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.coupon button {
  background: #111827;
  color: #fff;
}

.summary {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.summary div {
  display: flex;
  justify-content: space-between;
}

.summary .total {
  font-size: 20px;
}

.checkout {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(16, 24, 40, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  transform: translate(-50%, 120px);
  background: #111827;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
}

.toast.show {
  transform: translate(-50%, 0);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1220px;
  margin: auto;
  padding: 28px 20px 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

footer p {
  color: var(--muted);
  margin-bottom: 0;
}

footer a {
  margin-left: 16px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav,
  .hero,
  .admin-layout,
  .company-media-grid,
  .two-col,
  .contact {
    grid-template-columns: 1fr;
  }

  .nav {
    display: grid;
    padding: 14px 20px;
  }

  .brand {
    min-width: 0;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 28px;
  }

  .trust-row,
  .category-grid,
  .solution-grid,
  .livestream-features,
  .livestream-kits,
  .meeting-grid,
  .meeting-specs,
  .news-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .livestream-hero {
    grid-template-columns: 1fr;
  }

  .meeting-hero {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 620px) {
  .notice {
    font-size: 12px;
  }

  .home-quick-link {
    right: 12px;
    top: auto;
    bottom: 92px;
    width: 44px;
    height: 44px;
  }

  .search,
  .tracking-search,
  .form-grid,
  .admin-actions,
  .coupon {
    grid-template-columns: 1fr;
  }

  .search {
    display: grid;
  }

  .news-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-hero,
  .shop-toolbar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-news-link {
    width: 100%;
  }

  .news-modal {
    padding: 10px;
  }

  .news-modal-content {
    padding: 18px;
  }

  .news-modal-image {
    max-height: 220px;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-row img {
    width: 100%;
    height: 180px;
  }

  .staff-card {
    grid-template-columns: 88px 1fr;
  }

  .map-embed-card iframe {
    height: 320px;
  }

  .trust-row,
  .category-grid,
  .solution-grid,
  .livestream-features,
  .livestream-kits,
  .meeting-grid,
  .meeting-specs,
  .news-grid,
  .itemdd-account-intro,
  .itemdd-social-login-panel,
  .itemdd-account-dashboard,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  h1 {
    font-size: 38px;
  }

  .hero-panel,
  .hero-carousel,
  .hero-carousel img {
    min-height: 320px;
    height: 320px;
  }

  footer {
    display: block;
  }

  footer a {
    display: inline-block;
    margin: 14px 14px 0 0;
  }
}

/* ============================================
   HIDE PRICES — 2026-06-13 (REVISED)
   Hide prices and Add to Cart completely.
   To restore: remove this block.
   ============================================ */

/* === Hide price HTML in product cards (loop) === */
.price-row,
.price,
span.price,
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .summary .price,
.woocommerce .product .price,
.woocommerce ul.products li.product .price,
.woocommerce-page .price,
.single-product .summary .price,
.woocommerce-variation-price,
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal,
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal .amount,
.woocommerce-checkout-review-order-table .order-total .amount,
.woocommerce-checkout .shop_table tfoot td {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* === Hide Add to Cart button on single product pages === */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product .single_add_to_cart_button,
.single_add_to_cart_button,
button.single_add_to_cart_button,
.woocommerce button.button.alt.single_add_to_cart_button {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === Hide quantity input on single product page === */
.woocommerce div.product form.cart .quantity {
    display: none !important;
    visibility: hidden !important;
}

/* === "Ask for price" note near top of single product page === */
.woocommerce div.product .summary::before {
    content: "สอบถามราคา: sales.itemdd@gmail.com";
    display: block;
    background: #fff8e1;
    color: #663c00;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid #f6d976;
}

/* === Contact-link button (in product card loop) === */
a.cart-link.contact-link {
    background: #1f4ed8 !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    font-weight: 600 !important;
    border: 0 !important;
}

a.cart-link.contact-link:hover {
    background: #0f3ab3 !important;
}

/* === Hide on CART page: prices in line items + totals === */
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td,
.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal,
.woocommerce-cart .cart-subtotal,
.woocommerce-cart .order-total {
    display: none !important;
}

/* === Hide on CHECKOUT page: prices in review table === */
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-total,
.woocommerce-checkout-review-order-table tfoot,
.woocommerce-checkout .shop_table tfoot {
    display: none !important;
}

/* === HIDE PRICES FIX v3 — 2026-06-13 === */
/* The theme uses custom markup; default WC selectors miss the price and CTA. */

div.product,
.woocommerce div.product,
.woocommerce-page div.product {
    /* selector context only */
}

/* === Price element on single-product page: theme uses <p class="price"> inside .summary === */
.summary p.price,
.summary .price,
.summary .woocommerce-Price-amount,
.summary .woocommerce-Price-currencySymbol,
.summary .price-row,
.woocommerce-product-details__short-description + form + p.price,
.woocommerce div.product p.price,
.woocommerce-page p.price,
p.price {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
}

/* === Add to Cart button on single-product page === */
.woocommerce div.product form.cart,
.woocommerce-page div.product form.cart,
form.cart {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Single button is the same form.cart, hide via the form above */

/* === Contact-link in card loop (already in v2) - reaffirm === */
a.cart-link.contact-link {
    display: inline-block !important;
    visibility: visible !important;
}

/* === Add a banner "ask for price" near the H1 on single product page === */
.summary h1.product_title::after {
    content: "📞 สอบถามราคา: sales.itemdd@gmail.com";
    display: block;
    background: #fff8e1;
    color: #663c00;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 16px;
    border: 1px solid #f6d976;
    font-size: 16px;
    line-height: 1.5;
}