:root {
  --gold: #c9955a;
  --gold-light: #e8b87d;
  --gold-pale: #f5dfc0;
  --cream: #fdf8f2;
  --warm-white: #fffcf8;
  --text-dark: #2a1f14;
  --text-mid: #6b5440;
  --text-soft: #a08060;

  --dark-base: #140e08;
  --dark-surface: #1e1510;
  --dark-border: rgba(201, 149, 90, 0.18);

  --navy: #1a0d40;
  --navy-mid: #3d2a7a;
  --navy-soft: #6b55a0;
}
.cp-apply__hint--warning {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: #92620a;
  background: rgba(201, 149, 90, 0.1);
  border: 1px solid rgba(201, 149, 90, 0.3);
  padding: 0.6rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.4;
}

.cp-apply__hint--warning i {
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--gold);
}

.cp-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
}

.cp-loader__ring {
  width: 56px;
  height: 56px;
  position: relative;

}

.cp-loader__ring::before,
.cp-loader__ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.cp-loader__ring::before {
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: cp-spin 0.9s linear infinite;
}

.cp-loader__ring::after {
  border: 3px solid var(--gold-pale);
  opacity: 0.5;
}

.cp-loader__text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

@keyframes cp-spin {
  to { transform: rotate(360deg); }
}

/* Public error screen */
.cp-public-error {
  min-height: calc(100vh - 64px - 280px); /* subtract your nav height + rough footer height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  margin: 2rem 0;
}

.cp-public-error__icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1.75rem;
}

.cp-public-error__title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.cp-public-error__message {
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--text-mid);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cp-public-error__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background: var(--text-dark);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
}
.cp-public-error__action:hover {
  background: var(--gold);
}

@media (max-width: 600px) {
  .cp-public-error { padding: 3rem 1.25rem; }
  .cp-public-error__icon { width: 68px; height: 68px; font-size: 1.6rem; }
}


.ps-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(253, 248, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 149, 90, 0.2);
  animation: ps-slideDown 0.5s ease both;
}

@keyframes ps-slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ps-navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ── Brand ── */
.ps-navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.ps-navbar__brand-icon {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.ps-navbar__brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-navbar__wordmark {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ps-navbar__wordmark em {
  color: var(--gold);
  font-style: italic;
}

/* ── Collapse wrapper ── */
.ps-navbar__collapse {
  display: flex;
  align-items: center;
}

/* ── Nav list ── */
.ps-navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-navbar__item {
  position: relative;
}

/* ── Nav links ── */
.ps-navbar__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

/* Animated underline */
.ps-navbar__link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.ps-navbar__link i {
  font-size: 0.78rem;
  opacity: 0.65;
}

.ps-navbar__link:hover {
  color: var(--text-dark);
}
.ps-navbar__link:hover::after {
  transform: scaleX(1);
}

.ps-navbar__link.active {
  color: var(--gold);
}
.ps-navbar__link.active::after {
  transform: scaleX(1);
}

/* ── Notification badge ── */
.ps-navbar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c0392b;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  margin-left: 0.15rem;
  animation: ps-badgePulse 2.5s ease infinite;
}
@keyframes ps-badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

/* ── Divider ── */
.ps-navbar__divider {
  width: 1px;
  height: 20px;
  background: rgba(201, 149, 90, 0.25);
  margin: 0 0.5rem;
  flex-shrink: 0;
}

/* ── Account CTA ── */
.ps-navbar__link--account {
  background: var(--text-dark);
  color: var(--warm-white) !important;
  padding: 0.45rem 1.1rem;
  clip-path: polygon(
    0 0,
    calc(100% - 7px) 0,
    100% 7px,
    100% 100%,
    7px 100%,
    0 calc(100% - 7px)
  );
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}
.ps-navbar__link--account::after {
  display: none;
}
.ps-navbar__link--account i {
  opacity: 1;
}
.ps-navbar__link--account:hover {
  background: var(--gold);
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── Mobile toggle ── */
.ps-navbar__toggler {
  display: none;
  background: none;
  border: 1px solid rgba(201, 149, 90, 0.4);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.ps-navbar__toggler:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .ps-navbar__toggler {
    display: block;
  }

  .ps-navbar__collapse {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid rgba(201, 149, 90, 0.2);
    padding: 1rem 2rem 1.5rem;
    box-shadow: 0 8px 24px rgba(42, 31, 20, 0.08);
  }
  .ps-navbar__collapse.open {
    display: block;
  }

  .ps-navbar__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
  }

  .ps-navbar__divider {
    display: none;
  }

  .ps-navbar__link--account {
    margin-top: 0.5rem;
    clip-path: none;
    width: 100%;
    justify-content: center;
  }
}

/* ── Dropdown ── */
.ps-navbar__dropdown {
  position: relative;
}

.ps-navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.ps-navbar__dropdown-toggle:hover {
  color: var(--text-dark);
}

.ps-navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.25);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(42, 31, 20, 0.1);
  min-width: 160px;
  padding: 0.5rem 0;
  z-index: 1060;
  margin-top: 8px;
}

.ps-navbar__dropdown-menu.show {
  display: block;
}

.ps-navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.ps-navbar__dropdown-item:hover {
  background: rgba(201, 149, 90, 0.08);
  color: var(--text-dark);
}

/* Mobile adjustments */
@media (max-width: 820px) {
  .ps-navbar__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.3rem 0 0.3rem 1rem;
  }
}

/* ── Category Header ── */
.cp-catheader {
  background: var(--warm-white);
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
}

.cp-catheader__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
}
.cp-catheader__inner::-webkit-scrollbar {
  display: none;
}

.cp-cat-link {
  flex-shrink: 0;
  padding: 0.6rem 0.9rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.cp-cat-link:hover {
  color: var(--text-dark);
}
.cp-cat-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (max-width: 820px) {
  .cp-catheader__inner {
    padding: 0 1rem;
    gap: 0.15rem;
  }
  .cp-cat-link {
    padding: 0.55rem 0.7rem;
    font-size: 0.7rem;
  }
}

/* ── Hero Section ── */
.cp-hero {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: flex;
  gap: 1.25rem;
}

/* Main carousel */
.cp-hero__main {
  flex: 2;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.cp-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 3rem;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.cp-hero__slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.cp-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slide-bg, linear-gradient(135deg, var(--navy), var(--navy-mid)));
  z-index: -1;
}

.cp-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,14,8,0.72) 0%, rgba(20,14,8,0.35) 55%, transparent 100%);
  z-index: -1;
}

