﻿:root {
  --ink: #f7fbff;
  --muted: #9dafbf;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(18, 18, 18, 0.84);
  --panel-solid: #161616;
  --green: #ff2738;
  --cyan: #ff5a3d;
  --yellow: #f6c343;
  --icon-yellow: #f6c343;
  --dark: #080808;
  --deep: #111111;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --top-line-height: 35px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 39, 56, 0.14), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(255, 90, 61, 0.1), transparent 32%),
    linear-gradient(135deg, #080808 0%, #111111 48%, #0b0b0b 100%);
  min-height: 100vh;
}

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

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

.top-line {
  position: sticky;
  top: 0;
  z-index: 31;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(320px, 1fr);
  min-height: var(--top-line-height);
  border-bottom: 1px solid var(--line);
  background: #080808;
}


.top-brand-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 8px 18px;
  color: var(--yellow);
  background: rgba(8, 8, 8, 0.92);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 8px clamp(18px, 5vw, 72px) 8px 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.top-bar strong {
  color: var(--yellow);
}

.top-address {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.location-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--icon-yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.welcome-ticker {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 42px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 42px), transparent 100%);
  border-right: 0;
  color: var(--yellow);
  background: rgba(8, 8, 8, 0.92);
  font-size: 0.86rem;
  font-weight: 850;
}

.welcome-ticker span {
  display: inline-block;
  min-width: max-content;
  padding: 8px 12px;
  white-space: nowrap;
  animation: ticker-slide 12s linear infinite;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.site-header {
  position: sticky;
  top: var(--top-line-height);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 7px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  --brand-logo-size: 52px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  grid-column: 2;
  justify-self: center;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  gap: 0;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.brand span {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.08rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
  border: 1px solid rgba(255, 31, 61, 0.55);
  border-radius: 8px;
  object-fit: contain;
  background: #050505;
  box-shadow: 0 0 28px rgba(255, 31, 61, 0.28);
  animation: logo-border-blink 1.7s ease-in-out infinite;
}

.brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
  border: 2px solid rgba(255, 39, 56, 0.68);
  border-radius: 10px;
  transform: translateX(-50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  animation: logo-border-pulse 1.7s ease-out infinite;
}

@keyframes logo-border-blink {
  0%, 100% {
    border-color: rgba(255, 31, 61, 0.46);
    box-shadow: 0 0 22px rgba(255, 31, 61, 0.22);
    filter: brightness(1);
  }

  50% {
    border-color: rgba(255, 74, 85, 0.95);
    box-shadow: 0 0 34px rgba(255, 31, 61, 0.48), 0 0 58px rgba(255, 90, 61, 0.22);
    filter: brightness(1.12);
  }
}

@keyframes logo-border-pulse {
  0% {
    opacity: 0.58;
    transform: translateX(-50%) scale(0.94);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.28);
  }
}
.nav {
  display: flex;
  align-items: center;
  grid-column: 1;
  justify-self: start;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 24px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a {
  color: #ffffff;
  transition: color 0.18s ease;
}

.nav a.active,
.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible,
.nav a:active {
  color: var(--yellow);
}

.header-action,
.button,
.contact-form button {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.header-tools {
  display: flex;
  align-items: center;
  grid-column: 3;
  justify-self: end;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 12px;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 190px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.header-search svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--icon-yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.header-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  outline: 0;
}

.header-search input::placeholder {
  color: var(--muted);
}

.header-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 195, 67, 0.78);
  border-radius: 8px;
  color: #061018;
  background: linear-gradient(135deg, #ffe07a, var(--yellow));
  box-shadow: 0 10px 28px rgba(246, 195, 67, 0.2);
  font-weight: 800;
  white-space: nowrap;
}

.header-hotline svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  color: #061018;
  background: var(--yellow);
}

.cart-icon {
  order: 1;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--icon-yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.header-action span {
  order: 2;
}

.order-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 22% 48%, rgba(255, 39, 56, 0.24), transparent 34%),
    radial-gradient(circle at 76% 52%, rgba(255, 90, 61, 0.18), transparent 36%),
    linear-gradient(90deg, #050505 0%, #110709 24%, #070707 50%, #140709 76%, #050505 100%);
}

.order-banner::before,
.order-banner::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 110px;
  height: 100%;
  pointer-events: none;
}

