/* Synthetic WordPress front-end demo */
:root {
    --df-bg: #f6f6f7;
    --df-surface: #ffffff;
    --df-ink: #1d2327;
    --df-muted: #5b646a;
    --df-rule: #dcdcde;
    --df-blue: #1d4ed8;
    --df-blue-soft: #1e40af;
    --df-green: #1f9e56;
    --df-warning: #8a6d1f;
    --df-accent: #2f4f6b;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font: 14px/1.55 Inter, 'Segoe UI', Roboto, sans-serif;
    color: var(--df-ink);
    background: var(--df-bg);
}

.dp-front-app {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%);
}

.dp-front-skip {
    position: fixed;
    z-index: 999;
    inset: 0 auto auto 0;
    padding: .65rem .95rem;
    color: #fff;
    background: #111827;
    font-size: 12px;
    text-decoration: none;
    transform: translateY(-130%);
}
.dp-front-skip:focus {
    transform: translateY(0);
}

.dp-front-header {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid #d1d5db;
    background: #0a0f1b;
    color: #f9fafb;
}

.dp-front-container {
    width: min(1080px, calc(100% - 2.2rem));
    margin: 0 auto;
}

.dp-front-container {
    display: block;
}

.dp-front-brand {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .01em;
}

.dp-front-brand span:first-child {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 7px;
    color: #0f172a;
    background: #e5e7eb;
    font-size: 15px;
    font-weight: 700;
}

.dp-front-header .dp-front-container {
    display: flex;
    gap: .85rem;
    align-items: center;
    min-height: 62px;
}

.dp-front-nav {
    display: inline-flex;
    gap: .5rem;
    margin-left: 1.1rem;
    align-items: center;
}

.dp-front-nav a {
    color: #d4d8dd;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: .35rem .72rem;
}

.dp-front-nav a:hover,
.dp-front-nav a:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
}

.dp-front-meta {
    margin-left: auto;
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    font-size: 12px;
}

.dp-front-meta-link,
.dp-front-reset {
    color: #d5e0ff;
    border: 0;
    border-radius: 6px;
    background: transparent;
    text-decoration: none;
}

.dp-front-reset {
    padding: .35rem .65rem;
    cursor: pointer;
    color: #9fd0ff;
}

.dp-front-reset:hover,
.dp-front-reset:focus {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.dp-front-main {
    padding: 1.6rem 0 2.2rem;
}

.dp-front-page {
    padding: 1.3rem;
    margin-bottom: 1rem;
    display: none;
}

.dp-front-page.is-visible {
    display: block;
}

.dp-front-page[hidden] {
    display: none !important;
}

.dp-front-breadcrumb {
    margin: 0;
    color: #58606c;
    font-size: 12px;
    letter-spacing: .02em;
}

h1,
h2,
h3 {
    margin: .1rem 0 .65rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
}

.dp-front-lead {
    max-width: 72ch;
    color: var(--df-muted);
}

.dp-front-grid {
    margin-top: .9rem;
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: .9rem;
}

.dp-front-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dp-front-card {
    padding: 1rem;
    border: 1px solid var(--df-rule);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
}

.dp-front-card--accent {
    border-top: 3px solid var(--df-blue);
}

.dp-front-card h2,
.dp-front-card h3 {
    margin-top: .2rem;
    margin-bottom: .45rem;
}

.dp-front-card ul {
    margin: .35rem 0 .8rem;
    padding-left: 1.1rem;
}

.dp-front-card li {
    margin: .28rem 0;
}

.dp-front-card__cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #edf2ff;
    border: 1px dashed #bcd5ff;
    border-radius: 8px;
    margin-bottom: .6rem;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.dp-front-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dp-front-card__cover span {
    color: #4a5a7a;
    font-size: 32px;
}

.dp-front-actions {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: .55rem;
}

.dp-front-button {
    border: 1px solid #c6d0e0;
    border-radius: 8px;
    background: #fff;
    color: #243040;
    cursor: pointer;
    min-height: 38px;
    padding: .44rem .82rem;
    line-height: 1.3;
}

.dp-front-button:hover,
.dp-front-button:focus {
    background: #f1f5f9;
}

.dp-front-button--primary {
    border-color: var(--df-blue);
    background: var(--df-blue);
    color: #fff;
}

.dp-front-button--primary:hover,
.dp-front-button--primary:focus {
    background: var(--df-blue-soft);
}

.dp-front-link {
    color: var(--df-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.dp-front-link:hover,
.dp-front-link:focus {
    text-decoration: underline;
}

.dp-front-eyebrow {
    margin: 0 0 .45rem;
    color: var(--df-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 700;
}

.dp-front-safety {
    padding: .5rem .65rem;
    border: 1px solid #d5dde8;
    border-left: 3px solid var(--df-warning);
    border-radius: 7px;
    background: #fff7d6;
    font-size: 12px;
}

.dp-front-safety-note {
    margin: 0;
    font-size: 12px;
    color: #3f4f63;
}

.dp-front-section-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: .85rem;
    flex-wrap: wrap;
}

.dp-front-section-header p {
    margin: 0;
    color: #6c7480;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.dp-front-section-actions {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    flex-wrap: wrap;
}

.dp-front-section-actions label {
    display: grid;
    gap: .35rem;
    font-size: 12px;
    color: #5a6470;
}

.dp-front-section-actions select,
.dp-front-field input,
.dp-front-section-actions button {
    min-height: 34px;
}

.dp-front-section-actions select {
    border: 1px solid #ccd2da;
    border-radius: 7px;
    padding: .35rem .5rem;
    min-width: 240px;
}

.dp-front-preview {
    margin-top: .85rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}

.dp-demo-metrics-preview {
    margin-top: .6rem;
    display: grid;
    gap: .45rem;
}

.dp-demo-metrics-preview div {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    border-bottom: 1px dashed #d4d9e1;
    padding: .15rem 0;
}

.dp-demo-metrics-preview span {
    color: #5b6776;
}

.dp-demo-metrics-preview strong {
    color: #1f2937;
}

.dp-demo-activity {
    margin: 0;
    padding-left: 1.05rem;
    min-height: 120px;
}

.dp-demo-activity li {
    margin: .35rem 0;
    font-size: 12px;
}

.dp-front-catalog-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #d8dee7;
    padding: .85rem;
    display: grid;
    gap: .45rem;
}

.dp-front-catalog-item h3 {
    margin: 0;
    font-size: 16px;
}

.dp-front-catalog-item p {
    margin: 0;
    color: #596172;
    font-size: 12px;
}

.dp-front-catalog-data {
    display: grid;
    gap: .28rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
    color: #4d5a6a;
}

.dp-front-catalog-data li {
    display: flex;
    gap: .35rem;
}

.dp-front-cart-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: .85rem;
}

.dp-front-cart-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d8dee7;
    background: #fff;
}

