:root {
  --color-navy: #0c2340;
  --color-navy-2: #14385f;
  --color-orange: #f47b20;
  --color-orange-2: #ff9f43;
  --color-teal: #147c7c;
  --color-white: #ffffff;
  --color-ink: #17202f;
  --color-muted: #657186;
  --color-line: #d9e0ea;
  --color-soft: #f5f7fb;
  --color-soft-2: #eef3f8;
  --shadow-soft: 0 18px 45px rgba(12, 35, 64, 0.12);
  --radius: 8px;
  --container: 1160px;
  --font-main: "Noto Sans Thai", "Tahoma", "Arial", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--color-orange);
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.content-narrow {
  max-width: 920px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 224, 234, 0.9);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: var(--color-navy);
  font-weight: 800;
}

.brand__mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 900;
}

.brand__text {
  display: grid;
  line-height: 1.2;
}

.brand__text small {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  justify-self: end;
}

.site-nav__list {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
  background: var(--color-soft);
  color: var(--color-orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-navy);
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #payment #place_order:hover {
  background: #dc6714;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(244, 123, 32, 0.24);
}

.button--small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 14px;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.button--ghost:hover {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: none;
}

.button--ghost-dark {
  border-color: var(--color-line);
  background: var(--color-white);
  color: var(--color-navy);
}

.button--light {
  background: var(--color-white);
  color: var(--color-navy);
}

.button--light:hover {
  background: var(--color-soft);
  color: var(--color-navy);
  box-shadow: none;
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(720px, calc(100svh - 78px));
  background-color: var(--color-navy);
  background-image: var(--hero-image);
  background-position: center right;
  background-size: cover;
  color: var(--color-white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(12, 35, 64, 0.68);
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 84px 0 78px;
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1,
.page-hero h1,
.cta-section h2 {
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero__meta li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section--light {
  background: var(--color-soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.22;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--color-muted);
}

.problem-grid,
.product-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.product-card,
.video-grid article,
.post-card,
.entry-content .content-box,
.woocommerce ul.products li.product,
.woocommerce div.product .summary,
.woocommerce div.product div.images {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(12, 35, 64, 0.06);
}

.info-card {
  padding: 24px;
}

.info-card h3,
.product-card h3,
.video-grid h3,
.post-card h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.35;
}

.info-card p,
.product-card p,
.video-grid p,
.post-card p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.product-card--accent {
  border-color: rgba(244, 123, 32, 0.5);
}

.texcel-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: var(--radius);
  background: rgba(244, 123, 32, 0.12);
  color: #b8520c;
  font-size: 13px;
  font-weight: 900;
}

.texcel-badge--floating {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  background: var(--color-navy);
  color: var(--color-white);
}

.product-card h3 {
  margin-top: 16px;
}

.product-card__price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  margin: 18px 0;
  color: var(--color-orange);
  font-size: 30px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-ink);
}

.check-list li::before {
  position: absolute;
  top: 0.35em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 124, 124, 0.13);
  color: var(--color-teal);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.check-list--compact {
  gap: 6px;
  margin-bottom: 14px;
}

.check-list--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(12, 35, 64, 0.06);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 15px;
}

.compare-table tbody th {
  width: 26%;
  color: var(--color-navy);
  font-weight: 900;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.video-grid article {
  padding: 22px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 16px;
  border-radius: var(--radius);
  background: var(--color-navy);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 900;
}

.steps h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 18px;
}

.steps p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(12, 35, 64, 0.04);
}

.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--color-navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--color-orange);
  content: "+";
  font-size: 24px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--color-muted);
}

.cta-section {
  padding: 74px 0;
  background: var(--color-navy);
  color: var(--color-white);
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-section h2 {
  max-width: 780px;
  font-size: clamp(30px, 5vw, 48px);
}

.cta-section p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 78px 0;
  background: var(--color-navy);
  color: var(--color-white);
}

.page-hero--shop {
  background: var(--color-navy-2);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  color: var(--color-navy);
  line-height: 1.3;
}

.entry-content h2 {
  margin: 34px 0 14px;
  font-size: 30px;
}

.entry-content h3 {
  margin: 26px 0 10px;
  font-size: 22px;
}

.entry-content p,
.entry-content li {
  color: var(--color-ink);
}

.entry-content a {
  color: var(--color-orange);
  font-weight: 800;
}

.entry-content .texcel-shortcode {
  margin: -20px 0 0;
}

.notice-box,
.download-step,
.contact-panel,
.policy-box {
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-soft);
}

.notice-box {
  border-color: rgba(244, 123, 32, 0.35);
  background: rgba(244, 123, 32, 0.08);
}

.download-steps,
.contact-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-step h3,
.contact-panel h3,
.policy-box h3 {
  margin-top: 0;
}

.site-footer {
  background: #07172a;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 36px;
}

.brand--footer {
  color: var(--color-white);
}

.brand--footer .brand__mark {
  background: var(--color-orange);
}

.brand--footer .brand__text small,
.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--color-white);
  font-size: 17px;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--color-orange-2);
}

.site-footer__bottom {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
  margin: 0;
  font-size: 14px;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  padding: 24px;
}

.text-link {
  color: var(--color-orange);
  font-weight: 900;
}

.woocommerce .woocommerce-products-header,
.shop-section .page-title,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  display: none;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-ink);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  float: none;
  width: auto;
  margin: 0;
  padding: 28px;
}

.woocommerce ul.products li.product a img {
  border-radius: var(--radius);
  background: var(--color-soft);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  margin: 14px 0 0;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1.35;
}

.texcel-loop-summary p {
  color: var(--color-muted);
}

.texcel-loop-summary__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.texcel-file-type {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: var(--color-soft);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 900;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}

.woocommerce ul.products li.product a img,
.woocommerce div.product div.images {
  display: none;
}

.woocommerce div.product .summary,
.woocommerce div.product div.images {
  padding: 28px;
}

.woocommerce div.product .product_title {
  margin: 14px 0;
  color: var(--color-navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.woocommerce-product-details__short-description {
  color: var(--color-muted);
}

.product-fit {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.product-fit h3 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: 20px;
}

.product-fit__note {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--color-soft);
  color: var(--color-navy);
  font-weight: 800;
}

.product-video-section {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 28px;
}

.woocommerce-tabs,
.related.products {
  grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: var(--radius) var(--radius) 0 0;
}

.woocommerce table.shop_table {
  border-radius: var(--radius);
  border-color: var(--color-line);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--color-orange);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--color-orange);
}

@media (max-width: 1024px) {
  .problem-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    grid-template-columns: auto auto auto;
  }

  .header-cta {
    justify-self: end;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    display: grid;
  }

  .site-nav__list a {
    width: 100%;
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-header__inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand__text small {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero__inner {
    min-height: 640px;
    padding: 64px 0;
  }

  .hero h1,
  .page-hero h1,
  .cta-section h2 {
    font-size: 36px;
  }

  .hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .problem-grid,
  .product-grid,
  .video-grid,
  .steps,
  .download-steps,
  .contact-grid,
  .policy-grid,
  .site-footer__grid,
  .cta-section__inner,
  .woocommerce ul.products,
  .check-list--two {
    grid-template-columns: 1fr;
  }

  .product-card,
  .info-card,
  .video-grid article,
  .steps li,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce div.product .summary,
  .woocommerce div.product div.images {
    padding: 22px;
  }

  .cta-section__inner .button {
    width: 100%;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    width: 100%;
  }
}
