@charset "UTF-8";
/**
 * My Presta Rocks — Child Theme Styles
 * Overrides Hummingbird (Bootstrap 5.3) via CSS Custom Properties
 *
 * Color Palette:
 *   Orange (primary):  #FC6139 / rgb(252,97,57)
 *   Orange hover:      #B74224
 *   Body text:         #212427 / rgb(33,36,39)
 *   Black (dark):      #000000
 *   Navy accent:       #11162D (hero gradients, gallery thumbnails only)
 *   Green (success):   #3BAF5C / rgb(59,175,92)
 *   Light text:        #F2F2F2
 */
/* ==========================================================================
   1. Bootstrap 5.3 Custom Property Overrides
   ========================================================================== */
:root {
  /* Primary: Orange */
  --bs-primary: #FC6139;
  --bs-primary-rgb: 252, 97, 57;
  --bs-primary-text-emphasis: #B74224;
  --bs-primary-bg-subtle: #FEE0D8;
  --bs-primary-border-subtle: #FDB9A8;
  /* Link colors */
  --bs-link-color: #FC6139;
  --bs-link-color-rgb: 252, 97, 57;
  --bs-link-hover-color: #B74224;
  --bs-link-hover-color-rgb: 183, 66, 36;
  /* Body */
  --bs-body-color: #212427;
  --bs-body-color-rgb: 33, 36, 39;
  --bs-body-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Success: Green */
  --bs-success: #3BAF5C;
  --bs-success-rgb: 59, 175, 92;
  --bs-success-text-emphasis: #2C7F43;
  --bs-success-bg-subtle: #D8F0E0;
  --bs-success-border-subtle: #AADDB9;
  /* Dark: Black */
  --bs-dark: #000000;
  --bs-dark-rgb: 0, 0, 0;
  /* Focus ring — match primary */
  --bs-focus-ring-color: rgba(252, 97, 57, 0.25);
  /* Canonical theme variables */
  --mpr-orange: #FC6139;
  --mpr-orange-hover: #B74224;
  --mpr-black: #000000;
  --mpr-body-text: #212427;
  --mpr-navy: #11162D;
  --mpr-muted: #8A8D8F;
  --mpr-light-text: #F2F2F2;
  /* Override module accent colors to prevent palette fragmentation */
  --mpr-sr-accent: #FC6139;
  --mpr-ec-bg-color-primary: #000000;
}

/* Prevent browser-default purple on visited links — match unvisited state */
a:visited {
  color: var(--bs-link-color);
}

a:visited:hover {
  color: var(--bs-link-hover-color);
}

/* ==========================================================================
   2. Component Overrides via Bootstrap Scoped Variables
   ========================================================================== */
/* Primary buttons */
.btn-primary {
  --bs-btn-bg: var(--mpr-orange);
  --bs-btn-border-color: var(--mpr-orange);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--mpr-orange-hover);
  --bs-btn-hover-border-color: var(--mpr-orange-hover);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #A33B20;
  --bs-btn-active-border-color: #A33B20;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--mpr-orange);
  --bs-btn-disabled-border-color: var(--mpr-orange);
  --bs-btn-disabled-color: #fff;
  --bs-btn-focus-shadow-rgb: 252, 97, 57;
  border-radius: 4px;
}

