@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&subset=latin-ext&display=swap");

/* PartsPC clean direction pass. Loaded after legacy custom CSS. */
:root {
  --pc-bg: #05070d;
  --pc-panel: #0b111c;
  --pc-panel-2: #101827;
  --pc-line: rgba(255, 255, 255, .11);
  --pc-text: #f6f8fb;
  --pc-muted: #a7b2c5;
  --pc-cyan: #2ee9ff;
  --pc-red: #ff343f;
  --pc-green: #68f08f;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
  background: var(--pc-bg) !important;
}

body,
button,
input,
select,
textarea {
  font-family: Rajdhani, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body *,
body *::before,
body *::after {
  box-sizing: border-box;
}

body#index .rx-page-shell,
body#index .rx-home,
body:not(#index) .wrapper,
body:not(#index) .columns-container {
  background: var(--pc-bg) !important;
}

body#index .header-top,
body#index .header-bottom,
body:not(#index) .header-top,
body:not(#index) .header-bottom {
  width: min(100% - 48px, 1440px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-color: var(--pc-line) !important;
  background: #05070d !important;
}

body#index .header-bottom__row,
body:not(#index) .header-bottom__row {
  min-height: 88px !important;
  align-items: center !important;
  gap: 22px !important;
}

body#index .header-bottom__logo,
body:not(#index) .header-bottom__logo {
  flex: 0 0 210px !important;
  max-width: 210px !important;
}

body#index .header-bottom__logo a::after,
body:not(#index) .header-bottom__logo a::after {
  color: #fff !important;
  font-size: 1.75rem !important;
  font-weight: 950 !important;
}

body#index .ps-mainmenu__tree-link,
body:not(#index) .ps-mainmenu__tree-link {
  color: #f6f8fb !important;
  font-size: .94rem !important;
  font-weight: 850 !important;
  text-transform: none !important;
}

body#index .ps-mainmenu__tree-link:hover,
body:not(#index) .ps-mainmenu__tree-link:hover {
  color: var(--pc-red) !important;
}

body#index #_desktop_ps_searchbar,
body:not(#index) #_desktop_ps_searchbar {
  flex: 0 1 430px !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

body#index .ps-searchbar__input,
body:not(#index) .ps-searchbar__input {
  height: 50px !important;
  border-radius: 4px !important;
  color: #101827 !important;
  background: #fff !important;
}

.rx-benefits,
.rx-market__inner,
.rx-promo-grid,
.rx-top-categories__box,
.rx-section,
.rx-partspc-services,
.rx-faq {
  width: min(100% - 48px, 1440px) !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.rx-benefits {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  min-height: 92px !important;
  padding: 0 !important;
  align-items: center !important;
  color: var(--pc-text) !important;
  background: transparent !important;
}

.rx-benefits div {
  min-width: 0 !important;
  padding: 0 !important;
  font-size: .86rem !important;
  font-weight: 850 !important;
  white-space: nowrap;
}

.rx-benefits span {
  color: var(--pc-green) !important;
}

.rx-market {
  margin: 0 !important;
  padding: 0 0 64px !important;
  background: linear-gradient(180deg, #080d16 0%, #05070d 100%) !important;
}

.rx-market__inner {
  display: grid !important;
  grid-template-columns: 330px minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: stretch !important;
}

.rx-vmenu {
  min-width: 0 !important;
  border-radius: 6px !important;
  background: #0b111c !important;
  border: 1px solid var(--pc-line) !important;
  box-shadow: none !important;
}

.rx-vmenu__head {
  height: 66px !important;
  padding: 0 30px !important;
  background: #070b13 !important;
  border-bottom: 1px solid var(--pc-line) !important;
}

.rx-vmenu__head strong {
  font-size: .95rem !important;
  letter-spacing: 0 !important;
}

.rx-vmenu__list {
  padding: 18px 24px !important;
}

.rx-vmenu__item > a {
  min-height: 54px !important;
  padding: 0 !important;
  gap: 18px !important;
  color: var(--pc-text) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  background: transparent !important;
}

.rx-vmenu__item > a span {
  min-width: 0 !important;
  color: var(--pc-text) !important;
  font-size: .96rem !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
}

.rx-vmenu__item > a::after {
  content: "↗" !important;
  flex: 0 0 auto;
  color: #cfe7ff !important;
  font-size: .98rem !important;
}

.rx-vmenu__item:hover > a span,
.rx-vmenu__item:focus-within > a span {
  color: var(--pc-red) !important;
}

.rx-vicon {
  flex: 0 0 26px !important;
  opacity: .82 !important;
}

@media (min-width: 992px) {
  .rx-vsubmenu {
    left: calc(100% + 16px) !important;
    top: 0 !important;
    width: min(760px, calc(100vw - 430px)) !important;
    min-height: 386px !important;
    max-height: calc(100vh - 160px) !important;
    padding: 34px 326px 34px 34px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(10, 16, 26, .98), rgba(11, 32, 43, .96)) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .48) !important;
  }

  .rx-vmenu__item:nth-child(n+7) .rx-vsubmenu {
    top: auto !important;
    bottom: 0 !important;
  }

  .rx-vsubmenu::before {
    content: "";
    position: absolute;
    inset: 0 300px 0 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(8, 13, 22, .98), rgba(8, 13, 22, .84) 72%, transparent);
    pointer-events: none;
  }

  .rx-vsubmenu::after {
    content: "";
    position: absolute;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 0;
    width: 276px !important;
    height: 232px !important;
    border-radius: 8px !important;
    background: url("../img/partspc-menu-components.webp") center / cover no-repeat !important;
    opacity: .98 !important;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .45) !important;
    pointer-events: none;
  }

  .rx-vsubmenu strong,
  .rx-vsubmenu a {
    position: relative !important;
    z-index: 2 !important;
  }

  .rx-vsubmenu strong {
    margin: 0 0 22px !important;
    color: #fff !important;
    font-size: 1.42rem !important;
    line-height: 1.15 !important;
  }

  .rx-vsubmenu a {
    min-height: 45px !important;
    margin-bottom: 8px !important;
    padding: 0 16px !important;
    border-radius: 5px !important;
    color: #e7edf7 !important;
    background: rgba(255, 255, 255, .055) !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    font-size: .9rem !important;
    font-weight: 800 !important;
  }

  .rx-vmenu__item:nth-child(1) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-components.webp") !important; }
  .rx-vmenu__item:nth-child(2) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-pc.webp") !important; }
  .rx-vmenu__item:nth-child(3) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-laptop.webp") !important; }
  .rx-vmenu__item:nth-child(4) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-monitor.webp") !important; }
  .rx-vmenu__item:nth-child(5) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-software.webp") !important; }
  .rx-vmenu__item:nth-child(6) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-network.webp") !important; }
  .rx-vmenu__item:nth-child(7) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-print.webp") !important; }
  .rx-vmenu__item:nth-child(8) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-storage.webp") !important; }
  .rx-vmenu__item:nth-child(9) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-peripherals.webp") !important; }
  .rx-vmenu__item:nth-child(10) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-power.webp") !important; }
  .rx-vmenu__item:nth-child(11) .rx-vsubmenu::after { background-image: url("../img/partspc-menu-smart-home.webp") !important; }
}

.rx-market__content {
  min-width: 0 !important;
}

.rx-market .rx-hero {
  min-height: 560px !important;
  border-radius: 6px !important;
  border: 1px solid var(--pc-line) !important;
  overflow: hidden !important;
  background: #070b13 !important;
  box-shadow: none !important;
}

.rx-hero__media--slider {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  background: #05070d !important;
}

.rx-hero__media--slider .rx-hero__slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center right !important;
  opacity: 0;
  transform: scale(1.01);
  animation: rxHeroSliderFade 18s infinite;
}

.rx-hero__media--slider .rx-hero__slide--one { animation-delay: 0s; }
.rx-hero__media--slider .rx-hero__slide--two { animation-delay: 6s; }
.rx-hero__media--slider .rx-hero__slide--three { animation-delay: 12s; }

.rx-market .rx-hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .99) 0%, rgba(5, 7, 13, .9) 38%, rgba(5, 7, 13, .38) 70%, rgba(5, 7, 13, .08) 100%),
    linear-gradient(0deg, rgba(5, 7, 13, .76) 0%, transparent 54%) !important;
}