.cp-hero__eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.cp-hero__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.cp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--gold);
  color: var(--dark-base);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: background 0.2s ease, transform 0.15s ease;
}
.cp-hero__cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Arrows */
.cp-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253, 248, 242, 0.15);
  border: none;
  color: var(--warm-white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
  z-index: 2;
}
.cp-hero__arrow:hover {
  background: rgba(253, 248, 242, 0.3);
}
.cp-hero__arrow--prev { left: 1rem; }
.cp-hero__arrow--next { right: 1rem; }

/* Dots */
.cp-hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 3rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.cp-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(253, 248, 242, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cp-hero__dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Side cards */
.cp-hero__side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cp-hero__card {
  position: relative;
  flex: 1;
  min-height: 200px;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.cp-hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-bg);
}
.cp-hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,14,8,0.6) 0%, transparent 60%);
}

.cp-hero__card-label {
  position: relative;
  z-index: 1;
  margin: 1rem;
  padding: 0.5rem 0.9rem;
  background: var(--warm-white);
  color: var(--text-dark);
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  .cp-hero {
    flex-direction: column;
    padding: 0 1rem;
  }
  .cp-hero__main {
    min-height: 320px;
  }
  .cp-hero__side {
    flex-direction: row;
  }
  .cp-hero__card {
    min-height: 140px;
  }
  .cp-hero__title {
    font-size: 1.4rem;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .cp-hero__side {
    flex-direction: column;
  }
}

.cp-register {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── Left: story panel ── */
.cp-register__story {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--warm-white);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-register__story-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.cp-register__story-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 420px;
}

.cp-register__story-body {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 252, 248, 0.8);
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.cp-register__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 420px;
}

.cp-register__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(253, 248, 242, 0.12);
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 252, 248, 0.9);
}

.cp-register__benefits li:last-child {
  border-bottom: 1px solid rgba(253, 248, 242, 0.12);
}

.cp-register__benefits i {
  color: var(--gold-light);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.cp-register__benefits strong {
  display: block;
  color: var(--warm-white);
  margin-bottom: 0.15rem;
}

/* ── Right: form panel ── */
.cp-register__formside {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--warm-white);
}

.cp-register__card {
  width: 100%;
  max-width: 420px;
}

.cp-register__header {
  margin-bottom: 2rem;
}

.cp-register__title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.cp-register__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
}

.cp-register__alert {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: #c0392b;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 3px;
}

.cp-register__field {
  margin-bottom: 1.25rem;
}

.cp-register__field label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}

.req { color: #c0392b; }

.cp-register__optional {
  text-transform: none;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0;
}

.cp-register__field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}

.cp-register__field input:focus {
  outline: none;
  border-color: var(--gold);
}

.cp-register__field input.invalid {
  border-color: #c0392b;
}

.cp-register__password-wrap { position: relative; }

.cp-register__toggle-pw {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
}

.cp-register__hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 0.3rem;
}

.cp-register__error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.3rem;
  min-height: 1em;
}

.cp-register__submit {
  width: 100%;
  padding: 0.8rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
  margin-top: 0.5rem;
}

.cp-register__submit:hover { background: var(--gold); }
.cp-register__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.cp-register__footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 1.5rem;
}

.cp-register__footer a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .cp-register {
    grid-template-columns: 1fr;
  }
  .cp-register__story {
    padding: 3rem 1.75rem;
  }
  .cp-register__story-title { font-size: 1.6rem; }
  .cp-register__formside {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 500px) {
  .cp-register__story { padding: 2.5rem 1.25rem; }
  .cp-register__formside { padding: 2rem 1.25rem; }
}


.cp-login {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── Left: story panel ── */
.cp-login__story {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--warm-white);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-login__story-eyecon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 2rem;
}

.cp-login__story-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  max-width: 380px;
}

.cp-login__story-body {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 252, 248, 0.8);
  max-width: 380px;
}

/* ── Right: form panel ── */
.cp-login__formside {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--warm-white);
}

.cp-login__card {
  width: 100%;
  max-width: 400px;
}

.cp-login__header {
  margin-bottom: 2rem;
}

.cp-login__title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.cp-login__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
}

.cp-login__alert {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: #c0392b;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 3px;
}

.cp-login__field {
  margin-bottom: 1.25rem;
}

.cp-login__field label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}

.req { color: #c0392b; }

.cp-login__field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}

.cp-login__field input:focus {
  outline: none;
  border-color: var(--gold);
}

.cp-login__field input.invalid {
  border-color: #c0392b;
}

.cp-login__password-wrap { position: relative; }

.cp-login__toggle-pw {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
}

.cp-login__error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.3rem;
  min-height: 1em;
}

.cp-login__row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.cp-login__forgot {
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.cp-login__submit {
  width: 100%;
  padding: 0.8rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
}

.cp-login__submit:hover { background: var(--gold); }
.cp-login__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.cp-login__footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 1.5rem;
}

.cp-login__footer a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .cp-login {
    grid-template-columns: 1fr;
  }
  .cp-login__story {
    padding: 3rem 1.75rem;
  }
  .cp-login__story-title { font-size: 1.6rem; }
  .cp-login__formside {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 500px) {
  .cp-login__story { padding: 2.5rem 1.25rem; }
  .cp-login__formside { padding: 2rem 1.25rem; }
}


.cp-error {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  text-align: center;
}

.cp-error__img {
  width: 320px;
  max-width: 100%;
  display: block;
  margin: 0 auto 2rem;
}

.cp-error__text {
  font-family: "DM Sans", sans-serif;
  color: var(--text-mid);
  font-size: 1.35rem;
  line-height: 1.8;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cp-error {
    padding: 1.5rem;
    margin: 2rem auto;
  }

  .cp-error__img {
    width: 220px;
  }

  .cp-error__text {
    font-size: 1.1rem;
  }
}



.cp-dash {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

.cp-dash__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.cp-dash__welcome {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0;
}

.cp-dash__welcome i {
  color: var(--gold);
  margin-right: 10px;
}

.cp-dash__upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: var(--text-dark);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease;
}
.cp-dash__upload-btn:hover {
  background: var(--gold);
  color: var(--warm-white);
}

.cp-dash__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.cp-stat {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  padding: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cp-stat:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.cp-stat__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.cp-stat__value {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.cp-stat__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.cp-dash__header--creator {
  display: block;
}

.cp-dash__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cp-dash__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-pale);
  flex-shrink: 0;
}

.cp-dash__username {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}

.cp-dash__section-title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 2.5rem 0 1rem;
}

.cp-dash__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.cp-action {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  padding: 1.5rem;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cp-action:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.cp-action__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.cp-action__label {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.cp-action__sub {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-soft);
}

@media (max-width: 600px) {
  .cp-dash__header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cp-dash__upload-btn {
    justify-content: center;
  }
}


.cp-apply {
  max-width: 640px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.cp-apply__header {
  text-align: center;
  margin-bottom: 2rem;
}

.cp-apply__title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.cp-apply__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
}

.cp-apply__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cp-apply__field {
  margin-bottom: 1.25rem;
}

.cp-apply__field label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}