.order-banner::before {
  left: 0;
  background: linear-gradient(90deg, #050505, transparent);
}

.order-banner::after {
  right: 0;
  background: linear-gradient(270deg, #050505, transparent);
}

.banner-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  height: 100%;
  animation: banner-slide 34s linear infinite;
}

.order-banner img {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  padding-block: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
}


.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: #050505;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  padding: 14px 12px;
  color: var(--ink);
  background: rgba(8, 8, 8, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.service-item svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--icon-yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
@keyframes banner-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero {
  position: relative;
  display: grid;
  min-height: 460px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 72px) clamp(54px, 7vw, 92px);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: -1px;
  width: min(560px, 42vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--cyan));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.tag,
.kit-list span {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(3.3rem, 8vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy,
.kit-copy p,
.contact p,
.product-body p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.shop-info {
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.shop-info p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.shop-info strong {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.button.primary {
  color: #061018;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 42px rgba(255, 31, 61, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.hero-media {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.1), rgba(8, 8, 8, 0.68)),
    url("https://images.pexels.com/photos/7403962/pexels-photo-7403962.jpeg?auto=compress&cs=tinysrgb&w=1400") center / cover;
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.hero-panel {
  position: absolute;
  right: clamp(28px, 8vw, 120px);
  bottom: clamp(34px, 8vw, 100px);
  z-index: 3;
  width: min(270px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(255, 59, 48, 0.5);
  border-radius: 8px;
  background: rgba(10, 18, 26, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.hero-panel strong {
  color: var(--yellow);
  font-size: 1.4rem;
}

.home-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(50px, 7vw, 86px);
}

.home-categories article {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.052);
}

.home-categories span {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 850;
}

.home-categories strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.home-categories p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section,
.kits {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

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

.section-heading h2 {
  max-width: 760px;
}

.products-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 126px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 18, 18, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  scrollbar-color: var(--green) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.product-sidebar h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 750;
}

.category-list a:hover,
.category-list a.active {
  border-color: rgba(246, 195, 67, 0.48);
  color: var(--yellow);
  background: rgba(246, 195, 67, 0.12);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.product-card img {
  height: 250px;
  object-fit: cover;
}

.product-body {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.tag {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.72rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
}

.price-row strong {
  color: var(--yellow);
  font-size: 1.2rem;
}

.price-row button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #061018;
  background: var(--green);
  font-size: 1.45rem;
  font-weight: 700;
}

.kits {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 31, 61, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

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

.kit-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.kit-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.kit-list p {
  margin: 0;
  color: var(--yellow);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 31, 61, 0.35);
  border-color: var(--green);
}

.contact-form button {
  min-height: 50px;
  color: #061018;
  background: linear-gradient(135deg, #ffe07a, var(--yellow));
  font-size: 1rem;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  gap: 12px;
}

.floating-contact a {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  animation: contact-blink 1.6s ease-in-out infinite;
}

.floating-contact a::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 2px solid currentColor;
  border-radius: inherit;
  opacity: 0;
  animation: contact-pulse 1.6s ease-out infinite;
}

.floating-contact a:nth-child(2),
.floating-contact a:nth-child(2)::before {
  animation-delay: 0.28s;
}

.floating-contact .zalo {
  color: #ffffff;
  background: #0068ff;
  font-size: 0.9rem;
  font-weight: 900;
}

.floating-contact .messenger {
  color: #ffffff;
  background: linear-gradient(135deg, #00b2ff, #7b2cff);
}

.floating-contact svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@keyframes contact-blink {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.06);
    filter: brightness(1.18);
  }
}

@keyframes contact-pulse {
  0% {
    opacity: 0.48;
    transform: scale(0.82);
  }

  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: minmax(170px, 1fr) auto minmax(190px, 1fr);
    gap: 12px;
          padding-block: 4px;
min-height: 70px;
    padding-inline: clamp(12px, 3vw, 28px);
    overflow-x: auto;
  }

  .brand {
    --brand-logo-size: 52px;
    min-width: 86px;
  }

  .brand-logo {
    width: var(--brand-logo-size);
    height: var(--brand-logo-size);
  }

  .brand span {
    font-size: 0.88rem;
  }

.nav {
    gap: 12px;
    font-size: 1rem;
  }

  .header-hotline,
  .header-action {
    padding-inline: 11px;
    font-size: 0.88rem;
  }

  .header-search {
    width: 115px;
  }

  .header-hotline span {
    font-size: 0;
  }

  .header-hotline span::after {
    content: "0909 000 888";
    font-size: 0.86rem;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
    min-height: 430px;
  }

  .hero-panel {
    position: static;
    margin: -94px 18px 0 auto;
  }

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

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

@media (max-width: 720px) {
  .top-line {
  position: sticky;
  top: 0;
  z-index: 31;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(320px, 1fr);
  min-height: var(--top-line-height);
  border-bottom: 1px solid var(--line);
  background: #080808;
}

  
.top-brand-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 8px 18px;
  color: var(--yellow);
  background: rgba(8, 8, 8, 0.92);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.top-bar {
  justify-content: flex-start;
    padding: 8px 12px;
  }

  .top-address {
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 0;
    text-align: left;
    white-space: normal;
  }

  .welcome-ticker {
    border-right: 0;
  }

  .site-header {
    grid-template-columns: minmax(220px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    min-height: 106px;
    overflow-x: auto;
  }

  .brand {
    --brand-logo-size: 52px;
    min-width: 100px;
  }

  .brand-logo {
    width: var(--brand-logo-size);
    height: var(--brand-logo-size);
  }

  .brand span {
    font-size: 0.82rem;
  }

.nav {
    gap: 10px;
    overflow-x: auto;
  }

  .header-action {
    padding-inline: 13px;
  }

  .header-tools {
    justify-content: flex-end;
  }

  .header-search {
    width: 150px;
  }

  .header-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 195, 67, 0.78);
  border-radius: 8px;
  color: #061018;
  background: linear-gradient(135deg, #ffe07a, var(--yellow));
  box-shadow: 0 10px 28px rgba(246, 195, 67, 0.2);
  font-weight: 800;
  white-space: nowrap;
}

  h1 {
    font-size: clamp(2.65rem, 16vw, 4rem);
  }

  .hero {
    padding-top: 26px;
  }

  .hero-media {
    min-height: 340px;
  }

  .order-banner {
    padding-inline: 0;
  }

  .order-banner {
    height: 260px;
  }

  .banner-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  height: 100%;
  animation: banner-slide 34s linear infinite;
}

.order-banner img {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  padding-block: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
}

  .home-categories {
    grid-template-columns: 1fr;
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
    max-height: none;
  }

  .category-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .category-list a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .section-heading {
    display: block;
  }

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

  .product-card img {
    height: 230px;
  }

  .product-body {
    min-height: 235px;
  }

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

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

.bn1-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: clamp(220px, 19vw, 360px);
  background:
    radial-gradient(circle at 22% 48%, rgba(255, 39, 56, 0.24), transparent 34%),
    radial-gradient(circle at 76% 52%, rgba(255, 90, 61, 0.18), transparent 36%),
    linear-gradient(90deg, #050505 0%, #110709 24%, #070707 50%, #140709 76%, #050505 100%);
}

.bn1-banner .banner-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: transparent;
  transform: none;
  will-change: opacity;
}

.bn1-banner .banner-layer-color {
  background-image: url("assets/banner-gemini-color.png");
  animation: banner-color-cycle 12s ease-in-out infinite;
}

.bn1-banner .banner-layer-metal {
  background-image: url("assets/banner-gemini-metal.png");
  opacity: 0;
  animation: banner-metal-cycle 12s ease-in-out infinite;
}

@keyframes banner-color-cycle {
  0%, 42% {
    opacity: 1;
  }

  50%, 92% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes banner-metal-cycle {
  0%, 42% {
    opacity: 0;
  }

  50%, 92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .bn1-banner {
    height: clamp(180px, 38vw, 250px);
  }
}

/* Nen den cho toan bo noi dung ben duoi hang cam ket dich vu. */
main,
.hero,
.home-categories,
.section,
.kits,
.contact,
.footer {
  background: #050505;
}

.kits {
  background-image: none;
}
/* Giu thanh menu vua cao hon logo mot chut. */
.site-header {
  align-items: center;
  min-height: 60px;
  padding-block: 4px;
}

.brand {
  --brand-logo-size: 52px;
  min-width: 66px;
}

.header-search,
.header-hotline {
  min-height: 32px;
}

.header-search {
  padding-inline: 9px;
}

.header-hotline {
  padding: 6px 10px;
}

.bn1-banner {
  height: clamp(210px, 18vw, 330px);
}

.bn1-banner .banner-layer {
  background-size: 100% auto;
  background-position: center;
}

@media (max-width: 1040px) {
  .site-header {
    align-items: center;
    min-height: 58px;
    padding-block: 4px;
  }

  .brand {
    --brand-logo-size: 50px;
    min-width: 64px;
  }

  .nav {
    gap: 10px;
    font-size: 0.96rem;
  }

  .header-search,
  .header-hotline {
    min-height: 30px;
    font-size: 0.84rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    min-height: 56px;
    padding-block: 4px;
  }

  .brand {
    --brand-logo-size: 48px;
    min-width: 60px;
  }

  .bn1-banner {
    height: clamp(170px, 36vw, 230px);
  }
}
/* Anh banner luon full be rong; tang chieu cao de giam phan bi cat. */
.bn1-banner {
  aspect-ratio: auto;
  height: clamp(305px, 25.5vw, 490px);
  min-height: 0;
  max-height: none;
}

.bn1-banner .banner-layer {
  background-size: 100% auto;
  background-position: center center;
}

@media (max-width: 720px) {
  .bn1-banner {
    aspect-ratio: auto;
    height: clamp(210px, 50vw, 315px);
    min-height: 0;
    max-height: none;
  }
}/* Can giua logo trong thanh menu va giu thanh menu sat kich thuoc logo. */
.site-header {
  align-items: center;
  min-height: 60px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.brand {
  align-self: center;
  justify-self: center;
  height: 52px;
  min-height: 52px;
  --brand-logo-size: 52px;
}

.brand-logo {
  align-self: center;
}

.brand::before {
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
}

@keyframes logo-border-pulse {
  0% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.94);
  }

  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.22);
  }
}

@media (max-width: 1040px) {
  .site-header {
    min-height: 58px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .brand {
    height: 50px;
    min-height: 50px;
    --brand-logo-size: 50px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 56px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .brand {
    height: 48px;
    min-height: 48px;
    --brand-logo-size: 48px;
  }
}
/* Dat logo vao dung tam thanh menu va phong to nhu ban truoc. */
.site-header {
  position: sticky;
  min-height: 116px;
  padding-top: 0;
  padding-bottom: 12px;
  align-items: end;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 84px;
  height: 72px;
  min-width: 84px;
  min-height: 72px;
  --brand-logo-size: 72px;
  transform: translate(-50%, -50%);
}

.brand-logo {
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
}

.brand::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
}

.nav,
.header-tools {
  align-self: end;
}

@media (max-width: 1040px) {
  .site-header {
    min-height: 104px;
    padding-bottom: 10px;
  }

  .brand {
    width: 76px;
    height: 64px;
    min-width: 76px;
    min-height: 64px;
    --brand-logo-size: 64px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 96px;
    padding-bottom: 10px;
  }

  .brand {
    width: 68px;
    height: 58px;
    min-width: 68px;
    min-height: 58px;
    --brand-logo-size: 58px;
  }
}
/* Dat logo cung hang va can giua theo chieu cao thanh menu. */
.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  left: auto;
  top: auto;
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  --brand-logo-size: 76px;
  transform: none;
}

.brand-logo {
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
}

.brand::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
}

.nav,
.header-tools {
  align-self: center;
}

@media (max-width: 1040px) {
  .site-header {
    min-height: 84px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    --brand-logo-size: 68px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 76px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .brand {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    --brand-logo-size: 62px;
  }
}
/* Khoa kich thuoc hien tai cua thanh tren cung, thanh menu va banner. */
:root {
  --top-line-height: 35px;
  --locked-header-height: 92px;
  --locked-logo-size: 76px;
  --locked-banner-height: clamp(305px, 25.5vw, 490px);
}

.top-line {
  min-height: var(--top-line-height);
  height: var(--top-line-height);
}

.site-header {
  min-height: var(--locked-header-height);
  height: var(--locked-header-height);
  padding-top: 10px;
  padding-bottom: 10px;
  align-items: center;
}

.brand {
  width: var(--locked-logo-size);
  height: var(--locked-logo-size);
  min-width: var(--locked-logo-size);
  min-height: var(--locked-logo-size);
  --brand-logo-size: var(--locked-logo-size);
}

.bn1-banner {
  height: var(--locked-banner-height);
  min-height: 0;
  max-height: none;
}

@media (max-width: 1040px) {
  :root {
    --locked-header-height: 84px;
    --locked-logo-size: 68px;
    --locked-banner-height: clamp(305px, 25.5vw, 490px);
  }

  .site-header {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 720px) {
  :root {
    --locked-header-height: 76px;
    --locked-logo-size: 62px;
    --locked-banner-height: clamp(210px, 50vw, 315px);
  }

  .site-header {
    padding-top: 7px;
    padding-bottom: 7px;
  }
}
/* Gioi han dong kinh chao: chi chay den dau chu TRANG CHU. */
.welcome-ticker {
  margin-left: clamp(18px, 5vw, 72px);
  width: calc(100% - clamp(18px, 5vw, 72px));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 42px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 42px), transparent 100%);
}

@media (max-width: 720px) {
  .welcome-ticker {
    margin-left: clamp(12px, 4vw, 18px);
    width: calc(100% - clamp(12px, 4vw, 18px));
  }
}
/* Dia chi ben phai tren thanh tren cung mau vang va in dam. */
.top-address {
  color: var(--yellow);
  font-weight: 850;
}

.top-address strong,
.top-address span {
  color: inherit;
  font-weight: inherit;
}
/* Dong bo co chu dong kinh chao va dia chi; lam noi bat ten Ti-Billiards. */
.welcome-ticker,
.top-address {
  font-size: 0.92rem;
  font-weight: 850;
}

.welcome-ticker span {
  line-height: 1;
}

.ticker-brand {
  color: var(--yellow);
  font-size: 1.08em;
  font-weight: 950;
}

.top-brand-title {
  font-size: 1.08rem;
  font-weight: 950;
}
/* In nghieng dong kinh chao va dia chi. */
.welcome-ticker,
.top-address {
  font-style: italic;
}
/* LOCKED TOP AREA: thanh tren cung, thanh menu va banner. */
:root {
  --locked-top-line-height: 35px;
  --locked-menu-height: 92px;
  --locked-menu-logo-size: 76px;
  --locked-banner-height-desktop: clamp(305px, 25.5vw, 490px);
  --locked-banner-height-mobile: clamp(210px, 50vw, 315px);
}

.top-line {
  height: var(--locked-top-line-height);
  min-height: var(--locked-top-line-height);
  max-height: var(--locked-top-line-height);
  overflow: hidden;
}

.welcome-ticker,
.top-brand-title,
.top-bar,
.top-address {
  height: var(--locked-top-line-height);
  max-height: var(--locked-top-line-height);
  align-items: center;
}

.welcome-ticker,
.top-address {
  color: var(--yellow);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 850;
}

.ticker-brand,
.top-brand-title {
  color: var(--yellow);
  font-size: 1.08rem;
  font-style: normal;
  font-weight: 950;
}

.site-header {
  height: var(--locked-menu-height);
  min-height: var(--locked-menu-height);
  max-height: var(--locked-menu-height);
  align-items: center;
  overflow: hidden;
}

.brand {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  position: relative;
  left: auto;
  top: auto;
  width: var(--locked-menu-logo-size);
  height: var(--locked-menu-logo-size);
  min-width: var(--locked-menu-logo-size);
  min-height: var(--locked-menu-logo-size);
  transform: none;
  --brand-logo-size: var(--locked-menu-logo-size);
}

.brand-logo,
.brand::before {
  width: var(--locked-menu-logo-size);
  height: var(--locked-menu-logo-size);
}

.nav,
.header-tools {
  align-self: center;
}

.bn1-banner {
  height: var(--locked-banner-height-desktop);
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

.bn1-banner .banner-layer {
  background-size: 100% auto;
  background-position: center center;
}

@media (max-width: 1040px) {
  :root {
    --locked-menu-height: 84px;
    --locked-menu-logo-size: 68px;
  }
}

@media (max-width: 720px) {
  :root {
    --locked-menu-height: 76px;
    --locked-menu-logo-size: 62px;
  }

  .bn1-banner {
    height: var(--locked-banner-height-mobile);
  }
}
/* Menu chinh dung chu thuong, khong in dam. */
.nav {
  font-weight: 400;
  text-transform: none;
}

.nav a {
  font-weight: 400;
  text-transform: none;
}
/* Menu chinh in hoa nhung khong in dam. */
.nav,
.nav a {
  font-weight: 400;
  text-transform: uppercase;
}
/* Nut dien thoai nam tren Zalo va Messenger. */
.floating-contact .phone {
  color: #061018;
  background: linear-gradient(135deg, #ffe07a, var(--yellow));
}

.floating-contact a:nth-child(3),
.floating-contact a:nth-child(3)::before {
  animation-delay: 0.56s;
}
/* Dong bo nut Phone voi Zalo/Messenger va giu hieu ung chop bong. */
.floating-contact .phone {
  color: #ffffff;
  background: linear-gradient(135deg, #0068ff, #00b2ff);
  animation: contact-blink 1.6s ease-in-out infinite;
}

.floating-contact .phone::before {
  animation: contact-pulse 1.6s ease-out infinite;
}
/* Icon dich vu lay tu Billiards Omega. */
.service-item {
  gap: 12px;
}

.service-item .service-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}
/* Icon dich vu noi bo, khong phu thuoc hotlink ben ngoai. */
.service-item .service-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #ffffff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-item .service-icon text {
  fill: #050505;
  stroke: none;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}
/* Icon dich vu bang anh rieng, nam tren chu. */
.service-item {
  flex-direction: column;
  gap: 10px;
  min-height: 132px;
  padding: 18px 12px;
  text-align: center;
}

.service-item .service-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-item span {
  display: block;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .service-item {
    min-height: 116px;
    padding: 14px 8px;
    gap: 8px;
  }

  .service-item .service-icon {
    width: 46px;
    height: 46px;
  }
}
/* Dieu chinh thanh dich vu: nen den, icon lon hon, thanh gon hon. */
.service-strip {
  background: #050505;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.service-item {
  min-height: 112px;
  padding: 12px 12px 10px;
  gap: 6px;
  background: #050505;
}

.service-item .service-icon {
  width: 72px;
  height: 58px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: contrast(1.12) brightness(1.12);
}

.service-item span {
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .service-item {
    min-height: 98px;
    padding: 10px 6px 8px;
    gap: 5px;
  }

  .service-item .service-icon {
    width: 58px;
    height: 48px;
  }

  .service-item span {
    font-size: 0.78rem;
  }
}
/* Icon dich vu da xu ly nen den thuan. */
.service-item .service-icon {
  mix-blend-mode: normal;
  filter: none;
  background: #050505;
}
/* Can thang hang icon dich vu, phong to icon va giam chieu cao thanh. */
.service-item {
  display: grid;
  grid-template-rows: 62px auto;
  align-items: center;
  justify-items: center;
  min-height: 96px;
  padding: 8px 10px 7px;
  gap: 4px;
}

.service-item .service-icon {
  width: 82px;
  height: 62px;
  align-self: center;
  justify-self: center;
  object-fit: contain;
  object-position: center;
}

.service-item span {
  align-self: start;
  min-height: 18px;
  line-height: 1.15;
}

@media (max-width: 720px) {
  .service-item {
    grid-template-rows: 50px auto;
    min-height: 84px;
    padding: 7px 5px 6px;
    gap: 3px;
  }

  .service-item .service-icon {
    width: 66px;
    height: 50px;
  }
}
/* Doi icon va chu dich vu sang mau vang. */
.service-item {
  color: var(--yellow);
}

.service-item span {
  color: var(--yellow);
}
/* Menu vang mac dinh, trang khi duoc chon/hover. */
.nav,
.nav a {
  color: var(--yellow);
}

.nav a.active,
.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible,
.nav a:active {
  color: #ffffff;
}
/* O tim kiem san pham mau vang va chu nghieng. */
.header-search input {
  color: var(--yellow);
  font-style: italic;
}

.header-search input::placeholder {
  color: var(--yellow);
  font-style: italic;
  opacity: 1;
}
/* Icon HotLine nen vang bieu tuong den. */
.header-hotline .hotline-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border: 0;
  border-radius: 4px;
  background: var(--yellow);
  box-shadow: none;
}
/* Icon HotLine trong suot de dung nen vang cua nut. */
.header-hotline .hotline-icon {
  background: transparent;
  border-radius: 0;
}
/* Hang danh muc san pham lon va canh giua. */
.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: 136px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: #050505;
  text-align: center;
}

.product-tabs a {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .product-tabs {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 28px 18px;
  }

  .product-tabs a {
    font-size: 1.25rem;
  }
}
/* An toan bo khoi hero gioi thieu theo yeu cau. */
.hero-empty {
  display: none;
  min-height: 0;
  padding: 0;
}
/* Tieu de san pham mot dong duy nhat. */
.product-tabs {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
}

.product-tabs a {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
/* Product publishing grid - locked to the reference layout */
#products.product-showcase {
  padding-top: clamp(42px, 5vw, 68px);
  padding-bottom: clamp(46px, 5.5vw, 76px);
  background-color: #050505;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,0.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.025) 87.5%, rgba(255,255,255,0.025)),
    linear-gradient(150deg, rgba(255,255,255,0.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.025) 87.5%, rgba(255,255,255,0.025));
  background-size: 18px 31px;
}

#products .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.8vw, 54px);
  align-items: start;
}

#products .product-card {
  display: grid;
  justify-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

#products .product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}

#products .product-card h3 {
  width: 100%;
  margin: 24px 0 8px;
  color: #fff;
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#products .catalog-price {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 900;
}

