:root {
  --ink: #17224e;
  --muted: #667085;
  --line: rgba(24, 32, 54, 0.11);
  --paper: rgba(255, 255, 255, 0.82);
  --white: #ffffff;
  --cyan: #0a9fd6;
  --green: #1daa63;
  --yellow: #f6de38;
  --coral: #f04438;
  --violet: #344b9b;
  --orange: #ff8a35;
  --shadow: 0 18px 42px rgba(26, 34, 56, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, rgba(10, 159, 214, 0.18), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(52, 75, 155, 0.14), transparent 28%),
    linear-gradient(118deg, rgba(240, 68, 56, 0.08), transparent 22%, rgba(255, 138, 53, 0.08) 34%, rgba(246, 222, 56, 0.08) 48%, rgba(29, 170, 99, 0.08) 62%, rgba(10, 159, 214, 0.08) 76%, transparent),
    #f7fbfc;
  min-height: 100vh;
  line-height:25px;
}

body::before {
  content: "";
  position: fixed;
  inset: -18% -10% auto -10%;
  height: 520px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(100deg, rgba(240, 68, 56, 0.15), rgba(255, 138, 53, 0.12), rgba(246, 222, 56, 0.12), rgba(29, 170, 99, 0.12), rgba(10, 159, 214, 0.13), rgba(52, 75, 155, 0.12));
  filter: blur(34px);
  transform: rotate(-5deg);
}

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

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

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

.top-strip {
  display: none;
  padding: 12px 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(240, 68, 56, 0.12), rgba(255, 138, 53, 0.1), rgba(246, 222, 56, 0.1), rgba(29, 170, 99, 0.1), rgba(10, 159, 214, 0.12)),
    rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid rgba(23, 34, 78, 0.08);
}

.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(23, 34, 78, 0.1);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.top-strip .container::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--coral), var(--orange), var(--yellow), var(--green), var(--cyan), var(--violet));
}

.contact-inline,
.social-list,
.top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(23, 34, 78, 0.1);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ink), var(--violet));
  box-shadow: 0 10px 18px rgba(23, 34, 78, 0.16);
}

.contact-inline span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 34, 78, 0.08);
  color: #253058;
  font-weight: 600;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(360px, 100%);
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(100deg, var(--coral), var(--orange), var(--yellow), var(--green), var(--cyan), var(--violet)) border-box;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 12px 24px rgba(23, 34, 78, 0.1);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 9px 12px;
  background: transparent;
  color: var(--ink);
}

.search-box button,
.icon-button {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: var(--ink);
}

.search-box button {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--coral), var(--orange), var(--cyan), var(--violet));
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 34, 78, 0.06);
}

.main-header .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}

.brand-mark {
  width: 170px;
  height: 96px;
  border-radius: 0;
  background: url("assets/logo-ttc.png") center / contain no-repeat;
  box-shadow: none;
  position: relative;
}

.brand-mark::after {
  display: none;
}

.brand-name {
  display: none;
  gap: 2px;
  font-weight: 600;
  line-height: 1.05;
  font-size: 22px;
  letter-spacing: 0;
}

.brand-name small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a {
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--ink);
}

.primary-nav a:hover,
.primary-nav a.active {
  color: #ffffff;
  background: linear-gradient(100deg, var(--coral), var(--orange), var(--cyan), var(--violet));
}

.menu-toggle {
  display: none;
}

.category-bar {
  position: relative;
  z-index: 40;
  background:
    linear-gradient(90deg, rgba(240, 68, 56, 0.08), rgba(246, 222, 56, 0.06), rgba(10, 159, 214, 0.08)),
    #ffffff;
  border-block: 1px solid rgba(23, 34, 78, 0.1);
  box-shadow: 0 12px 28px rgba(23, 34, 78, 0.07);
}

