/* Barbers page — OptionWheel + profile panel */

body.cc-page-barbers,
body.cc-page-barbers {
  background: #ffffff !important;
  color: #111111;
  overflow-x: hidden;
}

@media screen and (min-width: 901px) {
  body.cc-page-barbers,
  body.cc-page-barbers {
    overflow: hidden;
  }
}

body.cc-page-barbers .wrapper,
body.cc-page-barbers .wrapper {
  background: #ffffff;
  min-height: 100vh;
}

body.cc-page-barbers .main-wrap,
body.cc-page-barbers .main-wrap,
body.cc-page-barbers #main-content,
body.cc-page-barbers #main-content,
body.cc-page-barbers .cc-main,
body.cc-page-barbers .container,
body.cc-page-barbers .container {
  background: transparent !important;
}

body.cc-page-barbers .banner-wrap,
body.cc-page-barbers .banner-wrap,
body.cc-page-barbers .cc-main {
  display: none !important;
  background: none !important;
}

body.cc-page-barbers .footer-wrap,
body.cc-page-barbers .footer-wrap {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cc-barbers {
  min-height: calc(100vh - var(--cc-chrome-h, 84px));
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 0;
  align-items: stretch;
  background: #ffffff;
  color: #111111;
  overflow: hidden;
}

.cc-barbers__wheel {
  position: relative;
  min-height: calc(100vh - var(--cc-chrome-h, 84px));
  height: calc(100vh - var(--cc-chrome-h, 84px));
  padding: 0;
}

/* Pull the wheel focus point up so names sit higher under the nav */
.cc-barbers__wheel .option-wheel__item {
  top: 34%;
}

.cc-barbers__wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    transparent 18%,
    transparent 82%,
    #ffffff 100%
  );
  z-index: 2;
}

.cc-barbers__detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 56px 64px 24px;
  min-height: calc(100vh - var(--cc-chrome-h, 84px));
  box-sizing: border-box;
}

.cc-barbers__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f0f0f0;
  margin-top: 12px;
  border-radius: 16px;
}

.cc-barbers__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  pointer-events: none;
}

.cc-barbers__photo.is-visible {
  opacity: 1;
  z-index: 1;
}

.cc-barbers__copy {
  margin-top: 28px;
  max-width: 420px;
  position: relative;
}

.cc-barbers__name {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111111;
  line-height: 1.1;
  opacity: 0;
  transition: opacity 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.cc-barbers__name.is-visible {
  opacity: 1;
}

.cc-barbers__bio {
  margin: 0 0 24px;
  font-family: "Montserrat", "Quattrocento Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(17, 17, 17, 0.68);
  opacity: 0;
  transition: opacity 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.cc-barbers__bio.is-visible {
  opacity: 1;
}

.cc-barbers__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.35);
  padding-bottom: 4px;
  opacity: 0;
  transition: opacity 420ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms ease;
  will-change: opacity;
}

.cc-barbers__link.is-visible {
  opacity: 1;
}

.cc-barbers__link:hover {
  border-bottom-color: #111111;
}

@media screen and (max-width: 900px) {
  .cc-barbers {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cc-barbers__wheel {
    min-height: 42vh;
    height: 42vh;
  }

  .cc-barbers__detail {
    min-height: auto;
    padding: 32px 24px 56px;
    align-items: center;
    text-align: center;
  }

  .cc-barbers__photo-wrap {
    max-width: 220px;
    margin-top: 0;
  }

  .cc-barbers__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cc-barbers__bio {
    text-align: center;
  }
}
