/* Restore original SilentPC heading styles (not Ecomus heading styles). */
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oxygen", sans-serif !important;
}

h1 {
  font-size: 32px !important;
  color: #262b31 !important;
}

h2 {
  font-size: 26px !important;
  color: #2c4875 !important;
  font-weight: 200 !important;
}

h3 {
  font-size: 20px !important;
  color: #2c4875 !important;
}

h4 {
  font-size: 18px !important;
}

h5 {
  font-size: 16px !important;
}

h6 {
  font-size: 14px !important;
}

/* Legacy container treatment */
.readable-font-increase.container,
#configurator.container,
.container {
  max-width: 1240px;
}

.readable-font-increase.container {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-top: 14px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.breadcrumbs-site {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 10px 0 14px;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs-site li {
  color: #6b7280;
}

.breadcrumbs-site li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9ca3af;
}

.breadcrumbs-site a {
  color: #f51525;
}

.breadcrumbs-site .active {
  color: #111827;
  font-weight: 700;
}

/* Generic component bridge styles */
.card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.card .card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

/* Content table refresh for inner pages (parts/articles/basic pages). */
.readable-font-increase .table-responsive {
  margin: 10px 0 16px;
  border: 1px solid #dbe4f3;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.readable-font-increase .table-responsive > table.table:not(.at-a-glance-table):not(.compare-table),
.readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table),
.readable-font-increase table.products {
  margin: 0;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #dbe4f3;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) thead th {
  background: linear-gradient(180deg, #f4f8ff 0%, #ebf2ff 100%);
  color: #1f3d6b;
  font-weight: 700;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #d7e3f6;
  letter-spacing: 0.01em;
}

.readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) tbody td {
  padding: 11px 14px;
  border: 0;
  border-top: 1px solid #e7edf8;
  color: #25364f;
  vertical-align: middle;
}

.readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) tbody tr:nth-child(even) td {
  background: #f9fbff;
}

.readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) tbody tr:hover td {
  background: #eef4ff;
}

.readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) tbody td:first-child {
  font-weight: 600;
  color: #1f3d6b;
}

.readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) tbody tr:first-child td {
  border-top: 0;
}

/* Legacy product specs tables used heavily on /_products/parts pages. */
.readable-font-increase table.products tr td {
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid #e7edf8;
  color: #25364f;
  vertical-align: middle;
}

.readable-font-increase table.products tr:first-child td,
.readable-font-increase table.products tr td.topline {
  background: linear-gradient(180deg, #f4f8ff 0%, #ebf2ff 100%) !important;
  color: #1f3d6b !important;
  font-weight: 700;
  border-top: 0;
}

.readable-font-increase table.products tr:nth-child(even) td {
  background: #f9fbff;
}

.readable-font-increase table.products tr:hover td {
  background: #eef4ff;
}

.readable-font-increase table.products tr td:first-child {
  width: 38%;
  font-weight: 600;
  color: #1f3d6b;
}

@media (max-width: 767px) {
  .readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) thead th,
  .readable-font-increase table.table:not(.at-a-glance-table):not(.compare-table) tbody td,
  .readable-font-increase table.products tr td {
    padding: 9px 10px;
    font-size: 13px;
  }
}

.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
}

.btn-primary {
  background: #f51525;
}

.btn-primary:hover {
  background: #2c4875;
}

.btn-secondary {
  background: #0f172a;
}

#category-menu.card {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px;
  width: 20rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  top: 104px;
  z-index: 1020 !important;
}

#category-menu.card .card-header {
  background: linear-gradient(135deg, #eef4ff 0%, #ffeef1 100%);
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 14px;
}

#category-menu.card .drawer-title {
  margin: 0;
  font-size: 0.98rem !important;
  line-height: 1.15;
  color: #1e3a67;
}

#category-menu.card .card-close {
  right: 10px;
  top: 10px;
  margin: 0 !important;
  background: transparent;
  border: 0;
  color: #53647e;
  font-size: 22px;
  line-height: 1;
}

#category-menu.card .card-body {
  padding: 8px 8px 10px !important;
}

#category-menu .nav-link {
  border-radius: 8px;
  color: #1f2937;
  padding: 8px 11px;
  font-weight: 600;
  line-height: 1.12;
  font-size: 0.92rem;
}

#category-menu .nav-link:hover {
  background: #eff4ff;
  color: #1e3a67;
}

#category-menu .nav-link.active {
  background: #2c4875;
  color: #ffffff;
}

