/* =========================================================
   PREMIUM CAR DETAILS - FINAL SHARP TEXT + SMOOTH VERSION
========================================================= */

.premium-car-details,
.premium-car-details * {
  box-sizing: border-box;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.premium-car-details {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;

  gap: 30px;

  width: 100%;
  max-width: 1280px;

  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 8rem !important;

  padding-left: 20px;
  padding-right: 20px;
}

.premium-car-details > .premium-car-info,
.premium-car-details > .premium-rental-panel {
  width: auto !important;
  max-width: 600px !important;

  flex: 1 1 0 !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;

  min-width: 0;
}

/* =========================================================
   LEFT CARD
========================================================= */

.premium-car-details .car-info-inner {
  position: relative;

  width: 100%;
  height: 100%;

  padding: 32px 34px 28px;

  background: #ffffff;

  border: 1px solid #e8eaed;
  border-radius: 18px;

  box-shadow:
    0 16px 42px rgba(20, 25, 35, 0.07),
    0 3px 10px rgba(20, 25, 35, 0.025);

  overflow: hidden;
}

.premium-car-details .car-info-inner::before {
  content: "";

  position: absolute;

  top: 0;
  left: 34px;

  width: 72px;
  height: 3px;

  background: #555b64;

  border-radius: 0 0 10px 10px;
}

/* =========================================================
   TITLE
========================================================= */

.premium-car-details .car-title-wrap {
  margin-bottom: 14px;
}

.premium-car-details .car-subtitle {
  display: block;

  margin-bottom: 8px;

  font-size: 10px;
  line-height: 1;

  font-weight: 700;

  letter-spacing: 1.8px;
  text-transform: uppercase;

  color: #969ba3;
}

.premium-car-details .stroke2 {
  margin: 0 !important;

  font-size: 31px;
  line-height: 1.15;

  font-weight: 800;

  letter-spacing: -0.7px;

  color: #222630;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.premium-car-details .car-description {
  margin: 0;

  max-width: 100%;

  font-size: 14px;
  line-height: 1.7;

  font-weight: 400;

  color: #6c727c;
}

/* =========================================================
   DIVIDER
========================================================= */

.premium-car-details .premium-divider {
  width: 100%;
  height: 1px;

  margin: 22px 0 19px;

  background: #eceef1;
}

/* =========================================================
   SPECIFICATIONS
========================================================= */

.premium-car-details .spec-title {
  margin: 0 0 8px !important;

  font-size: 16px;
  line-height: 1.4;

  font-weight: 700;

  color: #272b34;
}

.premium-car-details .premium-spec {
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
}

.premium-car-details .premium-spec .d-row {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 25px;

  min-height: 46px;

  padding: 10px 0 !important;

  border-bottom: 1px solid #eceff2;
}

.premium-car-details .premium-spec .d-row:last-child {
  border-bottom: 0;
}

.premium-car-details .premium-spec .d-title {
  flex: 0 0 auto;

  font-size: 12.5px;
  line-height: 1.4;

  font-weight: 500;

  color: #8c929b;
}

.premium-car-details .premium-spec .d-value {
  flex: 1;

  font-size: 13px;
  line-height: 1.4;

  font-weight: 700;

  text-align: right;

  color: #444a53;
}

/* =========================================================
   RIGHT PANEL
========================================================= */

.premium-car-details .premium-rental-panel {
  display: flex !important;

  flex-direction: column;

  gap: 16px;
}

/* =========================================================
   PRICE CARD
========================================================= */

.premium-car-details .premium-price-card {
  width: 100%;

  padding: 30px;

  background: #ffffff;

  border: 1px solid #e8eaed;
  border-radius: 18px;

  box-shadow:
    0 16px 42px rgba(20, 25, 35, 0.07),
    0 3px 10px rgba(20, 25, 35, 0.025);
}

.premium-car-details .pricing-heading {
  margin-bottom: 20px;
}

.premium-car-details .pricing-label {
  display: block;

  margin-bottom: 8px;

  font-size: 10px;
  line-height: 1;

  font-weight: 700;

  letter-spacing: 1.8px;
  text-transform: uppercase;

  color: #969ba3;
}

.premium-car-details .pricing-heading h4 {
  margin: 0 !important;

  font-size: 18px;
  line-height: 1.4;

  font-weight: 700;

  color: #262a33;
}

/* =========================================================
   PRICE GRID
========================================================= */

.premium-car-details .rental-price-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.premium-car-details .rental-price-box {
  display: flex;

  flex-direction: column;
  justify-content: center;

  min-width: 0;
  min-height: 135px;

  padding: 20px 18px;

  background: #ffffff;

  border: 1px solid #e6e8eb;
  border-radius: 14px;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.premium-car-details .rental-price-box:hover {
  transform: translateY(-2px);

  border-color: #d9dde2;

  box-shadow: 0 12px 26px rgba(25, 30, 40, 0.065);
}

.premium-car-details .featured-rate {
  background: #fafbfc;
}

/* =========================================================
   RATE
========================================================= */

.premium-car-details .rate-label {
  display: block;

  margin-bottom: 12px;

  font-size: 12px;
  line-height: 1.2;

  font-weight: 600;

  color: #858b94;
}

.premium-car-details .rate-line {
  display: flex;

  align-items: flex-end;

  gap: 7px;

  margin-bottom: 8px;
}

.premium-car-details .rate-line .rate {
  margin: 0 !important;

  font-size: 38px;
  line-height: 0.95;

  font-weight: 800;

  letter-spacing: -1.5px;

  color: #303641;
}

.premium-car-details .rate-meta {
  display: flex;

  flex-direction: column;

  padding-bottom: 2px;
}

.premium-car-details .currency {
  font-size: 10.5px;
  line-height: 1;

  font-weight: 800;

  color: #4c525b;
}

.premium-car-details .period {
  margin-top: 4px;

  font-size: 9px;
  line-height: 1;

  font-weight: 500;

  color: #a0a5ad;
}

.premium-car-details .starting-text {
  display: block;

  margin-top: 2px;

  font-size: 10px;
  line-height: 1.3;

  font-weight: 500;

  color: #a0a5ad;
}

/* =========================================================
   BOOKING ASSISTANCE
========================================================= */

.premium-car-details .premium-direction {
  display: flex !important;

  align-items: flex-start;

  gap: 14px;

  width: 100%;

  margin: 0 !important;

  padding: 17px 18px;

  background: #ffffff;

  border: 1px solid #e8eaed;
  border-radius: 15px;

  box-shadow: 0 10px 28px rgba(20, 25, 35, 0.045);
}

.premium-car-details .direction-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  border-radius: 11px;

  background: #f3f4f6;

  color: #575e68;

  font-size: 18px;
}

.premium-car-details .direction-content {
  flex: 1;

  min-width: 0;
}

.premium-car-details .direction-label {
  display: block;

  margin-bottom: 5px;

  font-size: 9.5px;
  line-height: 1;

  font-weight: 800;

  letter-spacing: 1.3px;
  text-transform: uppercase;

  color: #999fa7;
}

.premium-car-details .premium-direction h4 {
  margin: 0 !important;

  font-size: 12px !important;
  line-height: 1.65 !important;

  font-weight: 400 !important;

  color: #6b717b !important;
}

.premium-car-details .premium-direction h4 span {
  font-weight: 700 !important;

  color: #ff6700;
}

/* =========================================================
   PREMIUM RENT NOW BUTTON
   SHARP TEXT + SMOOTH 2.5D
========================================================= */

.premium-car-details .premium-rent-btn {
  --prb-orange: #ff6700;
  --prb-orange-deep: #d95600;
  --prb-ease: cubic-bezier(0.22, 1, 0.36, 1);

  display: inline-block;

  line-height: 1;
  vertical-align: middle;

  perspective: 900px;
  perspective-origin: 50% 40%;
}

/* =========================================================
   BUTTON SURFACE
========================================================= */

.premium-car-details .premium-rent-btn a {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 22px;

  min-height: 60px;

  padding: 7px 7px 7px 30px;

  box-sizing: border-box;

  background-color: #1c1d1f;

  background-image: linear-gradient(
    180deg,
    #2e2f32 0%,
    #222325 40%,
    #18191a 52%,
    #1b1c1e 70%,
    #1f2022 100%
  );

  background-size: 100% 170%;
  background-position: 50% 0%;

  border: 1px solid rgba(255, 255, 255, 0.075);
  border-bottom-color: rgba(0, 0, 0, 0.55);

  border-radius: 4px;

  color: #e8e4de;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 0.16em;

  text-transform: uppercase;
  text-decoration: none !important;

  overflow: hidden;
  isolation: isolate;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transform: rotateX(0deg) rotateY(0deg) translateY(0);

  transform-origin: 50% 50%;

  transform-style: preserve-3d;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  will-change: transform, box-shadow, background-position;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 1px 1px rgba(0, 0, 0, 0.5),
    0 4px 8px -4px rgba(0, 0, 0, 0.6),
    0 12px 22px -16px rgba(0, 0, 0, 0.8);

  transition:
    transform 0.55s var(--prb-ease),
    box-shadow 0.55s var(--prb-ease),
    border-color 0.48s var(--prb-ease),
    background-position 0.7s var(--prb-ease),
    gap 0.5s var(--prb-ease),
    color 0.35s ease;
}

/* =========================================================
   CINEMATIC LIGHT SWEEP
========================================================= */

.premium-car-details .premium-rent-btn a::before {
  content: "";

  position: absolute;

  top: -30%;
  bottom: -30%;
  left: 0;

  width: 50%;

  z-index: 2;

  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 120, 30, 0.06) 28%,
    rgba(255, 238, 222, 0.22) 48%,
    rgba(255, 255, 255, 0.08) 54%,
    rgba(255, 120, 30, 0.06) 72%,
    transparent 100%
  );

  transform: translateX(-150%) skewX(-24deg);

  opacity: 0;

  mix-blend-mode: screen;

  pointer-events: none;
}

