.planner-detail-page {
  background: #fbf7f3;
}

.detail-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(55, 24, 87, 0.09);
  box-shadow: 0 5px 24px rgba(35, 16, 61, 0.05);
  backdrop-filter: blur(14px);
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.detail-brand {
  display: flex;
  width: 165px;
  height: 62px;
  overflow: hidden;
  align-items: center;
}

.detail-brand img {
  width: 100%;
  height: auto;
}

.detail-nav__actions,
.detail-back {
  display: flex;
  align-items: center;
}

.detail-nav__actions {
  gap: 27px;
}

.detail-back {
  gap: 8px;
  color: #655b6d;
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.detail-back svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 0.2s ease;
}

.detail-back:hover {
  color: var(--orange-600);
}

.detail-back:hover svg {
  transform: translateX(-3px);
}

.detail-hero {
  position: relative;
  height: 520px;
  overflow: visible;
  color: var(--white);
  background: var(--plum-950);
  isolation: isolate;
}

.detail-hero__image,
.detail-hero__overlay {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  inset: 0;
}

.detail-hero__image {
  object-fit: cover;
  object-position: center 48%;
}

.detail-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 7, 50, 0.94), rgba(35, 11, 66, 0.73) 50%, rgba(22, 7, 44, 0.28)),
    linear-gradient(0deg, rgba(20, 6, 42, 0.7), transparent 55%);
}

.detail-hero__inner {
  position: relative;
  height: 100%;
}

.breadcrumbs {
  position: absolute;
  top: 29px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  font-weight: 650;
}

.breadcrumbs a {
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #ffad68;
}

.breadcrumbs span:last-child {
  max-width: 200px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-hero__content {
  position: absolute;
  bottom: 68px;
  left: 0;
  max-width: 720px;
}

.detail-category {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 17px;
  color: #ffd2a9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  backdrop-filter: blur(9px);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-hero h1 {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 6.5vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.detail-studio {
  margin-bottom: 21px;
  color: #ffb16e;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-style: italic;
}

.detail-hero__meta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.detail-hero__meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.detail-hero__meta > span + span {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.detail-hero__meta svg {
  width: 16px;
  fill: none;
  stroke: #ffaf6c;
  stroke-width: 1.5;
}

.detail-hero__meta b {
  font-weight: 650;
}

.detail-rating i {
  color: var(--gold);
  font-size: 0.74rem;
  font-style: normal;
  letter-spacing: 0.04em;
}

.detail-rating strong {
  color: var(--white);
  font-size: 0.78rem;
}

.detail-hero__portrait {
  position: absolute;
  right: 20px;
  bottom: -71px;
  display: flex;
  width: 205px;
  flex-direction: column;
  align-items: center;
}

.detail-hero__portrait img {
  width: 154px;
  height: 154px;
  object-fit: cover;
  background: #e9dce8;
  border: 6px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 17px 44px rgba(20, 7, 41, 0.26);
}

.detail-hero__portrait > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  margin-top: -11px;
  color: var(--plum-800);
  background: var(--white);
  border: 1px solid rgba(79, 36, 134, 0.12);
  border-radius: 99px;
  box-shadow: 0 7px 17px rgba(35, 16, 61, 0.12);
  font-size: 0.61rem;
  font-weight: 750;
}

.detail-hero__portrait i {
  display: grid;
  width: 15px;
  height: 15px;
  color: var(--white);
  background: var(--plum-700);
  border-radius: 50%;
  font-size: 0.55rem;
  font-style: normal;
  place-items: center;
}

.detail-content {
  padding: 126px 0 100px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 28px;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.detail-panel,
.sidebar-card {
  background: var(--white);
  border: 1px solid rgba(79, 36, 134, 0.1);
  border-radius: 19px;
  box-shadow: 0 10px 35px rgba(35, 16, 61, 0.055);
}

.detail-panel {
  padding: 36px;
}

.detail-eyebrow {
  margin-bottom: 10px;
  color: var(--orange-600);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-panel h2 {
  margin-bottom: 18px;
  color: var(--plum-950);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.detail-panel h2 em {
  color: var(--orange-600);
  font-weight: 500;
}

.detail-about h2 {
  max-width: 580px;
}

#plannerBio {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.8;
}

#plannerBio p:last-child {
  margin-bottom: 0;
}

.detail-panel__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.detail-panel__heading h2,
.detail-panel__heading p {
  margin-bottom: 0;
}

.detail-panel__heading > span {
  padding: 6px 10px;
  color: var(--plum-700);
  background: var(--plum-100);
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 750;
  white-space: nowrap;
}

.detail-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-service {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 12px;
  min-height: 105px;
  padding: 16px;
  background: #fcf9fc;
  border: 1px solid #ede5ee;
  border-radius: 12px;
}

.detail-service__number {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  place-items: center;
}

.detail-service h3 {
  margin-bottom: 4px;
  color: var(--plum-900);
  font-size: 0.83rem;
}

.detail-service p {
  margin: 0;
  color: #817786;
  font-size: 0.69rem;
  line-height: 1.5;
}

.detail-packages__intro {
  max-width: 650px;
  margin: -7px 0 25px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.package-selection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  align-items: start;
  gap: 17px;
}

.package-cards {
  display: grid;
  gap: 14px;
}

.package-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  background: #fffdfb;
  border: 1px solid #e9e0e9;
  border-radius: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.package-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--orange-500), var(--red-500));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.package-card:hover {
  border-color: rgba(79, 36, 134, 0.24);
  box-shadow: 0 13px 30px rgba(35, 16, 61, 0.09);
  transform: translateY(-2px);
}

