:root {
  --ink: #16211d;
  --muted: #5f6d67;
  --paper: #f8f7f2;
  --panel: #ffffff;
  --line: #dde2dc;
  --brand: #1e519f;
  --brand-dark: #203c7d;
  --accent: #ec641c;
  --accent-dark: #d71919;
  --gold: #f8ab16;
  --shadow: 0 18px 45px rgba(22, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar {
  background: var(--brand-dark);
  color: #fff;
  font-size: 14px;
}

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #f45b18;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.ticker-track {
  display: inline-flex;
  min-width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker-track span {
  padding-right: 48px;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

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

.topbar-inner,
.nav-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.home-page .topbar {
  display: none;
}

.home-page .navbar {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-page .navbar.is-scrolled {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(22, 33, 29, 0.08);
}

.home-page .nav-links a {
  color: #fff;
}

.home-page .nav-links a:hover,
.home-page .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.home-page .navbar.is-scrolled .nav-links a {
  color: #2d3934;
}

.home-page .navbar.is-scrolled .nav-links a:hover,
.home-page .navbar.is-scrolled .nav-links a.active {
  color: var(--brand-dark);
  background: #eef4ff;
}

.nav-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
}

.brand-mark {
  width: 168px;
  height: 74px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.brand-mark .logo-light {
  display: none;
}

.home-page .brand-mark .logo-color {
  display: none;
}

.home-page .brand-mark .logo-light {
  display: block;
}

.home-page .brand-mark {
  width: 196px;
  height: 92px;
}

.home-page .nav-inner {
  min-height: 117px;
  padding-top: 20px;
}

.home-page .navbar.is-scrolled .brand-mark .logo-color {
  display: block;
}

.home-page .navbar.is-scrolled .brand-mark .logo-light {
  display: none;
}

.home-page .navbar.is-scrolled .brand-mark {
  width: 118px;
  height: 52px;
}

.home-page .navbar.is-scrolled .nav-inner {
  min-height: 86px;
  padding-top: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #2d3934;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
  background: #eef4ff;
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-call {
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: none;
}

.lang-toggle {
  display: inline-flex;
  height: 38px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 900;
}

.lang-toggle span {
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 12px;
}

.lang-toggle span:first-child,
body.lang-bn .lang-toggle span:last-child {
  background: var(--brand-dark);
  color: #fff;
}

body.lang-bn .lang-toggle span:first-child {
  background: transparent;
  color: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(226, 61, 40, 0.2);
}

.btn:hover {
  background: var(--accent-dark);
}

.btn.secondary {
  background: var(--brand);
  box-shadow: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(12, 28, 22, 0.86) 0%, rgba(12, 28, 22, 0.62) 47%, rgba(12, 28, 22, 0.24) 100%),
    url("images/home-red-cylinder-factory-bg.png") center/cover;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 172px 0 72px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff3c3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 16px 0 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

body.lang-bn .hero h1,
body.lang-bn .page-hero h1 {
  line-height: 1.14;
}

.hero p,
.page-hero p {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
  max-width: 780px;
}

.fact {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.fact strong {
  display: block;
  font-size: 24px;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding-top: 42px;
}

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

.filter-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-controls select {
  min-width: 160px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.product-empty {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.section-head h2,
.page-hero h1 {
  margin-top: 0;
}

.section-head h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.section-head p {
  max-width: 650px;
  color: var(--muted);
  margin: 0;
}

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

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.category-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 112px;
}

.category-title {
  margin: 0;
  padding: 18px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
}

.category-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #edf0ed;
  color: var(--ink);
  font-weight: 800;
}

.category-list a:hover,
.category-list a.active {
  color: var(--accent);
  background: #fff3eb;
}

.category-list span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.shop-main {
  min-width: 0;
}

.shop-toolbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shop-toolbar h2 {
  margin: 0;
  font-size: 28px;
}

.sort-label {
  color: var(--muted);
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.product-tile {
  position: relative;
  min-height: 430px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  z-index: 1;
}

.product-image {
  height: 210px;
  margin-bottom: 16px;
  background: #f4f5f2;
}

.product-image img {
  object-fit: contain;
  padding: 12px;
}

.product-tile h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.product-brand {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.product-price {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.product-tile .btn {
  margin-top: auto;
  width: 100%;
  min-height: 42px;
}

.home-category {
  padding: 68px 0;
}

.home-category.alt {
  background: #fff;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.logo-pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(22, 33, 29, 0.06);
}

.logo-pill.red {
  color: #d71919;
}

.logo-pill.blue {
  color: #1e519f;
}

.home-product-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-cylinder-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.85fr);
}

.home-cylinder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-cylinder-feature,
.home-cylinder-feature .home-product-card {
  min-height: 100%;
}

.home-cylinder-grid .product-image {
  height: 240px;
}

.home-cylinder-feature .product-image {
  height: 520px;
}

.home-cylinder-grid .product-image img,
.home-cylinder-feature .product-image img {
  height: 100%;
  padding: 6px;
  object-fit: contain;
}

@media (min-width: 901px) {
  .home-cylinder-grid .home-product-card .product-image {
    height: 240px;
  }

  .home-cylinder-feature .home-product-card .product-image {
    height: 520px;
  }

  .home-cylinder-grid .home-product-card .product-image img,
  .home-cylinder-feature .home-product-card .product-image img {
    height: 100%;
    padding: 6px;
    object-fit: contain;
  }
}

.home-cylinder-feature .home-product-card {
  box-shadow: 0 14px 34px rgba(30, 81, 159, 0.14);
}

.home-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(22, 33, 29, 0.06);
}

.home-product-card .product-image {
  height: 180px;
  margin: 0;
}

.home-product-card .product-image img {
  padding: 10px;
}

.home-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.home-product-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.24;
}

.home-product-body .product-brand,
.home-product-body .product-price {
  margin-bottom: 8px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.footer-brand {
  max-width: 310px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  width: 210px;
  height: auto;
  margin-bottom: 14px;
}

.footer-columns {
  display: contents;
  position: relative;
  z-index: 1;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
}

.footer-col a,
.supplier-mini {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.supplier-mini {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.footer-suppliers img {
  width: min(340px, 100%);
  height: auto;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.footer-suppliers {
  justify-items: center;
  text-align: center;
}

.footer-suppliers h3 {
  width: 100%;
  margin-bottom: 8px;
  text-align: center;
}

.footer-fire-scene,
.footer-cylinder,
.footer-flame {
  display: none;
}

.footer-fire-scene {
  inset: 0;
  overflow: hidden;
}

.footer-cylinder {
  bottom: 16px;
  width: 74px;
  height: 126px;
  border-radius: 22px 22px 16px 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 22%, rgba(0, 0, 0, 0.18) 80%),
    linear-gradient(#315eae, #12306c);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18), 0 18px 34px rgba(0, 0, 0, 0.25);
}

.footer-cylinder::before {
  content: "";
  position: absolute;
  left: 18px;
  top: -24px;
  width: 38px;
  height: 34px;
  border: 8px solid #315eae;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.footer-cylinder::after {
  content: "";
  position: absolute;
  left: 23px;
  bottom: -9px;
  width: 28px;
  height: 12px;
  border-radius: 0 0 10px 10px;
  background: #0d214c;
}

.footer-cylinder.left {
  left: 22px;
}

.footer-cylinder.right {
  right: 22px;
}

.footer-flame {
  bottom: 82px;
  width: 280px;
  height: 96px;
  opacity: 0.88;
  filter: blur(0.4px) drop-shadow(0 0 18px rgba(248, 171, 22, 0.4));
  background:
    radial-gradient(ellipse at 18% 58%, rgba(255, 246, 185, 0.98) 0 10%, transparent 17%),
    radial-gradient(ellipse at 30% 48%, rgba(248, 171, 22, 0.96) 0 20%, transparent 31%),
    radial-gradient(ellipse at 48% 44%, rgba(236, 100, 28, 0.98) 0 30%, transparent 43%),
    radial-gradient(ellipse at 66% 40%, rgba(215, 25, 25, 0.84) 0 30%, transparent 48%),
    radial-gradient(ellipse at 82% 36%, rgba(248, 171, 22, 0.86) 0 18%, transparent 36%);
  transform-origin: 0 50%;
  animation: flame-breathe 1.1s ease-in-out infinite alternate, flame-flicker 0.22s steps(2, end) infinite;
}

.footer-flame.left {
  left: 78px;
  transform: rotate(-8deg);
}

.footer-flame.right {
  right: 78px;
  transform: scaleX(-1) rotate(-8deg);
}

@keyframes flame-breathe {
  from {
    scale: 0.94 0.88;
    opacity: 0.68;
  }

  to {
    scale: 1.08 1.12;
    opacity: 0.95;
  }
}

@keyframes flame-flicker {
  0% {
    filter: blur(0.2px) drop-shadow(0 0 14px rgba(248, 171, 22, 0.36));
  }

  100% {
    filter: blur(1px) drop-shadow(0 0 26px rgba(236, 100, 28, 0.52));
  }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(22, 33, 29, 0.06);
  display: flex;
  flex-direction: column;
}

.card-media {
  aspect-ratio: 4 / 3;
  background: #fff;
}

.card-media img {
  object-fit: contain;
  padding: 12px;
}

.card-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card h3 {
  margin: 0 0 4px;
  font-size: 21px;
}

.meta {
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 10px;
}

.details {
  color: var(--muted);
  margin: 0 0 16px;
}

.specs {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2fb;
  color: var(--muted);
}

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

.card .btn {
  margin-top: auto;
  width: 100%;
}

.compact-products .card-media {
  aspect-ratio: 16 / 9;
}

.compact-products .card-media img {
  padding: 8px;
}

.compact-products .card-body {
  padding: 14px 18px 16px;
}

.compact-products .card h3 {
  font-size: 20px;
  margin-bottom: 2px;
}

.compact-products .meta {
  margin-bottom: 8px;
}

.compact-products .specs {
  gap: 4px;
  margin-bottom: 12px;
}

.compact-products .specs li {
  padding-bottom: 5px;
}

.compact-products .btn {
  min-height: 40px;
  padding: 9px 14px;
}

.stove-products .card {
  position: relative;
}

.stove-products .card-media {
  aspect-ratio: 4 / 3;
  background: #fff;
}

.stove-products .card-media img {
  padding: 4px;
  object-fit: contain;
}

.stove-products .card[data-warranty]::before {
  content: attr(data-warranty);
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  max-width: 92px;
  padding: 8px 9px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold), #c98b10);
  color: #1d1a10;
  box-shadow: 0 8px 18px rgba(22, 33, 29, 0.14);
  font-size: 11px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(12, 28, 22, 0.88), rgba(12, 28, 22, 0.45)),
    var(--hero-img) center/cover;
  color: #fff;
}

.page-hero .section {
  padding: 92px 0 78px;
}

.split-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(32, 60, 125, 0.96), rgba(30, 81, 159, 0.86));
  color: #fff;
}

.split-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--split-hero-bg, none) center/cover;
  opacity: 0.15;
  z-index: 0;
}

.split-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 34px;
  padding: 72px 0;
}

.split-hero-inner.no-image {
  grid-template-columns: 1fr;
  min-height: 430px;
}

.split-hero-copy h1 {
  max-width: 620px;
  margin: 16px 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.98;
}

.split-hero-copy p {
  max-width: 580px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.split-hero-image {
  align-self: end;
}

.split-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 26px 35px rgba(0, 0, 0, 0.22));
}

.banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(238, 244, 255, 0.92), rgba(238, 244, 255, 0.74)),
    url("images/instant-delivery-bg.png") center right/cover;
  color: #fff;
}

