.dc-resterampe-root,
[data-dc-resterampe-cards] {
    --primary: #054066;
    --accent: #1cd4e9;
    font-family: Montserrat, var(--bs-font-sans-serif), Arial, sans-serif;
    color: #102a3a;
}

.dc-resterampe-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .dc-resterampe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .dc-resterampe-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dc-resterampe-card {
    background: #fff;
    border: 1px solid rgba(5, 64, 102, .1);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(5, 64, 102, .08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dc-resterampe-card-media {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #edf6f9, #fff);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.dc-resterampe-card-media-link {
    display: block;
    height: 100%;
    width: 100%;
}

.dc-resterampe-card-image {
    height: 100%;
    object-fit: contain;
    padding: 18px;
    width: 100%;
}

.dc-resterampe-card-placeholder {
    color: #78909c;
    font-weight: 600;
}

.dc-resterampe-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.dc-resterampe-card-title {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.dc-resterampe-card-title-link {
    color: inherit;
    text-decoration: none;
}

.dc-resterampe-card-title-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.dc-resterampe-product-link {
    align-self: flex-start;
    color: var(--primary);
    font-size: .92rem;
    font-weight: 700;
    margin: -4px 0 14px;
    text-decoration: none;
}

.dc-resterampe-product-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.dc-resterampe-facts {
    color: #425f6f;
    font-size: .95rem;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.dc-resterampe-facts li {
    border-bottom: 1px solid rgba(5, 64, 102, .08);
    padding: 7px 0;
}

.dc-resterampe-card-note,
.dc-resterampe-privacy-hint {
    color: #607d8b;
    font-size: .92rem;
}

.dc-resterampe-bid-button,
.dc-resterampe-submit-button {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 999px;
    font-weight: 700;
    margin-top: auto;
}

.dc-resterampe-bid-button:hover,
.dc-resterampe-submit-button:hover {
    background: #043452;
    border-color: #043452;
}

.dc-resterampe-empty {
    background: #fff;
    border: 1px dashed rgba(5, 64, 102, .24);
    border-radius: 18px;
    padding: 36px;
}

.dc-resterampe-empty h2 {
    color: var(--primary);
    font-weight: 800;
}

.dc-resterampe-modal {
    --primary: #054066;
    --accent: #1cd4e9;
    font-family: Montserrat, var(--bs-font-sans-serif), Arial, sans-serif;
}

.dc-resterampe-modal .modal-content {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(5, 64, 102, .24);
}

.dc-resterampe-modal .modal-title {
    color: var(--primary);
    font-weight: 800;
}

.dc-resterampe-modal-kicker {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dc-resterampe-modal-product {
    color: #607d8b;
    margin: 6px 0 0;
}

.dc-resterampe-form-errors,
.dc-resterampe-form-success {
    border-radius: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.dc-resterampe-form-errors {
    background: #fff1f0;
    border: 1px solid #ffc9c5;
    color: #9f1d16;
}

.dc-resterampe-form-errors ul {
    margin-bottom: 0;
}

.dc-resterampe-form-success {
    background: #e9fbff;
    border: 1px solid var(--accent);
    color: var(--primary);
    font-weight: 700;
}

.dc-resterampe-listing-error {
    display: block;
}

.dc-resterampe-skeleton-card {
    animation: dc-resterampe-pulse 1.4s ease-in-out infinite;
    background: linear-gradient(90deg, #edf6f9 0%, #f8fbfc 50%, #edf6f9 100%);
    border-radius: 18px;
    min-height: 360px;
}

@keyframes dc-resterampe-pulse {
    0% {
        opacity: .72;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: .72;
    }
}

/* ==================== COUNTDOWN ==================== */
.dc-resterampe-countdown {
    background: #dc2626;
    color: #fff;
    padding: 18px 24px;
    border-radius: 4px;
    margin: 0 0 32px;
    position: relative;
    overflow: hidden;
}

.dc-resterampe-countdown::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent 0,
        transparent 24px,
        rgba(255,255,255,0.05) 24px,
        rgba(255,255,255,0.05) 25px
    );
    pointer-events: none;
}

.dc-resterampe-countdown-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.dc-resterampe-countdown-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.95);
}

.dc-resterampe-countdown-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: dc-resterampe-cd-pulse 1s ease-in-out infinite;
}

@keyframes dc-resterampe-cd-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.dc-resterampe-countdown-timer {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dc-resterampe-time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.22);
    border-radius: 4px;
}

.dc-resterampe-time-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #fff;
}

.dc-resterampe-time-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 4px;
    color: rgba(255,255,255,0.85);
}

.dc-resterampe-time-sep {
    font-size: 18px;
    font-weight: 800;
    opacity: 0.5;
    margin: 0 -2px;
    align-self: center;
    margin-bottom: 14px;
}

.dc-resterampe-countdown[data-dc-cd-state="ended"] {
    background: #6b7280;
}

@media (max-width: 600px) {
    .dc-resterampe-countdown { padding: 14px; }
    .dc-resterampe-countdown-inner { gap: 14px; }
    .dc-resterampe-countdown-flag { font-size: 10px; letter-spacing: 0.14em; }
    .dc-resterampe-time-block { min-width: 44px; padding: 6px 8px; }
    .dc-resterampe-time-num { font-size: 18px; }
}

/* ==================== MIN LEASE HINTS (v3.0.3) ==================== */
.dc-resterampe-card-min {
    margin: 8px 0 12px;
    padding: 8px 12px;
    background: rgba(28, 212, 233, 0.08);
    border-left: 3px solid #1cd4e9;
    color: #054066;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
}

.dc-resterampe-min-hint {
    color: #054066;
    font-weight: 600;
    margin-top: 6px;
    font-size: 13px;
}

/* ==================== CUSTOMER TYPE RADIO (v3.0.15) ==================== */
.dc-resterampe-customer-type {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    min-height: 38px;
    align-items: center;
}

.dc-resterampe-customer-type .form-check-input:checked {
    background-color: var(--primary, #054066);
    border-color: var(--primary, #054066);
}

.dc-resterampe-customer-type .form-check-label {
    font-weight: 600;
    color: var(--primary, #054066);
}
