/* My account ▸ My warranties and the guest lookup on the login screen. */
/* The menu icon: Shoptimizer masks an icon per known tab; without one ours showed a black square. */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--warranties a:before { -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3L19 6V11C19 15.4 16.1 19.3 12 21C7.9 19.3 5 15.4 5 11V6L12 3Z' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 12L11 14L15 10' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3L19 6V11C19 15.4 16.1 19.3 12 21C7.9 19.3 5 15.4 5 11V6L12 3Z' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 12L11 14L15 10' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nx-warranties { width: 100%; margin: 0 0 1.5em; border-collapse: collapse; font-size: 0.95em; }
.nx-warranties th, .nx-warranties td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid #e8e8e8; }
.nx-warranties th { font-size: 0.85em; color: #555; white-space: nowrap; }
.nx-warranties td:last-child, .nx-warranties th:last-child { padding-right: 0; }
.nx-warranties tbody td:not(.nx-warranties__item) { white-space: nowrap; }
.nx-warranties__label { color: #555; font-size: 0.9em; }
/* The serial number(s) under the warranty: long IMEIs wrap, never widen the table. */
.nx-warranties__serial { color: #555; font-size: 0.9em; overflow-wrap: anywhere; }
.nx-warranties__th { display: none; }
.nx-warranties__state { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 0.8em; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.nx-warranties__state--active { background: #e6f4ea; color: #1e6b39; }
.nx-warranties__state--ending { background: #fff1d6; color: #7a4a00; }
.nx-warranties__state--expired { background: #efefef; color: #555; }
.nx-warranties__state--pending { background: #e7f0fb; color: #1a4f8a; }
.nx-warranties__state--void { background: #efefef; color: #555; }
.nx-warranties__row--expired .nx-warranties__item { color: #666; }
.nx-warranties__claim-link { display: inline-flex; align-items: center; gap: 6px; color: #0b7a5c; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nx-warranties__claim-link:hover, .nx-warranties__claim-link:focus { text-decoration: underline; }
.nx-warranties__claim-link .nx-wa-icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.nx-warranty-lookup { clear: both; margin: 2.5em 0 0; padding: 1.5em; border: 1px solid #e2e2e2; border-radius: 6px; }
.nx-warranty-lookup h2 { margin-top: 0; font-size: 1.25em; }
.nx-warranty-lookup .nx-warranties { margin-bottom: 1.5em; }
.nx-warranty-lookup__message { padding: 10px 12px; border: 0; border-left: 4px solid #f0a500; outline: 0; box-shadow: none; background: #fff8e1; color: #5c4400; }
.nx-warranty-lookup__form::after { content: ""; display: table; clear: both; }
.nx-warranty-lookup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 768px) {
	.nx-warranties thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.nx-warranties tr { display: block; margin: 0 0 12px; padding: 4px 14px; border: 1px solid #e2e2e2; border-radius: 6px; }
	/* Doubled class: the theme's account tables set td to block on phones. */
	table.nx-warranties.nx-warranties tbody td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; text-align: right; }
	.nx-warranties tbody td:not(.nx-warranties__item) { white-space: normal; }
	table.nx-warranties.nx-warranties tbody td::before { content: none; display: none; }
	table.nx-warranties .nx-warranties__th { display: block; flex: 0 0 auto; margin-right: auto; font-weight: 600; text-align: left; color: #333; }
	table.nx-warranties .nx-warranties__val { flex: 0 1 auto; text-align: right; }
	.nx-warranties td:last-child { border-bottom: 0; }
	table.nx-warranties.nx-warranties tbody td.nx-warranties__item { display: block; text-align: left; }
}
@media (max-width: 560px) {
	.nx-warranty-lookup { padding: 1em; }
	.nx-warranty-lookup .form-row-first, .nx-warranty-lookup .form-row-last { float: none; width: 100%; }
}