.banner-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 510px;
  padding: 76px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.banner h2 {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
}

.banner p {
  margin: 0;
  max-width: 520px;
  color: #405069;
  font-size: 18px;
  font-weight: 700;
}

.banner .btn {
  min-height: 76px;
  padding: 22px 36px;
  border-radius: 8px;
  font-size: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
}

.info-list dt {
  font-weight: 800;
  color: var(--brand-dark);
}

.info-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-numbers {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  line-height: 1;
}

.contact-numbers a {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
}

.contact-numbers a:first-child {
  color: #050505;
}

.contact-numbers a:last-child {
  color: #d71919;
}

.map-placeholder {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef4ff;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 55, 124, 0.95), rgba(24, 55, 124, 0.84)),
    url("images/footer-fire-bg.png") center/cover,
    #18377c;
  color: #fff;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  align-items: start;
  gap: 34px;
  color: rgba(255, 255, 255, 0.74);
}

.footer strong {
  color: #fff;
}

.hero-suppliers {
  width: 150px;
  height: 50px;
  object-fit: contain;
  padding: 4px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 189, 89, 0.36);
  background: linear-gradient(90deg, #f05a18 0%, #ff8a1c 52%, #e03f13 100%);
}

.footer-bottom-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.footer-bottom a {
  color: #fff;
  font-weight: 900;
}