.req { color: #c0392b; }

.cp-apply__field input[type="text"],
.cp-apply__field input[type="number"],
.cp-apply__field input[type="date"],
.cp-apply__field select,
.cp-apply__field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}

.cp-apply__field textarea {
  resize: vertical;
  min-height: 90px;
}

.cp-apply__field input:focus,
.cp-apply__field select:focus,
.cp-apply__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.cp-apply__field input.invalid,
.cp-apply__field select.invalid,
.cp-apply__field textarea.invalid {
  border-color: #c0392b;
}

.cp-apply__hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 0.35rem;
}

.cp-apply__error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.3rem;
  min-height: 1em;
}

/* Upload boxes */
.cp-upload {
  position: relative;
  width: 100%;
  height: 120px;
}

.cp-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cp-upload__preview {
  height: 100%;
  border: 1px dashed rgba(201, 149, 90, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-soft);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  background-size: cover;
  background-position: center;
  transition: border-color 0.2s ease;
}

.cp-upload__preview i {
  font-size: 1.3rem;
  color: var(--gold);
}

.cp-upload__preview.has-image span,
.cp-upload__preview.has-image i {
  display: none;
}

.cp-apply__submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
  margin-top: 0.5rem;
}
.cp-apply__submit:hover { background: var(--gold); }
.cp-apply__submit:disabled { opacity: 0.6; cursor: not-allowed; }


.cp-apply__section-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.75rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 149, 90, 0.15);
}

.cp-apply__section-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.cp-apply__error--group {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.cp-apply__password-wrap {
  position: relative;
}

.cp-apply__toggle-pw {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
}

@media (max-width: 600px) {
  .cp-apply { padding: 1.75rem 1.25rem; }
  .cp-apply__row { grid-template-columns: 1fr; }
}


.cp-media-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.cp-media-tab {
  flex: 1;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid rgba(201, 149, 90, 0.3);
  color: var(--text-mid);
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cp-media-tab.active {
  background: var(--text-dark);
  color: var(--warm-white);
  border-color: var(--text-dark);
}

.cp-media-tab__hint {
  font-weight: 400;
  opacity: 0.75;
  font-size: 0.75rem;
}

.cp-media-panel {
  margin-bottom: 1.5rem;
}

/* ── Facebook-style photo grid ── */
.cp-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.cp-photo-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
}

.cp-photo-tile--add {
  border: 1.5px dashed rgba(201, 149, 90, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--gold);
  font-size: 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cp-photo-tile--add:hover {
  border-color: var(--gold);
  background: rgba(201, 149, 90, 0.05);
}
.cp-photo-tile--add i {
  font-size: 1.1rem;
}
.cp-photo-tile--add.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.cp-photo-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-photo-tile__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 14, 8, 0.7);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.7rem;
}

@media (max-width: 480px) {
  .cp-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Video drop area ── */
.cp-video-drop {
  position: relative;
  height: 220px;
  border: 1.5px dashed rgba(201, 149, 90, 0.45);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.cp-video-drop:hover {
  border-color: var(--gold);
}

.cp-video-drop__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}
.cp-video-drop__empty i {
  font-size: 1.5rem;
  color: var(--gold);
}

.cp-video-drop__preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.cp-video-drop__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 14, 8, 0.75);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

/* ── Toggle switch ── */
.cp-apply__toggle-row {
  margin-bottom: 1rem;
}

.cp-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.cp-toggle input {
  display: none;
}

.cp-toggle__slider {
  width: 38px;
  height: 21px;
  background: rgba(201, 149, 90, 0.3);
  border-radius: 99px;
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.cp-toggle__slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.cp-toggle input:checked + .cp-toggle__slider {
  background: var(--gold);
}
.cp-toggle input:checked + .cp-toggle__slider::before {
  transform: translateX(17px);
}

.cp-toggle__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.cp-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cp-tier-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.6rem;
  align-items: end;
}

.cp-tier-row .cp-apply__field {
  margin-bottom: 0;
}

.cp-tier-row__remove {
  height: 42px;
  width: 42px;
  background: none;
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: #c0392b;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cp-tier-row__remove:hover {
  background: rgba(192, 57, 43, 0.08);
}

.cp-tiers__add {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: none;
  border: 1px dashed rgba(201, 149, 90, 0.5);
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cp-tiers__add:hover {
  background: rgba(201, 149, 90, 0.06);
}

@media (max-width: 600px) {
  .cp-tier-row {
    grid-template-columns: 1fr 1fr;
  }
  .cp-tier-row__remove {
    grid-column: span 2;
    width: 100%;
  }
}


.cp-manage {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
}

.cp-manage__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cp-manage__title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin: 0;
}

.cp-manage__controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cp-manage__search {
  flex: 1;
  position: relative;
}

.cp-manage__search i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  font-size: 0.85rem;
}

.cp-manage__search input {
  width: 100%;
  padding: 0.6rem 0.85rem 0.6rem 2.3rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
}
.cp-manage__search input:focus {
  outline: none;
  border-color: var(--gold);
}

.cp-manage__filter {
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  background: #fff;
}

.cp-manage__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cp-content-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.cp-content-card:hover {
  border-color: var(--gold);
  transform: translateX(2px);
}
.cp-content-card i {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.cp-content-card__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.cp-content-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.cp-badge {
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cp-badge--free {
  background: rgba(46, 139, 87, 0.12);
  color: #2e8b57;
}
.cp-badge--gated {
  background: var(--gold-pale);
  color: var(--gold);
}

.cp-manage__sentinel {
  padding: 1.5rem 0;
  text-align: center;
}

.cp-manage__loading-more {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  color: var(--text-soft);
}


/* Delete Content Card Styles */
.cp-delete-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid #fee2e2;
}

.cp-delete-card {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
}

.cp-delete-card:hover {
  background: #fee2e2;
  border-color: #f87171;
}

.cp-delete-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cp-delete-card__icon {
  color: #dc2626;
  font-size: 1.5rem;
}

.cp-delete-card__title {
  color: #991b1b;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.cp-delete-card__desc {
  color: #7f1d1d;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cp-delete-card__warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fecaca;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  color: #991b1b;
  font-size: 0.875rem;
  font-weight: 500;
}

.cp-delete-card__warning i {
  color: #dc2626;
  font-size: 1rem;
}

.cp-delete-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cp-delete-card__btn:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.cp-delete-card__btn:active {
  transform: translateY(0);
}

.cp-delete-card__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cp-delete-card__btn i {
  font-size: 1rem;
}

/* For mobile responsiveness */
@media (max-width: 640px) {
  .cp-delete-card {
    padding: 1.25rem;
  }
  
  .cp-delete-card__header {
    flex-direction: column;
    text-align: center;
  }
  
  .cp-delete-card__btn {
    width: 100%;
    justify-content: center;
  }
}


.cp-creators {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: center;
}

.cp-creators__intro {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.cp-creators__track-wrap {
  position: relative;
}

.cp-creators__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.cp-creators__track::-webkit-scrollbar {
  display: none;
}

.cp-creators__card {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
}

.cp-creators__img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.25s ease;
}
.cp-creators__card:hover .cp-creators__img-wrap {
  transform: translateY(-4px);
}

.cp-creators__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--card-bg, linear-gradient(135deg, var(--navy), var(--navy-mid)));
}

