@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,wght@0,400;0,600;0,700;0,800;0,900;1,800;1,900&display=swap");

:root {
  --shop-bg: #02070d;
  --shop-panel: rgba(2, 12, 23, 0.78);
  --shop-panel-strong: rgba(3, 16, 29, 0.94);
  --shop-blue: #009eea;
  --shop-green: #6bd12f;
  --shop-white: #ffffff;
  --shop-muted: rgba(255, 255, 255, 0.72);
  --shop-line: rgba(0, 158, 234, 0.22);
  --shop-line-strong: rgba(0, 158, 234, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 20%, rgba(0, 158, 234, 0.12), transparent 26rem),
    radial-gradient(circle at 8% 58%, rgba(107, 209, 47, 0.08), transparent 24rem),
    var(--shop-bg);
  color: var(--shop-white);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.printer-shop-shell {
  width: 100%;
  max-width: var(--site-max-width, 1680px);
  margin: 0 auto;
  padding-left: var(--site-padding-desktop, 48px);
  padding-right: var(--site-padding-desktop, 48px);
}

.site-shell {
  width: 100%;
  max-width: var(--site-max-width, 1680px);
  margin: 0 auto;
  padding-left: var(--site-padding-desktop, 48px);
  padding-right: var(--site-padding-desktop, 48px);
}

.printer-shop-hero {
  min-height: 310px;
  border-bottom: 1px solid var(--shop-line);
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.98) 0%, rgba(2, 7, 13, 0.92) 38%, rgba(2, 7, 13, 0.42) 72%, rgba(2, 7, 13, 0.12) 100%),
    url("../assets/printers/Top%20banner.png") right center / cover no-repeat;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 52px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.shop-breadcrumb span {
  color: var(--shop-green);
}

.shop-breadcrumb strong {
  color: var(--shop-white);
  font-weight: 600;
}

.shop-hero-content {
  max-width: 740px;
  padding-top: 24px;
}

.shop-hero-content h1 {
  margin: 0;
  font-size: clamp(44px, 4.5vw, 74px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.shop-hero-content p {
  max-width: 670px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.65;
}

.printer-type-block {
  margin-top: 30px;
}

.printer-type-block h2 {
  margin: 0 0 14px;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.printer-type-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.printer-type-grid a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  background: rgba(3, 16, 29, 0.9);
  /* Subtle resting glow so the cards lift off the hero banner behind them:
     a soft brand-blue edge glow + a dark drop shadow for separation. */
  box-shadow: 0 0 18px rgba(0, 158, 234, 0.18), 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.printer-type-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 209, 47, 0.5);
  box-shadow: 0 0 30px rgba(0, 158, 234, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.printer-type-grid img {
  width: 68px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
}

.printer-type-grid span {
  font-weight: 800;
}

.printer-shop-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 30px;
  padding: 34px 0 48px;
}

.filter-sidebar,
.results-toolbar,
.active-filters,
.printer-product-card,
.shop-support-strip {
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(6, 18, 32, 0.9), rgba(2, 7, 13, 0.94));
  box-shadow: inset 0 0 28px rgba(0, 158, 234, 0.04);
}

.filter-sidebar {
  align-self: start;
  position: sticky;
  top: 118px;
  padding: 18px;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.filter-heading button,
.clear-filters,
.active-filters button {
  border: 0;
  color: var(--shop-green);
  background: transparent;
  cursor: pointer;
}

.filter-search {
  position: relative;
  display: block;
  margin-bottom: 18px;
}

.filter-search input {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 14px;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  color: var(--shop-white);
  background: rgba(2, 12, 23, 0.72);
}

.filter-search svg {
  position: absolute;
  right: 12px;
  top: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.filter-group {
  padding: 13px 0;
  border-top: 1px solid rgba(0, 158, 234, 0.16);
}

.filter-group summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.filter-options {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--shop-muted);
  font-size: 13px;
}

.filter-options input {
  width: 15px;
  height: 15px;
  accent-color: var(--shop-green);
}

.clear-filters {
  width: 100%;
  height: 44px;
  margin-top: 18px;
  border: 1px solid var(--shop-line-strong);
  border-radius: 6px;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.toolbar-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--shop-muted);
  font-size: 13px;
}

.toolbar-actions select,
.view-toggle {
  height: 42px;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  color: var(--shop-white);
  background: rgba(2, 12, 23, 0.78);
}

.toolbar-actions select {
  min-width: 190px;
  padding: 0 14px;
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  cursor: pointer;
}

.view-toggle.is-active {
  border-color: rgba(107, 209, 47, 0.55);
  color: var(--shop-green);
  background: rgba(107, 209, 47, 0.08);
  box-shadow: 0 0 18px rgba(107, 209, 47, 0.16);
}

.active-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 18px;
  color: var(--shop-muted);
  font-size: 13px;
}