@media (max-width: 991px) {
  #category-menu.card {
    float: none !important;
    width: 100%;
    position: static;
    top: auto;
    margin-bottom: 16px !important;
  }
}

/* Floating product "System Cost" card alignment. */
.product-cost-menu.card {
  width: 18rem;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  top: 104px;
  z-index: 1020 !important;
}

.product-cost-menu.card .card-header {
  background: linear-gradient(135deg, #eef4ff 0%, #ffeef1 100%);
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 14px;
}

.product-cost-menu.card .drawer-title {
  margin: 0;
  font-size: 0.95rem !important;
  line-height: 1.15;
  color: #1e3a67;
}

.product-cost-menu.card .card-close {
  right: 10px;
  top: 10px;
  margin: 0 !important;
  background: transparent;
  border: 0;
  color: #53647e;
  font-size: 22px;
  line-height: 1;
}

.product-cost-menu.card .card-body {
  padding: 10px 12px 10px;
}

.product-cost-menu.card .price {
  margin-bottom: 6px;
  font-size: 2.1rem;
  line-height: 1;
}

@media (max-width: 991px) {
  .product-cost-menu.card {
    width: 100%;
    position: static;
    top: auto;
  }
}

/* Forms and utility surfaces */
#stock-message {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffdfe3;
  color: #b3121f;
  border: 1px solid #f3aab4;
}

fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}

fieldset legend {
  width: auto;
  padding: 0 6px;
  color: #111827;
  font-size: 1rem;
}

/* Refresh legacy section bars/boxes used on product pages. */
.greybar {
  margin: 18px 0 12px;
  padding: 10px 14px;
  border: 1px solid #d6e0ef;
  border-left: 4px solid #2c4875;
  border-radius: 10px;
  background: linear-gradient(180deg, #f6f9ff 0%, #ecf2fc 100%);
  color: #1e3a67;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.greydiv {
  background: #f8fbff;
  border: 1px solid #dde7f5;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.motherboard-specs-list {
  margin: 12px 0 0;
  padding: 14px 16px;
  padding-left: 40px;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  background: #f8fbff;
  list-style: disc;
}

.motherboard-specs-list li {
  margin: 0;
  padding-left: 0;
  color: #334155;
  line-height: 1.5;
}

.motherboard-specs-list ul {
  margin: 6px 0 6px;
  padding-left: 24px;
  list-style: circle;
}

.motherboard-specs-list ul ul {
  padding-left: 24px;
  list-style: square;
}

.motherboard-specs-list li::marker {
  color: #2c4875;
}

.motherboard-specs-list li:not(:last-child) {
  margin-bottom: 8px;
}

.motherboard-specs-list .manufacturer-link-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #c7d4ea;
  font-weight: 700;
}

.motherboard-specs-list .manufacturer-link-item a {
  color: #1f4f91;
}

.case-specs-list {
  margin: 12px 0 0;
  padding: 14px 16px;
  padding-left: 40px;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  background: #f8fbff;
  list-style: disc;
}

.case-specs-list li {
  margin: 0;
  padding-left: 0;
  color: #334155;
  line-height: 1.5;
}

.case-specs-list li::marker {
  color: #2c4875;
}

.case-specs-list li:not(:last-child) {
  margin-bottom: 8px;
}

.case-specs-list ul {
  margin: 6px 0 6px;
  padding-left: 24px;
  list-style: circle;
}

.case-specs-list ul ul {
  padding-left: 24px;
  list-style: square;
}

/* Category page content lists: readable bullets/indentation without affecting UI/nav lists. */
.category-page-content ul:not(.product):not(.lightbox):not(.category-menu):not(.drawer-nav):not(.nav):not(.breadcrumbs-site):not(.spec-list) {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 14px;
}

.category-page-content ul:not(.product):not(.lightbox):not(.category-menu):not(.drawer-nav):not(.nav):not(.breadcrumbs-site):not(.spec-list) li {
  margin: 0 0 6px;
  line-height: 1.52;
  color: #334155;
}

.category-page-content ul:not(.product):not(.lightbox):not(.category-menu):not(.drawer-nav):not(.nav):not(.breadcrumbs-site):not(.spec-list) li::marker {
  color: #2c4875;
}

.category-page-content ul:not(.product):not(.lightbox):not(.category-menu):not(.drawer-nav):not(.nav):not(.breadcrumbs-site):not(.spec-list) ul {
  list-style: circle;
  padding-left: 22px;
  margin-top: 6px;
}

