/*
Theme Name: TechVision Store
Theme URI: https://techvision.id.vn/
Author: TechVision
Author URI: https://techvision.id.vn/
Description: Theme doanh nghiệp TechVision, giữ nguyên thiết kế tối hiện đại, tự đặt trang chủ, hỗ trợ TechVision Editor, Elementor, WooCommerce và chỉnh toàn bộ banner.
Version: 2.3.1
Requires at least: 7.0
Requires PHP: 7.4
Text Domain: techvision
*/
:root {
  --bg: #06111f;
  --bg-2: #091a2f;
  --card: rgba(255, 255, 255, 0.08);
  --card-solid: #0f243d;
  --text: #f7fbff;
  --muted: #a9bbcf;
  --primary: #16d9ff;
  --primary-2: #2f74ff;
  --accent: #ffb703;
  --success: #35e38d;
  --border: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 26px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
}

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

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

.topbar {
  background: #03101d;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 17, 31, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #06111f;
  box-shadow: 0 12px 36px rgba(22, 217, 255, 0.35);
}

.logo-text {
  font-size: 22px;
}

.logo-text span {
  color: var(--primary);
}

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

.main-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(22, 217, 255, 0.11);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: 0.25s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: center;
  padding: 90px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(22, 217, 255, 0.16), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(47, 116, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #06111f 0%, #09213a 50%, #06111f 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent 86%);
}

.hero-bg {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.32;
}

.hero-orb-one {
  left: -140px;
  bottom: 80px;
  background: var(--primary);
}

.hero-orb-two {
  right: -120px;
  top: 160px;
  background: var(--accent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: rgba(22, 217, 255, 0.1);
  border: 1px solid rgba(22, 217, 255, 0.22);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.hero h2 {
  margin-top: 18px;
  max-width: 740px;
  color: #d7efff;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-desc {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #06111f;
  box-shadow: 0 14px 36px rgba(22, 217, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(22, 217, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,.06);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
  max-width: 680px;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
}

.hero-stats strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.server-card {
  width: min(100%, 520px);
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.server-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.server-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.server-header span:nth-child(2) { background: var(--primary); }
.server-header span:nth-child(3) { background: var(--success); }
.server-header b {
  margin-left: auto;
  font-size: 13px;
  letter-spacing: .12em;
}

.network-map {
  position: relative;
  height: 315px;
  margin: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 42%, rgba(22, 217, 255, 0.22), transparent 30%),
    rgba(3, 16, 29, 0.52);
  border: 1px solid rgba(255,255,255,.1);
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 50px;
  padding: 10px;
  border-radius: 16px;
  background: #0f2b49;
  border: 1px solid rgba(22,217,255,.28);
  color: #e9fbff;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.firewall { left: 50%; top: 25px; transform: translateX(-50%); }
.switch { left: 50%; top: 132px; transform: translateX(-50%); background: linear-gradient(135deg, #123b61, #144f7a); }
.cloud { left: 30px; bottom: 42px; }
.vlan { right: 30px; bottom: 42px; }
.server { left: 50%; bottom: 20px; transform: translateX(-50%); }

.line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: .7;
}
.line-a { width: 120px; left: 50%; top: 92px; transform: translateX(-50%) rotate(90deg); }
.line-b { width: 140px; left: 110px; bottom: 93px; transform: rotate(-22deg); }
.line-c { width: 140px; right: 110px; bottom: 93px; transform: rotate(22deg); }
.line-d { width: 92px; left: 50%; bottom: 72px; transform: translateX(-50%) rotate(90deg); }

.system-list {
  padding: 0 26px 26px;
  display: grid;
  gap: 12px;
}

.system-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.system-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(53, 227, 141, .1);
}

.section {
  padding: 96px 0;
}

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

.section-heading h2,
.section-copy h2,
.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading p:last-child,
.section-copy p,
.contact-copy p {
  color: var(--muted);
  margin-top: 16px;
}

.about {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

.about-grid,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.about-points div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.about-points b {
  color: var(--accent);
}

.about-visual {
  min-height: 440px;
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(6,17,31,.3), rgba(6,17,31,.5)),
    radial-gradient(circle at 20% 20%, rgba(22,217,255,.26), transparent 34%),
    linear-gradient(135deg, #123c63, #091a2f);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.glass-panel {
  width: 100%;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.glass-panel h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.glass-panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.glass-panel li {
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}

.glass-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.services,
.news,
.team {
  background: var(--bg-2);
}

.card-grid,
.news-grid,
.team-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.process-card,
.news-card,
.team-card,
.why-item,
.contact-form {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0,0,0,.18);
}

.feature-card {
  padding: 28px;
  min-height: 240px;
  transition: 0.25s ease;
}

.feature-card:hover,
.news-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22,217,255,.34);
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(22,217,255,.12);
  font-size: 25px;
  margin-bottom: 24px;
}

.feature-card h3,
.process-card h3,
.news-card h3,
.team-card h3,
.why-item h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.feature-card p,
.process-card p,
.news-card p,
.team-card p,
.why-item p {
  color: var(--muted);
}

.process {
  background:
    radial-gradient(circle at 80% 20%, rgba(22,217,255,.12), transparent 30%),
    var(--bg);
}

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

.process-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.process-card span {
  display: inline-flex;
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 18px;
}

.process-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(22,217,255,.12);
}

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

.news-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.news-date {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #06111f;
}

.news-date b {
  font-size: 22px;
  line-height: 1;
}

.news-date span {
  font-size: 13px;
  font-weight: 800;
  margin-top: -8px;
}

.news-card a {
  color: var(--primary);
  font-weight: 900;
}

.why {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-item {
  padding: 24px;
  border-left: 4px solid var(--primary);
}

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

.team-card {
  padding: 26px;
  text-align: center;
}

.avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(22,217,255,.95), rgba(47,116,255,.95));
  color: #06111f;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(22,217,255,.2);
}

.contact {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,183,3,.13), transparent 30%),
    var(--bg);
}