.cp-creators__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.5rem;
  background: rgba(20, 14, 8, 0.75);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cp-creators__card:hover .cp-creators__overlay {
  opacity: 1;
  transform: translateY(0);
}

.cp-creators__label {
  margin-top: 0.9rem;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.cp-creators__sub {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 0.15rem;
}

/* Arrows */
.cp-creators__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.3);
  color: var(--text-mid);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  z-index: 2;
}
.cp-creators__arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cp-creators__arrow--prev { left: -18px; }
.cp-creators__arrow--next { right: -18px; }

/* Dots */
.cp-creators__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.cp-creators__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cp-creators__dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* CTA */
.cp-creators__cta {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.75rem 1.8rem;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.cp-creators__cta:hover {
  background: var(--text-dark);
  color: var(--warm-white);
}

@media (max-width: 700px) {
  .cp-creators__card { width: 160px; }
  .cp-creators__img-wrap { height: 190px; }
  .cp-creators__arrow { display: none; }
}



.cp-wallart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
    background: var(--warm-white);
  }

  .cp-wallart__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }

  /* first two items: half-width, taller */
  .cp-wallart__tile--lg {
    grid-column: span 3;
    aspect-ratio: 4 / 3;
  }

  /* next three items: third-width, shorter */
  .cp-wallart__tile--sm {
    grid-column: span 2;
    aspect-ratio: 1 / 1;
  }

  .cp-wallart__tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
    background: var(--cream);
    text-decoration: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .cp-wallart__tile:hover {
    transform: scale(1.035);
    box-shadow: 0 24px 48px rgba(20, 14, 8, 0.22);
    z-index: 2;
  }

  .cp-wallart__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .cp-wallart__tile:hover .cp-wallart__img {
    transform: scale(1.08);
  }

  .cp-wallart__label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--warm-white);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 16px;
    box-shadow: 0 2px 10px rgba(20, 14, 8, 0.12);
  }

  .cp-wallart__cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }

  .cp-btn--outline {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--gold);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .cp-btn--outline:hover {
    background: var(--gold);
    color: var(--warm-white);
  }

  .cp-wallart__tile:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    .cp-wallart__tile,
    .cp-wallart__img {
      transition: none;
    }
    .cp-wallart__tile:hover {
      transform: none;
    }
    .cp-wallart__tile:hover .cp-wallart__img {
      transform: none;
    }
  }

  /* ---- responsive ---- */
  @media (max-width: 860px) {
    .cp-wallart__grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .cp-wallart__tile--lg,
    .cp-wallart__tile--sm {
      grid-column: span 1;
      aspect-ratio: 1 / 1;
    }
  }

  @media (max-width: 520px) {
    .cp-wallart {
      padding: 40px 16px;
    }
    .cp-wallart__grid {
      grid-template-columns: 1fr;
    }
    .cp-wallart__label {
      left: 14px;
      bottom: 14px;
      font-size: 12px;
      padding: 8px 14px;
    }
  }


  .cp-feat {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.cp-feat__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cp-feat__title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cp-feat__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

.cp-feat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.cp-feat-card {
  text-decoration: none;
  display: block;
}

.cp-feat-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  background: var(--cream);
  transition: transform 0.25s ease;
}
.cp-feat-card:hover .cp-feat-card__media {
  transform: translateY(-4px);
}

.cp-feat-card__img,
.cp-feat-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cp-feat-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.6rem;
  background: rgba(20, 14, 8, 0.7);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 99px;
  z-index: 2;
}

/* ── Mini gallery (multi-photo cards) ── */
.cp-feat-card__gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}

.cp-feat-card__gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.cp-feat-card__gallery-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.3rem;
  z-index: 2;
}

.cp-feat-card__gallery-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cp-feat-card__gallery-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.cp-feat-card__gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: rgba(20, 14, 8, 0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.7rem;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cp-feat-card__media:hover .cp-feat-card__gallery-arrow {
  opacity: 1;
}
.cp-feat-card__gallery-arrow--prev { left: 0.4rem; }
.cp-feat-card__gallery-arrow--next { right: 0.4rem; }

.cp-feat-card__label {
  margin-top: 0.75rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.cp-feat-card__type {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

footer {
  margin-top: 4rem;
}


.cp-footer {
  background: var(--dark-base);
  color: rgba(253, 248, 242, 0.75);
  margin-top: 4rem;
}

.cp-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
}

.cp-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--dark-border);
}

/* ── Brand column ── */
.cp-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.cp-footer__logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.cp-footer__logo span {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--warm-white);
}
.cp-footer__logo em {
  color: var(--gold-light);
  font-style: italic;
}

.cp-footer__tagline {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(253, 248, 242, 0.6);
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.cp-footer__social {
  display: flex;
  gap: 0.65rem;
}

.cp-footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dark-border);
  color: rgba(253, 248, 242, 0.7);
  text-decoration: none;
  border-radius: 50%;
  font-size: 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cp-footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ── Link columns ── */
.cp-footer__col {
  display: flex;
  flex-direction: column;
}

.cp-footer__col h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.cp-footer__col a {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: rgba(253, 248, 242, 0.65);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
  width: fit-content;
}
.cp-footer__col a:hover {
  color: var(--warm-white);
}

/* ── Bottom bar ── */
.cp-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: rgba(253, 248, 242, 0.45);
}

.cp-footer__credit {
  color: rgba(253, 248, 242, 0.35);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cp-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .cp-footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .cp-footer__top {
    grid-template-columns: 1fr;
  }
  .cp-footer__brand {
    grid-column: span 1;
  }
  .cp-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}