.category-page-content ul:not(.product):not(.lightbox):not(.category-menu):not(.drawer-nav):not(.nav):not(.breadcrumbs-site):not(.spec-list) ul ul {
  list-style: square;
  padding-left: 22px;
}

/* Category "At A Glance" tables */
.category-page-content .at-a-glance-wrap {
  border-radius: 12px;
}

.category-page-content table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d9e5f6;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.category-page-content table.at-a-glance-table .col-system {
  width: 26%;
}

.category-page-content table.at-a-glance-table .col-cpu {
  width: 18%;
}

.category-page-content table.at-a-glance-table .col-memory {
  width: 14%;
}

.category-page-content table.at-a-glance-table .col-features {
  width: 26%;
}

.category-page-content table.at-a-glance-table .col-dimensions {
  width: 16%;
}

.category-page-content table thead th {
  background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
  color: #1f3d6b;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid #d9e5f6;
}

.category-page-content table th,
.category-page-content table td {
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid #e8eef8;
  color: #25364f;
  vertical-align: middle;
}

.category-page-content table tbody tr:nth-child(even) {
  background: #f9fbff;
}

.category-page-content table tbody tr:hover {
  background: #eef4ff;
}

.category-page-content table tbody td:first-child {
  font-weight: 700;
  color: #1f3d6b;
  background: #f7faff;
}

.category-page-content table.at-a-glance-table .at-a-glance-name {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.35;
  color: #1f3d6b;
  text-decoration: none;
}

.category-page-content table.at-a-glance-table .at-a-glance-name:hover {
  color: #162c4d;
  text-decoration: underline;
}

.category-page-content table.at-a-glance-table .at-a-glance-cell-cpu,
.category-page-content table.at-a-glance-table .at-a-glance-cell-ram,
.category-page-content table.at-a-glance-table .at-a-glance-cell-features {
  color: #2a3f5f;
  line-height: 1.45;
}

.category-page-content table.at-a-glance-table .at-a-glance-cell-dimensions {
  color: #2a3f5f;
  line-height: 1.35;
}

.category-page-content table.at-a-glance-table .at-a-glance-cell-dimensions .dim-line {
  display: block;
}

.category-page-content table.at-a-glance-table .at-a-glance-cell-dimensions .dim-line:not(:last-child) {
  margin-bottom: 4px;
}

.category-page-content table.at-a-glance-table .at-a-glance-cell-dimensions .dim-line strong {
  color: #1f3d6b;
  font-weight: 700;
  margin-right: 4px;
}

.category-page-content table tr:last-child td {
  border-bottom: 0;
}

.category-page-content table.at-a-glance-table .stock-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.category-page-content table.at-a-glance-table .at-a-glance-thumb-wrap {
  position: relative;
  display: inline-block;
  margin-top: 6px;
}

.category-page-content table.at-a-glance-table .at-a-glance-thumb-wrap img {
  display: block;
  border-radius: 8px;
  background: transparent;
  border: 0;
}

.category-page-content table.at-a-glance-table .at-a-glance-thumb-wrap .stock-bubble {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 0;
  max-width: calc(100% - 12px);
  padding: 3px 7px;
  font-size: 9px;
}

.category-page-content table.at-a-glance-table .stock-bubble.in {
  background: #e8f6ee;
  color: #17603b;
  border-color: #b7e4c8;
}

.category-page-content table.at-a-glance-table .stock-bubble.out {
  background: rgba(75, 95, 125, 0.92);
  color: #ffffff;
  border-color: rgba(75, 95, 125, 0.92);
}

@media (max-width: 767px) {
  .category-page-content table th,
  .category-page-content table td {
    padding: 9px 10px;
    font-size: 14px;
  }

  .category-page-content table.at-a-glance-table .at-a-glance-name {
    font-size: 14px;
  }
}

