/* Moran Gil - Hebrew RTL calendar (brand: radius 0, paper/ink/caramel) */
.mgcal-native{position:absolute !important;opacity:0 !important;width:1px !important;height:1px !important;pointer-events:none !important;overflow:hidden;}

html body .mgcal-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:11px 14px !important;background:#fff !important;border:1px solid #e1d7c6 !important;border-radius:0 !important;color:#2e2a2b !important;font-family:inherit;font-size:15px !important;font-weight:500 !important;line-height:1.3;text-align:right;cursor:pointer;box-shadow:none !important;transition:border-color .25s;}
html body .mgcal-trigger:is(:hover,:focus,:active,[aria-expanded="true"]){border-color:#2e2a2b !important;background:#fff !important;color:#2e2a2b !important;}
.mgcal-trigger svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#b47f60;stroke-width:1.5;}
.mgcal-trigger:disabled{opacity:.6;cursor:default;}

.mgcal-backdrop{position:fixed;inset:0;z-index:100000;background:rgba(46,42,43,.38);opacity:0;pointer-events:none;transition:opacity .3s ease;}
.mgcal{position:fixed;z-index:100001;width:320px;max-width:calc(100vw - 16px);background:#f7f1e8;color:#2e2a2b;border:1px solid #e1d7c6;box-shadow:0 18px 50px rgba(46,42,43,.2);padding:16px 16px 18px;direction:rtl;font-family:inherit;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s;}
.mgcal.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .25s ease,transform .25s ease;}
.mgcal button{font-family:inherit;border-radius:0;box-shadow:none;}

.mgcal-head{display:none;justify-content:space-between;align-items:center;margin-bottom:10px;}
.mgcal-title{font-size:17px;font-weight:700;}
.mgcal-close{background:none !important;border:none !important;color:#2e2a2b !important;font-size:24px;line-height:1;padding:4px !important;cursor:pointer;}

.mgcal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.mgcal-month{font-size:16px;font-weight:700;}
.mgcal-arrow{width:36px;height:36px;display:grid;place-items:center;background:none !important;border:1px solid #e1d7c6 !important;color:#2e2a2b !important;font-size:20px;line-height:1;padding:0 !important;cursor:pointer;}
.mgcal-arrow:hover:not(:disabled){border-color:#2e2a2b !important;}
.mgcal-arrow:disabled{opacity:.3;cursor:default;}

.mgcal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.mgcal-dow{text-align:center;font-size:12.5px;font-weight:700;color:rgba(46,42,43,.55);padding:4px 0 6px;}
.mgcal-day{display:grid;place-items:center;aspect-ratio:1;font-size:15px;font-weight:500;}
button.mgcal-day{background:#fff !important;border:1px solid #e1d7c6 !important;color:#2e2a2b !important;padding:0 !important;cursor:pointer;transition:border-color .2s,background .2s,color .2s;}
button.mgcal-day:hover{border-color:#2e2a2b !important;}
button.mgcal-day.is-on{background:#b47f60 !important;border-color:#b47f60 !important;color:#fff !important;font-weight:700;}
.mgcal-day.is-off{color:rgba(46,42,43,.28);text-decoration:line-through;text-decoration-color:rgba(46,42,43,.18);}
.mgcal-dow.is-sat,.mgcal-day.is-sat.is-off{color:rgba(46,42,43,.25);}
.mgcal-day.is-today:not(.is-on){box-shadow:inset 0 -2px 0 #b47f60 !important;}
.mgcal-note{margin:12px 0 0;padding:8px 10px;border-inline-start:3px solid #b47f60;background:rgba(180,127,96,.12);font-size:12.5px;line-height:1.5;}

/* mobile: bottom sheet */
.mgcal.is-sheet{left:0 !important;right:0 !important;top:auto !important;bottom:0;width:auto;max-width:none;border:none;border-top:1px solid #e1d7c6;padding:20px 20px 28px;transform:translateY(100%);transition:transform .4s cubic-bezier(.22,.61,.36,1),visibility 0s linear .4s;opacity:1;}
.mgcal.is-sheet.is-open{transform:none;transition:transform .4s cubic-bezier(.22,.61,.36,1);}
.mgcal.is-sheet .mgcal-head{display:flex;}
.mgcal.is-sheet .mgcal-day{font-size:16px;}
@media(max-width:600px){
	.mgcal-backdrop.is-open{opacity:1;pointer-events:auto;}
	body.mgcal-open{overflow:hidden;}
}
@media(min-width:601px){
	.mgcal-backdrop.is-open{pointer-events:auto;background:transparent;}
}

/* inside the cart chooser: same size as the time select */
html body .mgship-extra .mgcal-trigger{margin-top:10px;min-height:0;padding:10px 12px !important;font-size:14px !important;}
/* dark mini cart drawer */
html body .mgcart .mgship-extra .mgcal-trigger{background:rgba(255,255,255,.08) !important;border-color:rgba(255,255,255,.3) !important;color:#eddfd4 !important;}
html body .mgcart .mgship-extra .mgcal-trigger:is(:hover,:focus,:active,[aria-expanded="true"]){background:rgba(255,255,255,.12) !important;border-color:#e1d7c6 !important;color:#eddfd4 !important;}
html body .mgcart .mgship-extra .mgcal-trigger svg{stroke:#e1d7c6;}html body .mgcal .mgcal-arrow{flex:0 0 36px;width:36px !important;min-width:36px;height:36px;font-size:22px !important;}
html body .mgcal .mgcal-arrow svg{width:16px;height:16px;fill:none;stroke:#2e2a2b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
/* closed days (holidays / full) */
.mgcal-day.is-closed{position:relative;color:rgba(46,42,43,.32);text-decoration:none;background:repeating-linear-gradient(135deg,rgba(180,127,96,.10) 0 4px,transparent 4px 8px);}
.mgcal-closed{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;}
.mgcal-closed li{font-size:12.5px;line-height:1.5;color:rgba(46,42,43,.75);padding-inline-start:10px;border-inline-start:2px solid #b47f60;}
.mgcal-closed b{font-weight:700;direction:ltr;unicode-bidi:isolate;margin-inline-end:4px;}
