.jumbotron {
  background-image: url("/images/vulcan_11_2_marquee.jpg");
  background-position: center center;
}

img.navbar-icon {
  background: none;
  object-fit: contain;
  max-width: none;
}

.mi {
  vertical-align: -0.25em;
  margin-right: 0.75em;
}

.chevron-right {
  background-image: url("/images/icons/chevron-right.svg");
  height: 1rem;
  width: 1rem;
}

.btn:hover {
  transform: none;
}

.product-link:hover {
  background-color: #f2f2f2;
  color: #333333;
}

/* --- Product Panel Layout: Grid, Responsive --- */
.product-panels-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* always 5 on desktop! */
  gap: 2rem;
  justify-items: stretch;
  align-items: stretch;
  width: 100%;
}

/* --- Product Panel (Category) --- */
.product-panel {
  background: #f2f2f2;
  border-radius: 6px;
  border: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  box-sizing: border-box;
  padding: 1.5rem 1rem;
}

.product-panel h4 {
  font-size: 1.125rem;
  color: #333333;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  text-align: left;
  padding-left: 0.1em;
}

/* --- Product Row --- */
.product-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: white;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.74rem;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.12s;
  font-size: 1.07rem;
  min-height: 48px;
  box-shadow: 0 0.5px 1.5px #22314412;
  border: 1px solid transparent;
}

.product-row:last-child {
  margin-bottom: 0;
}

.product-row:hover,
.product-row:focus {
  background: #fafafa;
  box-shadow: 0 4px 14px 0 #22314410;
}

/* --- Product Card Row & Name --- */
.product-card-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.product-name-dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 100%;
  min-width: 0;
}

.product-name {
  flex: 1;
  color: #333333;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

.product-name:hover {
  color: #333333;
}

/* --- Icon --- */
.product-icon {
  height: 40px;
  width: 40px;
  min-width: 40px;
  object-fit: contain;
}

/* --- Version Dropdown --- */
.product-version-dropdown .dropdown-toggle {
  background: #f7f8fa !important;
  border: 1px solid #e1e2e3 !important;
  box-shadow: none !important;
  font-size: 0.85rem;
  color: #4d4d4d;
  padding: 0.25em 0.8em;
  /* min-width: 2em; */
  /* width: 100%; */
  min-height: 2em;
  border-radius: 6px !important;
  transition: background 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.product-version-dropdown .latest-button {
  background: #f7f8fa !important;
  border: 1px solid #e1e2e3 !important;
  box-shadow: none !important;
  font-size: 0.85rem;
  color: #4d4d4d;
  padding: 0.25em 0.8em;
  /* min-width: 2em; */
  /* width: 100%; */
  min-height: 2em;
  border-radius: 6px !important;
  transition: background 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.product-version-dropdown .dropdown-toggle:after {
  margin-left: 0.25em;
  vertical-align: middle;
  font-size: 1.1em;
}

.product-version-dropdown .dropdown-toggle:hover {
  background: #eeeeee;
  box-shadow: 0 4px 14px 0 #22314410;
  border: 1px solid #cccccc;
}

.product-version-dropdown .dropdown-menu {
  min-width: 10em;
  font-size: 1em;
  border-radius: 8px;
  margin-top: 0.2em !important;
}

.product-version-dropdown .dropdown-item {
  font-size: 1em;
  padding: 0.47em 1em;
}

/* --- Container --- */
.custom-container {
  max-width: 1571px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* --- Loading skeleton --- */
:root {
  --sk-bg: #f4f5f7;
  --sk-fg: #e7e9ee;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sk-card {
  background: #fff;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  min-height: 48px;
  box-shadow: 0 0.5px 1.5px #22314412;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* first row: icon + title + chevron */
.sk-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sk-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 6px;
  background: var(--sk-fg);
}

.sk-title {
  height: 18px;
  width: 61%;
  border-radius: 4px;
  background: var(--sk-fg);
}

/* chevron placeholder */
.sk-chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sk-fg);
  flex: 0 0 18px;
}

/* second row: "Version:" label + pill */
.sk-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sk-label {
  height: 14px;
  width: 58px;
  border-radius: 4px;
  background: var(--sk-fg);
}

.sk-pill {
  height: 24px;
  width: 96px;
  border-radius: 10px;
  background: var(--sk-fg);
}

.skeleton-panel {
  background: #f2f2f2;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skeleton-title {
  height: 18px;
  width: 60%;
  border-radius: 4px;
  background: var(--sk-fg);
  margin: 0 0 1rem;
}

/* shimmer uses your existing keyframes; just apply to the new bits */
.sk-card,
.sk-top,
.sk-icon,
.sk-title,
.sk-chevron,
.sk-meta,
.sk-label,
.sk-pill {
  position: relative;
  overflow: hidden;
}

.sk-card::after,
.sk-icon::after,
.sk-title::after,
.sk-chevron::after,
.sk-label::after,
.sk-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  animation: shimmer 1.2s infinite;
}

/* respect reduced motion (keep if you added earlier) */
@media (prefers-reduced-motion: reduce) {
  .sk-card::after,
  .sk-icon::after,
  .sk-title::after,
  .sk-chevron::after,
  .sk-label::after,
  .sk-pill::after {
    display: none !important;
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* --- Responsive: Laptops/Tablets (3 or 2 columns) --- */
@media (max-width: 1400px) {
  .product-panels-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}

@media (max-width: 1024px) {
  .product-panels-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

/* --- Mobile: Stack panels vertically --- */
@media (max-width: 767px) {
  .product-panels-group {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .product-panel {
    border-radius: 0.5em;
    padding: 1rem 0.5rem;
    box-shadow: 0 1px 4px #22314410;
  }

  .product-panel h4 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
    padding-left: 0;
  }

  .product-row {
    min-height: 40px;
    padding: 0.4rem 0.5rem;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .product-icon {
    height: 28px;
    width: 28px;
    min-width: 28px;
  }
}

/* --- Container padding for xs screens --- */
@media (max-width: 600px) {
  .custom-container {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* --- All Products title --- */
h2.text-center {
  font-size: 2.1rem;
  margin-top: 2.7rem;
  margin-bottom: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #232d35;
}

@media (max-width: 767px) {
  h2.text-center {
    margin-top: 1.2rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.4rem;
  }
}