.contact-info {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
}

.contact-info p {
  margin-top: 8px;
}

.contact-form {
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #dbeeff;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  color: var(--text);
  outline: none;
  padding: 14px 15px;
  font: inherit;
  transition: .25s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(169,187,207,.7);
}

input:focus,
textarea:focus {
  border-color: rgba(22,217,255,.6);
  box-shadow: 0 0 0 4px rgba(22,217,255,.12);
}

.form-message {
  margin-top: 14px;
  color: var(--success);
  font-weight: 800;
}

.footer {
  background: #030d18;
  border-top: 1px solid var(--border);
  padding: 54px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.footer a {
  display: block;
  margin: 9px 0;
  transition: .2s ease;
}

.footer a:hover {
  color: var(--primary);
}

.copyright {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #06111f;
  background: var(--primary);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(22,217,255,.3);
  cursor: pointer;
  transform: translateY(80px);
  opacity: 0;
  transition: .25s ease;
}

.back-to-top.show {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .topbar-inner {
    justify-content: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 10px);
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(6, 17, 31, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

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

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .topbar-inner span:nth-child(3) {
    display: none;
  }

  .logo-text {
    font-size: 19px;
  }

  .hero-stats,
  .service-grid,
  .news-grid,
  .process-grid,
  .team-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .server-card {
    min-height: 470px;
  }

  .network-map {
    height: 280px;
  }

  .node {
    min-width: 78px;
    font-size: 12px;
  }

  .cloud { left: 14px; }
  .vlan { right: 14px; }
}


/* WordPress integration */
body.admin-bar .site-header { top: 32px; }

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 54px;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-list li {
  margin: 0;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.content-shell {
  min-height: 62vh;
  padding: 80px 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(22,217,255,.1), transparent 30%),
    var(--bg);
}

.entry-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  box-shadow: var(--shadow);
}

.entry-header {
  margin-bottom: 26px;
}

.entry-title {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.entry-meta {
  margin-top: 12px;
  color: var(--muted);
}

.entry-thumbnail {
  margin: 24px 0;
  overflow: hidden;
  border-radius: 22px;
}

.entry-content {
  color: #d9e8f5;
  font-size: 17px;
}

.entry-content > * + * {
  margin-top: 1.1em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--text);
  line-height: 1.2;
}

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-content img {
  height: auto;
  border-radius: 18px;
}

.posts-list {
  display: grid;
  gap: 20px;
}

.post-list-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
}