.package-card.is-selected {
  background: linear-gradient(135deg, #fffaf5, #fbf7ff);
  border-color: rgba(79, 36, 134, 0.43);
  box-shadow: 0 15px 35px rgba(35, 16, 61, 0.11);
}

.package-card.is-selected::before {
  opacity: 1;
}

.package-card__badge {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 5px 8px;
  color: #9c4012;
  background: #ffebd7;
  border-radius: 99px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.package-card__name-label {
  margin-bottom: 4px;
  color: var(--orange-600);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-card h3 {
  padding-right: 72px;
  margin-bottom: 4px;
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
}

.package-card__summary {
  margin-bottom: 17px;
  color: #837987;
  font-size: 0.68rem;
}

.package-card__features > p {
  margin-bottom: 8px;
  color: #625768;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card__features ul,
.selected-package-preview ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.package-card__features li,
.selected-package-preview li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #716674;
  font-size: 0.65rem;
  line-height: 1.4;
}

.package-card__features li span,
.selected-package-preview li span {
  display: grid;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--green);
  background: #eaf7f0;
  border-radius: 50%;
  font-size: 0.5rem;
  font-weight: 900;
  place-items: center;
}

.package-card__pricing {
  display: flex;
  align-items: flex-end;
  gap: 23px;
  padding: 15px 0;
  margin-top: 17px;
  border-top: 1px solid #eee6ee;
}

.package-card__pricing p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.package-card__pricing small {
  color: #9a909d;
  font-size: 0.53rem;
  font-weight: 650;
}

.package-card__pricing del {
  color: #968b99;
  font-size: 0.76rem;
}

.package-card__pricing strong {
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1;
}

.package-card .package-select {
  min-height: 42px;
  font-size: 0.7rem;
}

.package-card.is-selected .package-select {
  color: var(--white);
  background: var(--plum-800);
  border-color: var(--plum-800);
}

.selected-package-preview {
  position: sticky;
  top: 102px;
  min-width: 0;
  min-height: 275px;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(155deg, #261050, #3e1b70);
  border-radius: 15px;
  box-shadow: 0 17px 38px rgba(30, 10, 58, 0.2);
}

.selected-package-preview::after {
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 145px;
  height: 145px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255, 255, 255, 0.025), 0 0 0 50px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.selected-package-preview__empty {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 235px;
  color: rgba(255, 255, 255, 0.62);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.selected-package-preview__empty > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 15px;
  color: #ffb16e;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  place-items: center;
}

.selected-package-preview__empty h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.selected-package-preview__empty p {
  max-width: 180px;
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.55;
}

.selected-package-preview__eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: #ffbf87;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selected-package-preview__eyebrow span {
  display: grid;
  width: 17px;
  height: 17px;
  color: var(--plum-900);
  background: #ffb16e;
  border-radius: 50%;
  font-size: 0.5rem;
  place-items: center;
}

.selected-planner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.selected-planner img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.selected-planner strong,
.selected-planner span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-planner strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.selected-planner span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.54rem;
}

.selected-package-preview__details {
  position: relative;
  z-index: 1;
  padding: 17px 0 16px;
}

.selected-package-preview__details > small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.53rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-package-preview__details h3 {
  margin: 2px 0 3px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.15;
}

.selected-package-preview__details > p {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.6rem;
  line-height: 1.45;
}

.selected-package-preview li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.57rem;
}