.radio-part {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.accordion-button {
  background: #f8fafc;
}

.accordion-button:not(.collapsed) {
  background: #e8f0ff;
  color: #0f172a;
}

.card-price,
.display-price {
  color: #f51525;
  font-weight: 800;
}

/* Keep product cards on native Ecomus typography/color tokens. */
.card-product .card-product-info .title,
.card-product .card-product-info .price {
  font-family: inherit !important;
  color: inherit !important;
}

.card-product .card-product-info .title {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  line-height: 1.35 !important;
}

/* Keep product image stage white across all card variants. */
.card-product .card-product-wrapper,
.card-product .card-product-wrapper .product-img {
  background: #ffffff !important;
}

.card-product .card-product-wrapper {
  position: relative;
}

/* Normalize product card media height site-wide. */
.card-product .card-product-wrapper .product-img {
  height: 280px !important;
}

.card-product .card-product-wrapper .product-img img,
.card-product .card-product-wrapper .product-img .img-product,
.card-product .card-product-wrapper .product-img .img-hover {
  width: 100%;
  height: 280px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  transition: transform 0.26s ease;
}

.card-product .card-product-wrapper .cpu-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 64px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.card-product {
  border: 1px solid #d8e3f0 !important;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.card-product.clickable-system-card {
  cursor: pointer;
}

.card-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.16);
}

.card-product:hover .card-product-wrapper .product-img img,
.card-product:hover .card-product-wrapper .product-img .img-product,
.card-product:hover .card-product-wrapper .product-img .img-hover {
  transform: scale(1.02);
}

.card-product .tf-price-table-btn .tf-btn {
  transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.card-product .tf-price-table-btn .tf-btn.btn-fill:hover {
  background: #1f3d6b !important;
  border-color: #1f3d6b !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(31, 61, 107, 0.26);
}

.card-product .on-sale-item.out {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #9ca3af 0%, #6b7280 100%) !important;
  color: #ffffff !important;
  border: 1px solid #6b7280;
  border-radius: 999px;
  padding: 5px 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(75, 85, 99, 0.22);
}

.card-product .tf-price-table-btn .tf-btn.is-disabled,
.card-product .tf-price-table-btn .tf-btn.is-disabled:hover {
  background: linear-gradient(180deg, #9ca3af 0%, #6b7280 100%) !important;
  border-color: #6b7280 !important;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
  opacity: 0.96;
}

.product .stock-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(75, 85, 99, 0.18);
}

.product .stock-bubble.in-stock {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  border: 1px solid #15803d;
  box-shadow: 0 8px 16px rgba(21, 128, 61, 0.2);
}

.product .stock-bubble.out-of-stock {
  background: linear-gradient(180deg, #9ca3af 0%, #6b7280 100%);
  border: 1px solid #6b7280;
}

/* Ensure swiper arrows/icons turn white on hover across both Ecomus nav-sw and native Swiper controls. */
.nav-sw:hover:not(.swiper-button-disabled),
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #ffffff !important;
}

.nav-sw:hover:not(.swiper-button-disabled) .icon,
.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #ffffff !important;
}

/* Override donor style-blue inversion: keep white icon/text on hover. */
.nav-sw.style-blue:hover:not(.swiper-button-disabled) {
  background-color: #1c355e !important;
  border-color: #1c355e !important;
  color: #ffffff !important;
}

.nav-sw.style-blue:hover:not(.swiper-button-disabled) .icon,
.nav-sw.style-blue:hover:not(.swiper-button-disabled) .icon::before {
  color: #ffffff !important;
}

.nav-sw:hover:not(.swiper-button-disabled),
.nav-sw:hover:not(.swiper-button-disabled) *,
.nav-sw:hover:not(.swiper-button-disabled) *::before,
.nav-sw:hover:not(.swiper-button-disabled) *::after {
  color: #ffffff !important;
}

.card-product .spec-list li span:not(.icon) {
  display: inline !important;
  white-space: normal !important;
}

.card-product .spec-list li {
  display: block !important;
}

.card-product .spec-list li .icon {
  display: inline-block !important;
  vertical-align: baseline;
  margin-right: 8px;
}

/* Home include anchor spacing */
#products {
  margin: 36px 0;
}