.post-list-card h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.post-list-card h2 a:hover {
  color: var(--primary);
}

.pagination,
.post-navigation {
  margin-top: 30px;
  color: var(--primary);
  font-weight: 800;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.comments-area {
  width: min(900px, 100%);
  margin: 30px auto 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.comment-list {
  margin: 20px 0;
  padding-left: 24px;
}

.comment-form input,
.comment-form textarea {
  margin-top: 6px;
}

.not-found {
  text-align: center;
}

.not-found .btn {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .main-nav-list {
    display: grid;
    gap: 6px;
  }
}

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


/* WooCommerce / Products */
.products-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(22,217,255,.1), transparent 30%),
    var(--bg);
}

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

.tv-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  box-shadow: 0 14px 44px rgba(0,0,0,.18);
  transition: .25s ease;
}

.tv-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22,217,255,.34);
}

.tv-product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255,255,255,.05);
}

.tv-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-product-content {
  display: grid;
  gap: 12px;
  padding: 22px;
  flex: 1;
}

.tv-product-content h3 {
  font-size: 20px;
  line-height: 1.3;
}

.tv-product-price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.tv-product-card .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #06111f;
  font-weight: 900;
}

.woocommerce-page .content-shell .container {
  width: min(var(--container, 1180px), calc(100% - 36px));
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
}

.woocommerce ul.products li.product a img {
  border-radius: 16px;
}

.woocommerce div.product,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
}

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

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--border);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: var(--text);
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
}


/* Editable banner system */
.hero.has-custom-banner-bg {
  background-repeat: no-repeat;
}

.hero-banner-slider {
  position: relative;
  width: min(100%, 540px);
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.tv-banner-track,
.tv-banner-slide {
  min-height: 520px;
}

.tv-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .5s ease, transform .5s ease, visibility .5s ease;
}

.tv-banner-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.tv-banner-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tv-banner-slide img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
}

.tv-banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(3,13,24,.92) 100%);
}

.tv-banner-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 28px;
  z-index: 2;
}

.tv-banner-caption h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.tv-banner-caption p {
  max-width: 440px;
  margin-top: 10px;
  color: #d6e5f2;
}

.tv-banner-caption .btn {
  margin-top: 18px;
}

.tv-banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(3,13,24,.58);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.tv-banner-prev { left: 14px; }
.tv-banner-next { right: 14px; }

.tv-banner-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 7px;
}

.tv-banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: .25s ease;
}

.tv-banner-dot.is-active {
  width: 28px;
  background: var(--primary);
}

.tv-promo-section {
  padding: 34px 0;
  background: var(--bg);
}

.tv-promo-banner {
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--border);
  border-radius: 34px;
  background-color: #0c2037;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tv-promo-content {
  max-width: 640px;
}

