/* ============================================================
   SINGLE Strip Club 
============================================================ */

:root{
  --bg:#ffffff;
  --paper:#ffffff;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;

  --brand:#6d28d9;
  --lux-red:#5C0303;
  --lux-gold:#d4af37;
  --lux-gold-soft:#f5e7b2;

  --radius-lg:18px;

  --agency-hero-height:420px;

  --shadow-soft:0 6px 18px rgba(2,6,23,.06);
  --shadow-premium:
    0 14px 32px rgba(2,6,23,.10),
    0 4px 10px rgba(2,6,23,.06);
}

/* ================= BASE ================= */

.single-profile{
  width:100%;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,system-ui,sans-serif;
  overflow-x:hidden;
}

/* ================= TITLE BAR ================= */

.sp-title-bar{
  background:linear-gradient(180deg,#ffffff,#fafafa);
  border-bottom:1px solid var(--line);
}

.sp-inner{
  max-width:1480px;
  margin:0 auto;
  padding:26px 16px 20px;
}

.sp-main-title{
  font-size:2.15rem;
  font-weight:900;
  letter-spacing:-.3px;
  color:var(--lux-red);
}

.sp-subline{
  margin-top:6px;
  font-size:.9rem;
  color:var(--muted);
}

/* ================= GRID ================= */

.sd-wrap{ width:100%; }

.sd-page-grid{
  max-width:1480px;
  margin:0 auto;
  padding:22px 16px 26px;

  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px;

  column-gap:22px;
  row-gap:18px;                 /* normal premium spacing */

  align-items:start;
  grid-auto-rows:min-content;   /* rows sized by content */
}

/* ================= CARD SYSTEM ================= */

.sd-card{
  background:linear-gradient(180deg,#fff,#fbfbfc);
  border-radius:var(--radius-lg);
  padding:18px 20px;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:var(--shadow-soft);
}

.sd-wide-panel{
  padding:22px 26px;
  box-shadow:var(--shadow-premium);
}

/* ================= LEFT (HERO IMAGE) ================= */

.sd-left{
  grid-column:1;
}

.sd-left .sd-card{
  height:var(--agency-hero-height);
  display:flex;
  flex-direction:column;
}

.sd-photo.hero{
  flex:1;
  border-radius:var(--radius-lg);
  overflow:hidden;
  position:relative;
  background:#f1f5f9;
}

.sd-photo.hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.sd-photo.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%);
}

/* badge */
.agency-badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:7px 14px;
  font-size:11px;
  font-weight:900;
  border-radius:999px;
  background:linear-gradient(135deg,var(--lux-gold),var(--lux-gold-soft));
  color:#3b2f08;
  box-shadow:0 6px 14px rgba(212,175,55,.35);
}

/* ================= MIDDLE (HERO CONTENT) ================= */

..sd-hero-middle{
  grid-column:2;
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:var(--agency-hero-height);
}

.sd-hero-title{ flex:0 0 auto; }

.sd-hero-overview{
  display:flex;
  flex-direction:column;
  justify-content:center;
}


/* text */
.sd-name{
  font-size:1.55rem;
  font-weight:900;
  letter-spacing:-.2px;
  color:var(--lux-red);
  margin:0;
}

.sd-agency{
  margin:6px 0 0;
  font-size:.9rem;
  color:var(--muted);
}

.sp-section-title{
  font-size:1.05rem;
  font-weight:900;
  letter-spacing:-.2px;
  color:var(--lux-red);
  margin:0 0 12px;
}

/* stats */
.sd-stats{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px 16px;
}

.sd-stats li{
  padding:8px 0;
  border-bottom:1px dashed var(--line);
  font-size:.85rem;
  display:flex;
  justify-content:space-between;
  gap:14px;
}

.sd-stats span:first-child{
  color:var(--muted);
  font-weight:700;
}

.sd-stats span:last-child{
  color:var(--ink);
  font-weight:900;
  text-align:right;
}

/* ================= WIDE SECTIONS (LEFT → MIDDLE) ================= */

.sd-span-main{
  grid-column:1 / 3;
}

/* definition rows */
.sd-defgrid{ display:grid; gap:10px; }

.sd-defrow{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:14px;
  padding:10px 0;
  border-bottom:1px dashed var(--line);
}

.sd-defrow:last-child{ border-bottom:0; }

.sd-defkey{
  color:var(--muted);
  font-weight:800;
  font-size:.9rem;
}

.sd-defval{
  color:var(--ink);
  font-weight:700;
  font-size:.85rem;
  line-height:1.55;
}