/* Outline primary buttons */
.btn-outline-primary {
  --bs-btn-color: var(--mpr-orange);
  --bs-btn-border-color: var(--mpr-orange);
  --bs-btn-hover-bg: var(--mpr-orange);
  --bs-btn-hover-border-color: var(--mpr-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--mpr-orange-hover);
  --bs-btn-active-border-color: var(--mpr-orange-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 252, 97, 57;
  border-radius: 4px;
}

/* Dark buttons (for "Add to cart" etc) */
.btn-dark {
  --bs-btn-bg: var(--mpr-black);
  --bs-btn-border-color: var(--mpr-black);
  --bs-btn-hover-bg: var(--mpr-body-text);
  --bs-btn-hover-border-color: var(--mpr-body-text);
  border-radius: 4px;
}

/* Badges — product flags */
.badge.bg-primary,
.badge[class*=bg-primary] {
  background-color: var(--mpr-orange) !important;
}

/* Pagination active */
.pagination {
  --bs-pagination-active-color: var(--mpr-orange);
  --bs-pagination-color: var(--mpr-orange);
  --bs-pagination-hover-color: var(--mpr-orange-hover);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(252, 97, 57, 0.25);
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
  border-color: var(--mpr-orange);
  box-shadow: 0 0 0 0.25rem rgba(252, 97, 57, 0.25);
  outline: none;
}

.form-check-input:checked {
  background-color: var(--mpr-orange);
  border-color: var(--mpr-orange);
}

.form-switch .form-check-input:checked {
  background-color: var(--mpr-orange);
}

/* ==========================================================================
   3. Hummingbird-Specific Overrides
   ========================================================================== */
/* Prevent horizontal scroll from any overflowing child */
body {
  overflow-x: hidden;
}

/* Product flags / labels — orange accent */
.product-flag {
  background-color: var(--mpr-orange);
}

.product-flag.discount {
  background-color: var(--mpr-orange);
}

/* Price styling */
.product-price,
.current-price-value {
  color: var(--mpr-body-text);
}

.regular-price {
  color: var(--mpr-muted);
}

/* Header — clean dark look */
.header-top {
  background-color: var(--mpr-black);
  color: var(--mpr-light-text);
}

.header-top a,
.header-top .material-icons {
  color: var(--mpr-light-text);
}

.header-top a:hover {
  color: var(--mpr-orange);
}

.header-top a:visited {
  color: var(--mpr-light-text);
}

/* Footer */
footer {
  color: var(--mpr-body-text);
}

footer a:hover {
  color: var(--mpr-orange);
}

/* Search bar */
.search-widget form button[type=submit] {
  background-color: var(--mpr-orange);
  border-color: var(--mpr-orange);
  color: #fff;
}

.search-widget form button[type=submit]:hover {
  background-color: var(--mpr-orange-hover);
  border-color: var(--mpr-orange-hover);
}

/* Newsletter subscribe button */
.block-newsletter .btn-primary,
.ps-emailsubscription .btn-primary {
  --bs-btn-bg: var(--mpr-orange);
  --bs-btn-border-color: var(--mpr-orange);
  --bs-btn-hover-bg: var(--mpr-orange-hover);
  --bs-btn-hover-border-color: var(--mpr-orange-hover);
}

/* Back to top button */
.back-to-top {
  background-color: var(--mpr-orange);
  color: #fff;
}

.back-to-top:hover {
  background-color: var(--mpr-orange-hover);
  color: #fff;
}

/* Wishlist heart */
.wishlist-button-add .material-icons {
  color: var(--mpr-orange);
}

/* Carousel indicators / controls */
.carousel-control-prev,
.carousel-control-next {
  color: var(--mpr-orange);
}

/* Product card links — keep dark on :visited */
.product-miniature a:visited,
.product-title a:visited {
  color: var(--mpr-body-text);
}

/* Breadcrumbs — keep primary on :visited */
.breadcrumb a:visited {
  color: var(--bs-link-color);
}

/* Footer general — keep white tones on :visited */
footer a:visited {
  color: inherit;
}

/* ==========================================================================
   4. Typography & Spacing Refinements
   ========================================================================== */
/* Remove forced uppercase on headings */
h1, h2, h3,
.h1, .h2, .h3 {
  text-transform: none;
}

/* Heading size hierarchy — H1 must be larger than H2 */
h1, .h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2, .h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Product description lists — proper formatting */
.product-description ul,
.product-description ol,
.product-description-short ul,
.product-description-short ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.product-description ul,
.product-description-short ul {
  list-style-type: disc;
}

.product-description ol,
.product-description-short ol {
  list-style-type: decimal;
}

.product-description li,
.product-description-short li {
  margin-bottom: 0.5rem;
}

/* Tighter product card add-to-cart area */
.product-miniature .product-prices {
  margin-top: 0.25em;
}

/* ==========================================================================
   5. Reassurance Module Colors
   ========================================================================== */
/* ps_blockreassurance icons should use brand orange */
.blockreassurance-icon svg {
  fill: var(--mpr-orange);
}

.blockreassurance-icon .material-icons {
  color: var(--mpr-orange);
}

/* ==========================================================================
   6. Product Page Layout — reassurance under gallery, full-width tabs
   ========================================================================== */
/* Override Hummingbird default 55%/1fr split — 48% gives the gallery
   enough room for thumbs-left layout without dominating the page */
@media (min-width: 992px) {
  .page-product .product__container {
    grid-template-columns: 48% minmax(0, 1fr);
  }
}
/* Gallery lightbox (PhotoSwipe) must sit above profiler (z:999999),
   cookie consent (z:2147483647), and chat widgets */
.pswp {
  --pswp-root-z-index: 2147483647;
}

/* Fix Swiper thumbs height explosion.
   Desktop (>=768px, flex-row): .mprgallery__thumbs-swiper { height: 100% }
   creates a circular dependency.  Fix: absolute-position the swiper so it
   fills the flex-stretched parent without contributing to its height.
   Mobile (<768px, flex-column): .mprgallery__main { flex: 1 } collapses to
   0 height because flex-basis: 0 in column direction has no intrinsic size.
   Fix: reset flex to auto so the aspect-ratio child sizes the container. */
@media (min-width: 768px) {
  .mprgallery--thumbs-left .mprgallery__thumbs--left,
  .mprgallery--thumbs-right .mprgallery__thumbs--right {
    position: relative;
  }
  .mprgallery--thumbs-left .mprgallery__thumbs-swiper,
  .mprgallery--thumbs-right .mprgallery__thumbs-swiper {
    position: absolute;
    top: 0;
    left: 0;
  }
}
@media (max-width: 767px) {
  .mprgallery--thumbs-left .mprgallery__main,
  .mprgallery--thumbs-right .mprgallery__main {
    flex: 0 0 auto;
  }
  /* Hide vertical thumb strip on mobile — Swiper vertical mode can't
     calculate heights in a column flex layout.  Main carousel swipe +
     prev/next arrows provide mobile navigation. */
  .mprgallery--thumbs-left .mprgallery__thumbs--left,
  .mprgallery--thumbs-right .mprgallery__thumbs--right {
    display: none;
  }
}
/* Make bottom section (tabs) full width */
.product__bottom {
  grid-template-columns: 1fr;
}

/* Hide empty bottom-right on desktop */
@media (min-width: 992px) {
  .product__bottom-right:has(> .d-lg-none) {
    display: none;
  }
}
/* Reassurance under gallery — spacing */
.product__reassurance-under-gallery {
  margin-top: 1.5rem;
}

/* ── Product tabs — inactive var(--mpr-body-text), active black with orange bottom border ── */
.product__bottom-left .nav-tabs {
  border-bottom: 2px solid #e5e7eb;
}

.product__bottom-left .nav-tabs .nav-link {
  color: var(--mpr-body-text);
  font-weight: 600;
  font-size: 0.938rem;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.75rem 1.25rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.product__bottom-left .nav-tabs .nav-link:hover {
  color: var(--mpr-black);
  border-bottom-color: var(--mpr-muted);
}

.product__bottom-left .nav-tabs .nav-link.active {
  color: var(--mpr-black);
  font-weight: 700;
  border-bottom-color: var(--mpr-orange);
  background: transparent;
}

/* ==========================================================================
   7. Selection & Print
   ========================================================================== */
/* Text selection — brand orange */
::selection {
  background-color: rgba(252, 97, 57, 0.2);
  color: var(--mpr-body-text);
}

/* ==========================================================================
   8. Feature Blocks — "Why Unique" + "Use Cases" on product pages
   Card-style layout with orange accents. Positioned around reassurance via JS:
     Gallery → Unique Features → Reassurance → Use Cases
   ========================================================================== */
/* Shared block base — card container */
.feature-block {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-left: 3px solid var(--mpr-orange);
  border-radius: 6px;
  background: #fafbfc;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* First feature block — no extra top border needed with card style */
.feature-block.unique-features {
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

/* ── Heading — black, readable size ── */
.feature-block h3 {
  display: block;
  margin: 0 0 0.75rem 0;
  padding: 0;
  border: none;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mpr-black);
  line-height: 1.3;
}

/* Hide FontAwesome icons — design is typography-only */
.feature-block h3 .fa,
.feature-block h3 .material-icons {
  display: none;
}

/* ── List — orange checkmark bullets ── */
.feature-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-block ul li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
  font-size: 0.938rem;
  line-height: 1.6;
  color: var(--mpr-body-text);
}

/* Orange checkmark bullet */
.feature-block ul li::before {
  content: "✓";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--mpr-orange);
  font-weight: 700;
  font-size: 0.875rem;
}

/* Bold labels within list items */
.feature-block ul li strong,
.feature-block ul li b {
  color: var(--mpr-black);
  font-weight: 700;
}

/* ── Reassurance spacing when sandwiched ── */
.product__reassurance-under-gallery {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* ── Mobile ── */
@media (max-width: 991.98px) {
  .feature-block {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
  }
  .feature-block.unique-features {
    padding-top: 1rem;
  }
}
/* ==========================================================================
   9. Tech Stack Carousel — infinite-scroll logo marquee
   ========================================================================== */
.tech-carousel-section {
  padding: 1rem 0 0.75rem;
  overflow: hidden;
}

.tech-carousel-header {
  text-align: center;
  margin-bottom: 1rem;
}

.tech-carousel-header h2 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mpr-black);
  margin: 0 0 0.25rem 0;
}