.cp-ads {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.cp-ads__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.cp-ads__grid {
  display: grid;
  gap: 1.25rem;
}

/* Dynamic column count, driven by data-count on the grid container */
.cp-ads__grid[data-count="1"] { grid-template-columns: 1fr; }
.cp-ads__grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.cp-ads__grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.cp-ads__grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
.cp-ads__grid:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]):not([data-count="4"]) {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cp-ad-card {
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  text-decoration: none;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cp-ad-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(42, 31, 20, 0.08);
}

.cp-ad-card__media {
  position: relative;
  height: 140px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
}

.cp-ad-card__media img {
  max-width: 65%;
  max-height: 65%;
  object-fit: contain;
}

.cp-ad-card__media--photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.cp-ad-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.6rem;
  background: var(--text-dark);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 99px;
}

.cp-ad-card__body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cp-ad-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.cp-ad-card__desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 1rem;
  flex: 1;
}

.cp-ad-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--text-dark);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  width: fit-content;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease, gap 0.2s ease;
}
.cp-ad-card:hover .cp-ad-card__cta {
  background: var(--gold);
  gap: 0.7rem;
}

@media (max-width: 900px) {
  .cp-ads__grid[data-count="3"],
  .cp-ads__grid[data-count="4"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .cp-ads__grid[data-count="1"],
  .cp-ads__grid[data-count="2"],
  .cp-ads__grid[data-count="3"],
  .cp-ads__grid[data-count="4"] {
    grid-template-columns: 1fr;
  }
}


/*singular */


.cp-view-card {
  max-width: 560px;
  margin: 2rem auto;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

/* ── Media area ── */
.cp-view-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--dark-base);
  overflow: hidden;
}

.cp-view-card__media--video {
  aspect-ratio: unset;         
  max-height: 640px;           
  background: #000;            
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-view-card__video {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: contain;         
  display: block;
}
/* Gallery */
.cp-view-card__gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.cp-view-card__gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}
.cp-view-card__gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.cp-view-card__gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: rgba(20, 14, 8, 0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}
.cp-view-card__gallery-arrow--prev { left: 0.75rem; }
.cp-view-card__gallery-arrow--next { right: 0.75rem; }

.cp-view-card__gallery-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 3;
}
.cp-view-card__gallery-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cp-view-card__gallery-dots span.active {
  background: #fff;
  transform: scale(1.3);
}

/* Locked overlay */
.cp-view-card__lock {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 4;
  text-align: center;
  padding: 1rem;
}
.cp-view-card__lock i {
  font-size: 1.6rem;
  color: var(--gold-light);
}
.cp-view-card__lock.hidden {
  display: none;
}




/* ── Body ── */
.cp-view-card__creator-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.cp-view-card__body {
  padding: 1.5rem 1.6rem 1.75rem;
}

.cp-view-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.cp-view-card__badge {
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--gold-pale);
  color: var(--gold);
}
.cp-view-card__badge.free {
  background: rgba(46, 139, 87, 0.12);
  color: #2e8b57;
}

.cp-view-card__date {

   font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
  flex-shrink: 0;
  white-space: nowrap;
}

.cp-view-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cp-view-card__desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

.cp-view-card__creator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.85rem;
  background: var(--cream);
  margin-bottom: 1.5rem;
}

.cp-view-card__creator-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 0.7rem;
}

.cp-view-card__creator-name {
  
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-view-card__verified {
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}


/* ── Pricing tiers ── */
.cp-view-card__tiers {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.cp-tier-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(201, 149, 90, 0.3);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cp-tier-option:hover {
  border-color: var(--gold);
}
.cp-tier-option.selected {
  border-color: var(--gold);
  background: rgba(201, 149, 90, 0.06);
}

.cp-tier-option__duration {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.cp-tier-option__price {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

/* ── Subscribe button ── */
.cp-view-card__subscribe {
  width: 100%;
  padding: 0.95rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.2s ease, transform 0.15s ease;
}
.cp-view-card__subscribe:hover {
  background: var(--gold);
  transform: translateY(-1px);
}
.cp-view-card__subscribe:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 600px) {
  .cp-view-card { margin: 1rem; }
}


.cp-related {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.cp-related__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cp-related__title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cp-related__viewall {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.cp-related__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.cp-related__track::-webkit-scrollbar {
  display: none;
}

.cp-related-card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
}

.cp-related-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.2s ease;
}
.cp-related-card:hover .cp-related-card__media {
  transform: translateY(-3px);
}

.cp-related-card__media img,
.cp-related-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-related-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(20, 14, 8, 0.6);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  z-index: 2;
}

.cp-related-card__title {
  margin-top: 0.6rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .cp-related-card { width: 130px; }
}


.cp-profile {
  max-width: 900px;
  margin: 0 auto 3rem;
}

/* ── Cover ── */

.cp-profile__cover {
  position: relative;
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.9);
  transform: scale(1.05);
  overflow: hidden;
}

.cp-profile__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,14,8,0.1) 0%, rgba(20,14,8,0.45) 100%);
}

/* ── Header ── */
.cp-profile__header {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cp-profile__avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--warm-white);
  margin-top: -64px; /* pulls avatar up to overlap the cover */
  background: var(--cream);
}

.cp-profile__identity {
  margin-top: 0.9rem;
  max-width: 480px;
}

.cp-profile__name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cp-profile__name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.cp-profile__verified {
  color: var(--gold);
  font-size: 1.1rem;
}

.cp-profile__username {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.cp-profile__bio {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-top: 0.85rem;
}

/* ── Actions ── */
.cp-profile__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.cp-profile__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease, transform 0.15s ease;
}

.cp-profile__btn--primary {
  background: var(--text-dark);
  color: var(--warm-white);
}
.cp-profile__btn--primary:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.cp-profile__btn--secondary {
  background: var(--gold-pale);
  color: var(--gold);
}
.cp-profile__btn--secondary:hover {
  background: var(--gold-light);
  color: var(--warm-white);
}

.cp-profile__btn--icon {
  padding: 0.6rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(201, 149, 90, 0.3);
  color: var(--text-mid);
}
.cp-profile__btn--icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .cp-profile__cover { height: 160px; }
  .cp-profile__avatar {
    width: 100px;
    height: 100px;
    margin-top: -50px;
  }
  .cp-profile__actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cp-profile__btn {
    flex: 1;
    justify-content: center;
    min-width: 130px;
  }
}


/* ── Grid ── */
.cp-cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 900px;
  margin: 2rem auto;
}

.cp-cgrid__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
}

.cp-cgrid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.cp-cgrid__item:hover img {
  transform: scale(1.04);
}

.cp-cgrid__badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: #fff;
  font-size: 0.85rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  z-index: 2;
}

.cp-cgrid__locked {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .cp-cgrid { gap: 2px; }
}

/* ── Full-screen viewer ── */
.cp-viewer {
  position: fixed;
  inset: 0;
  background: rgba(10, 7, 4, 0.92);
  z-index: 1000;
}

