/* ============================================================
   Passport Services Slider — pss-style.css  v4.0.0

   Red Bull technique:
   Each card gets inline CSS custom properties:
     --index              (position in visible strip)
     --desktop-rotation   (rotation value, computed per card)
     --mobile-rotation
     --mobile-scale
     --mobile-start-index
     --scheme-can-shadow-rgb  (shadow colour per card)

   CSS reads those vars:
     transform: rotate(calc(var(--desktop-rotation) * -6deg))
     transform-origin: 50% var(--desktop-rotation-origin)
   ============================================================ */

/* ---- Wrapper ---- */
.pss-showcase {
  display: flex;
  width: 100%;
  min-height: 500px;
  max-height: 640px;
  overflow: hidden;
  position: relative;
  font-family: system-ui, -apple-system, sans-serif;

}

/* ============================================================
   LEFT PANEL
   ============================================================ */
.pss-left {
  position: relative;
  width: 50%;
  flex-shrink: 0;
  background-color: var(--pss-bg, #1a6b4a);
  transition: background-color 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 56px 80px;
  overflow: hidden;
  z-index: 2;
	color: var(--pss-color, #333333);
}

/* Diagonal wedge */
.pss-left::after {
  content: '';
  position: absolute;
  top: 0; right: -48px; bottom: 0;
  width: 96px;
  background: var(--pss-bg, #1a6b4a);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  z-index: 1;
  transition: background-color 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}

.pss-content-inner { position: relative; z-index: 2; }

.pss-badge {
  display: inline-block;
  background: rgba(0,0,0,0.18);
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.pss-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
  opacity: 0.72;
  color: inherit;
}

.pss-title {
  font-size: clamp(26px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 16px;
  color: inherit;
}

.pss-desc {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 32px;
  color: inherit;
  opacity: 0.88;
  max-width: 340px;
}
.pss-desc p           { margin: 0 0 8px; }
.pss-desc p:last-child { margin-bottom: 0; }
.pss-desc ul, .pss-desc ol { margin: 0 0 8px; padding-left: 20px; }
.pss-desc a            { color: inherit; text-decoration: underline; }
.pss-desc strong       { font-weight: 700; }

.pss-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pss-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.pss-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  opacity: 0.92;
}
.pss-btn--outline {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
}
.pss-btn--solid {
  background: rgba(0,0,0,0.75);
  color: #fff;
  border: 2px solid transparent;
}

/* Nav arrows */
.pss-nav {
  position: absolute;
  bottom: 28px;
  left: 52px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.pss-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: inherit;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
  padding: 0;
}
.pss-nav-btn:hover   { background: rgba(255,255,255,0.45); transform: scale(1.1); }
.pss-nav-btn:disabled { opacity: 0.3; cursor: default; transform: none; }

/* Left-panel content transition */
.pss-left.is-out .pss-badge,
.pss-left.is-out .pss-subtitle,
.pss-left.is-out .pss-title,
.pss-left.is-out .pss-desc,
.pss-left.is-out .pss-buttons { animation: pss-out 0.22s ease both; }

.pss-left.is-in .pss-badge    { animation: pss-in 0.42s 0.00s cubic-bezier(0.34,1.3,0.64,1) both; }
.pss-left.is-in .pss-subtitle { animation: pss-in 0.42s 0.06s cubic-bezier(0.34,1.3,0.64,1) both; }
.pss-left.is-in .pss-title    { animation: pss-in 0.42s 0.13s cubic-bezier(0.34,1.3,0.64,1) both; }
.pss-left.is-in .pss-desc     { animation: pss-in 0.42s 0.20s cubic-bezier(0.34,1.3,0.64,1) both; }
.pss-left.is-in .pss-buttons  { animation: pss-in 0.42s 0.27s cubic-bezier(0.34,1.3,0.64,1) both; }

@keyframes pss-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}
@keyframes pss-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RIGHT PANEL
   ============================================================ */
.pss-right {
  flex: 1;
  position: relative;
  background: #ebebeb;
  overflow: visible;
  cursor: grab;
  padding: 0 32px;   /* left/right breathing room for slides */
  box-sizing: border-box;
}
.pss-right:active { cursor: grabbing; }

/* Track — static container, NO transform ever.
   Slides are absolute inside it. */
.pss-track {
	left: -16%;
    z-index: 999;
  position: relative;
  width: 100%;
  height: 100%;
  transform: none !important; /* safety: never let JS or anything translate this */
}

/* Slides — ALL always visible, absolutely positioned.
   JS drives: left / transform / opacity / z-index / transition */
.pss-slide {
  position: absolute;
  bottom: 0;
  width: 260px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* JS sets cursor, transform-origin stays bottom-center */
  transform-origin: center center;
  will-change: left, transform, opacity;
}

/* Active slot (slot 0) */
.pss-slide[data-desktop-selected="true"] {
  cursor: default;
}

/* Non-active slots */
.pss-slide[data-desktop-selected="false"] {
  cursor: pointer;
}

/* Product image — shadow driven by JS via --scheme-can-shadow-rgb */
.pss-product-img {
  max-height: 90%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  /* shadow set inline by JS per slide */
}

/* No-image fallback */
.pss-no-image {
  width: 150px; height: 260px;
  background: var(--pss-slide-color, #ccc);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; text-align: center; padding: 16px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* Dots */
.pss-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.pss-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: none; cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}
.pss-dot.is-active {
  background: rgba(0,0,0,0.65);
  width: 22px; border-radius: 100px;
}

.pss-empty { padding: 20px; color: #888; font-style: italic; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pss-showcase { flex-direction: column; max-height: none; }
  .pss-left { width: 100%; padding: 40px 32px 64px; min-height: 240px; }
  .pss-left::after { display: none; }
  .pss-right { height: 360px; }
  .pss-slide { width: 180px; }
}
@media (max-width: 560px) {
  .pss-left { padding: 32px 24px 60px;z-index: auto; }
  .pss-right { height: 300px; }
  .pss-slide { width: 80%; }
}

/* ==========================================================
   MOBILE FULL-WIDTH IMAGE SLIDER
   Hidden on desktop, shown on mobile only
   ========================================================== */
.pss-mobile-slider {
  display: none;  /* hidden on desktop */
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  touch-action: pan-y;
}

.pss-mobile-track {
  display: flex;
  transition: transform 400ms ease-in-out;
  will-change: transform;
}

.pss-mobile-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}

.pss-mobile-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.pss-mobile-prev,
.pss-mobile-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pss-mobile-prev { left: 10px; }
.pss-mobile-next { right: 10px; }

.pss-mobile-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.pss-mobile-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.25s;
}
.pss-mobile-dot.is-active {
  background: #fff;
}

/* Show mobile slider only on mobile, hide main showcase */
@media (max-width: 767px) {
	.pss-nav {
    bottom: auto;
    left: 0;
    top: 20%;
    width: 90%;
    right: 0;
    margin: 0 auto;
	justify-content: space-between;
	z-index: 1000;
}
}