.selected-package-preview li span {
  color: #ffb16e;
  background: rgba(255, 255, 255, 0.08);
}

.selected-package-preview__price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0 8px;
  padding-top: 14px;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.selected-package-preview__price span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.54rem;
}

.selected-package-preview__price strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: #ffb16e;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.selected-package-preview__price del {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
}

.selected-package-preview > .button {
  position: relative;
  z-index: 1;
  min-height: 43px;
  padding-inline: 13px;
  font-size: 0.64rem;
}

.selected-package-preview__note {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.5rem;
  text-align: center;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 145px;
  gap: 9px;
}

.gallery-item {
  grid-column: span 2;
  margin: 0;
  overflow: hidden;
  border-radius: 11px;
}

.gallery-item--1 {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--plum-900);
  border: 0;
  text-align: left;
}

.gallery-item button::after {
  position: absolute;
  content: "";
  background: linear-gradient(0deg, rgba(26, 7, 52, 0.7), transparent 55%);
  opacity: 0.88;
  inset: 0;
  transition: opacity 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.35s ease;
}

.gallery-item span {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 11px;
  left: 12px;
  overflow: hidden;
  font-size: 0.59rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-item button:hover img {
  filter: saturate(1.08);
  transform: scale(1.05);
}

.gallery-item button:hover::after {
  opacity: 1;
}

.gallery-lightbox {
  width: min(calc(100% - 32px), 980px);
  max-height: calc(100vh - 44px);
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #160733;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 35px 110px rgba(20, 5, 43, 0.55);
}

.gallery-lightbox[open] {
  animation: galleryIn 0.25s var(--ease) both;
}

@keyframes galleryIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gallery-lightbox::backdrop {
  background: rgba(16, 4, 35, 0.84);
  backdrop-filter: blur(7px);
}

.gallery-lightbox img {
  width: 100%;
  max-height: calc(100vh - 115px);
  object-fit: contain;
}

.gallery-lightbox p {
  min-height: 52px;
  padding: 15px 65px 15px 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.gallery-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  display: grid;
  width: 37px;
  height: 37px;
  padding: 0;
  color: var(--white);
  background: rgba(21, 5, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  font-size: 1.3rem;
  line-height: 1;
  place-items: center;
}

.rating-overview {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 30px;
  padding: 23px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff8f1, #f8f1fa);
  border: 1px solid #eee3e7;
  border-radius: 14px;
}

.rating-overview__score {
  text-align: center;
}

.rating-overview__score strong {
  display: block;
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
}

.rating-overview__score > span {
  display: block;
  margin: 8px 0 6px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.rating-overview__score p {
  margin: 0;
  color: #8c828f;
  font-size: 0.62rem;
}

.rating-bars {
  display: grid;
  gap: 6px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 42px 1fr 33px;
  align-items: center;
  gap: 9px;
  color: #827987;
  font-size: 0.62rem;
}

.rating-bar__track {
  height: 6px;
  overflow: hidden;
  background: #e6dde8;
  border-radius: 99px;
}

.rating-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange-500), var(--red-500));
  border-radius: inherit;
}

.rating-bar b {
  font-weight: 650;
  text-align: right;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-card {
  padding: 20px;
  border: 1px solid #ece4ed;
  border-radius: 12px;
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--plum-700), var(--orange-500));
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  place-items: center;
}

.reviewer strong {
  display: block;
  color: var(--plum-900);
  font-size: 0.75rem;
}

.reviewer small {
  display: block;
  color: #918794;
  font-size: 0.6rem;
}

.review-card__rating {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.review-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-style: italic;
  line-height: 1.6;
}

.planner-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 17px;
}

.sidebar-card {
  padding: 25px;
}

.sidebar-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.sidebar-card__heading p {
  margin: 0;
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
}

.sidebar-card__heading > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 0.61rem;
  font-weight: 750;
}

.sidebar-card__heading i {
  display: grid;
  width: 14px;
  height: 14px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.51rem;
  font-style: normal;
  place-items: center;
}

.planner-facts {
  margin: 8px 0 22px;
}

.planner-facts > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #f0eaf0;
}

.planner-facts dt {
  color: #908693;
  font-size: 0.66rem;
}

