* {
  box-sizing: border-box;
}
     body {
    font-family: system-ui, -apple-system, Arial, sans-serif;
  background-color: #f5f5f5;
     width: 100%;
     margin: 0;
    overflow-x: hidden;  /* prevents horizontal scroll */
}
/* RESET */

/* NAV BAR */
nav {
  width: 100%;
  display: flex;         /* Puts items in a straight line */
  align-items: center;   /* Centers items vertically */
  margin: 0 auto;         /* Centers nav horizontally */
  justify-content: space-between; /* Spreads logo and links apart */
  padding: 1rem 2rem;    /* Adds some breathing room on the sides */
  box-sizing: border-box; /* Crucial: Keeps padding inside the 100% width */
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* LOGO */
.logo  a {
  font-size: 20px;
  white-space: nowrap; /* Prevents logo from breaking into multiple lines */
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* TOGGLE MENU (HAMBURGER) */
.toggle-menue {
  width: 20px;
  display: flex;
  justify-content: flex-start;
  height: 40px;
  margin-left: auto; /* Keeps it on the left */
  cursor: pointer;
  position: relative;
  z-index: 900; /* Ensure it stays above the off-screen menu */
}

.toggle-menue span {
  height: 3px;
  width: 100%;
  background: black;
  position: absolute;
  border-radius: 5px;
  left: 50%;
  transform: translateX(-50%); /* Horizontal center only */
  transition: 0.3s ease;
}

/* Position the 3 bars */
.toggle-menue span:nth-child(1) { top: 25%; }
.toggle-menue span:nth-child(2) { top: 50%; }
.toggle-menue span:nth-child(3) { top: 75%; }

/* ACTIVE STATE (When menu is open) */
/* Notice: No space between .toggle-menue and .active */
.toggle-menue.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.toggle-menue.active span:nth-child(2) {
  opacity: 0;
}

.toggle-menue.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* OFF SCREEN MENU */
.off-screen-menu {
  position: fixed;
  top: 0;
  right: -450px;
  width: 80%;
  max-width: 450px;
  height: 100vh;
  background:white;
  font-size: 2rem; /* Reduced slightly for better fit */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.3s ease;
  z-index: 700; /* Behind the button but above content */
}

.off-screen-menu.active {
  right: 0;
  width: 30%;
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: transparent;
  color: #222;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

.menu-close:hover {
  color: orangered;
}

/* NAV LIST */
.nav-list {
  display: block;       /* Required for gap to work */
  justify-content: flex-start;
  list-style: none;
  gap: 25px;           /* Removed duplicate gap */
  margin-left: 0;
  padding: 0;
}

.nav-list a {
 gap: 30px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

.nav-list a:hover {
  color: orange;
}

/* ICON */
.nav-icon {
  width: 22px;
  margin-left: 0;
  display: inline-flex;
}
/* CART */
.chart {
  margin-top: 40px;
}

.shopping-cart {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}


.logo {
  display: flex;
  font-size: 1.5rem;
padding: 5px 10px 4px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* --- Elements inside Menu --- */
.nav-search {
  display: flex;
  width: 100%;
}

.nav-search input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.nav-search button {
  padding: 10px;
  background: #007bff;
  border: none;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}






/* --- Auth/Login Form --- */
.nav-auth h3 {
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #222;
  color: white;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}


.chart a {
  color: #222;
  font-size: 1.4rem;
  text-decoration: none;
}



.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.search-icon-btn:hover { border-color: #D85A30; color: #D85A30; }
.search-expand {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  overflow: hidden;
  background: #fafafa;
  width: 0;
  opacity: 0;
  transition: width .3s ease, opacity .3s ease, border-color .2s;
}
.search-expand.open { width: 240px; opacity: 1; border-color: #D85A30; }
.search-expand input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 14px;
  background: transparent;
}





.form {
  margin-top: 10px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 10px;
  max-width: 320px;
}

.h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #222;
}

.form label {
  font-size: 0.95rem;
  color: #333;
}

.form input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.form input[type="submit"] {
  width: 100%;
  padding: 10px;
  border: none;
  background: #222;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}


/* Navigation */

.li{
  display: inline-flex;
justify-content: space-between;
}



.li a{
padding: 10px 15px;
  text-decoration:none;
  font-size:18px; 
  border-radius: 6px;
  color:blue;
}
.li a:hover{
  color:#ff6347;
}
.li a:active {
  color: blue;
} 
.li a:visited{
  color:red;
}

a:link {
  color:black;
}
/* Toggle button */







.h3{

  align-items: center;
  color: blue;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 20px;
}
input[type=submit] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}
input[type=text], select {
  width: 100%;
  padding: 8px 9px;
  margin: 7px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#search-input {
  padding: 5px;
  width: 30px;
  border-radius: 3px;
  border: none;
}

#search-btn {
  padding: 3px 5px;
  border: none;
  background: #555;
  color: white;
  cursor: pointer;
  border-radius: 3px;
}

.search-li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.featured {   
  max-width: 1200px;
  margin: 0 auto;          /* center container */
  padding: 10px;              /* remove extra outer space */
}

.featured img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
  display: block;          /* removes bottom image gap */
  margin-bottom: 16px;     /* controlled spacing */
}

.mark {
  font-size: 10px;
  font-family: helvetica, sans-serif;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
}

.featured h1 {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.featured p {
  font-size: 14px;
  font-weight: 300px;
  font-family: helvetica, sans-serif;
  color: #000000f2;
  line-height: 1.6;
  margin-bottom: 0;
  color: #444;
}








/* Layout */
.content-wrapper {
  display: flex;
  grid-template-columns: 2.5fr 1fr;
  gap: 30px;
  
  max-width: 1200px;
  margin: auto;
}



.latest {
  width: 360px;

}

.latest h2 {
  font-size: 28px;
  margin-bottom: 15px;
  border-bottom: 5px solid #e00;
  padding-bottom: 6px;
}

.latest-item {
  position: relative;
  display: flex;
  gap: 12px;
  
    padding: 10px;
  margin: 15px;
   margin-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.latest-item img:first-child {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.latest-content {
  flex: 1;
}

.meta {
  font-size: 11px;
  font-weight: 700;
  color: #777;
  display: block;
  margin-bottom: 4px;
}

.latest-content p {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

/* Heart icon */
.love-icon {
  
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  position: absolute;
  top: 10px;
  left: 50px;
  width: 30px;
  cursor: pointer;
}
.love-icon:hover{
   filter: brightness(0) saturate(100%) invert(23%) sepia(93%) saturate(7480%) hue-rotate(358deg);
}


.more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;           /* smaller fixed width */
  padding: 6px 10px;      /* reduced padding for compact size */
  margin: 15px auto;      /* slightly smaller margin */
  background-color: #fff;
  color: #000;
  border: 1px solid #d54215;
  border-radius: 4px;     /* subtle rounding for modern look */
  font-size: 12px;        /* smaller text */
  cursor: pointer;        /* makes it feel clickable */
  transition: all 0.2s ease;
}



.more:hover {
  background-color: #e00;
  color: #fff;
}



.more a{
  color: inherit;
  text-decoration: none;
}
/* Full wrapper */
#perpecis {
  width: 100%;
  top: 0;
  padding-right: 30px;
  padding-left: 30px;
  z-index: 0;
  background-color: #f5f6ea;
}

/* Gallery layout */
.gallery {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  perspective: 1000px;
}


/* Gallery item (flip card) */
.gallery-item {
  padding-top: 0;
  position: relative;
  width: 300px;
  height: 380px;
  margin-block-start: 1em;
  margin-block-end: 1em;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  cursor: pointer;
}



.gallery-item:hover {
  transform: rotateY(180deg);
}

/* Card sides */
.side {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.front-side img {
   width: 100%;
  height: auto;

}

.front-side .desc {
 background-color: #f4b942;
  color: #000;
   display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 9px 12px;
  display: flex;
justify-content: flex-start;
  border-radius: 10px 0 20px ;   /* rounded right side only */
  text-transform: uppercase;
  margin-top: -10px;
}



.back-side {
  background: #fff;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  transform: rotateY(180deg);
}

/* Image wrapper */


/* Badge */
.badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #f5e6a8;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
}



.btn{
  padding: 6px 14px;

  margin: 10px auto;
  height: 50px;
  border-radius: 5px;
  font-size: 14px;
  border: 1px solid #000;
  cursor: pointer;
  transition: all 0.3s ease;

  
}
/* Content */


/* Meta */
.meta {
  color: #777;
  margin-left: 4px; /* optional spacing from previous element */
  
}



.rating {
  color: #000;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px; /* controlled spacing */
}

.rating .reviews {
  color: #777;
  margin: 0; /* remove right margin */
}




h2{
   margin:  10px ;   /* reduce bottom space */
   padding: 4px;
   font-weight: bolder;
   font-size:20px;
 
}

.time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Save button */
.save-btn {
  background: #fff;
  padding: 6px 14px;
  margin: 10px auto;
  border-radius: 5px;
  font-size: 14px;
  border: 1px solid #000;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn{
   background: #fff;
  padding: 11px 14px;
  margin: 10px auto;

  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  width: 200px;
  border: 1px solid #000;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.save-btn:hover {
  background: #000;
  color: #fff;
}
.java{
  padding: 10px 20px 20px;
  margin: 0;
}
.java h2{
  text-align: left;
  margin: 10px;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}


.java p {
  font-size: 20px;
  text-align: left;
  font-weight: bold;
  font-size: 30px;
  color: #333;
}
.cham {
 display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: space-between;
 
}

.card {
  display: flex;

flex-direction: column;
  margin-bottom: 20px;
  gap: 20px;
}


.card img {
  width: 180px;
  justify-content: center;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px;
}
.card-content {
  padding: 10px;
  
}
.card p {
  font-weight: bolder;
  line-height: 1.1em;
  padding: 10px;
  font-size: 14px;

}
.card-tag{
  font-size: 12px;
  font-family: helvetica, sans-serif;
   color: #666;
}

/* Section */
.trending {
  padding: 5px 20px 20px;   /* reduced top padding */
  margin: 30px;
  z-index: 0;
}

.trending h2 {
  font-size: 32px;
  font-weight: 700;
   margin:  0 ;   /* small space under heading */
  text-align: center;
  color: #222;
  letter-spacing: 0.5px;


}
/* Grid Layout */
.grid-container {
  display: flex; 
  flex-wrap: wrap;          /* allow wrapping on smaller screens */
  justify-content: center;  /* center items horizontally */
  gap: 20px;                /* spacing between items */
  max-width: 1200px;
  margin: 60px auto;
  border-radius: 30px;
  padding: 0 15px;          /* horizontal padding on small screens */
  box-sizing: border-box;
}

/* Box / Card content */
.box {
  
  cursor: pointer;
  flex: 1 1 300px;          /* flex-grow:1, flex-shrink:1, base width: 300px */
  max-width: 350px;         /* optional: prevents cards from stretching too wide */
  margin: 0;
  
  
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image inside card */
.box img {
  width: 100%;              /* responsive */
  height: 250px;    
  border-radius: 40px;        /* fixed height for consistent layout */
  object-fit: cover;
}

/* Card text content */
.box-content {
  padding: 10px;
  display: flex;
  
  gap: 5px;
  color: #9b5b48;
}

.box h3 {
  display: flex;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.box p {
  margin: 5px 0;
  font-size: 14px;
  color: #000000a6;
}

/* Numbers or badges inside box */
.numbers {
  font-size: 15px;
  color: #000;
  gap: 10px;
  display: flex;
  align-items: center;
}

.star {
  display: flex;
}








/* Popular Section Card */


.container {
  display: flex; 
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}

/* Tag list wrapper */
.call-tag-list {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  background-color: #ff6347;
}

.call-tag-list:hover{
  background-color: #df614b;
}
/* Individual tag */
.call-tag {
  font-size: 10px;
  padding: 6px 8px;
  color: #fff;
  font-weight: 500;
}

/* Tag link styling */
.call-tag a {
  text-decoration: none;
  transition: color 0.2s ease;
}


.jams{
      margin: 50px auto;
    padding-right: 40px;
    width:90%;
    height: 60%;
    padding-left: 20px;
  padding: 1.5rem 1rem;

  border:  5px solid orangered;
   
}



 
    .speed-container{
      gap: 30px;
      display: flex;
      
    }
    .ride p{
      font-size: 15px;
      display: flex;
      justify-content: flex-end;
      
      flex-direction: column;
    }
    .ride h1{
      font-size:30px;
      color: orangered ;
      box-shadow: 20px orangered;
      
    }
.call {
  display: grid;
  grid-template-columns:  repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  padding: 0 15px;
  margin: 20px auto;
  align-items: center;
  box-sizing: border-box;
}
.save{
display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
}

.img {
  width: 50%;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
}

.img img {
  width: 60%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.img img:hover {
  transform: scale(1.05);
}
h4{
text-align: left;
font-weight:bold;
font-size: 15px;
}






.slider-container {
  width: 50%;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
  margin: 0 auto;
}

.slide {
  position: absolute;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  padding: 0;
  opacity: 0;
  transform: translateX(100%);
  animation: slideAnimation 16s ease-in-out infinite;
}

.slide img {
  width: 90%;
  height: 100%;
  object-fit: cover;
}

.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
.slide:nth-child(4) { animation-delay: 12s; }

.slide-content h2 {
  font-size: 20px;
  margin: 10px;
  text-decoration: underline;
  color: black;
}




.slide-content p {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.5;
  color: black;
}

.slide-content span {
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 1px;
  color: #777;
}

@keyframes slideAnimation {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  5% {
    transform: translateX(0);
    opacity: 1;
  }
  20% {
    transform: translateX(0);
    opacity: 1;
  }
  25% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.slider-container:hover .slide {
  animation-play-state: paused;
}


.prime {
  width: 100%;
  height: 220px;

  /* Background image */
  background-image: url("image/prw1.webp");
  background-size: cover;
  background-position: center; /* ✅ FIXED */
  background-repeat: no-repeat;

  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Spacing */
  margin: 40px auto;
  padding: 10px;

  /* Text */
  color: #fff;
  text-align: center;
  border-radius: 10px;
}


#meals {
  background-color:white;
  width: 100%;
  padding: 40;
  margin: 20px auto;
}

.jack {
  width: 100%;
  margin: 0;
  background-image: url("pics2.webp");
}

.jack h2 {
  text-align: center;
  margin: 10px;
  font-size: clamp(1.5rem, );
}


.jack p {
  margin: 10px;
  color: #333;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

.rapid {
  display: flex;
  margin: 20px;
  justify-content: center;
  align-items: center;
  color: rgb(29, 29, 29);
  font-size: 20px;
}

/* MEALS LIST */
.meals-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
  flex-wrap: wrap; /* important for mobile */
}

/* ITEMS */
.meals-list li {
  list-style: none;
}

/* BUTTON STYLE (better UX) */
.meals-list li a {
  display: block;
  padding: 8px 14px;
  background: #f1f1f1;
  color: #222;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.25s ease;
}

/* HOVER */
.meals-list li a:hover {
  background: #ff6347;
  color: #fff;
}

.event {
  width: 100%;
  margin: 50px auto;     /* centers the section */
  background-color: #f5f6ea;
}
.event h2 {
  text-align: center;
  margin: 20px;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: #333;
}

.popular {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  font-family: helvetica, sans-serif;
}

/* Images inside popular */
.popular img {
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 16px;
}

/* Label above article */
.mark {
  font-size: 10px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
}

/* Heading */
.popular h1 {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Paragraph */
.popular p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #444;
}
.wrapper {
  display: flex;           /* choose grid or flex */
  grid-template-columns: 2.5fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.updated {
  width: 360px;
}



.updated-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px;
  margin: 15px 15px;  /* fixed */
}

.updated-item img:first-child {
  width: 120px;
  height: 100px;
  object-fit: cover;
}

.updated-content {
  flex: 1;
}

.updated-content p {
  font-size: 14px;
  font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
  .payment-container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .payment-container h4.title {
    margin-bottom: 10px;
    color: #333;
  }
  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .column {
    flex: 1;
    min-width: 250px;
  }
  .input-box {
    margin-bottom: 15px;
  }
  .input-box span {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
  }
  .input-box input,
  .input-box select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
  }
  .card-img {
    max-width: 150px;
    margin-top: 5px;
  }
  #payment-request-button {
    padding: 10px;
    background-color: #1a73e8;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
  }

.payment-logo{
  width: 50px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.counter{
  width: 100%;
  min-height: 100%;
  background-color:white;
background-position: center;
background-size: cover;
overflow: hidden;
}

.about-btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 40px;
  /* Added the missing comma and combined properties */
  background: linear-gradient(45deg, #df4881, #c430d7); 
  font-size: 14px;
  color: black;
  border-radius: 30px;
  border-top-right-radius: 0; 
  cursor: pointer;
  transition: 0.5s;
  border: none; /* Recommended to remove default button borders */
}
.about-btn:hover {
border-top-right-radius: 30px;
}
.about h1{
  font-size: 70px;
  color:black;
  margin-bottom: 20px;
}
.about p{
  font-size: 18px;
  line-height: 1.6;
  color:black;
}
.purchase-img{
  width: 230px;
  position: absolute;
  bottom: 0;
  right: 10%;
   top: 5px;
}
.anim{
  opacity: 0;
  transform: translateY(30px);
  animation: moveup 0.5s linear forwards;
}
@keyframes moveup {
  100%{
    opacity: 1;
    transform: translateY(0px);
  
  }
}
/* Chart container */
.chart {
  display:flex;
  
  justify-content: center;
  align-items: center;
  justify-content: center;
  align-items: center;
}

/* Cart container */
.shopping-cart {
  position: relative; /* for badge */
  display: inline-block;
  font-size: 24px;
  cursor: pointer;
}

/* Cart icon */
.ri-shopping-cart-line {
  font-size: 20px;
  padding: 10px;
  background-color: orangered;
  border-radius: 6px;
  color: #fff;
}

/* Cart badge */
.shopping-cart .cart-item {
  position: absolute;
  top: -5px;
  right: -8px;
  width: 18px;
  height: 18px;
  background-color: rgb(255, 166, 0);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden; /* hidden by default */
}

/* Cart sidebar */
.shape {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 10px 5px;
  z-index: 100;
  transition: 0.5s;
  overflow: hidden;
}

.shape.active {
  right: 0;
}

/* Cart title */
.cart-title {
  text-align: center;
  font-size: 30px;
}

/* Cart item container */
.cart-box {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

/* Cart item image */
.cart-box img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 20px;
}

/* Cart details */
.cart-detail {
  display: grid;
  gap: 8px;
  margin-right: auto;
}

.cart-product-title {
  line-height: 1;
  font-size: 16px;
}

.cart-price {
  font-weight: 500;
}

/* Quantity selector */
.cart-quantity {
  display: flex;
  border-radius: 6px;
  width: 100px;
  border: 1px solid #999;
}

.cart-quantity button {
  background: transparent;
  width: 30px;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.cart-quantity #decrement {
  color: #999;
}

.cart-quantity .number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  cursor: default;
}

/* Remove button */
.cart-remove {
  font-size: 25px;
  cursor: pointer;
}

/* Total section */
.total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid #333;
  margin-top: 20px;
  font-size: 19px;
}

.total-price {
  margin-left: 10px;
  font-weight: 600;
}

/* General button */
.btn {
  display: block;
  padding: 10px 30px;
  background: #e35f26;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
  margin: 20px auto 0;
  cursor: pointer;
}

/* Cart close button */
#cart-close {
  position: absolute;
  top: 20px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

/* Shop section */
.shop {
  background-color: whitesmoke;
  padding: 80px 9% 30px;
}

/* Title */
.section-title {
  font-size: 25px;
  text-align: center;
  margin-bottom: 12px;
}

/* Grid layout */
.product-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* Product image box */
.product-box .img-box {
  border-radius: 10px;
  overflow: hidden;
}

/* Image hover effect */
.img-box img {
  transition: 0.5s;
}

.img-box:hover img {
  transform: scale(1.1);
}

/* Product title */
.product-box .product-title {
  font-size: 20px;
  margin-top: 10px;
}

/* Price and cart button layout */
.product-box .price-and-cart {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

/* Product price */
.price-and-cart .price {
  font-size: 18px;
  font-weight: 500;
}

/* Add to cart button */
.price-and-cart .add-cart {
  padding: 10px;
  background-color: orangered;
  border-radius: 6px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}




.footer {
  width: 100%;
  background:  #fff;
  color: black;
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
  margin-top: 20px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer__brand-logo {
  font-family: var(--font-display);
  font-size: 22px;
  width:8px ;
  margin: 3px;
  height: 8px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.footer__brand-logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.footer__brand-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 260px;
  margin-bottom: 28px;
}

.footer__newsletter {
  display: flex;
  gap: 0;
}

.footer__newsletter input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.footer__newsletter input::placeholder { color: var(--text-muted); }

.footer__newsletter input:focus {
  border-color: rgba(200,240,75,0.4);
}

.footer__newsletter button {
  background: white;
  color: #0d0d0d;
  border: none;
  border-radius: 0 6px 6px 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.2s;
}

.footer__newsletter button:hover { opacity: 0.85; }

.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__links a:hover { color: var(--text-primary); }

.footer__links a:hover::before {
  content: "→";
  font-size: 12px;
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__copy strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer__socials {
  display: flex;
  gap: 8px;
}

.footer__social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: white;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer__social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,240,75,0.06);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

zapier-interfaces-chatbot-embed {
  /* Position the floating button */
  --chat-widget-button-position: fixed;
  --chat-widget-button-bottom: 24px;
  --chat-widget-button-right: 24px;
  --chat-widget-z-index: 9999;

  /* Button color — match your brand */
  --chat-widget-button-background-color: #D85A30;
  --chat-widget-button-color: #ffffff;

  /* Button size */
  --chat-widget-button-width: 56px;
  --chat-widget-button-height: 56px;
  --chat-widget-button-border-radius: 50%;

  /* Modal size */
  --chat-widget-width: 380px;
  --chat-widget-height: 580px;
  --chat-widget-border-radius: 14px;
}
.footer__legal a:hover { color: var(--text-secondary); }

@media (min-width: 1000px) {
  .toggle-menue {
    display: none;         /* Hide it on larger screens */
  }

  .nav-list {
    width: 100%;
    display: inline-flex;
    justify-content: flex-end;  /* Centers the links in the middle */
  }
}


@media(max-width:768px) {
  .nav-list {
    display: none;
  }

  .featured img {
    width: 100%;
    height: auto;
    max-height: 300px;
    margin-bottom: 12px;
  }

  .featured {
    max-width: 100%;
    padding: 0 10px;
  }



  .form{
    width: 100%;
  display: block;
   align-items: flex-end;
    justify-content: end;
  background-color:white;
  color: black;
  margin: 0;
  align-items: flex-end;
  max-width: 1200px;
}
 html,body {
   font-family: system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.5;

  /* Colors */
  background-color: #f9fafb; /* softer than pure white */
  color: #222;

  /* Smooth rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Prevent horizontal scroll */
  overflow-x: hidden;
}
  
  



  .form {
    width: 50%;
    display:inline-block;
  justify-content: flex-start;
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

  .off-screen-menu {
    width: 100%;
    right: -100%;
  }

  .off-screen-menu.active {
    background-color:#f5f5f5;
    color: black;
    display: block;
  }

  .off-screen-menu.active .nav-list {
    display: block;
  }

input[type=submit] {
  width: 100%;
  font-size: 2rem;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
  /* Container class - corrected spelling from 'perpecis' */




/* Links inside the menu */

  .nav {
    display: flex;
    flex-direction: row;      /* Places logo and menu side by side */
    align-items: center;      /* Centers everything vertically */
    gap: 15px;                /* Adds space between logo and links */
    padding: 15px;
    justify-content: space-between; /* Pushes logo to left and links to right */
    width: 100%;
    box-sizing: border-box;
}
  
  

  .li a {
    font-size: 11px;
  }


/* Logo */
.logo a {
  text-decoration:none;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  font-size:1.5rem;
  font-weight:bold;
  color:#ff6347;
}
.h3{
  display:flex ;
  align-items: center;
  color: blue;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 2rem;
}

/* Navigation */

  .meals-list {
    justify-content: center;
    overflow-x: auto;   /* scroll instead of breaking */
    flex-wrap: wrap;  /* keeps it in one line */
    padding: 10px;
  }

  .meals-list li a {
    white-space: nowrap; /* prevents text breaking */
    font-size: 13px;
  }



  /* Container */
#perpecis {
  display:inline;
  grid-template-rows: repeat(5, 1fr);
  width: 100%;
  margin: 0 10px;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Gallery layout */
.gallery {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
  box-sizing: border-box;

  /* prevents shrinking and allows horizontal scroll on mobile */
  overflow-x: auto;
}

/* Gallery item (flip card) */
.gallery-item {
  flex: 2 0 260px; /* fixed card width, prevents shrinking */
  height: 380px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  cursor: pointer;
}
  /* Add flip effect on hover/tap */
  

  /* Flip card sides */
  .side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;

    transition:0.4s ;
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
  }

  .front-side {
    width: 100%;
    height: 100%;
     border: 2px solid blue;
    background: white;
    transform: rotateY(0deg);
  }
.share-btn{
   background: #fff;
  padding: 9px 10px;
  margin: 10px auto;

  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  width: 100%;
  border: 1px solid #000;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
  .back-side {
    background-color: white;
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
    text-align: center;
  }

  /* Front side image */
  .front-side img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Better image handling */
    border-radius: 12px;
  }

  /* Back side content styling */
  .back-side h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
  }
  .back-side p {
    font-size: 14px;
    line-height: 1.5vh;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Optional: Add active state for touch devices */
  .gallery-item:active {
    transform: rotateY(180deg);
  }
  


  .counter{
    display: flex;
    flex-direction: column;
  position: relative;
  width: 100%;
  min-height: 100%;
  background-color:white;
background-position: center;
background-size: cover;
overflow: hidden;
}




.content-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}


  /* Latest Section */
  .latest {
    width: 100%;
    padding: 0 15px;
    margin: 20px auto;
    box-sizing: border-box;
  }

  .latest h2 {
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 3px solid #e00;
    padding-bottom: 5px;
    color: #333;
  }

  .latest-item {
    padding: 15px;
    margin: 0 0 10px 0;
    background: white;
    border-radius: 6px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .latest-item:last-child {
    margin-bottom: 0;
  }

  .latest-item h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #333;
  }

  .latest-item p {
    font-size: 13px;
    margin: 0 0 8px 0;
    color: #666;
  }

  .trending {
    padding: 15px;
    margin: 10px;
  }
  
  .trending h2 {
    font-size: 24px;
    padding-left: 12px;
    margin-bottom: 15px;
  }
  
 
 



.slide img {
  width: 100%;
    height: 150px; /* limit image height */
  object-fit: cover;
}
 
.slide {
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.slide-content h2 {
  font-size: 16px;
  font-weight: bold;
   color: black;
  margin-bottom: 5px;
}

.slide-content p {
  font-size: 12px;
}
.slide-content {
  padding: 10px;
  
  
}



 



 




  .jams {
    
    margin: 60px auto;
    min-height: 60%;
    width: 94%;
    padding: 0.7rem 0.5rem;
    border: 5px solid red;
  }

  .popular {
    width: 100%; /* Fixed from 400px */
    height: 130px;
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }

  .slider-container {
    width: 100%;
    height: 300px;
  }

.java{
  margin: 0;
}
.java h2{
  text-align: center;
  margin: 10px;
  font-size:20px;
}
.cham {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  width: 100%;
  height: 250px;
}

.card img {
  width: 100%;
  border-radius: 4px;
}

.card-content {
  padding: 1rem 0;
}
  .call {
    grid-template-columns: repeat(3, 1fr);
  }


.save {
  border-radius: 10px;
  width: 100%;              /* Ensures full grid cell usage */
  box-sizing: border-box;   /* Prevents overflow */
}

.img {
  width: 50%;              /* Fill parent properly */
  height: auto;
  display:inline-flex;           /* Removes inline spacing issue */
  border-radius: 10px;
}
 .speed-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}


  .grid-container {
    display: flex;
    background-color: #f8f8f8;
    flex-direction: column;   /* Stack items vertically */
    gap: 15px;                /* Smaller spacing */
    margin: 20px auto;
    padding: 0 10px;          /* Prevent edge touching */
  }

  .box {
    justify-content: center;
    display: flex;
    width: 90%;              /* Full width */
    max-width: 100%;
    height:90%;
    align-items: center;
  }

  .box img {
    border-radius: 20px;
    height: 50%;            /* Smaller image height */
    object-fit: cover;
  }

  .box h3 {
    font-size: 14px;
  }

  .box p {
    font-size: 12px;
  }

  .numbers {
    font-size: 12px;
    gap: 6px;
  }

/* Popular section */
.popular {
  width: 100%;
  flex: 1;
  max-width: 1200px;
  padding: 0 10px;
  margin: 0 auto;
  box-sizing: border-box;
}

.popular img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: 4px;
}

.popular h1{

}

.event {
  width: 100%;
  margin: 50px auto;     /* centers the section */
  background-color: #f5f6ea;
}
.event h2 {
  text-align: center;
  margin: 20px;
  font-size: clamp(1.5rem, );
  color: #333;
}
/* Wrapper layout */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Latest / Updated Section */
.updated {
  width: 100%;
  height: 800px;
  padding: 0 15px;
  margin: 20px auto;
  box-sizing: border-box;
}

.updated h2 {
  font-size: 1.3em;
  margin-bottom: 15px;
  border-bottom: 3px solid #e00;
  padding-bottom: 20px;
  color: #333;
}

.updated-item {
  padding: 15px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 6px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}



  .prime {
    height: 160px;
    margin: 20px 10px;
    border-radius: 8px;
  }


.updated-item:last-child {
  margin-bottom: 0;
}

.updated-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.updated-item p {
  font-size: 1em;
  margin-bottom: 8px;
  color: #666;
}
.jack-img {
  width:100%;
  height:80% ;
  object-fit: cover;
  border-radius: 4px;
}

  .about {
    margin-top:  0 40px;
    width: 95%;
    padding: 0 12px;
  }
 .about h1{
  font-size: 2.5rem;
  color:black;
  margin-bottom: 20px;
}
.about p{
  font-size: 1.25rem;
  line-height: 1.6;
  color:black;
}
  .purchase-img {
    width: 140px;
    left: 2%;
    top: 5px;
    align-items: center;
    bottom: 10px;
  }

  .anim {
    transform: translateY(15px);
    animation-duration: 0.6s;
  }


  .shape {
    width: 100%; /* full width */
    padding: 10px;
  }

  .cart-box img {
    width: 50px;
    height: 50px;
  }

  .cart-quantity {
    width: 70px;
  }

  .cart-quantity .number {
    width: 25px;
  }

  .cart-quantity button {
    width: 22px;
    font-size: 16px;
  }

  .product-content {
    grid-template-columns:(1fr);
    gap: 10px;
   
  }


.product-box {
  background-color: rgba(238, 238, 238, 0.94);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Softer, modern shadow */
  margin: 10px  2px 8px ;
  border-radius: 12px; /* Increased for a friendlier look */
  overflow: hidden;    /* CRITICAL: This clips the image to the corners */
  display: flex;
  
   height: 300px; 
  flex-direction: column;
  transition: transform 0.2s; /* Subtle hover effect */
}

/* Make the image fill the top of the card */
.product-box img {
  width: 150%;        /* Forces image to full width */
  height: 150px;      /* Set a consistent height */
  object-fit: cover;  /* This is the magic "cover" property for images */
  display: block;
}
  .price-and-cart .add-cart {
    font-size: 14px;
    padding: 15px;
  padding: 10px;
  }
 
   
.product-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  display: block;
}

.product-price {
  color: #666;
  font-size: 14px;
}


  .footer__inner { padding: 0 28px; }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__brand-desc { max-width: 100%; }

/* Mobile */
  .footer { padding: 48px 0 0; }
  .footer__inner { padding: 0 20px; }

  .footer__top {
  
    justify-content: center;
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer__newsletter {
    flex-direction: column;
    gap: 10px;
  }

  .footer__newsletter input,
  .footer__newsletter button {
    border-radius: 6px;
    border-right: 1px solid var(--border);
    width: 100%;
  }

  .footer__newsletter button {
    border: none;
    padding: 12px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
  }

  .footer__legal {
    flex-wrap: wrap;
    gap: 12px;
  }
    zapier-interfaces-chatbot-embed {
    --chat-widget-button-bottom: 16px;
    --chat-widget-button-right: 16px;
    --chat-widget-button-width: 46px;
    --chat-widget-button-height: 46px;

    /* Full width modal on small screens */
    --chat-widget-width: 100vw;
    --chat-widget-height: 85vh;
    --chat-widget-border-radius: 14px 14px 0 0;
  }
}