/* Profile Page Styles */

/* Header */
.profile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  z-index: 100;
  padding: 16px 40px;
}

.profile-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
}

.profile-header__left {
  display: flex;
  align-items: center;
  gap: 48px;
}

.profile-header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-nav {
  display: flex;
  gap: 42px;
}

.profile-nav__link {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-nav__link:hover {
  color: #ff385d;
}

.search-bar--large {
  width: 517px;
  height: 56px;
  background-color: #fafafa;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.search-bar--large .search-bar__input {
  flex: 1;
  background: none;
  border: none;
  font-size: 16px;
}

.search-bar--large .search-bar__divider {
  width: 1px;
  height: 29px;
  background-color: #dbdbdb;
  margin: 0 16px;
}

.search-bar--large .search-bar__dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.search-bar--large .search-bar__btn {
  margin-left: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

.user-profile--header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-profile__avatar--bordered {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid rgba(255, 56, 93, 0.2);
  position: relative;
  overflow: hidden;
}

.user-profile__avatar--bordered img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-profile__status--online {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background-color: #22c55e;
  border: 2px solid white;
  border-radius: 50%;
}

.notification-btn__badge--active {
  background-color: #ff385d;
}

/* Main Content */
.profile-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.profile-hero {
  padding-bottom: 64px;
}

.profile-hero__cover {
  position: relative;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: -64px;
  background: #f5f0e6;
}

/* Theme-aware muted placeholder background while no cover photo is set */
.profile-theme--light .profile-hero__cover--placeholder {
  background: #f5f0e6;
}
.profile-theme--dark .profile-hero__cover--placeholder {
  background: #1e1e1e;
}
.profile-theme--coloured .profile-hero__cover--placeholder {
  background: linear-gradient(135deg, #f0e1c3 0%, #e6d4a3 100%);
}

.profile-hero__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
}

.profile-hero__badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 9999px;
}

.profile-hero__badge span {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Profile Info */
.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.profile-info__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid white;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.profile-info__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-info__avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ff385d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  user-select: none;
}

.profile-info__verified {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background-color: #ff385d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px white;
}

.profile-info__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  max-width: 738px;
}

.profile-info__header {
  text-align: center;
}

.profile-info__name {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.9px;
  margin: 0;
}

.profile-info__role-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #676767;
}

.profile-info__bio {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #475569;
  line-height: 28px;
  margin: 0;
}

.profile-info__status-badge {
  display: flex;
  align-items: center;
  gap: 7.5px;
  background-color: #f0fdf4;
  padding: 5px 15px;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1.25px rgba(22, 163, 74, 0.2);
}

.profile-info__status-badge span {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #15803d;
}

.status-dot {
  width: 7.5px;
  height: 7.5px;
  background-color: #16a34a;
  border-radius: 50%;
}

.profile-info__location {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  margin: 0;
}

.profile-info__specialties {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.specialty-badge {
  background-color: #f1f5f9;
  padding: 3px 9px;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  /* Keep each category name on a single line — never wrap to two lines. */
  white-space: nowrap;
}

.profile-info__socials {
  display: flex;
  gap: 24px;
}

.social-btn {
  width: 39px;
  height: 39px;
  background-color: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.social-btn:hover {
  background-color: #e2e8f0;
}

.profile-info__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
}

/* Compact pill button used on the public profile (Send Inquiry / Message /
   Edit Profile). Explicitly overrides the global .btn defaults (full-width,
   56px tall, 18px font) so the buttons size to content with tight padding. */
.btn--message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  height: 40px;
  padding: 0 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
}

/* Profile Sections */
.profile-section {
  padding: 48px 0;
}

.profile-section__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.profile-section__title--large {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

/* Equipment Grid */
.equipment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.equipment-card {
  flex: 1 1 140px;
  min-width: 0;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.equipment-card--with-icon {
  gap: 8px;
}

.equipment-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 56, 93, 0.08);
  color: #ff385d;
  border-radius: 8px;
  margin-bottom: 4px;
}

.equipment-card__icon svg {
  width: 20px;
  height: 20px;
}