.category-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.category-menu {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 62px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.category-search {
  flex: 0 0 330px;
  width: 330px;
  border-color: transparent;
  box-shadow: none;
}

.category-menu > li {
  position: relative;
}

.category-menu > li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(23, 34, 78, 0.16);
  transform: translateY(-50%);
}

.category-menu > li > a {
  display: block;
  margin: 0 6px;
  padding: 13px 18px;
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(23, 34, 78, 0.06);
  box-shadow: 0 8px 18px rgba(23, 34, 78, 0.05);
}

.category-menu > li:hover > a {
  background: linear-gradient(100deg, var(--coral), var(--orange), var(--yellow), var(--green), var(--cyan));
  color: var(--ink);
  border-color: transparent;
}

.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 230px;
  display: none;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.category-menu li:hover .sub-menu {
  display: block;
}

.sub-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: #26314d;
  font-weight: 600;
}

.sub-menu a:hover {
  background: rgba(17, 181, 207, 0.12);
  color: #007b93;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: #dce8ed;
  width:100%;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s ease;
  width:100%;
}

.hero-slide {
  flex: 0 0 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  width:100%;
}

.hero-slide::before {
 width:100%;
}

.hero-content {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  color: #ffffff;
}

.hero-content h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(100deg, #ffffff, #dffbff);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn-dark {
  color: #ffffff;
  background: var(--ink);
}

.slider-arrow,
.carousel-arrow {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  font-size: 24px;
}

.slider-arrow.prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-arrow.next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.section {
  padding: 40px 0;
}

.section-tight {
  padding: 48px 0;
}

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

.eyebrow {
  color: #008ba2;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 8px 0 0;
  font-size: clamp(23px, 2vw, 35px);
  line-height: 1.08;
  letter-spacing: 0;
}

.product-category-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-bottom: 14px;
}

.product-category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: min(220px, calc(100% - 58px));
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--coral), var(--orange), var(--yellow), var(--green), var(--cyan), transparent);
}

.product-category-title .title-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral), var(--orange), var(--cyan), var(--violet));
  box-shadow: 0 12px 26px rgba(23, 34, 78, 0.14);
}

.product-category-title svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-copy {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.7;
}

.product-section {
  position: relative;
  margin: 32px 0;
  padding: 34px 0 24px;
  overflow: hidden;
}

.product-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 8% 20%, rgba(10, 159, 214, 0.16), transparent 32%),
    radial-gradient(circle at 86% 62%, rgba(240, 68, 56, 0.13), transparent 30%);
  border-block: 1px solid rgba(255, 255, 255, 0.65);
}

.product-carousel {
  position: relative;
}

.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 2px;
  scrollbar-width: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(24, 32, 54, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(24, 32, 54, 0.16);
}

.product-image {
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
  background: #e9f2f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-body {
  display: block;
  flex: 1;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, rgba(246, 250, 252, 0.94));
}

.product-body h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  text-align:center;
}

.price {
  margin: 0;
  color: #e3342f;
  font-size: 15px;
  text-align:center;
}

.carousel-arrow {
  top: 42%;
}

.carousel-arrow.prev {
  left: -18px;
}

.carousel-arrow.next {
  right: -18px;
}

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

.why-item {
  position: relative;
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.why-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow), var(--green), var(--cyan), var(--violet));
}

.why-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--orange), var(--cyan), var(--violet));
  font-size: 24px;
  font-weight: 600;
  box-shadow: 0 16px 28px rgba(23, 34, 78, 0.16);
}

.why-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.news-feature {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24)),
    radial-gradient(circle at 12% 16%, rgba(246, 222, 56, 0.16), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(10, 159, 214, 0.14), transparent 28%);
}

.news-carousel {
  position: relative;
}

.news-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 2px;
  scrollbar-width: none;
}

.news-track::-webkit-scrollbar {
  display: none;
}

.news-track .news-item {
  scroll-snap-align: start;
}