#products .catalog-contact {
  display: inline-flex;
  min-width: 128px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 5px;
  color: #101010;
  background: var(--yellow);
  font-weight: 800;
  line-height: 1;
}

#products .catalog-contact svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#products .catalog-contact:hover {
  color: #000;
  background: #ffd65c;
  transform: translateY(-1px);
}

@media (max-width: 1060px) {
  #products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #products .product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
/* Left product category column */
#products .catalog-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

#products .catalog-sidebar {
  position: sticky;
  top: 110px;
  padding: 18px 16px;
  border: 1px solid rgba(246, 195, 67, 0.26);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
}

#products .catalog-sidebar h3 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

#products .catalog-menu {
  display: grid;
  gap: 7px;
}

#products .catalog-menu a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 11px;
  border-radius: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.94rem;
  font-weight: 600;
}

#products .catalog-menu a.active,
#products .catalog-menu a:hover {
  color: #101010;
  background: var(--yellow);
}

@media (max-width: 1060px) {
  #products .catalog-layout {
    grid-template-columns: 1fr;
  }

  #products .catalog-sidebar {
    position: static;
  }

  #products .catalog-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #products .catalog-menu {
    grid-template-columns: 1fr;
  }
}
/* Menu text weight and size */
.main-nav a {
  font-size: 0.9rem;
  font-weight: 800;
}
/* Correct top menu font: bold and slightly smaller */
.nav,
.nav a {
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}
/* Admin product manager */
.admin-page {
  min-height: 100vh;
  background: #050505;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.admin-view-site,
.admin-actions button,
.admin-list-head button,
.admin-card-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 0;
  border-radius: 5px;
  color: #101010;
  background: var(--yellow);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.admin-panel {
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid rgba(246, 195, 67, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--yellow);
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  font: inherit;
}

.admin-form textarea {
  min-height: 112px;
  resize: vertical;
}

.admin-file-field span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.admin-check-field {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
}

.admin-check-field input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--yellow);
}