/* Inner-layout footer color alignment (home layout uses its own head/styles stack). */
.footer.background-black.bg_green-4 {
  background: linear-gradient(180deg, #1f3040 0%, #162634 100%) !important;
  border-top: 1px solid #31495f;
}

.footer.background-black.bg_green-4 .footer-menu_item,
.footer.background-black.bg_green-4 .footer-infor ul li p,
.footer.background-black.bg_green-4 .footer-infor ul li p a,
.footer.background-black.bg_green-4 .footer-wrap .footer-bottom .footer-bottom-wrap .footer-menu_item {
  color: #dbe7f3 !important;
}

.footer.background-black.bg_green-4 .footer-newsletter form input {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #f4f8fc !important;
  border: 0 !important;
}

.footer.background-black.bg_green-4 .footer-newsletter form {
  margin-top: 0;
  margin-bottom: 0;
  position: static;
}

.footer.background-black.bg_green-4 .footer-newsletter .newsletter-panel {
  border: 1px solid rgba(219, 231, 243, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.footer.background-black.bg_green-4 .footer-newsletter .newsletter-kicker {
  margin: 0 0 6px;
  color: #f8c6cc;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer.background-black.bg_green-4 .footer-newsletter .newsletter-copy {
  margin: 0 0 12px;
  color: #dbe7f3;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .readable-font-increase.container .product-card-grid-mobile-full {
    width: calc(100% + 32px + var(--bs-gutter-x, 1.5rem));
    margin-left: calc(-16px - (var(--bs-gutter-x, 1.5rem) / 2));
    margin-right: calc(-16px - (var(--bs-gutter-x, 1.5rem) / 2));
    gap: 16px;
  }

  .readable-font-increase.container .product-card-grid-mobile-full .card-product {
    width: 100%;
    margin-bottom: 0;
  }
}

.footer.background-black.bg_green-4 .footer-newsletter #subscribe-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.footer.background-black.bg_green-4 .footer-newsletter #subscribe-content fieldset.email {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer.background-black.bg_green-4 .footer-newsletter form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 8px;
}

.footer.background-black.bg_green-4 .footer-newsletter form input::placeholder {
  color: #d7e4f4 !important;
  opacity: 1;
}

.footer.background-black.bg_green-4 .footer-newsletter form .button-submit {
  position: static;
}

.footer.background-black.bg_green-4 .footer-newsletter form .button-submit .tf-btn {
  height: 54px;
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: #1f3d6b;
  border-color: #1f3d6b;
  color: #ffffff !important;
}

.footer.background-black.bg_green-4 .footer-newsletter form .button-submit .tf-btn:hover {
  background: #162c4d;
  border-color: #162c4d;
  color: #ffffff !important;
}

.footer.background-black.bg_green-4 .footer-newsletter #subscribe-msg {
  margin-top: 8px;
}

.footer.background-black.bg_green-4 .footer-newsletter .newsletter-trust {
  margin: 8px 0 0;
  color: #b8c8da;
  font-size: 12px;
  line-height: 1.4;
}

.footer.background-black.bg_green-4 .footer-logo img {
  max-height: 46px;
  width: auto;
}

.footer.background-black.bg_green-4 .footer-menu_item:hover,
.footer.background-black.bg_green-4 .footer-infor ul li p a:hover {
  color: #f77984 !important;
}

.footer.background-black.bg_green-4 .footer-wrap .footer-body {
  border-bottom: 1px solid rgba(219, 231, 243, 0.18);
}

.footer.background-black.bg_green-4 .tf-social-icon .box-icon {
  border-color: #4c6073 !important;
  color: #dbe7f3 !important;
  background: rgba(255, 255, 255, 0.08);
}

.footer.background-black.bg_green-4 .tf-social-icon .box-icon:hover {
  border-color: #f77984 !important;
  color: #ffffff !important;
  background: rgba(247, 121, 132, 0.2);
}