.active-filters button {
  padding: 7px 11px;
  border: 1px solid rgba(107, 209, 47, 0.32);
  border-radius: 999px;
  background: rgba(107, 209, 47, 0.05);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.pagination.top {
  padding: 20px 0;
}

.pagination a,
.pagination strong {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 5px;
}

.pagination strong {
  border: 1px solid var(--shop-green);
  color: var(--shop-green);
}

.product-list {
  display: grid;
  gap: 18px;
}

.printer-product-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 238px;
  gap: 26px;
  padding: 18px;
}

.product-card-image {
  display: grid;
  place-items: center;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(0, 158, 234, 0.18);
  border-radius: 7px;
  background: rgba(2, 12, 23, 0.72);
}

.product-card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 220ms ease;
}

/* Fallback logo (no product image): contain + inset so the wide DIRECT BARCODE
   mark sits neatly inside the frame instead of being cropped by object-fit:cover. */
.product-card-image.is-placeholder img {
  object-fit: contain;
  padding: 26px 30px;
  opacity: 0.9;
}

.printer-product-card:hover .product-card-image.is-placeholder img {
  transform: none;
}

.printer-product-card:hover .product-card-image img {
  transform: scale(1.035);
}

.product-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #061109;
  background: var(--shop-green);
  font-family: "Bebas Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card-main h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.product-card-main h2 a:hover {
  color: var(--shop-green);
}

.product-sku,
.product-card-main p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-meta,
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 10px 0;
}

.product-meta span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.feature-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(0, 158, 234, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.product-card-buy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-left: 26px;
  border-left: 1px solid rgba(0, 158, 234, 0.16);
}

.wishlist {
  position: absolute;
  right: 0;
  top: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.wishlist:hover,
.wishlist:focus-visible,
.wishlist.is-active {
  color: var(--shop-green);
  filter: drop-shadow(0 0 10px rgba(107, 209, 47, 0.36));
}

.wishlist:active {
  transform: scale(0.92);
}

.product-card-buy strong {
  margin-top: 4px;
  font-size: 25px;
}

.stock-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--shop-green);
  font-size: 13px;
}

.stock-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.list-qty {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  height: 42px;
  max-width: 150px;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  overflow: hidden;
}

.list-qty button,
.list-qty output {
  display: grid;
  place-items: center;
  border: 0;
  color: var(--shop-white);
  background: rgba(2, 12, 23, 0.72);
}

.add-cart {
  height: 46px;
  border: 1px solid rgba(107, 209, 47, 0.74);
  border-radius: 5px;
  color: #061109;
  background: linear-gradient(135deg, #75e235, #56c91d);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
}

.product-card-buy a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.product-card-buy a:hover {
  color: var(--shop-green);
}

.shop-support-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 48px;
}

.shop-support-strip article {
  padding: 24px 26px;
  border-right: 1px solid rgba(0, 158, 234, 0.18);
}

.shop-support-strip article:last-child {
  border-right: 0;
}

.shop-support-strip span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.shop-support-strip p {
  margin: 0 0 14px;
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.5;
}

.shop-support-strip a {
  color: var(--shop-green);
  font-family: "Bebas Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.parts-footer {
  border-top: 1px solid var(--shop-line);
  background: rgba(3, 13, 24, 0.98);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(5, minmax(120px, 0.75fr));
  gap: clamp(28px, 4vw, 64px);
  padding: 58px 0 42px;
}