.tv-promo-content h2 {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.tv-promo-content p {
  margin-top: 16px;
  color: #d3e1ee;
  font-size: 17px;
}

.tv-promo-content .btn {
  margin-top: 24px;
}

/* Menu WordPress luôn nằm trên một hàng ở desktop và xổ đúng ở mobile. */
.main-nav-list > li > a {
  display: block;
}

@media (max-width: 980px) {
  .main-nav-list {
    display: grid;
    width: 100%;
  }

  .hero-banner-slider,
  .tv-banner-track,
  .tv-banner-slide {
    width: 100%;
    min-height: 500px;
  }

  .tv-banner-slide img {
    height: 500px;
  }
}

@media (max-width: 640px) {
  .hero-banner-slider,
  .tv-banner-track,
  .tv-banner-slide {
    min-height: 430px;
  }

  .tv-banner-slide img {
    height: 430px;
  }

  .tv-banner-caption {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }

  .tv-banner-arrow {
    width: 38px;
    height: 38px;
  }

  .tv-promo-banner {
    min-height: 280px;
    border-radius: 26px;
  }
}


/* Trang chủ do Elementor hoặc trình dựng trang quản lý */
.tv-builder-home{min-height:60vh;width:100%;overflow:hidden}.tv-builder-home>.elementor{width:100%}.techvision-builder-home .tv-builder-home .entry-content{margin:0}.techvision-builder-home .site-footer{margin-top:0}


/* ==========================================================
   TechVision Pro 2.1 — Customizer, dropdowns and WooCommerce
   ========================================================== */
body { font-family: var(--tv-font, "Inter", sans-serif); }
body:not(.tv-sticky-header) .site-header { position: relative; top: auto; }
.tv-logo-with-text { display: inline-flex; align-items: center; gap: 12px; }
.tv-logo-with-text .custom-logo-link { flex: 0 0 auto; }
.tv-logo-with-text .logo-text { white-space: nowrap; }

.main-nav-list li { position: relative; }
.main-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 100;
  min-width: 230px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(6,17,31,.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s ease;
}
.main-nav-list .sub-menu .sub-menu { top: 0; left: calc(100% + 8px); }
.main-nav-list li:hover > .sub-menu,
.main-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav-list .menu-item-has-children > a::after { content: "⌄"; margin-left: 6px; font-size: 12px; }
.main-nav-list a { white-space: nowrap; word-break: normal; overflow-wrap: normal; }

body.tv-hide-banner #home,
body.tv-hide-about #about,
body.tv-hide-services #services,
body.tv-hide-process #process,
body.tv-hide-products #products,
body.tv-hide-news #news,
body.tv-hide-advantages #privacy,
body.tv-hide-team #team,
body.tv-hide-contact #contact { display: none !important; }
body.tv-no-effects .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
body.tv-boxed-layout main { width: min(1500px, calc(100% - 30px)); margin: 22px auto; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); }
body.tv-corners-square { --radius: 0px; }
body.tv-corners-soft { --radius: 12px; }
body.tv-corners-rounded { --radius: 24px; }
body.tv-buttons-square .btn,
body.tv-buttons-square .button { border-radius: 0 !important; }
body.tv-buttons-rounded .btn,
body.tv-buttons-rounded .button { border-radius: 12px !important; }
body.tv-buttons-pill .btn,
body.tv-buttons-pill .button { border-radius: 999px !important; }