.page-hero {
  padding: 74px 0;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(24, 32, 54, 0.82), rgba(24, 32, 54, 0.32)),
    url("https://images.unsplash.com/photo-1620626011761-996317b8d101?auto=format&fit=crop&w=1920&q=80") center/cover;
}

.page-hero h1 {
  max-width: 760px;
  margin: 20px 0 12px;
  font-size: clamp(25px, 3.0vw, 45px);
  line-height: 1.05;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  font-weight: 600;
  opacity: 0.92;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.filter-panel,
.detail-panel,
.article-card,
.news-item,
.policy-box {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.filter-panel {
  padding: 24px;
  position: sticky;
  top: 156px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 0 0, rgba(240, 68, 56, 0.1), transparent 34%),
    radial-gradient(circle at 100% 22%, rgba(10, 159, 214, 0.11), transparent 32%);
  overflow: hidden;
}

.filter-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow), var(--green), var(--cyan), var(--violet));
}

.filter-panel h2,
.detail-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.filter-list {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 34, 78, 0.07);
  overflow: hidden;
}

.filter-list a {
  display: flex;
  align-items: left;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 0;
  border-bottom: 1px solid rgba(23, 34, 78, 0.1);
  background: transparent;
  color: #26314d;
}

.filter-list li:last-child a {
  border-bottom: 0;
}

.filter-list a::before {
  content: "+";
  
}

.filter-list a:hover {
  color: var(--ink);
  background: rgba(10, 159, 214, 0.1);
}

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

.product-card.is-hidden {
  display: none;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.load-more-wrap.is-hidden {
  display: none;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 80;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.floating-contact a {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 34, 78, 0.2);
  position: relative;
}

.floating-phone {
  background: #42c3f0;
}

.floating-phone::before,
.floating-phone::after {
  content: "";
  position: absolute;
  inset: -11px;
  border: 1px solid rgba(66, 195, 240, 0.36);
  border-radius: 50%;
  animation: hotline-pulse 1.8s ease-out infinite;
}

.floating-phone::after {
  inset: -20px;
  animation-delay: 0.35s;
}

.floating-phone svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  animation: phone-shake 1.6s ease-in-out infinite;
}

.floating-zalo {
  background: #0787e8;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

.floating-zalo::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  background: #0787e8;
  transform: rotate(45deg);
  border-radius: 0 0 3px 0;
}

@keyframes hotline-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.78);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

@keyframes phone-shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  12% {
    transform: rotate(-12deg);
  }
  24% {
    transform: rotate(12deg);
  }
  36% {
    transform: rotate(-8deg);
  }
  48% {
    transform: rotate(8deg);
  }
  60% {
    transform: rotate(0deg);
  }
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 34px;
  align-items: start;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e9f2f5;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
}

.thumb-row img:hover {
  border-color: var(--cyan);
}

.detail-panel {
  padding: 28px;
}

.detail-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.08;
}

.sku {
  color: var(--muted);
  font-weight: 600;
}

.detail-price {
  margin: 18px 0;
  color: #d13d35;
  font-size: 21px;
  font-weight: 600;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 600;
}

.tab-pill.active {
  color: #ffffff;
  background: var(--ink);
}

.rich-text {
  color: #344054;
  line-height: 1.8;
}

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

.news-item {
  overflow: hidden;
}

.news-item img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.news-body {
  padding: 18px;
}

.news-body time {
  color: #008ba2;
  font-size: 13px;
  font-weight: 600;
}

.news-body h3 {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.28;
}

.news-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
}

.article-card {
  padding: clamp(22px, 4vw, 42px);
}

.article-card h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.07;
}

.article-card .lead {
  color: #344054;
  font-size: 19px;
  line-height: 1.7;
}

.article-card figure {
  margin: 28px 0;
}

.article-card figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-card figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.sidebar-list {
  display: grid;
  gap: 14px;
}

.policy-box {
  padding: 22px;
}

.site-footer {
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(24, 32, 54, 0.98), rgba(28, 43, 74, 0.96)),
    radial-gradient(circle at 12% 20%, rgba(17, 181, 207, 0.22), transparent 30%);
  padding: 58px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 34px;
}