/* =========================================================
   IDLE ACCENT LINE
========================================================= */

.premium-car-details .premium-rent-btn a::after {
  content: "";

  position: absolute;

  left: 30px;
  bottom: 12px;

  width: 22px;
  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(255, 103, 0, 0.45),
    rgba(255, 103, 0, 0)
  );

  opacity: 1;

  transition: opacity 0.3s ease;

  pointer-events: none;
}

/* =========================================================
   RENT NOW LABEL
   IMPORTANT: FLAT 2D TEXT TO AVOID BLUR
========================================================= */

.premium-car-details .premium-rent-btn .rent-label {
  position: relative;

  display: inline-block;

  white-space: nowrap;

  padding: 4px 0;

  transform: translateX(0);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  text-rendering: geometricPrecision;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  text-shadow: 0 1px 0 rgba(0, 0, 0, 0);

  transition:
    transform 0.42s var(--prb-ease),
    letter-spacing 0.42s var(--prb-ease),
    color 0.3s ease,
    text-shadow 0.35s ease;
}

/* =========================================================
   ANIMATED UNDERLINE
========================================================= */

.premium-car-details .premium-rent-btn .rent-label::after {
  content: "";

  position: absolute;

  left: -4px;
  right: -4px;

  bottom: -4px;

  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(255, 103, 0, 0) 0%,
    var(--prb-orange) 22%,
    #ffb47e 55%,
    var(--prb-orange) 78%,
    rgba(255, 103, 0, 0) 100%
  );

  transform: scaleX(0);

  transform-origin: left center;

  opacity: 0;

  transition:
    transform 0.42s var(--prb-ease),
    opacity 0.26s ease;

  pointer-events: none;
}