.tech-carousel-header p {
  font-size: 0.85rem;
  color: var(--mpr-muted);
  margin: 0;
}

/* Fade edges */
.tech-carousel-wrapper {
  position: relative;
}

.tech-carousel-wrapper::before,
.tech-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.tech-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.tech-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

/* Row */
.tech-carousel-row {
  overflow: hidden;
  padding: 0.75rem 0;
}

/* Track — flex strip */
.tech-carousel-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
}

.tech-carousel-row--left .tech-carousel-track {
  animation: techScrollLeft 40s linear infinite;
}

.tech-carousel-row--right .tech-carousel-track {
  animation: techScrollRight 40s linear infinite;
}

@keyframes techScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.3333333333%);
  }
}
@keyframes techScrollRight {
  0% {
    transform: translateX(-33.3333333333%);
  }
  100% {
    transform: translateX(0);
  }
}
/* Pause on hover */
.tech-carousel-row:hover .tech-carousel-track {
  animation-play-state: paused;
}

/* Item */
.tech-carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 70px;
}

.tech-carousel-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.tech-carousel-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.tech-carousel-item span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mpr-muted);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.tech-carousel-item:hover span {
  color: var(--mpr-body-text);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .tech-carousel-section {
    padding: 1.5rem 0;
  }
  .tech-carousel-wrapper::before,
  .tech-carousel-wrapper::after {
    width: 40px;
  }
  .tech-carousel-track {
    gap: 1.75rem;
  }
  .tech-carousel-item img {
    height: 28px;
  }
  .tech-carousel-item span {
    font-size: 0.6rem;
  }
}
/* ==========================================================================
   10. GitHub Activity — contribution heatmap + recent activity
   ========================================================================== */
.gh-activity {
  padding: 1.25rem 0 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.gh-activity-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.gh-activity-header h2 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mpr-black);
  margin: 0 0 0.25rem 0;
}

.gh-activity-header p {
  font-size: 0.85rem;
  color: var(--mpr-muted);
  margin: 0;
}

.gh-activity-header .gh-stats {
  display: inline-flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.gh-activity-header .gh-stat {
  font-size: 0.75rem;
  color: #555;
}

.gh-activity-header .gh-stat strong {
  color: var(--mpr-black);
  font-weight: 700;
}

/* Heatmap grid */
.gh-heatmap {
  display: flex;
  gap: 2px;
  justify-content: center;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.gh-heatmap-week {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gh-heatmap-day {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: #ebedf0;
}

.gh-heatmap-day[data-level="1"] {
  background: #9be9a8;
}

.gh-heatmap-day[data-level="2"] {
  background: #40c463;
}

.gh-heatmap-day[data-level="3"] {
  background: #30a14e;
}

.gh-heatmap-day[data-level="4"] {
  background: #216e39;
}

.gh-heatmap-day:hover {
  outline: 1px solid #555;
  outline-offset: -1px;
}

/* Heatmap months label */
.gh-heatmap-months {
  display: flex;
  gap: 2px;
  justify-content: center;
  padding-left: 0;
  margin-bottom: 4px;
}

.gh-heatmap-months span {
  font-size: 0.55rem;
  color: var(--mpr-muted);
  text-align: center;
}

/* Legend */
.gh-heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 0.4rem;
  font-size: 0.55rem;
  color: var(--mpr-muted);
}

.gh-heatmap-legend .gh-heatmap-day {
  width: 9px;
  height: 9px;
}

/* Recent repos */
.gh-repos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.gh-repo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #555;
}

.gh-repo-name {
  font-weight: 600;
  color: var(--mpr-black);
}

.gh-repo-bar {
  height: 6px;
  border-radius: 3px;
  background: #40c463;
  min-width: 4px;
}

.gh-repo-count {
  font-size: 0.65rem;
  color: var(--mpr-muted);
}

/* Tooltip */
.gh-tooltip {
  position: fixed;
  padding: 4px 8px;
  background: #24292f;
  color: #fff;
  font-size: 0.65rem;
  border-radius: 4px;
  pointer-events: none;
  z-index: 100;
  white-space: nowrap;
  display: none;
}

/* Commit history timeline */
.gh-history {
  max-width: 640px;
  margin: 1.25rem auto 0;
}

.gh-history-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mpr-muted);
  margin: 0 0 0.6rem 0;
  text-align: center;
}

.gh-day-group {
  margin-bottom: 0.6rem;
}

.gh-day-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--mpr-black);
  margin-bottom: 0.25rem;
  padding-left: 0.25rem;
}

.gh-commit {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.2rem 0 0.2rem 0.75rem;
  border-left: 2px solid #e1e4e8;
  font-size: 0.7rem;
  line-height: 1.35;
}