.filter-card-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-card {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
  cursor: pointer;
}

.filter-card.active {
  background: var(--brand-dark);
  color: #fff;
}

.cylinder-marquee {
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.cylinder-marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 14px 0;
  animation: ticker-scroll 26s linear infinite;
}

.cylinder-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.cylinder-chip.red { background: #d71919; }
.cylinder-chip.cyan { background: #1596d2; }
.cylinder-chip.blue { background: #1e519f; }

.terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.terms-content h2 {
  margin-top: 28px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 14, 31, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(340px, 88vw);
  height: 100vh;
  padding: 22px;
  background: #fff;
  box-shadow: -20px 0 44px rgba(0, 0, 0, 0.22);
  translate: 105% 0;
  transition: translate 180ms ease;
}

.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.drawer-open .mobile-drawer {
  translate: 0 0;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.drawer-head img {
  width: 150px;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--brand-dark);
  font-size: 24px;
}

.drawer-links {
  display: grid;
  gap: 10px;
}

.drawer-links a {
  padding: 15px;
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--brand-dark);
  font-weight: 900;
}

@media (max-width: 880px) {
  .section-head,
  .banner-inner,
  .contact-layout {
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    justify-self: end;
  }

  .nav-call,
  .lang-toggle {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand-mark,
  .home-page .brand-mark,
  .home-page .navbar.is-scrolled .brand-mark {
    width: 196px;
    height: 92px;
  }

  .home-page .nav-inner,
  .home-page .navbar.is-scrolled .nav-inner {
    min-height: 117px;
  }

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-col {
    justify-items: center;
    text-align: center;
  }

  .footer-suppliers img {
    width: min(420px, 92vw);
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    text-align: center;
  }

  .filter-card-row,
  .filter-controls {
    width: 100%;
    justify-content: center;
  }

  .filter-card,
  .filter-controls label,
  .filter-controls select {
    width: 100%;
    text-align: center;
  }

  .split-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .category-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .home-page {
    padding-top: 32px;
  }

  .ticker {
    height: 32px;
    font-size: 12px;
  }

  .ticker-track span {
    padding-right: 32px;
  }

  .topbar-inner {
    padding: 8px 0;
  }

  .hero {
    min-height: calc(100vh - 32px);
    min-height: calc(100svh - 32px);
  }

  .navbar,
  .home-page .navbar {
    position: sticky;
  }

  .navbar {
    top: 0;
    background: #fff;
    border-bottom-color: var(--line);
  }

  .home-page .navbar {
    position: fixed;
    top: 32px;
    background: transparent;
    border-bottom-color: transparent;
  }

  .nav-inner {
    width: min(100% - 20px, 1120px);
    min-height: 68px;
    gap: 10px;
  }

  .home-page .brand-mark .logo-color {
    display: none;
  }

  .home-page .brand-mark .logo-light {
    display: block;
  }

  .home-page .navbar.is-scrolled {
    background: #fff;
    border-bottom-color: var(--line);
  }

  .home-page .navbar.is-scrolled .brand-mark .logo-color {
    display: block;
  }

  .home-page .navbar.is-scrolled .brand-mark .logo-light {
    display: none;
  }

  .hero-content,
  .page-hero .section {
    padding-top: 72px;
    padding-bottom: 52px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

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

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

  .home-product-row .home-product-card:nth-child(n+6) {
    display: none;
  }

  .home-product-card .product-image {
    height: 145px;
  }

  .home-product-body {
    padding: 12px;
  }

  .home-product-body h3 {
    font-size: 16px;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 48px 0;
  }

  .btn {
    width: 100%;
  }

  .brand-mark,
  .home-page .brand-mark,
  .home-page .navbar.is-scrolled .brand-mark {
    width: 142px;
    height: 58px;
  }

  .home-page .nav-inner,
  .home-page .navbar.is-scrolled .nav-inner {
    min-height: 68px;
    padding-top: 0;
  }

  .menu-toggle {
    width: 44px;
    height: 40px;
    padding: 9px 11px;
  }
}

.admin-auth-page,
.admin-page {
  background: #eef4ff;
}

.admin-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(32, 60, 125, 0.9), rgba(236, 100, 28, 0.76)),
    url("images/home-red-cylinder-factory-bg.png") center/cover;
}

.admin-login-card {
  width: min(430px, 100%);
  padding: 32px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.admin-login-logo {
  width: 178px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 18px;
}

.admin-kicker {
  display: inline-flex;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-login-card h1,
.admin-top h1 {
  margin: 6px 0 22px;
  color: var(--brand-dark);
  line-height: 1.08;
}

.admin-form,
.admin-form label {
  display: grid;
  gap: 8px;
}

.admin-form {
  gap: 16px;
}

.admin-form input,
.admin-row input,
.admin-row select,
.admin-tools input,
.admin-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.admin-login-help,
.admin-login-error {
  margin: 0;
  font-size: 13px;
}

.admin-login-help {
  color: var(--muted);
}

.admin-login-card > .admin-login-help {
  margin: -12px 0 20px;
}

.admin-login-error {
  min-height: 18px;
  color: var(--accent-dark);
  font-weight: 900;
}

.admin-form-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.admin-check {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.admin-back-link {
  display: block;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 900;
  text-align: center;
}

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  background: var(--brand-dark);
  color: #fff;
}

.admin-brand img {
  width: 180px;
  height: 78px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.admin-nav {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.admin-nav a,
.admin-logout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.admin-nav a {
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav a.active,
.admin-nav a:hover,
.admin-logout {
  background: var(--accent);
  color: #fff;
}

.admin-nav strong {
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  text-align: center;
}

.admin-main {
  padding: 32px;
}

.admin-top,
.admin-module-head,
.admin-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-top {
  margin-bottom: 24px;
}

.admin-module {
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(22, 33, 29, 0.08);
}

.admin-module h2 {
  margin: 0;
  color: var(--brand-dark);
}

.admin-module h2 span {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--brand);
  font-size: 13px;
}

.admin-module p {
  margin: 5px 0 0;
  color: var(--muted);
}

.admin-tools {
  margin: 18px 0;
  justify-content: flex-start;
}

.admin-tools input {
  max-width: 360px;
}

.admin-tools select {
  max-width: 210px;
}

.admin-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-row {
  display: grid;
  grid-template-columns: 2fr 1fr 0.8fr 0.9fr 1.1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
}

.admin-stove-table .admin-row,
.admin-accessory-table .admin-row {
  grid-template-columns: 1.75fr 0.8fr 1fr 0.8fr 0.9fr 1.05fr;
}

.admin-row:first-child {
  border-top: 0;
}

.admin-row-head {
  background: #f8fafc;
  color: var(--brand-dark);
  font-weight: 900;
}

.admin-row button {
  margin-right: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
}

.admin-row button:last-child {
  color: var(--accent-dark);
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(9, 28, 70, 0.58);
}

.admin-modal-backdrop.is-open {
  display: grid;
}

.admin-modal {
  width: min(420px, 100%);
  padding: 26px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.admin-modal h2 {
  margin: 0 0 8px;
  color: var(--brand-dark);
}

.admin-modal p {
  margin: 0 0 20px;
  color: var(--muted);
}

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

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-settings-grid label {
  display: grid;
  gap: 7px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

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

.admin-settings-grid input,
.admin-settings-grid textarea,
.admin-row input,
.admin-row select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  color: #c94e16;
  font: inherit;
  font-weight: 800;
}

.admin-row-field {
  min-width: 0;
}

.admin-row-field > span {
  display: none;
}

.admin-settings-grid input:focus,
.admin-settings-grid textarea:focus,
.admin-row input:focus,
.admin-row select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(242, 91, 24, 0.14);
}

.admin-settings-grid textarea {
  resize: vertical;
}

.admin-table {
  overflow-x: auto;
}

.admin-row-cylinders {
  min-width: 1160px;
  grid-template-columns: 1.5fr .9fr .7fr .85fr 1.15fr 1fr 1.4fr 1.7fr 1.25fr;
}

.admin-row-stoves,
.admin-row-accessories,
.admin-stove-table .admin-row-stoves,
.admin-accessory-table .admin-row-accessories {
  min-width: 1320px;
}

.admin-row-stoves,
.admin-stove-table .admin-row-stoves {
  grid-template-columns: 1.55fr .7fr .85fr .75fr .8fr .8fr .85fr 1.3fr 1.7fr 1.25fr;
}

.admin-row-accessories,
.admin-accessory-table .admin-row-accessories {
  grid-template-columns: 1.5fr .75fr .75fr .75fr 1.05fr 1.15fr .85fr 1.3fr 1.6fr 1.25fr;
}

.admin-row-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.admin-row-actions button {
  margin: 0;
}

.admin-row[hidden] {
  display: none;
}

.admin-notice {
  min-height: 20px;
  color: var(--brand);
  font-weight: 800;
}

.admin-notice.is-error {
  color: var(--accent-dark);
}

.admin-row .danger,
.admin-modal .danger {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

@media (max-width: 900px) {
  .home-cylinder-layout {
    grid-template-columns: 1fr;
  }

  .home-cylinder-feature .product-image {
    height: 300px;
  }
}

@media (max-width: 900px) {
  .admin-sidebar {
    padding: 14px;
    gap: 14px;
  }

  .admin-brand {
    justify-content: center;
  }

  .admin-brand img {
    width: 160px;
    height: 68px;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .admin-nav a:first-child,
  .admin-logout {
    grid-column: 1 / -1;
  }

  .admin-logout {
    justify-content: center;
  }

  .admin-main {
    min-width: 0;
    padding: 14px;
  }

  .admin-top h1 {
    font-size: 32px;
  }

  .admin-top > .btn,
  .admin-module-head > .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-module {
    padding: 14px;
  }

  .admin-row {
    gap: 10px;
  }

  .admin-row-field {
    display: grid;
    gap: 4px;
  }

  .admin-row-field > span {
    display: block;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
  }

  .admin-row-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-row-actions button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .admin-nav {
    grid-template-columns: 1fr;
  }

  .admin-nav a:first-child,
  .admin-logout {
    grid-column: auto;
  }

  .admin-top h1 {
    font-size: 28px;
  }

  .admin-module-head h2 {
    font-size: 24px;
  }
}

@media (max-width: 620px) {
  .home-cylinder-grid {
    grid-template-columns: 1fr;
  }

  .home-cylinder-feature .product-image {
    height: 260px;
  }
}

@media (max-width: 900px) {
  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 20px;
  }

  .admin-top,
  .admin-module-head,
  .admin-tools,
  .admin-form-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tools input,
  .admin-tools select {
    max-width: none;
  }

  .admin-row,
  .admin-row-head,
  .admin-stove-table .admin-row,
  .admin-accessory-table .admin-row,
  .admin-row-cylinders,
  .admin-row-stoves,
  .admin-row-accessories {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .admin-row-head {
    display: none;
  }

  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-settings-grid label.wide {
    grid-column: auto;
  }
}

/* Enterprise CMS */
.cms-admin-page {
  min-height: 100vh;
  margin: 0;
  background: #f3f6fb;
  color: #172033;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.cms-admin-page *,
.cms-admin-page *::before,
.cms-admin-page *::after {
  box-sizing: border-box;
}

.cms-admin-page button,
.cms-admin-page input,
.cms-admin-page select,
.cms-admin-page textarea {
  font: inherit;
  letter-spacing: 0;
}

.cms-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.cms-sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  padding: 20px 16px;
  background: #173875;
  color: #fff;
  box-shadow: 12px 0 36px rgba(18, 42, 89, 0.12);
}

.cms-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  color: #fff;
}

.cms-brand img {
  width: 62px;
  height: 54px;
  flex: 0 0 62px;
  object-fit: contain;
  padding: 5px;
  border-radius: 6px;
  background: #fff;
}

.cms-brand span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cms-brand strong {
  font-size: 14px;
  line-height: 1.2;
}

.cms-brand small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.cms-nav {
  display: grid;
  gap: 5px;
  margin-top: 26px;
}

.cms-nav p {
  margin: 18px 12px 7px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.cms-nav a {
  min-height: 46px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease;
}

.cms-nav a:hover,
.cms-nav a.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.cms-nav a.active {
  box-shadow: inset 3px 0 #f25b18;
}

.cms-nav-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.cms-nav a.active .cms-nav-icon {
  border-color: #f25b18;
  background: #f25b18;
}

.cms-nav a > strong {
  min-width: 26px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 11px;
  text-align: center;
}

.cms-sidebar-footer {
  display: grid;
  gap: 7px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cms-sidebar-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 750;
}

.cms-sidebar-footer a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cms-sidebar-overlay {
  display: none;
}

.cms-workspace {
  min-width: 0;
}

.cms-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 30px;
  border-bottom: 1px solid #dde4ef;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.cms-topbar-left,
.cms-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cms-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  place-content: center;
  gap: 4px;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  background: #fff;
}

.cms-menu-button span {
  width: 18px;
  height: 2px;
  display: block;
  background: #173875;
}

.cms-breadcrumb {
  display: grid;
  gap: 2px;
}

.cms-breadcrumb span,
.cms-user small {
  color: #7a8599;
  font-size: 11px;
}

.cms-breadcrumb strong {
  color: #173875;
  font-size: 16px;
}

.cms-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #24a36a;
  box-shadow: 0 0 0 4px rgba(36, 163, 106, 0.12);
}

.cms-user div {
  display: grid;
  gap: 1px;
  text-align: right;
}

.cms-user strong {
  color: #273249;
  font-size: 13px;
}

.cms-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9effa;
  color: #173875;
  font-size: 12px;
  font-weight: 900;
}

.cms-content {
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 30px;
}

.cms-loading {
  min-height: 50vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #7a8599;
}

.cms-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid #dbe3ef;
  border-top-color: #f25b18;
  border-radius: 50%;
  animation: cms-spin 0.7s linear infinite;
}

@keyframes cms-spin { to { transform: rotate(360deg); } }

.cms-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.cms-page-heading h1 {
  margin: 5px 0 6px;
  color: #173875;
  font-size: 30px;
  line-height: 1.12;
}

.cms-page-heading p,
.cms-panel-header p {
  margin: 0;
  color: #6c778b;
  font-size: 14px;
}

.cms-eyebrow,
.cms-modal-kicker {
  color: #f25b18;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.cms-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.cms-button.primary {
  background: #f25b18;
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 91, 24, 0.2);
}

.cms-button.ghost {
  border-color: #d8e0eb;
  background: #fff;
  color: #173875;
}

.cms-button.danger {
  background: #d43838;
  color: #fff;
}

.cms-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.cms-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.cms-stat-card {
  min-height: 148px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  border: 1px solid #dfe6f0;
  border-top: 3px solid currentColor;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 56, 117, 0.05);
}

.cms-stat-card span,
.cms-stat-card small {
  color: #6c778b;
  font-size: 12px;
}

.cms-stat-card strong {
  color: #1d2940;
  font-size: 34px;
}

.cms-stat-card.blue { color: #2457a6; }
.cms-stat-card.green { color: #21865c; }
.cms-stat-card.amber { color: #ca7a13; }
.cms-stat-card.red { color: #c53e3e; }

.cms-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
  margin-bottom: 20px;
}

.cms-panel {
  min-width: 0;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 56, 117, 0.04);
}

.cms-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #e7ecf3;
}

.cms-panel-header h2 {
  margin: 0 0 4px;
  color: #22304a;
  font-size: 17px;
}

.cms-module-list,
.cms-recent-list {
  display: grid;
}

.cms-module-list a,
.cms-recent-list a {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid #edf1f6;
  color: #243149;
}

.cms-module-list a {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.cms-recent-list a {
  grid-template-columns: 46px minmax(0, 1fr) auto;
}

.cms-module-list a:last-child,
.cms-recent-list a:last-child {
  border-bottom: 0;
}

.cms-module-list a:hover,
.cms-recent-list a:hover {
  background: #f8faff;
}

.cms-module-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #edf2fb;
  color: #2457a6;
  font-size: 13px;
  font-weight: 900;
}

.cms-module-list span:nth-child(2),
.cms-recent-list span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.cms-module-list small,
.cms-recent-list small {
  overflow: hidden;
  color: #7b8698;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-recent-list img {
  width: 46px;
  height: 46px;
  border: 1px solid #e1e7f0;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
  padding: 3px;
}

.cms-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.cms-quick-actions button,
.cms-quick-actions a {
  min-height: 82px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 7px;
  border: 1px solid #dfe6f0;
  border-radius: 7px;
  padding: 14px;
  background: #fff;
  color: #26344d;
  cursor: pointer;
  text-align: left;
}

.cms-quick-actions button:hover,
.cms-quick-actions a:hover {
  border-color: #f25b18;
  background: #fff9f5;
}

.cms-quick-actions span {
  color: #f25b18;
  font-size: 18px;
  font-weight: 900;
}

.cms-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.cms-mini-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dfe6f0;
  border-radius: 7px;
  background: #fff;
}

.cms-mini-stats span {
  color: #6c778b;
  font-size: 12px;
}

.cms-mini-stats strong {
  color: #173875;
  font-size: 21px;
}

.cms-catalog-panel {
  overflow: hidden;
}

.cms-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid #e7ecf3;
}

.cms-search {
  min-width: 240px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}

.cms-search span {
  color: #778398;
  font-size: 20px;
}

.cms-search input,
.cms-toolbar select {
  min-height: 42px;
  border: 0;
  background: #fff;
  color: #38445a;
  outline: 0;
}

.cms-search input {
  width: 100%;
}

.cms-toolbar select {
  min-width: 170px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 0 34px 0 11px;
}

.cms-table-wrap {
  overflow-x: auto;
}

.cms-product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cms-product-table th {
  padding: 12px 16px;
  background: #f7f9fc;
  color: #667186;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-align: left;
  text-transform: uppercase;
}

.cms-product-table td {
  padding: 13px 16px;
  border-top: 1px solid #e8edf4;
  color: #475268;
  vertical-align: middle;
}

.cms-product-table tbody tr:hover {
  background: #fbfcfe;
}

.cms-product-cell {
  min-width: 240px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.cms-product-cell img {
  width: 54px;
  height: 54px;
  border: 1px solid #e0e6ef;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
  padding: 4px;
}

.cms-product-cell span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.cms-product-cell strong {
  overflow: hidden;
  color: #26344d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-product-cell small {
  max-width: 330px;
  overflow: hidden;
  color: #828c9d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf1f6;
  color: #5e687a;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.cms-status.active { background: #e7f6ef; color: #18724c; }
.cms-status.draft { background: #fff3dd; color: #99600e; }
.cms-status.out-of-stock { background: #fdeaea; color: #a42f2f; }

.cms-table-actions {
  display: flex;
  gap: 6px;
}

.cms-table-actions button {
  min-height: 34px;
  border: 1px solid #d9e1ec;
  border-radius: 5px;
  padding: 6px 10px;
  background: #fff;
  color: #2457a6;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.cms-table-actions button:hover {
  border-color: #2457a6;
}

.cms-table-actions button.danger {
  color: #be3535;
}

.cms-table-actions button.danger:hover {
  border-color: #be3535;
}

.cms-empty-state {
  padding: 70px 20px;
  color: #6f7a8d;
  text-align: center;
}

.cms-empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: #28364f;
  font-size: 17px;
}

.cms-settings-stack {
  display: grid;
  gap: 18px;
}

.cms-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 22px 22px;
}

.cms-settings-grid label,
.cms-form-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.cms-settings-grid label.wide,
.cms-form-field.wide {
  grid-column: 1 / -1;
}

.cms-settings-grid label > span,
.cms-form-field > span,
.cms-field-label {
  color: #3d4960;
  font-size: 11px;
  font-weight: 850;
}

.cms-form-field b,
.cms-field-label b {
  color: #d43838;
}

.cms-settings-grid input,
.cms-settings-grid textarea,
.cms-form-field input,
.cms-form-field select,
.cms-form-field textarea,
#productImagePath {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8e0eb;
  border-radius: 6px;
  padding: 10px 11px;
  background: #fff;
  color: #b74413;
  font-size: 13px;
  font-weight: 700;
  outline: 0;
}

.cms-settings-grid input,
.cms-form-field input,
.cms-form-field select,
#productImagePath {
  min-height: 42px;
}

.cms-settings-grid textarea,
.cms-form-field textarea {
  resize: vertical;
}

.cms-settings-grid input:focus,
.cms-settings-grid textarea:focus,
.cms-form-field input:focus,
.cms-form-field select:focus,
.cms-form-field textarea:focus {
  border-color: #f25b18;
  box-shadow: 0 0 0 3px rgba(242, 91, 24, 0.1);
}

.cms-modal-open {
  overflow: hidden;
}

.cms-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(10, 24, 50, 0.62);
  backdrop-filter: blur(4px);
}

