/* Beanore Shop — cart drawer, card controls */
.bnshop-packrow{display:flex;gap:10px;align-items:flex-end}
.bnshop-packrow .bnshop-packs{flex:1 1 auto}
.bnshop-packrow .bnshop-qty{flex:0 0 112px}
.bnshop-packrow label{display:block;font:600 10.5px/1.2 Manrope,system-ui,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#7C461F;margin:0 0 5px}
.bnshop-packrow select{width:100%;box-sizing:border-box;font:500 14px/1.3 Manrope,system-ui,sans-serif;color:#390D05;background:#F4F2EE;border:1px solid rgba(33,57,33,.14);border-radius:10px;padding:10px;outline:none}
.bnshop-packrow select:focus{border-color:#213921}
.bn-pick.bnshop-pick{display:grid;grid-template-columns:1fr;gap:10px;margin:2px 0 16px}

.bnshop-stepper{display:flex;align-items:center;background:#F4F2EE;border:1px solid rgba(33,57,33,.14);border-radius:10px;overflow:hidden}
.bnshop-stepper button{flex:0 0 32px;height:38px;border:0;background:none;cursor:pointer;font:500 18px/1 Manrope,system-ui,sans-serif;color:#213921;padding:0}
.bnshop-stepper button:hover{background:rgba(33,57,33,.08)}
.bnshop-stepper input,.bnshop-stepper span{flex:1 1 auto;min-width:0;width:100%;text-align:center;border:0;background:none;font:600 14px/38px Manrope,system-ui,sans-serif;color:#390D05;padding:0;outline:none}
.bnshop-stepper--sm{border-radius:999px}
.bnshop-stepper--sm button{height:32px;flex-basis:30px}
.bnshop-stepper--sm span{line-height:32px;font-size:13px}

.bnshop-add.is-added{background:#1d7a4c!important;border-color:#1d7a4c!important;color:#fff!important}
.bnshop-fly{position:fixed;z-index:999998;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;background:#BF874C;pointer-events:none;transition:transform .5s cubic-bezier(.4,0,.6,1),opacity .5s ease}

/* floating cart button */
.bnshop-fab{position:fixed;right:20px;bottom:20px;z-index:999990;width:60px;height:60px;border-radius:50%;border:0;cursor:pointer;
	background:#213921;color:#F9F9F9;display:flex;align-items:center;justify-content:center;
	box-shadow:0 16px 30px -12px rgba(26,10,4,.6);transition:transform .25s ease,background .25s ease}
.bnshop-fab:hover{background:#390D05;transform:translateY(-2px)}
.bnshop-fab.is-pop{animation:bnshopPop .32s ease}
@keyframes bnshopPop{50%{transform:scale(1.14)}}
.bnshop-fab svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.bnshop-fab__n{position:absolute;top:-3px;right:-3px;min-width:23px;height:23px;padding:0 6px;box-sizing:border-box;border-radius:999px;
	background:#BF874C;color:#390D05;font:700 12px/23px Manrope,system-ui,sans-serif;border:2px solid #F9F9F9}
@media(max-width:767px){.bnshop-fab{right:14px;bottom:14px;width:54px;height:54px}}

/* hidden must win over the display rules below */
.bnshop [hidden],.bnshop-fab[hidden]{display:none!important}

/* drawer */
.bnshop{position:fixed;inset:0;z-index:999995;font-family:Manrope,system-ui,sans-serif}
.bnshop[hidden]{display:none}
.bnshop__back{position:absolute;inset:0;background:rgba(26,46,26,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;transition:opacity .35s ease}
.bnshop.is-open .bnshop__back{opacity:1}
.bnshop__panel{position:absolute;top:0;right:0;bottom:0;width:430px;max-width:100%;display:flex;flex-direction:column;
	background:#F9F9F9;box-shadow:-30px 0 60px -30px rgba(26,10,4,.5);transform:translateX(102%);transition:transform .38s cubic-bezier(.3,.9,.3,1)}
.bnshop.is-open .bnshop__panel{transform:none}
.bnshop.is-busy .bnshop__panel{pointer-events:none}
.bnshop.is-busy .bnshop__btn{opacity:.6}

.bnshop__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 14px;border-bottom:1px solid rgba(33,57,33,.1)}
.bnshop__head h2{margin:0;font:400 27px/1.1 Marcellus,Georgia,serif;color:#213921}
.bnshop__x{width:36px;height:36px;border:0;border-radius:50%;background:#F1E8D8;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:background .2s ease}
.bnshop__x:hover{background:#E6D398}
.bnshop__x svg{width:16px;height:16px;stroke:#390D05;stroke-width:2;fill:none;stroke-linecap:round}

.bnshop__body{flex:1 1 auto;overflow-y:auto;padding:16px 22px 10px;-webkit-overflow-scrolling:touch}
.bnshop__step{display:none}
.bnshop__step.is-on{display:block}

.bnshop-item{display:flex;gap:12px;align-items:flex-start;padding:14px;margin-bottom:10px;background:#fff;border-radius:16px;position:relative;
	box-shadow:0 1px 0 rgba(33,57,33,.05),0 12px 26px -22px rgba(57,13,5,.5)}
.bnshop-item__bag{flex:0 0 46px;height:62px;border-radius:10px;background:#F1E8D8;display:flex;align-items:center;justify-content:center}
.bnshop-item__bag svg{width:28px;height:auto}
.bnshop-item__main{flex:1 1 auto;min-width:0}
.bnshop-item h3{margin:0 24px 2px 0;font:400 19px/1.2 Marcellus,Georgia,serif;color:#213921}
.bnshop-item__meta{margin:0 0 8px;font:500 12px/1.45 Manrope,system-ui,sans-serif;color:#7C461F}
.bnshop-item__row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bnshop-item__row .bnshop-stepper{width:104px;flex:0 0 104px}
.bnshop-item__price{font:400 19px/1 Marcellus,Georgia,serif;color:#213921}
.bnshop-item__x{position:absolute;top:4px;right:4px;width:34px;height:34px;border:0;background:none;cursor:pointer;color:#B4A89A;font-size:13px;line-height:34px;padding:0;border-radius:50%}
.bnshop-item__x:focus-visible{outline:3px solid #BF874C;outline-offset:-2px}
.bnshop-item__x:hover{color:#630102}

.bnshop__empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;margin:40px auto;max-width:260px;font:400 15px/1.6 Manrope,system-ui,sans-serif;color:#7C461F}
.bnshop__emptymark{width:26px}.bnshop__emptymark svg{width:100%;height:auto;display:block}
.bnshop__emptymark ellipse,.bnshop__emptymark path{fill:none;stroke:#BF874C;stroke-width:2}
.bnshop__hint{margin:4px 0 0;padding:10px 14px;border-radius:10px;background:#F1E8D8;font:500 13px/1.45 Manrope,system-ui,sans-serif;color:#7C461F;text-align:center}

.bnshop__back-link{border:0;background:none;padding:0 0 14px;cursor:pointer;font:500 13px Manrope,system-ui,sans-serif;color:#7C461F;text-decoration:underline;text-underline-offset:3px}
.bnshop__fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bnshop__fields .full{grid-column:1/-1}
.bnshop__fields label{display:block;font:600 10.5px/1.2 Manrope,system-ui,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#7C461F;margin:0 0 5px}
.bnshop__fields label span{text-transform:none;letter-spacing:0;font-weight:500;color:#B4A89A}
.bnshop__fields .bnshop-req{color:#630102}
.bnshop__fields input,.bnshop__fields textarea{width:100%;box-sizing:border-box;font:400 15px/1.4 Manrope,system-ui,sans-serif;color:#390D05;background:#fff;
	border:1px solid rgba(33,57,33,.16);border-radius:11px;padding:12px 13px;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.bnshop__fields input:focus,.bnshop__fields textarea:focus{border-color:#213921;box-shadow:0 0 0 3px rgba(33,57,33,.1)}
.bnshop__err{margin:14px 0 0;padding:11px 14px;border-radius:10px;background:#FBEAEA;color:#630102;font:500 13.5px/1.5 Manrope,system-ui,sans-serif}

.bnshop__done{text-align:center;padding:30px 10px}
.bnshop__tick{width:64px;margin:0 auto 16px}
.bnshop__tick svg{width:100%;height:auto;fill:none;stroke:#213921;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.bnshop__tick circle{stroke:#BF874C;stroke-dasharray:132;stroke-dashoffset:132;animation:bnshopRing .6s ease forwards}
.bnshop__tick path{stroke-dasharray:34;stroke-dashoffset:34;animation:bnshopRing .4s ease .45s forwards}
@keyframes bnshopRing{to{stroke-dashoffset:0}}
.bnshop__done h3{margin:0 0 8px;font:400 26px/1.15 Marcellus,Georgia,serif;color:#213921}
.bnshop__done p{margin:0 auto 22px;max-width:300px;font:400 15px/1.6 Manrope,system-ui,sans-serif;color:#390D05}

.bnshop__foot{flex:0 0 auto;padding:14px 22px 18px;border-top:1px solid rgba(33,57,33,.1);background:#fff}
.bnshop__totals{margin:0 0 12px}
.bnshop__totals div{display:flex;justify-content:space-between;align-items:baseline;padding:3px 0}
.bnshop__totals dt{margin:0;font:500 14px Manrope,system-ui,sans-serif;color:#7C461F}
.bnshop__totals dd{margin:0;font:500 14px Manrope,system-ui,sans-serif;color:#390D05}
.bnshop__totals .is-total{margin-top:6px;padding-top:9px;border-top:1px dashed rgba(124,70,31,.3)}
.bnshop__totals .is-total dt{font:400 18px Marcellus,Georgia,serif;color:#213921}
.bnshop__totals .is-total dd{font:400 22px Marcellus,Georgia,serif;color:#213921}

.bnshop__actions{display:flex;flex-direction:column;gap:9px}
.bnshop__btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;padding:14px 20px;border:1px solid #213921;border-radius:999px;
	background:#213921;color:#F9F9F9;cursor:pointer;font:600 15px/1.2 Manrope,system-ui,sans-serif;transition:background .22s ease,transform .22s ease}
.bnshop__btn:hover:not(:disabled){background:#390D05;border-color:#390D05;transform:translateY(-1px)}
.bnshop__btn:disabled{cursor:default;opacity:.6}
.bnshop__btn small{font:500 11px/1.2 Manrope,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;opacity:.75}
.bnshop__btn--wa{flex-direction:row;gap:9px;background:transparent;color:#213921}
.bnshop__btn--wa:hover:not(:disabled){background:#213921;color:#F9F9F9}
.bnshop__btn--wa svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bnshop__btn--ghost{background:transparent;color:#213921}
.bnshop__trust{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 0;font:600 10px/1.3 Manrope,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#BF874C;text-align:center}
.bnshop__mark{width:9px;flex:none}.bnshop__mark svg{width:100%;height:auto;display:block}
.bnshop__mark ellipse,.bnshop__mark path{fill:none;stroke:#BF874C;stroke-width:2.4}

.bnshop__btn:focus-visible,.bnshop__x:focus-visible,.bnshop-fab:focus-visible,.bnshop-stepper button:focus-visible{outline:3px solid #BF874C;outline-offset:2px}
body.bnshop-lock{overflow:hidden}

@media(max-width:520px){
	.bnshop__panel{top:auto;height:92vh;width:100%;border-radius:22px 22px 0 0;transform:translateY(102%)}
	.bnshop__fields{grid-template-columns:1fr}
	.bnshop__head{padding:16px 18px 12px}
	.bnshop__body{padding:14px 18px 8px}
	.bnshop__foot{padding:12px 18px 16px}
	.bnshop-stepper--sm button{height:34px}
	.bnshop-stepper--sm span{line-height:34px}
}
@media (prefers-reduced-motion:reduce){
	.bnshop__panel,.bnshop__back,.bnshop-fly,.bnshop-fab{transition:none}
	.bnshop__tick circle,.bnshop__tick path{animation:none;stroke-dashoffset:0}
}
