@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Great+Vibes&family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@600;700&family=Playfair+Display:wght@600;700&display=swap");

.pr-page {
    --pr-bg: #f8f3ec;
    --pr-surface: #fffdf9;
    --pr-surface-alt: #f7f0e6;
    --pr-ink: #24180f;
    --pr-muted: #706255;
    --pr-line: #e7d8c4;
    --pr-gold: #c39a5f;
    --pr-gold-strong: #9f763f;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    gap: 1.4rem;
    color: var(--pr-ink);
    font-family: "Manrope", sans-serif;
}

.pr-hero {
    position: relative;
    min-height: 480px;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    background: #121012;
    box-shadow: 0 16px 44px rgba(29, 20, 13, 0.24);
}

.pr-hero__media {
    position: absolute;
    inset: 0;
}

.pr-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.55s ease;
}

.pr-hero:hover .pr-hero__media img {
    transform: scale(1.07);
}

.pr-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(17, 12, 9, 0.84) 14%,
            rgba(17, 12, 9, 0.34) 52%,
            rgba(17, 12, 9, 0.08) 100%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(250, 225, 186, 0.25),
            transparent 52%
        );
}

.pr-hero__content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    padding: 3.3rem;
    color: #f6eee5;
}

.pr-kicker {
    margin: 0 0 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.73rem;
    font-weight: 700;
    color: #f2d8a7;
}

.pr-hero h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.1rem, 5.2vw, 4rem);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pr-hero p {
    margin: 1.15rem 0 0;
    max-width: 610px;
    color: #f2e6d8;
    font-size: 1rem;
    line-height: 1.64;
}

.pr-tags {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.pr-tags span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 236, 209, 0.45);
    border-radius: 999px;
    background: rgba(255, 247, 236, 0.11);
    color: #f8e8ce;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.38rem 0.8rem;
}

.pr-showcase {
    background: linear-gradient(
        145deg,
        var(--pr-surface),
        #f9f3ea 56%,
        #f5ede0 100%
    );
    border: 1px solid var(--pr-line);
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: 0 10px 24px rgba(55, 38, 20, 0.08);
}

.pr-showcase__head {
    margin-bottom: 1rem;
}

.pr-showcase__head h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    color: #2a1c10;
}

.pr-showcase__head p {
    margin: 0.35rem 0 0;
    color: var(--pr-muted);
}

.pr-showcase__body {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
}