.cp-viewer__topbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1010;
}
.cp-viewer__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 14, 8, 0.55);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-viewer__close:hover {
  background: rgba(20, 14, 8, 0.75);
}
.cp-viewer__stage {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cp-viewer__stage::-webkit-scrollbar {
  display: none;
}

.cp-viewer__slide {
  position: relative; /* establishes positioning context for the close button per-slide */
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  box-sizing: border-box;
}

.cp-viewer__post {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--warm-white);
  overflow: hidden;
}
.cp-viewer__post-media {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
  display: block;
}


.cp-viewer__creator {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--warm-white);
  box-sizing: border-box;
}

.cp-viewer__creator-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cp-viewer__creator-info {
  min-width: 0;
}

.cp-viewer__creator-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.cp-viewer__creator-verified {
  font-size: 0.85rem;
}

.cp-viewer__locked {
  position: relative;
  display: block;
  text-decoration: none;
}

.cp-viewer__locked img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}

.cp-viewer__locked-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 8, 0.5);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.cp-viewer__post-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.cp-viewer__post-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.cp-viewer__post-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.cp-cgrid__owner {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  background: rgba(20, 14, 8, 0.55);
  border-radius: 99px;
  z-index: 2;
}

.cp-cgrid__owner img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cp-cgrid__owner span {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-plans {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.cp-plans__title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.cp-plans__grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cp-plan-card {
  position: relative;
  width: 260px;
  padding: 2rem 1.5rem;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.25);
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cp-plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.cp-plan-card--featured {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.cp-plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 99px;
}

.cp-plan-card__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.cp-plan-card__price {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cp-plan-card__period {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.cp-plan-card__btn {
  width: 100%;
  padding: 0.7rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease;
}
.cp-plan-card__btn:hover {
  background: var(--gold);
}

@media (max-width: 560px) {
  .cp-plans__grid {
    flex-direction: column;
    align-items: center;
  }
  .cp-plan-card {
    width: 100%;
    max-width: 300px;
  }
}



.cp-mysubs {
  max-width: 640px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem;
}

.cp-mysubs__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.cp-mysubs__card:hover {
  border-color: var(--gold);
  transform: translateX(2px);
}

.cp-mysubs__card--expired {
  opacity: 0.7;
}

.cp-mysubs__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cp-mysubs__info {
  flex: 1;
  min-width: 0;
}

.cp-mysubs__username {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.cp-mysubs__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 0.3rem;
}

.cp-mysubs__plan {
  text-transform: capitalize;
  font-weight: 600;
  color: var(--gold);
}

.cp-mysubs__dot {
  opacity: 0.5;
}

.cp-mysubs__expiry {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
}
.cp-mysubs__expiry.expired {
  color: #c0392b;
  font-weight: 600;
}

.cp-mysubs__arrow {
  color: var(--text-soft);
  font-size: 0.8rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .cp-mysubs__card { padding: 0.85rem 1rem; }
  .cp-mysubs__avatar { width: 44px; height: 44px; }
}


.cp-mysubs-header {
  max-width: 640px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.5rem;
  text-align: center;
}

.cp-mysubs-header__title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.cp-mysubs-header__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-mid);
}


.cp-status {
  min-height: calc(100vh - 64px - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.cp-status__card {
  max-width: 420px;
  text-align: center;
}

.cp-status__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

.cp-status__icon--success {
  background: rgba(46, 139, 87, 0.12);
  color: #2e8b57;
}

.cp-status__icon--error {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}

.cp-status__title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.cp-status__message {
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.cp-status__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--text-dark);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
  margin-bottom: 1.25rem;
}
.cp-status__btn:hover {
  background: var(--gold);
  color: var(--warm-white);
}

.cp-status__link {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--text-soft);
  text-decoration: none;
}
.cp-status__link:hover {
  color: var(--gold);
  text-decoration: underline;
}


.cp-photos-intro {
  max-width: 700px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.5rem;
  text-align: center;
}

.cp-photos-intro__title {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cp-photos-intro__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.cp-searchbar {
  position: relative;
  max-width: 480px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.cp-searchbar__icon {
  position: absolute;
  left: 2.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.cp-searchbar__input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}
.cp-searchbar__input:focus {
  outline: none;
  border-color: var(--gold);
}
.cp-searchbar__input::placeholder {
  color: var(--text-soft);
}

@media (max-width: 480px) {
  .cp-photos-intro__title { font-size: 1.4rem; }
}

.cp-photo-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.cp-filter-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 1px solid rgba(201, 149, 90, 0.3);
  color: var(--text-mid);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cp-filter-box:hover {
  border-color: var(--gold);
  color: var(--text-dark);
}

.cp-filter-box--active {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--warm-white);
}
.cp-filter-box--active:hover {
  color: var(--warm-white);
}

@media (max-width: 400px) {
    .cp-filter-box { flex: 1; padding: 0.65rem; }
}

.cp-art-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.cp-art-intro {
  text-align: center;
  margin: 2.5rem auto 1.5rem;
  max-width: 600px;
}

.cp-art-intro__title {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cp-art-intro__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ── Controls: search + filter side by side ── */
.cp-art-controls {
  display: flex;
  gap: 0.75rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.cp-art-controls .cp-searchbar {
  flex: 1;
  max-width: none;
  margin: 0;
}

.cp-art-select {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.cp-art-select:focus {
  outline: none;
  border-color: var(--gold);
}

@media (max-width: 560px) {
  .cp-art-controls { flex-direction: column; }
}

/* ── Grid ── */
.cp-art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.cp-art-card {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.cp-art-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ── Gallery (IG-style swipe) ── */
.cp-art-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}

.cp-art-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
  touch-action: pan-y; /* allows vertical page scroll while still capturing horizontal swipe */
}

.cp-art-gallery__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.cp-art-gallery__dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.3rem;
  z-index: 2;
}

.cp-art-gallery__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cp-art-gallery__dots span.active {
  background: #fff;
  transform: scale(1.3);
}

.cp-art-card__format-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.6rem;
  background: rgba(20, 14, 8, 0.65);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 99px;
  z-index: 2;
}

/* ── Card body ── */
.cp-art-card__body {
  padding: 1rem 1.15rem 1.15rem;
}

.cp-art-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.cp-art-card__desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cp-art-card__meta {
  margin-bottom: 0.9rem;
}

.cp-art-card__location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.cp-art-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cp-art-card__price {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
}

.cp-art-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.5rem 1.1rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease;
}
.cp-art-card__buy:hover {
  background: var(--gold);
}

.cp-art-card__buy i {
  font-size: 0.75rem;
}

.cp-search-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-soft);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
}

.cp-art-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 14, 8, 0.5);
  color: #fff;
  border: none;
  font-size: 0.7rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.cp-art-gallery:hover .cp-art-gallery__arrow {
  opacity: 1; /* only show on hover — keeps the card clean when not actively browsing */
}