.dp-front-cart-table th,
.dp-front-cart-table td {
    text-align: left;
    padding: .65rem .75rem;
    border-bottom: 1px solid #e4e8ef;
    vertical-align: top;
    font-size: 12px;
}

.dp-front-cart-table thead {
    background: #f8fafc;
    color: #253145;
}

.dp-front-empty {
    color: #667085;
    text-align: center;
}

.dp-front-checkout {
    border: 1px solid #d7dcea;
    padding: .85rem;
    border-radius: 10px;
    background: #fff;
    height: max-content;
}

.dp-front-checkout dl {
    margin: .1rem 0 .85rem;
    display: grid;
    gap: .5rem;
}

.dp-front-checkout dt {
    color: #667085;
    font-size: 11px;
}

.dp-front-checkout dd {
    margin: .05rem 0 0;
    font-weight: 600;
}

.dp-front-field {
    display: grid;
    gap: .35rem;
    font-size: 12px;
    color: #4d5969;
}

.dp-front-field input {
    border: 1px solid #cad2dd;
    border-radius: 7px;
    padding: .45rem .55rem;
}

.dp-front-checkout-status {
    margin: .7rem 0 0;
    min-height: 18px;
    font-size: 12px;
    color: #334155;
}

.dp-front-checkout-status.is-success {
    color: #15803d;
}

.dp-front-checkout-status.is-warning {
    color: #b45309;
}

.dp-front-footer {
    margin-top: 1.4rem;
    border-top: 1px solid #e5e9ef;
    padding: 1rem 0 2rem;
    color: #667085;
    font-size: 12px;
}

.dp-front-footer .dp-front-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.dp-front-footer a {
    color: #1d4ed8;
    text-decoration: none;
}

@media (max-width: 980px) {
    .dp-front-grid,
    .dp-front-preview,
    .dp-front-cart-wrap {
        grid-template-columns: 1fr;
    }

    .dp-front-grid--compact {
        grid-template-columns: 1fr;
    }

    .dp-front-header .dp-front-container {
        flex-wrap: wrap;
        padding-bottom: .5rem;
    }

    .dp-front-nav {
        width: 100%;
        margin-left: 0;
        order: 3;
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .dp-front-container {
        width: min(1080px, calc(100% - 1rem));
    }

    .dp-front-main {
        padding-top: .95rem;
    }

    .dp-front-meta {
        order: 2;
        width: 100%;
        justify-content: space-between;
        margin-top: .3rem;
    }

    .dp-front-section-actions {
        width: 100%;
    }

    .dp-front-section-actions select {
        min-width: 0;
        width: 100%;
    }
}