/* about */
.sd-about-content{
  font-size:.85rem;
  line-height:1.75;
  color:#334155;
}

/* escorts */
.agency-escorts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:16px;
}

.agency-escort-card{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
}

.agency-escort-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 45px rgba(2,6,23,.14);
}

.agency-escort-photo img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.agency-escort-body{
  padding:12px;
  text-align:center;
}

.agency-escort-name{
  font-size:.92rem;
  font-weight:900;
  margin:0 0 8px;
}

.edit-btn{
  display:inline-block;
  padding:7px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:12px;
  font-weight:800;
  color:var(--brand);
}

/* ============================================================
   SIDEBAR FIX (REMOVES WHITE GAP CAUSE)
   Sidebar no longer affects grid row sizing
============================================================ */

.main-right{
  grid-column:3;
  position:relative;

  height:0;               /* CRITICAL: removes it from row sizing */
  overflow:visible;       /* let sidebar content show */
}

.main-right-inner{
  position:sticky;
  top:90px;

  display:flex;
  flex-direction:column;
  gap:18px;
}

.main-right-inner .sd-card{
  border-left:4px solid var(--lux-red);
}

/* ================= MOBILE ================= */

@media(max-width:1100px){
  .sd-page-grid{
    grid-template-columns:1fr;
    row-gap:18px;
  }

  .sd-left .sd-card,
  .sd-hero-middle{
    height:auto;
  }

  .main-right{
    height:auto;
    overflow:visible;
  }

  .main-right-inner{
    position:relative;
    top:auto;
  }

  .sd-span-main{
    grid-column:1;
  }

  .sd-defrow{
    grid-template-columns:1fr;
  }

  .sd-stats{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   CONTENT CAPITALIZATION (PREMIUM READABILITY)
============================================================ */

/* Services, Coverage, Working Hours values */
.sd-defval{
  text-transform: capitalize;
}

/* Agency Overview values (right side of stats) */
.sd-stats span:last-child{
  text-transform: capitalize;
}

/* About Agency paragraph text */
.sd-about-content{
  text-transform: capitalize;
}

/* Escort card names already capitalized by title,
   but keep consistency */
.agency-escort-name{
  text-transform: capitalize;
}

/* Safety: do NOT affect URLs, emails, numbers */
.sd-stats a,
.sd-stats span:last-child a{
  text-transform:none;
}

/* ============================================================
   CLUB OVERVIEW — COMPACT PREMIUM EDGE-TO-EDGE
============================================================ */
/* Remove bulky card feeling */
.sd-hero-overview{
  padding:18px 22px !important;
  border-radius:0 !important;
  box-shadow:none !important;
  border-left:4px solid var(--lux-red);
  background:#ffffff;
}

/* Tighter heading */
.sd-hero-overview .sp-section-title{
  font-size:1rem;
  margin-bottom:10px;
  letter-spacing:-.2px;
}

/* Compact stats grid */
.sd-hero-overview .sd-stats{
  gap:10px 24px;
}

/* Row refinement */
.sd-hero-overview .sd-stats li{
  padding:6px 0;
  font-size:.85rem;
  border-bottom:1px solid rgba(15,23,42,.05);
}

/* Label */
.sd-hero-overview .sd-stats span:first-child{
  font-size:.85rem;
  font-weight:700;
  color:var(--muted);
  letter-spacing:.2px;
  text-transform:capitalize;
}


/* Value */
.sd-hero-overview .sd-stats span:last-child{
  font-size:.85rem;
  font-weight:800;
  color:var(--ink);
}

/* Remove bottom border on last row */
.sd-hero-overview .sd-stats li:last-child{
  border-bottom:0;
}

/* Mobile safety */
@media(max-width:900px){
  .sd-hero-overview .sd-stats{
    grid-template-columns:1fr;
  }

  .sd-hero-overview .sd-stats span:last-child{
    text-align:left;
  }
}

/* ============================================================
   CITY & COUNTRY CAPITALIZATION (DISPLAY ONLY)
============================================================ */

/* Title subline (city, country under agency name) */
.sp-subline{
  text-transform: capitalize;
}

/* Agency Overview values */
.sd-hero-overview .sd-stats span:last-child{
  text-transform: capitalize;
}

/* Safety: never affect links, emails, URLs */
.sd-hero-overview a,
.sp-subline a{
  text-transform:none;
}
/* ============================================================
   COMPACT MODE – SERVICES & COVERAGE + WORKING HOURS
   (NO LAYOUT CHANGE)
============================================================ */

/* Reduce card padding slightly */
.sd-span-main.sd-wide-panel{
  padding:16px 20px;
}

/* Section title tighter */
.sd-span-main .sp-section-title{
  margin-bottom:8px;
  font-size:1rem;
}

/* Definition grid tighter */
.sd-span-main .sd-defgrid{
  gap:6px;
}

/* Each row compact */
.sd-span-main .sd-defrow{
  padding:6px 0;
  gap:12px;
}

/* Label (left column) */
.sd-span-main .sd-defkey{
  font-size:.85rem;
  font-weight:800;
}

/* Value (right column) */
.sd-span-main .sd-defval{
  font-size:.85rem;
  line-height:1.45;
}

/* Remove unnecessary bottom space */
.sd-span-main .sd-defrow:last-child{
  padding-bottom:0;
}

/* ============================================================
   MOBILE + CROSS-BROWSER HARDENING (FINAL SAFE LAYER)
============================================================ */

/* ---------- GLOBAL SAFETY ---------- */

/* Prevent iOS horizontal scroll bugs */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

/* Better font rendering across browsers */
body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

/* ---------- GRID FALLBACK (OLDER BROWSERS) ---------- */

@supports not (display:grid){
  .sd-page-grid{
    display:flex;
    flex-wrap:wrap;
  }

  .sd-left,
  .sd-hero-middle,
  .sd-span-main{
    width:100%;
  }

  .main-right{
    width:100%;
  }
}

/* ---------- SAFARI STICKY FIX ---------- */

.main-right-inner{
  position:-webkit-sticky;
  position:sticky;
}

/* ---------- IMAGE SAFETY ---------- */

img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ---------- MOBILE TYPOGRAPHY TUNING ---------- */

@media(max-width:480px){

  .sp-main-title{
    font-size:1.45rem;
    line-height:1.25;
  }

  .sd-name{
    font-size:1.25rem;
  }

  .sp-section-title{
    font-size:.95rem;
  }

  .sd-defkey{
    font-size:.82rem;
  }

  .sd-defval{
    font-size:.85rem;
  }

  .sd-about-content{
    font-size:.9rem;
    line-height:1.65;
  }
}

/* ---------- TOUCH FRIENDLY BUTTONS ---------- */

.edit-btn{
  min-height:40px;
  line-height:38px;
  touch-action:manipulation;
}

/* ---------- HERO HEIGHT SAFETY ---------- */

@media(max-width:900px){
  :root{
    --agency-hero-height:auto;
  }
}

/* ---------- LONG TEXT SAFETY (ALL BROWSERS) ---------- */

.sd-defval,
.sd-stats span:last-child{
  word-break:break-word;
  overflow-wrap:anywhere;
}

/* ---------- IOS SAFARI FLEX HEIGHT FIX ---------- */

.sd-left .sd-card,
.sd-hero-middle{
  min-height:0;
}

/* ---------- SIDEBAR MOBILE SAFETY ---------- */

@media(max-width:1100px){
  .main-right{
    height:auto;
  }

  .main-right-inner{
    position:relative;
    top:auto;
  }
}

/* ---------- SMALL DEVICES (≤360px) ---------- */

@media(max-width:360px){
  .sd-card{
    padding:14px 14px;
  }

  .sd-wide-panel{
    padding:14px 16px;
  }

  .agency-escort-photo img{
    height:180px;
  }
}

/* ============================================================
   ENTRY & VIP RATES — PREMIUM UPGRADE
============================================================ */

.sd-span-main .rates-table{
  width:100%;
  border-collapse:collapse;
  margin-top:6px;
}

/* Table header (if exists) */
.sd-span-main .rates-table thead th{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--muted);
  font-weight:800;
  padding:10px 0 12px;
  border-bottom:2px solid var(--lux-red);
}

/* Rows */
.sd-span-main .rates-table tbody tr{
  border-bottom:1px solid rgba(15,23,42,.06);
  transition:background .2s ease;
}

.sd-span-main .rates-table tbody tr:hover{
  background:rgba(212,175,55,.05);
}

/* Cells */
.sd-span-main .rates-table td{
  padding:14px 0;
  font-size:.85rem;
  font-weight:700;
  vertical-align:middle;
}

/* First column (label) */
.sd-span-main .rates-table td:first-child{
  color:var(--muted);
  font-weight:800;
  letter-spacing:.2px;
}

/* Price column */
.sd-span-main .rates-table td:last-child{
  text-align:right;
  font-size:1rem;
  font-weight:900;
  color:var(--lux-red);
}


