/*
Theme Name: Astra Child (Reset)
Template: astra
Version: 1.0.0
*/

/* ========= Global visibility fixes ========= */
.weekly-menu, .wm-edit{ color:#14141e; }
.weekly-menu a, .wm-edit a{ color:inherit; }

/* ========= Weekly menu (frontend) ========= */
.weekly-menu{
  max-width: 1150px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}

.weekly-menu__header{ padding: 10px 0 6px; }

.weekly-menu__title{
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0;
}

.weekly-menu__day{
  margin: 18px 0 26px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(20,20,30,.03);
  border: 1px solid rgba(20,20,30,.08);
}

.weekly-menu__day-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.weekly-menu__day-title{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.weekly-menu__day-head-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

/* Align headings with row columns (after image + gap) */
.weekly-menu__day-cols{
  display: grid;
  grid-template-columns: 1fr 220px 120px;
  gap: 16px;

  color: rgba(20,20,30,.75);
  font-weight: 800;
  font-size: 14px;
  margin-left: calc(220px + 16px);
  width: calc(100% - 220px - 16px - 44px);
}
.weekly-menu__colhead--price{ 
	text-align: right;
	padding-right: 20px;
}
.weekly-menu__colhead--amount{ 
	padding-left: 30px;
}
.weekly-menu__colhead--name{ 
	
}

.weekly-menu__row{
  background: #fff;
  border: 1px solid rgba(20,20,30,.10);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
}

.weekly-menu__main{
  display: grid;
  grid-template-columns: 220px 1fr 220px 120px;
  gap: 16px;
  align-items: center;
}

.weekly-menu__topline{ display: none; }

.weekly-menu__img{
  width: 220px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(20,20,30,.06);
  border: 1px solid rgba(20,20,30,.08);
}
.weekly-menu__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.weekly-menu__img-placeholder{ width: 100%; height: 100%; }

.weekly-menu__name-text{
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}
.weekly-menu__allergens{
  margin-top: 6px;
  color: rgba(20,20,30,.72);
  font-size: 14px;
}

.weekly-menu__amount{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
.weekly-menu__pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20,20,30,.06);
  border: 1px solid rgba(20,20,30,.08);
  font-size: 14px;
  white-space: nowrap;
}

.weekly-menu__price-desktop{
  font-size: 20px;
  font-weight: 900;
  color: #e02424;
  text-align: right;
  white-space: nowrap;
	padding-right: 25px;
}

/* ========= Copy button (icon only, no bg/border) ========= */
.wm-copy{
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.wm-copy:hover{ opacity: .85; }
.wm-copy.is-copied{ outline: 2px solid rgba(10,99,209,.20); }
.wm-copy__icon{
  font-size: 18px;
  line-height: 1;
  color: rgba(20,20,30,.92);
  text-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 1px 0 rgba(255,255,255,.25),
    0 -1px 0 rgba(0,0,0,.20);
}

/* ========= Subtle login UI ========= */
.wm-login{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wm-login__btn{
  border: 0;
  background: transparent;
  color: rgba(20,20,30,.55);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 8px;
  cursor: pointer;
}
.wm-login__btn:hover{ color: rgba(20,20,30,.75); text-decoration: underline; }

.wm-login__box{
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(20,20,30,.12);
  background: #fff;
}
.wm-login__box.is-open{ display: inline-flex; }

.wm-login__input{
  width: 110px;
  border: 1px solid rgba(20,20,30,.18);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 13px;
  color: #14141e;
}
.wm-login__submit{
  border: 0;
  background: transparent;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 8px;
  cursor: pointer;
  color: rgba(20,20,30,.8);
}
.wm-login__submit:hover{ text-decoration: underline; }

/* ========= Edit UI ========= */
.wm-edit{
  max-width: 1150px;
  margin: 0 auto;
  padding: 22px 16px 50px;
}

.wm-edit__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wm-edit__notice{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(20,20,30,.10);
  background: rgba(20,20,30,.03);
  font-weight: 700;
  color: #14141e;
}
.wm-edit__notice.is-ok{ border-color: rgba(30,160,90,.25); background: rgba(30,160,90,.08); }
.wm-edit__notice.is-bad{ border-color: rgba(224,36,36,.25); background: rgba(224,36,36,.08); }

/* Buttons: readable, minimal */
.wm-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(20,20,30,.18);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none !important;
  color: #14141e !important;
  box-shadow: none;
}
.wm-btn:hover{ background: rgba(20,20,30,.06); }
.wm-btn--primary{
  background: #0a63d1;
  border-color: #0a63d1;
  color: #fff !important;
}
.wm-btn--primary:hover{ background:#0857bb; border-color:#0857bb; }
.wm-btn--ghost{ background: transparent; }

.wm-edit__actions{
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

/* Accordion */
.wm-acc{
  background: #fff;
  border: 1px solid rgba(20,20,30,.10);
  border-radius: 18px;
  padding: 12px;
  margin: 14px 0;
}
.wm-acc__toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(20,20,30,.03);
  border: 1px solid rgba(20,20,30,.10);
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  color: #14141e;
}
.wm-acc__title{ font-size: 18px; font-weight: 900; }
.wm-acc__icon{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20,20,30,.18);
  background: #fff;
  font-weight: 900;
  color: #14141e;
}
.wm-acc__body{ display: none; margin-top: 12px; }
.wm-acc__body.is-open{ display: block; }

/* Item editor card */
.wm-item{
  border: 1px dashed rgba(20,20,30,.18);
  border-radius: 18px;
  padding: 12px;
  margin: 12px 0;
  background: rgba(20,20,30,.02);
}
.wm-item__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.wm-item__label{ font-weight: 900; font-size: 16px; color: #14141e; }

.wm-item__grid{
  display: grid;
  grid-template-columns: 220px 1fr 160px 1fr 160px;
  gap: 12px;
  align-items: start;
}

.wm-field__label{ font-weight: 900; margin-bottom: 6px; color: #14141e; }

.wm-input, .wm-textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(20,20,30,.18);
  padding: 10px 12px;
  background: #fff;
  color: #14141e;
}
.wm-textarea{ resize: vertical; }

.wm-media{ display: grid; gap: 8px; }
.wm-media__img{
  width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(20,20,30,.12);
  background: rgba(20,20,30,.06);
}
.wm-media__img.is-empty{ opacity: .25; }
.wm-file{
  width: 100%;
  border-radius: 12px;
  border: 1px dashed rgba(20,20,30,.22);
  padding: 10px 12px;
  background: rgba(20,20,30,.02);
  color: #14141e;
}
.wm-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: rgba(20,20,30,.85);
}

/* ========= Mobile ========= */
@media (max-width: 980px){
  .wm-item__grid{ grid-template-columns: 1fr; }
  .wm-media__img{ width: 100%; height: 180px; }
}

@media (max-width: 920px){
  .weekly-menu__day-cols{ display: none; }

  .weekly-menu__main{
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  /* mobile topline */
  .weekly-menu__topline{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
  }
  .weekly-menu__topline-left{
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
  }
  .weekly-menu__num{
    font-weight: 900;
    color: rgba(20,20,30,.75);
  }
  .weekly-menu__price{
    font-size: 18px;
    font-weight: 900;
    color: #e02424;
    white-space: nowrap;
  }

  .weekly-menu__price-desktop{ display: none; }

  .weekly-menu__img{ width: 100%; height: 170px; }
  .weekly-menu__name-text{ font-size: 16px; }
  .weekly-menu__amount{ justify-content: flex-start; }
}
#masthead,
#masthead.ps-sticky,
.elementor-sticky--effects{
  z-index: 1000 !important;
}

/* Elementor lightbox above sticky header */
.dialog-lightbox-widget,
.dialog-widget,
.elementor-lightbox,
.elementor-lightbox .dialog-widget-content{
  z-index: 2147483647 !important;
}