.gh-commit-repo {
  font-weight: 600;
  color: #40c463;
  white-space: nowrap;
  flex-shrink: 0;
}

.gh-commit-msg {
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gh-commit.gh-hidden {
  display: none;
}

.gh-show-more {
  display: inline-block;
  padding: 0.1rem 0 0.1rem 0.75rem;
  border-left: 2px solid #e1e4e8;
  font-size: 0.62rem;
  color: var(--mpr-muted);
  cursor: pointer;
  transition: color 0.15s;
}

.gh-show-more:hover {
  color: #40c463;
}

/* GitHub Activity — mobile (tablets) */
@media (max-width: 767.98px) {
  .gh-activity {
    padding: 1rem 0 1.25rem;
  }
  .gh-activity-header h2 {
    font-size: 0.65rem;
  }
  .gh-activity-header p {
    font-size: 0.78rem;
  }
  .gh-activity-header .gh-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 1rem;
  }
  .gh-heatmap {
    gap: 1.5px;
    justify-content: center;
    padding: 0.5rem 0.5rem;
  }
  .gh-heatmap-week {
    gap: 1.5px;
  }
  .gh-heatmap-day {
    width: 8px;
    height: 8px;
  }
  .gh-repos {
    gap: 0.4rem 0.75rem;
    padding: 0 1rem;
  }
  .gh-history {
    padding: 0 1rem;
  }
  .gh-commit {
    flex-direction: column;
    gap: 0.05rem;
    align-items: flex-start;
  }
  .gh-commit-msg {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}
/* GitHub Activity — mobile (phones) */
@media (max-width: 599.98px) {
  .gh-activity-header .gh-stat {
    font-size: 0.68rem;
  }
  .gh-heatmap {
    gap: 1px;
    padding: 0.4rem 0.25rem;
  }
  .gh-heatmap-week {
    gap: 1px;
  }
  .gh-heatmap-day {
    width: 6px;
    height: 6px;
    border-radius: 1px;
  }
  .gh-heatmap-legend .gh-heatmap-day {
    width: 7px;
    height: 7px;
  }
  .gh-heatmap-legend {
    font-size: 0.5rem;
    gap: 2px;
  }
  .gh-repos {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0 1.25rem;
  }
  .gh-repo {
    justify-content: space-between;
  }
  .gh-history {
    padding: 0 0.75rem;
  }
  .gh-commit {
    font-size: 0.65rem;
  }
  .gh-day-label {
    font-size: 0.58rem;
  }
  .gh-show-more {
    font-size: 0.58rem;
  }
}
/* GitHub Activity — mobile (very small phones) */
@media (max-width: 379.98px) {
  .gh-activity-header .gh-stats {
    gap: 0.2rem 0.6rem;
  }
  .gh-activity-header .gh-stat {
    font-size: 0.62rem;
  }
  .gh-heatmap-day {
    width: 5px;
    height: 5px;
  }
  .gh-heatmap {
    padding: 0.4rem 0;
  }
}
/* ==========================================================================
   11. Support Hub — /support category landing page
   ========================================================================== */
/* ── Layout ───────────────────────────────────────────────────── */
.support-hub {
  padding: 0 !important;
  overflow: hidden;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.support-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 5rem 2rem 7rem;
  background: linear-gradient(135deg, var(--mpr-navy) 0%, #1a1f3d 50%, #252a4a 100%);
  overflow: hidden;
}

.support-hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.support-hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.support-hero__shape--1 {
  width: 500px;
  height: 500px;
  background: rgba(252, 97, 57, 0.12);
  top: -150px;
  right: -100px;
  animation: heroFloat1 12s ease-in-out infinite;
}

.support-hero__shape--2 {
  width: 350px;
  height: 350px;
  background: rgba(91, 82, 230, 0.1);
  bottom: -100px;
  left: 5%;
  animation: heroFloat2 15s ease-in-out infinite;
}

.support-hero__shape--3 {
  width: 250px;
  height: 250px;
  background: rgba(16, 185, 129, 0.08);
  top: 40%;
  right: 25%;
  animation: heroFloat3 10s ease-in-out infinite;
}

@keyframes heroFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 20px) scale(1.05);
  }
}
@keyframes heroFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -15px) scale(1.08);
  }
}
@keyframes heroFloat3 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-15px, 10px);
  }
}
/* Subtle grid overlay */
.support-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.support-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.support-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  background: rgba(252, 97, 57, 0.12);
  border: 1px solid rgba(252, 97, 57, 0.25);
  color: var(--mpr-orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.support-hero__badge svg {
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.85);
  }
}
.support-hero__title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.support-hero__desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto;
  max-width: 480px;
}

/* ── Policy Cards ─────────────────────────────────────────────── */
.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: -3.5rem 0 0;
  position: relative;
  z-index: 2;
}

.support-card {
  --card-accent: var(--mpr-orange);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 20px 50px rgba(0, 0, 0, 0.12);
  color: inherit;
}

.support-card:hover::before {
  transform: scaleX(1);
}

/* Per-policy accent colors */
.support-card[data-policy=licensing-policy] {
  --card-accent: #5B52E6;
}

.support-card[data-policy=support-policy] {
  --card-accent: var(--mpr-orange);
}

.support-card[data-policy=refund-policy] {
  --card-accent: #10B981;
}

.support-card__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 8%, transparent);
  transition: background 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.support-card:hover .support-card__icon-wrap {
  background: color-mix(in srgb, var(--card-accent) 14%, transparent);
  transform: scale(1.1) rotate(-3deg);
}

.support-card__body {
  flex: 1;
}

.support-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mpr-black);
  margin: 0 0 0.65rem;
  transition: color 0.3s ease;
}

.support-card:hover .support-card__title {
  color: var(--card-accent);
}

.support-card__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #6b7280;
  margin: 0;
}

.support-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--card-accent);
  transition: gap 0.3s ease;
  width: 100%;
}

.support-card:hover .support-card__cta {
  gap: 0.85rem;
}

.support-card__cta svg {
  transition: transform 0.3s ease;
}

.support-card:hover .support-card__cta svg {
  transform: translateX(3px);
}

