*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: open sans, arial;
}

a{
    text-decoration: none;
}

/* ----------header--------- */
header{
    padding: 0px 50px;
    margin-top: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    width: 100%;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.cart-container{
    position: relative;
    display: inline-block;
}

.cart-icon{
    font-size: 30px;
    cursor: pointer;
}

.cart-count2 {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: red;
    color: white;
}

.mangiona-logo{
  width: 50px;
  height: 50px;
}

.mangiona-logo img{
    width: 100%;
    height: 100%;
    margin-left: 20px;
}

.mangiona-nav-links ul{
    list-style: none;
    display: flex;
    gap: 5px;
}

.mangiona-nav-links li{
    display: inline-block;
    padding: 10px 15px;
}

.mangiona-nav-links a{
    text-decoration: none;
    color: black;
    background-color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: 0.3s;
    white-space: nowrap;
}

.mangiona-nav-links a.active{
    background-color: #f02b01;
    color: #fff;
}

.mangiona-order{
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.order-btn{
    background-color: #f02b01;
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    border: none;
    width: auto;
    height: auto;
    font-size: 12px;
}

.order-btn:hover{
    background-color: #df330c;
}
.order-btn:active{
    background-color: #772311;
}

.nav-username {
    display: flex !important;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-username span {
    font-size: 14px;
    color: black;
}

.logout-btn {
    padding: 8px 14px !important;
    font-size: 12px;
    font-weight: 500;
}

/* ------------hero----------- */
.hero{
    display: flex;
    margin-top: 90px;
    gap: 17rem;
}

/* --------hero-left------ */
.hero-left{
    margin-top: 90px;
    margin-left: 150px;
    line-height: 25px;
}

.hero-left h1{
    font-size: 40px;
    margin-bottom: 20px;
}

.hero-left h3{
    font-size: 23px;
    margin-bottom: 15px;
}

.p-tag{
    font-size: 14px;
}

/* ------hero-right----- */
.hero-right{
    position: relative;
    margin-left: 60px;
}
.image{
    height: 400px;
    position: absolute;
    z-index: 2;
}
.bg-shape{
    position: absolute;
    width: 350px;
    height: 363px;
    background: #f02b01;
    border-radius: 30px;
    z-index: 1;
    margin-top: 40px;
    left: 30px;
}

.dash{
    height: 450px;
    position: absolute;
    left: -30px;
}

/* ----sub-hero-- */
.sub-hero{
    display: flex;
    gap: 20px;
    margin-top: 300px;
    margin-left: 150px;
    width: 80%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 100px;
}

/* -----sub-hero-left----- */
.sub-hero-left{
    width: 50%;
}

.sub-hero-left input{
    width: 90%;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff3cd;
    border: none;
    font-size: 14px;
    outline: none;
    margin-bottom: 20px;
    display: block;
}

label{
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 5px;
}

.sub-hero-left textarea{
    width: 90%;
    height: 100px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    resize: none;
    outline: none;
    background-color: #fff3cd;
}

.submit-btn{
    background-color: #f02b01;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    width: auto;
    height: auto;
    font-size: 14px;
    margin-top: 20px;
}

/* --------sub-hero-right----- */
.sub-hero-right{
    background-color: #f02b01;
    width: 50%;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    line-height: 25px;
}

.sub-hero-right h3{
    font-size: 18px;
    margin-bottom: 20px;
}

.sub-hero-right p{
    font-size: 14px;
    margin-bottom: 10px;
}

.icon-link{
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link a{
    text-decoration: none;
    color: #fff;
    margin-top: 60px;
    margin-bottom: 0;
}

/* -----footer------ */
footer{
    position: relative;
}
.footer{
    background-color: #f02b01;
    padding: 70px;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.lower{
    display: flex;
}

.logo{
    width: 100px;
    height: 100px;
}

.logo img{
    width: 100%;
    height: 100%;
}

.white-line-3{
    background-image: url("gray-torn-paper-edge-template-ripped-horizontal-strips-with-shadows-border-texture-design-vector 5.png");
    width: 100%;
    height: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -17px;   /* instead of margin-top */
    left: 0;
    z-index: 2;
}

.mangiona-address{
    margin-top: 20px;
}

.mangiona-address p{
    color: #f0e7e7;
    font-weight: bold;
    font-size: 14px;
}

.mangiona-email{
    margin-top: 10px;
}

.mangiona-number{
    margin-top: 10px;
}

.links{
    display: flex;
    gap: 50px;
    margin-top: 30px;
    margin-left: 300px;
}

.links ul{
    list-style: none;
}

.links a{
    text-decoration: none;
    color: #f0e7e7;
    font-weight: bold;
    font-size: 12px;
}

.links li{
    padding: 10px;
}

.sub-title{
    color: #fff;
    font-weight: bold;
}

hr{
    margin-top: 60px;
    width: 900px;
    border: #FDC729 1px solid;
}

.google-btn{
    display: flex;
    align-items: center;
    width: 170px;
    padding: 10px;
    gap: 9px;
    border-radius: 9px;
    border: none;
    position: absolute;
    top: 40%;
    left: 80%;
}

.google-btn iconify-icon{
    font-size: 30px;
}

.apple-btn{
    display: flex;
    align-items: center;
    width: 170px;
    padding: 10px;
    gap: 9px;
    border-radius: 9px;
    border: none;
    position: absolute;
    top: 52%;
    left: 80.1%;
}

.apple-btn iconify-icon{
    font-size: 30px;
}

.mangiona-policy{
    display: flex;
    gap: 50px;
    margin-top: 10px;
    margin-left: 40%;
}

.mangiona-policy a{
    text-decoration: none;
    color: #fff;
}

.footer h1{
    color: #e0ac0f;
    font-size: 200px;
    margin-top: 1px;
    text-align: center;
    width: 100%;
}

/* ----cart-overlay----- */
.bg-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);

    display:none;
}

.cart-panel{
    position:fixed;
    top:0;
    right:-700px;

    width:550px;
    height:100vh;
    box-sizing: border-box;

    background:white;

    transition:0.3s ease;

    z-index:1000;

    padding:20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-panel.active{
    right:0;
}

.bg-overlay.active{
    display:block;
}

.close-btn{
    width: 50px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid gray;
}

.name{
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 10px;
}

.ingredent{
    margin-top: 0;
    font-size: 12px;
    font-weight: 500;
    color: gray;
    margin-top: 5px;
}

.actions2{
    display:flex;
    gap:8px;
    align-items: center;
    margin-top: 40px;
    margin-left: 20px;
}

.add-btn2{
    font-size: 15px;
    color: #fff;
    border: none;
    margin-top: 5px;
    background-color: #ff4d00;
}

.add-btn2 span{
    color: #fff;
}

.add-btn2,
.remove-btn2{
    width:31px;
    height:30px;
    border-radius: 100%;
    cursor:pointer;
}

.remove-btn2{
    display:none;
    margin-top: 5px;
    font-size: 15px;
    color: gray;
    border: 1px solid gray;
}

.cart-items h2{
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
}

.cart-items{
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.cart-flex{
    display: flex;
    gap: 10px;
    /* align-items: center; */
    margin-top: 20px;
}

.cart-flex img{
    height: 150px;
    object-fit: cover;
    /* vertical-align: bottom; */
}

.cart-empty{
    color: gray;
    font-size: 14px;
    margin-top: 20px;
}

.price-tag{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.quantity{
    font-weight: 500;
    font-size: 15px;
}

.price{
    margin-top: 20px;
    font-size: 13px;
}

.top-cart-panel{
    display: flex;
    gap: 10rem;
    margin-bottom: 20px;
}

.top-cart-panel h2{
    font-size: 30px;
}

.cart-notification{
    background:#fff3cd;
    color:#f5a300;
    padding:15px;
    border-radius:8px;
    font-weight:bold;
    text-align:center;
}

.cart-count{
    font-size:18px;
    color: #f5a300;
}

.cart-items-summary{
    display: block;
    flex-shrink: 0;
    padding-top: 15px;
    background: #fff;
}

.cart-items-summary p{
    display: block;
}

.cart-items-summary .checkout-btn{
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #ff4d00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}