.elementor-90 .elementor-element.elementor-element-55a6e71{border-style:none;box-shadow:0px 0px 15px -2px rgba(0,0,0,0.5);margin-top:10px;margin-bottom:0px;padding:1px 1px 1px 1px;}.elementor-90 .elementor-element.elementor-element-55a6e71, .elementor-90 .elementor-element.elementor-element-55a6e71 > .elementor-background-overlay{border-radius:10px 10px 10px 10px;}/* Start custom CSS for html, class: .elementor-element-64a8d9b *//* ---------- TAB ---------- */
.nyam-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}
 .nyam-tab {
    flex: 1 1 50%;          /* 2 ширхэг tab = 50% + 50% */
    text-align: center;
    padding: 12px 0;        /* босоо талдаа жоохон padding */
    font-size: 16px;        /* хүсвэл томруулах */
    border-radius: 999px; 
    border: none;/* утсан дээр шулуун tab шиг харагдуулъя */
    transition: all 0.2s ease;
  }
.nyam-tab.active {
  background: #518f45;
  color: #ffffff;
}

/* ---------- TAB CONTENT ---------- */
.nyam-tab-content { display: none; }
.nyam-tab-content.active { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ---------- PRODUCT CARD ---------- */
.nyam-product {
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  border: 1px solid #f2f2f2;
  display: flex;
  flex-direction: column;
  gap: 4px;
 
}
.nyam-product img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 0px
}

.nyam-product h4 {
  margin: 4px 0 0px 0;
  font-size: 16px;
  font-weight: 600;
}

.nyam-product .price { 
  font-weight: 800; 
  margin: 0px 0px 4px 0px;
  font-size: 14px;
  color: #444;
}

/* Buttons */
.nyam-btn-row {
  justify-content: center;
  width: 100%;
}

.nyam-detail-btn,
.nyam-add-btn {
  flex: 1;
  background: #f4f4f6;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 49%;
}

.nyam-detail-btn:hover,
.nyam-add-btn:hover {
  background: #e5e5e9;
}

/* “Сагслах” товчийг онцгойруулна */
.nyam-add-btn {
  background: #518f45;
  color: #ffffff;
}
.nyam-add-btn:hover {
  background: #a8d08d;
}

/* ---------- POPUP ---------- */
.nyam-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.nyam-popup-content {
  position: relative;
  background: #ffffff;
  padding: 24px 20px 20px;
  width: 90%;
  max-width: 380px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.nyam-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
}

#nyam-detail-box h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
}

#nyam-detail-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

.nyam-qty-box {
  margin-top: 8px;
  padding: 12px 10px;
  background: #f7f7f7;
  border-radius: 12px;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

#nyam-qty-box label {
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 4px;

  color: #444;
}

#nyam-qty-input {
  width: 70px;
  padding: 6px 8px;
  border: 2px solid #518f45;
  border-radius: 999px;
  font-size: 16px;
  text-align: center;
  outline: none;
}

#nyam-confirm-add {
  background: #518f45;
  border: none;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  transition: 0.2s;
}

/* ---------- FLOATING TOTAL ---------- */
#nyam-total-bar {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: #111;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 9999;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px){

  /* TAB-ууд 50/50, том харагдана */
  .nyam-tabs {
    gap: 4px;
    padding: 4px;
    width: 100%;
  }

  .nyam-tab {
    font-size: 14px;
    padding: 10px 0;
    width: 50%;
  }

  /* Product grid: нэг мөрөнд 2 */
  .nyam-tab-content.active { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px;
  }

  .nyam-product {
    padding: 10px 8px 12px;
    border-radius: 14px;
    width: 100%;
  }

  .nyam-product h4 {
    font-size: 14px;
  }

  .nyam-product .price {
    font-size: 13px;
  }

  .nyam-btn-row {
    gap: 6px;
    width: 100%;
  }

  #nyam-total-bar {
    left: 12px;
    right: 12px;
    text-align: center;
    justify-content: center;
  }
  
  .nyam-btn-row {
  justify-content: center;
  gap: 4px;
  }
  
  .nyam-detail-btn {
  width: 100%;
  }
  .nyam-add-btn {
  width: 100%;
  margin-top: 4px;
  }
  
}

@media (max-width: 480px) {
  .nyam-popup-content {
    padding: 22px 16px 18px;
    width: 100%;
  }
  #nyam-confirm-add {
    font-size: 15px;
    padding: 10px 12px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-0a19691 *//* ================= CART SUMMARY ================= */
/* ===== CART UI ===== */
#nyam-cart-wrap{
  max-width: 1100px;
  background: #fff;
  border-radius: 12px;
}

.nyam-cart-title{
  margin: 0 0 10px;
}

#nyam-cart-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nyam-cart-item{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 10px;
}

.nyam-cart-left{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nyam-cart-name{ font-weight: 700; }
.nyam-cart-sub{ font-size: 14px; opacity: .8; }

.nyam-cart-actions{
  display: flex;
  gap: 8px;
  align-items: center;
}

.nyam-cart-actions button{
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 10px;
  background: #c8f515;
}

.nyam-cart-actions .nyam-remove{
  background: #eee;
}

.nyam-total-row{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ddd;
  font-size: 16px;
}


.nyam-cart{
  margin-top: 30px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eee;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.nyam-cart-title{
  margin: 0 0 12px 0;
  font-size: 18px;
}

.nyam-cart-items{
  display: grid;
  gap: 10px;
}

.nyam-cart-empty{
  margin: 0;
  opacity: .7;
}

/* each cart row */
.nyam-cart-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.nyam-cart-row .left{
  display: grid;
  gap: 4px;
}

.nyam-cart-row .name{
  font-weight: 600;
  margin: 0;
}

.nyam-cart-row .meta{
  margin: 0;
  font-size: 13px;
  opacity: .75;
}

.nyam-cart-row .right{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nyam-cart-row input{
  width: 74px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
}

.nyam-cart-row button{
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 10px;
  background: #eee;
}

.nyam-cart-row button:hover{
  filter: brightness(.97);
}

/* total */
.nyam-cart-footer{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e7e7e7;
  display: flex;
  justify-content: flex-end;
}

.nyam-total-row{
  background: #518f45;
  padding: 10px 14px;
  font-weight: 700;
  color: #ffffff;
}

/* ================= ORDER FORM BLOCK ================= */
.nyam-order-form{
  max-width: 1100px;
  margin: 20px auto 0 auto;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eee;
}

.nyam-order-form h3{
  margin: 0 0 14px 0;
}

.nyam-summary{
  margin-top: 18px;
  background:#fff;
  border-radius:14px;
  padding:14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.nyam-summary-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom: 10px;
}

.nyam-cart-left {
    display: flex;
    flex: 1;
}

.nyam-total-row{
  margin-top: 6px;
  font-weight: 600;
}
.nyam-total-row.nyam-grand{
  margin-top: 10px;
  font-size: 16px;
}

.nyam-shipping-row {
    margin-top:10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
}



/* Responsive */
@media (max-width: 768px){
  .nyam-cart, .nyam-order-form{
    margin-left: 12px;
    margin-right: 12px;
  }
  .nyam-cart-row{
    grid-template-columns: 1fr;
  }
  .nyam-cart-footer{
    justify-content: center;
  }
}/* End custom CSS */