.admin-form input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.admin-file-field input[type="file"] {
  padding: 9px 12px;
  cursor: pointer;
}

.admin-status {
  min-height: 22px;
  margin: 0;
  color: #7dffb2;
  font-weight: 800;
}

.admin-status.is-error {
  color: #ff6b6b;
}

.admin-wide {
  grid-column: 1 / -1;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions button:nth-child(2),
.admin-actions button:nth-child(3),
.admin-list-head button,
.admin-card-actions button:nth-child(2) {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-list-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

.admin-products {
  display: grid;
  gap: 12px;
}

.admin-product-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
}

.admin-product-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #000;
}

.admin-product-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1rem;
}

.admin-product-card p {
  margin: 0 0 5px;
  color: var(--yellow);
  font-weight: 900;
}

.admin-product-card span {
  color: var(--muted);
}

.admin-news-list {
  margin-top: 16px;
}

.admin-news-card h3 {
  line-height: 1.35;
}

.admin-news-card p {
  color: #fff;
  font-weight: 700;
  line-height: 1.55;
}

.admin-news-card span {
  display: block;
  overflow-wrap: anywhere;
}

.admin-card-actions {
  display: flex;
  gap: 8px;
}

.admin-card-actions button {
  min-width: 68px;
}

@media (max-width: 760px) {
  .admin-header,
  .admin-list-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header-actions {
    justify-content: stretch;
  }

  .admin-form,
  .admin-product-card {
    grid-template-columns: 1fr;
  }

  .admin-product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
/* Mobile layout repair: prevent overlap and horizontal overflow */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .top-line {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    overflow: hidden;
  }

  .welcome-ticker {
    grid-column: 1;
    width: 100%;
    margin: 0;
    padding-inline: 10px;
    justify-content: center;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .top-brand-title,
  .top-bar {
    display: none;
  }

  .site-header {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    gap: 8px;
    padding: 8px 12px 10px;
    overflow: visible;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    --brand-logo-size: 58px;
  }

  .brand,
  .brand::before,
  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .nav {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 0 4px;
    font-size: 0.78rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .header-tools {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 8px;
    justify-content: stretch;
  }

  .header-search,
  .header-hotline {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    justify-content: center;
  }

  .header-search {
    padding-inline: 12px;
  }

  .header-hotline {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .header-hotline span {
    font-size: 0.9rem;
  }

  .header-hotline span::after {
    content: none;
  }

  .header-hotline .hotline-icon {
    width: 20px;
    height: 20px;
  }

  .bn1-banner {
    height: clamp(190px, 50vw, 260px);
  }

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

  .service-item {
    min-height: 118px;
    padding: 12px 8px;
  }

  .service-icon {
    width: 54px;
    height: 54px;
  }

  .service-item span {
    font-size: clamp(0.82rem, 4vw, 1rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .product-tabs {
    width: 100%;
    padding-inline: 16px;
    overflow: hidden;
  }

  .product-tabs a {
    max-width: 100%;
    font-size: clamp(1.45rem, 9vw, 2.1rem);
    line-height: 1.12;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }

  #products.product-showcase {
    padding-inline: 16px;
  }

  #products .catalog-sidebar {
    padding: 16px 14px;
  }

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

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

  .floating-contact a::before {
    inset: -5px;
  }
}

@media (max-width: 390px) {
  .nav {
    justify-content: flex-start;
  }

  .header-hotline {
    font-size: 0.82rem;
  }

  .header-hotline span {
    font-size: 0.82rem;
  }
}
/* Reduce product title band height */
.product-tabs {
  min-height: 96px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.product-tabs a {
  line-height: 1;
}

@media (max-width: 720px) {
  .product-tabs {
    min-height: 72px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
/* Fine tune product title band on desktop */
.product-tabs {
  display: grid;
  min-height: 74px;
  padding-top: 14px;
  padding-bottom: 14px;
  place-items: center;
  text-align: center;
}

.product-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .product-tabs {
    min-height: 72px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
/* Vertically center product title text */
.product-tabs {
  height: 74px;
  min-height: 74px;
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
  justify-items: center;
}

.product-tabs a {
  height: 100%;
  align-items: center;
  line-height: 1;
}

@media (max-width: 720px) {
  .product-tabs {
    height: 72px;
    min-height: 72px;
    padding-top: 0;
    padding-bottom: 0;
  }
}
/* Balance spacing around product title before product cards */
.product-tabs {
  height: 82px;
  min-height: 82px;
}

#products.product-showcase {
  padding-top: 18px;
}

@media (max-width: 720px) {
  .product-tabs {
    height: 72px;
    min-height: 72px;
  }

  #products.product-showcase {
    padding-top: 18px;
  }
}
/* Blinking border for HotLine button */
.header-hotline {
  position: relative;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(246, 195, 67, 0.45), 0 10px 28px rgba(246, 195, 67, 0.2);
  animation: hotline-border-blink 1.45s ease-in-out infinite;
}

.header-hotline::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border: 2px solid rgba(246, 195, 67, 0.9);
  border-radius: inherit;
  opacity: 0;
  animation: hotline-border-pulse 1.45s ease-out infinite;
}

@keyframes hotline-border-blink {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(246, 195, 67, 0.45), 0 10px 28px rgba(246, 195, 67, 0.2);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 0 22px rgba(246, 195, 67, 0.72);
  }
}

@keyframes hotline-border-pulse {
  0% {
    transform: scale(0.98);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}
/* Match HotLine font with main menu */
.header-hotline,
.header-hotline span {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 720px) {
  .header-hotline,
  .header-hotline span {
    font-size: 0.82rem;
  }
}
/* Floating location button */
.floating-contact .location {
  color: #ffffff;
  background: linear-gradient(135deg, #12c6ff, #0068ff);
  animation: contact-blink 1.6s ease-in-out infinite;
}

.floating-contact .location::before {
  animation: contact-pulse 1.6s ease-out infinite;
}

.floating-contact .location svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.floating-contact .location svg circle {
  fill: #0b8fff;
  stroke: #ffffff;
  stroke-width: 1.8;
}
/* Admin category manager */
.admin-category-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-category-form input {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  font: inherit;
}

.admin-category-form button,
.admin-category-card button:disabled {
  min-height: 42px;
}

.admin-categories {
  display: grid;
  gap: 8px;
}

.admin-category-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.42);
}

.admin-category-card span {
  color: #fff;
  font-weight: 850;
}

.admin-category-card button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 760px) {
  .admin-category-form,
  .admin-category-card {
    grid-template-columns: 1fr;
  }
}
/* Product groups by category */
#products .product-groups {
  display: grid;
  gap: clamp(34px, 4vw, 58px);
}

#products .category-product-section {
  display: grid;
  gap: 18px;
}

