/* =======================================
   Hybrid Marketplace + Luxury Premium
   Identity Style Pack
======================================= */

:root {
  --mr-gold:#C8A23C;
  --mr-gold-2:#E6C263;
  --mr-ink:#111827;
  --mr-muted:#6B7280;
  --mr-line:#E5E7EB;
  --mr-soft:#F9FAFB;
  --mr-soft-2:#F3F4F6;
}

/* =======================================
   Embedded Checkout (ModernCheckout)
======================================= */
.mr-checkout-embed{
  margin: 28px 0 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
}
.mr-checkout-head h2{
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: .2px;
}
.mr-checkout-sub{
  margin: 0 0 12px;
  color: var(--mr-muted);
  font-size: 14px;
}
.mr-checkout-placeholder{
  background: #f8fafc;
  border: 1px dashed #e5e7eb;
  border-radius: 16px;
  padding: 14px 16px;
  color: #475569;
}

.mr-checkout-embed .mc-wrap{
  margin-top: 12px;
}

/* Page breathing space */
.mr-layout {
  max-width:1180px;
  margin:30px auto 70px;
  padding:0 12px;
}

/* =======================================
   PREMIUM MARKETPLACE CARD SHELL
======================================= */

.mr-hero-inner {
  background:#ffffff;
  border-radius:28px;
  padding:26px;

  display:grid;
  grid-template-columns:1fr 1fr 2fr;
  gap:20px;

  border:1px solid rgba(0,0,0,.03);

}

/* Smooth hover life without gimmicks */
.mr-hero-inner:hover {
  transform:translateY(-1px);
  transition:.25s ease;
}

/* =======================================
   LEFT — LUX GLASS VISUAL PANEL
======================================= */

.mr-car-wrap img {
  width:100%;
  max-width:300px;
  filter:drop-shadow(0 20px 32px rgba(0,0,0,.22));
  margin-top: 90px;
}

.mr-hero-img {
    width:100%;
    aspect-ratio:10/9;
    background-size:cover;
    background-position:center;
    border-radius:12px;
    margin-top: 90px;
}


.mr-availability {
  display:inline-flex;
  gap:8px;

  padding:10px 18px;
  border-radius:40px;

  background:white;
  color:#262626;
  font-weight:900;

}


.mr-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px;
}

.mr-availability .mr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mr-availability.is-ok {
  color: #059669;
}
.mr-availability.is-ok .mr-dot {
  background: #10b981;
}

.mr-availability.is-off {
  color: #b91c1c;
}
.mr-availability.is-off .mr-dot {
  background: #ef4444;
}


/* Ribbon / badge (same shape as reference) */
.mr-ribbon{
  position:absolute;
  top:-10px;
  left:-10px;
  background: linear-gradient(145deg,var(--mr-gold),var(--mr-gold-2));
  color:#fff;
  padding:16px 26px;
  border-radius:20px 30px 30px 0;
  font-weight:00;
  font-size:18px;
  letter-spacing:.2px;
}

.mr-hero-left.has-ribbon .mr-hero{
  padding-top: 76px;
}


/* =======================================
   MIDDLE — MARKETPLACE FEATURE GRID
======================================= */

.mr-hero-middle h3 {
  font-size:16px;
  font-weight:600;
  margin-bottom:10px;
}

.mr-feature-icons {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px 14px;
  margin-bottom:12px;
}

.mr-feature-icons span {
  width:46px;
  height:46px;
  border-radius:50%;
  background:#F2F3F7;
  display:grid;
  place-items:center;
  font-weight:900;
}

.mr-feature-list li {
  margin:8px 0;
  font-weight:700;
}

/* Subtle divider — marketplace tone */
.mr-hero-middle hr {
  border:none;
  border-top:1px dashed #E5E7EB;
  margin:10px 0 8px;
}

/* =======================================
   RIGHT — PREMIUM PRICE PANEL
======================================= */

.mr-hero-right {
  background:var(--mr-soft);
  border-radius:22px;
  padding:18px;

  border:1px solid #E5E7EB;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7),
    0 16px 28px rgba(0,0,0,.06);
}

.mr-price-label {
  color:var(--mr-muted);
  font-weight:700;
}

.mr-old-price {
  margin-top:8px;
  color:#777;
  text-decoration:line-through;
}

.mr-current-price {
  font-size:34px;
  font-weight:900;
  color:#B9921D;
}

.mr-save-badge {
  margin-top:4px;
  padding:6px 12px;
  border-radius:18px;

  background:#E9FBE6;
  color:#2F8C3F;
  font-weight:900;
}