.cms-modal-backdrop.is-open {
  display: grid;
}

.cms-modal {
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(10, 24, 50, 0.28);
}

.cms-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  border-bottom: 1px solid #e5eaf2;
  background: #fff;
}

.cms-modal-header h2,
.cms-confirm-modal h2 {
  margin: 4px 0 0;
  color: #173875;
  font-size: 22px;
}

.cms-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid #dce3ed;
  border-radius: 6px;
  background: #fff;
  color: #536076;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cms-product-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 22px;
  padding: 22px;
}

.cms-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
}

.cms-image-uploader {
  align-self: start;
  display: grid;
  gap: 9px;
  padding: 15px;
  border: 1px solid #dce3ed;
  border-radius: 7px;
  background: #f8faff;
}

.cms-image-preview {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #b9c5d6;
  border-radius: 6px;
  background: #fff;
}

.cms-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.cms-image-uploader input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.cms-upload-button {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #2457a6;
  border-radius: 6px;
  background: #fff;
  color: #2457a6;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.cms-image-uploader small {
  color: #7a8599;
  font-size: 10px;
  line-height: 1.45;
}

.cms-modal-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 15px 22px;
  border-top: 1px solid #e5eaf2;
  background: #fff;
}

.cms-confirm-modal {
  width: min(440px, 100%);
  padding: 28px;
  text-align: center;
}