/* =========================================================
   ORANGE ICON BLOCK
========================================================= */

.premium-car-details .premium-rent-btn .rent-icon {
  position: relative;

  z-index: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 46px;

  width: 46px;
  height: 46px;

  border-radius: 3px;

  background-color: var(--prb-orange);

  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 46%,
    rgba(0, 0, 0, 0.12) 100%
  );

  color: #121212;

  font-size: 14px;

  transform: translateX(0) translateY(0) scale(1);

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.35);

  transition:
    transform 0.5s var(--prb-ease),
    box-shadow 0.5s var(--prb-ease),
    background-color 0.2s ease;
}

.premium-car-details .premium-rent-btn .rent-icon i {
  display: inline-block;

  transform: translateX(0) rotate(0deg);

  transition: transform 0.45s var(--prb-ease);
}

/* =========================================================
   LIGHT SWEEP KEYFRAME
========================================================= */

@keyframes prb-sweep {
  0% {
    transform: translateX(-150%) skewX(-24deg);

    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  84% {
    opacity: 1;
  }

  100% {
    transform: translateX(280%) skewX(-24deg);

    opacity: 0;
  }
}

/* =========================================================
   ICON SQUEEZE
========================================================= */

@keyframes prb-squeeze {
  0% {
    transform: translateX(0) translateY(0) scale(1);
  }

  38% {
    transform: translateX(2px) translateY(-2px) scale(0.93, 0.96);
  }

  100% {
    transform: translateX(2px) translateY(-2px) scale(1);
  }
}

/* =========================================================
   DESKTOP HOVER
========================================================= */

@media (hover: hover) {
  .premium-car-details .premium-rent-btn a:hover {
    transform: rotateX(1.8deg) rotateY(-1.4deg) translateY(-3px);

    gap: 19px;

    background-position: 50% 38%;

    border-color: rgba(255, 103, 0, 0.26);

    border-bottom-color: rgba(255, 103, 0, 0.16);

    color: #ffffff;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.11),
      inset 0 -1px 0 rgba(0, 0, 0, 0.35),
      0 2px 2px rgba(0, 0, 0, 0.45),
      0 10px 16px -8px rgba(0, 0, 0, 0.7),
      0 26px 40px -22px rgba(0, 0, 0, 0.95),
      0 16px 30px -20px rgba(255, 103, 0, 0.34);
  }

  /* cinematic sweep */

  .premium-car-details .premium-rent-btn a:hover::before {
    animation: prb-sweep 0.65s cubic-bezier(0.45, 0, 0.2, 1) 0.035s both;
  }

  .premium-car-details .premium-rent-btn a:hover::after {
    opacity: 0;
  }

  /* SHARP TEXT HOVER */

  .premium-car-details .premium-rent-btn a:hover .rent-label {
    transform: translateX(4px);

    letter-spacing: 0.19em;

    color: #ffffff;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);

    transition-delay: 0.04s, 0.04s, 0.04s, 0.04s;
  }

  /* underline */

  .premium-car-details .premium-rent-btn a:hover .rent-label::after {
    transform: scaleX(1);

    opacity: 1;

    transition:
      transform 0.42s var(--prb-ease) 0.09s,
      opacity 0.2s ease 0.09s;
  }

  /* icon movement */

  .premium-car-details .premium-rent-btn a:hover .rent-icon {
    animation: prb-squeeze 0.42s var(--prb-ease) 0.07s both;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18),
      0 3px 4px -1px rgba(0, 0, 0, 0.45),
      0 8px 14px -6px rgba(0, 0, 0, 0.55),
      0 0 16px -3px rgba(255, 103, 0, 0.5);
  }

  .premium-car-details .premium-rent-btn a:hover .rent-icon i {
    transform: translateX(5px) rotate(-2.5deg);

    transition-delay: 0.08s;
  }
}

