/* Checkout-only compact order preview. Native CartFlows rows remain in the DOM
   for totals and WooCommerce updates; they are visually replaced only after
   this component has successfully read them. */
#wcf-embed-checkout-form .ivy-order-details{margin:0 0 1.15rem;padding:1rem;background:#f8f8f8;color:#202020;}
#wcf-embed-checkout-form .ivy-order-details__heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem;inline-size:100%;box-sizing:border-box;margin:0 0 .7rem;font:700 1.08rem/1.2 inherit;}
#wcf-embed-checkout-form .ivy-order-details__status{font-size:.8rem;font-weight:500;color:#ff6a47;}
#wcf-embed-checkout-form .ivy-order-details__view{justify-self:end;margin:0;display:inline-flex;align-items:center;gap:.25rem;border:0;background:transparent;color:#202020;font:700 .82rem/1 inherit;padding:.25rem;cursor:pointer;}
#wcf-embed-checkout-form .ivy-order-details__view::after{content:'›';font-size:1.35rem;line-height:.6;}
#wcf-embed-checkout-form .ivy-order-details__items{display:flex;gap:.45rem;overflow-x:auto;overscroll-behavior-inline:contain;padding:0 0 max(.2rem,5px);scrollbar-width:thin;}
#wcf-embed-checkout-form .ivy-order-details__item{flex:0 0 82px;min-width:0;text-align:center;font-size:.76rem;font-weight:700;}
#wcf-embed-checkout-form .ivy-order-details__thumb{display:block;position:relative;width:82px;height:92px;overflow:hidden;background:#eee;}
#wcf-embed-checkout-form .ivy-order-details__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
#wcf-embed-checkout-form .ivy-order-details__qty{position:absolute;right:3px;top:3px;min-width:19px;height:19px;padding:0 4px;border-radius:50%;background:#111;color:#fff;font-size:.68rem;line-height:19px;}
#wcf-embed-checkout-form .ivy-order-details__price{display:block;white-space:nowrap;margin-top:.32rem;}
#wcf-embed-checkout-form .ivy-order-details__quantity,.ivy-order-details-dialog__quantity{display:grid;grid-template-columns:22px 28px 22px;align-items:center;box-sizing:border-box;position:relative;width:72px;min-width:72px;max-width:72px;height:26px;margin-top:.35rem;border:0;border-radius:4px;background:transparent;box-shadow:none!important;isolation:isolate;}
/* Center the 72px control inside each card so its focus ring clears the scrollport. */
#wcf-embed-checkout-form .ivy-order-details__quantity{margin-inline:auto!important;}
html body #wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form#wcf-embed-checkout-form .ivy-order-details__quantity button,html body .ivy-order-details-dialog__quantity button{box-sizing:border-box;z-index:1;display:grid!important;place-items:center;width:22px!important;min-width:22px!important;height:26px!important;margin:0!important;padding:0!important;border:1px solid #ddd!important;border-radius:0!important;background:#fff!important;color:var(--ivy-checkout-qty-button-color,#222)!important;font:400 16px/1 Arial,sans-serif!important;transform:none!important;transition:background-color var(--ivy-hover-speed) ease!important;cursor:pointer;}
#wcf-embed-checkout-form .ivy-order-details__quantity button:disabled{opacity:.35;cursor:not-allowed;}
:is(#wcf-embed-checkout-form .ivy-order-details__quantity,.ivy-order-details-dialog__quantity) > .ivy-order-details__quantity-input{display:block;position:relative;z-index:1;box-sizing:border-box;width:28px!important;min-width:0!important;height:26px!important;margin:0!important;padding:0!important;border-top:1px solid #ddd!important;border-bottom:1px solid #ddd!important;border-inline:0!important;border-radius:0!important;outline:0!important;background:#fff!important;color:#222!important;text-align:center;font:600 .76rem/1 Arial,sans-serif!important;appearance:textfield;}
:is(#wcf-embed-checkout-form .ivy-order-details__quantity,.ivy-order-details-dialog__quantity) > .ivy-order-details__quantity-input::-webkit-inner-spin-button,
:is(#wcf-embed-checkout-form .ivy-order-details__quantity,.ivy-order-details-dialog__quantity) > .ivy-order-details__quantity-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
#wcf-embed-checkout-form table.shop_table.ivy-order-details-ready tbody>tr.cart_item{display:none!important;}
#wcf-embed-checkout-form table.shop_table.ivy-order-details-ready tbody>tr.ivy-order-details-source{display:none!important;}

.ivy-order-details-dialog{border:0;padding:0;width:min(460px,calc(100vw - 24px));max-height:min(82vh,720px);color:#222;background:#fff;box-shadow:0 12px 42px rgba(0,0,0,.22);}
.ivy-order-details-dialog::backdrop{background:rgba(0,0,0,.34);}
.ivy-order-details-dialog__head{display:flex;align-items:center;justify-content:center;min-height:68px;padding:0 52px;border-bottom:1px solid #e4e4e4;position:relative;}
.ivy-order-details-dialog__title{margin:0;font:700 1.25rem/1.2 inherit;}
.ivy-order-details-dialog__head > button.ivy-order-details-dialog__close{position:absolute;right:16px;inset-block:0;margin-block:auto;}
.ivy-order-details-dialog__body{max-height:calc(min(82vh,720px) - 68px);overflow:auto;padding:1rem 1.1rem 1.4rem;}
.ivy-order-details-dialog__row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:.8rem;align-items:start;padding:.7rem 0;border-bottom:1px solid #ededed;}
.ivy-order-details-dialog__row:last-child{border-bottom:0;}
.ivy-order-details-dialog__image{width:84px;height:104px;object-fit:cover;background:#eee;}
.ivy-order-details-dialog__name{font:600 .9rem/1.35 inherit;}
.ivy-order-details-dialog__meta{margin-top:.35rem;color:#6b6b6b;font-size:.8rem;}
.ivy-order-details-dialog__price{font:700 .88rem/1.35 inherit;white-space:nowrap;}
.ivy-order-details-dialog__quantity{margin-top:.6rem;}
.ivy-checkout-remove-dialog{
 box-sizing:border-box;
 width:min(420px,calc(100% - 32px));
 padding:24px;
 border:1px solid #e4e4e4;
 border-radius:16px;
 background:#fff;
 color:#222;
}
.ivy-checkout-remove-dialog::backdrop{background:rgba(0,0,0,.4);}
.ivy-checkout-remove-dialog h2{margin:0 0 16px;font-size:1.125rem;line-height:1.35;}
.ivy-checkout-remove-error{margin:0 0 16px;color:#a52222;}
.ivy-checkout-remove-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;}
.ivy-checkout-remove-actions > button{
 min-height:40px;
 padding:8px 16px;
 border:1px solid #ddd;
 border-radius:999px;
 background:#fff;
 color:inherit;
 font:inherit;
 cursor:pointer;
}
.ivy-checkout-remove-actions > button:disabled{opacity:.65;cursor:wait;}
.ivy-order-details-dialog__quantity button:disabled{opacity:.35;cursor:not-allowed;}
html body :is(#wcf-embed-checkout-form .ivy-order-details__quantity,.ivy-order-details-dialog__quantity) > button[data-ivy-checkout-quantity="minus"]:disabled{
 opacity:1;
 --ivy-checkout-qty-button-color:#777;
}
/* Button glyphs are controls. Keep the adjacent number field selectable. */
#wcf-embed-checkout-form .ivy-order-details__quantity > button[data-ivy-checkout-quantity],
.ivy-order-details-dialog__quantity > button[data-ivy-checkout-quantity]{
 -webkit-user-select:none!important;
 user-select:none!important;
}
/* The popup uses Ivy's outer focus ring. Suppress the browser's pointer flash. */
.ivy-order-details-dialog .ivy-order-details-dialog__quantity > button[data-ivy-checkout-quantity]{
 -webkit-tap-highlight-color:transparent;
}
.ivy-order-details-dialog .ivy-order-details-dialog__quantity > button[data-ivy-checkout-quantity]:is(:active,:focus:not(:focus-visible)),
html[data-ivy-focus-modality="pointer"] .ivy-order-details-dialog .ivy-order-details-dialog__quantity > button[data-ivy-checkout-quantity]:focus{
 outline:none!important;
}
@media(max-width:480px){#wcf-embed-checkout-form .ivy-order-details{margin-inline:-.2rem;padding:.85rem .75rem;}#wcf-embed-checkout-form .ivy-order-details__item{flex-basis:82px;}#wcf-embed-checkout-form .ivy-order-details__thumb{width:72px;height:82px;margin-inline:auto;}.ivy-order-details-dialog__row{grid-template-columns:70px minmax(0,1fr) auto;gap:.65rem;}.ivy-order-details-dialog__image{width:70px;height:88px;}}