.cms-confirm-modal p {
  margin: 10px 0 22px;
  color: #6c778b;
  line-height: 1.55;
}

.cms-confirm-modal .cms-modal-footer {
  position: static;
  justify-content: center;
  padding: 0;
  border: 0;
}

.cms-danger-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fdeaea;
  color: #c43a3a;
  font-size: 23px;
  font-weight: 900;
}

.cms-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  max-width: min(390px, calc(100vw - 32px));
  padding: 13px 16px;
  border-radius: 6px;
  background: #173875;
  color: #fff;
  box-shadow: 0 16px 40px rgba(10, 24, 50, 0.24);
  font-size: 13px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cms-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cms-toast.is-error {
  background: #b92f2f;
}

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

  .cms-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cms-shell {
    grid-template-columns: 1fr;
  }

  .cms-sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-102%);
    width: min(290px, 86vw);
    transition: transform 200ms ease;
  }

  .cms-sidebar-open .cms-sidebar {
    transform: translateX(0);
  }

  .cms-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: block;
    border: 0;
    background: rgba(10, 24, 50, 0.54);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .cms-sidebar-open .cms-sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .cms-menu-button {
    display: grid;
  }

  .cms-content {
    padding: 22px;
  }

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

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

  .cms-image-uploader {
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
    align-items: center;
  }

  .cms-image-uploader > .cms-field-label,
  .cms-image-uploader > small {
    grid-column: 1 / -1;
  }

  .cms-image-preview {
    grid-row: span 3;
  }
}

