:root {
    --pine: #14261c;
    --holly: #1f3d2c;
    --needles: #2f6b45;
    --gold: #c9a227;
    --gold-deep: #a7841a;
    --burgundy: #8b1e3f;
    --cream: #f4ecdf;
    --snow: #fffaf3;
    --ink: #1c1712;
    --muted: #6b6156;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--cream);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, .dcl-brand span {
    font-family: "Cormorant Garamond", Georgia, serif;
}

.dcl-nav {
    background: var(--pine);
    box-shadow: 0 2px 16px rgba(20, 38, 28, 0.28);
}

.dcl-nav .navbar-toggler {
    border-color: rgba(255, 250, 243, 0.35);
}

.dcl-nav .navbar-toggler-icon {
    filter: invert(1);
}

.dcl-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--snow) !important;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.dcl-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
}

.dcl-nav .nav-link,
.dcl-nav .nav-link.btn {
    color: rgba(255, 250, 243, 0.88) !important;
    font-weight: 500;
    text-decoration: none;
}

.dcl-nav .nav-link:hover,
.dcl-nav .nav-link.btn:hover {
    color: var(--gold) !important;
}

.dcl-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    color: var(--snow);
    overflow: hidden;
}

.dcl-hero-photo,
.dcl-hero-shade {
    position: absolute;
    inset: 0;
}

.dcl-hero-photo {
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.04);
}

.dcl-hero-shade {
    background: linear-gradient(180deg, rgba(20, 38, 28, 0.25) 0%, rgba(20, 38, 28, 0.72) 70%, rgba(20, 38, 28, 0.92) 100%);
}

.dcl-hero-copy {
    position: relative;
    padding: 4.5rem 0 3rem;
}

.dcl-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.dcl-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.dcl-lead {
    max-width: 38rem;
    font-size: 1.15rem;
    line-height: 1.55;
    color: rgba(255, 250, 243, 0.9);
}

.dcl-count {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(201, 162, 39, 0.55);
    border-radius: 999px;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.dcl-section {
    padding: 3.5rem 0 4.5rem;
}

.dcl-empty {
    text-align: center;
    max-width: 32rem;
    margin: 1rem auto;
    padding: 2.5rem 1.5rem;
}

.dcl-empty-mark {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--gold);
}

.dcl-empty h2 {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
}

.dcl-card {
    height: 100%;
    background: var(--snow);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(28, 23, 18, 0.08);
    display: flex;
    flex-direction: column;
}

.dcl-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--holly);
    overflow: hidden;
}

.dcl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dcl-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, #2a5138 0%, #14261c 75%);
}

.dcl-card-placeholder img {
    width: 42%;
    height: auto;
    border-radius: 50%;
    opacity: 0.85;
}

.dcl-price,
.dcl-ribbon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.dcl-price {
    background: var(--snow);
    color: var(--pine);
}

.dcl-ribbon {
    background: var(--burgundy);
    color: var(--snow);
}

.dcl-card-body {
    padding: 1.25rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.dcl-card-body h2 {
    font-size: 1.65rem;
    margin: 0;
    line-height: 1.2;
}

.dcl-notes {
    color: var(--muted);
    margin: 0;
}

.dcl-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--holly);
    font-size: 0.92rem;
    font-weight: 600;
}

.dcl-buy {
    margin-top: auto;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--pine);
    font-weight: 600;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
}

.dcl-buy:hover,
.dcl-buy:focus {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: var(--snow);
}

.dcl-buy i {
    margin-left: 0.4rem;
    font-size: 0.85em;
}

.dcl-card.is-purchased {
    opacity: 0.78;
}

.dcl-card.is-purchased .dcl-card-image img {
    filter: grayscale(0.35);
}

.dcl-taken {
    margin-top: auto;
    color: var(--burgundy);
    font-weight: 600;
}

.dcl-claimed-heading {
    margin: 3.5rem 0 0.4rem;
    font-size: 2rem;
}

.dcl-claimed-note {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.dcl-footer {
    background: var(--pine);
    color: rgba(255, 250, 243, 0.78);
}

.dcl-footer-dot {
    margin: 0 0.4rem;
}

.dcl-footer-login {
    color: var(--gold);
    text-decoration: none;
}

.dcl-footer-login:hover {
    color: var(--snow);
}

.dcl-admin-page {
    padding: 3rem 0 4rem;
}

.dcl-admin-panel {
    background: var(--snow);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(28, 23, 18, 0.08);
}

.dcl-login-panel {
    max-width: 28rem;
    margin: 1rem auto;
    text-align: center;
}

.dcl-login-panel form {
    text-align: left;
}

.dcl-admin-lead {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.dcl-admin-page h1 {
    font-size: 2.4rem;
}

.dcl-alert {
    background: #e8f2ea;
    border: 1px solid #b7d3be;
    color: var(--holly);
}

.dcl-table {
    --bs-table-bg: transparent;
}

.dcl-table thead th {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.9rem 1rem;
}

.dcl-table td {
    padding: 0.9rem 1rem;
}

.dcl-table tr.is-purchased td {
    color: var(--muted);
}

.dcl-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--holly);
}

.dcl-thumb-empty {
    display: inline-block;
}

.dcl-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.dcl-status.open {
    background: #e8f2ea;
    color: var(--needles);
}

.dcl-status.purchased {
    background: #f6e4ea;
    color: var(--burgundy);
}

.dcl-btn-quiet {
    border: 1px solid #ddd2c3;
    color: var(--holly);
    background: transparent;
}

.dcl-btn-quiet:hover {
    background: var(--cream);
    color: var(--pine);
}

.dcl-btn-danger {
    color: var(--burgundy);
    border: 1px solid #e3c3cd;
    background: transparent;
}

.dcl-btn-danger:hover {
    background: #f6e4ea;
    color: var(--burgundy);
}

.dcl-preview {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

.form-control:focus,
.form-check-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
}

.form-check-input:checked {
    background-color: var(--needles);
    border-color: var(--needles);
}

@media (max-width: 767.98px) {
    .dcl-hero {
        min-height: 360px;
    }

    .dcl-admin-panel {
        padding: 1.35rem;
    }
}
