/**
 * Menu Template Style
 */


@font-face {
    font-family: 'Morabba';
    src: url('https://dornica.cafe/wp-content/uploads/2025/08/MorabbaVF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('font/YekanBakhFaNum-VF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
*{
 box-sizing:border-box;
}

html,body{
 width:100%;
 overflow-x:hidden;
}
html{
    max-width: 768px;
    border-right: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    margin: 0 auto;
    height: 100vh;
}
body {
    font-family: 'Morabba' !important;
    padding: 0 !important;
    margin: 0 !important;
}
.app-header{
    background: linear-gradient(135deg, #FFE1C900 0%, #fdc699 100%);
    width: 100%;
    height: 85px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.app-header a{
    text-decoration: auto;
    align-items: center;
    display: inline-flex;
    gap: 11px;
    width: fit-content;
}
.app-header .header-title{
    margin: 0 !important;
}
.app-header img{
    width: 50px;
    height: 50px;
    border-radius: 11px;
    border: 3px solid #fff;
}
.app-header h1 span:first-child{
    font-size: 18px;
    font-weight: 700;
    color: #d66a12;
}
.app-header h1 span.phone-dakheli{
    display: block;
    font-size: 13px;
    color: black;
    font-weight: 500;
}
.app-header .dornica_user{
     display: inline-flex;
    background-color: #422883;
    color: #fff;
    border-radius: 19px;
    font-size: 14px;
    padding: 4px 10px 4px 5px;
    gap: 10px;   
}
.app-header .dornica_user .discount{
    background-color: #ffa1a1;
    color: #a10000;
    border-radius: 33px;
    padding: 1px 12px 0 12px;
    font-size: 13px;
    font-family: 'YekanBakh';  
}
.app-header .display_name{
    font-size: 15px;
    margin: 6px 0 0 0;
    text-align: center;
}
.app-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #eee;
    z-index: 9999;
    max-width: 768px;
    margin: 0 auto;
    border-right: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
}

.app-bottom-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #777;
    font-size: 12px;
    font-weight: 600;
}
.app-bottom-menu .menu-item.active {
    color: #f58220;
    font-weight: 600;
}
.app-bottom-menu .menu-item.active svg path{
    fill: #f58220;
}


.app-bottom-menu .menu-item img {
    width: 22px;
    height: 22px;
}
footer.elementor,
header {
    display: none !important;
}
.product-tabs{
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #e3e3e3;
    padding: 0 0;
    font-weight: 400;
    margin: 0 0 0 0;
}
.product-tabs-placeholder{
    display:none;
}
.product-tabs.is-fixed{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: .2s;
    max-width: 768px;
    margin: 0 auto;
    border-right: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    padding: 8px 0 0 0;
}

.tab{
    white-space: nowrap;
    padding: 15px 20px 12px 20px;
    color: #8d8d8d;
    border-bottom: 3px solid #00000000;
    cursor: pointer;
}
.tab.active{
    color: #000000;
    border-bottom: 3px solid black;
    font-weight: 600;
}
.product-search #product-search{
    width: 95%;
    border: 1px solid #e3e3e3;
    margin: 8px auto 9px auto;
    display: flex;
    padding: 14px 13px;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit; 
}
.payment-methods{
    font-size: 14px;
    display: inline-flex;
    gap: 5px;
    font-weight: 500;
    justify-content: space-between; 
}
#products-box{
    opacity: 1;
    display: grid;
    gap: 7px;
    width: 95%;
    margin: 0 auto;
    padding-bottom: 120px;
}
.menu-product{
    border: 1px solid #eee;
    padding: 8px 11px;
    border-radius: 11px;
    display: inline-flex;
    box-shadow: 0 0 8px #00000012;
}
.menu-product .right-box{
    width: 70%;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.menu-product .right-box .text-box{
    display: grid;
    align-content: space-between;
    height: 66%;    
}

.menu-product .left-box{
    width: 30%;
    display: flex;
    justify-content: end;
    align-items: center;
}
.menu-product .left-box .add-cart{
    background-color: #f5822026;
    height: fit-content;
    color: #f58220;
    padding: 5px 18px 6px 18px;
    font-size: 15px;
    border-radius: 7px;
    font-family: inherit;
    border: inherit;
}
.menu-product h3{
    font-size: 15px;
    color: black;
    font-weight: 700;
    margin: 0;
}
.menu-product .price{
    color: gray;
    font-size: 14px;
    font-family: 'YekanBakh';   
}
.menu-product img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #f5f5f5;
}
.menu-product .left-box .qty-box{
    display: flex;
    gap: 13px;
    align-items: center;
    background-color: #f5822026;
    font-family: 'YekanBakh';
    border-radius: 7px;
    padding: 0 1px;
    font-size: 16px;
    color: #9b4700;
}
.menu-product .left-box .qty-box button{
    padding: 4px 0 0 0 !important;
    border: unset;
    background-color: unset;
}
#menu-loading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0;
    position: absolute;
    max-width: 768px;
}