.equipment-card__label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.equipment-card__value {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.equipment-card__line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.equipment-card__line-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 56, 93, 0.08);
  color: #ff385d;
  border-radius: 6px;
}

.equipment-card__line-icon svg {
  width: 14px;
  height: 14px;
}

/* Tag Filter Bar */
.tag-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.tag-filter {
  background-color: #f3f4f6;
  border: none;
  border-radius: 9999px;
  padding: 8px 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tag-filter:hover {
  background-color: #e5e7eb;
}

.tag-filter--active {
  background-color: #ff385d;
  color: white;
}

.tag-filter--active:hover {
  background-color: #e6325a;
}

/* Portfolio Subtitle */
.portfolio-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}
.portfolio-subtitle__count {
  font-size: 13px;
  font-weight: 600;
  color: #ff385d;
}

.gallery-item--hidden {
  display: none !important;
}

.review-card--hidden {
  display: none !important;
}

.portfolio-explore {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.portfolio-explore__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  border: 1.5px solid #ff385d;
  border-radius: 10px;
  color: #ff385d;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.portfolio-explore__btn:hover {
  background: #ff385d;
  color: #fff;
}

/* Gallery Item Info */
.gallery-item__info {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  gap: 6px;
  padding: 8px 2px 0;
}
.gallery-item__tag {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  min-width: 0;
}
.gallery-item__more {
  flex: 0 0 auto;
}
.gallery-item__more {
  margin-left: auto;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

/* Collection caption under each portfolio tile: name on its own line (black),
   then a single-line count like "2 Photos · 1 Video". */
.gallery-item__collection {
  padding: 8px 2px 0;
}
/* Multiple tags → individual chips on one wrapping row (not a comma string). */
.gallery-item__collection-names {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.gallery-item__collection-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
}
/* Separate adjacent chips with a subtle dot so they read as distinct tags. */
.gallery-item__collection-name + .gallery-item__collection-name::before {
  content: '·';
  margin-right: 6px;
  color: #94a3b8;
  font-weight: 600;
}
.gallery-item__collection-count {
  display: block;
  margin-top: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
}

/* Portfolio Gallery */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-item__image {
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.gallery-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item__image--stacked {
  box-shadow:
    4px 4px 0 -2px #f1f5f9,
    4px 4px 0 0 rgba(0,0,0,0.05),
    8px 8px 0 -2px #f1f5f9,
    8px 8px 0 0 rgba(0,0,0,0.05);
}

.gallery-item__video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3.5px 13px;
  border-radius: 9999px;
  font-family: 'Public Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-item__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-item__play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.05);
}

.gallery-item__tags {
  display: flex;
  gap: 4px;
}

.gallery-tag {
  background-color: #f3f4f6;
  padding: 1px 8px 3px;
  border-radius: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 10.4px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.52px;
}

.portfolio-cta {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.portfolio-cta .btn {
  padding: 16px 48px;
  box-shadow: 0 4px 14px rgba(255, 56, 93, 0.39);
}

/* Reviews Section */
.profile-section--reviews {
  padding-top: 0;
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.reviews-header .profile-section__title {
  margin-bottom: 0;
}
.reviews-header > svg {
  flex-shrink: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.review-card__text {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #334155;
  line-height: 29.25px;
  margin: 0 0 17px 0;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.review-card__info {
  display: flex;
  flex-direction: column;
}

.review-card__name {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.review-card__date {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
}

/* Footer */
.footer {
  background: #f5f0e6;
  border-top: 1px solid #e5e5e5;
  padding: 49px 0 48px;
  margin-top: 48px;
}

.footer__content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 22.75px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-icon {
  width: 24px;
  height: 24px;
  background: #ff385d;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #181012;
  letter-spacing: -0.5px;
}

.footer__tagline {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #8d5e66;
  line-height: 1.625;
  margin: 0;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__title {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #181012;
  margin: 0;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__links a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8d5e66;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #181012;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 33px;
  border-top: 1px solid #e5e5e5;
}

.footer__copyright {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #8d5e66;
  margin: 0;
}

.footer__social {
  display: flex;
  gap: 24px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.footer__social-link:hover {
  opacity: 0.7;
}

/* Preview Controls */
.preview-controls {
  max-width: 1080px;
  margin: 32px auto 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.preview-controls__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.preview-controls__back:hover {
  color: #374151;
}

.preview-controls__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.preview-controls__btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.preview-controls__actions .btn--outline {
  border: 1px solid #d1d5db;
  color: #374151;
  background: #fff;
}

.preview-controls__actions .btn--outline:hover {
  background: #f9fafb;
}

.preview-controls__actions .btn--primary {
  background: #ff385d;
  color: #fff;
  border: none;
}

.preview-controls__actions .btn--primary:hover {
  background: #e6325a;
}

/* Footer */
.profile-footer {
  background-color: #f5f0e6;
  border-top: 1px solid #e5e5e5;
  padding: 49px 0 48px;
  margin-top: 48px;
}

.profile-footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 22.75px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo__icon {
  width: 24px;
  height: 24px;
  background-color: #ff385d;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo__text {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #181012;
  letter-spacing: -0.5px;
}

.footer-brand__desc {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #8d5e66;
  line-height: 22.75px;
  margin: 0;
}

.footer-links__title {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #181012;
  margin: 0 0 24px 0;
}

.footer-links__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links__list a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8d5e66;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links__list a:hover {
  color: #ff385d;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 33px;
  border-top: 1px solid #e5e5e5;
}

.footer-copyright {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #8d5e66;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.footer-social__link:hover {
  opacity: 0.7;
}

/* Lightbox Slider */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.lightbox.active {
  display: flex;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}
.lightbox__topbar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.lightbox__close {
  position: relative;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  z-index: 10;
  transition: background 0.2s;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox__nav--prev {
  left: 20px;
}
.lightbox__nav--next {
  right: 20px;
}
.lightbox__stage {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 90vw;
  max-height: 92vh;
}
.lightbox__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-height: 0;
}
.lightbox__image,
.lightbox__video {
  display: block;
  max-width: 90vw;
  max-height: calc(92vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  background: #000;
}
.lightbox__image { transition: opacity 0.25s ease; }
.lightbox__info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: 0 4px;
}
.lightbox__collection {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}
.lightbox__tag {
  background: rgba(148, 163, 184, 0.25);
  color: #ffffff;
  padding: 4px 10px;
  border: none;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.lightbox__close svg {
  width: 14px;
  height: 14px;
}
.lightbox__counter {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}


/* Responsive */
@media (max-width: 1200px) {
  .portfolio-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .profile-header {
    padding: 16px 24px;
  }

  .profile-header__left {
    gap: 24px;
  }

  .profile-nav {
    gap: 24px;
  }

  .search-bar--large {
    width: 350px;
  }

  .portfolio-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .profile-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .profile-header__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .profile-nav {
    display: none;
  }

  .search-bar--large {
    display: none;
  }

  .profile-hero__cover {
    height: 300px;
  }

  .profile-info__avatar {
    width: 120px;
    height: 120px;
  }

  .profile-info__name {
    font-size: 28px;
  }

  .profile-info__specialties {
    flex-wrap: wrap;
  }

  .equipment-grid {
    flex-direction: column;
  }

  .portfolio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .tag-filter-bar {
    padding-right: 24px;
  }

  .footer__content {
    padding: 0 24px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .preview-controls {
    flex-direction: column;
    gap: 16px;
    margin: 24px 16px 0;
  }

  .preview-controls__actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .profile-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Hero */
  .profile-hero {
    padding-bottom: 40px;
  }

  .profile-hero__cover {
    height: 220px;
    margin-bottom: -48px;
  }

  .profile-hero__badge {
    bottom: 16px;
    left: 16px;
    padding: 3px 10px;
  }

  .profile-hero__badge span {
    font-size: 10px;
  }

  /* Avatar */
  .profile-info__avatar {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }

  .profile-info__verified {
    width: 24px;
    height: 24px;
    bottom: 4px;
    right: 4px;
    box-shadow: 0 0 0 3px white;
  }

  .profile-info__verified svg {
    width: 12px;
    height: 12px;
  }

  /* Profile Info */
  .profile-info__content {
    gap: 12px;
    padding-top: 12px;
  }

  .profile-info__name {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .profile-info__role-label {
    font-size: 14px;
  }

  .profile-info__bio {
    font-size: 14px;
    line-height: 22px;
  }

  .profile-info__status-badge {
    padding: 4px 12px;
    gap: 6px;
  }

  .profile-info__status-badge span {
    font-size: 13px;
  }

  .profile-info__location {
    font-size: 14px;
  }

  .profile-info__specialties {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .specialty-badge {
    font-size: 10px;
    padding: 2px 8px;
  }

  .profile-info__socials {
    gap: 16px;
  }

  .social-btn {
    width: 36px;
    height: 36px;
  }

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

  /* CTA Button */
  .profile-info__cta {
    padding-top: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .btn--message {
    min-width: unset;
    width: 100%;
    max-width: 280px;
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
    justify-content: center;
  }

  /* Sections */
  .profile-section {
    padding: 32px 0;
  }

  .profile-section__title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .profile-section__title--large {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
  }

  /* Equipment */
  .equipment-grid {
    flex-direction: column;
    gap: 10px;
  }

  .equipment-card {
    padding: 14px;
    border-radius: 10px;
  }

  .equipment-card__label {
    font-size: 11px;
  }

  .equipment-card__value {
    font-size: 13px;
  }

  /* Tag Filter */
  .tag-filter-bar {
    margin-bottom: 20px;
    gap: 6px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tag-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .tag-filter {
    padding: 6px 14px;
    font-size: 11px;
  }

  /* Portfolio Gallery */
  .portfolio-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item__image {
    border-radius: 8px;
  }

  .gallery-item__video-badge {
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 8px;
  }

  .gallery-item__play-btn {
    width: 40px;
    height: 40px;
  }

  .gallery-item__play-btn svg {
    width: 10px;
    height: 14px;
  }

  .gallery-tag {
    font-size: 9px;
    padding: 1px 6px 2px;
  }

  /* Reviews */
  .reviews-header {
    margin-bottom: 24px;
  }

  .reviews-header svg {
    width: 20px;
    height: 20px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .review-card__text {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 12px;
  }

  .review-card__author {
    gap: 12px;
  }

  .review-card__avatar {
    width: 40px;
    height: 40px;
  }

  .review-card__name {
    font-size: 14px;
  }

  .review-card__date {
    font-size: 12px;
  }

  /* Footer */
  .footer {
    padding: 32px 0;
    margin-top: 32px;
  }

  .footer__content {
    padding: 0 16px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .footer__tagline {
    font-size: 13px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
  }

  .profile-footer {
    padding: 32px 0;
    margin-top: 32px;
  }

  .profile-footer__container {
    padding: 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
  }

  /* Preview Controls */
  .preview-controls {
    margin: 16px 12px 0;
    padding: 16px;
    border-radius: 10px;
  }

  .preview-controls__actions {
    flex-direction: column;
    width: 100%;
  }

  .preview-controls__btn {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ===================================================================
   Portfolio Tabs (collection filter)
   =================================================================== */
.portfolio-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.portfolio-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #333;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.portfolio-tab:hover {
  border-color: #ff385d;
  color: #ff385d;
}
.portfolio-tab--active {
  background: #ff385d;
  border-color: #ff385d;
  color: #fff;
}
.portfolio-tab--active:hover {
  background: #ff385d;
  color: #fff;
}

/* ===================================================================
   Profile Themes — applied to .profile-main via .profile-theme--{key}
   =================================================================== */

/* Component surfaces (cards, badges, filter tabs, gallery tags, social btn)
   are intentionally NOT themed — they stay the same neutral light look in
   every theme. Only the page background and text-directly-on-page colors
   change per theme. */

.social-btn svg path {
  fill: #ff385d;
}

/* Dark theme — page surface + on-page text */
body:has(.profile-theme--dark) {
  background-color: #121212;
}

.profile-theme--dark .profile-info__name,
.profile-theme--dark .profile-section__title,
.profile-theme--dark .review-card__name,
.profile-theme--dark .gallery-item__collection-name {
  color: #f1f5f9;
}

.profile-theme--dark .profile-info__role-label,
.profile-theme--dark .profile-info__bio,
.profile-theme--dark .profile-info__location,
.profile-theme--dark .review-card__text,
.profile-theme--dark .review-card__date,
.profile-theme--dark .gallery-item__collection-count {
  color: #cbd5e1;
}

.profile-theme--coloured .gallery-item__collection-name {
  color: #6d5b36;
}
.profile-theme--coloured .gallery-item__collection-count {
  color: #5b4a2c;
}

/* Coloured theme — warm cream gradient page + warm text */
body:has(.profile-theme--coloured) {
  background: linear-gradient(135deg, #fdfbf7 0%, #f8efde 100%);
}

.profile-theme--coloured .profile-info__name,
.profile-theme--coloured .profile-section__title {
  color: #6d5b36;
}

.profile-theme--coloured .profile-info__bio,
.profile-theme--coloured .profile-info__location,
.profile-theme--coloured .review-card__text {
  color: #5b4a2c;
}

/* ============================================================
   Public client profile (extracted from profile/show-client.blade.php)
   ============================================================ */
.client-public-projects {
    padding: 40px 0;
}

.client-public-projects__title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.client-public-empty {
    text-align: center;
    padding: 48px 24px;
    color: #94a3b8;
    font-family: 'Manrope', sans-serif;
}

.client-public-empty h3 {
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.client-public-empty p {
    font-size: 14px;
}

/* Hero cover preset for client public profile */
.profile-hero__cover--client-gradient {
    background: linear-gradient(135deg, #ff385c 0%, #ff6b81 50%, #ff8fa3 100%);
    height: 300px;
}

/* ============================================================
   My Profile (creator/studio dashboard) — extracted from dashboard/my-profile.blade.php
   ============================================================ */
.edit-tabs {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 4px;
}
.edit-tabs__list {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.edit-tabs__list::-webkit-scrollbar { display: none; }
.edit-tabs__item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.edit-tabs__item:hover { background: rgba(248, 246, 242, 0.8); }
.edit-tabs__item--active { background: rgba(255, 56, 93, 0.1); }
.edit-tabs__item--active .edit-tabs__number { background: #ff385c; color: #fff; }
.edit-tabs__item--active .edit-tabs__label { color: #ff385c; font-weight: 700; }
.edit-tabs__number {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: 12px; font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
}
.edit-tabs__label {
    font-family: 'Manrope', sans-serif;
    font-size: 13px; font-weight: 500;
    color: #64748b;
}

.edit-tab-section { display: none; }
.edit-tab-section.tab-active { display: block; }

.edit-section-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}
.edit-section-card + .edit-section-card { margin-top: 16px; }
.edit-section-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 17px; font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
}
.edit-section-card .form-section { padding: 0; border: none; margin: 0; }
.edit-section-card .form-section__title { display: none; }

.btn--public-view {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 20px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px; font-weight: 700;
    color: #fff; border: none;
    background: #1a1a2e;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn--public-view:hover { background: #0f0f1a; }

.btn--save-sm {
    background: #ff385c; color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px; font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn--save-sm:hover { background: #e6324f; }

.alert {
    padding: 12px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 16px;
}
.alert--success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.portfolio-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-thumb__remove {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: #ff385d; color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(255, 56, 93, 0.3);
}

.danger-zone {
    padding: 24px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
}
.danger-zone h3 { font-size: 16px; font-weight: 600; color: #991b1b; margin-bottom: 8px; font-family: 'Manrope', sans-serif; }
.danger-zone p { font-size: 14px; color: #6b7280; margin-bottom: 16px; font-family: 'Inter', sans-serif; }

.btn--danger {
    background: #ef4444; color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
}
.btn--danger:hover { background: #dc2626; }

@media (max-width: 768px) {
    .edit-section-card { padding: 20px; }
}
@media (max-width: 480px) {
    .edit-section-card { padding: 16px; }
    .edit-tabs__item { padding: 6px 10px; }
    .edit-tabs__number { width: 22px; height: 22px; font-size: 11px; }
    .edit-tabs__label { font-size: 11px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