/* =========================================================
   KEYBOARD FOCUS
========================================================= */

.premium-car-details .premium-rent-btn a:focus-visible {
  outline: 2px solid var(--prb-orange);

  outline-offset: 4px;
}

/* =========================================================
   ACTIVE / CLICK
========================================================= */

.premium-car-details .premium-rent-btn a:active {
  transform: rotateX(0.8deg) rotateY(-0.5deg) translateY(-1px) scale(0.987);

  transition:
    transform 0.1s ease-out,
    box-shadow 0.1s ease-out;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 1px 1px rgba(0, 0, 0, 0.5),
    0 6px 12px -8px rgba(0, 0, 0, 0.85),
    0 4px 14px -10px rgba(255, 103, 0, 0.3);
}

.premium-car-details .premium-rent-btn a:active .rent-icon {
  transform: translateX(1px) translateY(-1px) scale(0.97);

  background-color: var(--prb-orange-deep);

  transition:
    transform 0.1s ease-out,
    background-color 0.08s ease;
}

.premium-car-details .premium-rent-btn a:active .rent-icon i {
  transform: translateX(8px) rotate(-2deg);

  transition: transform 0.1s ease-out;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .premium-car-details {
    flex-wrap: wrap !important;

    max-width: 760px;

    gap: 22px;

    padding-left: 18px;
    padding-right: 18px;
  }

  .premium-car-details > .premium-car-info,
  .premium-car-details > .premium-rental-panel {
    flex: 0 0 100% !important;

    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .premium-car-details {
    gap: 18px;

    padding-left: 12px;
    padding-right: 12px;

    margin-bottom: 5rem !important;
  }

  .premium-car-details .car-info-inner {
    padding: 26px 22px 22px;

    border-radius: 16px;
  }

  .premium-car-details .car-info-inner::before {
    left: 22px;

    width: 58px;
  }

  .premium-car-details .stroke2 {
    font-size: 27px;
  }

  .premium-car-details .car-description {
    font-size: 13.5px;
    line-height: 1.7;
  }

  .premium-car-details .premium-spec .d-row {
    min-height: 43px;

    padding: 9px 0 !important;
  }

  .premium-car-details .premium-price-card {
    padding: 23px 20px;

    border-radius: 16px;
  }

  .premium-car-details .rental-price-grid {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .premium-car-details .rental-price-box {
    min-height: 120px;

    padding: 18px;
  }

  .premium-car-details .rate-line .rate {
    font-size: 35px;
  }

  .premium-car-details .premium-direction {
    padding: 16px;

    border-radius: 14px;
  }

  .premium-car-details .direction-icon {
    flex-basis: 38px;

    width: 38px;
    height: 38px;
  }

  .premium-car-details .premium-direction h4 {
    font-size: 11.5px !important;
  }

  .premium-car-details .premium-rent-btn a {
    min-height: 54px;

    gap: 18px;

    padding: 7px 7px 7px 24px;

    font-size: 12px;
  }

  .premium-car-details .premium-rent-btn a::after {
    left: 24px;

    bottom: 10px;
  }

  .premium-car-details .premium-rent-btn .rent-icon {
    flex-basis: 40px;

    width: 40px;
    height: 40px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .premium-car-details {
    padding-left: 8px;
    padding-right: 8px;
  }

  .premium-car-details .car-info-inner {
    padding: 24px 18px 20px;
  }

  .premium-car-details .premium-price-card {
    padding: 21px 17px;
  }

  .premium-car-details .premium-spec .d-title {
    font-size: 12px;
  }

  .premium-car-details .premium-spec .d-value {
    font-size: 12.5px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .premium-car-details .premium-rent-btn a,
  .premium-car-details .premium-rent-btn a *,
  .premium-car-details .premium-rent-btn a::before,
  .premium-car-details .premium-rent-btn a::after,
  .premium-car-details .premium-rent-btn a *::before,
  .premium-car-details .premium-rent-btn a *::after {
    animation: none !important;

    transition:
      color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      background-color 0.2s ease !important;
  }

  .premium-car-details .premium-rent-btn a:hover,
  .premium-car-details .premium-rent-btn a:active {
    transform: none !important;

    gap: 22px;

    background-position: 50% 0%;
  }

  .premium-car-details .premium-rent-btn a:hover .rent-label,
  .premium-car-details .premium-rent-btn a:hover .rent-icon,
  .premium-car-details .premium-rent-btn a:hover .rent-icon i,
  .premium-car-details .premium-rent-btn a:active .rent-icon,
  .premium-car-details .premium-rent-btn a:active .rent-icon i {
    transform: none !important;
  }

  .premium-car-details .premium-rent-btn a:hover .rent-label {
    letter-spacing: 0.16em;
  }

  .premium-car-details .premium-rent-btn a:hover .rent-label::after {
    transform: scaleX(1);
  }
}