#menu-loading img {
    width:50px;
    height:50px;
}
.cart-icon-wrap {
    position: relative;
}
.cart-count {
    justify-content: center;
    position: absolute;
    align-items: center;
    padding: 2px 0 0 0;
    top: -4px;
    right: -12px;
    min-width: 22px;
    height: 22px;
    background: #e63946;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    font-family: 'YekanBakh';
}
.scroll-top-btn{
    position: absolute;
    left: 18px;
    bottom: 90px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .25s ease;
    z-index: 9998;
}

.scroll-top-btn svg{
    width: 24px;
    height: 24px;
}

.scroll-top-btn.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.thankyou-box{
    width:95%;
    max-width:450px;
    margin:40px auto;
    padding:30px 25px;
    background:#fff;
    border-radius:24px;
    text-align:center;
    box-shadow:0 10px 35px rgba(0,0,0,.07);
}
.thankyou-box h2{
    margin:0 0 25px;
    font-size:22px;
    color:#652e00;
    font-weight:700;
}
.thankyou-box p{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 12px;
    border-radius: 14px;
    background: #faf7f3;
    color: #555;
    font-size: 15px;
    font-family: 'YekanBakh';
}
.thankyou-box p:first-of-type{
    color:#666;
}
.thankyou-box a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin-top: 25px;
    border-radius: 10px;
    background: #f58220;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: .3s;
}
.thankyou-box a:hover{
    opacity:.9;
}
.cart-page {
  width: 95%;
  padding: 15px;
  margin: 0 auto;
}
.cart-page h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,.05);
    position: relative;
}
.cart-item img {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: cover;
}
.cart-info {
  flex: 1;
}
.cart-item h3 {
  font-size: 14px;
  color: #333;
  margin: 0 0 8px;
}
.cart-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #777;
}
.cart-meta .woocommerce-Price-amount {
    color: #181818;
    font-weight: 900;
    font-size: 16px;
}
.cart-item span {
  font-size: 13px;
  color: #777;
}
.cart-item div {
    font-size: 14px;
    color: #f58220;
    font-weight: 600;
    margin-top: 5px;
    font-family: 'YekanBakh';
}
.checkout-box {
    background: #fff;
    padding: 18px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    width: 95%;
    margin-bottom: 90px;
}
.checkout-box h3 {
  font-size: 17px;
  color: #333;
  margin: 0 0 15px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #eee;
  background: #fafafa;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}
.form-group input {
  height: 46px;
}
.form-group textarea {
  height: 80px;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f58220;
  background: #fff;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #faf7f3;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}
.payment-option input {
  accent-color: #f58220;
}
#create-order {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: #f58220;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  margin-top: 15px;
  cursor: pointer;
}
.cart-message {
  display: none;
  text-align: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #fff1f1;
  color: #d32f2f;
  font-size: 13px;
}
.cart-login-required,
.empty-cart-box {
  margin: 40px 15px;
  padding: 25px 18px;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
.cart-login-required p,
.empty-cart-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}
.cart-login-required a,
.empty-cart-box a {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f58220;
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
}
@media (min-width: 768px) {
  .cart-page {
    max-width: 520px;
  }
}
.orders-page {
  width: 95%;
  padding: 15px;
  margin: 0 auto 90px auto;
}
.orders-page h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-card {
  background: #fff;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.order-head span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}
.order-head strong {
  font-size: 15px;
  color: #333;
}
.order-status {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  background: #fff3e8;
  color: #f58220;
}
.status-completed {
  background: #e8f8ee;
  color: #198754;
}
.status-processing {
  background: #e8f2ff;
  color: #06c;
}
.status-pending,
.status-on-hold {
  background: #fff3e8;
  color: #f58220;
}
.status-cancelled,
.status-failed {
  background: #ffeaea;
  color: #d32f2f;
}
.order-date {
  font-size: 12px;
  color: #777;
  margin: 12px 0;
}
.order-products {
  border-top: 1px solid #eee;
  padding-top: 10px;
}
.order-product {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  padding: 6px 0;
}
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
  flex-wrap: wrap;
}
.order-payment,
.order-total {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
}
.order-payment strong,
.order-total strong {
  color: #222;
  font-weight: 700;
}

.orders-empty {
  margin: 40px 15px;
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  color: #777;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .orders-page {
    max-width: 520px;
    margin: auto;
  }
}
.cart-total {
    margin: 0 0 16px 0;
    padding: 15px;
    background: #fff;
    border-radius: 16px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    display: grid;
    justify-items: center;
    width: 95%;
}
.cart-total strong{
     font-family: 'YekanBakh';   
}
.discount-info {
    margin: 12px 0 0;
    padding: 10px;
    background: #fff5ea;
    border-radius: 12px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 400;
    text-align: center;
}
.discount-info strong {
  color: #f58220;
}
.remove-cart-item {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #f58220;
    font-size: 35px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: unset;
}







