/* FineShop: the plugin's own side cart, used when the theme has no WooCommerce Mini-Cart block.
   Its sections (.fsc-dr, .fsc-df, .fsc-bar, .pf-mce) share the rules of fineshop.css; colors and fonts only via --fs-*. */
.fsc-cd[hidden] { display: none !important; }
.fsc-cd { position: fixed; inset: 0; z-index: var(--fs-z-cart, 100000); font-family: var(--fs-font, inherit); color: var(--fs-ink, #111); }
.fsc-cd__bg { position: absolute; inset: 0; background: var(--fs-overlay, rgb(0 0 0 / .4)); }
.fsc-cd__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: var(--fs-bg, #fff); box-shadow: -8px 0 30px rgb(0 0 0 / .12); outline: 0; animation: fsc-cd-in .22s ease-out; }
@keyframes fsc-cd-in { from { transform: translateX(100%); } to { transform: none; } }
html.fsc-cd-open { overflow: hidden; }
.fsc-cd *, .fsc-cd *::before, .fsc-cd *::after { box-sizing: border-box; }
.fsc-cd__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 6px 20px; }
.fsc-cd__title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--fs-font-heading, inherit); font-size: 20px; font-weight: 700; color: inherit; }
.fsc-cd__x { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--fs-line, #e3e3e3); border-radius: 50%; background: var(--fs-bg, #fff); color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.fsc-cd__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.fsc-cd.is-busy .fsc-cd__scroll { opacity: .7; transition: opacity .2s; }
.fsc-cd__list { list-style: none; margin: 0; padding: 4px 20px 0; }
.fsc-cd__item { display: flex; gap: 12px; padding: 8px 0; }
.fsc-cd__img img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--fs-soft, #f2f4f6); }
.fsc-cd__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.fsc-cd__name { font-weight: 500; line-height: 1.3; color: inherit; text-decoration: none; }
.fsc-cd__info small { font-size: 13px; color: var(--fs-muted, #6b6b6b); }
.fsc-cd__row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.fsc-cd__qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--fs-line, #d6d6d6); border-radius: 4px; }
.fsc-cd__qty button { width: 32px; height: 100%; border: 0; background: none; color: inherit; font-size: 17px; cursor: pointer; }
.fsc-cd__qty span { min-width: 26px; text-align: center; }
.fsc-cd__price { margin-left: auto; font-weight: 500; }
.fsc-cd__rm { width: 30px; height: 30px; border: 0; background: none; color: var(--fs-muted, #6b6b6b); font-size: 20px; cursor: pointer; }
.fsc-cd__foot { padding: 0 20px 14px; border-top: 1px solid var(--fs-line, #e6e6e6); }
.fsc-cd__pay { display: flex; width: 100%; min-height: 48px; margin-top: 10px; align-items: center; justify-content: center; border-radius: 12px; background: var(--fs-ink, #000); color: var(--fs-bg, #fff) !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.fsc-cd__pay:hover { background: var(--fs-ink-2, #222); }
.fsc-cd__pay[hidden] { display: none; }
.fsc-cd.is-empty .fsc-cd__foot { display: none; }
/* Empty cart (own drawer and WooCommerce's Mini-Cart): our message and «Ver la tienda»; WooCommerce's default block is hidden. */
.wp-block-woocommerce-empty-mini-cart-contents-block:has(> .fsc-empty) > :not(.fsc-empty),
.wc-block-mini-cart__empty-cart-wrapper:has(> .fsc-empty) > :not(.fsc-empty) { display: none !important; }
.wc-block-mini-cart__drawer:has(.fsc-empty) .wc-block-mini-cart__footer { display: none !important; }
.fsc-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 24px 32px; text-align: center; font-family: var(--fs-font, inherit); color: var(--fs-ink, #111); }
.fsc-empty__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--fs-soft, #f2f4f6); color: var(--fs-muted, #6b6b6b); }
.fsc-empty__t { margin: 6px 0 0; font-family: var(--fs-font-heading, inherit); font-size: 20px; font-weight: 700; line-height: 1.25; color: inherit; }
.fsc-empty__p { margin: 0 0 8px; font-size: 14px; color: var(--fs-muted, #6b6b6b); }
.fsc-empty__go { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 28px; border-radius: 12px; background: var(--fs-ink, #000); color: var(--fs-bg, #fff) !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.fsc-empty__go:hover { background: var(--fs-ink-2, #222); }
.fsc-cd button:focus-visible, .fsc-cd a:focus-visible { outline: 3px solid var(--fs-accent, #3a6b94); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fsc-cd__panel { animation: none; } }
