/* CS-0019 system pages: 404, "nothing found", blog/archives, empty cart, My account, order tracking.
   Keeps the theme colours and fonts (black buttons, theme font). CS-0018 can polish on top of this file. */

/* ---------- 404 ---------- */
.lo-404{max-width:760px;margin:0 auto;padding:72px 16px 88px;text-align:center}
.lo-404__code{margin:0 0 8px;font-size:14px;letter-spacing:.14em;text-transform:uppercase;opacity:.6}
.lo-404__title{margin:0 0 16px;font-size:clamp(30px,5vw,48px);line-height:1.1}
.lo-404__text{margin:0 auto 28px;max-width:560px;font-size:17px;line-height:1.6}
.lo-404__search{display:flex;gap:8px;max-width:520px;margin:0 auto 24px}
.lo-404__search input[type=search]{flex:1 1 auto;min-width:0;height:48px;margin:0;padding:0 14px;border:1px solid #cfcfcf;background:#fff}
.lo-404__search .button{flex:0 0 auto;height:48px;margin:0}
.lo-404__sub{margin:36px 0 12px;font-size:18px}
.lo-404__home{margin:32px 0 0}
.lo-404__home a{text-decoration:underline}

/* ---------- quick links (404 + nothing found) ---------- */
.lo-help-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:24px 0}
.lo-help-links .button{margin:0}
.lo-help-links__alt{background:transparent!important;color:#000!important;border:1px solid #000!important}
.lo-help-links__alt:hover{background:#000!important;color:#fff!important}
.lo-cat-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0;padding:0;list-style:none}
.lo-cat-links a{display:inline-block;padding:8px 16px;border:1px solid #cfcfcf;border-radius:999px}
.lo-cat-links a:hover{border-color:#000}
.no-results .lo-help-links{justify-content:flex-start}

/* ---------- blog / search / archives: no demo sidebar (Categorías / Archivos widgets) ---------- */
.blog-listing .nova-sidebar{display:none!important}
.blog-listing .site-main-content-wrapper{flex:0 0 100%;max-width:100%}
.blog-listing .no-results .search-form{max-width:520px;margin:16px 0}

/* ---------- empty cart ---------- */
.wp-block-woocommerce-empty-cart-block .lo-empty-cart-text{text-align:center;max-width:520px;margin:0 auto 20px}
.wp-block-woocommerce-empty-cart-block .wp-block-buttons{margin-bottom:32px}
.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots{display:none}


/* ---------- mobile ---------- */
@media (max-width:640px){
	.lo-404{padding:40px 16px 56px}
	.lo-404__search{flex-direction:column}
	.lo-404__search .button{width:100%}
	.lo-help-links{flex-direction:column}
	.lo-help-links .button{width:100%;text-align:center}
}

/* empty cart buttons: WC block styles leave them white-on-white */
.wp-block-woocommerce-empty-cart-block .wp-block-buttons{gap:10px;justify-content:center}
.wp-block-woocommerce-empty-cart-block .wp-block-button__link{background:#000!important;color:#fff!important;border:1px solid #000!important;border-radius:0;padding:14px 26px;font-weight:600;text-decoration:none;display:inline-block}
.wp-block-woocommerce-empty-cart-block .is-style-outline .wp-block-button__link{background:transparent!important;color:#000!important}
.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover{background:#333!important;color:#fff!important}
.wp-block-woocommerce-empty-cart-block .is-style-outline .wp-block-button__link:hover{background:#000!important;color:#fff!important}
@media (max-width:600px){.wp-block-woocommerce-empty-cart-block .wp-block-buttons{flex-direction:column;align-items:stretch}.wp-block-woocommerce-empty-cart-block .wp-block-button__link{width:100%;text-align:center}}
body .wp-block-woocommerce-empty-cart-block .wp-block-button.is-style-outline .wp-block-button__link{color:#000!important;background-color:transparent!important;text-transform:none}
body .wp-block-woocommerce-empty-cart-block .wp-block-button.is-style-outline .wp-block-button__link:hover{color:#fff!important;background-color:#000!important}
body .wp-block-woocommerce-empty-cart-block .wp-block-button:not(.is-style-outline) .wp-block-button__link{text-transform:none}