/* ---------- Right Column / Booking Widget ---------- */
.single-modernrent_car .mr-sticky-card{
  position:sticky; top:20px; background:white; border:none; overflow:visible; box-shadow:10px; padding:20px; border-radius:18px;
}
.single-modernrent_car .mr-sticky-head{ padding:0 0 8px 0; background:transparent; color:var(--mr-text); }
.single-modernrent_car .mr-price-lg{ font-size:20px; font-weight:700; margin:10px; }
.single-modernrent_car .mr-price-hero{ padding:24px 0; text-align:center; border-bottom:1px solid var(--mr-border); }
.single-modernrent_car .mr-amount{
  font-size:29px;
  font-weight:800;
  color:var(--mr-primary,#2563eb);
  background:color-mix(in srgb, var(--mr-primary,#2563eb) 10%, #ffffff);
  border-radius:20px;
  padding: inherit;
}
.single-modernrent_car .mr-amount .per{ font-size:16px; font-weight:600; color:var(--mr-muted); }
.single-modernrent_car .mr-includes{ font-size:14px; color:var(--mr-success); font-weight:500; }


.single-modernrent_car .mr-price-hero{ padding:18px 0; }
.single-modernrent_car .mr-amount{ display:inline-flex; align-items:baseline; gap:8px; padding:20px 95px; }
.single-modernrent_car .mr-amount .per{ font-size:14px; }


.single-modernrent_car .mr-cal,
.single-modernrent_car .mr-cal-weekdays,
.single-modernrent_car .mr-cal-grid{ min-width:0; }
@media (max-width:420px){
  .single-modernrent_car .mr-cal-day,
  .single-modernrent_car .mr-cal-blank{ height:40px; }
}

.single-modernrent_car .mr-feat-list{ gap:8px; }
.single-modernrent_car .mr-feat-list li{ max-width:100%; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }

body.single-modernrent_car{ overflow-x:hidden; }


/* MOBILE VERSION */
@media (max-width: 640px){

  .single-modernrent_car .mr-amount {
    font-size: 35px;        /* smaller text */
    font-weight: 700;
    color: var(--mr-primary,#2563eb);
    background: color-mix(in srgb, var(--mr-primary,#2563eb) 10%, #ffffff);
    border-radius: 14px;    /* softer corner */
    padding: 10px 14px;     /* replace inherit */
    display:flex;
    justify-content:space-between;
    width:100%;
  }
}


/* ---------- Pricing Tables ---------- */
.single-modernrent_car .mr-pricing{
    background:color-mix(in srgb, var(--mr-primary,#2563eb) 7%, #ffffff);
    border-radius:20px;
    margin:8px;
    padding:20px; }
.single-modernrent_car .mr-rate-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid var(--mr-border);
}

/* PRICE — stick to far right clean */
.single-modernrent_car .mr-price-val {
  position: relative;
  z-index: 2;
  padding-left: 70px;
  background: var(--mr-card, #e9eff6);
  text-align: right;
}



/* =========================
   PRICING V2 (Mobile-first)
========================= */

.mr-pricing-v2{
  display: grid;
  gap: 14px;
}

/* HERO PRICE */
.mr-price-hero-v2{
  background: color-mix(in srgb, var(--mr-primary,#2563eb) 8%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--mr-primary,#2563eb) 18%, #ffffff);
  border-radius: 18px;
  padding: 14px 14px 12px;
}

.mr-price-hero-label{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.mr-price-hero-amt{
  display:flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.mr-price-hero-amt .mr-cur{
  font-weight: 800;
  font-size: 18px;
  color: var(--mr-primary,#2563eb);
}

.mr-price-hero-amt .mr-num{
  font-weight: 900;
  font-size: 36px;
  color: var(--mr-primary,#2563eb);
  line-height: 1.05;
}

.mr-price-hero-amt .mr-per{
  font-weight: 600;
  color: #64748b;
}

.mr-price-hero-note{
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}

/* CARDS */
.mr-card-v2{
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 14px;
}

.mr-card-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.mr-card-head h4{
  margin:0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.mr-chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
}

.mr-chip-hot{
  background: #E2FEFD;
  color: #1c98b9;
}

/* ROWS */
.mr-rows{
  list-style: none;
  padding: 0;
  margin: 0;
}

.mr-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px dashed rgba(148,163,184,.6);
}

.mr-row:first-child{
  border-top: 0;
  padding-top: 4px;
}

.mr-left{
  color:#334155;
  font-weight: 600;
}

.mr-right{
  font-weight: 900;
  color:#0f172a;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.mr-highlight{
  background: color-mix(in srgb, var(--mr-primary,#2563eb) 12%, #ffffff);
  color:var(--mr-primary,#2563eb);
}

/* SEASON CARD */
.mr-card-season{
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.mr-season-block{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148,163,184,.35);
}

.mr-season-title{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.mr-badge-season{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e2fefd;
  color: #1c98b9;
}

.mr-season-date{
  font-size: 12px;
  color:#64748b;
  font-weight: 600;
}

/* =========================
   Desktop enhancement
========================= */
@media (min-width: 920px){
  .mr-pricing-v2{
    gap: 16px;
  }
  .mr-price-hero-v2{
    padding: 16px 18px 14px;
    border-radius: 20px;
  }
  .mr-card-v2{
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
  }
  .mr-price-hero-amt .mr-num{
    font-size: 42px;
  }
}



/* =======================================
   GOLD CTA — LUX + PRODUCT LED
======================================= */

.mr-book-btn {
  display:block;
  margin-top:12px;

  padding:14px;
  border-radius:40px;

  color:#fff;
  font-weight:900;
  text-decoration:none;

  background:linear-gradient(90deg,var(--mr-gold),var(--mr-gold-2));

  box-shadow:0 12px 24px rgba(0,0,0,.22);
}

.mr-book-btn:hover {
  transform:translateY(-1px);
  box-shadow:0 18px 32px rgba(0,0,0,.25);
}

body {
  background:var(--mr-bg);
  color:#0f172a;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, Arial;
}

.mr-hero-premium {
  margin-top: 18px;
}

.mr-hero {
  margin-bottom: 6px;
}

/* -------------------------------
   PAGE WRAPPER
--------------------------------*/
.mr-layout {
  max-width:1200px;
  margin:40px auto 80px;
  padding:0 14px;
}

/* -------------------------------
   TITLES
--------------------------------*/
.mr-title {
  font-size:28px;
  font-weight:800;
  margin-bottom:6px;
}

.mr-hero h3,
.mr-card h3 {
  font-size:16px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:10px;
}

/* -------------------------------
   PREMIUM CARD STYLE
--------------------------------*/
.mr-card,
.mr-hero-gallery,
.mr-hero-info,
.mr-hero-price {
  background:var(--mr-card);
  border-radius:16px;
  padding:18px 20px;
  border:1px solid rgba(0,0,0,.03);
}

/* soft hover micro-motion */
.mr-card:hover,
.mr-hero-info:hover,
.mr-hero-gallery:hover {
  transform:translateY(-1px);
  transition:.25s ease;
}

/* -------------------------------
   HERO GRID
--------------------------------*/
.mr-hero-grid {
  display:grid;
  grid-template-columns:1.8fr 1fr 1.2fr;
  gap:22px;
  align-items:start;
}

/* -------------------------------
   GALLERY
--------------------------------*/
.mr-hero-img {
  border-radius:14px;
  height:360px;
  background-size:cover;
  background-position:center;
  position:relative;
}

.mr-thumbs {
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.mr-thumb {
  height:70px;
  border-radius:12px;
  background-size:cover;
  background-position:center;
  cursor:pointer;
  opacity:.75;
  border:2px solid transparent;
}

.mr-thumb.active {
  opacity:1;
  border-color:var(--mr-primary);
}

/* Gallery arrows */
.mr-nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:#ffffff;
  border-radius:50%;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #e5e7eb;
  box-shadow:0 4px 14px rgba(0,0,0,.14);
}

.mr-prev { left:10px; }
.mr-next { right:10px; }

/* Fullscreen zoom overlay */
.mr-zoom {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  z-index: 9999;
}

.mr-zoom.open {
  display: block;
}

.mr-zoom-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  touch-action: none;
}

/* zoomed image */
#mrZoomImg {
  max-width: 100%;
  max-height: 100%;
  cursor: grab;
  user-select:none;
  transition: transform .15s ease;
}

.mr-zoom-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.9);
  color: #111;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: background .15s, transform .1s;
}

.mr-zoom-close:hover {
  background: #fff;
  transform: scale(1.05);
  color: #111;
}

.mr-zoom-close:active {
  transform: scale(.96);
}


/* -------------------------------
   SPEC BAR TAGS
--------------------------------*/
.mr-specbar {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:8px 0 12px;
}

.mr-spec {
  display:flex;
  gap:6px;
  align-items:center;
  background:#F2F6FF;
  border:1px solid #E4EAFF;
  padding:6px 10px;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
}

/* -------------------------------
   INFORMATION GRID
--------------------------------*/
.mr-info-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 10px;
}

.mr-info-item {
  display:flex;
  gap:8px;
  align-items:flex-start;
}

.mr-info-text strong {
  font-weight:700;
  display:block;
}

/* -------------------------------
   FEATURES TAG LIST
--------------------------------*/
.mr-feat-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}

.mr-feat-list li {
  background:#EEF3FF;
  border:1px solid #DDE5FE;
  padding:6px 10px;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
}

/* -------------------------------
   PRICE GRID (2 cards)
--------------------------------*/
.mr-price-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin:10px 0 26px;
}

.mr-table th {
  text-align:left;
  font-weight:600;
}

.mr-table td {
  text-align:right;
  font-weight:600;
}

/* -------------------------------
   HERO PRICE BOX
--------------------------------*/
.mr-hero-price {
  text-align:center;
}

.mr-price-lg {
  font-weight:600;
  font-size:14px;
  color:#64748B;
}

.mr-amount {
  font-size:30px;
  font-weight:700;
  margin-top:6px;
}

.mr-amount .per {
  font-size:13px;
  color:#64748b;
}

/* -------------------------------
   BOOKING LAYOUT
--------------------------------*/
.mr-booking-grid {
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:22px;
  margin-top:6px;
}

.mr-book-right {
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* -------------------------------
   STEPPER
--------------------------------*/
.mr-stepper {
  display:flex;
  justify-content:space-between;
  margin:6px 0 10px;
}

.mr-step {
  flex:1;
  text-align:center;
  padding:12px 10px;
  border-radius:12px;
  background:#F1F5FF;
  font-weight:700;
  color:#6b7280;
}

.mr-step.active {
  background:var(--mr-primary,#2563eb);
  color:white;
}

/* -------------------------------
   FORM INPUTS
--------------------------------*/
.mr-input {
  background:white;
  border:1px solid #dbe1f0;
  border-radius:12px;
  padding:8px 10px;
  display:flex;
  gap:8px;
  align-items:center;
}

.mr-input input {
  border:none;
  outline:none;
  flex:1;
}


/* -------------------------------
   CTA BUTTONS
--------------------------------*/
.button {
  border-radius:40px;
  padding:10px 16px;
  font-weight:800;
}

.button.next-step {
  width:100%;
  padding:14px;
  background:var(--mr-primary,#2563eb);
  font-size:17px;
}

#mr_go_checkout {
  width:100%;
  padding:14px;
  font-weight:900;
  border-radius:40px;
  background:var(--mr-primary,#2563eb);
  color:white;
}

/* -------------------------------
   SUMMARY BOX
--------------------------------*/
.mr-summary-box,
.mr-total-wrap {
  background:color-mix(in srgb, var(--mr-primary,#2563eb) 5%, #ffffff);
  border-radius:16px;
  padding:14px 18px;
  border:1px solid color-mix(in srgb, var(--mr-primary,#2563eb) 18%, #ffffff);
}

.mr-total-line strong {
  font-size:24px;
  color:var(--mr-primary,#2563eb);
}


/* =========================
   MODERN EXTRAS TABLE
========================= */

.mr-extras-table table {
  width:100%;
  border-collapse:collapse;
}

.mr-extras-table thead th {
  text-align:left;
  font-weight:700;
  font-size:13px;
  color:#64748B;
  padding:12px 6px;
}

.mr-extras-table tbody tr {
 
  border-radius:20px;
}

.mr-extras-table tbody tr + tr {
  margin-top:8px;
}

.mr-extra-name{
  display:grid;
  grid-template-columns:20px 260px;
  align-items:center;
  gap:6px;
}

.mr-extra-name input[type="checkbox"]{
  margin-top:0;
  transform:scale(1.1);
}

.mr-extra-name span{
  font-size:15;
  font-weight:400;
  line-height:1;
}

.mr-extra-name small{
  font-size:12px;
  font-weight:700;
  color:var(--mr-primary,#2563eb);

  display:inline-block;
  white-space:nowrap;

  opacity:.9;
}


/* pill label */
.mr-tag {
  padding:6px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:700;
}

.mr-tag.perday {
  background:#f8fafc;
  border: 1px solid #dbe1f0;
  color:var(--mr-primary,#2563eb);
}

.mr-tag.flat {
  background:#f8fafc;
  border: 1px solid #dbe1f0;
  color:#059669;
}

/* =========================
   QTY SELECTOR
========================= */

.mr-qty{
  display:grid;
  grid-template-columns: 65px 35px 35px;
  align-items:center;

  border:1px solid #dbe1f0;
  border-radius:5px;
  overflow:hidden;
  height:35px;
}

/* number box */
.mr-qty input.qty-val{
  border:0;
  text-align:center;
  font-size:15px;
  font-weight:500;
  outline:none;
}

.mr-qty .qty-val:focus{
  outline:none;
}

/* buttons */
.mr-qty button{
  border:none;
  background:#f8fafc;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:15px;
  font-weight:700;
  line-height:1;
  color:#0f172a;

  border-left:1px solid #e5e7eb;
}


/* hover feel */
.mr-qty button:hover{
  background:#eef2ff;
}


/* MAIN CARD */
.mr-hero-premium {
  margin-top:10px;
}

.mr-hero-inner {
  background:#fff;
  border-radius:28px;
  padding:24px;
  display:grid;
  grid-template-columns:1.8fr 1.4fr 1fr;
  gap:32px;
  border: 1.5px solid #DDE5FE; /* blue vibe */
}



/* LEFT : CAR IMAGE */
.mr-hero-left {
  position:relative;
  text-align:center;
}

.mr-caption {
  font-size:12px;
  color:#777;
  margin-top:6px;
}




/* (keep a single ribbon definition above) */



/* MIDDLE : FEATURES */
.mr-class-label {
  color:#6b7280;
}

.mr-feature-icons {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px 14px;
  margin:8px 0 12px;
}

.mr-feature-icons li {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  font-weight:700;
}

.mr-feature-icons span {
  background:#f3f4f6;
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:900;
}

.mr-feature-list {
  list-style:none;
  padding:0;
}

.mr-feature-list li {
  margin:8px 0;
  font-weight:700;
}



/* RIGHT : PRICE CARD */
.mr-hero-right {
  background:#FBFBFB;
  border-radius:22px;
  padding:20px 18px;
  margin-bottom:12px;
}

.mr-price-label {
  color:#777;
}

.mr-old-price {
  margin-top:8px;
  color:#777;
  text-decoration:line-through;
}

.mr-current-price {
  font-size:36px;
  font-weight:900;
  color:#C89B1F;
}

.mr-save-badge {
  background:#DFF8DC;
  color:#2E9A41;
  padding:6px 12px;
  border-radius:18px;
  display:inline-block;
  margin-top:4px;
  font-weight:800;
}

/* GOLD BUTTON */
.mr-book-btn {
  display:block;
  margin-top:12px;
  padding:14px;
  border-radius:40px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(90deg,#C5A02D,#E5B84C);
}

/* SECURE TAG */
.mr-secure {
  margin-top:6px;
  color:#6b7280;
  font-weight:700;
}


/* FORCE 2-column info grid */
.mr-card.mr-info .mr-info-grid{
  display:grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap:12px 28px !important;
  margin-top:6px;
}

/* Mobile fallback */
@media(max-width:900px){
  .mr-card.mr-info .mr-info-grid{
    grid-template-columns:1fr !important;
  }
}

/* Item row */
.mr-card.mr-info .mr-info-item{
  display:flex !important;
  gap:10px;
  align-items:flex-start;
  padding:6px 0;
  border-bottom:1px dashed #e5e7eb;
}

.mr-card.mr-info .mr-info-item:last-child{
  border-bottom:none;
}

/* Icon */
.mr-card.mr-info .mr-ico-svg{
  width:18px;
  height:18px;
  color:var(--mr-primary,#2563eb);
}

/* Label */
.mr-card.mr-info .mr-info-text strong{
  display:block;
  font-size:13px;
  color:#111827;
  margin-bottom:2px;
}

/* Value */
.mr-card.mr-info .mr-info-text span{
  font-size:14px;
  font-weight:600;
  color:#0f172a;
}

@media(max-width:768px){
  .mr-info-grid{
    grid-template-columns:1fr;
  }
}


.mr-info-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:8px;
}

/* compact + small text */
.mr-availability{
  margin-left:auto;
  font-size:11px;
  font-weight:600;
  color:#065f46;
  background:white;
  border:1px solid #a7f3d0;
  padding:4px 8px;
  border-radius:6px;
  display:flex;
  gap:4px;
  align-items:center;
}

/* smaller check icon */
.mr-availability span{
  font-size:12px;
  line-height:1;
}

/* mobile — still readable */
@media(max-width:768px){
  .mr-info-head{
    flex-direction:column;
    gap:4px;
  }
  .mr-availability{
    margin-left:0;
  }
}

/* Calendar */

.mr-availability {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.mr-cal {
  background: #ffffff;
  border-radius: 24px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 40px rgba(15,23,42,.06);
}

.mr-avail-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #0f172a;
}

.mr-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mr-cal-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.mr-cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--mr-primary,#2563eb);
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}

.mr-cal-nav:hover {
  background: color-mix(in srgb, var(--mr-primary,#2563eb) 8%, #ffffff);
}

.mr-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.mr-cal-grid {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 10px;
}

.mr-cal-blank {
  aspect-ratio: 1 / 1;
}

.mr-cal-day {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;

  font-weight: 700;
  font-size: 15px;

  background: #ffffff;
  border: 1px solid rgba(148,163,184,.35);
  color: var(--mr-primary,#2563eb);

  transition: all .15s ease;
}

.mr-cal-day.is-ok {
   border-color: #1c98b9;
   color: #1c98b9;
}

.mr-cal-day.is-ok:hover {
  background: rgba(16,185,129,.08);
}

.mr-cal-day.is-off {
  background: rgba(239,68,68,.06);
  border-color: rgba(239,68,68,.4);
  color: #ef4444;
  text-decoration: line-through;
}

.mr-cal-day.is-past {
  background: #f8fafc;
  border-color: #e5e7eb;
  color: #94a3b8;
  text-decoration: line-through;
  pointer-events: none;
}

.mr-cal-day.is-past .price {
  color: #94a3b8;
}

.mr-cal-day .price {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
}

.mr-cal-day.is-ok .price {
  color: #10b981;
}

.mr-cal-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.mr-cal-legend .mr-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.mr-cal-legend .mr-tag::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mr-cal-legend .is-ok::before {
  background: #12b981;
}

.mr-cal-legend .is-off::before {
  background: #ef4444;
}

.mr-cal-legend i {
  display: none; /* remove car icon */
}

.mr-cal-day[data-date^="<?= date('Y-m-d') ?>"] {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--mr-primary,#2563eb) 28%, transparent);
}

.mr-cal {
  backdrop-filter: blur(6px);
}



/* INFOBOOK — compact badge */
.mr-infobook{
  display:flex;
  align-items:center;

  font-size:11px;
  font-weight:700;

  color:#E2FEFD;
  background:#E2FEFD;
  border:1px solid #1c98b9

  padding:4px 10px;
  border-radius:8px;
}

/* icon inside */
.mr-infobook span{
  font-size:18px;
  line-height:1;
}

/* mobile alignment */
@media(max-width:768px){
  .mr-infobook{
    margin-left:0;
  }
}


/* ===========================
   PREMIUM SPEC BAR
=========================== */

.mr-specbar-premium{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}

/* spec pill */
.mr-specbar-premium .spec{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  font-size:12px;
  font-weight:600;
  color:#111827;
}

/* icon wrap */
.mr-specbar-premium .mr-ico-wrap{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:999px;
  background:#e0edff;
  border:1px solid #bfdbfe;
}

/* svg inside */
.mr-specbar-premium .mr-ico-svg{
  width:14px;
  height:14px;
  stroke:var(--mr-primary,#2563eb);
}

/* text */
.mr-specbar-premium span{
  line-height:1;
}

/* hover = subtle lift */
.mr-specbar-premium .spec:hover{
  background:#eef2ff;
  border-color:#c7d2fe;
}

/*form input*/
.mr-input .mr-ico,
.mr-input .mr-divider {
  pointer-events: none !important;
}

.mr-input{
  background:#fff;
  border:1px solid var(--mr-border);
  border-radius:12px;
  padding:10px 12px;
  display:grid;
  grid-template-columns: 20px 1fr;
  align-items:center;
}
.mr-input:hover{
  background:#fff;
  border:1px solid var(--mr-primary);
  border-radius:12px;
  padding:10px 12px;
  display:grid;
  grid-template-columns: 20px 1fr;
  align-items:center;
}
.mr-input select,
.mr-input input{
  width:100%; border:0; outline:none; background:transparent;
  padding:6px 8px; font-size:15px; color:var(--mr-text);
}

/* global SVG helper: never force a size globally; wrappers control size */
.mr-ico-svg{ width:100%; height:100%; display:block; }

.mr-input .mr-ico{
  display:inline-flex; align-items:center; justify-content:center; color:var(--mr-muted);
}

/* Search icons: scoped 32px size */
.mr-search .mr-input .mr-ico{ width:32px; height:32px; }
.mr-search .mr-input .mr-ico svg{
  display:block; width:100% !important; height:100% !important;
  fill:none; stroke:currentColor;
}

.mr-input.mr-duo{ grid-template-columns: 20px 1fr 1px 20px 1fr; gap:6px; }
.mr-input .mr-divider{ width:1px; height:26px; background:var(--mr-border); border-radius:1px; }

/* Kill any icon “halo/circle” from themes */
.mr-search .mr-input .mr-ico,
.mr-search-bar .mr-input .mr-ico,
.mr-search .mr-input .mr-ico::before,
.mr-search .mr-input .mr-ico::after,
.mr-search-bar .mr-input .mr-ico::before,
.mr-search-bar .mr-input .mr-ico::after,
.mr-search .mr-input i,
.mr-search-bar .mr-input i,
.mr-search .mr-input [class*="ico"],
.mr-search-bar .mr-input [class*="ico"]{
  background:transparent !important; border:0 !important; box-shadow:none !important;
  outline:0 !important; border-radius:0 !important; padding:0 !important;
  width:auto !important; height:auto !important;
}
.mr-search .mr-input::before,
.mr-search .mr-input::after,
.mr-search-bar .mr-input::before,
.mr-search-bar .mr-input::after{ content:none !important; }

.mr-input.mr-duo{ grid-template-columns: 20px 1fr 1px 20px 1fr; gap:6px; }
.mr-input .mr-divider{ width:1px; height:26px; background:var(--mr-border); border-radius:1px; }

/* clicks anywhere in the field should hit the inputs */
.mr-input .mr-ico, .mr-input .mr-divider{ pointer-events:none; }
.mr-input{ cursor:text; }


/* ===========================
   Availability Calendar
=========================== */

.mr-cal-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:6px;
}

/* BASE CELL */
.mr-cal-day{
  border-radius:12px;
  padding:8px 6px;
  text-align:center;
  line-height:1.1;
  background:#ffffff;
  border:1px solid #F1F1F1;
  transition:background .18s, color .18s;
}

/* DATE NUMBER */
.mr-cal-day .num{
  font-weight:700;
  font-size:14px;
  display:block;
}

/* PRICE */
.mr-cal-day .price{
  font-size:11px;
  margin-top:2px;
  opacity:.9;
}

/* 🔴 UNAVAILABLE */
.mr-cal-day.is-off{
  background:#F7F7F7;
  color:#9CA3AF;
  border-color:#E5E5E5;
  cursor:not-allowed;
}

/* 🟢 HOVER — ONLY ON AVAILABLE DATES */
.mr-cal-day.is-ok:hover{
  background:var(--mr-primary, #2563EB);
  color:#ffffff;
}

/* ============================
   Availability Calendar — MOBILE
============================ */
@media (max-width: 768px){
  .mr-availability{
    max-width: 100%;
    padding: 0;
  }
  .mr-cal{
    padding: 10px 0 12px !important;
  }
  .mr-cal-head{
    margin-bottom: 8px;
    padding: 0 6px;
  }
  .mr-cal-weekdays,
  .mr-cal-grid,
  .mr-cal-legend{
    padding: 0 4px;
  }
  .mr-cal-legend{
    margin-top: 10px;
  }
  .mr-cal-weekdays{
    font-size:10px;
  }
  .mr-cal-grid{
    gap:5px;
  }
  .mr-cal-day{
    padding:6px 4px;
    border-radius:10px;
  }
  .mr-cal-day .num{
    font-size:12px;
    line-height:1;
    white-space:nowrap;
    font-variant-numeric: tabular-nums;
  }
  .mr-cal-day .price{
    font-size:9px;
    line-height:1;
    white-space:nowrap;
  }
}


/* ============================
   MOBILE — PREMIUM SINGLE PAGE
   (max-width: 768px)
============================ */
@media (max-width: 768px){

  /* Page breathing */
  .mr-layout{
    margin: 18px auto 40px;
    padding: 0 12px;
  }

  /* HERO CARD becomes stacked */
  .mr-hero-inner{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
    border-radius: 22px;
  }

  /* Title + Ribbon spacing */
  .mr-hero-left header{
    margin-bottom: 6px;
  }

  .mr-ribbon{
    top: -6px;
    left: -6px;
    padding: 12px 18px;
    font-size: 18px;
    border-radius:18px 26px 26px 0;
  }
  .mr-hero-left.has-ribbon .mr-hero{
    padding-top: 56px;
  }
  .mr-hero-left.has-ribbon .mr-title{
    padding-left: 0;
  }
  .mr-hero-left.has-ribbon .mr-ribbon{
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
    margin-bottom: 8px;
  }
  .mr-hero-left.has-ribbon .mr-hero{
    padding-top: 0;
  }

  /* Car image sits BIG + centered */
  .mr-hero-img{
    height: 240px;
    margin-top: 8px;
    border-radius: 14px;
  }

  .mr-thumbs{
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
  }

  .mr-thumb{
    height: 58px;
    border-radius: 10px;
  }

  /* Spec bar becomes 2-per-row */
  .mr-specbar{
    gap: 6px;
  }

  .mr-specbar .spec{
    flex: 1 1 calc(50% - 6px);
  }

  /* FEATURES CARD */
  .mr-card.mr-info .mr-info-grid{
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .mr-card.mr-info .mr-info-item{
    padding: 6px 0;
  }

  /* PRICE PANEL — full width stacked */
  .mr-hero-right{
    padding: 16px;
    border-radius: 18px;
  }

  .mr-amount{
    font-size: 28px;
  }

  .mr-amount .per{
    font-size: 12px;
  }

  /* PRICE TABLE spacing tighter */
  .mr-pricing{
    padding: 12px;
    border-radius: 14px;
  }

  .mr-rate-row,
  .mr-table tr{
    padding: 8px 0;
  }

  .mr-price-val{
    padding-left: 0;
    background: transparent;
  }

  /* BOOKING GRID → stacked */
  .mr-booking-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mr-left,
  .mr-col-right{
    width: 100%;
  }

  /* Sticky booking card disabled on mobile */
  .mr-sticky-card{
    position: static;
    box-shadow: none;
    padding: 0;
  }

  /* INPUTS more touch-friendly */
  .mr-input{
    border-radius: 12px;
    padding: 10px;
  }

  .mr-input.mr-duo{
    grid-template-columns: 20px 1fr 1px 20px 1fr;
  }

  .mr-divider{
    height: 20px;
  }

  /* QTY buttons easier to tap */
  .mr-qty{
    height: 38px;
  }

  .mr-qty button{
    font-size: 16px;
  }

  /* SUMMARY CARD */
  .mr-summary-box,
  .mr-total-wrap{
    padding: 12px 14px;
  }

  .mr-total-line strong{
    font-size: 20px;
  }

  /* BOOK BUTTON — full width bold */
  #mr_go_checkout{
    font-size: 15px;
    padding: 14px;
    border-radius: 30px;
  }

  /* Secure tag spacing */
  .mr-tiny{
    margin-top: 6px;
    font-size: 12px;
  }

}


@media (max-width: 768px){

  /* 🔹 Kill any leftover fixed widths */
  * {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.single-modernrent_car{
    overflow-x: hidden;
  }

  /* ============================
     HERO CARD — FORCE STACK
  ============================ */
  .mr-hero-inner{
    display: block !important;
    padding: 14px;
    border-radius: 20px;
  }

  .mr-hero-left,
  .mr-hero-middle,
  .mr-hero-right{
    width: 100% !important;
  }

  .mr-hero-middle,
  .mr-hero-right{
    margin-top: 12px;
  }

  /* ============================
     IMAGE + THUMBNAILS
  ============================ */

  .mr-hero-img{
    height: 220px !important;
    margin-top: 6px !important;
    border-radius: 12px;
  }

  .mr-thumbs{
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
  }

  .mr-thumb{
    height: 54px;
  }

  /* ============================
     SPEC BAR — prevent overflow
  ============================ */
  .mr-specbar{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mr-specbar .spec{
    width: 100%;
  }

  /* ============================
     INFO GRID — FORCE SINGLE COL
  ============================ */
  .mr-card.mr-info .mr-info-grid{
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .mr-info-item{
    padding: 6px 0;
  }

  /* ============================
     PRICE PANEL — CLEAN STACK
  ============================ */
  .mr-hero-right{
    padding: 14px;
    border-radius: 18px;
  }

  .mr-amount{
    font-size: 26px !important;
  }

  .mr-price-val{
    background: transparent !important;
    padding-left: 0 !important;
  }

  /* ============================
     BOOKING GRID — STACK
  ============================ */
  .mr-booking-grid{
    display: block !important;
  }

  .mr-left,
  .mr-col-right{
    width: 100% !important;
  }

  /* disable sticky cards on mobile */
  .mr-sticky-card{
    position: static !important;
    box-shadow: none !important;
  }

  /* ============================
     INPUT & FORM FIXES
  ============================ */
  .mr-input{
    padding: 10px !important;
    border-radius: 12px;
  }

  .mr-input.mr-duo{
    grid-template-columns: 18px 1fr 1px 18px 1fr !important;
  }

  .mr-divider{
    height: 18px !important;
  }

  /* ============================
     TABLES — PREVENT SCROLL
  ============================ */
  .mr-table,
  .mr-pricing{
    width: 100% !important;
    display: block;
  }

  .mr-table th,
  .mr-table td{
    white-space: nowrap;
  }

  /* ============================
     BUTTONS
  ============================ */
  #mr_go_checkout{
    width: 100%;
    padding: 14px;
    border-radius: 30px;
  }

}


@media (max-width: 768px){

  /* Wrap table into block layout */
  .mr-extras-table table,
  .mr-extras-table thead,
  .mr-extras-table tbody,
  .mr-extras-table tr,
  .mr-extras-table td,
  .mr-extras-table th{
    display:block !important;
    width:100% !important;
  }

  /* Hide table header */
  .mr-extras-table thead{
    display:none !important;
  }

  /* Each extra becomes a compact card (grid) */
  .mr-extras-table tbody tr{
    display:grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name name"
      "tag qty";
    gap:10px;
    align-items:center;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:12px;
    margin-bottom:10px;
  }

  .mr-extras-table tbody tr > td{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
  }

  .mr-extras-table tbody tr > td:nth-child(1){ grid-area:name; }
  .mr-extras-table tbody tr > td:nth-child(2){ grid-area:tag; }
  .mr-extras-table tbody tr > td:nth-child(3){
    grid-area:qty;
    justify-self:end;
  }

  /* EXTRA NAME row */
  .mr-extra-name{
    grid-template-columns: 22px 1fr !important;
    gap:8px;
    align-items:center;
  }

  .mr-extra-name span{
    font-size:15px;
    font-weight:600;
    line-height:1.2;
  }

  .mr-extra-name small{
    display:block;
    margin-top:4px;
  }

  /* Charge type label */
  .mr-tag{
    margin:0;
    display:inline-block;
  }

  /* Qty box aligned right */
  .qty-col{
    margin-top:0;
  }

  .mr-qty{
    min-width:140px;
    grid-template-columns: 1fr 44px 44px !important;
    height:38px;
  }

  .mr-qty input.qty-val{
    font-size:16px;
    font-weight:700;
  }

  .mr-qty button{
    font-size:18px;
  }

}

/* =========================
   Compact card skin
   ========================= */
.mr-card.mr-card--compact{
  padding: 10px;
}

.mr-card.mr-card--compact h3{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
}

/* rules note jadi rapat & kecil */
.mr-card.mr-card--compact .mr-infobook{
  margin: 0 0 10px;
}
.mr-card.mr-card--compact .mr-rules-note{
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.25;
  border-radius: 10px;
}

/* grid gap kecil */
.mr-card.mr-card--compact .mr-grid2{
  gap: 8px;
  margin-bottom: 8px;
}

/* label compact */
.mr-card.mr-card--compact .mr-field label{
  font-size: 12px;
  margin-bottom: 6px;
  opacity: .9;
}

/* input/select height kecil & kemas */
.mr-card.mr-card--compact .mr-input select,
.mr-card.mr-card--compact .mr-input input{
  height: 36px;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 12px;
}

/* icon + divider rapat */
.mr-card.mr-card--compact .mr-ico{
  width: 34px;
  min-width: 34px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mr-card.mr-card--compact .mr-divider{
  width: 1px;
  opacity: .35;
}

/* duo input lebih kemas */
.mr-card.mr-card--compact .mr-input.mr-duo{
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
}

.mr-card.mr-card--compact .mr-input.mr-duo input{
  height: 36px;
  padding: 8px 10px;
}

/* buang space extra bawah date fields */
.mr-card.mr-card--compact .mr-field{
  margin-bottom: 10px;
}
.mr-card.mr-card--compact .mr-field:last-of-type{
  margin-bottom: 0;
}


/* Wrapper border only */
.mr-input.mr-duo{
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

/* Remove inner borders */
.mr-input.mr-duo input{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

/* Focus highlight on wrapper */
.mr-input.mr-duo:focus-within{
  border-color: var(--mr-primary,#2563eb);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mr-primary,#2563eb) 18%, transparent);
}

/* IMPORTANT: time text visibility fix (tanpa kacau native control) */
.mr-input.mr-duo input[type="time"],
.mr-input.mr-duo input[data-swaptype="time"]{
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important; /* Safari/Chrome */
  opacity: 1 !important;
  cursor: text;
}

/* Placeholder */
.mr-input.mr-duo input::placeholder{
  color: #9ca3af;
  opacity: 1;
}

/* ============================
   ZOOM OVERLAY — MOBILE
============================ */
@media (max-width: 768px){
  .mr-zoom{
    padding: 12px;
  }
  .mr-zoom-inner{
    padding: 12px;
  }
  #mrZoomImg{
    max-width: 92vw;
    max-height: 80vh;
    width: auto;
    height: auto;
  }
  .mr-zoom-close{
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
}
