@charset "utf-8";

:root {
  /* Brand */
  --PrimaryRed: #E84335;
  --PrimaryRedHover: #D3382A;
  --SecondaryGreen: #2CB8B1;
  --SecondaryGreenHover: #189E98;

  /* Base */
  --White: #FFFFFF;
  --BgLight: #F8FAFA;

  /* Text */
  --DefaultFontColor: #404040;
  --LightFontColor: #707070;

  /* UI */
  --BorderColor: #E8E8E8;
}

/* ----- Reset ----- */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

*:focus {
  outline: none;
  box-shadow: none !important;
}

/* ----- Base Layout ----- */
html,
body {
  min-height: 100vh;
}

html {
  overflow-y: auto;
}

body {
  font-family: 'Noto Sans', 'Noto Sans Thai', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;

  color: var(--DefaultFontColor);
  background: var(--SecondaryGreen);

  display: flex;
  flex-direction: column;
}

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

/* ----- Text ----- */
p,
div {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ----- Form ----- */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
}

textarea {
  resize: none;
}

button {
  cursor: pointer;
}

/* ----- Link ----- */
a {
  text-decoration: none;
  color: var(--DefaultFontColor);
}

a:hover {
  text-decoration: none;
  color: var(--PrimaryRed);
}

/* ----- Structure ----- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-header {
  width: 100%;
  height: 119px;
  flex-shrink: 0;
  background-color: var(--White);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: auto;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(44, 184, 177, 0.12);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.page-body {
  width: 100%;
  flex: 1;
  background: var(--White);
  position: relative;
  z-index: 1;
}

.page-footer {
  width: 100%;
  flex-shrink: 0;
  background: transparent;
}

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

.header-logo{
  flex-shrink: 0;
}

.header-logo img{
  display: block;
  height: 72px;
  width: auto;
}
/*----- Menu ----*/
.header-menu{
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  top: 15px;
}

.header-menu a{
  position: relative;
  color: var(--DefaultFontColor);
  font-size: 16px;
  font-weight: 500;
  transition: .25s;
}

.header-menu a:hover{
  color: var(--PrimaryRed);
}

.header-menu a:not(.btn-buy)::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--PrimaryRed);
  transition: .25s;
}

.header-menu a:not(.btn-buy):hover::after{
  width:100%;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: #C9342A;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: background-color .2s ease;
}

.btn-buy i {
  font-size: 13px;
}

.btn-buy:hover {
  background: #B92D24;
  color: #FFFFFF !important;
  text-decoration: none;
}

.menu-divider{
  width: 1px;
  height: 18px;
  background: #DDDDDD;
}

.menu-buy{
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--PrimaryRed);
  font-weight: 600;
}

.menu-buy:hover{
  color: var(--PrimaryRedHover);
}

.language-switch{
  display: flex;
  align-items: center;
  gap: 6px;
  color: #999;
}

.language-switch i{
  font-size: 14px;
}

.language-switch a{
  color: #888;
  font-size: 14px;
  font-weight: 600;
}

.language-switch a.active{
  color: var(--PrimaryRed);
}

/*-- footer --*/
.footer-content{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  height:64px;
}

.footer-left{
    /* เว้นว่าง */
}

.footer-copyright{
  justify-self:center;
  color:rgba(255,255,255,.9);
  font-size:14px;
}

.footer-social{
  justify-self:end;
  display:flex;
  gap:18px;
}