.pr-gallery {
    display: grid;
    gap: 0.78rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pr-tile {
    border: 1px solid var(--pr-line);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    color: inherit;
    padding: 0.55rem;
    cursor: pointer;
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.pr-tile img {
    width: 100%;
    height: 168px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.pr-tile span {
    display: block;
    padding: 0.65rem 0.15rem 0.2rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #2d2117;
}

.pr-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 38, 16, 0.14);
}

.pr-tile.is-active {
    border-color: var(--pr-gold);
    box-shadow: 0 0 0 2px rgba(195, 154, 95, 0.18);
}

.pr-preview {
    border-radius: 18px;
    background: #20170f;
    border: 1px solid rgba(206, 170, 117, 0.42);
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(240px, 1fr) auto;
}

.pr-preview img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.pr-preview__meta {
    padding: 1rem 1.05rem 1.15rem;
    color: #f6ecde;
}

.pr-preview__label {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e4c89e;
}

.pr-preview__meta h3 {
    margin: 0.25rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.65rem;
    line-height: 1.02;
}

.pr-preview__meta p {
    margin: 0.5rem 0 0;
    color: #ebdecd;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pr-layout {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pr-panel {
    border: 1px solid var(--pr-line);
    border-radius: 18px;
    padding: 1.1rem;
    background: linear-gradient(145deg, #fffcf8, var(--pr-surface-alt));
    box-shadow: 0 8px 18px rgba(64, 45, 23, 0.08);
}

.pr-panel__kicker {
    margin: 0;
    color: var(--pr-gold-strong);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.69rem;
    font-weight: 800;
}

.pr-panel h3 {
    margin: 0.35rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    color: #2b1e12;
}

.pr-panel p {
    margin: 0.55rem 0 0;
    color: #6f6154;
    font-size: 0.93rem;
    line-height: 1.55;
}

.pr-panel button {
    margin-top: 1rem;
    border: 1px solid #c69c60;
    border-radius: 10px;
    background: linear-gradient(145deg, #f7e2bf, #ecc78f);
    color: #3f2a0f;
    padding: 0.52rem 0.84rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.pr-panel button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.pr-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.pr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .pr-showcase__body {
        grid-template-columns: 1fr;
    }

    .pr-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pr-page {
        gap: 1rem;
    }

    .pr-hero {
        min-height: 430px;
    }

    .pr-hero__content {
        padding: 2.15rem 1.35rem;
    }

    .pr-gallery {
        grid-template-columns: 1fr;
    }

    .pr-layout {
        grid-template-columns: 1fr;
    }
}

.pr-admin {
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    align-items: start;
}

.pr-admin__editor {
    border: 1px solid #e7d8c4;
    border-radius: 18px;
    background: linear-gradient(145deg, #fffdf9, #f6eee3);
    box-shadow: 0 10px 26px rgba(60, 41, 20, 0.08);
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
    position: sticky;
    top: 16px;
}

.pr-admin__head h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    color: #2b1d11;
}

.pr-admin__head p {
    margin: 0.3rem 0 0;
    color: #675a4d;
    font-size: 0.92rem;
}

.pr-admin__eyebrow {
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9b7441;
    font-size: 0.7rem;
    font-weight: 700;
}

.pr-field {
    display: grid;
    gap: 0.35rem;
}

.pr-field span {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #685b4f;
    font-weight: 700;
}

.pr-field input {
    width: 100%;
    border: 1px solid #d9c8b1;
    border-radius: 10px;
    background: #fff;
    color: #2c2017;
    padding: 0.56rem 0.68rem;
    font-size: 0.92rem;
}

.pr-field select {
    width: 100%;
    border: 1px solid #d9c8b1;
    border-radius: 10px;
    background: #fff;
    color: #2c2017;
    padding: 0.56rem 0.68rem;
    font-size: 0.92rem;
}

.pr-help {
    margin: -0.35rem 0 0;
    font-size: 0.8rem;
    color: #7b6b59;
}

.pr-grid-2 {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pr-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4e4135;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.pr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pr-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.pr-btn:hover {
    transform: translateY(-1px);
}

.pr-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.pr-btn--primary {
    background: linear-gradient(145deg, #f7e0b9, #e8c58e);
    border-color: #cb9d5f;
    color: #3f2a10;
}

.pr-btn--ghost {
    background: #fff;
    border-color: #d5c1a5;
    color: #4b3a2a;
}

.pr-btn--soft {
    background: #efe4d5;
    border-color: #d8c4a8;
    color: #4c3b2d;
}

.pr-admin__status {
    margin: 0;
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    font-size: 0.86rem;
    font-weight: 600;
}

.pr-admin__status.is-info {
    background: #eef3ff;
    color: #2d4f8f;
    border: 1px solid #d5e2ff;
}

.pr-admin__status.is-success {
    background: #edf8f0;
    color: #1f6a35;
    border: 1px solid #ccead3;
}

.pr-admin__status.is-error {
    background: #fff0f0;
    color: #9d2a2a;
    border: 1px solid #ffd1d1;
}

.pr-admin__workspace {
    display: grid;
    gap: 0.95rem;
}

.pr-admin__preview,
.pr-admin__slides {
    border: 1px solid #e7d8c4;
    border-radius: 18px;
    background: linear-gradient(150deg, #fffdf9, #f5ede1);
    box-shadow: 0 8px 20px rgba(66, 45, 22, 0.08);
    padding: 0.9rem;
}

.pr-live {
    position: relative;
    min-height: 300px;
    border-radius: 14px;
    overflow: hidden;
    background: #2b1f18;
}

.pr-live__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.pr-live__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(20, 13, 10, 0.74),
        rgba(20, 13, 10, 0.36)
    );
}

.pr-live__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    color: #fff6ea;
    width: min(100% - 36px, 840px);
    margin: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pr-live__content h3 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.03;
    letter-spacing: 0.02em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.pr-live__content p {
    margin: 0.38rem 0 0;
    line-height: 1.1;
    font-family: "Great Vibes", cursive;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    color: #f3dfbc;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.pr-live__button {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #f2d5a7;
    background: linear-gradient(145deg, #f8e3bf, #eac790);
    color: #432a10;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    min-width: 210px;
    padding: 0.68rem 1.1rem;
}

.pr-admin__slides-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.pr-admin__slides-head h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    color: #2b1f12;
}

.pr-table-wrap {
    overflow-x: auto;
}

.pr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.pr-table th,
.pr-table td {
    border-bottom: 1px solid #eadccc;
    padding: 0.58rem 0.5rem;
    text-align: left;
    vertical-align: middle;
}

.pr-table th {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.74rem;
    color: #6d604f;
}

.pr-table__empty {
    text-align: center;
    color: #746756;
    padding: 1rem;
}

.pr-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.52rem;
    font-size: 0.73rem;
    font-weight: 700;
}

.pr-badge.is-active {
    background: #e8f6ec;
    color: #1f6f39;
}

.pr-badge.is-inactive {
    background: #f5ebeb;
    color: #8e3333;
}

.pr-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

@media (max-width: 1100px) {
    .pr-admin {
        grid-template-columns: 1fr;
    }

    .pr-admin__editor {
        position: static;
    }
}

@media (max-width: 640px) {
    .pr-grid-2 {
        grid-template-columns: 1fr;
    }

    .pr-check {
        margin-top: 0;
    }
}

/* ── Toast ────────────────────────────────── */
.cc-toast {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.cc-toast--success {
    background: #edf8f0;
    color: #1f6a35;
    border: 1px solid #ccead3;
}
.cc-toast--error {
    background: #fff0f0;
    color: #9d2a2a;
    border: 1px solid #ffd1d1;
}
