/* Mini-carrito lateral de WooCommerce: por encima de la cabecera fija, legible y con jerarquía de botones. */
.wc-block-components-drawer__screen-overlay { z-index: 100000 !important; }
.wc-block-components-drawer { z-index: 100001 !important; top: 0 !important; height: 100% !important; max-height: 100vh !important; background: #171717 !important; color: #f7f7f7 !important; font-family: "DM Sans", system-ui, sans-serif; }
.admin-bar .wc-block-components-drawer { top: 32px !important; height: calc(100% - 32px) !important; }
@media (max-width: 782px) { .admin-bar .wc-block-components-drawer { top: 46px !important; height: calc(100% - 46px) !important; } }
.wc-block-components-drawer .wc-block-mini-cart__drawer, .wc-block-components-drawer .wp-block-woocommerce-mini-cart-contents { background: #171717 !important; color: #f7f7f7 !important; height: 100%; }
.wc-block-mini-cart__title { font-family: "Space Grotesk", sans-serif !important; text-transform: uppercase; color: #f7f7f7 !important; padding-top: 1.5rem !important; }
.wc-block-mini-cart__items { padding: 1rem !important; }
.wc-block-mini-cart__products-table .wc-block-cart-items__row { display: grid !important; grid-template-columns: 72px 1fr auto; gap: .75rem 1rem; background: #222; border: 1px solid #3a3a3a; padding: .9rem !important; margin-bottom: .75rem; align-items: start; }
.wc-block-mini-cart__products-table .wc-block-cart-item__image img { width: 72px !important; height: 72px; object-fit: cover; }
.wc-block-mini-cart__products-table .wc-block-components-product-name { color: #f7f7f7 !important; font-weight: 700; text-decoration: none !important; line-height: 1.25; }
.wc-block-mini-cart__products-table .wc-block-components-product-metadata__description,
.wc-block-mini-cart__products-table .wc-block-components-product-metadata,
.wc-block-mini-cart__products-table .wc-block-components-product-badge { display: none !important; }
.wc-block-mini-cart__products-table .wc-block-components-product-price, .wc-block-mini-cart__products-table .wc-block-formatted-money-amount { color: #f7f7f7 !important; }
.wc-block-components-drawer .wc-block-components-quantity-selector { border-color: #3a3a3a !important; background: #111 !important; }
.wc-block-components-drawer .wc-block-components-quantity-selector input, .wc-block-components-drawer .wc-block-components-quantity-selector button { color: #f7f7f7 !important; background: transparent !important; }
.wc-block-components-drawer .wc-block-cart-item__remove-link { color: #a3a3a3 !important; }
.wc-block-components-drawer .wc-block-cart-item__remove-link:hover { color: #fe0000 !important; }
.wc-block-components-drawer .wc-block-components-drawer__close { color: #f7f7f7 !important; z-index: 2; }
.wc-block-mini-cart__footer { background: #111 !important; border-top: 1px solid #3a3a3a; color: #f7f7f7 !important; }
.wc-block-mini-cart__footer-subtotal, .wc-block-mini-cart__footer .wc-block-components-totals-item__label, .wc-block-mini-cart__footer .wc-block-components-totals-item__value { color: #f7f7f7 !important; }
.wc-block-mini-cart__footer-actions { display: flex !important; flex-direction: column-reverse; gap: .6rem; }
.wc-block-mini-cart__footer-actions a { width: 100%; border-radius: 0 !important; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; text-decoration: none !important; }
.wc-block-mini-cart__footer-checkout { background: #fe0000 !important; border: 1px solid #fe0000 !important; color: #fff !important; }
.wc-block-mini-cart__footer-checkout:hover { background: #c80000 !important; }
.wc-block-mini-cart__footer-cart { background: transparent !important; border: 1px solid #f7f7f7 !important; color: #f7f7f7 !important; }
.wc-block-mini-cart__footer-cart:hover { border-color: #fe0000 !important; color: #fe0000 !important; }
.wc-block-mini-cart__empty-cart-wrapper, .wc-block-mini-cart__empty-cart-wrapper p { color: #f7f7f7 !important; }