#products .category-title {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

#products .category-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.8vw, 54px);
  align-items: start;
}

#products .category-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1060px) {
  #products .category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #products .category-products {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
/* Category more button */
#products .category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#products .category-more {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(246, 195, 67, 0.45);
  border-radius: 5px;
  color: #101010;
  background: var(--yellow);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

#products .category-more span {
  font-size: 1rem;
  line-height: 1;
}

#products .category-more:hover {
  background: #ffd65c;
}

@media (max-width: 640px) {
  #products .category-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Place category more button at the far right of each category row */
#products .category-product-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 18px;
  align-items: start;
}

#products .category-head {
  display: contents;
}

#products .category-title {
  grid-column: 1;
  grid-row: 1;
}

#products .category-more {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
  margin-top: 0;
  min-width: 112px;
}

#products .category-products,
#products .category-empty {
  grid-column: 1;
  grid-row: 2;
}

@media (max-width: 1060px) {
  #products .category-product-section {
    grid-template-columns: minmax(0, 1fr);
  }

  #products .category-head {
    display: flex;
  }

  #products .category-title,
  #products .category-more,
  #products .category-products,
  #products .category-empty {
    grid-column: auto;
    grid-row: auto;
  }

  #products .category-more {
    justify-self: auto;
    margin-left: auto;
  }
}
/* Make the category more action a visible right-side tile */
#products .category-more {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  justify-self: stretch;
  display: flex;
  width: 128px;
  min-height: clamp(210px, 17vw, 320px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  border: 1px solid rgba(246, 195, 67, 0.58);
  border-radius: 6px;
  color: #101010;
  background: linear-gradient(180deg, #ffd86b, var(--yellow));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

#products .category-more span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--yellow);
  background: #101010;
  font-size: 1.1rem;
}

#products .category-more:hover {
  transform: translateY(-1px);
}

