#header .logo {
  margin: 0 !important;
  margin-top: 0 !important;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .logo a {
  display: inline-flex;
  align-items: center;
  max-width: 170px;
  height: 80px;
}

#header .logo img {
  display: block;
  width: auto;
  max-width: 151px;
  max-height: 55px;
}

#header .sp-header-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#header .nav .sf-menu {
  float: none;
  display: flex;
  justify-content: flex-end;
}

#header .nav .sf-menu > li > a {
  padding-top: 28px;
  padding-bottom: 28px;
}

#header .sp-message-link {
  width: 170px;
  line-height: 32px;
  min-height: 32px;
  margin-top: 0;
  margin-left: 30px;
  border-radius: 5px;
  background: #555;
  color: #bfbfbf;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

#header .sp-message-link:hover {
  color: #fff;
  background: #42a466;
  text-decoration: none;
}

#header .sp-message-link i {
  color: #42a466;
  padding-right: 5px;
}

#header .sp-message-link:hover i {
  color: #fff;
}

#header .sp-lang-switch {
  position: relative;
  flex: 0 0 auto;
  margin-left: 12px;
  z-index: 30;
}

#header .sp-lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 118px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: #4b4a49;
  color: #c8c8c8;
  font-size: 13px;
  line-height: 32px;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#header .sp-lang-toggle i {
  color: #42a466;
  padding-right: 6px;
}

#header .sp-lang-toggle .sp-lang-arrow {
  padding-right: 0;
  padding-left: 8px;
  color: #8f8f8f;
  font-size: 12px;
}

#header .sp-lang-switch:hover .sp-lang-toggle,
#header .sp-lang-switch:focus-within .sp-lang-toggle {
  border-color: #42a466;
  background: #42a466;
  color: #fff;
}

#header .sp-lang-switch:hover .sp-lang-toggle i,
#header .sp-lang-switch:focus-within .sp-lang-toggle i {
  color: #fff;
}

#header .sp-lang-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  min-width: 170px;
  padding: 6px 0;
  border-top: 3px solid #42a466;
  background: #333130;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

#header .sp-lang-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 22px;
  border-right: 6px solid transparent;
  border-bottom: 7px solid #42a466;
  border-left: 6px solid transparent;
}

#header .sp-lang-switch:hover .sp-lang-menu,
#header .sp-lang-switch:focus-within .sp-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#header .sp-lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  color: #d5d5d5;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

#header .sp-lang-option:hover,
#header .sp-lang-option.is-active {
  background: #42a466;
  color: #fff;
  text-decoration: none;
}

#header .sp-lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#header .sp-lang-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-inquiry-form .form-status {
  display: none;
  margin: 12px 0 0;
  color: #fff;
  font-size: 14px;
}

.sp-inquiry-form .form-status.is-visible {
  display: block;
}

.sp-inquiry-form .form-status.is-error {
  color: #ffe1dd;
}

.sp-detail-title {
  margin: 0 0 20px;
  color: #3f3f3f;
  font-size: 28px;
  line-height: 1.3;
}

.sp-detail-cover {
  display: block;
  max-width: 100%;
  margin: 0 auto 25px;
}

.sp-detail-lead {
  padding: 15px 20px;
  border-left: 3px solid #42a466;
  background: #f5f5f5;
  color: #666;
  font-size: 16px;
}

.sp-detail-meta {
  margin-bottom: 20px;
  color: #888;
}

.sp-richtext {
  line-height: 1.8;
}

.sp-richtext img {
  max-width: 100%;
  height: auto;
}

.sp-product-group + .sp-product-group {
  margin-top: 10px;
}

.sp-product-category-card {
  display: flex;
  margin-bottom: 30px;
  overflow: hidden;
  height: 230px;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.sp-product-category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sp-product-category-card:hover img {
  transform: scale(1.05);
}

#main .sidebar .sp-latest-news {
  margin-bottom: 30px;
}

.sp-faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}

.sp-faq-item h2 {
  background: #f1f1ed !important;
  color: #333;
  text-transform: none !important;
}

a,
a:focus,
a:active,
a:focus-visible,
button,
button:focus,
button:active,
button:focus-visible,
[role="button"],
[role="button"]:focus,
[role="button"]:active,
[role="button"]:focus-visible,
.btn,
.btn:focus,
.btn:active,
.btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

#main .page .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

#main .page .pagination > li {
  padding: 0;
  margin: 0;
}

#main .page .pagination > li::before {
  display: none;
}

#main .page .pagination > li > a,
#main .page .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #44ab6b;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  color: #44ab6b;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#main .page .pagination > li > a:hover,
#main .page .pagination > li > a:focus {
  border-color: #349253;
  background: #f0faf4;
  color: #349253;
  outline: none;
}

#main .page .pagination > .active > a,
#main .page .pagination > .active > a:hover,
#main .page .pagination > .active > span,
#main .page .pagination > .active > span:hover {
  border-color: #42a466;
  background: #42a466;
  color: #fff;
  cursor: default;
}

#main .page .pagination > .disabled > a,
#main .page .pagination > .disabled > a:hover,
#main .page .pagination > .disabled > span,
#main .page .pagination > .disabled > span:hover {
  border-color: #d8ddd9;
  background: #f5f6f5;
  color: #a7ada9;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  #header .sp-message-link,
  #header .sp-lang-switch {
    display: none;
  }
}

@media (max-width: 767px) {
  #header .sp-header-main,
  #header .sp-header-nav,
  #header .nav .sf-menu {
    display: none !important;
  }

  #main .page .pagination {
    gap: 4px;
  }

  #main .page .pagination > li > a,
  #main .page .pagination > li > span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .sp-detail-title {
    font-size: 23px;
  }
}