@media (max-width: 700px) {
  .cms-topbar {
    min-height: 64px;
    padding: 10px 14px;
  }

  .cms-user div,
  .cms-status-dot {
    display: none;
  }

  .cms-content {
    padding: 18px 14px 28px;
  }

  .cms-page-heading {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 18px;
  }

  .cms-page-heading h1 {
    font-size: 26px;
  }

  .cms-page-heading > .cms-button {
    width: 100%;
  }

  .cms-stat-grid,
  .cms-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cms-stat-card {
    min-height: 124px;
    padding: 15px;
  }

  .cms-stat-card strong {
    font-size: 28px;
  }

  .cms-mini-stats article {
    align-items: flex-start;
    flex-direction: column;
  }

  .cms-quick-actions,
  .cms-settings-grid,
  .cms-form-grid {
    grid-template-columns: 1fr;
  }

  .cms-settings-grid label.wide,
  .cms-form-field.wide {
    grid-column: auto;
  }

  .cms-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .cms-search,
  .cms-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .cms-table-wrap {
    overflow: visible;
    padding: 12px;
    background: #f3f6fb;
  }

  .cms-product-table,
  .cms-product-table tbody {
    display: grid;
    gap: 12px;
  }

  .cms-product-table thead {
    display: none;
  }

  .cms-product-table tr {
    display: grid;
    border: 1px solid #dfe6f0;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
  }

  .cms-product-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-top: 1px solid #edf1f6;
    text-align: right;
  }

  .cms-product-table td::before {
    content: attr(data-label);
    color: #7a8599;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }

  .cms-product-table td:first-child {
    display: block;
    border-top: 0;
    text-align: left;
  }

  .cms-product-table td:first-child::before {
    display: none;
  }

  .cms-product-cell {
    min-width: 0;
  }

  .cms-table-actions {
    flex: 1;
    justify-content: flex-end;
  }

  .cms-image-uploader {
    grid-template-columns: 1fr;
  }

  .cms-image-uploader > .cms-field-label,
  .cms-image-uploader > small {
    grid-column: auto;
  }

  .cms-image-preview {
    grid-row: auto;
    max-height: 280px;
  }

  .cms-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .cms-modal {
    width: 100%;
    max-height: 94vh;
    border-radius: 8px 8px 0 0;
  }

  .cms-product-form-layout,
  .cms-modal-header {
    padding: 17px 14px;
  }

  .cms-modal-footer {
    padding: 12px 14px;
  }

  .cms-confirm-modal {
    padding: 24px 18px;
  }
}

@media (max-width: 430px) {
  .cms-stat-grid,
  .cms-mini-stats {
    grid-template-columns: 1fr;
  }

  .cms-breadcrumb span {
    display: none;
  }

  .cms-breadcrumb strong {
    font-size: 14px;
  }

  .cms-recent-list a {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .cms-recent-list .cms-status {
    display: none;
  }

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