/* Number Plate Maker – shared front-end pieces */

/* Registration search (hero) */
.npm-reg-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; max-width: 640px; }
.npm-reg-search__plate { flex: 1 1 300px; display: flex; min-height: 72px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #ffe066, #ffd736); box-shadow: inset 0 0 0 3px #0e1013, 0 18px 30px -18px rgba(0, 0, 0, .65); }
.npm-reg-search--front .npm-reg-search__plate { background: linear-gradient(180deg, #fff, #eceff2); }
.npm-reg-search__badge { display: grid; place-items: end center; width: 44px; padding-bottom: 12px; margin: 3px 0 3px 3px; border-radius: 9px 0 0 9px; background: #0b4ea2; color: #fff; font: 800 15px/1 Arial, sans-serif; }
.npm-reg-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; text-align: center; text-transform: uppercase; font-family: "Barlow Condensed", "Archivo Narrow", "Arial Narrow", Arial, sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: .08em; color: #0b0b0c; padding: 0 12px; }
.npm-reg-search input::placeholder { color: rgba(0, 0, 0, .3); }
.npm-reg-search__plate:focus-within { box-shadow: inset 0 0 0 3px #0e1013, 0 0 0 4px rgba(255, 215, 54, .45); }
.npm-reg-search button { flex: 0 0 auto; border: 0; border-radius: 12px; padding: 0 26px; min-height: 72px; background: #ffd736; color: #0e1013; font-weight: 800; font-size: 17px; cursor: pointer; box-shadow: 0 18px 30px -18px rgba(255, 215, 54, .8); transition: transform .15s; }
.npm-reg-search button:hover { transform: translateY(-1px); }
@media (max-width: 560px) { .npm-reg-search button { width: 100%; min-height: 58px; } }

/* Plate graphic */
.npm-plate-figure { margin: 0 auto; }
.npm-plate-figure img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .28)); }

/* Cart */
.npm-cart-thumb img { width: 110px !important; height: auto !important; max-width: none; }
.woocommerce-cart-form .product-thumbnail { min-width: 120px; }
.wc-item-meta, .variation { font-size: .88em; }

/* Checkout compliance */
.npm-checkout-compliance { clear: both; margin: 28px 0; padding: 22px 24px; border: 2px solid #0e1013; border-radius: 16px; background: #fffdf2; }
.npm-checkout-compliance h3 { margin: 0 0 6px; font-size: 1.15rem; }
.npm-cc-intro { margin: 0 0 16px; font-size: .92rem; color: #4b5563; }
.npm-cc-doc { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid #ece6c9; }
.npm-cc-label { font-weight: 800; }
.npm-cc-type { max-width: 100%; height: 42px; border-radius: 8px; border: 1.5px solid #d1d5db; padding: 0 10px; }
.npm-cc-file { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.npm-cc-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.npm-cc-file span { display: inline-block; padding: 10px 16px; border-radius: 10px; background: #0e1013; color: #ffd736; font-weight: 800; font-size: .9rem; }
.npm-cc-file:focus-within span { outline: 3px solid rgba(11, 78, 162, .4); }
.npm-cc-status { font-size: .9rem; font-weight: 600; }
.npm-cc-status.is-ok { color: #138a43; }
.npm-cc-status.is-bad { color: #c81e1e; }
.npm-cc-status.is-busy { color: #6b7280; }
.npm-cc-later { font-size: .92rem; margin: 10px 0; }
.npm-checkout-compliance .form-row { margin: 10px 0 0; }

/* Notices & upload page */
.npm-docs-notice { margin: 0 0 28px; padding: 20px 22px; border-radius: 14px; background: #fff8db; border: 2px solid #f2b705; }
.npm-docs-notice p { margin: 6px 0 14px; }
.npm-btn, a.npm-btn, .button.npm-btn { display: inline-block; background: #0e1013 !important; color: #ffd736 !important; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 800; text-decoration: none; cursor: pointer; }
.npm-upload-page { max-width: 680px; }
.npm-upload-form fieldset { border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 16px; margin: 0 0 16px; display: grid; gap: 10px; }
.npm-upload-form legend { font-weight: 800; padding: 0 6px; }
.npm-upload-form select { height: 42px; border-radius: 8px; }
.npm-upload-message { padding: 14px 16px; border-radius: 10px; background: #ecfdf5; color: #065f46; margin: 0 0 18px; font-weight: 600; }
.npm-upload-privacy { font-size: .88rem; color: #6b7280; }
.npm-ok { color: #138a43; font-weight: 700; }

/* Editor placeholder */
.npm-editor-placeholder { border: 2px dashed #c7cbd1; border-radius: 16px; padding: 28px; background: repeating-linear-gradient(45deg, #fafafa, #fafafa 12px, #f3f4f6 12px, #f3f4f6 24px); }
.npm-editor-placeholder__inner strong { font-size: 18px; }

/* Contact form */
.npm-contact { display: grid; gap: 1rem; max-width: 640px; margin: 1.5rem 0 2rem; }
.npm-contact label { display: grid; gap: .4rem; font-weight: 700; font-size: .92rem; }
.npm-contact input, .npm-contact textarea { width: 100%; border: 1.5px solid #d5d9df; border-radius: 10px; padding: .75rem .85rem; font: inherit; font-weight: 500; background: #fff; }
.npm-contact input:focus, .npm-contact textarea:focus { outline: 2px solid rgba(11, 78, 162, .3); border-color: #0e1013; }
.npm-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.npm-contact button { justify-self: start; }
.npm-hp { position: absolute !important; left: -9999px; }
.npm-contact-ok { padding: 1rem 1.2rem; border-radius: 12px; background: #ecfdf5; color: #065f46; font-weight: 700; }
.npm-contact-error { color: #c81e1e; font-weight: 700; margin: 0; }
@media (max-width: 600px) { .npm-contact__row { grid-template-columns: 1fr; } }
