/* KS LP Price Card 2 Styles */
.kslp-pc2-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.kslp-pc2-bg-image {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.kslp-pc2-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.kslp-pc2-container {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  width: 100%;
}

/* Grid Layout */
.kslp-pc2-grid {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

/* Card Container */
.kslp-pc2-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 24px;
  border-style: solid;
  border-color: #e8e5dc;
  overflow: visible;
  box-sizing: border-box;
  padding: 34px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kslp-pc2-card:hover {
  transform: translateY(-4px);
}

/* Card Shadows */
.kslp-pc2-card.shadow-none { box-shadow: none; }
.kslp-pc2-card.shadow-sm { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.kslp-pc2-card.shadow-md { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); }
.kslp-pc2-card.shadow-lg { box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12); }

/* Top Left Tab Badge (Folded Ribbon) */
.kslp-pc2-top-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background-color: #d92d20;
  color: #ffffff;
  padding: 6px 22px 8px 22px;
  border-radius: 0 0 20px 20px;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 5;
  white-space: nowrap;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Left & Right Fold Ears */
.kslp-pc2-top-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 11px;
  background: inherit;
  border-top-left-radius: 6px;
  box-shadow: inset 1px -4px 4px rgba(0, 0, 0, 0.45);
}

.kslp-pc2-top-badge::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 11px;
  background: inherit;
  border-top-right-radius: 6px;
  box-shadow: inset -1px -4px 4px rgba(0, 0, 0, 0.45);
}

/* Top Right Corner Ribbon */
.kslp-pc2-corner-ribbon-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 75px;
  height: 75px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.kslp-pc2-corner-ribbon {
  position: absolute;
  top: 14px;
  right: -24px;
  width: 90px;
  height: 18px;
  background-color: #0e6241;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Card Body (2 Columns) */
.kslp-pc2-card-body {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 18px;
  flex: 1;
}

/* Left Column */
.kslp-pc2-left-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

/* Start From Badge */
.kslp-pc2-start-from-wrap {
  margin-bottom: 2px;
}

.kslp-pc2-start-from {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.3;
}

/* Price Wrap */
.kslp-pc2-price-wrap {
  display: flex;
  align-items: baseline;
  line-height: 1;
  margin: 4px 0 6px 0;
  flex-wrap: wrap;
}

.kslp-pc2-price-num {
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}

.kslp-pc2-price-suffix {
  font-weight: 900;
  line-height: 1;
  margin-left: 2px;
}

/* Seat Info */
.kslp-pc2-seat-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #222222;
  margin-bottom: 12px;
}

.kslp-pc2-seat-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
}

/* Hotel Details */
.kslp-pc2-hotel-block {
  margin-bottom: 2px;
}

.kslp-pc2-hotel-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #4b5563;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.kslp-pc2-hotel-name {
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 2px;
}

.kslp-pc2-hotel-sub {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.kslp-pc2-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 12px;
}

/* Divider */
.kslp-pc2-hotel-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 8px 0;
  width: 100%;
  border: none;
}

/* Right Column (Hotel Image) */
.kslp-pc2-right-col {
  width: 44%;
  max-width: 200px;
  min-width: 125px;
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
}

.kslp-pc2-hotel-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  background-color: #f3f4f6;
}

.kslp-pc2-hotel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kslp-pc2-hotel-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 12px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.kslp-pc2-hotel-img-placeholder i {
  font-size: 28px;
  margin-bottom: 4px;
}

/* Card CTA Button */
.kslp-pc2-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.kslp-pc2-btn:hover,
.kslp-pc2-btn:focus,
.kslp-pc2-btn:active,
.kslp-pc2-btn:visited {
  text-decoration: none !important;
}

.kslp-pc2-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* CTA Hover Effects */
.kslp-pc2-btn.hover-glow-gold:hover {
  box-shadow: 0 0 20px rgba(212, 160, 60, 0.6), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.kslp-pc2-btn.hover-scale-lift:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.kslp-pc2-btn.hover-pulse:hover {
  animation: kslpPc2Pulse 1s infinite alternate;
}

@keyframes kslpPc2Pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); }
}