.rx-market .rx-hero__inner {
  min-height: 560px !important;
  padding: 82px 76px 76px !important;
}

.rx-kicker {
  color: var(--pc-cyan) !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.rx-market .rx-hero h1 {
  max-width: 610px !important;
  margin: 22px 0 0 !important;
  color: #fff !important;
  font-size: clamp(3rem, 4.2vw, 4.65rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.rx-market .rx-hero__copy {
  max-width: 610px !important;
  margin-top: 26px !important;
  color: #d5deec !important;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
}

.rx-actions {
  gap: 14px !important;
}

.rx-btn {
  min-height: 54px !important;
  border-radius: 4px !important;
  padding: 0 30px !important;
  font-size: .9rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.rx-slider-dots {
  left: 76px !important;
  bottom: 40px !important;
  width: min(46%, 470px) !important;
}

.rx-promo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
  margin-top: 38px !important;
}

.rx-promo {
  min-height: 214px !important;
  padding: 34px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background:
    linear-gradient(135deg, rgba(13, 23, 36, .98), rgba(9, 14, 23, .98)) !important;
  border: 1px solid var(--pc-line) !important;
}

.rx-promo span {
  position: relative !important;
  z-index: 3 !important;
  font-size: .76rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.rx-promo strong {
  position: relative !important;
  z-index: 3 !important;
  display: block !important;
  max-width: 62% !important;
  margin-top: 12px !important;
  color: #fff !important;
  font-size: clamp(1.78rem, 2.4vw, 2.36rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.rx-promo em {
  z-index: 4 !important;
  left: 34px !important;
  right: auto !important;
  bottom: 28px !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  border-radius: 4px !important;
}

.rx-promo img[src*="partspc-menu-"] {
  position: absolute !important;
  z-index: 1 !important;
  right: 18px !important;
  bottom: 18px !important;
  width: min(42%, 250px) !important;
  height: auto !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  opacity: .96 !important;
  filter: none !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34) !important;
}

.rx-top-categories {
  padding-top: 72px !important;
}

.rx-category-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.rx-category-photo {
  min-height: 220px !important;
  padding: 30px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.rx-category-photo strong {
  max-width: 58% !important;
  font-size: 1.56rem !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.rx-category-photo img[src*="partspc-menu-"] {
  right: 18px !important;
  bottom: 42px !important;
  width: min(44%, 220px) !important;
  height: 124px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  filter: none !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32) !important;
}

.rx-featured {
  padding-top: 92px !important;
}

.rx-featured .rx-section__head h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem) !important;
  letter-spacing: 0 !important;
}

.rx-featured .rx-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 30px !important;
}

.rx-featured .rx-product {
  min-height: 480px !important;
  padding: 26px !important;
  border-radius: 6px !important;
  border: 1px solid var(--pc-line) !important;
  background: linear-gradient(180deg, #0d1522, #080d16) !important;
}

.rx-featured .rx-product img[src*="partspc-"] {
  height: 206px !important;
  padding: 14px !important;
  border-radius: 6px !important;
  object-fit: contain !important;
  background: #f6f8fb !important;
}

.rx-featured .rx-product h3 {
  min-height: 0 !important;
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.34 !important;
  letter-spacing: 0 !important;
}

body#product .columns-container.container,
body.page-product .columns-container.container {
  width: min(100% - 48px, 1360px) !important;
  max-width: 1360px !important;
}

body#product .product__container,
body.page-product .product__container {
  width: 100% !important;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr) !important;
  gap: 28px !important;
}

body#product h1.product__name.h2,
body.page-product h1.product__name.h2 {
  font-size: 1.72rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 1199px) {
  .rx-market__inner {
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .rx-featured .rx-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body#index .header-top,
  body#index .header-bottom,
  body:not(#index) .header-top,
  body:not(#index) .header-bottom,
  .rx-benefits,
  .rx-market__inner,
  .rx-promo-grid,
  .rx-top-categories__box,
  .rx-section {
    width: min(100% - 28px, 760px) !important;
  }

  .rx-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 22px 0 !important;
  }

  .rx-market__inner {
    grid-template-columns: 1fr !important;
  }

  .rx-vsubmenu {
    width: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 0 12px 44px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .rx-vsubmenu::before,
  .rx-vsubmenu::after {
    display: none !important;
  }

  .rx-market .rx-hero__inner {
    padding: 58px 44px 82px !important;
  }

  .rx-market .rx-hero h1 {
    max-width: 520px !important;
    font-size: 2.75rem !important;
  }

  .rx-promo-grid,
  .rx-category-photo-grid,
  .rx-featured .rx-product-grid {
    grid-template-columns: 1fr !important;
  }

  body#product .product__container,
  body.page-product .product__container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 575px) {
  body#index .header-top,
  body#index .header-bottom,
  body:not(#index) .header-top,
  body:not(#index) .header-bottom,
  .rx-benefits,
  .rx-market__inner,
  .rx-promo-grid,
  .rx-top-categories__box,
  .rx-section,
  body#product .columns-container.container,
  body.page-product .columns-container.container {
    width: 100% !important;
    max-width: 100% !important;
  }

  body#index .header-bottom__container,
  body:not(#index) .header-bottom__container {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    overflow: hidden !important;
  }

  body#index .header-bottom__row,
  body:not(#index) .header-bottom__row {
    width: 100% !important;
    min-height: 68px !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body#index .header-bottom__logo,
  body:not(#index) .header-bottom__logo {
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body#index .header-bottom__logo a::after,
  body:not(#index) .header-bottom__logo a::after {
    font-size: 1.15rem !important;
  }

  body .ps-mainmenu--desktop,
  body .ps-searchbar--mobile,
  body #_mobile_ps_customersignin,
  body #_mobile_ps_shoppingcart {
    flex: 0 0 38px !important;
    width: 38px !important;
    max-width: 38px !important;
    min-width: 38px !important;
  }

  body .header-block__action-btn,
  body .menu-toggle {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
  }

  .rx-benefits {
    grid-template-columns: 1fr !important;
    padding: 26px 28px !important;
  }

  .rx-benefits div {
    white-space: normal !important;
  }

  .rx-vmenu {
    border-radius: 0 !important;
  }

  .rx-vmenu__list {
    padding: 18px 28px !important;
  }

  .rx-market .rx-hero {
    min-height: 560px !important;
    border-radius: 0 !important;
  }

  .rx-market .rx-hero__media--slider .rx-hero__slide {
    object-position: 70% center !important;
  }

  .rx-market .rx-hero__shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, .99) 0%, rgba(5, 7, 13, .9) 64%, rgba(5, 7, 13, .48) 100%),
      linear-gradient(0deg, rgba(5, 7, 13, .88) 0%, transparent 54%) !important;
  }

  .rx-market .rx-hero__inner {
    min-height: 560px !important;
    padding: 52px 28px 86px !important;
  }

  .rx-market .rx-hero h1 {
    max-width: 315px !important;
    font-size: 2.12rem !important;
    line-height: 1.05 !important;
  }

  .rx-market .rx-hero__copy {
    max-width: 315px !important;
    font-size: .96rem !important;
  }

  .rx-actions {
    width: 100% !important;
    max-width: 315px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .rx-promo-grid {
    padding: 0 14px !important;
  }

  .rx-promo {
    min-height: 190px !important;
    padding: 28px !important;
  }

  .rx-promo strong {
    max-width: 64% !important;
    font-size: 1.56rem !important;
  }

  .rx-promo img[src*="partspc-menu-"] {
    width: 38% !important;
    right: 14px !important;
    bottom: 18px !important;
  }

  .rx-category-photo {
    min-height: 204px !important;
    padding: 26px !important;
  }

  .rx-category-photo strong {
    max-width: 64% !important;
    font-size: 1.28rem !important;
  }

  .rx-category-photo img[src*="partspc-menu-"] {
    width: 38% !important;
    height: 96px !important;
    right: 14px !important;
    bottom: 46px !important;
  }

  .rx-featured .rx-product-grid {
    padding: 0 14px !important;
  }

  body#product .columns-container.container,
  body.page-product .columns-container.container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body#product .product__container,
  body.page-product .product__container {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body#product .product__left,
  body.page-product .product__left,
  body#product .product__right,
  body.page-product .product__right,
  body#product .product__images,
  body.page-product .product__images {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body#product .product__right,
  body.page-product .product__right {
    padding: 16px !important;
  }

  body#product h1.product__name.h2,
  body.page-product h1.product__name.h2 {
    font-size: 1.25rem !important;
    line-height: 1.22 !important;
  }

  body#product .product__actions-qty-add,
  body.page-product .product__actions-qty-add {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Clean pass hardening: no promo collisions, no menu clipping. */
.rx-market {
  padding-top: 34px !important;
}

.rx-promo-grid {
  align-items: stretch !important;
}

.rx-promo {
  min-height: 226px !important;
  padding: 32px 30px !important;
}

.rx-promo strong {
  max-width: 56% !important;
  font-size: 1.62rem !important;
  line-height: 1.12 !important;
}

.rx-promo em {
  left: 30px !important;
  bottom: 28px !important;
}

.rx-promo img[src*="partspc-menu-"] {
  right: 18px !important;
  bottom: 28px !important;
  width: min(36%, 210px) !important;
  opacity: .86 !important;
}

.rx-promo:nth-child(3) strong {
  max-width: 52% !important;
  font-size: 1.5rem !important;
}

.rx-promo:nth-child(3) img[src*="partspc-menu-"] {
  width: min(34%, 190px) !important;
}

@media (min-width: 1400px) {
  .rx-promo strong {
    font-size: 1.78rem !important;
  }

  .rx-promo:nth-child(3) strong {
    font-size: 1.64rem !important;
  }
}

@media (max-width: 991px) {
  .rx-market {
    padding-top: 0 !important;
  }
}

@media (max-width: 575px) {
  .rx-promo {
    min-height: 198px !important;
  }

  .rx-promo strong,
  .rx-promo:nth-child(3) strong {
    max-width: 62% !important;
    font-size: 1.34rem !important;
  }

  .rx-promo img[src*="partspc-menu-"],
  .rx-promo:nth-child(3) img[src*="partspc-menu-"] {
    width: 30% !important;
  }
}

/* Catalogue/product pass: move non-home pages away from default PrestaShop. */
body#category .breadcrumb,
body#product .breadcrumb,
body.page-category .breadcrumb,
body.page-product .breadcrumb {
  background: linear-gradient(100deg, rgba(11, 28, 38, .92), rgba(27, 10, 28, .88)) !important;
  border-top: 1px solid rgba(255, 255, 255, .08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

body#category .columns-container,
body#product .columns-container,
body.page-category .columns-container,
body.page-product .columns-container {
  padding-top: 34px !important;
  padding-bottom: 54px !important;
}

body#category #left-column,
body.page-category #left-column {
  padding-right: 24px !important;
}

body#category .ps-categorytree,
body.page-category .ps-categorytree {
  padding: 28px !important;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  border-radius: 6px !important;
  background: #0b111c !important;
}

body#category .left-block__title,
body.page-category .left-block__title {
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
}

body#category .category-tree__item-header,
body.page-category .category-tree__item-header {
  min-height: 42px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

body#category .category-tree__item-link,
body.page-category .category-tree__item-link {
  color: #f6f8fb !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

body#category .category-tree__item-link:hover,
body.page-category .category-tree__item-link:hover {
  color: var(--pc-red) !important;
}

body#category .page-title-section,
body.page-category .page-title-section {
  margin-bottom: 12px !important;
  color: #fff !important;
  font-size: clamp(2rem, 3vw, 3.15rem) !important;
  line-height: .96 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

body#category .category__description,
body.page-category .category__description {
  color: #d6deeb !important;
  font-size: 1.05rem !important;
}

body#category .products__selection,
body.page-category .products__selection {
  margin: 22px 0 24px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 6px !important;
  background: rgba(11, 17, 28, .72) !important;
}

body#category .products,
body.page-category .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 322px)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

body#category .product-miniature,
body.page-category .product-miniature {
  width: 100% !important;
  max-width: 322px !important;
}

body#category .product-miniature__inner,
body.page-category .product-miniature__inner {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #101827 0%, #090e17 100%) !important;
}

body#category .product-miniature__top,
body.page-category .product-miniature__top {
  padding: 12px 12px 0 !important;
  background: #101827 !important;
}

body#category .product-miniature__image-link,
body.page-category .product-miniature__image-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 250px !important;
  padding: 18px !important;
  border-radius: 5px !important;
  background: #f0f3f8 !important;
}

body#category .product-miniature__image,
body.page-category .product-miniature__image {
  width: auto !important;
  max-width: 100% !important;
  max-height: 218px !important;
  object-fit: contain !important;
}

body#category .product-miniature__bottom,
body.page-category .product-miniature__bottom {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 22px !important;
}

body#category .product-miniature__title,
body.page-category .product-miniature__title {
  min-height: 64px !important;
  color: #fff !important;
  font-size: 1.08rem !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
}

body#category .product-miniature__price,
body.page-category .product-miniature__price {
  color: var(--pc-cyan) !important;
  font-size: 1.28rem !important;
  font-weight: 800 !important;
}

body#category .product-miniature__actions,
body.page-category .product-miniature__actions {
  margin-top: auto !important;
}

body#category .product-miniature__form,
body.page-category .product-miniature__form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 52px !important;
  gap: 12px !important;
  align-items: stretch !important;
}

body#category .quantity-button__group,
body.page-category .quantity-button__group {
  height: 46px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 4px !important;
  background: #05070d !important;
}

body#category .product-miniature__add,
body.page-category .product-miniature__add {
  width: 52px !important;
  height: 46px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: linear-gradient(135deg, var(--pc-cyan), #f056d4) !important;
  color: #02040a !important;
}

body#category .product-miniature__add-text,
body.page-category .product-miniature__add-text {
  display: none !important;
}

body#product .product__container,
body.page-product .product__container {
  border: 1px solid rgba(255, 255, 255, .13) !important;
  border-radius: 8px !important;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 52, 63, .13), transparent 32%),
    linear-gradient(180deg, rgba(16, 24, 39, .92), rgba(5, 7, 13, .98)) !important;
}

body#product .product__images,
body.page-product .product__images,
body#product .product__right,
body.page-product .product__right {
  border-color: rgba(255, 255, 255, .12) !important;
  border-radius: 7px !important;
}

body#product .product__left,
body.page-product .product__left {
  min-width: 0 !important;
}

body#product .product__images,
body.page-product .product__images {
  padding: 22px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(46, 233, 255, .1), transparent 30rem),
    linear-gradient(180deg, rgba(9, 15, 25, .98), rgba(5, 7, 13, .99)) !important;
}

body#product .product__carousel,
body.page-product .product__carousel {
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 7px !important;
  background: #0a101b !important;
  overflow: hidden !important;
}

body#product .product__carousel .carousel-inner,
body.page-product .product__carousel .carousel-inner,
body#product .product__carousel .carousel-item,
body.page-product .product__carousel .carousel-item {
  background: transparent !important;
}

body#product .product__carousel img.img-fluid,
body.page-product .product__carousel img.img-fluid {
  display: block !important;
  width: min(100%, 600px) !important;
  max-height: 620px !important;
  margin: 0 auto !important;
  border-radius: 4px !important;
  object-fit: contain !important;
}

body#product .product__zoom,
body.page-product .product__zoom {
  right: 20px !important;
  bottom: 20px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  background: rgba(5, 7, 13, .86) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35) !important;
}

body#product .product__thumbnails,
body.page-product .product__thumbnails {
  margin-top: 18px !important;
}

body#product .product__thumbnail,
body.page-product .product__thumbnail {
  padding: 6px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 6px !important;
  background: #0b111c !important;
}

body#product .product__thumbnail.active,
body.page-product .product__thumbnail.active {
  border-color: var(--pc-cyan) !important;
  box-shadow: 0 0 0 2px rgba(46, 233, 255, .18) !important;
}

body#product .product__thumbnail-image,
body.page-product .product__thumbnail-image {
  border: 0 !important;
  border-radius: 4px !important;
}

body#product .product__right,
body.page-product .product__right {
  background: #0b111c !important;
}

body#product .product__description-short,
body.page-product .product__description-short {
  padding: 18px 20px !important;
  border-left: 3px solid var(--pc-red) !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, .045) !important;
  color: #f4f8ff !important;
  font-size: 1.04rem !important;
  line-height: 1.55 !important;
}

body#product .product__actions-qty-add,
body.page-product .product__actions-qty-add {
  gap: 14px !important;
}

body#product .product-add-to-cart .btn-primary,
body.page-product .product-add-to-cart .btn-primary,
body#product .product__add-to-cart,
body.page-product .product__add-to-cart {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--pc-red) !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

@media (max-width: 767px) {
  body#category .breadcrumb ol,
  body#product .breadcrumb ol,
  body.page-category .breadcrumb ol,
  body.page-product .breadcrumb ol,
  body#category ol.breadcrumb,
  body#product ol.breadcrumb,
  body.page-category ol.breadcrumb,
  body.page-product ol.breadcrumb {
    display: flex !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
    row-gap: 6px !important;
    overflow: visible !important;
  }

  body#category .breadcrumb-item,
  body#product .breadcrumb-item,
  body.page-category .breadcrumb-item,
  body.page-product .breadcrumb-item {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  body#category .breadcrumb-link,
  body#product .breadcrumb-link,
  body.page-category .breadcrumb-link,
  body.page-product .breadcrumb-link,
  body#category .breadcrumb-item > span,
  body#product .breadcrumb-item > span,
  body.page-category .breadcrumb-item > span,
  body.page-product .breadcrumb-item > span {
    display: inline !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body#category #left-column,
  body.page-category #left-column {
    padding-right: 0 !important;
    margin-bottom: 24px !important;
  }

  body#category .products,
  body.page-category .products {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body#category .product-miniature,
  body.page-category .product-miniature {
    max-width: 100% !important;
  }

body#product .product__description-short,
body.page-product .product__description-short {
    padding: 16px !important;
  }
}

/* Pass 142: section rhythm, mobile hero priority and actionable home products. */
body#index .rx-home {
  display: flex !important;
  flex-direction: column !important;
}

body#index .rx-benefits { order: 1 !important; }
body#index .rx-market { order: 2 !important; }
body#index .rx-top-categories { order: 3 !important; }
body#index .rx-featured { order: 4 !important; }
body#index .rx-rigs { order: 5 !important; }
body#index .rx-deal { order: 6 !important; }
body#index .rx-loadout { order: 7 !important; }
body#index .rx-builder { order: 8 !important; }
body#index .rx-partspc-services { order: 9 !important; }
body#index .rx-faq { order: 10 !important; }
body#index .rx-support { order: 11 !important; }
body#index .rx-brands { order: 12 !important; }

.rx-top-categories {
  padding-top: 44px !important;
}

.rx-top-categories__box {
  padding: 28px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .08) !important;
}

.rx-top-categories .rx-section__head {
  margin-bottom: 26px !important;
}

.rx-top-categories .rx-section__head h2 {
  display: block !important;
  margin: 8px 0 0 !important;
  color: #f7fbff !important;
  font-size: clamp(2rem, 3.4vw, 3.25rem) !important;
  line-height: .96 !important;
}

.rx-section__head h2,
.rx-builder__copy h2,
.rx-service-intro h2,
.rx-loadout__copy h2 {
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.rx-section__head h2 span,
.rx-featured .rx-section__head h2 span,
.rx-rigs .rx-section__head h2 span {
  color: var(--pc-red) !important;
}

.rx-product__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  margin-top: 18px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .045) !important;
  font-size: .86rem !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

.rx-product__cta::after {
  content: ">";
  margin-left: 10px;
  color: var(--pc-red);
}

.rx-product__cta:hover {
  border-color: rgba(46, 233, 255, .38) !important;
  color: #071018 !important;
  background: linear-gradient(135deg, var(--pc-cyan), #f056d4) !important;
}

.rx-featured .rx-product {
  display: flex !important;
  flex-direction: column !important;
}

.rx-featured .rx-stock {
  margin-top: auto !important;
}

.rx-featured .rx-badge {
  color: #071018 !important;
  background: #dbeafe !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
}

.rx-featured .rx-badge--gift {
  color: #03111a !important;
  background: #67e8f9 !important;
}

.rx-featured .rx-badge--sale {
  color: #111827 !important;
  background: #fde047 !important;
}

.rx-featured .rx-badge--new {
  color: #fff !important;
  background: #b91c1c !important;
}

.rx-rigs,
.rx-deal,
.rx-loadout,
.rx-builder,
.rx-partspc-services,
.rx-faq,
.rx-support {
  margin-top: 86px !important;
}

.rx-brands {
  margin-top: 64px !important;
}

@media (max-width: 991px) {
  body#index .rx-market__inner {
    display: flex !important;
    flex-direction: column !important;
  }

  body#index .rx-market__content {
    order: 1 !important;
  }

  body#index .rx-vmenu {
    order: 2 !important;
  }

  .rx-top-categories {
    padding-top: 40px !important;
  }
}

@media (max-width: 575px) {
  .rx-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 18px 18px !important;
  }

  .rx-benefits div {
    font-size: .78rem !important;
    line-height: 1.2 !important;
  }

  body#index .rx-market__inner {
    gap: 0 !important;
  }

  .rx-market .rx-hero {
    min-height: 510px !important;
  }

  .rx-market .rx-hero__inner {
    min-height: 510px !important;
    padding: 42px 28px 72px !important;
  }

  .rx-vmenu {
    margin-top: 0 !important;
  }

  .rx-top-categories__box {
    padding: 26px 14px 0 !important;
  }

  .rx-rigs,
  .rx-deal,
  .rx-loadout,
  .rx-builder,
  .rx-partspc-services,
  .rx-faq,
  .rx-support {
    margin-top: 56px !important;
  }
}

/* Pass 144: make lower sections and category cards feel intentional, not default blocks. */
.rx-category-photo {
  display: block !important;
  min-height: 280px !important;
  padding: 34px !important;
  background:
    radial-gradient(circle at 85% 70%, rgba(46, 233, 255, .12), transparent 18rem),
    linear-gradient(145deg, rgba(16, 24, 39, .98), rgba(7, 11, 18, .99)) !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.rx-category-photo:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(46, 233, 255, .28) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36) !important;
}

.rx-category-photo .rx-count {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 10px !important;
  border-radius: 3px !important;
  color: #d7efff !important;
  background: rgba(255, 255, 255, .08) !important;
  font-size: .72rem !important;
  font-weight: 850 !important;
}

.rx-category-photo strong {
  margin-top: 18px !important;
  max-width: 45% !important;
  font-size: clamp(1.55rem, 2.35vw, 2.05rem) !important;
  line-height: 1.04 !important;
}

.rx-category-photo em {
  position: absolute !important;
  left: 34px !important;
  right: auto !important;
  bottom: 28px !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 4px !important;
  color: #05070d !important;
  background: #fff !important;
  font-size: .88rem !important;
  font-style: normal !important;
  font-weight: 900 !important;
  text-transform: none !important;
}

.rx-category-photo em::after {
  content: ">";
  margin-left: 10px;
  color: var(--pc-red);
  width: auto !important;
  height: auto !important;
  border: 0 !important;
}

.rx-category-photo img[src*="partspc-menu-"] {
  right: 22px !important;
  bottom: 42px !important;
  width: min(36%, 192px) !important;
  height: 118px !important;
  opacity: .92 !important;
}

.rx-deal {
  min-height: 248px !important;
  padding: 46px 56px !important;
  gap: 36px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background:
    radial-gradient(circle at 90% 20%, rgba(46, 233, 255, .18), transparent 24rem),
    linear-gradient(100deg, rgba(70, 14, 39, .96), rgba(9, 47, 58, .96)) !important;
}

.rx-deal h2 {
  max-width: 850px !important;
  font-size: clamp(2rem, 4vw, 4.15rem) !important;
  line-height: .96 !important;
}

.rx-deal p:not(.rx-kicker) {
  max-width: 720px !important;
  color: #e3e9f5 !important;
}

.rx-loadout__copy {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 52, 63, .14), transparent 20rem),
    linear-gradient(145deg, rgba(16, 24, 39, .98), rgba(20, 9, 23, .98)) !important;
}

.rx-countdown {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 30px 0 !important;
}

.rx-countdown span {
  min-height: 88px !important;
  padding: 14px 10px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .045) !important;
}