.footer-brand img {
  width: 176px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 270px;
  margin: 0 0 22px;
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.social-row a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(107, 209, 47, 0.5);
  border-radius: 999px;
  color: var(--shop-green);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

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

.footer-col h2 {
  margin: 0 0 4px;
  color: var(--shop-white);
  font-size: 18px;
}

.footer-col a,
.footer-col span {
  color: var(--shop-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  text-transform: none;
  white-space: normal;
}

.footer-col a:hover,
.footer-bottom a:hover,
.green-link {
  color: var(--shop-green);
}

.contact-col {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  text-transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .printer-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .filter-sidebar {
    position: static;
  }

  .printer-product-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .product-card-buy {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(0, 158, 234, 0.16);
    padding: 18px 0 0;
  }
}

@media (max-width: 760px) {
  .printer-shop-shell,
  .site-shell {
    width: min(100% - 32px, 100%);
  }

  .printer-shop-hero {
    min-height: auto;
    background-position: center top;
  }

  .shop-breadcrumb {
    padding-top: 30px;
  }

  .printer-type-grid,
  .shop-support-strip {
    grid-template-columns: 1fr;
  }

  .results-toolbar,
  .toolbar-actions,
  .active-filters {
    align-items: stretch;
    flex-direction: column;
  }

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

  .product-card-image img {
    height: 240px;
  }

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

  .footer-bottom,
  .footer-bottom nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared full-width ecommerce shell alignment. */
:root {
  --site-max-width: 1680px;
  --site-padding-desktop: 48px;
  --site-padding-tablet: 28px;
  --site-padding-mobile: 18px;
}

.printer-shop-shell,
.site-shell,
.site-container,
.page-container,
.section-container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding-desktop);
  padding-right: var(--site-padding-desktop);
}

.printer-shop-layout,
.product-listing-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  width: 100%;
}

.text-measure {
  max-width: 720px;
}

@media (max-width: 1180px) {
  .printer-shop-layout,
  .product-listing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .printer-shop-shell,
  .site-shell,
  .site-container,
  .page-container,
  .section-container {
    padding-left: var(--site-padding-tablet);
    padding-right: var(--site-padding-tablet);
  }
}

@media (max-width: 640px) {
  .printer-shop-shell,
  .site-shell,
  .site-container,
  .page-container,
  .section-container {
    padding-left: var(--site-padding-mobile);
    padding-right: var(--site-padding-mobile);
  }
}

/* Grid/list product view system. */
.product-results.is-grid .product-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-results.is-grid .printer-product-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  min-height: 430px;
  padding: 14px;
}

.product-results.is-grid .product-card-image {
  min-height: 180px;
}

.product-results.is-grid .product-card-image img {
  height: 180px;
}

.product-results.is-grid .product-card-main {
  min-width: 0;
}

.product-results.is-grid .product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  margin-bottom: 0;
  font-size: 13px;
}

.product-results.is-grid .product-card-main h2 {
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.product-results.is-grid .product-sku,
.product-results.is-grid .product-card-main p {
  font-size: 12px;
}

.product-results.is-grid .product-card-main > p:not(.product-sku),
.product-results.is-grid .feature-tags span:nth-child(n + 4) {
  display: none;
}

.product-results.is-grid .product-meta,
.product-results.is-grid .feature-tags {
  gap: 7px;
  margin: 8px 0;
}

.product-results.is-grid .product-card-buy {
  position: static;
  display: grid;
  gap: 8px;
  padding-left: 0;
  border-left: 0;
  border-top: 0;
}

.product-results.is-grid .wishlist {
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(2, 7, 13, 0.68);
}

.product-results.is-grid .product-card-buy strong {
  margin-top: 0;
  font-size: 22px;
}

.product-results.is-grid .stock-dot {
  font-size: 12px;
}

.product-results.is-grid .list-qty {
  display: none;
}

.product-results.is-grid .add-cart {
  height: 40px;
  font-size: 16px;
}

.product-results.is-grid .product-card-buy a {
  width: 34px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 158, 234, 0.22);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(2, 12, 23, 0.7);
  font-size: 0;
}

.product-results.is-grid .product-card-buy a svg {
  width: 18px;
  height: 18px;
}

.product-results.is-grid .product-card-buy a + a {
  margin-left: 6px;
}

@media (max-width: 1320px) {
  .product-results.is-grid .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .product-results.is-grid .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .product-results.is-grid .printer-product-card {
    min-height: auto;
  }

  .product-results.is-grid .product-card-image img {
    height: 240px;
  }
}