.cp-art-gallery__arrow:hover {
  background: rgba(20, 14, 8, 0.75);
}

.cp-art-gallery__arrow--prev { left: 0.5rem; }
.cp-art-gallery__arrow--next { right: 0.5rem; }
.cp-art-card__buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--text-dark);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease;
}
.cp-art-card__buy:hover {
  background: var(--gold);
}

.cp-art-card__buy i {
  font-size: 0.75rem;
}


.cp-art-detail {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.cp-art-detail__gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream);
}

.cp-art-detail__info {
  display: flex;
  flex-direction: column;
}

.cp-art-detail__badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cp-art-detail__stock {
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cp-art-detail__stock--in {
  background: rgba(46, 139, 87, 0.12);
  color: #2e8b57;
}
.cp-art-detail__stock--out {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}

.cp-art-detail__title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.cp-art-detail__desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cp-art-detail__meta {
  margin-bottom: 1.5rem;
}

.cp-art-detail__location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.cp-art-detail__creator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--cream);
  margin-bottom: 1.75rem;
}

.cp-art-detail__creator-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.cp-art-detail__creator-name {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cp-art-detail__creator-verified {
  color: var(--gold);
  font-size: 0.8rem;
}

.cp-art-detail__creator-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.cp-art-detail__purchase {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 149, 90, 0.2);
}

.cp-art-detail__price {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.cp-art-detail__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 149, 90, 0.3);
  margin-bottom: 1rem;
}

.cp-art-detail__qty-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
}
.cp-art-detail__qty-btn:hover {
  background: var(--gold-pale);
}

.cp-art-detail__qty-value {
  width: 40px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.cp-art-detail__add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
}
.cp-art-detail__add-cart:hover {
  background: var(--gold);
}
.cp-art-detail__add-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Related art section ── */
.cp-related-art {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.cp-related-art__title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.cp-related-art__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .cp-art-detail {
    grid-template-columns: 1fr;
  }
}

.cp-cart-empty {
  text-align: center;
  color: var(--text-soft);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  padding: 1.5rem 0;
  margin: 0;
}

.cp-cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
}
.cp-cart-item:last-child {
  border-bottom: none;
}

.cp-cart-item__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--cream);
}

.cp-cart-item__info {
  flex: 1;
  min-width: 0;
}

.cp-cart-item__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.cp-cart-item__price {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cp-cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 149, 90, 0.3);
}

.cp-cart-item__qty-btn {
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  cursor: pointer;
}
.cp-cart-item__qty-btn:hover {
  background: var(--gold-pale);
}

.cp-cart-item__qty-value {
  width: 28px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.cp-cart-item__remove {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0.4rem;
}
.cp-cart-item__remove:hover {
  color: #c0392b;
}

.cp-cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cp-cart-total {
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", sans-serif;
}

.cp-cart-total span:first-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-soft);
}

.cp-cart-total__value {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cp-cart-footer {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cp-cart-footer__actions {
  display: flex;
  gap: 0.5rem;
}

.cp-cart-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.3rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease;
}
.cp-cart-buy:hover {
  background: var(--gold);
}
.cp-cart-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--text-dark);
}


.cp-receive-page {
  max-width: 480px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

/* ── Intro ── */
.cp-receive-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.cp-receive-intro__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(46, 139, 87, 0.12);
  color: #2e8b57;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.cp-receive-intro__title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cp-receive-intro__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* ── Form ── */
.cp-receive-form {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  padding: 2rem 1.75rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.cp-receive-field {
  margin-bottom: 1.25rem;
  
}

.cp-receive-field label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}

.req { color: #c0392b; }

.cp-receive-field input,
.cp-receive-field select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}
.cp-receive-field input:focus,
.cp-receive-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.cp-receive-field input.invalid,
.cp-receive-field select.invalid {
  border-color: #c0392b;
}

.cp-receive-section-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.75rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 149, 90, 0.15);
}

/* ── Method cards ── */


.cp-receive-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cp-receive-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.25rem 0.75rem;
  border: 1.5px solid rgba(201, 149, 90, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cp-receive-option__card i {
  font-size: 1.3rem;
  color: var(--gold);
}

.cp-receive-option__card span {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.cp-receive-option__card small {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  color: var(--text-soft);
}

.cp-receive-option input:checked + .cp-receive-option__card {
  border-color: var(--gold);
  background: rgba(201, 149, 90, 0.06);
}

/* ── Errors ── */
.cp-receive-error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.3rem;
  min-height: 1em;
}

.cp-receive-error--group {
  text-align: center;
  margin-bottom: 0.75rem;
}

/* ── Submit ── */
.cp-receive-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
}
.cp-receive-submit:hover {
  background: var(--gold);
}
.cp-receive-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .cp-receive-form { padding: 1.5rem 1.25rem; }
  .cp-receive-options { grid-template-columns: 1fr; }
}


.cp-order-page {
  max-width: 560px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.cp-order-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cp-order-header__title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.cp-order-header__date {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.cp-order-items {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
}

.cp-order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
}
.cp-order-item:last-child {
  border-bottom: none;
}

.cp-order-item__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--cream);
  flex-shrink: 0;
}

.cp-order-item__info {
  flex: 1;
  min-width: 0;
}

.cp-order-item__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.cp-order-item__meta {
  display: flex;
  gap: 0.6rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.cp-order-item__total {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold);
  flex-shrink: 0;
}

.cp-order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cp-order-summary__value {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--gold);
}


.cp-order-seller-group {
  margin-bottom: 1.5rem;
}

.cp-order-seller-group__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}


.cp-order-receiver {
  margin-top: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border: 1px solid rgba(201, 149, 90, 0.15);
}

.cp-order-receiver__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.cp-order-receiver__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.cp-order-receiver__row:last-child {
  margin-bottom: 0;
}

.cp-order-receiver__row i {
  color: var(--text-soft);
  width: 14px;
  flex-shrink: 0;
}

.cp-order-receiver--missing {
  color: var(--text-soft);
  font-style: italic;
  font-size: 0.82rem;
}

.cp-seller-orders {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.cp-seller-order {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  margin-bottom: 1.5rem;
  padding: 1.25rem;
}

.cp-seller-order__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
}