@media (max-width: 1060px) {
  #products .category-more {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 48px;
    flex-direction: row;
    margin-left: 0;
  }

  #products .category-more span {
    width: 28px;
    height: 28px;
  }
}
/* Slightly narrow right-side more tile */
#products .category-more {
  width: 104px;
  min-width: 104px;
}

@media (max-width: 1060px) {
  #products .category-more {
    width: 100%;
    min-width: 0;
  }
}
/* Half-height and vertically centered category more tile */
#products .category-more {
  align-self: center;
  min-height: clamp(105px, 8.5vw, 160px);
  height: clamp(105px, 8.5vw, 160px);
}

@media (max-width: 1060px) {
  #products .category-more {
    min-height: 48px;
    height: auto;
    align-self: auto;
  }
}
/* Moving arrow effect inside category more tile */
#products .category-more span {
  animation: category-arrow-run 0.95s ease-in-out infinite;
}

@keyframes category-arrow-run {
  0%, 100% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(7px);
  }
}

#products .category-more:hover span {
  animation-duration: 0.55s;
}
/* Align category more tile to the image height, not the full product card */
#products .category-more {
  align-self: start;
  margin-top: calc((min(100%, 320px) - clamp(105px, 8.5vw, 160px)) / 2);
}

@media (min-width: 1061px) {
  #products .category-more {
    margin-top: clamp(52px, 4.25vw, 80px);
  }
}

