/* edCircuit Shop — WooCommerce's mini-cart drawer (the side cart the header's cart icon opens), drawn in the
   Shop's own design (PRD ESH-4.6, 0.4.12; the owner, 2026-11-02: "it doesn't look balanced and the font looks
   off"). Measured live before this: the theme's Proxima Nova and its button rules inside the drawer (Go to
   checkout dark grey on dark grey, unreadable), the drawer under the site's sticky header (its title and close
   button hidden), a sideways scrollbar, 12 px names and prices. The selectors carry `html body` in front: the
   theme's and the store's own rules are specific, and the Elementor kit's button rules load later. Colours and
   sizes are shop.css's tokens written out (this file loads on every page that draws the drawer, shop.css only
   on the Shop's pages): ink #1a1a1a, muted #6b7280, border #e5e7eb, the brand #cb4f17 (4.5:1 on white). */

/* above the site's sticky header (100000) and the admin bar (100003); the store puts it at 9999 */
html body .wc-block-components-drawer__screen-overlay{z-index:100004}

/* the drawer: 448 px like the Shop's own sheets, white, a hairline on its left, the Shop's type */
html body .wc-block-mini-cart__drawer{width:min(448px,100%);max-width:100%;padding:0;border-left:1px solid #e5e7eb;background:#fff;color:#1a1a1a;font-family:"Inter","edct-nav-inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;box-shadow:0 10px 15px -3px rgb(0 0 0 / .1),0 4px 6px -4px rgb(0 0 0 / .1)}
html body .wc-block-mini-cart__drawer *{box-sizing:border-box;font-family:inherit}
html body .wc-block-components-drawer__content{overflow-x:hidden}

/* the close control: a round 36 px button at the top right, on the title's line */
html body .wc-block-mini-cart__drawer .wc-block-components-drawer__close-wrapper{position:static;height:0}
html body .wc-block-mini-cart__drawer button.wc-block-components-drawer__close{position:absolute;top:14px;right:16px;left:auto;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:#6b7280;box-shadow:none;cursor:pointer}
html body .wc-block-mini-cart__drawer button.wc-block-components-drawer__close:hover,html body .wc-block-mini-cart__drawer button.wc-block-components-drawer__close:focus-visible{background:#f3f4f6;color:#1a1a1a}
html body .wc-block-mini-cart__drawer button.wc-block-components-drawer__close:focus-visible{outline:2px solid #cb4f17;outline-offset:2px}
html body .wc-block-mini-cart__drawer button.wc-block-components-drawer__close svg{width:20px;height:20px;fill:currentColor}

/* the title: "Your cart" 18 px, the count beside it in the muted grey, a hairline under */
html body .wc-block-mini-cart__drawer h2.wc-block-mini-cart__title{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;margin:0;padding:20px 60px 16px 24px;border-bottom:1px solid #e5e7eb;font-size:18px;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none;color:#1a1a1a}
html body .wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-title-items-counter-block{font-size:14px;font-weight:400;color:#6b7280}
html body .wc-block-mini-cart__drawer .wc-block-components-notices{padding:0 24px}

/* the lines: picture 64 px with rounded corners, the name 14 px semibold, the price line under it, the
   description two lines in the muted grey, then the stepper and remove; the line total on the right */
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__items{padding:0 24px}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__products-table{margin:0}
html body .wc-block-mini-cart__drawer table.wc-block-cart-items{width:100%;margin:0;border:0;border-collapse:collapse;table-layout:fixed}
html body .wc-block-mini-cart__drawer table.wc-block-cart-items thead{display:none}
html body .wc-block-mini-cart__drawer tr.wc-block-cart-items__row{border:0}
html body .wc-block-mini-cart__drawer tr.wc-block-cart-items__row>td{padding:16px 0;border:0;border-bottom:1px solid #e5e7eb;vertical-align:top;background:transparent}
html body .wc-block-mini-cart__drawer td.wc-block-cart-item__image{width:80px;padding-right:16px}
html body .wc-block-mini-cart__drawer td.wc-block-cart-item__image a{display:block;width:64px;height:64px;overflow:hidden;border:1px solid #e5e7eb;border-radius:8px;background:linear-gradient(135deg,#fbe9df,#fff)}
html body .wc-block-mini-cart__drawer td.wc-block-cart-item__image a img{display:block;width:100%;height:100%;margin:0;border:0;border-radius:0;object-fit:cover}
/* the store prints a sizeless placeholder picture before the linked one (0.4.13: it stretched to 128 px tall) */
html body .wc-block-mini-cart__drawer td.wc-block-cart-item__image>img{display:none}
html body .wc-block-mini-cart__drawer td.wc-block-cart-item__product{padding-right:12px}
/* the cell and table in front: the store's own rule for the name loads after this file (0.4.13: the name stayed 12 px) */
html body .wc-block-mini-cart__drawer table.wc-block-cart-items td.wc-block-cart-item__product .wc-block-components-product-name,html body .wc-block-mini-cart__drawer table.wc-block-cart-items td.wc-block-cart-item__product span.wc-block-components-product-name{display:block;margin:0;font-size:14px;font-weight:600;line-height:1.4;color:#1a1a1a;text-decoration:none}
html body .wc-block-mini-cart__drawer table.wc-block-cart-items td.wc-block-cart-item__product a.wc-block-components-product-name:hover{color:#cb4f17;text-decoration:none}
html body .wc-block-mini-cart__drawer .wc-block-cart-item__prices{margin-top:2px;font-size:13px;line-height:1.4;color:#6b7280}
html body .wc-block-mini-cart__drawer .wc-block-cart-item__prices .wc-block-components-product-price{font-size:13px;color:#6b7280}
html body .wc-block-mini-cart__drawer .wc-block-cart-item__prices del{color:#9ca3af;text-decoration:line-through}
html body .wc-block-mini-cart__drawer .wc-block-cart-item__prices ins{margin-left:4px;font-weight:600;color:#1a1a1a;text-decoration:none}
html body .wc-block-mini-cart__drawer .wc-block-components-product-metadata{margin-top:4px}
html body .wc-block-mini-cart__drawer .wc-block-components-product-metadata__description,html body .wc-block-mini-cart__drawer .wc-block-components-product-metadata__description p{margin:0;font-size:12px;line-height:1.5;color:#6b7280}
html body .wc-block-mini-cart__drawer .wc-block-components-product-metadata__description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .wc-block-mini-cart__drawer .wc-block-components-product-badge{margin-top:6px;font-size:11px;font-weight:500;line-height:16px;letter-spacing:0;text-transform:none}

/* the stepper, as the Shop's: one rounded box, 36 px tall, the number in the middle; remove beside it */
html body .wc-block-mini-cart__drawer .wc-block-cart-item__quantity{display:flex;align-items:center;gap:8px;margin-top:12px}
html body .wc-block-mini-cart__drawer .wc-block-components-quantity-selector{display:inline-flex;align-items:center;width:auto;height:36px;margin:0;padding:0;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb;box-shadow:none}
html body .wc-block-mini-cart__drawer .wc-block-components-quantity-selector::after{display:none}
html body .wc-block-mini-cart__drawer .wc-block-components-quantity-selector button.wc-block-components-quantity-selector__button{display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px;height:34px;margin:0;padding:0;border:0;border-radius:9px;background:transparent;color:#1a1a1a;font-size:16px;font-weight:400;line-height:1;letter-spacing:0;text-transform:none;box-shadow:none;opacity:1;cursor:pointer}
html body .wc-block-mini-cart__drawer .wc-block-components-quantity-selector button.wc-block-components-quantity-selector__button:hover{background:#fbe9df;color:#a8400f}
html body .wc-block-mini-cart__drawer .wc-block-components-quantity-selector button.wc-block-components-quantity-selector__button:disabled{opacity:.4;background:transparent;color:#1a1a1a;cursor:default}
html body .wc-block-mini-cart__drawer .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{width:40px;min-width:40px;height:34px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#1a1a1a;font-size:14px;font-weight:600;line-height:34px;text-align:center;font-variant-numeric:tabular-nums;box-shadow:none;-moz-appearance:textfield}
html body .wc-block-mini-cart__drawer .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus{outline:2px solid #cb4f17;outline-offset:-2px;border-radius:9px}
html body .wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:#6b7280;font-size:0;line-height:1;text-decoration:none;box-shadow:none;cursor:pointer}
html body .wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link:hover,html body .wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link:focus-visible{background:#fef2f2;color:#b91c1c}
html body .wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link svg{width:18px;height:18px;fill:currentColor}

/* the line total and the saving, right-aligned */
html body .wc-block-mini-cart__drawer td.wc-block-cart-item__total{width:92px;text-align:right}
html body .wc-block-mini-cart__drawer .wc-block-cart-item__total-price-and-sale-badge-wrapper{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
html body .wc-block-mini-cart__drawer td.wc-block-cart-item__total .wc-block-components-product-price{font-size:15px;font-weight:700;line-height:1.4;color:#1a1a1a;font-variant-numeric:tabular-nums}
html body .wc-block-mini-cart__drawer .wc-block-components-sale-badge{display:inline-flex;align-items:center;gap:3px;margin:0;padding:1px 8px;border:0;border-radius:999px;background:#f3f4f6;color:#374151;font-size:11px;font-weight:500;line-height:16px;white-space:nowrap}
html body .wc-block-mini-cart__drawer .wc-block-components-sale-badge .wc-block-formatted-money-amount{font-size:11px;font-weight:600}

/* the empty state */
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper{padding:40px 24px;text-align:center;color:#6b7280}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper h2{margin:0 0 8px;font-size:18px;font-weight:600;color:#1a1a1a}

/* the footer: Subtotal with the amount, the note under in the muted grey, then the two buttons side by side */
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer{padding:16px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #e5e7eb;background:#fff}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal{margin:0;padding:0;border:0;font-size:14px}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__label{font-size:14px;font-weight:500;color:#1a1a1a}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value{font-size:16px;font-weight:700;color:#1a1a1a;font-variant-numeric:tabular-nums}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description{margin-top:2px;font-size:12px;line-height:1.4;color:#6b7280}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-components-button,html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-components-button:hover,html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-components-button:focus{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:40px;height:40px;margin:0;padding:0 16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#1a1a1a;font-size:14px;font-weight:600;line-height:1;letter-spacing:0;text-transform:none;text-decoration:none;box-shadow:none;opacity:1;cursor:pointer}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-components-button:hover{background:#f9fafb}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-mini-cart__footer-checkout,html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-mini-cart__footer-checkout:focus{border-color:#cb4f17;background:#cb4f17;color:#fff}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-mini-cart__footer-checkout:hover{border-color:#a8400f;background:#a8400f;color:#fff}
html body .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a.wc-block-components-button:focus-visible{outline:2px solid #cb4f17;outline-offset:2px}
html body .wc-block-mini-cart__drawer .wc-block-components-button__text{font:inherit;color:inherit}
