:root {
  --bg: #FBE4EC;
  --bg-alt: #FDF3F6;
  --bg-deep: #F5CFE1;
  --navy: #1F2A52;
  --lavender: #c6acef;
  --plum: #30253b;
  --gold: #C9A227;
  --magenta: #C2255C;
  --white: #FFFFFF;
  --line: rgba(31, 42, 82, 0.14);
}

 *{margin:0;padding:0;border: none;}

input[type="checkbox"],
input[type="radio"]{
  accent-color: var(--magenta);
}


/*======================= bootstarp ====================== */

*, *::before, *::after {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, blockquote, figure, pre, fieldset, legend, hr {
  margin: 0;
  padding: 0;
}
.modal, .modal *, .modal *::before, .modal *::after {
  box-sizing: border-box;
}


header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hero-section{
  margin-bottom: 5rem;
}
 /*==================== Sites header=============== */
 .site-header{
 
  align-items: center;
  justify-content: center;
  height: 25%;
 }
 

/*================== header for not menu=============== */


 .top-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FDF3F6;
  z-index: 1001;
    width: 100%;

 }



 .right-header{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 5rem;
 } 

 .left-header{
  margin-left: 2rem;
  display: flex;
  align-items:flex-start;

 }



/*======================  footer ====================== */


footer{
   background-color: #FDF3F6;
   padding: 4rem 7rem 5rem 7rem;
  display: flex;
  flex-direction: column;    
  gap: 3rem;
   min-height: 300px;
}
.foot{
  display: flex;
  flex-direction: row;
  gap: 7rem;
  
}

.info{
  list-style: none;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  text-decoration: none;
}
.heading{
  font-size: 1.25rem;
  font-weight: 500;
}
.foot-icon{
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  color: #1F2A52;

}
.foot-icon i{
  color: #1F2A52;
  cursor: pointer;

}
.foot-icon i:hover{
  font-size:1.75rem ;
  color: #58213b;
}

.links a{
  text-decoration: none;
  color: #30253b;


}
.links{
   position: relative; 
}
.links::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 2px;
  background-color:#7f5aa5;
  transform: scaleX(0);       /* starts invisible/collapsed */
  transform-origin: left;     /* grows from the left edge */
  transition: transform 0.5s ease;
}
.links:hover::after {
  transform: scaleX(1);  
}



 /*================== search bar =============== */

 .submit-bar{
  padding:0;
  width: 35rem;
  
 }
 
 #submit-btn{
  background-color:#e996bd;
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 999px;
  text-align: center;
  width: 10%;

  
 }
 #search-box{
  outline: none;
  cursor: pointer;
  flex:1;
  min-width: 0;
  max-width: 85%;
  padding: 0.5rem;
  margin:  0 0.5rem;
 }

 .search-box{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
   box-shadow: 0 4px 12px rgba(31, 42, 82, 0.15);
  margin:1.5rem;
  overflow: hidden;
   transition: width 0.5s ease;
   background-color: #FFFFFF;
 }
 .search-box i{
  padding-left: 0.5rem;
  color: #58213b;
 }

 .search-box:hover{
  width: 500px;
  max-width: 100%;
 }
 /*================== logo =============== */
 .logo{
  height: 11rem;
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;

}
.logo img{
  height: 100%;
  width: auto;
  object-fit: contain;

}

/*================== cakes dropdown =============== */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 12px rgba(31, 42, 82, 0.15);
  min-width: 180px;
  z-index: 1002;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
}
.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #58213b;
}
.dropdown-content a:hover {
  background-color: #FDF3F6;
}
.dropdown:hover .dropdown-content {
  display: flex;
}
/*================== header for menu=============== */
.menu{

  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;

  color: #58213b;
  background-color: white;
   box-shadow: 0 4px 12px rgba(31, 42, 82, 0.15);
  
 
}
.menu-btn{
  padding: 0.5rem;
  color:#58213b;
  margin: 0.5rem;
  text-decoration: none;
   position: relative; 
  font-size: 1.10rem;
  font-weight: 700;


}
.menu-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color:#7f5aa5;
  transform: scaleX(0);      
  transform-origin: left;     /* grows from the left edge */
  transition: transform 0.5s ease;
}
.menu-btn:hover::after {
  transform: scaleX(1);  
      /* expands to full width on hover */
}
.menu-btn:hover{
  color: #7f5aa5; 
}




/*================== icon of cart and acc =============== */
.icon{
  font-size: 1.25rem;
  color:#58213b;
   transition: font-size 0.5s ease;
}