/* ── Quick Stats ──────────────────────────────────────────────── */
.support-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin: 3.5rem 0;
  padding: 2.25rem 2.5rem;
  background: #f9fafb;
  border-radius: 1rem;
  border: 1px solid #f0f1f3;
}

.support-stats__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.support-stats__icon {
  color: var(--mpr-orange);
  flex-shrink: 0;
  opacity: 0.8;
}

.support-stats__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mpr-black);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.support-stats__label {
  display: block;
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
  margin-top: 0.1rem;
}

.support-stats__divider {
  width: 1px;
  height: 44px;
  background: #e5e7eb;
  flex-shrink: 0;
}

/* ── Contact CTA ──────────────────────────────────────────────── */
.support-cta {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 4.5rem 2rem;
  background: linear-gradient(135deg, var(--mpr-orange) 0%, #d94e2a 50%, #c44424 100%);
  position: relative;
  overflow: hidden;
}

.support-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.support-cta::after {
  content: "";
  position: absolute;
  bottom: -35%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.support-cta__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.support-cta__title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.support-cta__desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2.25rem;
}

.support-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.support-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.support-cta__btn--primary {
  background: #fff;
  color: var(--mpr-orange);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.support-cta__btn--primary:hover {
  background: var(--mpr-black);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.support-cta__btn--secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.support-cta__btn--secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Section Headers ──────────────────────────────────────────── */
.support-section {
  padding: 0 2.5rem;
}

/* X widget rendered via {widget} — match section padding */
.support-hub .mprx-section {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.support-section:first-of-type {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}

.support-section + .support-section {
  margin-top: 3.5rem;
}

.support-section__header {
  margin-bottom: 1.75rem;
}

.support-section__title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--mpr-black);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.support-section:first-of-type .support-section__header {
  display: none;
}

.support-section__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* ── Primary Policy Cards (2x2 grid) ─────────────────────────── */
.support-cards--primary {
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
}

/* ── Resource Cards (2×2 grid) ──────────────────────────────── */
.support-cards--resources {
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
}

/* Colored icon wraps for resources */
.support-card__icon-wrap--purple {
  --card-accent: #8B5CF6;
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.08);
}

.support-card__icon-wrap--amber {
  --card-accent: #F59E0B;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.08);
}

.support-card__icon-wrap--coral {
  --card-accent: var(--mpr-orange);
  color: var(--mpr-orange);
  background: rgba(252, 97, 57, 0.08);
}

.support-card__icon-wrap--teal {
  --card-accent: #14B8A6;
  color: #14B8A6;
  background: rgba(20, 184, 166, 0.08);
}

.support-card--resource {
  --card-accent: #8B5CF6;
}

.support-card--resource[data-policy=our-technology] {
  --card-accent: #8B5CF6;
}

.support-card--resource[data-policy=try-before-you-buy] {
  --card-accent: #F59E0B;
}

.support-card--resource[data-policy=about-us] {
  --card-accent: var(--mpr-orange);
}

.support-card--resource[data-policy=payment-methods] {
  --card-accent: #14B8A6;
}

/* ── Legal & Compliance List ─────────────────────────────────── */
.support-legal {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid #f0f1f3;
}

.support-legal__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.75rem;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.support-legal__item:last-child {
  border-bottom: none;
}

.support-legal__item:hover {
  background: #f9fafb;
  color: inherit;
}

.support-legal__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  transition: all 0.25s ease;
}

.support-legal__item:hover .support-legal__icon {
  background: rgba(252, 97, 57, 0.08);
  color: var(--mpr-orange);
}

/* Per-page accent on hover */
.support-legal__item[data-policy=privacy-policy]:hover .support-legal__icon {
  background: rgba(14, 165, 233, 0.08);
  color: #0EA5E9;
}

.support-legal__item[data-policy=security-policy]:hover .support-legal__icon {
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
}

.support-legal__item[data-policy=disclaimer]:hover .support-legal__icon {
  background: rgba(245, 158, 11, 0.08);
  color: #F59E0B;
}

.support-legal__item[data-policy=downloadable-demo-terms]:hover .support-legal__icon,
.support-legal__item[data-policy=on-demand-demo-terms]:hover .support-legal__icon {
  background: rgba(139, 92, 246, 0.08);
  color: #8B5CF6;
}

.support-legal__item[data-policy=free-modules-terms]:hover .support-legal__icon {
  background: rgba(236, 72, 153, 0.08);
  color: #EC4899;
}

.support-legal__body {
  flex: 1;
  min-width: 0;
}

.support-legal__title {
  font-size: 1rem;
  font-weight: 650;
  color: var(--mpr-black);
  margin: 0 0 0.25rem;
  transition: color 0.2s ease;
}

.support-legal__item:hover .support-legal__title {
  color: var(--mpr-orange);
}

.support-legal__desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #9ca3af;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-legal__arrow {
  flex-shrink: 0;
  color: #d1d5db;
  transition: all 0.25s ease;
}