/* WooCommerce: full width, readable titles and roomy checkout. */
.woocommerce-page .entry-card,
.woocommerce .entry-card { width: 100%; max-width: none; }
.woocommerce-page .content-shell > .container { width: min(var(--container, 1180px), calc(100% - 36px)); }
.woocommerce ul.products,
.woocommerce-page ul.products { display: grid; grid-template-columns: repeat(4, 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 { width: auto !important; margin: 0 !important; min-width: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.tv-product-content h3,
.tv-product-content h3 a {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
  min-width: 0;
}
.woocommerce-checkout { width: 100%; max-width: none; }
.woocommerce-checkout .col2-set { width: 55%; float: left; padding-right: 28px; }
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { width: 45%; float: right; }
.woocommerce-checkout::after { content: ""; display: table; clear: both; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection { min-height: 48px; width: 100%; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 24px; }
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }

.footer-contact { margin-top: 16px; font-size: 14px; line-height: 1.8; }

@media (max-width: 980px) {
  .main-nav-list .sub-menu,
  .main-nav-list .sub-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 0 14px;
    padding: 6px 0 6px 12px;
    border-width: 0 0 0 1px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav-list .submenu-open > .sub-menu { display: grid; }
  .main-nav-list li:hover > .sub-menu { display: none; }
  .main-nav-list li.submenu-open:hover > .sub-menu { display: grid; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-checkout .col2-set,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { width: 100%; float: none; padding-right: 0; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.tv-boxed-layout main { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .tv-logo-with-text .logo-text { font-size: 17px; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr; }
  .woocommerce div.product,
  .woocommerce-cart-form,
  .woocommerce-checkout,
  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-navigation { padding: 16px; }
  .woocommerce table.shop_table_responsive tr td { padding-left: 42%; }
}

/* ==========================================================
   TechVision Pro 2.1 — Header tools and intelligent search
   ========================================================== */
.nav-wrap { position: relative; }
.nav-wrap > .main-nav { margin-left: auto; }
.tv-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.tv-header-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  transition: .22s ease;
}
.tv-header-icon:hover,
.tv-header-icon:focus-visible {
  color: #06111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 30px rgba(22,217,255,.22);
  outline: none;
}
.tv-header-icon svg { width: 20px; height: 20px; }
.tv-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #06111f;
  border-radius: 999px;
  color: #06111f;
  background: var(--accent);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.tv-search-overlay[hidden] { display: none !important; }
.tv-search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
  background: rgba(3,16,29,.985);
  box-shadow: 0 35px 80px rgba(0,0,0,.46);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .18s ease, transform .18s ease;
}
.tv-search-overlay.is-open { opacity: 1; transform: translateY(0); }
.tv-search-overlay-inner { position: relative; }
.tv-search-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.tv-search-heading div { display: grid; gap: 2px; }
.tv-search-heading span { color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.tv-search-heading strong { font-size: clamp(18px,2vw,27px); }
.tv-search-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,.05);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.tv-site-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 165px auto;
  gap: 10px;
  align-items: stretch;
}
.tv-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}
.tv-search-field:focus-within { border-color: rgba(22,217,255,.7); box-shadow: 0 0 0 4px rgba(22,217,255,.08); }
.tv-search-field svg { width: 21px; flex: 0 0 auto; color: var(--primary); }
.tv-search-field input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}
.tv-search-field input::placeholder { color: #7890a8; }
.tv-site-search select {
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: #0b1b2d;
  font: inherit;
}
.tv-search-submit { min-height: 54px; border: 0; cursor: pointer; }
.tv-live-search-results {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  max-height: min(430px,55vh);
  overflow: auto;
}
.tv-live-search-item {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  transition: .2s ease;
}
.tv-live-search-item:hover { border-color: rgba(22,217,255,.4); background: rgba(22,217,255,.08); }
.tv-live-search-item img,
.tv-search-placeholder {
  width: 58px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg,var(--primary),var(--primary-2));
}
.tv-search-placeholder { display: grid; place-items: center; color: #06111f; font-weight: 900; }
.tv-live-search-item > span { display: grid; min-width: 0; }
.tv-live-search-item small { color: var(--primary); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tv-live-search-item strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.tv-live-search-item b { color: var(--accent); font-size: 13px; }
.tv-live-search-hint,
.tv-live-search-loading,
.tv-live-search-empty {
  grid-column: 1 / -1;
  padding: 13px 4px 2px;
  color: var(--muted);
}
body.tv-search-open { overflow: hidden; }

@media (max-width: 1220px) {
  .main-nav a { padding-inline: 9px; font-size: 13px; }
  .tv-account-link { display: none; }
}
@media (max-width: 980px) {
  .nav-wrap > .main-nav { margin-left: 0; }
  .tv-header-actions { margin-left: auto; }
  .tv-account-link { display: inline-grid; }
  .tv-site-search { grid-template-columns: minmax(0,1fr) 145px; }
  .tv-search-submit { grid-column: 1 / -1; }
  .tv-live-search-results { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-wrap { gap: 8px; }
  .logo-text { display: none; }
  .tv-header-actions { gap: 5px; }
  .tv-header-icon { width: 38px; height: 38px; border-radius: 12px; }
  .tv-account-link { display: none; }
  .tv-search-overlay { position: fixed; top: 0; bottom: 0; padding-top: 16px; overflow: auto; }
  body.admin-bar .tv-search-overlay { top: 46px; }
  .tv-site-search { grid-template-columns: 1fr; }
  .tv-site-search select,
  .tv-search-submit { grid-column: auto; }
  .tv-search-heading strong { font-size: 18px; }
  .tv-live-search-results { max-height: none; }
}


/* ==========================================================
   TechVision Pro 2.2 — Homepage links and clickable cards
   ========================================================== */
.tv-section-action {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.section-heading .tv-section-action {
  justify-content: center;
}

.tv-linked-card {
  display: block;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.tv-card-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  transition: transform .2s ease, color .2s ease;
}

.tv-linked-card:hover .tv-card-arrow,
.tv-linked-card:focus-visible .tv-card-arrow {
  color: var(--accent);
  transform: translateX(5px);
}

.process-card.tv-linked-card,
.why-item.tv-linked-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.process-card.tv-linked-card:hover,
.why-item.tv-linked-card:hover,
.process-card.tv-linked-card:focus-visible,
.why-item.tv-linked-card:focus-visible,
.feature-card.tv-linked-card:focus-visible,
.team-card.tv-linked-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(22,217,255,.42);
  box-shadow: 0 20px 52px rgba(0,0,0,.28);
  outline: none;
}

@media (max-width: 640px) {
  .tv-section-action,
  .section-heading .tv-section-action {
    justify-content: stretch;
  }

  .tv-section-action .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* ==========================================================
   TechVision Pro 2.3 — Premium Product Showcase
   ========================================================== */
.products-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(22,217,255,.13), transparent 30%),
    radial-gradient(circle at 92% 16%, rgba(47,116,255,.11), transparent 32%),
    var(--bg);
}
.products-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.products-section > .container { position: relative; z-index: 1; }
.tv-products-shell {
  padding: clamp(28px, 4.2vw, 58px);
  border: 1px solid rgba(22,217,255,.35);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 88% 10%, rgba(47,116,255,.18), transparent 31%),
    linear-gradient(145deg, rgba(8,29,51,.96), rgba(3,17,32,.96));
  box-shadow:
    0 34px 100px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 50px rgba(22,217,255,.05);
}
.tv-products-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}
.tv-products-copy { max-width: 760px; }
.tv-products-copy .section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border: 1px solid rgba(22,217,255,.34);
  border-radius: 999px;
  background: rgba(22,217,255,.07);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.tv-products-copy .section-tag::before {
  content: "✦";
  margin-right: 8px;
  font-size: 11px;
}
.tv-products-copy h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}
.tv-products-copy > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.65;
}
.tv-products-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex: 0 0 auto;
  min-height: 58px;
  margin-top: 12px;
  padding: 0 22px;
  border: 1px solid rgba(22,217,255,.65);
  border-radius: 15px;
  color: var(--primary);
  background: rgba(4,18,34,.65);
  box-shadow: inset 0 0 24px rgba(22,217,255,.04);
  font-weight: 800;
  transition: .22s ease;
}
.tv-products-all:hover {
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(22,217,255,.13), inset 0 0 26px rgba(22,217,255,.08);
}
.tv-products-all svg { width: 22px; height: 22px; fill: currentColor; }
.tv-products-all b { font-size: 25px; line-height: 1; font-weight: 400; }
.tv-product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}
.tv-product-filters button {
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid rgba(151,185,217,.22);
  border-radius: 13px;
  color: #b8c8d9;
  background: rgba(5,19,35,.7);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}