.site-footer .brand-name small {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.78);
 
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 20px;
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align:center;
}

@media (max-width: 1024px) {
  .primary-nav {
    gap: 2px;
  }

  .primary-nav a,
  .category-menu > li > a {
    padding-inline: 10px;
  }

  .product-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .news-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .category-search {
    flex-basis: 280px;
    width: 280px;
  }

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

  .catalog-layout,
  .detail-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

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

@media (max-width: 760px) {
  .top-strip .container {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 12px 20px;
  }

  .top-left {
    justify-content: center;
  }

  .search-box {
    width: 100%;
  }

  .main-header .container {
    min-height: 82px;
  }

  .brand-mark {
    width: 132px;
    height: 74px;
  }

  .brand-name {
    font-size: 19px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    border-radius: 6px;
  }

  .category-menu {
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
  }

  .category-bar .container {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
  }

  .category-search {
    flex: 1 1 100%;
    width: 100%;
  }

  .category-menu::-webkit-scrollbar {
    display: none;
  }

  .category-menu > li {
    flex: 0 0 auto;
  }

  .sub-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .hero-slider,
  .hero-track {
    height: 100%;
  }

  .hero-slide {
    align-items: end;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .slider-arrow.prev {
    left: 12px;
  }

  .slider-arrow.next {
    right: 12px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
  }

  .product-category-title {
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
  }

  .product-category-title .title-icon {
    width: 40px;
    height: 40px;
  }

  .product-category-title svg {
    width: 22px;
    height: 22px;
  }

  .product-category-title::after {
   width: min(170px, calc(100% - 50px));
  }

  .product-track,
  .product-grid {
    grid-auto-columns: calc((100% - 14px) / 2);
    gap: 14px;
  }

  .news-track {
    grid-auto-columns: calc((100% - 14px) / 2);
    gap: 14px;
  }

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

  .product-body {
    padding: 12px;
  }

  .product-body h3 {
    min-height: auto;
    font-size: 15px;
  }

  .carousel-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    font-size: 20px;
    top: 38%;
  }

  .carousel-arrow.prev {
    left: 6px;
  }

  .carousel-arrow.next {
    right: 6px;
  }

  .floating-contact {
    right: 14px;
    bottom: 18px;
    gap: 12px;
  }

  .floating-contact a {
    width: 52px;
    height: 52px;
  }

  .floating-phone svg {
    width: 26px;
    height: 26px;
  }

  .why-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .contact-inline {
    font-size: 13px;
    justify-content: center;
  }

  .hero-slider,
  .hero-track {
    height: 100%;
  }

  .product-track,
  .product-grid {
    gap: 10px;
  }

  .price {
    font-size: 16px;
  }
}

/* Home carousel cleanup: keep cards separated without extra bottom background. */
.product-section {
  margin: 0;
  padding-bottom: 18px;
}

.product-section::before {
  display: none;
}

.news-feature {
  background: transparent;
}

.product-track,
.news-track {
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  padding: 4px 2px 2px;
}

.product-track .product-card,
.news-track .news-item {
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(24, 32, 54, 0.1);
}

@media (max-width: 1024px) {
  .product-track,
  .news-track {
    grid-auto-columns: calc((100% - 24px) / 2);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .product-track,
  .news-track {
    grid-auto-columns: calc((100% - 14px) / 2);
    gap: 14px;
  }
}

/* Mobile category/search layout fix */
@media (max-width: 760px) {
  .category-bar .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 11px;
  }

  .category-menu {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    display: flex;
    overflow-x: auto;
    padding: 0 0 4px;
    white-space: nowrap;
  }

  .category-search {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: block;
  }

  .category-search > div {
    width: 100%;
  }

  .category-search input,
  .category-search textarea,
  .category-search .aspNetDisabled {
    width: 100% !important;
  }
}