.support-legal__item:hover .support-legal__arrow {
  color: var(--mpr-orange);
  transform: translateX(4px);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .support-hero {
    padding: 3.5rem 1.5rem 6rem;
  }
  .support-cards--primary {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .support-cards--resources {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .support-card {
    padding: 1.75rem 1.5rem;
  }
  .support-section:first-of-type {
    margin-top: -3rem;
  }
  .support-section + .support-section {
    margin-top: 2.5rem;
  }
  .support-legal__desc {
    white-space: normal;
  }
}
@media (max-width: 767.98px) {
  .support-hero {
    padding: 2.5rem 1.25rem 5rem;
  }
  .support-hero__title {
    font-size: 2rem;
  }
  .support-hero__desc {
    font-size: 0.95rem;
  }
  .support-section {
    padding: 0 1rem;
  }
  .support-hub .mprx-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .support-section__title {
    font-size: 1.35rem;
  }
  .support-stats {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
    margin: 2.5rem 1rem;
  }
  .support-stats__divider {
    width: 60%;
    height: 1px;
  }
  .support-cta {
    padding: 3rem 1.25rem;
  }
  .support-cta__title {
    font-size: 1.5rem;
  }
  .support-cta__desc {
    font-size: 0.9rem;
  }
  .support-cta__actions {
    flex-direction: column;
  }
  .support-cta__btn {
    width: 100%;
    justify-content: center;
  }
  .support-legal__item {
    padding: 1.1rem 1.25rem;
    gap: 1rem;
  }
  .support-legal__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .support-legal__icon svg {
    width: 20px;
    height: 20px;
  }
}
/* ==========================================================================
   11. CMS Article Pages — Enhanced individual CMS page styling
   ========================================================================== */
/* ── Layout ───────────────────────────────────────────────────── */
.cms-article {
  padding: 0 !important;
  overflow: visible;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.cms-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 4rem 2rem 5.5rem;
  background: linear-gradient(135deg, var(--mpr-navy) 0%, #1a1f3d 50%, #252a4a 100%);
  overflow: hidden;
}

.cms-hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cms-hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cms-hero__shape--1 {
  width: 420px;
  height: 420px;
  background: color-mix(in srgb, var(--cms-accent) 14%, transparent);
  top: -120px;
  right: -60px;
  animation: heroFloat1 12s ease-in-out infinite;
}

.cms-hero__shape--2 {
  width: 300px;
  height: 300px;
  background: rgba(91, 82, 230, 0.08);
  bottom: -80px;
  left: 8%;
  animation: heroFloat2 15s ease-in-out infinite;
}

.cms-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.cms-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Back link */
.cms-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: color 0.25s ease, gap 0.25s ease;
}

.cms-hero__back:hover {
  color: var(--mpr-orange);
  gap: 0.6rem;
}

/* Badge */
.cms-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: color-mix(in srgb, var(--cms-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--cms-accent) 25%, transparent);
  color: var(--cms-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cms-hero__title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.cms-hero__desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  max-width: 520px;
}

/* ── Article Body ─────────────────────────────────────────────── */
.cms-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  margin: -2rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ── Table of Contents (sticky sidebar) ───────────────────────── */
.cms-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-top: 2.5rem;
}

.cms-toc__header {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
}

.cms-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #f0f1f3;
}

.cms-toc__item {
  margin: 0;
}

.cms-toc__item--sub {
  padding-left: 0.5rem;
}

.cms-toc__link {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #9ca3af;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cms-toc__link:hover {
  color: var(--mpr-black);
}

.cms-toc__link.is-active {
  color: var(--cms-accent, var(--mpr-orange));
  border-left-color: var(--cms-accent, var(--mpr-orange));
  font-weight: 600;
}

/* ── Content Typography ───────────────────────────────────────── */
.cms-content {
  background: #fff;
  border-radius: 1rem;
  padding: 2.75rem 2.5rem 3rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03), 0 12px 32px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.75;
  color: #374151;
}

.cms-content > *:first-child {
  margin-top: 0;
}

.cms-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mpr-black);
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f1f3;
  letter-spacing: -0.01em;
}

.cms-content > h2:first-child,
.cms-content > *:first-child + h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.cms-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 1.75rem 0 0.5rem;
}

.cms-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  margin: 1.25rem 0 0.4rem;
}

.cms-content p {
  margin: 0 0 1rem;
}

.cms-content a {
  color: var(--cms-accent, var(--mpr-orange));
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--cms-accent, var(--mpr-orange)) 30%, transparent);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.cms-content a:hover {
  text-decoration-color: var(--cms-accent, var(--mpr-orange));
}

.cms-content ul,
.cms-content ol {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.5rem;
}

.cms-content ul {
  list-style: none;
  padding-left: 0;
}

.cms-content ul > li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
}

.cms-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cms-accent, var(--mpr-orange));
  opacity: 0.6;
  transform: rotate(45deg);
}

.cms-content ol > li {
  margin-bottom: 0.4rem;
}

.cms-content ol > li::marker {
  color: var(--cms-accent, var(--mpr-orange));
  font-weight: 700;
}

.cms-content strong {
  color: #1f2937;
  font-weight: 700;
}

.cms-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--cms-accent, var(--mpr-orange));
  background: #f9fafb;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #4b5563;
}

.cms-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.88rem;
}

.cms-content table th {
  background: #f9fafb;
  font-weight: 700;
  color: var(--mpr-black);
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid #e5e7eb;
}

.cms-content table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #f0f1f3;
  color: #4b5563;
}

.cms-content table tr:hover td {
  background: #fafbfc;
}

.cms-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* ── Bottom CTA ──────────────────────────────────────────────── */
.cms-bottom-cta {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 3rem;
  padding: 0;
}

.cms-bottom-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 2.25rem 2.5rem;
  background: #f9fafb;
  border-top: 1px solid #f0f1f3;
  border-bottom: 1px solid #f0f1f3;
}

.cms-bottom-cta__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mpr-black);
  margin: 0 0 0.25rem;
}