.kslp-pc2-btn.hover-shimmer {
  position: relative;
  overflow: hidden;
}

.kslp-pc2-btn.hover-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: none;
}

.kslp-pc2-btn.hover-shimmer:hover::after {
  left: 120%;
  transition: left 0.75s ease-in-out;
}

/* Footer Airline Badge */
.kslp-pc2-footer-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.kslp-pc2-footer-badge {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-radius: 999px;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.kslp-pc2-footer-left {
  background-color: #ffffff;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.kslp-pc2-footer-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.kslp-pc2-footer-logo-item:not(:last-child)::after {
  content: '';
  display: block;
  width: 1px;
  height: 20px;
  background-color: #e5e7eb;
  margin-left: 10px;
}

.kslp-pc2-footer-logo-img {
  max-height: 24px;
  max-width: 68px;
  height: auto;
  object-fit: contain;
  display: block;
}

.kslp-pc2-footer-logo-svg {
  height: 22px;
  width: auto;
  max-width: 65px;
  display: block;
}

.kslp-pc2-footer-logo-text {
  font-size: 11px;
  font-weight: 800;
  color: #085034;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.kslp-pc2-footer-right {
  background-color: #084d31;
  color: #ffffff;
  padding: 7px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  border-radius: 999px;
  margin: 3px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.kslp-pc2-footer-line1 {
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kslp-pc2-footer-line2 {
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .kslp-pc2-card {
    padding: 30px 16px 16px 16px;
  }
  .kslp-pc2-top-badge {
    left: 16px;
    top: -10px;
    padding: 5px 18px 7px 18px;
    border-radius: 0 0 16px 16px;
  }
  .kslp-pc2-top-badge::before {
    left: -7px;
    width: 7px;
    height: 10px;
    border-top-left-radius: 5px;
  }
  .kslp-pc2-top-badge::after {
    right: -7px;
    width: 7px;
    height: 10px;
    border-top-right-radius: 5px;
  }
  .kslp-pc2-footer-badge {
    width: 100%;
    max-width: 100%;
  }
  .kslp-pc2-footer-left {
    padding: 5px 8px;
    gap: 6px;
  }
  .kslp-pc2-footer-logo-item:not(:last-child)::after {
    height: 16px;
    margin-left: 6px;
  }
  .kslp-pc2-footer-logo-img {
    max-height: 20px;
    max-width: 48px;
  }
  .kslp-pc2-footer-logo-svg {
    height: 19px;
    max-width: 48px;
  }
  .kslp-pc2-footer-logo-text {
    font-size: 9.5px;
  }
  .kslp-pc2-footer-right {
    padding: 5px 10px;
    margin: 2px;
  }
  .kslp-pc2-footer-line1 {
    font-size: 11px;
  }
  .kslp-pc2-footer-line2 {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .kslp-pc2-footer-left {
    padding: 4px 6px;
    gap: 4px;
  }
  .kslp-pc2-footer-logo-item:not(:last-child)::after {
    height: 14px;
    margin-left: 4px;
  }
  .kslp-pc2-footer-logo-img {
    max-height: 17px;
    max-width: 40px;
  }
  .kslp-pc2-footer-logo-svg {
    height: 17px;
    max-width: 42px;
  }
  .kslp-pc2-footer-logo-text {
    font-size: 8.5px;
  }
  .kslp-pc2-footer-right {
    padding: 4px 7px;
  }
  .kslp-pc2-footer-line1 {
    font-size: 9.5px;
  }
  .kslp-pc2-footer-line2 {
    font-size: 8px;
  }
}

/* Animations */
.kslp-anim-fade-up {
  animation: kslpFadeUp 0.8s ease forwards;
}

.kslp-anim-zoom-in {
  animation: kslpZoomIn 0.8s ease forwards;
}

@keyframes kslpFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kslpZoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
