/* 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;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);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;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;cursor:pointer;flex-shrink:0;padding:4px;line-height:1;}
#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;}
#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;line-height:1.25;text-decoration:none;color:inherit;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;line-height:1;box-sizing:border-box;}
#yfc-root .yfc-item-body>.yfc-item-details{display:block;min-width:0;margin:3px 0 0;padding:0;line-height:1.3;}
#yfc-root .yfc-details-content{padding:8px 0 2px;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;vertical-align:baseline;}
.yfc-item-bottom{justify-content:space-between;flex-wrap:wrap;margin-top:9px;padding-top:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start;}
.yfc-quantity{display:flex;align-items:center;flex:0 0 auto;height:36px;border:0;gap:4px;justify-self:start;}
.yfc-quantity button{box-sizing:border-box;cursor:pointer;margin:0;width:32px;min-width:32px;height:36px;min-height:36px;padding:0;line-height:34px;}
.yfc-quantity input{box-sizing:border-box;-moz-appearance:textfield;text-align:center;margin:0;width:42px;min-width:42px;height:36px;min-height:36px;padding:0;line-height:normal;font-size:16px;color:inherit;}
.yfc-quantity input::-webkit-inner-spin-button,.yfc-quantity input::-webkit-outer-spin-button{margin:0;}
.yfc-price{align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;min-width:0;text-align:right;line-height:1.3;display:grid;grid-template-columns:minmax(0,1fr);justify-items:end;gap:3px;width:100%;font-variant-numeric:tabular-nums;}.yfc-price del{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);}
#yfc-root .yfc-subtotal{display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
#yfc-root .yfc-subtotal strong{line-height:1.35;text-align:right;}
#yfc-root .yfc-tax-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;line-height:1.5;margin-top:7px;}#yfc-root .yfc-tax-total strong{text-align:right;}
.yfc-tax-note{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%;margin:0;text-align:center;white-space:normal;text-decoration:none;}
.yfc-empty{text-align:center;padding:60px 0;}.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-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{margin:0 0 var(--yfc-upsell_gap,10px);}
#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;line-height:1.35;}
#yfc-root .yfc-upsell-info a{text-decoration:none;overflow-wrap:anywhere;}
#yfc-root .yfc-upsell-info span{opacity:.8;}
#yfc-root .yfc-upsell-add,#yfc-root .yfc-upsell-view{grid-column:2;justify-self:start;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;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;}
#yfc-root .yfc-coupon-form button{flex:0 0 auto;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{text-decoration:underline;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;}
#yfc-root .yfc-grand-total strong{white-space:nowrap;}
#yfc-root .yfc-footer .yfc-tax-note{line-height:1.4;opacity:.72;margin:7px 0 12px;}

.yfc-regular-price{opacity:.65;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-form{margin-top:4px;}
 
 #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;}
.yfc-price del,.yfc-price ins{display:block;white-space:nowrap;}
.yfc-price .yfc-offer-summary,.yfc-price .yoo-wall-cart-saving{white-space:normal;}
.yfc-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;}
.yfc-secondary-actions .uk-button{display:flex;align-items:center;justify-content:center;white-space:normal;min-width:0;margin:0;text-align:center;}