@media (max-width: 1060px) {
  #products .category-more {
    margin-top: 0;
  }
}
/* Center the "Con tiep" tile against the product image area in each category. */
@media (min-width: 1061px) {
  #products .category-more {
    align-self: start;
    margin-top: clamp(34px, 2.1vw, 42px);
  }
}
/* Search empty state */
#products .search-empty {
  padding: 20px;
  border: 1px solid rgba(246, 195, 67, 0.26);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
}
/* Zalo QR modal */
.floating-contact button.zalo {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.zalo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.zalo-modal.is-open {
  display: grid;
}

.zalo-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.zalo-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  padding: 18px;
  border: 1px solid rgba(246, 195, 67, 0.38);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.zalo-modal-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.zalo-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #101010;
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

body.zalo-modal-open {
  overflow: hidden;
}
/* Fix floating Zalo button after changing it from link to button */
.floating-contact button.zalo {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #0068ff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  animation: contact-blink 1.6s ease-in-out infinite;
}

.floating-contact button.zalo::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 2px solid rgba(0, 104, 255, 0.58);
  border-radius: inherit;
  animation: contact-pulse 1.6s ease-out infinite;
}

.floating-contact button.zalo span {
  line-height: 1;
}

@media (max-width: 720px) {
  .floating-contact button.zalo {
    width: 46px;
    height: 46px;
  }

  .floating-contact button.zalo::before {
    inset: -5px;
  }
}
/* Invisible section anchor for menu targets */
.section-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 120px;
}
/* About Ti-Billiards section */
.about-section {
  scroll-margin-top: 120px;
  padding: clamp(42px, 5vw, 72px) clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(120deg, rgba(246, 195, 67, 0.08), transparent 42%),
    #050505;
}

.about-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-inner h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.85rem, 3.1vw, 3.1rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.about-inner p {
  max-width: 980px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.75;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.about-columns article {
  padding: 20px;
  border: 1px solid rgba(246, 195, 67, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
}

.about-columns h3 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 1.18rem;
  text-transform: uppercase;
}

.about-columns ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #fff;
  line-height: 1.45;
}

.about-signature {
  display: block;
  margin-top: 20px;
  color: var(--yellow);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.4;
  text-transform: uppercase;
}

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

.news-section {
  scroll-margin-top: 130px;
  padding-top: clamp(46px, 5.5vw, 78px);
  padding-bottom: clamp(50px, 6vw, 86px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 214, 92, 0.035), transparent 34%),
    #050505;
}

.news-section .section-heading {
  align-items: start;
}

.news-intro {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.news-card {
  display: grid;
  min-height: 260px;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(246, 195, 67, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 195, 67, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.58);
}

.news-category {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(246, 195, 67, 0.32);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(246, 195, 67, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.12rem, 1.35vw, 1.38rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.news-card a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(246, 195, 67, 0.5);
  border-radius: 8px;
  color: var(--yellow);
  font-weight: 850;
}

.news-card a:hover {
  color: #000000;
  background: var(--yellow);
}

@media (max-width: 1040px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .news-section {
    scroll-margin-top: 96px;
    padding-inline: 16px;
  }

  .news-section .section-heading {
    display: grid;
    gap: 12px;
  }

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

  .news-card {
    min-height: auto;
    padding: 18px;
  }
}

/* News cards with image-first layout, matching the reference news style. */
.news-section {
  padding-top: clamp(34px, 4.5vw, 58px);
  background-color: #050505;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,0.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.025) 87.5%, rgba(255,255,255,0.025)),
    linear-gradient(150deg, rgba(255,255,255,0.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.025) 87.5%, rgba(255,255,255,0.025));
  background-position: 0 0, 0 0;
  background-size: 18px 31px;
}

.news-title {
  margin: 0 0 clamp(28px, 4vw, 48px);
  color: var(--yellow);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  text-align: center;
  text-transform: capitalize;
}

.news-grid {
  width: min(1600px, 100%);
  margin: 0 auto;
  gap: clamp(22px, 2.8vw, 38px);
}

.news-card {
  display: grid;
  min-height: 0;
  grid-template-rows: auto auto 1fr auto;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #303030;
  box-shadow: none;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.news-card h3 {
  display: -webkit-box;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  padding: 22px 28px 10px;
  color: #ffffff;
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  line-height: 1.28;
  text-align: center;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  padding: 0 28px 16px;
  color: #ffffff;
  font-size: clamp(0.94rem, 1vw, 1.05rem);
  line-height: 1.7;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card a {
  justify-self: center;
  width: auto;
  min-height: 42px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--yellow);
  background: transparent;
  font-size: 1rem;
  font-weight: 850;
}

.news-card a:hover {
  color: #ffffff;
  background: transparent;
}

@media (max-width: 720px) {
  .news-card {
    padding: 0;
  }

  .news-card h3 {
    min-height: auto;
    padding: 18px 18px 8px;
  }

  .news-card p {
    padding: 0 18px 14px;
  }
}


/* Product detail popup */
#products .product-card {
  cursor: pointer;
}

#products .product-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 6px;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  padding: 22px;
}

.product-detail-modal.is-open {
  display: grid;
}

.product-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.76);
  cursor: pointer;
}