.footer.background-black.bg_green-4 .tf-payment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer.background-black.bg_green-4 .tf-payment img {
  max-height: 34px;
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Compare page */
.compare-page {
  color: #1f2937;
}

.compare-page .compare-hero {
  padding: 16px 18px;
  border: 1px solid #d9e5f6;
  border-radius: 12px;
  background: linear-gradient(130deg, #f7fbff 0%, #fff5f7 100%);
  margin-bottom: 12px;
}

.compare-page .compare-hero h1 {
  margin: 0 0 6px;
  color: #1d3a67;
}

.compare-page .compare-hero p {
  margin: 0;
  color: #415577;
  line-height: 1.55;
}

.compare-page .compare-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.compare-page .compare-toolbar-search {
  width: 100%;
  max-width: none;
}

.compare-page .compare-toolbar-search .form-control {
  min-height: 36px;
}

.compare-page .compare-result-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d4e1f3;
  background: #ffffff;
  color: #2e4d79;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.compare-page .compare-layout {
  align-items: flex-start;
}

.compare-page .compare-sidebar {
  position: sticky;
  top: 96px;
}

.compare-page .compare-controls {
  margin: 0;
  padding: 14px;
  border: 1px solid #d9e5f6;
  border-radius: 12px;
  background: #f8fbff;
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.compare-page .compare-controls > .compare-control {
  margin: 0;
}

.compare-page .compare-control > label,
.compare-page .compare-control > legend {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2c4875;
}

.compare-page .compare-control .form-select,
.compare-page .compare-control .form-control {
  border: 1px solid #cfdced;
  border-radius: 8px;
  min-height: 42px;
}

.compare-page .compare-control.compare-facet {
  margin: 0;
  padding: 10px 10px 9px;
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: var(--bs-light-bg-subtle, #f8f9fa);
}

.compare-page .compare-control.compare-facet > legend {
  margin: 0 0 6px;
  padding: 0;
  width: auto;
}

.compare-page .compare-facet-options {
  display: grid;
  gap: 7px;
}

.compare-page .compare-facet-options.compare-facet-scroll {
  max-height: 148px;
  overflow: auto;
  padding-right: 4px;
}

.compare-page .compare-facet-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 24px;
  color: #314866;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.compare-page .compare-facet-option input[type="checkbox"] {
  width: 1em;
  height: 1em;
  margin: 0;
  accent-color: #2c4875;
}

.compare-page .compare-table-wrap {
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  overflow: hidden;
}

.compare-page .compare-table {
  margin: 0;
}

.compare-page .compare-table td,
.compare-page .compare-table th {
  vertical-align: middle;
}

.compare-page .compare-system-link {
  color: #1f3d6b;
  font-weight: 700;
  text-decoration: none;
}

.compare-page .compare-system-link:hover {
  color: #f51525;
}

.compare-page .compare-cooling {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.compare-page .compare-cooling.fanless {
  background: #e8f6ee;
  color: #17603b;
}

.compare-page .compare-cooling.fanned {
  background: #eef3fb;
  color: #2b4a78;
}

.compare-page .compare-stock {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.compare-page .compare-stock.in-stock {
  background: #e8f6ee;
  color: #17603b;
}

.compare-page .compare-stock.out-of-stock {
  background: #eef2f7;
  color: #4b5f7d;
}

.compare-page .compare-empty {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #f8fbff;
}

.compare-page .compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.compare-page .compare-card {
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.compare-page .compare-card:hover {
  transform: translateY(-3px);
  border-color: #bfd3ef;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.compare-page .compare-thumb {
  position: relative;
  display: block;
  height: 190px;
  background: #fff;
  border-bottom: 1px solid #e7eef8;
}

.compare-page .compare-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-page .compare-thumb .compare-cpu-logo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 52px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.compare-page .compare-card-body {
  padding: 12px 12px 13px;
}

.compare-page .compare-meta-row,
.compare-page .compare-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.compare-page .compare-meta-label {
  color: #5b6f8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 62px;
}

.compare-page .compare-meta-value {
  color: #22344f;
  text-align: right;
  font-size: 14px;
  line-height: 1.4;
}

.compare-page .compare-price {
  color: #1f3d6b;
  font-weight: 700;
}

@media (max-width: 991px) {
  .compare-page .compare-sidebar {
    position: static;
    top: auto;
  }

  .compare-page .compare-controls {
    padding: 10px;
    max-height: none;
    overflow: visible;
  }

  .compare-page .compare-toolbar {
    gap: 8px;
  }

  .compare-page .compare-toolbar .btn {
    width: 100%;
  }

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

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

/* Search page */
.site-search-page .site-search-controls {
  margin: 14px 0 16px;
}

.site-search-page .site-search-controls label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2c4875;
}

.site-search-page .site-search-controls .form-control {
  border: 1px solid #cfdced;
  border-radius: 8px;
  min-height: 42px;
}

.site-search-page .site-search-count {
  margin-top: 8px;
  color: #4b5e7a;
  font-size: 14px;
}

.site-search-page .site-search-results {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  overflow: hidden;
}

.site-search-page .site-search-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid #edf2fa;
}

.site-search-page .site-search-item:first-child {
  border-top: 0;
}

.site-search-page .site-search-item a {
  color: #1f3d6b;
  text-decoration: none;
  font-weight: 600;
}

.site-search-page .site-search-item a:hover {
  color: #f51525;
}

.site-search-page .site-search-type {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #2b4a78;
  background: #eef3fb;
  white-space: nowrap;
}

.site-search-page .site-search-empty {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #f8fbff;
}

@media (max-width: 767px) {
  .site-search-page .site-search-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* FAQ page */
.faq-page {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.faq-page .faq-title {
  margin-bottom: 8px;
  color: #132844;
}

.faq-page .faq-intro {
  margin-bottom: 16px;
  color: #4f607b;
}

/* Our story page */
.our-story-page {
  max-width: 1100px;
  margin: 0 auto;
}

.our-story-page .our-story-hero {
  padding: 18px;
  border: 1px solid #d9e5f6;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7fbff 0%, #fff5f7 100%);
}

.our-story-page .our-story-kicker {
  margin: 0 0 6px;
  color: #c32a3a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.our-story-page .our-story-hero .lead {
  color: #314866;
}

.our-story-page .our-story-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.our-story-page .our-story-stat-card {
  padding: 12px;
  border: 1px solid #dce7f7;
  border-radius: 10px;
  background: #ffffff;
}

.our-story-page .our-story-stat-card .stat-label {
  color: #5a6f8f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.our-story-page .our-story-stat-card .stat-value {
  color: #1f3d6b;
  font-size: 16px;
  font-weight: 700;
}

.our-story-page .card {
  border: 1px solid #dce7f7;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.our-story-page .our-story-use-card {
  border: 1px solid #dce7f7;
  border-radius: 10px;
  background: #f8fbff;
  padding: 14px;
}

.our-story-page .our-story-use-card h3 {
  margin-bottom: 6px;
  color: #1f3d6b;
}

.our-story-page .our-story-use-card p {
  margin: 0;
  color: #344257;
}

.our-story-page .our-story-cta {
  border-color: #d9e5f6 !important;
  background: linear-gradient(160deg, #ffeef1 0%, #eef4ff 100%) !important;
}

@media (max-width: 991px) {
  .our-story-page .our-story-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* Linux page */
.linux-page {
  max-width: 1100px;
  margin: 0 auto;
  color: #24364f;
}

.linux-page .linux-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #d9e5f6;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7fbff 0%, #fff5f7 100%);
}

.linux-page .linux-lead {
  color: #3f5473;
  margin-bottom: 10px;
  font-size: 17px;
}

.linux-page .linux-hero-media {
  text-align: center;
}

.linux-page .linux-hero-media img {
  max-height: 210px;
  width: auto;
}

.linux-page .linux-section {
  margin: 0 0 16px;
}

.linux-page .linux-panel {
  padding: 16px 18px;
  border: 1px solid #d9e5f6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.linux-page .linux-panel h2 {
  margin-top: 0;
}

.linux-page .comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.linux-page .comparison {
  border: 1px solid #dce7f7;
  border-radius: 10px;
  background: #f8fbff;
  padding: 12px;
}

.linux-page .comparison h3,
.linux-page .benefit h3 {
  margin: 0 0 6px;
  color: #1f3d6b;
  font-size: 17px;
}

.linux-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.linux-page .benefit {
  border: 1px solid #dce7f7;
  border-radius: 10px;
  background: #f8fbff;
  padding: 12px;
}

.linux-page .linux-ubuntu {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid #d9e5f6;
  border-radius: 12px;
  background: #ffffff;
}

.linux-page .linux-ubuntu-media {
  text-align: center;
}

.linux-page .linux-ubuntu-media img {
  max-height: 170px;
  width: auto;
}

.linux-page .linux-distro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.linux-page .linux-distro-list ul {
  margin: 0;
}

.linux-page .linux-distro-media {
  text-align: center;
}

.linux-page .linux-distro-media img {
  max-height: 170px;
  width: auto;
}

.linux-page .linux-cta {
  background: linear-gradient(145deg, #eef4ff 0%, #f8fbff 100%);
}

@media (max-width: 991px) {
  .linux-page .linux-hero,
  .linux-page .linux-ubuntu,
  .linux-page .linux-distro-layout {
    grid-template-columns: 1fr;
  }

  .linux-page .benefits-grid,
  .linux-page .comparison-grid {
    grid-template-columns: 1fr;
  }

  .linux-page .linux-hero,
  .linux-page .linux-panel,
  .linux-page .linux-ubuntu {
    padding: 14px;
  }
}

.faq-page .faq-topics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
}

.faq-page .faq-topics li {
  margin: 0;
}

.faq-page .faq-topics a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #d2e0f3;
  border-radius: 999px;
  color: #1f3d6b;
  font-weight: 700;
  text-decoration: none;
  background: #f7fbff;
}

.faq-page .faq-topics a:hover {
  border-color: #f51525;
  color: #f51525;
}

.faq-page .faq-group {
  margin-bottom: 24px;
  border: 1px solid #dbe6f6;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.faq-page .faq-heading {
  margin: 0;
  padding: 14px 16px;
  font-weight: 700;
  color: #112947;
  border-bottom: 1px solid #e7eef9;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
}

.faq-page .faq-links {
  margin: 0;
  padding: 14px 22px 16px;
}

.faq-page .faq-links li {
  margin-bottom: 6px;
}

.faq-page dl.faq {
  margin: 0;
  padding: 0 16px 16px;
}

.faq-page dl.faq dt {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid #dce8f7;
  border-radius: 10px 10px 0 0;
  border-bottom: 0;
  background: #f8fbff;
  color: #183155;
  font-weight: 700;
}

.faq-page dl.faq dd {
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid #dce8f7;
  border-radius: 0 0 10px 10px;
  color: #2e3f5b;
  line-height: 1.6;
  background: #fff;
}

.faq-page dl.faq dd img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .faq-page .faq-topics {
    gap: 8px;
  }

  .faq-page .faq-topics a {
    padding: 7px 12px;
    font-size: 13px;
  }

  .faq-page .faq-links {
    padding-right: 16px;
  }
}

/* Out-of-stock system modal */
.out-of-stock-modal .modal-dialog {
  max-width: 620px;
}

.out-of-stock-modal .modal-content {
  border: 1px solid #dbe6f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
}

.out-of-stock-modal .modal-header {
  border-bottom: 1px solid #dbe6f6;
  background: linear-gradient(135deg, #f3f7ff 0%, #eef3fb 100%);
  padding: 14px 16px;
}

.out-of-stock-modal .modal-title {
  color: #183155;
  font-weight: 700;
}

.out-of-stock-modal .modal-header .btn-close {
  filter: none !important;
  opacity: 0.85;
}

.out-of-stock-modal .modal-header .btn-close:hover {
  opacity: 1;
}

.out-of-stock-modal .modal-body {
  padding: 20px 22px 22px;
}

.out-of-stock-modal .out-of-stock-modal-image {
  margin: 6px auto 14px;
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.out-of-stock-modal .out-of-stock-modal-lead {
  margin: 0 0 10px;
  color: #1f3d6b;
  font-size: 19px;
  line-height: 1.42;
  font-weight: 700;
}

.out-of-stock-modal .out-of-stock-modal-copy {
  margin: 0 auto 16px;
  max-width: 50ch;
  color: #4b5e7a;
  line-height: 1.6;
}

.out-of-stock-modal .out-of-stock-modal-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.out-of-stock-modal .out-of-stock-modal-actions .btn {
  min-width: 170px;
  border-radius: 10px;
  font-weight: 700;
}

.out-of-stock-modal .out-of-stock-modal-actions .btn-outline-secondary {
  border-color: #c7d4ea;
  color: #334155;
}

.out-of-stock-modal .out-of-stock-modal-actions .btn-outline-secondary:hover {
  border-color: #1f3d6b;
  color: #1f3d6b;
  background: #eef4ff;
}

.btn-stock-disabled,
.btn-stock-disabled:hover,
.btn-stock-disabled:focus {
  background: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Reuse tile-style icon hover motion on other filled dark action buttons. */
.tf-btn.btn-fill.btn-icon:not(.hover-icon) .icon {
  transition: all 0.3s ease-in-out;
  transform: scale(0);
  transform-origin: right;
  width: 0;
  display: inline-block;
}

.tf-btn.btn-fill.btn-icon:not(.hover-icon):hover .icon {
  transform: scale(1);
  width: 10px;
  margin-inline-start: 8px;
}

/* Articles masonry page */
.article-masonry-page {
  margin-top: 12px;
}

.article-masonry-grid {
  column-count: 3;
  column-gap: 18px;
}

.article-masonry-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid #dbe6f6;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-masonry-card:hover {
  transform: translateY(-4px);
  border-color: #e8b7bf;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.article-masonry-image {
  display: block;
  background: #f8fbff;
}

.article-masonry-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-masonry-body {
  padding: 13px 14px 14px;
}

.article-masonry-title {
  margin: 0 0 8px;
  font-size: 19px !important;
  line-height: 1.28;
  color: #1f3d6b !important;
}

.article-masonry-title-link {
  text-decoration: none;
}

.article-masonry-title-link:hover .article-masonry-title {
  color: #f51525 !important;
}

.article-masonry-excerpt {
  margin: 0 0 8px;
  color: #475569;
  line-height: 1.55;
}

.article-masonry-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f7392;
}

@media (max-width: 1100px) {
  .article-masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 700px) {
  .article-masonry-grid {
    column-count: 1;
  }
}
