/* WC Made to Order — Product Page Styles
   Safety Hub Kenya | wc-made-to-order v1.0.0
   ─────────────────────────────────────────── */

/* ── Badge ──────────────────────────────────────── */
.wcmto-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
    cursor: default;
}

/* ── Notice box ─────────────────────────────────── */
.wcmto-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fffaf5;
    border: 1.5px solid var(--wcmto-accent, #e67e22);
    border-left-width: 4px;
    border-radius: 6px;
    padding: 14px 16px;
    margin: 16px 0 20px;
    font-family: inherit;
}

.wcmto-notice__icon {
    color: var(--wcmto-accent, #e67e22);
    flex-shrink: 0;
    margin-top: 2px;
}

.wcmto-notice__body {
    flex: 1;
    min-width: 0;
}

.wcmto-notice__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    letter-spacing: 0.01em;
}

.wcmto-notice__text {
    font-size: 13.5px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

/* ── Meta chips ─────────────────────────────────── */
.wcmto-notice__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wcmto-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.wcmto-meta-item svg {
    color: var(--wcmto-accent, #e67e22);
    flex-shrink: 0;
}

/* ── Availability text override ─────────────────── */
.wcmto-availability {
    color: var(--wcmto-accent, #e67e22) !important;
    font-weight: 500;
}

/* ── Dark mode ──────────────────────────────────── */
@media (prefers-color-scheme: dark) {
    .wcmto-notice {
        background: rgba(230, 126, 34, 0.08);
    }
    .wcmto-notice__title {
        color: #f0f0f0;
    }
    .wcmto-notice__text {
        color: #ccc;
    }
    .wcmto-meta-item {
        background: rgba(255,255,255,0.08);
        color: #ddd;
    }
}

/* ── Mobile ─────────────────────────────────────── */
@media (max-width: 600px) {
    .wcmto-notice {
        flex-direction: column;
        gap: 10px;
    }
    .wcmto-notice__meta {
        flex-direction: column;
        gap: 6px;
    }
    .wcmto-meta-item {
        width: fit-content;
    }
}