.tv-product-filters button:hover {
  color: #fff;
  border-color: rgba(22,217,255,.55);
  transform: translateY(-1px);
}
.tv-product-filters button.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 28px rgba(22,217,255,.24);
}
.product-grid.tv-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-grid.tv-product-grid.tv-grid-count-1 {
  grid-template-columns: minmax(280px, 390px);
  justify-content: center;
}
.product-grid.tv-product-grid.tv-grid-count-2 {
  grid-template-columns: repeat(2, minmax(280px, 390px));
  justify-content: center;
}
.tv-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(22,217,255,.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 28%, rgba(22,217,255,.1), transparent 34%),
    linear-gradient(165deg, rgba(8,32,56,.96), rgba(3,18,34,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 45px rgba(0,0,0,.22);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tv-product-card[hidden] { display: none !important; }
.tv-product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(22,217,255,.72);
  box-shadow: 0 24px 55px rgba(0,0,0,.32), 0 0 30px rgba(22,217,255,.08);
}
.tv-product-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin: 14px 14px 0;
  padding: clamp(18px, 2.6vw, 32px);
  overflow: hidden;
  border: 0;
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(22,217,255,.26), transparent 42%),
    linear-gradient(180deg, rgba(8,28,50,.45), rgba(4,18,33,.08));
}
.tv-product-image::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 11%;
  height: 9%;
  border-radius: 50%;
  background: rgba(22,217,255,.22);
  filter: blur(17px);
  pointer-events: none;
}
.tv-product-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: contain;
  transition: transform .3s ease, filter .3s ease;
}
.tv-product-card:hover .tv-product-image img {
  transform: scale(1.045);
  filter: drop-shadow(0 16px 16px rgba(0,0,0,.28));
}
.tv-product-sale {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #04111e;
  background: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tv-product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px 26px 24px;
}
.tv-product-category {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tv-product-content h3,
.tv-product-content h3 a {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.015em;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}
.tv-product-content h3 {
  min-height: 2.7em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tv-product-content h3 a:hover { color: var(--primary); }
.tv-product-divider {
  width: 100%;
  height: 1px;
  margin-top: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
}
.tv-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  min-height: 60px;
  color: var(--primary);
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.2;
  font-weight: 900;
}
.tv-product-price del {
  flex-basis: 100%;
  color: #7e8da0;
  font-size: 15px;
  font-weight: 600;
  opacity: .82;
}
.tv-product-price ins {
  color: var(--primary);
  text-decoration: none;
}
.tv-product-card .button.tv-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px !important;
  color: #fff;
  background: linear-gradient(135deg, #14c9f4, #2465f4);
  box-shadow: 0 12px 28px rgba(22,120,255,.23), inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 16px;
  font-weight: 800;
  transition: .22s ease;
}
.tv-product-card .button.tv-product-button:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.tv-product-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tv-product-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  padding: 22px 12px;
  border: 1px solid rgba(151,185,217,.14);
  border-radius: 20px;
  background: rgba(2,14,27,.52);
}
.tv-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 0 24px;
}
.tv-trust-item + .tv-trust-item { border-left: 1px solid rgba(151,185,217,.14); }
.tv-trust-item svg {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  fill: var(--primary);
  filter: drop-shadow(0 0 12px rgba(22,217,255,.14));
}
.tv-trust-item span { display: grid; gap: 4px; min-width: 0; }
.tv-trust-item strong { color: var(--text); font-size: 16px; }
.tv-trust-item small { color: var(--muted); font-size: 12px; line-height: 1.45; }