.planner-facts dd {
  max-width: 155px;
  margin: 0;
  color: var(--plum-900);
  font-size: 0.68rem;
  font-weight: 750;
  text-align: right;
}

.sidebar-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 11px 0 0;
  color: #918793;
  font-size: 0.58rem;
}

.sidebar-card__note span {
  width: 6px;
  height: 6px;
  background: #3eba7b;
  border-radius: 50%;
}

.sidebar-card--promise {
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: start;
  gap: 13px;
  padding: 19px;
  background: var(--plum-900);
}

.promise-icon {
  display: grid;
  width: 42px;
  height: 42px;
  color: #ffaf69;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  place-items: center;
}

.promise-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.sidebar-card--promise h3 {
  margin-bottom: 3px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.sidebar-card--promise p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  line-height: 1.5;
}

.detail-cta {
  padding: 65px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(244, 122, 32, 0.28), transparent 28%),
    linear-gradient(140deg, var(--plum-950), var(--plum-700));
}

.detail-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.detail-cta p {
  margin-bottom: 4px;
  color: #ffb06c;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail-cta h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.detail-page-footer .brand--footer {
  flex-shrink: 0;
}

.detail-page-footer .brand--footer img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.detail-loading .detail-hero__content,
.detail-loading .detail-hero__portrait,
.detail-loading .detail-main,
.detail-loading .planner-sidebar {
  opacity: 0;
}

.detail-ready .detail-hero__content,
.detail-ready .detail-hero__portrait,
.detail-ready .detail-main,
.detail-ready .planner-sidebar {
  animation: detailReveal 0.55s var(--ease) both;
}

.detail-ready .detail-hero__portrait {
  animation-delay: 0.08s;
}

.detail-ready .detail-main,
.detail-ready .planner-sidebar {
  animation-delay: 0.12s;
}

@keyframes detailReveal {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .planner-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .detail-hero__portrait {
    right: 0;
  }

  .package-selection-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 680px) {
  .detail-content {
    overflow-x: hidden;
  }

  .detail-layout,
  .detail-main,
  .detail-panel,
  .review-card,
  .reviewer,
  .reviewer > div {
    min-width: 0;
  }

  .detail-header {
    height: 70px;
  }

  .detail-brand {
    width: 138px;
    height: 54px;
  }

  .detail-nav__actions .button {
    display: none;
  }

  .detail-back {
    font-size: 0.68rem;
  }

  .detail-hero {
    height: 585px;
  }

  .breadcrumbs {
    top: 22px;
    width: 100%;
  }

  .breadcrumbs a:first-child,
  .breadcrumbs a:first-child + span {
    display: none;
  }

  .detail-hero__content {
    right: 0;
    bottom: 112px;
  }

  .detail-hero h1 {
    max-width: 330px;
    font-size: clamp(3.4rem, 16vw, 4.4rem);
  }

  .detail-hero__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .detail-hero__meta > span + span {
    padding-left: 0;
    border-left: 0;
  }

  .detail-hero__portrait {
    right: 4px;
    bottom: -54px;
    width: 125px;
  }

  .detail-hero__portrait img {
    width: 105px;
    height: 105px;
    border-width: 4px;
  }

  .detail-hero__portrait > span {
    padding: 5px 8px;
    font-size: 0.52rem;
  }

  .detail-content {
    padding: 89px 0 72px;
  }

  .detail-panel {
    padding: 24px 20px;
  }

  .detail-services__grid {
    grid-template-columns: 1fr;
  }

  .package-selection-layout {
    grid-template-columns: 1fr;
  }

  .selected-package-preview {
    position: static;
  }

  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 145px;
  }

  .gallery-item,
  .gallery-item--1 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item--1 {
    grid-column: 1 / -1;
    height: 235px;
  }

  .rating-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .planner-sidebar {
    grid-template-columns: 1fr;
  }

  .detail-panel__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .detail-panel__heading > span {
    max-width: 100%;
    white-space: normal;
  }

  .review-card__top {
    align-items: flex-start;
  }

  .detail-cta {
    padding: 52px 0;
  }

  .detail-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  .detail-ready .detail-hero__content,
  .detail-ready .detail-hero__portrait,
  .detail-ready .detail-main,
  .detail-ready .planner-sidebar {
    animation: none;
  }

  .gallery-lightbox[open] {
    animation: none;
  }
}