.cp-seller-order__buyer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.cp-seller-order__buyer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.cp-seller-order__buyer-name {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.cp-seller-order__date {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.cp-seller-order__process-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
}
.cp-seller-order__process-btn:hover:not(:disabled) {
  background: var(--gold);
}
.cp-seller-order__process-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.cp-report-page {
  max-width: 480px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

/* ── Intro ── */
.cp-report-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.cp-report-intro__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.cp-report-intro__title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cp-report-intro__subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* ── Form ── */
.cp-report-form {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  padding: 2rem 1.75rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* ── Order summary strip ── */
.cp-report-order-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--cream);
  margin-bottom: 1.75rem;
}

.cp-report-order-summary__thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.cp-report-order-summary__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.cp-report-order-summary__meta {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 0.15rem;
}

.cp-report-order-summary .cp-badge {
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Fields ── */
.cp-report-field {
  margin-bottom: 1.25rem;
}

.cp-report-field label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}

.req { color: #c0392b; }

.cp-report-field select,
.cp-report-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}
.cp-report-field select:focus,
.cp-report-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.cp-report-field textarea {
  resize: vertical;
  min-height: 90px;
}
.cp-report-field select.invalid,
.cp-report-field textarea.invalid {
  border-color: #c0392b;
}

/* ── Errors ── */
.cp-report-error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.3rem;
  min-height: 1em;
}
.cp-report-error--group {
  text-align: center;
  margin-bottom: 0.75rem;
}

/* ── Submit ── */
.cp-report-submit {
  width: 100%;
  padding: 0.85rem;
  background: #c0392b;
  color: #fff;
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
}
.cp-report-submit:hover {
  background: #a93226;
}
.cp-report-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cp-report-footer {
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .cp-report-form { padding: 1.5rem 1.25rem; }
}

.cp-float-cart {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(42, 31, 20, 0.25);
  transition: background 0.2s ease, transform 0.15s ease;
}

.cp-float-cart:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.cp-float-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 99px;
  background: #c0392b;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--warm-white);
}

/* Hidden entirely when the cart is empty */
.cp-float-cart__badge--empty {
  display: none;
}

@media (max-width: 480px) {
  .cp-float-cart {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.05rem;
  }
}

.cp-profile-filter {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
}

.cp-profile-filter__select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.cp-profile-filter__select:focus {
  outline: none;
  border-color: var(--gold);
}


.special_styles {
  position:relative; 
  display:block; 
  width:100%;
  height:300px;
  overflow:hidden;
  border-radius:12px 12px 0 0;
}

.special_styles_spano {
  position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    color:#fff;
    background:rgba(0,0,0,0.55);
    padding:6px 14px;
    border-radius:20px;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
    text-shadow:0 1px 2px rgba(0,0,0,0.6);
    pointer-events:none;


}

.special_styles_image {
  display:block;
   width:100%;
    height:100%; 
  object-fit:cover;
}

@media (max-width: 576px) {

  .special_styles {
    height: 350px;
  }

  .special_styles_image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
  }

}

.cp-privacy-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark-base);
  color: rgba(253, 248, 242, 0.85);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.cp-privacy-banner__text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 640px;
}

.cp-privacy-banner__text a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cp-privacy-banner__accept {
  flex-shrink: 0;
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: var(--dark-base);
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease;
}
.cp-privacy-banner__accept:hover {
  background: var(--gold-light);
}

@media (max-width: 600px) {
  .cp-privacy-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}


.cp-subitem__stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cp-subitem__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.cp-subitem__stat:hover {
  color: var(--text-dark);
}

.cp-subitem__stat i {
  font-size: 0.85rem;
}

.cp-subitem__stat.liked i {
  color: #c0392b;
}

.cp-comment-modal-dialog {
  max-width: 480px;
}

.cp-comment-modal {
  border: 1px solid rgba(201, 149, 90, 0.2);
  border-radius: 0;
  overflow: hidden;
  max-height: 85vh;
}

.cp-comment-modal .modal-header {
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
  padding: 0.9rem 1.25rem;
}

.cp-comment-modal .modal-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* ── Media ── */
.cp-comment-modal__media {
  width: 100%;
  max-height: 320px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cp-comment-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 320px;
}

/* ── Stats bar ── */
.cp-comment-modal__stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.cp-comment-modal__stats i {
  color: #c0392b;
  margin-right: 0.3rem;
}

/* ── Comment list ── */
.cp-comment-modal__body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cp-comment {
  display: flex;
  gap: 0.65rem;
}

.cp-comment__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cp-comment__content {
  flex: 1;
  min-width: 0;
}

.cp-comment__bubble {
  background: var(--cream);
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  display: inline-block;
}

.cp-comment__author {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.cp-comment__text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

.cp-comment__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
  padding-left: 0.85rem;
}

.cp-comment__time {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.cp-comment__action-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
}
.cp-comment__action-btn:hover {
  color: var(--gold);
}

/* ── Composer ── */
.cp-comment-modal__composer {
  border-top: 1px solid rgba(201, 149, 90, 0.15);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cp-comment-modal__composer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cp-comment-modal__input {
  flex: 1;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(201, 149, 90, 0.3);
  border-radius: 20px;
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
}
.cp-comment-modal__input:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

.cp-comment-modal__send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--warm-white);
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
}
.cp-comment-modal__send:hover {
  background: var(--gold);
}

@media (max-width: 480px) {
  .cp-comment-modal-dialog { max-width: 100%; margin: 0; }
  .cp-comment-modal { max-height: 100vh; }
}


.cp-replies {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.6rem;
}
.cp-replies[hidden] { display: none; }

.cp-comment--reply .cp-comment__avatar {
  width: 26px;
  height: 26px;
}

.cp-reply-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cp-reply-form__input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--cream);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  outline: none;
}
.cp-reply-form__send {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--text-dark);
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  flex-shrink: 0;
}
.cp-reply-form__send:disabled { opacity: 0.6; }


.cp-legal-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.cp-legal-header {
  text-align: center;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(201, 149, 90, 0.18);
  margin-bottom: 2.5rem;
}

.cp-legal-header__title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cp-legal-header__updated {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.cp-legal-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Table of contents ── */
.cp-legal-toc {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  background: var(--cream);
  border: 1px solid rgba(201, 149, 90, 0.15);
}

.cp-legal-toc__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.cp-legal-toc a {
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--text-mid);
  text-decoration: none;
  line-height: 1.5;
}
.cp-legal-toc a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* ── Content ── */
.cp-legal-content {
  min-width: 0;
}

.cp-legal-section {
  margin-bottom: 2.25rem;
  scroll-margin-top: 90px; /* keeps the heading visible below a sticky nav when jumped to via anchor link */
}

.cp-legal-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

.cp-legal-section p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 0.85rem;
}

.cp-legal-section ul {
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
}

.cp-legal-section li {
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.cp-legal-section a {
  color: var(--gold);
  text-decoration: underline;
}

/* ── Responsive: TOC collapses above content on smaller screens ── */
@media (max-width: 820px) {
  .cp-legal-body {
    grid-template-columns: 1fr;
  }
  .cp-legal-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
  .cp-legal-toc__label {
    width: 100%;
    margin-bottom: 0;
  }
}