/* WooCommerce archive cards use the same premium visual language. */
.woocommerce ul.products,
.woocommerce-page ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 16px 16px 22px;
  border: 1px solid rgba(22,217,255,.24);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(8,32,56,.96), rgba(3,18,34,.98));
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
  transition: .24s ease;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-6px);
  border-color: rgba(22,217,255,.65);
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 4/3;
  margin: 0 0 18px;
  padding: 18px;
  object-fit: contain;
  border-radius: 17px;
  background: radial-gradient(ellipse at 50% 85%, rgba(22,217,255,.16), transparent 44%), rgba(4,18,33,.55);
}
.woocommerce ul.products li.product .price {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}
.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border-radius: 14px !important;
  color: #fff;
}

@media (max-width: 1024px) {
  .product-grid.tv-product-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-product-trust { grid-template-columns: 1fr; }
  .tv-trust-item { padding: 16px 20px; }
  .tv-trust-item + .tv-trust-item { border-left: 0; border-top: 1px solid rgba(151,185,217,.14); }
}
@media (max-width: 720px) {
  .tv-products-shell { padding: 24px 18px; border-radius: 24px; }
  .tv-products-heading { display: grid; gap: 18px; }
  .tv-products-copy h2 { font-size: clamp(40px, 14vw, 58px); }
  .tv-products-all { width: 100%; margin-top: 0; }
  .tv-product-filters {
    flex-wrap: nowrap;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tv-product-filters::-webkit-scrollbar { display: none; }
  .tv-product-filters button { flex: 0 0 auto; }
  .product-grid.tv-product-grid,
  .product-grid.tv-product-grid.tv-grid-count-1,
  .product-grid.tv-product-grid.tv-grid-count-2,
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr; }
  .tv-product-content h3 { min-height: auto; }
  .tv-product-trust { margin-top: 20px; }
}
