/* Add-on styles only. Keep the existing css/styles.css unchanged. */
.page-our-events {
  --sidebar: 244px;
  --header: 90px;
  --content-gap: 26px;
}
.page-our-events .main-content {
  padding: 0 27px 40px var(--content-gap);
}
.page-our-events .sidebar {
  padding-top: 16px;
}
.page-our-events .navigation {
  gap: 18px;
}
.page-our-events .page-heading {
  padding-left: 0;
}
.page-our-events .page-heading h1 {
  font: 600 28px/34px Georgia, "Times New Roman", serif;
}
.page-our-events .page-heading p {
  margin-top: 3px;
  line-height: 22px;
}
.showcase-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 27px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: thin;
}
.showcase-filter {
  flex: 0 0 auto;
  min-width: 67px;
  min-height: 34px;
  padding: 5px 19px;
  border: 1px solid #e2dacd;
  border-radius: 22px;
  background: transparent;
  color: #423a2e;
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
}
.showcase-filter.is-active {
  background: #9a896e;
  border-color: #9a896e;
  color: #fff9ed;
}
.showcase-filter:hover:not(.is-active) {
  background: #eee7db;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px;
}
.showcase-card {
  min-width: 0;
}
.showcase-photo {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
  background: #ded3c0;
}
.showcase-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .2s ease;
}
.showcase-photo:hover img {
  transform: scale(1.025);
}
.showcase-card h2 {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
}
.showcase-card > p {
  margin-top: 3px;
  color: #8a8172;
  font-size: 14px;
  line-height: 21px;
}
.showcase-lightbox-image {
  width: 100%;
  max-height: 60svh;
  height: auto;
  object-fit: contain;
  border-radius: 7px;
}
.showcase-lightbox-city {
  color: var(--muted);
}

/* Profile page matches the supplied contact / payment / quick-info layout. */
.page-profile {
  --body-top: 26px;
  --body-right: 28px;
  --body-bottom: 26px;
  --body-left: 28px;
  --sidebar: 257px;
  --header: 96px;
  --content-gap: 18px;
}
.page-profile .main-content {
  padding: 0 30px 29px var(--content-gap);
}
.page-profile .sidebar {
  padding-top: 16px;
}
.page-profile .navigation {
  gap: 18px;
}
.page-profile .client-profile-heading {
  padding-left: 17px;
}
.page-profile .client-profile-heading h1 {
  font: 600 30px/36px var(--font);
}
.profile-contact-card {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 26px;
  min-height: 188px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid #ded7cb;
  border-radius: 9px;
  background: #fbf8f13b;
}
.client-profile-photo {
  width: 104px;
  height: 104px;
  align-self: start;
  border: 6px solid #ece4d7;
  border-radius: 50%;
  object-fit: cover;
}
.profile-contact-details {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.profile-phone,
.profile-contact-line {
  font-size: 16px;
  line-height: 23px;
  overflow-wrap: anywhere;
}
.profile-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-contact-line .icon {
  width: 18px;
  height: 18px;
  color: #655a48;
}
.profile-contact-line > span {
  min-width: 0;
}
.profile-edit-button {
  align-self: start;
  min-height: 35px;
  margin-top: 27px;
  border: 1px solid #e0d6c6;
  border-radius: 8px;
  background: #f4eee4;
  font-size: 15px;
}
.profile-edit-button:hover,
.payment-history-button:hover {
  background: #e9dfcf;
}
.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-top: 14px;
}
.profile-summary-card {
  min-width: 0;
  min-height: 323px;
  padding: 18px 23px 24px;
  border: 1px solid #ded7cb;
  border-radius: 9px;
  background: #fbf8f13b;
}
.profile-summary-card h2 {
  font-size: 21px;
  font-weight: 500;
  line-height: 29px;
}
.payment-summary-list,
.quick-info-list {
  margin: 17px 0 0;
}
.payment-summary-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 61px;
  border-bottom: 1px solid #ece6dc;
}
.payment-summary-list > div:last-child {
  border: 0;
}
.payment-summary-list dt {
  font-size: 16px;
  line-height: 23px;
}
.payment-summary-list dd {
  flex-shrink: 0;
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.payment-history-button {
  width: 100%;
  min-height: 45px;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eae2d6;
  font-size: 16px;
}
.quick-info-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 59px;
}
.quick-info-list dt {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  line-height: 22px;
}
.quick-info-list .icon {
  width: 21px;
  height: 21px;
  color: #655a48;
}
.quick-info-list dd {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}
.profile-edit-form {
  display: grid;
  gap: 14px;
}
.profile-edit-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.profile-edit-form input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
}
.profile-edit-form .primary-button {
  justify-self: start;
}
.profile-payment-dialog-list {
  margin-block: 0 16px;
}

@media (min-width: 681px) and (max-width: 960px) {
  .page-our-events .main-content,
  .page-profile .main-content {
    padding-inline: 18px;
  }
  .page-our-events .navigation,
  .page-profile .navigation {
    gap: 11px;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }
  .profile-contact-card {
    grid-template-columns: 95px minmax(0, 1fr) 64px;
    gap: 14px;
    padding-inline: 18px;
  }
  .client-profile-photo {
    width: 88px;
    height: 88px;
  }
  .profile-phone,
  .profile-contact-line {
    font-size: 14px;
  }
  .profile-summary-grid {
    grid-template-columns: 1fr;
  }
  .profile-summary-card {
    min-height: 0;
  }
}
@media (max-width: 680px) {
  .page-our-events .main-content,
  .page-profile .main-content {
    padding: 0 16px 24px;
  }
  .page-our-events .sidebar,
  .page-profile .sidebar {
    padding-top: 7px;
  }
  .page-our-events .navigation,
  .page-profile .navigation {
    gap: 4px;
  }
  .page-our-events .page-heading h1,
  .page-profile .client-profile-heading h1 {
    font-size: 26px;
    line-height: 33px;
  }
  .page-profile .client-profile-heading {
    padding-left: 0;
  }
  .showcase-filters {
    margin: 18px 0 20px;
    gap: 8px;
  }
  .showcase-filter {
    min-width: 57px;
    padding-inline: 15px;
    font-size: 13px;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .showcase-card h2 {
    font-size: 14px;
    margin-top: 8px;
  }
  .showcase-card > p {
    font-size: 12px;
  }
  .profile-contact-card {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    margin-top: 20px;
    padding: 19px;
  }
  .client-profile-photo {
    width: 80px;
    height: 80px;
    grid-column: 1;
    grid-row: 1;
  }
  .profile-contact-details {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 11px;
  }
  .profile-edit-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 72px;
    margin-top: 0;
  }
  .profile-summary-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .profile-summary-card {
    min-height: 0;
    padding: 18px 20px 22px;
  }
  .profile-summary-card h2 {
    font-size: 20px;
  }
  .payment-summary-list dd {
    font-size: 20px;
  }
}
@media (max-width: 380px) {
  .page-our-events .main-content,
  .page-profile .main-content {
    padding-inline: 12px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .profile-summary-card {
    padding-inline: 16px;
  }
  .payment-summary-list dt,
  .quick-info-list dt {
    font-size: 14px;
  }
  .payment-summary-list dd {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-photo img {
    transition: none;
  }
}