.icon:hover{
  font-size: 1.5rem;
 }


 .home{
  font-size: 1.25rem;
  padding: 1rem;
  
  display: flex;
   transition: font-size 0.5s ease;

 }
 .home i{
  color: #58213b;
 }
 .home-text{
  padding-top: 0.15rem;
  margin-left: 0.5rem;
  font-size: 1rem;
  color: #58213b;

 }
 .home:hover{
  font-size: 1.5rem;
 }

.cart{
padding-top: 1.5rem;
margin-right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.icon {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #e996bd;
  color: white;
  font-size: 0.7rem;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.account{
  margin-right: 1rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  

}
/* decor with line*/

.decor{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.div-line{
  flex: 1;
  height: 1px;
  background-color: var(--gold);
  max-width: 7rem;
}

.div-heart{
  color: #C9A227;
  font-size: 1rem;
}

/* the decor header*/ 
.header-2{
  background-color: #fdecea;
  box-shadow:  0 4px 12px rgba(31, 42, 82, 0.15);
  display: flex;
  justify-content: space-between;

}
.header2-text{
  padding: 2rem 3rem 2rem 3rem;
}
.bake-text{
  color: #e996bd;
  margin:2rem 0 1rem 0;
}

.treats-text{
  color:#58213b;
  font-size:3rem;
}
.treats2-text{
  color: #e996bd;
  font-size:3rem;
}

.cake-feature {
  position: relative;
  display: flex;
}

.fade-img {
  width: 650px;
  max-width: 100%;
  mask-image: linear-gradient(to left, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

/*diff cake occasions   */
.occasions{
  display: flex;
  align-items: center;
  max-width: 100%;
  width: fit-content;
  margin: 0 auto;
  justify-content:flex-start;
  gap:2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2rem 0 0 2rem;
  scroll-behavior: smooth;
 
}

.occ img{
  height: 150px;
  width: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(31, 42, 82, 0.15);
  transition: transform 0.5s ease;
  margin-bottom: 0.5rem;
  cursor: pointer;

}

.occ img:hover {
  transform: scale(1.08);

}
.occ{
  flex: 0 0 auto;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  
}
.occ p{
  justify-content: center;
  font-weight: 600;
  color: #4b4154;
}


.text{
  font-weight: 300;
  font-size: 1.875rem;
  color: #e996bd;
}

.occ-text{
   display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
  justify-content: center;

}

.emoji{
  font-size: 3.125rem;
  justify-content:center;
  text-align: center;
}

/*====================== shop ===================== */

.shop{
  
    top: 350px;
    width: 100%;

}


.card-grid{
  margin: 1rem 2rem 0.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;


}
.card-img {
  width: 250px;
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  margin-top: 1rem;
  border-radius: 15%;
  transition: transform 0.5s ease;
}

.box-con:hover .card-img {
  transform: scale(1.05);
}
 .box-con{
  margin-top: 2rem;
  min-height:430px;
  width: 300px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(31, 42, 82, 0.15);
    border-radius: 10%;
    cursor: pointer;

}


.price{
  color:  #58213b;
  font-size: 1.1rem;
  font-weight: 500;
}
.card-btn{

  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
   box-shadow: 0 4px 12px rgba(31, 42, 82, 0.15);
   color:#fff;
   background-color:#edb0cc;
   width: 80%;
   padding: 0.5rem 3rem 0.5rem 3rem;
   justify-content: center;
   align-items: center;
   transition: background-color 0.5s ease, transform 0.2s ease;
   margin: 0.5rem 0 2rem 0;
   cursor: pointer;
   text-align: center;

}

.card-btn:hover{
  background-color:rgb(185, 124, 185);
  transform: translateY(-2px);
}

.img-txt{
  color: #58213b;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
}

/*================ hamburger btn ==================  */

.hamburger-btn {
  display: none;   /* hidden on desktop by default */
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #58213b;
  margin-right: 1rem;
}
.mobile-menu{
    display:none;
    border-radius:20px ;
     box-shadow: 0 4px 12px rgba(31, 42, 82, 0.15);

    
}

.mobile-menu a{
    text-decoration: none;
    color: #ce89a9;
    font-size: 1rem;
    padding:6px;
    width: 70%;
    border-radius: 8px;
    border: 2px solid rgb(242, 225, 228);
    transition: background 0.2s ease;
}

.mobile-menu a:hover{
   background: #f5eef8;
}
.mobile-menu.active{
    left:0;
}

  .mobile-menu {
    position: fixed;
    top: 100px;
    left: -220px;
    width: 180px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1rem;
    gap: 5px;
    transition: left 0.5s ease;
    z-index: 1000;
    box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  }

  .sidebar-icons{
    
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .mob-logo{
  
    background-color: #FDF3F6;
    width: 100%;
    height: 70px;
    padding-top: 2rem;
    padding-bottom: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;
  
    
  }
  .mob-logo img{
    width: auto;
    height: 70px;
    
  }

  /* =============================  CART ===============================*/
.cart-text{
  font-size: 2rem;
  color: #ce89a9;

}
.line{
  
  height: 2px;
  width: 95%;
  background-color: #e9cadf;
  margin: 0 auto

}

.cart-con{
  margin: 1rem auto;
  border-radius: 20px;
  border: 2px solid pink;

  width: 85%;
  
}
.item-con{
  padding: 1rem;
  min-height: 180px;
  max-width: 1100px;
  margin: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
  


}
.left-cart{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  min-width: 0;
}
.item-info{
  display: flex;
  flex-direction: column;
  color: #58213b;
  font-size: 1rem;
  flex: 1 1 0;
  min-width: 0;
  word-wrap: break-word;
}

.cart-img{
  width: 35%;
  min-height: 120px;
  overflow: hidden;
  border-radius:30px;
  

}
.cart-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius:30px;
}

.right-cart{
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  margin: 2rem;


}
.quantity{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid grey;
  margin: 1rem;
  background-color: #F5CFE1 ;
  max-width: 50%;
  max-height: 40%;
}


.add {
  height: 50px;
  width: 50px;
  background-color: #F5CFE1;
  font-size: 1.5rem;
   transition: background 0.2s ease;
  
}
.add:hover{
   background: #f5eef8;
}
.minus{
   height: 50px;
  width: 50px;
  position: relative;
  top: -2px;
   font-size: 2rem;
   background-color: #F5CFE1;
    transition: background 0.2s ease;

}
.minus:hover{
   background: #f5eef8;
}
.count{
   height: 50px;
  width: 50px;
  
   font-size: 1.5rem;
   background-color: #F5CFE1;
   

}

.delete i{
  font-size: 2rem;
  cursor: pointer;
  
}
.delete{
   transition: background 0.5s ease;
  background-color: white;
  transition: font-size 0.3s ease;
  
}
.delete i:hover{
   font-size: 2.1rem;
   

}
.empty-cart {
  font-size: 3rem;
  color: #C2255C;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 0;
  text-align: center;

}

.empty-cart .card-btn {
  
  text-decoration: none;
  
}
.cart-con.is-empty {
  border: none;
}
.note-text{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}
.note-text.expanded{
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
/* order summary */

.summary{
 
  
  margin: 2rem auto;
  border: 2px solid pink;
  border-radius: 30px;
  width: 50%;
}
.summary-con{
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  gap: 1rem;

}
.s-heading{
  color: #58213b;
  font-size: 1.875rem;
  font-weight: 600;

}
.summary-txt{
  color: #58213b;
  font-size: 1.25rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 90%;


}
.s-btn{
  background-color: #c84e87;
  width: 35%;
  height: 40px;
  border-radius: 30px;
  font-size: 1.25rem;
  color: white;
  transition: font-size 0.3s ease;
  cursor: pointer;


}

.s-btn:hover{
  font-size: 1.4375rem;
}
.s-link{
  text-decoration: none;
  text-align: center;
  border-radius: 30px;
  border: 1px solid palevioletred;
  font-size: 1.25rem;
  padding: 0.5rem 2rem 0.5rem 2rem;
  color: #C2255C;
  transition: font-size 0.3s ease;
  cursor: pointer;

}
.s-link:hover{
  font-size: 1.4375rem;
}

/*====================== image lightbox =================== */

.lightbox{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.active{
  display: flex;
}
.lightbox img{
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  cursor: default;
}
.lightbox-close{
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: white;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3001;
}

/*====================== display page =================== */

.display-con{
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  border-radius: 20px;
 width: 80%;
  max-width: 1100px;
  margin: 2rem auto;
  border: 2px solid palevioletred;

}


.display-img{
  
  width: 40%;
  height: auto;
  min-width: 0;
  border-radius: 30px;
  margin:0.5rem 2rem 0.5rem 2rem;


}
.display-img img{
  width: 90%;
  object-fit: cover;
  height: auto;
  cursor: zoom-in;
  border-radius: 30px;

}
.display-txt-con{
  margin: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;

  

}

.display-txt{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.d-heading{
  color: #58213b;
  font-size: 3rem;

}
.d-price{
  color: #ce89a9;
  font-size: 2rem;

}
.d-description{
  color: #30253b;
  font-size: 1.5rem;

}
.d-btn{
  max-width: 8rem;
  max-height: 2rem;
}
.d-serving{
  color: #58213b;
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



/* ========================= customize ==============================*/
.rad{
   
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
   align-items: flex-start;
  padding: 2rem;
  color: #a91e50;
  font-size: 1.25rem;
  
}
.selection{
  color: #30253b;
  font-size: 1.25rem;
  font-weight: 600;
}
.rad h2{
  color: #58213b;
}
.customize{
  margin: 3rem auto;
  padding: 2rem;
  width: 80%;
  border: 2px solid pink;
  background-color: rgb(254, 234, 238);
  border-radius: 30px;


}

.customize-con{
  display: flex;
  flex-direction: row;
  

}
label[data-tooltip] {
  position: relative;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

label[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  color:#58213b;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background-color: rgba(238, 203, 213, 0.966);
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

label[data-tooltip]:hover::after {
  opacity: 1;
}

.pic-menu{
  width: 500px;
  max-width: 100%;
  height: 1000px;
  margin:6rem 0 6rem 14rem;
}
.pic-menu img{

    width: 500px;
  max-width: 100%;
  height: 1000px;
  object-fit:contain;

}
.customize-input{
  display: block;
  width: 80%;
  border-radius: 40px;
  margin: 1rem 0.5rem;
}
.customize-input textarea{
  width: 100%;
  padding: 0.75rem 1rem;
  resize: vertical;
  border-radius: 30px;
  
}
.totalPrice{
  border: 2px solid palevioletred;
  padding: 0.5rem;
  border-radius: 30px;
  margin: 2rem 0.5rem;
  max-width: 200px;
}
.cup-customize-input{
  display: block;
  width: 80%;
  border-radius: 30px;

}
.cup-customize-input textarea{
  width: 100%;
  padding: 0.75rem 1rem;
  resize: vertical;
  border-radius: 30px;
  
}
.cupTotalPrice{
  border: 2px solid palevioletred;
  margin: 1rem;
  padding: 0.5rem;
  border-radius: 30px;
}


/* delivery date and time*/

#deliveryDate, #deliveryTime, #cupDeliveryDate, #cupDeliveryTime{
  padding: 0.5rem;
  border: 1px solid rgb(213, 112, 213);
  border-radius: 10px;
  font-size: 1rem;
  color:#58213b;
  background-color: white;
}
#deliveryDate::-webkit-calendar-picker-indicator,
#deliveryTime::-webkit-calendar-picker-indicator,
#cupDeliveryDate::-webkit-calendar-picker-indicator,
#cupDeliveryTime::-webkit-calendar-picker-indicator  {
  cursor: pointer;
}
.delivery-error {
  color: #f3153d;
  font-size: 1rem;
  margin-top: 0.25rem;
  display: none;
}
.delivery-error {
  color: #f3153d;
  font-size: 1rem;
  margin-top: 0.25rem;
  display: none;
}
.delivery-error.show {
  display: block;
  
}
.del{
  display: flex;
  flex-direction: row;
  gap:2rem;
}
.del-con{
  display: flex;
  flex-direction: column;
  gap: 1rem;

}
.del-error{
  margin-top: 5rem;
}

.disclaimer{
  margin: 1rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #a91e50;
}
/*======================== toast =========================  */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background:#edb0cc;
  color:#58213b;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2000;
}

.toast .icon {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.toast .icon:hover {
  transform: scale(1.15);
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/*================= announcemnet ===============*/

.announcement-bar{
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background-color: #58213b;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1001;


}
.announcement-text {
  display: inline-block;
  padding-left: 100%;
  color: white;
  animation: scroll-left 20s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* ======admin page ==========*/

.admin-item-con{
  font-size: 1.25rem;
  color: #724a99;
  padding: 2rem;
  border: 2px solid palevioletred;
  min-width: 600px;
  border-radius: 30px;


}
.admin-con{
  display: flex;
  flex-direction: row;
  gap: 3rem;
  margin: 2rem;
  flex-wrap: wrap;
}


/* ======= menu page =================*/
.menu-pic{
  max-width: 90%;
 
  max-height: 900px;
  margin: 2rem auto;
  display: flex;
 
}
.menu-pic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {

  .mob-logo{
   height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;

  }
   .mob-logo img{
    width: auto;
    height: 4rem;
    
  }
 
  .home,
  .account {
    display: none;
  } 
  .hamburger-btn{
    display: block;   /* shows up only on mobile */
  }
  .mobile-menu{
    display:flex;
  
  }
 

  .menu {
    display: none;

  }
  .pic-menu{
    margin: 2rem auto;
  }
  .admin-item-con{
    min-width: 0;
    width: 100%;
  }
  .submit-bar {
    width: 100%;
    max-width: 400px;
  }
   .occ img{
    height:100px;
    width: 100px;
  }
  .occ-text{
    margin: 1rem;
  
  }
  .occasions{
    padding: 0;
  }

  .submit-bar{
    width: 100%;
  }

  .header2{
    max-height: 70px;
  }
.header2-text{
  padding-top: 1rem;
}
.bake-text{
  margin-top: 0;
}
.treats-text{
  font-size: 2rem;
}
.treats2-text{
  font-size: 2rem;

}
.text2{
  font-size: 0.75rem;
}
.card-grid{
  margin: 0;
}
.top-header{
  width: 100%;
  z-index: 1000;
  justify-content: center;
  padding: 0.5rem 0;
}
  .search-box:hover{
    width: 95%;
  }

  .search-box{
    margin: 0;
    max-width: 90%;
  }
  .submit-bar{
    max-width: 70%;
  }
  #search-box{
    max-width: 70%;
    min-width: 0;
    margin-left: 0.5rem;
  }
  #submit-btn{
    min-width: 15%;
   
  }
   #submit-btn i{
     display: flex;
   align-items: center;
    justify-content: center;
   
   }


  .header-2{
    flex-direction: column;
  }

  .fade-img{
    display: none;
  }


  .info{
    gap: 0.25rem;
    font-size: 0.5rem;
    padding: 0.25rem;
  }
  footer{
    padding: 1rem auto;
  }
  .foot{
  
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .info li{
    font-size: 0.75rem;
  }
 
  .links{
    font-size: 0.75rem;
  }
   .heading{
    font-size: 1rem;
  }


  .logo{
    height: 7rem; 
    width: auto;
    border-radius: 999px;  
    }
    .logo img{
    height: 7rem;
    width: auto; 
    border-radius: 999px;  
    object-fit: contain;
    }

  .left-header{
    margin-left: 0.5rem;
  }

  .right-header{
    margin-right: 0.5rem;
  }

 
  .menu-btn{
    font-size: 0.80rem;
    margin: 0.25rem;
  }

    .box-con{
    width: 150px;
    min-height: 230px;
    align-items: center;
    justify-content: center;
  }

  .card-img {
    width: 130px;
    height: 130px;

  }
  

  .price{
    font-size: 0.75rem;
  }

  .card-btn{
    padding: 0.5rem 1rem;
    width: 80%;
    border-radius: 20px;
    font-size: 0.625rem;
  }
  .img-txt{
    font-size: 0.75rem;
   
  }
  /*===== cart ======  */

  .summary{
    width: 90%;
  }

  .quantity{
    width: 40%;
    max-height:15% ;
    margin: 0;
  }

  .item-con{
    margin: 0rem;
    min-height: 100px;
    padding: 0;
  }

  .delete i{
    font-size: 1.5rem;
  }
 
  .left-cart{
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0.5rem;
    gap: 0.5rem;
    width: 90%;
  }
  .right-cart{
    flex-shrink: 0;
    margin: 0 1rem 0 0;
    
    gap: 0.25rem;
    justify-content: right;
    max-width: 30%;
  }
  .item-info{
    font-size: 0.9rem;
  }
  .occ-text{
    font-size: 1rem;
  }
  .s-btn{
    width: 50%;
    font-size: 0.5rem;
  }
.s-link{
   width: 90%;
    font-size: 0.65rem;

}
.s-link:hover{
  font-size: 0.75rem;
}
  .cart-img{
  width: 48%;
  flex-shrink: 0;
  height: auto;
  border-radius:20px;
}
.cart-con{
  margin: 0.5rem auto;
  width: 95%;
}
.cart-img img{
  width: 100%;
  height: auto;
  object-fit: contain;
  

}
.s-heading{
  font-size: 1.5rem;
}
.summary-txt{
  font-size: 0.75rem;
}
.add, .minus, .count{
  width: 30px;
  height: 30px;
  font-size: 1rem;
}


  /*========display ============= */
  .display-con{
    max-width: 600px;
    align-items: center;
    width: 95%;
    gap: 0;
    margin: 0.5rem auto;

  }
  .display-img{
    width: 50%;
    height: auto;
    border-radius: 20px;
    min-width: 0;
    margin:0.5rem;
  }

  .display-img img{
  object-fit: cover;
  height: auto;
  width: 80%;

}
.display-txt-con{
  min-width: 0;
  width: 70%;
  margin: 0;

}
.quantity.d-btn{
  width: 50%;
  justify-self: flex-start;

  font-size: 0.625rem;
}

.display-txt{
  gap: 0.5rem;
}
.d-heading{
  font-size: 1.25rem;
  margin-top :1rem;

}
.delete i:hover{
   font-size: 1.25rem;
   

}
.d-price{
  font-size: 1rem;

}
.d-description{

  font-size: 0.75rem;

}
.d-btn{
  max-width: 8rem;
  max-height: 2rem;
}
.d-serving{
  
  font-size: 0.9rem;
  
  gap: 0.25rem;
}
.rad{
  font-size: 1rem;
  padding: 0.5rem auto;
}
.rad h2{
  font-size: 1.25rem;
}
.selection{
  font-size: 1rem;
}
.customize-con{
  margin: 0.25rem;
}
.cart-text{
  font-size: 1.5rem;
}
label[data-tooltip]{
  font-size: 0.75rem;
   top: 100%;
  left: 0;
  transform: none;
  
  margin-top: 0.25rem;
  white-space: normal;
  max-width: 90vw;
}
label[data-tooltip]::after {
  position: static;
  display: block;
  opacity: 1;
  font-size: 0.75rem;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  pointer-events: auto;
  margin-top: 0.75rem;
  padding: 0;

  background-color: transparent;
}
.customize-input{
  max-width: 80%;
}
.customize{
  margin: 0.5rem auto;
  padding: 1rem;
  width: 95%;

}
.item-info{
  font-size: 0.75rem;
}
.disclaimer{
  font-size: 1rem;
  font-weight: 600;
  flex: 1 1 0;
  min-width: 0;
  word-wrap: break-word;
  
}

.menu-pic{
  height: fit-content;
  width: fit-content;
}
}
























  /* ---- Contact section wrapper ---- */














/* ==========================
          FAQ SECTION
========================== */

.faq-section{
    background: #FFF9F2;
    padding: 70px 20px;
}

.faq-section h2{
    text-align: center;
    color: var(--plum);
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.faq-section > p{
    text-align: center;
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.faq-section .accordion{
    max-width: 900px;
    margin: auto;
}

/* Question Card */

.faq-section .accordion-item{
    border: none;
    border-radius: 18px !important;
    overflow: hidden;
    margin-bottom: 1.3rem;
    background: #FCE8EF;
    box-shadow: 0 8px 20px rgba(31,42,82,.08);
}

/* Question */

.faq-section .accordion-button{
    background: #FCE8EF;
    color: var(--plum);
    font-size: 1.08rem;
    font-weight: 600;
    padding: 1.4rem 1.5rem;
    transition: .3s ease;
}

.faq-section .accordion-button:hover{
    background: #F8D9E6;
}

/* Active Question */

.faq-section .accordion-button:not(.collapsed){
    background: #F5CFE1;
    color: var(--magenta);
    box-shadow: none;
}

/* Remove Bootstrap Focus */

.faq-section .accordion-button:focus{
    box-shadow: none;
}

/* Answer */

.faq-section .accordion-body{
    background: var(--white);
    color: var(--navy);
    line-height: 1.8;
    padding: 1.5rem;
    border-top: 1px solid rgba(31,42,82,.08);
}

/* Arrow */

.faq-section .accordion-button::after{
    transition: transform .3s ease;
}

/* Mobile */

@media(max-width:768px){

    .faq-section{
        padding:50px 15px;
    }

    .faq-section h2{
        font-size:2rem;
    }

    .faq-section>p{
        font-size:1rem;
        margin-bottom:2rem;
    }

    .faq-section .accordion-button{
        padding:1rem;
        font-size:1rem;
    }

    .faq-section .accordion-body{
        padding:1rem;
    }

}

/* =====================================================
   CHECKOUT PAGE
   The Cake Canvas NB
   ===================================================== */


/* ===============================
   MAIN CHECKOUT CONTAINER
   =============================== */

.checkout-container {

    display: grid;

    grid-template-columns: 58% 42%;

    width: 100%;

    background-color: #FFF9F2;

    margin-top: 0;

}


/* ===============================
   LEFT SIDE
   =============================== */

.checkout-left {

    padding: 4rem 8% 5rem 12%;
  
    border-right: 1px solid var(--line);

}


/* ===============================
   CHECKOUT HEADING
   =============================== */

.checkout-title {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 3rem;

}


.checkout-title h1 {

    color: var(--plum);

    font-size: 2.3rem;

    margin-bottom: 0.5rem;

}


.checkout-title p {

    color: #6f6675;

    font-size: 0.95rem;

}


.checkout-title a {

    color: var(--magenta);

    text-decoration: underline;

    margin-top: 0.7rem;

}


/* ===============================
   SECTIONS
   =============================== */

.checkout-section {

    margin-bottom: 2.8rem;

}


.checkout-section h2 {

    color: var(--plum);

    font-size: 1.35rem;

    margin-bottom: 1rem;

}


/* ===============================
   INPUTS
   =============================== */

.checkout-section input[type="text"],
.checkout-section input[type="email"],
.checkout-section input[type="tel"] {

   width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);

    border-radius: 12px;

    background-color: var(--bg-alt);

    color: var(--plum);

    outline: none;

    font-size: 0.95rem;

    padding: 1rem;

    transition: 0.25s ease;

}


.checkout-section input::placeholder {

    color: rgba(48, 37, 59, 0.55);

}


.checkout-section input:focus {

    border-color: var(--lavender);

    box-shadow: 0 0 0 2px rgba(198, 172, 239, 0.25);

}


/* input with icon */

.checkout-input {

    position: relative;

    width: 100%;

}


.checkout-input input {

    width: 100%;

    padding-right: 3rem !important;

}


.checkout-input i {

    position: absolute;

    right: 1rem;

    top: 50%;

    transform: translateY(-50%);

    color: #777;

}


/* ===============================
   TWO INPUTS
   =============================== */

.input-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.8rem;

    margin-bottom: 0.8rem;

}


.full-input {

    width: 100%;

    margin-bottom: 0.8rem;

}


/* ===============================
   COUNTRY
   =============================== */

.country-box {

    border: 1px solid var(--line);

    border-radius: 12px;

    background-color: var(--bg-alt);

    padding: 0.65rem 1rem;

    margin-bottom: 0.8rem;

}


.country-box label {

    display: block;

    color: #777;

    font-size: 0.75rem;

    margin-bottom: 0.2rem;

}


.country-box select {

    border: none;

    outline: none;

    width: 100%;

    background-color: transparent;

    color: var(--plum);

    font-size: 0.95rem;

}


/* ===============================
   CHECKBOX
   =============================== */

.checkbox-row {

    display: flex;

    align-items: center;

    gap: 0.6rem;

    margin-top: 0.9rem;

    color: var(--plum);

    font-size: 0.9rem;

    cursor: pointer;

}


.checkbox-row input {

    width: 18px;

    height: 18px;

    accent-color: var(--magenta);

}


/* ===============================
   SHIPPING
   =============================== */

.shipping-box {

    border: 1px solid var(--line);

    border-radius: 14px;

    overflow: hidden;

    background-color: var(--white);

}


.shipping-option {

    display: grid;

    grid-template-columns: 22px 1fr auto;

    gap: 0.7rem;

    padding: 1.1rem;

    border-bottom: 1px solid var(--line);

    cursor: pointer;

    position: relative;

}


.shipping-option:last-child {

    border-bottom: none;

}


.shipping-option input {

    position: absolute;

    opacity: 0;

}


.radio {

    width: 20px;

    height: 20px;

    border: 1px solid #bbb;

    border-radius: 50%;

    margin-top: 2px;

}


.shipping-option input:checked + .radio {

    border: 6px solid var(--magenta);

}


.shipping-option strong {

    color: var(--plum);

}


.shipping-option small {

    display: block;

    color: #716a74;

    line-height: 1.45;

    margin-top: 0.3rem;

}


/* ===============================
   PAYMENT
   =============================== */

.secure-payment {

    color: #777;

    font-size: 0.9rem;

    margin-bottom: 1rem;

}


.secure-payment i {

    color: var(--magenta);

    margin-right: 0.4rem;

}


.payment-box {

    border: 1px solid var(--line);

    border-radius: 14px;

    background-color: var(--bg-alt);

    overflow: hidden;

}


.payment-heading {

    padding: 1.2rem;

    background-color: var(--bg);

    color: var(--plum);

    font-weight: 600;

    border-bottom: 1px solid var(--line);

}


.payment-details {

    padding: 1.2rem;

    color: var(--plum);

    font-size: 0.9rem;

    line-height: 1.5;

}


.payment-details p {

    margin-bottom: 0.25rem;

}


.payment-note {

    margin-top: 1rem;

    color: #6d6670;

}


/* ===============================
   BILLING
   =============================== */

.billing-box {

    border: 1px solid var(--line);

    border-radius: 14px;

    overflow: hidden;

}


.billing-option {

    min-height: 58px;

    display: flex;

    align-items: center;

    gap: 0.7rem;

    padding: 0 1.1rem;

    border-bottom: 1px solid var(--line);

    cursor: pointer;

    color: var(--plum);

}


.billing-option:last-child {

    border-bottom: none;

}


.billing-option.selected {

    background-color: var(--bg-alt);

}


.billing-option input {

    width: 19px;

    height: 19px;

    accent-color: var(--magenta);

}


/* ===============================
   COMPLETE ORDER BUTTON
   =============================== */

.complete-order {

    width: 100%;

    border: none;

    border-radius: 999px;

    background-color: var(--magenta);

    color: white;

    padding: 1.1rem;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;

}


.complete-order:hover {

    background-color: #a91e50;

    transform: translateY(-2px);

}


.complete-order i {

    margin-left: 0.5rem;

}


/* ===============================
   PRIVACY
   =============================== */

.privacy-link {

    display: inline-block;

    margin-top: 2rem;

    color: var(--magenta);

    text-decoration: underline;

    font-size: 0.9rem;

}


/* ===============================
   RIGHT SIDE
   =============================== */

.order-summary {

   background-color: #FFF9F2;

    padding: 4rem 12% 5rem 7%;

}


/* ===============================
   SUMMARY HEADING
   =============================== */

.summary-title {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 1rem;

    margin-bottom: 1.5rem;

    border-bottom: 1px solid var(--line);

}


.summary-title h2 {

    color: var(--plum);

    font-size: 1.4rem;

}


.summary-title a {

    color: var(--magenta);

    text-decoration: underline;

    font-size: 0.9rem;

}


/* ===============================
   PRODUCTS
   =============================== */

.summary-product {

    display: grid;

    grid-template-columns: 70px 1fr auto;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.5rem;

}


.summary-image {

    width: 70px;

    height: 70px;

    position: relative;

    border-radius: 12px;

    background-color: white;

    border: 1px solid var(--line);

}


.summary-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 11px;

}


.summary-image span {

    position: absolute;

    right: -7px;

    top: -8px;

    width: 22px;

    height: 22px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: var(--plum);

    color: white;

    font-size: 0.7rem;

}


.summary-product-name h3 {

    color: var(--plum);

    font-size: 0.95rem;

    font-weight: 600;

    margin-bottom: 0.3rem;

}


.summary-product-name p {

    color: #817a83;

    font-size: 0.8rem;

}


.summary-product > strong {

    color: var(--plum);

    white-space: nowrap;

    font-size: 0.9rem;

}


/* ===============================
   TOTALS
   =============================== */

.summary-total {

    border-top: 1px solid var(--line);

    padding-top: 1.2rem;

}


.summary-total > div {

    display: flex;

    justify-content: space-between;

    color: var(--plum);

    font-size: 0.9rem;

    margin-bottom: 1rem;

}


.grand-total {

    border-top: 1px solid var(--line);

    padding-top: 1.2rem;

    margin-top: 1.2rem;

}


.grand-total span {

    font-size: 1.3rem;

    font-weight: 600;

}


.grand-total strong {

    font-size: 1.3rem;

}


.grand-total small {

    color: #777;

    font-size: 0.7rem;

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .checkout-container {

        display: flex;

        flex-direction: column;

    }


    .checkout-left {

        padding: 3rem 1.5rem;

        border-right: none;

    }


    .order-summary {

        padding: 3rem 1.5rem;

        order: -1;

    }


    .checkout-title h1 {

        font-size: 1.9rem;

    }


    .input-row {

        grid-template-columns: 1fr;

    }


    .shipping-option {

        grid-template-columns: 22px 1fr;

    }


    .shipping-option > strong {

        grid-column: 2;

    }


    .summary-product {

        grid-template-columns: 65px 1fr;

    }


    .summary-image {

        width: 65px;

        height: 65px;

    }


    .summary-product > strong {

        grid-column: 2;

    }

}
.input-error {
    border: 1px solid #dc3545 !important;
}

.validation-error {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}