.rx-countdown strong {
  color: var(--pc-cyan) !important;
  font-size: 1.18rem !important;
  text-transform: uppercase !important;
}

.rx-countdown em {
  max-width: 100% !important;
  color: #cbd6e8 !important;
  font-size: .74rem !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

.rx-support {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.rx-support article {
  min-height: 136px !important;
  padding: 26px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 6px !important;
  background:
    linear-gradient(145deg, rgba(16, 24, 39, .98), rgba(7, 13, 22, .98)) !important;
}

.rx-brands {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 1px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 6px !important;
}

.rx-brands span {
  min-height: 72px !important;
  color: #e7eef9 !important;
  background: rgba(16, 24, 39, .9) !important;
  font-weight: 850 !important;
}

body .footer__before,
body .footer__before .ps-emailsubscription,
body .footer__before .ps-emailsubscription .container,
body .footer__before .ps-emailsubscription .row {
  background: transparent !important;
}

body .footer__before {
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  background:
    radial-gradient(circle at 15% 50%, rgba(46, 233, 255, .14), transparent 24rem),
    linear-gradient(90deg, rgba(15, 23, 42, .98), rgba(20, 9, 28, .98)) !important;
}

body .footer__before .ps-emailsubscription {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
  color: #f7fbff !important;
}

body .footer__before .ps-emailsubscription .h3,
body .footer__before .ps-emailsubscription p {
  color: #f7fbff !important;
}

body .footer__before .ps-emailsubscription .text-body-secondary,
body .footer__before .ps-emailsubscription p.fs-6 {
  color: #aebbd0 !important;
  opacity: 1 !important;
}

body .footer__before .ps-emailsubscription .form-control {
  min-height: 52px !important;
  color: #f7fbff !important;
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(5, 7, 13, .55) !important;
}

body .footer__before .ps-emailsubscription .btn-primary {
  min-height: 52px !important;
  border: 0 !important;
  color: #05070d !important;
  background: linear-gradient(135deg, var(--pc-cyan), #f056d4) !important;
  font-weight: 900 !important;
}

body #footer,
body .footer__main {
  background: #05070d !important;
  color: #9aa6bb !important;
}

@media (max-width: 991px) {
  .rx-support,
  .rx-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rx-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575px) {
  .rx-category-photo {
    min-height: 220px !important;
    padding: 26px !important;
  }

  .rx-category-photo strong {
    max-width: 62% !important;
    font-size: 1.4rem !important;
  }

  .rx-category-photo em {
    left: 26px !important;
    bottom: 24px !important;
  }

  .rx-category-photo img[src*="partspc-menu-"] {
    right: 14px !important;
    bottom: 34px !important;
    width: 34% !important;
    height: 90px !important;
  }

  .rx-deal {
    padding: 30px !important;
  }

  .rx-support,
  .rx-brands {
    grid-template-columns: 1fr !important;
  }
}