.cms-bottom-cta__desc {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.cms-bottom-cta__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cms-bottom-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cms-bottom-cta__btn--primary {
  background: var(--mpr-black);
  color: #fff;
}

.cms-bottom-cta__btn--primary:hover {
  background: var(--mpr-orange);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(252, 97, 57, 0.25);
}

.cms-bottom-cta__btn--secondary {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.cms-bottom-cta__btn--secondary:hover {
  border-color: var(--mpr-orange);
  color: var(--mpr-orange);
  transform: translateY(-1px);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .cms-body {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 1rem;
  }
  .cms-toc {
    position: relative;
    top: auto;
    max-height: none;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #f0f1f3;
    margin-top: 2rem;
  }
  .cms-toc__list {
    border-left: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .cms-toc__link {
    border-left: none;
    margin-left: 0;
    padding: 0.3rem 0.65rem;
    border-radius: 100px;
    font-size: 0.72rem;
    background: #fff;
    border: 1px solid #e5e7eb;
  }
  .cms-toc__link.is-active {
    border-color: var(--cms-accent, var(--mpr-orange));
    background: color-mix(in srgb, var(--cms-accent, var(--mpr-orange)) 6%, white);
  }
  .cms-toc__item--sub {
    padding-left: 0;
  }
  .cms-content {
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
  }
}
@media (max-width: 767.98px) {
  .cms-hero {
    padding: 2.5rem 1.25rem 4.5rem;
  }
  .cms-hero__title {
    font-size: 1.75rem;
  }
  .cms-hero__desc {
    font-size: 0.9rem;
  }
  .cms-content {
    padding: 1.5rem 1.25rem;
    font-size: 0.9rem;
  }
  .cms-content h2 {
    font-size: 1.15rem;
  }
  .cms-content h3 {
    font-size: 1rem;
  }
  .cms-bottom-cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
  }
  .cms-bottom-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  .cms-bottom-cta__btn {
    justify-content: center;
    width: 100%;
  }
}
/* ==========================================================================
   EU-Based Company Page — Flags & Visual Elements
   ========================================================================== */
/* ── Hero flags row ──────────────────────────────────────────── */
.eu-hero-flags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f1f3;
}

.eu-flag-large {
  width: 100px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pl-flag-large {
  width: 100px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ── Intro box ───────────────────────────────────────────────── */
.eu-intro-box {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border: 1px solid #c3d4f7;
  border-left: 4px solid #003399;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1f2937;
}

.eu-intro-box p {
  margin: 0;
}

/* ── Timezone map ────────────────────────────────────────────── */
.eu-timezone-map {
  margin: 1.5rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.eu-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Company card with flags ─────────────────────────────────── */
.eu-company-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.eu-company-card__flags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.eu-company-flag {
  width: 48px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.eu-company-card table {
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .eu-hero-flags {
    gap: 1rem;
  }
  .eu-flag-large,
  .pl-flag-large {
    width: 72px;
  }
  .eu-intro-box {
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
  }
}
/* ==========================================================================
   12. Footer — Balanced Grid & Blog Widget
   ========================================================================== */
/* ── Main footer columns: CSS Grid override ────────────────── */
.footer__main-top.row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  flex-wrap: nowrap;
}

/* Reset Bootstrap column classes inside grid */
.footer__main-top.row > * {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Store info + Blog span the second row, each 2 columns */
.footer__main-top .ps-contactinfo {
  grid-column: span 2;
}

.footer__main-top .mprblog-footer-widget {
  grid-column: span 2;
}

/* Hide any empty mprhtmlblocks output in footer */
.footer__main-top > div:empty {
  display: none;
}

/* Force column order: Modules, Company, Support, Resources
   DOM order from ps_linklist: Modules(1), Support(2), Resources(3), Company(4) */
.footer__main-top > .ps-linklist:nth-child(1) {
  order: 1;
} /* Modules → stays 1st */
.footer__main-top > .ps-linklist:nth-child(2) {
  order: 3;
} /* Support → visually 3rd */
.footer__main-top > .ps-linklist:nth-child(3) {
  order: 4;
} /* Resources → visually 4th */
.footer__main-top > .ps-linklist:nth-child(4) {
  order: 2;
} /* Company → visually 2nd */
.footer__main-top > .ps-contactinfo {
  order: 5;
}

.footer__main-top > .mprblog-footer-widget {
  order: 6;
}

/* ── Footer block refinements ──────────────────────────────── */
.footer__main .footer-block {
  margin-bottom: 0;
}

.footer__main .footer-block__title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__main .footer-block__list a {
  font-size: 0.8125rem;
  padding-block: 0.2rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer__main .footer-block__list a:hover {
  color: var(--mpr-orange);
}

.footer__main .footer-block__list a:visited {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Store info block in second row ────────────────────────── */
.footer__main .ps-contactinfo {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__main .ps-contactinfo .footer-block__title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.75rem;
}

.footer__main .ps-contactinfo .footer-block__content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: flex-start;
}

.footer__main .ps-contactinfo .ps-contactinfo__infos {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
  font-style: normal;
}

.footer__main .ps-contactinfo .ps-contactinfo__phone,
.footer__main .ps-contactinfo .ps-contactinfo__email {
  font-size: 0.8125rem;
}

.footer__main .ps-contactinfo .ps-contactinfo__phone a,
.footer__main .ps-contactinfo .ps-contactinfo__email a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer__main .ps-contactinfo .ps-contactinfo__phone a:hover,
.footer__main .ps-contactinfo .ps-contactinfo__email a:hover {
  color: var(--mpr-orange);
}

.footer__main .ps-contactinfo .ps-contactinfo__phone a:visited,
.footer__main .ps-contactinfo .ps-contactinfo__email a:visited {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Blog widget in second row ─────────────────────────────── */
.mprblog-footer-widget {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mprblog-footer-widget__title {
  font-size: 0.8125rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 0.75rem !important;
  font-weight: 600;
}

.mprblog-footer-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mprblog-footer-widget__list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.mprblog-footer-widget__list li a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.mprblog-footer-widget__list li a:hover {
  color: var(--mpr-orange);
}

.mprblog-footer-widget__list li a:visited {
  color: rgba(255, 255, 255, 0.55);
}

.mprblog-footer-widget__list li time {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Newsletter & Social bar ───────────────────────────────── */
.footer__before {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Trust Section: Badges + Payment Icons ────────────────── */
.footer__trust-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--mpr-orange);
  margin-top: 0.1rem;
}

.trust-badge__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.trust-badge__text strong {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.trust-badge__text small {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
}

.footer__payment-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  white-space: nowrap;
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.payment-icon {
  display: inline-flex;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.payment-icon:hover {
  opacity: 1;
}

.payment-icon svg {
  display: block;
}

/* ── Copyright ─────────────────────────────────────────────── */
.footer__main .copyright {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__main .copyright a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__main .copyright__legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__main .copyright__legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease;
}

.footer__main .copyright__legal a:hover {
  color: var(--mpr-orange);
}

.footer__main .copyright__legal a:visited {
  color: rgba(255, 255, 255, 0.3);
}

.footer__main .copyright__sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

/* ── Footer responsive ─────────────────────────────────────── */
@media (max-width: 991.98px) {
  .footer__main-top.row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
  }
  .footer__main-top .ps-contactinfo,
  .footer__main-top .mprblog-footer-widget {
    grid-column: span 1;
  }
  .footer__trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767.98px) {
  /* Add side padding to the footer container on mobile */
  .footer__main .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .footer__main-top.row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Better spacing for accordion link blocks on mobile */
  .footer__main-top > .ps-linklist {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer__main .footer-block__title {
    padding: 0.875rem 0;
    margin-bottom: 0;
    border-bottom: none;
  }
  .footer__main .footer-block__list {
    padding-bottom: 0.75rem;
  }
  /* Store info & blog on mobile */
  .footer__main-top .ps-contactinfo,
  .footer__main-top .mprblog-footer-widget {
    grid-column: span 1;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer__main .ps-contactinfo .footer-block__content {
    flex-direction: column;
    gap: 0.25rem;
  }
  .mprblog-footer-widget {
    margin-top: 0.75rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .mprblog-footer-widget__list li a {
    max-width: none;
  }
  /* Trust badges: 2-column grid on mobile */
  .footer__trust-section {
    padding-top: 1rem;
  }
  .footer__trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .trust-badge svg {
    width: 20px;
    height: 20px;
  }
  .trust-badge__text strong {
    font-size: 0.75rem;
  }
  .trust-badge__text small {
    font-size: 0.625rem;
  }
  /* Payment icons centered on mobile */
  .footer__payment-icons {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .payment-icons {
    justify-content: center;
  }
  /* Copyright: stack on mobile */
  .footer__main .copyright {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
/* Print styles */
@media print {
  .header-top,
  .ps-socialfollow,
  .back-to-top,
  .search-widget,
  .ps-shoppingcart,
  .ps-emailsubscription,
  .block-newsletter,
  .carousel,
  .ps-imageslider,
  .wishlist-button-add,
  button[type=submit] {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
  a[href^="#"]::after,
  a[href^="javascript:"]::after,
  a[href^="tel:"]::after {
    content: "";
  }
}
/* ============================================
   MPR Gallery — Masonry Grid + Lightbox
   ============================================ */
.mpr-gallery-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 20px;
  box-sizing: border-box;
  max-width: 1400px;
}

.mpr-gallery-header {
  text-align: center;
  margin-bottom: 8px;
}

.mpr-gallery-header h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
}

.mpr-gallery-header p {
  font-size: 15px;
  color: #777;
  margin: 0;
}

.mpr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}

@media (max-width: 991px) {
  .mpr-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .mpr-gallery-grid {
    grid-template-columns: 1fr;
  }
}
.mpr-gallery-grid .mpr-gi {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  line-height: 0;
}

.mpr-gallery-grid .mpr-gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mpr-gallery-grid .mpr-gi:hover img {
  transform: scale(1.08);
}

.mpr-gallery-grid .mpr-gi .mpr-gi-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.65));
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mpr-gallery-grid .mpr-gi:hover .mpr-gi-ov {
  opacity: 1;
}

.mpr-gallery-grid .mpr-gi .mpr-gi-ov span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.mpr-gallery-grid .mpr-gi .mpr-gi-ov .mpr-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpr-gallery-grid .mpr-gi .mpr-gi-ov .mpr-zoom-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.mpr-gallery-grid .mpr-gi.tall {
  grid-row: span 2;
}

.mpr-gallery-grid .mpr-gi.tall img {
  height: 100%;
}

.mpr-gallery-grid .mpr-gi.wide {
  grid-column: span 2;
}

@media (max-width: 480px) {
  .mpr-gallery-grid .mpr-gi.wide {
    grid-column: span 1;
  }
  .mpr-gallery-grid .mpr-gi.tall {
    grid-row: span 1;
  }
}
/* Lightbox overlay — appended to body via JS */
.mpr-lb {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483647;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.mpr-lb.active {
  display: flex;
}

.mpr-lb img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.mpr-lb-caption {
  color: #fff;
  font-size: 16px;
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mpr-lb-counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 4px;
}

.mpr-lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.mpr-lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mpr-lb-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.mpr-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.mpr-lb-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mpr-lb-nav svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mpr-lb-prev {
  left: 20px;
}

.mpr-lb-next {
  right: 20px;
}

/* CMS Gallery page (id 15) — override narrow grid layout */
.cms-id-15 .cms-article {
  overflow: visible;
}

.cms-id-15 .cms-body {
  display: block;
  max-width: 100%;
  padding: 0;
}

.cms-id-15 .cms-toc {
  display: none;
}

.cms-id-15 .columns-container.container {
  max-width: 100%;
  padding: 0;
}

.category-desc-wrap {
  position: relative;
  margin-bottom: 1rem;
}
.category-desc-wrap .category-desc-content {
  max-height: 120px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.category-desc-wrap .category-desc-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}
.category-desc-wrap .category-desc-content h3:first-child {
  margin-top: 0;
}
.category-desc-wrap .category-desc-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--bs-secondary-color, #6c757d);
}
.category-desc-wrap .category-desc-content ul {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--bs-secondary-color, #6c757d);
  padding-left: 1.25rem;
}
.category-desc-wrap .category-desc-content ul li {
  margin-bottom: 0.25rem;
}
.category-desc-wrap .category-desc-fade {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--bs-body-bg, #fff));
  pointer-events: none;
  transition: opacity 0.3s;
}
.category-desc-wrap.expanded .category-desc-content {
  max-height: none;
}
.category-desc-wrap.expanded .category-desc-fade {
  opacity: 0;
}
.category-desc-wrap.expanded .category-desc-toggle__more {
  display: none;
}
.category-desc-wrap.expanded .category-desc-toggle__less {
  display: inline;
}
.category-desc-wrap:not(.expanded) .category-desc-toggle__less {
  display: none;
}
.category-desc-wrap.no-toggle .category-desc-fade,
.category-desc-wrap.no-toggle .category-desc-toggle {
  display: none;
}
.category-desc-wrap.no-toggle .category-desc-content {
  max-height: none;
}

.category-desc-toggle {
  display: inline-block;
  background: none;
  border: none;
  color: var(--bs-primary);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 0;
  margin-top: 2px;
}
.category-desc-toggle:hover {
  text-decoration: underline;
}

.category__additional-description {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bs-border-color, #dee2e6);
}
.category__additional-description p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--bs-secondary-color, #6c757d);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */
/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--mpr-black);
}

::-webkit-scrollbar-thumb {
  background: var(--mpr-orange);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mpr-orange-hover);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #FC6139 #000000;
}
