/* Model Registration Pro - Clean Premium UI */

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 32px 0;
}

.model-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.model-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* Public profile */
.mrp-public-profile {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.mrp-profile-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.mrp-profile-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

.mrp-profile-intro h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: .95;
  margin: 12px 0 18px;
}

.mrp-profile-info {
  margin-bottom: 56px;
}

.mrp-info-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* Actions */
.mrp-profile-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0;
}

.mrp-favorite-btn,
.mrp-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  border: none;
  text-decoration: none !important;
  font-weight: 700;
  cursor: pointer;
}

.mrp-favorite-btn.active {
  background: #e11d48;
}

.mrp-btn-icon svg {
  width: 20px;
  height: 20px;
}

/* Fade slider */
.mrp-fade-slider {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.mrp-fade-slides {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  border-radius: 24px;
}

.mrp-fade-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .45s ease, transform .45s ease;
  cursor: zoom-in;8
}

.mrp-fade-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.mrp-slider-controls {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin-top: 18px;
}

.mrp-slider-prev,
.mrp-slider-next {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 54px !important;
  color: #111 !important;
  cursor: pointer;
}

/* Lightbox */
.mrp-lightbox {
  display: none;
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.mrp-lightbox.active {
  display: flex;
}

.mrp-lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 18px;
}

.mrp-lightbox-close {
  position: absolute;
  top: 24px;
  right: 34px;
  color: #fff;
  font-size: 46px;
  cursor: pointer;
}



/* ===== ULTRA PREMIUM BOOKING MODAL ===== */

.mrp-booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);

  align-items: center;
  justify-content: center;
  padding: 20px;

  opacity: 0;
  transition: opacity .35s ease;
}

.mrp-booking-modal.active {
  display: flex;
  opacity: 1;
}

/* BOX */
.mrp-booking-box {
  position: relative;
  width: 100%;
  max-width: 520px;

  border-radius: 28px;
  padding: 42px 34px 34px;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);

  box-shadow:
    0 40px 120px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,0.4);

  transform: translateY(40px) scale(.96);
  opacity: 0;
  transition: all .35s cubic-bezier(.22,1,.36,1);
}

.mrp-booking-modal.active .mrp-booking-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* CLOSE BUTTON */
.mrp-booking-close {
  position: absolute;
  top: 16px;
  right: 18px;

  width: 38px;
  height: 38px;

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

  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);

  cursor: pointer;
  transition: all .25s ease;
}

.mrp-booking-close svg {
  width: 16px;
  height: 16px;
}

.mrp-booking-close svg path {
  stroke: #111;
}

.mrp-booking-close:hover {
  background: #111;
  transform: rotate(90deg);
}

.mrp-booking-close:hover svg path {
  stroke: #fff;
}

/* TITLE */
.mrp-booking-box h2 {
  margin-top: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  padding-right: 40px;
}

/* FORM */
.mrp-booking-box label {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* INPUTS */
.mrp-booking-box input,
.mrp-booking-box textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;

  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.1);

  background: rgba(255,255,255,.9);

  font-size: 15px;
  transition: all .2s ease;
}

.mrp-booking-box input:focus,
.mrp-booking-box textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* TEXTAREA */
.mrp-booking-box textarea {
  min-height: 140px;
}

/* BUTTON */
.mrp-booking-box button[type="submit"] {
  margin-top: 24px;
  width: 100%;

  padding: 15px;

  border-radius: 999px;
  border: none;

  background: linear-gradient(135deg, #111, #000);
  color: #fff;

  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;

  cursor: pointer;

  transition: all .25s ease;
}

.mrp-booking-box button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,.3);
}

/* RESPONSE */
.mrp-booking-response {
  margin-top: 16px;
  font-weight: 600;
  color: #111;
}

