/* Magwerks */

main.content.supplies-main {
  padding: 100px 0 60px 0 !important; 
  min-height: 100vh;
}

.supplies-card {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.94) 0%,
    rgba(10, 15, 30, 0.86) 100%
  );
  
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin: 0 auto 60px auto; 
  border-color: rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 26px 75px rgba(0, 0, 0, 0.35);
}

.supplies-title {
  text-align: center;
  color: rgb(244, 67, 67);
  font-size: 2.35rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.supplies-intro {
  text-align: center;
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.supplies-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 18px;
  width: 100%;
  box-sizing: border-box;
}

.supplies-left-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.supplies-right-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.supplies-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 30px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  color: #ffffff;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 160px;
  height: 160px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.supplies-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    800px circle at 50% 0%,
    rgba(244, 67, 67, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.supplies-tile:hover::before {
  opacity: 1;
}

.supplies-tile h3 {
  color: #ffffff;
  font-size: 1.38rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.supplies-tile p {
  color: #ffffff;
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.supplies-tile:hover {
  background: linear-gradient(
    180deg,
    rgba(180, 50, 50, 0.38) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 50, 50, 0.3);
}

.supplies-tile:focus-visible {
  
  outline: 2px solid rgba(244, 67, 67, 0.85);
  outline-offset: 2px;
}

.supplies-media-box {
  width: 100%;
  height: 160px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.supplies-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.supplies-media-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 18px;
}

.supplies-media-strip--three .supplies-image {
  max-width: 33.33%;
}

.supplies-media-strip--two .supplies-image {
  max-width: 48%;
}

.supplies-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.supplies-disclaimer .supplies-disclaimer-intro {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.supplies-disclaimer .supplies-disclaimer-intro strong {
  color: rgb(255, 255, 0);
}

.supplies-disclaimer .supplies-disclaimer-body {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.supplies-contact-cta {
  text-align: center;
  margin-top: 20px;
}

.supplies-contact-cta a {
  background: linear-gradient(135deg, #f43f43 0%, #d32f2f 100%);
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(244, 63, 67, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.supplies-contact-cta a:hover,
.supplies-contact-cta a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 63, 67, 0.4);
}

.supplies-grid {
  list-style: none;
  padding: 0;
}

@media (min-width: 993px) {
  .supplies-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

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

@media (max-width: 768px) {
  .supplies-grid {
    grid-template-columns: 1fr !important;
  }
}

.supplies-value-card {
  cursor: default; 
  border-color: rgba(255, 255, 255, 0.14) !important; 
}

.supplies-value-card:hover {
  border-color: rgba(180, 50, 50, 0.55) !important;
}

.supplies-media-carousel {
  width: 100%;
  height: 140px;
  position: relative;
  display: block;
  overflow: hidden;
  background: transparent; 
  border-radius: 0;
  padding: 0;
}

.supplies-media-carousel::-webkit-scrollbar {
  display: none;
}

.supplies-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none; 
}

.supplies-carousel-image.is-active {
  opacity: 1;
}

.supplies-media-single {
  width: 100%;
  height: 140px;
  background: transparent; 
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.supplies-single-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.supplies-value-card {
  display: flex; 
  flex-direction: column;
}

.supplies-value-card .about-value-card-title {
  order: 1;
}

.supplies-value-card .about-value-card-text {
  order: 2;
}

.supplies-value-card .supplies-media-carousel,
.supplies-value-card .supplies-media-single {
  order: 3;
  margin-top: 16px; 
}

.supplies-explore-title {
  text-align: center;
  color: #ffffff;
  font-size: 2rem;
  margin-top: 34px;
  margin-bottom: 30px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .supplies-tile {
    transition: none;
  }

  .supplies-contact-cta a {
    transition: none;
  }
}

a.equipment-category-tile.supplies-value-card {
  cursor: pointer !important;
}

main.content.info-main.category-main {
  padding: 120px 0 80px 0 !important;
}

.category-card {
  margin: 0 auto 50px auto;
}

.category-intro {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.category-back-link-wrap {
  text-align: center;
  margin: -10px 0 34px 0;
}

.category-back-link {
  color: #f44367;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.category-overview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
}

.category-overview .about-section-heading {
  text-align: left;
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.category-list {
  color: #ffffff;
  margin: 0 0 22px 1.25rem;
  padding-left: 1rem;
}

.category-list li {
  margin: 0 0 0.55rem;
  line-height: 1.6;
}

.category-product-grid {
  margin-top: 14px;
}

.category-product-link {
  align-items: stretch;
  min-height: 100%;
}

.category-product-media {
  min-height: 120px;
}

.category-empty-state p + p {
  margin-top: 0.75rem;
}

.category-empty-state a,
.category-support-note a {
  color: #f44367;
  text-decoration: underline;
}

.category-support-note {
  margin-top: 22px;
}

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

.category-condition-tile {
  min-height: 185px;
  justify-content: center;
}

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

@media (max-width: 768px) {
  main.content.info-main.category-main {
    padding: 100px 0 60px 0 !important;
  }

  .category-overview {
    padding: 22px;
  }

  .category-condition-grid {
    grid-template-columns: 1fr;
  }
}

main.content.info-main.endproduct-main {
  padding: 120px 0 80px 0 !important;
}

.endproduct-card {
  margin: 0 auto 50px auto;
}

.endproduct-head {
  margin-bottom: 20px;
}

.endproduct-model {
  margin-top: -6px;
  margin-bottom: 12px;
  opacity: 0.95;
}

.endproduct-back-link-wrap {
  text-align: center;
  margin: 0 0 20px;
}

.endproduct-back-link {
  color: #f44367;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.endproduct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 24px;
}

.endproduct-details,
.endproduct-media {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 24px;
}

.endproduct-section-heading {
  text-align: left;
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.endproduct-feature-list {
  color: #ffffff;
  margin: 0 0 20px 1.25rem;
  padding-left: 1rem;
}

.endproduct-feature-list li {
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.endproduct-custom-note p + p {
  margin-top: 0.75rem;
}

.endproduct-custom-note a,
.endproduct-documents a {
  color: #f44367;
  text-decoration: underline;
}

.endproduct-catalog-date,
.endproduct-pricing-note {
  color: #ffffff;
  margin-top: 14px;
}

.endproduct-documents {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.endproduct-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.endproduct-image-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.endproduct-image-btn:hover,
.endproduct-image-btn:focus-visible {
  border-color: rgba(180, 50, 50, 0.6);
  box-shadow: 0 6px 18px rgba(180, 50, 50, 0.3);
  transform: translateY(-1px);
}

.endproduct-image-btn img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.endproduct-modal[hidden] {
  display: none;
}

.endproduct-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.endproduct-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
}

.endproduct-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 940px);
  margin: 7vh auto 0;
  background: rgba(8, 12, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 22px 46px;
}

.endproduct-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.endproduct-modal-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
}

.endproduct-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  background: rgba(244, 67, 67, 0.85);
  color: #ffffff;
  font-size: 1.05rem;
  cursor: pointer;
}

.endproduct-modal-nav.prev {
  left: 10px;
}

.endproduct-modal-nav.next {
  right: 10px;
}

#endproduct-modal-count {
  text-align: center;
  color: #ffffff;
  margin: 10px 0 0;
}

@media (max-width: 992px) {
  .endproduct-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  main.content.info-main.endproduct-main {
    padding: 100px 0 60px 0 !important;
  }

  .endproduct-details,
  .endproduct-media {
    padding: 18px;
  }

  .endproduct-modal-dialog {
    padding: 16px 36px;
  }
}