body {
  font-family: 'Manrope', 'Inter', sans-serif;
  background-color: #FDFDFD;
  color: #1C1C1C;
  max-width: 100vw;
  margin: 0 auto;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.menu-site {
  padding: 60px 30px;
  background-color: #FDFDFD;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.category-section h2 {
  font-size: 28px;
  text-align: center;
  margin: 40px 0 20px 0;
  color: #1C1C1C;
  font-weight: 600;
  letter-spacing: 1px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 100%;
  justify-content: center;
}

.menu-item {
  background-color: #FFF;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05)), radial-gradient(circle at center, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(.25,.8,.25,1);
  pointer-events: none;
  z-index: -1;
}

.menu-item:hover::before {
  opacity: 1;
}

.menu-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.menu-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
  transition: filter 0.3s ease;
}

.menu-item img:hover {
  filter: brightness(1.1);
}

.menu-item h3 {
  font-size: 18px;
  color: #343434;
  margin-bottom: 5px;
  word-break: break-word;
}

.menu-item p {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.menu-item .price {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
}

.item-details {
  font-size: 14px;
  color: #888;
}

.item-info {
  font-size: 12px;
  color: #555;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #eee;
  white-space: nowrap;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 15px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 16px;
  margin: 0 0 5px 0;
}

.item-name {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  margin: 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: bold;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  width: 24px;
  height: 24px;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 18px;
  color: #3b82f6;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-controls span {
  min-width: 20px;
  text-align: center;
  font-size: 16px;
}

#cart-next-button {
  margin-top: auto;
  background: #3b4ff6;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#cart-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4A58D9;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
}

.cart-item-details {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
    position: relative;
}

.item-info {
  text-align: left;
  flex-grow: 1;
  min-width: 0;
}

.cart-item img {
  height: auto;
  width: 80px;
  border-radius: 4px;
}

.item-info h3 {
  font-weight: bold;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.quantity-controls-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
}

.cart-item-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 4px 10px;
    margin-left: auto;
}

.cart-item-quantity-controls button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background-color: #3b82f6;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-item-quantity-controls button:hover {
    background-color: #2563eb;
    transform: scale(1.1);
}

.cart-item-quantity {
    font-size: 18px;
    min-width: 26px;
    text-align: center;
    font-weight: 600;
    margin: 0 2px;
}

.hidden-description {
    display: none !important;
}

.hidden {
    display: none !important;
    display: block !important;
}