.product-detail-card {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  max-height: min(760px, 90vh);
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr);
  gap: 24px;
  overflow: auto;
  border: 1px solid rgba(255, 198, 55, 0.55);
  border-radius: 10px;
  background: #050505;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.65), 0 0 34px rgba(255, 198, 55, 0.16);
  padding: 22px;
}

.product-detail-media {
  display: grid;
  align-items: center;
  background: #000;
  border: 1px solid rgba(255, 198, 55, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.product-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.product-detail-category {
  margin: 0;
  color: var(--yellow);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.product-detail-price {
  margin: 0;
  color: var(--yellow);
  font-size: 1.35rem;
  font-weight: 900;
}

.product-detail-description {
  margin: 0;
  color: #d9d9d9;
  font-size: 1rem;
  line-height: 1.65;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.product-detail-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--yellow);
  color: #050505;
  font-weight: 900;
  text-decoration: none;
}

.product-detail-actions span {
  color: #fff;
  font-weight: 800;
}

.product-detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 198, 55, 0.5);
  border-radius: 50%;
  background: #111;
  color: var(--yellow);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

body.product-detail-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .product-detail-content h2 {
    font-size: 1.35rem;
  }

  .product-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Admin product detail preview */
.admin-product-detail-preview {
  display: block;
  margin-top: 6px;
  color: #cfcfcf;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Hide category and price inside product detail popup */
.product-detail-category,
.product-detail-price {
  display: none;
}

/* Align product detail title high and actions low */
.product-detail-content {
  justify-content: flex-start;
  min-height: 100%;
}

.product-detail-content h2 {
  margin-top: 0;
}

.product-detail-actions {
  margin-top: auto;
  padding-top: 18px;
}

/* Center product detail right column content */
.product-detail-content {
  align-items: center;
  text-align: center;
}

.product-detail-description {
  align-self: stretch;
  text-align: left;
}

.product-detail-actions {
  align-self: center;
  justify-content: center;
}

/* Smaller product detail title */
.product-detail-content h2 {
  font-size: clamp(1.18rem, 1.7vw, 1.85rem);
}

/* Center product detail description block */
.product-detail-description {
  align-self: center;
  width: min(100%, 520px);
  text-align: center;
}

/* Vertically center product detail description */
.product-detail-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: stretch;
}

.product-detail-content h2 {
  justify-self: center;
}

.product-detail-description {
  align-self: center;
  justify-self: stretch;
  width: 100%;
  text-align: left;
}

.product-detail-actions {
  align-self: end;
  justify-self: center;
  margin-top: 0;
}

/* Put product detail description directly under title */
.product-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.product-detail-description {
  align-self: stretch;
  width: 100%;
  margin-top: 4px;
  text-align: left;
}

.product-detail-actions {
  align-self: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 18px;
}

/* Remove service item separator lines */
.service-item,
.services article,
.service-strip article {
  border-left: 0 !important;
  border-right: 0 !important;
  border-color: transparent !important;
  box-shadow: none;
}

/* Large footer contact section */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(246, 195, 67, 0.35);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.96)),
    radial-gradient(circle at 50% 20%, rgba(246, 195, 67, 0.16), transparent 34%),
    #030303;
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.04) 50%, transparent 66%);
  opacity: 0.55;
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 70px);
  padding: clamp(42px, 6vw, 76px) 0 clamp(34px, 5vw, 58px);
}

.footer-brand h2,
.footer-brand h3,
.site-footer h3 {
  margin: 0;
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-brand h2,
.footer-brand h3 {
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.25;
}

.footer-brand h3 {
  margin: 14px 0 24px;
}

.footer-brand p {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
}

.site-footer h3 {
  display: inline-block;
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--yellow);
  font-size: 1.06rem;
}

.footer-column ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 16px;
}

.footer-column li {
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-newsletter p {
  margin: 0 0 16px;
  font-size: 0.98rem;
  font-weight: 800;
}

.footer-subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 360px);
  margin-bottom: 28px;
  border-radius: 8px;
  overflow: hidden;
}

.footer-subscribe input {
  min-height: 48px;
  border: 0;
  padding: 0 16px;
  color: #111;
  font: inherit;
}

.footer-subscribe button {
  border: 0;
  min-height: 48px;
  padding: 0 18px;
  background: var(--yellow);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(246, 195, 67, 0.28);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid rgba(246, 195, 67, 0.28);
  padding: 14px 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  text-align: center;
}

.footer-bottom strong {
  color: var(--yellow);
}

@media (max-width: 980px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    width: min(100% - 28px, 520px);
    grid-template-columns: 1fr;
  }

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

  .footer-subscribe button {
    width: 100%;
  }
}

/* Admin login gate */
.admin-login {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(246, 195, 67, 0.14), transparent 32%),
    linear-gradient(135deg, #050505, #111, #050505);
}

.admin-login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(246, 195, 67, 0.42);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 26px rgba(246, 195, 67, 0.12);
}

.admin-login-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.1;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  color: var(--yellow);
  font-weight: 900;
}

.admin-login-card input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  padding: 0 14px;
  background: #111;
  color: #fff;
  font: inherit;
}

.admin-login-card input:focus {
  outline: 2px solid rgba(246, 195, 67, 0.32);
  border-color: var(--yellow);
}

.admin-login-card button,
.admin-logout {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 0 18px;
  background: var(--yellow);
  color: #090909;
  font-weight: 900;
  cursor: pointer;
}

.admin-login-error {
  min-height: 22px;
  margin: 0;
  color: #ff6b6b;
  font-weight: 800;
}

.admin-page.admin-locked {
  overflow: hidden;
}

.admin-page.admin-locked .admin-shell {
  visibility: hidden;
  pointer-events: none;
}

.admin-page.admin-unlocked .admin-login {
  display: none;
}

.admin-logout {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
