/* YOO Fly Cart: one canonical drawer layout. YOOtheme owns section colors and buttons. */
.yfc-root{position:fixed;inset:0;z-index:999999;visibility:hidden;pointer-events:none;font-family:inherit;overflow:hidden;transition:visibility 0s linear .36s}
.yfc-root.is-open{visibility:visible;pointer-events:auto;transition-delay:0s}
.yfc-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.46);opacity:0;transition:opacity .25s ease}
.yfc-root.is-open .yfc-backdrop{opacity:1}
#yfc-root .yfc-drawer.uk-section{--yfc-pad:20px;box-sizing:border-box;position:absolute;inset:0 0 0 auto;display:flex;flex-flow:column nowrap;float:none;margin:0;padding:0;width:min(100vw,var(--yfc-width,440px));height:100vh;height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;transform:translateX(101%);transition:transform .36s cubic-bezier(.22,1,.36,1);box-shadow:-12px 0 45px rgba(0,0,0,.12);outline:none;container-type:inline-size}
#yfc-root.is-open .yfc-drawer.uk-section{transform:translateX(0)}
#yfc-root .yfc-header{box-sizing:border-box;flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px var(--yfc-pad) 14px;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent);}
#yfc-root .yfc-header h2{margin:0;color:inherit;font-size:20px;font-weight:650;line-height:1.3}
.yfc-count{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:25px;height:25px;box-sizing:border-box;padding:0 6px;border-radius:99px;background:#202020;color:#fff;font-size:12px;opacity:1;font-weight:650;margin-left:6px}
.yfc-added{font-size:12px;color:#247b50;margin:4px 0 0;line-height:1.35}.yfc-added[hidden]{display:none}
.yfc-close,.yfc-remove{border:0;background:transparent;color:inherit;cursor:pointer;flex-shrink:0;padding:4px;line-height:1}
.yfc-close{font-size:28px}
#yfc-root .yfc-error{flex:0 0 auto;padding:10px var(--yfc-pad);background:#fff3f3;color:#a52222;font-size:13px}
#yfc-root .yfc-content{box-sizing:border-box;display:block;flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 var(--yfc-pad)}
.yfc-items{min-width:0}
#yfc-root .yfc-item{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,min(var(--yfc-image,120px),28%)) minmax(0,1fr);gap:12px;align-items:start;padding:var(--yfc-spacing,14px) 0;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent);min-width:0}
.yfc-thumb{min-width:0;align-self:start;display:flex;align-items:center;justify-content:center;background:transparent}
.yfc-thumb a{display:block;width:100%}
.yfc-thumb img{box-sizing:border-box;display:block;width:100%;max-width:100%;height:auto;max-height:145px;object-fit:contain;margin:auto;border:0;background:transparent;box-shadow:none}
#yfc-root .yfc-item-body{display:flex;flex-direction:column;gap:0;min-width:0;align-self:stretch}
#yfc-root .yfc-item-heading{display:block;position:relative;min-width:0;margin:0;padding:0 30px 0 0;line-height:1.25}
#yfc-root .yfc-item-heading .yfc-item-name{display:block;font-size:var(--yfc-name,14px);font-weight:650;line-height:1.25;color:inherit;text-decoration:none;min-width:0;overflow-wrap:break-word;margin:0;padding:0}
#yfc-root .yfc-item-heading .yfc-remove{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;min-height:26px;margin:0;padding:0;font-size:18px;line-height:1;box-sizing:border-box}
#yfc-root .yfc-item-body>.yfc-item-details{display:block;min-width:0;margin:5px 0 0;padding:0;font-size:12px;line-height:1.4;color:inherit}
#yfc-root .yfc-item-details summary{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;list-style:none;cursor:pointer;color:inherit;opacity:.7;font-size:var(--yfc-details,12px);line-height:1.4;user-select:none}
#yfc-root .yfc-item-details summary::-webkit-details-marker{display:none}
#yfc-root .yfc-details-chevron{display:inline-block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s ease;margin:-3px 2px 0 0}
#yfc-root .yfc-item-details[open] .yfc-details-chevron{transform:rotate(225deg);margin:3px 2px 0 0}
#yfc-root .yfc-details-content{padding:8px 0 2px;font-size:11.5px;line-height:1.5;opacity:.78;overflow-wrap:anywhere}
#yfc-root .yfc-item-details .yfc-meta-row{display:block;margin:0 0 3px;padding:0;line-height:1.45}
#yfc-root .yfc-item-details .yfc-meta-label,#yfc-root .yfc-item-details .yfc-meta-value{display:inline;float:none;position:static;margin:0;padding:0;font:inherit;color:inherit;vertical-align:baseline}
.yfc-item-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:9px;padding-top:0;min-width:0}
.yfc-quantity{display:flex;align-items:center;flex:0 0 auto;height:26px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:3px}
.yfc-quantity button{box-sizing:border-box;border:0;background:transparent;color:inherit;width:24px;height:24px;min-width:24px;min-height:24px;cursor:pointer;font-size:14px;line-height:24px;padding:0;margin:0;box-shadow:none}
.yfc-quantity input{box-sizing:border-box;appearance:textfield;-moz-appearance:textfield;border:0;box-shadow:none;width:24px;min-width:0;height:24px;min-height:24px;padding:0;text-align:center;font-size:var(--yfc-quantity,12px);line-height:24px;background:transparent;color:inherit;margin:0;box-shadow:none}
.yfc-quantity input::-webkit-inner-spin-button,.yfc-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.yfc-price{display:flex;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:3px 6px;min-width:0;font-size:var(--yfc-price,14px);font-weight:650;text-align:right;line-height:1.3}.yfc-price del{font-size:var(--yfc-regular,11px);font-weight:400;opacity:.55}.yfc-price ins{text-decoration:none}
#yfc-root .yfc-footer{box-sizing:border-box;position:relative;flex:0 0 auto;min-height:0;max-height:min(54dvh,440px);overflow:hidden;display:flex;flex-direction:column;padding:0 var(--yfc-pad);border-top:1px solid color-mix(in srgb,currentColor 14%,transparent)}
#yfc-root .yfc-footer-details{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 0 0;-webkit-overflow-scrolling:touch}
#yfc-root .yfc-footer-actions{flex:0 0 auto;padding:10px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid color-mix(in srgb,currentColor 14%,transparent);background:inherit}
#yfc-root .yfc-subtotal{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px;font-weight:700}
#yfc-root .yfc-subtotal strong{font-weight:700;font-size:17px;line-height:1.35;text-align:right}
#yfc-root .yfc-tax-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;line-height:1.5;margin-top:7px}#yfc-root .yfc-tax-total strong{font-weight:500;text-align:right}
.yfc-tax-note{font-size:12px;opacity:.7;margin:6px 0 12px}
#yfc-root .yfc-checkout.uk-button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;height:auto;line-height:1.35;padding:12px 14px;margin:0;text-align:center;white-space:normal;text-decoration:none}
.yfc-cart-link,.yfc-continue{display:block;text-align:center;margin:9px auto 0;font-size:12px;color:inherit;text-decoration:underline;background:none;border:0;cursor:pointer;padding:3px}
.yfc-empty{text-align:center;padding:60px 0}.yfc-empty-icon{font-size:32px}.yfc-link{border:0;background:transparent;text-decoration:underline;cursor:pointer}
.yfc-root.is-busy .yfc-content{opacity:.55;pointer-events:none}body.yfc-lock{overflow:hidden}
@container (max-width:360px){#yfc-root .yfc-drawer .yfc-item{grid-template-columns:minmax(0,82px) minmax(0,1fr);gap:10px}#yfc-root .yfc-drawer .yfc-item-details{font-size:12px}#yfc-root .yfc-drawer .yfc-item-bottom{align-items:flex-start}}
@container (max-width:290px){#yfc-root .yfc-drawer .yfc-item{grid-template-columns:1fr}#yfc-root .yfc-drawer .yfc-thumb{width:110px;max-width:100%}}
@media(max-width:600px){#yfc-root .yfc-drawer.uk-section{--yfc-pad:16px;width:100vw}#yfc-root .yfc-item{gap:12px}}
@media(prefers-reduced-motion:reduce){.yfc-drawer,.yfc-backdrop{transition:none}}

/* Separate YOOtheme surfaces and optional upsell region. */
#yfc-root .yfc-header.uk-section,#yfc-root .yfc-footer.uk-section{padding-left:var(--yfc-pad);padding-right:var(--yfc-pad)}
#yfc-root .yfc-upsell-slot{min-height:0;overflow:visible}
#yfc-root .yfc-upsell-slot:empty{display:none}
#yfc-root .yfc-upsell.uk-section{padding:12px var(--yfc-pad);border-top:1px solid color-mix(in srgb,currentColor 14%,transparent)}
#yfc-root .yfc-upsell h3{font-size:var(--yfc-upsell_heading,13px);font-weight:var(--yfc-upsell_weight,650);margin:0 0 var(--yfc-upsell_gap,10px);color:inherit}
#yfc-root .yfc-upsell-items{display:grid;gap:0 12px;min-width:0}
#yfc-root .yfc-upsell-item{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:7px 10px;min-width:0;padding:8px 0;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}#yfc-root .yfc-upsell-item:last-child{border-bottom:0}
#yfc-root .yfc-upsell-thumb{display:flex;width:40px;height:40px;align-items:center;justify-content:center;min-width:0;overflow:hidden}
#yfc-root .yfc-upsell-thumb .yoo-shop-image-scene{display:flex;width:100%;height:100%;align-items:center;justify-content:center;min-width:0;min-height:0}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-art{display:flex;width:100%;height:100%;align-items:center;justify-content:center;min-width:0;min-height:0;line-height:0}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-frame{position:relative;display:flex;box-sizing:border-box;max-width:100%;max-height:100%;padding:var(--yp-frame);overflow:hidden}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-frame-inner{position:relative;z-index:1;display:flex;width:100%;height:100%;min-width:0;min-height:0;align-items:center;justify-content:center;overflow:hidden}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail{position:absolute;z-index:2;display:block;background:var(--yp-frame-color);overflow:hidden}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail::before{content:"";position:absolute;pointer-events:none;background-image:var(--yp-frame-texture,none);background-repeat:no-repeat;opacity:.52}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-frame.is-smooth .yoo-print-shop-rail::before{display:none}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-top,#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-bottom{left:0;right:0;height:calc(var(--yp-frame) + .6px)}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-top{top:0;clip-path:polygon(0 0,100% 0,calc(100% - var(--yp-frame)) 100%,var(--yp-frame) 100%)}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-bottom{bottom:0;clip-path:polygon(var(--yp-frame) 0,calc(100% - var(--yp-frame)) 0,100% 100%,0 100%)}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-left,#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-right{top:0;bottom:0;width:calc(var(--yp-frame) + .6px)}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-left{left:0;clip-path:polygon(0 0,100% var(--yp-frame),100% calc(100% - var(--yp-frame)),0 100%)}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-rail.is-right{right:0;clip-path:polygon(100% 0,100% 100%,0 calc(100% - var(--yp-frame)),0 var(--yp-frame))}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-mount{position:relative;display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:var(--yp-mount-color);overflow:hidden}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-mount>.yoo-print-shop-image{position:absolute;left:var(--yp-mount-x);right:var(--yp-mount-x);top:var(--yp-mount-y);bottom:var(--yp-mount-y);width:auto;height:auto}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}
#yfc-root .yfc-upsell-thumb img{display:block;width:100%;height:100%;object-fit:contain}
#yfc-root .yfc-upsell-thumb .yoo-print-shop-mount img{object-fit:cover}
#yfc-root .yfc-upsell-info{display:grid;gap:3px;min-width:0;font-size:var(--yfc-upsell,12px);line-height:1.35}
#yfc-root .yfc-upsell-info a{color:inherit;font-weight:600;text-decoration:none;overflow-wrap:anywhere}
#yfc-root .yfc-upsell-info span{opacity:.8;font-size:var(--yfc-upsell_price,12px)}
#yfc-root .yfc-upsell-add,#yfc-root .yfc-upsell-view{grid-column:2;justify-self:start;font-size:11px;border:1px solid currentColor;border-radius:3px;background:transparent;color:inherit;padding:6px 8px;cursor:pointer;text-decoration:none;white-space:nowrap}

/* Theme section surfaces: the drawer is a structural shell; each region owns its YOOtheme background. */
#yfc-root .yfc-drawer.uk-section{background:none}
#yfc-root .yfc-content.uk-section{padding-top:0;padding-bottom:0}

/* Coupon form and savings live in the existing footer, without altering cart integration. */
#yfc-root .yfc-coupons{margin:0 0 12px;padding:0 0 11px;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}
#yfc-root .yfc-coupon-label{display:block;font-size:12px;font-weight:600;line-height:1.5}
#yfc-root .yfc-coupon-form{display:flex;gap:7px;align-items:stretch;margin:7px 0 2px}
#yfc-root .yfc-coupon-form input{box-sizing:border-box;min-width:0;flex:1 1 auto;width:0;min-height:36px;padding:7px 9px;border:1px solid #ccc;background:#fff;color:#222;font:inherit;font-size:12px}
#yfc-root .yfc-coupon-form button{flex:0 0 auto;padding:7px 11px;border:1px solid currentColor;background:transparent;color:inherit;font-size:12px;cursor:pointer}
#yfc-root .yfc-coupon-applied,#yfc-root .yfc-discount-total{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4;margin-bottom:7px}
#yfc-root .yfc-coupon-applied button{border:0;background:none;color:inherit;text-decoration:underline;font-size:11px;cursor:pointer}
#yfc-root .yfc-discount-total{margin-top:7px}
#yfc-root .yfc-discount-total strong{font-weight:650}

/* Compact totals: keep WooCommerce product sale prices and coupon reductions distinct. */
#yfc-root .yfc-grand-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid color-mix(in srgb,currentColor 16%,transparent);padding-top:10px;margin-top:8px;font-size:16px;font-weight:700}
#yfc-root .yfc-grand-total strong{font-size:19px;font-weight:750;white-space:nowrap}
#yfc-root .yfc-footer .yfc-tax-note{font-size:11px;line-height:1.4;opacity:.72;margin:7px 0 12px}

.yfc-regular-price{opacity:.65;font-weight:400;font-size:.88em;margin-right:5px}.yfc-sale-price{text-decoration:none}

/* Compact responsive cart item layout; the configured thumbnail remains unchanged. */
@container (max-width:400px){#yfc-root .yfc-item{gap:10px}#yfc-root .yfc-item-bottom{gap:6px}}
@container (max-width:320px){#yfc-root .yfc-item-bottom{align-items:flex-start}#yfc-root .yfc-price{white-space:normal}}

/* Mobile drawer: preserve the coupon, but prioritize visible cart items. */
@media(max-width:600px){
 #yfc-root .yfc-drawer.uk-section{--yfc-pad:14px}
 #yfc-root .yfc-header{padding-top:11px;padding-bottom:10px}
 #yfc-root .yfc-content{flex:1 1 auto;min-height:0}
 #yfc-root .yfc-item{grid-template-columns:minmax(0,min(var(--yfc-image,120px),23%)) minmax(0,1fr);gap:9px;padding:9px 0}
 #yfc-root .yfc-item-bottom{margin-top:5px}
 #yfc-root .yfc-upsell-slot{max-height:12dvh}
 #yfc-root .yfc-upsell.uk-section{padding-top:7px;padding-bottom:7px}
 #yfc-root .yfc-upsell-item{padding:5px 0}
 #yfc-root .yfc-footer{max-height:46dvh;padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
 #yfc-root .yfc-coupons{margin-bottom:7px;padding-bottom:7px}
 #yfc-root .yfc-coupon-label{font-size:11px}
 #yfc-root .yfc-coupon-form{margin-top:4px}
 #yfc-root .yfc-coupon-form input{min-height:40px;font-size:16px;line-height:1.3}
 #yfc-root .yfc-footer .yfc-tax-note{margin:4px 0 7px}
}

.yfc-offer-summary{display:block;font-size:11px;font-weight:600;color:#277449;margin-top:3px;white-space:nowrap}
/* Informational offer breakdown uses its own typography, independent of totals. */
#yfc-root .yfc-offer-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0;font-size:11px;line-height:1.45;font-weight:400}
#yfc-root .yfc-offer-total :where(span,del,strong,bdi){font-size:inherit;line-height:inherit;font-weight:inherit}
#yfc-root .yfc-offer-total del{color:#7c858d}
#yfc-root .yfc-offer-total strong{color:#277449;text-align:right;white-space:nowrap}
