/* ===========================================================================
   Aurélie — Boutique Companions theme
   Soft-rose restyle layered on top of Bootstrap 5. Loaded AFTER site.css so
   these rules win; Bootstrap utilities keep working underneath.
   Palette + type mirror website_design/BoutiqueListings.dc.html.
   =========================================================================== */

:root {
  --bg: #FCF4F1;
  --surface: #ffffff;
  --ink: #463A3D;
  --ink-soft: #6B585C;
  --muted: #A89094;
  --rose: #A85C6A;
  --rose-deep: #8C4A57;
  --rose-grad: linear-gradient(135deg, #DD96A0, #CE7E8C);
  --rose-border: rgba(150, 90, 100, 0.14);
  --rose-border-soft: rgba(150, 90, 100, 0.06);
  --chip-bg: #F4E4E5;
  --chip-ink: #A06B75;
  --chip-sel: #C56E7E;
  --tag-bg: #F6E7E8;
  --tag-ink: #A2727B;
  --gold: #D9A441;
  --overlay: linear-gradient(to top, rgba(54, 28, 36, 0.66), rgba(54, 28, 36, 0));
  --card-radius: 22px;
  --card-shadow: 0 16px 36px -20px rgba(150, 90, 100, 0.42);
  --soft-shadow: 0 8px 22px -14px rgba(150, 90, 100, 0.5);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---- Base ---------------------------------------------------------------- */
body {
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .card-title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--rose-deep);
  letter-spacing: 0.3px;
}

a {
  color: var(--rose);
}
a:hover {
  color: var(--rose-deep);
}

.text-muted {
  color: var(--muted) !important;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn-primary {
  background: var(--rose-grad);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 7px 16px -7px rgba(206, 126, 140, 0.8);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, #D68792, #C2707E);
  color: #fff;
}

.btn-outline-primary,
.btn-outline-light {
  border-radius: 999px;
  border-color: var(--rose);
  color: var(--rose);
}
.btn-outline-primary:hover,
.btn-outline-light:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.btn-secondary {
  border-radius: 999px;
}

/* Focus rings: rose, not Bootstrap blue */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem rgba(206, 126, 140, 0.55) !important;
  border-color: var(--rose) !important;
}

/* ---- Forms --------------------------------------------------------------- */
.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid var(--rose-border);
  color: var(--ink);
}
.form-control::placeholder {
  color: #C2A9AD;
}

/* ---- Cards --------------------------------------------------------------- */
.card {
  background: var(--surface);
  border-radius: var(--card-radius);
  border: 1px solid var(--rose-border-soft);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-2px);
}

/* ---- Badges -------------------------------------------------------------- */
.badge.bg-secondary,
.badge.bg-light {
  background: var(--tag-bg) !important;
  color: var(--tag-ink) !important;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.4em 0.85em;
}

/* ---- Pagination ---------------------------------------------------------- */
.pagination .page-link {
  color: var(--rose);
  border-color: var(--rose-border);
}
.pagination .page-item.active .page-link {
  background: var(--rose-grad);
  border-color: transparent;
  color: #fff;
}

/* ---- Tables / accordion (forum, support) --------------------------------- */
.table > :not(caption) > * > * {
  border-bottom-color: var(--rose-border-soft);
}
.accordion-button:not(.collapsed) {
  background: var(--chip-bg);
  color: var(--rose-deep);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(206, 126, 140, 0.4);
  border-color: var(--rose);
}

/* ===========================================================================
   Boutique header (navbar) + footer
   =========================================================================== */
.boutique-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(252, 244, 241, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(150, 90, 100, 0.1);
}
.boutique-nav .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
}
.boutique-nav .nav-link:hover {
  color: var(--rose);
}
/* Mobile hamburger: the navbar has a light background, so give the toggler an
   explicit rose icon + visible border (Bootstrap's default has no contrast here
   without a navbar-light/data-bs-theme class). */
.boutique-nav .navbar-toggler {
  border-color: var(--rose-border);
  color: var(--rose-deep);
  padding: 0.35rem 0.6rem;
}
.boutique-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(168, 92, 106, 0.3);
}
.boutique-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238C4A57' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.brand-wordmark {
  line-height: 1;
  text-align: left;
}
.brand-wordmark .brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.5px;
  color: var(--rose);
  display: block;
}
.brand-wordmark .brand-sub {
  font-size: 9px;
  letter-spacing: 2.6px;
  color: #B58C92;
  margin-top: 3px;
  font-weight: 500;
  display: block;
}