/* MOBILE */
@media (max-width: 600px) {
  .mrp-booking-box {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .mrp-booking-box h2 {
    font-size: 22px;
  }
}


/* Mobile fix: smaller premium modal */
@media (max-width: 600px) {
  .mrp-booking-modal {
    padding: 12px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  .mrp-booking-box {
    max-width: 100% !important;
    margin-top: 18px !important;
    padding: 26px 18px 20px !important;
    border-radius: 18px !important;
  }

  .mrp-booking-box h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
    padding-right: 42px !important;
    margin-bottom: 10px !important;
  }

  .mrp-booking-box label {
    margin-top: 10px !important;
    font-size: 11px !important;
  }

  .mrp-booking-box input,
  .mrp-booking-box textarea {
    padding: 10px 12px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
  }

  .mrp-booking-box textarea {
    min-height: 90px !important;
  }

  .mrp-booking-box button[type="submit"] {
    padding: 12px !important;
    font-size: 14px !important;
    margin-top: 12px !important;
  }

  .mrp-booking-close {
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
  }
}


/* ===== MOBILE FIX: HERO LAYOUT ===== */

@media (max-width: 850px) {

  .mrp-profile-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
  }

  .mrp-profile-image {
    width: 100% !important;
    max-width: 420px;
  }

  .mrp-profile-image img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover;
    border-radius: 22px;
  }

  .mrp-profile-intro {
    width: 100% !important;
    max-width: 420px;
  }

  .mrp-profile-intro h1 {
    font-size: 32px !important;
    line-height: 1.1 !important;
    margin: 10px 0 !important;
  }

}


/* ===== PREMIUM MOBILE UX ===== */

@media (max-width: 850px) {

  .mrp-public-profile {
    padding: 0 14px 60px !important;
    overflow-x: hidden !important;
  }

  .mrp-profile-hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    text-align: center !important;
    align-items: center !important;
    margin-bottom: 34px !important;
  }

  .mrp-profile-image {
    width: calc(100% + 28px) !important;
    max-width: none !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
  }

  .mrp-profile-image img {
    width: 100% !important;
    height: 72vh !important;
    min-height: 460px !important;
    max-height: 680px !important;
    object-fit: cover !important;
    border-radius: 0 0 30px 30px !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.22) !important;
  }

  .mrp-profile-intro {
    width: 100% !important;
    max-width: 420px !important;
    margin-top: -8px !important;
  }

  .mrp-profile-intro h1 {
    font-size: clamp(34px, 11vw, 54px) !important;
    line-height: .95 !important;
    letter-spacing: -0.04em !important;
    margin: 0 0 10px !important;
  }

  .mrp-profile-intro p {
    margin: 4px 0 !important;
    font-size: 15px !important;
    color: #666 !important;
  }

  .mrp-profile-actions {
    position: sticky !important;
    bottom: 12px !important;
    z-index: 50 !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;

    padding: 10px !important;
    margin: 28px 0 !important;

    background: rgba(255,255,255,.82) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 999px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.16) !important;
  }

  .mrp-favorite-btn,
  .mrp-book-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 12px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  .mrp-info-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .mrp-fade-slider {
    max-width: 100% !important;
  }

  .mrp-fade-slides {
    height: 68vh !important;
    min-height: 430px !important;
    max-height: 620px !important;
    border-radius: 24px !important;
  }

  .mrp-slider-prev,
  .mrp-slider-next {
    font-size: 46px !important;
    padding: 0 18px !important;
  }

  .mrp-booking-box {
    width: 100% !important;
    max-height: calc(100vh - 28px) !important;
    overflow-y: auto !important;
  }
}


/* ===== APP-LIKE MOBILE ACTION BAR ===== */

@media (max-width: 850px) {
  .mrp-public-profile {
    padding-bottom: 110px !important;
  }

  .mrp-profile-actions {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    z-index: 99999 !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 10px !important;

    background: rgba(255,255,255,.86) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;

    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 999px !important;

    box-shadow:
      0 18px 50px rgba(0,0,0,.22),
      inset 0 1px 0 rgba(255,255,255,.8) !important;
  }

  .mrp-profile-actions::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255,255,255,.9), transparent);
    border-radius: 999px;
  }

  .mrp-favorite-btn,
  .mrp-book-btn {
    height: 48px !important;
    width: 100% !important;

    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;

    padding: 0 14px !important;
    border-radius: 999px !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;

    box-shadow: none !important;
    transform: none !important;
  }

  .mrp-favorite-btn {
    background: #f3f4f6 !important;
    color: #111 !important;
  }

  .mrp-favorite-btn.active {
    background: #e11d48 !important;
    color: #fff !important;
  }

  .mrp-book-btn {
    background: #111 !important;
    color: #fff !important;
  }

  .mrp-btn-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
}


