.cc-page {
    position: relative;
    padding: 1.25rem 0 3rem;
    overflow: hidden;
}

.cc-aurora {
    position: absolute;
    inset: -10% -20% auto;
    height: 420px;
    background:
        radial-gradient(ellipse 60% 80% at 20% 20%, rgba(196, 149, 255, 0.28), transparent 60%),
        radial-gradient(ellipse 50% 70% at 80% 10%, rgba(255, 196, 214, 0.22), transparent 55%),
        radial-gradient(ellipse 40% 50% at 50% 80%, rgba(212, 175, 55, 0.14), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.cc-aurora--detail {
    height: 520px;
}

.cc-page .container {
    position: relative;
    z-index: 1;
}

.cc-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cc-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9b7ec8;
}

.cc-title {
    margin: 0;
    font-size: clamp(1.45rem, 4vw, 2.1rem);
    line-height: 1.2;
}

.cc-lead,
.cc-detail-lead {
    margin: 0.45rem 0 0;
    max-width: 42rem;
    font-size: 0.86rem;
    color: var(--text-muted, #6f5f68);
    line-height: 1.65;
}

.cc-back-btn {
    flex-shrink: 0;
}

.cc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

@media (min-width: 640px) {
    .cc-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .cc-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}

.cc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 22px rgba(74, 44, 61, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(74, 44, 61, 0.1);
}

.cc-card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), transparent 45%, rgba(212, 175, 55, 0.08));
    pointer-events: none;
    z-index: 2;
}

.cc-card-media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(160deg, #f4ecff, #ffeef5);
}

.cc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cc-card:hover .cc-card-media img {
    transform: scale(1.04);
}

.cc-card-shade {
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: linear-gradient(to top, rgba(35, 18, 30, 0.72), transparent);
}

.cc-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
}

.cc-card-body {
    position: relative;
    z-index: 3;
    margin-top: -2.2rem;
    padding: 0 0.55rem 0.55rem;
    color: #fff;
}

.cc-card-title {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.cc-card-desc {
    margin: 0.2rem 0 0;
    font-size: 0.66rem;
    line-height: 1.45;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-card-cta {
    display: none;
}

.cc-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
}

.cc-empty-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cc-empty--inline {
    padding: 1.5rem;
}

.cc-breadcrumb {
    margin-bottom: 1rem;
}

.cc-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.cc-detail-gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, #f4ecff, #ffeef5);
    min-height: 320px;
}

.cc-detail-cover {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.cc-detail-hero-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 800;
    color: #6b4f8a;
}

.cc-detail-thumbs {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.cc-detail-thumb {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

.cc-detail-thumb.is-active {
    border-color: rgba(212, 175, 55, 0.85);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.cc-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-detail-copy {
    padding: 0.35rem 0.25rem;
}

.cc-detail-title {
    margin: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    line-height: 1.25;
}

.cc-detail-story {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(74, 44, 61, 0.08);
    line-height: 1.85;
    color: #4a2c3d;
}

.cc-section-label {
    margin: 1.15rem 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #8a7340;
}

.cc-palette-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cc-palette-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--swatch, #ccc);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(74, 44, 61, 0.12);
}

.cc-style-grid,
.cc-links-grid {
    display: grid;
    gap: 0.55rem;
}

.cc-style-card,
.cc-link-card {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(74, 44, 61, 0.08);
}

.cc-style-card h4 {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
}

.cc-style-card p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted, #6f5f68);
}

.cc-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.cc-link-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
}

.cc-link-card strong {
    font-size: 0.88rem;
}

.cc-link-card span {
    font-size: 0.78rem;
    color: var(--text-muted, #6f5f68);
}

.cc-products-section {
    margin-top: 0.5rem;
}

.cc-products-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cc-products-title {
    margin: 0;
    font-size: 1.25rem;
}

.cc-products-sub {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted, #6f5f68);
}

.cc-products-grid {
    margin-top: 0.25rem;
}

.detail-character-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.detail-character-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.55rem 0.28rem 0.35rem;
    border-radius: 999px;
    text-decoration: none;
    color: #4a2c3d;
    background: linear-gradient(135deg, rgba(196, 149, 255, 0.18), rgba(255, 214, 232, 0.28));
    border: 1px solid rgba(155, 126, 200, 0.28);
    font-size: 0.76rem;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.detail-character-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(155, 126, 200, 0.18);
}

.detail-character-tag img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.detail-character-tag--icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
}

.menu-card--characters {
    background: linear-gradient(145deg, rgba(244, 236, 255, 0.96), rgba(255, 236, 248, 0.92));
}

.product-card-color-badge {
    position: absolute;
    bottom: 0.45rem;
    right: 0.45rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(74, 44, 61, 0.12);
    font-size: 0.68rem;
    font-weight: 700;
    color: #4a2c3d;
    box-shadow: 0 2px 8px rgba(74, 44, 61, 0.08);
}

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