.boutique-footer {
  background: #F6E7E8;
  color: var(--ink-soft);
  border-top: 1px solid var(--rose-border);
}
.boutique-footer a {
  color: var(--rose);
}

/* Cookie-notice banner (#140, ADR 0013) ------------------------------------ */
/* Informational + dismissible; fixed to the bottom, on-theme, never blocking. */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: #FFF;
  border-top: 1px solid var(--rose-border);
  box-shadow: 0 -4px 18px rgba(150, 90, 100, 0.12);
}
.cookie-notice__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}
.cookie-notice__text {
  flex: 1 1 280px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.cookie-notice__text a {
  color: var(--rose);
}
.cookie-notice__form {
  flex: 0 0 auto;
}
.cookie-notice__btn {
  background: var(--rose-grad);
  border: none;
  color: #fff;
  padding: 6px 18px;
  border-radius: 10px;
}
.cookie-notice__btn:hover,
.cookie-notice__btn:focus {
  color: #fff;
  filter: brightness(0.97);
}

/* ===========================================================================
   Reusable component classes (consumed by listing cards + filters)
   =========================================================================== */

/* Rounded search bar ------------------------------------------------------- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--rose-border);
  border-radius: 14px;
  padding: 11px 16px;
  box-shadow: var(--soft-shadow);
}
/* The inner input has outline:none, so surface keyboard focus on the bar itself (WCAG 2.4.7). */
.search-bar:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 0.2rem rgba(206, 126, 140, 0.45);
}
.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: var(--sans);
  font-size: 14.5px;
  color: #5C4A4E;
}

/* City / sort chips -------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(150, 90, 100, 0.16);
  background: #fff;
  color: #8C6B72;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.chip:hover {
  color: var(--rose);
}
.chip--active {
  border: 1px solid transparent;
  background: var(--rose-grad);
  color: #fff;
  box-shadow: 0 7px 16px -7px rgba(206, 126, 140, 0.8);
}
.chip--active:hover {
  color: #fff;
}

/* Interest tag chips ------------------------------------------------------- */
.tag-chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.tag-chip:hover {
  color: var(--rose-deep);
}
.tag-chip--active {
  background: var(--chip-sel);
  color: #fff;
}
.tag-chip--active:hover {
  color: #fff;
}

/* Static tag pill (inside a card, non-interactive) ------------------------- */
.tag-pill {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-size: 11.5px;
  font-weight: 500;
}

/* Gold rating star --------------------------------------------------------- */
.rating-star {
  color: var(--gold);
}
.rating-value {
  font-weight: 600;
  color: #5C4046;
}
.rating-count {
  color: var(--muted);
  font-size: 0.85em;
}

/* Profile listing card ----------------------------------------------------- */
/* #45 — curated home-page shelves (New / Most viewed / Top rated this month, …) */
.profile-shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  border-bottom: 1px solid var(--rose-border-soft);
  padding-bottom: 0.5rem;
}
.profile-shelf__title {
  font-family: var(--serif);
  font-size: 1.5rem;
}

.profile-card {
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--rose-border-soft);
  transition: transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.profile-card:hover {
  transform: translateY(-2px);
}
.profile-card__media {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.profile-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(158deg, #EFC7CE 0%, #FBEAEE 100%);
}
.profile-card__initial {
  font-family: var(--serif);
  font-size: 128px;
  line-height: 1;
  font-weight: 600;
  color: rgba(168, 96, 120, 0.22);
  pointer-events: none;
}
/* #58: locked teaser for a paywalled premium photo the viewer can't see yet. */
.profile-card__locked {
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(158deg, #E2C2C9 0%, #EFD9DE 100%);
}
.profile-card__lock {
  font-family: var(--sans, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(120, 64, 84, 0.9);
  text-align: center;
}
.profile-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 14px;
  background: var(--overlay);
  pointer-events: none;
}
.profile-card__name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.profile-card__age {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
}
.profile-card__city {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.3px;
}
.profile-card__verified {
  position: absolute;
  top: 13px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(120, 80, 90, 0.18);
  font-size: 11px;
  font-weight: 600;
  color: var(--rose);
}
.profile-card__body {
  padding: 14px 16px 16px;
}
.profile-card__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 9px;
  line-height: 1.3;
}
.profile-card__rate {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--rose);
}

.boutique-empty {
  text-align: center;
  padding: 60px 30px 30px;
}
.boutique-empty__title {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--rose);
}
.boutique-empty__sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* Rose accent helper (replaces Bootstrap bg-primary where it clashes) ------ */
.bg-rose {
  background: var(--rose) !important;
  color: #fff !important;
}
