@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
  font-size: 100%;
}

body {
  font-family: "Prompt", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #000;
  background-color: #FFF;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-size: 100%;
}

/* =============== Search =============== */
:root {
  --global-search-primary-color: #0d6efd;
  --global-search-secondary-color: #6c757d;
  --global-search-light-bg: #f8f9fa;
  --global-search-border-color: #dee2e6;
}

.global-search-navbar-brand {
  font-weight: 700;
  color: #0a58ca;
}

.global-search-trigger {
  background: var(--global-search-primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.global-search-trigger:hover,
.global-search-trigger:focus {
  background: #0b5ed7;
  transform: scale(1.05);
  outline: 2px solid #0a58ca;
  outline-offset: 2px;
}

.global-search-modal .modal-content {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
}

.global-search-modal .modal-header {
  border-bottom: 1px solid var(--global-search-border-color);
  padding: 1.25rem 1.5rem;
  background: var(--global-search-light-bg);
  border-radius: 12px 12px 0 0;
}

.global-search-modal .modal-body {
  padding: 1.5rem;
}

.global-search-input-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.global-search-input {
  padding: 12px 50px 12px 16px;
  border-radius: 8px;
  border: 2px solid var(--global-search-border-color);
  font-size: 1.1rem;
  width: 100%;
  transition: all 0.3s;
}

.global-search-input:focus {
  border-color: var(--global-search-primary-color);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
  outline: 2px solid var(--global-search-primary-color);
}

.global-search-submit-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--global-search-primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  width: 80px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.global-search-submit-btn:hover,
.global-search-submit-btn:focus {
  background: #0b5ed7;
  outline: 2px solid #0a58ca;
  outline-offset: 2px;
}

.global-search-popular-tags {
  margin-bottom: 1.5rem;
}

.global-search-tag {
  display: inline-block;
  background: #e9ecef;
  color: #495057;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.global-search-tag:hover,
.global-search-tag:focus {
  background: #dee2e6;
  transform: translateY(-2px);
  outline: 2px solid var(--global-search-primary-color);
  outline-offset: 2px;
}

.global-search-advanced-toggle {
  display: flex;
  align-items: center;
  color: var(--global-search-primary-color);
  cursor: pointer;
  margin-bottom: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.global-search-advanced-toggle:hover,
.global-search-advanced-toggle:focus {
  background-color: rgba(13, 110, 253, 0.1);
  outline: 2px solid var(--global-search-primary-color);
  outline-offset: 2px;
}

.global-search-advanced-toggle i {
  margin-right: 8px;
  transition: transform 0.3s;
}

.global-search-advanced-toggle.collapsed i {
  transform: rotate(0deg);
}

.global-search-advanced-toggle:not(.collapsed) i {
  transform: rotate(180deg);
}

.global-search-advanced-options {
  background: var(--global-search-light-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--global-search-border-color);
}

.global-search-filter-group {
  margin-bottom: 1.5rem;
}

.global-search-filter-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #495057;
  font-size: 1rem;
}

.global-search-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.global-search-filter-option {
  display: flex;
  align-items: center;
}

.global-search-filter-option input {
  margin-right: 6px;
  width: 18px;
  height: 18px;
}

.global-search-filter-option input:focus {
  outline: 2px solid var(--global-search-primary-color);
  outline-offset: 2px;
}

.global-search-filter-option label {
  cursor: pointer;
}

.global-search-date-range {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.global-search-date-input {
  flex: 1;
  min-width: 150px;
}

.global-search-date-input label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: #6c757d;
}

.global-search-date-input input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--global-search-border-color);
  border-radius: 4px;
}

.global-search-date-input input:focus {
  outline: 2px solid var(--global-search-primary-color);
  outline-offset: 2px;
}

.global-search-category-badge {
  background: var(--global-search-primary-color);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.global-search-result-badge {
  background: #6041c6;
  color: #FFF;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.global-search-result-item {
  background: white;
  border: 1px solid var(--global-search-border-color);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.global-search-result-title {
  margin-top: 15px;
  font-size: 1.25rem;
}

.global-search-result-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.global-search-tag-small {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  background: #e9ecef;
  margin-right: 0.5rem;
}

@media (prefers-contrast: high) {
  .global-search-tag {
    border: 2px solid #000;
  }

  .global-search-result-item {
    border: 1px solid #000;
  }
}

@media (prefers-reduced-motion: reduce) {

  .global-search-trigger,
  .global-search-tag,
  .global-search-result-item,
  .global-search-advanced-toggle {
    transition: none;
  }

  .global-search-fade-in {
    animation: none;
  }
}

@media (max-width: 768px) {
  .global-search-result-item {
    flex-direction: column;
  }

  .global-search-result-image {
    width: 100%;
    height: 160px;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .global-search-date-range {
    flex-direction: column;
  }

  .global-search-date-input {
    width: 100%;
  }

  .global-search-filter-options {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.global-search-fade-in {
  animation: globalSearchFadeIn 0.5s ease-in-out;
}

@keyframes globalSearchFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
  outline: 2px solid var(--global-search-primary-color);
  outline-offset: 2px;
}

/* =============== Cookie Consent =============== */
.cookie-consent-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 800px;
  background-color: #FFFFFF;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-header {
  display: flex;
  align-items: flex-start;
}

.cookie-icon {
  background-color: #e7ecff;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.cookie-icon svg {
  width: 24px;
  height: 24px;
  color: #FF6B35;
}

.cookie-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: #2D3748;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-accept {
  background: linear-gradient(90deg, #ed9a36, #f7bd63);
  border: none;
  color: #000;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-accept:hover,
.btn-accept:focus {
  background: linear-gradient(90deg, #ed9a36, #f7bd63);
  transform: translateY(-2px);
  box-shadow: 0px 3px 8px rgba(178, 22, 111, 0.35);
}

@media (max-width: 768px) {
  .cookie-consent-container {
    width: 90%;
    padding: 20px;
  }

  .cookie-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cookie-icon {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .btn-accept {
    width: 100%;
  }
}

.go-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #444FA2;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(68, 79, 162, 0.4);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* แสดงตอน scroll */
.go-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-to-top:hover {
  background: #373f85;
  /*transform: translateY(-3px);*/
  box-shadow: 0 10px 22px rgba(68, 79, 162, 0.5);
}

.go-to-top:active {
  transform: scale(0.95);
}

.go-to-top i {
  font-weight: 900;
  color: #fff;
}

/* ============================== Navbar ============================== */
.main-navbar {
  padding: 3px 0;
  /*border-bottom: 1px solid #eee;*/
}

/* LOGO */
.logo {
  height: 70px;
}

/* MENU */
.navbar-nav .nav-link {
  font-size: 16px;
  color: #333e94;
  margin: 0 10px;
  position: relative;
  font-weight: 500;
}

.navbar-nav .nav-link.active {
  color: #bf6904;
}

/* ACTIVE (เส้นใต้ส้ม) */
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -23px;
  width: 100%;
  height: 4px;
  background: #f99d1b;
  border-radius: 0px;
}

/* HOVER */
.navbar-nav .nav-link:hover {
  color: #444fa2;
}

/* DROPDOWN */
.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.dropdown-item {
  padding: 8px 20px;
  font-size: 16px;
}

@media (max-width: 576px) {
  .dropdown-item {
    white-space: break-spaces;
  }
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-item,
.dropdown-item:focus,
.dropdown-item:focus-visible,
.dropdown-item:active,
.dropdown-item.active {
  color: #000 !important;
}

.dropdown-menu {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}

.nav-link:focus,
.nav-link:focus-visible,
.dropdown-toggle:focus,
.dropdown-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ===== FIX เมนูไม่ให้ตัดคำ แต่ให้ขึ้นบรรทัดใหม่ทั้งเมนู ===== */
.navbar-nav {
  flex-wrap: wrap;
}

.navbar-nav .nav-link {
  white-space: nowrap;
}

/* LANGUAGE BUTTON */
.lang-switch {
  background: #444fa2;
  color: #fff;
  padding: 10px 17px;
  border-radius: 6px;
  font-size: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.lang-switch .link-lang-switch {
  opacity: 0.7;
  cursor: pointer;
  color: #fff !important;
  text-decoration: none !important;
}

.lang-switch .link-lang-switch.active {
  opacity: 1;
  font-weight: 600;
  color: #fff;
  text-decoration: none !important;
}

/* SEARCH */
.search-btn {
  background: transparent;
  border: none;
}

.search-btn img {
  height: 22px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: left;
    margin-top: 20px;
  }

  .navbar-nav .nav-link {
    margin: 10px 0;
  }

  .lang-switch {
    margin-top: 10px;
  }
}

@media (max-width: 1399px) {
  .navbar-nav .nav-link.active::after {
    bottom: 0;
  }
}

/* =============== Slider =============== */
.carousel-item {
  position: relative;
  background: radial-gradient(circle at center, #2c3195 0%, #1f2366 50%, #1e2266 100%);
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: transparent;
}

/* desktop ใหญ่ (1400px ขึ้นไป) ใช้ contain */
@media (min-width: 1400px) {
  .carousel-item img {
    object-fit: contain;
  }
}

/* ===== Caption ===== */
.custom-caption {
  position: absolute;
  left: 0;
  right: 0;
  text-align: left;
  padding: 0 5%;
}

/* desktop - ข้อความอยู่กึ่งกลาง */
@media (min-width: 769px) {
  .custom-caption {
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
}

/* mobile */
@media (max-width: 768px) {
  .custom-caption {
    position: relative;
    top: auto;
    bottom: auto;
    background: linear-gradient(135deg, #1f2367, #2a2f7a);
    padding: 20px 5% 25px 5%;
    margin-top: -2px;
  }
}

.custom-caption .container {
  width: 100%;
  z-index: 2;
}

/* text shadow */
.hero-text {
  color: #fff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.title-small {
  font-size: clamp(1rem, 4vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 5px;
}

.title-brand {
  font-size: clamp(1.25rem, 5vw, 2.625rem);
  font-weight: 500;
  color: #f99d1b;
  margin-bottom: 10px;
}

.desc {
  font-size: clamp(0.75rem, 2.5vw, 1.125rem);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ===== Buttons ===== */
.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.btn-gradient {
  background: linear-gradient(90deg, #ea9228, #f9c56d);
  border: 2px solid #f7c16c;
  color: #000;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 8px;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  color: #000;
  opacity: .9;
}

.btn-download {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

.btn i {
  margin-right: 6px;
}

/* check line */
.hero-check {
  font-size: clamp(0.7rem, 2vw, 0.875rem);
  opacity: .9;
}

.hero-check i {
  color: #8fff9c;
  margin-right: 5px;
}

/* ===== Indicators ===== */
.custom-indicators {
  bottom: 25px;
  z-index: 15;
}

.custom-indicators [data-bs-target] {
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  opacity: 1;
  transition: all 0.3s ease;
  transform: scale(1);
}

.custom-indicators .active {
  transform: scale(1.3);
  background-color: #ffffff;
}

/* ===== Arrow ===== */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  opacity: 0.7;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

/* icon สีขาว */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
  width: 30px;
  height: 30px;
  background-size: 100% 100%;
}

/* ===== Responsive ===== */
@media (min-width: 1920px) {
  .carousel-item img {
    max-height: 395px;
    height: auto;
  }
}

.custom-caption {
  padding: 20px 5% 25px 5%;
}

.hero-buttons {
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.hero-buttons .btn {
  width: 100%;
  text-align: center;
}

.title-brand {
  margin-bottom: 8px;
}

.desc {
  margin-bottom: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 30px;
}

.custom-indicators {
  bottom: 25px;
}

.custom-indicators [data-bs-target] {
  width: 16px;
  height: 16px;
  margin: 0 6px;
}

/* มือถือเล็ก 480px ลงมา */
@media (max-width: 480px) {
  .carousel-item img {
    max-height: 350px;
    height: auto;
  }

  .custom-caption {
    padding: 15px 4% 20px 4%;
  }

  .hero-text {
    width: 100%;
  }

  .title-small {
    font-size: 1.2rem;
  }

  .title-brand {
    font-size: 1.2rem;
  }

  .custom-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

/* =============== PRODUCTS =============== */
.products-section {
  background: url(../images/bg-products.jpg) center/cover no-repeat;
  margin-top: -1px;
}

.section-title h2 {
  font-size: 1.7rem;
}

.section-title p {
  font-size: 18px;
}

.product-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  transition: .3s;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.product-card .bi {
  margin-right: -6px;
}

.product-card img {
  height: clamp(140px, 15vw, 250px);
  object-fit: contain;
  margin-bottom: 2px;
}

.product-card p {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 2px;
}

.product-card h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 3px;
}

.product-card p {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 2px;
}

.product-card .btn {
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 16px;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.product-detail-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef0fc 100%);
  padding: 40px 0;
  border-bottom: 1px solid var(--oil-border);
}

.product-badge {
  display: inline-block;
  background: var(--oil-purple-light);
  color: var(--oil-purple);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.product-code {
  font-size: 0.9rem;
  color: var(--oil-purple);
  font-weight: 600;
  margin-bottom: 15px;
}

.product-oe-number {
  font-size: 0.9rem;
  color: var(--oil-purple);
  font-weight: 600;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--oil-orange);
  margin-bottom: 20px;
}

.product-description {
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
  margin-bottom: 25px;
}

.product-image-main {
  background: white;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--oil-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-image-main img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.spec-section {
  background: white;
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  border: 1px solid var(--oil-border);
}

.spec-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--oil-purple);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--oil-orange);
  display: inline-block;
}

.spec-table {
  width: 100%;
}

.spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--oil-border);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  width: 35%;
  color: #1e293b;
}

.spec-value {
  color: #000;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--oil-orange);
  font-weight: bold;
}

.diagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--oil-purple-light);
  color: var(--oil-purple);
  padding: 12px 25px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  transition: all 0.2s;
}

.diagram-link:hover {
  background: var(--oil-purple);
  color: white;
  gap: 15px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--oil-purple);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 20px;
  transition: gap 0.2s;
}

.back-link:hover {
  gap: 12px;
  color: var(--oil-purple-dark);
}

@media (max-width: 768px) {
  .product-title {
    font-size: 1.5rem;
  }

  .product-price {
    font-size: 1.2rem;
  }
}

.diagram-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.diagram-title span {
  color: var(--oil-purple);
}

.diagram-image {
  background: white;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--oil-border);
}

.diagram-image img {
  max-width: 100%;
  height: auto;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.component-card {
  background: white;
  border: 1px solid var(--oil-border);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s;
}

.component-card:hover {
  box-shadow: 0 10px 25px rgba(68, 79, 162, 0.1);
  border-color: var(--oil-purple);
}

.component-icon {
  width: 60px;
  height: 60px;
  background: var(--oil-purple-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.component-icon i {
  font-size: 28px;
  color: var(--oil-purple);
}

.component-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.component-desc {
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
  margin-bottom: 0;
}

.component-desc strong {
  color: var(--oil-purple);
}

.info-footer {
  background: linear-gradient(95deg, var(--oil-purple-light) 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 35px;
  margin: 40px 0;
}

.info-footer p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.info-footer strong {
  color: var(--oil-purple);
}

@media (max-width: 768px) {
  .component-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .diagram-title {
    font-size: 1.6rem;
  }

  .diagram-image {
    padding: 15px;
  }
}

/* =============== KNOWLEDGE =============== */
.knowledge-section {
  background: url(../images/bg-knowledge.jpg) center/cover no-repeat;
}

.knowledge-left h2 {
  font-size: 1.7rem;
}

.knowledge-left p {
  font-size: 18px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.knowledge-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.knowledge-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}

.knowledge-list li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #e8b461;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.knowledge-btn {
  border-radius: 6px;
  padding: 10px 22px;
  border: 2px solid #aff2fa;
}

.knowledge-card {
  color: #000;
  background: #FFF;
  padding: 25px;
  border-radius: 16px;
  height: 100%;
  transition: .3s;
  text-decoration: none;
}

.knowledge-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.knowledge-card p {
  font-size: 16px;
  color: #000;
  margin-bottom: 15px;
}

.knowledge-card:hover {
  background: #f9fbfc;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
  color: #070e8c;
}

.knowledge-card:hover p {
  color: #070e8c;
}

.knowledge-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.knowledge-card .read-more {
  margin-top: auto;
  color: #a37503;
  font-weight: 600;
  text-decoration: underline;
  display: block;
}

.line-orange {
  border-top: 1px solid #c5ad91;
  border-bottom: 1px solid #c5ad91;
}

/* =============== NEWS =============== */
.news-section {
  background: #1f2367;
}

.news-btn {
  padding: 5px 18px;
  font-weight: 500;
}

.news-card {
  background: #f1f1f1;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #000;
  height: 100%;
  transition: .25s;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img {
  padding: 16px;
  padding-bottom: 0;
}

.news-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

.news-body {
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-date {
  background: #e3a646;
  color: #000;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
}

.news-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card p {
  color: #000;
  margin-bottom: 0;
}

.news-card:hover,
.news-card:hover p {
  transform: translateY(-1px);
  background: #f9fbfc;
  color: #070e8c;
}

.news-card-page {
  background: white;
  border: 1px solid var(--oil-border);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #000;
  height: 100%;
  transition: .25s;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-card-page h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card-page p {
  color: #000;
  margin-bottom: 0;
}

.news-card-page:hover,
.news-card-page:hover p {
  background: #f9fbfc;
  color: #070e8c;
}

/* =============== FOOTER =============== */
.footer-section {
  background: #313a76;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 30px;
  position: relative;
}

.footer-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f99d1b;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 55px;
}

.footer-logo span {
  font-weight: 500;
  font-size: 22px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.footer-contact i {
  color: #f99d1b;
  min-width: 18px;
  margin-top: 3px;
}

@media (min-width: 0px) and (max-width: 1199.98px) {
  .printer-item {
    margin-left: -25px;
  }
}

/* title */
.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 16px;
}

/* links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #FFF;
  text-decoration: none;
  transition: .2s;
  font-size: 16px;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* social */
.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-social img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: .2s;
}

.footer-social a:hover img {
  transform: translateY(-3px);
}

/* copyright */
.footer-copy {
  font-size: 14px;
  margin: 0;
}

.go-top.show {
  opacity: 1;
  visibility: visible;
}

.go-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #444fa2;
  width: 48px;
  height: 48px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 999;
}

/* =============== PAGE =============== */
.header-page {
  background-color: #191f54;
}

.title-page h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #FFF;
}

.title-page p {
  font-size: 1.7rem;
  font-weight: 500;
  color: #f89d1d;
}

.bg-breadcrumb {
  background-color: #f4f5f8;
}

/* ----- Root Variables ----- */
:root {
  --oil-purple: #4b53a2;
  --oil-purple-dark: #353e82;
  --oil-purple-light: #eef0fc;
  --oil-orange: #f89d1d;
  --oil-orange-dark: #e08810;
  --oil-orange-light: #fff3e6;
  --oil-gray-bg: #f8fafc;
  --oil-border: #e9ecef;
  --oil-text-dark: #1e293b;
  --oil-text-muted: #5b6e8c;
}

/* Breadcrumb */
.oil-breadcrumb {
  font-size: 0.85rem;
  color: #000;
  padding: 16px 0 8px 0;
}

.oil-breadcrumb a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.oil-breadcrumb a:hover {
  color: #444;
}

.oil-breadcrumb span {
  color: #000;
  font-weight: 500;
}

/* Hero Section - คำอธิบายสินค้า */
.oil-hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #fef7ec 100%);
  padding: 40px 0 50px 0;
  border-bottom: 1px solid var(--oil-border);
}

.oil-badge {
  display: inline-block;
  background: rgba(68, 79, 162, 0.12);
  color: var(--oil-purple);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.oil-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--oil-text-dark);
  line-height: 1.3;
}

.oil-hero-title span {
  color: var(--oil-orange);
}

.oil-stat-badge {
  background: white;
  border-radius: 60px;
  padding: 8px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--oil-purple);
}

.oil-hero-image {
  background: white;
  border-radius: 40px;
  padding: 24px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.oil-hero-image img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.oil-feature-card {
  background: white;
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  border: 1px solid var(--oil-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.oil-feature-card:hover {
  /*border-color: #4850ef; box-shadow: 0 15px 30px -12px rgba(27, 31, 249, 0.15);*/
}

.oil-feature-icon {
  background: var(--oil-purple-light);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--oil-purple);
}

.oil-spec-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--oil-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.oil-spec-header {
  background: var(--oil-purple);
  color: white;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.2rem;
}

.oil-spec-table td {
  padding: 14px 24px;
  border-bottom: 1px solid #f0f2f5;
}

.oil-spec-table tr:last-child td {
  border-bottom: none;
}

.oil-spec-label {
  font-weight: 700;
  width: 38%;
  background-color: #fcfcfd;
  color: var(--oil-text-dark);
}

.oil-product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--oil-border);
}

.oil-product-card:hover {
  box-shadow: 0 20px 30px -12px rgba(68, 79, 162, 0.2);
  border-color: #4850ef;
}

.oil-product-card a,
.oil-product-card:hover a {
  text-decoration: none;
}

.oil-product-img {
  background: linear-gradient(145deg, #f5f6fe, #ffffff);
  padding: 28px 20px;
  text-align: center;
  border-bottom: 1px solid #f0ede8;
}

.oil-product-img img {
  height: 150px;
  object-fit: contain;
  transition: 0.2s;
}

.oil-product-info {
  padding: 20px 18px 24px;
}

.oil-product-title-sm {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--oil-text-dark);
}

.oil-product-code {
  font-size: 0.9rem;
  color: var(--oil-purple);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.oil-product-oe-number {
  font-size: 0.9rem;
  color: var(--oil-purple);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.oil-product-desc {
  font-size: 1rem;
  color: #000;
  margin-bottom: 15px;
}

.oil-product-link {
  font-weight: 600;
  color: #363dca;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: 0.2s;
}

.oil-product-link:hover {
  color: #4850ef;
  gap: 8px;
}

.oil-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 8px;
  flex-wrap: wrap;
}

.oil-page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--oil-border);
  color: var(--oil-text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.oil-page-item:hover {
  background: var(--oil-purple-light);
  border-color: var(--oil-purple);
  color: var(--oil-purple);
}

.oil-page-item.active {
  background: var(--oil-purple);
  border-color: var(--oil-purple);
  color: white;
}

.oil-page-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.oil-cert-section {
  background: linear-gradient(95deg, var(--oil-purple-light) 0%, #ffffff 100%);
  border-radius: 32px;
  padding: 32px 24px;
  margin: 40px 0;
}

.oil-cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #dcdddf;
  border-radius: 60px;
  padding: 8px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.oil-cert-badge img {
  height: 100px;
  width: auto;
}

@media (max-width: 576px) {
  .oil-cert-badge img {
    height: 60px;
  }
}

.oil-info-box {
  background: var(--oil-purple-light);
  border-radius: 28px;
  padding: 32px;
  margin: 30px 0;
  border-left: 6px solid var(--oil-purple);
}

.product-link {
  text-decoration: none;
}

.btn-purple {
  background: linear-gradient(90deg, #444fa2, #5b67c2);
  color: white;
}

.btn-purple:hover,
.btn-purple:focus {
  color: white;
  background: linear-gradient(90deg, #4856bc, #5c69d0)
}

/* About */
.about-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--oil-purple);
  margin: 30px 0 15px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  color: #166534;
  padding: 8px 20px;
  border-radius: 40px;
  margin-top: 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card {
  background: white;
  border: 1px solid var(--oil-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--oil-purple-light);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-icon i {
  font-size: 24px;
  color: var(--oil-purple);
}

.contact-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p {
  color: #000;
  margin-bottom: 0;
}

.contact-card a {
  color: #000;
  text-decoration: none;
}

.contact-card a:hover {
  color: #4850ef;
}

.form-container {
  background: white;
  border: 1px solid var(--oil-border);
  border-radius: 20px;
  padding: 30px;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1e293b;
}

.form-control,
.form-select {
  border: 1px solid var(--oil-border);
  border-radius: 10px;
  padding: 12px 16px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--oil-purple);
  box-shadow: 0 0 0 3px rgba(68, 79, 162, 0.1);
}

.btn-submit {
  background: var(--oil-purple);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 500;
  width: 100%;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: #353e82;
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--oil-purple-light);
  border-radius: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oil-purple);
  font-size: 1.2rem;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--oil-purple);
  color: white;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* download */
.download-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.download-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-color: #444fa2;
}

.download-icon {
  width: 50px;
  height: 50px;
  background: var(--oil-purple-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon i {
  font-size: 24px;
  color: var(--oil-purple);
}

.download-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1e293b;
}

.download-meta {
  font-size: 0.85rem;
  color: #4d5359;
}

.download-btn {
  background: var(--oil-purple);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

.download-btn:hover {
  background: #353e82;
  color: white;
}

.download-btn-outline {
  background: transparent;
  border: 1px solid #444fa2;
  color: #444fa2;
}

.download-btn-outline:hover {
  background: #444fa2;
  color: white;
}

/* article */
.article-card {
  background: white;
  border: 1px solid var(--oil-border);
  border-radius: 24px;
  padding: 28px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  display: block;
  color: inherit;
}

.article-card:hover {
  box-shadow: 0 20px 30px -12px rgba(68, 79, 162, 0.15);
  border-color: var(--oil-purple);
}

.article-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.45;
  color: #000;
}

.article-title1 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.45;
  color: #000;
}

.article-meta {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--oil-border);
}

.article-meta i {
  color: var(--oil-orange-dark);
  margin-right: 5px;
}

.article-excerpt {
  font-size: 1rem;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-read-more {
  color: #a37503;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.article-card:hover .article-read-more {
  gap: 10px;
}

.article-wrapper {
  background: #ffffff;
  padding: 40px 0 60px;
}

.article-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.article-stats {
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef0fc;
  color: #444fa2;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
}

.article-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5b6e8c;
  font-size: 0.85rem;
}

.article-views i {
  color: #f89d1d;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-buttons span {
  font-weight: 500;
  color: #5b6e8c;
  font-size: 0.85rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0fc;
  color: #444fa2;
  transition: all 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  background: #444fa2;
  color: white;
  transform: translateY(-2px);
}

.article-feature-image {
  text-align: center;
  margin: 30px 0 40px;
}

.article-feature-image img {
  max-width: 50%;
  border-radius: 20px;
  object-fit: cover;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-content {
  margin: 0 auto;
  font-size: 1rem;
  color: #000;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: #444fa2;
}

.article-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.2rem 0 0.8rem;
  color: #000;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
}

.article-content li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.article-content .highlight-box {
  background: #fef7ec;
  border-left: 4px solid #f89d1d;
  padding: 1.5rem 2rem;
  margin: 1.8rem 0;
  border-radius: 12px;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* news detail */
.news-detail {
  background: white;
}

.news-detail-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.3;
}

.news-detail-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--oil-border);
}

.news-detail-stats {
  display: flex;
  gap: 20px;
  align-items: center;
}

.news-detail-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--oil-purple-light);
  color: var(--oil-purple);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
}

.news-detail-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--oil-text-muted);
  font-size: 0.85rem;
}

.news-detail-views i {
  color: var(--oil-orange);
  font-size: 1rem;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-buttons span {
  font-weight: 500;
  color: var(--oil-text-muted);
  font-size: 0.85rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oil-purple-light);
  color: var(--oil-purple);
  transition: all 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  background: var(--oil-purple);
  color: white;
  transform: translateY(-2px);
}

.news-detail-img {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
}

.news-detail-img img {
  max-width: 70%;
  border-radius: 20px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-detail-img img:hover {
  transform: scale(1.02);
}

.news-detail-content {
  padding: 0 40px 40px 40px;
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
}

.news-detail-content p {
  margin-bottom: 20px;
}

.news-gallery {
  margin: 40px 0 20px;
}

.news-gallery h4 {
  margin-bottom: 20px;
}

.news-gallery img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  border-radius: 16px;
  cursor: pointer;
}

.news-gallery a:hover img {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--oil-purple);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  transition: all 0.2s;
}

.back-link:hover {
  gap: 12px;
  color: var(--oil-purple-dark);
}

.back-link i {
  font-size: 1.1rem;
}