@media (max-width: 850px) {

  .mrp-public-profile .mrp-profile-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;

    z-index: 99999;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    padding: 10px;

    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);

    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(0,0,0,.25);

    animation: mrpBarIn .4s ease;
  }

  .mrp-public-profile {
    padding-bottom: 110px;
  }

  .mrp-public-profile .mrp-profile-actions .mrp-favorite-btn,
  .mrp-public-profile .mrp-profile-actions .mrp-book-btn {
    width: 100%;
    height: 48px;

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

    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
  }

}

@keyframes mrpBarIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


@media (max-width: 850px) {
  .mrp-public-profile .mrp-profile-actions {
    transition: transform .28s ease, opacity .28s ease;
  }

  .mrp-public-profile .mrp-profile-actions.mrp-bar-hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }
}


.mrp-form-step {
  display: none;
}

.mrp-form-step.active {
  display: block;
}


.mrp-error-text {
  color: #dc2626;
  font-weight: 600;
}


.mrp-public-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.mrp-public-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.mrp-public-card:hover {
  transform: translateY(-5px);
}

.mrp-public-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.mrp-public-card h3 {
  margin: 10px;
  font-size: 16px;
}

.mrp-meta {
  margin: 0 10px 10px;
  color: #666;
  font-size: 13px;
}


.mrp-public-profile-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 20px 90px;
}

.mrp-public-profile-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
}

.mrp-public-profile-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.16);
}

.mrp-public-profile-info h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
  margin: 0 0 18px;
}

.mrp-public-meta {
  font-size: 20px;
  color: #666;
}

.mrp-public-details p {
  margin: 8px 0;
}

.mrp-public-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.mrp-public-tags span {
  background: #eef2ff;
  color: #3730a3;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.mrp-public-book-btn {
  display: inline-flex;
  margin-top: 20px;
  padding: 14px 24px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
}

.mrp-public-gallery {
  margin-top: 60px;
}

.mrp-public-gallery img {
  width: 100%;
  max-width: 520px;
  height: 620px;
  object-fit: cover;
  border-radius: 24px;
}

@media (max-width: 800px) {
  .mrp-public-profile-hero {
    grid-template-columns: 1fr;
  }

  .mrp-public-profile-image img {
    height: 460px;
  }
}


/* Premium public model profile */
.mrp-public-profile-hero {
  align-items: center;
}

.mrp-public-profile-info {
  background: #fff;
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.mrp-public-details {
  margin: 22px 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.mrp-public-gallery {
display: grid;
  gap: 18px;
}

.mrp-public-gallery img {
  box-shadow: 0 20px 55px rgba(0,0,0,.12);
}

@media (max-width: 800px) {
  .mrp-public-profile-page {
    padding: 24px 14px 70px;
  }

  .mrp-public-profile-info {
  background: #fff;
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(0,0,0,.10);
}

  .mrp-public-profile-info h1 {
    font-size: 38px;
  }

 .mrp-public-profile-image img {
  width: 100%;
  height: 700px; /* större */
  object-fit: cover;
  border-radius: 28px;
}

  .mrp-public-gallery img {
    height: 460px;
  }
}


/* ===== FIX PUBLIC PROFILE (override allt annat) ===== */

.mrp-public-profile-hero {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
}

.mrp-public-profile-image img {
  height: 700px !important;
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 28px !important;
}

.mrp-public-profile-info {
  background: #fff !important;
  padding: 40px !important;
  border-radius: 28px !important;
  box-shadow: 0 25px 80px rgba(0,0,0,.10) !important;
}

/* GALLERY GRID FIX */
.mrp-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 18px !important;
}

.mrp-gallery-grid img {
  height: 420px !important;
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 18px !important;
}

@media (max-width: 800px) {

  .mrp-public-profile-hero {
    grid-template-columns: 1fr !important;
  }

  .mrp-public-profile-image img {
    height: 420px !important;
  }

}



.mrp-featured-model {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 42px;
  align-items: center;
  background: #fff;
  padding: 34px;
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(0,0,0,.10);
  margin: 0 0 36px;
}

.mrp-featured-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.mrp-featured-label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mrp-featured-content h2 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
  margin: 18px 0;
}

.mrp-featured-meta {
  color: #666;
  font-size: 18px;
}

@media (max-width: 800px) {
  .mrp-featured-model {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .mrp-featured-image img {
    height: 420px;
  }
}


.mrp-new-today {
  margin: 40px 0;
}

.mrp-new-today h2 {
  font-size: 32px;
  margin-bottom: 18px;
}


.mrp-top-week {
  margin: 40px 0;
}

.mrp-top-week h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

