/* DhraagiConcierge — public and admin styles */
.dgc-concierge,
.dgc-admin-wrap {
    --dgc-bg: #ffffff;
    --dgc-card: #ffffff;
    --dgc-border: rgba(17, 24, 39, .12);
    --dgc-text: #111827;
    --dgc-muted: #6b7280;
    --dgc-primary: #111827;
    --dgc-radius: 18px;
    color: var(--dgc-text);
}

.dgc-hero,
.dgc-section,
.dgc-login-box,
.dgc-notice,
.dgc-product-card,
.dgc-admin-card {
    background: var(--dgc-card);
    border: 1px solid var(--dgc-border);
    border-radius: var(--dgc-radius);
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.dgc-hero {
    margin-bottom: 20px;
}

.dgc-hero h1,
.dgc-section h2 {
    margin-top: 0;
}

.dgc-section {
    margin: 22px 0;
}

.dgc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.dgc-product-card {
    overflow: hidden;
    padding: 0;
}

.dgc-product-card__image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.dgc-product-card__body {
    padding: 18px;
}

.dgc-product-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.dgc-product-card__desc,
.dgc-muted,
.dgc-product-stock {
    color: var(--dgc-muted);
}

.dgc-product-price {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 12px 0 4px;
}

.dgc-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.dgc-form-row {
    display: grid;
    gap: 10px;
}

.dgc-form-row--inline {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.dgc-form input,
.dgc-form select,
.dgc-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--dgc-border);
    border-radius: 12px;
    padding: 10px 12px;
}

.dgc-button,
.dgc-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--dgc-primary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}

.dgc-button--secondary {
    background: #374151;
}

.dgc-loan-details {
    margin-top: 12px;
    border-top: 1px solid var(--dgc-border);
    padding-top: 12px;
}

.dgc-loan-details summary {
    cursor: pointer;
    font-weight: 700;
}

.dgc-contract-box,
.dgc-warning {
    background: #f9fafb;
    border: 1px solid var(--dgc-border);
    border-radius: 14px;
    padding: 12px;
}

.dgc-warning {
    border-left: 4px solid #111827;
}

.dgc-notice {
    margin: 15px 0;
}

.dgc-notice--payment_paid,
.dgc-notice--request_sent,
.dgc-notice--booking_sent {
    border-left: 5px solid #15803d;
}

.dgc-notice--error,
.dgc-notice--payment_failed {
    border-left: 5px solid #b91c1c;
}

.dgc-notice--payment_pending {
    border-left: 5px solid #b45309;
}

.dgc-admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.dgc-admin-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.dgc-admin-card span {
    color: var(--dgc-muted);
}

.dgc-check-list li {
    margin: 6px 0;
}

.dgc-metabox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.dgc-prereq-table th {
    width: 280px;
}

/* v0.1.3 — navigation interne et catalogue plus compact */
.dgc-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 8px;
}

.dgc-intro-note {
    color: var(--dgc-muted);
    margin-bottom: 0;
}

.dgc-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.dgc-product-card__image img {
    height: 135px;
}

.dgc-product-card__body {
    padding: 14px;
}

.dgc-product-card h3 {
    font-size: 1.05rem;
}
